0 txs
1 call
constructor
constructor()
functions
DEFAULT_ADMIN_ROLE
viewfunction DEFAULT_ADMIN_ROLE() view returns (bytes32)
getRescuableTokenBalance
viewfunction getRescuableTokenBalance(address token) view returns (uint256)
getRoleAdmin
viewfunction getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole
viewfunction hasRole(bytes32 role, address account) view returns (bool)
proxiableUUID
viewfunction proxiableUUID() view returns (bytes32)
RESCUER_ROLE
viewfunction RESCUER_ROLE() view returns (bytes32)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
UPGRADE_INTERFACE_VERSION
viewfunction UPGRADE_INTERFACE_VERSION() view returns (string)
UPGRADER_ROLE
viewfunction UPGRADER_ROLE() view returns (bytes32)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
initializeRescue
nonpayablefunction initializeRescue()
renounceRole
nonpayablefunction renounceRole(bytes32 role, address callerConfirmation)
rescueAllTokens
nonpayablefunction rescueAllTokens(address token, address to)
rescueToken
nonpayablefunction rescueToken(address token, address to, uint256 amount)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
upgradeToAndCall
payablefunction upgradeToAndCall(address newImplementation, bytes data) payable
events
Initialized
event Initialized(uint64 version)
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)
TokenRescued
event TokenRescued(address indexed token, address indexed to, uint256 amount, address indexed rescuer)
Upgraded
event Upgraded(address indexed implementation)
errors
AccessControlBadConfirmation
error AccessControlBadConfirmation()
AccessControlUnauthorizedAccount
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode
error AddressEmptyCode(address target)
ERC1967InvalidImplementation
error ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable
error ERC1967NonPayable()
FailedCall
error FailedCall()
InvalidInitialization
error InvalidInitialization()
NotInitializing
error NotInitializing()
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
UUPSUnauthorizedCallContext
error UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID
error UUPSUnsupportedProxiableUUID(bytes32 slot)
creation bytecode
0x60a060405230608052348015610013575f5ffd5b5061001c610021565b6100d3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100715760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d05780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6080516112ec6100f95f395f8181610b2001528181610b490152610cac01526112ec5ff3fe6080604052600436106100ef575f3560e01c806391d1485411610087578063ba9849f011610057578063ba9849f01461027d578063d547741f1461029c578063e5711e8b146102bb578063f72c0d8b146102da575f5ffd5b806391d14854146101fa578063a019150914610219578063a217fddf1461022d578063ad3cb1cc14610240575f5ffd5b80634f1ef286116100c25780634f1ef2861461019457806352d1902d146101a75780635d5c52d0146101bb57806371372544146101da575f5ffd5b806301ffc9a7146100f3578063248a9ca3146101275780632f2ff15d1461015457806336568abe14610175575b5f5ffd5b3480156100fe575f5ffd5b5061011261010d36600461101f565b61030d565b60405190151581526020015b60405180910390f35b348015610132575f5ffd5b50610146610141366004611046565b610343565b60405190815260200161011e565b34801561015f575f5ffd5b5061017361016e366004611078565b610363565b005b348015610180575f5ffd5b5061017361018f366004611078565b610385565b6101736101a23660046110b6565b6103bd565b3480156101b2575f5ffd5b506101466103dc565b3480156101c6575f5ffd5b506101736101d536600461117a565b6103f7565b3480156101e5575f5ffd5b506101465f5160206112575f395f51905f5281565b348015610205575f5ffd5b50610112610214366004611078565b6105d6565b348015610224575f5ffd5b5061017361060c565b348015610238575f5ffd5b506101465f81565b34801561024b575f5ffd5b50610270604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161011e91906111a2565b348015610288575f5ffd5b506101466102973660046111d7565b610730565b3480156102a7575f5ffd5b506101736102b6366004611078565b6107ac565b3480156102c6575f5ffd5b506101736102d53660046111f0565b6107c8565b3480156102e5575f5ffd5b506101467f189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e381565b5f6001600160e01b03198216637965db0b60e01b148061033d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b5f9081525f5160206112975f395f51905f52602052604090206001015490565b61036c82610343565b610375816109ee565b61037f83836109fb565b50505050565b6001600160a01b03811633146103ae5760405163334bd91960e11b815260040160405180910390fd5b6103b88282610a9c565b505050565b6103c5610b15565b6103ce82610bbb565b6103d88282610be5565b5050565b5f6103e5610ca1565b505f5160206112775f395f51905f5290565b5f5160206112575f395f51905f5261040e816109ee565b6001600160a01b0383166104615760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b60448201526064015b60405180910390fd5b6001600160a01b0382166104b35760405162461bcd60e51b8152602060048201526019602482015278496e76616c696420726563697069656e74206164647265737360381b6044820152606401610458565b6040516370a0823160e01b815230600482015283905f906001600160a01b038316906370a0823190602401602060405180830381865afa1580156104f9573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051d9190611229565b90505f81116105645760405162461bcd60e51b81526020600482015260136024820152724e6f20746f6b656e7320746f2072657363756560681b6044820152606401610458565b6105786001600160a01b0383168583610cea565b336001600160a01b0316846001600160a01b0316866001600160a01b03167f7f00bae20a44646c8139ccbb8589c36165f912391a23861f6f0fc9529ba14885846040516105c791815260200190565b60405180910390a45050505050565b5f9182525f5160206112975f395f51905f52602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60025f610617610d3c565b8054909150600160401b900460ff168061063f5750805467ffffffffffffffff808416911610155b1561065d5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b178155610687610d64565b61068f610d64565b3361069a5f826109fb565b506106c57f189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e3826109fb565b506106dd5f5160206112575f395f51905f52826109fb565b5050805468ff00000000000000001916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050565b5f6001600160a01b03821661074657505f919050565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa158015610788573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061033d9190611229565b6107b582610343565b6107be816109ee565b61037f8383610a9c565b5f5160206112575f395f51905f526107df816109ee565b6001600160a01b03841661082d5760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b6044820152606401610458565b6001600160a01b03831661087f5760405162461bcd60e51b8152602060048201526019602482015278496e76616c696420726563697069656e74206164647265737360381b6044820152606401610458565b5f82116108bf5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b6044820152606401610458565b6040516370a0823160e01b815230600482015284905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610905573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109299190611229565b90508381101561097b5760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e2062616c616e63650000000000006044820152606401610458565b61098f6001600160a01b0383168686610cea565b336001600160a01b0316856001600160a01b0316876001600160a01b03167f7f00bae20a44646c8139ccbb8589c36165f912391a23861f6f0fc9529ba14885876040516109de91815260200190565b60405180910390a4505050505050565b6109f88133610d6c565b50565b5f5f5160206112975f395f51905f52610a1484846105d6565b610a93575f848152602082815260408083206001600160a01b03871684529091529020805460ff19166001179055610a493390565b6001600160a01b0316836001600160a01b0316857f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4600191505061033d565b5f91505061033d565b5f5f5160206112975f395f51905f52610ab584846105d6565b15610a93575f848152602082815260408083206001600160a01b0387168085529252808320805460ff1916905551339287917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4600191505061033d565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610b9b57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610b8f5f5160206112775f395f51905f52546001600160a01b031690565b6001600160a01b031614155b15610bb95760405163703e46dd60e11b815260040160405180910390fd5b565b7f189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e36103d8816109ee565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610c3f575060408051601f3d908101601f19168201909252610c3c91810190611229565b60015b610c6757604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610458565b5f5160206112775f395f51905f528114610c9757604051632a87526960e21b815260048101829052602401610458565b6103b88383610da5565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610bb95760405163703e46dd60e11b815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526103b8908490610dfa565b5f807ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0061033d565b610bb9610e66565b610d7682826105d6565b6103d85760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610458565b610dae82610e8b565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a2805115610df2576103b88282610eee565b6103d8610f60565b5f5f60205f8451602086015f885af180610e19576040513d5f823e3d81fd5b50505f513d91508115610e30578060011415610e3d565b6001600160a01b0384163b155b1561037f57604051635274afe760e01b81526001600160a01b0385166004820152602401610458565b610e6e610f7f565b610bb957604051631afcd79f60e31b815260040160405180910390fd5b806001600160a01b03163b5f03610ec057604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610458565b5f5160206112775f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b60605f5f846001600160a01b031684604051610f0a9190611240565b5f60405180830381855af49150503d805f8114610f42576040519150601f19603f3d011682016040523d82523d5f602084013e610f47565b606091505b5091509150610f57858383610f98565b95945050505050565b3415610bb95760405163b398979f60e01b815260040160405180910390fd5b5f610f88610d3c565b54600160401b900460ff16919050565b606082610fad57610fa882610ff7565b610ff0565b8151158015610fc457506001600160a01b0384163b155b15610fed57604051639996b31560e01b81526001600160a01b0385166004820152602401610458565b50805b9392505050565b80511561100657805160208201fd5b60405163d6bda27560e01b815260040160405180910390fd5b5f6020828403121561102f575f5ffd5b81356001600160e01b031981168114610ff0575f5ffd5b5f60208284031215611056575f5ffd5b5035919050565b80356001600160a01b0381168114611073575f5ffd5b919050565b5f5f60408385031215611089575f5ffd5b823591506110996020840161105d565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b5f5f604083850312156110c7575f5ffd5b6110d08361105d565b9150602083013567ffffffffffffffff8111156110eb575f5ffd5b8301601f810185136110fb575f5ffd5b803567ffffffffffffffff811115611115576111156110a2565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715611144576111446110a2565b60405281815282820160200187101561115b575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f6040838503121561118b575f5ffd5b6111948361105d565b91506110996020840161105d565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156111e7575f5ffd5b610ff08261105d565b5f5f5f60608486031215611202575f5ffd5b61120b8461105d565b92506112196020850161105d565b9150604084013590509250925092565b5f60208284031215611239575f5ffd5b5051919050565b5f82518060208501845e5f92019182525091905056fecf6f9f892731e14b8859835f2ff35575f447fb501f46243c4eb8bac19e31a050360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800a2646970667358221220918b33921ecf878953718121a211a1a9586c38e340c2d98d1d2487ec4651520964736f6c634300081c0033