@roninbuilders/contracts
Version:
Type safe Contract ABIs for Ronin Network
1 lines • 3.54 kB
JavaScript
;var t={id:25561,address:"0xff5e3520626e66b9caa70b9d8cef7974e520ba76",contract_name:"Staking",display_name:"Staking",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1739369010,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[{type:"address",name:"_token"},{type:"address",name:"_trustedForwarder"},{type:"uint256[]",name:"initialDurations"},{type:"uint256[]",name:"initialMultipliers"}]},{name:"ArrayLengthMismatch",type:"error",inputs:[]},{name:"CallerContractNotWhitelisted",type:"error",inputs:[]},{name:"InsufficientWithdrawableTokens",type:"error",inputs:[]},{name:"InvalidLockDuration",type:"error",inputs:[]},{name:"OwnableInvalidOwner",type:"error",inputs:[{type:"address",name:"owner"}]},{name:"OwnableUnauthorizedAccount",type:"error",inputs:[{type:"address",name:"account"}]},{name:"TooManyStakes",type:"error",inputs:[]},{name:"TransferFailed",type:"error",inputs:[]},{name:"ZeroAddressNotAllowed",type:"error",inputs:[]},{name:"ZeroAmountNotAllowed",type:"error",inputs:[]},{name:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"previousOwner",indexed:true},{type:"address",name:"newOwner",indexed:true}]},{name:"TokensStaked",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"uint256",name:"amount"},{type:"uint256",name:"unlockTime"},{type:"uint256",name:"multiplier"}]},{name:"TokensWithdrawn",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"uint256",name:"amount"}]},{name:"getRewardMultiplier",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"_key"}],outputs:[{type:"uint256"}]},{name:"getStakedTokens",type:"function",stateMutability:"view",inputs:[{type:"address",name:"_user"}],outputs:[{type:"tuple[]",components:[{type:"uint256",name:"amount"},{type:"uint256",name:"unlockTime"},{type:"uint256",name:"multiplier"}]}]},{name:"isContractWhitelisted",type:"function",stateMutability:"view",inputs:[{type:"address",name:"_contract"}],outputs:[{type:"bool"}]},{name:"isTrustedForwarder",type:"function",stateMutability:"view",inputs:[{type:"address",name:"forwarder"}],outputs:[{type:"bool"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"renounceOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"revokeWhitelist",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"contractAddress"}],outputs:[]},{name:"stake",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_amount"},{type:"uint256",name:"_lockDuration"}],outputs:[]},{name:"stakeForUser",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_user"},{type:"uint256",name:"_amount"},{type:"uint256",name:"_lockDuration"}],outputs:[]},{name:"token",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{name:"trustedForwarder",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"updateRewardMultipliers",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256[]",name:"durations"},{type:"uint256[]",name:"multipliers"}],outputs:[]},{name:"whitelistContract",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"contractAddress"}],outputs:[]},{name:"withdraw",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_amount"}],outputs:[]}]},e=t;module.exports=e;