@chainflip/processor 2.0.4 → 2.1.0-alpha.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 (499) hide show
  1. package/dist/100/environment/runtimeSafeModeUpdated.d.cts +12 -12
  2. package/dist/100/environment/runtimeSafeModeUpdated.d.ts +12 -12
  3. package/dist/100/flip/remainingImbalance.d.cts +22 -22
  4. package/dist/100/flip/remainingImbalance.d.ts +22 -22
  5. package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
  6. package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
  7. package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
  8. package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
  9. package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
  10. package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
  11. package/dist/100/funding/funded.d.cts +2 -2
  12. package/dist/100/funding/funded.d.ts +2 -2
  13. package/dist/100/funding/redemptionRequested.d.cts +2 -2
  14. package/dist/100/funding/redemptionRequested.d.ts +2 -2
  15. package/dist/11000/arbitrumIngressEgress/ccmEgressInvalid.d.cts +26 -26
  16. package/dist/11000/arbitrumIngressEgress/ccmEgressInvalid.d.ts +26 -26
  17. package/dist/11000/arbitrumIngressEgress/depositFailed.d.cts +34 -34
  18. package/dist/11000/arbitrumIngressEgress/depositFailed.d.ts +34 -34
  19. package/dist/11000/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +22 -22
  20. package/dist/11000/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +22 -22
  21. package/dist/11000/polkadotIngressEgress/ccmEgressInvalid.d.cts +107 -107
  22. package/dist/11000/polkadotIngressEgress/ccmEgressInvalid.d.ts +107 -107
  23. package/dist/11000/polkadotIngressEgress/depositFailed.d.cts +207 -207
  24. package/dist/11000/polkadotIngressEgress/depositFailed.d.ts +207 -207
  25. package/dist/11000/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +103 -103
  26. package/dist/11000/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +103 -103
  27. package/dist/11000/solanaIngressEgress/ccmEgressInvalid.d.cts +26 -26
  28. package/dist/11000/solanaIngressEgress/ccmEgressInvalid.d.ts +26 -26
  29. package/dist/11000/solanaIngressEgress/depositFailed.d.cts +40 -40
  30. package/dist/11000/solanaIngressEgress/depositFailed.d.ts +40 -40
  31. package/dist/11000/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +22 -22
  32. package/dist/11000/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +22 -22
  33. package/dist/111/bitcoinIngressEgress/transferFallbackRequested.d.cts +22 -22
  34. package/dist/111/bitcoinIngressEgress/transferFallbackRequested.d.ts +22 -22
  35. package/dist/111/ethereumIngressEgress/transferFallbackRequested.d.cts +2 -2
  36. package/dist/111/ethereumIngressEgress/transferFallbackRequested.d.ts +2 -2
  37. package/dist/111/polkadotIngressEgress/transferFallbackRequested.d.cts +2 -2
  38. package/dist/111/polkadotIngressEgress/transferFallbackRequested.d.ts +2 -2
  39. package/dist/11100/assethubIngressEgress/depositFailed.d.cts +30 -30
  40. package/dist/11100/assethubIngressEgress/depositFailed.d.ts +30 -30
  41. package/dist/11100/flip/flipMinted.d.cts +2 -2
  42. package/dist/11100/flip/flipMinted.d.ts +2 -2
  43. package/dist/11100/swapping/swapDepositAddressReady.d.cts +52 -52
  44. package/dist/11100/swapping/swapDepositAddressReady.d.ts +52 -52
  45. package/dist/11100/swapping/swapExecuted.d.cts +14 -14
  46. package/dist/11100/swapping/swapExecuted.d.ts +14 -14
  47. package/dist/11100/swapping/swapRequested.d.cts +386 -386
  48. package/dist/11100/swapping/swapRequested.d.ts +386 -386
  49. package/dist/11200/assethubIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  50. package/dist/11200/assethubIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  51. package/dist/11200/assethubIngressEgress/depositBoosted.d.cts +6 -6
  52. package/dist/11200/assethubIngressEgress/depositBoosted.d.ts +6 -6
  53. package/dist/11200/assethubIngressEgress/depositFailed.d.cts +184 -184
  54. package/dist/11200/assethubIngressEgress/depositFailed.d.ts +184 -184
  55. package/dist/11200/assethubIngressEgress/depositFinalised.d.cts +2 -2
  56. package/dist/11200/assethubIngressEgress/depositFinalised.d.ts +2 -2
  57. package/dist/11200/bitcoinIngressEgress/channelRejectionRequestReceived.d.cts +22 -22
  58. package/dist/11200/bitcoinIngressEgress/channelRejectionRequestReceived.d.ts +22 -22
  59. package/dist/11200/bitcoinIngressEgress/depositBoosted.d.cts +22 -22
  60. package/dist/11200/bitcoinIngressEgress/depositBoosted.d.ts +22 -22
  61. package/dist/11200/bitcoinIngressEgress/depositFailed.d.cts +306 -306
  62. package/dist/11200/bitcoinIngressEgress/depositFailed.d.ts +306 -306
  63. package/dist/11200/bitcoinIngressEgress/depositFinalised.d.cts +22 -22
  64. package/dist/11200/bitcoinIngressEgress/depositFinalised.d.ts +22 -22
  65. package/dist/11200/ethereumIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  66. package/dist/11200/ethereumIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  67. package/dist/11200/ethereumIngressEgress/depositBoosted.d.cts +6 -6
  68. package/dist/11200/ethereumIngressEgress/depositBoosted.d.ts +6 -6
  69. package/dist/11200/ethereumIngressEgress/depositFailed.d.cts +184 -184
  70. package/dist/11200/ethereumIngressEgress/depositFailed.d.ts +184 -184
  71. package/dist/11200/ethereumIngressEgress/depositFinalised.d.cts +2 -2
  72. package/dist/11200/ethereumIngressEgress/depositFinalised.d.ts +2 -2
  73. package/dist/131/environment/runtimeSafeModeUpdated.d.cts +28 -28
  74. package/dist/131/environment/runtimeSafeModeUpdated.d.ts +28 -28
  75. package/dist/141/arbitrumBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
  76. package/dist/141/arbitrumBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
  77. package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.cts +2 -2
  78. package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.ts +2 -2
  79. package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +4 -4
  80. package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +4 -4
  81. package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +4 -4
  82. package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +4 -4
  83. package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  84. package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  85. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
  86. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
  87. package/dist/150/arbitrumIngressEgress/depositBoosted.d.cts +6 -6
  88. package/dist/150/arbitrumIngressEgress/depositBoosted.d.ts +6 -6
  89. package/dist/150/arbitrumIngressEgress/depositFinalised.d.cts +4 -4
  90. package/dist/150/arbitrumIngressEgress/depositFinalised.d.ts +4 -4
  91. package/dist/150/arbitrumIngressEgress/depositIgnored.d.cts +2 -2
  92. package/dist/150/arbitrumIngressEgress/depositIgnored.d.ts +2 -2
  93. package/dist/150/arbitrumIngressEgress/depositWitnessRejected.d.cts +20 -20
  94. package/dist/150/arbitrumIngressEgress/depositWitnessRejected.d.ts +20 -20
  95. package/dist/150/assetBalances/refundScheduled.d.cts +52 -52
  96. package/dist/150/assetBalances/refundScheduled.d.ts +52 -52
  97. package/dist/150/assetBalances/refundSkipped.d.cts +97 -97
  98. package/dist/150/assetBalances/refundSkipped.d.ts +97 -97
  99. package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  100. package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  101. package/dist/160/assetBalances/accountCredited.d.cts +2 -2
  102. package/dist/160/assetBalances/accountCredited.d.ts +2 -2
  103. package/dist/160/assetBalances/accountDebited.d.cts +2 -2
  104. package/dist/160/assetBalances/accountDebited.d.ts +2 -2
  105. package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  106. package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  107. package/dist/160/ethereumIngressEgress/depositBoosted.d.cts +8 -8
  108. package/dist/160/ethereumIngressEgress/depositBoosted.d.ts +8 -8
  109. package/dist/160/ethereumIngressEgress/depositFinalised.d.cts +6 -6
  110. package/dist/160/ethereumIngressEgress/depositFinalised.d.ts +6 -6
  111. package/dist/160/liquidityProvider/assetTransferred.d.cts +4 -4
  112. package/dist/160/liquidityProvider/assetTransferred.d.ts +4 -4
  113. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
  114. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
  115. package/dist/180/arbitrumIngressEgress/ccmEgressInvalid.d.cts +57 -57
  116. package/dist/180/arbitrumIngressEgress/ccmEgressInvalid.d.ts +57 -57
  117. package/dist/180/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
  118. package/dist/180/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
  119. package/dist/180/arbitrumIngressEgress/depositFailed.d.cts +150 -150
  120. package/dist/180/arbitrumIngressEgress/depositFailed.d.ts +150 -150
  121. package/dist/180/arbitrumIngressEgress/depositFinalised.d.cts +2 -2
  122. package/dist/180/arbitrumIngressEgress/depositFinalised.d.ts +2 -2
  123. package/dist/180/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  124. package/dist/180/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
  125. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  126. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  127. package/dist/180/ethereumIngressEgress/depositBoosted.d.cts +6 -6
  128. package/dist/180/ethereumIngressEgress/depositBoosted.d.ts +6 -6
  129. package/dist/180/ethereumIngressEgress/depositFailed.d.cts +179 -179
  130. package/dist/180/ethereumIngressEgress/depositFailed.d.ts +179 -179
  131. package/dist/180/ethereumIngressEgress/depositFinalised.d.cts +2 -2
  132. package/dist/180/ethereumIngressEgress/depositFinalised.d.ts +2 -2
  133. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  134. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
  135. package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  136. package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  137. package/dist/180/polkadotIngressEgress/ccmEgressInvalid.d.cts +61 -61
  138. package/dist/180/polkadotIngressEgress/ccmEgressInvalid.d.ts +61 -61
  139. package/dist/180/polkadotIngressEgress/depositBoosted.d.cts +6 -6
  140. package/dist/180/polkadotIngressEgress/depositBoosted.d.ts +6 -6
  141. package/dist/180/polkadotIngressEgress/depositFailed.d.cts +179 -179
  142. package/dist/180/polkadotIngressEgress/depositFailed.d.ts +179 -179
  143. package/dist/180/polkadotIngressEgress/depositFinalised.d.cts +2 -2
  144. package/dist/180/polkadotIngressEgress/depositFinalised.d.ts +2 -2
  145. package/dist/180/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  146. package/dist/180/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
  147. package/dist/180/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  148. package/dist/180/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  149. package/dist/180/solanaIngressEgress/ccmEgressInvalid.d.cts +24 -24
  150. package/dist/180/solanaIngressEgress/ccmEgressInvalid.d.ts +24 -24
  151. package/dist/180/solanaIngressEgress/depositBoosted.d.cts +4 -4
  152. package/dist/180/solanaIngressEgress/depositBoosted.d.ts +4 -4
  153. package/dist/180/solanaIngressEgress/depositFailed.d.cts +32 -32
  154. package/dist/180/solanaIngressEgress/depositFailed.d.ts +32 -32
  155. package/dist/180/solanaIngressEgress/depositFinalised.d.cts +2 -2
  156. package/dist/180/solanaIngressEgress/depositFinalised.d.ts +2 -2
  157. package/dist/180/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +20 -20
  158. package/dist/180/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +20 -20
  159. package/dist/180/solanaIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  160. package/dist/180/solanaIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  161. package/dist/180/swapping/privateBrokerChannelClosed.d.cts +2 -2
  162. package/dist/180/swapping/privateBrokerChannelClosed.d.ts +2 -2
  163. package/dist/180/swapping/privateBrokerChannelOpened.d.cts +2 -2
  164. package/dist/180/swapping/privateBrokerChannelOpened.d.ts +2 -2
  165. package/dist/180/swapping/swapDepositAddressReady.d.cts +2 -2
  166. package/dist/180/swapping/swapDepositAddressReady.d.ts +2 -2
  167. package/dist/180/swapping/swapRequested.d.cts +4 -4
  168. package/dist/180/swapping/swapRequested.d.ts +4 -4
  169. package/dist/190/arbitrumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  170. package/dist/190/arbitrumIngressEgress/ccmBroadcastRequested.d.ts +2 -2
  171. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.cts +24 -24
  172. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.ts +24 -24
  173. package/dist/190/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
  174. package/dist/190/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
  175. package/dist/190/arbitrumIngressEgress/depositFailed.d.cts +10 -10
  176. package/dist/190/arbitrumIngressEgress/depositFailed.d.ts +10 -10
  177. package/dist/190/arbitrumIngressEgress/depositFinalised.d.cts +8 -8
  178. package/dist/190/arbitrumIngressEgress/depositFinalised.d.ts +8 -8
  179. package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +20 -20
  180. package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +20 -20
  181. package/dist/190/arbitrumIngressEgress/transferFallbackRequested.d.cts +2 -2
  182. package/dist/190/arbitrumIngressEgress/transferFallbackRequested.d.ts +2 -2
  183. package/dist/190/assetBalances/accountCredited.d.cts +2 -2
  184. package/dist/190/assetBalances/accountCredited.d.ts +2 -2
  185. package/dist/190/assetBalances/accountDebited.d.cts +2 -2
  186. package/dist/190/assetBalances/accountDebited.d.ts +2 -2
  187. package/dist/190/assethubIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  188. package/dist/190/assethubIngressEgress/ccmBroadcastRequested.d.ts +2 -2
  189. package/dist/190/assethubIngressEgress/ccmEgressInvalid.d.cts +50 -50
  190. package/dist/190/assethubIngressEgress/ccmEgressInvalid.d.ts +50 -50
  191. package/dist/190/assethubIngressEgress/depositFailed.d.cts +170 -170
  192. package/dist/190/assethubIngressEgress/depositFailed.d.ts +170 -170
  193. package/dist/190/assethubIngressEgress/depositFetchesScheduled.d.cts +2 -2
  194. package/dist/190/assethubIngressEgress/depositFetchesScheduled.d.ts +2 -2
  195. package/dist/190/assethubIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  196. package/dist/190/assethubIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
  197. package/dist/190/assethubIngressEgress/transactionRejectedByBroker.d.cts +2 -2
  198. package/dist/190/assethubIngressEgress/transactionRejectedByBroker.d.ts +2 -2
  199. package/dist/190/assethubIngressEgress/transferFallbackRequested.d.cts +2 -2
  200. package/dist/190/assethubIngressEgress/transferFallbackRequested.d.ts +2 -2
  201. package/dist/190/swapping/batchSwapFailed.d.cts +2 -2
  202. package/dist/190/swapping/batchSwapFailed.d.ts +2 -2
  203. package/dist/190/tradingStrategy/fundsAddedToStrategy.d.cts +2 -2
  204. package/dist/190/tradingStrategy/fundsAddedToStrategy.d.ts +2 -2
  205. package/dist/190/tradingStrategy/strategyDeployed.d.cts +2 -2
  206. package/dist/190/tradingStrategy/strategyDeployed.d.ts +2 -2
  207. package/dist/200/lendingPools/loanCreated.d.cts +4 -4
  208. package/dist/200/lendingPools/loanCreated.d.ts +4 -4
  209. package/dist/200/swapping/accountCreationDepositAddressReady.d.cts +9 -9
  210. package/dist/200/swapping/accountCreationDepositAddressReady.d.ts +9 -9
  211. package/dist/200/swapping/swapRequestCompleted.d.cts +2 -2
  212. package/dist/200/swapping/swapRequestCompleted.d.ts +2 -2
  213. package/dist/200/swapping/swapRequested.d.cts +10 -10
  214. package/dist/200/swapping/swapRequested.d.ts +10 -10
  215. package/dist/210/arbitrumIngressEgress/assetEgressStatusChanged.cjs +10 -0
  216. package/dist/210/arbitrumIngressEgress/assetEgressStatusChanged.d.cts +24 -0
  217. package/dist/210/arbitrumIngressEgress/assetEgressStatusChanged.d.ts +24 -0
  218. package/dist/210/arbitrumIngressEgress/assetEgressStatusChanged.mjs +10 -0
  219. package/dist/210/arbitrumIngressEgress/depositBoosted.cjs +27 -0
  220. package/dist/210/arbitrumIngressEgress/depositBoosted.d.cts +203 -0
  221. package/dist/210/arbitrumIngressEgress/depositBoosted.d.ts +203 -0
  222. package/dist/210/arbitrumIngressEgress/depositBoosted.mjs +27 -0
  223. package/dist/210/arbitrumIngressEgress/depositFailed.cjs +15 -0
  224. package/dist/210/arbitrumIngressEgress/depositFailed.d.cts +1426 -0
  225. package/dist/210/arbitrumIngressEgress/depositFailed.d.ts +1426 -0
  226. package/dist/210/arbitrumIngressEgress/depositFailed.mjs +15 -0
  227. package/dist/210/arbitrumIngressEgress/depositFetchesScheduled.cjs +10 -0
  228. package/dist/210/arbitrumIngressEgress/depositFetchesScheduled.d.cts +24 -0
  229. package/dist/210/arbitrumIngressEgress/depositFetchesScheduled.d.ts +24 -0
  230. package/dist/210/arbitrumIngressEgress/depositFetchesScheduled.mjs +10 -0
  231. package/dist/210/arbitrumIngressEgress/depositFinalised.cjs +25 -0
  232. package/dist/210/arbitrumIngressEgress/depositFinalised.d.cts +197 -0
  233. package/dist/210/arbitrumIngressEgress/depositFinalised.d.ts +197 -0
  234. package/dist/210/arbitrumIngressEgress/depositFinalised.mjs +25 -0
  235. package/dist/210/arbitrumIngressEgress/insufficientBoostLiquidity.cjs +17 -0
  236. package/dist/210/arbitrumIngressEgress/insufficientBoostLiquidity.d.cts +43 -0
  237. package/dist/210/arbitrumIngressEgress/insufficientBoostLiquidity.d.ts +43 -0
  238. package/dist/210/arbitrumIngressEgress/insufficientBoostLiquidity.mjs +17 -0
  239. package/dist/210/arbitrumIngressEgress/invalidCcmRefunded.cjs +11 -0
  240. package/dist/210/arbitrumIngressEgress/invalidCcmRefunded.d.cts +27 -0
  241. package/dist/210/arbitrumIngressEgress/invalidCcmRefunded.d.ts +27 -0
  242. package/dist/210/arbitrumIngressEgress/invalidCcmRefunded.mjs +11 -0
  243. package/dist/210/arbitrumIngressEgress/palletConfigUpdated.cjs +9 -0
  244. package/dist/210/arbitrumIngressEgress/palletConfigUpdated.d.cts +150 -0
  245. package/dist/210/arbitrumIngressEgress/palletConfigUpdated.d.ts +150 -0
  246. package/dist/210/arbitrumIngressEgress/palletConfigUpdated.mjs +9 -0
  247. package/dist/210/arbitrumIngressEgress/transferFallbackRequested.cjs +18 -0
  248. package/dist/210/arbitrumIngressEgress/transferFallbackRequested.d.cts +65 -0
  249. package/dist/210/arbitrumIngressEgress/transferFallbackRequested.d.ts +65 -0
  250. package/dist/210/arbitrumIngressEgress/transferFallbackRequested.mjs +18 -0
  251. package/dist/210/assetBalances/accountCredited.cjs +12 -0
  252. package/dist/210/assetBalances/accountCredited.d.cts +30 -0
  253. package/dist/210/assetBalances/accountCredited.d.ts +30 -0
  254. package/dist/210/assetBalances/accountCredited.mjs +12 -0
  255. package/dist/210/assetBalances/accountDebited.cjs +12 -0
  256. package/dist/210/assetBalances/accountDebited.d.cts +30 -0
  257. package/dist/210/assetBalances/accountDebited.d.ts +30 -0
  258. package/dist/210/assetBalances/accountDebited.mjs +12 -0
  259. package/dist/210/assethubIngressEgress/depositFailed.cjs +14 -0
  260. package/dist/210/assethubIngressEgress/depositFailed.d.cts +1417 -0
  261. package/dist/210/assethubIngressEgress/depositFailed.d.ts +1417 -0
  262. package/dist/210/assethubIngressEgress/depositFailed.mjs +14 -0
  263. package/dist/210/bitcoinIngressEgress/depositFailed.cjs +15 -0
  264. package/dist/210/bitcoinIngressEgress/depositFailed.d.cts +2335 -0
  265. package/dist/210/bitcoinIngressEgress/depositFailed.d.ts +2335 -0
  266. package/dist/210/bitcoinIngressEgress/depositFailed.mjs +15 -0
  267. package/dist/210/common.cjs +1171 -0
  268. package/dist/210/common.d.cts +26252 -0
  269. package/dist/210/common.d.ts +26252 -0
  270. package/dist/210/common.mjs +1171 -0
  271. package/dist/210/environment/addedNewArbAsset.cjs +7 -0
  272. package/dist/210/environment/addedNewArbAsset.d.cts +13 -0
  273. package/dist/210/environment/addedNewArbAsset.d.ts +13 -0
  274. package/dist/210/environment/addedNewArbAsset.mjs +7 -0
  275. package/dist/210/environment/addedNewEthAsset.cjs +7 -0
  276. package/dist/210/environment/addedNewEthAsset.d.cts +13 -0
  277. package/dist/210/environment/addedNewEthAsset.d.ts +13 -0
  278. package/dist/210/environment/addedNewEthAsset.mjs +7 -0
  279. package/dist/210/environment/runtimeSafeModeUpdated.cjs +9 -0
  280. package/dist/210/environment/runtimeSafeModeUpdated.d.cts +1928 -0
  281. package/dist/210/environment/runtimeSafeModeUpdated.d.ts +1928 -0
  282. package/dist/210/environment/runtimeSafeModeUpdated.mjs +9 -0
  283. package/dist/210/environment/updatedArbAsset.cjs +7 -0
  284. package/dist/210/environment/updatedArbAsset.d.cts +13 -0
  285. package/dist/210/environment/updatedArbAsset.d.ts +13 -0
  286. package/dist/210/environment/updatedArbAsset.mjs +7 -0
  287. package/dist/210/environment/updatedEthAsset.cjs +7 -0
  288. package/dist/210/environment/updatedEthAsset.d.cts +13 -0
  289. package/dist/210/environment/updatedEthAsset.d.ts +13 -0
  290. package/dist/210/environment/updatedEthAsset.mjs +7 -0
  291. package/dist/210/ethereumIngressEgress/assetEgressStatusChanged.cjs +10 -0
  292. package/dist/210/ethereumIngressEgress/assetEgressStatusChanged.d.cts +24 -0
  293. package/dist/210/ethereumIngressEgress/assetEgressStatusChanged.d.ts +24 -0
  294. package/dist/210/ethereumIngressEgress/assetEgressStatusChanged.mjs +10 -0
  295. package/dist/210/ethereumIngressEgress/depositBoosted.cjs +27 -0
  296. package/dist/210/ethereumIngressEgress/depositBoosted.d.cts +203 -0
  297. package/dist/210/ethereumIngressEgress/depositBoosted.d.ts +203 -0
  298. package/dist/210/ethereumIngressEgress/depositBoosted.mjs +27 -0
  299. package/dist/210/ethereumIngressEgress/depositFailed.cjs +15 -0
  300. package/dist/210/ethereumIngressEgress/depositFailed.d.cts +1426 -0
  301. package/dist/210/ethereumIngressEgress/depositFailed.d.ts +1426 -0
  302. package/dist/210/ethereumIngressEgress/depositFailed.mjs +15 -0
  303. package/dist/210/ethereumIngressEgress/depositFetchesScheduled.cjs +10 -0
  304. package/dist/210/ethereumIngressEgress/depositFetchesScheduled.d.cts +24 -0
  305. package/dist/210/ethereumIngressEgress/depositFetchesScheduled.d.ts +24 -0
  306. package/dist/210/ethereumIngressEgress/depositFetchesScheduled.mjs +10 -0
  307. package/dist/210/ethereumIngressEgress/depositFinalised.cjs +25 -0
  308. package/dist/210/ethereumIngressEgress/depositFinalised.d.cts +197 -0
  309. package/dist/210/ethereumIngressEgress/depositFinalised.d.ts +197 -0
  310. package/dist/210/ethereumIngressEgress/depositFinalised.mjs +25 -0
  311. package/dist/210/ethereumIngressEgress/insufficientBoostLiquidity.cjs +17 -0
  312. package/dist/210/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +43 -0
  313. package/dist/210/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +43 -0
  314. package/dist/210/ethereumIngressEgress/insufficientBoostLiquidity.mjs +17 -0
  315. package/dist/210/ethereumIngressEgress/invalidCcmRefunded.cjs +11 -0
  316. package/dist/210/ethereumIngressEgress/invalidCcmRefunded.d.cts +27 -0
  317. package/dist/210/ethereumIngressEgress/invalidCcmRefunded.d.ts +27 -0
  318. package/dist/210/ethereumIngressEgress/invalidCcmRefunded.mjs +11 -0
  319. package/dist/210/ethereumIngressEgress/palletConfigUpdated.cjs +9 -0
  320. package/dist/210/ethereumIngressEgress/palletConfigUpdated.d.cts +150 -0
  321. package/dist/210/ethereumIngressEgress/palletConfigUpdated.d.ts +150 -0
  322. package/dist/210/ethereumIngressEgress/palletConfigUpdated.mjs +9 -0
  323. package/dist/210/ethereumIngressEgress/transferFallbackRequested.cjs +18 -0
  324. package/dist/210/ethereumIngressEgress/transferFallbackRequested.d.cts +65 -0
  325. package/dist/210/ethereumIngressEgress/transferFallbackRequested.d.ts +65 -0
  326. package/dist/210/ethereumIngressEgress/transferFallbackRequested.mjs +18 -0
  327. package/dist/210/funding/funded.cjs +12 -0
  328. package/dist/210/funding/funded.d.cts +87 -0
  329. package/dist/210/funding/funded.d.ts +87 -0
  330. package/dist/210/funding/funded.mjs +12 -0
  331. package/dist/210/governance/newGovernanceCouncil.cjs +9 -0
  332. package/dist/210/governance/newGovernanceCouncil.d.cts +26 -0
  333. package/dist/210/governance/newGovernanceCouncil.d.ts +26 -0
  334. package/dist/210/governance/newGovernanceCouncil.mjs +9 -0
  335. package/dist/210/lendingPools/boostFundsAdded.cjs +11 -0
  336. package/dist/210/lendingPools/boostFundsAdded.d.cts +44 -0
  337. package/dist/210/lendingPools/boostFundsAdded.d.ts +44 -0
  338. package/dist/210/lendingPools/boostFundsAdded.mjs +11 -0
  339. package/dist/210/lendingPools/boostPoolCreated.cjs +9 -0
  340. package/dist/210/lendingPools/boostPoolCreated.d.cts +38 -0
  341. package/dist/210/lendingPools/boostPoolCreated.d.ts +38 -0
  342. package/dist/210/lendingPools/boostPoolCreated.mjs +9 -0
  343. package/dist/210/lendingPools/collateralAdded.cjs +16 -0
  344. package/dist/210/lendingPools/collateralAdded.d.cts +62 -0
  345. package/dist/210/lendingPools/collateralAdded.d.ts +62 -0
  346. package/dist/210/lendingPools/collateralAdded.mjs +16 -0
  347. package/dist/210/lendingPools/collateralRemoved.cjs +10 -0
  348. package/dist/210/lendingPools/collateralRemoved.d.cts +24 -0
  349. package/dist/210/lendingPools/collateralRemoved.d.ts +24 -0
  350. package/dist/210/lendingPools/collateralRemoved.mjs +10 -0
  351. package/dist/210/lendingPools/collateralTopupAssetUpdated.cjs +10 -0
  352. package/dist/210/lendingPools/collateralTopupAssetUpdated.d.cts +24 -0
  353. package/dist/210/lendingPools/collateralTopupAssetUpdated.d.ts +24 -0
  354. package/dist/210/lendingPools/collateralTopupAssetUpdated.mjs +10 -0
  355. package/dist/210/lendingPools/lendingFundsAdded.cjs +11 -0
  356. package/dist/210/lendingPools/lendingFundsAdded.d.cts +27 -0
  357. package/dist/210/lendingPools/lendingFundsAdded.d.ts +27 -0
  358. package/dist/210/lendingPools/lendingFundsAdded.mjs +11 -0
  359. package/dist/210/lendingPools/lendingFundsRemoved.cjs +11 -0
  360. package/dist/210/lendingPools/lendingFundsRemoved.d.cts +27 -0
  361. package/dist/210/lendingPools/lendingFundsRemoved.d.ts +27 -0
  362. package/dist/210/lendingPools/lendingFundsRemoved.mjs +11 -0
  363. package/dist/210/lendingPools/lendingPoolCreated.cjs +7 -0
  364. package/dist/210/lendingPools/lendingPoolCreated.d.cts +21 -0
  365. package/dist/210/lendingPools/lendingPoolCreated.d.ts +21 -0
  366. package/dist/210/lendingPools/lendingPoolCreated.mjs +7 -0
  367. package/dist/210/lendingPools/loanCreated.cjs +12 -0
  368. package/dist/210/lendingPools/loanCreated.d.cts +30 -0
  369. package/dist/210/lendingPools/loanCreated.d.ts +30 -0
  370. package/dist/210/lendingPools/loanCreated.mjs +12 -0
  371. package/dist/210/lendingPools/palletConfigUpdated.cjs +9 -0
  372. package/dist/210/lendingPools/palletConfigUpdated.d.cts +387 -0
  373. package/dist/210/lendingPools/palletConfigUpdated.d.ts +387 -0
  374. package/dist/210/lendingPools/palletConfigUpdated.mjs +9 -0
  375. package/dist/210/lendingPools/stoppedBoosting.cjs +12 -0
  376. package/dist/210/lendingPools/stoppedBoosting.d.cts +47 -0
  377. package/dist/210/lendingPools/stoppedBoosting.d.ts +47 -0
  378. package/dist/210/lendingPools/stoppedBoosting.mjs +12 -0
  379. package/dist/210/liquidityPools/assetSwapped.cjs +12 -0
  380. package/dist/210/liquidityPools/assetSwapped.d.cts +40 -0
  381. package/dist/210/liquidityPools/assetSwapped.d.ts +40 -0
  382. package/dist/210/liquidityPools/assetSwapped.mjs +12 -0
  383. package/dist/210/liquidityPools/limitOrderUpdated.cjs +24 -0
  384. package/dist/210/liquidityPools/limitOrderUpdated.d.cts +98 -0
  385. package/dist/210/liquidityPools/limitOrderUpdated.d.ts +98 -0
  386. package/dist/210/liquidityPools/limitOrderUpdated.mjs +24 -0
  387. package/dist/210/liquidityPools/newPoolCreated.cjs +12 -0
  388. package/dist/210/liquidityPools/newPoolCreated.d.cts +40 -0
  389. package/dist/210/liquidityPools/newPoolCreated.d.ts +40 -0
  390. package/dist/210/liquidityPools/newPoolCreated.mjs +12 -0
  391. package/dist/210/liquidityPools/orderDeletionFailed.cjs +7 -0
  392. package/dist/210/liquidityPools/orderDeletionFailed.d.cts +126 -0
  393. package/dist/210/liquidityPools/orderDeletionFailed.d.ts +126 -0
  394. package/dist/210/liquidityPools/orderDeletionFailed.mjs +7 -0
  395. package/dist/210/liquidityPools/palletConfigUpdated.cjs +9 -0
  396. package/dist/210/liquidityPools/palletConfigUpdated.d.cts +43 -0
  397. package/dist/210/liquidityPools/palletConfigUpdated.d.ts +43 -0
  398. package/dist/210/liquidityPools/palletConfigUpdated.mjs +9 -0
  399. package/dist/210/liquidityPools/poolFeeSet.cjs +11 -0
  400. package/dist/210/liquidityPools/poolFeeSet.d.cts +37 -0
  401. package/dist/210/liquidityPools/poolFeeSet.d.ts +37 -0
  402. package/dist/210/liquidityPools/poolFeeSet.mjs +11 -0
  403. package/dist/210/liquidityPools/priceImpactLimitSet.cjs +10 -0
  404. package/dist/210/liquidityPools/priceImpactLimitSet.d.cts +45 -0
  405. package/dist/210/liquidityPools/priceImpactLimitSet.d.ts +45 -0
  406. package/dist/210/liquidityPools/priceImpactLimitSet.mjs +10 -0
  407. package/dist/210/liquidityPools/rangeOrderUpdated.cjs +22 -0
  408. package/dist/210/liquidityPools/rangeOrderUpdated.d.cts +208 -0
  409. package/dist/210/liquidityPools/rangeOrderUpdated.d.ts +208 -0
  410. package/dist/210/liquidityPools/rangeOrderUpdated.mjs +22 -0
  411. package/dist/210/liquidityProvider/assetTransferred.cjs +12 -0
  412. package/dist/210/liquidityProvider/assetTransferred.d.cts +30 -0
  413. package/dist/210/liquidityProvider/assetTransferred.d.ts +30 -0
  414. package/dist/210/liquidityProvider/assetTransferred.mjs +12 -0
  415. package/dist/210/liquidityProvider/liquidityDepositAddressReady.cjs +20 -0
  416. package/dist/210/liquidityProvider/liquidityDepositAddressReady.d.cts +90 -0
  417. package/dist/210/liquidityProvider/liquidityDepositAddressReady.d.ts +90 -0
  418. package/dist/210/liquidityProvider/liquidityDepositAddressReady.mjs +20 -0
  419. package/dist/210/liquidityProvider/withdrawalEgressScheduled.cjs +18 -0
  420. package/dist/210/liquidityProvider/withdrawalEgressScheduled.d.cts +94 -0
  421. package/dist/210/liquidityProvider/withdrawalEgressScheduled.d.ts +94 -0
  422. package/dist/210/liquidityProvider/withdrawalEgressScheduled.mjs +18 -0
  423. package/dist/210/polkadotIngressEgress/depositFailed.cjs +14 -0
  424. package/dist/210/polkadotIngressEgress/depositFailed.d.cts +1417 -0
  425. package/dist/210/polkadotIngressEgress/depositFailed.d.ts +1417 -0
  426. package/dist/210/polkadotIngressEgress/depositFailed.mjs +14 -0
  427. package/dist/210/solanaIngressEgress/depositFailed.cjs +15 -0
  428. package/dist/210/solanaIngressEgress/depositFailed.d.cts +1498 -0
  429. package/dist/210/solanaIngressEgress/depositFailed.d.ts +1498 -0
  430. package/dist/210/solanaIngressEgress/depositFailed.mjs +15 -0
  431. package/dist/210/swapping/accountCreationDepositAddressReady.cjs +22 -0
  432. package/dist/210/swapping/accountCreationDepositAddressReady.d.cts +147 -0
  433. package/dist/210/swapping/accountCreationDepositAddressReady.d.ts +147 -0
  434. package/dist/210/swapping/accountCreationDepositAddressReady.mjs +22 -0
  435. package/dist/210/swapping/batchSwapFailed.cjs +11 -0
  436. package/dist/210/swapping/batchSwapFailed.d.cts +37 -0
  437. package/dist/210/swapping/batchSwapFailed.d.ts +37 -0
  438. package/dist/210/swapping/batchSwapFailed.mjs +11 -0
  439. package/dist/210/swapping/creditedOnChain.cjs +12 -0
  440. package/dist/210/swapping/creditedOnChain.d.cts +30 -0
  441. package/dist/210/swapping/creditedOnChain.d.ts +30 -0
  442. package/dist/210/swapping/creditedOnChain.mjs +12 -0
  443. package/dist/210/swapping/palletConfigUpdated.cjs +7 -0
  444. package/dist/210/swapping/palletConfigUpdated.d.cts +254 -0
  445. package/dist/210/swapping/palletConfigUpdated.d.ts +254 -0
  446. package/dist/210/swapping/palletConfigUpdated.mjs +7 -0
  447. package/dist/210/swapping/refundEgressIgnored.cjs +12 -0
  448. package/dist/210/swapping/refundEgressIgnored.d.cts +247 -0
  449. package/dist/210/swapping/refundEgressIgnored.d.ts +247 -0
  450. package/dist/210/swapping/refundEgressIgnored.mjs +12 -0
  451. package/dist/210/swapping/refundEgressScheduled.cjs +18 -0
  452. package/dist/210/swapping/refundEgressScheduled.d.cts +56 -0
  453. package/dist/210/swapping/refundEgressScheduled.d.ts +56 -0
  454. package/dist/210/swapping/refundEgressScheduled.mjs +18 -0
  455. package/dist/210/swapping/refundedOnChain.cjs +13 -0
  456. package/dist/210/swapping/refundedOnChain.d.cts +33 -0
  457. package/dist/210/swapping/refundedOnChain.d.ts +33 -0
  458. package/dist/210/swapping/refundedOnChain.mjs +13 -0
  459. package/dist/210/swapping/swapAmountConfiscated.cjs +12 -0
  460. package/dist/210/swapping/swapAmountConfiscated.d.cts +30 -0
  461. package/dist/210/swapping/swapAmountConfiscated.d.ts +30 -0
  462. package/dist/210/swapping/swapAmountConfiscated.mjs +12 -0
  463. package/dist/210/swapping/swapDepositAddressReady.cjs +31 -0
  464. package/dist/210/swapping/swapDepositAddressReady.d.cts +694 -0
  465. package/dist/210/swapping/swapDepositAddressReady.d.ts +694 -0
  466. package/dist/210/swapping/swapDepositAddressReady.mjs +31 -0
  467. package/dist/210/swapping/swapEgressIgnored.cjs +12 -0
  468. package/dist/210/swapping/swapEgressIgnored.d.cts +247 -0
  469. package/dist/210/swapping/swapEgressIgnored.d.ts +247 -0
  470. package/dist/210/swapping/swapEgressIgnored.mjs +12 -0
  471. package/dist/210/swapping/swapEgressScheduled.cjs +17 -0
  472. package/dist/210/swapping/swapEgressScheduled.d.cts +53 -0
  473. package/dist/210/swapping/swapEgressScheduled.d.ts +53 -0
  474. package/dist/210/swapping/swapEgressScheduled.mjs +17 -0
  475. package/dist/210/swapping/swapExecuted.cjs +18 -0
  476. package/dist/210/swapping/swapExecuted.d.cts +58 -0
  477. package/dist/210/swapping/swapExecuted.d.ts +58 -0
  478. package/dist/210/swapping/swapExecuted.mjs +18 -0
  479. package/dist/210/swapping/swapRequested.cjs +25 -0
  480. package/dist/210/swapping/swapRequested.d.cts +3992 -0
  481. package/dist/210/swapping/swapRequested.d.ts +3992 -0
  482. package/dist/210/swapping/swapRequested.mjs +25 -0
  483. package/dist/210/swapping/withdrawalRequested.cjs +20 -0
  484. package/dist/210/swapping/withdrawalRequested.d.cts +97 -0
  485. package/dist/210/swapping/withdrawalRequested.d.ts +97 -0
  486. package/dist/210/swapping/withdrawalRequested.mjs +20 -0
  487. package/dist/210/tradingStrategy/fundsAddedToStrategy.cjs +10 -0
  488. package/dist/210/tradingStrategy/fundsAddedToStrategy.d.cts +24 -0
  489. package/dist/210/tradingStrategy/fundsAddedToStrategy.d.ts +24 -0
  490. package/dist/210/tradingStrategy/fundsAddedToStrategy.mjs +10 -0
  491. package/dist/210/tradingStrategy/palletConfigUpdated.cjs +9 -0
  492. package/dist/210/tradingStrategy/palletConfigUpdated.d.cts +107 -0
  493. package/dist/210/tradingStrategy/palletConfigUpdated.d.ts +107 -0
  494. package/dist/210/tradingStrategy/palletConfigUpdated.mjs +9 -0
  495. package/dist/210/tradingStrategy/strategyDeployed.cjs +11 -0
  496. package/dist/210/tradingStrategy/strategyDeployed.d.cts +133 -0
  497. package/dist/210/tradingStrategy/strategyDeployed.d.ts +133 -0
  498. package/dist/210/tradingStrategy/strategyDeployed.mjs +11 -0
  499. package/package.json +2 -2
@@ -0,0 +1,2335 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const bitcoinIngressEgressDepositFailed: z.ZodObject<{
4
+ blockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
5
+ reason: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
6
+ __kind: z.ZodLiteral<"BelowMinimumDeposit">;
7
+ }, "strip", z.ZodTypeAny, {
8
+ __kind: "BelowMinimumDeposit";
9
+ }, {
10
+ __kind: "BelowMinimumDeposit";
11
+ }>, z.ZodObject<{
12
+ __kind: z.ZodLiteral<"NotEnoughToPayFees">;
13
+ }, "strip", z.ZodTypeAny, {
14
+ __kind: "NotEnoughToPayFees";
15
+ }, {
16
+ __kind: "NotEnoughToPayFees";
17
+ }>, z.ZodObject<{
18
+ __kind: z.ZodLiteral<"TransactionRejectedByBroker">;
19
+ }, "strip", z.ZodTypeAny, {
20
+ __kind: "TransactionRejectedByBroker";
21
+ }, {
22
+ __kind: "TransactionRejectedByBroker";
23
+ }>, z.ZodObject<{
24
+ __kind: z.ZodLiteral<"DepositWitnessRejected">;
25
+ value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
26
+ __kind: z.ZodLiteral<"Other">;
27
+ }, "strip", z.ZodTypeAny, {
28
+ __kind: "Other";
29
+ }, {
30
+ __kind: "Other";
31
+ }>, z.ZodObject<{
32
+ __kind: z.ZodLiteral<"CannotLookup">;
33
+ }, "strip", z.ZodTypeAny, {
34
+ __kind: "CannotLookup";
35
+ }, {
36
+ __kind: "CannotLookup";
37
+ }>, z.ZodObject<{
38
+ __kind: z.ZodLiteral<"BadOrigin">;
39
+ }, "strip", z.ZodTypeAny, {
40
+ __kind: "BadOrigin";
41
+ }, {
42
+ __kind: "BadOrigin";
43
+ }>, z.ZodObject<{
44
+ __kind: z.ZodLiteral<"Module">;
45
+ value: z.ZodObject<{
46
+ index: z.ZodNumber;
47
+ error: z.ZodEffects<z.ZodString, `0x${string}`, string>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ index: number;
50
+ error: `0x${string}`;
51
+ }, {
52
+ index: number;
53
+ error: string;
54
+ }>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ value: {
57
+ index: number;
58
+ error: `0x${string}`;
59
+ };
60
+ __kind: "Module";
61
+ }, {
62
+ value: {
63
+ index: number;
64
+ error: string;
65
+ };
66
+ __kind: "Module";
67
+ }>, z.ZodObject<{
68
+ __kind: z.ZodLiteral<"ConsumerRemaining">;
69
+ }, "strip", z.ZodTypeAny, {
70
+ __kind: "ConsumerRemaining";
71
+ }, {
72
+ __kind: "ConsumerRemaining";
73
+ }>, z.ZodObject<{
74
+ __kind: z.ZodLiteral<"NoProviders">;
75
+ }, "strip", z.ZodTypeAny, {
76
+ __kind: "NoProviders";
77
+ }, {
78
+ __kind: "NoProviders";
79
+ }>, z.ZodObject<{
80
+ __kind: z.ZodLiteral<"TooManyConsumers">;
81
+ }, "strip", z.ZodTypeAny, {
82
+ __kind: "TooManyConsumers";
83
+ }, {
84
+ __kind: "TooManyConsumers";
85
+ }>, z.ZodObject<{
86
+ __kind: z.ZodLiteral<"Token">;
87
+ value: z.ZodEffects<z.ZodObject<{
88
+ __kind: z.ZodEnum<["FundsUnavailable", "OnlyProvider", "BelowMinimum", "CannotCreate", "UnknownAsset", "Frozen", "Unsupported", "CannotCreateHold", "NotExpendable", "Blocked"]>;
89
+ }, "strip", z.ZodTypeAny, {
90
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
91
+ }, {
92
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
93
+ }>, "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked", {
94
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
95
+ }>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
98
+ __kind: "Token";
99
+ }, {
100
+ value: {
101
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
102
+ };
103
+ __kind: "Token";
104
+ }>, z.ZodObject<{
105
+ __kind: z.ZodLiteral<"Arithmetic">;
106
+ value: z.ZodEffects<z.ZodObject<{
107
+ __kind: z.ZodEnum<["Underflow", "Overflow", "DivisionByZero"]>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
110
+ }, {
111
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
112
+ }>, "Underflow" | "Overflow" | "DivisionByZero", {
113
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
114
+ }>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ value: "Underflow" | "Overflow" | "DivisionByZero";
117
+ __kind: "Arithmetic";
118
+ }, {
119
+ value: {
120
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
121
+ };
122
+ __kind: "Arithmetic";
123
+ }>, z.ZodObject<{
124
+ __kind: z.ZodLiteral<"Transactional">;
125
+ value: z.ZodEffects<z.ZodObject<{
126
+ __kind: z.ZodEnum<["LimitReached", "NoLayer"]>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ __kind: "LimitReached" | "NoLayer";
129
+ }, {
130
+ __kind: "LimitReached" | "NoLayer";
131
+ }>, "LimitReached" | "NoLayer", {
132
+ __kind: "LimitReached" | "NoLayer";
133
+ }>;
134
+ }, "strip", z.ZodTypeAny, {
135
+ value: "LimitReached" | "NoLayer";
136
+ __kind: "Transactional";
137
+ }, {
138
+ value: {
139
+ __kind: "LimitReached" | "NoLayer";
140
+ };
141
+ __kind: "Transactional";
142
+ }>, z.ZodObject<{
143
+ __kind: z.ZodLiteral<"Exhausted">;
144
+ }, "strip", z.ZodTypeAny, {
145
+ __kind: "Exhausted";
146
+ }, {
147
+ __kind: "Exhausted";
148
+ }>, z.ZodObject<{
149
+ __kind: z.ZodLiteral<"Corruption">;
150
+ }, "strip", z.ZodTypeAny, {
151
+ __kind: "Corruption";
152
+ }, {
153
+ __kind: "Corruption";
154
+ }>, z.ZodObject<{
155
+ __kind: z.ZodLiteral<"Unavailable">;
156
+ }, "strip", z.ZodTypeAny, {
157
+ __kind: "Unavailable";
158
+ }, {
159
+ __kind: "Unavailable";
160
+ }>, z.ZodObject<{
161
+ __kind: z.ZodLiteral<"RootNotAllowed">;
162
+ }, "strip", z.ZodTypeAny, {
163
+ __kind: "RootNotAllowed";
164
+ }, {
165
+ __kind: "RootNotAllowed";
166
+ }>]>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ value: {
169
+ __kind: "Other";
170
+ } | {
171
+ __kind: "CannotLookup";
172
+ } | {
173
+ __kind: "BadOrigin";
174
+ } | {
175
+ value: {
176
+ index: number;
177
+ error: `0x${string}`;
178
+ };
179
+ __kind: "Module";
180
+ } | {
181
+ __kind: "ConsumerRemaining";
182
+ } | {
183
+ __kind: "NoProviders";
184
+ } | {
185
+ __kind: "TooManyConsumers";
186
+ } | {
187
+ value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
188
+ __kind: "Token";
189
+ } | {
190
+ value: "Underflow" | "Overflow" | "DivisionByZero";
191
+ __kind: "Arithmetic";
192
+ } | {
193
+ value: "LimitReached" | "NoLayer";
194
+ __kind: "Transactional";
195
+ } | {
196
+ __kind: "Exhausted";
197
+ } | {
198
+ __kind: "Corruption";
199
+ } | {
200
+ __kind: "Unavailable";
201
+ } | {
202
+ __kind: "RootNotAllowed";
203
+ };
204
+ __kind: "DepositWitnessRejected";
205
+ }, {
206
+ value: {
207
+ __kind: "Other";
208
+ } | {
209
+ __kind: "CannotLookup";
210
+ } | {
211
+ __kind: "BadOrigin";
212
+ } | {
213
+ value: {
214
+ index: number;
215
+ error: string;
216
+ };
217
+ __kind: "Module";
218
+ } | {
219
+ __kind: "ConsumerRemaining";
220
+ } | {
221
+ __kind: "NoProviders";
222
+ } | {
223
+ __kind: "TooManyConsumers";
224
+ } | {
225
+ value: {
226
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
227
+ };
228
+ __kind: "Token";
229
+ } | {
230
+ value: {
231
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
232
+ };
233
+ __kind: "Arithmetic";
234
+ } | {
235
+ value: {
236
+ __kind: "LimitReached" | "NoLayer";
237
+ };
238
+ __kind: "Transactional";
239
+ } | {
240
+ __kind: "Exhausted";
241
+ } | {
242
+ __kind: "Corruption";
243
+ } | {
244
+ __kind: "Unavailable";
245
+ } | {
246
+ __kind: "RootNotAllowed";
247
+ };
248
+ __kind: "DepositWitnessRejected";
249
+ }>, z.ZodObject<{
250
+ __kind: z.ZodLiteral<"Unrefundable">;
251
+ }, "strip", z.ZodTypeAny, {
252
+ __kind: "Unrefundable";
253
+ }, {
254
+ __kind: "Unrefundable";
255
+ }>]>;
256
+ details: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
257
+ __kind: z.ZodLiteral<"DepositFailedDepositChannelVariantBitcoin">;
258
+ depositWitness: z.ZodObject<{
259
+ depositAddress: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
260
+ __kind: z.ZodLiteral<"P2PKH">;
261
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
262
+ }, "strip", z.ZodTypeAny, {
263
+ value: `0x${string}`;
264
+ __kind: "P2PKH";
265
+ }, {
266
+ value: string;
267
+ __kind: "P2PKH";
268
+ }>, z.ZodObject<{
269
+ __kind: z.ZodLiteral<"P2SH">;
270
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
271
+ }, "strip", z.ZodTypeAny, {
272
+ value: `0x${string}`;
273
+ __kind: "P2SH";
274
+ }, {
275
+ value: string;
276
+ __kind: "P2SH";
277
+ }>, z.ZodObject<{
278
+ __kind: z.ZodLiteral<"P2WPKH">;
279
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
280
+ }, "strip", z.ZodTypeAny, {
281
+ value: `0x${string}`;
282
+ __kind: "P2WPKH";
283
+ }, {
284
+ value: string;
285
+ __kind: "P2WPKH";
286
+ }>, z.ZodObject<{
287
+ __kind: z.ZodLiteral<"P2WSH">;
288
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
289
+ }, "strip", z.ZodTypeAny, {
290
+ value: `0x${string}`;
291
+ __kind: "P2WSH";
292
+ }, {
293
+ value: string;
294
+ __kind: "P2WSH";
295
+ }>, z.ZodObject<{
296
+ __kind: z.ZodLiteral<"Taproot">;
297
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
298
+ }, "strip", z.ZodTypeAny, {
299
+ value: `0x${string}`;
300
+ __kind: "Taproot";
301
+ }, {
302
+ value: string;
303
+ __kind: "Taproot";
304
+ }>, z.ZodObject<{
305
+ __kind: z.ZodLiteral<"OtherSegwit">;
306
+ version: z.ZodNumber;
307
+ program: z.ZodEffects<z.ZodString, `0x${string}`, string>;
308
+ }, "strip", z.ZodTypeAny, {
309
+ __kind: "OtherSegwit";
310
+ version: number;
311
+ program: `0x${string}`;
312
+ }, {
313
+ __kind: "OtherSegwit";
314
+ version: number;
315
+ program: string;
316
+ }>]>;
317
+ asset: z.ZodEffects<z.ZodObject<{
318
+ __kind: z.ZodEnum<["Btc"]>;
319
+ }, "strip", z.ZodTypeAny, {
320
+ __kind: "Btc";
321
+ }, {
322
+ __kind: "Btc";
323
+ }>, "Btc", {
324
+ __kind: "Btc";
325
+ }>;
326
+ amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
327
+ depositDetails: z.ZodObject<{
328
+ id: z.ZodObject<{
329
+ txId: z.ZodEffects<z.ZodString, `0x${string}`, string>;
330
+ vout: z.ZodNumber;
331
+ }, "strip", z.ZodTypeAny, {
332
+ txId: `0x${string}`;
333
+ vout: number;
334
+ }, {
335
+ txId: string;
336
+ vout: number;
337
+ }>;
338
+ amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
339
+ depositAddress: z.ZodObject<{
340
+ pubkeyX: z.ZodEffects<z.ZodString, `0x${string}`, string>;
341
+ scriptPath: z.ZodOptional<z.ZodNullable<z.ZodObject<{
342
+ salt: z.ZodNumber;
343
+ tweakedPubkeyBytes: z.ZodEffects<z.ZodString, `0x${string}`, string>;
344
+ tapleafHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
345
+ unlockScript: z.ZodObject<{
346
+ bytes: z.ZodEffects<z.ZodString, `0x${string}`, string>;
347
+ }, "strip", z.ZodTypeAny, {
348
+ bytes: `0x${string}`;
349
+ }, {
350
+ bytes: string;
351
+ }>;
352
+ }, "strip", z.ZodTypeAny, {
353
+ salt: number;
354
+ tweakedPubkeyBytes: `0x${string}`;
355
+ tapleafHash: `0x${string}`;
356
+ unlockScript: {
357
+ bytes: `0x${string}`;
358
+ };
359
+ }, {
360
+ salt: number;
361
+ tweakedPubkeyBytes: string;
362
+ tapleafHash: string;
363
+ unlockScript: {
364
+ bytes: string;
365
+ };
366
+ }>>>;
367
+ }, "strip", z.ZodTypeAny, {
368
+ pubkeyX: `0x${string}`;
369
+ scriptPath?: {
370
+ salt: number;
371
+ tweakedPubkeyBytes: `0x${string}`;
372
+ tapleafHash: `0x${string}`;
373
+ unlockScript: {
374
+ bytes: `0x${string}`;
375
+ };
376
+ } | null | undefined;
377
+ }, {
378
+ pubkeyX: string;
379
+ scriptPath?: {
380
+ salt: number;
381
+ tweakedPubkeyBytes: string;
382
+ tapleafHash: string;
383
+ unlockScript: {
384
+ bytes: string;
385
+ };
386
+ } | null | undefined;
387
+ }>;
388
+ }, "strip", z.ZodTypeAny, {
389
+ depositAddress: {
390
+ pubkeyX: `0x${string}`;
391
+ scriptPath?: {
392
+ salt: number;
393
+ tweakedPubkeyBytes: `0x${string}`;
394
+ tapleafHash: `0x${string}`;
395
+ unlockScript: {
396
+ bytes: `0x${string}`;
397
+ };
398
+ } | null | undefined;
399
+ };
400
+ amount: bigint;
401
+ id: {
402
+ txId: `0x${string}`;
403
+ vout: number;
404
+ };
405
+ }, {
406
+ depositAddress: {
407
+ pubkeyX: string;
408
+ scriptPath?: {
409
+ salt: number;
410
+ tweakedPubkeyBytes: string;
411
+ tapleafHash: string;
412
+ unlockScript: {
413
+ bytes: string;
414
+ };
415
+ } | null | undefined;
416
+ };
417
+ amount: string | number;
418
+ id: {
419
+ txId: string;
420
+ vout: number;
421
+ };
422
+ }>;
423
+ }, "strip", z.ZodTypeAny, {
424
+ depositAddress: {
425
+ value: `0x${string}`;
426
+ __kind: "P2PKH";
427
+ } | {
428
+ value: `0x${string}`;
429
+ __kind: "P2SH";
430
+ } | {
431
+ value: `0x${string}`;
432
+ __kind: "P2WPKH";
433
+ } | {
434
+ value: `0x${string}`;
435
+ __kind: "P2WSH";
436
+ } | {
437
+ value: `0x${string}`;
438
+ __kind: "Taproot";
439
+ } | {
440
+ __kind: "OtherSegwit";
441
+ version: number;
442
+ program: `0x${string}`;
443
+ };
444
+ asset: "Btc";
445
+ amount: bigint;
446
+ depositDetails: {
447
+ depositAddress: {
448
+ pubkeyX: `0x${string}`;
449
+ scriptPath?: {
450
+ salt: number;
451
+ tweakedPubkeyBytes: `0x${string}`;
452
+ tapleafHash: `0x${string}`;
453
+ unlockScript: {
454
+ bytes: `0x${string}`;
455
+ };
456
+ } | null | undefined;
457
+ };
458
+ amount: bigint;
459
+ id: {
460
+ txId: `0x${string}`;
461
+ vout: number;
462
+ };
463
+ };
464
+ }, {
465
+ depositAddress: {
466
+ value: string;
467
+ __kind: "P2PKH";
468
+ } | {
469
+ value: string;
470
+ __kind: "P2SH";
471
+ } | {
472
+ value: string;
473
+ __kind: "P2WPKH";
474
+ } | {
475
+ value: string;
476
+ __kind: "P2WSH";
477
+ } | {
478
+ value: string;
479
+ __kind: "Taproot";
480
+ } | {
481
+ __kind: "OtherSegwit";
482
+ version: number;
483
+ program: string;
484
+ };
485
+ asset: {
486
+ __kind: "Btc";
487
+ };
488
+ amount: string | number;
489
+ depositDetails: {
490
+ depositAddress: {
491
+ pubkeyX: string;
492
+ scriptPath?: {
493
+ salt: number;
494
+ tweakedPubkeyBytes: string;
495
+ tapleafHash: string;
496
+ unlockScript: {
497
+ bytes: string;
498
+ };
499
+ } | null | undefined;
500
+ };
501
+ amount: string | number;
502
+ id: {
503
+ txId: string;
504
+ vout: number;
505
+ };
506
+ };
507
+ }>;
508
+ }, "strip", z.ZodTypeAny, {
509
+ __kind: "DepositFailedDepositChannelVariantBitcoin";
510
+ depositWitness: {
511
+ depositAddress: {
512
+ value: `0x${string}`;
513
+ __kind: "P2PKH";
514
+ } | {
515
+ value: `0x${string}`;
516
+ __kind: "P2SH";
517
+ } | {
518
+ value: `0x${string}`;
519
+ __kind: "P2WPKH";
520
+ } | {
521
+ value: `0x${string}`;
522
+ __kind: "P2WSH";
523
+ } | {
524
+ value: `0x${string}`;
525
+ __kind: "Taproot";
526
+ } | {
527
+ __kind: "OtherSegwit";
528
+ version: number;
529
+ program: `0x${string}`;
530
+ };
531
+ asset: "Btc";
532
+ amount: bigint;
533
+ depositDetails: {
534
+ depositAddress: {
535
+ pubkeyX: `0x${string}`;
536
+ scriptPath?: {
537
+ salt: number;
538
+ tweakedPubkeyBytes: `0x${string}`;
539
+ tapleafHash: `0x${string}`;
540
+ unlockScript: {
541
+ bytes: `0x${string}`;
542
+ };
543
+ } | null | undefined;
544
+ };
545
+ amount: bigint;
546
+ id: {
547
+ txId: `0x${string}`;
548
+ vout: number;
549
+ };
550
+ };
551
+ };
552
+ }, {
553
+ __kind: "DepositFailedDepositChannelVariantBitcoin";
554
+ depositWitness: {
555
+ depositAddress: {
556
+ value: string;
557
+ __kind: "P2PKH";
558
+ } | {
559
+ value: string;
560
+ __kind: "P2SH";
561
+ } | {
562
+ value: string;
563
+ __kind: "P2WPKH";
564
+ } | {
565
+ value: string;
566
+ __kind: "P2WSH";
567
+ } | {
568
+ value: string;
569
+ __kind: "Taproot";
570
+ } | {
571
+ __kind: "OtherSegwit";
572
+ version: number;
573
+ program: string;
574
+ };
575
+ asset: {
576
+ __kind: "Btc";
577
+ };
578
+ amount: string | number;
579
+ depositDetails: {
580
+ depositAddress: {
581
+ pubkeyX: string;
582
+ scriptPath?: {
583
+ salt: number;
584
+ tweakedPubkeyBytes: string;
585
+ tapleafHash: string;
586
+ unlockScript: {
587
+ bytes: string;
588
+ };
589
+ } | null | undefined;
590
+ };
591
+ amount: string | number;
592
+ id: {
593
+ txId: string;
594
+ vout: number;
595
+ };
596
+ };
597
+ };
598
+ }>, z.ZodObject<{
599
+ __kind: z.ZodLiteral<"DepositFailedVaultVariantBitcoin">;
600
+ vaultWitness: z.ZodObject<{
601
+ inputAsset: z.ZodEffects<z.ZodObject<{
602
+ __kind: z.ZodEnum<["Btc"]>;
603
+ }, "strip", z.ZodTypeAny, {
604
+ __kind: "Btc";
605
+ }, {
606
+ __kind: "Btc";
607
+ }>, "Btc", {
608
+ __kind: "Btc";
609
+ }>;
610
+ depositAddress: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
611
+ __kind: z.ZodLiteral<"P2PKH">;
612
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
613
+ }, "strip", z.ZodTypeAny, {
614
+ value: `0x${string}`;
615
+ __kind: "P2PKH";
616
+ }, {
617
+ value: string;
618
+ __kind: "P2PKH";
619
+ }>, z.ZodObject<{
620
+ __kind: z.ZodLiteral<"P2SH">;
621
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
622
+ }, "strip", z.ZodTypeAny, {
623
+ value: `0x${string}`;
624
+ __kind: "P2SH";
625
+ }, {
626
+ value: string;
627
+ __kind: "P2SH";
628
+ }>, z.ZodObject<{
629
+ __kind: z.ZodLiteral<"P2WPKH">;
630
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
631
+ }, "strip", z.ZodTypeAny, {
632
+ value: `0x${string}`;
633
+ __kind: "P2WPKH";
634
+ }, {
635
+ value: string;
636
+ __kind: "P2WPKH";
637
+ }>, z.ZodObject<{
638
+ __kind: z.ZodLiteral<"P2WSH">;
639
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
640
+ }, "strip", z.ZodTypeAny, {
641
+ value: `0x${string}`;
642
+ __kind: "P2WSH";
643
+ }, {
644
+ value: string;
645
+ __kind: "P2WSH";
646
+ }>, z.ZodObject<{
647
+ __kind: z.ZodLiteral<"Taproot">;
648
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
649
+ }, "strip", z.ZodTypeAny, {
650
+ value: `0x${string}`;
651
+ __kind: "Taproot";
652
+ }, {
653
+ value: string;
654
+ __kind: "Taproot";
655
+ }>, z.ZodObject<{
656
+ __kind: z.ZodLiteral<"OtherSegwit">;
657
+ version: z.ZodNumber;
658
+ program: z.ZodEffects<z.ZodString, `0x${string}`, string>;
659
+ }, "strip", z.ZodTypeAny, {
660
+ __kind: "OtherSegwit";
661
+ version: number;
662
+ program: `0x${string}`;
663
+ }, {
664
+ __kind: "OtherSegwit";
665
+ version: number;
666
+ program: string;
667
+ }>]>>>;
668
+ channelId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
669
+ depositAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
670
+ depositDetails: z.ZodObject<{
671
+ id: z.ZodObject<{
672
+ txId: z.ZodEffects<z.ZodString, `0x${string}`, string>;
673
+ vout: z.ZodNumber;
674
+ }, "strip", z.ZodTypeAny, {
675
+ txId: `0x${string}`;
676
+ vout: number;
677
+ }, {
678
+ txId: string;
679
+ vout: number;
680
+ }>;
681
+ amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
682
+ depositAddress: z.ZodObject<{
683
+ pubkeyX: z.ZodEffects<z.ZodString, `0x${string}`, string>;
684
+ scriptPath: z.ZodOptional<z.ZodNullable<z.ZodObject<{
685
+ salt: z.ZodNumber;
686
+ tweakedPubkeyBytes: z.ZodEffects<z.ZodString, `0x${string}`, string>;
687
+ tapleafHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
688
+ unlockScript: z.ZodObject<{
689
+ bytes: z.ZodEffects<z.ZodString, `0x${string}`, string>;
690
+ }, "strip", z.ZodTypeAny, {
691
+ bytes: `0x${string}`;
692
+ }, {
693
+ bytes: string;
694
+ }>;
695
+ }, "strip", z.ZodTypeAny, {
696
+ salt: number;
697
+ tweakedPubkeyBytes: `0x${string}`;
698
+ tapleafHash: `0x${string}`;
699
+ unlockScript: {
700
+ bytes: `0x${string}`;
701
+ };
702
+ }, {
703
+ salt: number;
704
+ tweakedPubkeyBytes: string;
705
+ tapleafHash: string;
706
+ unlockScript: {
707
+ bytes: string;
708
+ };
709
+ }>>>;
710
+ }, "strip", z.ZodTypeAny, {
711
+ pubkeyX: `0x${string}`;
712
+ scriptPath?: {
713
+ salt: number;
714
+ tweakedPubkeyBytes: `0x${string}`;
715
+ tapleafHash: `0x${string}`;
716
+ unlockScript: {
717
+ bytes: `0x${string}`;
718
+ };
719
+ } | null | undefined;
720
+ }, {
721
+ pubkeyX: string;
722
+ scriptPath?: {
723
+ salt: number;
724
+ tweakedPubkeyBytes: string;
725
+ tapleafHash: string;
726
+ unlockScript: {
727
+ bytes: string;
728
+ };
729
+ } | null | undefined;
730
+ }>;
731
+ }, "strip", z.ZodTypeAny, {
732
+ depositAddress: {
733
+ pubkeyX: `0x${string}`;
734
+ scriptPath?: {
735
+ salt: number;
736
+ tweakedPubkeyBytes: `0x${string}`;
737
+ tapleafHash: `0x${string}`;
738
+ unlockScript: {
739
+ bytes: `0x${string}`;
740
+ };
741
+ } | null | undefined;
742
+ };
743
+ amount: bigint;
744
+ id: {
745
+ txId: `0x${string}`;
746
+ vout: number;
747
+ };
748
+ }, {
749
+ depositAddress: {
750
+ pubkeyX: string;
751
+ scriptPath?: {
752
+ salt: number;
753
+ tweakedPubkeyBytes: string;
754
+ tapleafHash: string;
755
+ unlockScript: {
756
+ bytes: string;
757
+ };
758
+ } | null | undefined;
759
+ };
760
+ amount: string | number;
761
+ id: {
762
+ txId: string;
763
+ vout: number;
764
+ };
765
+ }>;
766
+ outputAsset: z.ZodEffects<z.ZodObject<{
767
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc", "SolUsdt", "HubDot", "HubUsdt", "HubUsdc", "Wbtc", "ArbUsdt"]>;
768
+ }, "strip", z.ZodTypeAny, {
769
+ __kind: "Btc" | "Eth" | "Flip" | "Usdc" | "Dot" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc" | "Wbtc" | "ArbUsdt";
770
+ }, {
771
+ __kind: "Btc" | "Eth" | "Flip" | "Usdc" | "Dot" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc" | "Wbtc" | "ArbUsdt";
772
+ }>, "Btc" | "Eth" | "Flip" | "Usdc" | "Dot" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc" | "Wbtc" | "ArbUsdt", {
773
+ __kind: "Btc" | "Eth" | "Flip" | "Usdc" | "Dot" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc" | "Wbtc" | "ArbUsdt";
774
+ }>;
775
+ destinationAddress: z.ZodEffects<z.ZodObject<{
776
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol", "Hub"]>;
777
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
778
+ }, "strip", z.ZodTypeAny, {
779
+ value: `0x${string}`;
780
+ __kind: "Btc" | "Eth" | "Dot" | "Sol" | "Arb" | "Hub";
781
+ }, {
782
+ value: string;
783
+ __kind: "Btc" | "Eth" | "Dot" | "Sol" | "Arb" | "Hub";
784
+ }>, {
785
+ readonly chain: "Ethereum";
786
+ readonly address: `0x${string}`;
787
+ } | {
788
+ readonly chain: "Polkadot";
789
+ readonly address: string;
790
+ } | {
791
+ readonly chain: "Bitcoin";
792
+ readonly address: string;
793
+ } | {
794
+ readonly chain: "Arbitrum";
795
+ readonly address: `0x${string}`;
796
+ } | {
797
+ readonly chain: "Solana";
798
+ readonly address: string;
799
+ } | {
800
+ readonly chain: "Assethub";
801
+ readonly address: string;
802
+ }, {
803
+ value: string;
804
+ __kind: "Btc" | "Eth" | "Dot" | "Sol" | "Arb" | "Hub";
805
+ }>;
806
+ depositMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
807
+ channelMetadata: z.ZodObject<{
808
+ message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
809
+ gasBudget: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
810
+ ccmAdditionalData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
811
+ }, "strip", z.ZodTypeAny, {
812
+ message: `0x${string}`;
813
+ gasBudget: bigint;
814
+ ccmAdditionalData: `0x${string}`;
815
+ }, {
816
+ message: string;
817
+ gasBudget: string | number;
818
+ ccmAdditionalData: string;
819
+ }>;
820
+ sourceChain: z.ZodEffects<z.ZodObject<{
821
+ __kind: z.ZodEnum<["Ethereum", "Polkadot", "Bitcoin", "Arbitrum", "Solana", "Assethub"]>;
822
+ }, "strip", z.ZodTypeAny, {
823
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
824
+ }, {
825
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
826
+ }>, "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub", {
827
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
828
+ }>;
829
+ sourceAddress: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
830
+ __kind: z.ZodLiteral<"Eth">;
831
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
832
+ }, "strip", z.ZodTypeAny, {
833
+ value: `0x${string}`;
834
+ __kind: "Eth";
835
+ }, {
836
+ value: string;
837
+ __kind: "Eth";
838
+ }>, z.ZodObject<{
839
+ __kind: z.ZodLiteral<"Dot">;
840
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
841
+ }, "strip", z.ZodTypeAny, {
842
+ value: `0x${string}`;
843
+ __kind: "Dot";
844
+ }, {
845
+ value: string;
846
+ __kind: "Dot";
847
+ }>, z.ZodObject<{
848
+ __kind: z.ZodLiteral<"Btc">;
849
+ value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
850
+ __kind: z.ZodLiteral<"P2PKH">;
851
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
852
+ }, "strip", z.ZodTypeAny, {
853
+ value: `0x${string}`;
854
+ __kind: "P2PKH";
855
+ }, {
856
+ value: string;
857
+ __kind: "P2PKH";
858
+ }>, z.ZodObject<{
859
+ __kind: z.ZodLiteral<"P2SH">;
860
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
861
+ }, "strip", z.ZodTypeAny, {
862
+ value: `0x${string}`;
863
+ __kind: "P2SH";
864
+ }, {
865
+ value: string;
866
+ __kind: "P2SH";
867
+ }>, z.ZodObject<{
868
+ __kind: z.ZodLiteral<"P2WPKH">;
869
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
870
+ }, "strip", z.ZodTypeAny, {
871
+ value: `0x${string}`;
872
+ __kind: "P2WPKH";
873
+ }, {
874
+ value: string;
875
+ __kind: "P2WPKH";
876
+ }>, z.ZodObject<{
877
+ __kind: z.ZodLiteral<"P2WSH">;
878
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
879
+ }, "strip", z.ZodTypeAny, {
880
+ value: `0x${string}`;
881
+ __kind: "P2WSH";
882
+ }, {
883
+ value: string;
884
+ __kind: "P2WSH";
885
+ }>, z.ZodObject<{
886
+ __kind: z.ZodLiteral<"Taproot">;
887
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
888
+ }, "strip", z.ZodTypeAny, {
889
+ value: `0x${string}`;
890
+ __kind: "Taproot";
891
+ }, {
892
+ value: string;
893
+ __kind: "Taproot";
894
+ }>, z.ZodObject<{
895
+ __kind: z.ZodLiteral<"OtherSegwit">;
896
+ version: z.ZodNumber;
897
+ program: z.ZodEffects<z.ZodString, `0x${string}`, string>;
898
+ }, "strip", z.ZodTypeAny, {
899
+ __kind: "OtherSegwit";
900
+ version: number;
901
+ program: `0x${string}`;
902
+ }, {
903
+ __kind: "OtherSegwit";
904
+ version: number;
905
+ program: string;
906
+ }>]>;
907
+ }, "strip", z.ZodTypeAny, {
908
+ value: {
909
+ value: `0x${string}`;
910
+ __kind: "P2PKH";
911
+ } | {
912
+ value: `0x${string}`;
913
+ __kind: "P2SH";
914
+ } | {
915
+ value: `0x${string}`;
916
+ __kind: "P2WPKH";
917
+ } | {
918
+ value: `0x${string}`;
919
+ __kind: "P2WSH";
920
+ } | {
921
+ value: `0x${string}`;
922
+ __kind: "Taproot";
923
+ } | {
924
+ __kind: "OtherSegwit";
925
+ version: number;
926
+ program: `0x${string}`;
927
+ };
928
+ __kind: "Btc";
929
+ }, {
930
+ value: {
931
+ value: string;
932
+ __kind: "P2PKH";
933
+ } | {
934
+ value: string;
935
+ __kind: "P2SH";
936
+ } | {
937
+ value: string;
938
+ __kind: "P2WPKH";
939
+ } | {
940
+ value: string;
941
+ __kind: "P2WSH";
942
+ } | {
943
+ value: string;
944
+ __kind: "Taproot";
945
+ } | {
946
+ __kind: "OtherSegwit";
947
+ version: number;
948
+ program: string;
949
+ };
950
+ __kind: "Btc";
951
+ }>, z.ZodObject<{
952
+ __kind: z.ZodLiteral<"Arb">;
953
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
954
+ }, "strip", z.ZodTypeAny, {
955
+ value: `0x${string}`;
956
+ __kind: "Arb";
957
+ }, {
958
+ value: string;
959
+ __kind: "Arb";
960
+ }>, z.ZodObject<{
961
+ __kind: z.ZodLiteral<"Sol">;
962
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
963
+ }, "strip", z.ZodTypeAny, {
964
+ value: `0x${string}`;
965
+ __kind: "Sol";
966
+ }, {
967
+ value: string;
968
+ __kind: "Sol";
969
+ }>, z.ZodObject<{
970
+ __kind: z.ZodLiteral<"Hub">;
971
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
972
+ }, "strip", z.ZodTypeAny, {
973
+ value: `0x${string}`;
974
+ __kind: "Hub";
975
+ }, {
976
+ value: string;
977
+ __kind: "Hub";
978
+ }>]>>>;
979
+ }, "strip", z.ZodTypeAny, {
980
+ channelMetadata: {
981
+ message: `0x${string}`;
982
+ gasBudget: bigint;
983
+ ccmAdditionalData: `0x${string}`;
984
+ };
985
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
986
+ sourceAddress?: {
987
+ value: `0x${string}`;
988
+ __kind: "Eth";
989
+ } | {
990
+ value: `0x${string}`;
991
+ __kind: "Dot";
992
+ } | {
993
+ value: {
994
+ value: `0x${string}`;
995
+ __kind: "P2PKH";
996
+ } | {
997
+ value: `0x${string}`;
998
+ __kind: "P2SH";
999
+ } | {
1000
+ value: `0x${string}`;
1001
+ __kind: "P2WPKH";
1002
+ } | {
1003
+ value: `0x${string}`;
1004
+ __kind: "P2WSH";
1005
+ } | {
1006
+ value: `0x${string}`;
1007
+ __kind: "Taproot";
1008
+ } | {
1009
+ __kind: "OtherSegwit";
1010
+ version: number;
1011
+ program: `0x${string}`;
1012
+ };
1013
+ __kind: "Btc";
1014
+ } | {
1015
+ value: `0x${string}`;
1016
+ __kind: "Arb";
1017
+ } | {
1018
+ value: `0x${string}`;
1019
+ __kind: "Sol";
1020
+ } | {
1021
+ value: `0x${string}`;
1022
+ __kind: "Hub";
1023
+ } | null | undefined;
1024
+ }, {
1025
+ channelMetadata: {
1026
+ message: string;
1027
+ gasBudget: string | number;
1028
+ ccmAdditionalData: string;
1029
+ };
1030
+ sourceChain: {
1031
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
1032
+ };
1033
+ sourceAddress?: {
1034
+ value: string;
1035
+ __kind: "Eth";
1036
+ } | {
1037
+ value: string;
1038
+ __kind: "Dot";
1039
+ } | {
1040
+ value: {
1041
+ value: string;
1042
+ __kind: "P2PKH";
1043
+ } | {
1044
+ value: string;
1045
+ __kind: "P2SH";
1046
+ } | {
1047
+ value: string;
1048
+ __kind: "P2WPKH";
1049
+ } | {
1050
+ value: string;
1051
+ __kind: "P2WSH";
1052
+ } | {
1053
+ value: string;
1054
+ __kind: "Taproot";
1055
+ } | {
1056
+ __kind: "OtherSegwit";
1057
+ version: number;
1058
+ program: string;
1059
+ };
1060
+ __kind: "Btc";
1061
+ } | {
1062
+ value: string;
1063
+ __kind: "Arb";
1064
+ } | {
1065
+ value: string;
1066
+ __kind: "Sol";
1067
+ } | {
1068
+ value: string;
1069
+ __kind: "Hub";
1070
+ } | null | undefined;
1071
+ }>>>;
1072
+ txId: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1073
+ brokerFee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1074
+ account: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, `cF${string}`, string>;
1075
+ bps: z.ZodNumber;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ account: `cF${string}`;
1078
+ bps: number;
1079
+ }, {
1080
+ account: string;
1081
+ bps: number;
1082
+ }>>>;
1083
+ affiliateFees: z.ZodArray<z.ZodObject<{
1084
+ account: z.ZodNumber;
1085
+ bps: z.ZodNumber;
1086
+ }, "strip", z.ZodTypeAny, {
1087
+ account: number;
1088
+ bps: number;
1089
+ }, {
1090
+ account: number;
1091
+ bps: number;
1092
+ }>, "many">;
1093
+ refundParams: z.ZodObject<{
1094
+ retryDuration: z.ZodNumber;
1095
+ refundAddress: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1096
+ __kind: z.ZodLiteral<"P2PKH">;
1097
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1098
+ }, "strip", z.ZodTypeAny, {
1099
+ value: `0x${string}`;
1100
+ __kind: "P2PKH";
1101
+ }, {
1102
+ value: string;
1103
+ __kind: "P2PKH";
1104
+ }>, z.ZodObject<{
1105
+ __kind: z.ZodLiteral<"P2SH">;
1106
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1107
+ }, "strip", z.ZodTypeAny, {
1108
+ value: `0x${string}`;
1109
+ __kind: "P2SH";
1110
+ }, {
1111
+ value: string;
1112
+ __kind: "P2SH";
1113
+ }>, z.ZodObject<{
1114
+ __kind: z.ZodLiteral<"P2WPKH">;
1115
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1116
+ }, "strip", z.ZodTypeAny, {
1117
+ value: `0x${string}`;
1118
+ __kind: "P2WPKH";
1119
+ }, {
1120
+ value: string;
1121
+ __kind: "P2WPKH";
1122
+ }>, z.ZodObject<{
1123
+ __kind: z.ZodLiteral<"P2WSH">;
1124
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1125
+ }, "strip", z.ZodTypeAny, {
1126
+ value: `0x${string}`;
1127
+ __kind: "P2WSH";
1128
+ }, {
1129
+ value: string;
1130
+ __kind: "P2WSH";
1131
+ }>, z.ZodObject<{
1132
+ __kind: z.ZodLiteral<"Taproot">;
1133
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1134
+ }, "strip", z.ZodTypeAny, {
1135
+ value: `0x${string}`;
1136
+ __kind: "Taproot";
1137
+ }, {
1138
+ value: string;
1139
+ __kind: "Taproot";
1140
+ }>, z.ZodObject<{
1141
+ __kind: z.ZodLiteral<"OtherSegwit">;
1142
+ version: z.ZodNumber;
1143
+ program: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1144
+ }, "strip", z.ZodTypeAny, {
1145
+ __kind: "OtherSegwit";
1146
+ version: number;
1147
+ program: `0x${string}`;
1148
+ }, {
1149
+ __kind: "OtherSegwit";
1150
+ version: number;
1151
+ program: string;
1152
+ }>]>;
1153
+ minPrice: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
1154
+ refundCcmMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1155
+ message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1156
+ gasBudget: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
1157
+ ccmAdditionalData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1158
+ }, "strip", z.ZodTypeAny, {
1159
+ message: `0x${string}`;
1160
+ gasBudget: bigint;
1161
+ ccmAdditionalData: `0x${string}`;
1162
+ }, {
1163
+ message: string;
1164
+ gasBudget: string | number;
1165
+ ccmAdditionalData: string;
1166
+ }>>>;
1167
+ maxOraclePriceSlippage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1168
+ }, "strip", z.ZodTypeAny, {
1169
+ retryDuration: number;
1170
+ refundAddress: {
1171
+ value: `0x${string}`;
1172
+ __kind: "P2PKH";
1173
+ } | {
1174
+ value: `0x${string}`;
1175
+ __kind: "P2SH";
1176
+ } | {
1177
+ value: `0x${string}`;
1178
+ __kind: "P2WPKH";
1179
+ } | {
1180
+ value: `0x${string}`;
1181
+ __kind: "P2WSH";
1182
+ } | {
1183
+ value: `0x${string}`;
1184
+ __kind: "Taproot";
1185
+ } | {
1186
+ __kind: "OtherSegwit";
1187
+ version: number;
1188
+ program: `0x${string}`;
1189
+ };
1190
+ minPrice: bigint;
1191
+ refundCcmMetadata?: {
1192
+ message: `0x${string}`;
1193
+ gasBudget: bigint;
1194
+ ccmAdditionalData: `0x${string}`;
1195
+ } | null | undefined;
1196
+ maxOraclePriceSlippage?: number | null | undefined;
1197
+ }, {
1198
+ retryDuration: number;
1199
+ refundAddress: {
1200
+ value: string;
1201
+ __kind: "P2PKH";
1202
+ } | {
1203
+ value: string;
1204
+ __kind: "P2SH";
1205
+ } | {
1206
+ value: string;
1207
+ __kind: "P2WPKH";
1208
+ } | {
1209
+ value: string;
1210
+ __kind: "P2WSH";
1211
+ } | {
1212
+ value: string;
1213
+ __kind: "Taproot";
1214
+ } | {
1215
+ __kind: "OtherSegwit";
1216
+ version: number;
1217
+ program: string;
1218
+ };
1219
+ minPrice: string | number;
1220
+ refundCcmMetadata?: {
1221
+ message: string;
1222
+ gasBudget: string | number;
1223
+ ccmAdditionalData: string;
1224
+ } | null | undefined;
1225
+ maxOraclePriceSlippage?: number | null | undefined;
1226
+ }>;
1227
+ dcaParams: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1228
+ numberOfChunks: z.ZodNumber;
1229
+ chunkInterval: z.ZodNumber;
1230
+ }, "strip", z.ZodTypeAny, {
1231
+ numberOfChunks: number;
1232
+ chunkInterval: number;
1233
+ }, {
1234
+ numberOfChunks: number;
1235
+ chunkInterval: number;
1236
+ }>>>;
1237
+ boostFee: z.ZodNumber;
1238
+ }, "strip", z.ZodTypeAny, {
1239
+ txId: `0x${string}`;
1240
+ depositDetails: {
1241
+ depositAddress: {
1242
+ pubkeyX: `0x${string}`;
1243
+ scriptPath?: {
1244
+ salt: number;
1245
+ tweakedPubkeyBytes: `0x${string}`;
1246
+ tapleafHash: `0x${string}`;
1247
+ unlockScript: {
1248
+ bytes: `0x${string}`;
1249
+ };
1250
+ } | null | undefined;
1251
+ };
1252
+ amount: bigint;
1253
+ id: {
1254
+ txId: `0x${string}`;
1255
+ vout: number;
1256
+ };
1257
+ };
1258
+ inputAsset: "Btc";
1259
+ depositAmount: bigint;
1260
+ outputAsset: "Btc" | "Eth" | "Flip" | "Usdc" | "Dot" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc" | "Wbtc" | "ArbUsdt";
1261
+ destinationAddress: {
1262
+ readonly chain: "Ethereum";
1263
+ readonly address: `0x${string}`;
1264
+ } | {
1265
+ readonly chain: "Polkadot";
1266
+ readonly address: string;
1267
+ } | {
1268
+ readonly chain: "Bitcoin";
1269
+ readonly address: string;
1270
+ } | {
1271
+ readonly chain: "Arbitrum";
1272
+ readonly address: `0x${string}`;
1273
+ } | {
1274
+ readonly chain: "Solana";
1275
+ readonly address: string;
1276
+ } | {
1277
+ readonly chain: "Assethub";
1278
+ readonly address: string;
1279
+ };
1280
+ affiliateFees: {
1281
+ account: number;
1282
+ bps: number;
1283
+ }[];
1284
+ refundParams: {
1285
+ retryDuration: number;
1286
+ refundAddress: {
1287
+ value: `0x${string}`;
1288
+ __kind: "P2PKH";
1289
+ } | {
1290
+ value: `0x${string}`;
1291
+ __kind: "P2SH";
1292
+ } | {
1293
+ value: `0x${string}`;
1294
+ __kind: "P2WPKH";
1295
+ } | {
1296
+ value: `0x${string}`;
1297
+ __kind: "P2WSH";
1298
+ } | {
1299
+ value: `0x${string}`;
1300
+ __kind: "Taproot";
1301
+ } | {
1302
+ __kind: "OtherSegwit";
1303
+ version: number;
1304
+ program: `0x${string}`;
1305
+ };
1306
+ minPrice: bigint;
1307
+ refundCcmMetadata?: {
1308
+ message: `0x${string}`;
1309
+ gasBudget: bigint;
1310
+ ccmAdditionalData: `0x${string}`;
1311
+ } | null | undefined;
1312
+ maxOraclePriceSlippage?: number | null | undefined;
1313
+ };
1314
+ boostFee: number;
1315
+ depositAddress?: {
1316
+ value: `0x${string}`;
1317
+ __kind: "P2PKH";
1318
+ } | {
1319
+ value: `0x${string}`;
1320
+ __kind: "P2SH";
1321
+ } | {
1322
+ value: `0x${string}`;
1323
+ __kind: "P2WPKH";
1324
+ } | {
1325
+ value: `0x${string}`;
1326
+ __kind: "P2WSH";
1327
+ } | {
1328
+ value: `0x${string}`;
1329
+ __kind: "Taproot";
1330
+ } | {
1331
+ __kind: "OtherSegwit";
1332
+ version: number;
1333
+ program: `0x${string}`;
1334
+ } | null | undefined;
1335
+ channelId?: bigint | null | undefined;
1336
+ depositMetadata?: {
1337
+ channelMetadata: {
1338
+ message: `0x${string}`;
1339
+ gasBudget: bigint;
1340
+ ccmAdditionalData: `0x${string}`;
1341
+ };
1342
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
1343
+ sourceAddress?: {
1344
+ value: `0x${string}`;
1345
+ __kind: "Eth";
1346
+ } | {
1347
+ value: `0x${string}`;
1348
+ __kind: "Dot";
1349
+ } | {
1350
+ value: {
1351
+ value: `0x${string}`;
1352
+ __kind: "P2PKH";
1353
+ } | {
1354
+ value: `0x${string}`;
1355
+ __kind: "P2SH";
1356
+ } | {
1357
+ value: `0x${string}`;
1358
+ __kind: "P2WPKH";
1359
+ } | {
1360
+ value: `0x${string}`;
1361
+ __kind: "P2WSH";
1362
+ } | {
1363
+ value: `0x${string}`;
1364
+ __kind: "Taproot";
1365
+ } | {
1366
+ __kind: "OtherSegwit";
1367
+ version: number;
1368
+ program: `0x${string}`;
1369
+ };
1370
+ __kind: "Btc";
1371
+ } | {
1372
+ value: `0x${string}`;
1373
+ __kind: "Arb";
1374
+ } | {
1375
+ value: `0x${string}`;
1376
+ __kind: "Sol";
1377
+ } | {
1378
+ value: `0x${string}`;
1379
+ __kind: "Hub";
1380
+ } | null | undefined;
1381
+ } | null | undefined;
1382
+ brokerFee?: {
1383
+ account: `cF${string}`;
1384
+ bps: number;
1385
+ } | null | undefined;
1386
+ dcaParams?: {
1387
+ numberOfChunks: number;
1388
+ chunkInterval: number;
1389
+ } | null | undefined;
1390
+ }, {
1391
+ txId: string;
1392
+ depositDetails: {
1393
+ depositAddress: {
1394
+ pubkeyX: string;
1395
+ scriptPath?: {
1396
+ salt: number;
1397
+ tweakedPubkeyBytes: string;
1398
+ tapleafHash: string;
1399
+ unlockScript: {
1400
+ bytes: string;
1401
+ };
1402
+ } | null | undefined;
1403
+ };
1404
+ amount: string | number;
1405
+ id: {
1406
+ txId: string;
1407
+ vout: number;
1408
+ };
1409
+ };
1410
+ inputAsset: {
1411
+ __kind: "Btc";
1412
+ };
1413
+ depositAmount: string | number;
1414
+ outputAsset: {
1415
+ __kind: "Btc" | "Eth" | "Flip" | "Usdc" | "Dot" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc" | "Wbtc" | "ArbUsdt";
1416
+ };
1417
+ destinationAddress: {
1418
+ value: string;
1419
+ __kind: "Btc" | "Eth" | "Dot" | "Sol" | "Arb" | "Hub";
1420
+ };
1421
+ affiliateFees: {
1422
+ account: number;
1423
+ bps: number;
1424
+ }[];
1425
+ refundParams: {
1426
+ retryDuration: number;
1427
+ refundAddress: {
1428
+ value: string;
1429
+ __kind: "P2PKH";
1430
+ } | {
1431
+ value: string;
1432
+ __kind: "P2SH";
1433
+ } | {
1434
+ value: string;
1435
+ __kind: "P2WPKH";
1436
+ } | {
1437
+ value: string;
1438
+ __kind: "P2WSH";
1439
+ } | {
1440
+ value: string;
1441
+ __kind: "Taproot";
1442
+ } | {
1443
+ __kind: "OtherSegwit";
1444
+ version: number;
1445
+ program: string;
1446
+ };
1447
+ minPrice: string | number;
1448
+ refundCcmMetadata?: {
1449
+ message: string;
1450
+ gasBudget: string | number;
1451
+ ccmAdditionalData: string;
1452
+ } | null | undefined;
1453
+ maxOraclePriceSlippage?: number | null | undefined;
1454
+ };
1455
+ boostFee: number;
1456
+ depositAddress?: {
1457
+ value: string;
1458
+ __kind: "P2PKH";
1459
+ } | {
1460
+ value: string;
1461
+ __kind: "P2SH";
1462
+ } | {
1463
+ value: string;
1464
+ __kind: "P2WPKH";
1465
+ } | {
1466
+ value: string;
1467
+ __kind: "P2WSH";
1468
+ } | {
1469
+ value: string;
1470
+ __kind: "Taproot";
1471
+ } | {
1472
+ __kind: "OtherSegwit";
1473
+ version: number;
1474
+ program: string;
1475
+ } | null | undefined;
1476
+ channelId?: string | number | null | undefined;
1477
+ depositMetadata?: {
1478
+ channelMetadata: {
1479
+ message: string;
1480
+ gasBudget: string | number;
1481
+ ccmAdditionalData: string;
1482
+ };
1483
+ sourceChain: {
1484
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
1485
+ };
1486
+ sourceAddress?: {
1487
+ value: string;
1488
+ __kind: "Eth";
1489
+ } | {
1490
+ value: string;
1491
+ __kind: "Dot";
1492
+ } | {
1493
+ value: {
1494
+ value: string;
1495
+ __kind: "P2PKH";
1496
+ } | {
1497
+ value: string;
1498
+ __kind: "P2SH";
1499
+ } | {
1500
+ value: string;
1501
+ __kind: "P2WPKH";
1502
+ } | {
1503
+ value: string;
1504
+ __kind: "P2WSH";
1505
+ } | {
1506
+ value: string;
1507
+ __kind: "Taproot";
1508
+ } | {
1509
+ __kind: "OtherSegwit";
1510
+ version: number;
1511
+ program: string;
1512
+ };
1513
+ __kind: "Btc";
1514
+ } | {
1515
+ value: string;
1516
+ __kind: "Arb";
1517
+ } | {
1518
+ value: string;
1519
+ __kind: "Sol";
1520
+ } | {
1521
+ value: string;
1522
+ __kind: "Hub";
1523
+ } | null | undefined;
1524
+ } | null | undefined;
1525
+ brokerFee?: {
1526
+ account: string;
1527
+ bps: number;
1528
+ } | null | undefined;
1529
+ dcaParams?: {
1530
+ numberOfChunks: number;
1531
+ chunkInterval: number;
1532
+ } | null | undefined;
1533
+ }>;
1534
+ }, "strip", z.ZodTypeAny, {
1535
+ __kind: "DepositFailedVaultVariantBitcoin";
1536
+ vaultWitness: {
1537
+ txId: `0x${string}`;
1538
+ depositDetails: {
1539
+ depositAddress: {
1540
+ pubkeyX: `0x${string}`;
1541
+ scriptPath?: {
1542
+ salt: number;
1543
+ tweakedPubkeyBytes: `0x${string}`;
1544
+ tapleafHash: `0x${string}`;
1545
+ unlockScript: {
1546
+ bytes: `0x${string}`;
1547
+ };
1548
+ } | null | undefined;
1549
+ };
1550
+ amount: bigint;
1551
+ id: {
1552
+ txId: `0x${string}`;
1553
+ vout: number;
1554
+ };
1555
+ };
1556
+ inputAsset: "Btc";
1557
+ depositAmount: bigint;
1558
+ outputAsset: "Btc" | "Eth" | "Flip" | "Usdc" | "Dot" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc" | "Wbtc" | "ArbUsdt";
1559
+ destinationAddress: {
1560
+ readonly chain: "Ethereum";
1561
+ readonly address: `0x${string}`;
1562
+ } | {
1563
+ readonly chain: "Polkadot";
1564
+ readonly address: string;
1565
+ } | {
1566
+ readonly chain: "Bitcoin";
1567
+ readonly address: string;
1568
+ } | {
1569
+ readonly chain: "Arbitrum";
1570
+ readonly address: `0x${string}`;
1571
+ } | {
1572
+ readonly chain: "Solana";
1573
+ readonly address: string;
1574
+ } | {
1575
+ readonly chain: "Assethub";
1576
+ readonly address: string;
1577
+ };
1578
+ affiliateFees: {
1579
+ account: number;
1580
+ bps: number;
1581
+ }[];
1582
+ refundParams: {
1583
+ retryDuration: number;
1584
+ refundAddress: {
1585
+ value: `0x${string}`;
1586
+ __kind: "P2PKH";
1587
+ } | {
1588
+ value: `0x${string}`;
1589
+ __kind: "P2SH";
1590
+ } | {
1591
+ value: `0x${string}`;
1592
+ __kind: "P2WPKH";
1593
+ } | {
1594
+ value: `0x${string}`;
1595
+ __kind: "P2WSH";
1596
+ } | {
1597
+ value: `0x${string}`;
1598
+ __kind: "Taproot";
1599
+ } | {
1600
+ __kind: "OtherSegwit";
1601
+ version: number;
1602
+ program: `0x${string}`;
1603
+ };
1604
+ minPrice: bigint;
1605
+ refundCcmMetadata?: {
1606
+ message: `0x${string}`;
1607
+ gasBudget: bigint;
1608
+ ccmAdditionalData: `0x${string}`;
1609
+ } | null | undefined;
1610
+ maxOraclePriceSlippage?: number | null | undefined;
1611
+ };
1612
+ boostFee: number;
1613
+ depositAddress?: {
1614
+ value: `0x${string}`;
1615
+ __kind: "P2PKH";
1616
+ } | {
1617
+ value: `0x${string}`;
1618
+ __kind: "P2SH";
1619
+ } | {
1620
+ value: `0x${string}`;
1621
+ __kind: "P2WPKH";
1622
+ } | {
1623
+ value: `0x${string}`;
1624
+ __kind: "P2WSH";
1625
+ } | {
1626
+ value: `0x${string}`;
1627
+ __kind: "Taproot";
1628
+ } | {
1629
+ __kind: "OtherSegwit";
1630
+ version: number;
1631
+ program: `0x${string}`;
1632
+ } | null | undefined;
1633
+ channelId?: bigint | null | undefined;
1634
+ depositMetadata?: {
1635
+ channelMetadata: {
1636
+ message: `0x${string}`;
1637
+ gasBudget: bigint;
1638
+ ccmAdditionalData: `0x${string}`;
1639
+ };
1640
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
1641
+ sourceAddress?: {
1642
+ value: `0x${string}`;
1643
+ __kind: "Eth";
1644
+ } | {
1645
+ value: `0x${string}`;
1646
+ __kind: "Dot";
1647
+ } | {
1648
+ value: {
1649
+ value: `0x${string}`;
1650
+ __kind: "P2PKH";
1651
+ } | {
1652
+ value: `0x${string}`;
1653
+ __kind: "P2SH";
1654
+ } | {
1655
+ value: `0x${string}`;
1656
+ __kind: "P2WPKH";
1657
+ } | {
1658
+ value: `0x${string}`;
1659
+ __kind: "P2WSH";
1660
+ } | {
1661
+ value: `0x${string}`;
1662
+ __kind: "Taproot";
1663
+ } | {
1664
+ __kind: "OtherSegwit";
1665
+ version: number;
1666
+ program: `0x${string}`;
1667
+ };
1668
+ __kind: "Btc";
1669
+ } | {
1670
+ value: `0x${string}`;
1671
+ __kind: "Arb";
1672
+ } | {
1673
+ value: `0x${string}`;
1674
+ __kind: "Sol";
1675
+ } | {
1676
+ value: `0x${string}`;
1677
+ __kind: "Hub";
1678
+ } | null | undefined;
1679
+ } | null | undefined;
1680
+ brokerFee?: {
1681
+ account: `cF${string}`;
1682
+ bps: number;
1683
+ } | null | undefined;
1684
+ dcaParams?: {
1685
+ numberOfChunks: number;
1686
+ chunkInterval: number;
1687
+ } | null | undefined;
1688
+ };
1689
+ }, {
1690
+ __kind: "DepositFailedVaultVariantBitcoin";
1691
+ vaultWitness: {
1692
+ txId: string;
1693
+ depositDetails: {
1694
+ depositAddress: {
1695
+ pubkeyX: string;
1696
+ scriptPath?: {
1697
+ salt: number;
1698
+ tweakedPubkeyBytes: string;
1699
+ tapleafHash: string;
1700
+ unlockScript: {
1701
+ bytes: string;
1702
+ };
1703
+ } | null | undefined;
1704
+ };
1705
+ amount: string | number;
1706
+ id: {
1707
+ txId: string;
1708
+ vout: number;
1709
+ };
1710
+ };
1711
+ inputAsset: {
1712
+ __kind: "Btc";
1713
+ };
1714
+ depositAmount: string | number;
1715
+ outputAsset: {
1716
+ __kind: "Btc" | "Eth" | "Flip" | "Usdc" | "Dot" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc" | "Wbtc" | "ArbUsdt";
1717
+ };
1718
+ destinationAddress: {
1719
+ value: string;
1720
+ __kind: "Btc" | "Eth" | "Dot" | "Sol" | "Arb" | "Hub";
1721
+ };
1722
+ affiliateFees: {
1723
+ account: number;
1724
+ bps: number;
1725
+ }[];
1726
+ refundParams: {
1727
+ retryDuration: number;
1728
+ refundAddress: {
1729
+ value: string;
1730
+ __kind: "P2PKH";
1731
+ } | {
1732
+ value: string;
1733
+ __kind: "P2SH";
1734
+ } | {
1735
+ value: string;
1736
+ __kind: "P2WPKH";
1737
+ } | {
1738
+ value: string;
1739
+ __kind: "P2WSH";
1740
+ } | {
1741
+ value: string;
1742
+ __kind: "Taproot";
1743
+ } | {
1744
+ __kind: "OtherSegwit";
1745
+ version: number;
1746
+ program: string;
1747
+ };
1748
+ minPrice: string | number;
1749
+ refundCcmMetadata?: {
1750
+ message: string;
1751
+ gasBudget: string | number;
1752
+ ccmAdditionalData: string;
1753
+ } | null | undefined;
1754
+ maxOraclePriceSlippage?: number | null | undefined;
1755
+ };
1756
+ boostFee: number;
1757
+ depositAddress?: {
1758
+ value: string;
1759
+ __kind: "P2PKH";
1760
+ } | {
1761
+ value: string;
1762
+ __kind: "P2SH";
1763
+ } | {
1764
+ value: string;
1765
+ __kind: "P2WPKH";
1766
+ } | {
1767
+ value: string;
1768
+ __kind: "P2WSH";
1769
+ } | {
1770
+ value: string;
1771
+ __kind: "Taproot";
1772
+ } | {
1773
+ __kind: "OtherSegwit";
1774
+ version: number;
1775
+ program: string;
1776
+ } | null | undefined;
1777
+ channelId?: string | number | null | undefined;
1778
+ depositMetadata?: {
1779
+ channelMetadata: {
1780
+ message: string;
1781
+ gasBudget: string | number;
1782
+ ccmAdditionalData: string;
1783
+ };
1784
+ sourceChain: {
1785
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
1786
+ };
1787
+ sourceAddress?: {
1788
+ value: string;
1789
+ __kind: "Eth";
1790
+ } | {
1791
+ value: string;
1792
+ __kind: "Dot";
1793
+ } | {
1794
+ value: {
1795
+ value: string;
1796
+ __kind: "P2PKH";
1797
+ } | {
1798
+ value: string;
1799
+ __kind: "P2SH";
1800
+ } | {
1801
+ value: string;
1802
+ __kind: "P2WPKH";
1803
+ } | {
1804
+ value: string;
1805
+ __kind: "P2WSH";
1806
+ } | {
1807
+ value: string;
1808
+ __kind: "Taproot";
1809
+ } | {
1810
+ __kind: "OtherSegwit";
1811
+ version: number;
1812
+ program: string;
1813
+ };
1814
+ __kind: "Btc";
1815
+ } | {
1816
+ value: string;
1817
+ __kind: "Arb";
1818
+ } | {
1819
+ value: string;
1820
+ __kind: "Sol";
1821
+ } | {
1822
+ value: string;
1823
+ __kind: "Hub";
1824
+ } | null | undefined;
1825
+ } | null | undefined;
1826
+ brokerFee?: {
1827
+ account: string;
1828
+ bps: number;
1829
+ } | null | undefined;
1830
+ dcaParams?: {
1831
+ numberOfChunks: number;
1832
+ chunkInterval: number;
1833
+ } | null | undefined;
1834
+ };
1835
+ }>]>;
1836
+ }, "strip", z.ZodTypeAny, {
1837
+ blockHeight: bigint;
1838
+ reason: {
1839
+ __kind: "BelowMinimumDeposit";
1840
+ } | {
1841
+ __kind: "NotEnoughToPayFees";
1842
+ } | {
1843
+ __kind: "TransactionRejectedByBroker";
1844
+ } | {
1845
+ value: {
1846
+ __kind: "Other";
1847
+ } | {
1848
+ __kind: "CannotLookup";
1849
+ } | {
1850
+ __kind: "BadOrigin";
1851
+ } | {
1852
+ value: {
1853
+ index: number;
1854
+ error: `0x${string}`;
1855
+ };
1856
+ __kind: "Module";
1857
+ } | {
1858
+ __kind: "ConsumerRemaining";
1859
+ } | {
1860
+ __kind: "NoProviders";
1861
+ } | {
1862
+ __kind: "TooManyConsumers";
1863
+ } | {
1864
+ value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1865
+ __kind: "Token";
1866
+ } | {
1867
+ value: "Underflow" | "Overflow" | "DivisionByZero";
1868
+ __kind: "Arithmetic";
1869
+ } | {
1870
+ value: "LimitReached" | "NoLayer";
1871
+ __kind: "Transactional";
1872
+ } | {
1873
+ __kind: "Exhausted";
1874
+ } | {
1875
+ __kind: "Corruption";
1876
+ } | {
1877
+ __kind: "Unavailable";
1878
+ } | {
1879
+ __kind: "RootNotAllowed";
1880
+ };
1881
+ __kind: "DepositWitnessRejected";
1882
+ } | {
1883
+ __kind: "Unrefundable";
1884
+ };
1885
+ details: {
1886
+ __kind: "DepositFailedDepositChannelVariantBitcoin";
1887
+ depositWitness: {
1888
+ depositAddress: {
1889
+ value: `0x${string}`;
1890
+ __kind: "P2PKH";
1891
+ } | {
1892
+ value: `0x${string}`;
1893
+ __kind: "P2SH";
1894
+ } | {
1895
+ value: `0x${string}`;
1896
+ __kind: "P2WPKH";
1897
+ } | {
1898
+ value: `0x${string}`;
1899
+ __kind: "P2WSH";
1900
+ } | {
1901
+ value: `0x${string}`;
1902
+ __kind: "Taproot";
1903
+ } | {
1904
+ __kind: "OtherSegwit";
1905
+ version: number;
1906
+ program: `0x${string}`;
1907
+ };
1908
+ asset: "Btc";
1909
+ amount: bigint;
1910
+ depositDetails: {
1911
+ depositAddress: {
1912
+ pubkeyX: `0x${string}`;
1913
+ scriptPath?: {
1914
+ salt: number;
1915
+ tweakedPubkeyBytes: `0x${string}`;
1916
+ tapleafHash: `0x${string}`;
1917
+ unlockScript: {
1918
+ bytes: `0x${string}`;
1919
+ };
1920
+ } | null | undefined;
1921
+ };
1922
+ amount: bigint;
1923
+ id: {
1924
+ txId: `0x${string}`;
1925
+ vout: number;
1926
+ };
1927
+ };
1928
+ };
1929
+ } | {
1930
+ __kind: "DepositFailedVaultVariantBitcoin";
1931
+ vaultWitness: {
1932
+ txId: `0x${string}`;
1933
+ depositDetails: {
1934
+ depositAddress: {
1935
+ pubkeyX: `0x${string}`;
1936
+ scriptPath?: {
1937
+ salt: number;
1938
+ tweakedPubkeyBytes: `0x${string}`;
1939
+ tapleafHash: `0x${string}`;
1940
+ unlockScript: {
1941
+ bytes: `0x${string}`;
1942
+ };
1943
+ } | null | undefined;
1944
+ };
1945
+ amount: bigint;
1946
+ id: {
1947
+ txId: `0x${string}`;
1948
+ vout: number;
1949
+ };
1950
+ };
1951
+ inputAsset: "Btc";
1952
+ depositAmount: bigint;
1953
+ outputAsset: "Btc" | "Eth" | "Flip" | "Usdc" | "Dot" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc" | "Wbtc" | "ArbUsdt";
1954
+ destinationAddress: {
1955
+ readonly chain: "Ethereum";
1956
+ readonly address: `0x${string}`;
1957
+ } | {
1958
+ readonly chain: "Polkadot";
1959
+ readonly address: string;
1960
+ } | {
1961
+ readonly chain: "Bitcoin";
1962
+ readonly address: string;
1963
+ } | {
1964
+ readonly chain: "Arbitrum";
1965
+ readonly address: `0x${string}`;
1966
+ } | {
1967
+ readonly chain: "Solana";
1968
+ readonly address: string;
1969
+ } | {
1970
+ readonly chain: "Assethub";
1971
+ readonly address: string;
1972
+ };
1973
+ affiliateFees: {
1974
+ account: number;
1975
+ bps: number;
1976
+ }[];
1977
+ refundParams: {
1978
+ retryDuration: number;
1979
+ refundAddress: {
1980
+ value: `0x${string}`;
1981
+ __kind: "P2PKH";
1982
+ } | {
1983
+ value: `0x${string}`;
1984
+ __kind: "P2SH";
1985
+ } | {
1986
+ value: `0x${string}`;
1987
+ __kind: "P2WPKH";
1988
+ } | {
1989
+ value: `0x${string}`;
1990
+ __kind: "P2WSH";
1991
+ } | {
1992
+ value: `0x${string}`;
1993
+ __kind: "Taproot";
1994
+ } | {
1995
+ __kind: "OtherSegwit";
1996
+ version: number;
1997
+ program: `0x${string}`;
1998
+ };
1999
+ minPrice: bigint;
2000
+ refundCcmMetadata?: {
2001
+ message: `0x${string}`;
2002
+ gasBudget: bigint;
2003
+ ccmAdditionalData: `0x${string}`;
2004
+ } | null | undefined;
2005
+ maxOraclePriceSlippage?: number | null | undefined;
2006
+ };
2007
+ boostFee: number;
2008
+ depositAddress?: {
2009
+ value: `0x${string}`;
2010
+ __kind: "P2PKH";
2011
+ } | {
2012
+ value: `0x${string}`;
2013
+ __kind: "P2SH";
2014
+ } | {
2015
+ value: `0x${string}`;
2016
+ __kind: "P2WPKH";
2017
+ } | {
2018
+ value: `0x${string}`;
2019
+ __kind: "P2WSH";
2020
+ } | {
2021
+ value: `0x${string}`;
2022
+ __kind: "Taproot";
2023
+ } | {
2024
+ __kind: "OtherSegwit";
2025
+ version: number;
2026
+ program: `0x${string}`;
2027
+ } | null | undefined;
2028
+ channelId?: bigint | null | undefined;
2029
+ depositMetadata?: {
2030
+ channelMetadata: {
2031
+ message: `0x${string}`;
2032
+ gasBudget: bigint;
2033
+ ccmAdditionalData: `0x${string}`;
2034
+ };
2035
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
2036
+ sourceAddress?: {
2037
+ value: `0x${string}`;
2038
+ __kind: "Eth";
2039
+ } | {
2040
+ value: `0x${string}`;
2041
+ __kind: "Dot";
2042
+ } | {
2043
+ value: {
2044
+ value: `0x${string}`;
2045
+ __kind: "P2PKH";
2046
+ } | {
2047
+ value: `0x${string}`;
2048
+ __kind: "P2SH";
2049
+ } | {
2050
+ value: `0x${string}`;
2051
+ __kind: "P2WPKH";
2052
+ } | {
2053
+ value: `0x${string}`;
2054
+ __kind: "P2WSH";
2055
+ } | {
2056
+ value: `0x${string}`;
2057
+ __kind: "Taproot";
2058
+ } | {
2059
+ __kind: "OtherSegwit";
2060
+ version: number;
2061
+ program: `0x${string}`;
2062
+ };
2063
+ __kind: "Btc";
2064
+ } | {
2065
+ value: `0x${string}`;
2066
+ __kind: "Arb";
2067
+ } | {
2068
+ value: `0x${string}`;
2069
+ __kind: "Sol";
2070
+ } | {
2071
+ value: `0x${string}`;
2072
+ __kind: "Hub";
2073
+ } | null | undefined;
2074
+ } | null | undefined;
2075
+ brokerFee?: {
2076
+ account: `cF${string}`;
2077
+ bps: number;
2078
+ } | null | undefined;
2079
+ dcaParams?: {
2080
+ numberOfChunks: number;
2081
+ chunkInterval: number;
2082
+ } | null | undefined;
2083
+ };
2084
+ };
2085
+ }, {
2086
+ blockHeight: string | number;
2087
+ reason: {
2088
+ __kind: "BelowMinimumDeposit";
2089
+ } | {
2090
+ __kind: "NotEnoughToPayFees";
2091
+ } | {
2092
+ __kind: "TransactionRejectedByBroker";
2093
+ } | {
2094
+ value: {
2095
+ __kind: "Other";
2096
+ } | {
2097
+ __kind: "CannotLookup";
2098
+ } | {
2099
+ __kind: "BadOrigin";
2100
+ } | {
2101
+ value: {
2102
+ index: number;
2103
+ error: string;
2104
+ };
2105
+ __kind: "Module";
2106
+ } | {
2107
+ __kind: "ConsumerRemaining";
2108
+ } | {
2109
+ __kind: "NoProviders";
2110
+ } | {
2111
+ __kind: "TooManyConsumers";
2112
+ } | {
2113
+ value: {
2114
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
2115
+ };
2116
+ __kind: "Token";
2117
+ } | {
2118
+ value: {
2119
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
2120
+ };
2121
+ __kind: "Arithmetic";
2122
+ } | {
2123
+ value: {
2124
+ __kind: "LimitReached" | "NoLayer";
2125
+ };
2126
+ __kind: "Transactional";
2127
+ } | {
2128
+ __kind: "Exhausted";
2129
+ } | {
2130
+ __kind: "Corruption";
2131
+ } | {
2132
+ __kind: "Unavailable";
2133
+ } | {
2134
+ __kind: "RootNotAllowed";
2135
+ };
2136
+ __kind: "DepositWitnessRejected";
2137
+ } | {
2138
+ __kind: "Unrefundable";
2139
+ };
2140
+ details: {
2141
+ __kind: "DepositFailedDepositChannelVariantBitcoin";
2142
+ depositWitness: {
2143
+ depositAddress: {
2144
+ value: string;
2145
+ __kind: "P2PKH";
2146
+ } | {
2147
+ value: string;
2148
+ __kind: "P2SH";
2149
+ } | {
2150
+ value: string;
2151
+ __kind: "P2WPKH";
2152
+ } | {
2153
+ value: string;
2154
+ __kind: "P2WSH";
2155
+ } | {
2156
+ value: string;
2157
+ __kind: "Taproot";
2158
+ } | {
2159
+ __kind: "OtherSegwit";
2160
+ version: number;
2161
+ program: string;
2162
+ };
2163
+ asset: {
2164
+ __kind: "Btc";
2165
+ };
2166
+ amount: string | number;
2167
+ depositDetails: {
2168
+ depositAddress: {
2169
+ pubkeyX: string;
2170
+ scriptPath?: {
2171
+ salt: number;
2172
+ tweakedPubkeyBytes: string;
2173
+ tapleafHash: string;
2174
+ unlockScript: {
2175
+ bytes: string;
2176
+ };
2177
+ } | null | undefined;
2178
+ };
2179
+ amount: string | number;
2180
+ id: {
2181
+ txId: string;
2182
+ vout: number;
2183
+ };
2184
+ };
2185
+ };
2186
+ } | {
2187
+ __kind: "DepositFailedVaultVariantBitcoin";
2188
+ vaultWitness: {
2189
+ txId: string;
2190
+ depositDetails: {
2191
+ depositAddress: {
2192
+ pubkeyX: string;
2193
+ scriptPath?: {
2194
+ salt: number;
2195
+ tweakedPubkeyBytes: string;
2196
+ tapleafHash: string;
2197
+ unlockScript: {
2198
+ bytes: string;
2199
+ };
2200
+ } | null | undefined;
2201
+ };
2202
+ amount: string | number;
2203
+ id: {
2204
+ txId: string;
2205
+ vout: number;
2206
+ };
2207
+ };
2208
+ inputAsset: {
2209
+ __kind: "Btc";
2210
+ };
2211
+ depositAmount: string | number;
2212
+ outputAsset: {
2213
+ __kind: "Btc" | "Eth" | "Flip" | "Usdc" | "Dot" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc" | "Wbtc" | "ArbUsdt";
2214
+ };
2215
+ destinationAddress: {
2216
+ value: string;
2217
+ __kind: "Btc" | "Eth" | "Dot" | "Sol" | "Arb" | "Hub";
2218
+ };
2219
+ affiliateFees: {
2220
+ account: number;
2221
+ bps: number;
2222
+ }[];
2223
+ refundParams: {
2224
+ retryDuration: number;
2225
+ refundAddress: {
2226
+ value: string;
2227
+ __kind: "P2PKH";
2228
+ } | {
2229
+ value: string;
2230
+ __kind: "P2SH";
2231
+ } | {
2232
+ value: string;
2233
+ __kind: "P2WPKH";
2234
+ } | {
2235
+ value: string;
2236
+ __kind: "P2WSH";
2237
+ } | {
2238
+ value: string;
2239
+ __kind: "Taproot";
2240
+ } | {
2241
+ __kind: "OtherSegwit";
2242
+ version: number;
2243
+ program: string;
2244
+ };
2245
+ minPrice: string | number;
2246
+ refundCcmMetadata?: {
2247
+ message: string;
2248
+ gasBudget: string | number;
2249
+ ccmAdditionalData: string;
2250
+ } | null | undefined;
2251
+ maxOraclePriceSlippage?: number | null | undefined;
2252
+ };
2253
+ boostFee: number;
2254
+ depositAddress?: {
2255
+ value: string;
2256
+ __kind: "P2PKH";
2257
+ } | {
2258
+ value: string;
2259
+ __kind: "P2SH";
2260
+ } | {
2261
+ value: string;
2262
+ __kind: "P2WPKH";
2263
+ } | {
2264
+ value: string;
2265
+ __kind: "P2WSH";
2266
+ } | {
2267
+ value: string;
2268
+ __kind: "Taproot";
2269
+ } | {
2270
+ __kind: "OtherSegwit";
2271
+ version: number;
2272
+ program: string;
2273
+ } | null | undefined;
2274
+ channelId?: string | number | null | undefined;
2275
+ depositMetadata?: {
2276
+ channelMetadata: {
2277
+ message: string;
2278
+ gasBudget: string | number;
2279
+ ccmAdditionalData: string;
2280
+ };
2281
+ sourceChain: {
2282
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
2283
+ };
2284
+ sourceAddress?: {
2285
+ value: string;
2286
+ __kind: "Eth";
2287
+ } | {
2288
+ value: string;
2289
+ __kind: "Dot";
2290
+ } | {
2291
+ value: {
2292
+ value: string;
2293
+ __kind: "P2PKH";
2294
+ } | {
2295
+ value: string;
2296
+ __kind: "P2SH";
2297
+ } | {
2298
+ value: string;
2299
+ __kind: "P2WPKH";
2300
+ } | {
2301
+ value: string;
2302
+ __kind: "P2WSH";
2303
+ } | {
2304
+ value: string;
2305
+ __kind: "Taproot";
2306
+ } | {
2307
+ __kind: "OtherSegwit";
2308
+ version: number;
2309
+ program: string;
2310
+ };
2311
+ __kind: "Btc";
2312
+ } | {
2313
+ value: string;
2314
+ __kind: "Arb";
2315
+ } | {
2316
+ value: string;
2317
+ __kind: "Sol";
2318
+ } | {
2319
+ value: string;
2320
+ __kind: "Hub";
2321
+ } | null | undefined;
2322
+ } | null | undefined;
2323
+ brokerFee?: {
2324
+ account: string;
2325
+ bps: number;
2326
+ } | null | undefined;
2327
+ dcaParams?: {
2328
+ numberOfChunks: number;
2329
+ chunkInterval: number;
2330
+ } | null | undefined;
2331
+ };
2332
+ };
2333
+ }>;
2334
+
2335
+ export { bitcoinIngressEgressDepositFailed };