@roninbuilders/contracts
Version:
Type safe Contract ABIs for Ronin Network
1 lines • 3.9 kB
JavaScript
;var e={id:4898,address:"0x3fd8440d5a2e6ce3c49ab9982c95cfe6776b2724",contract_name:"ERC1967Proxy",display_name:"VIP Shop Token Purchase Proxy",is_deprecated:false,is_proxy:true,proxy_to:"0xc8960f685cf1d3adfc2fa2ceb40ba3fbe95648a0",created_at:1730457325,abi:[{type:"constructor",stateMutability:"payable",inputs:[{type:"address",name:"_logic"},{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:[{type:"constructor",stateMutability:"nonpayable",inputs:[]},{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:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"previousOwner",indexed:true},{type:"address",name:"newOwner",indexed:true}]},{name:"PurchaseSuccess",type:"event",inputs:[{type:"uint256",name:"_convertId"},{type:"address",name:"_userWalletAddress"},{type:"string",name:"_accountId"},{type:"string",name:"_packageId"},{type:"uint256",name:"_maxPurchaseAmount"},{type:"address",name:"_tokenAddress"},{type:"uint256",name:"_tokenAmount"}]},{name:"UpdatedSystemAddress",type:"event",inputs:[{type:"address",name:"_systemAddress",indexed:true}]},{name:"Upgraded",type:"event",inputs:[{type:"address",name:"implementation",indexed:true}]},{name:"getPurchaseStructById",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"_purchaseId"}],outputs:[{type:"tuple",components:[{type:"uint256",name:"purchaseId"},{type:"address",name:"userAddress"},{type:"string",name:"accountId"},{type:"string",name:"packageId"},{type:"uint256",name:"maxPurchaseAmount"},{type:"address",name:"tokenAddress"},{type:"uint256",name:"tokenAmount"}]}]},{name:"initialize",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"isWhitelistedToken",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"bool"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"purchaseItem",type:"function",stateMutability:"nonpayable",inputs:[{type:"string",name:"_accountId"},{type:"string",name:"_packageId"},{type:"uint256",name:"_maxPurchaseAmount"},{type:"address",name:"_tokenAddress"},{type:"uint256",name:"_amount"},{type:"uint256",name:"_time"},{type:"bytes",name:"_signature"}],outputs:[]},{name:"renounceOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"setupSystemAddress",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_systemAddress"}],outputs:[]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{name:"updateWhitelistTokens",type:"function",stateMutability:"nonpayable",inputs:[{type:"address[]",name:"_tokenAddressArray"},{type:"bool",name:"_isWhitelisted"}],outputs:[]},{name:"upgradeTo",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newImplementation"}],outputs:[]},{name:"upgradeToAndCall",type:"function",stateMutability:"payable",inputs:[{type:"address",name:"newImplementation"},{type:"bytes",name:"data"}],outputs:[]},{name:"userPurchasedPackageAmount",type:"function",stateMutability:"view",inputs:[{type:"address"},{type:"string"}],outputs:[{type:"uint256"}]},{name:"withdrawFunds",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_tokenAddress"},{type:"uint256",name:"_amount"},{type:"address",name:"_targetWallet"}],outputs:[]}]},t=e;module.exports=t;