@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.
Files changed (169) hide show
  1. package/README.md +1 -1
  2. package/dist/BTCVaultRegistry.abi-AUAyCHal.cjs +2 -0
  3. package/dist/BTCVaultRegistry.abi-AUAyCHal.cjs.map +1 -0
  4. package/dist/{BTCVaultRegistry.abi-Chs4AFBj.js → BTCVaultRegistry.abi-CixOlp3B.js} +73 -14
  5. package/dist/BTCVaultRegistry.abi-CixOlp3B.js.map +1 -0
  6. package/dist/BTCVaultRegistryKeyEpochs.abi-CXjhRZbm.js +111 -0
  7. package/dist/BTCVaultRegistryKeyEpochs.abi-CXjhRZbm.js.map +1 -0
  8. package/dist/BTCVaultRegistryKeyEpochs.abi-_NERAdc5.cjs +2 -0
  9. package/dist/BTCVaultRegistryKeyEpochs.abi-_NERAdc5.cjs.map +1 -0
  10. package/dist/{PeginManager-aYBkb-Qx.js → PeginManager-CnX3uFb0.js} +6 -6
  11. package/dist/{PeginManager-aYBkb-Qx.js.map → PeginManager-CnX3uFb0.js.map} +1 -1
  12. package/dist/PeginManager-iDbqXsKD.cjs +2 -0
  13. package/dist/{PeginManager-BkWdZI7P.cjs.map → PeginManager-iDbqXsKD.cjs.map} +1 -1
  14. package/dist/ProtocolParams.abi-C8U7BHCS.cjs +2 -0
  15. package/dist/ProtocolParams.abi-C8U7BHCS.cjs.map +1 -0
  16. package/dist/{ApplicationRegistry.abi-w5prf7Ig.js → ProtocolParams.abi-CV938AYZ.js} +150 -80
  17. package/dist/ProtocolParams.abi-CV938AYZ.js.map +1 -0
  18. package/dist/{buildAndBroadcastRefund-BtXUqBkb.js → buildAndBroadcastRefund-CCb1_z24.js} +627 -452
  19. package/dist/buildAndBroadcastRefund-CCb1_z24.js.map +1 -0
  20. package/dist/buildAndBroadcastRefund-CDzzTZ2U.cjs +2 -0
  21. package/dist/buildAndBroadcastRefund-CDzzTZ2U.cjs.map +1 -0
  22. package/dist/index.cjs +1 -1
  23. package/dist/index.js +186 -175
  24. package/dist/index.js.map +1 -1
  25. package/dist/{types-CQDRQvV-.js → json-rpc-client-Ehjthcd7.js} +61 -61
  26. package/dist/json-rpc-client-Ehjthcd7.js.map +1 -0
  27. package/dist/{types-WA0LrDk1.cjs → json-rpc-client-fUoK-TzT.cjs} +2 -2
  28. package/dist/json-rpc-client-fUoK-TzT.cjs.map +1 -0
  29. package/dist/mempoolApi-C0olk43O.js +536 -0
  30. package/dist/mempoolApi-C0olk43O.js.map +1 -0
  31. package/dist/mempoolApi-Dsm2VPXp.cjs +2 -0
  32. package/dist/mempoolApi-Dsm2VPXp.cjs.map +1 -0
  33. package/dist/{noPayout-CihCk1HE.js → noPayout-CI4l1qu2.js} +2 -2
  34. package/dist/{noPayout-CihCk1HE.js.map → noPayout-CI4l1qu2.js.map} +1 -1
  35. package/dist/{noPayout-Cb8vFrkY.cjs → noPayout-Djrv31V5.cjs} +2 -2
  36. package/dist/{noPayout-Cb8vFrkY.cjs.map → noPayout-Djrv31V5.cjs.map} +1 -1
  37. package/dist/onChainBtcPubkey-Cd9kpz-S.cjs +2 -0
  38. package/dist/onChainBtcPubkey-Cd9kpz-S.cjs.map +1 -0
  39. package/dist/onChainBtcPubkey-aPY5ib3Q.js +19 -0
  40. package/dist/onChainBtcPubkey-aPY5ib3Q.js.map +1 -0
  41. package/dist/primeVpAuth-BlxUcdBf.cjs +2 -0
  42. package/dist/primeVpAuth-BlxUcdBf.cjs.map +1 -0
  43. package/dist/{primeVpAuth-DZOaC_Ui.js → primeVpAuth-DkJbvywo.js} +479 -367
  44. package/dist/primeVpAuth-DkJbvywo.js.map +1 -0
  45. package/dist/signPsbtsWithFallback-C01N6Kdo.cjs +2 -0
  46. package/dist/signPsbtsWithFallback-C01N6Kdo.cjs.map +1 -0
  47. package/dist/{PayoutManager-BVgmuKuK.js → signPsbtsWithFallback-CzZFZf0I.js} +105 -101
  48. package/dist/signPsbtsWithFallback-CzZFZf0I.js.map +1 -0
  49. package/dist/tbv/core/clients/eth/index.d.ts +5 -3
  50. package/dist/tbv/core/clients/eth/index.d.ts.map +1 -1
  51. package/dist/tbv/core/clients/eth/onChainBtcPubkey.d.ts +16 -0
  52. package/dist/tbv/core/clients/eth/onChainBtcPubkey.d.ts.map +1 -0
  53. package/dist/tbv/core/clients/eth/operation-key-reader.d.ts +33 -0
  54. package/dist/tbv/core/clients/eth/operation-key-reader.d.ts.map +1 -0
  55. package/dist/tbv/core/clients/eth/types.d.ts +122 -3
  56. package/dist/tbv/core/clients/eth/types.d.ts.map +1 -1
  57. package/dist/tbv/core/clients/eth/vault-registry-reader.d.ts +25 -1
  58. package/dist/tbv/core/clients/eth/vault-registry-reader.d.ts.map +1 -1
  59. package/dist/tbv/core/clients/index.cjs +1 -1
  60. package/dist/tbv/core/clients/index.js +35 -32
  61. package/dist/tbv/core/clients/index.js.map +1 -1
  62. package/dist/tbv/core/clients/mempool/mempoolApi.d.ts.map +1 -1
  63. package/dist/tbv/core/contracts/__tests__/BTCVaultRegistryKeyEpochs.abi.test.d.ts +2 -0
  64. package/dist/tbv/core/contracts/__tests__/BTCVaultRegistryKeyEpochs.abi.test.d.ts.map +1 -0
  65. package/dist/tbv/core/contracts/abis/ApplicationRegistry.abi.d.ts +66 -0
  66. package/dist/tbv/core/contracts/abis/ApplicationRegistry.abi.d.ts.map +1 -1
  67. package/dist/tbv/core/contracts/abis/BTCVaultRegistry.abi.d.ts +50 -0
  68. package/dist/tbv/core/contracts/abis/BTCVaultRegistry.abi.d.ts.map +1 -1
  69. package/dist/tbv/core/contracts/abis/BTCVaultRegistryKeyEpochs.abi.d.ts +111 -0
  70. package/dist/tbv/core/contracts/abis/BTCVaultRegistryKeyEpochs.abi.d.ts.map +1 -0
  71. package/dist/tbv/core/contracts/abis/ProtocolParams.abi.d.ts +36 -0
  72. package/dist/tbv/core/contracts/abis/ProtocolParams.abi.d.ts.map +1 -1
  73. package/dist/tbv/core/contracts/index.cjs +1 -1
  74. package/dist/tbv/core/contracts/index.d.ts +2 -1
  75. package/dist/tbv/core/contracts/index.d.ts.map +1 -1
  76. package/dist/tbv/core/contracts/index.js +8 -6
  77. package/dist/tbv/core/contracts/index.js.map +1 -1
  78. package/dist/tbv/core/index.cjs +1 -1
  79. package/dist/tbv/core/index.js +183 -172
  80. package/dist/tbv/core/index.js.map +1 -1
  81. package/dist/tbv/core/managers/PayoutManager.d.ts +8 -0
  82. package/dist/tbv/core/managers/PayoutManager.d.ts.map +1 -1
  83. package/dist/tbv/core/managers/index.cjs +1 -1
  84. package/dist/tbv/core/managers/index.js +2 -2
  85. package/dist/tbv/core/primitives/index.cjs +1 -1
  86. package/dist/tbv/core/primitives/index.js +2 -2
  87. package/dist/tbv/core/primitives/psbt/__tests__/standardPayoutScript.test.d.ts +2 -0
  88. package/dist/tbv/core/primitives/psbt/__tests__/standardPayoutScript.test.d.ts.map +1 -0
  89. package/dist/tbv/core/primitives/psbt/assertPayoutFeeBand.d.ts +5 -5
  90. package/dist/tbv/core/primitives/psbt/assertPayoutFeeBand.d.ts.map +1 -1
  91. package/dist/tbv/core/primitives/psbt/payout.d.ts +23 -0
  92. package/dist/tbv/core/primitives/psbt/payout.d.ts.map +1 -1
  93. package/dist/tbv/core/primitives/psbt/standardPayoutScript.d.ts +41 -0
  94. package/dist/tbv/core/primitives/psbt/standardPayoutScript.d.ts.map +1 -0
  95. package/dist/tbv/core/services/deposit/__tests__/verifyRegisteredParticipantKeys.test.d.ts +2 -0
  96. package/dist/tbv/core/services/deposit/__tests__/verifyRegisteredParticipantKeys.test.d.ts.map +1 -0
  97. package/dist/tbv/core/services/deposit/index.d.ts +7 -6
  98. package/dist/tbv/core/services/deposit/index.d.ts.map +1 -1
  99. package/dist/tbv/core/services/deposit/runDepositorPresignFlow.d.ts +10 -0
  100. package/dist/tbv/core/services/deposit/runDepositorPresignFlow.d.ts.map +1 -1
  101. package/dist/tbv/core/services/deposit/signDepositorGraph.d.ts +9 -0
  102. package/dist/tbv/core/services/deposit/signDepositorGraph.d.ts.map +1 -1
  103. package/dist/tbv/core/services/deposit/validateOnChainParticipantKeys.d.ts +38 -1
  104. package/dist/tbv/core/services/deposit/validateOnChainParticipantKeys.d.ts.map +1 -1
  105. package/dist/tbv/core/services/deposit/verifyRegisteredParticipantKeys.d.ts +42 -0
  106. package/dist/tbv/core/services/deposit/verifyRegisteredParticipantKeys.d.ts.map +1 -0
  107. package/dist/tbv/core/services/index.cjs +1 -1
  108. package/dist/tbv/core/services/index.d.ts +1 -0
  109. package/dist/tbv/core/services/index.d.ts.map +1 -1
  110. package/dist/tbv/core/services/index.js +36 -31
  111. package/dist/tbv/core/services/participants/__tests__/fixtures/rotation.d.ts +55 -0
  112. package/dist/tbv/core/services/participants/__tests__/fixtures/rotation.d.ts.map +1 -0
  113. package/dist/tbv/core/services/participants/__tests__/resolveParticipantKeys.test.d.ts +2 -0
  114. package/dist/tbv/core/services/participants/__tests__/resolveParticipantKeys.test.d.ts.map +1 -0
  115. package/dist/tbv/core/services/participants/index.d.ts +8 -0
  116. package/dist/tbv/core/services/participants/index.d.ts.map +1 -0
  117. package/dist/tbv/core/services/participants/resolveParticipantKeys.d.ts +26 -0
  118. package/dist/tbv/core/services/participants/resolveParticipantKeys.d.ts.map +1 -0
  119. package/dist/tbv/core/services/participants/types.d.ts +62 -0
  120. package/dist/tbv/core/services/participants/types.d.ts.map +1 -0
  121. package/dist/tbv/core/utils/__tests__/abortSignals.test.d.ts +11 -0
  122. package/dist/tbv/core/utils/__tests__/abortSignals.test.d.ts.map +1 -0
  123. package/dist/tbv/core/utils/abortSignals.d.ts +23 -0
  124. package/dist/tbv/core/utils/abortSignals.d.ts.map +1 -0
  125. package/dist/tbv/core/utils/index.cjs +1 -1
  126. package/dist/tbv/core/utils/index.d.ts +1 -0
  127. package/dist/tbv/core/utils/index.d.ts.map +1 -1
  128. package/dist/tbv/core/utils/index.js +44 -43
  129. package/dist/tbv/index.cjs +1 -1
  130. package/dist/tbv/index.js +183 -172
  131. package/dist/tbv/index.js.map +1 -1
  132. package/dist/validation-CDbOaDj7.cjs +2 -0
  133. package/dist/validation-CDbOaDj7.cjs.map +1 -0
  134. package/dist/validation-Dj3dqYtl.js +30 -0
  135. package/dist/validation-Dj3dqYtl.js.map +1 -0
  136. package/dist/verifyScriptPathSchnorrSignature-C-84KJ6U.cjs +2 -0
  137. package/dist/verifyScriptPathSchnorrSignature-C-84KJ6U.cjs.map +1 -0
  138. package/dist/{verifyScriptPathSchnorrSignature-CgrnAjMW.js → verifyScriptPathSchnorrSignature-Xoo9DOHW.js} +359 -301
  139. package/dist/verifyScriptPathSchnorrSignature-Xoo9DOHW.js.map +1 -0
  140. package/package.json +3 -3
  141. package/dist/ApplicationRegistry.abi-CLaa6E99.cjs +0 -2
  142. package/dist/ApplicationRegistry.abi-CLaa6E99.cjs.map +0 -1
  143. package/dist/ApplicationRegistry.abi-w5prf7Ig.js.map +0 -1
  144. package/dist/BTCVaultRegistry.abi-Chs4AFBj.js.map +0 -1
  145. package/dist/BTCVaultRegistry.abi-JdeqLz4x.cjs +0 -2
  146. package/dist/BTCVaultRegistry.abi-JdeqLz4x.cjs.map +0 -1
  147. package/dist/PayoutManager-BVgmuKuK.js.map +0 -1
  148. package/dist/PayoutManager-Cu4_l-_Y.cjs +0 -2
  149. package/dist/PayoutManager-Cu4_l-_Y.cjs.map +0 -1
  150. package/dist/PeginManager-BkWdZI7P.cjs +0 -2
  151. package/dist/buildAndBroadcastRefund-BtXUqBkb.js.map +0 -1
  152. package/dist/buildAndBroadcastRefund-Cq01wyZX.cjs +0 -2
  153. package/dist/buildAndBroadcastRefund-Cq01wyZX.cjs.map +0 -1
  154. package/dist/mempoolApi-P_ApODLd.js +0 -483
  155. package/dist/mempoolApi-P_ApODLd.js.map +0 -1
  156. package/dist/mempoolApi-emec8bHK.cjs +0 -2
  157. package/dist/mempoolApi-emec8bHK.cjs.map +0 -1
  158. package/dist/primeVpAuth-DZOaC_Ui.js.map +0 -1
  159. package/dist/primeVpAuth-j2getl3f.cjs +0 -2
  160. package/dist/primeVpAuth-j2getl3f.cjs.map +0 -1
  161. package/dist/types-CQDRQvV-.js.map +0 -1
  162. package/dist/types-WA0LrDk1.cjs.map +0 -1
  163. package/dist/validation-CxqROCno.js +0 -15
  164. package/dist/validation-CxqROCno.js.map +0 -1
  165. package/dist/validation-u8W7Lp2x.cjs +0 -2
  166. package/dist/validation-u8W7Lp2x.cjs.map +0 -1
  167. package/dist/verifyScriptPathSchnorrSignature-BZhX-SOd.cjs +0 -2
  168. package/dist/verifyScriptPathSchnorrSignature-BZhX-SOd.cjs.map +0 -1
  169. package/dist/verifyScriptPathSchnorrSignature-CgrnAjMW.js.map +0 -1
@@ -1,202 +1,213 @@
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 _, c as R, b as m, a as x, g as f, e as b } from "../../verifyScriptPathSchnorrSignature-CgrnAjMW.js";
5
- import { b as O, e as v, f as I } from "../../peginInput-BKD_b3gq.js";
6
- import { a as C, b as F } from "../../noPayout-CihCk1HE.js";
7
- import { d as N, a as y, b as D, e as B, f as M, j as H, g as L, h as X, i as k, c as W, p as w, s as K, t as G, u as Y, v as Z } from "../../bitcoin-B5aNKtsk.js";
8
- import { c as j } from "../../signing-DaLvGwQe.js";
9
- import { B as z, H as Q, K as $, M as aa, T as ea } from "../../validation-CxqROCno.js";
10
- import { P as ta, b as ra, c as oa, d as ia, e as na } from "../../PeginManager-aYBkb-Qx.js";
11
- import { P as ua, c as la, f as da, s as Pa, v as ca } from "../../PayoutManager-BVgmuKuK.js";
12
- import { A as Aa, P as Ea } from "../../ApplicationRegistry.abi-w5prf7Ig.js";
13
- import { B as ga } from "../../BTCVaultRegistry.abi-Chs4AFBj.js";
14
- import { C as Ra, e as ma, g as xa, h as fa, i as ba } from "../../errors-Blc-JWnI.js";
15
- import { V as Oa, b as va, a as Ia, d as ha } from "../../deriveVaultRoot-B_gEOTD6.js";
16
- import { p as Fa } from "../../parseFundingOutpoints-GSM-IaaK.js";
17
- import { B as Na, a as ya, f as Da, c as Ba, b as Ma, d as Ha, g as La, i as Xa, h as ka, s as Wa, e as wa, w as Ka } from "../../waitForTransactionReceiptSmartAware-lobLm0q0.js";
18
- import { B as Ya, D as Za, L as Ja, M as ja, c as qa, P as za, b as Qa, a as $a, S as ae, T as ee, W as se, f as te, d as re, p as oe, r as ie } from "../../fundPeginTransaction-B2wyjqp0.js";
19
- import { U as pe, a as ue, e as le, f as de, v as Pe } from "../../reservation-cHDRn4DA.js";
20
- import { M as Te, V as Ae, g as Ee, a as Se, b as ge, c as _e, d as Re, e as me, f as xe, h as fe, i as be, p as Ve, v as Oe, j as ve, k as Ie } from "../../mempoolApi-P_ApODLd.js";
21
- import { O as Ce, S as Fe, V as Ue, g as Ne, h as ye, i as De, a as Be, d as Me, b as He, f as Le, p as Xe, r as ke, v as We, c as we, e as Ke } from "../../primeVpAuth-DZOaC_Ui.js";
22
- import { A as Ye, D as Ze, b as Je, J as je, a as qe, d as ze, P as Qe, R as $e, e as as, c as es, V as ss } from "../../types-CQDRQvV-.js";
23
- import { i as rs } from "../../errors-B-H0seUG.js";
24
- import { B as is, C as ns, p as ps, q as us, t as ls, u as ds, R as Ps, a as cs, n as Ts, o as As, i as Es, m as Ss, l as gs, j as _s, r as Rs, b as ms, s as xs, v as fs, g as bs, h as Vs, d as Os, c as vs, e as Is, f as hs, k as Cs, w as Fs } from "../../buildAndBroadcastRefund-BtXUqBkb.js";
25
- import { C as Ns, P as ys, c as Ds, g as Bs, i as Ms } from "../../peginState-BB81JI6I.js";
4
+ import { P as S, d as g, f as R, c as _, b as m, 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 D, e as N, f as M, j as H, g as L, h as K, i as X, c as k, 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 Ra } from "../../BTCVaultRegistry.abi-CixOlp3B.js";
14
+ import { B as ma } 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 { B as Na, a as Ma, f as Ha, c as La, b as Ka, d as Xa, g as ka, i as Wa, h as wa, s as Ga, e as Ya, w as Za } from "../../waitForTransactionReceiptSmartAware-lobLm0q0.js";
19
+ import { B as Ja, D as qa, L as za, M as Qa, c as $a, P as ae, b as ee, a as se, S as te, T as re, W as oe, f as ie, d as ne, p as pe, r as ue } from "../../fundPeginTransaction-B2wyjqp0.js";
20
+ import { U as de, a as Pe, e as ce, f as Te, v as Ae } from "../../reservation-cHDRn4DA.js";
21
+ import { M as Se, V as ge, g as Re, a as _e, b as me, c as fe, d as xe, e as be, f as Ve, h as ve, i as Oe, p as he, v as Ce, j as Ie, k as ye } from "../../mempoolApi-C0olk43O.js";
22
+ import { O as Ue, S as Be, V as De, g as Ne, h as Me, i as He, j as Le, a as Ke, d as Xe, b as ke, f as We, p as we, r as Ge, v as Ye, c as Ze, e as je } from "../../primeVpAuth-DkJbvywo.js";
23
+ import { A as qe, D as ze, b as Qe, J as $e, a as as, d as es, P as ss, R as ts, e as rs, c as os, V as is } from "../../json-rpc-client-Ehjthcd7.js";
24
+ import { a as ps } from "../../onChainBtcPubkey-aPY5ib3Q.js";
25
+ import { i as ls } from "../../errors-B-H0seUG.js";
26
+ import { B as Ps, C as cs, P as Ts, x as As, y as Es, z as Ss, A as gs, R as Rs, a as _s, t as ms, u as fs, i as xs, j as bs, q as Vs, p as vs, l as Os, n as hs, o as Cs, r as Is, s as ys, b as Fs, c as Us, d as Bs, v as Ds, e as Ns, f as Ms, g as Hs, h as Ls, k as Ks, m as Xs, w as ks } from "../../buildAndBroadcastRefund-CCb1_z24.js";
27
+ import { C as ws, P as Gs, c as Ys, g as Zs, i as js } from "../../peginState-BB81JI6I.js";
26
28
  export {
27
- Ye as AUTH_EXPIRED_DATA_KIND,
28
- Aa as ApplicationRegistryABI,
29
- is as BIP68NotMatureError,
30
- z as BITCOIN_ADDRESS_RE,
31
- ga as BTCVaultRegistryABI,
32
- Ya as BTC_DUST_SAT,
29
+ qe as AUTH_EXPIRED_DATA_KIND,
30
+ Ea as ApplicationRegistryABI,
31
+ Ps as BIP68NotMatureError,
32
+ J as BITCOIN_ADDRESS_RE,
33
+ Ra as BTCVaultRegistryABI,
34
+ ma as BTCVaultRegistryKeyEpochsABI,
35
+ Ja as BTC_DUST_SAT,
33
36
  Na as BitcoinScriptType,
34
- Ra as CONTRACT_ERRORS,
35
- ns as ClaimerPegoutStatusValue,
36
- Ns as ContractStatus,
37
- Za as DUST_THRESHOLD,
38
- Ze as DaemonStatus,
39
- Q as HEX_RE,
40
- Je as JSON_RPC_ERROR_CODES,
41
- je as JsonRpcClient,
42
- qe as JsonRpcError,
43
- $ as KNOWN_SCRIPT_PREFIXES,
44
- Ja as LOW_RATE_ESTIMATION_ACCURACY_BUFFER,
45
- ja as MAX_NON_LEGACY_OUTPUT_SIZE,
46
- aa as MAX_REASONABLE_FEE_SATS,
47
- qa as MAX_REASONABLE_PEGIN_VBYTES,
48
- Te as MEMPOOL_API_URLS,
49
- Ce as OnChainBtcVaultStatus,
50
- za as P2TR_INPUT_SIZE,
51
- Qa as PEGIN_AUTH_ANCHOR_OUTPUTS,
52
- $a as PEGIN_FIXED_OUTPUTS,
53
- ze as POST_WOTS_STATUSES,
54
- Qe as PRE_DEPOSITOR_SIGNATURES_STATES,
55
- ua as PayoutManager,
56
- ys as PeginAction,
57
- ta as PeginManager,
58
- Ea as ProtocolParamsABI,
37
+ xa as CONTRACT_ERRORS,
38
+ cs as ClaimerPegoutStatusValue,
39
+ ws as ContractStatus,
40
+ qa as DUST_THRESHOLD,
41
+ ze as DaemonStatus,
42
+ q as HEX_RE,
43
+ Qe as JSON_RPC_ERROR_CODES,
44
+ $e as JsonRpcClient,
45
+ as as JsonRpcError,
46
+ z as KNOWN_SCRIPT_PREFIXES,
47
+ za as LOW_RATE_ESTIMATION_ACCURACY_BUFFER,
48
+ Qa as MAX_NON_LEGACY_OUTPUT_SIZE,
49
+ Q as MAX_REASONABLE_FEE_SATS,
50
+ $a as MAX_REASONABLE_PEGIN_VBYTES,
51
+ Se as MEMPOOL_API_URLS,
52
+ Ue as OnChainBtcVaultStatus,
53
+ ae as P2TR_INPUT_SIZE,
54
+ ee as PEGIN_AUTH_ANCHOR_OUTPUTS,
55
+ se as PEGIN_FIXED_OUTPUTS,
56
+ es as POST_WOTS_STATUSES,
57
+ ss as PRE_DEPOSITOR_SIGNATURES_STATES,
58
+ Ts as ParticipantKeyDriftError,
59
+ la as PayoutManager,
60
+ Gs as PeginAction,
61
+ ra as PeginManager,
62
+ Sa as ProtocolParamsABI,
59
63
  S as PsbtSubstitutionError,
60
- ps as REFUND_MAX_FEE_FRACTION_DENOMINATOR,
61
- us as REFUND_MAX_FEE_FRACTION_NUMERATOR,
62
- ls as REFUND_MAX_FEE_RATE_SATS_VB,
63
- ds as REFUND_VSIZE,
64
- Ps as RegisteredVaultVersionMismatchError,
65
- $e as RpcErrorCode,
66
- ae as SPLIT_TX_FEE_SAFETY_MULTIPLIER,
67
- Fe as ServerIdentityError,
68
- ea as TXID_RE,
69
- ee as TX_BUFFER_SIZE_OVERHEAD,
70
- pe as UtxoNotAvailableError,
71
- Oa as VAULT_APP_NAME,
72
- as as VP_BATCH_MAX_SIZE,
73
- es as VP_TERMINAL_FAILURE_STATUSES,
74
- ss as VP_TRANSIENT_STATUSES,
75
- Ue as VaultProviderRpcClient,
76
- Ne as ViemProtocolParamsReader,
77
- ye as ViemUniversalChallengerReader,
78
- De as ViemVaultKeeperReader,
79
- Ae as ViemVaultRegistryReader,
80
- Be as VpResponseValidationError,
81
- Me as VpTokenRegistry,
82
- se as WALLET_RELAY_FEE_RATE_THRESHOLD,
83
- cs as activateVault,
84
- ya as applyChangeOutputPolicy,
64
+ As as REFUND_MAX_FEE_FRACTION_DENOMINATOR,
65
+ Es as REFUND_MAX_FEE_FRACTION_NUMERATOR,
66
+ Ss as REFUND_MAX_FEE_RATE_SATS_VB,
67
+ gs as REFUND_VSIZE,
68
+ Rs as RegisteredVaultVersionMismatchError,
69
+ ts as RpcErrorCode,
70
+ te as SPLIT_TX_FEE_SAFETY_MULTIPLIER,
71
+ Be as ServerIdentityError,
72
+ $ as TXID_RE,
73
+ re as TX_BUFFER_SIZE_OVERHEAD,
74
+ de as UtxoNotAvailableError,
75
+ Ca as VAULT_APP_NAME,
76
+ rs as VP_BATCH_MAX_SIZE,
77
+ os as VP_TERMINAL_FAILURE_STATUSES,
78
+ is as VP_TRANSIENT_STATUSES,
79
+ De as VaultProviderRpcClient,
80
+ Ne as ViemOperationKeyReader,
81
+ Me as ViemProtocolParamsReader,
82
+ He as ViemUniversalChallengerReader,
83
+ Le as ViemVaultKeeperReader,
84
+ ge as ViemVaultRegistryReader,
85
+ Ke as VpResponseValidationError,
86
+ Xe as VpTokenRegistry,
87
+ oe as WALLET_RELAY_FEE_RATE_THRESHOLD,
88
+ _s as activateVault,
89
+ Ma as applyChangeOutputPolicy,
90
+ ps as assertOnChainBtcPubkey,
85
91
  g as assertPsbtUnsignedTxMatches,
86
- _ as assertScriptPathSchnorrSignature,
87
- ue as assertUtxosAvailable,
92
+ R as assertScriptPathSchnorrSignature,
93
+ Pe as assertUtxosAvailable,
88
94
  o as assertValidVaultCoreVersion,
89
- He as batchPollByProvider,
90
- Ts as buildAndBroadcastRefund,
95
+ ke as batchPollByProvider,
96
+ ms as buildAndBroadcastRefund,
91
97
  s as buildChallengeAssertPsbt,
92
- ra as buildDepositTerms,
93
- va as buildFundingOutpointsCommitment,
94
- C as buildNoPayoutPsbt,
95
- R as buildPayoutPsbt,
96
- O as buildPeginInputPsbt,
98
+ oa as buildDepositTerms,
99
+ Ia as buildFundingOutpointsCommitment,
100
+ I as buildNoPayoutPsbt,
101
+ _ as buildPayoutPsbt,
102
+ v as buildPeginInputPsbt,
97
103
  m as buildPeginTxFromFundedPrePegin,
98
- x as buildPrePeginPsbt,
99
- F as buildRefundPsbt,
100
- Ia as buildVaultContext,
101
- Da as calculateBtcTxHash,
102
- Ds as canPerformAction,
103
- Ba as computeChangeOutputFeeSats,
104
- la as computeHashlock,
105
- Ma as computeMaxDeposit,
104
+ f as buildPrePeginPsbt,
105
+ y as buildRefundPsbt,
106
+ ya as buildVaultContext,
107
+ Ha as calculateBtcTxHash,
108
+ Ys as canPerformAction,
109
+ aa as combineAbortSignals,
110
+ La as computeChangeOutputFeeSats,
111
+ da as computeHashlock,
112
+ Ka as computeMaxDeposit,
106
113
  n as computeMinClaimValue,
107
114
  p as computeMinPeginFee,
108
115
  t as computeNumLocalChallengers,
109
- Ha as computePeginBaseFeeSats,
110
- oa as computeWotsBlockPublicKeysHash,
111
- Le as createAuthenticatedVpClient,
112
- f as createPayoutScript,
113
- j as createTaprootScriptPathSignOptions,
114
- N as deriveBip86ScriptPubKeyHex,
115
- y as deriveNativeSegwitAddress,
116
+ Xa as computePeginBaseFeeSats,
117
+ ia as computeWotsBlockPublicKeysHash,
118
+ We as createAuthenticatedVpClient,
119
+ x as createPayoutScript,
120
+ sa as createTaprootScriptPathSignOptions,
121
+ U as deriveBip86ScriptPubKeyHex,
122
+ B as deriveNativeSegwitAddress,
116
123
  D as deriveTaprootAddress,
117
124
  u as deriveVaultId,
118
- ha as deriveVaultRoot,
119
- ia as deriveWotsBlocksFromSeed,
120
- B as ensureHexPrefix,
121
- As as estimateRefundFeeSats,
122
- na as estimateSubmitPeginRequestBatchGas,
125
+ Fa as deriveVaultRoot,
126
+ na as deriveWotsBlocksFromSeed,
127
+ N as ensureHexPrefix,
128
+ fs as estimateRefundFeeSats,
129
+ pa as estimateSubmitPeginRequestBatchGas,
123
130
  l as expandAuthAnchor,
124
131
  d as expandHashlockSecret,
125
132
  P as expandWotsSeed,
126
- ma as extractErrorData,
127
- le as extractInputsFromTransaction,
133
+ ba as extractErrorData,
134
+ ce as extractInputsFromTransaction,
128
135
  b as extractPayoutSignature,
129
- v as extractPeginInputSignature,
130
- I as finalizePeginInputPsbt,
131
- de as findOverlappingPendingVaults,
136
+ O as extractPeginInputSignature,
137
+ h as finalizePeginInputPsbt,
138
+ Te as findOverlappingPendingVaults,
132
139
  M as formatSatoshisToBtc,
133
- da as forwardDepositApproval,
134
- te as fundPeginTransaction,
135
- Ee as getAddressTxs,
136
- Se as getAddressUtxos,
137
- xa as getContractErrorMessage,
138
- La as getDustThreshold,
139
- ge as getMempoolApiUrl,
140
+ Pa as forwardDepositApproval,
141
+ ie as fundPeginTransaction,
142
+ Re as getAddressTxs,
143
+ _e as getAddressUtxos,
144
+ Va as getContractErrorMessage,
145
+ ka as getDustThreshold,
146
+ me as getMempoolApiUrl,
140
147
  H as getNetwork,
141
- _e as getNetworkFees,
142
- Re as getOutspend,
143
- Bs as getPeginProtocolState,
144
- Xa as getPsbtInputFields,
145
- ka as getScriptType,
148
+ fe as getNetworkFees,
149
+ xe as getOutspend,
150
+ Zs as getPeginProtocolState,
151
+ Wa as getPsbtInputFields,
152
+ wa as getScriptType,
146
153
  L as getSortedXOnlyPubkeys,
147
- me as getTipHeight,
148
- xe as getTxHex,
149
- fe as getTxInfo,
150
- be as getUtxoInfo,
151
- fa as handleContractError,
152
- X as hexToUint8Array,
153
- Ms as isActivationDeadlinePassedOnChain,
154
- k as isAddressFromPublicKey,
155
- Es as isDepositAmountValid,
156
- ba as isKnownContractError,
157
- Ss as isPegoutTerminalStatus,
158
- gs as isRecognizedPegoutStatus,
159
- _s as isRegisteredVaultVersionMismatchError,
160
- W as isValidHex,
161
- rs as isWotsMismatchError,
162
- Fa as parseFundingOutpointsFromTx,
163
- re as parseUnfundedWasmTransaction,
164
- oe as peginOutputCount,
154
+ be as getTipHeight,
155
+ Ve as getTxHex,
156
+ ve as getTxInfo,
157
+ Oe as getUtxoInfo,
158
+ va as handleContractError,
159
+ K as hexToUint8Array,
160
+ js as isActivationDeadlinePassedOnChain,
161
+ X as isAddressFromPublicKey,
162
+ xs as isDepositAmountValid,
163
+ Oa as isKnownContractError,
164
+ bs as isParticipantKeyDriftError,
165
+ Vs as isPegoutTerminalStatus,
166
+ vs as isRecognizedPegoutStatus,
167
+ Os as isRegisteredVaultVersionMismatchError,
168
+ k as isValidHex,
169
+ ls as isWotsMismatchError,
170
+ Ba as parseFundingOutpointsFromTx,
171
+ ne as parseUnfundedWasmTransaction,
172
+ pe as peginOutputCount,
165
173
  c as peginP2aAnchorOutput,
166
- Xe as primeVpTokenRegistry,
167
- w as processPublicKeyToXOnly,
168
- Ve as pushTx,
169
- ie as rateBasedTxBufferFee,
170
- ke as resolveProtocolAddresses,
171
- Rs as runDepositorPresignFlow,
172
- Wa as selectUtxosForPegin,
173
- wa as shouldAddChangeOutput,
174
- ms as signDepositorGraph,
175
- K as stripHexPrefix,
176
- xs as submitWotsPublicKey,
174
+ we as primeVpTokenRegistry,
175
+ W as processPublicKeyToXOnly,
176
+ he as pushTx,
177
+ ue as rateBasedTxBufferFee,
178
+ hs as resolveCurrentParticipantKeys,
179
+ Cs as resolveParticipantKeysAtEpochs,
180
+ Ge as resolveProtocolAddresses,
181
+ Is as runDepositorPresignFlow,
182
+ Ga as selectUtxosForPegin,
183
+ Ya as shouldAddChangeOutput,
184
+ ys as signDepositorGraph,
185
+ w as stripHexPrefix,
186
+ Fs as submitWotsPublicKey,
177
187
  T as supportedTxGraphVersions,
178
- Pa as supportsDepositApproval,
188
+ ca as supportsDepositApproval,
179
189
  G as toXOnly,
180
190
  Y as uint8ArrayToHex,
181
- fs as validateDepositAmount,
182
- bs as validateMultiVaultDepositInputs,
183
- Oe as validateOffchainParams,
184
- Vs as validateOnChainParticipantKeys,
185
- ve as validatePegInConfiguration,
191
+ Us as validateDepositAmount,
192
+ Bs as validateMultiVaultDepositInputs,
193
+ Ce as validateOffchainParams,
194
+ Ds as validateOnChainParticipantKeys,
195
+ Ie as validatePegInConfiguration,
186
196
  A as validatePeginP2aAnchor,
187
- Os as validateProviderSelection,
188
- vs as validateRemainingCapacity,
189
- We as validateRequestDepositorClaimerArtifactsResponse,
190
- ca as validateSecretAgainstHashlock,
191
- Ie as validateTBVProtocolParams,
192
- Pe as validateUtxosAvailable,
193
- Is as validateVaultAmounts,
194
- hs as validateVaultProviderPubkey,
197
+ Ns as validateProviderSelection,
198
+ Ms as validateRemainingCapacity,
199
+ Ye as validateRequestDepositorClaimerArtifactsResponse,
200
+ Ta as validateSecretAgainstHashlock,
201
+ ye as validateTBVProtocolParams,
202
+ Ae as validateUtxosAvailable,
203
+ Hs as validateVaultAmounts,
204
+ Ls as validateVaultProviderPubkey,
195
205
  Z as validateWalletPubkey,
196
- Cs as verifyRegisteredVaultVersions,
197
- we as verifyServerIdentity,
198
- Ke as vpTokenRegistry,
199
- Fs as waitForPeginStatus,
200
- Ka as waitForTransactionReceiptSmartAware
206
+ Ks as verifyRegisteredParticipantKeys,
207
+ Xs as verifyRegisteredVaultVersions,
208
+ Ze as verifyServerIdentity,
209
+ je as vpTokenRegistry,
210
+ ks as waitForPeginStatus,
211
+ Za as waitForTransactionReceiptSmartAware
201
212
  };
202
213
  //# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -76,6 +76,14 @@ interface SignPayoutBaseParams {
76
76
  protocolFeeRate: bigint;
77
77
  /** Security council member count; forwarded to the fee floor (see PayoutParams). */
78
78
  councilSize: number;
79
+ /**
80
+ * RFC-006 resolved payout destinations, keyed by lowercased x-only operation
81
+ * pubkey. Forwarded verbatim to {@link buildPayoutPsbt}; every VK claimer
82
+ * must be present.
83
+ */
84
+ vkClaimerPayoutScriptPubKeys: Readonly<Record<string, string>>;
85
+ /** RFC-006 VP commission destination. Forwarded to {@link buildPayoutPsbt}. */
86
+ vpCommissionScriptPubKey: string;
79
87
  }
80
88
  /**
81
89
  * Parameters for signing a Payout transaction.
@@ -1 +1 @@
1
- {"version":3,"file":"PayoutManager.d.ts","sourceRoot":"","sources":["../../../../src/tbv/core/managers/PayoutManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAmB,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAML,KAAK,OAAO,EACb,MAAM,eAAe,CAAC;AAMvB;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,aAAa,CAAC;CAC1B;AAED;;GAEG;AACH,UAAU,oBAAoB;IAC5B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,qBAAqB,EAAE,MAAM,EAAE,CAAC;IAEhC;;OAEG;IACH,6BAA6B,EAAE,MAAM,EAAE,CAAC;IAExC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;;;;;;OAQG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IAErC;;;OAGG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB,oFAAoF;IACpF,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;IAC5D;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAE7C;;;;OAIG;gBACS,MAAM,EAAE,mBAAmB;IAIvC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACG,qBAAqB,CACzB,MAAM,EAAE,gBAAgB,GACvB,OAAO,CAAC,qBAAqB,CAAC;IAyDjC;;;;OAIG;IACH,UAAU,IAAI,OAAO;IAIrB;;;;OAIG;IACH,oBAAoB,IAAI,OAAO;IAI/B;;;;;;;;OAQG;IACG,2BAA2B,CAAC,YAAY,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAC1E,KAAK,CAAC;QACJ,eAAe,EAAE,MAAM,CAAC;QACxB,kBAAkB,EAAE,MAAM,CAAC;KAC5B,CAAC,CACH;CA0FF"}
1
+ {"version":3,"file":"PayoutManager.d.ts","sourceRoot":"","sources":["../../../../src/tbv/core/managers/PayoutManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAmB,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAML,KAAK,OAAO,EACb,MAAM,eAAe,CAAC;AAMvB;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,aAAa,CAAC;CAC1B;AAED;;GAEG;AACH,UAAU,oBAAoB;IAC5B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,qBAAqB,EAAE,MAAM,EAAE,CAAC;IAEhC;;OAEG;IACH,6BAA6B,EAAE,MAAM,EAAE,CAAC;IAExC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;;;;;;OAQG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IAErC;;;OAGG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB,oFAAoF;IACpF,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,4BAA4B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC/D,+EAA+E;IAC/E,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED;;;;;GAKG;AACH,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;IAC5D;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAE7C;;;;OAIG;gBACS,MAAM,EAAE,mBAAmB;IAIvC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACG,qBAAqB,CACzB,MAAM,EAAE,gBAAgB,GACvB,OAAO,CAAC,qBAAqB,CAAC;IA2DjC;;;;OAIG;IACH,UAAU,IAAI,OAAO;IAIrB;;;;OAIG;IACH,oBAAoB,IAAI,OAAO;IAI/B;;;;;;;;OAQG;IACG,2BAA2B,CAAC,YAAY,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAC1E,KAAK,CAAC;QACJ,eAAe,EAAE,MAAM,CAAC;QACxB,kBAAkB,EAAE,MAAM,CAAC;KAC5B,CAAC,CACH;CA4FF"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../PeginManager-BkWdZI7P.cjs"),a=require("../../../PayoutManager-Cu4_l-_Y.cjs");exports.PeginManager=e.PeginManager;exports.estimateSubmitPeginRequestBatchGas=e.estimateSubmitPeginRequestBatchGas;exports.PayoutManager=a.PayoutManager;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../PeginManager-iDbqXsKD.cjs"),a=require("../../../signPsbtsWithFallback-C01N6Kdo.cjs");exports.PeginManager=e.PeginManager;exports.estimateSubmitPeginRequestBatchGas=e.estimateSubmitPeginRequestBatchGas;exports.PayoutManager=a.PayoutManager;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- import { P as t, e as r } from "../../../PeginManager-aYBkb-Qx.js";
2
- import { P as o } from "../../../PayoutManager-BVgmuKuK.js";
1
+ import { P as t, e as r } from "../../../PeginManager-CnX3uFb0.js";
2
+ import { P as o } from "../../../signPsbtsWithFallback-CzZFZf0I.js";
3
3
  export {
4
4
  o as PayoutManager,
5
5
  t as PeginManager,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../challengeAssert-Cu-PtJ1g.cjs"),s=require("../../../constants-BqU1Uz15.cjs"),r=require("@babylonlabs-io/babylon-tbv-rust-wasm"),t=require("../../../verifyScriptPathSchnorrSignature-BZhX-SOd.cjs"),i=require("../../../peginInput-CAiiDZeO.cjs"),u=require("../../../noPayout-Cb8vFrkY.cjs"),e=require("../../../bitcoin-CHfKAhcI.cjs");exports.buildChallengeAssertPsbt=n.buildChallengeAssertPsbt;exports.computeNumLocalChallengers=n.computeNumLocalChallengers;exports.assertValidVaultCoreVersion=s.assertValidVaultCoreVersion;Object.defineProperty(exports,"computeMinClaimValue",{enumerable:!0,get:()=>r.computeMinClaimValue});Object.defineProperty(exports,"computeMinPeginFee",{enumerable:!0,get:()=>r.computeMinPeginFee});Object.defineProperty(exports,"deriveVaultId",{enumerable:!0,get:()=>r.deriveVaultId});Object.defineProperty(exports,"peginP2aAnchorOutput",{enumerable:!0,get:()=>r.peginP2aAnchorOutput});Object.defineProperty(exports,"supportedTxGraphVersions",{enumerable:!0,get:()=>r.supportedTxGraphVersions});Object.defineProperty(exports,"validatePeginP2aAnchor",{enumerable:!0,get:()=>r.validatePeginP2aAnchor});exports.PsbtSubstitutionError=t.PsbtSubstitutionError;exports.assertPsbtUnsignedTxMatches=t.assertPsbtUnsignedTxMatches;exports.assertScriptPathSchnorrSignature=t.assertScriptPathSchnorrSignature;exports.buildPayoutPsbt=t.buildPayoutPsbt;exports.buildPeginTxFromFundedPrePegin=t.buildPeginTxFromFundedPrePegin;exports.buildPrePeginPsbt=t.buildPrePeginPsbt;exports.createPayoutScript=t.createPayoutScript;exports.extractPayoutSignature=t.extractPayoutSignature;exports.buildPeginInputPsbt=i.buildPeginInputPsbt;exports.extractPeginInputSignature=i.extractPeginInputSignature;exports.finalizePeginInputPsbt=i.finalizePeginInputPsbt;exports.buildNoPayoutPsbt=u.buildNoPayoutPsbt;exports.buildRefundPsbt=u.buildRefundPsbt;exports.deriveBip86ScriptPubKeyHex=e.deriveBip86ScriptPubKeyHex;exports.deriveNativeSegwitAddress=e.deriveNativeSegwitAddress;exports.deriveTaprootAddress=e.deriveTaprootAddress;exports.ensureHexPrefix=e.ensureHexPrefix;exports.formatSatoshisToBtc=e.formatSatoshisToBtc;exports.getSortedXOnlyPubkeys=e.getSortedXOnlyPubkeys;exports.hexToUint8Array=e.hexToUint8Array;exports.isAddressFromPublicKey=e.isAddressFromPublicKey;exports.isValidHex=e.isValidHex;exports.processPublicKeyToXOnly=e.processPublicKeyToXOnly;exports.stripHexPrefix=e.stripHexPrefix;exports.toXOnly=e.toXOnly;exports.uint8ArrayToHex=e.uint8ArrayToHex;exports.validateWalletPubkey=e.validateWalletPubkey;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../challengeAssert-Cu-PtJ1g.cjs"),s=require("../../../constants-BqU1Uz15.cjs"),r=require("@babylonlabs-io/babylon-tbv-rust-wasm"),t=require("../../../verifyScriptPathSchnorrSignature-C-84KJ6U.cjs"),i=require("../../../peginInput-CAiiDZeO.cjs"),u=require("../../../noPayout-Djrv31V5.cjs"),e=require("../../../bitcoin-CHfKAhcI.cjs");exports.buildChallengeAssertPsbt=n.buildChallengeAssertPsbt;exports.computeNumLocalChallengers=n.computeNumLocalChallengers;exports.assertValidVaultCoreVersion=s.assertValidVaultCoreVersion;Object.defineProperty(exports,"computeMinClaimValue",{enumerable:!0,get:()=>r.computeMinClaimValue});Object.defineProperty(exports,"computeMinPeginFee",{enumerable:!0,get:()=>r.computeMinPeginFee});Object.defineProperty(exports,"deriveVaultId",{enumerable:!0,get:()=>r.deriveVaultId});Object.defineProperty(exports,"peginP2aAnchorOutput",{enumerable:!0,get:()=>r.peginP2aAnchorOutput});Object.defineProperty(exports,"supportedTxGraphVersions",{enumerable:!0,get:()=>r.supportedTxGraphVersions});Object.defineProperty(exports,"validatePeginP2aAnchor",{enumerable:!0,get:()=>r.validatePeginP2aAnchor});exports.PsbtSubstitutionError=t.PsbtSubstitutionError;exports.assertPsbtUnsignedTxMatches=t.assertPsbtUnsignedTxMatches;exports.assertScriptPathSchnorrSignature=t.assertScriptPathSchnorrSignature;exports.buildPayoutPsbt=t.buildPayoutPsbt;exports.buildPeginTxFromFundedPrePegin=t.buildPeginTxFromFundedPrePegin;exports.buildPrePeginPsbt=t.buildPrePeginPsbt;exports.createPayoutScript=t.createPayoutScript;exports.extractPayoutSignature=t.extractPayoutSignature;exports.buildPeginInputPsbt=i.buildPeginInputPsbt;exports.extractPeginInputSignature=i.extractPeginInputSignature;exports.finalizePeginInputPsbt=i.finalizePeginInputPsbt;exports.buildNoPayoutPsbt=u.buildNoPayoutPsbt;exports.buildRefundPsbt=u.buildRefundPsbt;exports.deriveBip86ScriptPubKeyHex=e.deriveBip86ScriptPubKeyHex;exports.deriveNativeSegwitAddress=e.deriveNativeSegwitAddress;exports.deriveTaprootAddress=e.deriveTaprootAddress;exports.ensureHexPrefix=e.ensureHexPrefix;exports.formatSatoshisToBtc=e.formatSatoshisToBtc;exports.getSortedXOnlyPubkeys=e.getSortedXOnlyPubkeys;exports.hexToUint8Array=e.hexToUint8Array;exports.isAddressFromPublicKey=e.isAddressFromPublicKey;exports.isValidHex=e.isValidHex;exports.processPublicKeyToXOnly=e.processPublicKeyToXOnly;exports.stripHexPrefix=e.stripHexPrefix;exports.toXOnly=e.toXOnly;exports.uint8ArrayToHex=e.uint8ArrayToHex;exports.validateWalletPubkey=e.validateWalletPubkey;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,9 +1,9 @@
1
1
  import { b as s, c as t } from "../../../challengeAssert-BVQq50su.js";
2
2
  import { a as i } from "../../../constants-CDQE812z.js";
3
3
  import { computeMinClaimValue as u, computeMinPeginFee as n, deriveVaultId as P, peginP2aAnchorOutput as d, supportedTxGraphVersions as l, validatePeginP2aAnchor as b } from "@babylonlabs-io/babylon-tbv-rust-wasm";
4
- import { P as c, d as x, f as g, c as f, b as m, a as y, g as h, e as S } from "../../../verifyScriptPathSchnorrSignature-CgrnAjMW.js";
4
+ import { P as c, d as x, f as g, c as f, b as m, a as y, g as h, e as S } from "../../../verifyScriptPathSchnorrSignature-Xoo9DOHW.js";
5
5
  import { b as A, e as T, f as V } from "../../../peginInput-BKD_b3gq.js";
6
- import { a as C, b as F } from "../../../noPayout-CihCk1HE.js";
6
+ import { a as C, b as F } from "../../../noPayout-CI4l1qu2.js";
7
7
  import { d as O, a as K, b as M, e as N, f as X, g as k, h as B, i as U, c as w, p as z, s as E, t as G, u as L, v as R } from "../../../bitcoin-B5aNKtsk.js";
8
8
  export {
9
9
  c as PsbtSubstitutionError,
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=standardPayoutScript.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"standardPayoutScript.test.d.ts","sourceRoot":"","sources":["../../../../../../src/tbv/core/primitives/psbt/__tests__/standardPayoutScript.test.ts"],"names":[],"mappings":""}
@@ -15,11 +15,11 @@
15
15
  * - `assertPayoutFeeBandDomain` has accepted the rate and participant counts,
16
16
  * so the band runs exactly over the domain its dominance proof was swept.
17
17
  * - `out0Len` is the layout-trusted length of the PINNED outs[0] script.
18
- * `out1Len` is measured from the deliberately-unpinned VP commission
19
- * output and is UNTRUSTED: it feeds only the floor, where padding cannot
20
- * raise it (the fixed-34 model saturates the minimum) and shortening only
21
- * lowers it. It must never widen the ceiling — a VP-controlled length
22
- * there would buy burnable headroom.
18
+ * `out1Len` is the VP commission output's length. RFC-006 pins that output
19
+ * to the operator's registered scriptPubKey, so it is now layout-trusted
20
+ * too and bounded to a standard type. It still feeds only the floor and
21
+ * must never widen the ceiling: that separation is kept deliberately, so
22
+ * the bound holds even if a future change unpins the output again.
23
23
  * - `implicitFeeSats` is `inputs − outputs` over verified prevouts, `>= 0`.
24
24
  *
25
25
  * @module primitives/psbt/assertPayoutFeeBand
@@ -1 +1 @@
1
- {"version":3,"file":"assertPayoutFeeBand.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/primitives/psbt/assertPayoutFeeBand.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AA6CH,wDAAwD;AACxD,MAAM,WAAW,mBAAmB;IAClC,4EAA4E;IAC5E,gBAAgB,EAAE,MAAM,CAAC;IACzB,8BAA8B;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,sCAAsC;IACtC,uBAAuB,EAAE,MAAM,CAAC;IAChC,qEAAqE;IACrE,WAAW,EAAE,MAAM,CAAC;IACpB,yEAAyE;IACzE,eAAe,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI,CAuC3E;AAED;;;;;GAKG;AACH,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,mBAAmB,EAC3B,QAAQ,EAAE;IACR,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,GACA,OAAO,CAAC,IAAI,CAAC,CAgDf"}
1
+ {"version":3,"file":"assertPayoutFeeBand.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/primitives/psbt/assertPayoutFeeBand.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AA6CH,wDAAwD;AACxD,MAAM,WAAW,mBAAmB;IAClC,4EAA4E;IAC5E,gBAAgB,EAAE,MAAM,CAAC;IACzB,8BAA8B;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,sCAAsC;IACtC,uBAAuB,EAAE,MAAM,CAAC;IAChC,qEAAqE;IACrE,WAAW,EAAE,MAAM,CAAC;IACpB,yEAAyE;IACzE,eAAe,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI,CAuC3E;AAED;;;;;GAKG;AACH,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,mBAAmB,EAC3B,QAAQ,EAAE;IACR,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,GACA,OAAO,CAAC,IAAI,CAAC,CAiDf"}
@@ -82,6 +82,29 @@ export interface PayoutParams {
82
82
  * pinned models.
83
83
  */
84
84
  councilSize: number;
85
+ /**
86
+ * RFC-006. Expected `outs[0].script` per vault-keeper claimer, keyed by
87
+ * lowercased x-only **operation** pubkey (no `0x`), resolved from
88
+ * `ApplicationRegistry.getPayoutScriptAtEpoch` at the vault's frozen
89
+ * `appKeeperKeyEpoch`.
90
+ *
91
+ * Every VK claimer must be present: a claimer missing from the map is an
92
+ * error rather than a cue to derive BIP-86, because a gap means resolution
93
+ * was incomplete and we do not know what that keeper registered.
94
+ *
95
+ * Each entry accepts either that registered script or the BIP-86 default of
96
+ * the same bonded key, so graphs built before btc-vault#2440 remain signable
97
+ * — see {@link acceptedPayoutScriptHexes} for why that is required and when
98
+ * it can be dropped.
99
+ */
100
+ vkClaimerPayoutScriptPubKeys: Readonly<Record<string, string>>;
101
+ /**
102
+ * RFC-006. Expected `outs[1].script` for the VP-claimer commission output,
103
+ * from `BTCVaultRegistry.getPayoutScriptAtEpoch` at the vault's frozen
104
+ * `vpKeyEpoch`. The BIP-86 default of the bonded VP key is accepted alongside
105
+ * it — see {@link acceptedPayoutScriptHexes}.
106
+ */
107
+ vpCommissionScriptPubKey: string;
85
108
  }
86
109
  /**
87
110
  * Result of building an unsigned payout PSBT
@@ -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;AAuC/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;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;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;CACrB;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,CAoF3B;AAmPD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,sBAAsB,CACpC,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,EACvB,UAAU,SAAI,GACb,MAAM,CA+CR"}
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;AAwC/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;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;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;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAsB,eAAe,CACnC,MAAM,EAAE,YAAY,GACnB,OAAO,CAAC,gBAAgB,CAAC,CAoF3B;AA4WD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,sBAAsB,CACpC,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,EACvB,UAAU,SAAI,GACb,MAAM,CA+CR"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Standard-scriptPubKey validation for registry-supplied payout destinations.
3
+ *
4
+ * RFC-006 lets an operator register an arbitrary payout scriptPubKey, so the
5
+ * bytes we pin a `PayoutTx` output against are now chosen by that operator
6
+ * rather than derived by us. Pinning an output to them without checking the
7
+ * shape would let a keeper that registered a garbage or unspendable script get
8
+ * the depositor to pre-sign a payout nobody can ever claim.
9
+ *
10
+ * This bound is ours alone — it is deliberately NOT parity with `vaultd`.
11
+ * `vaultd` uses registry scripts verbatim at graph-build time and documents
12
+ * why: applying a predicate the contract does not apply would block every
13
+ * peg-in for an operator the instant the two disagreed. The registry itself
14
+ * only bounds length to 1..128 bytes, and the registration CLI has an
15
+ * `--allow-non-standard` escape hatch.
16
+ *
17
+ * We hold the stricter line because we occupy a different position: we are the
18
+ * party being asked to *pre-sign* against these bytes, and a depositor
19
+ * signature pinned to a provably unspendable output is not recoverable. The
20
+ * bound is also load-bearing for the payout fee band — capping a standard
21
+ * output at 34 bytes is what lets `assertPayoutFeeBand` reason about `outs[1]`
22
+ * without a separate length cap.
23
+ *
24
+ * The deliberate consequence: an operator that registers a non-standard script
25
+ * via `--allow-non-standard` can have its graphs built by `vaultd` and still be
26
+ * refused here, blocking deposits against that operator in this dApp. That is
27
+ * fail-closed by choice — the alternative is pre-signing into a destination we
28
+ * cannot verify is spendable.
29
+ *
30
+ * @module primitives/psbt/standardPayoutScript
31
+ */
32
+ /**
33
+ * Assert a registry-supplied scriptPubKey is a standard, spendable output type
34
+ * (P2TR, P2WPKH, P2WSH, P2PKH, or P2SH).
35
+ *
36
+ * Rejects empty scripts, `OP_RETURN` (provably unspendable), and anything else
37
+ * that is not one of the five standard forms. `label` names the source in the
38
+ * error, e.g. `vault keeper payout script (admin=0x…)`.
39
+ */
40
+ export declare function assertStandardPayoutScript(scriptHex: string, label: string): void;
41
+ //# sourceMappingURL=standardPayoutScript.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"standardPayoutScript.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/primitives/psbt/standardPayoutScript.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAiCH;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,GACZ,IAAI,CA2BN"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=verifyRegisteredParticipantKeys.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verifyRegisteredParticipantKeys.test.d.ts","sourceRoot":"","sources":["../../../../../../src/tbv/core/services/deposit/__tests__/verifyRegisteredParticipantKeys.test.ts"],"names":[],"mappings":""}
@@ -1,10 +1,11 @@
1
- export type { PeginStatusReader, WotsKeySubmitter, PresignClient, ClaimerArtifactsReader, } from './interfaces';
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';
1
+ export type { ClaimerArtifactsReader, PeginStatusReader, PresignClient, WotsKeySubmitter, } from './interfaces';
6
2
  export { ContractStatus, PeginAction, canPerformAction, getPeginProtocolState, isActivationDeadlinePassedOnChain, 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';
3
+ export { runDepositorPresignFlow, type PayoutSigningContext, type RunDepositorPresignFlowParams, } from './runDepositorPresignFlow';
4
+ export { signDepositorGraph, type DepositorGraphSigningContext, type SignDepositorGraphParams, } from './signDepositorGraph';
5
+ export { submitWotsPublicKey, type SubmitWotsPublicKeyParams, } from './submitWotsPublicKey';
8
6
  export { validateOnChainParticipantKeys, type ValidateOnChainParticipantKeysParams, type ValidatedOnChainParticipantKeys, } from './validateOnChainParticipantKeys';
7
+ export { isDepositAmountValid, validateDepositAmount, validateMultiVaultDepositInputs, validateProviderSelection, validateRemainingCapacity, validateVaultAmounts, validateVaultProviderPubkey, type DepositFormValidityParams, type MultiVaultDepositFlowInputs, type RemainingCapacityParams, type ValidationResult, } from './validation';
8
+ export { ParticipantKeyDriftError, isParticipantKeyDriftError, verifyRegisteredParticipantKeys, type VerifyRegisteredParticipantKeysParams, } from './verifyRegisteredParticipantKeys';
9
9
  export { RegisteredVaultVersionMismatchError, isRegisteredVaultVersionMismatchError, verifyRegisteredVaultVersions, type VerifyRegisteredVaultVersionsParams, } from './verifyRegisteredVaultVersions';
10
+ export { waitForPeginStatus, type WaitForPeginStatusParams, } from './waitForPeginStatus';
10
11
  //# sourceMappingURL=index.d.ts.map