import BigNumber from "bignumber.js"; import { Contract } from "@ethersproject/contracts"; import EthereumConfig from "./ethereum"; import type { TokenConfig, Tx } from "../../common/types"; export interface ERC20TokenConfig extends TokenConfig { contractAddress: string; } export default class ERC20Config extends EthereumConfig { private contractInstance; private contractAddress; constructor(config: ERC20TokenConfig); getContract(): Promise; getTx(txId: string): Promise; getFee(amount: BigNumber.Value, to?: string): Promise; createTx(amount: BigNumber.Value, to: string, _fee?: string): Promise<{ txId: string | undefined; tx: any; }>; getGas(): Promise<[BigNumber, number]>; }