0 txs
0 calls
constructor
constructor(address owner_)
functions
contractType
viewfunction contractType() view returns (bytes32)
getConfigurator
viewfunction getConfigurator() view returns (address)
getRoleHolders
viewfunction getRoleHolders(bytes32 role) view returns (address[])
getRoles
viewfunction getRoles() view returns (bytes32[])
hasRole
viewfunction hasRole(bytes32 role, address account) view returns (bool)
isConfigurator
viewfunction isConfigurator(address account) view returns (bool)
owner
viewfunction owner() view returns (address)
version
viewfunction version() view returns (uint256)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
events
CreateRole
event CreateRole(bytes32 indexed role)
GrantRole
event GrantRole(bytes32 indexed role, address indexed account)
RevokeRole
event RevokeRole(bytes32 indexed role, address indexed account)
errors
CallerIsNotOwnerException
error CallerIsNotOwnerException(address caller)
creation bytecode
0x60a060405234801561000f575f80fd5b506040516107ca3803806107ca83398101604081905261002e9161003f565b6001600160a01b031660805261006c565b5f6020828403121561004f575f80fd5b81516001600160a01b0381168114610065575f80fd5b9392505050565b60805161072a6100a05f395f81816101220152818161017c015281816101cb015281816102340152610361015261072a5ff3fe608060405234801561000f575f80fd5b50600436106100b9575f3560e01c80638da5cb5b116100725780639b7ae5ec116100585780639b7ae5ec146101c9578063cb2ef6f7146101ef578063d547741f14610216575f80fd5b80638da5cb5b1461017757806391d14854146101b6575f80fd5b806354fd4d50116100a257806354fd4d50146100fb5780635f259aba146101125780637106139814610162575f80fd5b80632f2ff15d146100bd5780633b6a2579146100d2575b5f80fd5b6100d06100cb3660046105f9565b610229565b005b6100e56100e0366004610623565b610309565b6040516100f2919061063a565b60405180910390f35b61010461013681565b6040519081526020016100f2565b610152610120366004610686565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b60405190151581526020016100f2565b61016a610328565b6040516100f2919061069f565b61019e7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100f2565b6101526101c43660046105f9565b610338565b7f000000000000000000000000000000000000000000000000000000000000000061019e565b6101047f41434c000000000000000000000000000000000000000000000000000000000081565b6100d06102243660046105f9565b610356565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461027957604051630cc479f960e01b81523360048201526024015b60405180910390fd5b6102835f836103f6565b156102b35760405182907fc429f8c0e3904ddf1b0029b7612b90dde8706512dcc1f0d7affa206170744404905f90a25b5f8281526002602052604090206102ca9082610401565b15610305576040516001600160a01b0382169083907f5a06360d65acf95e98445dc834f205063424c636e65418d928cdfabc33a95399905f90a35b5050565b5f81815260026020526040902060609061032290610415565b92915050565b60606103335f610415565b905090565b5f82815260026020526040812061034f9083610421565b9392505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103a157604051630cc479f960e01b8152336004820152602401610270565b5f8281526002602052604090206103b89082610442565b15610305576040516001600160a01b0382169083907f76e6093c136cd7faa5a6d92b2b633f3b4595abd4a529b7a13917398355fea694905f90a35050565b5f61034f8383610456565b5f61034f836001600160a01b038416610456565b60605f61034f836104a2565b6001600160a01b0381165f908152600183016020526040812054151561034f565b5f61034f836001600160a01b0384166104fb565b5f81815260018301602052604081205461049b57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610322565b505f610322565b6060815f018054806020026020016040519081016040528092919081815260200182805480156104ef57602002820191905f5260205f20905b8154815260200190600101908083116104db575b50505050509050919050565b5f81815260018301602052604081205480156105d5575f61051d6001836106d6565b85549091505f90610530906001906106d6565b905081811461058f575f865f01828154811061054e5761054e6106f5565b905f5260205f200154905080875f01848154811061056e5761056e6106f5565b5f918252602080832090910192909255918252600188019052604090208390555b85548690806105a0576105a0610709565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610322565b5f915050610322565b80356001600160a01b03811681146105f4575f80fd5b919050565b5f806040838503121561060a575f80fd5b8235915061061a602084016105de565b90509250929050565b5f60208284031215610633575f80fd5b5035919050565b602080825282518282018190525f9190848201906040850190845b8181101561067a5783516001600160a01b031683529284019291840191600101610655565b50909695505050505050565b5f60208284031215610696575f80fd5b61034f826105de565b602080825282518282018190525f9190848201906040850190845b8181101561067a578351835292840192918401916001016106ba565b8181038181111561032257634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffdfea164736f6c6343000817000a0000000000000000000000001b265b97eb169fb6668e3258007c3b0242c7bdbe