0 txs
27 calls
constructor
No 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)
MULTICALL_ROLE
viewfunction MULTICALL_ROLE() view returns (bytes32)
PERMISSIONED_ROUTER_ROLE
viewfunction PERMISSIONED_ROUTER_ROLE() view returns (bytes32)
PERMISSIONED_TRADER_ROLE
viewfunction PERMISSIONED_TRADER_ROLE() view returns (bytes32)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
initialize
nonpayablefunction initialize(address _admin)
multicall
nonpayablefunction multicall(address[] targets, bytes[] data)
renounceRole
nonpayablefunction renounceRole(bytes32 role, address callerConfirmation)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
withdraw
nonpayablefunction withdraw(address baseToken, address recipient)
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)
errors
AccessControlBadConfirmation
error AccessControlBadConfirmation()
AccessControlUnauthorizedAccount
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode
error AddressEmptyCode(address target)
AddressInsufficientBalance
error AddressInsufficientBalance(address account)
ErrorMulticallFailed
error ErrorMulticallFailed()
FailedInnerCall
error FailedInnerCall()
InsufficientOutputToken
error InsufficientOutputToken()
InvalidInitialization
error InvalidInitialization()
NotInitializing
error NotInitializing()
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
creation bytecode
0x6080604052348015600e575f80fd5b50610bf58061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106100cb575f3560e01c80637952776511610088578063c4d66de811610063578063c4d66de8146101bb578063d547741f146101ce578063de52e721146101e1578063f940e38514610208575f80fd5b8063795277651461017a57806391d14854146101a1578063a217fddf146101b4575f80fd5b806301ffc9a7146100cf5780630dda2e53146100f7578063248a9ca31461012c5780632f2ff15d1461013f57806336568abe1461015457806363fb0b9614610167575b5f80fd5b6100e26100dd366004610975565b61021b565b60405190151581526020015b60405180910390f35b61011e7f759995689d0b5a8d082ba285697cd721c40ae33fadfeb8da798e7c4b54e8827d81565b6040519081526020016100ee565b61011e61013a36600461099c565b610251565b61015261014d3660046109ce565b610271565b005b6101526101623660046109ce565b610293565b610152610175366004610a40565b6102cb565b61011e7f84060c990e14b08d7c5d95f3c4be08c8b28742dee5236bc38e7559b465ca531f81565b6100e26101af3660046109ce565b6103d3565b61011e5f81565b6101526101c9366004610aac565b610409565b6101526101dc3660046109ce565b610530565b61011e7f795faeccae94bd9eed40852cb158e30f590ffa7acbfa89a0204147c5bcf072cd81565b610152610216366004610ac5565b61054c565b5f6001600160e01b03198216637965db0b60e01b148061024b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b5f9081525f80516020610ba0833981519152602052604090206001015490565b61027a82610251565b610283816105d4565b61028d83836105e1565b50505050565b6001600160a01b03811633146102bc5760405163334bd91960e11b815260040160405180910390fd5b6102c68282610682565b505050565b7f759995689d0b5a8d082ba285697cd721c40ae33fadfeb8da798e7c4b54e8827d6102f5816105d4565b5f5b848110156103cb575f86868381811061031257610312610aed565b90506020020160208101906103279190610aac565b6001600160a01b031685858481811061034257610342610aed565b90506020028101906103549190610b01565b604051610362929190610b44565b5f604051808303815f865af19150503d805f811461039b576040519150601f19603f3d011682016040523d82523d5f602084013e6103a0565b606091505b50509050806103c257604051637935110d60e01b815260040160405180910390fd5b506001016102f7565b505050505050565b5f9182525f80516020610ba0833981519152602090815260408084206001600160a01b0393909316845291905290205460ff1690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f8115801561044e5750825b90505f8267ffffffffffffffff16600114801561046a5750303b155b905081158015610478575080155b156104965760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156104c057845460ff60401b1916600160401b1785555b6104c86106fb565b6104d06106fb565b6104d86106fb565b6104e25f876105e1565b5083156103cb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b61053982610251565b610542816105d4565b61028d8383610682565b5f610556816105d4565b6040516370a0823160e01b81523060048201525f906001600160a01b038516906370a0823190602401602060405180830381865afa15801561059a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105be9190610b53565b905061028d6001600160a01b0385168483610705565b6105de8133610757565b50565b5f5f80516020610ba08339815191526105fa84846103d3565b610679575f848152602082815260408083206001600160a01b03871684529091529020805460ff1916600117905561062f3390565b6001600160a01b0316836001600160a01b0316857f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4600191505061024b565b5f91505061024b565b5f5f80516020610ba083398151915261069b84846103d3565b15610679575f848152602082815260408083206001600160a01b0387168085529252808320805460ff1916905551339287917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4600191505061024b565b610703610799565b565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526102c69084906107e2565b61076182826103d3565b6107955760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044015b60405180910390fd5b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661070357604051631afcd79f60e31b815260040160405180910390fd5b5f6107f66001600160a01b03841683610843565b905080515f1415801561081a5750808060200190518101906108189190610b6a565b155b156102c657604051635274afe760e01b81526001600160a01b038416600482015260240161078c565b606061085083835f610857565b9392505050565b60608147101561087c5760405163cd78605960e01b815230600482015260240161078c565b5f80856001600160a01b031684866040516108979190610b89565b5f6040518083038185875af1925050503d805f81146108d1576040519150601f19603f3d011682016040523d82523d5f602084013e6108d6565b606091505b50915091506108e68683836108f0565b9695505050505050565b606082610905576109008261094c565b610850565b815115801561091c57506001600160a01b0384163b155b1561094557604051639996b31560e01b81526001600160a01b038516600482015260240161078c565b5080610850565b80511561095c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f60208284031215610985575f80fd5b81356001600160e01b031981168114610850575f80fd5b5f602082840312156109ac575f80fd5b5035919050565b80356001600160a01b03811681146109c9575f80fd5b919050565b5f80604083850312156109df575f80fd5b823591506109ef602084016109b3565b90509250929050565b5f8083601f840112610a08575f80fd5b50813567ffffffffffffffff811115610a1f575f80fd5b6020830191508360208260051b8501011115610a39575f80fd5b9250929050565b5f805f8060408587031215610a53575f80fd5b843567ffffffffffffffff811115610a69575f80fd5b610a75878288016109f8565b909550935050602085013567ffffffffffffffff811115610a94575f80fd5b610aa0878288016109f8565b95989497509550505050565b5f60208284031215610abc575f80fd5b610850826109b3565b5f8060408385031215610ad6575f80fd5b610adf836109b3565b91506109ef602084016109b3565b634e487b7160e01b5f52603260045260245ffd5b5f808335601e19843603018112610b16575f80fd5b83018035915067ffffffffffffffff821115610b30575f80fd5b602001915036819003821315610a39575f80fd5b818382375f9101908152919050565b5f60208284031215610b63575f80fd5b5051919050565b5f60208284031215610b7a575f80fd5b81518015158114610850575f80fd5b5f82518060208501845e5f92019182525091905056fe02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800a2646970667358221220f39cc7e685a32c145b0ab8ed9d4718c7a570bdb03f93aaa7f2d0035a8c4da3cb64736f6c634300081a0033