PHP WebShell

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

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

import * as bitcoinjslib from 'bitcoinjs-lib';
import { ECPairInterface } from '@bitgo/utxo-lib';
import * as vendor from '@bitgo/babylonlabs-io-btc-staking-ts';
import * as babylonProtobuf from '@babylonlabs-io/babylon-proto-ts';
import { BabylonDescriptorBuilder, ValueWithTypeUrl } from '../../../src/babylon';
type Result = {
    unsignedDelegationMsg: ValueWithTypeUrl<babylonProtobuf.btcstakingtx.MsgCreateBTCDelegation>;
    stakingTx: bitcoinjslib.Transaction;
};
export declare function getBitGoUtxoStakingMsgCreateBtcDelegation(network: bitcoinjslib.Network, stakerKey: ECPairInterface, finalityProvider: ECPairInterface, descriptorBuilder: BabylonDescriptorBuilder, stakingParams: vendor.VersionedStakingParams[], changeAddress: string, amount: number, utxo: vendor.UTXO, feeRateSatB: number, blockHeight: number): Promise<Result>;
export declare function getVendorMsgCreateBtcDelegation(network: bitcoinjslib.Network, stakerKey: ECPairInterface, finalityProvider: ECPairInterface, descriptorBuilder: BabylonDescriptorBuilder, stakingParams: vendor.VersionedStakingParams[], changeAddress: string, amount: number, utxo: vendor.UTXO, feeRateSatB: number, blockHeight: number): Promise<Result>;
export {};
//# sourceMappingURL=vendor.utils.d.ts.map

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


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