PHP WebShell

Текущая директория: /opt/BitGoJS/modules/abstract-lightning/dist/src/codecs/api

Просмотр файла: wallet.d.ts

import * as t from 'io-ts';
export declare const KeyPurpose: t.UnionC<[t.LiteralC<"userAuth">, t.LiteralC<"nodeAuth">]>;
export type KeyPurpose = t.TypeOf<typeof KeyPurpose>;
export declare const LightningAuthKeychainCoinSpecific: t.UnionC<[t.TypeC<{
    lnbtc: t.TypeC<{
        purpose: t.UnionC<[t.LiteralC<"userAuth">, t.LiteralC<"nodeAuth">]>;
    }>;
}>, t.TypeC<{
    tlnbtc: t.TypeC<{
        purpose: t.UnionC<[t.LiteralC<"userAuth">, t.LiteralC<"nodeAuth">]>;
    }>;
}>]>;
export declare const LightningKeychain: t.IntersectionC<[t.TypeC<{
    id: import("io-ts-types").NonEmptyStringC;
    pub: import("io-ts-types").NonEmptyStringC;
    source: t.LiteralC<"user">;
}>, t.PartialC<{
    encryptedPrv: import("io-ts-types").NonEmptyStringC;
}>]>;
export type LightningKeychain = t.TypeOf<typeof LightningKeychain>;
export declare const LightningAuthKeychain: t.IntersectionC<[t.TypeC<{
    id: import("io-ts-types").NonEmptyStringC;
    pub: import("io-ts-types").NonEmptyStringC;
    coinSpecific: t.UnionC<[t.TypeC<{
        lnbtc: t.TypeC<{
            purpose: t.UnionC<[t.LiteralC<"userAuth">, t.LiteralC<"nodeAuth">]>;
        }>;
    }>, t.TypeC<{
        tlnbtc: t.TypeC<{
            purpose: t.UnionC<[t.LiteralC<"userAuth">, t.LiteralC<"nodeAuth">]>;
        }>;
    }>]>;
    source: t.LiteralC<"user">;
}>, t.PartialC<{
    encryptedPrv: import("io-ts-types").NonEmptyStringC;
}>]>;
export type LightningAuthKeychain = t.TypeOf<typeof LightningAuthKeychain>;
export declare const WatchOnlyAccount: t.TypeC<{
    purpose: t.NumberC;
    coin_type: t.NumberC;
    account: t.NumberC;
    xpub: t.StringC;
}>;
export type WatchOnlyAccount = t.TypeOf<typeof WatchOnlyAccount>;
export declare const WatchOnly: t.TypeC<{
    master_key_birthday_timestamp: t.StringC;
    master_key_fingerprint: t.StringC;
    accounts: t.ArrayC<t.TypeC<{
        purpose: t.NumberC;
        coin_type: t.NumberC;
        account: t.NumberC;
        xpub: t.StringC;
    }>>;
}>;
export type WatchOnly = t.TypeOf<typeof WatchOnly>;
export declare const UpdateLightningWalletEncryptedRequest: t.IntersectionC<[t.PartialC<{
    signerHost: t.StringC;
    signerTlsCert: t.StringC;
    watchOnlyAccounts: t.TypeC<{
        master_key_birthday_timestamp: t.StringC;
        master_key_fingerprint: t.StringC;
        accounts: t.ArrayC<t.TypeC<{
            purpose: t.NumberC;
            coin_type: t.NumberC;
            account: t.NumberC;
            xpub: t.StringC;
        }>>;
    }>;
}>, t.PartialC<{
    encryptedSignerMacaroon: t.StringC;
    encryptedSignerAdminMacaroon: t.StringC;
    encryptedSignerTlsKey: t.StringC;
}>]>;
export declare const UpdateLightningWalletClientRequest: t.IntersectionC<[t.PartialC<{
    signerHost: t.StringC;
    signerTlsCert: t.StringC;
    watchOnlyAccounts: t.TypeC<{
        master_key_birthday_timestamp: t.StringC;
        master_key_fingerprint: t.StringC;
        accounts: t.ArrayC<t.TypeC<{
            purpose: t.NumberC;
            coin_type: t.NumberC;
            account: t.NumberC;
            xpub: t.StringC;
        }>>;
    }>;
}>, t.TypeC<{
    passphrase: t.StringC;
}>, t.PartialC<{
    signerMacaroon: t.StringC;
    signerAdminMacaroon: t.StringC;
    signerTlsKey: t.StringC;
}>]>;
export type UpdateLightningWalletEncryptedRequest = t.TypeOf<typeof UpdateLightningWalletEncryptedRequest>;
export type UpdateLightningWalletClientRequest = t.TypeOf<typeof UpdateLightningWalletClientRequest>;
//# sourceMappingURL=wallet.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!