@airdao/astra-universal-router
Version:
Smart contracts for Universal Router
123 lines (108 loc) • 2.65 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type { BaseContract, BytesLike, Signer, utils } from "ethers";
import type { Listener, Provider } from "@ethersproject/providers";
import type {
TypedEventFilter,
TypedEvent,
TypedListener,
OnEvent,
} from "../../common";
export type RouterParametersStruct = {
permit2: string;
samb: string;
seaportV1_5: string;
seaportV1_4: string;
openseaConduit: string;
nftxZap: string;
x2y2: string;
foundation: string;
sudoswap: string;
elementMarket: string;
nft20Zap: string;
cryptopunks: string;
looksRareV2: string;
routerRewardsDistributor: string;
looksRareRewardsDistributor: string;
looksRareToken: string;
classicFactory: string;
clFactory: string;
pairInitCodeHash: BytesLike;
poolInitCodeHash: BytesLike;
};
export type RouterParametersStructOutput = [
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string
] & {
permit2: string;
samb: string;
seaportV1_5: string;
seaportV1_4: string;
openseaConduit: string;
nftxZap: string;
x2y2: string;
foundation: string;
sudoswap: string;
elementMarket: string;
nft20Zap: string;
cryptopunks: string;
looksRareV2: string;
routerRewardsDistributor: string;
looksRareRewardsDistributor: string;
looksRareToken: string;
classicFactory: string;
clFactory: string;
pairInitCodeHash: string;
poolInitCodeHash: string;
};
export interface RouterImmutablesInterface extends utils.Interface {
functions: {};
events: {};
}
export interface RouterImmutables extends BaseContract {
connect(signerOrProvider: Signer | Provider | string): this;
attach(addressOrName: string): this;
deployed(): Promise<this>;
interface: RouterImmutablesInterface;
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: {};
callStatic: {};
filters: {};
estimateGas: {};
populateTransaction: {};
}