67.1k txs
65.5k calls
constructor
constructor()
functions
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)
MANAGER_ROLE
viewfunction MANAGER_ROLE() view returns (bytes32)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
airdrop
nonpayablefunction airdrop(address recipient, uint256 amount, address token)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
renounceRole
nonpayablefunction renounceRole(bytes32 role, address callerConfirmation)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
events
Airdrop
event Airdrop(address indexed recipient, uint256 amount, address indexed token)
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)
creation bytecode
0x60806040523461002c5761001233610031565b5061001c336100ad565b5060405161085a90816101468239f35b600080fd5b6001600160a01b03811660009081526000805160206109e0833981519152602052604090205460ff166100a7576001600160a01b031660008181526000805160206109e083398151915260205260408120805460ff191660011790553391906000805160206109a08339815191528180a4600190565b50600090565b6001600160a01b03811660009081526000805160206109c0833981519152602052604090205460ff166100a7576001600160a01b031660008181526000805160206109c083398151915260205260408120805460ff191660011790553391907f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08906000805160206109a08339815191529080a460019056fe608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a71461057757508063248a9ca3146105425780632f2ff15d1461050257806336568abe146104a35780634c68badf1461017357806391d1485414610125578063a217fddf14610109578063d547741f146100c25763ec87621c1461008257600080fd5b346100bd5760006003193601126100bd5760206040517f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b088152f35b600080fd5b346100bd5760406003193601126100bd576101076004356100e1610615565b906101026100fd82600052600060205260016040600020015490565b61069b565b610795565b005b346100bd5760006003193601126100bd57602060405160008152f35b346100bd5760406003193601126100bd5761013e610615565b60043560005260006020526001600160a01b0360406000209116600052602052602060ff604060002054166040519015158152f35b346100bd5760606003193601126100bd576004356001600160a01b0381168091036100bd5760243590604435916001600160a01b0383168093036100bd573360009081527fe84508f2c7fa9c351146748b3025cb78b45df37d868e48c6a75102fecdeee645602052604090205460ff161561045157811561040d5780156103c9576040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152602081602481875afa8015610344578291600091610394575b5010610350576040517fa9059cbb0000000000000000000000000000000000000000000000000000000081528260048201528160248201526020816044816000885af190811561034457600091610302575b50156102be5760207f3d828f178733140fb31c759137c00cf4cf51b2c6b7a7397a5f0208e4f28ab7c291604051908152a3005b606460405162461bcd60e51b815260206004820152601560248201527f546f6b656e207472616e73666572206661696c656400000000000000000000006044820152fd5b6020813d60201161033c575b8161031b6020938361062b565b81010312610338575190811515820361033557508461028b565b80fd5b5080fd5b3d915061030e565b6040513d6000823e3d90fd5b606460405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e2062616c616e63650000000000006044820152fd5b9150506020813d6020116103c1575b816103b06020938361062b565b810103126100bd5781905185610239565b3d91506103a3565b606460405162461bcd60e51b815260206004820152602060248201527f416d6f756e74206d7573742062652067726561746572207468616e207a65726f6044820152fd5b606460405162461bcd60e51b815260206004820152601960248201527f496e76616c696420726563697069656e742061646472657373000000000000006044820152fd5b7fe2517d3f00000000000000000000000000000000000000000000000000000000600052336004527f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0860245260446000fd5b346100bd5760406003193601126100bd576104bc610615565b336001600160a01b038216036104d85761010790600435610795565b7f6697b2320000000000000000000000000000000000000000000000000000000060005260046000fd5b346100bd5760406003193601126100bd57610107600435610521610615565b9061053d6100fd82600052600060205260016040600020015490565b6106fb565b346100bd5760206003193601126100bd57602061056f600435600052600060205260016040600020015490565b604051908152f35b346100bd5760206003193601126100bd57600435907fffffffff0000000000000000000000000000000000000000000000000000000082168092036100bd57817f7965db0b00000000000000000000000000000000000000000000000000000000602093149081156105eb575b5015158152f35b7f01ffc9a700000000000000000000000000000000000000000000000000000000915014836105e4565b602435906001600160a01b03821682036100bd57565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761066c57604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b80600052600060205260406000206001600160a01b03331660005260205260ff60406000205416156106ca5750565b7fe2517d3f000000000000000000000000000000000000000000000000000000006000523360045260245260446000fd5b80600052600060205260406000206001600160a01b03831660005260205260ff604060002054161560001461078e5780600052600060205260406000206001600160a01b0383166000526020526040600020600160ff198254161790556001600160a01b03339216907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d600080a4600190565b5050600090565b80600052600060205260406000206001600160a01b03831660005260205260ff6040600020541660001461078e5780600052600060205260406000206001600160a01b038316600052602052604060002060ff1981541690556001600160a01b03339216907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b600080a460019056fea2646970667358221220997dab14acaa4b1b429b9333c46e4763897f272dd3ab0ada8e8ba1943b2b5dc964736f6c634300081a00332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0de84508f2c7fa9c351146748b3025cb78b45df37d868e48c6a75102fecdeee645ad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5