onesec-bridge
Version:
A library for interacting with the onesec.to bridge
21 lines (20 loc) • 899 B
TypeScript
import { About, EvmChain, EvmTx, IcrcAccount, OneSecForwarding, StepStatus, Token, TransferId } from '../../../types';
import { BaseStep } from '../../baseStep';
import { ComputeForwardingAddressStep } from './computeForwardingAddressStep';
export declare class WaitForForwardingTxStep extends BaseStep {
private onesec;
private token;
private evmChain;
private icpAccount;
private decimals;
private computeForwardingAddressStep;
private delayMs;
private transferId?;
private forwardingTx?;
constructor(onesec: OneSecForwarding, token: Token, evmChain: EvmChain, icpAccount: IcrcAccount, decimals: number, computeForwardingAddressStep: ComputeForwardingAddressStep, delayMs: number);
about(): About;
expectedDurationMs(): number;
getTransferId(): TransferId | undefined;
getForwardingTx(): EvmTx | undefined;
run(): Promise<StepStatus>;
}