1 tx
4 calls
constructor
No constructor.
functions
advisorDistAmount
viewfunction advisorDistAmount() view returns (uint256)
directorDistAmount
viewfunction directorDistAmount() view returns (uint256)
leaderDistAmount
viewfunction leaderDistAmount() view returns (uint256)
owner
viewfunction owner() view returns (address)
proxiableUUID
viewfunction proxiableUUID() view returns (bytes32)
UPGRADE_INTERFACE_VERSION
viewfunction UPGRADE_INTERFACE_VERSION() view returns (string)
usdtToken
viewfunction usdtToken() view returns (address)
userDistAmount
viewfunction userDistAmount() view returns (uint256)
advisor
nonpayablefunction advisor(address[] recipients)
director
nonpayablefunction director(address[] recipients)
initialize
nonpayablefunction initialize(address initialOwner)
leader
nonpayablefunction leader(address[] recipients)
renounceOwnership
nonpayablefunction renounceOwnership()
setDistributionAmounts
nonpayablefunction setDistributionAmounts()
setUSDT
nonpayablefunction setUSDT(address _usdtToken)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
upgradeToAndCall
payablefunction upgradeToAndCall(address newImplementation, bytes data) payable
user
nonpayablefunction user(address[] recipients)
withdrawUSDT
nonpayablefunction withdrawUSDT(uint256 amount)
events
Initialized
event Initialized(uint64 version)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Upgraded
event Upgraded(address indexed implementation)
errors
AddressEmptyCode
error AddressEmptyCode(address target)
ERC1967InvalidImplementation
error ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable
error ERC1967NonPayable()
FailedInnerCall
error FailedInnerCall()
InvalidInitialization
error InvalidInitialization()
NotInitializing
error NotInitializing()
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
UUPSUnauthorizedCallContext
error UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID
error UUPSUnsupportedProxiableUUID(bytes32 slot)
creation bytecode
0x60a060405230608052348015610013575f80fd5b506080516112dd61003a5f395f8181610b2c01528181610b550152610c9901526112dd5ff3fe608060405260043610610113575f3560e01c8063715018a61161009d578063ad3cb1cc11610062578063ad3cb1cc146102b0578063c4d66de8146102ed578063d2b864bc1461030c578063e86bbc4514610321578063f2fde38b14610336575f80fd5b8063715018a61461021e5780638166d1c2146102325780638da5cb5b14610251578063a773a29c1461027d578063a98ad46c14610291575f80fd5b80634f1ef286116100e35780634f1ef286146101a457806350579364146101b757806350c1b923146101d657806352d1902d146101f557806357ca34f814610209575f80fd5b8063093100191461011e57806319f942821461013f5780631a690ff5146101665780633ea521ef14610185575f80fd5b3661011a57005b5f80fd5b348015610129575f80fd5b5061013d610138366004610fe4565b610355565b005b34801561014a575f80fd5b506101535f5481565b6040519081526020015b60405180910390f35b348015610171575f80fd5b5061013d610180366004610fe4565b610456565b348015610190575f80fd5b5061013d61019f36600461108c565b610548565b61013d6101b23660046110a3565b6105db565b3480156101c2575f80fd5b5061013d6101d1366004610fe4565b6105f6565b3480156101e1575f80fd5b5061013d6101f0366004611143565b6106e6565b348015610200575f80fd5b50610153610710565b348015610214575f80fd5b5061015360035481565b348015610229575f80fd5b5061013d61072b565b34801561023d575f80fd5b5061013d61024c366004610fe4565b61073e565b34801561025c575f80fd5b50610265610830565b6040516001600160a01b03909116815260200161015d565b348015610288575f80fd5b5061013d61085e565b34801561029c575f80fd5b50600454610265906001600160a01b031681565b3480156102bb575f80fd5b506102e0604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161015d919061117e565b3480156102f8575f80fd5b5061013d610307366004611143565b61099c565b348015610317575f80fd5b5061015360025481565b34801561032c575f80fd5b5061015360015481565b348015610341575f80fd5b5061013d610350366004611143565b610ab2565b61035d610aef565b5f8151116103865760405162461bcd60e51b815260040161037d906111b0565b60405180910390fd5b80516003545f906103989083906111e0565b90505f5b828110156104505760045484516001600160a01b039091169063a9059cbb908690849081106103cd576103cd6111ff565b6020026020010151846040518363ffffffff1660e01b81526004016104079291906001600160a01b03929092168252602082015260400190565b6020604051808303815f875af1158015610423573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104479190611213565b5060010161039c565b50505050565b61045e610aef565b5f81511161047e5760405162461bcd60e51b815260040161037d906111b0565b80516001545f906104909083906111e0565b90505f5b828110156104505760045484516001600160a01b039091169063a9059cbb908690849081106104c5576104c56111ff565b6020026020010151846040518363ffffffff1660e01b81526004016104ff9291906001600160a01b03929092168252602082015260400190565b6020604051808303815f875af115801561051b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053f9190611213565b50600101610494565b610550610aef565b6004546001600160a01b031663a9059cbb610569610830565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af11580156105b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d79190611213565b5050565b6105e3610b21565b6105ec82610bc5565b6105d78282610bcd565b6105fe610aef565b5f81511161061e5760405162461bcd60e51b815260040161037d906111b0565b80515f805461062e9083906111e0565b90505f5b828110156104505760045484516001600160a01b039091169063a9059cbb90869084908110610663576106636111ff565b6020026020010151846040518363ffffffff1660e01b815260040161069d9291906001600160a01b03929092168252602082015260400190565b6020604051808303815f875af11580156106b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106dd9190611213565b50600101610632565b6106ee610aef565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f610719610c8e565b505f8051602061128883398151915290565b610733610aef565b61073c5f610cd7565b565b610746610aef565b5f8151116107665760405162461bcd60e51b815260040161037d906111b0565b80516002545f906107789083906111e0565b90505f5b828110156104505760045484516001600160a01b039091169063a9059cbb908690849081106107ad576107ad6111ff565b6020026020010151846040518363ffffffff1660e01b81526004016107e79291906001600160a01b03929092168252602082015260400190565b6020604051808303815f875af1158015610803573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108279190611213565b5060010161077c565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b610866610aef565b600480546040516370a0823160e01b815230928101929092525f916001600160a01b03909116906370a0823190602401602060405180830381865afa1580156108b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108d59190611232565b90505f811161091e5760405162461bcd60e51b8152602060048201526015602482015274546f74616c2062616c616e6365206973207a65726f60581b604482015260640161037d565b5f606461092c83600a611249565b61093691906111e0565b5f818155909150606461094a846014611249565b61095491906111e0565b600181905590505f606461096985601e611249565b61097391906111e0565b600281905590505f6064610988866028611249565b61099291906111e0565b6003555050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156109e15750825b90505f8267ffffffffffffffff1660011480156109fd5750303b155b905081158015610a0b575080155b15610a295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a5357845460ff60401b1916600160401b1785555b610a5c86610d47565b610a64610d58565b8315610aaa57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b610aba610aef565b6001600160a01b038116610ae357604051631e4fbdf760e01b81525f600482015260240161037d565b610aec81610cd7565b50565b33610af8610830565b6001600160a01b03161461073c5760405163118cdaa760e01b815233600482015260240161037d565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610ba757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610b9b5f80516020611288833981519152546001600160a01b031690565b6001600160a01b031614155b1561073c5760405163703e46dd60e11b815260040160405180910390fd5b610aec610aef565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610c27575060408051601f3d908101601f19168201909252610c2491810190611232565b60015b610c4f57604051634c9c8ce360e01b81526001600160a01b038316600482015260240161037d565b5f805160206112888339815191528114610c7f57604051632a87526960e21b81526004810182905260240161037d565b610c898383610d60565b505050565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461073c5760405163703e46dd60e11b815260040160405180910390fd5b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b610d4f610db5565b610aec81610dfe565b61073c610db5565b610d6982610e06565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a2805115610dad57610c898282610e69565b6105d7610edd565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661073c57604051631afcd79f60e31b815260040160405180910390fd5b610aba610db5565b806001600160a01b03163b5f03610e3b57604051634c9c8ce360e01b81526001600160a01b038216600482015260240161037d565b5f8051602061128883398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b031684604051610e85919061126c565b5f60405180830381855af49150503d805f8114610ebd576040519150601f19603f3d011682016040523d82523d5f602084013e610ec2565b606091505b5091509150610ed2858383610efc565b925050505b92915050565b341561073c5760405163b398979f60e01b815260040160405180910390fd5b606082610f1157610f0c82610f5b565b610f54565b8151158015610f2857506001600160a01b0384163b155b15610f5157604051639996b31560e01b81526001600160a01b038516600482015260240161037d565b50805b9392505050565b805115610f6b5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610fc157610fc1610f84565b604052919050565b80356001600160a01b0381168114610fdf575f80fd5b919050565b5f6020808385031215610ff5575f80fd5b823567ffffffffffffffff8082111561100c575f80fd5b818501915085601f83011261101f575f80fd5b81358181111561103157611031610f84565b8060051b9150611042848301610f98565b818152918301840191848101908884111561105b575f80fd5b938501935b838510156110805761107185610fc9565b82529385019390850190611060565b98975050505050505050565b5f6020828403121561109c575f80fd5b5035919050565b5f80604083850312156110b4575f80fd5b6110bd83610fc9565b915060208084013567ffffffffffffffff808211156110da575f80fd5b818601915086601f8301126110ed575f80fd5b8135818111156110ff576110ff610f84565b611111601f8201601f19168501610f98565b91508082528784828501011115611126575f80fd5b80848401858401375f848284010152508093505050509250929050565b5f60208284031215611153575f80fd5b610f5482610fc9565b5f5b8381101561117657818101518382015260200161115e565b50505f910152565b602081525f825180602084015261119c81604085016020870161115c565b601f01601f19169190910160400192915050565b602080825260169082015275139bc81c9958da5c1a595b9d1cc81c1c9bdd9a59195960521b604082015260600190565b5f826111fa57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611223575f80fd5b81518015158114610f54575f80fd5b5f60208284031215611242575f80fd5b5051919050565b8082028115828204841417610ed757634e487b7160e01b5f52601160045260245ffd5b5f825161127d81846020870161115c565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca26469706673582212209827f016d044accb82109ecaf7e004d5a4ce70694c9a41d308bdf798a27b1f1764736f6c63430008180033