relayers-network-ui/_contracts/factories/EnsRegistry__factory.ts

444 lines
8.0 KiB
TypeScript

/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import { Provider } from "@ethersproject/providers";
import type { EnsRegistry, EnsRegistryInterface } from "../EnsRegistry";
const _abi = [
{
inputs: [
{
internalType: "contract ENS",
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 ENS",
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 EnsRegistry__factory {
static readonly abi = _abi;
static createInterface(): EnsRegistryInterface {
return new utils.Interface(_abi) as EnsRegistryInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): EnsRegistry {
return new Contract(address, _abi, signerOrProvider) as EnsRegistry;
}
}