UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 3.27 kB
var e={id:27692,address:"0xfc76d3465122293a8c2e73f30316bac04b8dc30c",contract_name:"TippingPlatform",display_name:"Tipping Platform",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1742240448,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[]},{name:"OwnableInvalidOwner",type:"error",inputs:[{type:"address",name:"owner"}]},{name:"OwnableUnauthorizedAccount",type:"error",inputs:[{type:"address",name:"account"}]},{name:"ReentrancyGuardReentrantCall",type:"error",inputs:[]},{name:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"previousOwner",indexed:true},{type:"address",name:"newOwner",indexed:true}]},{name:"TipSent",type:"event",inputs:[{type:"address",name:"receiver",indexed:true},{type:"address",name:"tipper",indexed:true},{type:"uint256",name:"amount"},{type:"uint256",name:"tipId"}]},{name:"TokenTipSent",type:"event",inputs:[{type:"address",name:"receiver",indexed:true},{type:"address",name:"tipper",indexed:true},{type:"address",name:"token",indexed:true},{type:"uint256",name:"amount"},{type:"uint256",name:"tipId"}]},{name:"TokenWithdrawal",type:"event",inputs:[{type:"address",name:"withdrawer",indexed:true},{type:"address",name:"token",indexed:true},{type:"uint256",name:"amount"}]},{name:"Withdrawal",type:"event",inputs:[{type:"address",name:"withdrawer",indexed:true},{type:"uint256",name:"amount"}]},{name:"getNativeBalance",type:"function",stateMutability:"view",inputs:[{type:"address",name:"receiver"}],outputs:[{type:"uint256"}]},{name:"getTipCount",type:"function",stateMutability:"view",inputs:[{type:"address",name:"receiver"}],outputs:[{type:"uint256"}]},{name:"getTipDetails",type:"function",stateMutability:"view",inputs:[{type:"address",name:"receiver"},{type:"uint256",name:"startIndex"},{type:"uint256",name:"count"}],outputs:[{type:"tuple[]",components:[{type:"address",name:"tipper"},{type:"uint256",name:"amount"},{type:"uint256",name:"timestamp"},{type:"address",name:"tokenAddress"},{type:"uint256",name:"tipId"}]}]},{name:"getTipHistoryLength",type:"function",stateMutability:"view",inputs:[{type:"address",name:"receiver"}],outputs:[{type:"uint256"}]},{name:"getTokenBalance",type:"function",stateMutability:"view",inputs:[{type:"address",name:"receiver"},{type:"address",name:"tokenAddress"}],outputs:[{type:"uint256"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"renounceOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"sendTip",type:"function",stateMutability:"payable",inputs:[{type:"address",name:"receiver"}],outputs:[]},{name:"sendTokenTip",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"tokenAddress"},{type:"address",name:"receiver"},{type:"uint256",name:"amount"}],outputs:[]},{name:"tipCount",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{name:"withdraw",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"withdrawToken",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"tokenAddress"}],outputs:[]}]},t=e;export{t as default};