PHP WebShell
Текущая директория: /opt/BitGoJS/modules/express/dist/lightning
Просмотр файла: codecs.d.ts
import * as t from 'io-ts';
export declare const LightningSignerConfig: t.TypeC<{
url: t.StringC;
tlsCert: t.StringC;
}>;
export type LightningSignerConfig = t.TypeOf<typeof LightningSignerConfig>;
export declare const LightningSignerConfigs: t.RecordC<t.StringC, t.TypeC<{
url: t.StringC;
tlsCert: t.StringC;
}>>;
export type LightningSignerConfigs = t.TypeOf<typeof LightningSignerConfigs>;
export declare const WalletState: t.KeyofC<{
NON_EXISTING: number;
LOCKED: number;
UNLOCKED: number;
RPC_ACTIVE: number;
SERVER_ACTIVE: number;
WAITING_TO_START: number;
}>;
export type WalletState = t.TypeOf<typeof WalletState>;
export declare const GetWalletStateResponse: t.TypeC<{
state: t.KeyofC<{
NON_EXISTING: number;
LOCKED: number;
UNLOCKED: number;
RPC_ACTIVE: number;
SERVER_ACTIVE: number;
WAITING_TO_START: number;
}>;
}>;
export type GetWalletStateResponse = t.TypeOf<typeof GetWalletStateResponse>;
export declare const InitLightningWalletRequest: t.IntersectionC<[t.ExactC<t.TypeC<{
passphrase: t.StringC;
}>>, t.PartialC<{
expressHost: t.StringC;
}>]>;
export type InitLightningWalletRequest = t.TypeOf<typeof InitLightningWalletRequest>;
export declare const CreateSignerMacaroonRequest: t.TypeC<{
passphrase: t.StringC;
addIpCaveatToMacaroon: t.BooleanC;
}>;
export type CreateSignerMacaroonRequest = t.TypeOf<typeof CreateSignerMacaroonRequest>;
export declare const InitWalletResponse: t.TypeC<{
admin_macaroon: t.StringC;
}>;
export type InitWalletResponse = t.TypeOf<typeof InitWalletResponse>;
export declare const BakeMacaroonResponse: t.TypeC<{
macaroon: t.StringC;
}>;
export type BakeMacaroonResponse = t.TypeOf<typeof BakeMacaroonResponse>;
export declare const UnlockLightningWalletRequest: t.ExactC<t.TypeC<{
passphrase: t.StringC;
}>>;
export type UnlockLightningWalletRequest = t.TypeOf<typeof UnlockLightningWalletRequest>;
export declare const TransactionParams: t.TypeC<{
txid: t.StringC;
}>;
export type TransactionParams = t.TypeOf<typeof TransactionParams>;
export declare const PaymentHashParams: t.TypeC<{
paymentHash: t.StringC;
}>;
export type PaymentHashParams = t.TypeOf<typeof PaymentHashParams>;
//# sourceMappingURL=codecs.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!