UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 7.8 kB
var t={id:34675,address:"0x2748e4c460f307e81dd936e8fa5893654125da61",contract_name:"DepositThresholdNFT",display_name:"Deposit Threshold NFT",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1746584533,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_startingTimestamp"},{type:"address",name:"_tokenAddress"},{type:"uint256[]",name:"_dailyTokenAmounts"},{type:"uint256[]",name:"_dailyWhitelistLimits"},{type:"uint256",name:"_campaignDuration"},{type:"address",name:"_initialOwner"},{type:"string",name:"baseTokenURI"}]},{name:"AddressEmptyCode",type:"error",inputs:[{type:"address",name:"target"}]},{name:"AddressInsufficientBalance",type:"error",inputs:[{type:"address",name:"account"}]},{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:"EnforcedPause",type:"error",inputs:[]},{name:"ExpectedPause",type:"error",inputs:[]},{name:"FailedInnerCall",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:"SafeERC20FailedOperation",type:"error",inputs:[{type:"address",name:"token"}]},{name:"AdminWithdrawal",type:"event",inputs:[{type:"uint256",name:"amount"},{type:"address",name:"to",indexed:true}]},{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:"CampaignInitialized",type:"event",inputs:[{type:"uint256",name:"startingTimestamp"},{type:"address",name:"token"},{type:"uint256[]",name:"dailyTokenAmounts"},{type:"uint256[]",name:"dailyWhitelistLimits"},{type:"uint256",name:"campaignDuration"},{type:"address",name:"initialOwner"}]},{name:"EmergencyWithdrawal",type:"event",inputs:[{type:"address",name:"token",indexed:true},{type:"uint256",name:"amount"},{type:"address",name:"to",indexed:true}]},{name:"MintedNFT",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"uint256",name:"tokenId"},{type:"uint256",name:"amount"},{type:"uint256",name:"day"}]},{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:"Transfer",type:"event",inputs:[{type:"address",name:"from",indexed:true},{type:"address",name:"to",indexed:true},{type:"uint256",name:"tokenId",indexed:true}]},{name:"Unpaused",type:"event",inputs:[{type:"address",name:"account"}]},{name:"adminWithdraw",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_amount"},{type:"address",name:"_to"}],outputs:[]},{name:"adminWithdrawAll",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"approve",type:"function",stateMutability:"pure",inputs:[{type:"address"},{type:"uint256"}],outputs:[]},{name:"balanceOf",type:"function",stateMutability:"view",inputs:[{type:"address",name:"owner"}],outputs:[{type:"uint256"}]},{name:"campaignDuration",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"dailyTokenAmounts",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"uint256"}]},{name:"dailyWhitelistCount",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"uint256"}]},{name:"dailyWhitelistLimits",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"uint256"}]},{name:"getApproved",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId"}],outputs:[{type:"address"}]},{name:"getCurrentDay",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"getNextTokenId",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"getRemainingWhitelistsToday",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"getRequiredDepositAmount",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"_day"}],outputs:[{type:"uint256"}]},{name:"hasPurchased",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"bool"}]},{name:"isApprovedForAll",type:"function",stateMutability:"view",inputs:[{type:"address",name:"owner"},{type:"address",name:"operator"}],outputs:[{type:"bool"}]},{name:"lastPurchaseDay",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{name:"mint",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"name",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{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:"pause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"paused",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"renounceOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{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:"pure",inputs:[{type:"address"},{type:"address"},{type:"uint256"},{type:"bytes"}],outputs:[]},{name:"setApprovalForAll",type:"function",stateMutability:"pure",inputs:[{type:"address"},{type:"bool"}],outputs:[]},{name:"setBaseURI",type:"function",stateMutability:"nonpayable",inputs:[{type:"string",name:"baseURI"}],outputs:[]},{name:"startingTimestamp",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{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:"token",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"tokenURI",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId"}],outputs:[{type:"string"}]},{name:"transferFrom",type:"function",stateMutability:"pure",inputs:[{type:"address"},{type:"address"},{type:"uint256"}],outputs:[]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{name:"unpause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"withdrawERC20",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_token"},{type:"address",name:"_to"}],outputs:[]},{name:"withdrawETH",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_to"}],outputs:[]}]},e=t;export{e as default};