-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Recreate with:
const abi: JSONABI = [
{ inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
{
inputs: [
{ internalType: 'address', name: 'sender', type: 'address' },
{ internalType: 'address', name: 'owner', type: 'address' },
{ internalType: 'string', name: 'name', type: 'string' },
],
name: 'AllreadyClaimedPhiland',
type: 'error',
},
{
inputs: [
{ internalType: 'address', name: 'sender', type: 'address' },
{ internalType: 'address', name: 'signer', type: 'address' },
{ internalType: 'bytes32', name: 'digest', type: 'bytes32' },
{
components: [
{ internalType: 'bytes32', name: 'r', type: 'bytes32' },
{ internalType: 'bytes32', name: 's', type: 'bytes32' },
{ internalType: 'uint8', name: 'v', type: 'uint8' },
],
internalType: 'struct Registry.Coupon',
name: 'coupon',
type: 'tuple',
},
],
name: 'ECDSAInvalidSignature',
type: 'error',
},
{
inputs: [
{ internalType: 'string', name: 'name', type: 'string' },
{ internalType: 'address', name: 'sender', type: 'address' },
{ internalType: 'address', name: 'contractAddress', type: 'address' },
],
name: 'InvalidCoupon',
type: 'error',
},
{
inputs: [{ internalType: 'address', name: 'sender', type: 'address' }],
name: 'NotAdminCall',
type: 'error',
},
{
inputs: [
{ internalType: 'address', name: 'sender', type: 'address' },
{ internalType: 'address', name: 'owner', type: 'address' },
{ internalType: 'string', name: 'name', type: 'string' },
],
name: 'NotReadyPhiland',
type: 'error',
},
{ anonymous: false, inputs: [], name: 'Hello', type: 'event' },
{
anonymous: false,
inputs: [
{ indexed: false, internalType: 'uint8', name: 'version', type: 'uint8' },
],
name: 'Initialized',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'sender',
type: 'address',
},
{
indexed: false,
internalType: 'address',
name: 'phiMapAddress',
type: 'address',
},
],
name: 'LogChangePhilandAddress',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'sender',
type: 'address',
},
{ indexed: false, internalType: 'string', name: 'name', type: 'string' },
],
name: 'LogChangePhilandOwner',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'sender',
type: 'address',
},
{ indexed: false, internalType: 'string', name: 'name', type: 'string' },
],
name: 'LogCreatePhiland',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, internalType: 'bytes32', name: 'role', type: 'bytes32' },
{
indexed: true,
internalType: 'bytes32',
name: 'previousAdminRole',
type: 'bytes32',
},
{
indexed: true,
internalType: 'bytes32',
name: 'newAdminRole',
type: 'bytes32',
},
],
name: 'RoleAdminChanged',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, internalType: 'bytes32', name: 'role', type: 'bytes32' },
{
indexed: true,
internalType: 'address',
name: 'account',
type: 'address',
},
{
indexed: true,
internalType: 'address',
name: 'sender',
type: 'address',
},
],
name: 'RoleGranted',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, internalType: 'bytes32', name: 'role', type: 'bytes32' },
{
indexed: true,
internalType: 'address',
name: 'account',
type: 'address',
},
{
indexed: true,
internalType: 'address',
name: 'sender',
type: 'address',
},
],
name: 'RoleRevoked',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'verifierAddress',
type: 'address',
},
],
name: 'SetAdminSigner',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'bytes32',
name: 'basenode',
type: 'bytes32',
},
],
name: 'SetBaseNode',
type: 'event',
},
{
inputs: [],
name: 'DEFAULT_ADMIN_ROLE',
outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{ internalType: 'address', name: 'phiMapAddress', type: 'address' },
],
name: 'changePhiMapAddress',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{ internalType: 'string', name: 'name', type: 'string' },
{
components: [
{ internalType: 'bytes32', name: 'r', type: 'bytes32' },
{ internalType: 'bytes32', name: 's', type: 'bytes32' },
{ internalType: 'uint8', name: 'v', type: 'uint8' },
],
internalType: 'struct Registry.Coupon',
name: 'coupon',
type: 'tuple',
},
],
name: 'changePhilandOwner',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'claimed',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{ internalType: 'string', name: 'name', type: 'string' },
{
components: [
{ internalType: 'bytes32', name: 'r', type: 'bytes32' },
{ internalType: 'bytes32', name: 's', type: 'bytes32' },
{ internalType: 'uint8', name: 'v', type: 'uint8' },
],
internalType: 'struct Registry.Coupon',
name: 'coupon',
type: 'tuple',
},
],
name: 'createPhiland',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'getAdminSigner',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getPhiMapAddress',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'bytes32', name: 'role', type: 'bytes32' }],
name: 'getRoleAdmin',
outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{ internalType: 'bytes32', name: 'role', type: 'bytes32' },
{ internalType: 'address', name: 'account', type: 'address' },
],
name: 'grantRole',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{ internalType: 'bytes32', name: 'role', type: 'bytes32' },
{ internalType: 'address', name: 'account', type: 'address' },
],
name: 'hasRole',
outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{ internalType: 'address', name: 'admin', type: 'address' },
{ internalType: 'address', name: 'initMap', type: 'address' },
{ internalType: 'address', name: 'initAdminSigner', type: 'address' },
],
name: 'initialize',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'map',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{ internalType: 'address', name: '', type: 'address' },
{ internalType: 'string', name: '', type: 'string' },
],
name: 'ownerLists',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{ internalType: 'bytes32', name: 'role', type: 'bytes32' },
{ internalType: 'address', name: 'account', type: 'address' },
],
name: 'renounceRole',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{ internalType: 'bytes32', name: 'role', type: 'bytes32' },
{ internalType: 'address', name: 'account', type: 'address' },
],
name: 'revokeRole',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{ internalType: 'address', name: 'verifierAdderss', type: 'address' },
],
name: 'setAdminSigner',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [{ internalType: 'bytes4', name: 'interfaceId', type: 'bytes4' }],
name: 'supportsInterface',
outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
stateMutability: 'view',
type: 'function',
},
]Metadata
Metadata
Assignees
Labels
No labels
