@roninbuilders/contracts
Version:
Type safe Contract ABIs for Ronin Network
1 lines • 4.5 kB
JavaScript
var e={id:27725,address:"0x203f6556aaf75b12008bff5ca20fda3f77e7c69f",contract_name:"BetaTest1",display_name:"Beta Test 1",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1742307601,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[{type:"address",name:"_feeAddress"},{type:"address",name:"_testerAddress"}]},{name:"ReentrancyGuardReentrantCall",type:"error",inputs:[]},{name:"SafeERC20FailedOperation",type:"error",inputs:[{type:"address",name:"token"}]},{name:"BatchLockCreated",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"uint256",name:"numberOfLocks"}]},{name:"LockDurationModified",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"address",name:"token",indexed:true},{type:"uint256",name:"lockIndex"},{type:"uint256",name:"newUnlockTime"}]},{name:"TokensLocked",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"address",name:"token",indexed:true},{type:"uint256",name:"amount"},{type:"uint256",name:"unlockTime"}]},{name:"TokensWithdrawn",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"address",name:"token",indexed:true},{type:"uint256",name:"amount"}]},{name:"feeAddress",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"getRemainingLockTime",type:"function",stateMutability:"view",inputs:[{type:"address",name:"_user"},{type:"uint256",name:"_lockIndex"}],outputs:[{type:"uint256"}]},{name:"getUserLocksPaginated",type:"function",stateMutability:"view",inputs:[{type:"address",name:"_user"},{type:"uint256",name:"_startIndex"},{type:"uint256",name:"_pageSize"}],outputs:[{type:"tuple[]",components:[{type:"address",name:"token"},{type:"address",name:"owner"},{type:"uint256",name:"amount"},{type:"uint8",name:"decimals"},{type:"uint256",name:"unlockTime"},{type:"uint256",name:"remainingTime"}]},{type:"uint256"},{type:"uint256"}]},{name:"getUserTokenLocksPaginated",type:"function",stateMutability:"view",inputs:[{type:"address",name:"_user"},{type:"address",name:"_token"},{type:"uint256",name:"_startIndex"},{type:"uint256",name:"_pageSize"}],outputs:[{type:"tuple[]",components:[{type:"address",name:"token"},{type:"address",name:"owner"},{type:"uint256",name:"amount"},{type:"uint8",name:"decimals"},{type:"uint256",name:"unlockTime"},{type:"uint256",name:"remainingTime"}]},{type:"uint256"},{type:"uint256"}]},{name:"getUsersForTokenPaginated",type:"function",stateMutability:"view",inputs:[{type:"address",name:"_token"},{type:"uint256",name:"_startIndex"},{type:"uint256",name:"_pageSize"}],outputs:[{type:"address[]"},{type:"uint256"},{type:"uint256"}]},{name:"hasLockedTokens",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"bool"}]},{name:"isLocked",type:"function",stateMutability:"view",inputs:[{type:"address",name:"_user"},{type:"uint256",name:"_lockIndex"}],outputs:[{type:"bool"}]},{name:"lockFee",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"lockTokens",type:"function",stateMutability:"payable",inputs:[{type:"address",name:"_token"},{type:"uint256",name:"_amount"},{type:"uint8",name:"_months"}],outputs:[]},{name:"lockedTokens",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"address"}]},{name:"lockingUsers",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"address"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"setFeeAddress",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_newFeeAddress"}],outputs:[]},{name:"setTesterAddress",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_newTesterAddress"}],outputs:[]},{name:"testerAddress",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"tokenUsers",type:"function",stateMutability:"view",inputs:[{type:"address"},{type:"uint256"}],outputs:[{type:"address"}]},{name:"userLockedTokenCount",type:"function",stateMutability:"view",inputs:[{type:"address"},{type:"address"}],outputs:[{type:"uint256"}]},{name:"userLocks",type:"function",stateMutability:"view",inputs:[{type:"address"},{type:"uint256"}],outputs:[{type:"address",name:"token"},{type:"uint256",name:"amount"},{type:"uint256",name:"unlockTime"}]},{name:"withdrawTokens",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_lockIndex"}],outputs:[]},{type:"receive",stateMutability:"payable"}]},t=e;export{t as default};