UNPKG

@augmentedfinance/protocol-v1

Version:

Augmented Protocol smart contracts

121 lines (101 loc) 2.81 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 AccessCallHelperInterface extends ethers.utils.Interface { functions: { "doCall(address,bytes)": FunctionFragment; }; encodeFunctionData( functionFragment: "doCall", values: [string, BytesLike] ): string; decodeFunctionResult(functionFragment: "doCall", data: BytesLike): Result; events: {}; } export class AccessCallHelper 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: AccessCallHelperInterface; functions: { doCall( callAddr: string, callData: BytesLike, overrides?: Overrides ): Promise<ContractTransaction>; "doCall(address,bytes)"( callAddr: string, callData: BytesLike, overrides?: Overrides ): Promise<ContractTransaction>; }; doCall( callAddr: string, callData: BytesLike, overrides?: Overrides ): Promise<ContractTransaction>; "doCall(address,bytes)"( callAddr: string, callData: BytesLike, overrides?: Overrides ): Promise<ContractTransaction>; callStatic: { doCall( callAddr: string, callData: BytesLike, overrides?: CallOverrides ): Promise<string>; "doCall(address,bytes)"( callAddr: string, callData: BytesLike, overrides?: CallOverrides ): Promise<string>; }; filters: {}; estimateGas: { doCall( callAddr: string, callData: BytesLike, overrides?: Overrides ): Promise<BigNumber>; "doCall(address,bytes)"( callAddr: string, callData: BytesLike, overrides?: Overrides ): Promise<BigNumber>; }; populateTransaction: { doCall( callAddr: string, callData: BytesLike, overrides?: Overrides ): Promise<PopulatedTransaction>; "doCall(address,bytes)"( callAddr: string, callData: BytesLike, overrides?: Overrides ): Promise<PopulatedTransaction>; }; }