js-isp
Version:
41 lines (40 loc) • 1.13 kB
TypeScript
import { Principal } from "@dfinity/principal";
import { Buckets, FileBufExt } from "./icsp/did/icsp_type";
import { Result_1 } from "./isp/did/isp/isp_type";
import { BurnResult } from "./isp/did/xtc/xtc_type";
export declare type icsp = [string, Principal];
export declare type createByXTCArg = {
icspName: string;
icp_to_create_amount: {
e8s: bigint;
};
xtc_to_topup_amount: {
e8s: bigint;
};
};
export declare type createByIcpArg = {
icspName: string;
icp_to_create_amount: {
e8s: bigint;
};
icp_to_topup_amount: {
e8s: bigint;
};
};
export declare type getBucketOfFileRes = [] | [Principal];
export declare type getFileInfoRes = [] | [FileBufExt];
export declare type getBucketsRes = [] | [Buckets];
export declare type getRes = [] | [[Array<number>, string]];
export declare type burnArg = {
'canister_id': Principal;
'amount': bigint;
};
export declare type CreateRes = {
icspCanisterId: Result_1;
burnTransactionId: BurnResult;
};
export declare type allFiles = {
ArFiles: string[];
ICFiles: string[];
IPFSFiles: string[];
};