onesec-bridge
Version:
A library for interacting with the onesec.to bridge
17 lines (16 loc) • 657 B
TypeScript
import { About, EvmChain, IcrcAccount, OneSecForwarding, StepStatus, Token, TransferId } from '../../../types';
import { BaseStep } from '../../baseStep';
export declare class ComputeForwardingAddressStep extends BaseStep {
private onesec;
private token;
private evmChain;
private icpAccount;
private lastTransferId?;
private forwardingAddress?;
constructor(onesec: OneSecForwarding, token: Token, evmChain: EvmChain, icpAccount: IcrcAccount);
about(): About;
expectedDurationMs(): number;
getForwardingAddress(): string | undefined;
getLastTransferId(): TransferId | undefined;
run(): Promise<StepStatus>;
}