0 txs
1.4k calls
constructor
No constructor.
functions
checkDatas
viewfunction checkDatas(address) view returns (uint256 streak, uint256 timestamp)
getDaysCountByTs
purefunction getDaysCountByTs(uint256 _timespamp) pure returns (uint256)
check
nonpayablefunction check()
initialize
nonpayablefunction initialize()
events
DailyCheck
event DailyCheck(address indexed caller, uint256 streak, uint256 timestamp)
Initialized
event Initialized(uint8 version)
errors
No errors.
creation bytecode
0x608060405234801561001057600080fd5b506103d7806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80638129fc1c14610051578063919840ad1461005b578063ba72f8f914610063578063e2146e1f146100a4575b600080fd5b6100596100c5565b005b6100596101d3565b61008a6100713660046102f1565b6001602081905260009182526040909120805491015482565b604080519283526020830191909152015b60405180910390f35b6100b76100b2366004610321565b6102dc565b60405190815260200161009b565b600054610100900460ff16158080156100e55750600054600160ff909116105b806100ff5750303b1580156100ff575060005460ff166001145b6101675760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801561018a576000805461ff0019166101001790555b80156101d0576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50565b336000908152600160208181526040808420815180830190925280548252909201549082015290610203426102dc565b9050600061021483602001516102dc565b90508082116102555760405162461bcd60e51b815260206004820152600d60248201526c636865636b656420746f64617960981b604482015260640161015e565b61025f8183610350565b60011461026d57600161027a565b825161027a906001610367565b83524260208085018281523360008181526001808552604091829020895180825594519101558051928352928201939093527f9774279daef4087e16967484080e062b1dc082b02454370036c7854cb6fcc386910160405180910390a2505050565b60006102eb620151808361037f565b92915050565b60006020828403121561030357600080fd5b81356001600160a01b038116811461031a57600080fd5b9392505050565b60006020828403121561033357600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156103625761036261033a565b500390565b6000821982111561037a5761037a61033a565b500190565b60008261039c57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212202b8063dc62eec0bee5f6fa45a7d55c0df7c029446005a5ef3f7c7b2538e61b6664736f6c63430008090033