@babylonlabs-io/ts-sdk 0.35.0 → 0.36.1
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/buildAndBroadcastRefund-D4YqqClN.js +872 -0
- package/dist/buildAndBroadcastRefund-D4YqqClN.js.map +1 -0
- package/dist/buildAndBroadcastRefund-DSELaUiR.cjs +2 -0
- package/dist/buildAndBroadcastRefund-DSELaUiR.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +73 -69
- package/dist/tbv/core/clients/eth/types.d.ts +1 -0
- package/dist/tbv/core/clients/eth/types.d.ts.map +1 -1
- package/dist/tbv/core/clients/eth/vault-registry-reader.d.ts +1 -0
- package/dist/tbv/core/clients/eth/vault-registry-reader.d.ts.map +1 -1
- package/dist/tbv/core/clients/index.cjs +1 -1
- package/dist/tbv/core/clients/index.js +1 -1
- package/dist/tbv/core/clients/vault-provider/auth/gatedMethods.d.ts.map +1 -1
- package/dist/tbv/core/index.cjs +1 -1
- package/dist/tbv/core/index.js +66 -62
- package/dist/tbv/core/services/deposit/__tests__/validateOnChainParticipantKeys.test.d.ts +2 -0
- package/dist/tbv/core/services/deposit/__tests__/validateOnChainParticipantKeys.test.d.ts.map +1 -0
- package/dist/tbv/core/services/deposit/__tests__/verifyRegisteredVaultVersions.test.d.ts +2 -0
- package/dist/tbv/core/services/deposit/__tests__/verifyRegisteredVaultVersions.test.d.ts.map +1 -0
- package/dist/tbv/core/services/deposit/index.d.ts +8 -12
- package/dist/tbv/core/services/deposit/index.d.ts.map +1 -1
- package/dist/tbv/core/services/deposit/validateOnChainParticipantKeys.d.ts +21 -0
- package/dist/tbv/core/services/deposit/validateOnChainParticipantKeys.d.ts.map +1 -0
- package/dist/tbv/core/services/deposit/verifyRegisteredVaultVersions.d.ts +15 -0
- package/dist/tbv/core/services/deposit/verifyRegisteredVaultVersions.d.ts.map +1 -0
- package/dist/tbv/core/services/index.cjs +1 -1
- package/dist/tbv/core/services/index.js +23 -19
- package/dist/tbv/index.cjs +1 -1
- package/dist/tbv/index.js +66 -62
- package/dist/tbv/integrations/aave/constants.d.ts +15 -2
- package/dist/tbv/integrations/aave/constants.d.ts.map +1 -1
- package/dist/tbv/integrations/aave/index.cjs +1 -1
- package/dist/tbv/integrations/aave/index.cjs.map +1 -1
- package/dist/tbv/integrations/aave/index.d.ts +1 -1
- package/dist/tbv/integrations/aave/index.d.ts.map +1 -1
- package/dist/tbv/integrations/aave/index.js +94 -93
- package/dist/tbv/integrations/aave/index.js.map +1 -1
- package/dist/vault-registry-reader-CLnhAUN4.cjs +2 -0
- package/dist/vault-registry-reader-CLnhAUN4.cjs.map +1 -0
- package/dist/{vault-registry-reader-BBk0p-u-.js → vault-registry-reader-CrLodprY.js} +228 -197
- package/dist/vault-registry-reader-CrLodprY.js.map +1 -0
- package/package.json +1 -1
- package/dist/buildAndBroadcastRefund-BQ0CaL6Q.cjs +0 -2
- package/dist/buildAndBroadcastRefund-BQ0CaL6Q.cjs.map +0 -1
- package/dist/buildAndBroadcastRefund-DzX11N9S.js +0 -785
- package/dist/buildAndBroadcastRefund-DzX11N9S.js.map +0 -1
- package/dist/vault-registry-reader-BBk0p-u-.js.map +0 -1
- package/dist/vault-registry-reader-DQgnZilV.cjs +0 -2
- package/dist/vault-registry-reader-DQgnZilV.cjs.map +0 -1
package/dist/tbv/core/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as s, b as t, c as r } from "../../challengeAssert-BzxQmdZy.js";
|
|
2
2
|
import { computeMinClaimValue as i, deriveVaultId as n, expandAuthAnchor as l, expandHashlockSecret as u, expandWotsSeed as d } from "@babylonlabs-io/babylon-tbv-rust-wasm";
|
|
3
|
-
import { c as P, a as c, b as T, e as S, f as
|
|
4
|
-
import { a as
|
|
3
|
+
import { c as P, a as c, b as T, e as S, f as E } from "../../peginInput-C2QPvuhR.js";
|
|
4
|
+
import { a as g, b as A } from "../../noPayout-DBX6G96_.js";
|
|
5
5
|
import { a as _, b as x, c as f, e as b } from "../../payout-BNFMBXS6.js";
|
|
6
|
-
import { d as
|
|
6
|
+
import { d as I, a as V, e as C, f as O, g as U, h, i as y, b as F, p as N, s as B, t as D, u as M, v as H } from "../../bitcoin-B0S8SHCX.js";
|
|
7
7
|
import { c as k } from "../../signing-DaLvGwQe.js";
|
|
8
8
|
import { B as X, H as w, K, M as G, T as Y } from "../../validation-CxqROCno.js";
|
|
9
9
|
import { P as J, V as j, b as z, a as q, c as Q, e as $, d as aa } from "../../PeginManager-DF1oinIQ.js";
|
|
@@ -11,32 +11,32 @@ import { P as sa, c as ta, v as ra } from "../../PayoutManager-s_uH8Uuj.js";
|
|
|
11
11
|
import { A as ia, P as na } from "../../ProtocolParams.abi-DXu8L0Fn.js";
|
|
12
12
|
import { B as ua } from "../../BTCVaultRegistry.abi-DbJ5lsFJ.js";
|
|
13
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
|
|
15
|
-
import { U as
|
|
14
|
+
import { B as Ra, D as ga, F as Aa, L as ma, M as _a, P as xa, b as fa, a as ba, S as va, T as Ia, W as Va, f as Ca, c as Oa, p as Ua, r as ha } from "../../fundPeginTransaction-oV-dNJOU.js";
|
|
15
|
+
import { U as Fa, a as Na, c as Ba, e as Da, s as Ma, v as Ha } from "../../reservation-CHUGW0F_.js";
|
|
16
16
|
import { B as ka, c as Wa, g as Xa, d as wa, b as Ka, s as Ga, a as Ya, w as Za } from "../../waitForTransactionReceiptSmartAware-Cj_DKm0G.js";
|
|
17
17
|
import { M as ja, g as za, a as qa, b as Qa, c as $a, d as ae, e as ee, f as se, p as te } from "../../mempoolApi-CAIge7Nj.js";
|
|
18
|
-
import { S as oe, V as ie, j as ne, k as le, l as ue, m as de, a as pe, d as Pe, b as ce, f as Te, p as Se, r as
|
|
19
|
-
import { D as be, b as
|
|
18
|
+
import { S as oe, V as ie, j as ne, k as le, l as ue, m as de, a as pe, d as Pe, b as ce, f as Te, p as Se, r as Ee, g as Re, h as ge, v as Ae, i as me, c as _e, e as xe } from "../../vault-registry-reader-CrLodprY.js";
|
|
19
|
+
import { D as be, b as ve, J as Ie, a as Ve, d as Ce, P as Oe, R as Ue, e as he, c as ye, V as Fe } from "../../types-TiIjyo2b.js";
|
|
20
20
|
import { i as Be, p as De } from "../../errors-9AkghWyk.js";
|
|
21
|
-
import { B as He, C as Le,
|
|
22
|
-
import { C as
|
|
21
|
+
import { B as He, C as Le, p as ke, R as We, a as Xe, n as we, o as Ke, i as Ge, m as Ye, l as Ze, j as Je, r as je, b as ze, s as qe, v as Qe, g as $e, h as as, d as es, c as ss, e as ts, f as rs, k as os, w as is } from "../../buildAndBroadcastRefund-D4YqqClN.js";
|
|
22
|
+
import { C as ls, P as us, c as ds, g as ps } from "../../peginState-CBAlxgXk.js";
|
|
23
23
|
export {
|
|
24
24
|
ia as ApplicationRegistryABI,
|
|
25
25
|
He as BIP68NotMatureError,
|
|
26
26
|
X as BITCOIN_ADDRESS_RE,
|
|
27
27
|
ua as BTCVaultRegistryABI,
|
|
28
|
-
|
|
28
|
+
Ra as BTC_DUST_SAT,
|
|
29
29
|
ka as BitcoinScriptType,
|
|
30
30
|
pa as CONTRACT_ERRORS,
|
|
31
31
|
Le as ClaimerPegoutStatusValue,
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
ls as ContractStatus,
|
|
33
|
+
ga as DUST_THRESHOLD,
|
|
34
34
|
be as DaemonStatus,
|
|
35
|
-
|
|
35
|
+
Aa as FEE_SAFETY_MARGIN,
|
|
36
36
|
w as HEX_RE,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
ve as JSON_RPC_ERROR_CODES,
|
|
38
|
+
Ie as JsonRpcClient,
|
|
39
|
+
Ve as JsonRpcError,
|
|
40
40
|
K as KNOWN_SCRIPT_PREFIXES,
|
|
41
41
|
ma as LOW_RATE_ESTIMATION_ACCURACY_BUFFER,
|
|
42
42
|
_a as MAX_NON_LEGACY_OUTPUT_SIZE,
|
|
@@ -45,23 +45,24 @@ export {
|
|
|
45
45
|
xa as P2TR_INPUT_SIZE,
|
|
46
46
|
fa as PEGIN_AUTH_ANCHOR_OUTPUTS,
|
|
47
47
|
ba as PEGIN_FIXED_OUTPUTS,
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
Ce as POST_WOTS_STATUSES,
|
|
49
|
+
Oe as PRE_DEPOSITOR_SIGNATURES_STATES,
|
|
50
50
|
sa as PayoutManager,
|
|
51
|
-
|
|
51
|
+
us as PeginAction,
|
|
52
52
|
J as PeginManager,
|
|
53
53
|
na as ProtocolParamsABI,
|
|
54
54
|
ke as REFUND_VSIZE,
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
We as RegisteredVaultVersionMismatchError,
|
|
56
|
+
Ue as RpcErrorCode,
|
|
57
|
+
va as SPLIT_TX_FEE_SAFETY_MULTIPLIER,
|
|
57
58
|
oe as ServerIdentityError,
|
|
58
59
|
Y as TXID_RE,
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
Ia as TX_BUFFER_SIZE_OVERHEAD,
|
|
61
|
+
Fa as UtxoNotAvailableError,
|
|
61
62
|
j as VAULT_APP_NAME,
|
|
62
|
-
|
|
63
|
+
he as VP_BATCH_MAX_SIZE,
|
|
63
64
|
ye as VP_TERMINAL_STATUSES,
|
|
64
|
-
|
|
65
|
+
Fe as VP_TRANSIENT_STATUSES,
|
|
65
66
|
ie as VaultProviderRpcClient,
|
|
66
67
|
ne as ViemProtocolParamsReader,
|
|
67
68
|
le as ViemUniversalChallengerReader,
|
|
@@ -69,24 +70,24 @@ export {
|
|
|
69
70
|
de as ViemVaultRegistryReader,
|
|
70
71
|
pe as VpResponseValidationError,
|
|
71
72
|
Pe as VpTokenRegistry,
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
Va as WALLET_RELAY_FEE_RATE_THRESHOLD,
|
|
74
|
+
Xe as activateVault,
|
|
74
75
|
_ as assertPayoutOutputMatchesRegistered,
|
|
75
76
|
Na as assertUtxosAvailable,
|
|
76
77
|
ce as batchPollByProvider,
|
|
77
|
-
|
|
78
|
+
we as buildAndBroadcastRefund,
|
|
78
79
|
s as buildChallengeAssertPsbt,
|
|
79
80
|
t as buildDepositorPayoutPsbt,
|
|
80
81
|
z as buildFundingOutpointsCommitment,
|
|
81
|
-
|
|
82
|
+
g as buildNoPayoutPsbt,
|
|
82
83
|
x as buildPayoutPsbt,
|
|
83
84
|
P as buildPeginInputPsbt,
|
|
84
85
|
c as buildPeginTxFromFundedPrePegin,
|
|
85
86
|
T as buildPrePeginPsbt,
|
|
86
|
-
|
|
87
|
+
A as buildRefundPsbt,
|
|
87
88
|
q as buildVaultContext,
|
|
88
89
|
Wa as calculateBtcTxHash,
|
|
89
|
-
|
|
90
|
+
ds as canPerformAction,
|
|
90
91
|
Ba as collectReservedUtxoRefs,
|
|
91
92
|
ta as computeHashlock,
|
|
92
93
|
i as computeMinClaimValue,
|
|
@@ -95,13 +96,13 @@ export {
|
|
|
95
96
|
Te as createAuthenticatedVpClient,
|
|
96
97
|
f as createPayoutScript,
|
|
97
98
|
k as createTaprootScriptPathSignOptions,
|
|
98
|
-
|
|
99
|
-
|
|
99
|
+
I as deriveNativeSegwitAddress,
|
|
100
|
+
V as deriveTaprootAddress,
|
|
100
101
|
n as deriveVaultId,
|
|
101
102
|
$ as deriveVaultRoot,
|
|
102
103
|
aa as deriveWotsBlocksFromSeed,
|
|
103
|
-
|
|
104
|
-
|
|
104
|
+
C as ensureHexPrefix,
|
|
105
|
+
Ke as estimateRefundFeeSats,
|
|
105
106
|
l as expandAuthAnchor,
|
|
106
107
|
u as expandHashlockSecret,
|
|
107
108
|
d as expandWotsSeed,
|
|
@@ -109,64 +110,67 @@ export {
|
|
|
109
110
|
Da as extractInputsFromTransaction,
|
|
110
111
|
b as extractPayoutSignature,
|
|
111
112
|
S as extractPeginInputSignature,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
E as finalizePeginInputPsbt,
|
|
114
|
+
O as formatSatoshisToBtc,
|
|
115
|
+
Ca as fundPeginTransaction,
|
|
115
116
|
za as getAddressTxs,
|
|
116
117
|
qa as getAddressUtxos,
|
|
117
118
|
ca as getContractErrorMessage,
|
|
118
119
|
Xa as getDustThreshold,
|
|
119
120
|
Qa as getMempoolApiUrl,
|
|
120
|
-
|
|
121
|
+
U as getNetwork,
|
|
121
122
|
$a as getNetworkFees,
|
|
122
|
-
|
|
123
|
+
ps as getPeginProtocolState,
|
|
123
124
|
wa as getPsbtInputFields,
|
|
124
125
|
Ka as getScriptType,
|
|
125
126
|
ae as getTxHex,
|
|
126
127
|
ee as getTxInfo,
|
|
127
128
|
se as getUtxoInfo,
|
|
128
129
|
Ta as handleContractError,
|
|
129
|
-
|
|
130
|
+
h as hexToUint8Array,
|
|
130
131
|
y as isAddressFromPublicKey,
|
|
131
|
-
|
|
132
|
+
Ge as isDepositAmountValid,
|
|
132
133
|
Sa as isKnownContractError,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
Ye as isPegoutTerminalStatus,
|
|
135
|
+
Ze as isRecognizedPegoutStatus,
|
|
136
|
+
Je as isRegisteredVaultVersionMismatchError,
|
|
137
|
+
F as isValidHex,
|
|
136
138
|
Be as isWotsMismatchError,
|
|
137
139
|
De as parseFundingOutpointsFromTx,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
+
Oa as parseUnfundedWasmTransaction,
|
|
141
|
+
Ua as peginOutputCount,
|
|
140
142
|
Se as primeVpTokenRegistry,
|
|
141
143
|
N as processPublicKeyToXOnly,
|
|
142
144
|
te as pushTx,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
145
|
+
ha as rateBasedTxBufferFee,
|
|
146
|
+
Ee as resolveProtocolAddresses,
|
|
147
|
+
je as runDepositorPresignFlow,
|
|
146
148
|
Ma as selectUtxosForDeposit,
|
|
147
149
|
Ga as selectUtxosForPegin,
|
|
148
150
|
Ya as shouldAddChangeOutput,
|
|
149
|
-
|
|
151
|
+
ze as signDepositorGraph,
|
|
150
152
|
B as stripHexPrefix,
|
|
151
|
-
|
|
153
|
+
qe as submitWotsPublicKey,
|
|
152
154
|
D as toXOnly,
|
|
153
155
|
M as uint8ArrayToHex,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
156
|
+
Qe as validateDepositAmount,
|
|
157
|
+
$e as validateMultiVaultDepositInputs,
|
|
158
|
+
Re as validateOffchainParams,
|
|
159
|
+
as as validateOnChainParticipantKeys,
|
|
160
|
+
ge as validatePegInConfiguration,
|
|
161
|
+
es as validateProviderSelection,
|
|
162
|
+
ss as validateRemainingCapacity,
|
|
163
|
+
Ae as validateRequestDepositorClaimerArtifactsResponse,
|
|
161
164
|
ra as validateSecretAgainstHashlock,
|
|
162
165
|
me as validateTBVProtocolParams,
|
|
163
166
|
Ha as validateUtxosAvailable,
|
|
164
|
-
|
|
165
|
-
|
|
167
|
+
ts as validateVaultAmounts,
|
|
168
|
+
rs as validateVaultProviderPubkey,
|
|
166
169
|
H as validateWalletPubkey,
|
|
170
|
+
os as verifyRegisteredVaultVersions,
|
|
167
171
|
_e as verifyServerIdentity,
|
|
168
172
|
xe as vpTokenRegistry,
|
|
169
|
-
|
|
173
|
+
is as waitForPeginStatus,
|
|
170
174
|
Za as waitForTransactionReceiptSmartAware
|
|
171
175
|
};
|
|
172
176
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validateOnChainParticipantKeys.test.d.ts","sourceRoot":"","sources":["../../../../../../src/tbv/core/services/deposit/__tests__/validateOnChainParticipantKeys.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verifyRegisteredVaultVersions.test.d.ts","sourceRoot":"","sources":["../../../../../../src/tbv/core/services/deposit/__tests__/verifyRegisteredVaultVersions.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
export type { PeginStatusReader, WotsKeySubmitter, PresignClient, ClaimerArtifactsReader, } from './interfaces';
|
|
2
|
-
export { waitForPeginStatus } from './waitForPeginStatus';
|
|
3
|
-
export type
|
|
4
|
-
export {
|
|
5
|
-
export type
|
|
6
|
-
export {
|
|
7
|
-
export type
|
|
8
|
-
export {
|
|
9
|
-
export
|
|
10
|
-
export { ContractStatus, PeginAction, canPerformAction, getPeginProtocolState, } from './peginState';
|
|
11
|
-
export type { ExpirationReason, GetPeginProtocolStateOptions, PeginProtocolState, } from './peginState';
|
|
12
|
-
export { isDepositAmountValid, validateDepositAmount, validateRemainingCapacity, validateProviderSelection, validateVaultAmounts, validateVaultProviderPubkey, validateMultiVaultDepositInputs, } from './validation';
|
|
13
|
-
export type { ValidationResult, DepositFormValidityParams, RemainingCapacityParams, MultiVaultDepositFlowInputs, } from './validation';
|
|
2
|
+
export { waitForPeginStatus, type WaitForPeginStatusParams, } from './waitForPeginStatus';
|
|
3
|
+
export { submitWotsPublicKey, type SubmitWotsPublicKeyParams, } from './submitWotsPublicKey';
|
|
4
|
+
export { signDepositorGraph, type DepositorGraphSigningContext, type SignDepositorGraphParams, } from './signDepositorGraph';
|
|
5
|
+
export { runDepositorPresignFlow, type PayoutSigningContext, type RunDepositorPresignFlowParams, } from './runDepositorPresignFlow';
|
|
6
|
+
export { ContractStatus, PeginAction, canPerformAction, getPeginProtocolState, type ExpirationReason, type GetPeginProtocolStateOptions, type PeginProtocolState, } from './peginState';
|
|
7
|
+
export { isDepositAmountValid, validateDepositAmount, validateRemainingCapacity, validateProviderSelection, validateVaultAmounts, validateVaultProviderPubkey, validateMultiVaultDepositInputs, type ValidationResult, type DepositFormValidityParams, type RemainingCapacityParams, type MultiVaultDepositFlowInputs, } from './validation';
|
|
8
|
+
export { validateOnChainParticipantKeys, type ValidateOnChainParticipantKeysParams, type ValidatedOnChainParticipantKeys, } from './validateOnChainParticipantKeys';
|
|
9
|
+
export { RegisteredVaultVersionMismatchError, isRegisteredVaultVersionMismatchError, verifyRegisteredVaultVersions, type VerifyRegisteredVaultVersionsParams, } from './verifyRegisteredVaultVersions';
|
|
14
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/services/deposit/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,sBAAsB,GACvB,MAAM,cAAc,CAAC;AACtB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/services/deposit/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,sBAAsB,GACvB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,kBAAkB,EAClB,KAAK,wBAAwB,GAC9B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,mBAAmB,EACnB,KAAK,yBAAyB,GAC/B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,kBAAkB,EAClB,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,GAC9B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,EACvB,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,GACnC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,qBAAqB,EACrB,KAAK,gBAAgB,EACrB,KAAK,4BAA4B,EACjC,KAAK,kBAAkB,GACxB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,EACzB,oBAAoB,EACpB,2BAA2B,EAC3B,+BAA+B,EAC/B,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,GACjC,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,8BAA8B,EAC9B,KAAK,oCAAoC,EACzC,KAAK,+BAA+B,GACrC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,mCAAmC,EACnC,qCAAqC,EACrC,6BAA6B,EAC7B,KAAK,mCAAmC,GACzC,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Address } from 'viem';
|
|
2
|
+
import { UniversalChallengerReader, VaultKeeperReader, VaultRegistryReader } from '../../clients/eth/types';
|
|
3
|
+
export interface ValidateOnChainParticipantKeysParams {
|
|
4
|
+
vaultRegistryReader: VaultRegistryReader;
|
|
5
|
+
vaultKeeperReader: VaultKeeperReader;
|
|
6
|
+
universalChallengerReader: UniversalChallengerReader;
|
|
7
|
+
vaultProviderEthAddress: Address;
|
|
8
|
+
applicationEntryPoint: Address;
|
|
9
|
+
expectedVaultProviderBtcPubkey: string;
|
|
10
|
+
expectedVaultKeeperBtcPubkeys: string[];
|
|
11
|
+
expectedUniversalChallengerBtcPubkeys: string[];
|
|
12
|
+
}
|
|
13
|
+
export interface ValidatedOnChainParticipantKeys {
|
|
14
|
+
vaultProviderBtcPubkeyXOnly: string;
|
|
15
|
+
vaultKeeperBtcPubkeysSorted: string[];
|
|
16
|
+
universalChallengerBtcPubkeysSorted: string[];
|
|
17
|
+
expectedAppVaultKeepersVersion: number;
|
|
18
|
+
expectedUniversalChallengersVersion: number;
|
|
19
|
+
}
|
|
20
|
+
export declare function validateOnChainParticipantKeys(params: ValidateOnChainParticipantKeysParams): Promise<ValidatedOnChainParticipantKeys>;
|
|
21
|
+
//# sourceMappingURL=validateOnChainParticipantKeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validateOnChainParticipantKeys.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/services/deposit/validateOnChainParticipantKeys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,KAAK,EACV,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,yBAAyB,CAAC;AAGjC,MAAM,WAAW,oCAAoC;IACnD,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,uBAAuB,EAAE,OAAO,CAAC;IACjC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,8BAA8B,EAAE,MAAM,CAAC;IACvC,6BAA6B,EAAE,MAAM,EAAE,CAAC;IACxC,qCAAqC,EAAE,MAAM,EAAE,CAAC;CACjD;AAED,MAAM,WAAW,+BAA+B;IAC9C,2BAA2B,EAAE,MAAM,CAAC;IACpC,2BAA2B,EAAE,MAAM,EAAE,CAAC;IACtC,mCAAmC,EAAE,MAAM,EAAE,CAAC;IAC9C,8BAA8B,EAAE,MAAM,CAAC;IACvC,mCAAmC,EAAE,MAAM,CAAC;CAC7C;AAED,wBAAsB,8BAA8B,CAClD,MAAM,EAAE,oCAAoC,GAC3C,OAAO,CAAC,+BAA+B,CAAC,CA2E1C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Hex } from 'viem';
|
|
2
|
+
import { VaultRegistryReader } from '../../clients/eth/types';
|
|
3
|
+
export interface VerifyRegisteredVaultVersionsParams {
|
|
4
|
+
vaultRegistryReader: VaultRegistryReader;
|
|
5
|
+
vaultIds: readonly Hex[];
|
|
6
|
+
expectedOffchainParamsVersion: number;
|
|
7
|
+
expectedAppVaultKeepersVersion: number;
|
|
8
|
+
expectedUniversalChallengersVersion: number;
|
|
9
|
+
}
|
|
10
|
+
export declare class RegisteredVaultVersionMismatchError extends Error {
|
|
11
|
+
constructor(message: string);
|
|
12
|
+
}
|
|
13
|
+
export declare function isRegisteredVaultVersionMismatchError(err: unknown): err is RegisteredVaultVersionMismatchError;
|
|
14
|
+
export declare function verifyRegisteredVaultVersions(params: VerifyRegisteredVaultVersionsParams): Promise<void>;
|
|
15
|
+
//# sourceMappingURL=verifyRegisteredVaultVersions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verifyRegisteredVaultVersions.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/services/deposit/verifyRegisteredVaultVersions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAEhC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,MAAM,WAAW,mCAAmC;IAClD,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,QAAQ,EAAE,SAAS,GAAG,EAAE,CAAC;IACzB,6BAA6B,EAAE,MAAM,CAAC;IACtC,8BAA8B,EAAE,MAAM,CAAC;IACvC,mCAAmC,EAAE,MAAM,CAAC;CAC7C;AAID,qBAAa,mCAAoC,SAAQ,KAAK;gBAChD,OAAO,EAAE,MAAM;CAI5B;AAID,wBAAgB,qCAAqC,CACnD,GAAG,EAAE,OAAO,GACX,GAAG,IAAI,mCAAmC,CAK5C;AAED,wBAAsB,6BAA6B,CACjD,MAAM,EAAE,mCAAmC,GAC1C,OAAO,CAAC,IAAI,CAAC,CAoCf"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../PayoutManager-BhJoQZsG.cjs"),t=require("../../../buildAndBroadcastRefund-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../PayoutManager-BhJoQZsG.cjs"),t=require("../../../buildAndBroadcastRefund-DSELaUiR.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.RegisteredVaultVersionMismatchError=t.RegisteredVaultVersionMismatchError;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.isRegisteredVaultVersionMismatchError=t.isRegisteredVaultVersionMismatchError;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.verifyRegisteredVaultVersions=t.verifyRegisteredVaultVersions;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,31 +1,35 @@
|
|
|
1
1
|
import { c as s, v as e } from "../../../PayoutManager-s_uH8Uuj.js";
|
|
2
|
-
import { B as o, C as r, R as u, a as l,
|
|
3
|
-
import { C as
|
|
2
|
+
import { B as o, C as r, p as n, R as u, a as l, n as c, o as d, i as g, m, l as P, j as p, r as v, b as V, s as S, v as R, g as f, h, d as A, c as C, e as D, f as b, k as y, w as E } from "../../../buildAndBroadcastRefund-D4YqqClN.js";
|
|
3
|
+
import { C as F, P as M, c as w, g as x } from "../../../peginState-CBAlxgXk.js";
|
|
4
4
|
export {
|
|
5
5
|
o as BIP68NotMatureError,
|
|
6
6
|
r as ClaimerPegoutStatusValue,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
F as ContractStatus,
|
|
8
|
+
M as PeginAction,
|
|
9
|
+
n as REFUND_VSIZE,
|
|
10
|
+
u as RegisteredVaultVersionMismatchError,
|
|
10
11
|
l as activateVault,
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
c as buildAndBroadcastRefund,
|
|
13
|
+
w as canPerformAction,
|
|
13
14
|
s as computeHashlock,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
S as
|
|
15
|
+
d as estimateRefundFeeSats,
|
|
16
|
+
x as getPeginProtocolState,
|
|
17
|
+
g as isDepositAmountValid,
|
|
18
|
+
m as isPegoutTerminalStatus,
|
|
19
|
+
P as isRecognizedPegoutStatus,
|
|
20
|
+
p as isRegisteredVaultVersionMismatchError,
|
|
21
|
+
v as runDepositorPresignFlow,
|
|
22
|
+
V as signDepositorGraph,
|
|
23
|
+
S as submitWotsPublicKey,
|
|
24
|
+
R as validateDepositAmount,
|
|
23
25
|
f as validateMultiVaultDepositInputs,
|
|
26
|
+
h as validateOnChainParticipantKeys,
|
|
24
27
|
A as validateProviderSelection,
|
|
25
|
-
|
|
28
|
+
C as validateRemainingCapacity,
|
|
26
29
|
e as validateSecretAgainstHashlock,
|
|
27
30
|
D as validateVaultAmounts,
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
b as validateVaultProviderPubkey,
|
|
32
|
+
y as verifyRegisteredVaultVersions,
|
|
33
|
+
E as waitForPeginStatus
|
|
30
34
|
};
|
|
31
35
|
//# sourceMappingURL=index.js.map
|
package/dist/tbv/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../challengeAssert-Yyyj-EdR.cjs"),l=require("@babylonlabs-io/babylon-tbv-rust-wasm"),d=require("../peginInput-tbw9BpZy.cjs"),E=require("../noPayout-BXeUw0Qq.cjs"),T=require("../payout-DQ_fmJUA.cjs"),a=require("../bitcoin-B3aqjuMP.cjs"),_=require("../signing-Bnsro0hE.cjs"),c=require("../validation-u8W7Lp2x.cjs"),n=require("../PeginManager-cPQuJTB9.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../challengeAssert-Yyyj-EdR.cjs"),l=require("@babylonlabs-io/babylon-tbv-rust-wasm"),d=require("../peginInput-tbw9BpZy.cjs"),E=require("../noPayout-BXeUw0Qq.cjs"),T=require("../payout-DQ_fmJUA.cjs"),a=require("../bitcoin-B3aqjuMP.cjs"),_=require("../signing-Bnsro0hE.cjs"),c=require("../validation-u8W7Lp2x.cjs"),n=require("../PeginManager-cPQuJTB9.cjs"),g=require("../PayoutManager-BhJoQZsG.cjs"),R=require("../ProtocolParams.abi-BmvHwQJV.cjs"),m=require("../BTCVaultRegistry.abi-ZdPpION2.cjs"),P=require("../errors-BP73_stm.cjs"),r=require("../fundPeginTransaction-DaWoYCgO.cjs"),u=require("../reservation-ho7mjW3X.cjs"),s=require("../waitForTransactionReceiptSmartAware-D9ykVriz.cjs"),o=require("../mempoolApi-YNkKjQCU.cjs"),t=require("../vault-registry-reader-CLnhAUN4.cjs"),i=require("../types-DnyyBNcC.cjs"),A=require("../errors-Bu0H-dZD.cjs"),e=require("../buildAndBroadcastRefund-DSELaUiR.cjs"),S=require("../peginState-BijNNT15.cjs");exports.buildChallengeAssertPsbt=p.buildChallengeAssertPsbt;exports.buildDepositorPayoutPsbt=p.buildDepositorPayoutPsbt;exports.computeNumLocalChallengers=p.computeNumLocalChallengers;Object.defineProperty(exports,"computeMinClaimValue",{enumerable:!0,get:()=>l.computeMinClaimValue});Object.defineProperty(exports,"deriveVaultId",{enumerable:!0,get:()=>l.deriveVaultId});Object.defineProperty(exports,"expandAuthAnchor",{enumerable:!0,get:()=>l.expandAuthAnchor});Object.defineProperty(exports,"expandHashlockSecret",{enumerable:!0,get:()=>l.expandHashlockSecret});Object.defineProperty(exports,"expandWotsSeed",{enumerable:!0,get:()=>l.expandWotsSeed});exports.buildPeginInputPsbt=d.buildPeginInputPsbt;exports.buildPeginTxFromFundedPrePegin=d.buildPeginTxFromFundedPrePegin;exports.buildPrePeginPsbt=d.buildPrePeginPsbt;exports.extractPeginInputSignature=d.extractPeginInputSignature;exports.finalizePeginInputPsbt=d.finalizePeginInputPsbt;exports.buildNoPayoutPsbt=E.buildNoPayoutPsbt;exports.buildRefundPsbt=E.buildRefundPsbt;exports.assertPayoutOutputMatchesRegistered=T.assertPayoutOutputMatchesRegistered;exports.buildPayoutPsbt=T.buildPayoutPsbt;exports.createPayoutScript=T.createPayoutScript;exports.extractPayoutSignature=T.extractPayoutSignature;exports.deriveNativeSegwitAddress=a.deriveNativeSegwitAddress;exports.deriveTaprootAddress=a.deriveTaprootAddress;exports.ensureHexPrefix=a.ensureHexPrefix;exports.formatSatoshisToBtc=a.formatSatoshisToBtc;exports.getNetwork=a.getNetwork;exports.hexToUint8Array=a.hexToUint8Array;exports.isAddressFromPublicKey=a.isAddressFromPublicKey;exports.isValidHex=a.isValidHex;exports.processPublicKeyToXOnly=a.processPublicKeyToXOnly;exports.stripHexPrefix=a.stripHexPrefix;exports.toXOnly=a.toXOnly;exports.uint8ArrayToHex=a.uint8ArrayToHex;exports.validateWalletPubkey=a.validateWalletPubkey;exports.createTaprootScriptPathSignOptions=_.createTaprootScriptPathSignOptions;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.PeginManager=n.PeginManager;exports.VAULT_APP_NAME=n.VAULT_APP_NAME;exports.buildFundingOutpointsCommitment=n.buildFundingOutpointsCommitment;exports.buildVaultContext=n.buildVaultContext;exports.computeWotsBlockPublicKeysHash=n.computeWotsBlockPublicKeysHash;exports.deriveVaultRoot=n.deriveVaultRoot;exports.deriveWotsBlocksFromSeed=n.deriveWotsBlocksFromSeed;exports.PayoutManager=g.PayoutManager;exports.computeHashlock=g.computeHashlock;exports.validateSecretAgainstHashlock=g.validateSecretAgainstHashlock;exports.ApplicationRegistryABI=R.ApplicationRegistryABI;exports.ProtocolParamsABI=R.ProtocolParamsABI;exports.BTCVaultRegistryABI=m.BTCVaultRegistryABI;exports.CONTRACT_ERRORS=P.CONTRACT_ERRORS;exports.extractErrorData=P.extractErrorData;exports.getContractErrorMessage=P.getContractErrorMessage;exports.handleContractError=P.handleContractError;exports.isKnownContractError=P.isKnownContractError;exports.BTC_DUST_SAT=r.BTC_DUST_SAT;exports.DUST_THRESHOLD=r.DUST_THRESHOLD;exports.FEE_SAFETY_MARGIN=r.FEE_SAFETY_MARGIN;exports.LOW_RATE_ESTIMATION_ACCURACY_BUFFER=r.LOW_RATE_ESTIMATION_ACCURACY_BUFFER;exports.MAX_NON_LEGACY_OUTPUT_SIZE=r.MAX_NON_LEGACY_OUTPUT_SIZE;exports.P2TR_INPUT_SIZE=r.P2TR_INPUT_SIZE;exports.PEGIN_AUTH_ANCHOR_OUTPUTS=r.PEGIN_AUTH_ANCHOR_OUTPUTS;exports.PEGIN_FIXED_OUTPUTS=r.PEGIN_FIXED_OUTPUTS;exports.SPLIT_TX_FEE_SAFETY_MULTIPLIER=r.SPLIT_TX_FEE_SAFETY_MULTIPLIER;exports.TX_BUFFER_SIZE_OVERHEAD=r.TX_BUFFER_SIZE_OVERHEAD;exports.WALLET_RELAY_FEE_RATE_THRESHOLD=r.WALLET_RELAY_FEE_RATE_THRESHOLD;exports.fundPeginTransaction=r.fundPeginTransaction;exports.parseUnfundedWasmTransaction=r.parseUnfundedWasmTransaction;exports.peginOutputCount=r.peginOutputCount;exports.rateBasedTxBufferFee=r.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=s.BitcoinScriptType;exports.calculateBtcTxHash=s.calculateBtcTxHash;exports.getDustThreshold=s.getDustThreshold;exports.getPsbtInputFields=s.getPsbtInputFields;exports.getScriptType=s.getScriptType;exports.selectUtxosForPegin=s.selectUtxosForPegin;exports.shouldAddChangeOutput=s.shouldAddChangeOutput;exports.waitForTransactionReceiptSmartAware=s.waitForTransactionReceiptSmartAware;exports.MEMPOOL_API_URLS=o.MEMPOOL_API_URLS;exports.getAddressTxs=o.getAddressTxs;exports.getAddressUtxos=o.getAddressUtxos;exports.getMempoolApiUrl=o.getMempoolApiUrl;exports.getNetworkFees=o.getNetworkFees;exports.getTxHex=o.getTxHex;exports.getTxInfo=o.getTxInfo;exports.getUtxoInfo=o.getUtxoInfo;exports.pushTx=o.pushTx;exports.ServerIdentityError=t.ServerIdentityError;exports.VaultProviderRpcClient=t.VaultProviderRpcClient;exports.ViemProtocolParamsReader=t.ViemProtocolParamsReader;exports.ViemUniversalChallengerReader=t.ViemUniversalChallengerReader;exports.ViemVaultKeeperReader=t.ViemVaultKeeperReader;exports.ViemVaultRegistryReader=t.ViemVaultRegistryReader;exports.VpResponseValidationError=t.VpResponseValidationError;exports.VpTokenRegistry=t.VpTokenRegistry;exports.batchPollByProvider=t.batchPollByProvider;exports.createAuthenticatedVpClient=t.createAuthenticatedVpClient;exports.primeVpTokenRegistry=t.primeVpTokenRegistry;exports.resolveProtocolAddresses=t.resolveProtocolAddresses;exports.validateOffchainParams=t.validateOffchainParams;exports.validatePegInConfiguration=t.validatePegInConfiguration;exports.validateRequestDepositorClaimerArtifactsResponse=t.validateRequestDepositorClaimerArtifactsResponse;exports.validateTBVProtocolParams=t.validateTBVProtocolParams;exports.verifyServerIdentity=t.verifyServerIdentity;exports.vpTokenRegistry=t.vpTokenRegistry;exports.DaemonStatus=i.DaemonStatus;exports.JSON_RPC_ERROR_CODES=i.JSON_RPC_ERROR_CODES;exports.JsonRpcClient=i.JsonRpcClient;exports.JsonRpcError=i.JsonRpcError;exports.POST_WOTS_STATUSES=i.POST_WOTS_STATUSES;exports.PRE_DEPOSITOR_SIGNATURES_STATES=i.PRE_DEPOSITOR_SIGNATURES_STATES;exports.RpcErrorCode=i.RpcErrorCode;exports.VP_BATCH_MAX_SIZE=i.VP_BATCH_MAX_SIZE;exports.VP_TERMINAL_STATUSES=i.VP_TERMINAL_STATUSES;exports.VP_TRANSIENT_STATUSES=i.VP_TRANSIENT_STATUSES;exports.isWotsMismatchError=A.isWotsMismatchError;exports.parseFundingOutpointsFromTx=A.parseFundingOutpointsFromTx;exports.BIP68NotMatureError=e.BIP68NotMatureError;exports.ClaimerPegoutStatusValue=e.ClaimerPegoutStatusValue;exports.REFUND_VSIZE=e.REFUND_VSIZE;exports.RegisteredVaultVersionMismatchError=e.RegisteredVaultVersionMismatchError;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.isRegisteredVaultVersionMismatchError=e.isRegisteredVaultVersionMismatchError;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.verifyRegisteredVaultVersions=e.verifyRegisteredVaultVersions;exports.waitForPeginStatus=e.waitForPeginStatus;exports.ContractStatus=S.ContractStatus;exports.PeginAction=S.PeginAction;exports.canPerformAction=S.canPerformAction;exports.getPeginProtocolState=S.getPeginProtocolState;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|