PHP WebShell

Текущая директория: /opt/BitGoJS/modules/utxo-bin/dist/src

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

import * as utxolib from '@bitgo/utxo-lib';
import { KeyOptions } from './args';
type FixedScriptAddressProperties = {
    chain: utxolib.bitgo.ChainCode;
    index: number;
    type: utxolib.bitgo.outputScripts.ScriptType;
    userPath: string;
    backupPath: string;
    bitgoPath: string;
    userKey: string;
    backupKey: string;
    bitgoKey: string;
    redeemScript?: string;
    witnessScript?: string;
    scriptPubKey: string;
    address: string;
};
export declare function getAsPlaceholderDescription(v: Record<string, string>): string;
export declare function getFixedScriptAddressPlaceholderDescription(): string;
export declare function formatAddressTree(props: FixedScriptAddressProperties | DescriptorAddressProperties): string;
export declare function formatAddressWithFormatString(props: Record<string, unknown>, placeholders: Record<string, string>, format: string): string;
export declare function formatFixedScriptAddress(props: FixedScriptAddressProperties, format: string): string;
export declare function getRange(start: number, end: number): number[];
export declare function parseIndexRange(ranges: string[]): number[];
export declare function generateFixedScriptAddress(argv: KeyOptions & {
    network?: utxolib.Network;
    chain?: number[];
    format: string;
    index: number[];
}): Generator<FixedScriptAddressProperties>;
type DescriptorAddressProperties = {
    descriptor: string;
    index: number;
    explicitScript: string;
    scriptPubKey: string;
    address: string;
};
export declare function getDescriptorAddressPlaceholderDescription(): string;
export declare function formatDescriptorAddress(props: DescriptorAddressProperties, format: string): string;
export declare function generateDescriptorAddress(argv: {
    network: utxolib.Network;
    descriptor: string;
    format: string;
    index: number[];
}): Generator<DescriptorAddressProperties>;
export {};
//# sourceMappingURL=generateAddress.d.ts.map

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


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