UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 4.21 kB
var e={id:5719,address:"0x6dc54916da93409e27a094c57ccf1491a30babb9",contract_name:"ERC1967Proxy",display_name:"VIP Shop Token Purchase Proxy",is_deprecated:false,is_proxy:true,proxy_to:"0x04d1eb2e2d5427f9aee19f73cf46bbb069381f3e",created_at:1733997773,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:"uint256",name:"_accountId"},{type:"uint256",name:"_requestId"},{type:"string",name:"_packageId"},{type:"uint256",name:"_targetTotalPurchaseAmount"},{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:"uint256",name:"accountId"},{type:"uint256",name:"requestId"},{type:"string",name:"packageId"},{type:"uint256",name:"targetTotalPurchaseAmount"},{type:"address",name:"tokenAddress"},{type:"uint256",name:"tokenAmount"}]}]},{name:"getUserPurchasedPackageAmount",type:"function",stateMutability:"view",inputs:[{type:"address",name:"_userAddress"},{type:"string",name:"_packageId"}],outputs:[{type:"uint256"}]},{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:"uint256",name:"_accountId"},{type:"uint256",name:"_requestId"},{type:"string",name:"_packageId"},{type:"uint256",name:"_targetPurchaseAmount"},{type:"uint256",name:"_purchaseAmount"},{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:"requestIdMap",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"bool"}]},{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:"withdrawFunds",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_tokenAddress"},{type:"uint256",name:"_amount"},{type:"address",name:"_targetWallet"}],outputs:[]}]},t=e;export{t as default};