@roninbuilders/contracts
Version:
Type safe Contract ABIs for Ronin Network
1 lines • 4.32 kB
JavaScript
var e={id:33013,address:"0x32f34bd569e04c370a341cacb99a1648d9d359bf",contract_name:"PowerRewardSource",display_name:"Power Reward Source",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1744278416,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[{type:"address",name:"admin"},{type:"address",name:"vestingSource_"}]},{name:"AccessControlBadConfirmation",type:"error",inputs:[]},{name:"AccessControlUnauthorizedAccount",type:"error",inputs:[{type:"address",name:"account"},{type:"bytes32",name:"neededRole"}]},{name:"InsufficientBalance",type:"error",inputs:[]},{name:"InvalidAddress",type:"error",inputs:[]},{name:"InvalidAmount",type:"error",inputs:[]},{name:"InvalidCaller",type:"error",inputs:[]},{name:"SafeERC20FailedOperation",type:"error",inputs:[{type:"address",name:"token"}]},{name:"AllocationClaimed",type:"event",inputs:[{type:"address",name:"account",indexed:true},{type:"address",name:"recipient",indexed:true},{type:"uint256",name:"amount"},{type:"address",name:"token",indexed:true}]},{name:"AllocationDeposited",type:"event",inputs:[{type:"address",name:"account",indexed:true},{type:"uint256",name:"amount"},{type:"address",name:"token",indexed:true}]},{name:"RoleAdminChanged",type:"event",inputs:[{type:"bytes32",name:"role",indexed:true},{type:"bytes32",name:"previousAdminRole",indexed:true},{type:"bytes32",name:"newAdminRole",indexed:true}]},{name:"RoleGranted",type:"event",inputs:[{type:"bytes32",name:"role",indexed:true},{type:"address",name:"account",indexed:true},{type:"address",name:"sender",indexed:true}]},{name:"RoleRevoked",type:"event",inputs:[{type:"bytes32",name:"role",indexed:true},{type:"address",name:"account",indexed:true},{type:"address",name:"sender",indexed:true}]},{name:"UpdatedVestingSource",type:"event",inputs:[{type:"address",name:"newVestingSource"}]},{name:"ADMIN_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"CLAIMER_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"DEFAULT_ADMIN_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"DEPOSITOR_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"batchDeposit",type:"function",stateMutability:"nonpayable",inputs:[{type:"address[]",name:"accounts"},{type:"uint256[]",name:"amounts"},{type:"address",name:"token"}],outputs:[]},{name:"claim",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"account"},{type:"address",name:"recipient"},{type:"uint256",name:"amount"},{type:"address",name:"token"}],outputs:[]},{name:"claimable",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"address",name:"token"}],outputs:[{type:"uint256"}]},{name:"deposit",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"account"},{type:"uint256",name:"amount"},{type:"address",name:"token"}],outputs:[]},{name:"getRoleAdmin",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"}],outputs:[{type:"bytes32"}]},{name:"grantRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"handlePostClaim",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"claimToken"},{type:"uint256",name:"amount"},{type:"address"},{type:"address",name:"withdrawalAddress"},{type:"string"},{type:"bytes"}],outputs:[]},{name:"hasRole",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[{type:"bool"}]},{name:"renounceRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"callerConfirmation"}],outputs:[]},{name:"revokeRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"setVestingSource",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newVestingSource"}],outputs:[]},{name:"supportsInterface",type:"function",stateMutability:"view",inputs:[{type:"bytes4",name:"interfaceId"}],outputs:[{type:"bool"}]},{name:"vestingSource",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]}]},t=e;export{t as default};