@roninbuilders/contracts
Version:
Type safe Contract ABIs for Ronin Network
1 lines • 3.6 kB
JavaScript
;var t={id:34787,address:"0xde3f70bb3abbc3f489ddf96a1cf5e4e5c2bac970",contract_name:"LockContract",display_name:"Lock Contract",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1746869243,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[{type:"address",name:"_tokenToLockAddress"},{type:"address",name:"_initialCommanderAddress"},{type:"address",name:"_initialOwner"}]},{name:"OwnableInvalidOwner",type:"error",inputs:[{type:"address",name:"owner"}]},{name:"OwnableUnauthorizedAccount",type:"error",inputs:[{type:"address",name:"account"}]},{name:"ReentrancyGuardReentrantCall",type:"error",inputs:[]},{name:"SafeERC20FailedOperation",type:"error",inputs:[{type:"address",name:"token"}]},{name:"CommanderContractAddressUpdated",type:"event",inputs:[{type:"address",name:"newAddress",indexed:true}]},{name:"MinLockDurationUpdated",type:"event",inputs:[{type:"uint256",name:"newDuration"}]},{name:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"previousOwner",indexed:true},{type:"address",name:"newOwner",indexed:true}]},{name:"TokensLocked",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"uint256",name:"amount"},{type:"uint256",name:"unlockTime"},{type:"uint256",name:"entryIndex"}]},{name:"TokensUnlocked",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"uint256",name:"amount"},{type:"uint256",name:"entryIndex"}]},{name:"PAGINATE_SIZE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"commanderGameContractAddress",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"getLockedBalance",type:"function",stateMutability:"view",inputs:[{type:"address",name:"_user"}],outputs:[{type:"uint256"}]},{name:"getUserLockEntriesPaginated",type:"function",stateMutability:"view",inputs:[{type:"address",name:"_user"},{type:"uint256",name:"_startIndex"},{type:"uint256",name:"_pageSize"}],outputs:[{type:"tuple[]",components:[{type:"uint256",name:"amount"},{type:"uint256",name:"unlockTime"},{type:"uint256",name:"remainingTime"},{type:"bool",name:"isActive"},{type:"uint256",name:"entryIndex"}]},{type:"uint256"},{type:"uint256"}]},{name:"lockTokens",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_amount"},{type:"uint256",name:"_duration"}],outputs:[]},{name:"minLockDuration",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"renounceOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"setCommanderGameContract",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_newAddress"}],outputs:[]},{name:"setMinLockDuration",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_newDuration"}],outputs:[]},{name:"tokenToLock",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"totalEffectivelyLockedAmounts",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{name:"unlockTokens",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_entryIndex"}],outputs:[]},{name:"userLockEntries",type:"function",stateMutability:"view",inputs:[{type:"address"},{type:"uint256"}],outputs:[{type:"uint256",name:"amount"},{type:"uint256",name:"unlockTime"},{type:"bool",name:"isActive"}]}]},e=t;module.exports=e;