PHP WebShell

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

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

import * as utxolib from '@bitgo/utxo-lib';
import { ParserNode } from '../src/Parser';
export declare function formatTreeNoColor(n: ParserNode, { showAll }: {
    showAll: boolean;
}): string;
export type ParsedFixture = {
    transaction: utxolib.bitgo.UtxoTransaction<bigint>;
    prevOutputs: utxolib.TxOutput<bigint>[];
} | {
    transaction: utxolib.bitgo.UtxoPsbt;
    prevOutputs: undefined;
};
type FixtureParams = {
    fixtureType: 'psbtUnsigned' | 'psbtHalfSigned' | 'psbtFullSigned' | 'networkFullSigned';
    scriptType: utxolib.bitgo.outputScripts.ScriptType2Of3;
    spendType?: 'keyPath' | 'scriptPath';
};
export declare function getPsbt(network: utxolib.Network, basePath: string, params: FixtureParams, { writeFixture }?: {
    writeFixture?: string;
}): Promise<ParsedFixture>;
export declare function getTransactionWithSpendType(network: utxolib.Network, basePath: string, params: FixtureParams): Promise<ParsedFixture>;
export declare function getFixtureString(path: string, defaultValue: string): Promise<string>;
export {};
//# sourceMappingURL=fixtures.d.ts.map

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


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