UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 14.5 kB
'use strict';var t={id:27617,address:"0x65ad7a96f68447fe451f7eac222c5e8f0ec940d6",contract_name:"FishingFrenzyFish",display_name:"Fishing Frenzy Fish",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1742095091,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[{type:"address",name:"royaltyReceiver_"},{type:"uint96",name:"royaltyFeeNumerator_"},{type:"string",name:"name_"},{type:"string",name:"symbol_"},{type:"address",name:"defaultAdminAddress"},{type:"address",name:"adminAddress"},{type:"address",name:"signer"},{type:"string",name:"baseURI_"}]},{name:"AirdropMint__AirdropBatchSizeMustBeGreaterThanZero",type:"error",inputs:[]},{name:"AirdropMint__CannotMintToZeroAddress",type:"error",inputs:[]},{name:"AirdropMint__MaxAirdropSupplyCannotBeSetToMaxUint256",type:"error",inputs:[]},{name:"AirdropMint__MaxAirdropSupplyCannotBeSetToZero",type:"error",inputs:[]},{name:"AirdropMint__MaxAirdropSupplyExceeded",type:"error",inputs:[]},{name:"CreatorTokenBase__InvalidTransferValidatorContract",type:"error",inputs:[]},{name:"CreatorTokenBase__SetTransferValidatorFirst",type:"error",inputs:[]},{name:"MaxSupplyBase__CannotClaimMoreThanMaximumAmountOfOwnerMints",type:"error",inputs:[]},{name:"MaxSupplyBase__CannotMintToAddressZero",type:"error",inputs:[]},{name:"MaxSupplyBase__MaxSupplyCannotBeSetToMaxUint256",type:"error",inputs:[]},{name:"MaxSupplyBase__MaxSupplyExceeded",type:"error",inputs:[]},{name:"MaxSupplyBase__MintedQuantityMustBeGreaterThanZero",type:"error",inputs:[]},{name:"ShouldNotMintToBurnAddress",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:"DefaultRoyaltySet",type:"event",inputs:[{type:"address",name:"receiver",indexed:true},{type:"uint96",name:"feeNumerator"}]},{name:"FishBurnedBatch",type:"event",inputs:[{type:"uint256[]",name:"tokenIds"},{type:"bytes32[]",name:"fishIds"},{type:"address",name:"owner",indexed:true}]},{name:"FishMintedBatch",type:"event",inputs:[{type:"bytes32[]",name:"fishIds"},{type:"uint256",name:"startTokenId"},{type:"uint256",name:"endTokenId"},{type:"address",name:"owner",indexed:true}]},{name:"MaxSupplyInitialized",type:"event",inputs:[{type:"uint256",name:"maxSupply"},{type:"uint256",name:"maxOwnerMints"}]},{name:"NonceUpdated",type:"event",inputs:[{type:"uint256",name:"_tokenId",indexed:true},{type:"uint256",name:"_nonce",indexed:true}]},{name:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"previousOwner",indexed:true},{type:"address",name:"newOwner",indexed:true}]},{name:"RoleAdminChanged",type:"event",inputs:[{type:"bytes32",name:"role",indexed:true},{type:"bytes32",name:"previousAdminRole",indexed:true},{type:"bytes32",name:"newAdminRole",indexed:true}]},{name:"RoleGranted",type:"event",inputs:[{type:"bytes32",name:"role",indexed:true},{type:"address",name:"account",indexed:true},{type:"address",name:"sender",indexed:true}]},{name:"RoleRevoked",type:"event",inputs:[{type:"bytes32",name:"role",indexed:true},{type:"address",name:"account",indexed:true},{type:"address",name:"sender",indexed:true}]},{name:"TokenRoyaltySet",type:"event",inputs:[{type:"uint256",name:"tokenId",indexed:true},{type:"address",name:"receiver",indexed:true},{type:"uint96",name:"feeNumerator"}]},{name:"TokensMintedWithSignature",type:"event",inputs:[{type:"address",name:"signer",indexed:true},{type:"address",name:"mintedTo",indexed:true},{type:"tuple",name:"fishMintRequest",components:[{type:"address",name:"to"},{type:"uint128",name:"validityStartTimestamp"},{type:"uint128",name:"validityEndTimestamp"},{type:"bytes32",name:"uid"},{type:"bytes32[]",name:"fishIds"},{type:"string[]",name:"fishNames"},{type:"uint256[]",name:"tokenIds"}]}]},{name:"Transfer",type:"event",inputs:[{type:"address",name:"from",indexed:true},{type:"address",name:"to",indexed:true},{type:"uint256",name:"tokenId",indexed:true}]},{name:"TransferValidatorUpdated",type:"event",inputs:[{type:"address",name:"oldValidator"},{type:"address",name:"newValidator"}]},{name:"ADMIN_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"DEFAULT_ADMIN_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"DEFAULT_OPERATOR_WHITELIST_ID",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint120"}]},{name:"DEFAULT_TRANSFER_SECURITY_LEVEL",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint8"}]},{name:"DEFAULT_TRANSFER_VALIDATOR",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"FISHING_GAME_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"MINTER_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"airdropMint",type:"function",stateMutability:"nonpayable",inputs:[{type:"address[]",name:"to"}],outputs:[]},{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:"baseURI",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"burnBatch",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"from"},{type:"uint256[]",name:"tokenIds"}],outputs:[]},{name:"factoryAddress",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"fishMapping",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"bytes32",name:"fishId"},{type:"string",name:"fishName"}]},{name:"fishingGameAddress",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"getApproved",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId"}],outputs:[{type:"address"}]},{name:"getFishesByOwner",type:"function",stateMutability:"view",inputs:[{type:"address",name:"owner"}],outputs:[{type:"tuple[]",components:[{type:"uint256",name:"tokenId"},{type:"bytes32",name:"fishId"},{type:"string",name:"fishName"}]}]},{name:"getFishesByTokenIds",type:"function",stateMutability:"view",inputs:[{type:"uint256[]",name:"tokenIds"}],outputs:[{type:"tuple[]",components:[{type:"uint256",name:"tokenId"},{type:"bytes32",name:"fishId"},{type:"string",name:"fishName"}]}]},{name:"getNextTokenId",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"getPermittedContractReceivers",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address[]"}]},{name:"getRoleAdmin",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"}],outputs:[{type:"bytes32"}]},{name:"getSecurityPolicy",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"tuple",components:[{type:"uint8",name:"transferSecurityLevel"},{type:"uint120",name:"operatorWhitelistId"},{type:"uint120",name:"permittedContractReceiversId"}]}]},{name:"getTransferValidator",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"getWhitelistedOperators",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address[]"}]},{name:"grantRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"hasRole",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[{type:"bool"}]},{name:"isApprovedForAll",type:"function",stateMutability:"view",inputs:[{type:"address",name:"owner"},{type:"address",name:"operator"}],outputs:[{type:"bool"}]},{name:"isContractReceiverPermitted",type:"function",stateMutability:"view",inputs:[{type:"address",name:"receiver"}],outputs:[{type:"bool"}]},{name:"isOperatorWhitelisted",type:"function",stateMutability:"view",inputs:[{type:"address",name:"operator"}],outputs:[{type:"bool"}]},{name:"isTransferAllowed",type:"function",stateMutability:"view",inputs:[{type:"address",name:"caller"},{type:"address",name:"from"},{type:"address",name:"to"}],outputs:[{type:"bool"}]},{name:"maxSupply",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"mintBatch",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"recipient"},{type:"bytes32[]",name:"fishIds"},{type:"string[]",name:"fishNames"}],outputs:[]},{name:"mintWithSignatureByFishIds",type:"function",stateMutability:"nonpayable",inputs:[{type:"tuple",name:"req",components:[{type:"address",name:"to"},{type:"uint128",name:"validityStartTimestamp"},{type:"uint128",name:"validityEndTimestamp"},{type:"bytes32",name:"uid"},{type:"bytes32[]",name:"fishIds"},{type:"string[]",name:"fishNames"},{type:"uint256[]",name:"tokenIds"}]},{type:"bytes32[]",name:"fishIds"},{type:"string[]",name:"fishNames"},{type:"bytes",name:"signature"}],outputs:[{type:"address",name:"signer"}]},{name:"mintedSupply",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"name",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"nonces",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"uint256"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"ownerMint",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"to"},{type:"uint256",name:"quantity"}],outputs:[]},{name:"ownerOf",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId"}],outputs:[{type:"address"}]},{name:"remainingAirdropSupply",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"remainingOwnerMints",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"renounceOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"renounceRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"revokeRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"royaltyInfo",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"_tokenId"},{type:"uint256",name:"_salePrice"}],outputs:[{type:"address"},{type:"uint256"}]},{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:"setBaseURI",type:"function",stateMutability:"nonpayable",inputs:[{type:"string",name:"newbaseURI"}],outputs:[]},{name:"setDefaultRoyalty",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"receiver"},{type:"uint96",name:"feeNumerator"}],outputs:[]},{name:"setFactoryAddress",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newFactoryAddress"}],outputs:[]},{name:"setFishingGameAddress",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newFishingGameAddress"}],outputs:[]},{name:"setSignerAddress",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newSigner"}],outputs:[]},{name:"setToCustomSecurityPolicy",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint8",name:"level"},{type:"uint120",name:"operatorWhitelistId"},{type:"uint120",name:"permittedContractReceiversAllowlistId"}],outputs:[]},{name:"setToCustomValidatorAndSecurityPolicy",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"validator"},{type:"uint8",name:"level"},{type:"uint120",name:"operatorWhitelistId"},{type:"uint120",name:"permittedContractReceiversAllowlistId"}],outputs:[]},{name:"setToDefaultSecurityPolicy",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"setTokenRoyalty",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"tokenId"},{type:"address",name:"receiver"},{type:"uint96",name:"feeNumerator"}],outputs:[]},{name:"setTransferValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"transferValidator_"}],outputs:[]},{name:"signerAddress",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"stateOf",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId"}],outputs:[{type:"bytes"}]},{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:[]},{name:"verify",type:"function",stateMutability:"view",inputs:[{type:"tuple",name:"_req",components:[{type:"address",name:"to"},{type:"uint128",name:"validityStartTimestamp"},{type:"uint128",name:"validityEndTimestamp"},{type:"bytes32",name:"uid"},{type:"bytes32[]",name:"fishIds"},{type:"string[]",name:"fishNames"},{type:"uint256[]",name:"tokenIds"}]},{type:"bytes",name:"_signature"}],outputs:[{type:"bool",name:"success"},{type:"address",name:"signer"}]}]},e=t;module.exports=e;