0 txs
23 calls
constructor
constructor()
functions
DEFAULT_ADMIN_ROLE
viewfunction DEFAULT_ADMIN_ROLE() view returns (bytes32)
getBalance
viewfunction getBalance() view returns (uint256 bal)
getRoleAdmin
viewfunction getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole
viewfunction hasRole(bytes32 role, address account) view returns (bool)
proxiableUUID
viewfunction proxiableUUID() view returns (bytes32)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
UPGRADE_INTERFACE_VERSION
viewfunction UPGRADE_INTERFACE_VERSION() view returns (string)
burnFee
nonpayablefunction burnFee(address from, uint256 amt)
EmergencyWithdraw
nonpayablefunction EmergencyWithdraw(address to, uint256 amt)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
initialize
nonpayablefunction initialize(address _owner, address umja, address factory)
renounceRole
nonpayablefunction renounceRole(bytes32 role, address callerConfirmation)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
sendReward
nonpayablefunction sendReward(address to, uint256 amt) returns (uint256)
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)
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()
UUPSUnauthorizedCallContext
error UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID
error UUPSUnsupportedProxiableUUID(bytes32 slot)
ZeroAddress
error ZeroAddress()
creation bytecode
0x60a080604052346100e857306080527ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460ff8160401c166100d9576002600160401b03196001600160401b03821601610073575b60405161106890816100ed82396080518181816104f001526105c00152f35b6001600160401b0319166001600160401b039081177ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005581527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a15f80610054565b63f92ee8a960e01b5f5260045ffd5b5f80fdfe6080806040526004361015610012575f80fd5b5f905f3560e01c90816301ffc9a714610a035750806307420a411461095c5780630c86269f146108c357806312065fe014610830578063248a9ca3146108095780632f2ff15d146107d757806336568abe146107925780634f1ef2861461054457806352d1902d146104dd5780635fafa99d1461042657806391d14854146103d0578063a217fddf146103b4578063ad3cb1cc14610358578063c0c53b8b146101005763d547741f146100c3575f80fd5b346100fd5760403660031901126100fd576100f96004356100e2610a6c565b906100f46100ef82610aec565b610bd5565b610e8d565b5080f35b80fd5b50346100fd5760603660031901126100fd5761011a610a56565b610122610a6c565b90604435906001600160a01b0382168203610354575f80516020611013833981519152549260ff8460401c16159367ffffffffffffffff81168015908161034c575b6001149081610342575b159081610339575b5061032a5767ffffffffffffffff1981166001175f8051602061101383398151915255846102fe575b506001600160a01b038216156102ef576101f892916101f2916101c0610f29565b6101c8610f29565b6101d0610c1b565b80546001600160a01b0319166001600160a01b03909216919091179055610c5f565b50610d1d565b505f80516020610fb383398151915282525f80516020610ff38339815191526020526001604083200154905f80516020610fb383398151915283525f80516020610ff38339815191526020525f80516020610fb383398151915260016040852001555f80516020610fb383398151915260405192817fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff8680a4610299575080f35b60207fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29168ff0000000000000000195f8051602061101383398151915254165f805160206110138339815191525560018152a180f35b63d92e233d60e01b8552600485fd5b68ffffffffffffffffff191668010000000000000001175f80516020611013833981519152555f61019f565b63f92ee8a960e01b8652600486fd5b9050155f610176565b303b15915061016e565b869150610164565b8380fd5b50346100fd57806003193601126100fd57604080516103778282610a82565b6005815260208101640352e302e360dc1b81528251938492602084525180928160208601528585015e828201840152601f01601f19168101030190f35b50346100fd57806003193601126100fd57602090604051908152f35b50346100fd5760403660031901126100fd5760406103ec610a6c565b9160043581525f80516020610ff3833981519152602052209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b50346100fd5760403660031901126100fd57806020610498610446610a56565b61044e610b79565b6001600160a01b0361045e610c1b565b5460405163a9059cbb60e01b81526001600160a01b0390931660048401526024803590840152919485939190921691839182906044820190565b03925af180156104d2576104aa575080f35b6100f99060203d6020116104cb575b6104c38183610a82565b810190610ad4565b503d6104b9565b6040513d84823e3d90fd5b50346100fd57806003193601126100fd577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036105355760206040515f80516020610fd38339815191528152f35b63703e46dd60e11b8152600490fd5b5060403660031901126100fd57610559610a56565b6024359067ffffffffffffffff821161078e573660238301121561078e578160040135908361058783610ab8565b936105956040519586610a82565b8385526020850193366024828401011161078e57806024602093018637850101526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630811490811561076c575b5061075d576105f8610b79565b6040516352d1902d60e01b81526001600160a01b0382169390602081600481885afa869181610725575b5061063b57634c9c8ce360e01b86526004859052602486fd5b93845f80516020610fd38339815191528796036107135750823b15610701575f80516020610fd383398151915280546001600160a01b031916821790558491907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8380a28051156106e6576100f99382915190845af43d156106de573d916106c283610ab8565b926106d06040519485610a82565b83523d85602085013e610f54565b606091610f54565b50505050346106f25780f35b63b398979f60e01b8152600490fd5b634c9c8ce360e01b8552600452602484fd5b632a87526960e21b8652600452602485fd5b9091506020813d602011610755575b8161074160209383610a82565b810103126107515751905f610622565b8680fd5b3d9150610734565b63703e46dd60e11b8452600484fd5b5f80516020610fd3833981519152546001600160a01b0316141590505f6105eb565b8280fd5b50346100fd5760403660031901126100fd576107ac610a6c565b336001600160a01b038216036107c8576100f990600435610e8d565b63334bd91960e11b8252600482fd5b50346100fd5760403660031901126100fd576100f96004356107f7610a6c565b906108046100ef82610aec565b610de9565b50346100fd5760203660031901126100fd576020610828600435610aec565b604051908152f35b50346100fd57806003193601126100fd57602460206001600160a01b03610855610c1b565b5416604051928380926370a0823160e01b82523060048301525afa9081156104d2578291610889575b602082604051908152f35b90506020813d6020116108bb575b816108a460209383610a82565b810103126108b75760209150515f61087e565b5080fd5b3d9150610897565b5034610958576040366003190112610958576108dd610a56565b6108e5610b0a565b6001600160a01b036108f5610c1b565b5416803b1561095857604051632770a7eb60e21b81526001600160a01b0392909216600483015260248035908301525f908290604490829084905af1801561094d5761093f575080f35b61094b91505f90610a82565b005b6040513d5f823e3d90fd5b5f80fd5b34610958576040366003190112610958576109cc610978610a56565b60206024358092610987610b0a565b6001600160a01b03610997610c1b565b5416905f60405180978195829463a9059cbb60e01b84526004840160209093929193604081019460018060a01b031681520152565b03925af191821561094d576020926109e8575b50604051908152f35b6109fe90833d85116104cb576104c38183610a82565b6109df565b34610958576020366003190112610958576004359063ffffffff60e01b821680920361095857602091637965db0b60e01b8114908115610a45575b5015158152f35b6301ffc9a760e01b14905083610a3e565b600435906001600160a01b038216820361095857565b602435906001600160a01b038216820361095857565b90601f8019910116810190811067ffffffffffffffff821117610aa457604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff8111610aa457601f01601f191660200190565b90816020910312610958575180151581036109585790565b5f525f80516020610ff3833981519152602052600160405f20015490565b335f9081527fae397ad4942fd55c39428db5ea3ac85cc8592b20d92437b6ec53a8b6ff39d42d602052604090205460ff1615610b4257565b63e2517d3f60e01b5f52336004527fdfbefbf47cfe66b701d8cfdbce1de81c821590819cb07e71cb01b6602fb0ee2760245260445ffd5b335f9081527fc32d4dc01d07c436ad8a6f9a20eadd61263c71fe16f6b5956005ba3b341f51dd602052604090205460ff1615610bb157565b63e2517d3f60e01b5f52336004525f80516020610fb383398151915260245260445ffd5b5f8181525f80516020610ff38339815191526020908152604080832033845290915290205460ff1615610c055750565b63e2517d3f60e01b5f523360045260245260445ffd5b604051602081017f2b661abea2f7df02b29f71cce4dd1fac0e6de111009634c4916fefbea2181df3815260208252610c54604083610a82565b9051902060ff191690565b6001600160a01b0381165f9081527fc32d4dc01d07c436ad8a6f9a20eadd61263c71fe16f6b5956005ba3b341f51dd602052604090205460ff16610d18576001600160a01b03165f8181527fc32d4dc01d07c436ad8a6f9a20eadd61263c71fe16f6b5956005ba3b341f51dd60205260408120805460ff191660011790553391905f80516020610fb3833981519152907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b505f90565b6001600160a01b0381165f9081527fae397ad4942fd55c39428db5ea3ac85cc8592b20d92437b6ec53a8b6ff39d42d602052604090205460ff16610d18576001600160a01b03165f8181527fae397ad4942fd55c39428db5ea3ac85cc8592b20d92437b6ec53a8b6ff39d42d60205260408120805460ff191660011790553391907fdfbefbf47cfe66b701d8cfdbce1de81c821590819cb07e71cb01b6602fb0ee27907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b5f8181525f80516020610ff3833981519152602090815260408083206001600160a01b038616845290915290205460ff16610e87575f8181525f80516020610ff3833981519152602090815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b50505f90565b5f8181525f80516020610ff3833981519152602090815260408083206001600160a01b038616845290915290205460ff1615610e87575f8181525f80516020610ff3833981519152602090815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b60ff5f805160206110138339815191525460401c1615610f4557565b631afcd79f60e31b5f5260045ffd5b90610f785750805115610f6957805190602001fd5b63d6bda27560e01b5f5260045ffd5b81511580610fa9575b610f89575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15610f8156feb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122033eed7c6bbbd163cb96c75d327e2d4b3e0d1fce7450e3d79880168ae50b45e2564736f6c634300081a0033