UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 4.21 kB
var t={id:4377,address:"0xcd4f1cd738cf862995239b5b7d9ff09cffc22399",contract_name:"TransparentProxyOZv4_9_5",display_name:"Check In Upgradeable Proxy",is_deprecated:false,is_proxy:true,proxy_to:"0xecd0ddffbf40129a25e0f7950de92c9ae3e1aad7",created_at:1728294548,abi:[{type:"constructor",stateMutability:"payable",inputs:[{type:"address",name:"logic"},{type:"address",name:"admin"},{type:"bytes",name:"data"}]},{name:"AdminChanged",type:"event",inputs:[{type:"address",name:"previousAdmin"},{type:"address",name:"newAdmin"}]},{name:"BeaconUpgraded",type:"event",inputs:[{type:"address",name:"beacon",indexed:true}]},{name:"Upgraded",type:"event",inputs:[{type:"address",name:"implementation",indexed:true}]},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"}],proxy_abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[]},{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:"initialize",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"owner"},{type:"uint256",name:"limitDailyCheckIn"},{type:"uint256",name:"periodStartTimeInUTC"}],outputs:[]},{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};