UNPKG

@augumented-finance/protocol-v1

Version:

Augmented Protocol smart contracts

124 lines (104 loc) 2.99 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { ethers, EventFilter, Signer, BigNumber, BigNumberish, PopulatedTransaction, } from "ethers"; import { Contract, ContractTransaction, Overrides, CallOverrides, } from "@ethersproject/contracts"; import { BytesLike } from "@ethersproject/bytes"; import { Listener, Provider } from "@ethersproject/providers"; import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; interface IMigratorHookInterface extends ethers.utils.Interface { functions: { "handleTokenMigrated(address,address[])": FunctionFragment; }; encodeFunctionData( functionFragment: "handleTokenMigrated", values: [string, string[]] ): string; decodeFunctionResult( functionFragment: "handleTokenMigrated", data: BytesLike ): Result; events: {}; } export class IMigratorHook extends Contract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise<this>; on(event: EventFilter | string, listener: Listener): this; once(event: EventFilter | string, listener: Listener): this; addListener(eventName: EventFilter | string, listener: Listener): this; removeAllListeners(eventName: EventFilter | string): this; removeListener(eventName: any, listener: Listener): this; interface: IMigratorHookInterface; functions: { handleTokenMigrated( token: string, rewardPools: string[], overrides?: Overrides ): Promise<ContractTransaction>; "handleTokenMigrated(address,address[])"( token: string, rewardPools: string[], overrides?: Overrides ): Promise<ContractTransaction>; }; handleTokenMigrated( token: string, rewardPools: string[], overrides?: Overrides ): Promise<ContractTransaction>; "handleTokenMigrated(address,address[])"( token: string, rewardPools: string[], overrides?: Overrides ): Promise<ContractTransaction>; callStatic: { handleTokenMigrated( token: string, rewardPools: string[], overrides?: CallOverrides ): Promise<void>; "handleTokenMigrated(address,address[])"( token: string, rewardPools: string[], overrides?: CallOverrides ): Promise<void>; }; filters: {}; estimateGas: { handleTokenMigrated( token: string, rewardPools: string[], overrides?: Overrides ): Promise<BigNumber>; "handleTokenMigrated(address,address[])"( token: string, rewardPools: string[], overrides?: Overrides ): Promise<BigNumber>; }; populateTransaction: { handleTokenMigrated( token: string, rewardPools: string[], overrides?: Overrides ): Promise<PopulatedTransaction>; "handleTokenMigrated(address,address[])"( token: string, rewardPools: string[], overrides?: Overrides ): Promise<PopulatedTransaction>; }; }