@ic-wallet-kit/hpl
Version:
Ic middleware wallet HPL protocol
24 lines (23 loc) • 582 B
TypeScript
import { Amount } from "@ic-wallet-kit/common";
export interface HplTransferForm {
txFrom: ITransferModel;
txTo: ITransferModel;
amount: Amount;
assetId: bigint;
}
export interface HplTransferResult {
}
export interface ITransferModel {
readonly type: "sub" | "vir" | "mint";
owner?: string;
id: bigint;
}
export declare class AccountTransferModel implements ITransferModel {
get type(): "sub";
id: bigint;
}
export declare class VirtualAccountTransferModel implements ITransferModel {
get type(): "vir";
owner: string;
id: bigint;
}