UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 6.74 kB
var e={id:34118,address:"0x174d29b03527cc04763ff8342f97af82ce508de2",contract_name:"DragonRing",display_name:"Dragon Ring",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1745609398,abi:[{name:"ERC2981InvalidDefaultRoyalty",type:"error",inputs:[{type:"uint256",name:"numerator"},{type:"uint256",name:"denominator"}]},{name:"ERC2981InvalidDefaultRoyaltyReceiver",type:"error",inputs:[{type:"address",name:"receiver"}]},{name:"ERC2981InvalidTokenRoyalty",type:"error",inputs:[{type:"uint256",name:"tokenId"},{type:"uint256",name:"numerator"},{type:"uint256",name:"denominator"}]},{name:"ERC2981InvalidTokenRoyaltyReceiver",type:"error",inputs:[{type:"uint256",name:"tokenId"},{type:"address",name:"receiver"}]},{name:"ERC721EnumerableForbiddenBatchMint",type:"error",inputs:[]},{name:"ERC721IncorrectOwner",type:"error",inputs:[{type:"address",name:"sender"},{type:"uint256",name:"tokenId"},{type:"address",name:"owner"}]},{name:"ERC721InsufficientApproval",type:"error",inputs:[{type:"address",name:"operator"},{type:"uint256",name:"tokenId"}]},{name:"ERC721InvalidApprover",type:"error",inputs:[{type:"address",name:"approver"}]},{name:"ERC721InvalidOperator",type:"error",inputs:[{type:"address",name:"operator"}]},{name:"ERC721InvalidOwner",type:"error",inputs:[{type:"address",name:"owner"}]},{name:"ERC721InvalidReceiver",type:"error",inputs:[{type:"address",name:"receiver"}]},{name:"ERC721InvalidSender",type:"error",inputs:[{type:"address",name:"sender"}]},{name:"ERC721NonexistentToken",type:"error",inputs:[{type:"uint256",name:"tokenId"}]},{name:"ERC721OutOfBoundsIndex",type:"error",inputs:[{type:"address",name:"owner"},{type:"uint256",name:"index"}]},{name:"InvalidInitialization",type:"error",inputs:[]},{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:"Approval",type:"event",inputs:[{type:"address",name:"owner",indexed:true},{type:"address",name:"approved",indexed:true},{type:"uint256",name:"tokenId",indexed:true}]},{name:"ApprovalForAll",type:"event",inputs:[{type:"address",name:"owner",indexed:true},{type:"address",name:"operator",indexed:true},{type:"bool",name:"approved"}]},{name:"Initialized",type:"event",inputs:[{type:"uint64",name:"version"}]},{name:"Mint",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"uint256",name:"amount"}]},{name:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"previousOwner",indexed:true},{type:"address",name:"newOwner",indexed:true}]},{name:"SetRoyalty",type:"event",inputs:[{type:"address",name:"receiver",indexed:true},{type:"uint256",name:"royalty"}]},{name:"SetSigner",type:"event",inputs:[{type:"address",name:"signer",indexed:true}]},{name:"SetUri",type:"event",inputs:[{type:"string",name:"_url"}]},{name:"Transfer",type:"event",inputs:[{type:"address",name:"from",indexed:true},{type:"address",name:"to",indexed:true},{type:"uint256",name:"tokenId",indexed:true}]},{name:"MAX_SUPPLY",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"approve",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"to"},{type:"uint256",name:"tokenId"}],outputs:[]},{name:"balanceOf",type:"function",stateMutability:"view",inputs:[{type:"address",name:"owner"}],outputs:[{type:"uint256"}]},{name:"getApproved",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId"}],outputs:[{type:"address"}]},{name:"initialize",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_owner"},{type:"address",name:"_oracle"}],outputs:[]},{name:"isApprovedForAll",type:"function",stateMutability:"view",inputs:[{type:"address",name:"owner"},{type:"address",name:"operator"}],outputs:[{type:"bool"}]},{name:"mint",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"to"},{type:"uint256",name:"tokenId"}],outputs:[]},{name:"name",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"oracle",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"ownerOf",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId"}],outputs:[{type:"address"}]},{name:"renounceOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"royaltyInfo",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId"},{type:"uint256",name:"salePrice"}],outputs:[{type:"address",name:"receiver"},{type:"uint256",name:"amount"}]},{name:"safeTransferFrom",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"from"},{type:"address",name:"to"},{type:"uint256",name:"tokenId"}],outputs:[]},{name:"safeTransferFrom",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"from"},{type:"address",name:"to"},{type:"uint256",name:"tokenId"},{type:"bytes",name:"data"}],outputs:[]},{name:"setApprovalForAll",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"operator"},{type:"bool",name:"approved"}],outputs:[]},{name:"setDefaultRoyalty",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"receiver"},{type:"uint96",name:"feeNumerator"}],outputs:[]},{name:"setOracle",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_oracle"}],outputs:[]},{name:"setUri",type:"function",stateMutability:"nonpayable",inputs:[{type:"string",name:"_url"}],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:"tokenByIndex",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"index"}],outputs:[{type:"uint256"}]},{name:"tokenOfOwnerByIndex",type:"function",stateMutability:"view",inputs:[{type:"address",name:"owner"},{type:"uint256",name:"index"}],outputs:[{type:"uint256"}]},{name:"tokenURI",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId"}],outputs:[{type:"string"}]},{name:"totalSupply",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"transferFrom",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"from"},{type:"address",name:"to"},{type:"uint256",name:"tokenId"}],outputs:[]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]}]},t=e;export{t as default};