UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 5.46 kB
var t={id:5946,address:"0x224fe292cc0612de3ae5d263e45131afeb8bea61",contract_name:"RTranchedSale",display_name:"R Tranched Sale",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1733724727,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[{type:"address",name:"_nft"},{type:"address",name:"_treasury"},{type:"address",name:"_owner"},{type:"address",name:"_allocator"}]},{name:"AllocationUsed",type:"error",inputs:[]},{name:"ExceedsAllocationQty",type:"error",inputs:[]},{name:"ForgedSignature",type:"error",inputs:[]},{name:"IncorrectValue",type:"error",inputs:[]},{name:"InvalidQuantity",type:"error",inputs:[]},{name:"InvalidShortString",type:"error",inputs:[]},{name:"NonExistantTranche",type:"error",inputs:[]},{name:"StringTooLong",type:"error",inputs:[{type:"string",name:"str"}]},{name:"TrancheNotYetOpen",type:"error",inputs:[]},{name:"TransferFailed",type:"error",inputs:[]},{name:"ZeroAddressNotAllowed",type:"error",inputs:[]},{name:"EIP712DomainChanged",type:"event",inputs:[]},{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:"DEFAULT_ADMIN_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"TRANCHE_OPS",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"allocationUsed",type:"function",stateMutability:"view",inputs:[{type:"uint32",name:"nonce"}],outputs:[{type:"bool"}]},{name:"allocator",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"currentTranche",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{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:"getAllocationTypedDataHash",type:"function",stateMutability:"view",inputs:[{type:"tuple",name:"allo",components:[{type:"uint32",name:"nonce"},{type:"uint64",name:"trancheId"},{type:"address",name:"account"}]}],outputs:[{type:"bytes32"}]},{name:"getPrice",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"qty"},{type:"uint64",name:"trancheId"}],outputs:[{type:"uint256"}]},{name:"getRoleAdmin",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"}],outputs:[{type:"bytes32"}]},{name:"getTranche",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"id"}],outputs:[{type:"tuple",components:[{type:"bool",name:"exists"},{type:"bool",name:"signatureRequired"},{type:"uint64",name:"id"},{type:"uint64",name:"qty"},{type:"uint256",name:"price"}]}]},{name:"grantRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"grantTrancheOpsRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"user"}],outputs:[]},{name:"hasRole",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[{type:"bool"}]},{name:"mint",type:"function",stateMutability:"payable",inputs:[{type:"uint64",name:"qty"},{type:"address",name:"to"},{type:"uint64",name:"trancheId"},{type:"uint32",name:"nonce"},{type:"bytes",name:"signature"}],outputs:[]},{name:"nft",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{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:"revokeTrancheOpsRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"user"}],outputs:[]},{name:"setAllocator",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_allocator"}],outputs:[]},{name:"setCurrentTranche",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"id"}],outputs:[]},{name:"setNft",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_nft"}],outputs:[]},{name:"setTranche",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"id"},{type:"tuple",name:"tranche",components:[{type:"bool",name:"exists"},{type:"bool",name:"signatureRequired"},{type:"uint64",name:"id"},{type:"uint64",name:"qty"},{type:"uint256",name:"price"}]}],outputs:[]},{name:"setTreasury",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_treasury"}],outputs:[]},{name:"supportsInterface",type:"function",stateMutability:"view",inputs:[{type:"bytes4",name:"interfaceId"}],outputs:[{type:"bool"}]},{name:"treasury",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"withdraw",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]}]},e=t;export{e as default};