@chainflip/processor 1.11.15 → 2.0.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 (495) hide show
  1. package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.cts +16 -16
  2. package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.ts +16 -16
  3. package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.cts +2 -2
  4. package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.ts +2 -2
  5. package/dist/100/bitcoinIngressEgress/depositIgnored.d.cts +20 -20
  6. package/dist/100/bitcoinIngressEgress/depositIgnored.d.ts +20 -20
  7. package/dist/100/bitcoinIngressEgress/depositReceived.d.cts +20 -20
  8. package/dist/100/bitcoinIngressEgress/depositReceived.d.ts +20 -20
  9. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.cts +46 -46
  10. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.ts +46 -46
  11. package/dist/100/bitcoinIngressEgress/egressScheduled.d.cts +20 -20
  12. package/dist/100/bitcoinIngressEgress/egressScheduled.d.ts +20 -20
  13. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.cts +20 -20
  14. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.ts +20 -20
  15. package/dist/100/environment/runtimeSafeModeUpdated.d.cts +40 -40
  16. package/dist/100/environment/runtimeSafeModeUpdated.d.ts +40 -40
  17. package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
  18. package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
  19. package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.cts +2 -2
  20. package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.ts +2 -2
  21. package/dist/100/ethereumIngressEgress/depositIgnored.d.cts +2 -2
  22. package/dist/100/ethereumIngressEgress/depositIgnored.d.ts +2 -2
  23. package/dist/100/ethereumIngressEgress/depositReceived.d.cts +2 -2
  24. package/dist/100/ethereumIngressEgress/depositReceived.d.ts +2 -2
  25. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.cts +20 -20
  26. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.ts +20 -20
  27. package/dist/100/flip/remainingImbalance.d.cts +22 -22
  28. package/dist/100/flip/remainingImbalance.d.ts +22 -22
  29. package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
  30. package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
  31. package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
  32. package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
  33. package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
  34. package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
  35. package/dist/100/funding/funded.d.cts +2 -2
  36. package/dist/100/funding/funded.d.ts +2 -2
  37. package/dist/100/funding/redemptionRequested.d.cts +2 -2
  38. package/dist/100/funding/redemptionRequested.d.ts +2 -2
  39. package/dist/100/swapping/ccmDepositReceived.d.cts +66 -66
  40. package/dist/100/swapping/ccmDepositReceived.d.ts +66 -66
  41. package/dist/100/swapping/ccmFailed.d.cts +66 -66
  42. package/dist/100/swapping/ccmFailed.d.ts +66 -66
  43. package/dist/100/swapping/swapAmountTooLow.d.cts +9 -9
  44. package/dist/100/swapping/swapAmountTooLow.d.ts +9 -9
  45. package/dist/100/swapping/swapDepositAddressReady.d.cts +8 -8
  46. package/dist/100/swapping/swapDepositAddressReady.d.ts +8 -8
  47. package/dist/100/swapping/swapScheduled.d.cts +81 -81
  48. package/dist/100/swapping/swapScheduled.d.ts +81 -81
  49. package/dist/100/swapping/withdrawalRequested.d.cts +4 -4
  50. package/dist/100/swapping/withdrawalRequested.d.ts +4 -4
  51. package/dist/100/system/extrinsicFailed.d.cts +16 -16
  52. package/dist/100/system/extrinsicFailed.d.ts +16 -16
  53. package/dist/11000/arbitrumIngressEgress/ccmEgressInvalid.d.cts +26 -26
  54. package/dist/11000/arbitrumIngressEgress/ccmEgressInvalid.d.ts +26 -26
  55. package/dist/11000/arbitrumIngressEgress/depositFailed.d.cts +34 -34
  56. package/dist/11000/arbitrumIngressEgress/depositFailed.d.ts +34 -34
  57. package/dist/11000/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +22 -22
  58. package/dist/11000/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +22 -22
  59. package/dist/11000/assethubIngressEgress/ccmEgressInvalid.d.cts +107 -107
  60. package/dist/11000/assethubIngressEgress/ccmEgressInvalid.d.ts +107 -107
  61. package/dist/11000/assethubIngressEgress/depositFailed.d.cts +203 -203
  62. package/dist/11000/assethubIngressEgress/depositFailed.d.ts +203 -203
  63. package/dist/11000/assethubIngressEgress/failedToBuildAllBatchCall.d.cts +103 -103
  64. package/dist/11000/assethubIngressEgress/failedToBuildAllBatchCall.d.ts +103 -103
  65. package/dist/11000/polkadotIngressEgress/ccmEgressInvalid.d.cts +107 -107
  66. package/dist/11000/polkadotIngressEgress/ccmEgressInvalid.d.ts +107 -107
  67. package/dist/11000/polkadotIngressEgress/depositFailed.d.cts +161 -161
  68. package/dist/11000/polkadotIngressEgress/depositFailed.d.ts +161 -161
  69. package/dist/11000/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +103 -103
  70. package/dist/11000/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +103 -103
  71. package/dist/11000/swapping/refundEgressScheduled.d.cts +6 -6
  72. package/dist/11000/swapping/refundEgressScheduled.d.ts +6 -6
  73. package/dist/11000/swapping/refundedOnChain.d.cts +4 -4
  74. package/dist/11000/swapping/refundedOnChain.d.ts +4 -4
  75. package/dist/11000/swapping/swapDepositAddressReady.d.cts +27 -27
  76. package/dist/11000/swapping/swapDepositAddressReady.d.ts +27 -27
  77. package/dist/11000/swapping/swapRequested.d.cts +92 -92
  78. package/dist/11000/swapping/swapRequested.d.ts +92 -92
  79. package/dist/11100/arbitrumIngressEgress/depositFailed.d.cts +166 -166
  80. package/dist/11100/arbitrumIngressEgress/depositFailed.d.ts +166 -166
  81. package/dist/11100/ethereumIngressEgress/depositFailed.d.cts +166 -166
  82. package/dist/11100/ethereumIngressEgress/depositFailed.d.ts +166 -166
  83. package/dist/11100/funding/sCCallCannotBeDecoded.d.cts +2 -2
  84. package/dist/11100/funding/sCCallCannotBeDecoded.d.ts +2 -2
  85. package/dist/11100/funding/sCCallCannotBeExecuted.d.cts +31 -31
  86. package/dist/11100/funding/sCCallCannotBeExecuted.d.ts +31 -31
  87. package/dist/11100/funding/sCCallExecuted.d.cts +2 -2
  88. package/dist/11100/funding/sCCallExecuted.d.ts +2 -2
  89. package/dist/11100/swapping/swapExecuted.d.cts +4 -4
  90. package/dist/11100/swapping/swapExecuted.d.ts +4 -4
  91. package/dist/11100/swapping/swapRequested.d.cts +2 -2
  92. package/dist/11100/swapping/swapRequested.d.ts +2 -2
  93. package/dist/11200/arbitrumIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  94. package/dist/11200/arbitrumIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  95. package/dist/11200/arbitrumIngressEgress/depositBoosted.d.cts +6 -6
  96. package/dist/11200/arbitrumIngressEgress/depositBoosted.d.ts +6 -6
  97. package/dist/11200/arbitrumIngressEgress/depositFailed.d.cts +184 -184
  98. package/dist/11200/arbitrumIngressEgress/depositFailed.d.ts +184 -184
  99. package/dist/11200/arbitrumIngressEgress/depositFinalised.d.cts +2 -2
  100. package/dist/11200/arbitrumIngressEgress/depositFinalised.d.ts +2 -2
  101. package/dist/11200/common.cjs +19 -102
  102. package/dist/11200/common.d.cts +57 -1534
  103. package/dist/11200/common.d.ts +57 -1534
  104. package/dist/11200/common.mjs +18 -101
  105. package/dist/11200/environment/runtimeSafeModeUpdated.d.cts +40 -560
  106. package/dist/11200/environment/runtimeSafeModeUpdated.d.ts +40 -560
  107. package/dist/11200/ethereumIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  108. package/dist/11200/ethereumIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  109. package/dist/11200/ethereumIngressEgress/depositBoosted.d.cts +6 -6
  110. package/dist/11200/ethereumIngressEgress/depositBoosted.d.ts +6 -6
  111. package/dist/11200/ethereumIngressEgress/depositFailed.d.cts +184 -184
  112. package/dist/11200/ethereumIngressEgress/depositFailed.d.ts +184 -184
  113. package/dist/11200/ethereumIngressEgress/depositFinalised.d.cts +2 -2
  114. package/dist/11200/ethereumIngressEgress/depositFinalised.d.ts +2 -2
  115. package/dist/11200/polkadotIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  116. package/dist/11200/polkadotIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  117. package/dist/11200/polkadotIngressEgress/depositBoosted.d.cts +6 -6
  118. package/dist/11200/polkadotIngressEgress/depositBoosted.d.ts +6 -6
  119. package/dist/11200/polkadotIngressEgress/depositFailed.d.cts +184 -184
  120. package/dist/11200/polkadotIngressEgress/depositFailed.d.ts +184 -184
  121. package/dist/11200/polkadotIngressEgress/depositFinalised.d.cts +2 -2
  122. package/dist/11200/polkadotIngressEgress/depositFinalised.d.ts +2 -2
  123. package/dist/11200/swapping/swapAborted.d.cts +7 -7
  124. package/dist/11200/swapping/swapAborted.d.ts +7 -7
  125. package/dist/11200/swapping/swapRequested.d.cts +0 -57
  126. package/dist/11200/swapping/swapRequested.d.ts +0 -57
  127. package/dist/11200/swapping/swapRescheduled.d.cts +7 -7
  128. package/dist/11200/swapping/swapRescheduled.d.ts +7 -7
  129. package/dist/120/emissions/flipBurnSkipped.d.cts +16 -16
  130. package/dist/120/emissions/flipBurnSkipped.d.ts +16 -16
  131. package/dist/120/swapping/ccmFailed.d.cts +62 -62
  132. package/dist/120/swapping/ccmFailed.d.ts +62 -62
  133. package/dist/120/swapping/swapEgressIgnored.d.cts +28 -28
  134. package/dist/120/swapping/swapEgressIgnored.d.ts +28 -28
  135. package/dist/120/swapping/swapEgressScheduled.d.cts +6 -6
  136. package/dist/120/swapping/swapEgressScheduled.d.ts +6 -6
  137. package/dist/120/swapping/swapExecuted.d.cts +12 -12
  138. package/dist/120/swapping/swapExecuted.d.ts +12 -12
  139. package/dist/120/swapping/withdrawalRequested.d.cts +4 -4
  140. package/dist/120/swapping/withdrawalRequested.d.ts +4 -4
  141. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
  142. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
  143. package/dist/131/bitcoinIngressEgress/depositIgnored.d.cts +20 -20
  144. package/dist/131/bitcoinIngressEgress/depositIgnored.d.ts +20 -20
  145. package/dist/131/bitcoinIngressEgress/depositReceived.d.cts +20 -20
  146. package/dist/131/bitcoinIngressEgress/depositReceived.d.ts +20 -20
  147. package/dist/131/bitcoinIngressEgress/depositWitnessRejected.d.cts +46 -46
  148. package/dist/131/bitcoinIngressEgress/depositWitnessRejected.d.ts +46 -46
  149. package/dist/131/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  150. package/dist/131/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  151. package/dist/131/ethereumIngressEgress/depositFetchesScheduled.d.cts +2 -2
  152. package/dist/131/ethereumIngressEgress/depositFetchesScheduled.d.ts +2 -2
  153. package/dist/131/ethereumIngressEgress/depositIgnored.d.cts +2 -2
  154. package/dist/131/ethereumIngressEgress/depositIgnored.d.ts +2 -2
  155. package/dist/131/ethereumIngressEgress/depositReceived.d.cts +2 -2
  156. package/dist/131/ethereumIngressEgress/depositReceived.d.ts +2 -2
  157. package/dist/131/ethereumIngressEgress/depositWitnessRejected.d.cts +20 -20
  158. package/dist/131/ethereumIngressEgress/depositWitnessRejected.d.ts +20 -20
  159. package/dist/131/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  160. package/dist/131/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  161. package/dist/131/liquidityPools/limitOrderUpdated.d.cts +8 -8
  162. package/dist/131/liquidityPools/limitOrderUpdated.d.ts +8 -8
  163. package/dist/131/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  164. package/dist/131/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  165. package/dist/141/ethereumIngressEgress/boostFundsAdded.d.cts +2 -2
  166. package/dist/141/ethereumIngressEgress/boostFundsAdded.d.ts +2 -2
  167. package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +4 -4
  168. package/dist/141/ethereumIngressEgress/depositBoosted.d.ts +4 -4
  169. package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +4 -4
  170. package/dist/141/ethereumIngressEgress/depositFinalised.d.ts +4 -4
  171. package/dist/141/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  172. package/dist/141/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  173. package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
  174. package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.ts +4 -4
  175. package/dist/141/swapping/batchSwapFailed.d.cts +6 -6
  176. package/dist/141/swapping/batchSwapFailed.d.ts +6 -6
  177. package/dist/141/swapping/maximumSwapAmountSet.d.cts +6 -6
  178. package/dist/141/swapping/maximumSwapAmountSet.d.ts +6 -6
  179. package/dist/141/swapping/swapAmountConfiscated.d.cts +12 -12
  180. package/dist/141/swapping/swapAmountConfiscated.d.ts +12 -12
  181. package/dist/141/swapping/swapDepositAddressReady.d.cts +18 -18
  182. package/dist/141/swapping/swapDepositAddressReady.d.ts +18 -18
  183. package/dist/141/swapping/swapEgressIgnored.d.cts +6 -6
  184. package/dist/141/swapping/swapEgressIgnored.d.ts +6 -6
  185. package/dist/141/swapping/swapEgressScheduled.d.cts +10 -10
  186. package/dist/141/swapping/swapEgressScheduled.d.ts +10 -10
  187. package/dist/141/swapping/swapExecuted.d.cts +14 -14
  188. package/dist/141/swapping/swapExecuted.d.ts +14 -14
  189. package/dist/141/swapping/swapScheduled.d.cts +14 -14
  190. package/dist/141/swapping/swapScheduled.d.ts +14 -14
  191. package/dist/141/swapping/withdrawalRequested.d.cts +10 -10
  192. package/dist/141/swapping/withdrawalRequested.d.ts +10 -10
  193. package/dist/141/validator/rotationPhaseUpdated.d.cts +20 -20
  194. package/dist/141/validator/rotationPhaseUpdated.d.ts +20 -20
  195. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
  196. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
  197. package/dist/150/arbitrumIngressEgress/depositBoosted.d.cts +10 -10
  198. package/dist/150/arbitrumIngressEgress/depositBoosted.d.ts +10 -10
  199. package/dist/150/arbitrumIngressEgress/depositFinalised.d.cts +4 -4
  200. package/dist/150/arbitrumIngressEgress/depositFinalised.d.ts +4 -4
  201. package/dist/150/arbitrumIngressEgress/depositWitnessRejected.d.cts +16 -16
  202. package/dist/150/arbitrumIngressEgress/depositWitnessRejected.d.ts +16 -16
  203. package/dist/150/assetBalances/refundScheduled.d.cts +52 -52
  204. package/dist/150/assetBalances/refundScheduled.d.ts +52 -52
  205. package/dist/150/assetBalances/refundSkipped.d.cts +97 -97
  206. package/dist/150/assetBalances/refundSkipped.d.ts +97 -97
  207. package/dist/150/ethereumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  208. package/dist/150/ethereumIngressEgress/ccmBroadcastRequested.d.ts +2 -2
  209. package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  210. package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  211. package/dist/150/liquidityPools/limitOrderUpdated.d.cts +8 -8
  212. package/dist/150/liquidityPools/limitOrderUpdated.d.ts +8 -8
  213. package/dist/150/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  214. package/dist/150/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  215. package/dist/150/solanaBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
  216. package/dist/150/solanaBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
  217. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
  218. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
  219. package/dist/150/solanaIngressEgress/depositBoosted.d.cts +4 -4
  220. package/dist/150/solanaIngressEgress/depositBoosted.d.ts +4 -4
  221. package/dist/150/solanaIngressEgress/depositFetchesScheduled.d.cts +2 -2
  222. package/dist/150/solanaIngressEgress/depositFetchesScheduled.d.ts +2 -2
  223. package/dist/150/solanaIngressEgress/depositFinalised.d.cts +3 -3
  224. package/dist/150/solanaIngressEgress/depositFinalised.d.ts +3 -3
  225. package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
  226. package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
  227. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
  228. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
  229. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  230. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  231. package/dist/150/solanaIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  232. package/dist/150/solanaIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  233. package/dist/150/solanaIngressEgress/transferFallbackRequested.d.cts +2 -2
  234. package/dist/150/solanaIngressEgress/transferFallbackRequested.d.ts +2 -2
  235. package/dist/150/swapping/batchSwapFailed.d.cts +8 -8
  236. package/dist/150/swapping/batchSwapFailed.d.ts +8 -8
  237. package/dist/150/swapping/ccmDepositReceived.d.cts +74 -74
  238. package/dist/150/swapping/ccmDepositReceived.d.ts +74 -74
  239. package/dist/150/swapping/ccmFailed.d.cts +79 -79
  240. package/dist/150/swapping/ccmFailed.d.ts +79 -79
  241. package/dist/150/swapping/maximumSwapAmountSet.d.cts +6 -6
  242. package/dist/150/swapping/maximumSwapAmountSet.d.ts +6 -6
  243. package/dist/150/swapping/refundEgressIgnored.d.cts +24 -24
  244. package/dist/150/swapping/refundEgressIgnored.d.ts +24 -24
  245. package/dist/150/swapping/refundEgressScheduled.d.cts +8 -8
  246. package/dist/150/swapping/refundEgressScheduled.d.ts +8 -8
  247. package/dist/150/swapping/swapAmountConfiscated.d.cts +12 -12
  248. package/dist/150/swapping/swapAmountConfiscated.d.ts +12 -12
  249. package/dist/150/swapping/swapDepositAddressReady.d.cts +25 -25
  250. package/dist/150/swapping/swapDepositAddressReady.d.ts +25 -25
  251. package/dist/150/swapping/swapEgressIgnored.d.cts +24 -24
  252. package/dist/150/swapping/swapEgressIgnored.d.ts +24 -24
  253. package/dist/150/swapping/swapEgressScheduled.d.cts +8 -8
  254. package/dist/150/swapping/swapEgressScheduled.d.ts +8 -8
  255. package/dist/150/swapping/swapExecuted.d.cts +94 -94
  256. package/dist/150/swapping/swapExecuted.d.ts +94 -94
  257. package/dist/150/swapping/swapScheduled.d.cts +103 -103
  258. package/dist/150/swapping/swapScheduled.d.ts +103 -103
  259. package/dist/150/swapping/withdrawalRequested.d.cts +10 -10
  260. package/dist/150/swapping/withdrawalRequested.d.ts +10 -10
  261. package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  262. package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  263. package/dist/160/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
  264. package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
  265. package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +6 -6
  266. package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +6 -6
  267. package/dist/160/assetBalances/accountCredited.d.cts +2 -2
  268. package/dist/160/assetBalances/accountCredited.d.ts +2 -2
  269. package/dist/160/assetBalances/accountDebited.d.cts +2 -2
  270. package/dist/160/assetBalances/accountDebited.d.ts +2 -2
  271. package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.cts +61 -61
  272. package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.ts +61 -61
  273. package/dist/160/bitcoinIngressEgress/depositBoosted.d.cts +28 -28
  274. package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +28 -28
  275. package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +26 -26
  276. package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +26 -26
  277. package/dist/160/environment/runtimeSafeModeUpdated.d.cts +40 -40
  278. package/dist/160/environment/runtimeSafeModeUpdated.d.ts +40 -40
  279. package/dist/160/liquidityPools/limitOrderUpdated.d.cts +10 -10
  280. package/dist/160/liquidityPools/limitOrderUpdated.d.ts +10 -10
  281. package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +10 -10
  282. package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +10 -10
  283. package/dist/170/solanaIngressEgress/boostedDepositLost.d.cts +2 -2
  284. package/dist/170/solanaIngressEgress/boostedDepositLost.d.ts +2 -2
  285. package/dist/170/solanaIngressEgress/ccmFailed.d.cts +37 -37
  286. package/dist/170/solanaIngressEgress/ccmFailed.d.ts +37 -37
  287. package/dist/170/solanaIngressEgress/depositIgnored.d.cts +6 -6
  288. package/dist/170/solanaIngressEgress/depositIgnored.d.ts +6 -6
  289. package/dist/170/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  290. package/dist/170/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
  291. package/dist/180/arbitrumIngressEgress/ccmEgressInvalid.d.cts +57 -57
  292. package/dist/180/arbitrumIngressEgress/ccmEgressInvalid.d.ts +57 -57
  293. package/dist/180/arbitrumIngressEgress/depositBoosted.d.cts +2 -2
  294. package/dist/180/arbitrumIngressEgress/depositBoosted.d.ts +2 -2
  295. package/dist/180/arbitrumIngressEgress/depositFailed.d.cts +194 -194
  296. package/dist/180/arbitrumIngressEgress/depositFailed.d.ts +194 -194
  297. package/dist/180/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  298. package/dist/180/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
  299. package/dist/180/arbitrumIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  300. package/dist/180/arbitrumIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  301. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.cts +24 -24
  302. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.ts +24 -24
  303. package/dist/180/bitcoinIngressEgress/depositBoosted.d.cts +4 -4
  304. package/dist/180/bitcoinIngressEgress/depositBoosted.d.ts +4 -4
  305. package/dist/180/bitcoinIngressEgress/depositFailed.d.cts +26 -26
  306. package/dist/180/bitcoinIngressEgress/depositFailed.d.ts +26 -26
  307. package/dist/180/bitcoinIngressEgress/depositFinalised.d.cts +2 -2
  308. package/dist/180/bitcoinIngressEgress/depositFinalised.d.ts +2 -2
  309. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +20 -20
  310. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +20 -20
  311. package/dist/180/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  312. package/dist/180/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  313. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  314. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  315. package/dist/180/ethereumIngressEgress/depositBoosted.d.cts +6 -6
  316. package/dist/180/ethereumIngressEgress/depositBoosted.d.ts +6 -6
  317. package/dist/180/ethereumIngressEgress/depositFailed.d.cts +179 -179
  318. package/dist/180/ethereumIngressEgress/depositFailed.d.ts +179 -179
  319. package/dist/180/ethereumIngressEgress/depositFinalised.d.cts +2 -2
  320. package/dist/180/ethereumIngressEgress/depositFinalised.d.ts +2 -2
  321. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  322. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
  323. package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  324. package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  325. package/dist/180/polkadotIngressEgress/ccmEgressInvalid.d.cts +61 -61
  326. package/dist/180/polkadotIngressEgress/ccmEgressInvalid.d.ts +61 -61
  327. package/dist/180/polkadotIngressEgress/depositBoosted.d.cts +6 -6
  328. package/dist/180/polkadotIngressEgress/depositBoosted.d.ts +6 -6
  329. package/dist/180/polkadotIngressEgress/depositFailed.d.cts +179 -179
  330. package/dist/180/polkadotIngressEgress/depositFailed.d.ts +179 -179
  331. package/dist/180/polkadotIngressEgress/depositFinalised.d.cts +2 -2
  332. package/dist/180/polkadotIngressEgress/depositFinalised.d.ts +2 -2
  333. package/dist/180/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  334. package/dist/180/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
  335. package/dist/180/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  336. package/dist/180/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  337. package/dist/180/swapping/privateBrokerChannelClosed.d.cts +2 -2
  338. package/dist/180/swapping/privateBrokerChannelClosed.d.ts +2 -2
  339. package/dist/180/swapping/privateBrokerChannelOpened.d.cts +2 -2
  340. package/dist/180/swapping/privateBrokerChannelOpened.d.ts +2 -2
  341. package/dist/180/swapping/swapDepositAddressReady.d.cts +2 -2
  342. package/dist/180/swapping/swapDepositAddressReady.d.ts +2 -2
  343. package/dist/180/swapping/swapRequested.d.cts +4 -4
  344. package/dist/180/swapping/swapRequested.d.ts +4 -4
  345. package/dist/190/arbitrumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  346. package/dist/190/arbitrumIngressEgress/ccmBroadcastRequested.d.ts +2 -2
  347. package/dist/190/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
  348. package/dist/190/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
  349. package/dist/190/arbitrumIngressEgress/depositFailed.d.cts +26 -26
  350. package/dist/190/arbitrumIngressEgress/depositFailed.d.ts +26 -26
  351. package/dist/190/arbitrumIngressEgress/depositFinalised.d.cts +6 -6
  352. package/dist/190/arbitrumIngressEgress/depositFinalised.d.ts +6 -6
  353. package/dist/190/arbitrumIngressEgress/transferFallbackRequested.d.cts +2 -2
  354. package/dist/190/arbitrumIngressEgress/transferFallbackRequested.d.ts +2 -2
  355. package/dist/190/assetBalances/accountCredited.d.cts +8 -8
  356. package/dist/190/assetBalances/accountCredited.d.ts +8 -8
  357. package/dist/190/assetBalances/accountDebited.d.cts +8 -8
  358. package/dist/190/assetBalances/accountDebited.d.ts +8 -8
  359. package/dist/190/assetBalances/refundScheduled.d.cts +2 -2
  360. package/dist/190/assetBalances/refundScheduled.d.ts +2 -2
  361. package/dist/190/assethubBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
  362. package/dist/190/assethubBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
  363. package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.d.cts +4 -4
  364. package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.d.ts +4 -4
  365. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  366. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  367. package/dist/190/solanaIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  368. package/dist/190/solanaIngressEgress/ccmBroadcastRequested.d.ts +2 -2
  369. package/dist/190/solanaIngressEgress/ccmEgressInvalid.d.cts +50 -50
  370. package/dist/190/solanaIngressEgress/ccmEgressInvalid.d.ts +50 -50
  371. package/dist/190/solanaIngressEgress/depositBoosted.d.cts +8 -8
  372. package/dist/190/solanaIngressEgress/depositBoosted.d.ts +8 -8
  373. package/dist/190/solanaIngressEgress/depositFailed.d.cts +172 -172
  374. package/dist/190/solanaIngressEgress/depositFailed.d.ts +172 -172
  375. package/dist/190/solanaIngressEgress/depositFinalised.d.cts +6 -6
  376. package/dist/190/solanaIngressEgress/depositFinalised.d.ts +6 -6
  377. package/dist/190/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  378. package/dist/190/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
  379. package/dist/190/solanaIngressEgress/transferFallbackRequested.d.cts +2 -2
  380. package/dist/190/solanaIngressEgress/transferFallbackRequested.d.ts +2 -2
  381. package/dist/190/swapping/batchSwapFailed.d.cts +2 -2
  382. package/dist/190/swapping/batchSwapFailed.d.ts +2 -2
  383. package/dist/190/swapping/creditedOnChain.d.cts +4 -4
  384. package/dist/190/swapping/creditedOnChain.d.ts +4 -4
  385. package/dist/190/swapping/refundEgressIgnored.d.cts +18 -18
  386. package/dist/190/swapping/refundEgressIgnored.d.ts +18 -18
  387. package/dist/190/swapping/refundEgressScheduled.d.cts +2 -2
  388. package/dist/190/swapping/refundEgressScheduled.d.ts +2 -2
  389. package/dist/190/swapping/refundedOnChain.d.cts +4 -4
  390. package/dist/190/swapping/refundedOnChain.d.ts +4 -4
  391. package/dist/190/swapping/swapAmountConfiscated.d.cts +2 -2
  392. package/dist/190/swapping/swapAmountConfiscated.d.ts +2 -2
  393. package/dist/190/swapping/swapDepositAddressReady.d.cts +13 -13
  394. package/dist/190/swapping/swapDepositAddressReady.d.ts +13 -13
  395. package/dist/190/swapping/swapEgressIgnored.d.cts +18 -18
  396. package/dist/190/swapping/swapEgressIgnored.d.ts +18 -18
  397. package/dist/190/swapping/swapEgressScheduled.d.cts +2 -2
  398. package/dist/190/swapping/swapEgressScheduled.d.ts +2 -2
  399. package/dist/190/swapping/swapRequested.d.cts +70 -70
  400. package/dist/190/swapping/swapRequested.d.ts +70 -70
  401. package/dist/190/swapping/withdrawalRequested.d.cts +4 -4
  402. package/dist/190/swapping/withdrawalRequested.d.ts +4 -4
  403. package/dist/200/common.cjs +437 -0
  404. package/dist/200/common.d.cts +10084 -0
  405. package/dist/200/common.d.ts +10084 -0
  406. package/dist/200/common.mjs +437 -0
  407. package/dist/{11200 → 200}/environment/batchCompleted.cjs +1 -1
  408. package/dist/{11200 → 200}/environment/batchCompleted.mjs +1 -1
  409. package/dist/{11200 → 200}/environment/nonNativeSignedCall.cjs +1 -1
  410. package/dist/{11200 → 200}/environment/nonNativeSignedCall.mjs +1 -1
  411. package/dist/200/environment/runtimeSafeModeUpdated.cjs +9 -0
  412. package/dist/200/environment/runtimeSafeModeUpdated.d.cts +1910 -0
  413. package/dist/200/environment/runtimeSafeModeUpdated.d.ts +1910 -0
  414. package/dist/200/environment/runtimeSafeModeUpdated.mjs +9 -0
  415. package/dist/{11200 → 200}/lendingPools/collateralAdded.cjs +1 -1
  416. package/dist/{11200 → 200}/lendingPools/collateralAdded.mjs +1 -1
  417. package/dist/{11200 → 200}/lendingPools/collateralRemoved.cjs +1 -1
  418. package/dist/{11200 → 200}/lendingPools/collateralRemoved.mjs +1 -1
  419. package/dist/{11200 → 200}/lendingPools/interestTaken.cjs +1 -1
  420. package/dist/{11200 → 200}/lendingPools/interestTaken.mjs +1 -1
  421. package/dist/200/lendingPools/lendingFundsAdded.cjs +11 -0
  422. package/dist/200/lendingPools/lendingFundsAdded.d.cts +27 -0
  423. package/dist/200/lendingPools/lendingFundsAdded.d.ts +27 -0
  424. package/dist/200/lendingPools/lendingFundsAdded.mjs +11 -0
  425. package/dist/200/lendingPools/lendingFundsRemoved.cjs +11 -0
  426. package/dist/200/lendingPools/lendingFundsRemoved.d.cts +27 -0
  427. package/dist/200/lendingPools/lendingFundsRemoved.d.ts +27 -0
  428. package/dist/200/lendingPools/lendingFundsRemoved.mjs +11 -0
  429. package/dist/{11200 → 200}/lendingPools/lendingNetworkFeeSwapInitiated.cjs +1 -1
  430. package/dist/{11200 → 200}/lendingPools/lendingNetworkFeeSwapInitiated.mjs +1 -1
  431. package/dist/200/lendingPools/lendingPoolCreated.cjs +7 -0
  432. package/dist/200/lendingPools/lendingPoolCreated.d.cts +21 -0
  433. package/dist/200/lendingPools/lendingPoolCreated.d.ts +21 -0
  434. package/dist/200/lendingPools/lendingPoolCreated.mjs +7 -0
  435. package/dist/{11200 → 200}/lendingPools/liquidationFeeTaken.cjs +1 -1
  436. package/dist/{11200 → 200}/lendingPools/liquidationFeeTaken.mjs +1 -1
  437. package/dist/200/lendingPools/liquidationInitiated.cjs +11 -0
  438. package/dist/200/lendingPools/liquidationInitiated.d.cts +17 -0
  439. package/dist/200/lendingPools/liquidationInitiated.d.ts +17 -0
  440. package/dist/200/lendingPools/liquidationInitiated.mjs +11 -0
  441. package/dist/{11200 → 200}/lendingPools/loanCreated.cjs +1 -1
  442. package/dist/{11200 → 200}/lendingPools/loanCreated.mjs +1 -1
  443. package/dist/{11200 → 200}/lendingPools/loanRepaid.cjs +1 -1
  444. package/dist/{11200 → 200}/lendingPools/loanRepaid.mjs +1 -1
  445. package/dist/{11200 → 200}/lendingPools/loanSettled.cjs +1 -1
  446. package/dist/{11200 → 200}/lendingPools/loanSettled.mjs +1 -1
  447. package/dist/{11200 → 200}/lendingPools/loanUpdated.cjs +1 -1
  448. package/dist/{11200 → 200}/lendingPools/loanUpdated.mjs +1 -1
  449. package/dist/{11200 → 200}/lendingPools/originationFeeTaken.cjs +1 -1
  450. package/dist/{11200 → 200}/lendingPools/originationFeeTaken.mjs +1 -1
  451. package/dist/{11200 → 200}/lendingPools/palletConfigUpdated.cjs +1 -1
  452. package/dist/{11200 → 200}/lendingPools/palletConfigUpdated.mjs +1 -1
  453. package/dist/{11200 → 200}/lendingPools/primaryCollateralAssetUpdated.cjs +1 -1
  454. package/dist/{11200 → 200}/lendingPools/primaryCollateralAssetUpdated.mjs +1 -1
  455. package/dist/200/swapping/swapAborted.cjs +10 -0
  456. package/dist/200/swapping/swapAborted.d.cts +24 -0
  457. package/dist/200/swapping/swapAborted.d.ts +24 -0
  458. package/dist/200/swapping/swapAborted.mjs +10 -0
  459. package/dist/200/swapping/swapRequested.cjs +25 -0
  460. package/dist/200/swapping/swapRequested.d.cts +2978 -0
  461. package/dist/200/swapping/swapRequested.d.ts +2978 -0
  462. package/dist/200/swapping/swapRequested.mjs +25 -0
  463. package/dist/200/swapping/swapRescheduled.cjs +11 -0
  464. package/dist/200/swapping/swapRescheduled.d.cts +27 -0
  465. package/dist/200/swapping/swapRescheduled.d.ts +27 -0
  466. package/dist/200/swapping/swapRescheduled.mjs +11 -0
  467. package/package.json +1 -1
  468. package/dist/{11200 → 200}/environment/batchCompleted.d.cts +0 -0
  469. package/dist/{11200 → 200}/environment/batchCompleted.d.ts +0 -0
  470. package/dist/{11200 → 200}/environment/nonNativeSignedCall.d.cts +0 -0
  471. package/dist/{11200 → 200}/environment/nonNativeSignedCall.d.ts +0 -0
  472. package/dist/{11200 → 200}/lendingPools/collateralAdded.d.cts +0 -0
  473. package/dist/{11200 → 200}/lendingPools/collateralAdded.d.ts +0 -0
  474. package/dist/{11200 → 200}/lendingPools/collateralRemoved.d.cts +0 -0
  475. package/dist/{11200 → 200}/lendingPools/collateralRemoved.d.ts +0 -0
  476. package/dist/{11200 → 200}/lendingPools/interestTaken.d.cts +0 -0
  477. package/dist/{11200 → 200}/lendingPools/interestTaken.d.ts +0 -0
  478. package/dist/{11200 → 200}/lendingPools/lendingNetworkFeeSwapInitiated.d.cts +0 -0
  479. package/dist/{11200 → 200}/lendingPools/lendingNetworkFeeSwapInitiated.d.ts +0 -0
  480. package/dist/{11200 → 200}/lendingPools/liquidationFeeTaken.d.cts +2 -2
  481. package/dist/{11200 → 200}/lendingPools/liquidationFeeTaken.d.ts +2 -2
  482. package/dist/{11200 → 200}/lendingPools/loanCreated.d.cts +0 -0
  483. package/dist/{11200 → 200}/lendingPools/loanCreated.d.ts +0 -0
  484. package/dist/{11200 → 200}/lendingPools/loanRepaid.d.cts +0 -0
  485. package/dist/{11200 → 200}/lendingPools/loanRepaid.d.ts +0 -0
  486. package/dist/{11200 → 200}/lendingPools/loanSettled.d.cts +0 -0
  487. package/dist/{11200 → 200}/lendingPools/loanSettled.d.ts +0 -0
  488. package/dist/{11200 → 200}/lendingPools/loanUpdated.d.cts +0 -0
  489. package/dist/{11200 → 200}/lendingPools/loanUpdated.d.ts +0 -0
  490. package/dist/{11200 → 200}/lendingPools/originationFeeTaken.d.cts +2 -2
  491. package/dist/{11200 → 200}/lendingPools/originationFeeTaken.d.ts +2 -2
  492. /package/dist/{11200 → 200}/lendingPools/palletConfigUpdated.d.cts +0 -0
  493. /package/dist/{11200 → 200}/lendingPools/palletConfigUpdated.d.ts +0 -0
  494. /package/dist/{11200 → 200}/lendingPools/primaryCollateralAssetUpdated.d.cts +0 -0
  495. /package/dist/{11200 → 200}/lendingPools/primaryCollateralAssetUpdated.d.ts +0 -0
@@ -0,0 +1,2978 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const swappingSwapRequested: z.ZodObject<{
4
+ swapRequestId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
5
+ inputAsset: z.ZodEffects<z.ZodObject<{
6
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc", "HubDot", "HubUsdt", "HubUsdc"]>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
9
+ }, {
10
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
11
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc", {
12
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
13
+ }>;
14
+ inputAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
15
+ outputAsset: z.ZodEffects<z.ZodObject<{
16
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc", "HubDot", "HubUsdt", "HubUsdc"]>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
19
+ }, {
20
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
21
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc", {
22
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
23
+ }>;
24
+ origin: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
25
+ __kind: z.ZodLiteral<"DepositChannel">;
26
+ depositAddress: z.ZodEffects<z.ZodObject<{
27
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol", "Hub"]>;
28
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ value: `0x${string}`;
31
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
32
+ }, {
33
+ value: string;
34
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
35
+ }>, {
36
+ readonly chain: "Ethereum";
37
+ readonly address: `0x${string}`;
38
+ } | {
39
+ readonly chain: "Polkadot";
40
+ readonly address: string;
41
+ } | {
42
+ readonly chain: "Bitcoin";
43
+ readonly address: string;
44
+ } | {
45
+ readonly chain: "Arbitrum";
46
+ readonly address: `0x${string}`;
47
+ } | {
48
+ readonly chain: "Solana";
49
+ readonly address: string;
50
+ } | {
51
+ readonly chain: "Assethub";
52
+ readonly address: string;
53
+ }, {
54
+ value: string;
55
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
56
+ }>;
57
+ channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
58
+ depositBlockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
59
+ brokerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
60
+ }, "strip", z.ZodTypeAny, {
61
+ __kind: "DepositChannel";
62
+ depositAddress: {
63
+ readonly chain: "Ethereum";
64
+ readonly address: `0x${string}`;
65
+ } | {
66
+ readonly chain: "Polkadot";
67
+ readonly address: string;
68
+ } | {
69
+ readonly chain: "Bitcoin";
70
+ readonly address: string;
71
+ } | {
72
+ readonly chain: "Arbitrum";
73
+ readonly address: `0x${string}`;
74
+ } | {
75
+ readonly chain: "Solana";
76
+ readonly address: string;
77
+ } | {
78
+ readonly chain: "Assethub";
79
+ readonly address: string;
80
+ };
81
+ channelId: bigint;
82
+ depositBlockHeight: bigint;
83
+ brokerId: string;
84
+ }, {
85
+ __kind: "DepositChannel";
86
+ depositAddress: {
87
+ value: string;
88
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
89
+ };
90
+ channelId: string | number;
91
+ depositBlockHeight: string | number;
92
+ brokerId: string;
93
+ }>, z.ZodObject<{
94
+ __kind: z.ZodLiteral<"Vault">;
95
+ txId: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
96
+ __kind: z.ZodLiteral<"Evm">;
97
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
98
+ }, "strip", z.ZodTypeAny, {
99
+ value: `0x${string}`;
100
+ __kind: "Evm";
101
+ }, {
102
+ value: string;
103
+ __kind: "Evm";
104
+ }>, z.ZodObject<{
105
+ __kind: z.ZodLiteral<"Bitcoin">;
106
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ value: `0x${string}`;
109
+ __kind: "Bitcoin";
110
+ }, {
111
+ value: string;
112
+ __kind: "Bitcoin";
113
+ }>, z.ZodObject<{
114
+ __kind: z.ZodLiteral<"Polkadot">;
115
+ value: z.ZodObject<{
116
+ blockNumber: z.ZodNumber;
117
+ extrinsicIndex: z.ZodNumber;
118
+ }, "strip", z.ZodTypeAny, {
119
+ blockNumber: number;
120
+ extrinsicIndex: number;
121
+ }, {
122
+ blockNumber: number;
123
+ extrinsicIndex: number;
124
+ }>;
125
+ }, "strip", z.ZodTypeAny, {
126
+ value: {
127
+ blockNumber: number;
128
+ extrinsicIndex: number;
129
+ };
130
+ __kind: "Polkadot";
131
+ }, {
132
+ value: {
133
+ blockNumber: number;
134
+ extrinsicIndex: number;
135
+ };
136
+ __kind: "Polkadot";
137
+ }>, z.ZodObject<{
138
+ __kind: z.ZodLiteral<"Solana">;
139
+ value: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>], null>;
140
+ }, "strip", z.ZodTypeAny, {
141
+ value: [`0x${string}`, bigint];
142
+ __kind: "Solana";
143
+ }, {
144
+ value: [string, string | number];
145
+ __kind: "Solana";
146
+ }>, z.ZodObject<{
147
+ __kind: z.ZodLiteral<"None">;
148
+ }, "strip", z.ZodTypeAny, {
149
+ __kind: "None";
150
+ }, {
151
+ __kind: "None";
152
+ }>]>;
153
+ brokerId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>>>;
154
+ }, "strip", z.ZodTypeAny, {
155
+ __kind: "Vault";
156
+ txId: {
157
+ value: `0x${string}`;
158
+ __kind: "Evm";
159
+ } | {
160
+ value: `0x${string}`;
161
+ __kind: "Bitcoin";
162
+ } | {
163
+ value: {
164
+ blockNumber: number;
165
+ extrinsicIndex: number;
166
+ };
167
+ __kind: "Polkadot";
168
+ } | {
169
+ value: [`0x${string}`, bigint];
170
+ __kind: "Solana";
171
+ } | {
172
+ __kind: "None";
173
+ };
174
+ brokerId?: string | null | undefined;
175
+ }, {
176
+ __kind: "Vault";
177
+ txId: {
178
+ value: string;
179
+ __kind: "Evm";
180
+ } | {
181
+ value: string;
182
+ __kind: "Bitcoin";
183
+ } | {
184
+ value: {
185
+ blockNumber: number;
186
+ extrinsicIndex: number;
187
+ };
188
+ __kind: "Polkadot";
189
+ } | {
190
+ value: [string, string | number];
191
+ __kind: "Solana";
192
+ } | {
193
+ __kind: "None";
194
+ };
195
+ brokerId?: string | null | undefined;
196
+ }>, z.ZodObject<{
197
+ __kind: z.ZodLiteral<"Internal">;
198
+ }, "strip", z.ZodTypeAny, {
199
+ __kind: "Internal";
200
+ }, {
201
+ __kind: "Internal";
202
+ }>, z.ZodObject<{
203
+ __kind: z.ZodLiteral<"OnChainAccount">;
204
+ value: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
205
+ }, "strip", z.ZodTypeAny, {
206
+ value: string;
207
+ __kind: "OnChainAccount";
208
+ }, {
209
+ value: string;
210
+ __kind: "OnChainAccount";
211
+ }>]>;
212
+ requestType: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
213
+ __kind: z.ZodLiteral<"NetworkFee">;
214
+ }, "strip", z.ZodTypeAny, {
215
+ __kind: "NetworkFee";
216
+ }, {
217
+ __kind: "NetworkFee";
218
+ }>, z.ZodObject<{
219
+ __kind: z.ZodLiteral<"IngressEgressFee">;
220
+ }, "strip", z.ZodTypeAny, {
221
+ __kind: "IngressEgressFee";
222
+ }, {
223
+ __kind: "IngressEgressFee";
224
+ }>, z.ZodObject<{
225
+ __kind: z.ZodLiteral<"Regular">;
226
+ outputAction: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
227
+ __kind: z.ZodLiteral<"Egress">;
228
+ ccmDepositMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
229
+ channelMetadata: z.ZodObject<{
230
+ message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
231
+ gasBudget: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
232
+ ccmAdditionalData: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
233
+ __kind: z.ZodLiteral<"NotRequired">;
234
+ }, "strip", z.ZodTypeAny, {
235
+ __kind: "NotRequired";
236
+ }, {
237
+ __kind: "NotRequired";
238
+ }>, z.ZodObject<{
239
+ __kind: z.ZodLiteral<"Solana">;
240
+ value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
241
+ __kind: z.ZodLiteral<"V0">;
242
+ value: z.ZodObject<{
243
+ cfReceiver: z.ZodObject<{
244
+ pubkey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
245
+ isWritable: z.ZodBoolean;
246
+ }, "strip", z.ZodTypeAny, {
247
+ pubkey: `0x${string}`;
248
+ isWritable: boolean;
249
+ }, {
250
+ pubkey: string;
251
+ isWritable: boolean;
252
+ }>;
253
+ additionalAccounts: z.ZodArray<z.ZodObject<{
254
+ pubkey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
255
+ isWritable: z.ZodBoolean;
256
+ }, "strip", z.ZodTypeAny, {
257
+ pubkey: `0x${string}`;
258
+ isWritable: boolean;
259
+ }, {
260
+ pubkey: string;
261
+ isWritable: boolean;
262
+ }>, "many">;
263
+ fallbackAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
264
+ }, "strip", z.ZodTypeAny, {
265
+ cfReceiver: {
266
+ pubkey: `0x${string}`;
267
+ isWritable: boolean;
268
+ };
269
+ additionalAccounts: {
270
+ pubkey: `0x${string}`;
271
+ isWritable: boolean;
272
+ }[];
273
+ fallbackAddress: `0x${string}`;
274
+ }, {
275
+ cfReceiver: {
276
+ pubkey: string;
277
+ isWritable: boolean;
278
+ };
279
+ additionalAccounts: {
280
+ pubkey: string;
281
+ isWritable: boolean;
282
+ }[];
283
+ fallbackAddress: string;
284
+ }>;
285
+ }, "strip", z.ZodTypeAny, {
286
+ value: {
287
+ cfReceiver: {
288
+ pubkey: `0x${string}`;
289
+ isWritable: boolean;
290
+ };
291
+ additionalAccounts: {
292
+ pubkey: `0x${string}`;
293
+ isWritable: boolean;
294
+ }[];
295
+ fallbackAddress: `0x${string}`;
296
+ };
297
+ __kind: "V0";
298
+ }, {
299
+ value: {
300
+ cfReceiver: {
301
+ pubkey: string;
302
+ isWritable: boolean;
303
+ };
304
+ additionalAccounts: {
305
+ pubkey: string;
306
+ isWritable: boolean;
307
+ }[];
308
+ fallbackAddress: string;
309
+ };
310
+ __kind: "V0";
311
+ }>, z.ZodObject<{
312
+ __kind: z.ZodLiteral<"V1">;
313
+ ccmAccounts: z.ZodObject<{
314
+ cfReceiver: z.ZodObject<{
315
+ pubkey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
316
+ isWritable: z.ZodBoolean;
317
+ }, "strip", z.ZodTypeAny, {
318
+ pubkey: `0x${string}`;
319
+ isWritable: boolean;
320
+ }, {
321
+ pubkey: string;
322
+ isWritable: boolean;
323
+ }>;
324
+ additionalAccounts: z.ZodArray<z.ZodObject<{
325
+ pubkey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
326
+ isWritable: z.ZodBoolean;
327
+ }, "strip", z.ZodTypeAny, {
328
+ pubkey: `0x${string}`;
329
+ isWritable: boolean;
330
+ }, {
331
+ pubkey: string;
332
+ isWritable: boolean;
333
+ }>, "many">;
334
+ fallbackAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
335
+ }, "strip", z.ZodTypeAny, {
336
+ cfReceiver: {
337
+ pubkey: `0x${string}`;
338
+ isWritable: boolean;
339
+ };
340
+ additionalAccounts: {
341
+ pubkey: `0x${string}`;
342
+ isWritable: boolean;
343
+ }[];
344
+ fallbackAddress: `0x${string}`;
345
+ }, {
346
+ cfReceiver: {
347
+ pubkey: string;
348
+ isWritable: boolean;
349
+ };
350
+ additionalAccounts: {
351
+ pubkey: string;
352
+ isWritable: boolean;
353
+ }[];
354
+ fallbackAddress: string;
355
+ }>;
356
+ alts: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
357
+ }, "strip", z.ZodTypeAny, {
358
+ __kind: "V1";
359
+ ccmAccounts: {
360
+ cfReceiver: {
361
+ pubkey: `0x${string}`;
362
+ isWritable: boolean;
363
+ };
364
+ additionalAccounts: {
365
+ pubkey: `0x${string}`;
366
+ isWritable: boolean;
367
+ }[];
368
+ fallbackAddress: `0x${string}`;
369
+ };
370
+ alts: `0x${string}`[];
371
+ }, {
372
+ __kind: "V1";
373
+ ccmAccounts: {
374
+ cfReceiver: {
375
+ pubkey: string;
376
+ isWritable: boolean;
377
+ };
378
+ additionalAccounts: {
379
+ pubkey: string;
380
+ isWritable: boolean;
381
+ }[];
382
+ fallbackAddress: string;
383
+ };
384
+ alts: string[];
385
+ }>]>;
386
+ }, "strip", z.ZodTypeAny, {
387
+ value: {
388
+ value: {
389
+ cfReceiver: {
390
+ pubkey: `0x${string}`;
391
+ isWritable: boolean;
392
+ };
393
+ additionalAccounts: {
394
+ pubkey: `0x${string}`;
395
+ isWritable: boolean;
396
+ }[];
397
+ fallbackAddress: `0x${string}`;
398
+ };
399
+ __kind: "V0";
400
+ } | {
401
+ __kind: "V1";
402
+ ccmAccounts: {
403
+ cfReceiver: {
404
+ pubkey: `0x${string}`;
405
+ isWritable: boolean;
406
+ };
407
+ additionalAccounts: {
408
+ pubkey: `0x${string}`;
409
+ isWritable: boolean;
410
+ }[];
411
+ fallbackAddress: `0x${string}`;
412
+ };
413
+ alts: `0x${string}`[];
414
+ };
415
+ __kind: "Solana";
416
+ }, {
417
+ value: {
418
+ value: {
419
+ cfReceiver: {
420
+ pubkey: string;
421
+ isWritable: boolean;
422
+ };
423
+ additionalAccounts: {
424
+ pubkey: string;
425
+ isWritable: boolean;
426
+ }[];
427
+ fallbackAddress: string;
428
+ };
429
+ __kind: "V0";
430
+ } | {
431
+ __kind: "V1";
432
+ ccmAccounts: {
433
+ cfReceiver: {
434
+ pubkey: string;
435
+ isWritable: boolean;
436
+ };
437
+ additionalAccounts: {
438
+ pubkey: string;
439
+ isWritable: boolean;
440
+ }[];
441
+ fallbackAddress: string;
442
+ };
443
+ alts: string[];
444
+ };
445
+ __kind: "Solana";
446
+ }>]>;
447
+ }, "strip", z.ZodTypeAny, {
448
+ message: `0x${string}`;
449
+ gasBudget: bigint;
450
+ ccmAdditionalData: {
451
+ __kind: "NotRequired";
452
+ } | {
453
+ value: {
454
+ value: {
455
+ cfReceiver: {
456
+ pubkey: `0x${string}`;
457
+ isWritable: boolean;
458
+ };
459
+ additionalAccounts: {
460
+ pubkey: `0x${string}`;
461
+ isWritable: boolean;
462
+ }[];
463
+ fallbackAddress: `0x${string}`;
464
+ };
465
+ __kind: "V0";
466
+ } | {
467
+ __kind: "V1";
468
+ ccmAccounts: {
469
+ cfReceiver: {
470
+ pubkey: `0x${string}`;
471
+ isWritable: boolean;
472
+ };
473
+ additionalAccounts: {
474
+ pubkey: `0x${string}`;
475
+ isWritable: boolean;
476
+ }[];
477
+ fallbackAddress: `0x${string}`;
478
+ };
479
+ alts: `0x${string}`[];
480
+ };
481
+ __kind: "Solana";
482
+ };
483
+ }, {
484
+ message: string;
485
+ gasBudget: string | number;
486
+ ccmAdditionalData: {
487
+ __kind: "NotRequired";
488
+ } | {
489
+ value: {
490
+ value: {
491
+ cfReceiver: {
492
+ pubkey: string;
493
+ isWritable: boolean;
494
+ };
495
+ additionalAccounts: {
496
+ pubkey: string;
497
+ isWritable: boolean;
498
+ }[];
499
+ fallbackAddress: string;
500
+ };
501
+ __kind: "V0";
502
+ } | {
503
+ __kind: "V1";
504
+ ccmAccounts: {
505
+ cfReceiver: {
506
+ pubkey: string;
507
+ isWritable: boolean;
508
+ };
509
+ additionalAccounts: {
510
+ pubkey: string;
511
+ isWritable: boolean;
512
+ }[];
513
+ fallbackAddress: string;
514
+ };
515
+ alts: string[];
516
+ };
517
+ __kind: "Solana";
518
+ };
519
+ }>;
520
+ sourceChain: z.ZodEffects<z.ZodObject<{
521
+ __kind: z.ZodEnum<["Ethereum", "Polkadot", "Bitcoin", "Arbitrum", "Solana", "Assethub"]>;
522
+ }, "strip", z.ZodTypeAny, {
523
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
524
+ }, {
525
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
526
+ }>, "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub", {
527
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
528
+ }>;
529
+ sourceAddress: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
530
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol", "Hub"]>;
531
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ value: `0x${string}`;
534
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
535
+ }, {
536
+ value: string;
537
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
538
+ }>, {
539
+ readonly chain: "Ethereum";
540
+ readonly address: `0x${string}`;
541
+ } | {
542
+ readonly chain: "Polkadot";
543
+ readonly address: string;
544
+ } | {
545
+ readonly chain: "Bitcoin";
546
+ readonly address: string;
547
+ } | {
548
+ readonly chain: "Arbitrum";
549
+ readonly address: `0x${string}`;
550
+ } | {
551
+ readonly chain: "Solana";
552
+ readonly address: string;
553
+ } | {
554
+ readonly chain: "Assethub";
555
+ readonly address: string;
556
+ }, {
557
+ value: string;
558
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
559
+ }>>>;
560
+ }, "strip", z.ZodTypeAny, {
561
+ channelMetadata: {
562
+ message: `0x${string}`;
563
+ gasBudget: bigint;
564
+ ccmAdditionalData: {
565
+ __kind: "NotRequired";
566
+ } | {
567
+ value: {
568
+ value: {
569
+ cfReceiver: {
570
+ pubkey: `0x${string}`;
571
+ isWritable: boolean;
572
+ };
573
+ additionalAccounts: {
574
+ pubkey: `0x${string}`;
575
+ isWritable: boolean;
576
+ }[];
577
+ fallbackAddress: `0x${string}`;
578
+ };
579
+ __kind: "V0";
580
+ } | {
581
+ __kind: "V1";
582
+ ccmAccounts: {
583
+ cfReceiver: {
584
+ pubkey: `0x${string}`;
585
+ isWritable: boolean;
586
+ };
587
+ additionalAccounts: {
588
+ pubkey: `0x${string}`;
589
+ isWritable: boolean;
590
+ }[];
591
+ fallbackAddress: `0x${string}`;
592
+ };
593
+ alts: `0x${string}`[];
594
+ };
595
+ __kind: "Solana";
596
+ };
597
+ };
598
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
599
+ sourceAddress?: {
600
+ readonly chain: "Ethereum";
601
+ readonly address: `0x${string}`;
602
+ } | {
603
+ readonly chain: "Polkadot";
604
+ readonly address: string;
605
+ } | {
606
+ readonly chain: "Bitcoin";
607
+ readonly address: string;
608
+ } | {
609
+ readonly chain: "Arbitrum";
610
+ readonly address: `0x${string}`;
611
+ } | {
612
+ readonly chain: "Solana";
613
+ readonly address: string;
614
+ } | {
615
+ readonly chain: "Assethub";
616
+ readonly address: string;
617
+ } | null | undefined;
618
+ }, {
619
+ channelMetadata: {
620
+ message: string;
621
+ gasBudget: string | number;
622
+ ccmAdditionalData: {
623
+ __kind: "NotRequired";
624
+ } | {
625
+ value: {
626
+ value: {
627
+ cfReceiver: {
628
+ pubkey: string;
629
+ isWritable: boolean;
630
+ };
631
+ additionalAccounts: {
632
+ pubkey: string;
633
+ isWritable: boolean;
634
+ }[];
635
+ fallbackAddress: string;
636
+ };
637
+ __kind: "V0";
638
+ } | {
639
+ __kind: "V1";
640
+ ccmAccounts: {
641
+ cfReceiver: {
642
+ pubkey: string;
643
+ isWritable: boolean;
644
+ };
645
+ additionalAccounts: {
646
+ pubkey: string;
647
+ isWritable: boolean;
648
+ }[];
649
+ fallbackAddress: string;
650
+ };
651
+ alts: string[];
652
+ };
653
+ __kind: "Solana";
654
+ };
655
+ };
656
+ sourceChain: {
657
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
658
+ };
659
+ sourceAddress?: {
660
+ value: string;
661
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
662
+ } | null | undefined;
663
+ }>>>;
664
+ outputAddress: z.ZodEffects<z.ZodObject<{
665
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol", "Hub"]>;
666
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
667
+ }, "strip", z.ZodTypeAny, {
668
+ value: `0x${string}`;
669
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
670
+ }, {
671
+ value: string;
672
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
673
+ }>, {
674
+ readonly chain: "Ethereum";
675
+ readonly address: `0x${string}`;
676
+ } | {
677
+ readonly chain: "Polkadot";
678
+ readonly address: string;
679
+ } | {
680
+ readonly chain: "Bitcoin";
681
+ readonly address: string;
682
+ } | {
683
+ readonly chain: "Arbitrum";
684
+ readonly address: `0x${string}`;
685
+ } | {
686
+ readonly chain: "Solana";
687
+ readonly address: string;
688
+ } | {
689
+ readonly chain: "Assethub";
690
+ readonly address: string;
691
+ }, {
692
+ value: string;
693
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
694
+ }>;
695
+ }, "strip", z.ZodTypeAny, {
696
+ __kind: "Egress";
697
+ outputAddress: {
698
+ readonly chain: "Ethereum";
699
+ readonly address: `0x${string}`;
700
+ } | {
701
+ readonly chain: "Polkadot";
702
+ readonly address: string;
703
+ } | {
704
+ readonly chain: "Bitcoin";
705
+ readonly address: string;
706
+ } | {
707
+ readonly chain: "Arbitrum";
708
+ readonly address: `0x${string}`;
709
+ } | {
710
+ readonly chain: "Solana";
711
+ readonly address: string;
712
+ } | {
713
+ readonly chain: "Assethub";
714
+ readonly address: string;
715
+ };
716
+ ccmDepositMetadata?: {
717
+ channelMetadata: {
718
+ message: `0x${string}`;
719
+ gasBudget: bigint;
720
+ ccmAdditionalData: {
721
+ __kind: "NotRequired";
722
+ } | {
723
+ value: {
724
+ value: {
725
+ cfReceiver: {
726
+ pubkey: `0x${string}`;
727
+ isWritable: boolean;
728
+ };
729
+ additionalAccounts: {
730
+ pubkey: `0x${string}`;
731
+ isWritable: boolean;
732
+ }[];
733
+ fallbackAddress: `0x${string}`;
734
+ };
735
+ __kind: "V0";
736
+ } | {
737
+ __kind: "V1";
738
+ ccmAccounts: {
739
+ cfReceiver: {
740
+ pubkey: `0x${string}`;
741
+ isWritable: boolean;
742
+ };
743
+ additionalAccounts: {
744
+ pubkey: `0x${string}`;
745
+ isWritable: boolean;
746
+ }[];
747
+ fallbackAddress: `0x${string}`;
748
+ };
749
+ alts: `0x${string}`[];
750
+ };
751
+ __kind: "Solana";
752
+ };
753
+ };
754
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
755
+ sourceAddress?: {
756
+ readonly chain: "Ethereum";
757
+ readonly address: `0x${string}`;
758
+ } | {
759
+ readonly chain: "Polkadot";
760
+ readonly address: string;
761
+ } | {
762
+ readonly chain: "Bitcoin";
763
+ readonly address: string;
764
+ } | {
765
+ readonly chain: "Arbitrum";
766
+ readonly address: `0x${string}`;
767
+ } | {
768
+ readonly chain: "Solana";
769
+ readonly address: string;
770
+ } | {
771
+ readonly chain: "Assethub";
772
+ readonly address: string;
773
+ } | null | undefined;
774
+ } | null | undefined;
775
+ }, {
776
+ __kind: "Egress";
777
+ outputAddress: {
778
+ value: string;
779
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
780
+ };
781
+ ccmDepositMetadata?: {
782
+ channelMetadata: {
783
+ message: string;
784
+ gasBudget: string | number;
785
+ ccmAdditionalData: {
786
+ __kind: "NotRequired";
787
+ } | {
788
+ value: {
789
+ value: {
790
+ cfReceiver: {
791
+ pubkey: string;
792
+ isWritable: boolean;
793
+ };
794
+ additionalAccounts: {
795
+ pubkey: string;
796
+ isWritable: boolean;
797
+ }[];
798
+ fallbackAddress: string;
799
+ };
800
+ __kind: "V0";
801
+ } | {
802
+ __kind: "V1";
803
+ ccmAccounts: {
804
+ cfReceiver: {
805
+ pubkey: string;
806
+ isWritable: boolean;
807
+ };
808
+ additionalAccounts: {
809
+ pubkey: string;
810
+ isWritable: boolean;
811
+ }[];
812
+ fallbackAddress: string;
813
+ };
814
+ alts: string[];
815
+ };
816
+ __kind: "Solana";
817
+ };
818
+ };
819
+ sourceChain: {
820
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
821
+ };
822
+ sourceAddress?: {
823
+ value: string;
824
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
825
+ } | null | undefined;
826
+ } | null | undefined;
827
+ }>, z.ZodObject<{
828
+ __kind: z.ZodLiteral<"CreditOnChain">;
829
+ accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
830
+ }, "strip", z.ZodTypeAny, {
831
+ __kind: "CreditOnChain";
832
+ accountId: string;
833
+ }, {
834
+ __kind: "CreditOnChain";
835
+ accountId: string;
836
+ }>, z.ZodObject<{
837
+ __kind: z.ZodLiteral<"CreditLendingPool">;
838
+ swapType: z.ZodObject<{
839
+ __kind: z.ZodLiteral<"Liquidation">;
840
+ borrowerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
841
+ loanId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
842
+ }, "strip", z.ZodTypeAny, {
843
+ __kind: "Liquidation";
844
+ borrowerId: string;
845
+ loanId: bigint;
846
+ }, {
847
+ __kind: "Liquidation";
848
+ borrowerId: string;
849
+ loanId: string | number;
850
+ }>;
851
+ }, "strip", z.ZodTypeAny, {
852
+ __kind: "CreditLendingPool";
853
+ swapType: {
854
+ __kind: "Liquidation";
855
+ borrowerId: string;
856
+ loanId: bigint;
857
+ };
858
+ }, {
859
+ __kind: "CreditLendingPool";
860
+ swapType: {
861
+ __kind: "Liquidation";
862
+ borrowerId: string;
863
+ loanId: string | number;
864
+ };
865
+ }>]>;
866
+ }, "strip", z.ZodTypeAny, {
867
+ __kind: "Regular";
868
+ outputAction: {
869
+ __kind: "Egress";
870
+ outputAddress: {
871
+ readonly chain: "Ethereum";
872
+ readonly address: `0x${string}`;
873
+ } | {
874
+ readonly chain: "Polkadot";
875
+ readonly address: string;
876
+ } | {
877
+ readonly chain: "Bitcoin";
878
+ readonly address: string;
879
+ } | {
880
+ readonly chain: "Arbitrum";
881
+ readonly address: `0x${string}`;
882
+ } | {
883
+ readonly chain: "Solana";
884
+ readonly address: string;
885
+ } | {
886
+ readonly chain: "Assethub";
887
+ readonly address: string;
888
+ };
889
+ ccmDepositMetadata?: {
890
+ channelMetadata: {
891
+ message: `0x${string}`;
892
+ gasBudget: bigint;
893
+ ccmAdditionalData: {
894
+ __kind: "NotRequired";
895
+ } | {
896
+ value: {
897
+ value: {
898
+ cfReceiver: {
899
+ pubkey: `0x${string}`;
900
+ isWritable: boolean;
901
+ };
902
+ additionalAccounts: {
903
+ pubkey: `0x${string}`;
904
+ isWritable: boolean;
905
+ }[];
906
+ fallbackAddress: `0x${string}`;
907
+ };
908
+ __kind: "V0";
909
+ } | {
910
+ __kind: "V1";
911
+ ccmAccounts: {
912
+ cfReceiver: {
913
+ pubkey: `0x${string}`;
914
+ isWritable: boolean;
915
+ };
916
+ additionalAccounts: {
917
+ pubkey: `0x${string}`;
918
+ isWritable: boolean;
919
+ }[];
920
+ fallbackAddress: `0x${string}`;
921
+ };
922
+ alts: `0x${string}`[];
923
+ };
924
+ __kind: "Solana";
925
+ };
926
+ };
927
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
928
+ sourceAddress?: {
929
+ readonly chain: "Ethereum";
930
+ readonly address: `0x${string}`;
931
+ } | {
932
+ readonly chain: "Polkadot";
933
+ readonly address: string;
934
+ } | {
935
+ readonly chain: "Bitcoin";
936
+ readonly address: string;
937
+ } | {
938
+ readonly chain: "Arbitrum";
939
+ readonly address: `0x${string}`;
940
+ } | {
941
+ readonly chain: "Solana";
942
+ readonly address: string;
943
+ } | {
944
+ readonly chain: "Assethub";
945
+ readonly address: string;
946
+ } | null | undefined;
947
+ } | null | undefined;
948
+ } | {
949
+ __kind: "CreditOnChain";
950
+ accountId: string;
951
+ } | {
952
+ __kind: "CreditLendingPool";
953
+ swapType: {
954
+ __kind: "Liquidation";
955
+ borrowerId: string;
956
+ loanId: bigint;
957
+ };
958
+ };
959
+ }, {
960
+ __kind: "Regular";
961
+ outputAction: {
962
+ __kind: "Egress";
963
+ outputAddress: {
964
+ value: string;
965
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
966
+ };
967
+ ccmDepositMetadata?: {
968
+ channelMetadata: {
969
+ message: string;
970
+ gasBudget: string | number;
971
+ ccmAdditionalData: {
972
+ __kind: "NotRequired";
973
+ } | {
974
+ value: {
975
+ value: {
976
+ cfReceiver: {
977
+ pubkey: string;
978
+ isWritable: boolean;
979
+ };
980
+ additionalAccounts: {
981
+ pubkey: string;
982
+ isWritable: boolean;
983
+ }[];
984
+ fallbackAddress: string;
985
+ };
986
+ __kind: "V0";
987
+ } | {
988
+ __kind: "V1";
989
+ ccmAccounts: {
990
+ cfReceiver: {
991
+ pubkey: string;
992
+ isWritable: boolean;
993
+ };
994
+ additionalAccounts: {
995
+ pubkey: string;
996
+ isWritable: boolean;
997
+ }[];
998
+ fallbackAddress: string;
999
+ };
1000
+ alts: string[];
1001
+ };
1002
+ __kind: "Solana";
1003
+ };
1004
+ };
1005
+ sourceChain: {
1006
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
1007
+ };
1008
+ sourceAddress?: {
1009
+ value: string;
1010
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
1011
+ } | null | undefined;
1012
+ } | null | undefined;
1013
+ } | {
1014
+ __kind: "CreditOnChain";
1015
+ accountId: string;
1016
+ } | {
1017
+ __kind: "CreditLendingPool";
1018
+ swapType: {
1019
+ __kind: "Liquidation";
1020
+ borrowerId: string;
1021
+ loanId: string | number;
1022
+ };
1023
+ };
1024
+ }>]>;
1025
+ brokerFees: z.ZodArray<z.ZodObject<{
1026
+ account: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
1027
+ bps: z.ZodNumber;
1028
+ }, "strip", z.ZodTypeAny, {
1029
+ account: string;
1030
+ bps: number;
1031
+ }, {
1032
+ account: string;
1033
+ bps: number;
1034
+ }>, "many">;
1035
+ priceLimitsAndExpiry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1036
+ expiryBehaviour: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1037
+ __kind: z.ZodLiteral<"NoExpiry">;
1038
+ }, "strip", z.ZodTypeAny, {
1039
+ __kind: "NoExpiry";
1040
+ }, {
1041
+ __kind: "NoExpiry";
1042
+ }>, z.ZodObject<{
1043
+ __kind: z.ZodLiteral<"RefundIfExpires">;
1044
+ retryDuration: z.ZodNumber;
1045
+ refundAddress: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1046
+ __kind: z.ZodLiteral<"InternalAccount">;
1047
+ value: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
1048
+ }, "strip", z.ZodTypeAny, {
1049
+ value: string;
1050
+ __kind: "InternalAccount";
1051
+ }, {
1052
+ value: string;
1053
+ __kind: "InternalAccount";
1054
+ }>, z.ZodObject<{
1055
+ __kind: z.ZodLiteral<"ExternalAddress">;
1056
+ value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1057
+ __kind: z.ZodLiteral<"Eth">;
1058
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1059
+ }, "strip", z.ZodTypeAny, {
1060
+ value: `0x${string}`;
1061
+ __kind: "Eth";
1062
+ }, {
1063
+ value: string;
1064
+ __kind: "Eth";
1065
+ }>, z.ZodObject<{
1066
+ __kind: z.ZodLiteral<"Dot">;
1067
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1068
+ }, "strip", z.ZodTypeAny, {
1069
+ value: `0x${string}`;
1070
+ __kind: "Dot";
1071
+ }, {
1072
+ value: string;
1073
+ __kind: "Dot";
1074
+ }>, z.ZodObject<{
1075
+ __kind: z.ZodLiteral<"Btc">;
1076
+ value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1077
+ __kind: z.ZodLiteral<"P2PKH">;
1078
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1079
+ }, "strip", z.ZodTypeAny, {
1080
+ value: `0x${string}`;
1081
+ __kind: "P2PKH";
1082
+ }, {
1083
+ value: string;
1084
+ __kind: "P2PKH";
1085
+ }>, z.ZodObject<{
1086
+ __kind: z.ZodLiteral<"P2SH">;
1087
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1088
+ }, "strip", z.ZodTypeAny, {
1089
+ value: `0x${string}`;
1090
+ __kind: "P2SH";
1091
+ }, {
1092
+ value: string;
1093
+ __kind: "P2SH";
1094
+ }>, z.ZodObject<{
1095
+ __kind: z.ZodLiteral<"P2WPKH">;
1096
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1097
+ }, "strip", z.ZodTypeAny, {
1098
+ value: `0x${string}`;
1099
+ __kind: "P2WPKH";
1100
+ }, {
1101
+ value: string;
1102
+ __kind: "P2WPKH";
1103
+ }>, z.ZodObject<{
1104
+ __kind: z.ZodLiteral<"P2WSH">;
1105
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1106
+ }, "strip", z.ZodTypeAny, {
1107
+ value: `0x${string}`;
1108
+ __kind: "P2WSH";
1109
+ }, {
1110
+ value: string;
1111
+ __kind: "P2WSH";
1112
+ }>, z.ZodObject<{
1113
+ __kind: z.ZodLiteral<"Taproot">;
1114
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1115
+ }, "strip", z.ZodTypeAny, {
1116
+ value: `0x${string}`;
1117
+ __kind: "Taproot";
1118
+ }, {
1119
+ value: string;
1120
+ __kind: "Taproot";
1121
+ }>, z.ZodObject<{
1122
+ __kind: z.ZodLiteral<"OtherSegwit">;
1123
+ version: z.ZodNumber;
1124
+ program: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1125
+ }, "strip", z.ZodTypeAny, {
1126
+ __kind: "OtherSegwit";
1127
+ version: number;
1128
+ program: `0x${string}`;
1129
+ }, {
1130
+ __kind: "OtherSegwit";
1131
+ version: number;
1132
+ program: string;
1133
+ }>]>;
1134
+ }, "strip", z.ZodTypeAny, {
1135
+ value: {
1136
+ value: `0x${string}`;
1137
+ __kind: "P2PKH";
1138
+ } | {
1139
+ value: `0x${string}`;
1140
+ __kind: "P2SH";
1141
+ } | {
1142
+ value: `0x${string}`;
1143
+ __kind: "P2WPKH";
1144
+ } | {
1145
+ value: `0x${string}`;
1146
+ __kind: "P2WSH";
1147
+ } | {
1148
+ value: `0x${string}`;
1149
+ __kind: "Taproot";
1150
+ } | {
1151
+ __kind: "OtherSegwit";
1152
+ version: number;
1153
+ program: `0x${string}`;
1154
+ };
1155
+ __kind: "Btc";
1156
+ }, {
1157
+ value: {
1158
+ value: string;
1159
+ __kind: "P2PKH";
1160
+ } | {
1161
+ value: string;
1162
+ __kind: "P2SH";
1163
+ } | {
1164
+ value: string;
1165
+ __kind: "P2WPKH";
1166
+ } | {
1167
+ value: string;
1168
+ __kind: "P2WSH";
1169
+ } | {
1170
+ value: string;
1171
+ __kind: "Taproot";
1172
+ } | {
1173
+ __kind: "OtherSegwit";
1174
+ version: number;
1175
+ program: string;
1176
+ };
1177
+ __kind: "Btc";
1178
+ }>, z.ZodObject<{
1179
+ __kind: z.ZodLiteral<"Arb">;
1180
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1181
+ }, "strip", z.ZodTypeAny, {
1182
+ value: `0x${string}`;
1183
+ __kind: "Arb";
1184
+ }, {
1185
+ value: string;
1186
+ __kind: "Arb";
1187
+ }>, z.ZodObject<{
1188
+ __kind: z.ZodLiteral<"Sol">;
1189
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1190
+ }, "strip", z.ZodTypeAny, {
1191
+ value: `0x${string}`;
1192
+ __kind: "Sol";
1193
+ }, {
1194
+ value: string;
1195
+ __kind: "Sol";
1196
+ }>, z.ZodObject<{
1197
+ __kind: z.ZodLiteral<"Hub">;
1198
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1199
+ }, "strip", z.ZodTypeAny, {
1200
+ value: `0x${string}`;
1201
+ __kind: "Hub";
1202
+ }, {
1203
+ value: string;
1204
+ __kind: "Hub";
1205
+ }>]>;
1206
+ }, "strip", z.ZodTypeAny, {
1207
+ value: {
1208
+ value: `0x${string}`;
1209
+ __kind: "Eth";
1210
+ } | {
1211
+ value: `0x${string}`;
1212
+ __kind: "Dot";
1213
+ } | {
1214
+ value: {
1215
+ value: `0x${string}`;
1216
+ __kind: "P2PKH";
1217
+ } | {
1218
+ value: `0x${string}`;
1219
+ __kind: "P2SH";
1220
+ } | {
1221
+ value: `0x${string}`;
1222
+ __kind: "P2WPKH";
1223
+ } | {
1224
+ value: `0x${string}`;
1225
+ __kind: "P2WSH";
1226
+ } | {
1227
+ value: `0x${string}`;
1228
+ __kind: "Taproot";
1229
+ } | {
1230
+ __kind: "OtherSegwit";
1231
+ version: number;
1232
+ program: `0x${string}`;
1233
+ };
1234
+ __kind: "Btc";
1235
+ } | {
1236
+ value: `0x${string}`;
1237
+ __kind: "Arb";
1238
+ } | {
1239
+ value: `0x${string}`;
1240
+ __kind: "Sol";
1241
+ } | {
1242
+ value: `0x${string}`;
1243
+ __kind: "Hub";
1244
+ };
1245
+ __kind: "ExternalAddress";
1246
+ }, {
1247
+ value: {
1248
+ value: string;
1249
+ __kind: "Eth";
1250
+ } | {
1251
+ value: string;
1252
+ __kind: "Dot";
1253
+ } | {
1254
+ value: {
1255
+ value: string;
1256
+ __kind: "P2PKH";
1257
+ } | {
1258
+ value: string;
1259
+ __kind: "P2SH";
1260
+ } | {
1261
+ value: string;
1262
+ __kind: "P2WPKH";
1263
+ } | {
1264
+ value: string;
1265
+ __kind: "P2WSH";
1266
+ } | {
1267
+ value: string;
1268
+ __kind: "Taproot";
1269
+ } | {
1270
+ __kind: "OtherSegwit";
1271
+ version: number;
1272
+ program: string;
1273
+ };
1274
+ __kind: "Btc";
1275
+ } | {
1276
+ value: string;
1277
+ __kind: "Arb";
1278
+ } | {
1279
+ value: string;
1280
+ __kind: "Sol";
1281
+ } | {
1282
+ value: string;
1283
+ __kind: "Hub";
1284
+ };
1285
+ __kind: "ExternalAddress";
1286
+ }>]>;
1287
+ refundCcmMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1288
+ channelMetadata: z.ZodObject<{
1289
+ message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1290
+ gasBudget: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
1291
+ ccmAdditionalData: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1292
+ __kind: z.ZodLiteral<"NotRequired">;
1293
+ }, "strip", z.ZodTypeAny, {
1294
+ __kind: "NotRequired";
1295
+ }, {
1296
+ __kind: "NotRequired";
1297
+ }>, z.ZodObject<{
1298
+ __kind: z.ZodLiteral<"Solana">;
1299
+ value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1300
+ __kind: z.ZodLiteral<"V0">;
1301
+ value: z.ZodObject<{
1302
+ cfReceiver: z.ZodObject<{
1303
+ pubkey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1304
+ isWritable: z.ZodBoolean;
1305
+ }, "strip", z.ZodTypeAny, {
1306
+ pubkey: `0x${string}`;
1307
+ isWritable: boolean;
1308
+ }, {
1309
+ pubkey: string;
1310
+ isWritable: boolean;
1311
+ }>;
1312
+ additionalAccounts: z.ZodArray<z.ZodObject<{
1313
+ pubkey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1314
+ isWritable: z.ZodBoolean;
1315
+ }, "strip", z.ZodTypeAny, {
1316
+ pubkey: `0x${string}`;
1317
+ isWritable: boolean;
1318
+ }, {
1319
+ pubkey: string;
1320
+ isWritable: boolean;
1321
+ }>, "many">;
1322
+ fallbackAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1323
+ }, "strip", z.ZodTypeAny, {
1324
+ cfReceiver: {
1325
+ pubkey: `0x${string}`;
1326
+ isWritable: boolean;
1327
+ };
1328
+ additionalAccounts: {
1329
+ pubkey: `0x${string}`;
1330
+ isWritable: boolean;
1331
+ }[];
1332
+ fallbackAddress: `0x${string}`;
1333
+ }, {
1334
+ cfReceiver: {
1335
+ pubkey: string;
1336
+ isWritable: boolean;
1337
+ };
1338
+ additionalAccounts: {
1339
+ pubkey: string;
1340
+ isWritable: boolean;
1341
+ }[];
1342
+ fallbackAddress: string;
1343
+ }>;
1344
+ }, "strip", z.ZodTypeAny, {
1345
+ value: {
1346
+ cfReceiver: {
1347
+ pubkey: `0x${string}`;
1348
+ isWritable: boolean;
1349
+ };
1350
+ additionalAccounts: {
1351
+ pubkey: `0x${string}`;
1352
+ isWritable: boolean;
1353
+ }[];
1354
+ fallbackAddress: `0x${string}`;
1355
+ };
1356
+ __kind: "V0";
1357
+ }, {
1358
+ value: {
1359
+ cfReceiver: {
1360
+ pubkey: string;
1361
+ isWritable: boolean;
1362
+ };
1363
+ additionalAccounts: {
1364
+ pubkey: string;
1365
+ isWritable: boolean;
1366
+ }[];
1367
+ fallbackAddress: string;
1368
+ };
1369
+ __kind: "V0";
1370
+ }>, z.ZodObject<{
1371
+ __kind: z.ZodLiteral<"V1">;
1372
+ ccmAccounts: z.ZodObject<{
1373
+ cfReceiver: z.ZodObject<{
1374
+ pubkey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1375
+ isWritable: z.ZodBoolean;
1376
+ }, "strip", z.ZodTypeAny, {
1377
+ pubkey: `0x${string}`;
1378
+ isWritable: boolean;
1379
+ }, {
1380
+ pubkey: string;
1381
+ isWritable: boolean;
1382
+ }>;
1383
+ additionalAccounts: z.ZodArray<z.ZodObject<{
1384
+ pubkey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1385
+ isWritable: z.ZodBoolean;
1386
+ }, "strip", z.ZodTypeAny, {
1387
+ pubkey: `0x${string}`;
1388
+ isWritable: boolean;
1389
+ }, {
1390
+ pubkey: string;
1391
+ isWritable: boolean;
1392
+ }>, "many">;
1393
+ fallbackAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1394
+ }, "strip", z.ZodTypeAny, {
1395
+ cfReceiver: {
1396
+ pubkey: `0x${string}`;
1397
+ isWritable: boolean;
1398
+ };
1399
+ additionalAccounts: {
1400
+ pubkey: `0x${string}`;
1401
+ isWritable: boolean;
1402
+ }[];
1403
+ fallbackAddress: `0x${string}`;
1404
+ }, {
1405
+ cfReceiver: {
1406
+ pubkey: string;
1407
+ isWritable: boolean;
1408
+ };
1409
+ additionalAccounts: {
1410
+ pubkey: string;
1411
+ isWritable: boolean;
1412
+ }[];
1413
+ fallbackAddress: string;
1414
+ }>;
1415
+ alts: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
1416
+ }, "strip", z.ZodTypeAny, {
1417
+ __kind: "V1";
1418
+ ccmAccounts: {
1419
+ cfReceiver: {
1420
+ pubkey: `0x${string}`;
1421
+ isWritable: boolean;
1422
+ };
1423
+ additionalAccounts: {
1424
+ pubkey: `0x${string}`;
1425
+ isWritable: boolean;
1426
+ }[];
1427
+ fallbackAddress: `0x${string}`;
1428
+ };
1429
+ alts: `0x${string}`[];
1430
+ }, {
1431
+ __kind: "V1";
1432
+ ccmAccounts: {
1433
+ cfReceiver: {
1434
+ pubkey: string;
1435
+ isWritable: boolean;
1436
+ };
1437
+ additionalAccounts: {
1438
+ pubkey: string;
1439
+ isWritable: boolean;
1440
+ }[];
1441
+ fallbackAddress: string;
1442
+ };
1443
+ alts: string[];
1444
+ }>]>;
1445
+ }, "strip", z.ZodTypeAny, {
1446
+ value: {
1447
+ value: {
1448
+ cfReceiver: {
1449
+ pubkey: `0x${string}`;
1450
+ isWritable: boolean;
1451
+ };
1452
+ additionalAccounts: {
1453
+ pubkey: `0x${string}`;
1454
+ isWritable: boolean;
1455
+ }[];
1456
+ fallbackAddress: `0x${string}`;
1457
+ };
1458
+ __kind: "V0";
1459
+ } | {
1460
+ __kind: "V1";
1461
+ ccmAccounts: {
1462
+ cfReceiver: {
1463
+ pubkey: `0x${string}`;
1464
+ isWritable: boolean;
1465
+ };
1466
+ additionalAccounts: {
1467
+ pubkey: `0x${string}`;
1468
+ isWritable: boolean;
1469
+ }[];
1470
+ fallbackAddress: `0x${string}`;
1471
+ };
1472
+ alts: `0x${string}`[];
1473
+ };
1474
+ __kind: "Solana";
1475
+ }, {
1476
+ value: {
1477
+ value: {
1478
+ cfReceiver: {
1479
+ pubkey: string;
1480
+ isWritable: boolean;
1481
+ };
1482
+ additionalAccounts: {
1483
+ pubkey: string;
1484
+ isWritable: boolean;
1485
+ }[];
1486
+ fallbackAddress: string;
1487
+ };
1488
+ __kind: "V0";
1489
+ } | {
1490
+ __kind: "V1";
1491
+ ccmAccounts: {
1492
+ cfReceiver: {
1493
+ pubkey: string;
1494
+ isWritable: boolean;
1495
+ };
1496
+ additionalAccounts: {
1497
+ pubkey: string;
1498
+ isWritable: boolean;
1499
+ }[];
1500
+ fallbackAddress: string;
1501
+ };
1502
+ alts: string[];
1503
+ };
1504
+ __kind: "Solana";
1505
+ }>]>;
1506
+ }, "strip", z.ZodTypeAny, {
1507
+ message: `0x${string}`;
1508
+ gasBudget: bigint;
1509
+ ccmAdditionalData: {
1510
+ __kind: "NotRequired";
1511
+ } | {
1512
+ value: {
1513
+ value: {
1514
+ cfReceiver: {
1515
+ pubkey: `0x${string}`;
1516
+ isWritable: boolean;
1517
+ };
1518
+ additionalAccounts: {
1519
+ pubkey: `0x${string}`;
1520
+ isWritable: boolean;
1521
+ }[];
1522
+ fallbackAddress: `0x${string}`;
1523
+ };
1524
+ __kind: "V0";
1525
+ } | {
1526
+ __kind: "V1";
1527
+ ccmAccounts: {
1528
+ cfReceiver: {
1529
+ pubkey: `0x${string}`;
1530
+ isWritable: boolean;
1531
+ };
1532
+ additionalAccounts: {
1533
+ pubkey: `0x${string}`;
1534
+ isWritable: boolean;
1535
+ }[];
1536
+ fallbackAddress: `0x${string}`;
1537
+ };
1538
+ alts: `0x${string}`[];
1539
+ };
1540
+ __kind: "Solana";
1541
+ };
1542
+ }, {
1543
+ message: string;
1544
+ gasBudget: string | number;
1545
+ ccmAdditionalData: {
1546
+ __kind: "NotRequired";
1547
+ } | {
1548
+ value: {
1549
+ value: {
1550
+ cfReceiver: {
1551
+ pubkey: string;
1552
+ isWritable: boolean;
1553
+ };
1554
+ additionalAccounts: {
1555
+ pubkey: string;
1556
+ isWritable: boolean;
1557
+ }[];
1558
+ fallbackAddress: string;
1559
+ };
1560
+ __kind: "V0";
1561
+ } | {
1562
+ __kind: "V1";
1563
+ ccmAccounts: {
1564
+ cfReceiver: {
1565
+ pubkey: string;
1566
+ isWritable: boolean;
1567
+ };
1568
+ additionalAccounts: {
1569
+ pubkey: string;
1570
+ isWritable: boolean;
1571
+ }[];
1572
+ fallbackAddress: string;
1573
+ };
1574
+ alts: string[];
1575
+ };
1576
+ __kind: "Solana";
1577
+ };
1578
+ }>;
1579
+ sourceChain: z.ZodEffects<z.ZodObject<{
1580
+ __kind: z.ZodEnum<["Ethereum", "Polkadot", "Bitcoin", "Arbitrum", "Solana", "Assethub"]>;
1581
+ }, "strip", z.ZodTypeAny, {
1582
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
1583
+ }, {
1584
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
1585
+ }>, "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub", {
1586
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
1587
+ }>;
1588
+ sourceAddress: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1589
+ __kind: z.ZodLiteral<"Eth">;
1590
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1591
+ }, "strip", z.ZodTypeAny, {
1592
+ value: `0x${string}`;
1593
+ __kind: "Eth";
1594
+ }, {
1595
+ value: string;
1596
+ __kind: "Eth";
1597
+ }>, z.ZodObject<{
1598
+ __kind: z.ZodLiteral<"Dot">;
1599
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1600
+ }, "strip", z.ZodTypeAny, {
1601
+ value: `0x${string}`;
1602
+ __kind: "Dot";
1603
+ }, {
1604
+ value: string;
1605
+ __kind: "Dot";
1606
+ }>, z.ZodObject<{
1607
+ __kind: z.ZodLiteral<"Btc">;
1608
+ value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1609
+ __kind: z.ZodLiteral<"P2PKH">;
1610
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1611
+ }, "strip", z.ZodTypeAny, {
1612
+ value: `0x${string}`;
1613
+ __kind: "P2PKH";
1614
+ }, {
1615
+ value: string;
1616
+ __kind: "P2PKH";
1617
+ }>, z.ZodObject<{
1618
+ __kind: z.ZodLiteral<"P2SH">;
1619
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1620
+ }, "strip", z.ZodTypeAny, {
1621
+ value: `0x${string}`;
1622
+ __kind: "P2SH";
1623
+ }, {
1624
+ value: string;
1625
+ __kind: "P2SH";
1626
+ }>, z.ZodObject<{
1627
+ __kind: z.ZodLiteral<"P2WPKH">;
1628
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1629
+ }, "strip", z.ZodTypeAny, {
1630
+ value: `0x${string}`;
1631
+ __kind: "P2WPKH";
1632
+ }, {
1633
+ value: string;
1634
+ __kind: "P2WPKH";
1635
+ }>, z.ZodObject<{
1636
+ __kind: z.ZodLiteral<"P2WSH">;
1637
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1638
+ }, "strip", z.ZodTypeAny, {
1639
+ value: `0x${string}`;
1640
+ __kind: "P2WSH";
1641
+ }, {
1642
+ value: string;
1643
+ __kind: "P2WSH";
1644
+ }>, z.ZodObject<{
1645
+ __kind: z.ZodLiteral<"Taproot">;
1646
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1647
+ }, "strip", z.ZodTypeAny, {
1648
+ value: `0x${string}`;
1649
+ __kind: "Taproot";
1650
+ }, {
1651
+ value: string;
1652
+ __kind: "Taproot";
1653
+ }>, z.ZodObject<{
1654
+ __kind: z.ZodLiteral<"OtherSegwit">;
1655
+ version: z.ZodNumber;
1656
+ program: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1657
+ }, "strip", z.ZodTypeAny, {
1658
+ __kind: "OtherSegwit";
1659
+ version: number;
1660
+ program: `0x${string}`;
1661
+ }, {
1662
+ __kind: "OtherSegwit";
1663
+ version: number;
1664
+ program: string;
1665
+ }>]>;
1666
+ }, "strip", z.ZodTypeAny, {
1667
+ value: {
1668
+ value: `0x${string}`;
1669
+ __kind: "P2PKH";
1670
+ } | {
1671
+ value: `0x${string}`;
1672
+ __kind: "P2SH";
1673
+ } | {
1674
+ value: `0x${string}`;
1675
+ __kind: "P2WPKH";
1676
+ } | {
1677
+ value: `0x${string}`;
1678
+ __kind: "P2WSH";
1679
+ } | {
1680
+ value: `0x${string}`;
1681
+ __kind: "Taproot";
1682
+ } | {
1683
+ __kind: "OtherSegwit";
1684
+ version: number;
1685
+ program: `0x${string}`;
1686
+ };
1687
+ __kind: "Btc";
1688
+ }, {
1689
+ value: {
1690
+ value: string;
1691
+ __kind: "P2PKH";
1692
+ } | {
1693
+ value: string;
1694
+ __kind: "P2SH";
1695
+ } | {
1696
+ value: string;
1697
+ __kind: "P2WPKH";
1698
+ } | {
1699
+ value: string;
1700
+ __kind: "P2WSH";
1701
+ } | {
1702
+ value: string;
1703
+ __kind: "Taproot";
1704
+ } | {
1705
+ __kind: "OtherSegwit";
1706
+ version: number;
1707
+ program: string;
1708
+ };
1709
+ __kind: "Btc";
1710
+ }>, z.ZodObject<{
1711
+ __kind: z.ZodLiteral<"Arb">;
1712
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1713
+ }, "strip", z.ZodTypeAny, {
1714
+ value: `0x${string}`;
1715
+ __kind: "Arb";
1716
+ }, {
1717
+ value: string;
1718
+ __kind: "Arb";
1719
+ }>, z.ZodObject<{
1720
+ __kind: z.ZodLiteral<"Sol">;
1721
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1722
+ }, "strip", z.ZodTypeAny, {
1723
+ value: `0x${string}`;
1724
+ __kind: "Sol";
1725
+ }, {
1726
+ value: string;
1727
+ __kind: "Sol";
1728
+ }>, z.ZodObject<{
1729
+ __kind: z.ZodLiteral<"Hub">;
1730
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1731
+ }, "strip", z.ZodTypeAny, {
1732
+ value: `0x${string}`;
1733
+ __kind: "Hub";
1734
+ }, {
1735
+ value: string;
1736
+ __kind: "Hub";
1737
+ }>]>>>;
1738
+ }, "strip", z.ZodTypeAny, {
1739
+ channelMetadata: {
1740
+ message: `0x${string}`;
1741
+ gasBudget: bigint;
1742
+ ccmAdditionalData: {
1743
+ __kind: "NotRequired";
1744
+ } | {
1745
+ value: {
1746
+ value: {
1747
+ cfReceiver: {
1748
+ pubkey: `0x${string}`;
1749
+ isWritable: boolean;
1750
+ };
1751
+ additionalAccounts: {
1752
+ pubkey: `0x${string}`;
1753
+ isWritable: boolean;
1754
+ }[];
1755
+ fallbackAddress: `0x${string}`;
1756
+ };
1757
+ __kind: "V0";
1758
+ } | {
1759
+ __kind: "V1";
1760
+ ccmAccounts: {
1761
+ cfReceiver: {
1762
+ pubkey: `0x${string}`;
1763
+ isWritable: boolean;
1764
+ };
1765
+ additionalAccounts: {
1766
+ pubkey: `0x${string}`;
1767
+ isWritable: boolean;
1768
+ }[];
1769
+ fallbackAddress: `0x${string}`;
1770
+ };
1771
+ alts: `0x${string}`[];
1772
+ };
1773
+ __kind: "Solana";
1774
+ };
1775
+ };
1776
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
1777
+ sourceAddress?: {
1778
+ value: `0x${string}`;
1779
+ __kind: "Eth";
1780
+ } | {
1781
+ value: `0x${string}`;
1782
+ __kind: "Dot";
1783
+ } | {
1784
+ value: {
1785
+ value: `0x${string}`;
1786
+ __kind: "P2PKH";
1787
+ } | {
1788
+ value: `0x${string}`;
1789
+ __kind: "P2SH";
1790
+ } | {
1791
+ value: `0x${string}`;
1792
+ __kind: "P2WPKH";
1793
+ } | {
1794
+ value: `0x${string}`;
1795
+ __kind: "P2WSH";
1796
+ } | {
1797
+ value: `0x${string}`;
1798
+ __kind: "Taproot";
1799
+ } | {
1800
+ __kind: "OtherSegwit";
1801
+ version: number;
1802
+ program: `0x${string}`;
1803
+ };
1804
+ __kind: "Btc";
1805
+ } | {
1806
+ value: `0x${string}`;
1807
+ __kind: "Arb";
1808
+ } | {
1809
+ value: `0x${string}`;
1810
+ __kind: "Sol";
1811
+ } | {
1812
+ value: `0x${string}`;
1813
+ __kind: "Hub";
1814
+ } | null | undefined;
1815
+ }, {
1816
+ channelMetadata: {
1817
+ message: string;
1818
+ gasBudget: string | number;
1819
+ ccmAdditionalData: {
1820
+ __kind: "NotRequired";
1821
+ } | {
1822
+ value: {
1823
+ value: {
1824
+ cfReceiver: {
1825
+ pubkey: string;
1826
+ isWritable: boolean;
1827
+ };
1828
+ additionalAccounts: {
1829
+ pubkey: string;
1830
+ isWritable: boolean;
1831
+ }[];
1832
+ fallbackAddress: string;
1833
+ };
1834
+ __kind: "V0";
1835
+ } | {
1836
+ __kind: "V1";
1837
+ ccmAccounts: {
1838
+ cfReceiver: {
1839
+ pubkey: string;
1840
+ isWritable: boolean;
1841
+ };
1842
+ additionalAccounts: {
1843
+ pubkey: string;
1844
+ isWritable: boolean;
1845
+ }[];
1846
+ fallbackAddress: string;
1847
+ };
1848
+ alts: string[];
1849
+ };
1850
+ __kind: "Solana";
1851
+ };
1852
+ };
1853
+ sourceChain: {
1854
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
1855
+ };
1856
+ sourceAddress?: {
1857
+ value: string;
1858
+ __kind: "Eth";
1859
+ } | {
1860
+ value: string;
1861
+ __kind: "Dot";
1862
+ } | {
1863
+ value: {
1864
+ value: string;
1865
+ __kind: "P2PKH";
1866
+ } | {
1867
+ value: string;
1868
+ __kind: "P2SH";
1869
+ } | {
1870
+ value: string;
1871
+ __kind: "P2WPKH";
1872
+ } | {
1873
+ value: string;
1874
+ __kind: "P2WSH";
1875
+ } | {
1876
+ value: string;
1877
+ __kind: "Taproot";
1878
+ } | {
1879
+ __kind: "OtherSegwit";
1880
+ version: number;
1881
+ program: string;
1882
+ };
1883
+ __kind: "Btc";
1884
+ } | {
1885
+ value: string;
1886
+ __kind: "Arb";
1887
+ } | {
1888
+ value: string;
1889
+ __kind: "Sol";
1890
+ } | {
1891
+ value: string;
1892
+ __kind: "Hub";
1893
+ } | null | undefined;
1894
+ }>>>;
1895
+ }, "strip", z.ZodTypeAny, {
1896
+ __kind: "RefundIfExpires";
1897
+ retryDuration: number;
1898
+ refundAddress: {
1899
+ value: string;
1900
+ __kind: "InternalAccount";
1901
+ } | {
1902
+ value: {
1903
+ value: `0x${string}`;
1904
+ __kind: "Eth";
1905
+ } | {
1906
+ value: `0x${string}`;
1907
+ __kind: "Dot";
1908
+ } | {
1909
+ value: {
1910
+ value: `0x${string}`;
1911
+ __kind: "P2PKH";
1912
+ } | {
1913
+ value: `0x${string}`;
1914
+ __kind: "P2SH";
1915
+ } | {
1916
+ value: `0x${string}`;
1917
+ __kind: "P2WPKH";
1918
+ } | {
1919
+ value: `0x${string}`;
1920
+ __kind: "P2WSH";
1921
+ } | {
1922
+ value: `0x${string}`;
1923
+ __kind: "Taproot";
1924
+ } | {
1925
+ __kind: "OtherSegwit";
1926
+ version: number;
1927
+ program: `0x${string}`;
1928
+ };
1929
+ __kind: "Btc";
1930
+ } | {
1931
+ value: `0x${string}`;
1932
+ __kind: "Arb";
1933
+ } | {
1934
+ value: `0x${string}`;
1935
+ __kind: "Sol";
1936
+ } | {
1937
+ value: `0x${string}`;
1938
+ __kind: "Hub";
1939
+ };
1940
+ __kind: "ExternalAddress";
1941
+ };
1942
+ refundCcmMetadata?: {
1943
+ channelMetadata: {
1944
+ message: `0x${string}`;
1945
+ gasBudget: bigint;
1946
+ ccmAdditionalData: {
1947
+ __kind: "NotRequired";
1948
+ } | {
1949
+ value: {
1950
+ value: {
1951
+ cfReceiver: {
1952
+ pubkey: `0x${string}`;
1953
+ isWritable: boolean;
1954
+ };
1955
+ additionalAccounts: {
1956
+ pubkey: `0x${string}`;
1957
+ isWritable: boolean;
1958
+ }[];
1959
+ fallbackAddress: `0x${string}`;
1960
+ };
1961
+ __kind: "V0";
1962
+ } | {
1963
+ __kind: "V1";
1964
+ ccmAccounts: {
1965
+ cfReceiver: {
1966
+ pubkey: `0x${string}`;
1967
+ isWritable: boolean;
1968
+ };
1969
+ additionalAccounts: {
1970
+ pubkey: `0x${string}`;
1971
+ isWritable: boolean;
1972
+ }[];
1973
+ fallbackAddress: `0x${string}`;
1974
+ };
1975
+ alts: `0x${string}`[];
1976
+ };
1977
+ __kind: "Solana";
1978
+ };
1979
+ };
1980
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
1981
+ sourceAddress?: {
1982
+ value: `0x${string}`;
1983
+ __kind: "Eth";
1984
+ } | {
1985
+ value: `0x${string}`;
1986
+ __kind: "Dot";
1987
+ } | {
1988
+ value: {
1989
+ value: `0x${string}`;
1990
+ __kind: "P2PKH";
1991
+ } | {
1992
+ value: `0x${string}`;
1993
+ __kind: "P2SH";
1994
+ } | {
1995
+ value: `0x${string}`;
1996
+ __kind: "P2WPKH";
1997
+ } | {
1998
+ value: `0x${string}`;
1999
+ __kind: "P2WSH";
2000
+ } | {
2001
+ value: `0x${string}`;
2002
+ __kind: "Taproot";
2003
+ } | {
2004
+ __kind: "OtherSegwit";
2005
+ version: number;
2006
+ program: `0x${string}`;
2007
+ };
2008
+ __kind: "Btc";
2009
+ } | {
2010
+ value: `0x${string}`;
2011
+ __kind: "Arb";
2012
+ } | {
2013
+ value: `0x${string}`;
2014
+ __kind: "Sol";
2015
+ } | {
2016
+ value: `0x${string}`;
2017
+ __kind: "Hub";
2018
+ } | null | undefined;
2019
+ } | null | undefined;
2020
+ }, {
2021
+ __kind: "RefundIfExpires";
2022
+ retryDuration: number;
2023
+ refundAddress: {
2024
+ value: string;
2025
+ __kind: "InternalAccount";
2026
+ } | {
2027
+ value: {
2028
+ value: string;
2029
+ __kind: "Eth";
2030
+ } | {
2031
+ value: string;
2032
+ __kind: "Dot";
2033
+ } | {
2034
+ value: {
2035
+ value: string;
2036
+ __kind: "P2PKH";
2037
+ } | {
2038
+ value: string;
2039
+ __kind: "P2SH";
2040
+ } | {
2041
+ value: string;
2042
+ __kind: "P2WPKH";
2043
+ } | {
2044
+ value: string;
2045
+ __kind: "P2WSH";
2046
+ } | {
2047
+ value: string;
2048
+ __kind: "Taproot";
2049
+ } | {
2050
+ __kind: "OtherSegwit";
2051
+ version: number;
2052
+ program: string;
2053
+ };
2054
+ __kind: "Btc";
2055
+ } | {
2056
+ value: string;
2057
+ __kind: "Arb";
2058
+ } | {
2059
+ value: string;
2060
+ __kind: "Sol";
2061
+ } | {
2062
+ value: string;
2063
+ __kind: "Hub";
2064
+ };
2065
+ __kind: "ExternalAddress";
2066
+ };
2067
+ refundCcmMetadata?: {
2068
+ channelMetadata: {
2069
+ message: string;
2070
+ gasBudget: string | number;
2071
+ ccmAdditionalData: {
2072
+ __kind: "NotRequired";
2073
+ } | {
2074
+ value: {
2075
+ value: {
2076
+ cfReceiver: {
2077
+ pubkey: string;
2078
+ isWritable: boolean;
2079
+ };
2080
+ additionalAccounts: {
2081
+ pubkey: string;
2082
+ isWritable: boolean;
2083
+ }[];
2084
+ fallbackAddress: string;
2085
+ };
2086
+ __kind: "V0";
2087
+ } | {
2088
+ __kind: "V1";
2089
+ ccmAccounts: {
2090
+ cfReceiver: {
2091
+ pubkey: string;
2092
+ isWritable: boolean;
2093
+ };
2094
+ additionalAccounts: {
2095
+ pubkey: string;
2096
+ isWritable: boolean;
2097
+ }[];
2098
+ fallbackAddress: string;
2099
+ };
2100
+ alts: string[];
2101
+ };
2102
+ __kind: "Solana";
2103
+ };
2104
+ };
2105
+ sourceChain: {
2106
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
2107
+ };
2108
+ sourceAddress?: {
2109
+ value: string;
2110
+ __kind: "Eth";
2111
+ } | {
2112
+ value: string;
2113
+ __kind: "Dot";
2114
+ } | {
2115
+ value: {
2116
+ value: string;
2117
+ __kind: "P2PKH";
2118
+ } | {
2119
+ value: string;
2120
+ __kind: "P2SH";
2121
+ } | {
2122
+ value: string;
2123
+ __kind: "P2WPKH";
2124
+ } | {
2125
+ value: string;
2126
+ __kind: "P2WSH";
2127
+ } | {
2128
+ value: string;
2129
+ __kind: "Taproot";
2130
+ } | {
2131
+ __kind: "OtherSegwit";
2132
+ version: number;
2133
+ program: string;
2134
+ };
2135
+ __kind: "Btc";
2136
+ } | {
2137
+ value: string;
2138
+ __kind: "Arb";
2139
+ } | {
2140
+ value: string;
2141
+ __kind: "Sol";
2142
+ } | {
2143
+ value: string;
2144
+ __kind: "Hub";
2145
+ } | null | undefined;
2146
+ } | null | undefined;
2147
+ }>]>;
2148
+ minPrice: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2149
+ maxOraclePriceSlippage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2150
+ }, "strip", z.ZodTypeAny, {
2151
+ expiryBehaviour: {
2152
+ __kind: "NoExpiry";
2153
+ } | {
2154
+ __kind: "RefundIfExpires";
2155
+ retryDuration: number;
2156
+ refundAddress: {
2157
+ value: string;
2158
+ __kind: "InternalAccount";
2159
+ } | {
2160
+ value: {
2161
+ value: `0x${string}`;
2162
+ __kind: "Eth";
2163
+ } | {
2164
+ value: `0x${string}`;
2165
+ __kind: "Dot";
2166
+ } | {
2167
+ value: {
2168
+ value: `0x${string}`;
2169
+ __kind: "P2PKH";
2170
+ } | {
2171
+ value: `0x${string}`;
2172
+ __kind: "P2SH";
2173
+ } | {
2174
+ value: `0x${string}`;
2175
+ __kind: "P2WPKH";
2176
+ } | {
2177
+ value: `0x${string}`;
2178
+ __kind: "P2WSH";
2179
+ } | {
2180
+ value: `0x${string}`;
2181
+ __kind: "Taproot";
2182
+ } | {
2183
+ __kind: "OtherSegwit";
2184
+ version: number;
2185
+ program: `0x${string}`;
2186
+ };
2187
+ __kind: "Btc";
2188
+ } | {
2189
+ value: `0x${string}`;
2190
+ __kind: "Arb";
2191
+ } | {
2192
+ value: `0x${string}`;
2193
+ __kind: "Sol";
2194
+ } | {
2195
+ value: `0x${string}`;
2196
+ __kind: "Hub";
2197
+ };
2198
+ __kind: "ExternalAddress";
2199
+ };
2200
+ refundCcmMetadata?: {
2201
+ channelMetadata: {
2202
+ message: `0x${string}`;
2203
+ gasBudget: bigint;
2204
+ ccmAdditionalData: {
2205
+ __kind: "NotRequired";
2206
+ } | {
2207
+ value: {
2208
+ value: {
2209
+ cfReceiver: {
2210
+ pubkey: `0x${string}`;
2211
+ isWritable: boolean;
2212
+ };
2213
+ additionalAccounts: {
2214
+ pubkey: `0x${string}`;
2215
+ isWritable: boolean;
2216
+ }[];
2217
+ fallbackAddress: `0x${string}`;
2218
+ };
2219
+ __kind: "V0";
2220
+ } | {
2221
+ __kind: "V1";
2222
+ ccmAccounts: {
2223
+ cfReceiver: {
2224
+ pubkey: `0x${string}`;
2225
+ isWritable: boolean;
2226
+ };
2227
+ additionalAccounts: {
2228
+ pubkey: `0x${string}`;
2229
+ isWritable: boolean;
2230
+ }[];
2231
+ fallbackAddress: `0x${string}`;
2232
+ };
2233
+ alts: `0x${string}`[];
2234
+ };
2235
+ __kind: "Solana";
2236
+ };
2237
+ };
2238
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
2239
+ sourceAddress?: {
2240
+ value: `0x${string}`;
2241
+ __kind: "Eth";
2242
+ } | {
2243
+ value: `0x${string}`;
2244
+ __kind: "Dot";
2245
+ } | {
2246
+ value: {
2247
+ value: `0x${string}`;
2248
+ __kind: "P2PKH";
2249
+ } | {
2250
+ value: `0x${string}`;
2251
+ __kind: "P2SH";
2252
+ } | {
2253
+ value: `0x${string}`;
2254
+ __kind: "P2WPKH";
2255
+ } | {
2256
+ value: `0x${string}`;
2257
+ __kind: "P2WSH";
2258
+ } | {
2259
+ value: `0x${string}`;
2260
+ __kind: "Taproot";
2261
+ } | {
2262
+ __kind: "OtherSegwit";
2263
+ version: number;
2264
+ program: `0x${string}`;
2265
+ };
2266
+ __kind: "Btc";
2267
+ } | {
2268
+ value: `0x${string}`;
2269
+ __kind: "Arb";
2270
+ } | {
2271
+ value: `0x${string}`;
2272
+ __kind: "Sol";
2273
+ } | {
2274
+ value: `0x${string}`;
2275
+ __kind: "Hub";
2276
+ } | null | undefined;
2277
+ } | null | undefined;
2278
+ };
2279
+ minPrice: bigint;
2280
+ maxOraclePriceSlippage?: number | null | undefined;
2281
+ }, {
2282
+ expiryBehaviour: {
2283
+ __kind: "NoExpiry";
2284
+ } | {
2285
+ __kind: "RefundIfExpires";
2286
+ retryDuration: number;
2287
+ refundAddress: {
2288
+ value: string;
2289
+ __kind: "InternalAccount";
2290
+ } | {
2291
+ value: {
2292
+ value: string;
2293
+ __kind: "Eth";
2294
+ } | {
2295
+ value: string;
2296
+ __kind: "Dot";
2297
+ } | {
2298
+ value: {
2299
+ value: string;
2300
+ __kind: "P2PKH";
2301
+ } | {
2302
+ value: string;
2303
+ __kind: "P2SH";
2304
+ } | {
2305
+ value: string;
2306
+ __kind: "P2WPKH";
2307
+ } | {
2308
+ value: string;
2309
+ __kind: "P2WSH";
2310
+ } | {
2311
+ value: string;
2312
+ __kind: "Taproot";
2313
+ } | {
2314
+ __kind: "OtherSegwit";
2315
+ version: number;
2316
+ program: string;
2317
+ };
2318
+ __kind: "Btc";
2319
+ } | {
2320
+ value: string;
2321
+ __kind: "Arb";
2322
+ } | {
2323
+ value: string;
2324
+ __kind: "Sol";
2325
+ } | {
2326
+ value: string;
2327
+ __kind: "Hub";
2328
+ };
2329
+ __kind: "ExternalAddress";
2330
+ };
2331
+ refundCcmMetadata?: {
2332
+ channelMetadata: {
2333
+ message: string;
2334
+ gasBudget: string | number;
2335
+ ccmAdditionalData: {
2336
+ __kind: "NotRequired";
2337
+ } | {
2338
+ value: {
2339
+ value: {
2340
+ cfReceiver: {
2341
+ pubkey: string;
2342
+ isWritable: boolean;
2343
+ };
2344
+ additionalAccounts: {
2345
+ pubkey: string;
2346
+ isWritable: boolean;
2347
+ }[];
2348
+ fallbackAddress: string;
2349
+ };
2350
+ __kind: "V0";
2351
+ } | {
2352
+ __kind: "V1";
2353
+ ccmAccounts: {
2354
+ cfReceiver: {
2355
+ pubkey: string;
2356
+ isWritable: boolean;
2357
+ };
2358
+ additionalAccounts: {
2359
+ pubkey: string;
2360
+ isWritable: boolean;
2361
+ }[];
2362
+ fallbackAddress: string;
2363
+ };
2364
+ alts: string[];
2365
+ };
2366
+ __kind: "Solana";
2367
+ };
2368
+ };
2369
+ sourceChain: {
2370
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
2371
+ };
2372
+ sourceAddress?: {
2373
+ value: string;
2374
+ __kind: "Eth";
2375
+ } | {
2376
+ value: string;
2377
+ __kind: "Dot";
2378
+ } | {
2379
+ value: {
2380
+ value: string;
2381
+ __kind: "P2PKH";
2382
+ } | {
2383
+ value: string;
2384
+ __kind: "P2SH";
2385
+ } | {
2386
+ value: string;
2387
+ __kind: "P2WPKH";
2388
+ } | {
2389
+ value: string;
2390
+ __kind: "P2WSH";
2391
+ } | {
2392
+ value: string;
2393
+ __kind: "Taproot";
2394
+ } | {
2395
+ __kind: "OtherSegwit";
2396
+ version: number;
2397
+ program: string;
2398
+ };
2399
+ __kind: "Btc";
2400
+ } | {
2401
+ value: string;
2402
+ __kind: "Arb";
2403
+ } | {
2404
+ value: string;
2405
+ __kind: "Sol";
2406
+ } | {
2407
+ value: string;
2408
+ __kind: "Hub";
2409
+ } | null | undefined;
2410
+ } | null | undefined;
2411
+ };
2412
+ minPrice: string | number;
2413
+ maxOraclePriceSlippage?: number | null | undefined;
2414
+ }>>>;
2415
+ dcaParameters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2416
+ numberOfChunks: z.ZodNumber;
2417
+ chunkInterval: z.ZodNumber;
2418
+ }, "strip", z.ZodTypeAny, {
2419
+ numberOfChunks: number;
2420
+ chunkInterval: number;
2421
+ }, {
2422
+ numberOfChunks: number;
2423
+ chunkInterval: number;
2424
+ }>>>;
2425
+ }, "strip", z.ZodTypeAny, {
2426
+ swapRequestId: bigint;
2427
+ inputAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
2428
+ inputAmount: bigint;
2429
+ outputAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
2430
+ origin: {
2431
+ __kind: "DepositChannel";
2432
+ depositAddress: {
2433
+ readonly chain: "Ethereum";
2434
+ readonly address: `0x${string}`;
2435
+ } | {
2436
+ readonly chain: "Polkadot";
2437
+ readonly address: string;
2438
+ } | {
2439
+ readonly chain: "Bitcoin";
2440
+ readonly address: string;
2441
+ } | {
2442
+ readonly chain: "Arbitrum";
2443
+ readonly address: `0x${string}`;
2444
+ } | {
2445
+ readonly chain: "Solana";
2446
+ readonly address: string;
2447
+ } | {
2448
+ readonly chain: "Assethub";
2449
+ readonly address: string;
2450
+ };
2451
+ channelId: bigint;
2452
+ depositBlockHeight: bigint;
2453
+ brokerId: string;
2454
+ } | {
2455
+ __kind: "Vault";
2456
+ txId: {
2457
+ value: `0x${string}`;
2458
+ __kind: "Evm";
2459
+ } | {
2460
+ value: `0x${string}`;
2461
+ __kind: "Bitcoin";
2462
+ } | {
2463
+ value: {
2464
+ blockNumber: number;
2465
+ extrinsicIndex: number;
2466
+ };
2467
+ __kind: "Polkadot";
2468
+ } | {
2469
+ value: [`0x${string}`, bigint];
2470
+ __kind: "Solana";
2471
+ } | {
2472
+ __kind: "None";
2473
+ };
2474
+ brokerId?: string | null | undefined;
2475
+ } | {
2476
+ __kind: "Internal";
2477
+ } | {
2478
+ value: string;
2479
+ __kind: "OnChainAccount";
2480
+ };
2481
+ requestType: {
2482
+ __kind: "NetworkFee";
2483
+ } | {
2484
+ __kind: "IngressEgressFee";
2485
+ } | {
2486
+ __kind: "Regular";
2487
+ outputAction: {
2488
+ __kind: "Egress";
2489
+ outputAddress: {
2490
+ readonly chain: "Ethereum";
2491
+ readonly address: `0x${string}`;
2492
+ } | {
2493
+ readonly chain: "Polkadot";
2494
+ readonly address: string;
2495
+ } | {
2496
+ readonly chain: "Bitcoin";
2497
+ readonly address: string;
2498
+ } | {
2499
+ readonly chain: "Arbitrum";
2500
+ readonly address: `0x${string}`;
2501
+ } | {
2502
+ readonly chain: "Solana";
2503
+ readonly address: string;
2504
+ } | {
2505
+ readonly chain: "Assethub";
2506
+ readonly address: string;
2507
+ };
2508
+ ccmDepositMetadata?: {
2509
+ channelMetadata: {
2510
+ message: `0x${string}`;
2511
+ gasBudget: bigint;
2512
+ ccmAdditionalData: {
2513
+ __kind: "NotRequired";
2514
+ } | {
2515
+ value: {
2516
+ value: {
2517
+ cfReceiver: {
2518
+ pubkey: `0x${string}`;
2519
+ isWritable: boolean;
2520
+ };
2521
+ additionalAccounts: {
2522
+ pubkey: `0x${string}`;
2523
+ isWritable: boolean;
2524
+ }[];
2525
+ fallbackAddress: `0x${string}`;
2526
+ };
2527
+ __kind: "V0";
2528
+ } | {
2529
+ __kind: "V1";
2530
+ ccmAccounts: {
2531
+ cfReceiver: {
2532
+ pubkey: `0x${string}`;
2533
+ isWritable: boolean;
2534
+ };
2535
+ additionalAccounts: {
2536
+ pubkey: `0x${string}`;
2537
+ isWritable: boolean;
2538
+ }[];
2539
+ fallbackAddress: `0x${string}`;
2540
+ };
2541
+ alts: `0x${string}`[];
2542
+ };
2543
+ __kind: "Solana";
2544
+ };
2545
+ };
2546
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
2547
+ sourceAddress?: {
2548
+ readonly chain: "Ethereum";
2549
+ readonly address: `0x${string}`;
2550
+ } | {
2551
+ readonly chain: "Polkadot";
2552
+ readonly address: string;
2553
+ } | {
2554
+ readonly chain: "Bitcoin";
2555
+ readonly address: string;
2556
+ } | {
2557
+ readonly chain: "Arbitrum";
2558
+ readonly address: `0x${string}`;
2559
+ } | {
2560
+ readonly chain: "Solana";
2561
+ readonly address: string;
2562
+ } | {
2563
+ readonly chain: "Assethub";
2564
+ readonly address: string;
2565
+ } | null | undefined;
2566
+ } | null | undefined;
2567
+ } | {
2568
+ __kind: "CreditOnChain";
2569
+ accountId: string;
2570
+ } | {
2571
+ __kind: "CreditLendingPool";
2572
+ swapType: {
2573
+ __kind: "Liquidation";
2574
+ borrowerId: string;
2575
+ loanId: bigint;
2576
+ };
2577
+ };
2578
+ };
2579
+ brokerFees: {
2580
+ account: string;
2581
+ bps: number;
2582
+ }[];
2583
+ priceLimitsAndExpiry?: {
2584
+ expiryBehaviour: {
2585
+ __kind: "NoExpiry";
2586
+ } | {
2587
+ __kind: "RefundIfExpires";
2588
+ retryDuration: number;
2589
+ refundAddress: {
2590
+ value: string;
2591
+ __kind: "InternalAccount";
2592
+ } | {
2593
+ value: {
2594
+ value: `0x${string}`;
2595
+ __kind: "Eth";
2596
+ } | {
2597
+ value: `0x${string}`;
2598
+ __kind: "Dot";
2599
+ } | {
2600
+ value: {
2601
+ value: `0x${string}`;
2602
+ __kind: "P2PKH";
2603
+ } | {
2604
+ value: `0x${string}`;
2605
+ __kind: "P2SH";
2606
+ } | {
2607
+ value: `0x${string}`;
2608
+ __kind: "P2WPKH";
2609
+ } | {
2610
+ value: `0x${string}`;
2611
+ __kind: "P2WSH";
2612
+ } | {
2613
+ value: `0x${string}`;
2614
+ __kind: "Taproot";
2615
+ } | {
2616
+ __kind: "OtherSegwit";
2617
+ version: number;
2618
+ program: `0x${string}`;
2619
+ };
2620
+ __kind: "Btc";
2621
+ } | {
2622
+ value: `0x${string}`;
2623
+ __kind: "Arb";
2624
+ } | {
2625
+ value: `0x${string}`;
2626
+ __kind: "Sol";
2627
+ } | {
2628
+ value: `0x${string}`;
2629
+ __kind: "Hub";
2630
+ };
2631
+ __kind: "ExternalAddress";
2632
+ };
2633
+ refundCcmMetadata?: {
2634
+ channelMetadata: {
2635
+ message: `0x${string}`;
2636
+ gasBudget: bigint;
2637
+ ccmAdditionalData: {
2638
+ __kind: "NotRequired";
2639
+ } | {
2640
+ value: {
2641
+ value: {
2642
+ cfReceiver: {
2643
+ pubkey: `0x${string}`;
2644
+ isWritable: boolean;
2645
+ };
2646
+ additionalAccounts: {
2647
+ pubkey: `0x${string}`;
2648
+ isWritable: boolean;
2649
+ }[];
2650
+ fallbackAddress: `0x${string}`;
2651
+ };
2652
+ __kind: "V0";
2653
+ } | {
2654
+ __kind: "V1";
2655
+ ccmAccounts: {
2656
+ cfReceiver: {
2657
+ pubkey: `0x${string}`;
2658
+ isWritable: boolean;
2659
+ };
2660
+ additionalAccounts: {
2661
+ pubkey: `0x${string}`;
2662
+ isWritable: boolean;
2663
+ }[];
2664
+ fallbackAddress: `0x${string}`;
2665
+ };
2666
+ alts: `0x${string}`[];
2667
+ };
2668
+ __kind: "Solana";
2669
+ };
2670
+ };
2671
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
2672
+ sourceAddress?: {
2673
+ value: `0x${string}`;
2674
+ __kind: "Eth";
2675
+ } | {
2676
+ value: `0x${string}`;
2677
+ __kind: "Dot";
2678
+ } | {
2679
+ value: {
2680
+ value: `0x${string}`;
2681
+ __kind: "P2PKH";
2682
+ } | {
2683
+ value: `0x${string}`;
2684
+ __kind: "P2SH";
2685
+ } | {
2686
+ value: `0x${string}`;
2687
+ __kind: "P2WPKH";
2688
+ } | {
2689
+ value: `0x${string}`;
2690
+ __kind: "P2WSH";
2691
+ } | {
2692
+ value: `0x${string}`;
2693
+ __kind: "Taproot";
2694
+ } | {
2695
+ __kind: "OtherSegwit";
2696
+ version: number;
2697
+ program: `0x${string}`;
2698
+ };
2699
+ __kind: "Btc";
2700
+ } | {
2701
+ value: `0x${string}`;
2702
+ __kind: "Arb";
2703
+ } | {
2704
+ value: `0x${string}`;
2705
+ __kind: "Sol";
2706
+ } | {
2707
+ value: `0x${string}`;
2708
+ __kind: "Hub";
2709
+ } | null | undefined;
2710
+ } | null | undefined;
2711
+ };
2712
+ minPrice: bigint;
2713
+ maxOraclePriceSlippage?: number | null | undefined;
2714
+ } | null | undefined;
2715
+ dcaParameters?: {
2716
+ numberOfChunks: number;
2717
+ chunkInterval: number;
2718
+ } | null | undefined;
2719
+ }, {
2720
+ swapRequestId: string | number;
2721
+ inputAsset: {
2722
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
2723
+ };
2724
+ inputAmount: string | number;
2725
+ outputAsset: {
2726
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
2727
+ };
2728
+ origin: {
2729
+ __kind: "DepositChannel";
2730
+ depositAddress: {
2731
+ value: string;
2732
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
2733
+ };
2734
+ channelId: string | number;
2735
+ depositBlockHeight: string | number;
2736
+ brokerId: string;
2737
+ } | {
2738
+ __kind: "Vault";
2739
+ txId: {
2740
+ value: string;
2741
+ __kind: "Evm";
2742
+ } | {
2743
+ value: string;
2744
+ __kind: "Bitcoin";
2745
+ } | {
2746
+ value: {
2747
+ blockNumber: number;
2748
+ extrinsicIndex: number;
2749
+ };
2750
+ __kind: "Polkadot";
2751
+ } | {
2752
+ value: [string, string | number];
2753
+ __kind: "Solana";
2754
+ } | {
2755
+ __kind: "None";
2756
+ };
2757
+ brokerId?: string | null | undefined;
2758
+ } | {
2759
+ __kind: "Internal";
2760
+ } | {
2761
+ value: string;
2762
+ __kind: "OnChainAccount";
2763
+ };
2764
+ requestType: {
2765
+ __kind: "NetworkFee";
2766
+ } | {
2767
+ __kind: "IngressEgressFee";
2768
+ } | {
2769
+ __kind: "Regular";
2770
+ outputAction: {
2771
+ __kind: "Egress";
2772
+ outputAddress: {
2773
+ value: string;
2774
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
2775
+ };
2776
+ ccmDepositMetadata?: {
2777
+ channelMetadata: {
2778
+ message: string;
2779
+ gasBudget: string | number;
2780
+ ccmAdditionalData: {
2781
+ __kind: "NotRequired";
2782
+ } | {
2783
+ value: {
2784
+ value: {
2785
+ cfReceiver: {
2786
+ pubkey: string;
2787
+ isWritable: boolean;
2788
+ };
2789
+ additionalAccounts: {
2790
+ pubkey: string;
2791
+ isWritable: boolean;
2792
+ }[];
2793
+ fallbackAddress: string;
2794
+ };
2795
+ __kind: "V0";
2796
+ } | {
2797
+ __kind: "V1";
2798
+ ccmAccounts: {
2799
+ cfReceiver: {
2800
+ pubkey: string;
2801
+ isWritable: boolean;
2802
+ };
2803
+ additionalAccounts: {
2804
+ pubkey: string;
2805
+ isWritable: boolean;
2806
+ }[];
2807
+ fallbackAddress: string;
2808
+ };
2809
+ alts: string[];
2810
+ };
2811
+ __kind: "Solana";
2812
+ };
2813
+ };
2814
+ sourceChain: {
2815
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
2816
+ };
2817
+ sourceAddress?: {
2818
+ value: string;
2819
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
2820
+ } | null | undefined;
2821
+ } | null | undefined;
2822
+ } | {
2823
+ __kind: "CreditOnChain";
2824
+ accountId: string;
2825
+ } | {
2826
+ __kind: "CreditLendingPool";
2827
+ swapType: {
2828
+ __kind: "Liquidation";
2829
+ borrowerId: string;
2830
+ loanId: string | number;
2831
+ };
2832
+ };
2833
+ };
2834
+ brokerFees: {
2835
+ account: string;
2836
+ bps: number;
2837
+ }[];
2838
+ priceLimitsAndExpiry?: {
2839
+ expiryBehaviour: {
2840
+ __kind: "NoExpiry";
2841
+ } | {
2842
+ __kind: "RefundIfExpires";
2843
+ retryDuration: number;
2844
+ refundAddress: {
2845
+ value: string;
2846
+ __kind: "InternalAccount";
2847
+ } | {
2848
+ value: {
2849
+ value: string;
2850
+ __kind: "Eth";
2851
+ } | {
2852
+ value: string;
2853
+ __kind: "Dot";
2854
+ } | {
2855
+ value: {
2856
+ value: string;
2857
+ __kind: "P2PKH";
2858
+ } | {
2859
+ value: string;
2860
+ __kind: "P2SH";
2861
+ } | {
2862
+ value: string;
2863
+ __kind: "P2WPKH";
2864
+ } | {
2865
+ value: string;
2866
+ __kind: "P2WSH";
2867
+ } | {
2868
+ value: string;
2869
+ __kind: "Taproot";
2870
+ } | {
2871
+ __kind: "OtherSegwit";
2872
+ version: number;
2873
+ program: string;
2874
+ };
2875
+ __kind: "Btc";
2876
+ } | {
2877
+ value: string;
2878
+ __kind: "Arb";
2879
+ } | {
2880
+ value: string;
2881
+ __kind: "Sol";
2882
+ } | {
2883
+ value: string;
2884
+ __kind: "Hub";
2885
+ };
2886
+ __kind: "ExternalAddress";
2887
+ };
2888
+ refundCcmMetadata?: {
2889
+ channelMetadata: {
2890
+ message: string;
2891
+ gasBudget: string | number;
2892
+ ccmAdditionalData: {
2893
+ __kind: "NotRequired";
2894
+ } | {
2895
+ value: {
2896
+ value: {
2897
+ cfReceiver: {
2898
+ pubkey: string;
2899
+ isWritable: boolean;
2900
+ };
2901
+ additionalAccounts: {
2902
+ pubkey: string;
2903
+ isWritable: boolean;
2904
+ }[];
2905
+ fallbackAddress: string;
2906
+ };
2907
+ __kind: "V0";
2908
+ } | {
2909
+ __kind: "V1";
2910
+ ccmAccounts: {
2911
+ cfReceiver: {
2912
+ pubkey: string;
2913
+ isWritable: boolean;
2914
+ };
2915
+ additionalAccounts: {
2916
+ pubkey: string;
2917
+ isWritable: boolean;
2918
+ }[];
2919
+ fallbackAddress: string;
2920
+ };
2921
+ alts: string[];
2922
+ };
2923
+ __kind: "Solana";
2924
+ };
2925
+ };
2926
+ sourceChain: {
2927
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
2928
+ };
2929
+ sourceAddress?: {
2930
+ value: string;
2931
+ __kind: "Eth";
2932
+ } | {
2933
+ value: string;
2934
+ __kind: "Dot";
2935
+ } | {
2936
+ value: {
2937
+ value: string;
2938
+ __kind: "P2PKH";
2939
+ } | {
2940
+ value: string;
2941
+ __kind: "P2SH";
2942
+ } | {
2943
+ value: string;
2944
+ __kind: "P2WPKH";
2945
+ } | {
2946
+ value: string;
2947
+ __kind: "P2WSH";
2948
+ } | {
2949
+ value: string;
2950
+ __kind: "Taproot";
2951
+ } | {
2952
+ __kind: "OtherSegwit";
2953
+ version: number;
2954
+ program: string;
2955
+ };
2956
+ __kind: "Btc";
2957
+ } | {
2958
+ value: string;
2959
+ __kind: "Arb";
2960
+ } | {
2961
+ value: string;
2962
+ __kind: "Sol";
2963
+ } | {
2964
+ value: string;
2965
+ __kind: "Hub";
2966
+ } | null | undefined;
2967
+ } | null | undefined;
2968
+ };
2969
+ minPrice: string | number;
2970
+ maxOraclePriceSlippage?: number | null | undefined;
2971
+ } | null | undefined;
2972
+ dcaParameters?: {
2973
+ numberOfChunks: number;
2974
+ chunkInterval: number;
2975
+ } | null | undefined;
2976
+ }>;
2977
+
2978
+ export { swappingSwapRequested };