1 tx
4 calls
constructor
No constructor.
functions
marsDistAmount
viewfunction marsDistAmount() view returns (uint256)
moonDistAmount
viewfunction moonDistAmount() view returns (uint256)
owner
viewfunction owner() view returns (address)
proxiableUUID
viewfunction proxiableUUID() view returns (bytes32)
saturnDistAmount
viewfunction saturnDistAmount() view returns (uint256)
sunDistAmount
viewfunction sunDistAmount() view returns (uint256)
UPGRADE_INTERFACE_VERSION
viewfunction UPGRADE_INTERFACE_VERSION() view returns (string)
usdtToken
viewfunction usdtToken() view returns (address)
initialize
nonpayablefunction initialize(address initialOwner)
mars
nonpayablefunction mars(address[] recipients)
moon
nonpayablefunction moon(address[] recipients)
renounceOwnership
nonpayablefunction renounceOwnership()
saturn
nonpayablefunction saturn(address[] recipients)
setDistributionAmounts
nonpayablefunction setDistributionAmounts()
setUSDT
nonpayablefunction setUSDT(address _usdtToken)
sun
nonpayablefunction sun(address[] recipients)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
upgradeToAndCall
payablefunction upgradeToAndCall(address newImplementation, bytes data) payable
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
0x60a060405230608052348015610013575f80fd5b506080516112dd61003a5f395f8181610b2c01528181610b550152610c9901526112dd5ff3fe608060405260043610610113575f3560e01c80639d634f9f1161009d578063c4d66de811610062578063c4d66de8146102ba578063deaf8a15146102d9578063ebc5ec85146102f8578063f2fde38b14610317578063f9ae16c814610336575f80fd5b80639d634f9f14610220578063a322713b14610235578063a773a29c1461024a578063a98ad46c1461025e578063ad3cb1cc1461027d575f80fd5b806350c1b923116100e357806350c1b9231461019857806352d1902d146101b7578063715018a6146101cb5780638da5cb5b146101df5780639cde43421461020b575f80fd5b80630e4b4e481461011e578063158182df146101455780633ea521ef146101665780634f1ef28614610185575f80fd5b3661011a57005b5f80fd5b348015610129575f80fd5b506101325f5481565b6040519081526020015b60405180910390f35b348015610150575f80fd5b5061016461015f366004610fe4565b610355565b005b348015610171575f80fd5b5061016461018036600461108c565b610456565b6101646101933660046110a3565b6104e9565b3480156101a3575f80fd5b506101646101b2366004611143565b610504565b3480156101c2575f80fd5b5061013261052e565b3480156101d6575f80fd5b50610164610549565b3480156101ea575f80fd5b506101f361055c565b6040516001600160a01b03909116815260200161013c565b348015610216575f80fd5b5061013260035481565b34801561022b575f80fd5b5061013260015481565b348015610240575f80fd5b5061013260025481565b348015610255575f80fd5b5061016461058a565b348015610269575f80fd5b506004546101f3906001600160a01b031681565b348015610288575f80fd5b506102ad604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161013c919061117e565b3480156102c5575f80fd5b506101646102d4366004611143565b6106c8565b3480156102e4575f80fd5b506101646102f3366004610fe4565b6107de565b348015610303575f80fd5b50610164610312366004610fe4565b6108d0565b348015610322575f80fd5b50610164610331366004611143565b6109c2565b348015610341575f80fd5b50610164610350366004610fe4565b6109ff565b61035d610aef565b5f8151116103865760405162461bcd60e51b815260040161037d906111b0565b60405180910390fd5b80516002545f906103989083906111e0565b90505f5b828110156104505760045484516001600160a01b039091169063a9059cbb908690849081106103cd576103cd6111ff565b6020026020010151846040518363ffffffff1660e01b81526004016104079291906001600160a01b03929092168252602082015260400190565b6020604051808303815f875af1158015610423573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104479190611213565b5060010161039c565b50505050565b61045e610aef565b6004546001600160a01b031663a9059cbb61047761055c565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af11580156104c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104e59190611213565b5050565b6104f1610b21565b6104fa82610bc5565b6104e58282610bcd565b61050c610aef565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f610537610c8e565b505f8051602061128883398151915290565b610551610aef565b61055a5f610cd7565b565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b610592610aef565b600480546040516370a0823160e01b815230928101929092525f916001600160a01b03909116906370a0823190602401602060405180830381865afa1580156105dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106019190611232565b90505f811161064a5760405162461bcd60e51b8152602060048201526015602482015274546f74616c2062616c616e6365206973207a65726f60581b604482015260640161037d565b5f606461065883600a611249565b61066291906111e0565b5f818155909150606461067684600f611249565b61068091906111e0565b600181905590505f606461069585601e611249565b61069f91906111e0565b600281905590505f60646106b486602d611249565b6106be91906111e0565b6003555050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f8115801561070d5750825b90505f8267ffffffffffffffff1660011480156107295750303b155b905081158015610737575080155b156107555760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561077f57845460ff60401b1916600160401b1785555b61078886610d47565b610790610d58565b83156107d657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6107e6610aef565b5f8151116108065760405162461bcd60e51b815260040161037d906111b0565b80516003545f906108189083906111e0565b90505f5b828110156104505760045484516001600160a01b039091169063a9059cbb9086908490811061084d5761084d6111ff565b6020026020010151846040518363ffffffff1660e01b81526004016108879291906001600160a01b03929092168252602082015260400190565b6020604051808303815f875af11580156108a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c79190611213565b5060010161081c565b6108d8610aef565b5f8151116108f85760405162461bcd60e51b815260040161037d906111b0565b80516001545f9061090a9083906111e0565b90505f5b828110156104505760045484516001600160a01b039091169063a9059cbb9086908490811061093f5761093f6111ff565b6020026020010151846040518363ffffffff1660e01b81526004016109799291906001600160a01b03929092168252602082015260400190565b6020604051808303815f875af1158015610995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b99190611213565b5060010161090e565b6109ca610aef565b6001600160a01b0381166109f357604051631e4fbdf760e01b81525f600482015260240161037d565b6109fc81610cd7565b50565b610a07610aef565b5f815111610a275760405162461bcd60e51b815260040161037d906111b0565b80515f8054610a379083906111e0565b90505f5b828110156104505760045484516001600160a01b039091169063a9059cbb90869084908110610a6c57610a6c6111ff565b6020026020010151846040518363ffffffff1660e01b8152600401610aa69291906001600160a01b03929092168252602082015260400190565b6020604051808303815f875af1158015610ac2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae69190611213565b50600101610a3b565b33610af861055c565b6001600160a01b03161461055a5760405163118cdaa760e01b815233600482015260240161037d565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610ba757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610b9b5f80516020611288833981519152546001600160a01b031690565b6001600160a01b031614155b1561055a5760405163703e46dd60e11b815260040160405180910390fd5b6109fc610aef565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610c27575060408051601f3d908101601f19168201909252610c2491810190611232565b60015b610c4f57604051634c9c8ce360e01b81526001600160a01b038316600482015260240161037d565b5f805160206112888339815191528114610c7f57604051632a87526960e21b81526004810182905260240161037d565b610c898383610d60565b505050565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461055a5760405163703e46dd60e11b815260040160405180910390fd5b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b610d4f610db5565b6109fc81610dfe565b61055a610db5565b610d6982610e06565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a2805115610dad57610c898282610e69565b6104e5610edd565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661055a57604051631afcd79f60e31b815260040160405180910390fd5b6109ca610db5565b806001600160a01b03163b5f03610e3b57604051634c9c8ce360e01b81526001600160a01b038216600482015260240161037d565b5f8051602061128883398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b031684604051610e85919061126c565b5f60405180830381855af49150503d805f8114610ebd576040519150601f19603f3d011682016040523d82523d5f602084013e610ec2565b606091505b5091509150610ed2858383610efc565b925050505b92915050565b341561055a5760405163b398979f60e01b815260040160405180910390fd5b606082610f1157610f0c82610f5b565b610f54565b8151158015610f2857506001600160a01b0384163b155b15610f5157604051639996b31560e01b81526001600160a01b038516600482015260240161037d565b50805b9392505050565b805115610f6b5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610fc157610fc1610f84565b604052919050565b80356001600160a01b0381168114610fdf575f80fd5b919050565b5f6020808385031215610ff5575f80fd5b823567ffffffffffffffff8082111561100c575f80fd5b818501915085601f83011261101f575f80fd5b81358181111561103157611031610f84565b8060051b9150611042848301610f98565b818152918301840191848101908884111561105b575f80fd5b938501935b838510156110805761107185610fc9565b82529385019390850190611060565b98975050505050505050565b5f6020828403121561109c575f80fd5b5035919050565b5f80604083850312156110b4575f80fd5b6110bd83610fc9565b915060208084013567ffffffffffffffff808211156110da575f80fd5b818601915086601f8301126110ed575f80fd5b8135818111156110ff576110ff610f84565b611111601f8201601f19168501610f98565b91508082528784828501011115611126575f80fd5b80848401858401375f848284010152508093505050509250929050565b5f60208284031215611153575f80fd5b610f5482610fc9565b5f5b8381101561117657818101518382015260200161115e565b50505f910152565b602081525f825180602084015261119c81604085016020870161115c565b601f01601f19169190910160400192915050565b602080825260169082015275139bc81c9958da5c1a595b9d1cc81c1c9bdd9a59195960521b604082015260600190565b5f826111fa57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611223575f80fd5b81518015158114610f54575f80fd5b5f60208284031215611242575f80fd5b5051919050565b8082028115828204841417610ed757634e487b7160e01b5f52601160045260245ffd5b5f825161127d81846020870161115c565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca264697066735822122041d9c373e683d78c36a3ed7221b0a19668ceaddc5a1299a5c087428467b3eabe64736f6c63430008180033