4 txs
14 calls
constructor
constructor()
functions
BLACKLIST_ROLE
viewfunction BLACKLIST_ROLE() view returns (bytes32)
DEFAULT_ADMIN_ROLE
viewfunction DEFAULT_ADMIN_ROLE() view returns (bytes32)
getRoleAdmin
viewfunction getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole
viewfunction hasRole(bytes32 role, address account) view returns (bool)
isBlacklisted
viewfunction isBlacklisted(address _account) view returns (bool)
isWhitelisted
viewfunction isWhitelisted(address _account) view returns (bool)
onlyNotBlacklisted
viewfunction onlyNotBlacklisted(address _account) view
onlyWhitelisted
viewfunction onlyWhitelisted(address _account) view
renounceRole
purefunction renounceRole(bytes32, address) pure
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
WHITELIST_MANAGER_ROLE
viewfunction WHITELIST_MANAGER_ROLE() view returns (bytes32)
WHITELIST_ROLE
viewfunction WHITELIST_ROLE() view returns (bytes32)
grantBlacklist
nonpayablefunction grantBlacklist(address _account)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
grantWhitelist
nonpayablefunction grantWhitelist(address _account)
revokeBlacklist
nonpayablefunction revokeBlacklist(address _account)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
revokeWhitelist
nonpayablefunction revokeWhitelist(address _account)
setWhitelistManager
nonpayablefunction setWhitelistManager(address _whitelistManager, bool _status)
events
GrantBlacklist
event GrantBlacklist(address account)
GrantWhitelist
event GrantWhitelist(address account)
RevokeBlacklist
event RevokeBlacklist(address account)
RevokeWhitelist
event RevokeWhitelist(address account)
RoleAdminChanged
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
errors
AccessControlBadConfirmation
error AccessControlBadConfirmation()
AccessControlUnauthorizedAccount
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
TheoWhitelistBlacklisted
error TheoWhitelistBlacklisted(address account)
TheoWhitelistNotWhitelisted
error TheoWhitelistNotWhitelisted(address account)
TheoWhitelistRenounceRoleNotAllowed
error TheoWhitelistRenounceRoleNotAllowed()
creation bytecode
0x608060405234601f57600f336024565b50604051610c9990816100b28239f35b600080fd5b6001600160a01b0381166000908152600080516020610d4b833981519152602052604090205460ff1660ab576001600160a01b03166000818152600080516020610d4b83398151915260205260408120805460ff191660011790553391907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8180a4600190565b5060009056fe608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a71461062c5750806319afe463146105f1578063248a9ca3146105bc5780632f2ff15d1461057c57806336568abe146105515780633af32abf146105015780635b063622146104b4578063613fa8f2146104675780637295ed931461043e5780637a997ab7146104035780637cd7a28f1461039a5780638e39103c1461034d57806391d14854146103005780639c7f33151461029f578063a217fddf14610283578063d547741f1461023e578063e33a581c146101d4578063e64cc9da146101455763fe575a87146100f057600080fd5b34610140576020366003190112610140576101096106af565b6001600160a01b03166000908152600080516020610be4833981519152602090815260409182902054915160ff9092161515825290f35b600080fd5b346101405760403660031901126101405761015e6106af565b6024358015158103610140573360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16156101ba57156101b1576101af90610884565b005b6101af90610aaf565b63e2517d3f60e01b60005233600452600060245260446000fd5b34610140576020366003190112610140576101ed6106af565b6001600160a01b0381166000908152600080516020610c44833981519152602052604090205460ff161561021d57005b6319a6c4e560e11b60009081526001600160a01b0391909116600452602490fd5b34610140576040366003190112610140576101af60043561025d610699565b9061027e61027982600052600060205260016040600020015490565b610713565b610b33565b3461014057600036600319011261014057602060405160008152f35b34610140576020366003190112610140577fb25056b8b3173c3b5da046b4b6797649ac28f6832212f7c50fd685c7ea0bc08860206102db6106af565b6102e36106c5565b6102ec81610a19565b506040516001600160a01b039091168152a1005b3461014057604036600319011261014057610319610699565b600435600052600060205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b34610140576020366003190112610140577f7eb886dc9fdf28fa53714b43e245ef7bb3966922df16429ae6fd2227a44eaaaf60206103896106af565b6103916106c5565b6102ec81610983565b34610140576020366003190112610140576103b36106af565b6001600160a01b0381166000908152600080516020610be4833981519152602052604090205460ff166103e257005b63086c44f560e21b60009081526001600160a01b0391909116600452602490fd5b346101405760003660031901126101405760206040517fdc72ed553f2544c34465af23b847953efeb813428162d767f9ba5f4013be67608152f35b34610140576000366003190112610140576020604051600080516020610bc48339815191528152f35b34610140576020366003190112610140577f8ac2142bb9b8dda11781f2bcc0c3c1302cc9376f064d22f0a077fc89384946af60206104a36106af565b6104ab6106c5565b6102ec816107ec565b34610140576020366003190112610140577f99b40ba5aaf1d674582941d0c48d3cd9b9c70d33388ed74e192b18fa8631a9c760206104f06106af565b6104f86106c5565b6102ec8161074e565b346101405760203660031901126101405761051a6106af565b6001600160a01b03166000908152600080516020610c44833981519152602090815260409182902054915160ff9092161515825290f35b346101405760403660031901126101405761056a610699565b5063a98d635360e01b60005260046000fd5b34610140576040366003190112610140576101af60043561059b610699565b906105b761027982600052600060205260016040600020015490565b61090a565b346101405760203660031901126101405760206105e9600435600052600060205260016040600020015490565b604051908152f35b346101405760003660031901126101405760206040517f22435ed027edf5f902dc0093fbc24cdb50c05b5fd5f311b78c67c1cbaff60e138152f35b34610140576020366003190112610140576004359063ffffffff60e01b8216809203610140576020916312af5fd160e31b811490811561066e575b5015158152f35b637965db0b60e01b811491508115610688575b5083610667565b6301ffc9a760e01b14905083610681565b602435906001600160a01b038216820361014057565b600435906001600160a01b038216820361014057565b336000908152600080516020610c24833981519152602052604090205460ff16156106ec57565b63e2517d3f60e01b60005233600452600080516020610bc483398151915260245260446000fd5b60008181526020818152604080832033845290915290205460ff16156107365750565b63e2517d3f60e01b6000523360045260245260446000fd5b6001600160a01b0381166000908152600080516020610c44833981519152602052604090205460ff166107e6576001600160a01b03166000818152600080516020610c4483398151915260205260408120805460ff191660011790553391907fdc72ed553f2544c34465af23b847953efeb813428162d767f9ba5f4013be676090600080516020610ba48339815191529080a4600190565b50600090565b6001600160a01b0381166000908152600080516020610be4833981519152602052604090205460ff166107e6576001600160a01b03166000818152600080516020610be483398151915260205260408120805460ff191660011790553391907f22435ed027edf5f902dc0093fbc24cdb50c05b5fd5f311b78c67c1cbaff60e1390600080516020610ba48339815191529080a4600190565b6001600160a01b0381166000908152600080516020610c24833981519152602052604090205460ff166107e6576001600160a01b03166000818152600080516020610c2483398151915260205260408120805460ff19166001179055339190600080516020610bc483398151915290600080516020610ba48339815191529080a4600190565b6000818152602081815260408083206001600160a01b038616845290915290205460ff1661097c576000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff1916600117905533929190600080516020610ba48339815191529080a4600190565b5050600090565b6001600160a01b0381166000908152600080516020610be4833981519152602052604090205460ff16156107e6576001600160a01b03166000818152600080516020610be483398151915260205260408120805460ff191690553391907f22435ed027edf5f902dc0093fbc24cdb50c05b5fd5f311b78c67c1cbaff60e1390600080516020610c048339815191529080a4600190565b6001600160a01b0381166000908152600080516020610c44833981519152602052604090205460ff16156107e6576001600160a01b03166000818152600080516020610c4483398151915260205260408120805460ff191690553391907fdc72ed553f2544c34465af23b847953efeb813428162d767f9ba5f4013be676090600080516020610c048339815191529080a4600190565b6001600160a01b0381166000908152600080516020610c24833981519152602052604090205460ff16156107e6576001600160a01b03166000818152600080516020610c2483398151915260205260408120805460ff19169055339190600080516020610bc483398151915290600080516020610c048339815191529080a4600190565b6000818152602081815260408083206001600160a01b038616845290915290205460ff161561097c576000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff1916905533929190600080516020610c048339815191529080a460019056fe2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d2a3dab589bcc9747970dd85ac3f222668741ae51f2a1bbb8f8355be28dd8a868b088d573f8b263ed67f0a9f5fb0c510d4c38f37496e973abe5414b4892f79037f6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171bb5ba3787543ad6c173598159348a4a928021a98f804854cb89ce97f5d3e2c45e93a5fb3339da335a7ad6c66d91123a2908806997157dd0ec9b9dec56779e9743a264697066735822122018b50b4af15a905750e94457b589aabcf77a74095095b72e3d9440ceb5d3cfc264736f6c634300081c0033ad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5