@bitgo-beta/babylonlabs-io-btc-staking-ts 0.4.0-beta.87 → 0.4.0-beta.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +6 -5
- package/dist/index.js +2 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2328,7 +2328,8 @@ var BabylonBtcStakingManager = class {
|
|
|
2328
2328
|
}
|
|
2329
2329
|
/**
|
|
2330
2330
|
* Creates a proof of possession for the staker based on ECDSA signature.
|
|
2331
|
-
* @param bech32Address - The staker's bech32 address
|
|
2331
|
+
* @param bech32Address - The staker's bech32 address on the babylon chain
|
|
2332
|
+
* @param stakerBtcAddress - The staker's BTC address.
|
|
2332
2333
|
* @returns The proof of possession.
|
|
2333
2334
|
*/
|
|
2334
2335
|
async createProofOfPossession(bech32Address, stakerBtcAddress) {
|
package/dist/index.d.cts
CHANGED
|
@@ -779,10 +779,10 @@ export interface InclusionProof {
|
|
|
779
779
|
blockHashHex: string;
|
|
780
780
|
}
|
|
781
781
|
export declare class BabylonBtcStakingManager {
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
782
|
+
protected stakingParams: VersionedStakingParams[];
|
|
783
|
+
protected btcProvider: BtcProvider;
|
|
784
|
+
protected network: networks.Network;
|
|
785
|
+
protected babylonProvider: BabylonProvider;
|
|
786
786
|
constructor(network: networks.Network, stakingParams: VersionedStakingParams[], btcProvider: BtcProvider, babylonProvider: BabylonProvider);
|
|
787
787
|
/**
|
|
788
788
|
* Creates a signed Pre-Staking Registration transaction that is ready to be
|
|
@@ -930,7 +930,8 @@ export declare class BabylonBtcStakingManager {
|
|
|
930
930
|
createSignedBtcWithdrawSlashingTransaction(stakerBtcInfo: StakerInfo, stakingInput: StakingInputs, stakingParamsVersion: number, slashingTx: Transaction, feeRate: number): Promise<TransactionResult>;
|
|
931
931
|
/**
|
|
932
932
|
* Creates a proof of possession for the staker based on ECDSA signature.
|
|
933
|
-
* @param bech32Address - The staker's bech32 address
|
|
933
|
+
* @param bech32Address - The staker's bech32 address on the babylon chain
|
|
934
|
+
* @param stakerBtcAddress - The staker's BTC address.
|
|
934
935
|
* @returns The proof of possession.
|
|
935
936
|
*/
|
|
936
937
|
createProofOfPossession(bech32Address: string, stakerBtcAddress: string): Promise<ProofOfPossessionBTC>;
|
package/dist/index.js
CHANGED
|
@@ -2262,7 +2262,8 @@ var BabylonBtcStakingManager = class {
|
|
|
2262
2262
|
}
|
|
2263
2263
|
/**
|
|
2264
2264
|
* Creates a proof of possession for the staker based on ECDSA signature.
|
|
2265
|
-
* @param bech32Address - The staker's bech32 address
|
|
2265
|
+
* @param bech32Address - The staker's bech32 address on the babylon chain
|
|
2266
|
+
* @param stakerBtcAddress - The staker's BTC address.
|
|
2266
2267
|
* @returns The proof of possession.
|
|
2267
2268
|
*/
|
|
2268
2269
|
async createProofOfPossession(bech32Address, stakerBtcAddress) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitgo-beta/babylonlabs-io-btc-staking-ts",
|
|
3
|
-
"version": "0.4.0-beta.
|
|
3
|
+
"version": "0.4.0-beta.89",
|
|
4
4
|
"description": "Library exposing methods for the creation and consumption of Bitcoin transactions pertaining to Babylon's Bitcoin Staking protocol.",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "566b32476b2bd7c0421e125e989e80f2c1feb30c"
|
|
49
49
|
}
|