@babylonlabs-io/ts-sdk 0.33.3 → 0.33.4
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/BTCVaultRegistry.abi-DbJ5lsFJ.js +417 -0
- package/dist/BTCVaultRegistry.abi-DbJ5lsFJ.js.map +1 -0
- package/dist/BTCVaultRegistry.abi-ZdPpION2.cjs +2 -0
- package/dist/BTCVaultRegistry.abi-ZdPpION2.cjs.map +1 -0
- package/dist/PayoutManager-C9XHKZ5j.js +200 -0
- package/dist/PayoutManager-C9XHKZ5j.js.map +1 -0
- package/dist/PayoutManager-DDnNB0mj.cjs +2 -0
- package/dist/PayoutManager-DDnNB0mj.cjs.map +1 -0
- package/dist/PeginManager-BXg2S1mH.cjs +2 -0
- package/dist/PeginManager-BXg2S1mH.cjs.map +1 -0
- package/dist/{PeginManager-C-L3huRO.js → PeginManager-C5HaMAcw.js} +328 -437
- package/dist/PeginManager-C5HaMAcw.js.map +1 -0
- package/dist/ProtocolParams.abi-BmvHwQJV.cjs +2 -0
- package/dist/ProtocolParams.abi-BmvHwQJV.cjs.map +1 -0
- package/dist/ProtocolParams.abi-DXu8L0Fn.js +382 -0
- package/dist/ProtocolParams.abi-DXu8L0Fn.js.map +1 -0
- package/dist/buildAndBroadcastRefund-CIPPpchL.cjs +2 -0
- package/dist/buildAndBroadcastRefund-CIPPpchL.cjs.map +1 -0
- package/dist/buildAndBroadcastRefund-D_QlvCsw.js +777 -0
- package/dist/buildAndBroadcastRefund-D_QlvCsw.js.map +1 -0
- package/dist/challengeAssert-BzxQmdZy.js +128 -0
- package/dist/challengeAssert-BzxQmdZy.js.map +1 -0
- package/dist/challengeAssert-Yyyj-EdR.cjs +2 -0
- package/dist/challengeAssert-Yyyj-EdR.cjs.map +1 -0
- package/dist/errors-9AkghWyk.js +22 -0
- package/dist/errors-9AkghWyk.js.map +1 -0
- package/dist/errors-BP73_stm.cjs +2 -0
- package/dist/errors-BP73_stm.cjs.map +1 -0
- package/dist/errors-Bu0H-dZD.cjs +2 -0
- package/dist/errors-Bu0H-dZD.cjs.map +1 -0
- package/dist/errors-CznAK5NB.js +96 -0
- package/dist/errors-CznAK5NB.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +156 -146
- package/dist/index.js.map +1 -1
- package/dist/mempoolApi-CAIge7Nj.js +205 -0
- package/dist/mempoolApi-CAIge7Nj.js.map +1 -0
- package/dist/mempoolApi-YNkKjQCU.cjs +2 -0
- package/dist/mempoolApi-YNkKjQCU.cjs.map +1 -0
- package/dist/noPayout-BXeUw0Qq.cjs +2 -0
- package/dist/noPayout-BXeUw0Qq.cjs.map +1 -0
- package/dist/noPayout-DBX6G96_.js +141 -0
- package/dist/noPayout-DBX6G96_.js.map +1 -0
- package/dist/payout-BNFMBXS6.js +193 -0
- package/dist/payout-BNFMBXS6.js.map +1 -0
- package/dist/payout-DQ_fmJUA.cjs +2 -0
- package/dist/payout-DQ_fmJUA.cjs.map +1 -0
- package/dist/peginInput-C2QPvuhR.js +177 -0
- package/dist/peginInput-C2QPvuhR.js.map +1 -0
- package/dist/peginInput-tbw9BpZy.cjs +2 -0
- package/dist/peginInput-tbw9BpZy.cjs.map +1 -0
- package/dist/peginState-BijNNT15.cjs +2 -0
- package/dist/peginState-BijNNT15.cjs.map +1 -0
- package/dist/peginState-CBAlxgXk.js +51 -0
- package/dist/peginState-CBAlxgXk.js.map +1 -0
- package/dist/psbtInputFields-2224j2ZY.js +128 -0
- package/dist/psbtInputFields-2224j2ZY.js.map +1 -0
- package/dist/psbtInputFields-B1lrwYzH.cjs +2 -0
- package/dist/psbtInputFields-B1lrwYzH.cjs.map +1 -0
- package/dist/reservation-CHUGW0F_.js +142 -0
- package/dist/reservation-CHUGW0F_.js.map +1 -0
- package/dist/reservation-ho7mjW3X.cjs +2 -0
- package/dist/reservation-ho7mjW3X.cjs.map +1 -0
- package/dist/signing-Bnsro0hE.cjs +2 -0
- package/dist/signing-Bnsro0hE.cjs.map +1 -0
- package/dist/signing-DaLvGwQe.js +16 -0
- package/dist/signing-DaLvGwQe.js.map +1 -0
- package/dist/tbv/core/clients/index.cjs +1 -1
- package/dist/tbv/core/clients/index.js +31 -30
- package/dist/tbv/core/clients/index.js.map +1 -1
- package/dist/tbv/core/contracts/index.cjs +2 -0
- package/dist/tbv/core/contracts/index.cjs.map +1 -0
- package/dist/tbv/core/contracts/index.js +14 -0
- package/dist/tbv/core/contracts/index.js.map +1 -0
- package/dist/tbv/core/index.cjs +1 -1
- package/dist/tbv/core/index.js +156 -146
- package/dist/tbv/core/index.js.map +1 -1
- package/dist/tbv/core/managers/index.cjs +2 -0
- package/dist/tbv/core/managers/index.cjs.map +1 -0
- package/dist/tbv/core/managers/index.js +7 -0
- package/dist/tbv/core/managers/index.js.map +1 -0
- package/dist/tbv/core/primitives/index.cjs +1 -1
- package/dist/tbv/core/primitives/index.js +31 -29
- package/dist/tbv/core/primitives/index.js.map +1 -1
- package/dist/tbv/core/services/index.cjs +1 -1
- package/dist/tbv/core/services/index.js +28 -27
- package/dist/tbv/core/services/index.js.map +1 -1
- package/dist/tbv/core/utils/index.cjs +1 -1
- package/dist/tbv/core/utils/index.js +21 -20
- package/dist/tbv/core/utils/index.js.map +1 -1
- package/dist/tbv/index.cjs +1 -1
- package/dist/tbv/index.js +156 -146
- package/dist/tbv/index.js.map +1 -1
- package/dist/types-ByW6nSLj.js +318 -0
- package/dist/types-ByW6nSLj.js.map +1 -0
- package/dist/types-CfCZyfid.cjs +2 -0
- package/dist/types-CfCZyfid.cjs.map +1 -0
- package/dist/vault-registry-reader-OK2V08tk.cjs +2 -0
- package/dist/vault-registry-reader-OK2V08tk.cjs.map +1 -0
- package/dist/{vault-registry-reader-CWGbw_wZ.js → vault-registry-reader-WiNVOsnD.js} +263 -840
- package/dist/vault-registry-reader-WiNVOsnD.js.map +1 -0
- package/package.json +11 -1
- package/dist/PeginManager-C-L3huRO.js.map +0 -1
- package/dist/PeginManager-DmPmzPHz.cjs +0 -2
- package/dist/PeginManager-DmPmzPHz.cjs.map +0 -1
- package/dist/buildAndBroadcastRefund-Dx09Zbla.js +0 -965
- package/dist/buildAndBroadcastRefund-Dx09Zbla.js.map +0 -1
- package/dist/buildAndBroadcastRefund-PmJMNrhO.cjs +0 -2
- package/dist/buildAndBroadcastRefund-PmJMNrhO.cjs.map +0 -1
- package/dist/challengeAssert-D3tHnLWb.js +0 -298
- package/dist/challengeAssert-D3tHnLWb.js.map +0 -1
- package/dist/challengeAssert-Dp9d1bg1.cjs +0 -2
- package/dist/challengeAssert-Dp9d1bg1.cjs.map +0 -1
- package/dist/noPayout-BnsetBKW.js +0 -327
- package/dist/noPayout-BnsetBKW.js.map +0 -1
- package/dist/noPayout-DWaCtpMU.cjs +0 -2
- package/dist/noPayout-DWaCtpMU.cjs.map +0 -1
- package/dist/psbtInputFields-6sRcZqdb.cjs +0 -2
- package/dist/psbtInputFields-6sRcZqdb.cjs.map +0 -1
- package/dist/psbtInputFields-C5QPn1YK.js +0 -264
- package/dist/psbtInputFields-C5QPn1YK.js.map +0 -1
- package/dist/signing-BZigafm0.js +0 -64
- package/dist/signing-BZigafm0.js.map +0 -1
- package/dist/signing-DHSXjhLM.cjs +0 -2
- package/dist/signing-DHSXjhLM.cjs.map +0 -1
- package/dist/types-PthVHz5q.cjs +0 -2
- package/dist/types-PthVHz5q.cjs.map +0 -1
- package/dist/types-SYvSQWnc.js +0 -732
- package/dist/types-SYvSQWnc.js.map +0 -1
- package/dist/vault-registry-reader-CKe9TbX6.cjs +0 -2
- package/dist/vault-registry-reader-CKe9TbX6.cjs.map +0 -1
- package/dist/vault-registry-reader-CWGbw_wZ.js.map +0 -1
|
@@ -1,35 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { computeMinClaimValue as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { a as s, b as t, c as r } from "../../../challengeAssert-BzxQmdZy.js";
|
|
2
|
+
import { computeMinClaimValue as o, deriveVaultId as u } from "@babylonlabs-io/babylon-tbv-rust-wasm";
|
|
3
|
+
import { c as d, a as l, b, e as n, f as p } from "../../../peginInput-C2QPvuhR.js";
|
|
4
|
+
import { a as c, b as f } from "../../../noPayout-DBX6G96_.js";
|
|
5
|
+
import { a as y, b as g, c as h, e as v } from "../../../payout-BNFMBXS6.js";
|
|
6
|
+
import { d as T, a as S, e as H, f as I, h as C, i as F, b as N, p as O, s as V, t as K, u as M, v as R } from "../../../bitcoin-B0S8SHCX.js";
|
|
5
7
|
export {
|
|
6
|
-
|
|
8
|
+
y as assertPayoutOutputMatchesRegistered,
|
|
7
9
|
s as buildChallengeAssertPsbt,
|
|
8
10
|
t as buildDepositorPayoutPsbt,
|
|
9
|
-
|
|
11
|
+
c as buildNoPayoutPsbt,
|
|
10
12
|
g as buildPayoutPsbt,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
13
|
+
d as buildPeginInputPsbt,
|
|
14
|
+
l as buildPeginTxFromFundedPrePegin,
|
|
15
|
+
b as buildPrePeginPsbt,
|
|
16
|
+
f as buildRefundPsbt,
|
|
17
|
+
o as computeMinClaimValue,
|
|
18
|
+
r as computeNumLocalChallengers,
|
|
19
|
+
h as createPayoutScript,
|
|
20
|
+
T as deriveNativeSegwitAddress,
|
|
21
|
+
S as deriveTaprootAddress,
|
|
22
|
+
u as deriveVaultId,
|
|
23
|
+
H as ensureHexPrefix,
|
|
24
|
+
v as extractPayoutSignature,
|
|
25
|
+
n as extractPeginInputSignature,
|
|
26
|
+
p as finalizePeginInputPsbt,
|
|
27
|
+
I as formatSatoshisToBtc,
|
|
28
|
+
C as hexToUint8Array,
|
|
29
|
+
F as isAddressFromPublicKey,
|
|
30
|
+
N as isValidHex,
|
|
31
|
+
O as processPublicKeyToXOnly,
|
|
32
|
+
V as stripHexPrefix,
|
|
33
|
+
K as toXOnly,
|
|
34
|
+
M as uint8ArrayToHex,
|
|
35
|
+
R as validateWalletPubkey
|
|
34
36
|
};
|
|
35
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../buildAndBroadcastRefund-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../PayoutManager-DDnNB0mj.cjs"),t=require("../../../buildAndBroadcastRefund-CIPPpchL.cjs"),e=require("../../../peginState-BijNNT15.cjs");exports.computeHashlock=a.computeHashlock;exports.validateSecretAgainstHashlock=a.validateSecretAgainstHashlock;exports.BIP68NotMatureError=t.BIP68NotMatureError;exports.ClaimerPegoutStatusValue=t.ClaimerPegoutStatusValue;exports.REFUND_VSIZE=t.REFUND_VSIZE;exports.activateVault=t.activateVault;exports.buildAndBroadcastRefund=t.buildAndBroadcastRefund;exports.estimateRefundFeeSats=t.estimateRefundFeeSats;exports.isDepositAmountValid=t.isDepositAmountValid;exports.isPegoutTerminalStatus=t.isPegoutTerminalStatus;exports.isRecognizedPegoutStatus=t.isRecognizedPegoutStatus;exports.runDepositorPresignFlow=t.runDepositorPresignFlow;exports.signDepositorGraph=t.signDepositorGraph;exports.submitWotsPublicKey=t.submitWotsPublicKey;exports.validateDepositAmount=t.validateDepositAmount;exports.validateMultiVaultDepositInputs=t.validateMultiVaultDepositInputs;exports.validateProviderSelection=t.validateProviderSelection;exports.validateRemainingCapacity=t.validateRemainingCapacity;exports.validateVaultAmounts=t.validateVaultAmounts;exports.validateVaultProviderPubkey=t.validateVaultProviderPubkey;exports.waitForPeginStatus=t.waitForPeginStatus;exports.ContractStatus=e.ContractStatus;exports.PeginAction=e.PeginAction;exports.canPerformAction=e.canPerformAction;exports.getPeginProtocolState=e.getPeginProtocolState;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,30 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C,
|
|
1
|
+
import { c as s, v as e } from "../../../PayoutManager-C9XHKZ5j.js";
|
|
2
|
+
import { B as o, C as r, R as u, a as l, k as n, l as c, i as d, j as P, h as g, r as m, b as p, s as v, v as S, g as f, d as A, c as V, e as D, f as R, w as b } from "../../../buildAndBroadcastRefund-D_QlvCsw.js";
|
|
3
|
+
import { C as h, P as k, c as F, g as w } from "../../../peginState-CBAlxgXk.js";
|
|
3
4
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
5
|
+
o as BIP68NotMatureError,
|
|
6
|
+
r as ClaimerPegoutStatusValue,
|
|
7
|
+
h as ContractStatus,
|
|
8
|
+
k as PeginAction,
|
|
9
|
+
u as REFUND_VSIZE,
|
|
10
|
+
l as activateVault,
|
|
11
|
+
n as buildAndBroadcastRefund,
|
|
12
|
+
F as canPerformAction,
|
|
13
|
+
s as computeHashlock,
|
|
14
|
+
c as estimateRefundFeeSats,
|
|
15
|
+
w as getPeginProtocolState,
|
|
16
|
+
d as isDepositAmountValid,
|
|
17
|
+
P as isPegoutTerminalStatus,
|
|
18
|
+
g as isRecognizedPegoutStatus,
|
|
19
|
+
m as runDepositorPresignFlow,
|
|
20
|
+
p as signDepositorGraph,
|
|
21
|
+
v as submitWotsPublicKey,
|
|
22
|
+
S as validateDepositAmount,
|
|
23
|
+
f as validateMultiVaultDepositInputs,
|
|
24
|
+
A as validateProviderSelection,
|
|
25
|
+
V as validateRemainingCapacity,
|
|
26
|
+
e as validateSecretAgainstHashlock,
|
|
27
|
+
D as validateVaultAmounts,
|
|
28
|
+
R as validateVaultProviderPubkey,
|
|
29
|
+
b as waitForPeginStatus
|
|
29
30
|
};
|
|
30
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("../../../signing-Bnsro0hE.cjs"),_=require("../../../validation-u8W7Lp2x.cjs"),t=require("../../../fundPeginTransaction-DaWoYCgO.cjs"),T=require("../../../reservation-ho7mjW3X.cjs"),e=require("../../../psbtInputFields-B1lrwYzH.cjs"),r=require("../../../bitcoin-B3aqjuMP.cjs");exports.createTaprootScriptPathSignOptions=E.createTaprootScriptPathSignOptions;exports.BITCOIN_ADDRESS_RE=_.BITCOIN_ADDRESS_RE;exports.HEX_RE=_.HEX_RE;exports.KNOWN_SCRIPT_PREFIXES=_.KNOWN_SCRIPT_PREFIXES;exports.MAX_REASONABLE_FEE_SATS=_.MAX_REASONABLE_FEE_SATS;exports.TXID_RE=_.TXID_RE;exports.BTC_DUST_SAT=t.BTC_DUST_SAT;exports.DUST_THRESHOLD=t.DUST_THRESHOLD;exports.FEE_SAFETY_MARGIN=t.FEE_SAFETY_MARGIN;exports.LOW_RATE_ESTIMATION_ACCURACY_BUFFER=t.LOW_RATE_ESTIMATION_ACCURACY_BUFFER;exports.MAX_NON_LEGACY_OUTPUT_SIZE=t.MAX_NON_LEGACY_OUTPUT_SIZE;exports.P2TR_INPUT_SIZE=t.P2TR_INPUT_SIZE;exports.PEGIN_AUTH_ANCHOR_OUTPUTS=t.PEGIN_AUTH_ANCHOR_OUTPUTS;exports.PEGIN_FIXED_OUTPUTS=t.PEGIN_FIXED_OUTPUTS;exports.SPLIT_TX_FEE_SAFETY_MULTIPLIER=t.SPLIT_TX_FEE_SAFETY_MULTIPLIER;exports.TX_BUFFER_SIZE_OVERHEAD=t.TX_BUFFER_SIZE_OVERHEAD;exports.WALLET_RELAY_FEE_RATE_THRESHOLD=t.WALLET_RELAY_FEE_RATE_THRESHOLD;exports.fundPeginTransaction=t.fundPeginTransaction;exports.parseUnfundedWasmTransaction=t.parseUnfundedWasmTransaction;exports.peginOutputCount=t.peginOutputCount;exports.rateBasedTxBufferFee=t.rateBasedTxBufferFee;exports.UtxoNotAvailableError=T.UtxoNotAvailableError;exports.assertUtxosAvailable=T.assertUtxosAvailable;exports.collectReservedUtxoRefs=T.collectReservedUtxoRefs;exports.extractInputsFromTransaction=T.extractInputsFromTransaction;exports.selectUtxosForDeposit=T.selectUtxosForDeposit;exports.validateUtxosAvailable=T.validateUtxosAvailable;exports.BitcoinScriptType=e.BitcoinScriptType;exports.calculateBtcTxHash=e.calculateBtcTxHash;exports.getDustThreshold=e.getDustThreshold;exports.getPsbtInputFields=e.getPsbtInputFields;exports.getScriptType=e.getScriptType;exports.selectUtxosForPegin=e.selectUtxosForPegin;exports.shouldAddChangeOutput=e.shouldAddChangeOutput;exports.getNetwork=r.getNetwork;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,43 +1,44 @@
|
|
|
1
|
-
import { c as t } from "../../../signing-
|
|
1
|
+
import { c as t } from "../../../signing-DaLvGwQe.js";
|
|
2
2
|
import { B as T, H as _, K as E, M as o, T as r } from "../../../validation-CxqROCno.js";
|
|
3
|
-
import { B as A, D as R, F as U, L as
|
|
4
|
-
import {
|
|
5
|
-
import { g as
|
|
3
|
+
import { B as A, D as R, F as U, L as p, M as c, P as I, b as i, a as n, S as F, T as l, W as O, f as P, c as x, p as N, r as u } from "../../../fundPeginTransaction-oV-dNJOU.js";
|
|
4
|
+
import { U as f, a as B, c as D, e as L, s as g, v as C } from "../../../reservation-CHUGW0F_.js";
|
|
5
|
+
import { B as m, c as X, g as M, d as b, b as h, s as v, a as W } from "../../../psbtInputFields-2224j2ZY.js";
|
|
6
|
+
import { g as G } from "../../../bitcoin-B0S8SHCX.js";
|
|
6
7
|
export {
|
|
7
8
|
T as BITCOIN_ADDRESS_RE,
|
|
8
9
|
A as BTC_DUST_SAT,
|
|
9
|
-
|
|
10
|
+
m as BitcoinScriptType,
|
|
10
11
|
R as DUST_THRESHOLD,
|
|
11
12
|
U as FEE_SAFETY_MARGIN,
|
|
12
13
|
_ as HEX_RE,
|
|
13
14
|
E as KNOWN_SCRIPT_PREFIXES,
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
p as LOW_RATE_ESTIMATION_ACCURACY_BUFFER,
|
|
16
|
+
c as MAX_NON_LEGACY_OUTPUT_SIZE,
|
|
16
17
|
o as MAX_REASONABLE_FEE_SATS,
|
|
17
18
|
I as P2TR_INPUT_SIZE,
|
|
18
|
-
|
|
19
|
+
i as PEGIN_AUTH_ANCHOR_OUTPUTS,
|
|
19
20
|
n as PEGIN_FIXED_OUTPUTS,
|
|
20
21
|
F as SPLIT_TX_FEE_SAFETY_MULTIPLIER,
|
|
21
22
|
r as TXID_RE,
|
|
22
23
|
l as TX_BUFFER_SIZE_OVERHEAD,
|
|
23
|
-
|
|
24
|
+
f as UtxoNotAvailableError,
|
|
24
25
|
O as WALLET_RELAY_FEE_RATE_THRESHOLD,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
B as assertUtxosAvailable,
|
|
27
|
+
X as calculateBtcTxHash,
|
|
28
|
+
D as collectReservedUtxoRefs,
|
|
28
29
|
t as createTaprootScriptPathSignOptions,
|
|
29
|
-
|
|
30
|
+
L as extractInputsFromTransaction,
|
|
30
31
|
P as fundPeginTransaction,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
M as getDustThreshold,
|
|
33
|
+
G as getNetwork,
|
|
34
|
+
b as getPsbtInputFields,
|
|
34
35
|
h as getScriptType,
|
|
35
36
|
x as parseUnfundedWasmTransaction,
|
|
36
37
|
N as peginOutputCount,
|
|
37
38
|
u as rateBasedTxBufferFee,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
g as selectUtxosForDeposit,
|
|
40
|
+
v as selectUtxosForPegin,
|
|
41
|
+
W as shouldAddChangeOutput,
|
|
42
|
+
C as validateUtxosAvailable
|
|
42
43
|
};
|
|
43
44
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
package/dist/tbv/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("../challengeAssert-Yyyj-EdR.cjs"),E=require("@babylonlabs-io/babylon-tbv-rust-wasm"),l=require("../peginInput-tbw9BpZy.cjs"),A=require("../noPayout-BXeUw0Qq.cjs"),P=require("../payout-DQ_fmJUA.cjs"),o=require("../bitcoin-B3aqjuMP.cjs"),_=require("../signing-Bnsro0hE.cjs"),d=require("../validation-u8W7Lp2x.cjs"),i=require("../PeginManager-BXg2S1mH.cjs"),p=require("../PayoutManager-DDnNB0mj.cjs"),R=require("../ProtocolParams.abi-BmvHwQJV.cjs"),I=require("../BTCVaultRegistry.abi-ZdPpION2.cjs"),c=require("../errors-BP73_stm.cjs"),t=require("../fundPeginTransaction-DaWoYCgO.cjs"),u=require("../reservation-ho7mjW3X.cjs"),n=require("../psbtInputFields-B1lrwYzH.cjs"),a=require("../mempoolApi-YNkKjQCU.cjs"),r=require("../vault-registry-reader-OK2V08tk.cjs"),s=require("../types-CfCZyfid.cjs"),g=require("../errors-Bu0H-dZD.cjs"),e=require("../buildAndBroadcastRefund-CIPPpchL.cjs"),T=require("../peginState-BijNNT15.cjs");exports.buildChallengeAssertPsbt=S.buildChallengeAssertPsbt;exports.buildDepositorPayoutPsbt=S.buildDepositorPayoutPsbt;exports.computeNumLocalChallengers=S.computeNumLocalChallengers;Object.defineProperty(exports,"computeMinClaimValue",{enumerable:!0,get:()=>E.computeMinClaimValue});Object.defineProperty(exports,"deriveVaultId",{enumerable:!0,get:()=>E.deriveVaultId});exports.buildPeginInputPsbt=l.buildPeginInputPsbt;exports.buildPeginTxFromFundedPrePegin=l.buildPeginTxFromFundedPrePegin;exports.buildPrePeginPsbt=l.buildPrePeginPsbt;exports.extractPeginInputSignature=l.extractPeginInputSignature;exports.finalizePeginInputPsbt=l.finalizePeginInputPsbt;exports.buildNoPayoutPsbt=A.buildNoPayoutPsbt;exports.buildRefundPsbt=A.buildRefundPsbt;exports.assertPayoutOutputMatchesRegistered=P.assertPayoutOutputMatchesRegistered;exports.buildPayoutPsbt=P.buildPayoutPsbt;exports.createPayoutScript=P.createPayoutScript;exports.extractPayoutSignature=P.extractPayoutSignature;exports.deriveNativeSegwitAddress=o.deriveNativeSegwitAddress;exports.deriveTaprootAddress=o.deriveTaprootAddress;exports.ensureHexPrefix=o.ensureHexPrefix;exports.formatSatoshisToBtc=o.formatSatoshisToBtc;exports.getNetwork=o.getNetwork;exports.hexToUint8Array=o.hexToUint8Array;exports.isAddressFromPublicKey=o.isAddressFromPublicKey;exports.isValidHex=o.isValidHex;exports.processPublicKeyToXOnly=o.processPublicKeyToXOnly;exports.stripHexPrefix=o.stripHexPrefix;exports.toXOnly=o.toXOnly;exports.uint8ArrayToHex=o.uint8ArrayToHex;exports.validateWalletPubkey=o.validateWalletPubkey;exports.createTaprootScriptPathSignOptions=_.createTaprootScriptPathSignOptions;exports.BITCOIN_ADDRESS_RE=d.BITCOIN_ADDRESS_RE;exports.HEX_RE=d.HEX_RE;exports.KNOWN_SCRIPT_PREFIXES=d.KNOWN_SCRIPT_PREFIXES;exports.MAX_REASONABLE_FEE_SATS=d.MAX_REASONABLE_FEE_SATS;exports.TXID_RE=d.TXID_RE;exports.PeginManager=i.PeginManager;exports.VAULT_APP_NAME=i.VAULT_APP_NAME;exports.buildFundingOutpointsCommitment=i.buildFundingOutpointsCommitment;exports.buildVaultContext=i.buildVaultContext;exports.computeWotsBlockPublicKeysHash=i.computeWotsBlockPublicKeysHash;exports.deriveVaultRoot=i.deriveVaultRoot;exports.deriveWotsBlocksFromSeed=i.deriveWotsBlocksFromSeed;exports.expandAuthAnchor=i.expandAuthAnchor;exports.expandHashlockSecret=i.expandHashlockSecret;exports.expandWotsSeed=i.expandWotsSeed;exports.PayoutManager=p.PayoutManager;exports.computeHashlock=p.computeHashlock;exports.validateSecretAgainstHashlock=p.validateSecretAgainstHashlock;exports.ApplicationRegistryABI=R.ApplicationRegistryABI;exports.ProtocolParamsABI=R.ProtocolParamsABI;exports.BTCVaultRegistryABI=I.BTCVaultRegistryABI;exports.CONTRACT_ERRORS=c.CONTRACT_ERRORS;exports.extractErrorData=c.extractErrorData;exports.getContractErrorMessage=c.getContractErrorMessage;exports.handleContractError=c.handleContractError;exports.isKnownContractError=c.isKnownContractError;exports.BTC_DUST_SAT=t.BTC_DUST_SAT;exports.DUST_THRESHOLD=t.DUST_THRESHOLD;exports.FEE_SAFETY_MARGIN=t.FEE_SAFETY_MARGIN;exports.LOW_RATE_ESTIMATION_ACCURACY_BUFFER=t.LOW_RATE_ESTIMATION_ACCURACY_BUFFER;exports.MAX_NON_LEGACY_OUTPUT_SIZE=t.MAX_NON_LEGACY_OUTPUT_SIZE;exports.P2TR_INPUT_SIZE=t.P2TR_INPUT_SIZE;exports.PEGIN_AUTH_ANCHOR_OUTPUTS=t.PEGIN_AUTH_ANCHOR_OUTPUTS;exports.PEGIN_FIXED_OUTPUTS=t.PEGIN_FIXED_OUTPUTS;exports.SPLIT_TX_FEE_SAFETY_MULTIPLIER=t.SPLIT_TX_FEE_SAFETY_MULTIPLIER;exports.TX_BUFFER_SIZE_OVERHEAD=t.TX_BUFFER_SIZE_OVERHEAD;exports.WALLET_RELAY_FEE_RATE_THRESHOLD=t.WALLET_RELAY_FEE_RATE_THRESHOLD;exports.fundPeginTransaction=t.fundPeginTransaction;exports.parseUnfundedWasmTransaction=t.parseUnfundedWasmTransaction;exports.peginOutputCount=t.peginOutputCount;exports.rateBasedTxBufferFee=t.rateBasedTxBufferFee;exports.UtxoNotAvailableError=u.UtxoNotAvailableError;exports.assertUtxosAvailable=u.assertUtxosAvailable;exports.collectReservedUtxoRefs=u.collectReservedUtxoRefs;exports.extractInputsFromTransaction=u.extractInputsFromTransaction;exports.selectUtxosForDeposit=u.selectUtxosForDeposit;exports.validateUtxosAvailable=u.validateUtxosAvailable;exports.BitcoinScriptType=n.BitcoinScriptType;exports.calculateBtcTxHash=n.calculateBtcTxHash;exports.getDustThreshold=n.getDustThreshold;exports.getPsbtInputFields=n.getPsbtInputFields;exports.getScriptType=n.getScriptType;exports.selectUtxosForPegin=n.selectUtxosForPegin;exports.shouldAddChangeOutput=n.shouldAddChangeOutput;exports.MEMPOOL_API_URLS=a.MEMPOOL_API_URLS;exports.getAddressTxs=a.getAddressTxs;exports.getAddressUtxos=a.getAddressUtxos;exports.getMempoolApiUrl=a.getMempoolApiUrl;exports.getNetworkFees=a.getNetworkFees;exports.getTxHex=a.getTxHex;exports.getTxInfo=a.getTxInfo;exports.getUtxoInfo=a.getUtxoInfo;exports.pushTx=a.pushTx;exports.ServerIdentityError=r.ServerIdentityError;exports.VaultProviderRpcClient=r.VaultProviderRpcClient;exports.ViemProtocolParamsReader=r.ViemProtocolParamsReader;exports.ViemUniversalChallengerReader=r.ViemUniversalChallengerReader;exports.ViemVaultKeeperReader=r.ViemVaultKeeperReader;exports.ViemVaultRegistryReader=r.ViemVaultRegistryReader;exports.VpResponseValidationError=r.VpResponseValidationError;exports.VpTokenRegistry=r.VpTokenRegistry;exports.createAuthenticatedVpClient=r.createAuthenticatedVpClient;exports.primeVpTokenRegistry=r.primeVpTokenRegistry;exports.resolveProtocolAddresses=r.resolveProtocolAddresses;exports.validateRequestDepositorClaimerArtifactsResponse=r.validateRequestDepositorClaimerArtifactsResponse;exports.verifyServerIdentity=r.verifyServerIdentity;exports.vpTokenRegistry=r.vpTokenRegistry;exports.DaemonStatus=s.DaemonStatus;exports.JSON_RPC_ERROR_CODES=s.JSON_RPC_ERROR_CODES;exports.JsonRpcClient=s.JsonRpcClient;exports.JsonRpcError=s.JsonRpcError;exports.POST_WOTS_STATUSES=s.POST_WOTS_STATUSES;exports.PRE_DEPOSITOR_SIGNATURES_STATES=s.PRE_DEPOSITOR_SIGNATURES_STATES;exports.RpcErrorCode=s.RpcErrorCode;exports.VP_TERMINAL_STATUSES=s.VP_TERMINAL_STATUSES;exports.VP_TRANSIENT_STATUSES=s.VP_TRANSIENT_STATUSES;exports.isWotsMismatchError=g.isWotsMismatchError;exports.parseFundingOutpointsFromTx=g.parseFundingOutpointsFromTx;exports.BIP68NotMatureError=e.BIP68NotMatureError;exports.ClaimerPegoutStatusValue=e.ClaimerPegoutStatusValue;exports.REFUND_VSIZE=e.REFUND_VSIZE;exports.activateVault=e.activateVault;exports.buildAndBroadcastRefund=e.buildAndBroadcastRefund;exports.estimateRefundFeeSats=e.estimateRefundFeeSats;exports.isDepositAmountValid=e.isDepositAmountValid;exports.isPegoutTerminalStatus=e.isPegoutTerminalStatus;exports.isRecognizedPegoutStatus=e.isRecognizedPegoutStatus;exports.runDepositorPresignFlow=e.runDepositorPresignFlow;exports.signDepositorGraph=e.signDepositorGraph;exports.submitWotsPublicKey=e.submitWotsPublicKey;exports.validateDepositAmount=e.validateDepositAmount;exports.validateMultiVaultDepositInputs=e.validateMultiVaultDepositInputs;exports.validateProviderSelection=e.validateProviderSelection;exports.validateRemainingCapacity=e.validateRemainingCapacity;exports.validateVaultAmounts=e.validateVaultAmounts;exports.validateVaultProviderPubkey=e.validateVaultProviderPubkey;exports.waitForPeginStatus=e.waitForPeginStatus;exports.ContractStatus=T.ContractStatus;exports.PeginAction=T.PeginAction;exports.canPerformAction=T.canPerformAction;exports.getPeginProtocolState=T.getPeginProtocolState;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/tbv/index.js
CHANGED
|
@@ -1,156 +1,166 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { computeMinClaimValue as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { B as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { A as
|
|
12
|
-
import { B as
|
|
1
|
+
import { a as s, b as t, c as r } from "../challengeAssert-BzxQmdZy.js";
|
|
2
|
+
import { computeMinClaimValue as i, deriveVaultId as n } from "@babylonlabs-io/babylon-tbv-rust-wasm";
|
|
3
|
+
import { c as u, a as d, b as p, e as P, f as c } from "../peginInput-C2QPvuhR.js";
|
|
4
|
+
import { a as S, b as E } from "../noPayout-DBX6G96_.js";
|
|
5
|
+
import { a as R, b as g, c as m, e as _ } from "../payout-BNFMBXS6.js";
|
|
6
|
+
import { d as f, a as b, e as I, f as v, g as C, h as U, i as O, b as V, p as F, s as y, t as h, u as N, v as D } from "../bitcoin-B0S8SHCX.js";
|
|
7
|
+
import { c as M } from "../signing-DaLvGwQe.js";
|
|
8
|
+
import { B as L, H as k, K as W, M as X, T as K } from "../validation-CxqROCno.js";
|
|
9
|
+
import { P as G, V as Y, f as J, g as Z, c as z, h as j, d as q, e as Q, a as $, b as aa } from "../PeginManager-C5HaMAcw.js";
|
|
10
|
+
import { P as sa, c as ta, v as ra } from "../PayoutManager-C9XHKZ5j.js";
|
|
11
|
+
import { A as ia, P as na } from "../ProtocolParams.abi-DXu8L0Fn.js";
|
|
12
|
+
import { B as ua } from "../BTCVaultRegistry.abi-DbJ5lsFJ.js";
|
|
13
|
+
import { C as pa, e as Pa, g as ca, h as Ta, i as Sa } from "../errors-CznAK5NB.js";
|
|
14
|
+
import { B as Aa, D as Ra, F as ga, L as ma, M as _a, P as xa, b as fa, a as ba, S as Ia, T as va, W as Ca, f as Ua, c as Oa, p as Va, r as Fa } from "../fundPeginTransaction-oV-dNJOU.js";
|
|
15
|
+
import { U as ha, a as Na, c as Da, e as Ba, s as Ma, v as Ha } from "../reservation-CHUGW0F_.js";
|
|
16
|
+
import { B as ka, c as Wa, g as Xa, d as Ka, b as wa, s as Ga, a as Ya } from "../psbtInputFields-2224j2ZY.js";
|
|
17
|
+
import { M as Za, g as za, a as ja, b as qa, c as Qa, d as $a, e as ae, f as ee, p as se } from "../mempoolApi-CAIge7Nj.js";
|
|
18
|
+
import { S as re, V as oe, f as ie, g as ne, h as le, i as ue, a as de, c as pe, e as Pe, p as ce, r as Te, v as Se, b as Ee, d as Ae } from "../vault-registry-reader-WiNVOsnD.js";
|
|
19
|
+
import { D as ge, b as me, J as _e, a as xe, d as fe, P as be, R as Ie, c as ve, V as Ce } from "../types-ByW6nSLj.js";
|
|
20
|
+
import { i as Oe, p as Ve } from "../errors-9AkghWyk.js";
|
|
21
|
+
import { B as ye, C as he, R as Ne, a as De, k as Be, l as Me, i as He, j as Le, h as ke, r as We, b as Xe, s as Ke, v as we, g as Ge, d as Ye, c as Je, e as Ze, f as ze, w as je } from "../buildAndBroadcastRefund-D_QlvCsw.js";
|
|
22
|
+
import { C as Qe, P as $e, c as as, g as es } from "../peginState-CBAlxgXk.js";
|
|
13
23
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
ia as ApplicationRegistryABI,
|
|
25
|
+
ye as BIP68NotMatureError,
|
|
26
|
+
L as BITCOIN_ADDRESS_RE,
|
|
27
|
+
ua as BTCVaultRegistryABI,
|
|
28
|
+
Aa as BTC_DUST_SAT,
|
|
29
|
+
ka as BitcoinScriptType,
|
|
30
|
+
pa as CONTRACT_ERRORS,
|
|
31
|
+
he as ClaimerPegoutStatusValue,
|
|
32
|
+
Qe as ContractStatus,
|
|
33
|
+
Ra as DUST_THRESHOLD,
|
|
34
|
+
ge as DaemonStatus,
|
|
35
|
+
ga as FEE_SAFETY_MARGIN,
|
|
36
|
+
k as HEX_RE,
|
|
37
|
+
me as JSON_RPC_ERROR_CODES,
|
|
38
|
+
_e as JsonRpcClient,
|
|
39
|
+
xe as JsonRpcError,
|
|
40
|
+
W as KNOWN_SCRIPT_PREFIXES,
|
|
41
|
+
ma as LOW_RATE_ESTIMATION_ACCURACY_BUFFER,
|
|
32
42
|
_a as MAX_NON_LEGACY_OUTPUT_SIZE,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
43
|
+
X as MAX_REASONABLE_FEE_SATS,
|
|
44
|
+
Za as MEMPOOL_API_URLS,
|
|
45
|
+
xa as P2TR_INPUT_SIZE,
|
|
46
|
+
fa as PEGIN_AUTH_ANCHOR_OUTPUTS,
|
|
37
47
|
ba as PEGIN_FIXED_OUTPUTS,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
48
|
+
fe as POST_WOTS_STATUSES,
|
|
49
|
+
be as PRE_DEPOSITOR_SIGNATURES_STATES,
|
|
50
|
+
sa as PayoutManager,
|
|
51
|
+
$e as PeginAction,
|
|
52
|
+
G as PeginManager,
|
|
53
|
+
na as ProtocolParamsABI,
|
|
54
|
+
Ne as REFUND_VSIZE,
|
|
55
|
+
Ie as RpcErrorCode,
|
|
46
56
|
Ia as SPLIT_TX_FEE_SAFETY_MULTIPLIER,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
re as ServerIdentityError,
|
|
58
|
+
K as TXID_RE,
|
|
59
|
+
va as TX_BUFFER_SIZE_OVERHEAD,
|
|
60
|
+
ha as UtxoNotAvailableError,
|
|
61
|
+
Y as VAULT_APP_NAME,
|
|
62
|
+
ve as VP_TERMINAL_STATUSES,
|
|
63
|
+
Ce as VP_TRANSIENT_STATUSES,
|
|
64
|
+
oe as VaultProviderRpcClient,
|
|
65
|
+
ie as ViemProtocolParamsReader,
|
|
66
|
+
ne as ViemUniversalChallengerReader,
|
|
67
|
+
le as ViemVaultKeeperReader,
|
|
68
|
+
ue as ViemVaultRegistryReader,
|
|
69
|
+
de as VpResponseValidationError,
|
|
70
|
+
pe as VpTokenRegistry,
|
|
61
71
|
Ca as WALLET_RELAY_FEE_RATE_THRESHOLD,
|
|
62
|
-
|
|
63
|
-
|
|
72
|
+
De as activateVault,
|
|
73
|
+
R as assertPayoutOutputMatchesRegistered,
|
|
64
74
|
Na as assertUtxosAvailable,
|
|
65
|
-
|
|
66
|
-
|
|
75
|
+
Be as buildAndBroadcastRefund,
|
|
76
|
+
s as buildChallengeAssertPsbt,
|
|
67
77
|
t as buildDepositorPayoutPsbt,
|
|
68
|
-
|
|
78
|
+
J as buildFundingOutpointsCommitment,
|
|
69
79
|
S as buildNoPayoutPsbt,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
80
|
+
g as buildPayoutPsbt,
|
|
81
|
+
u as buildPeginInputPsbt,
|
|
82
|
+
d as buildPeginTxFromFundedPrePegin,
|
|
83
|
+
p as buildPrePeginPsbt,
|
|
84
|
+
E as buildRefundPsbt,
|
|
85
|
+
Z as buildVaultContext,
|
|
86
|
+
Wa as calculateBtcTxHash,
|
|
87
|
+
as as canPerformAction,
|
|
88
|
+
Da as collectReservedUtxoRefs,
|
|
89
|
+
ta as computeHashlock,
|
|
90
|
+
i as computeMinClaimValue,
|
|
91
|
+
r as computeNumLocalChallengers,
|
|
92
|
+
z as computeWotsBlockPublicKeysHash,
|
|
93
|
+
Pe as createAuthenticatedVpClient,
|
|
94
|
+
m as createPayoutScript,
|
|
95
|
+
M as createTaprootScriptPathSignOptions,
|
|
96
|
+
f as deriveNativeSegwitAddress,
|
|
97
|
+
b as deriveTaprootAddress,
|
|
98
|
+
n as deriveVaultId,
|
|
99
|
+
j as deriveVaultRoot,
|
|
100
|
+
q as deriveWotsBlocksFromSeed,
|
|
101
|
+
I as ensureHexPrefix,
|
|
102
|
+
Me as estimateRefundFeeSats,
|
|
103
|
+
Q as expandAuthAnchor,
|
|
104
|
+
$ as expandHashlockSecret,
|
|
105
|
+
aa as expandWotsSeed,
|
|
106
|
+
Pa as extractErrorData,
|
|
107
|
+
Ba as extractInputsFromTransaction,
|
|
108
|
+
_ as extractPayoutSignature,
|
|
109
|
+
P as extractPeginInputSignature,
|
|
110
|
+
c as finalizePeginInputPsbt,
|
|
111
|
+
v as formatSatoshisToBtc,
|
|
112
|
+
Ua as fundPeginTransaction,
|
|
113
|
+
za as getAddressTxs,
|
|
114
|
+
ja as getAddressUtxos,
|
|
115
|
+
ca as getContractErrorMessage,
|
|
116
|
+
Xa as getDustThreshold,
|
|
117
|
+
qa as getMempoolApiUrl,
|
|
118
|
+
C as getNetwork,
|
|
119
|
+
Qa as getNetworkFees,
|
|
120
|
+
es as getPeginProtocolState,
|
|
121
|
+
Ka as getPsbtInputFields,
|
|
122
|
+
wa as getScriptType,
|
|
123
|
+
$a as getTxHex,
|
|
124
|
+
ae as getTxInfo,
|
|
125
|
+
ee as getUtxoInfo,
|
|
126
|
+
Ta as handleContractError,
|
|
127
|
+
U as hexToUint8Array,
|
|
128
|
+
O as isAddressFromPublicKey,
|
|
129
|
+
He as isDepositAmountValid,
|
|
130
|
+
Sa as isKnownContractError,
|
|
131
|
+
Le as isPegoutTerminalStatus,
|
|
132
|
+
ke as isRecognizedPegoutStatus,
|
|
133
|
+
V as isValidHex,
|
|
134
|
+
Oe as isWotsMismatchError,
|
|
135
|
+
Ve as parseFundingOutpointsFromTx,
|
|
136
|
+
Oa as parseUnfundedWasmTransaction,
|
|
137
|
+
Va as peginOutputCount,
|
|
138
|
+
ce as primeVpTokenRegistry,
|
|
139
|
+
F as processPublicKeyToXOnly,
|
|
140
|
+
se as pushTx,
|
|
141
|
+
Fa as rateBasedTxBufferFee,
|
|
142
|
+
Te as resolveProtocolAddresses,
|
|
143
|
+
We as runDepositorPresignFlow,
|
|
144
|
+
Ma as selectUtxosForDeposit,
|
|
145
|
+
Ga as selectUtxosForPegin,
|
|
146
|
+
Ya as shouldAddChangeOutput,
|
|
147
|
+
Xe as signDepositorGraph,
|
|
148
|
+
y as stripHexPrefix,
|
|
149
|
+
Ke as submitWotsPublicKey,
|
|
150
|
+
h as toXOnly,
|
|
151
|
+
N as uint8ArrayToHex,
|
|
152
|
+
we as validateDepositAmount,
|
|
153
|
+
Ge as validateMultiVaultDepositInputs,
|
|
154
|
+
Ye as validateProviderSelection,
|
|
155
|
+
Je as validateRemainingCapacity,
|
|
156
|
+
Se as validateRequestDepositorClaimerArtifactsResponse,
|
|
157
|
+
ra as validateSecretAgainstHashlock,
|
|
158
|
+
Ha as validateUtxosAvailable,
|
|
159
|
+
Ze as validateVaultAmounts,
|
|
160
|
+
ze as validateVaultProviderPubkey,
|
|
161
|
+
D as validateWalletPubkey,
|
|
162
|
+
Ee as verifyServerIdentity,
|
|
163
|
+
Ae as vpTokenRegistry,
|
|
164
|
+
je as waitForPeginStatus
|
|
155
165
|
};
|
|
156
166
|
//# sourceMappingURL=index.js.map
|
package/dist/tbv/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|