export const plsRegistrarControllerErrors = [ { inputs: [ { name: 'commitment', type: 'bytes32', }, ], name: 'CommitmentTooNew', type: 'error', }, { inputs: [ { name: 'commitment', type: 'bytes32', }, ], name: 'CommitmentTooOld', type: 'error', }, { inputs: [ { name: 'duration', type: 'uint256', }, ], name: 'DurationTooShort', type: 'error', }, { inputs: [], name: 'InsufficientValue', type: 'error', }, { inputs: [], name: 'MaxCommitmentAgeTooHigh', type: 'error', }, { inputs: [], name: 'MaxCommitmentAgeTooLow', type: 'error', }, { inputs: [ { name: 'name', type: 'string', }, ], name: 'NameNotAvailable', type: 'error', }, { inputs: [], name: 'ResolverRequiredWhenDataSupplied', type: 'error', }, { inputs: [ { name: 'commitment', type: 'bytes32', }, ], name: 'UnexpiredCommitmentExists', type: 'error', }, ] as const export const plsRegistrarControllerRentPriceSnippet = [ ...plsRegistrarControllerErrors, { inputs: [ { name: 'name', type: 'string', }, { name: 'duration', type: 'uint256', }, ], name: 'rentPrice', outputs: [ { components: [ { name: 'base', type: 'uint256', }, { name: 'premium', type: 'uint256', }, ], name: 'price', type: 'tuple', }, ], stateMutability: 'view', type: 'function', }, ] as const export const plsRegistrarControllerCommitSnippet = [ ...plsRegistrarControllerErrors, { inputs: [ { name: 'commitment', type: 'bytes32', }, ], name: 'commit', outputs: [], stateMutability: 'nonpayable', type: 'function', }, ] as const export const plsRegistrarControllerCommitmentsSnippet = [ ...plsRegistrarControllerErrors, { inputs: [ { name: '', type: 'bytes32', }, ], name: 'commitments', outputs: [ { name: '', type: 'uint256', }, ], stateMutability: 'view', type: 'function', }, ] as const export const plsRegistrarControllerRegisterSnippet = [ ...plsRegistrarControllerErrors, { inputs: [ { components: [ { internalType: 'string', name: 'name', type: 'string', }, { internalType: 'address', name: 'owner', type: 'address', }, { internalType: 'uint256', name: 'duration', type: 'uint256', }, { internalType: 'bytes32', name: 'secret', type: 'bytes32', }, { internalType: 'address', name: 'resolver', type: 'address', }, { internalType: 'bytes[]', name: 'data', type: 'bytes[]', }, { internalType: 'bool', name: 'reverseRecord', type: 'bool', }, { internalType: 'uint16', name: 'ownerControlledFuses', type: 'uint16', }, { internalType: 'address', name: 'referrer', type: 'address', }, ], internalType: 'struct IPLSRegistrarController.Registration', name: 'params', type: 'tuple', }, ], name: 'register', outputs: [], stateMutability: 'payable', type: 'function', }, ] as const export const plsRegistrarControllerRenewSnippet = [ ...plsRegistrarControllerErrors, { inputs: [ { name: 'name', type: 'string', }, { name: 'duration', type: 'uint256', }, ], name: 'renew', outputs: [], stateMutability: 'payable', type: 'function', }, ] as const