UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 2.12 kB
'use strict';var t={id:32977,address:"0x1530af54ab11f3f6a6e6ece3d13ac8efb87163a7",contract_name:"HunterBank",display_name:"Hunter Bank",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1744251257,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[]},{name:"getDeposit",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"secretHash"}],outputs:[{type:"address",name:"hunterContract"},{type:"uint256",name:"amount"},{type:"address",name:"token"},{type:"bool",name:"swap"},{type:"address",name:"tokenToSwapTo"},{type:"bool",name:"exists"}]},{name:"getHunterContracts",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address[]"}]},{name:"hunterContracts",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"address"}]},{name:"isHunterContract",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"bool"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"receiveFees",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"token"},{type:"uint256",name:"amount"}],outputs:[]},{name:"recordDeposit",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"secretHash"},{type:"address",name:"hunterContract"},{type:"uint256",name:"amount"},{type:"address",name:"token"},{type:"bool",name:"swap"},{type:"address",name:"tokenToSwapTo"}],outputs:[]},{name:"registerHunter",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"hunter"}],outputs:[]},{name:"tokenFees",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{name:"totalWRONFees",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"updateDepositAmount",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"secretHash"},{type:"uint256",name:"newAmount"}],outputs:[]},{name:"withdrawFees",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"token"}],outputs:[]},{type:"receive",stateMutability:"payable"}]},e=t;module.exports=e;