/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' import type { FNSRegistry, FNSRegistryInterface } from '../FNSRegistry' const _abi = [ { inputs: [ { internalType: 'contract FNS', name: '_old', type: 'address', }, ], payable: false, stateMutability: 'nonpayable', type: 'constructor', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'owner', type: 'address', }, { indexed: true, internalType: 'address', name: 'operator', type: 'address', }, { indexed: false, internalType: 'bool', name: 'approved', type: 'bool', }, ], name: 'ApprovalForAll', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'bytes32', name: 'node', type: 'bytes32', }, { indexed: true, internalType: 'bytes32', name: 'label', type: 'bytes32', }, { indexed: false, internalType: 'address', name: 'owner', type: 'address', }, ], name: 'NewOwner', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'bytes32', name: 'node', type: 'bytes32', }, { indexed: false, internalType: 'address', name: 'resolver', type: 'address', }, ], name: 'NewResolver', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'bytes32', name: 'node', type: 'bytes32', }, { indexed: false, internalType: 'uint64', name: 'ttl', type: 'uint64', }, ], name: 'NewTTL', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'bytes32', name: 'node', type: 'bytes32', }, { indexed: false, internalType: 'address', name: 'owner', type: 'address', }, ], name: 'Transfer', type: 'event', }, { constant: true, inputs: [ { internalType: 'address', name: 'owner', type: 'address', }, { internalType: 'address', name: 'operator', type: 'address', }, ], name: 'isApprovedForAll', outputs: [ { internalType: 'bool', name: '', type: 'bool', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'old', outputs: [ { internalType: 'contract FNS', name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { internalType: 'bytes32', name: 'node', type: 'bytes32', }, ], name: 'owner', outputs: [ { internalType: 'address', name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { internalType: 'bytes32', name: 'node', type: 'bytes32', }, ], name: 'recordExists', outputs: [ { internalType: 'bool', name: '', type: 'bool', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { internalType: 'bytes32', name: 'node', type: 'bytes32', }, ], name: 'resolver', outputs: [ { internalType: 'address', name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [ { internalType: 'address', name: 'operator', type: 'address', }, { internalType: 'bool', name: 'approved', type: 'bool', }, ], name: 'setApprovalForAll', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'bytes32', name: 'node', type: 'bytes32', }, { internalType: 'address', name: 'owner', type: 'address', }, ], name: 'setOwner', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'bytes32', name: 'node', type: 'bytes32', }, { internalType: 'address', name: 'owner', type: 'address', }, { internalType: 'address', name: 'resolver', type: 'address', }, { internalType: 'uint64', name: 'ttl', type: 'uint64', }, ], name: 'setRecord', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'bytes32', name: 'node', type: 'bytes32', }, { internalType: 'address', name: 'resolver', type: 'address', }, ], name: 'setResolver', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'bytes32', name: 'node', type: 'bytes32', }, { internalType: 'bytes32', name: 'label', type: 'bytes32', }, { internalType: 'address', name: 'owner', type: 'address', }, ], name: 'setSubnodeOwner', outputs: [ { internalType: 'bytes32', name: '', type: 'bytes32', }, ], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'bytes32', name: 'node', type: 'bytes32', }, { internalType: 'bytes32', name: 'label', type: 'bytes32', }, { internalType: 'address', name: 'owner', type: 'address', }, { internalType: 'address', name: 'resolver', type: 'address', }, { internalType: 'uint64', name: 'ttl', type: 'uint64', }, ], name: 'setSubnodeRecord', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'bytes32', name: 'node', type: 'bytes32', }, { internalType: 'uint64', name: 'ttl', type: 'uint64', }, ], name: 'setTTL', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [ { internalType: 'bytes32', name: 'node', type: 'bytes32', }, ], name: 'ttl', outputs: [ { internalType: 'uint64', name: '', type: 'uint64', }, ], payable: false, stateMutability: 'view', type: 'function', }, ] export class FNSRegistry__factory { static readonly abi = _abi static createInterface(): FNSRegistryInterface { return new Interface(_abi) as FNSRegistryInterface } static connect( address: string, signerOrProvider: Signer | Provider, ): FNSRegistry { return new Contract(address, _abi, signerOrProvider) as FNSRegistry } }