UNPKG

@augumented-finance/protocol-v1

Version:

Augmented Protocol smart contracts

13 lines (12 loc) 765 B
import { Signer } from "ethers"; import { Provider, TransactionRequest } from "@ethersproject/providers"; import { ContractFactory, Overrides } from "@ethersproject/contracts"; import type { CompAdapter } from "./CompAdapter"; export declare class CompAdapterFactory extends ContractFactory { constructor(signer?: Signer); deploy(controller: string, originAsset: string, underlyingAsset: string, overrides?: Overrides): Promise<CompAdapter>; getDeployTransaction(controller: string, originAsset: string, underlyingAsset: string, overrides?: Overrides): TransactionRequest; attach(address: string): CompAdapter; connect(signer: Signer): CompAdapterFactory; static connect(address: string, signerOrProvider: Signer | Provider): CompAdapter; }