@roninbuilders/contracts
Version:
Type safe Contract ABIs for Ronin Network
1 lines • 4.23 kB
JavaScript
var e={id:27819,address:"0x6c70c31f5bdf76071bbde5284dcfe02d3ad4761e",contract_name:"BetaTest1",display_name:"Beta Test 1",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1742495256,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:"LockExtended",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"address",name:"token",indexed:true},{type:"uint256",name:"amount"},{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:"extendLock",type:"function",stateMutability:"payable",inputs:[{type:"uint256",name:"_lockIndex"},{type:"uint8",name:"_additionalMonths"}],outputs:[]},{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:"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:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"pendingFees",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{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:"withdrawFees",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"withdrawTokens",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_lockIndex"}],outputs:[]},{type:"receive",stateMutability:"payable"}]},t=e;export{t as default};