UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 8.96 kB
var e={id:4726,address:"0xe313febf738dc0d3c50ff43add5c67fbd2cd1fd7",contract_name:"KongProxy",display_name:"Kongz Mart WL Proxy",is_deprecated:false,is_proxy:true,proxy_to:"0x3fcf44657e64093ee3934e4dc38f5a27a7c0140c",created_at:1729516811,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:"GovernorManaged",type:"event",inputs:[{type:"address",name:"owner_",indexed:true},{type:"address",name:"governor_"},{type:"bool",name:"bool_"}]},{name:"Initialized",type:"event",inputs:[{type:"uint8",name:"version"}]},{name:"OperatorManaged",type:"event",inputs:[{type:"address",name:"owner_",indexed:true},{type:"address",name:"operator_"},{type:"bool",name:"bool_"}]},{name:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"previousOwner",indexed:true},{type:"address",name:"newOwner",indexed:true}]},{name:"RequireOwnershipManaged",type:"event",inputs:[{type:"address",name:"owner_",indexed:true},{type:"bool",name:"bool_"}]},{name:"TreasuryManaged",type:"event",inputs:[{type:"address",name:"owner_",indexed:true},{type:"address",name:"treasury_"}]},{name:"VendingItemAdded",type:"event",inputs:[{type:"address",name:"owner_",indexed:true},{type:"tuple",name:"item_",components:[{type:"bool",name:"isNativeToken"},{type:"uint32",name:"amountAvailable"},{type:"uint32",name:"amountPurchased"},{type:"uint32",name:"startTime"},{type:"uint32",name:"endTime"},{type:"uint32",name:"tokenId"},{type:"uint256",name:"tokenPrice"}]}]},{name:"VendingItemGifted",type:"event",inputs:[{type:"address",name:"owner_",indexed:true},{type:"tuple",name:"item_",components:[{type:"bool",name:"isNativeToken"},{type:"uint32",name:"amountAvailable"},{type:"uint32",name:"amountPurchased"},{type:"uint32",name:"startTime"},{type:"uint32",name:"endTime"},{type:"uint32",name:"tokenId"},{type:"uint256",name:"tokenPrice"}]}]},{name:"VendingItemModified",type:"event",inputs:[{type:"address",name:"owner_",indexed:true},{type:"tuple",name:"before_",components:[{type:"bool",name:"isNativeToken"},{type:"uint32",name:"amountAvailable"},{type:"uint32",name:"amountPurchased"},{type:"uint32",name:"startTime"},{type:"uint32",name:"endTime"},{type:"uint32",name:"tokenId"},{type:"uint256",name:"tokenPrice"}]},{type:"tuple",name:"after_",components:[{type:"bool",name:"isNativeToken"},{type:"uint32",name:"amountAvailable"},{type:"uint32",name:"amountPurchased"},{type:"uint32",name:"startTime"},{type:"uint32",name:"endTime"},{type:"uint32",name:"tokenId"},{type:"uint256",name:"tokenPrice"}]}]},{name:"VendingItemPurchased",type:"event",inputs:[{type:"address",name:"buyer_",indexed:true},{type:"tuple",name:"item_",components:[{type:"bool",name:"isNativeToken"},{type:"uint32",name:"amountAvailable"},{type:"uint32",name:"amountPurchased"},{type:"uint32",name:"startTime"},{type:"uint32",name:"endTime"},{type:"uint32",name:"tokenId"},{type:"uint256",name:"tokenPrice"}]}]},{name:"VendingItemRemoved",type:"event",inputs:[{type:"address",name:"owner_",indexed:true},{type:"tuple",name:"item_",components:[{type:"bool",name:"isNativeToken"},{type:"uint32",name:"amountAvailable"},{type:"uint32",name:"amountPurchased"},{type:"uint32",name:"startTime"},{type:"uint32",name:"endTime"},{type:"uint32",name:"tokenId"},{type:"uint256",name:"tokenPrice"}]}]},{name:"BananaToken",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"GENKAI",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"G_manageController",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"controller_"},{type:"bool",name:"bool_"}],outputs:[]},{name:"KONGZVX",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"O_manageGovernor",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"governor_"},{type:"bool",name:"bool_"}],outputs:[]},{name:"O_setBananaToken",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"address_"}],outputs:[]},{name:"O_setGENKAI",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"address_"}],outputs:[]},{name:"O_setKONGZVX",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"address_"}],outputs:[]},{name:"O_setRequireHoldGENKAI",type:"function",stateMutability:"nonpayable",inputs:[{type:"bool",name:"bool_"}],outputs:[]},{name:"O_setRequireHoldVx",type:"function",stateMutability:"nonpayable",inputs:[{type:"bool",name:"bool_"}],outputs:[]},{name:"O_settreasuryAddress",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"address_"}],outputs:[]},{name:"addVendingItem",type:"function",stateMutability:"nonpayable",inputs:[{type:"tuple",name:"VendingItem_",components:[{type:"bool",name:"isNativeToken"},{type:"uint32",name:"amountAvailable"},{type:"uint32",name:"amountPurchased"},{type:"uint32",name:"startTime"},{type:"uint32",name:"endTime"},{type:"uint32",name:"tokenId"},{type:"uint256",name:"tokenPrice"}]}],outputs:[]},{name:"controllers",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"bool"}]},{name:"deleteMostRecentVendingItem",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"getIndexToPurchasedBatch",type:"function",stateMutability:"view",inputs:[{type:"address",name:"purchaser_"},{type:"uint256[]",name:"indexes_"}],outputs:[{type:"bool[]"}]},{name:"getPurchasersOfItem",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"index_"}],outputs:[{type:"address[]"}]},{name:"getVendingItemsAll",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"tuple[]",components:[{type:"bool",name:"isNativeToken"},{type:"uint32",name:"amountAvailable"},{type:"uint32",name:"amountPurchased"},{type:"uint32",name:"startTime"},{type:"uint32",name:"endTime"},{type:"uint32",name:"tokenId"},{type:"uint256",name:"tokenPrice"}]}]},{name:"getVendingItemsLength",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"getVendingItemsPaginated",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"start_"},{type:"uint256",name:"end_"}],outputs:[{type:"tuple[]",components:[{type:"bool",name:"isNativeToken"},{type:"uint32",name:"amountAvailable"},{type:"uint32",name:"amountPurchased"},{type:"uint32",name:"startTime"},{type:"uint32",name:"endTime"},{type:"uint32",name:"tokenId"},{type:"uint256",name:"tokenPrice"}]}]},{name:"governors",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"bool"}]},{name:"indexToPurchased",type:"function",stateMutability:"view",inputs:[{type:"uint256"},{type:"address"}],outputs:[{type:"bool"}]},{name:"indexToPurchasers",type:"function",stateMutability:"view",inputs:[{type:"uint256"},{type:"uint256"}],outputs:[{type:"address"}]},{name:"initialize",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_banana"},{type:"address",name:"_treasury"},{type:"address",name:"_vx"},{type:"address",name:"_genkai"}],outputs:[]},{name:"modifyVendingItem",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"index_"},{type:"tuple",name:"VendingItem_",components:[{type:"bool",name:"isNativeToken"},{type:"uint32",name:"amountAvailable"},{type:"uint32",name:"amountPurchased"},{type:"uint32",name:"startTime"},{type:"uint32",name:"endTime"},{type:"uint32",name:"tokenId"},{type:"uint256",name:"tokenPrice"}]}],outputs:[]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"purchaseVendingItem",type:"function",stateMutability:"payable",inputs:[{type:"uint256",name:"index_"}],outputs:[]},{name:"renounceOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"requireHoldGENKAI",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"requireHoldVX",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{name:"treasuryAddress",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"vendingItems",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"bool",name:"isNativeToken"},{type:"uint32",name:"amountAvailable"},{type:"uint32",name:"amountPurchased"},{type:"uint32",name:"startTime"},{type:"uint32",name:"endTime"},{type:"uint32",name:"tokenId"},{type:"uint256",name:"tokenPrice"}]}]},t=e;export{t as default};