UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 3.53 kB
var t={id:25648,address:"0xf4d87d84d38a3dc67d89b9b00b74b78b254ca5cb",contract_name:"CheckInImmutable",display_name:"Check In Immutable",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:void 0,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[{type:"address",name:"owner"},{type:"uint256",name:"limitDailyCheckIn"},{type:"uint256",name:"periodStartTimeInUTC"}]},{name:"AlreadyCheckedIn",type:"error",inputs:[]},{name:"DailyLimitExceeded",type:"error",inputs:[]},{name:"InvalidInitialization",type:"error",inputs:[]},{name:"NotInitializing",type:"error",inputs:[]},{name:"OwnableInvalidOwner",type:"error",inputs:[{type:"address",name:"owner"}]},{name:"OwnableUnauthorizedAccount",type:"error",inputs:[{type:"address",name:"account"}]},{name:"CheckedIn",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"uint256",name:"period"},{type:"uint256",name:"count"}]},{name:"Initialized",type:"event",inputs:[{type:"uint64",name:"version"}]},{name:"LimitDailyCheckInUpdated",type:"event",inputs:[{type:"uint256",name:"limitDailyCheckIn"}]},{name:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"previousOwner",indexed:true},{type:"address",name:"newOwner",indexed:true}]},{name:"MAX_QUERY_LIMIT",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"PERIOD_DURATION",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"checkIn",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"user"}],outputs:[]},{name:"computePeriod",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"timestamp"}],outputs:[{type:"uint256"}]},{name:"getCheckInCount",type:"function",stateMutability:"view",inputs:[{type:"address",name:"delegatee"},{type:"uint256",name:"period"}],outputs:[{type:"uint256"}]},{name:"getCurrentStreak",type:"function",stateMutability:"view",inputs:[{type:"address",name:"user"}],outputs:[{type:"uint256"}]},{name:"getHistory",type:"function",stateMutability:"view",inputs:[{type:"address",name:"user"},{type:"uint256",name:"from"},{type:"uint256",name:"to"},{type:"uint256",name:"limit"},{type:"uint256",name:"offset"}],outputs:[{type:"uint256",name:"numPeriod"},{type:"uint256[]",name:"periods"},{type:"uint256[]",name:"streakCounts"}]},{name:"getLastUpdatedPeriod",type:"function",stateMutability:"view",inputs:[{type:"address",name:"user"}],outputs:[{type:"uint256"}]},{name:"getLimitDailyCheckIn",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"getPeriodStartTimeInUTC",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"getStreakAtPeriod",type:"function",stateMutability:"view",inputs:[{type:"address",name:"user"},{type:"uint256",name:"period"}],outputs:[{type:"uint256"}]},{name:"isCheckedInToday",type:"function",stateMutability:"view",inputs:[{type:"address",name:"user"}],outputs:[{type:"bool"}]},{name:"isMissedCheckIn",type:"function",stateMutability:"view",inputs:[{type:"address",name:"user"}],outputs:[{type:"bool"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"renounceOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"setLimitDailyCheckIn",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"limitDailyCheckIn"}],outputs:[]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]}]},e=t;export{e as default};