@babylonlabs-io/ts-sdk 0.59.2 → 0.61.0
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/{PeginManager-1R9dMB1G.js → PeginManager-C2vPVud-.js} +315 -278
- package/dist/PeginManager-C2vPVud-.js.map +1 -0
- package/dist/PeginManager-Cu5Dh6L-.cjs +2 -0
- package/dist/PeginManager-Cu5Dh6L-.cjs.map +1 -0
- package/dist/{batchPoll-BotUFjtF.js → batchPoll-C3eKPYOC.js} +2 -2
- package/dist/batchPoll-C3eKPYOC.js.map +1 -0
- package/dist/batchPoll-CbbCcNZP.cjs.map +1 -1
- package/dist/buildAndBroadcastRefund-BqYlx6rb.cjs +2 -0
- package/dist/buildAndBroadcastRefund-BqYlx6rb.cjs.map +1 -0
- package/dist/{buildAndBroadcastRefund-DpF_b3d9.js → buildAndBroadcastRefund-CoPc7UHA.js} +154 -148
- package/dist/buildAndBroadcastRefund-CoPc7UHA.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +37 -37
- package/dist/index.js.map +1 -1
- package/dist/mempoolApi-BxhMqJ4f.cjs.map +1 -1
- package/dist/{mempoolApi-BQKF5MTr.js → mempoolApi-DC7pID6B.js} +12 -6
- package/dist/mempoolApi-DC7pID6B.js.map +1 -0
- package/dist/parseFundingOutpoints-DUuOAUjA.cjs +2 -0
- package/dist/{deriveVaultRoot-D0RY5GJc.js.map → parseFundingOutpoints-DUuOAUjA.cjs.map} +1 -1
- package/dist/parseFundingOutpoints-deCXK7ft.js +86 -0
- package/dist/parseFundingOutpoints-deCXK7ft.js.map +1 -0
- package/dist/signPsbtsWithFallback-Xs4jZw5z.cjs.map +1 -1
- package/dist/signPsbtsWithFallback-eY1YgV13.js.map +1 -1
- package/dist/tbv/core/clients/eth/types.d.ts +7 -5
- package/dist/tbv/core/clients/eth/types.d.ts.map +1 -1
- package/dist/tbv/core/clients/eth/vault-registry-reader.d.ts +11 -5
- package/dist/tbv/core/clients/eth/vault-registry-reader.d.ts.map +1 -1
- package/dist/tbv/core/clients/index.js +2 -2
- package/dist/tbv/core/deposit-terms/__tests__/prePeginApproval.test.d.ts +8 -0
- package/dist/tbv/core/deposit-terms/__tests__/prePeginApproval.test.d.ts.map +1 -0
- package/dist/tbv/core/deposit-terms/depositTerms.d.ts +13 -18
- package/dist/tbv/core/deposit-terms/depositTerms.d.ts.map +1 -1
- package/dist/tbv/core/deposit-terms/index.d.ts +1 -0
- package/dist/tbv/core/deposit-terms/index.d.ts.map +1 -1
- package/dist/tbv/core/deposit-terms/prePeginApproval.d.ts +37 -0
- package/dist/tbv/core/deposit-terms/prePeginApproval.d.ts.map +1 -0
- package/dist/tbv/core/index.cjs +1 -1
- package/dist/tbv/core/index.js +53 -53
- package/dist/tbv/core/index.js.map +1 -1
- package/dist/tbv/core/managers/PeginManager.d.ts +8 -0
- package/dist/tbv/core/managers/PeginManager.d.ts.map +1 -1
- package/dist/tbv/core/managers/index.cjs +1 -1
- package/dist/tbv/core/managers/index.js +1 -1
- package/dist/tbv/core/primitives/psbt/payout.d.ts.map +1 -1
- package/dist/tbv/core/services/deposit/__tests__/signDepositorGraphImportBoundary.test.d.ts +12 -0
- package/dist/tbv/core/services/deposit/__tests__/signDepositorGraphImportBoundary.test.d.ts.map +1 -0
- package/dist/tbv/core/services/deposit/runDepositorPresignFlow.d.ts.map +1 -1
- package/dist/tbv/core/services/index.cjs +1 -1
- package/dist/tbv/core/services/index.js +1 -1
- package/dist/tbv/core/vault-secrets/index.cjs +1 -1
- package/dist/tbv/core/vault-secrets/index.js +6 -7
- package/dist/tbv/core/vault-secrets/index.js.map +1 -1
- package/dist/tbv/index.cjs +1 -1
- package/dist/tbv/index.js +53 -53
- package/dist/tbv/index.js.map +1 -1
- package/dist/verifyScriptPathSchnorrSignature-Bav08_7R.js.map +1 -1
- package/dist/verifyScriptPathSchnorrSignature-CYjK4IP_.cjs.map +1 -1
- package/package.json +1 -1
- package/dist/PeginManager-1R9dMB1G.js.map +0 -1
- package/dist/PeginManager-OXUOsgz2.cjs +0 -2
- package/dist/PeginManager-OXUOsgz2.cjs.map +0 -1
- package/dist/batchPoll-BotUFjtF.js.map +0 -1
- package/dist/buildAndBroadcastRefund-DpF_b3d9.js.map +0 -1
- package/dist/buildAndBroadcastRefund-rSxXMwFd.cjs +0 -2
- package/dist/buildAndBroadcastRefund-rSxXMwFd.cjs.map +0 -1
- package/dist/deriveVaultRoot-D0RY5GJc.js +0 -72
- package/dist/deriveVaultRoot-p4uGsM7w.cjs +0 -2
- package/dist/deriveVaultRoot-p4uGsM7w.cjs.map +0 -1
- package/dist/mempoolApi-BQKF5MTr.js.map +0 -1
- package/dist/parseFundingOutpoints-C_-PT9BT.cjs +0 -2
- package/dist/parseFundingOutpoints-C_-PT9BT.cjs.map +0 -1
- package/dist/parseFundingOutpoints-GSM-IaaK.js +0 -17
- package/dist/parseFundingOutpoints-GSM-IaaK.js.map +0 -1
package/dist/tbv/core/index.js
CHANGED
|
@@ -1,40 +1,39 @@
|
|
|
1
1
|
import { b as s, c as t } from "../../challengeAssert-C7PzyJ7g.js";
|
|
2
|
-
import { a as
|
|
3
|
-
import { computeMinClaimValue as n, computeMinPeginFee as p, deriveVaultId as u, expandAuthAnchor as
|
|
2
|
+
import { a as i } from "../../constants-GjWXdaqV.js";
|
|
3
|
+
import { computeMinClaimValue as n, computeMinPeginFee as p, deriveVaultId as u, expandAuthAnchor as l, expandHashlockSecret as c, expandWotsSeed as d, peginP2aAnchorOutput as P, supportedTxGraphVersions as E, validatePeginP2aAnchor as T } from "@babylonlabs-io/babylon-tbv-rust-wasm";
|
|
4
4
|
import { P as R, d as S, f as g, c as m, b as _, a as f, g as x, e as b } from "../../verifyScriptPathSchnorrSignature-Bav08_7R.js";
|
|
5
|
-
import { b as
|
|
5
|
+
import { b as O, e as V, f as C } from "../../peginInput-HQPWZfly.js";
|
|
6
6
|
import { a as y, b as I } from "../../noPayout-DuE-UyhQ.js";
|
|
7
7
|
import { c as F, d as U, a as B, b as N, e as M, f as H, k as K, g as L, h as k, i as X, j as W, p as w, s as G, t as j, u as J, v as Y } from "../../bitcoin-d9eaaZB_.js";
|
|
8
8
|
import { B as z, H as q, K as Q, M as $, T as aa, c as ea } from "../../validation-Dj3dqYtl.js";
|
|
9
9
|
import { c as ta } from "../../signing-DaLvGwQe.js";
|
|
10
|
-
import { P as
|
|
11
|
-
import { P as
|
|
12
|
-
import { A as
|
|
13
|
-
import { B as
|
|
14
|
-
import { B as
|
|
15
|
-
import { C as
|
|
16
|
-
import { V as
|
|
17
|
-
import { p as Ba } from "../../parseFundingOutpoints-GSM-IaaK.js";
|
|
10
|
+
import { P as ia, b as oa, c as na, d as pa, a as ua, e as la } from "../../PeginManager-C2vPVud-.js";
|
|
11
|
+
import { P as da, c as Pa, f as Ea, s as Ta, v as Aa } from "../../signPsbtsWithFallback-eY1YgV13.js";
|
|
12
|
+
import { A as Sa, P as ga } from "../../ProtocolParams.abi-CV938AYZ.js";
|
|
13
|
+
import { B as _a } from "../../BTCVaultRegistry.abi-B3BLhpJ4.js";
|
|
14
|
+
import { B as xa } from "../../BTCVaultRegistryKeyEpochs.abi-CXjhRZbm.js";
|
|
15
|
+
import { C as va, e as Oa, g as Va, h as Ca, i as ha } from "../../errors-Blc-JWnI.js";
|
|
16
|
+
import { V as Ia, b as Da, a as Fa, d as Ua, p as Ba } from "../../parseFundingOutpoints-deCXK7ft.js";
|
|
18
17
|
import { B as Ma, a as Ha, f as Ka, c as La, b as ka, d as Xa, g as Wa, i as wa, h as Ga, s as ja, e as Ja, w as Ya } from "../../waitForTransactionReceiptSmartAware-lobLm0q0.js";
|
|
19
|
-
import { B as za, D as qa, L as Qa, M as $a, c as ae, P as ee, b as se, a as te, S as re, T as
|
|
18
|
+
import { B as za, D as qa, L as Qa, M as $a, c as ae, P as ee, b as se, a as te, S as re, T as ie, W as oe, f as ne, d as pe, p as ue, r as le } from "../../fundPeginTransaction-B2wyjqp0.js";
|
|
20
19
|
import { U as de, a as Pe, e as Ee, f as Te, v as Ae } from "../../reservation-B4i_PQhY.js";
|
|
21
|
-
import { M as Se, V as ge, g as me, a as _e, b as fe, c as xe, d as be, e as
|
|
22
|
-
import { O as Ue, S as Be, V as Ne, g as Me, h as He, i as Ke, j as Le, a as ke, d as Xe, b as We, f as we, p as Ge, r as je, v as Je, c as Ye, e as Ze } from "../../batchPoll-
|
|
23
|
-
import { A as qe, D as Qe, J as $e, a as as, b as es, d as ss, P as ts, R as rs, e as
|
|
24
|
-
import { a as
|
|
20
|
+
import { M as Se, V as ge, g as me, a as _e, b as fe, c as xe, d as be, e as ve, f as Oe, h as Ve, i as Ce, p as he, v as ye, j as Ie, k as De } from "../../mempoolApi-DC7pID6B.js";
|
|
21
|
+
import { O as Ue, S as Be, V as Ne, g as Me, h as He, i as Ke, j as Le, a as ke, d as Xe, b as We, f as we, p as Ge, r as je, v as Je, c as Ye, e as Ze } from "../../batchPoll-C3eKPYOC.js";
|
|
22
|
+
import { A as qe, D as Qe, J as $e, a as as, b as es, d as ss, P as ts, R as rs, e as is, c as os, V as ns, i as ps } from "../../json-rpc-client-DuUARJvV.js";
|
|
23
|
+
import { a as ls } from "../../onChainBtcPubkey-DeF4cKoO.js";
|
|
25
24
|
import { D as ds, a as Ps, b as Es, i as Ts } from "../../errors-kXGQXKxZ.js";
|
|
26
|
-
import { B as Rs, C as Ss, P as gs, E as ms, F as _s, G as fs, H as xs, R as bs, a as
|
|
25
|
+
import { B as Rs, C as Ss, P as gs, E as ms, F as _s, G as fs, H as xs, R as bs, a as vs, b as Os, o as Vs, A as Cs, D as hs, i as ys, p as Is, k as Ds, z as Fs, y as Us, m as Bs, q as Ns, t as Ms, u as Hs, x as Ks, r as Ls, s as ks, c as Xs, d as Ws, e as ws, v as Gs, f as js, g as Js, h as Ys, j as Zs, l as zs, n as qs, w as Qs } from "../../buildAndBroadcastRefund-CoPc7UHA.js";
|
|
27
26
|
import { C as at, P as et, c as st, g as tt, i as rt } from "../../peginState-CxDiaKuk.js";
|
|
28
27
|
export {
|
|
29
28
|
qe as AUTH_REJECTED_RPC_CODE,
|
|
30
|
-
|
|
29
|
+
Sa as ApplicationRegistryABI,
|
|
31
30
|
Rs as BIP68NotMatureError,
|
|
32
31
|
z as BITCOIN_ADDRESS_RE,
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_a as BTCVaultRegistryABI,
|
|
33
|
+
xa as BTCVaultRegistryKeyEpochsABI,
|
|
35
34
|
za as BTC_DUST_SAT,
|
|
36
35
|
Ma as BitcoinScriptType,
|
|
37
|
-
|
|
36
|
+
va as CONTRACT_ERRORS,
|
|
38
37
|
Ss as ClaimerPegoutStatusValue,
|
|
39
38
|
at as ContractStatus,
|
|
40
39
|
ds as DEPOSIT_TERMS_REJECTED_ERROR_NAME,
|
|
@@ -58,10 +57,10 @@ export {
|
|
|
58
57
|
ss as POST_WOTS_STATUSES,
|
|
59
58
|
ts as PRE_DEPOSITOR_SIGNATURES_STATES,
|
|
60
59
|
gs as ParticipantKeyDriftError,
|
|
61
|
-
|
|
60
|
+
da as PayoutManager,
|
|
62
61
|
et as PeginAction,
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
ia as PeginManager,
|
|
63
|
+
ga as ProtocolParamsABI,
|
|
65
64
|
R as PsbtSubstitutionError,
|
|
66
65
|
ms as REFUND_MAX_FEE_FRACTION_DENOMINATOR,
|
|
67
66
|
_s as REFUND_MAX_FEE_FRACTION_NUMERATOR,
|
|
@@ -72,11 +71,11 @@ export {
|
|
|
72
71
|
re as SPLIT_TX_FEE_SAFETY_MULTIPLIER,
|
|
73
72
|
Be as ServerIdentityError,
|
|
74
73
|
aa as TXID_RE,
|
|
75
|
-
|
|
74
|
+
ie as TX_BUFFER_SIZE_OVERHEAD,
|
|
76
75
|
de as UtxoNotAvailableError,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
Ia as VAULT_APP_NAME,
|
|
77
|
+
is as VP_BATCH_MAX_SIZE,
|
|
78
|
+
os as VP_TERMINAL_FAILURE_STATUSES,
|
|
80
79
|
ns as VP_TRANSIENT_STATUSES,
|
|
81
80
|
Ne as VaultProviderRpcClient,
|
|
82
81
|
Me as ViemOperationKeyReader,
|
|
@@ -86,34 +85,34 @@ export {
|
|
|
86
85
|
ge as ViemVaultRegistryReader,
|
|
87
86
|
ke as VpResponseValidationError,
|
|
88
87
|
Xe as VpTokenRegistry,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
oe as WALLET_RELAY_FEE_RATE_THRESHOLD,
|
|
89
|
+
vs as activateVault,
|
|
90
|
+
Os as activateVaultAndRedeem,
|
|
92
91
|
Ha as applyChangeOutputPolicy,
|
|
93
|
-
|
|
92
|
+
ls as assertOnChainBtcPubkey,
|
|
94
93
|
S as assertPsbtUnsignedTxMatches,
|
|
95
94
|
g as assertScriptPathSchnorrSignature,
|
|
96
95
|
Pe as assertUtxosAvailable,
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
i as assertValidVaultCoreVersion,
|
|
97
|
+
Vs as assertVaultProviderHintAccepted,
|
|
99
98
|
We as batchPollByProvider,
|
|
100
99
|
Cs as buildAndBroadcastRefund,
|
|
101
100
|
s as buildChallengeAssertPsbt,
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
oa as buildDepositTerms,
|
|
102
|
+
Da as buildFundingOutpointsCommitment,
|
|
104
103
|
y as buildNoPayoutPsbt,
|
|
105
104
|
m as buildPayoutPsbt,
|
|
106
|
-
|
|
105
|
+
O as buildPeginInputPsbt,
|
|
107
106
|
_ as buildPeginTxFromFundedPrePegin,
|
|
108
107
|
f as buildPrePeginPsbt,
|
|
109
108
|
I as buildRefundPsbt,
|
|
110
|
-
|
|
109
|
+
Fa as buildVaultContext,
|
|
111
110
|
Ka as calculateBtcTxHash,
|
|
112
111
|
st as canPerformAction,
|
|
113
112
|
F as canonicalizeBtcPubkey,
|
|
114
113
|
ea as combineAbortSignals,
|
|
115
114
|
La as computeChangeOutputFeeSats,
|
|
116
|
-
|
|
115
|
+
Pa as computeHashlock,
|
|
117
116
|
ka as computeMaxDeposit,
|
|
118
117
|
n as computeMinClaimValue,
|
|
119
118
|
p as computeMinPeginFee,
|
|
@@ -127,22 +126,23 @@ export {
|
|
|
127
126
|
B as deriveNativeSegwitAddress,
|
|
128
127
|
N as deriveTaprootAddress,
|
|
129
128
|
u as deriveVaultId,
|
|
130
|
-
|
|
129
|
+
Ua as deriveVaultRoot,
|
|
131
130
|
pa as deriveWotsBlocksFromSeed,
|
|
132
131
|
M as ensureHexPrefix,
|
|
132
|
+
ua as ensurePrePeginTermsApproval,
|
|
133
133
|
hs as estimateRefundFeeSats,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
la as estimateSubmitPeginRequestBatchGas,
|
|
135
|
+
l as expandAuthAnchor,
|
|
136
|
+
c as expandHashlockSecret,
|
|
137
137
|
d as expandWotsSeed,
|
|
138
138
|
Oa as extractErrorData,
|
|
139
139
|
Ee as extractInputsFromTransaction,
|
|
140
140
|
b as extractPayoutSignature,
|
|
141
|
-
|
|
141
|
+
V as extractPeginInputSignature,
|
|
142
142
|
C as finalizePeginInputPsbt,
|
|
143
143
|
Te as findOverlappingPendingVaults,
|
|
144
144
|
H as formatSatoshisToBtc,
|
|
145
|
-
|
|
145
|
+
Ea as forwardDepositApproval,
|
|
146
146
|
ne as fundPeginTransaction,
|
|
147
147
|
me as getAddressTxs,
|
|
148
148
|
_e as getAddressUtxos,
|
|
@@ -156,11 +156,11 @@ export {
|
|
|
156
156
|
wa as getPsbtInputFields,
|
|
157
157
|
Ga as getScriptType,
|
|
158
158
|
L as getSortedXOnlyPubkeys,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
ve as getTipHeight,
|
|
160
|
+
Oe as getTxHex,
|
|
161
|
+
Ve as getTxInfo,
|
|
162
162
|
Ce as getUtxoInfo,
|
|
163
|
-
|
|
163
|
+
Ca as handleContractError,
|
|
164
164
|
k as hexToUint8Array,
|
|
165
165
|
rt as isActivationDeadlinePassedOnChain,
|
|
166
166
|
X as isAddressFromPublicKey,
|
|
@@ -168,7 +168,7 @@ export {
|
|
|
168
168
|
ys as isDepositAmountValid,
|
|
169
169
|
Es as isDepositTermsRejectedError,
|
|
170
170
|
Is as isHintAccepted,
|
|
171
|
-
|
|
171
|
+
ha as isKnownContractError,
|
|
172
172
|
Ds as isParticipantKeyDriftError,
|
|
173
173
|
Fs as isPegoutTerminalStatus,
|
|
174
174
|
Us as isRecognizedPegoutStatus,
|
|
@@ -184,7 +184,7 @@ export {
|
|
|
184
184
|
Ge as primeVpTokenRegistry,
|
|
185
185
|
w as processPublicKeyToXOnly,
|
|
186
186
|
he as pushTx,
|
|
187
|
-
|
|
187
|
+
le as rateBasedTxBufferFee,
|
|
188
188
|
Hs as resolveCurrentParticipantKeys,
|
|
189
189
|
Ks as resolveParticipantKeysAtEpochs,
|
|
190
190
|
je as resolveProtocolAddresses,
|
|
@@ -195,7 +195,7 @@ export {
|
|
|
195
195
|
G as stripHexPrefix,
|
|
196
196
|
Xs as submitWotsPublicKey,
|
|
197
197
|
E as supportedTxGraphVersions,
|
|
198
|
-
|
|
198
|
+
Ta as supportsDepositApproval,
|
|
199
199
|
j as toXOnly,
|
|
200
200
|
J as uint8ArrayToHex,
|
|
201
201
|
Ws as validateDepositAmount,
|
|
@@ -207,7 +207,7 @@ export {
|
|
|
207
207
|
js as validateProviderSelection,
|
|
208
208
|
Js as validateRemainingCapacity,
|
|
209
209
|
Je as validateRequestDepositorClaimerArtifactsResponse,
|
|
210
|
-
|
|
210
|
+
Aa as validateSecretAgainstHashlock,
|
|
211
211
|
De as validateTBVProtocolParams,
|
|
212
212
|
Ae as validateUtxosAvailable,
|
|
213
213
|
Ys as validateVaultAmounts,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -246,6 +246,14 @@ export interface SignAndBroadcastParams {
|
|
|
246
246
|
scriptPubKey: string;
|
|
247
247
|
value: number;
|
|
248
248
|
}>;
|
|
249
|
+
/**
|
|
250
|
+
* Approved deposit terms. REQUIRED when `config.btcWallet` supports deposit
|
|
251
|
+
* approval (`supportsDepositApproval`) — the device signs the Pre-PegIn only
|
|
252
|
+
* from an approved intent matching this tx. Pass `PreparePeginResult.
|
|
253
|
+
* depositTerms` for fresh flows, or a resume rebuild. For non-approval
|
|
254
|
+
* wallets it is ignored, but still validated against the tx's txid if given.
|
|
255
|
+
*/
|
|
256
|
+
depositTerms?: DepositTerms;
|
|
249
257
|
}
|
|
250
258
|
/**
|
|
251
259
|
* BIP-322 BTC Proof-of-Possession binding a depositor's BTC key to their
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeginManager.d.ts","sourceRoot":"","sources":["../../../../src/tbv/core/managers/PeginManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAOH,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,GAAG,EACR,KAAK,YAAY,EACjB,KAAK,YAAY,EAClB,MAAM,MAAM,CAAC;AASd,OAAO,KAAK,EACV,aAAa,EACb,IAAI,EAEL,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,OAAO,
|
|
1
|
+
{"version":3,"file":"PeginManager.d.ts","sourceRoot":"","sources":["../../../../src/tbv/core/managers/PeginManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAOH,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,GAAG,EACR,KAAK,YAAY,EACjB,KAAK,YAAY,EAClB,MAAM,MAAM,CAAC;AASd,OAAO,KAAK,EACV,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;;;;;;;;OAcG;IACG,gBAAgB,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC;IA2IvE;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACG,oBAAoB,CACxB,MAAM,EAAE,mBAAmB,GAC1B,OAAO,CAAC,mBAAmB,CAAC;IA8K/B;;;;;;;;;OASG;IACG,yBAAyB,CAC7B,MAAM,EAAE,wBAAwB,GAC/B,OAAO,CAAC,wBAAwB,CAAC;YAiLtB,iCAAiC;IA+C/C;;;;;;;;;;;;OAYG;YACW,gBAAgB;IAa9B;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,yBAAyB;IA8CjC;;;;;OAKG;IACG,qBAAqB,IAAI,OAAO,CAAC,YAAY,CAAC;IAyBpD;;;;;;;OAOG;YACW,yBAAyB;IAkBvC;;;;OAIG;IACH,UAAU,IAAI,OAAO;IAIrB;;;;OAIG;IACH,uBAAuB,IAAI,OAAO;CAGnC;AAmED,MAAM,WAAW,wCAAwC;IACvD,YAAY,EAAE,YAAY,CAAC;IAC3B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,kCAAkC,CACtD,MAAM,EAAE,wCAAwC,GAC/C,OAAO,CAAC,MAAM,CAAC,CA4CjB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../PeginManager-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../PeginManager-Cu5Dh6L-.cjs"),a=require("../../../signPsbtsWithFallback-Xs4jZw5z.cjs");exports.PeginManager=e.PeginManager;exports.estimateSubmitPeginRequestBatchGas=e.estimateSubmitPeginRequestBatchGas;exports.PayoutManager=a.PayoutManager;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payout.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/primitives/psbt/payout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,KAAK,OAAO,EAEb,MAAM,uCAAuC,CAAC;AA0C/C;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,qBAAqB,EAAE,MAAM,EAAE,CAAC;IAEhC;;OAEG;IACH,6BAA6B,EAAE,MAAM,EAAE,CAAC;IAExC;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;;OAGG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IAErC;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;;;;OAMG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;;;;;;;;;;OAcG;IACH,4BAA4B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAE/D;;;;;OAKG;IACH,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OA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,CAAC;IAE/D;;;;;OAKG;IACH,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAsB,eAAe,CACnC,MAAM,EAAE,YAAY,GACnB,OAAO,CAAC,gBAAgB,CAAC,CAiH3B;AAsXD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,sBAAsB,CACpC,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,EACvB,UAAU,SAAI,GACb,MAAM,CA+CR"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `signDepositorGraph` must not read contract state: its challenger-set
|
|
3
|
+
* assertion is only correct under RFC-006 because every key arrives already
|
|
4
|
+
* resolved at the vault's frozen epochs. A registry read added here would
|
|
5
|
+
* silently revert that, with the rest of the suite still green.
|
|
6
|
+
*
|
|
7
|
+
* Structural rather than behavioural, deliberately — the absence of a read has
|
|
8
|
+
* no observable output to assert on. The behavioural half is the rotated-VP
|
|
9
|
+
* fixture in vault's `vaultPayoutSignatureService.payoutScripts.test.ts`.
|
|
10
|
+
*/
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=signDepositorGraphImportBoundary.test.d.ts.map
|
package/dist/tbv/core/services/deposit/__tests__/signDepositorGraphImportBoundary.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signDepositorGraphImportBoundary.test.d.ts","sourceRoot":"","sources":["../../../../../../src/tbv/core/services/deposit/__tests__/signDepositorGraphImportBoundary.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runDepositorPresignFlow.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/services/deposit/runDepositorPresignFlow.ts"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a,EAAE,aAAa,CAAC;IAC7B,iCAAiC;IACjC,SAAS,EAAE,aAAa,CAAC;IACzB,0DAA0D;IAC1D,SAAS,EAAE,MAAM,CAAC;IAClB,mEAAmE;IACnE,WAAW,EAAE,MAAM,CAAC;IACpB,+CAA+C;IAC/C,cAAc,EAAE,oBAAoB,CAAC;IACrC;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,sEAAsE;IACtE,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACzD;
|
|
1
|
+
{"version":3,"file":"runDepositorPresignFlow.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/services/deposit/runDepositorPresignFlow.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAErE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAM3E,OAAO,EAEL,KAAK,YAAY,EAClB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAQrE;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;;OAKG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,sBAAsB,EAAE,MAAM,CAAC;IAC/B,kEAAkE;IAClE,qBAAqB,EAAE,MAAM,EAAE,CAAC;IAChC,0EAA0E;IAC1E,6BAA6B,EAAE,MAAM,EAAE,CAAC;IACxC,yDAAyD;IACzD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,6DAA6D;IAC7D,aAAa,EAAE,MAAM,CAAC;IAC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("../../../signPsbtsWithFallback-Xs4jZw5z.cjs"),t=require("../../../buildAndBroadcastRefund-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../../signPsbtsWithFallback-Xs4jZw5z.cjs"),t=require("../../../buildAndBroadcastRefund-BqYlx6rb.cjs"),e=require("../../../peginState-eaQ4IO_R.cjs");exports.computeHashlock=i.computeHashlock;exports.validateSecretAgainstHashlock=i.validateSecretAgainstHashlock;exports.BIP68NotMatureError=t.BIP68NotMatureError;exports.ClaimerPegoutStatusValue=t.ClaimerPegoutStatusValue;exports.ParticipantKeyDriftError=t.ParticipantKeyDriftError;exports.REFUND_MAX_FEE_FRACTION_DENOMINATOR=t.REFUND_MAX_FEE_FRACTION_DENOMINATOR;exports.REFUND_MAX_FEE_FRACTION_NUMERATOR=t.REFUND_MAX_FEE_FRACTION_NUMERATOR;exports.REFUND_MAX_FEE_RATE_SATS_VB=t.REFUND_MAX_FEE_RATE_SATS_VB;exports.REFUND_VSIZE=t.REFUND_VSIZE;exports.RegisteredVaultVersionMismatchError=t.RegisteredVaultVersionMismatchError;exports.activateVault=t.activateVault;exports.activateVaultAndRedeem=t.activateVaultAndRedeem;exports.assertVaultProviderHintAccepted=t.assertVaultProviderHintAccepted;exports.buildAndBroadcastRefund=t.buildAndBroadcastRefund;exports.estimateRefundFeeSats=t.estimateRefundFeeSats;exports.isDepositAmountValid=t.isDepositAmountValid;exports.isHintAccepted=t.isHintAccepted;exports.isParticipantKeyDriftError=t.isParticipantKeyDriftError;exports.isPegoutTerminalStatus=t.isPegoutTerminalStatus;exports.isRecognizedPegoutStatus=t.isRecognizedPegoutStatus;exports.isRegisteredVaultVersionMismatchError=t.isRegisteredVaultVersionMismatchError;exports.matchKeyHint=t.matchKeyHint;exports.matchKeySetHint=t.matchKeySetHint;exports.resolveCurrentParticipantKeys=t.resolveCurrentParticipantKeys;exports.resolveParticipantKeysAtEpochs=t.resolveParticipantKeysAtEpochs;exports.runDepositorPresignFlow=t.runDepositorPresignFlow;exports.signDepositorGraph=t.signDepositorGraph;exports.submitWotsPublicKey=t.submitWotsPublicKey;exports.validateDepositAmount=t.validateDepositAmount;exports.validateMultiVaultDepositInputs=t.validateMultiVaultDepositInputs;exports.validateOnChainParticipantKeys=t.validateOnChainParticipantKeys;exports.validateProviderSelection=t.validateProviderSelection;exports.validateRemainingCapacity=t.validateRemainingCapacity;exports.validateVaultAmounts=t.validateVaultAmounts;exports.validateVaultProviderPubkey=t.validateVaultProviderPubkey;exports.verifyRegisteredParticipantKeys=t.verifyRegisteredParticipantKeys;exports.verifyRegisteredVaultVersions=t.verifyRegisteredVaultVersions;exports.waitForPeginStatus=t.waitForPeginStatus;exports.ContractStatus=e.ContractStatus;exports.PeginAction=e.PeginAction;exports.canPerformAction=e.canPerformAction;exports.getPeginProtocolState=e.getPeginProtocolState;exports.isActivationDeadlinePassedOnChain=e.isActivationDeadlinePassedOnChain;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as e, v as s } from "../../../signPsbtsWithFallback-eY1YgV13.js";
|
|
2
|
-
import { B as r, C as o, P as n, E as c, F as u, G as l, H as d, R as P, a as p, b as A, o as E, A as v, D as R, i as m, p as g, k as V, z as y, y as D, m as _, q as F, t as S, u as f, x as h, r as C, s as N, c as K, d as M, e as H, v as O, f as T, g as I, h as b, j as U, l as k, n as x, w as B } from "../../../buildAndBroadcastRefund-
|
|
2
|
+
import { B as r, C as o, P as n, E as c, F as u, G as l, H as d, R as P, a as p, b as A, o as E, A as v, D as R, i as m, p as g, k as V, z as y, y as D, m as _, q as F, t as S, u as f, x as h, r as C, s as N, c as K, d as M, e as H, v as O, f as T, g as I, h as b, j as U, l as k, n as x, w as B } from "../../../buildAndBroadcastRefund-CoPc7UHA.js";
|
|
3
3
|
import { C as X, P as z, c as G, g as j, i as q } from "../../../peginState-CxDiaKuk.js";
|
|
4
4
|
export {
|
|
5
5
|
r as BIP68NotMatureError,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@babylonlabs-io/babylon-tbv-rust-wasm"),e=require("../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@babylonlabs-io/babylon-tbv-rust-wasm"),e=require("../../../parseFundingOutpoints-DUuOAUjA.cjs");Object.defineProperty(exports,"expandAuthAnchor",{enumerable:!0,get:()=>t.expandAuthAnchor});Object.defineProperty(exports,"expandHashlockSecret",{enumerable:!0,get:()=>t.expandHashlockSecret});Object.defineProperty(exports,"expandWotsSeed",{enumerable:!0,get:()=>t.expandWotsSeed});exports.VAULT_APP_NAME=e.VAULT_APP_NAME;exports.buildFundingOutpointsCommitment=e.buildFundingOutpointsCommitment;exports.buildVaultContext=e.buildVaultContext;exports.deriveVaultRoot=e.deriveVaultRoot;exports.parseFundingOutpointsFromTx=e.parseFundingOutpointsFromTx;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { expandAuthAnchor as
|
|
2
|
-
import { V as
|
|
3
|
-
import { p as x } from "../../../parseFundingOutpoints-GSM-IaaK.js";
|
|
1
|
+
import { expandAuthAnchor as o, expandHashlockSecret as a, expandWotsSeed as n } from "@babylonlabs-io/babylon-tbv-rust-wasm";
|
|
2
|
+
import { V as s, b as p, a as r, d as u, p as i } from "../../../parseFundingOutpoints-deCXK7ft.js";
|
|
4
3
|
export {
|
|
5
|
-
|
|
4
|
+
s as VAULT_APP_NAME,
|
|
6
5
|
p as buildFundingOutpointsCommitment,
|
|
7
|
-
|
|
6
|
+
r as buildVaultContext,
|
|
8
7
|
u as deriveVaultRoot,
|
|
9
|
-
|
|
8
|
+
o as expandAuthAnchor,
|
|
10
9
|
a as expandHashlockSecret,
|
|
11
10
|
n as expandWotsSeed,
|
|
12
|
-
|
|
11
|
+
i as parseFundingOutpointsFromTx
|
|
13
12
|
};
|
|
14
13
|
//# 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 S=require("../challengeAssert-BFRE2DM-.cjs"),m=require("../constants-DU5CGcqO.cjs"),n=require("@babylonlabs-io/babylon-tbv-rust-wasm"),u=require("../verifyScriptPathSchnorrSignature-CYjK4IP_.cjs"),R=require("../peginInput-Ci921gTl.cjs"),g=require("../noPayout-qUEtRKc_.cjs"),t=require("../bitcoin-m84N5a8o.cjs"),c=require("../validation-CDbOaDj7.cjs"),O=require("../signing-Bnsro0hE.cjs"),l=require("../PeginManager-OXUOsgz2.cjs"),d=require("../signPsbtsWithFallback-Xs4jZw5z.cjs"),_=require("../ProtocolParams.abi-C8U7BHCS.cjs"),y=require("../BTCVaultRegistry.abi-3VLWva2x.cjs"),b=require("../BTCVaultRegistryKeyEpochs.abi-_NERAdc5.cjs"),P=require("../errors-CGcNP0rV.cjs"),T=require("../deriveVaultRoot-p4uGsM7w.cjs"),C=require("../parseFundingOutpoints-C_-PT9BT.cjs"),o=require("../waitForTransactionReceiptSmartAware-AgZ-3WV_.cjs"),i=require("../fundPeginTransaction-BLD8FRL9.cjs"),p=require("../reservation-CDbInVw0.cjs"),a=require("../mempoolApi-BxhMqJ4f.cjs"),r=require("../batchPoll-CbbCcNZP.cjs"),s=require("../json-rpc-client-BiAmg_ho.cjs"),V=require("../onChainBtcPubkey-C_a2L3kL.cjs"),A=require("../errors-2aF9oRwM.cjs"),e=require("../buildAndBroadcastRefund-rSxXMwFd.cjs"),E=require("../peginState-eaQ4IO_R.cjs");exports.buildChallengeAssertPsbt=S.buildChallengeAssertPsbt;exports.computeNumLocalChallengers=S.computeNumLocalChallengers;exports.assertValidVaultCoreVersion=m.assertValidVaultCoreVersion;Object.defineProperty(exports,"computeMinClaimValue",{enumerable:!0,get:()=>n.computeMinClaimValue});Object.defineProperty(exports,"computeMinPeginFee",{enumerable:!0,get:()=>n.computeMinPeginFee});Object.defineProperty(exports,"deriveVaultId",{enumerable:!0,get:()=>n.deriveVaultId});Object.defineProperty(exports,"expandAuthAnchor",{enumerable:!0,get:()=>n.expandAuthAnchor});Object.defineProperty(exports,"expandHashlockSecret",{enumerable:!0,get:()=>n.expandHashlockSecret});Object.defineProperty(exports,"expandWotsSeed",{enumerable:!0,get:()=>n.expandWotsSeed});Object.defineProperty(exports,"peginP2aAnchorOutput",{enumerable:!0,get:()=>n.peginP2aAnchorOutput});Object.defineProperty(exports,"supportedTxGraphVersions",{enumerable:!0,get:()=>n.supportedTxGraphVersions});Object.defineProperty(exports,"validatePeginP2aAnchor",{enumerable:!0,get:()=>n.validatePeginP2aAnchor});exports.PsbtSubstitutionError=u.PsbtSubstitutionError;exports.assertPsbtUnsignedTxMatches=u.assertPsbtUnsignedTxMatches;exports.assertScriptPathSchnorrSignature=u.assertScriptPathSchnorrSignature;exports.buildPayoutPsbt=u.buildPayoutPsbt;exports.buildPeginTxFromFundedPrePegin=u.buildPeginTxFromFundedPrePegin;exports.buildPrePeginPsbt=u.buildPrePeginPsbt;exports.createPayoutScript=u.createPayoutScript;exports.extractPayoutSignature=u.extractPayoutSignature;exports.buildPeginInputPsbt=R.buildPeginInputPsbt;exports.extractPeginInputSignature=R.extractPeginInputSignature;exports.finalizePeginInputPsbt=R.finalizePeginInputPsbt;exports.buildNoPayoutPsbt=g.buildNoPayoutPsbt;exports.buildRefundPsbt=g.buildRefundPsbt;exports.canonicalizeBtcPubkey=t.canonicalizeBtcPubkey;exports.deriveBip86ScriptPubKeyHex=t.deriveBip86ScriptPubKeyHex;exports.deriveNativeSegwitAddress=t.deriveNativeSegwitAddress;exports.deriveTaprootAddress=t.deriveTaprootAddress;exports.ensureHexPrefix=t.ensureHexPrefix;exports.formatSatoshisToBtc=t.formatSatoshisToBtc;exports.getNetwork=t.getNetwork;exports.getSortedXOnlyPubkeys=t.getSortedXOnlyPubkeys;exports.hexToUint8Array=t.hexToUint8Array;exports.isAddressFromPublicKey=t.isAddressFromPublicKey;exports.isValidHex=t.isValidHex;exports.processPublicKeyToXOnly=t.processPublicKeyToXOnly;exports.stripHexPrefix=t.stripHexPrefix;exports.toXOnly=t.toXOnly;exports.uint8ArrayToHex=t.uint8ArrayToHex;exports.validateWalletPubkey=t.validateWalletPubkey;exports.BITCOIN_ADDRESS_RE=c.BITCOIN_ADDRESS_RE;exports.HEX_RE=c.HEX_RE;exports.KNOWN_SCRIPT_PREFIXES=c.KNOWN_SCRIPT_PREFIXES;exports.MAX_REASONABLE_FEE_SATS=c.MAX_REASONABLE_FEE_SATS;exports.TXID_RE=c.TXID_RE;exports.combineAbortSignals=c.combineAbortSignals;exports.createTaprootScriptPathSignOptions=O.createTaprootScriptPathSignOptions;exports.PeginManager=l.PeginManager;exports.buildDepositTerms=l.buildDepositTerms;exports.computeWotsBlockPublicKeysHash=l.computeWotsBlockPublicKeysHash;exports.deriveWotsBlocksFromSeed=l.deriveWotsBlocksFromSeed;exports.estimateSubmitPeginRequestBatchGas=l.estimateSubmitPeginRequestBatchGas;exports.PayoutManager=d.PayoutManager;exports.computeHashlock=d.computeHashlock;exports.forwardDepositApproval=d.forwardDepositApproval;exports.supportsDepositApproval=d.supportsDepositApproval;exports.validateSecretAgainstHashlock=d.validateSecretAgainstHashlock;exports.ApplicationRegistryABI=_.ApplicationRegistryABI;exports.ProtocolParamsABI=_.ProtocolParamsABI;exports.BTCVaultRegistryABI=y.BTCVaultRegistryABI;exports.BTCVaultRegistryKeyEpochsABI=b.BTCVaultRegistryKeyEpochsABI;exports.CONTRACT_ERRORS=P.CONTRACT_ERRORS;exports.extractErrorData=P.extractErrorData;exports.getContractErrorMessage=P.getContractErrorMessage;exports.handleContractError=P.handleContractError;exports.isKnownContractError=P.isKnownContractError;exports.VAULT_APP_NAME=T.VAULT_APP_NAME;exports.buildFundingOutpointsCommitment=T.buildFundingOutpointsCommitment;exports.buildVaultContext=T.buildVaultContext;exports.deriveVaultRoot=T.deriveVaultRoot;exports.parseFundingOutpointsFromTx=C.parseFundingOutpointsFromTx;exports.BitcoinScriptType=o.BitcoinScriptType;exports.applyChangeOutputPolicy=o.applyChangeOutputPolicy;exports.calculateBtcTxHash=o.calculateBtcTxHash;exports.computeChangeOutputFeeSats=o.computeChangeOutputFeeSats;exports.computeMaxDeposit=o.computeMaxDeposit;exports.computePeginBaseFeeSats=o.computePeginBaseFeeSats;exports.getDustThreshold=o.getDustThreshold;exports.getPsbtInputFields=o.getPsbtInputFields;exports.getScriptType=o.getScriptType;exports.selectUtxosForPegin=o.selectUtxosForPegin;exports.shouldAddChangeOutput=o.shouldAddChangeOutput;exports.waitForTransactionReceiptSmartAware=o.waitForTransactionReceiptSmartAware;exports.BTC_DUST_SAT=i.BTC_DUST_SAT;exports.DUST_THRESHOLD=i.DUST_THRESHOLD;exports.LOW_RATE_ESTIMATION_ACCURACY_BUFFER=i.LOW_RATE_ESTIMATION_ACCURACY_BUFFER;exports.MAX_NON_LEGACY_OUTPUT_SIZE=i.MAX_NON_LEGACY_OUTPUT_SIZE;exports.MAX_REASONABLE_PEGIN_VBYTES=i.MAX_REASONABLE_PEGIN_VBYTES;exports.P2TR_INPUT_SIZE=i.P2TR_INPUT_SIZE;exports.PEGIN_AUTH_ANCHOR_OUTPUTS=i.PEGIN_AUTH_ANCHOR_OUTPUTS;exports.PEGIN_FIXED_OUTPUTS=i.PEGIN_FIXED_OUTPUTS;exports.SPLIT_TX_FEE_SAFETY_MULTIPLIER=i.SPLIT_TX_FEE_SAFETY_MULTIPLIER;exports.TX_BUFFER_SIZE_OVERHEAD=i.TX_BUFFER_SIZE_OVERHEAD;exports.WALLET_RELAY_FEE_RATE_THRESHOLD=i.WALLET_RELAY_FEE_RATE_THRESHOLD;exports.fundPeginTransaction=i.fundPeginTransaction;exports.parseUnfundedWasmTransaction=i.parseUnfundedWasmTransaction;exports.peginOutputCount=i.peginOutputCount;exports.rateBasedTxBufferFee=i.rateBasedTxBufferFee;exports.UtxoNotAvailableError=p.UtxoNotAvailableError;exports.assertUtxosAvailable=p.assertUtxosAvailable;exports.extractInputsFromTransaction=p.extractInputsFromTransaction;exports.findOverlappingPendingVaults=p.findOverlappingPendingVaults;exports.validateUtxosAvailable=p.validateUtxosAvailable;exports.MEMPOOL_API_URLS=a.MEMPOOL_API_URLS;exports.ViemVaultRegistryReader=a.ViemVaultRegistryReader;exports.getAddressTxs=a.getAddressTxs;exports.getAddressUtxos=a.getAddressUtxos;exports.getMempoolApiUrl=a.getMempoolApiUrl;exports.getNetworkFees=a.getNetworkFees;exports.getOutspend=a.getOutspend;exports.getTipHeight=a.getTipHeight;exports.getTxHex=a.getTxHex;exports.getTxInfo=a.getTxInfo;exports.getUtxoInfo=a.getUtxoInfo;exports.pushTx=a.pushTx;exports.validateOffchainParams=a.validateOffchainParams;exports.validatePegInConfiguration=a.validatePegInConfiguration;exports.validateTBVProtocolParams=a.validateTBVProtocolParams;exports.OnChainBtcVaultStatus=r.OnChainBtcVaultStatus;exports.ServerIdentityError=r.ServerIdentityError;exports.VaultProviderRpcClient=r.VaultProviderRpcClient;exports.ViemOperationKeyReader=r.ViemOperationKeyReader;exports.ViemProtocolParamsReader=r.ViemProtocolParamsReader;exports.ViemUniversalChallengerReader=r.ViemUniversalChallengerReader;exports.ViemVaultKeeperReader=r.ViemVaultKeeperReader;exports.VpResponseValidationError=r.VpResponseValidationError;exports.VpTokenRegistry=r.VpTokenRegistry;exports.batchPollByProvider=r.batchPollByProvider;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.AUTH_REJECTED_RPC_CODE=s.AUTH_REJECTED_RPC_CODE;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_BATCH_MAX_SIZE=s.VP_BATCH_MAX_SIZE;exports.VP_TERMINAL_FAILURE_STATUSES=s.VP_TERMINAL_FAILURE_STATUSES;exports.VP_TRANSIENT_STATUSES=s.VP_TRANSIENT_STATUSES;exports.isAuthRejectedError=s.isAuthRejectedError;exports.assertOnChainBtcPubkey=V.assertOnChainBtcPubkey;exports.DEPOSIT_TERMS_REJECTED_ERROR_NAME=A.DEPOSIT_TERMS_REJECTED_ERROR_NAME;exports.DepositTermsRejectedError=A.DepositTermsRejectedError;exports.isDepositTermsRejectedError=A.isDepositTermsRejectedError;exports.isWotsMismatchError=A.isWotsMismatchError;exports.BIP68NotMatureError=e.BIP68NotMatureError;exports.ClaimerPegoutStatusValue=e.ClaimerPegoutStatusValue;exports.ParticipantKeyDriftError=e.ParticipantKeyDriftError;exports.REFUND_MAX_FEE_FRACTION_DENOMINATOR=e.REFUND_MAX_FEE_FRACTION_DENOMINATOR;exports.REFUND_MAX_FEE_FRACTION_NUMERATOR=e.REFUND_MAX_FEE_FRACTION_NUMERATOR;exports.REFUND_MAX_FEE_RATE_SATS_VB=e.REFUND_MAX_FEE_RATE_SATS_VB;exports.REFUND_VSIZE=e.REFUND_VSIZE;exports.RegisteredVaultVersionMismatchError=e.RegisteredVaultVersionMismatchError;exports.activateVault=e.activateVault;exports.activateVaultAndRedeem=e.activateVaultAndRedeem;exports.assertVaultProviderHintAccepted=e.assertVaultProviderHintAccepted;exports.buildAndBroadcastRefund=e.buildAndBroadcastRefund;exports.estimateRefundFeeSats=e.estimateRefundFeeSats;exports.isDepositAmountValid=e.isDepositAmountValid;exports.isHintAccepted=e.isHintAccepted;exports.isParticipantKeyDriftError=e.isParticipantKeyDriftError;exports.isPegoutTerminalStatus=e.isPegoutTerminalStatus;exports.isRecognizedPegoutStatus=e.isRecognizedPegoutStatus;exports.isRegisteredVaultVersionMismatchError=e.isRegisteredVaultVersionMismatchError;exports.matchKeyHint=e.matchKeyHint;exports.matchKeySetHint=e.matchKeySetHint;exports.resolveCurrentParticipantKeys=e.resolveCurrentParticipantKeys;exports.resolveParticipantKeysAtEpochs=e.resolveParticipantKeysAtEpochs;exports.runDepositorPresignFlow=e.runDepositorPresignFlow;exports.signDepositorGraph=e.signDepositorGraph;exports.submitWotsPublicKey=e.submitWotsPublicKey;exports.validateDepositAmount=e.validateDepositAmount;exports.validateMultiVaultDepositInputs=e.validateMultiVaultDepositInputs;exports.validateOnChainParticipantKeys=e.validateOnChainParticipantKeys;exports.validateProviderSelection=e.validateProviderSelection;exports.validateRemainingCapacity=e.validateRemainingCapacity;exports.validateVaultAmounts=e.validateVaultAmounts;exports.validateVaultProviderPubkey=e.validateVaultProviderPubkey;exports.verifyRegisteredParticipantKeys=e.verifyRegisteredParticipantKeys;exports.verifyRegisteredVaultVersions=e.verifyRegisteredVaultVersions;exports.waitForPeginStatus=e.waitForPeginStatus;exports.ContractStatus=E.ContractStatus;exports.PeginAction=E.PeginAction;exports.canPerformAction=E.canPerformAction;exports.getPeginProtocolState=E.getPeginProtocolState;exports.isActivationDeadlinePassedOnChain=E.isActivationDeadlinePassedOnChain;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("../challengeAssert-BFRE2DM-.cjs"),m=require("../constants-DU5CGcqO.cjs"),n=require("@babylonlabs-io/babylon-tbv-rust-wasm"),u=require("../verifyScriptPathSchnorrSignature-CYjK4IP_.cjs"),R=require("../peginInput-Ci921gTl.cjs"),g=require("../noPayout-qUEtRKc_.cjs"),t=require("../bitcoin-m84N5a8o.cjs"),l=require("../validation-CDbOaDj7.cjs"),O=require("../signing-Bnsro0hE.cjs"),c=require("../PeginManager-Cu5Dh6L-.cjs"),d=require("../signPsbtsWithFallback-Xs4jZw5z.cjs"),_=require("../ProtocolParams.abi-C8U7BHCS.cjs"),y=require("../BTCVaultRegistry.abi-3VLWva2x.cjs"),b=require("../BTCVaultRegistryKeyEpochs.abi-_NERAdc5.cjs"),P=require("../errors-CGcNP0rV.cjs"),p=require("../parseFundingOutpoints-DUuOAUjA.cjs"),o=require("../waitForTransactionReceiptSmartAware-AgZ-3WV_.cjs"),i=require("../fundPeginTransaction-BLD8FRL9.cjs"),E=require("../reservation-CDbInVw0.cjs"),a=require("../mempoolApi-BxhMqJ4f.cjs"),r=require("../batchPoll-CbbCcNZP.cjs"),s=require("../json-rpc-client-BiAmg_ho.cjs"),C=require("../onChainBtcPubkey-C_a2L3kL.cjs"),A=require("../errors-2aF9oRwM.cjs"),e=require("../buildAndBroadcastRefund-BqYlx6rb.cjs"),T=require("../peginState-eaQ4IO_R.cjs");exports.buildChallengeAssertPsbt=S.buildChallengeAssertPsbt;exports.computeNumLocalChallengers=S.computeNumLocalChallengers;exports.assertValidVaultCoreVersion=m.assertValidVaultCoreVersion;Object.defineProperty(exports,"computeMinClaimValue",{enumerable:!0,get:()=>n.computeMinClaimValue});Object.defineProperty(exports,"computeMinPeginFee",{enumerable:!0,get:()=>n.computeMinPeginFee});Object.defineProperty(exports,"deriveVaultId",{enumerable:!0,get:()=>n.deriveVaultId});Object.defineProperty(exports,"expandAuthAnchor",{enumerable:!0,get:()=>n.expandAuthAnchor});Object.defineProperty(exports,"expandHashlockSecret",{enumerable:!0,get:()=>n.expandHashlockSecret});Object.defineProperty(exports,"expandWotsSeed",{enumerable:!0,get:()=>n.expandWotsSeed});Object.defineProperty(exports,"peginP2aAnchorOutput",{enumerable:!0,get:()=>n.peginP2aAnchorOutput});Object.defineProperty(exports,"supportedTxGraphVersions",{enumerable:!0,get:()=>n.supportedTxGraphVersions});Object.defineProperty(exports,"validatePeginP2aAnchor",{enumerable:!0,get:()=>n.validatePeginP2aAnchor});exports.PsbtSubstitutionError=u.PsbtSubstitutionError;exports.assertPsbtUnsignedTxMatches=u.assertPsbtUnsignedTxMatches;exports.assertScriptPathSchnorrSignature=u.assertScriptPathSchnorrSignature;exports.buildPayoutPsbt=u.buildPayoutPsbt;exports.buildPeginTxFromFundedPrePegin=u.buildPeginTxFromFundedPrePegin;exports.buildPrePeginPsbt=u.buildPrePeginPsbt;exports.createPayoutScript=u.createPayoutScript;exports.extractPayoutSignature=u.extractPayoutSignature;exports.buildPeginInputPsbt=R.buildPeginInputPsbt;exports.extractPeginInputSignature=R.extractPeginInputSignature;exports.finalizePeginInputPsbt=R.finalizePeginInputPsbt;exports.buildNoPayoutPsbt=g.buildNoPayoutPsbt;exports.buildRefundPsbt=g.buildRefundPsbt;exports.canonicalizeBtcPubkey=t.canonicalizeBtcPubkey;exports.deriveBip86ScriptPubKeyHex=t.deriveBip86ScriptPubKeyHex;exports.deriveNativeSegwitAddress=t.deriveNativeSegwitAddress;exports.deriveTaprootAddress=t.deriveTaprootAddress;exports.ensureHexPrefix=t.ensureHexPrefix;exports.formatSatoshisToBtc=t.formatSatoshisToBtc;exports.getNetwork=t.getNetwork;exports.getSortedXOnlyPubkeys=t.getSortedXOnlyPubkeys;exports.hexToUint8Array=t.hexToUint8Array;exports.isAddressFromPublicKey=t.isAddressFromPublicKey;exports.isValidHex=t.isValidHex;exports.processPublicKeyToXOnly=t.processPublicKeyToXOnly;exports.stripHexPrefix=t.stripHexPrefix;exports.toXOnly=t.toXOnly;exports.uint8ArrayToHex=t.uint8ArrayToHex;exports.validateWalletPubkey=t.validateWalletPubkey;exports.BITCOIN_ADDRESS_RE=l.BITCOIN_ADDRESS_RE;exports.HEX_RE=l.HEX_RE;exports.KNOWN_SCRIPT_PREFIXES=l.KNOWN_SCRIPT_PREFIXES;exports.MAX_REASONABLE_FEE_SATS=l.MAX_REASONABLE_FEE_SATS;exports.TXID_RE=l.TXID_RE;exports.combineAbortSignals=l.combineAbortSignals;exports.createTaprootScriptPathSignOptions=O.createTaprootScriptPathSignOptions;exports.PeginManager=c.PeginManager;exports.buildDepositTerms=c.buildDepositTerms;exports.computeWotsBlockPublicKeysHash=c.computeWotsBlockPublicKeysHash;exports.deriveWotsBlocksFromSeed=c.deriveWotsBlocksFromSeed;exports.ensurePrePeginTermsApproval=c.ensurePrePeginTermsApproval;exports.estimateSubmitPeginRequestBatchGas=c.estimateSubmitPeginRequestBatchGas;exports.PayoutManager=d.PayoutManager;exports.computeHashlock=d.computeHashlock;exports.forwardDepositApproval=d.forwardDepositApproval;exports.supportsDepositApproval=d.supportsDepositApproval;exports.validateSecretAgainstHashlock=d.validateSecretAgainstHashlock;exports.ApplicationRegistryABI=_.ApplicationRegistryABI;exports.ProtocolParamsABI=_.ProtocolParamsABI;exports.BTCVaultRegistryABI=y.BTCVaultRegistryABI;exports.BTCVaultRegistryKeyEpochsABI=b.BTCVaultRegistryKeyEpochsABI;exports.CONTRACT_ERRORS=P.CONTRACT_ERRORS;exports.extractErrorData=P.extractErrorData;exports.getContractErrorMessage=P.getContractErrorMessage;exports.handleContractError=P.handleContractError;exports.isKnownContractError=P.isKnownContractError;exports.VAULT_APP_NAME=p.VAULT_APP_NAME;exports.buildFundingOutpointsCommitment=p.buildFundingOutpointsCommitment;exports.buildVaultContext=p.buildVaultContext;exports.deriveVaultRoot=p.deriveVaultRoot;exports.parseFundingOutpointsFromTx=p.parseFundingOutpointsFromTx;exports.BitcoinScriptType=o.BitcoinScriptType;exports.applyChangeOutputPolicy=o.applyChangeOutputPolicy;exports.calculateBtcTxHash=o.calculateBtcTxHash;exports.computeChangeOutputFeeSats=o.computeChangeOutputFeeSats;exports.computeMaxDeposit=o.computeMaxDeposit;exports.computePeginBaseFeeSats=o.computePeginBaseFeeSats;exports.getDustThreshold=o.getDustThreshold;exports.getPsbtInputFields=o.getPsbtInputFields;exports.getScriptType=o.getScriptType;exports.selectUtxosForPegin=o.selectUtxosForPegin;exports.shouldAddChangeOutput=o.shouldAddChangeOutput;exports.waitForTransactionReceiptSmartAware=o.waitForTransactionReceiptSmartAware;exports.BTC_DUST_SAT=i.BTC_DUST_SAT;exports.DUST_THRESHOLD=i.DUST_THRESHOLD;exports.LOW_RATE_ESTIMATION_ACCURACY_BUFFER=i.LOW_RATE_ESTIMATION_ACCURACY_BUFFER;exports.MAX_NON_LEGACY_OUTPUT_SIZE=i.MAX_NON_LEGACY_OUTPUT_SIZE;exports.MAX_REASONABLE_PEGIN_VBYTES=i.MAX_REASONABLE_PEGIN_VBYTES;exports.P2TR_INPUT_SIZE=i.P2TR_INPUT_SIZE;exports.PEGIN_AUTH_ANCHOR_OUTPUTS=i.PEGIN_AUTH_ANCHOR_OUTPUTS;exports.PEGIN_FIXED_OUTPUTS=i.PEGIN_FIXED_OUTPUTS;exports.SPLIT_TX_FEE_SAFETY_MULTIPLIER=i.SPLIT_TX_FEE_SAFETY_MULTIPLIER;exports.TX_BUFFER_SIZE_OVERHEAD=i.TX_BUFFER_SIZE_OVERHEAD;exports.WALLET_RELAY_FEE_RATE_THRESHOLD=i.WALLET_RELAY_FEE_RATE_THRESHOLD;exports.fundPeginTransaction=i.fundPeginTransaction;exports.parseUnfundedWasmTransaction=i.parseUnfundedWasmTransaction;exports.peginOutputCount=i.peginOutputCount;exports.rateBasedTxBufferFee=i.rateBasedTxBufferFee;exports.UtxoNotAvailableError=E.UtxoNotAvailableError;exports.assertUtxosAvailable=E.assertUtxosAvailable;exports.extractInputsFromTransaction=E.extractInputsFromTransaction;exports.findOverlappingPendingVaults=E.findOverlappingPendingVaults;exports.validateUtxosAvailable=E.validateUtxosAvailable;exports.MEMPOOL_API_URLS=a.MEMPOOL_API_URLS;exports.ViemVaultRegistryReader=a.ViemVaultRegistryReader;exports.getAddressTxs=a.getAddressTxs;exports.getAddressUtxos=a.getAddressUtxos;exports.getMempoolApiUrl=a.getMempoolApiUrl;exports.getNetworkFees=a.getNetworkFees;exports.getOutspend=a.getOutspend;exports.getTipHeight=a.getTipHeight;exports.getTxHex=a.getTxHex;exports.getTxInfo=a.getTxInfo;exports.getUtxoInfo=a.getUtxoInfo;exports.pushTx=a.pushTx;exports.validateOffchainParams=a.validateOffchainParams;exports.validatePegInConfiguration=a.validatePegInConfiguration;exports.validateTBVProtocolParams=a.validateTBVProtocolParams;exports.OnChainBtcVaultStatus=r.OnChainBtcVaultStatus;exports.ServerIdentityError=r.ServerIdentityError;exports.VaultProviderRpcClient=r.VaultProviderRpcClient;exports.ViemOperationKeyReader=r.ViemOperationKeyReader;exports.ViemProtocolParamsReader=r.ViemProtocolParamsReader;exports.ViemUniversalChallengerReader=r.ViemUniversalChallengerReader;exports.ViemVaultKeeperReader=r.ViemVaultKeeperReader;exports.VpResponseValidationError=r.VpResponseValidationError;exports.VpTokenRegistry=r.VpTokenRegistry;exports.batchPollByProvider=r.batchPollByProvider;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.AUTH_REJECTED_RPC_CODE=s.AUTH_REJECTED_RPC_CODE;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_BATCH_MAX_SIZE=s.VP_BATCH_MAX_SIZE;exports.VP_TERMINAL_FAILURE_STATUSES=s.VP_TERMINAL_FAILURE_STATUSES;exports.VP_TRANSIENT_STATUSES=s.VP_TRANSIENT_STATUSES;exports.isAuthRejectedError=s.isAuthRejectedError;exports.assertOnChainBtcPubkey=C.assertOnChainBtcPubkey;exports.DEPOSIT_TERMS_REJECTED_ERROR_NAME=A.DEPOSIT_TERMS_REJECTED_ERROR_NAME;exports.DepositTermsRejectedError=A.DepositTermsRejectedError;exports.isDepositTermsRejectedError=A.isDepositTermsRejectedError;exports.isWotsMismatchError=A.isWotsMismatchError;exports.BIP68NotMatureError=e.BIP68NotMatureError;exports.ClaimerPegoutStatusValue=e.ClaimerPegoutStatusValue;exports.ParticipantKeyDriftError=e.ParticipantKeyDriftError;exports.REFUND_MAX_FEE_FRACTION_DENOMINATOR=e.REFUND_MAX_FEE_FRACTION_DENOMINATOR;exports.REFUND_MAX_FEE_FRACTION_NUMERATOR=e.REFUND_MAX_FEE_FRACTION_NUMERATOR;exports.REFUND_MAX_FEE_RATE_SATS_VB=e.REFUND_MAX_FEE_RATE_SATS_VB;exports.REFUND_VSIZE=e.REFUND_VSIZE;exports.RegisteredVaultVersionMismatchError=e.RegisteredVaultVersionMismatchError;exports.activateVault=e.activateVault;exports.activateVaultAndRedeem=e.activateVaultAndRedeem;exports.assertVaultProviderHintAccepted=e.assertVaultProviderHintAccepted;exports.buildAndBroadcastRefund=e.buildAndBroadcastRefund;exports.estimateRefundFeeSats=e.estimateRefundFeeSats;exports.isDepositAmountValid=e.isDepositAmountValid;exports.isHintAccepted=e.isHintAccepted;exports.isParticipantKeyDriftError=e.isParticipantKeyDriftError;exports.isPegoutTerminalStatus=e.isPegoutTerminalStatus;exports.isRecognizedPegoutStatus=e.isRecognizedPegoutStatus;exports.isRegisteredVaultVersionMismatchError=e.isRegisteredVaultVersionMismatchError;exports.matchKeyHint=e.matchKeyHint;exports.matchKeySetHint=e.matchKeySetHint;exports.resolveCurrentParticipantKeys=e.resolveCurrentParticipantKeys;exports.resolveParticipantKeysAtEpochs=e.resolveParticipantKeysAtEpochs;exports.runDepositorPresignFlow=e.runDepositorPresignFlow;exports.signDepositorGraph=e.signDepositorGraph;exports.submitWotsPublicKey=e.submitWotsPublicKey;exports.validateDepositAmount=e.validateDepositAmount;exports.validateMultiVaultDepositInputs=e.validateMultiVaultDepositInputs;exports.validateOnChainParticipantKeys=e.validateOnChainParticipantKeys;exports.validateProviderSelection=e.validateProviderSelection;exports.validateRemainingCapacity=e.validateRemainingCapacity;exports.validateVaultAmounts=e.validateVaultAmounts;exports.validateVaultProviderPubkey=e.validateVaultProviderPubkey;exports.verifyRegisteredParticipantKeys=e.verifyRegisteredParticipantKeys;exports.verifyRegisteredVaultVersions=e.verifyRegisteredVaultVersions;exports.waitForPeginStatus=e.waitForPeginStatus;exports.ContractStatus=T.ContractStatus;exports.PeginAction=T.PeginAction;exports.canPerformAction=T.canPerformAction;exports.getPeginProtocolState=T.getPeginProtocolState;exports.isActivationDeadlinePassedOnChain=T.isActivationDeadlinePassedOnChain;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|