@babylonlabs-io/ts-sdk 0.56.0 → 0.57.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/README.md +1 -1
- package/dist/BTCVaultRegistry.abi-AUAyCHal.cjs +2 -0
- package/dist/BTCVaultRegistry.abi-AUAyCHal.cjs.map +1 -0
- package/dist/{BTCVaultRegistry.abi-Chs4AFBj.js → BTCVaultRegistry.abi-CixOlp3B.js} +73 -14
- package/dist/BTCVaultRegistry.abi-CixOlp3B.js.map +1 -0
- package/dist/BTCVaultRegistryKeyEpochs.abi-CXjhRZbm.js +111 -0
- package/dist/BTCVaultRegistryKeyEpochs.abi-CXjhRZbm.js.map +1 -0
- package/dist/BTCVaultRegistryKeyEpochs.abi-_NERAdc5.cjs +2 -0
- package/dist/BTCVaultRegistryKeyEpochs.abi-_NERAdc5.cjs.map +1 -0
- package/dist/{PeginManager-aYBkb-Qx.js → PeginManager-CnX3uFb0.js} +6 -6
- package/dist/{PeginManager-aYBkb-Qx.js.map → PeginManager-CnX3uFb0.js.map} +1 -1
- package/dist/PeginManager-iDbqXsKD.cjs +2 -0
- package/dist/{PeginManager-BkWdZI7P.cjs.map → PeginManager-iDbqXsKD.cjs.map} +1 -1
- package/dist/ProtocolParams.abi-C8U7BHCS.cjs +2 -0
- package/dist/ProtocolParams.abi-C8U7BHCS.cjs.map +1 -0
- package/dist/{ApplicationRegistry.abi-w5prf7Ig.js → ProtocolParams.abi-CV938AYZ.js} +150 -80
- package/dist/ProtocolParams.abi-CV938AYZ.js.map +1 -0
- package/dist/{buildAndBroadcastRefund-BtXUqBkb.js → buildAndBroadcastRefund-CCb1_z24.js} +627 -452
- package/dist/buildAndBroadcastRefund-CCb1_z24.js.map +1 -0
- package/dist/buildAndBroadcastRefund-CDzzTZ2U.cjs +2 -0
- package/dist/buildAndBroadcastRefund-CDzzTZ2U.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +186 -175
- package/dist/index.js.map +1 -1
- package/dist/{types-CQDRQvV-.js → json-rpc-client-Ehjthcd7.js} +61 -61
- package/dist/json-rpc-client-Ehjthcd7.js.map +1 -0
- package/dist/{types-WA0LrDk1.cjs → json-rpc-client-fUoK-TzT.cjs} +2 -2
- package/dist/json-rpc-client-fUoK-TzT.cjs.map +1 -0
- package/dist/mempoolApi-C0olk43O.js +536 -0
- package/dist/mempoolApi-C0olk43O.js.map +1 -0
- package/dist/mempoolApi-Dsm2VPXp.cjs +2 -0
- package/dist/mempoolApi-Dsm2VPXp.cjs.map +1 -0
- package/dist/{noPayout-CihCk1HE.js → noPayout-CI4l1qu2.js} +2 -2
- package/dist/{noPayout-CihCk1HE.js.map → noPayout-CI4l1qu2.js.map} +1 -1
- package/dist/{noPayout-Cb8vFrkY.cjs → noPayout-Djrv31V5.cjs} +2 -2
- package/dist/{noPayout-Cb8vFrkY.cjs.map → noPayout-Djrv31V5.cjs.map} +1 -1
- package/dist/onChainBtcPubkey-Cd9kpz-S.cjs +2 -0
- package/dist/onChainBtcPubkey-Cd9kpz-S.cjs.map +1 -0
- package/dist/onChainBtcPubkey-aPY5ib3Q.js +19 -0
- package/dist/onChainBtcPubkey-aPY5ib3Q.js.map +1 -0
- package/dist/primeVpAuth-BlxUcdBf.cjs +2 -0
- package/dist/primeVpAuth-BlxUcdBf.cjs.map +1 -0
- package/dist/{primeVpAuth-DZOaC_Ui.js → primeVpAuth-DkJbvywo.js} +479 -367
- package/dist/primeVpAuth-DkJbvywo.js.map +1 -0
- package/dist/signPsbtsWithFallback-C01N6Kdo.cjs +2 -0
- package/dist/signPsbtsWithFallback-C01N6Kdo.cjs.map +1 -0
- package/dist/{PayoutManager-BVgmuKuK.js → signPsbtsWithFallback-CzZFZf0I.js} +105 -101
- package/dist/signPsbtsWithFallback-CzZFZf0I.js.map +1 -0
- package/dist/tbv/core/clients/eth/index.d.ts +5 -3
- package/dist/tbv/core/clients/eth/index.d.ts.map +1 -1
- package/dist/tbv/core/clients/eth/onChainBtcPubkey.d.ts +16 -0
- package/dist/tbv/core/clients/eth/onChainBtcPubkey.d.ts.map +1 -0
- package/dist/tbv/core/clients/eth/operation-key-reader.d.ts +33 -0
- package/dist/tbv/core/clients/eth/operation-key-reader.d.ts.map +1 -0
- package/dist/tbv/core/clients/eth/types.d.ts +122 -3
- package/dist/tbv/core/clients/eth/types.d.ts.map +1 -1
- package/dist/tbv/core/clients/eth/vault-registry-reader.d.ts +25 -1
- 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 +35 -32
- package/dist/tbv/core/clients/index.js.map +1 -1
- package/dist/tbv/core/clients/mempool/mempoolApi.d.ts.map +1 -1
- package/dist/tbv/core/contracts/__tests__/BTCVaultRegistryKeyEpochs.abi.test.d.ts +2 -0
- package/dist/tbv/core/contracts/__tests__/BTCVaultRegistryKeyEpochs.abi.test.d.ts.map +1 -0
- package/dist/tbv/core/contracts/abis/ApplicationRegistry.abi.d.ts +66 -0
- package/dist/tbv/core/contracts/abis/ApplicationRegistry.abi.d.ts.map +1 -1
- package/dist/tbv/core/contracts/abis/BTCVaultRegistry.abi.d.ts +50 -0
- package/dist/tbv/core/contracts/abis/BTCVaultRegistry.abi.d.ts.map +1 -1
- package/dist/tbv/core/contracts/abis/BTCVaultRegistryKeyEpochs.abi.d.ts +111 -0
- package/dist/tbv/core/contracts/abis/BTCVaultRegistryKeyEpochs.abi.d.ts.map +1 -0
- package/dist/tbv/core/contracts/abis/ProtocolParams.abi.d.ts +36 -0
- package/dist/tbv/core/contracts/abis/ProtocolParams.abi.d.ts.map +1 -1
- package/dist/tbv/core/contracts/index.cjs +1 -1
- package/dist/tbv/core/contracts/index.d.ts +2 -1
- package/dist/tbv/core/contracts/index.d.ts.map +1 -1
- package/dist/tbv/core/contracts/index.js +8 -6
- package/dist/tbv/core/contracts/index.js.map +1 -1
- package/dist/tbv/core/index.cjs +1 -1
- package/dist/tbv/core/index.js +183 -172
- package/dist/tbv/core/index.js.map +1 -1
- package/dist/tbv/core/managers/PayoutManager.d.ts +8 -0
- package/dist/tbv/core/managers/PayoutManager.d.ts.map +1 -1
- package/dist/tbv/core/managers/index.cjs +1 -1
- package/dist/tbv/core/managers/index.js +2 -2
- package/dist/tbv/core/primitives/index.cjs +1 -1
- package/dist/tbv/core/primitives/index.js +2 -2
- package/dist/tbv/core/primitives/psbt/__tests__/standardPayoutScript.test.d.ts +2 -0
- package/dist/tbv/core/primitives/psbt/__tests__/standardPayoutScript.test.d.ts.map +1 -0
- package/dist/tbv/core/primitives/psbt/assertPayoutFeeBand.d.ts +5 -5
- package/dist/tbv/core/primitives/psbt/assertPayoutFeeBand.d.ts.map +1 -1
- package/dist/tbv/core/primitives/psbt/payout.d.ts +23 -0
- package/dist/tbv/core/primitives/psbt/payout.d.ts.map +1 -1
- package/dist/tbv/core/primitives/psbt/standardPayoutScript.d.ts +41 -0
- package/dist/tbv/core/primitives/psbt/standardPayoutScript.d.ts.map +1 -0
- package/dist/tbv/core/services/deposit/__tests__/verifyRegisteredParticipantKeys.test.d.ts +2 -0
- package/dist/tbv/core/services/deposit/__tests__/verifyRegisteredParticipantKeys.test.d.ts.map +1 -0
- package/dist/tbv/core/services/deposit/index.d.ts +7 -6
- package/dist/tbv/core/services/deposit/index.d.ts.map +1 -1
- package/dist/tbv/core/services/deposit/runDepositorPresignFlow.d.ts +10 -0
- package/dist/tbv/core/services/deposit/runDepositorPresignFlow.d.ts.map +1 -1
- package/dist/tbv/core/services/deposit/signDepositorGraph.d.ts +9 -0
- package/dist/tbv/core/services/deposit/signDepositorGraph.d.ts.map +1 -1
- package/dist/tbv/core/services/deposit/validateOnChainParticipantKeys.d.ts +38 -1
- package/dist/tbv/core/services/deposit/validateOnChainParticipantKeys.d.ts.map +1 -1
- package/dist/tbv/core/services/deposit/verifyRegisteredParticipantKeys.d.ts +42 -0
- package/dist/tbv/core/services/deposit/verifyRegisteredParticipantKeys.d.ts.map +1 -0
- package/dist/tbv/core/services/index.cjs +1 -1
- package/dist/tbv/core/services/index.d.ts +1 -0
- package/dist/tbv/core/services/index.d.ts.map +1 -1
- package/dist/tbv/core/services/index.js +36 -31
- package/dist/tbv/core/services/participants/__tests__/fixtures/rotation.d.ts +55 -0
- package/dist/tbv/core/services/participants/__tests__/fixtures/rotation.d.ts.map +1 -0
- package/dist/tbv/core/services/participants/__tests__/resolveParticipantKeys.test.d.ts +2 -0
- package/dist/tbv/core/services/participants/__tests__/resolveParticipantKeys.test.d.ts.map +1 -0
- package/dist/tbv/core/services/participants/index.d.ts +8 -0
- package/dist/tbv/core/services/participants/index.d.ts.map +1 -0
- package/dist/tbv/core/services/participants/resolveParticipantKeys.d.ts +26 -0
- package/dist/tbv/core/services/participants/resolveParticipantKeys.d.ts.map +1 -0
- package/dist/tbv/core/services/participants/types.d.ts +62 -0
- package/dist/tbv/core/services/participants/types.d.ts.map +1 -0
- package/dist/tbv/core/utils/__tests__/abortSignals.test.d.ts +11 -0
- package/dist/tbv/core/utils/__tests__/abortSignals.test.d.ts.map +1 -0
- package/dist/tbv/core/utils/abortSignals.d.ts +23 -0
- package/dist/tbv/core/utils/abortSignals.d.ts.map +1 -0
- package/dist/tbv/core/utils/index.cjs +1 -1
- package/dist/tbv/core/utils/index.d.ts +1 -0
- package/dist/tbv/core/utils/index.d.ts.map +1 -1
- package/dist/tbv/core/utils/index.js +44 -43
- package/dist/tbv/index.cjs +1 -1
- package/dist/tbv/index.js +183 -172
- package/dist/tbv/index.js.map +1 -1
- package/dist/validation-CDbOaDj7.cjs +2 -0
- package/dist/validation-CDbOaDj7.cjs.map +1 -0
- package/dist/validation-Dj3dqYtl.js +30 -0
- package/dist/validation-Dj3dqYtl.js.map +1 -0
- package/dist/verifyScriptPathSchnorrSignature-C-84KJ6U.cjs +2 -0
- package/dist/verifyScriptPathSchnorrSignature-C-84KJ6U.cjs.map +1 -0
- package/dist/{verifyScriptPathSchnorrSignature-CgrnAjMW.js → verifyScriptPathSchnorrSignature-Xoo9DOHW.js} +359 -301
- package/dist/verifyScriptPathSchnorrSignature-Xoo9DOHW.js.map +1 -0
- package/package.json +3 -3
- package/dist/ApplicationRegistry.abi-CLaa6E99.cjs +0 -2
- package/dist/ApplicationRegistry.abi-CLaa6E99.cjs.map +0 -1
- package/dist/ApplicationRegistry.abi-w5prf7Ig.js.map +0 -1
- package/dist/BTCVaultRegistry.abi-Chs4AFBj.js.map +0 -1
- package/dist/BTCVaultRegistry.abi-JdeqLz4x.cjs +0 -2
- package/dist/BTCVaultRegistry.abi-JdeqLz4x.cjs.map +0 -1
- package/dist/PayoutManager-BVgmuKuK.js.map +0 -1
- package/dist/PayoutManager-Cu4_l-_Y.cjs +0 -2
- package/dist/PayoutManager-Cu4_l-_Y.cjs.map +0 -1
- package/dist/PeginManager-BkWdZI7P.cjs +0 -2
- package/dist/buildAndBroadcastRefund-BtXUqBkb.js.map +0 -1
- package/dist/buildAndBroadcastRefund-Cq01wyZX.cjs +0 -2
- package/dist/buildAndBroadcastRefund-Cq01wyZX.cjs.map +0 -1
- package/dist/mempoolApi-P_ApODLd.js +0 -483
- package/dist/mempoolApi-P_ApODLd.js.map +0 -1
- package/dist/mempoolApi-emec8bHK.cjs +0 -2
- package/dist/mempoolApi-emec8bHK.cjs.map +0 -1
- package/dist/primeVpAuth-DZOaC_Ui.js.map +0 -1
- package/dist/primeVpAuth-j2getl3f.cjs +0 -2
- package/dist/primeVpAuth-j2getl3f.cjs.map +0 -1
- package/dist/types-CQDRQvV-.js.map +0 -1
- package/dist/types-WA0LrDk1.cjs.map +0 -1
- package/dist/validation-CxqROCno.js +0 -15
- package/dist/validation-CxqROCno.js.map +0 -1
- package/dist/validation-u8W7Lp2x.cjs +0 -2
- package/dist/validation-u8W7Lp2x.cjs.map +0 -1
- package/dist/verifyScriptPathSchnorrSignature-BZhX-SOd.cjs +0 -2
- package/dist/verifyScriptPathSchnorrSignature-BZhX-SOd.cjs.map +0 -1
- package/dist/verifyScriptPathSchnorrSignature-CgrnAjMW.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,204 +1,215 @@
|
|
|
1
1
|
import { b as s, c as t } from "./challengeAssert-BVQq50su.js";
|
|
2
2
|
import { a as o } from "./constants-CDQE812z.js";
|
|
3
3
|
import { computeMinClaimValue as n, computeMinPeginFee as p, deriveVaultId as u, expandAuthAnchor as l, expandHashlockSecret as d, expandWotsSeed as P, peginP2aAnchorOutput as c, supportedTxGraphVersions as T, validatePeginP2aAnchor as A } from "@babylonlabs-io/babylon-tbv-rust-wasm";
|
|
4
|
-
import { P as S, d as g, f as
|
|
5
|
-
import { b as
|
|
6
|
-
import { a as
|
|
7
|
-
import { d as
|
|
8
|
-
import { c as
|
|
9
|
-
import {
|
|
10
|
-
import { P as
|
|
11
|
-
import { P as
|
|
12
|
-
import { A as
|
|
13
|
-
import { B as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { B as
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
4
|
+
import { P as S, d as g, f as m, c as R, b as _, a as f, g as x, e as b } from "./verifyScriptPathSchnorrSignature-Xoo9DOHW.js";
|
|
5
|
+
import { b as v, e as O, f as h } from "./peginInput-BKD_b3gq.js";
|
|
6
|
+
import { a as I, b as y } from "./noPayout-CI4l1qu2.js";
|
|
7
|
+
import { d as U, a as B, b as N, e as D, f as M, j as H, g as L, h as K, i as k, c as X, p as w, s as W, t as G, u as Y, v as Z } from "./bitcoin-B5aNKtsk.js";
|
|
8
|
+
import { B as J, H as q, K as z, M as Q, T as $, c as aa } from "./validation-Dj3dqYtl.js";
|
|
9
|
+
import { c as sa } from "./signing-DaLvGwQe.js";
|
|
10
|
+
import { P as ra, b as oa, c as ia, d as na, e as pa } from "./PeginManager-CnX3uFb0.js";
|
|
11
|
+
import { P as la, c as da, f as Pa, s as ca, v as Ta } from "./signPsbtsWithFallback-CzZFZf0I.js";
|
|
12
|
+
import { A as Ea, P as Sa } from "./ProtocolParams.abi-CV938AYZ.js";
|
|
13
|
+
import { B as ma } from "./BTCVaultRegistry.abi-CixOlp3B.js";
|
|
14
|
+
import { B as _a } from "./BTCVaultRegistryKeyEpochs.abi-CXjhRZbm.js";
|
|
15
|
+
import { C as xa, e as ba, g as Va, h as va, i as Oa } from "./errors-Blc-JWnI.js";
|
|
16
|
+
import { V as Ca, b as Ia, a as ya, d as Fa } from "./deriveVaultRoot-B_gEOTD6.js";
|
|
17
|
+
import { p as Ba } from "./parseFundingOutpoints-GSM-IaaK.js";
|
|
18
|
+
import { BitcoinNetworks as Da } from "./shared/index.js";
|
|
19
|
+
import { B as Ha, a as La, f as Ka, c as ka, b as Xa, d as wa, g as Wa, i as Ga, h as Ya, s as Za, e as ja, w as Ja } from "./waitForTransactionReceiptSmartAware-lobLm0q0.js";
|
|
20
|
+
import { B as za, D as Qa, L as $a, M as ae, c as ee, P as se, b as te, a as re, S as oe, T as ie, W as ne, f as pe, d as ue, p as le, r as de } from "./fundPeginTransaction-B2wyjqp0.js";
|
|
21
|
+
import { U as ce, a as Te, e as Ae, f as Ee, v as Se } from "./reservation-cHDRn4DA.js";
|
|
22
|
+
import { M as me, V as Re, g as _e, a as fe, b as xe, c as be, d as Ve, e as ve, f as Oe, h as he, i as Ce, p as Ie, v as ye, j as Fe, k as Ue } from "./mempoolApi-C0olk43O.js";
|
|
23
|
+
import { O as Ne, S as De, V as Me, g as He, h as Le, i as Ke, j as ke, a as Xe, d as we, b as We, f as Ge, p as Ye, r as Ze, v as je, c as Je, e as qe } from "./primeVpAuth-DkJbvywo.js";
|
|
24
|
+
import { A as Qe, D as $e, b as as, J as es, a as ss, d as ts, P as rs, R as os, e as is, c as ns, V as ps } from "./json-rpc-client-Ehjthcd7.js";
|
|
25
|
+
import { a as ls } from "./onChainBtcPubkey-aPY5ib3Q.js";
|
|
26
|
+
import { i as Ps } from "./errors-B-H0seUG.js";
|
|
27
|
+
import { B as Ts, C as As, P as Es, x as Ss, y as gs, z as ms, A as Rs, R as _s, a as fs, t as xs, u as bs, i as Vs, j as vs, q as Os, p as hs, l as Cs, n as Is, o as ys, r as Fs, s as Us, b as Bs, c as Ns, d as Ds, v as Ms, e as Hs, f as Ls, g as Ks, h as ks, k as Xs, m as ws, w as Ws } from "./buildAndBroadcastRefund-CCb1_z24.js";
|
|
28
|
+
import { C as Ys, P as Zs, c as js, g as Js, i as qs } from "./peginState-BB81JI6I.js";
|
|
27
29
|
export {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
Da as
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
30
|
+
Qe as AUTH_EXPIRED_DATA_KIND,
|
|
31
|
+
Ea as ApplicationRegistryABI,
|
|
32
|
+
Ts as BIP68NotMatureError,
|
|
33
|
+
J as BITCOIN_ADDRESS_RE,
|
|
34
|
+
ma as BTCVaultRegistryABI,
|
|
35
|
+
_a as BTCVaultRegistryKeyEpochsABI,
|
|
36
|
+
za as BTC_DUST_SAT,
|
|
37
|
+
Da as BitcoinNetworks,
|
|
38
|
+
Ha as BitcoinScriptType,
|
|
39
|
+
xa as CONTRACT_ERRORS,
|
|
40
|
+
As as ClaimerPegoutStatusValue,
|
|
41
|
+
Ys as ContractStatus,
|
|
42
|
+
Qa as DUST_THRESHOLD,
|
|
43
|
+
$e as DaemonStatus,
|
|
44
|
+
q as HEX_RE,
|
|
45
|
+
as as JSON_RPC_ERROR_CODES,
|
|
46
|
+
es as JsonRpcClient,
|
|
47
|
+
ss as JsonRpcError,
|
|
48
|
+
z as KNOWN_SCRIPT_PREFIXES,
|
|
49
|
+
$a as LOW_RATE_ESTIMATION_ACCURACY_BUFFER,
|
|
50
|
+
ae as MAX_NON_LEGACY_OUTPUT_SIZE,
|
|
51
|
+
Q as MAX_REASONABLE_FEE_SATS,
|
|
52
|
+
ee as MAX_REASONABLE_PEGIN_VBYTES,
|
|
53
|
+
me as MEMPOOL_API_URLS,
|
|
54
|
+
Ne as OnChainBtcVaultStatus,
|
|
55
|
+
se as P2TR_INPUT_SIZE,
|
|
56
|
+
te as PEGIN_AUTH_ANCHOR_OUTPUTS,
|
|
57
|
+
re as PEGIN_FIXED_OUTPUTS,
|
|
58
|
+
ts as POST_WOTS_STATUSES,
|
|
59
|
+
rs as PRE_DEPOSITOR_SIGNATURES_STATES,
|
|
60
|
+
Es as ParticipantKeyDriftError,
|
|
61
|
+
la as PayoutManager,
|
|
62
|
+
Zs as PeginAction,
|
|
63
|
+
ra as PeginManager,
|
|
64
|
+
Sa as ProtocolParamsABI,
|
|
61
65
|
S as PsbtSubstitutionError,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
66
|
+
Ss as REFUND_MAX_FEE_FRACTION_DENOMINATOR,
|
|
67
|
+
gs as REFUND_MAX_FEE_FRACTION_NUMERATOR,
|
|
68
|
+
ms as REFUND_MAX_FEE_RATE_SATS_VB,
|
|
69
|
+
Rs as REFUND_VSIZE,
|
|
70
|
+
_s as RegisteredVaultVersionMismatchError,
|
|
71
|
+
os as RpcErrorCode,
|
|
72
|
+
oe as SPLIT_TX_FEE_SAFETY_MULTIPLIER,
|
|
73
|
+
De as ServerIdentityError,
|
|
74
|
+
$ as TXID_RE,
|
|
75
|
+
ie as TX_BUFFER_SIZE_OVERHEAD,
|
|
76
|
+
ce as UtxoNotAvailableError,
|
|
77
|
+
Ca as VAULT_APP_NAME,
|
|
78
|
+
is as VP_BATCH_MAX_SIZE,
|
|
79
|
+
ns as VP_TERMINAL_FAILURE_STATUSES,
|
|
80
|
+
ps as VP_TRANSIENT_STATUSES,
|
|
81
|
+
Me as VaultProviderRpcClient,
|
|
82
|
+
He as ViemOperationKeyReader,
|
|
83
|
+
Le as ViemProtocolParamsReader,
|
|
84
|
+
Ke as ViemUniversalChallengerReader,
|
|
85
|
+
ke as ViemVaultKeeperReader,
|
|
86
|
+
Re as ViemVaultRegistryReader,
|
|
87
|
+
Xe as VpResponseValidationError,
|
|
88
|
+
we as VpTokenRegistry,
|
|
89
|
+
ne as WALLET_RELAY_FEE_RATE_THRESHOLD,
|
|
90
|
+
fs as activateVault,
|
|
91
|
+
La as applyChangeOutputPolicy,
|
|
92
|
+
ls as assertOnChainBtcPubkey,
|
|
87
93
|
g as assertPsbtUnsignedTxMatches,
|
|
88
|
-
|
|
89
|
-
|
|
94
|
+
m as assertScriptPathSchnorrSignature,
|
|
95
|
+
Te as assertUtxosAvailable,
|
|
90
96
|
o as assertValidVaultCoreVersion,
|
|
91
|
-
|
|
92
|
-
|
|
97
|
+
We as batchPollByProvider,
|
|
98
|
+
xs as buildAndBroadcastRefund,
|
|
93
99
|
s as buildChallengeAssertPsbt,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
100
|
+
oa as buildDepositTerms,
|
|
101
|
+
Ia as buildFundingOutpointsCommitment,
|
|
102
|
+
I as buildNoPayoutPsbt,
|
|
97
103
|
R as buildPayoutPsbt,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
v as buildPeginInputPsbt,
|
|
105
|
+
_ as buildPeginTxFromFundedPrePegin,
|
|
106
|
+
f as buildPrePeginPsbt,
|
|
107
|
+
y as buildRefundPsbt,
|
|
108
|
+
ya as buildVaultContext,
|
|
109
|
+
Ka as calculateBtcTxHash,
|
|
110
|
+
js as canPerformAction,
|
|
111
|
+
aa as combineAbortSignals,
|
|
112
|
+
ka as computeChangeOutputFeeSats,
|
|
113
|
+
da as computeHashlock,
|
|
114
|
+
Xa as computeMaxDeposit,
|
|
108
115
|
n as computeMinClaimValue,
|
|
109
116
|
p as computeMinPeginFee,
|
|
110
117
|
t as computeNumLocalChallengers,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
wa as computePeginBaseFeeSats,
|
|
119
|
+
ia as computeWotsBlockPublicKeysHash,
|
|
120
|
+
Ge as createAuthenticatedVpClient,
|
|
121
|
+
x as createPayoutScript,
|
|
122
|
+
sa as createTaprootScriptPathSignOptions,
|
|
123
|
+
U as deriveBip86ScriptPubKeyHex,
|
|
124
|
+
B as deriveNativeSegwitAddress,
|
|
125
|
+
N as deriveTaprootAddress,
|
|
119
126
|
u as deriveVaultId,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
127
|
+
Fa as deriveVaultRoot,
|
|
128
|
+
na as deriveWotsBlocksFromSeed,
|
|
129
|
+
D as ensureHexPrefix,
|
|
130
|
+
bs as estimateRefundFeeSats,
|
|
131
|
+
pa as estimateSubmitPeginRequestBatchGas,
|
|
125
132
|
l as expandAuthAnchor,
|
|
126
133
|
d as expandHashlockSecret,
|
|
127
134
|
P as expandWotsSeed,
|
|
128
|
-
|
|
129
|
-
|
|
135
|
+
ba as extractErrorData,
|
|
136
|
+
Ae as extractInputsFromTransaction,
|
|
130
137
|
b as extractPayoutSignature,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
138
|
+
O as extractPeginInputSignature,
|
|
139
|
+
h as finalizePeginInputPsbt,
|
|
140
|
+
Ee as findOverlappingPendingVaults,
|
|
134
141
|
M as formatSatoshisToBtc,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
+
Pa as forwardDepositApproval,
|
|
143
|
+
pe as fundPeginTransaction,
|
|
144
|
+
_e as getAddressTxs,
|
|
145
|
+
fe as getAddressUtxos,
|
|
146
|
+
Va as getContractErrorMessage,
|
|
147
|
+
Wa as getDustThreshold,
|
|
148
|
+
xe as getMempoolApiUrl,
|
|
142
149
|
H as getNetwork,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
150
|
+
be as getNetworkFees,
|
|
151
|
+
Ve as getOutspend,
|
|
152
|
+
Js as getPeginProtocolState,
|
|
153
|
+
Ga as getPsbtInputFields,
|
|
154
|
+
Ya as getScriptType,
|
|
148
155
|
L as getSortedXOnlyPubkeys,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
+
ve as getTipHeight,
|
|
157
|
+
Oe as getTxHex,
|
|
158
|
+
he as getTxInfo,
|
|
159
|
+
Ce as getUtxoInfo,
|
|
160
|
+
va as handleContractError,
|
|
161
|
+
K as hexToUint8Array,
|
|
162
|
+
qs as isActivationDeadlinePassedOnChain,
|
|
156
163
|
k as isAddressFromPublicKey,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
Vs as isDepositAmountValid,
|
|
165
|
+
Oa as isKnownContractError,
|
|
166
|
+
vs as isParticipantKeyDriftError,
|
|
167
|
+
Os as isPegoutTerminalStatus,
|
|
168
|
+
hs as isRecognizedPegoutStatus,
|
|
169
|
+
Cs as isRegisteredVaultVersionMismatchError,
|
|
170
|
+
X as isValidHex,
|
|
171
|
+
Ps as isWotsMismatchError,
|
|
172
|
+
Ba as parseFundingOutpointsFromTx,
|
|
173
|
+
ue as parseUnfundedWasmTransaction,
|
|
174
|
+
le as peginOutputCount,
|
|
167
175
|
c as peginP2aAnchorOutput,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
Ye as primeVpTokenRegistry,
|
|
177
|
+
w as processPublicKeyToXOnly,
|
|
178
|
+
Ie as pushTx,
|
|
179
|
+
de as rateBasedTxBufferFee,
|
|
180
|
+
Is as resolveCurrentParticipantKeys,
|
|
181
|
+
ys as resolveParticipantKeysAtEpochs,
|
|
182
|
+
Ze as resolveProtocolAddresses,
|
|
183
|
+
Fs as runDepositorPresignFlow,
|
|
184
|
+
Za as selectUtxosForPegin,
|
|
185
|
+
ja as shouldAddChangeOutput,
|
|
186
|
+
Us as signDepositorGraph,
|
|
187
|
+
W as stripHexPrefix,
|
|
188
|
+
Bs as submitWotsPublicKey,
|
|
179
189
|
T as supportedTxGraphVersions,
|
|
180
|
-
|
|
190
|
+
ca as supportsDepositApproval,
|
|
181
191
|
G as toXOnly,
|
|
182
192
|
Y as uint8ArrayToHex,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
193
|
+
Ns as validateDepositAmount,
|
|
194
|
+
Ds as validateMultiVaultDepositInputs,
|
|
195
|
+
ye as validateOffchainParams,
|
|
196
|
+
Ms as validateOnChainParticipantKeys,
|
|
197
|
+
Fe as validatePegInConfiguration,
|
|
188
198
|
A as validatePeginP2aAnchor,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
199
|
+
Hs as validateProviderSelection,
|
|
200
|
+
Ls as validateRemainingCapacity,
|
|
201
|
+
je as validateRequestDepositorClaimerArtifactsResponse,
|
|
202
|
+
Ta as validateSecretAgainstHashlock,
|
|
203
|
+
Ue as validateTBVProtocolParams,
|
|
204
|
+
Se as validateUtxosAvailable,
|
|
205
|
+
Ks as validateVaultAmounts,
|
|
206
|
+
ks as validateVaultProviderPubkey,
|
|
197
207
|
Z as validateWalletPubkey,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
208
|
+
Xs as verifyRegisteredParticipantKeys,
|
|
209
|
+
ws as verifyRegisteredVaultVersions,
|
|
210
|
+
Je as verifyServerIdentity,
|
|
211
|
+
qe as vpTokenRegistry,
|
|
212
|
+
Ws as waitForPeginStatus,
|
|
213
|
+
Ja as waitForTransactionReceiptSmartAware
|
|
203
214
|
};
|
|
204
215
|
//# sourceMappingURL=index.js.map
|
package/dist/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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,39 @@
|
|
|
1
1
|
var S = Object.defineProperty;
|
|
2
2
|
var p = (t, e, r) => e in t ? S(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var E = (t, e, r) => p(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
+
var w = /* @__PURE__ */ ((t) => (t.PENDING_INGESTION = "PendingIngestion", t.PENDING_DEPOSITOR_WOTS_PK = "PendingDepositorWotsPK", t.PENDING_BABE_SETUP = "PendingBabeSetup", t.PENDING_CHALLENGER_PRESIGNING = "PendingChallengerPresigning", t.PENDING_PEGIN_SIGS_AVAILABILITY = "PendingPeginSigsAvailability", t.PENDING_PRE_PEGIN_CONFIRMATIONS = "PendingPrePegInConfirmations", t.PENDING_DEPOSITOR_SIGNATURES = "PendingDepositorSignatures", t.PENDING_ACKS = "PendingACKs", t.PENDING_ACTIVATION = "PendingActivation", t.ACTIVATED_PENDING_BROADCAST = "ActivatedPendingBroadcast", t.ACTIVATED = "Activated", t.EXPIRED = "Expired", t.INGESTION_REJECTED = "IngestionRejected", t.INVALID_SIG_IN_CONTRACT = "InvalidSigInContract", t.AML_REJECTED = "AmlRejected", t.EXPIRED_CLEANED_UP = "ExpiredCleanedUp", t.EXPIRED_IN_CLAIM = "ExpiredInClaim", t))(w || {});
|
|
5
|
+
const F = [
|
|
6
|
+
"PendingIngestion",
|
|
7
|
+
"PendingBabeSetup",
|
|
8
|
+
"PendingChallengerPresigning",
|
|
9
|
+
"PendingPeginSigsAvailability",
|
|
10
|
+
"PendingPrePegInConfirmations"
|
|
11
|
+
/* PENDING_PRE_PEGIN_CONFIRMATIONS */
|
|
12
|
+
], O = [
|
|
13
|
+
"PendingACKs",
|
|
14
|
+
"PendingActivation",
|
|
15
|
+
"ActivatedPendingBroadcast",
|
|
16
|
+
"Activated"
|
|
17
|
+
/* ACTIVATED */
|
|
18
|
+
], y = /* @__PURE__ */ new Set([
|
|
19
|
+
"PendingBabeSetup",
|
|
20
|
+
"PendingChallengerPresigning",
|
|
21
|
+
"PendingPeginSigsAvailability",
|
|
22
|
+
"PendingPrePegInConfirmations",
|
|
23
|
+
...O
|
|
24
|
+
]), J = /* @__PURE__ */ new Set([
|
|
25
|
+
"IngestionRejected",
|
|
26
|
+
"InvalidSigInContract",
|
|
27
|
+
"AmlRejected",
|
|
28
|
+
"ExpiredCleanedUp",
|
|
29
|
+
"ExpiredInClaim"
|
|
30
|
+
/* EXPIRED_IN_CLAIM */
|
|
31
|
+
]), q = /* @__PURE__ */ new Set([
|
|
32
|
+
...y,
|
|
33
|
+
"PendingDepositorSignatures"
|
|
34
|
+
/* PENDING_DEPOSITOR_SIGNATURES */
|
|
35
|
+
]), Y = 50;
|
|
36
|
+
var b = /* @__PURE__ */ ((t) => (t[t.PEGIN_NOT_FOUND = 4001] = "PEGIN_NOT_FOUND", t))(b || {});
|
|
4
37
|
class P extends Error {
|
|
5
38
|
constructor(e, r, n = "local", s) {
|
|
6
39
|
super(r), this.code = e, this.source = n, this.data = s, this.name = "JsonRpcError";
|
|
@@ -17,9 +50,9 @@ const T = {
|
|
|
17
50
|
INVALID_RESPONSE: -32700,
|
|
18
51
|
/** SDK client: response body exceeded the configured byte limit */
|
|
19
52
|
RESPONSE_TOO_LARGE: -32701
|
|
20
|
-
},
|
|
53
|
+
}, f = "2.0", v = 3, g = 1e3, C = 2 * 1024 * 1024, D = /* @__PURE__ */ new Set([
|
|
21
54
|
"vaultProvider_requestDepositorClaimerArtifacts"
|
|
22
|
-
]),
|
|
55
|
+
]), L = /* @__PURE__ */ new Set([
|
|
23
56
|
408,
|
|
24
57
|
// Request Timeout
|
|
25
58
|
429,
|
|
@@ -32,22 +65,22 @@ const T = {
|
|
|
32
65
|
// Service Unavailable
|
|
33
66
|
504
|
|
34
67
|
// Gateway Timeout
|
|
35
|
-
]),
|
|
68
|
+
]), U = /* @__PURE__ */ new Set([
|
|
36
69
|
"vaultProvider_getPeginStatus",
|
|
37
70
|
"vaultProvider_batchGetPeginStatus",
|
|
38
71
|
"vaultProvider_batchGetPegoutStatus",
|
|
39
72
|
"vaultProvider_requestDepositorPresignTransactions"
|
|
40
73
|
]);
|
|
41
|
-
function
|
|
42
|
-
return
|
|
74
|
+
function m(t) {
|
|
75
|
+
return U.has(t);
|
|
43
76
|
}
|
|
44
|
-
const
|
|
45
|
-
function
|
|
77
|
+
const G = "auth_expired";
|
|
78
|
+
function x(t) {
|
|
46
79
|
if (!(t instanceof P) || t.source !== "wire") return !1;
|
|
47
80
|
const e = t.data;
|
|
48
|
-
return e === null || typeof e != "object" ? !1 : e.kind ===
|
|
81
|
+
return e === null || typeof e != "object" ? !1 : e.kind === G;
|
|
49
82
|
}
|
|
50
|
-
class
|
|
83
|
+
class $ {
|
|
51
84
|
constructor(e) {
|
|
52
85
|
E(this, "baseUrl");
|
|
53
86
|
E(this, "timeout");
|
|
@@ -61,9 +94,9 @@ class F {
|
|
|
61
94
|
if (this.baseUrl = e.baseUrl.replace(/\/$/, ""), this.timeout = e.timeout, this.headers = {
|
|
62
95
|
"Content-Type": "application/json",
|
|
63
96
|
...e.headers
|
|
64
|
-
}, this.retries = e.retries ??
|
|
97
|
+
}, this.retries = e.retries ?? v, this.retryDelay = e.retryDelay ?? g, this.maxResponseBytes = e.maxResponseBytes ?? C, !Number.isFinite(this.maxResponseBytes) || this.maxResponseBytes <= 0)
|
|
65
98
|
throw new Error("maxResponseBytes must be a positive finite number");
|
|
66
|
-
this.retryableFor = e.retryableFor ??
|
|
99
|
+
this.retryableFor = e.retryableFor ?? m, this.tokenProvider = e.tokenProvider;
|
|
67
100
|
}
|
|
68
101
|
async buildHeaders(e) {
|
|
69
102
|
const r = { ...this.headers };
|
|
@@ -90,7 +123,7 @@ class F {
|
|
|
90
123
|
try {
|
|
91
124
|
return await this.callOnce(e, r, n);
|
|
92
125
|
} catch (s) {
|
|
93
|
-
if (this.tokenProvider &&
|
|
126
|
+
if (this.tokenProvider && x(s))
|
|
94
127
|
return this.tokenProvider.invalidate(), await this.callOnce(e, r, n);
|
|
95
128
|
throw s;
|
|
96
129
|
}
|
|
@@ -99,7 +132,7 @@ class F {
|
|
|
99
132
|
const s = await this.fetchWithRetry(e, r, n);
|
|
100
133
|
let o;
|
|
101
134
|
try {
|
|
102
|
-
const i =
|
|
135
|
+
const i = D.has(e) ? await s.text() : await k(s, this.maxResponseBytes);
|
|
103
136
|
o = JSON.parse(i);
|
|
104
137
|
} catch (i) {
|
|
105
138
|
throw i instanceof P ? i : new P(
|
|
@@ -147,7 +180,7 @@ class F {
|
|
|
147
180
|
}
|
|
148
181
|
async fetchWithRetry(e, r, n) {
|
|
149
182
|
const s = ++this.requestId, o = this.retryableFor(e) ? this.retries : 0, i = JSON.stringify({
|
|
150
|
-
jsonrpc:
|
|
183
|
+
jsonrpc: f,
|
|
151
184
|
method: e,
|
|
152
185
|
params: [r],
|
|
153
186
|
id: s
|
|
@@ -157,7 +190,7 @@ class F {
|
|
|
157
190
|
const h = new AbortController(), I = setTimeout(
|
|
158
191
|
() => h.abort(),
|
|
159
192
|
this.timeout
|
|
160
|
-
), u = n ?
|
|
193
|
+
), u = n ? B(n, h.signal) : null, A = u ? u.signal : h.signal;
|
|
161
194
|
try {
|
|
162
195
|
const c = await this.buildHeaders(e), d = await fetch(this.baseUrl, {
|
|
163
196
|
method: "POST",
|
|
@@ -166,7 +199,7 @@ class F {
|
|
|
166
199
|
signal: A
|
|
167
200
|
});
|
|
168
201
|
if (clearTimeout(I), u == null || u.cleanup(), !d.ok) {
|
|
169
|
-
if (l < o &&
|
|
202
|
+
if (l < o && L.has(d.status)) {
|
|
170
203
|
const N = this.retryDelay * Math.pow(2, l);
|
|
171
204
|
await this.sleep(N, n);
|
|
172
205
|
continue;
|
|
@@ -226,7 +259,7 @@ class F {
|
|
|
226
259
|
return this.baseUrl;
|
|
227
260
|
}
|
|
228
261
|
}
|
|
229
|
-
function
|
|
262
|
+
function B(t, e) {
|
|
230
263
|
if (t.aborted) return { signal: t, cleanup: () => {
|
|
231
264
|
} };
|
|
232
265
|
if (e.aborted) return { signal: e, cleanup: () => {
|
|
@@ -242,7 +275,7 @@ function U(t, e) {
|
|
|
242
275
|
};
|
|
243
276
|
return { signal: r.signal, cleanup: o };
|
|
244
277
|
}
|
|
245
|
-
async function
|
|
278
|
+
async function k(t, e) {
|
|
246
279
|
const r = t.headers.get("content-length");
|
|
247
280
|
if (r !== null) {
|
|
248
281
|
const i = Number(r);
|
|
@@ -275,50 +308,17 @@ function R(t) {
|
|
|
275
308
|
"local"
|
|
276
309
|
);
|
|
277
310
|
}
|
|
278
|
-
var G = /* @__PURE__ */ ((t) => (t.PENDING_INGESTION = "PendingIngestion", t.PENDING_DEPOSITOR_WOTS_PK = "PendingDepositorWotsPK", t.PENDING_BABE_SETUP = "PendingBabeSetup", t.PENDING_CHALLENGER_PRESIGNING = "PendingChallengerPresigning", t.PENDING_PEGIN_SIGS_AVAILABILITY = "PendingPeginSigsAvailability", t.PENDING_PRE_PEGIN_CONFIRMATIONS = "PendingPrePegInConfirmations", t.PENDING_DEPOSITOR_SIGNATURES = "PendingDepositorSignatures", t.PENDING_ACKS = "PendingACKs", t.PENDING_ACTIVATION = "PendingActivation", t.ACTIVATED_PENDING_BROADCAST = "ActivatedPendingBroadcast", t.ACTIVATED = "Activated", t.EXPIRED = "Expired", t.INGESTION_REJECTED = "IngestionRejected", t.INVALID_SIG_IN_CONTRACT = "InvalidSigInContract", t.AML_REJECTED = "AmlRejected", t.EXPIRED_CLEANED_UP = "ExpiredCleanedUp", t.EXPIRED_IN_CLAIM = "ExpiredInClaim", t))(G || {});
|
|
279
|
-
const J = [
|
|
280
|
-
"PendingIngestion",
|
|
281
|
-
"PendingBabeSetup",
|
|
282
|
-
"PendingChallengerPresigning",
|
|
283
|
-
"PendingPeginSigsAvailability",
|
|
284
|
-
"PendingPrePegInConfirmations"
|
|
285
|
-
/* PENDING_PRE_PEGIN_CONFIRMATIONS */
|
|
286
|
-
], x = [
|
|
287
|
-
"PendingACKs",
|
|
288
|
-
"PendingActivation",
|
|
289
|
-
"ActivatedPendingBroadcast",
|
|
290
|
-
"Activated"
|
|
291
|
-
/* ACTIVATED */
|
|
292
|
-
], B = /* @__PURE__ */ new Set([
|
|
293
|
-
"PendingBabeSetup",
|
|
294
|
-
"PendingChallengerPresigning",
|
|
295
|
-
"PendingPeginSigsAvailability",
|
|
296
|
-
"PendingPrePegInConfirmations",
|
|
297
|
-
...x
|
|
298
|
-
]), q = /* @__PURE__ */ new Set([
|
|
299
|
-
"IngestionRejected",
|
|
300
|
-
"InvalidSigInContract",
|
|
301
|
-
"AmlRejected",
|
|
302
|
-
"ExpiredCleanedUp",
|
|
303
|
-
"ExpiredInClaim"
|
|
304
|
-
/* EXPIRED_IN_CLAIM */
|
|
305
|
-
]), Y = /* @__PURE__ */ new Set([
|
|
306
|
-
...B,
|
|
307
|
-
"PendingDepositorSignatures"
|
|
308
|
-
/* PENDING_DEPOSITOR_SIGNATURES */
|
|
309
|
-
]), $ = 50;
|
|
310
|
-
var k = /* @__PURE__ */ ((t) => (t[t.PEGIN_NOT_FOUND = 4001] = "PEGIN_NOT_FOUND", t))(k || {});
|
|
311
311
|
export {
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
312
|
+
G as A,
|
|
313
|
+
w as D,
|
|
314
|
+
$ as J,
|
|
315
|
+
F as P,
|
|
316
|
+
b as R,
|
|
317
|
+
y as V,
|
|
318
318
|
P as a,
|
|
319
319
|
T as b,
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
320
|
+
J as c,
|
|
321
|
+
q as d,
|
|
322
|
+
Y as e
|
|
323
323
|
};
|
|
324
|
-
//# sourceMappingURL=
|
|
324
|
+
//# sourceMappingURL=json-rpc-client-Ehjthcd7.js.map
|