@roninbuilders/contracts
Version:
Type safe Contract ABIs for Ronin Network
1 lines • 4.68 kB
JavaScript
var e={id:2017,address:"0x644a6d2aa3abeec944c874260d64805ed262eb4c",contract_name:"KongProxy",display_name:"Kong Redeemer Proxy",is_deprecated:false,is_proxy:true,proxy_to:"0x3282b1e8d8c85fd73e136982b9b083e6afcad838",created_at:1711197731,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[{type:"address",name:"_logic"},{type:"address",name:"_admin"},{type:"bytes",name:"_data"}]},{name:"AdminChanged",type:"event",inputs:[{type:"address",name:"previousAdmin"},{type:"address",name:"newAdmin"}]},{name:"BeaconUpgraded",type:"event",inputs:[{type:"address",name:"beacon",indexed:true}]},{name:"Upgraded",type:"event",inputs:[{type:"address",name:"implementation",indexed:true}]},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"}],proxy_abi:[{name:"OnlyCoordinatorCanFulfill",type:"error",inputs:[]},{name:"Initialized",type:"event",inputs:[{type:"uint8",name:"version"}]},{name:"ItemRedeemed",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"uint256",name:"tokenType"},{type:"address",name:"lootAdd"},{type:"uint256",name:"tokenId"},{type:"uint256",name:"amount"}]},{name:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"previousOwner",indexed:true},{type:"address",name:"newOwner",indexed:true}]},{name:"initialize",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_vrfCoordinator"}],outputs:[]},{name:"loot20Array",type:"function",stateMutability:"view",inputs:[{type:"address"},{type:"uint256"},{type:"uint256"},{type:"address"}],outputs:[{type:"uint256",name:"ticketReq"},{type:"uint256",name:"min"},{type:"uint256",name:"max"}]},{name:"loot721Array",type:"function",stateMutability:"view",inputs:[{type:"address"},{type:"uint256"},{type:"uint256"},{type:"address"}],outputs:[{type:"uint256",name:"ticketReq"}]},{name:"lootArray1155",type:"function",stateMutability:"view",inputs:[{type:"address"},{type:"uint256"},{type:"uint256"},{type:"address"}],outputs:[{type:"uint256",name:"ticketReq"},{type:"uint256",name:"itemCount"},{type:"uint256",name:"subGroupCount"}]},{name:"onERC1155Received",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_operator"},{type:"address",name:"_from"},{type:"uint256",name:"_id"},{type:"uint256",name:"_value"},{type:"bytes",name:"_data"}],outputs:[{type:"bytes4"}]},{name:"onERC721Received",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"operator"},{type:"address",name:"from"},{type:"uint256",name:"tokenId"},{type:"bytes",name:"data"}],outputs:[{type:"bytes4"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"populateArray1155",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_ticket"},{type:"uint256",name:"_ticketId"},{type:"uint256",name:"_ticketReq"},{type:"uint256",name:"_index"},{type:"address",name:"_lootAdd"},{type:"uint256[][]",name:"_groupIds"},{type:"uint256[][]",name:"_groupCounts"}],outputs:[]},{name:"populateArray721",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_ticket"},{type:"uint256",name:"_ticketId"},{type:"uint256",name:"_ticketReq"},{type:"uint256",name:"_index"},{type:"address",name:"_lootAdd"},{type:"uint256[]",name:"_ids"}],outputs:[]},{name:"populateLoot20",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_ticket"},{type:"uint256",name:"_ticketId"},{type:"uint256",name:"_ticketReq"},{type:"uint256",name:"_index"},{type:"address",name:"_lootAdd"},{type:"uint256",name:"_min"},{type:"uint256",name:"_max"}],outputs:[]},{name:"rawFulfillRandomSeed",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"_reqHash"},{type:"uint256",name:"_randomSeed"}],outputs:[]},{name:"redeem",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"tokenType"},{type:"address",name:"_ticket"},{type:"uint256",name:"_ticketId"},{type:"uint256",name:"_index"},{type:"address",name:"_lootAdd"}],outputs:[]},{name:"renounceOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"requestData",type:"function",stateMutability:"view",inputs:[{type:"bytes32"}],outputs:[{type:"uint256",name:"tokenType"},{type:"address",name:"ticketAdd"},{type:"uint256",name:"ticketId"},{type:"uint256",name:"index"},{type:"address",name:"user"},{type:"address",name:"lootAdd"}]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{name:"vrfCoordinator",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{type:"receive",stateMutability:"payable"}]},t=e;export{t as default};