UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 12.8 kB
var e={id:4772,address:"0x198c0ace8bf8580af9fd83dafe40b0e2aefba0d2",contract_name:"ERC1967Proxy",display_name:"Box Proxy",is_deprecated:false,is_proxy:true,proxy_to:"0xba7c78d54675a60479aff9e16699cd47e8046a2c",created_at:1729990773,abi:[{type:"constructor",stateMutability:"payable",inputs:[{type:"address",name:"implementation"},{type:"bytes",name:"_data"}]},{name:"AddressEmptyCode",type:"error",inputs:[{type:"address",name:"target"}]},{name:"ERC1967InvalidImplementation",type:"error",inputs:[{type:"address",name:"implementation"}]},{name:"ERC1967NonPayable",type:"error",inputs:[]},{name:"FailedInnerCall",type:"error",inputs:[]},{name:"Upgraded",type:"event",inputs:[{type:"address",name:"implementation",indexed:true}]},{type:"fallback",stateMutability:"payable"}],proxy_abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[]},{name:"AddressEmptyCode",type:"error",inputs:[{type:"address",name:"target"}]},{name:"ECDSAInvalidSignature",type:"error",inputs:[]},{name:"ECDSAInvalidSignatureLength",type:"error",inputs:[{type:"uint256",name:"length"}]},{name:"ECDSAInvalidSignatureS",type:"error",inputs:[{type:"bytes32",name:"s"}]},{name:"ERC1155InsufficientBalance",type:"error",inputs:[{type:"address",name:"sender"},{type:"uint256",name:"balance"},{type:"uint256",name:"needed"},{type:"uint256",name:"tokenId"}]},{name:"ERC1155InvalidApprover",type:"error",inputs:[{type:"address",name:"approver"}]},{name:"ERC1155InvalidArrayLength",type:"error",inputs:[{type:"uint256",name:"idsLength"},{type:"uint256",name:"valuesLength"}]},{name:"ERC1155InvalidOperator",type:"error",inputs:[{type:"address",name:"operator"}]},{name:"ERC1155InvalidReceiver",type:"error",inputs:[{type:"address",name:"receiver"}]},{name:"ERC1155InvalidSender",type:"error",inputs:[{type:"address",name:"sender"}]},{name:"ERC1155MissingApprovalForAll",type:"error",inputs:[{type:"address",name:"operator"},{type:"address",name:"owner"}]},{name:"ERC1967InvalidImplementation",type:"error",inputs:[{type:"address",name:"implementation"}]},{name:"ERC1967NonPayable",type:"error",inputs:[]},{name:"EnforcedPause",type:"error",inputs:[]},{name:"ExpectedPause",type:"error",inputs:[]},{name:"FailedInnerCall",type:"error",inputs:[]},{name:"InvalidInitialization",type:"error",inputs:[]},{name:"InvalidMinter",type:"error",inputs:[{type:"address",name:"account"}]},{name:"NotInitializing",type:"error",inputs:[]},{name:"OwnableInvalidOwner",type:"error",inputs:[{type:"address",name:"owner"}]},{name:"OwnableUnauthorizedAccount",type:"error",inputs:[{type:"address",name:"account"}]},{name:"ReentrancyGuardReentrantCall",type:"error",inputs:[]},{name:"SignatureMintInvalidQuantity",type:"error",inputs:[]},{name:"SignatureMintInvalidRecipient",type:"error",inputs:[]},{name:"SignatureMintInvalidSigner",type:"error",inputs:[]},{name:"SignatureMintInvalidTime",type:"error",inputs:[{type:"uint256",name:"startTime"},{type:"uint256",name:"endTime"},{type:"uint256",name:"actualTime"}]},{name:"SignatureMintUnauthorized",type:"error",inputs:[]},{name:"UUPSUnauthorizedCallContext",type:"error",inputs:[]},{name:"UUPSUnsupportedProxiableUUID",type:"error",inputs:[{type:"bytes32",name:"slot"}]},{name:"UnauthorizedMinter",type:"error",inputs:[{type:"address",name:"account"}]},{name:"ApprovalForAll",type:"event",inputs:[{type:"address",name:"account",indexed:true},{type:"address",name:"operator",indexed:true},{type:"bool",name:"approved"}]},{name:"BaseURIChanged",type:"event",inputs:[{type:"string",name:"uri"},{type:"address",name:"operator"}]},{name:"BoxOpened",type:"event",inputs:[{type:"address",name:"owner",indexed:true},{type:"uint256",name:"tokenId",indexed:true}]},{name:"DefaultPayeeChanged",type:"event",inputs:[{type:"address",name:"newPayee",indexed:true},{type:"address",name:"oldPayee"}]},{name:"DefaultPaymentAddressChanged",type:"event",inputs:[{type:"address",name:"newPaymentToken",indexed:true},{type:"address",name:"oldPaymentToken"}]},{name:"EIP712DomainChanged",type:"event",inputs:[]},{name:"Initialized",type:"event",inputs:[{type:"uint64",name:"version"}]},{name:"LockStatusChanged",type:"event",inputs:[{type:"uint256",name:"tokenId"},{type:"bool",name:"isLocked"},{type:"address",name:"operator"}]},{name:"MinterAdded",type:"event",inputs:[{type:"address",name:"account",indexed:true}]},{name:"MinterRemoved",type:"event",inputs:[{type:"address",name:"account",indexed:true}]},{name:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"previousOwner",indexed:true},{type:"address",name:"newOwner",indexed:true}]},{name:"Paused",type:"event",inputs:[{type:"address",name:"account"}]},{name:"PriceSet",type:"event",inputs:[{type:"uint256",name:"tokenId",indexed:true},{type:"uint256",name:"pointTokenId"},{type:"uint256",name:"price"},{type:"address",name:"paymentAddress"}]},{name:"TokensMintedWithSignature",type:"event",inputs:[{type:"address",name:"signer",indexed:true},{type:"address",name:"mintedTo",indexed:true},{type:"uint256",name:"tokenIdMinted",indexed:true},{type:"tuple",name:"mintRequest",components:[{type:"address",name:"to"},{type:"uint256",name:"quantity"},{type:"uint128",name:"validityStartTimestamp"},{type:"uint128",name:"validityEndTimestamp"},{type:"bytes32",name:"uid"},{type:"uint256",name:"tokenId"}]}]},{name:"TransferBatch",type:"event",inputs:[{type:"address",name:"operator",indexed:true},{type:"address",name:"from",indexed:true},{type:"address",name:"to",indexed:true},{type:"uint256[]",name:"ids"},{type:"uint256[]",name:"values"}]},{name:"TransferSingle",type:"event",inputs:[{type:"address",name:"operator",indexed:true},{type:"address",name:"from",indexed:true},{type:"address",name:"to",indexed:true},{type:"uint256",name:"id"},{type:"uint256",name:"value"}]},{name:"URI",type:"event",inputs:[{type:"string",name:"value"},{type:"uint256",name:"id",indexed:true}]},{name:"Unpaused",type:"event",inputs:[{type:"address",name:"account"}]},{name:"Upgraded",type:"event",inputs:[{type:"address",name:"implementation",indexed:true}]},{name:"PriceDataList",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"uint256",name:"price"},{type:"uint256",name:"pointTokenId"},{type:"address",name:"paymentTokenAddress"},{type:"bool",name:"exists"}]},{name:"UPGRADE_INTERFACE_VERSION",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"_tokenIdExists",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId_"}],outputs:[{type:"bool"}]},{name:"addMinter",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"account"}],outputs:[]},{name:"balanceOf",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"uint256",name:"id"}],outputs:[{type:"uint256"}]},{name:"balanceOfBatch",type:"function",stateMutability:"view",inputs:[{type:"address[]",name:"accounts"},{type:"uint256[]",name:"ids"}],outputs:[{type:"uint256[]"}]},{name:"burn",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"account"},{type:"uint256",name:"id"},{type:"uint256",name:"value"}],outputs:[]},{name:"burnBatch",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"account"},{type:"uint256[]",name:"ids"},{type:"uint256[]",name:"values"}],outputs:[]},{name:"defaultPaymentAddress",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"eip712Domain",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes1",name:"fields"},{type:"string",name:"name"},{type:"string",name:"version"},{type:"uint256",name:"chainId"},{type:"address",name:"verifyingContract"},{type:"bytes32",name:"salt"},{type:"uint256[]",name:"extensions"}]},{name:"getPrice",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId_"}],outputs:[{type:"uint256",name:"pointTokenId"},{type:"uint256",name:"price"}]},{name:"initialize",type:"function",stateMutability:"nonpayable",inputs:[{type:"string",name:"name_"},{type:"string",name:"symbol_"},{type:"address",name:"paymentTokenAddress_"},{type:"address",name:"minter_"},{type:"string",name:"tokenURI_"}],outputs:[]},{name:"isApprovedForAll",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"address",name:"operator"}],outputs:[{type:"bool"}]},{name:"isMinter",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"}],outputs:[{type:"bool"}]},{name:"isTokenLocked",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId_"}],outputs:[{type:"bool"}]},{name:"lockTokens",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256[]",name:"tokenIds"},{type:"uint256",name:"lockTime"}],outputs:[]},{name:"mintAndLockBatch",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"tokenId"},{type:"address[]",name:"to"},{type:"uint256[]",name:"amount"},{type:"uint256",name:"lockTime"}],outputs:[]},{name:"mintBatch",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"tokenId"},{type:"address[]",name:"to"},{type:"uint256[]",name:"amount"}],outputs:[]},{name:"mintWithSignature",type:"function",stateMutability:"payable",inputs:[{type:"tuple",name:"_req",components:[{type:"address",name:"to"},{type:"uint256",name:"quantity"},{type:"uint128",name:"validityStartTimestamp"},{type:"uint128",name:"validityEndTimestamp"},{type:"bytes32",name:"uid"},{type:"uint256",name:"tokenId"}]},{type:"bytes",name:"_signature"}],outputs:[{type:"address",name:"signer"}]},{name:"name",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"openBox",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"tokenId_"}],outputs:[]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"pause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"paused",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"proxiableUUID",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"removeMinter",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"account"}],outputs:[]},{name:"renounceOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"safeBatchTransferFrom",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"from"},{type:"address",name:"to"},{type:"uint256[]",name:"ids"},{type:"uint256[]",name:"amounts"},{type:"bytes",name:"data"}],outputs:[]},{name:"safeTransferFrom",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"from"},{type:"address",name:"to"},{type:"uint256",name:"id"},{type:"uint256",name:"amount"},{type:"bytes",name:"data"}],outputs:[]},{name:"setApprovalForAll",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"operator"},{type:"bool",name:"approved"}],outputs:[]},{name:"setPaymentToken",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newPaymentTokenAddress_"}],outputs:[]},{name:"setPrice",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"tokenId_"},{type:"uint256",name:"pointTokenId_"},{type:"uint256",name:"salePrice_"},{type:"address",name:"newPaymentTokenAddress_"}],outputs:[]},{name:"supportsInterface",type:"function",stateMutability:"view",inputs:[{type:"bytes4",name:"interfaceId"}],outputs:[{type:"bool"}]},{name:"symbol",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"totalSupply",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId_"}],outputs:[{type:"uint256"}]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{name:"unlockTokens",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256[]",name:"tokenIds"}],outputs:[]},{name:"unpause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"updateBaseURI",type:"function",stateMutability:"nonpayable",inputs:[{type:"string",name:"newuri"}],outputs:[]},{name:"upgradeToAndCall",type:"function",stateMutability:"payable",inputs:[{type:"address",name:"newImplementation"},{type:"bytes",name:"data"}],outputs:[]},{name:"uri",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId_"}],outputs:[{type:"string"}]},{name:"verify",type:"function",stateMutability:"view",inputs:[{type:"tuple",name:"_req",components:[{type:"address",name:"to"},{type:"uint256",name:"quantity"},{type:"uint128",name:"validityStartTimestamp"},{type:"uint128",name:"validityEndTimestamp"},{type:"bytes32",name:"uid"},{type:"uint256",name:"tokenId"}]},{type:"bytes",name:"_signature"}],outputs:[{type:"bool",name:"success"},{type:"address",name:"signer"}]}]},t=e;export{t as default};