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