@ic-wallet-kit/hpl
Version:
Ic middleware wallet HPL protocol
18 lines (17 loc) • 1.14 kB
TypeScript
import { AddHplVirtualAccountForm } from "../../../forms";
import { HplMintCacheDataHandler, HplOwnerCacheDataHandler } from "../../../internalHandlers/cacheDataHandlers";
import { IHplDataCacheRepository } from "../../../repositories";
import { CanisterService } from "../../../service";
import { HplVirtualAccount } from "../../../types";
import { BaseHandler, IdentifierService, ILogger } from "@ic-wallet-kit/common";
import "reflect-metadata";
export declare class AddHplVirtualAccountInternalHandler extends BaseHandler<AddHplVirtualAccountForm, HplVirtualAccount> {
private identifierService;
private canisterService;
private hplOwnerCacheDataHandler;
private hplMintCacheDataHandler;
private hplDataCacheRepository;
constructor(logger: ILogger, identifierService: IdentifierService, canisterService: CanisterService, hplDataCacheRepository: IHplDataCacheRepository, hplOwnerCacheDataHandler: HplOwnerCacheDataHandler, hplMintCacheDataHandler: HplMintCacheDataHandler);
validate(form: AddHplVirtualAccountForm): Promise<void>;
process(form: AddHplVirtualAccountForm): Promise<HplVirtualAccount>;
}