@ic-wallet-kit/hpl
Version:
Ic middleware wallet HPL protocol
18 lines (17 loc) • 1.13 kB
TypeScript
import { HplFeeConstantCacheDataInfo } from "../../../forms";
import { IHplFeeConstantCacheRepository } from "../../../repositories";
import { CanisterService } from "../../../service";
import { BaseCacheDataHandler, CacheDataError, IdentifierService, ILogger, LoadType } from "@ic-wallet-kit/common";
import "reflect-metadata";
export declare class HplFeeConstantCacheDataHandler extends BaseCacheDataHandler<HplFeeConstantCacheDataInfo, bigint> {
private identifierService;
private canisterService;
getLoadForceType(): LoadType[];
private hplFeeConstantCacheRepository;
constructor(logger: ILogger, identifierService: IdentifierService, hplFeeConstantCacheRepository: IHplFeeConstantCacheRepository, canisterService: CanisterService);
validate(info: HplFeeConstantCacheDataInfo): Promise<void>;
getLocalCacheData(info: HplFeeConstantCacheDataInfo): Promise<bigint | undefined>;
getExternalData(info: HplFeeConstantCacheDataInfo): Promise<bigint>;
updateField(info: HplFeeConstantCacheDataInfo, data: bigint): void;
getCacheDataError(info: HplFeeConstantCacheDataInfo): CacheDataError;
}