onesec-bridge
Version:
A library for interacting with the onesec.to bridge
17 lines (16 loc) • 624 B
TypeScript
import { Contract } from "ethers";
import type { About, EvmChain, IcrcAccount, StepStatus, Token } from "../../types";
import { BaseStep } from "../baseStep";
export declare class ApproveStep extends BaseStep {
private erc20Contract;
private token;
private evmChain;
private icpAccount;
private evmAmount;
private decimals;
private lockerAddress;
constructor(erc20Contract: Contract, token: Token, evmChain: EvmChain, icpAccount: IcrcAccount, evmAmount: bigint, decimals: number, lockerAddress: string);
about(): About;
expectedDurationMs(): number;
run(): Promise<StepStatus>;
}