UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 5.52 kB
'use strict';var t={id:542,address:"0x065e959ffd4c76ae2e0d31cfcf91c0c9834472ec",contract_name:"CoreAttestor",display_name:"Core Attestor",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1692001638,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[{type:"address",name:"attestationsRegistry"},{type:"address",name:"relayer"},{type:"address",name:"withdrawAddress"}]},{name:"IdHasNoRoot",type:"error",inputs:[{type:"uint256",name:"id"}]},{name:"InsufficientFee",type:"error",inputs:[]},{name:"InvalidData",type:"error",inputs:[{type:"address",name:"receiver"},{type:"uint256",name:"id"},{type:"uint64",name:"expirationDate"},{type:"string",name:"attestationURL"},{type:"bytes32[]",name:"proof"}]},{name:"InvalidSignature",type:"error",inputs:[]},{name:"InvalidSigner",type:"error",inputs:[{type:"address",name:"signer"},{type:"address",name:"receiver"}]},{name:"ReceiverNotOwner",type:"error",inputs:[]},{name:"WithdrawAddressNotSet",type:"error",inputs:[]},{name:"WithdrawFail",type:"error",inputs:[]},{name:"FeeSet",type:"event",inputs:[{type:"uint256",name:"id"},{type:"uint256",name:"fee"}]},{name:"Paused",type:"event",inputs:[{type:"address",name:"account"}]},{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:"RootAdded",type:"event",inputs:[{type:"uint256",name:"id"},{type:"bytes32",name:"root"}]},{name:"RootSet",type:"event",inputs:[{type:"uint256",name:"id"},{type:"bytes32",name:"root"}]},{name:"Unpaused",type:"event",inputs:[{type:"address",name:"account"}]},{name:"ATTESTOR_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"DEFAULT_ADMIN_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"_attestationsRegistry",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"_fees",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"id"}],outputs:[{type:"uint256",name:"fee"}]},{name:"_relayer",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"_roots",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"id"}],outputs:[{type:"bytes32",name:"root"}]},{name:"_withdrawAddress",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"airdropAttestations",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"id"},{type:"tuple[]",name:"leaves",components:[{type:"address",name:"receiver"},{type:"uint64",name:"expirationDate"},{type:"string",name:"schema"},{type:"string",name:"attestationURL"},{type:"bytes32[]",name:"proof"}]}],outputs:[]},{name:"attestAttestation",type:"function",stateMutability:"payable",inputs:[{type:"address",name:"receiver"},{type:"uint256",name:"id"},{type:"uint64",name:"expirationDate"},{type:"string",name:"schema"},{type:"string",name:"attestationURL"},{type:"bytes",name:"signature"}],outputs:[]},{name:"getRoleAdmin",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"}],outputs:[{type:"bytes32"}]},{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:"pause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"paused",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"renounceRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"revokeAttestation",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"account"},{type:"uint256",name:"id"}],outputs:[]},{name:"revokeRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"setFee",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"id"},{type:"uint256",name:"fee"}],outputs:[]},{name:"setRelayer",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"relayer"}],outputs:[]},{name:"setRoot",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"id"},{type:"bytes32",name:"root"}],outputs:[]},{name:"setWithdrawAddress",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"withdrawAddress"}],outputs:[]},{name:"supportsInterface",type:"function",stateMutability:"view",inputs:[{type:"bytes4",name:"interfaceId"}],outputs:[{type:"bool"}]},{name:"unpause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"updateAttestation",type:"function",stateMutability:"payable",inputs:[{type:"address",name:"receiver"},{type:"uint256",name:"id"},{type:"uint64",name:"expirationDate"},{type:"string",name:"attestationURL"},{type:"bytes",name:"signature"}],outputs:[]},{name:"withdraw",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]}]},e=t;module.exports=e;