/* 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 { Root, RootInterface } from '../Root' const _abi = [ { inputs: [ { internalType: 'contract FNS', name: '_fns', type: 'address', }, ], payable: false, stateMutability: 'nonpayable', type: 'constructor', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'bytes32', name: 'label', type: 'bytes32', }, ], name: 'TLDLocked', type: 'event', }, { constant: true, inputs: [ { internalType: 'address', name: '', type: 'address', }, ], name: 'controllers', outputs: [ { internalType: 'bool', name: '', type: 'bool', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'fns', outputs: [ { internalType: 'contract FNS', name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { internalType: 'address', name: 'addr', type: 'address', }, ], name: 'isOwner', outputs: [ { internalType: 'bool', name: '', type: 'bool', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [ { internalType: 'bytes32', name: 'label', type: 'bytes32', }, ], name: 'lock', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [ { internalType: 'bytes32', name: '', type: 'bytes32', }, ], name: 'locked', outputs: [ { internalType: 'bool', name: '', type: 'bool', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'owner', outputs: [ { internalType: 'address', name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [ { internalType: 'address', name: 'controller', type: 'address', }, { internalType: 'bool', name: 'enabled', type: 'bool', }, ], name: 'setController', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'address', name: 'resolver', type: 'address', }, ], name: 'setResolver', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'bytes32', name: 'label', type: 'bytes32', }, { internalType: 'address', name: 'owner', type: 'address', }, ], name: 'setSubnodeOwner', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [ { internalType: 'bytes4', name: 'interfaceID', type: 'bytes4', }, ], name: 'supportsInterface', outputs: [ { internalType: 'bool', name: '', type: 'bool', }, ], payable: false, stateMutability: 'pure', type: 'function', }, { constant: false, inputs: [ { internalType: 'address', name: 'newOwner', type: 'address', }, ], name: 'transferOwnership', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, ] export class Root__factory { static readonly abi = _abi static createInterface(): RootInterface { return new Interface(_abi) as RootInterface } static connect(address: string, signerOrProvider: Signer | Provider): Root { return new Contract(address, _abi, signerOrProvider) as Root } }