fix login page and add compiled types to register-ui

This commit is contained in:
Tobias Merkle 2024-04-02 13:08:53 -04:00
parent 929d9e4b5d
commit e9f4e957f4
17 changed files with 11890 additions and 215 deletions

File diff suppressed because one or more lines are too long

View File

@ -19,5 +19,3 @@
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
src/abis/types/*

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,604 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
BaseContract,
BigNumber,
BigNumberish,
BytesLike,
CallOverrides,
ContractTransaction,
Overrides,
PopulatedTransaction,
Signer,
utils,
} from "ethers";
import type {
FunctionFragment,
Result,
EventFragment,
} from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type {
TypedEventFilter,
TypedEvent,
TypedListener,
OnEvent,
} from "./common";
export interface ENSRegistryInterface extends utils.Interface {
functions: {
"isApprovedForAll(address,address)": FunctionFragment;
"owner(bytes32)": FunctionFragment;
"recordExists(bytes32)": FunctionFragment;
"resolver(bytes32)": FunctionFragment;
"setApprovalForAll(address,bool)": FunctionFragment;
"setOwner(bytes32,address)": FunctionFragment;
"setRecord(bytes32,address,address,uint64)": FunctionFragment;
"setResolver(bytes32,address)": FunctionFragment;
"setSubnodeOwner(bytes32,bytes32,address)": FunctionFragment;
"setSubnodeRecord(bytes32,bytes32,address,address,uint64)": FunctionFragment;
"setTTL(bytes32,uint64)": FunctionFragment;
"ttl(bytes32)": FunctionFragment;
};
getFunction(
nameOrSignatureOrTopic:
| "isApprovedForAll"
| "owner"
| "recordExists"
| "resolver"
| "setApprovalForAll"
| "setOwner"
| "setRecord"
| "setResolver"
| "setSubnodeOwner"
| "setSubnodeRecord"
| "setTTL"
| "ttl"
): FunctionFragment;
encodeFunctionData(
functionFragment: "isApprovedForAll",
values: [string, string]
): string;
encodeFunctionData(functionFragment: "owner", values: [BytesLike]): string;
encodeFunctionData(
functionFragment: "recordExists",
values: [BytesLike]
): string;
encodeFunctionData(functionFragment: "resolver", values: [BytesLike]): string;
encodeFunctionData(
functionFragment: "setApprovalForAll",
values: [string, boolean]
): string;
encodeFunctionData(
functionFragment: "setOwner",
values: [BytesLike, string]
): string;
encodeFunctionData(
functionFragment: "setRecord",
values: [BytesLike, string, string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "setResolver",
values: [BytesLike, string]
): string;
encodeFunctionData(
functionFragment: "setSubnodeOwner",
values: [BytesLike, BytesLike, string]
): string;
encodeFunctionData(
functionFragment: "setSubnodeRecord",
values: [BytesLike, BytesLike, string, string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "setTTL",
values: [BytesLike, BigNumberish]
): string;
encodeFunctionData(functionFragment: "ttl", values: [BytesLike]): string;
decodeFunctionResult(
functionFragment: "isApprovedForAll",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "recordExists",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "resolver", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "setApprovalForAll",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "setOwner", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "setRecord", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "setResolver",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setSubnodeOwner",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setSubnodeRecord",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "setTTL", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "ttl", data: BytesLike): Result;
events: {
"ApprovalForAll(address,address,bool)": EventFragment;
"NewOwner(bytes32,bytes32,address)": EventFragment;
"NewResolver(bytes32,address)": EventFragment;
"NewTTL(bytes32,uint64)": EventFragment;
"Transfer(bytes32,address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment;
getEvent(nameOrSignatureOrTopic: "NewOwner"): EventFragment;
getEvent(nameOrSignatureOrTopic: "NewResolver"): EventFragment;
getEvent(nameOrSignatureOrTopic: "NewTTL"): EventFragment;
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
}
export interface ApprovalForAllEventObject {
owner: string;
operator: string;
approved: boolean;
}
export type ApprovalForAllEvent = TypedEvent<
[string, string, boolean],
ApprovalForAllEventObject
>;
export type ApprovalForAllEventFilter = TypedEventFilter<ApprovalForAllEvent>;
export interface NewOwnerEventObject {
node: string;
label: string;
owner: string;
}
export type NewOwnerEvent = TypedEvent<
[string, string, string],
NewOwnerEventObject
>;
export type NewOwnerEventFilter = TypedEventFilter<NewOwnerEvent>;
export interface NewResolverEventObject {
node: string;
resolver: string;
}
export type NewResolverEvent = TypedEvent<
[string, string],
NewResolverEventObject
>;
export type NewResolverEventFilter = TypedEventFilter<NewResolverEvent>;
export interface NewTTLEventObject {
node: string;
ttl: BigNumber;
}
export type NewTTLEvent = TypedEvent<[string, BigNumber], NewTTLEventObject>;
export type NewTTLEventFilter = TypedEventFilter<NewTTLEvent>;
export interface TransferEventObject {
node: string;
owner: string;
}
export type TransferEvent = TypedEvent<[string, string], TransferEventObject>;
export type TransferEventFilter = TypedEventFilter<TransferEvent>;
export interface ENSRegistry extends BaseContract {
connect(signerOrProvider: Signer | Provider | string): this;
attach(addressOrName: string): this;
deployed(): Promise<this>;
interface: ENSRegistryInterface;
queryFilter<TEvent extends TypedEvent>(
event: TypedEventFilter<TEvent>,
fromBlockOrBlockhash?: string | number | undefined,
toBlock?: string | number | undefined
): Promise<Array<TEvent>>;
listeners<TEvent extends TypedEvent>(
eventFilter?: TypedEventFilter<TEvent>
): Array<TypedListener<TEvent>>;
listeners(eventName?: string): Array<Listener>;
removeAllListeners<TEvent extends TypedEvent>(
eventFilter: TypedEventFilter<TEvent>
): this;
removeAllListeners(eventName?: string): this;
off: OnEvent<this>;
on: OnEvent<this>;
once: OnEvent<this>;
removeListener: OnEvent<this>;
functions: {
isApprovedForAll(
owner: string,
operator: string,
overrides?: CallOverrides
): Promise<[boolean]>;
owner(node: BytesLike, overrides?: CallOverrides): Promise<[string]>;
recordExists(
node: BytesLike,
overrides?: CallOverrides
): Promise<[boolean]>;
resolver(node: BytesLike, overrides?: CallOverrides): Promise<[string]>;
setApprovalForAll(
operator: string,
approved: boolean,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setOwner(
node: BytesLike,
owner: string,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setRecord(
node: BytesLike,
owner: string,
resolver: string,
ttl: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setResolver(
node: BytesLike,
resolver: string,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setSubnodeOwner(
node: BytesLike,
label: BytesLike,
owner: string,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setSubnodeRecord(
node: BytesLike,
label: BytesLike,
owner: string,
resolver: string,
ttl: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setTTL(
node: BytesLike,
ttl: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
ttl(node: BytesLike, overrides?: CallOverrides): Promise<[BigNumber]>;
};
isApprovedForAll(
owner: string,
operator: string,
overrides?: CallOverrides
): Promise<boolean>;
owner(node: BytesLike, overrides?: CallOverrides): Promise<string>;
recordExists(node: BytesLike, overrides?: CallOverrides): Promise<boolean>;
resolver(node: BytesLike, overrides?: CallOverrides): Promise<string>;
setApprovalForAll(
operator: string,
approved: boolean,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setOwner(
node: BytesLike,
owner: string,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setRecord(
node: BytesLike,
owner: string,
resolver: string,
ttl: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setResolver(
node: BytesLike,
resolver: string,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setSubnodeOwner(
node: BytesLike,
label: BytesLike,
owner: string,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setSubnodeRecord(
node: BytesLike,
label: BytesLike,
owner: string,
resolver: string,
ttl: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setTTL(
node: BytesLike,
ttl: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
ttl(node: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
callStatic: {
isApprovedForAll(
owner: string,
operator: string,
overrides?: CallOverrides
): Promise<boolean>;
owner(node: BytesLike, overrides?: CallOverrides): Promise<string>;
recordExists(node: BytesLike, overrides?: CallOverrides): Promise<boolean>;
resolver(node: BytesLike, overrides?: CallOverrides): Promise<string>;
setApprovalForAll(
operator: string,
approved: boolean,
overrides?: CallOverrides
): Promise<void>;
setOwner(
node: BytesLike,
owner: string,
overrides?: CallOverrides
): Promise<void>;
setRecord(
node: BytesLike,
owner: string,
resolver: string,
ttl: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
setResolver(
node: BytesLike,
resolver: string,
overrides?: CallOverrides
): Promise<void>;
setSubnodeOwner(
node: BytesLike,
label: BytesLike,
owner: string,
overrides?: CallOverrides
): Promise<string>;
setSubnodeRecord(
node: BytesLike,
label: BytesLike,
owner: string,
resolver: string,
ttl: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
setTTL(
node: BytesLike,
ttl: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
ttl(node: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
};
filters: {
"ApprovalForAll(address,address,bool)"(
owner?: string | null,
operator?: string | null,
approved?: null
): ApprovalForAllEventFilter;
ApprovalForAll(
owner?: string | null,
operator?: string | null,
approved?: null
): ApprovalForAllEventFilter;
"NewOwner(bytes32,bytes32,address)"(
node?: BytesLike | null,
label?: BytesLike | null,
owner?: null
): NewOwnerEventFilter;
NewOwner(
node?: BytesLike | null,
label?: BytesLike | null,
owner?: null
): NewOwnerEventFilter;
"NewResolver(bytes32,address)"(
node?: BytesLike | null,
resolver?: null
): NewResolverEventFilter;
NewResolver(
node?: BytesLike | null,
resolver?: null
): NewResolverEventFilter;
"NewTTL(bytes32,uint64)"(
node?: BytesLike | null,
ttl?: null
): NewTTLEventFilter;
NewTTL(node?: BytesLike | null, ttl?: null): NewTTLEventFilter;
"Transfer(bytes32,address)"(
node?: BytesLike | null,
owner?: null
): TransferEventFilter;
Transfer(node?: BytesLike | null, owner?: null): TransferEventFilter;
};
estimateGas: {
isApprovedForAll(
owner: string,
operator: string,
overrides?: CallOverrides
): Promise<BigNumber>;
owner(node: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
recordExists(
node: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
resolver(node: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
setApprovalForAll(
operator: string,
approved: boolean,
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
setOwner(
node: BytesLike,
owner: string,
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
setRecord(
node: BytesLike,
owner: string,
resolver: string,
ttl: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
setResolver(
node: BytesLike,
resolver: string,
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
setSubnodeOwner(
node: BytesLike,
label: BytesLike,
owner: string,
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
setSubnodeRecord(
node: BytesLike,
label: BytesLike,
owner: string,
resolver: string,
ttl: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
setTTL(
node: BytesLike,
ttl: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
ttl(node: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
isApprovedForAll(
owner: string,
operator: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
owner(
node: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
recordExists(
node: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
resolver(
node: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
setApprovalForAll(
operator: string,
approved: boolean,
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
setOwner(
node: BytesLike,
owner: string,
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
setRecord(
node: BytesLike,
owner: string,
resolver: string,
ttl: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
setResolver(
node: BytesLike,
resolver: string,
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
setSubnodeOwner(
node: BytesLike,
label: BytesLike,
owner: string,
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
setSubnodeRecord(
node: BytesLike,
label: BytesLike,
owner: string,
resolver: string,
ttl: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
setTTL(
node: BytesLike,
ttl: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
ttl(
node: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

View File

@ -0,0 +1,258 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
BaseContract,
BigNumber,
BytesLike,
CallOverrides,
ContractTransaction,
Overrides,
PopulatedTransaction,
Signer,
utils,
} from "ethers";
import type { FunctionFragment, Result } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type {
TypedEventFilter,
TypedEvent,
TypedListener,
OnEvent,
} from "./common";
export interface KNSEnsEntryInterface extends utils.Interface {
functions: {
"cash()": FunctionFragment;
"ensnamewrapper()": FunctionFragment;
"ensregistry()": FunctionFragment;
"exitlzc()": FunctionFragment;
"exitpath()": FunctionFragment;
"lz()": FunctionFragment;
"lzc()": FunctionFragment;
"owner()": FunctionFragment;
"ping()": FunctionFragment;
"setKNSRecords(bytes,bytes[])": FunctionFragment;
};
getFunction(
nameOrSignatureOrTopic:
| "cash"
| "ensnamewrapper"
| "ensregistry"
| "exitlzc"
| "exitpath"
| "lz"
| "lzc"
| "owner"
| "ping"
| "setKNSRecords"
): FunctionFragment;
encodeFunctionData(functionFragment: "cash", values?: undefined): string;
encodeFunctionData(
functionFragment: "ensnamewrapper",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "ensregistry",
values?: undefined
): string;
encodeFunctionData(functionFragment: "exitlzc", values?: undefined): string;
encodeFunctionData(functionFragment: "exitpath", values?: undefined): string;
encodeFunctionData(functionFragment: "lz", values?: undefined): string;
encodeFunctionData(functionFragment: "lzc", values?: undefined): string;
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(functionFragment: "ping", values?: undefined): string;
encodeFunctionData(
functionFragment: "setKNSRecords",
values: [BytesLike, BytesLike[]]
): string;
decodeFunctionResult(functionFragment: "cash", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "ensnamewrapper",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "ensregistry",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "exitlzc", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "exitpath", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "lz", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "lzc", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "ping", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "setKNSRecords",
data: BytesLike
): Result;
events: {};
}
export interface KNSEnsEntry extends BaseContract {
connect(signerOrProvider: Signer | Provider | string): this;
attach(addressOrName: string): this;
deployed(): Promise<this>;
interface: KNSEnsEntryInterface;
queryFilter<TEvent extends TypedEvent>(
event: TypedEventFilter<TEvent>,
fromBlockOrBlockhash?: string | number | undefined,
toBlock?: string | number | undefined
): Promise<Array<TEvent>>;
listeners<TEvent extends TypedEvent>(
eventFilter?: TypedEventFilter<TEvent>
): Array<TypedListener<TEvent>>;
listeners(eventName?: string): Array<Listener>;
removeAllListeners<TEvent extends TypedEvent>(
eventFilter: TypedEventFilter<TEvent>
): this;
removeAllListeners(eventName?: string): this;
off: OnEvent<this>;
on: OnEvent<this>;
once: OnEvent<this>;
removeListener: OnEvent<this>;
functions: {
cash(
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
ensnamewrapper(overrides?: CallOverrides): Promise<[string]>;
ensregistry(overrides?: CallOverrides): Promise<[string]>;
exitlzc(overrides?: CallOverrides): Promise<[number]>;
exitpath(overrides?: CallOverrides): Promise<[string]>;
lz(overrides?: CallOverrides): Promise<[string]>;
lzc(overrides?: CallOverrides): Promise<[number]>;
owner(overrides?: CallOverrides): Promise<[string]>;
ping(
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setKNSRecords(
fqdn: BytesLike,
data: BytesLike[],
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
};
cash(overrides?: Overrides & { from?: string }): Promise<ContractTransaction>;
ensnamewrapper(overrides?: CallOverrides): Promise<string>;
ensregistry(overrides?: CallOverrides): Promise<string>;
exitlzc(overrides?: CallOverrides): Promise<number>;
exitpath(overrides?: CallOverrides): Promise<string>;
lz(overrides?: CallOverrides): Promise<string>;
lzc(overrides?: CallOverrides): Promise<number>;
owner(overrides?: CallOverrides): Promise<string>;
ping(overrides?: Overrides & { from?: string }): Promise<ContractTransaction>;
setKNSRecords(
fqdn: BytesLike,
data: BytesLike[],
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
callStatic: {
cash(overrides?: CallOverrides): Promise<void>;
ensnamewrapper(overrides?: CallOverrides): Promise<string>;
ensregistry(overrides?: CallOverrides): Promise<string>;
exitlzc(overrides?: CallOverrides): Promise<number>;
exitpath(overrides?: CallOverrides): Promise<string>;
lz(overrides?: CallOverrides): Promise<string>;
lzc(overrides?: CallOverrides): Promise<number>;
owner(overrides?: CallOverrides): Promise<string>;
ping(overrides?: CallOverrides): Promise<void>;
setKNSRecords(
fqdn: BytesLike,
data: BytesLike[],
overrides?: CallOverrides
): Promise<void>;
};
filters: {};
estimateGas: {
cash(overrides?: Overrides & { from?: string }): Promise<BigNumber>;
ensnamewrapper(overrides?: CallOverrides): Promise<BigNumber>;
ensregistry(overrides?: CallOverrides): Promise<BigNumber>;
exitlzc(overrides?: CallOverrides): Promise<BigNumber>;
exitpath(overrides?: CallOverrides): Promise<BigNumber>;
lz(overrides?: CallOverrides): Promise<BigNumber>;
lzc(overrides?: CallOverrides): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<BigNumber>;
ping(overrides?: Overrides & { from?: string }): Promise<BigNumber>;
setKNSRecords(
fqdn: BytesLike,
data: BytesLike[],
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
};
populateTransaction: {
cash(
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
ensnamewrapper(overrides?: CallOverrides): Promise<PopulatedTransaction>;
ensregistry(overrides?: CallOverrides): Promise<PopulatedTransaction>;
exitlzc(overrides?: CallOverrides): Promise<PopulatedTransaction>;
exitpath(overrides?: CallOverrides): Promise<PopulatedTransaction>;
lz(overrides?: CallOverrides): Promise<PopulatedTransaction>;
lzc(overrides?: CallOverrides): Promise<PopulatedTransaction>;
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
ping(
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
setKNSRecords(
fqdn: BytesLike,
data: BytesLike[],
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
};
}

View File

@ -0,0 +1,528 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
BaseContract,
BigNumber,
BigNumberish,
BytesLike,
CallOverrides,
ContractTransaction,
Overrides,
PopulatedTransaction,
Signer,
utils,
} from "ethers";
import type {
FunctionFragment,
Result,
EventFragment,
} from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type {
TypedEventFilter,
TypedEvent,
TypedListener,
OnEvent,
} from "./common";
export interface KNSEnsExitInterface extends utils.Interface {
functions: {
"__initTLDRegistration(bytes,bytes32)": FunctionFragment;
"auth(bytes32,address)": FunctionFragment;
"ensowners(uint256)": FunctionFragment;
"kns()": FunctionFragment;
"lz()": FunctionFragment;
"lzReceive(uint16,bytes,uint64,bytes)": FunctionFragment;
"lzc()": FunctionFragment;
"owner()": FunctionFragment;
"ownerOf(uint256)": FunctionFragment;
"ping()": FunctionFragment;
"setBaseNode(uint256)": FunctionFragment;
"setEntry(address,uint16)": FunctionFragment;
"setKNSRecords(address,bytes,bytes[])": FunctionFragment;
"simulate(bytes)": FunctionFragment;
"trustedentries(uint16)": FunctionFragment;
};
getFunction(
nameOrSignatureOrTopic:
| "__initTLDRegistration"
| "auth"
| "ensowners"
| "kns"
| "lz"
| "lzReceive"
| "lzc"
| "owner"
| "ownerOf"
| "ping"
| "setBaseNode"
| "setEntry"
| "setKNSRecords"
| "simulate"
| "trustedentries"
): FunctionFragment;
encodeFunctionData(
functionFragment: "__initTLDRegistration",
values: [BytesLike, BytesLike]
): string;
encodeFunctionData(
functionFragment: "auth",
values: [BytesLike, string]
): string;
encodeFunctionData(
functionFragment: "ensowners",
values: [BigNumberish]
): string;
encodeFunctionData(functionFragment: "kns", values?: undefined): string;
encodeFunctionData(functionFragment: "lz", values?: undefined): string;
encodeFunctionData(
functionFragment: "lzReceive",
values: [BigNumberish, BytesLike, BigNumberish, BytesLike]
): string;
encodeFunctionData(functionFragment: "lzc", values?: undefined): string;
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(
functionFragment: "ownerOf",
values: [BigNumberish]
): string;
encodeFunctionData(functionFragment: "ping", values?: undefined): string;
encodeFunctionData(
functionFragment: "setBaseNode",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "setEntry",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "setKNSRecords",
values: [string, BytesLike, BytesLike[]]
): string;
encodeFunctionData(functionFragment: "simulate", values: [BytesLike]): string;
encodeFunctionData(
functionFragment: "trustedentries",
values: [BigNumberish]
): string;
decodeFunctionResult(
functionFragment: "__initTLDRegistration",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "auth", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "ensowners", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "kns", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "lz", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "lzReceive", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "lzc", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "ping", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "setBaseNode",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "setEntry", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "setKNSRecords",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "simulate", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "trustedentries",
data: BytesLike
): Result;
events: {
"Error(bytes4)": EventFragment;
"Pinged(address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "Error"): EventFragment;
getEvent(nameOrSignatureOrTopic: "Pinged"): EventFragment;
}
export interface ErrorEventObject {
error: string;
}
export type ErrorEvent = TypedEvent<[string], ErrorEventObject>;
export type ErrorEventFilter = TypedEventFilter<ErrorEvent>;
export interface PingedEventObject {
arg0: string;
}
export type PingedEvent = TypedEvent<[string], PingedEventObject>;
export type PingedEventFilter = TypedEventFilter<PingedEvent>;
export interface KNSEnsExit extends BaseContract {
connect(signerOrProvider: Signer | Provider | string): this;
attach(addressOrName: string): this;
deployed(): Promise<this>;
interface: KNSEnsExitInterface;
queryFilter<TEvent extends TypedEvent>(
event: TypedEventFilter<TEvent>,
fromBlockOrBlockhash?: string | number | undefined,
toBlock?: string | number | undefined
): Promise<Array<TEvent>>;
listeners<TEvent extends TypedEvent>(
eventFilter?: TypedEventFilter<TEvent>
): Array<TypedListener<TEvent>>;
listeners(eventName?: string): Array<Listener>;
removeAllListeners<TEvent extends TypedEvent>(
eventFilter: TypedEventFilter<TEvent>
): this;
removeAllListeners(eventName?: string): this;
off: OnEvent<this>;
on: OnEvent<this>;
once: OnEvent<this>;
removeListener: OnEvent<this>;
functions: {
__initTLDRegistration(
fqdn: BytesLike,
tld: BytesLike,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
auth(
_nodeId: BytesLike,
_sender: string,
overrides?: CallOverrides
): Promise<[boolean]>;
ensowners(arg0: BigNumberish, overrides?: CallOverrides): Promise<[string]>;
kns(overrides?: CallOverrides): Promise<[string]>;
lz(overrides?: CallOverrides): Promise<[string]>;
lzReceive(
_chain: BigNumberish,
_path: BytesLike,
arg2: BigNumberish,
_payload: BytesLike,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
lzc(overrides?: CallOverrides): Promise<[number]>;
owner(overrides?: CallOverrides): Promise<[string]>;
ownerOf(
node: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
ping(
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setBaseNode(
node: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setEntry(
_entry: string,
_entrychain: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setKNSRecords(
owner: string,
fqdn: BytesLike,
data: BytesLike[],
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
simulate(
_payload: BytesLike,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
trustedentries(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<[string]>;
};
__initTLDRegistration(
fqdn: BytesLike,
tld: BytesLike,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
auth(
_nodeId: BytesLike,
_sender: string,
overrides?: CallOverrides
): Promise<boolean>;
ensowners(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
kns(overrides?: CallOverrides): Promise<string>;
lz(overrides?: CallOverrides): Promise<string>;
lzReceive(
_chain: BigNumberish,
_path: BytesLike,
arg2: BigNumberish,
_payload: BytesLike,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
lzc(overrides?: CallOverrides): Promise<number>;
owner(overrides?: CallOverrides): Promise<string>;
ownerOf(
node: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
ping(overrides?: Overrides & { from?: string }): Promise<ContractTransaction>;
setBaseNode(
node: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setEntry(
_entry: string,
_entrychain: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
setKNSRecords(
owner: string,
fqdn: BytesLike,
data: BytesLike[],
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
simulate(
_payload: BytesLike,
overrides?: Overrides & { from?: string }
): Promise<ContractTransaction>;
trustedentries(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<string>;
callStatic: {
__initTLDRegistration(
fqdn: BytesLike,
tld: BytesLike,
overrides?: CallOverrides
): Promise<void>;
auth(
_nodeId: BytesLike,
_sender: string,
overrides?: CallOverrides
): Promise<boolean>;
ensowners(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
kns(overrides?: CallOverrides): Promise<string>;
lz(overrides?: CallOverrides): Promise<string>;
lzReceive(
_chain: BigNumberish,
_path: BytesLike,
arg2: BigNumberish,
_payload: BytesLike,
overrides?: CallOverrides
): Promise<void>;
lzc(overrides?: CallOverrides): Promise<number>;
owner(overrides?: CallOverrides): Promise<string>;
ownerOf(node: BigNumberish, overrides?: CallOverrides): Promise<string>;
ping(overrides?: CallOverrides): Promise<void>;
setBaseNode(node: BigNumberish, overrides?: CallOverrides): Promise<void>;
setEntry(
_entry: string,
_entrychain: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
setKNSRecords(
owner: string,
fqdn: BytesLike,
data: BytesLike[],
overrides?: CallOverrides
): Promise<void>;
simulate(_payload: BytesLike, overrides?: CallOverrides): Promise<void>;
trustedentries(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<string>;
};
filters: {
"Error(bytes4)"(error?: null): ErrorEventFilter;
Error(error?: null): ErrorEventFilter;
"Pinged(address)"(arg0?: null): PingedEventFilter;
Pinged(arg0?: null): PingedEventFilter;
};
estimateGas: {
__initTLDRegistration(
fqdn: BytesLike,
tld: BytesLike,
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
auth(
_nodeId: BytesLike,
_sender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
ensowners(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
kns(overrides?: CallOverrides): Promise<BigNumber>;
lz(overrides?: CallOverrides): Promise<BigNumber>;
lzReceive(
_chain: BigNumberish,
_path: BytesLike,
arg2: BigNumberish,
_payload: BytesLike,
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
lzc(overrides?: CallOverrides): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<BigNumber>;
ownerOf(
node: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
ping(overrides?: Overrides & { from?: string }): Promise<BigNumber>;
setBaseNode(
node: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
setEntry(
_entry: string,
_entrychain: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
setKNSRecords(
owner: string,
fqdn: BytesLike,
data: BytesLike[],
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
simulate(
_payload: BytesLike,
overrides?: Overrides & { from?: string }
): Promise<BigNumber>;
trustedentries(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
};
populateTransaction: {
__initTLDRegistration(
fqdn: BytesLike,
tld: BytesLike,
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
auth(
_nodeId: BytesLike,
_sender: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
ensowners(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
kns(overrides?: CallOverrides): Promise<PopulatedTransaction>;
lz(overrides?: CallOverrides): Promise<PopulatedTransaction>;
lzReceive(
_chain: BigNumberish,
_path: BytesLike,
arg2: BigNumberish,
_payload: BytesLike,
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
lzc(overrides?: CallOverrides): Promise<PopulatedTransaction>;
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
ownerOf(
node: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
ping(
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
setBaseNode(
node: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
setEntry(
_entry: string,
_entrychain: BigNumberish,
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
setKNSRecords(
owner: string,
fqdn: BytesLike,
data: BytesLike[],
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
simulate(
_payload: BytesLike,
overrides?: Overrides & { from?: string }
): Promise<PopulatedTransaction>;
trustedentries(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,44 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type { Listener } from "@ethersproject/providers";
import type { Event, EventFilter } from "ethers";
export interface TypedEvent<
TArgsArray extends Array<any> = any,
TArgsObject = any
> extends Event {
args: TArgsArray & TArgsObject;
}
export interface TypedEventFilter<_TEvent extends TypedEvent>
extends EventFilter {}
export interface TypedListener<TEvent extends TypedEvent> {
(...listenerArg: [...__TypechainArgsArray<TEvent>, TEvent]): void;
}
type __TypechainArgsArray<T> = T extends TypedEvent<infer U> ? U : never;
export interface OnEvent<TRes> {
<TEvent extends TypedEvent>(
eventFilter: TypedEventFilter<TEvent>,
listener: TypedListener<TEvent>
): TRes;
(eventName: string, listener: Listener): TRes;
}
export type MinEthersFactory<C, ARGS> = {
deploy(...a: ARGS[]): Promise<C>;
};
export type GetContractTypeFromFactory<F> = F extends MinEthersFactory<
infer C,
any
>
? C
: never;
export type GetARGsTypeFromFactory<F> = F extends MinEthersFactory<any, any>
? Parameters<F["deploy"]>
: never;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,9 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
export { DotOsRegistrar__factory } from "./DotOsRegistrar__factory";
export { ENSRegistry__factory } from "./ENSRegistry__factory";
export { KNSEnsEntry__factory } from "./KNSEnsEntry__factory";
export { KNSEnsExit__factory } from "./KNSEnsExit__factory";
export { KNSRegistryResolver__factory } from "./KNSRegistryResolver__factory";
export { NameWrapper__factory } from "./NameWrapper__factory";

View File

@ -0,0 +1,16 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
export type { DotOsRegistrar } from "./DotOsRegistrar";
export type { ENSRegistry } from "./ENSRegistry";
export type { KNSEnsEntry } from "./KNSEnsEntry";
export type { KNSEnsExit } from "./KNSEnsExit";
export type { KNSRegistryResolver } from "./KNSRegistryResolver";
export type { NameWrapper } from "./NameWrapper";
export * as factories from "./factories";
export { DotOsRegistrar__factory } from "./factories/DotOsRegistrar__factory";
export { ENSRegistry__factory } from "./factories/ENSRegistry__factory";
export { KNSEnsEntry__factory } from "./factories/KNSEnsEntry__factory";
export { KNSEnsExit__factory } from "./factories/KNSEnsExit__factory";
export { KNSRegistryResolver__factory } from "./factories/KNSRegistryResolver__factory";
export { NameWrapper__factory } from "./factories/NameWrapper__factory";