@chainflip/processor 2.0.1 → 2.0.3

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 (283) hide show
  1. package/dist/100/ethereumBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
  2. package/dist/100/ethereumBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
  3. package/dist/100/swapping/batchSwapFailed.d.cts +8 -8
  4. package/dist/100/swapping/batchSwapFailed.d.ts +8 -8
  5. package/dist/100/swapping/ccmDepositReceived.d.cts +62 -62
  6. package/dist/100/swapping/ccmDepositReceived.d.ts +62 -62
  7. package/dist/100/swapping/ccmFailed.d.cts +62 -62
  8. package/dist/100/swapping/ccmFailed.d.ts +62 -62
  9. package/dist/100/swapping/minimumSwapAmountSet.d.cts +6 -6
  10. package/dist/100/swapping/minimumSwapAmountSet.d.ts +6 -6
  11. package/dist/100/swapping/swapAmountTooLow.d.cts +19 -19
  12. package/dist/100/swapping/swapAmountTooLow.d.ts +19 -19
  13. package/dist/100/swapping/swapDepositAddressReady.d.cts +26 -26
  14. package/dist/100/swapping/swapDepositAddressReady.d.ts +26 -26
  15. package/dist/100/swapping/swapEgressScheduled.d.cts +6 -6
  16. package/dist/100/swapping/swapEgressScheduled.d.ts +6 -6
  17. package/dist/100/swapping/swapExecuted.d.cts +12 -12
  18. package/dist/100/swapping/swapExecuted.d.ts +12 -12
  19. package/dist/100/swapping/swapScheduled.d.cts +91 -91
  20. package/dist/100/swapping/swapScheduled.d.ts +91 -91
  21. package/dist/100/swapping/withdrawalRequested.d.cts +4 -4
  22. package/dist/100/swapping/withdrawalRequested.d.ts +4 -4
  23. package/dist/100/system/extrinsicFailed.d.cts +16 -16
  24. package/dist/100/system/extrinsicFailed.d.ts +16 -16
  25. package/dist/100/witnesser/witnessExecutionFailed.d.cts +18 -18
  26. package/dist/100/witnesser/witnessExecutionFailed.d.ts +18 -18
  27. package/dist/11000/environment/runtimeSafeModeUpdated.d.cts +28 -28
  28. package/dist/11000/environment/runtimeSafeModeUpdated.d.ts +28 -28
  29. package/dist/11000/polkadotIngressEgress/ccmEgressInvalid.d.cts +107 -107
  30. package/dist/11000/polkadotIngressEgress/ccmEgressInvalid.d.ts +107 -107
  31. package/dist/11000/polkadotIngressEgress/depositFailed.d.cts +203 -203
  32. package/dist/11000/polkadotIngressEgress/depositFailed.d.ts +203 -203
  33. package/dist/11000/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +103 -103
  34. package/dist/11000/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +103 -103
  35. package/dist/11100/assethubIngressEgress/depositFailed.d.cts +30 -30
  36. package/dist/11100/assethubIngressEgress/depositFailed.d.ts +30 -30
  37. package/dist/11100/polkadotIngressEgress/depositFailed.d.cts +30 -30
  38. package/dist/11100/polkadotIngressEgress/depositFailed.d.ts +30 -30
  39. package/dist/11100/solanaIngressEgress/depositFailed.d.cts +166 -166
  40. package/dist/11100/solanaIngressEgress/depositFailed.d.ts +166 -166
  41. package/dist/11200/arbitrumIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  42. package/dist/11200/arbitrumIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  43. package/dist/11200/arbitrumIngressEgress/depositBoosted.d.cts +6 -6
  44. package/dist/11200/arbitrumIngressEgress/depositBoosted.d.ts +6 -6
  45. package/dist/11200/arbitrumIngressEgress/depositFailed.d.cts +184 -184
  46. package/dist/11200/arbitrumIngressEgress/depositFailed.d.ts +184 -184
  47. package/dist/11200/arbitrumIngressEgress/depositFinalised.d.cts +2 -2
  48. package/dist/11200/arbitrumIngressEgress/depositFinalised.d.ts +2 -2
  49. package/dist/11200/assethubIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  50. package/dist/11200/assethubIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  51. package/dist/11200/assethubIngressEgress/depositBoosted.d.cts +6 -6
  52. package/dist/11200/assethubIngressEgress/depositBoosted.d.ts +6 -6
  53. package/dist/11200/assethubIngressEgress/depositFailed.d.cts +184 -184
  54. package/dist/11200/assethubIngressEgress/depositFailed.d.ts +184 -184
  55. package/dist/11200/assethubIngressEgress/depositFinalised.d.cts +2 -2
  56. package/dist/11200/assethubIngressEgress/depositFinalised.d.ts +2 -2
  57. package/dist/11200/polkadotIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  58. package/dist/11200/polkadotIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  59. package/dist/11200/polkadotIngressEgress/depositBoosted.d.cts +6 -6
  60. package/dist/11200/polkadotIngressEgress/depositBoosted.d.ts +6 -6
  61. package/dist/11200/polkadotIngressEgress/depositFailed.d.cts +184 -184
  62. package/dist/11200/polkadotIngressEgress/depositFailed.d.ts +184 -184
  63. package/dist/11200/polkadotIngressEgress/depositFinalised.d.cts +2 -2
  64. package/dist/11200/polkadotIngressEgress/depositFinalised.d.ts +2 -2
  65. package/dist/131/swapping/batchSwapFailed.d.cts +8 -8
  66. package/dist/131/swapping/batchSwapFailed.d.ts +8 -8
  67. package/dist/131/swapping/maximumSwapAmountSet.d.cts +6 -6
  68. package/dist/131/swapping/maximumSwapAmountSet.d.ts +6 -6
  69. package/dist/131/swapping/swapAmountConfiscated.d.cts +12 -12
  70. package/dist/131/swapping/swapAmountConfiscated.d.ts +12 -12
  71. package/dist/131/swapping/swapDepositAddressReady.d.cts +18 -18
  72. package/dist/131/swapping/swapDepositAddressReady.d.ts +18 -18
  73. package/dist/131/swapping/swapEgressIgnored.d.cts +12 -12
  74. package/dist/131/swapping/swapEgressIgnored.d.ts +12 -12
  75. package/dist/131/swapping/swapEgressScheduled.d.cts +8 -8
  76. package/dist/131/swapping/swapEgressScheduled.d.ts +8 -8
  77. package/dist/131/swapping/swapExecuted.d.cts +12 -12
  78. package/dist/131/swapping/swapExecuted.d.ts +12 -12
  79. package/dist/131/swapping/swapScheduled.d.cts +14 -14
  80. package/dist/131/swapping/swapScheduled.d.ts +14 -14
  81. package/dist/131/swapping/withdrawalRequested.d.cts +6 -6
  82. package/dist/131/swapping/withdrawalRequested.d.ts +6 -6
  83. package/dist/141/arbitrumBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
  84. package/dist/141/arbitrumBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
  85. package/dist/141/liquidityProvider/accountCredited.d.cts +2 -2
  86. package/dist/141/liquidityProvider/accountCredited.d.ts +2 -2
  87. package/dist/141/liquidityProvider/accountDebited.d.cts +2 -2
  88. package/dist/141/liquidityProvider/accountDebited.d.ts +2 -2
  89. package/dist/141/liquidityProvider/assetTransferred.d.cts +3 -3
  90. package/dist/141/liquidityProvider/assetTransferred.d.ts +3 -3
  91. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
  92. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
  93. package/dist/141/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
  94. package/dist/141/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
  95. package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.cts +2 -2
  96. package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.ts +2 -2
  97. package/dist/141/swapping/batchSwapFailed.d.cts +8 -8
  98. package/dist/141/swapping/batchSwapFailed.d.ts +8 -8
  99. package/dist/141/swapping/ccmDepositReceived.d.cts +68 -68
  100. package/dist/141/swapping/ccmDepositReceived.d.ts +68 -68
  101. package/dist/141/swapping/ccmFailed.d.cts +73 -73
  102. package/dist/141/swapping/ccmFailed.d.ts +73 -73
  103. package/dist/141/swapping/maximumSwapAmountSet.d.cts +6 -6
  104. package/dist/141/swapping/maximumSwapAmountSet.d.ts +6 -6
  105. package/dist/141/swapping/swapAmountConfiscated.d.cts +12 -12
  106. package/dist/141/swapping/swapAmountConfiscated.d.ts +12 -12
  107. package/dist/141/swapping/swapDepositAddressReady.d.cts +26 -26
  108. package/dist/141/swapping/swapDepositAddressReady.d.ts +26 -26
  109. package/dist/141/swapping/swapEgressIgnored.d.cts +24 -24
  110. package/dist/141/swapping/swapEgressIgnored.d.ts +24 -24
  111. package/dist/141/swapping/swapEgressScheduled.d.cts +8 -8
  112. package/dist/141/swapping/swapEgressScheduled.d.ts +8 -8
  113. package/dist/141/swapping/swapExecuted.d.cts +90 -90
  114. package/dist/141/swapping/swapExecuted.d.ts +90 -90
  115. package/dist/141/swapping/swapScheduled.d.cts +99 -99
  116. package/dist/141/swapping/swapScheduled.d.ts +99 -99
  117. package/dist/141/swapping/withdrawalRequested.d.cts +10 -10
  118. package/dist/141/swapping/withdrawalRequested.d.ts +10 -10
  119. package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  120. package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.ts +2 -2
  121. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  122. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  123. package/dist/150/solanaBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
  124. package/dist/150/solanaBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
  125. package/dist/150/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
  126. package/dist/150/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
  127. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
  128. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
  129. package/dist/150/solanaIngressEgress/depositFinalised.d.cts +2 -2
  130. package/dist/150/solanaIngressEgress/depositFinalised.d.ts +2 -2
  131. package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
  132. package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
  133. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
  134. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
  135. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  136. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  137. package/dist/150/swapping/batchSwapFailed.d.cts +8 -8
  138. package/dist/150/swapping/batchSwapFailed.d.ts +8 -8
  139. package/dist/150/swapping/ccmDepositReceived.d.cts +74 -74
  140. package/dist/150/swapping/ccmDepositReceived.d.ts +74 -74
  141. package/dist/150/swapping/ccmFailed.d.cts +79 -79
  142. package/dist/150/swapping/ccmFailed.d.ts +79 -79
  143. package/dist/150/swapping/maximumSwapAmountSet.d.cts +6 -6
  144. package/dist/150/swapping/maximumSwapAmountSet.d.ts +6 -6
  145. package/dist/150/swapping/refundEgressIgnored.d.cts +24 -24
  146. package/dist/150/swapping/refundEgressIgnored.d.ts +24 -24
  147. package/dist/150/swapping/refundEgressScheduled.d.cts +8 -8
  148. package/dist/150/swapping/refundEgressScheduled.d.ts +8 -8
  149. package/dist/150/swapping/swapAmountConfiscated.d.cts +12 -12
  150. package/dist/150/swapping/swapAmountConfiscated.d.ts +12 -12
  151. package/dist/150/swapping/swapDepositAddressReady.d.cts +25 -25
  152. package/dist/150/swapping/swapDepositAddressReady.d.ts +25 -25
  153. package/dist/150/swapping/swapEgressIgnored.d.cts +24 -24
  154. package/dist/150/swapping/swapEgressIgnored.d.ts +24 -24
  155. package/dist/150/swapping/swapEgressScheduled.d.cts +8 -8
  156. package/dist/150/swapping/swapEgressScheduled.d.ts +8 -8
  157. package/dist/150/swapping/swapExecuted.d.cts +94 -94
  158. package/dist/150/swapping/swapExecuted.d.ts +94 -94
  159. package/dist/150/swapping/swapScheduled.d.cts +103 -103
  160. package/dist/150/swapping/swapScheduled.d.ts +103 -103
  161. package/dist/150/swapping/withdrawalRequested.d.cts +10 -10
  162. package/dist/150/swapping/withdrawalRequested.d.ts +10 -10
  163. package/dist/160/arbitrumIngressEgress/depositBoosted.d.cts +10 -10
  164. package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +10 -10
  165. package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +6 -6
  166. package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +6 -6
  167. package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.cts +61 -61
  168. package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.ts +61 -61
  169. package/dist/160/bitcoinIngressEgress/depositBoosted.d.cts +28 -28
  170. package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +28 -28
  171. package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +26 -26
  172. package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +26 -26
  173. package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  174. package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  175. package/dist/160/ethereumIngressEgress/depositBoosted.d.cts +8 -8
  176. package/dist/160/ethereumIngressEgress/depositBoosted.d.ts +8 -8
  177. package/dist/160/ethereumIngressEgress/depositFinalised.d.cts +6 -6
  178. package/dist/160/ethereumIngressEgress/depositFinalised.d.ts +6 -6
  179. package/dist/170/bitcoinIngressEgress/boostedDepositLost.d.cts +2 -2
  180. package/dist/170/bitcoinIngressEgress/boostedDepositLost.d.ts +2 -2
  181. package/dist/170/bitcoinIngressEgress/ccmFailed.d.cts +37 -37
  182. package/dist/170/bitcoinIngressEgress/ccmFailed.d.ts +37 -37
  183. package/dist/170/bitcoinIngressEgress/depositBoosted.d.cts +30 -30
  184. package/dist/170/bitcoinIngressEgress/depositBoosted.d.ts +30 -30
  185. package/dist/170/bitcoinIngressEgress/depositFinalised.d.cts +30 -30
  186. package/dist/170/bitcoinIngressEgress/depositFinalised.d.ts +30 -30
  187. package/dist/170/bitcoinIngressEgress/depositIgnored.d.cts +30 -30
  188. package/dist/170/bitcoinIngressEgress/depositIgnored.d.ts +30 -30
  189. package/dist/170/bitcoinIngressEgress/depositWitnessRejected.d.cts +56 -56
  190. package/dist/170/bitcoinIngressEgress/depositWitnessRejected.d.ts +56 -56
  191. package/dist/170/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  192. package/dist/170/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
  193. package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.d.cts +4 -4
  194. package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.d.ts +4 -4
  195. package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.d.cts +4 -4
  196. package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.d.ts +4 -4
  197. package/dist/170/reputation/offencePenalty.d.cts +6 -6
  198. package/dist/170/reputation/offencePenalty.d.ts +6 -6
  199. package/dist/170/reputation/penaltyUpdated.d.cts +4 -4
  200. package/dist/170/reputation/penaltyUpdated.d.ts +4 -4
  201. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.cts +14 -14
  202. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.ts +14 -14
  203. package/dist/180/bitcoinIngressEgress/depositFailed.d.cts +10 -10
  204. package/dist/180/bitcoinIngressEgress/depositFailed.d.ts +10 -10
  205. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +10 -10
  206. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +10 -10
  207. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  208. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  209. package/dist/180/ethereumIngressEgress/depositBoosted.d.cts +6 -6
  210. package/dist/180/ethereumIngressEgress/depositBoosted.d.ts +6 -6
  211. package/dist/180/ethereumIngressEgress/depositFailed.d.cts +179 -179
  212. package/dist/180/ethereumIngressEgress/depositFailed.d.ts +179 -179
  213. package/dist/180/ethereumIngressEgress/depositFinalised.d.cts +2 -2
  214. package/dist/180/ethereumIngressEgress/depositFinalised.d.ts +2 -2
  215. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  216. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
  217. package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  218. package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  219. package/dist/190/assethubBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
  220. package/dist/190/assethubBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
  221. package/dist/190/assethubIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  222. package/dist/190/assethubIngressEgress/ccmBroadcastRequested.d.ts +2 -2
  223. package/dist/190/assethubIngressEgress/ccmEgressInvalid.d.cts +50 -50
  224. package/dist/190/assethubIngressEgress/ccmEgressInvalid.d.ts +50 -50
  225. package/dist/190/assethubIngressEgress/depositFailed.d.cts +170 -170
  226. package/dist/190/assethubIngressEgress/depositFailed.d.ts +170 -170
  227. package/dist/190/assethubIngressEgress/depositFetchesScheduled.d.cts +2 -2
  228. package/dist/190/assethubIngressEgress/depositFetchesScheduled.d.ts +2 -2
  229. package/dist/190/assethubIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  230. package/dist/190/assethubIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
  231. package/dist/190/assethubIngressEgress/transactionRejectedByBroker.d.cts +2 -2
  232. package/dist/190/assethubIngressEgress/transactionRejectedByBroker.d.ts +2 -2
  233. package/dist/190/assethubIngressEgress/transferFallbackRequested.d.cts +2 -2
  234. package/dist/190/assethubIngressEgress/transferFallbackRequested.d.ts +2 -2
  235. package/dist/190/environment/runtimeSafeModeUpdated.d.cts +40 -40
  236. package/dist/190/environment/runtimeSafeModeUpdated.d.ts +40 -40
  237. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  238. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  239. package/dist/190/reputation/offencePenalty.d.cts +6 -6
  240. package/dist/190/reputation/offencePenalty.d.ts +6 -6
  241. package/dist/190/reputation/penaltyUpdated.d.cts +4 -4
  242. package/dist/190/reputation/penaltyUpdated.d.ts +4 -4
  243. package/dist/200/common.cjs +68 -10
  244. package/dist/200/common.d.cts +1199 -215
  245. package/dist/200/common.d.ts +1199 -215
  246. package/dist/200/common.mjs +67 -9
  247. package/dist/200/environment/runtimeSafeModeUpdated.d.cts +9 -0
  248. package/dist/200/environment/runtimeSafeModeUpdated.d.ts +9 -0
  249. package/dist/200/funding/funded.cjs +12 -0
  250. package/dist/200/funding/funded.d.cts +87 -0
  251. package/dist/200/funding/funded.d.ts +87 -0
  252. package/dist/200/funding/funded.mjs +12 -0
  253. package/dist/200/lendingPools/collateralAdded.cjs +7 -1
  254. package/dist/200/lendingPools/collateralAdded.d.cts +13 -0
  255. package/dist/200/lendingPools/collateralAdded.d.ts +13 -0
  256. package/dist/200/lendingPools/collateralAdded.mjs +8 -2
  257. package/dist/200/lendingPools/liquidationCompleted.cjs +13 -0
  258. package/dist/200/lendingPools/liquidationCompleted.d.cts +24 -0
  259. package/dist/200/lendingPools/liquidationCompleted.d.ts +24 -0
  260. package/dist/200/lendingPools/liquidationCompleted.mjs +13 -0
  261. package/dist/200/lendingPools/liquidationInitiated.cjs +5 -1
  262. package/dist/200/lendingPools/liquidationInitiated.d.cts +13 -3
  263. package/dist/200/lendingPools/liquidationInitiated.d.ts +13 -3
  264. package/dist/200/lendingPools/liquidationInitiated.mjs +6 -2
  265. package/dist/200/lendingPools/loanCreated.d.cts +2 -2
  266. package/dist/200/lendingPools/loanCreated.d.ts +2 -2
  267. package/dist/200/lendingPools/palletConfigUpdated.d.cts +17 -12
  268. package/dist/200/lendingPools/palletConfigUpdated.d.ts +17 -12
  269. package/dist/200/lendingPools/whitelistUpdated.cjs +9 -0
  270. package/dist/200/lendingPools/whitelistUpdated.d.cts +66 -0
  271. package/dist/200/lendingPools/whitelistUpdated.d.ts +66 -0
  272. package/dist/200/lendingPools/whitelistUpdated.mjs +9 -0
  273. package/dist/200/swapping/accountCreationDepositAddressReady.cjs +23 -0
  274. package/dist/200/swapping/accountCreationDepositAddressReady.d.cts +319 -0
  275. package/dist/200/swapping/accountCreationDepositAddressReady.d.ts +319 -0
  276. package/dist/200/swapping/accountCreationDepositAddressReady.mjs +23 -0
  277. package/dist/200/swapping/swapRequestCompleted.cjs +10 -0
  278. package/dist/200/swapping/swapRequestCompleted.d.cts +24 -0
  279. package/dist/200/swapping/swapRequestCompleted.d.ts +24 -0
  280. package/dist/200/swapping/swapRequestCompleted.mjs +10 -0
  281. package/dist/200/swapping/swapRequested.d.cts +1066 -52
  282. package/dist/200/swapping/swapRequested.d.ts +1066 -52
  283. package/package.json +2 -2
@@ -58,6 +58,7 @@ declare const swappingSwapRequested: z.ZodObject<{
58
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
59
  brokerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
60
60
  }, "strip", z.ZodTypeAny, {
61
+ channelId: bigint;
61
62
  __kind: "DepositChannel";
62
63
  depositAddress: {
63
64
  readonly chain: "Ethereum";
@@ -78,16 +79,15 @@ declare const swappingSwapRequested: z.ZodObject<{
78
79
  readonly chain: "Assethub";
79
80
  readonly address: string;
80
81
  };
81
- channelId: bigint;
82
82
  depositBlockHeight: bigint;
83
83
  brokerId: string;
84
84
  }, {
85
+ channelId: string | number;
85
86
  __kind: "DepositChannel";
86
87
  depositAddress: {
87
88
  value: string;
88
89
  __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
89
90
  };
90
- channelId: string | number;
91
91
  depositBlockHeight: string | number;
92
92
  brokerId: string;
93
93
  }>, z.ZodObject<{
@@ -178,51 +178,871 @@ declare const swappingSwapRequested: z.ZodObject<{
178
178
  value: string;
179
179
  __kind: "Evm";
180
180
  } | {
181
- value: string;
182
- __kind: "Bitcoin";
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
+ }>, z.ZodObject<{
866
+ __kind: z.ZodLiteral<"CreditFlipAndTransferToGateway">;
867
+ accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
868
+ flipToSubtractFromSwapOutput: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
869
+ }, "strip", z.ZodTypeAny, {
870
+ __kind: "CreditFlipAndTransferToGateway";
871
+ accountId: string;
872
+ flipToSubtractFromSwapOutput: bigint;
873
+ }, {
874
+ __kind: "CreditFlipAndTransferToGateway";
875
+ accountId: string;
876
+ flipToSubtractFromSwapOutput: string | number;
877
+ }>]>;
878
+ }, "strip", z.ZodTypeAny, {
879
+ __kind: "Regular";
880
+ outputAction: {
881
+ __kind: "Egress";
882
+ outputAddress: {
883
+ readonly chain: "Ethereum";
884
+ readonly address: `0x${string}`;
885
+ } | {
886
+ readonly chain: "Polkadot";
887
+ readonly address: string;
888
+ } | {
889
+ readonly chain: "Bitcoin";
890
+ readonly address: string;
891
+ } | {
892
+ readonly chain: "Arbitrum";
893
+ readonly address: `0x${string}`;
894
+ } | {
895
+ readonly chain: "Solana";
896
+ readonly address: string;
897
+ } | {
898
+ readonly chain: "Assethub";
899
+ readonly address: string;
900
+ };
901
+ ccmDepositMetadata?: {
902
+ channelMetadata: {
903
+ message: `0x${string}`;
904
+ gasBudget: bigint;
905
+ ccmAdditionalData: {
906
+ __kind: "NotRequired";
907
+ } | {
908
+ value: {
909
+ value: {
910
+ cfReceiver: {
911
+ pubkey: `0x${string}`;
912
+ isWritable: boolean;
913
+ };
914
+ additionalAccounts: {
915
+ pubkey: `0x${string}`;
916
+ isWritable: boolean;
917
+ }[];
918
+ fallbackAddress: `0x${string}`;
919
+ };
920
+ __kind: "V0";
921
+ } | {
922
+ __kind: "V1";
923
+ ccmAccounts: {
924
+ cfReceiver: {
925
+ pubkey: `0x${string}`;
926
+ isWritable: boolean;
927
+ };
928
+ additionalAccounts: {
929
+ pubkey: `0x${string}`;
930
+ isWritable: boolean;
931
+ }[];
932
+ fallbackAddress: `0x${string}`;
933
+ };
934
+ alts: `0x${string}`[];
935
+ };
936
+ __kind: "Solana";
937
+ };
938
+ };
939
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
940
+ sourceAddress?: {
941
+ readonly chain: "Ethereum";
942
+ readonly address: `0x${string}`;
943
+ } | {
944
+ readonly chain: "Polkadot";
945
+ readonly address: string;
946
+ } | {
947
+ readonly chain: "Bitcoin";
948
+ readonly address: string;
949
+ } | {
950
+ readonly chain: "Arbitrum";
951
+ readonly address: `0x${string}`;
952
+ } | {
953
+ readonly chain: "Solana";
954
+ readonly address: string;
955
+ } | {
956
+ readonly chain: "Assethub";
957
+ readonly address: string;
958
+ } | null | undefined;
959
+ } | null | undefined;
960
+ } | {
961
+ __kind: "CreditOnChain";
962
+ accountId: string;
963
+ } | {
964
+ __kind: "CreditLendingPool";
965
+ swapType: {
966
+ __kind: "Liquidation";
967
+ borrowerId: string;
968
+ loanId: bigint;
969
+ };
970
+ } | {
971
+ __kind: "CreditFlipAndTransferToGateway";
972
+ accountId: string;
973
+ flipToSubtractFromSwapOutput: bigint;
974
+ };
975
+ }, {
976
+ __kind: "Regular";
977
+ outputAction: {
978
+ __kind: "Egress";
979
+ outputAddress: {
980
+ value: string;
981
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
982
+ };
983
+ ccmDepositMetadata?: {
984
+ channelMetadata: {
985
+ message: string;
986
+ gasBudget: string | number;
987
+ ccmAdditionalData: {
988
+ __kind: "NotRequired";
989
+ } | {
990
+ value: {
991
+ value: {
992
+ cfReceiver: {
993
+ pubkey: string;
994
+ isWritable: boolean;
995
+ };
996
+ additionalAccounts: {
997
+ pubkey: string;
998
+ isWritable: boolean;
999
+ }[];
1000
+ fallbackAddress: string;
1001
+ };
1002
+ __kind: "V0";
1003
+ } | {
1004
+ __kind: "V1";
1005
+ ccmAccounts: {
1006
+ cfReceiver: {
1007
+ pubkey: string;
1008
+ isWritable: boolean;
1009
+ };
1010
+ additionalAccounts: {
1011
+ pubkey: string;
1012
+ isWritable: boolean;
1013
+ }[];
1014
+ fallbackAddress: string;
1015
+ };
1016
+ alts: string[];
1017
+ };
1018
+ __kind: "Solana";
1019
+ };
1020
+ };
1021
+ sourceChain: {
1022
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
1023
+ };
1024
+ sourceAddress?: {
1025
+ value: string;
1026
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
1027
+ } | null | undefined;
1028
+ } | null | undefined;
1029
+ } | {
1030
+ __kind: "CreditOnChain";
1031
+ accountId: string;
183
1032
  } | {
184
- value: {
185
- blockNumber: number;
186
- extrinsicIndex: number;
1033
+ __kind: "CreditLendingPool";
1034
+ swapType: {
1035
+ __kind: "Liquidation";
1036
+ borrowerId: string;
1037
+ loanId: string | number;
187
1038
  };
188
- __kind: "Polkadot";
189
- } | {
190
- value: [string, string | number];
191
- __kind: "Solana";
192
1039
  } | {
193
- __kind: "None";
1040
+ __kind: "CreditFlipAndTransferToGateway";
1041
+ accountId: string;
1042
+ flipToSubtractFromSwapOutput: string | number;
194
1043
  };
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
1044
  }>, z.ZodObject<{
225
- __kind: z.ZodLiteral<"Regular">;
1045
+ __kind: z.ZodLiteral<"RegularNoNetworkFee">;
226
1046
  outputAction: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
227
1047
  __kind: z.ZodLiteral<"Egress">;
228
1048
  ccmDepositMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -862,9 +1682,21 @@ declare const swappingSwapRequested: z.ZodObject<{
862
1682
  borrowerId: string;
863
1683
  loanId: string | number;
864
1684
  };
1685
+ }>, z.ZodObject<{
1686
+ __kind: z.ZodLiteral<"CreditFlipAndTransferToGateway">;
1687
+ accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
1688
+ flipToSubtractFromSwapOutput: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
1689
+ }, "strip", z.ZodTypeAny, {
1690
+ __kind: "CreditFlipAndTransferToGateway";
1691
+ accountId: string;
1692
+ flipToSubtractFromSwapOutput: bigint;
1693
+ }, {
1694
+ __kind: "CreditFlipAndTransferToGateway";
1695
+ accountId: string;
1696
+ flipToSubtractFromSwapOutput: string | number;
865
1697
  }>]>;
866
1698
  }, "strip", z.ZodTypeAny, {
867
- __kind: "Regular";
1699
+ __kind: "RegularNoNetworkFee";
868
1700
  outputAction: {
869
1701
  __kind: "Egress";
870
1702
  outputAddress: {
@@ -955,9 +1787,13 @@ declare const swappingSwapRequested: z.ZodObject<{
955
1787
  borrowerId: string;
956
1788
  loanId: bigint;
957
1789
  };
1790
+ } | {
1791
+ __kind: "CreditFlipAndTransferToGateway";
1792
+ accountId: string;
1793
+ flipToSubtractFromSwapOutput: bigint;
958
1794
  };
959
1795
  }, {
960
- __kind: "Regular";
1796
+ __kind: "RegularNoNetworkFee";
961
1797
  outputAction: {
962
1798
  __kind: "Egress";
963
1799
  outputAddress: {
@@ -1020,6 +1856,10 @@ declare const swappingSwapRequested: z.ZodObject<{
1020
1856
  borrowerId: string;
1021
1857
  loanId: string | number;
1022
1858
  };
1859
+ } | {
1860
+ __kind: "CreditFlipAndTransferToGateway";
1861
+ accountId: string;
1862
+ flipToSubtractFromSwapOutput: string | number;
1023
1863
  };
1024
1864
  }>]>;
1025
1865
  brokerFees: z.ZodArray<z.ZodObject<{
@@ -1894,7 +2734,6 @@ declare const swappingSwapRequested: z.ZodObject<{
1894
2734
  }>>>;
1895
2735
  }, "strip", z.ZodTypeAny, {
1896
2736
  __kind: "RefundIfExpires";
1897
- retryDuration: number;
1898
2737
  refundAddress: {
1899
2738
  value: string;
1900
2739
  __kind: "InternalAccount";
@@ -1939,6 +2778,7 @@ declare const swappingSwapRequested: z.ZodObject<{
1939
2778
  };
1940
2779
  __kind: "ExternalAddress";
1941
2780
  };
2781
+ retryDuration: number;
1942
2782
  refundCcmMetadata?: {
1943
2783
  channelMetadata: {
1944
2784
  message: `0x${string}`;
@@ -2019,7 +2859,6 @@ declare const swappingSwapRequested: z.ZodObject<{
2019
2859
  } | null | undefined;
2020
2860
  }, {
2021
2861
  __kind: "RefundIfExpires";
2022
- retryDuration: number;
2023
2862
  refundAddress: {
2024
2863
  value: string;
2025
2864
  __kind: "InternalAccount";
@@ -2064,6 +2903,7 @@ declare const swappingSwapRequested: z.ZodObject<{
2064
2903
  };
2065
2904
  __kind: "ExternalAddress";
2066
2905
  };
2906
+ retryDuration: number;
2067
2907
  refundCcmMetadata?: {
2068
2908
  channelMetadata: {
2069
2909
  message: string;
@@ -2152,7 +2992,6 @@ declare const swappingSwapRequested: z.ZodObject<{
2152
2992
  __kind: "NoExpiry";
2153
2993
  } | {
2154
2994
  __kind: "RefundIfExpires";
2155
- retryDuration: number;
2156
2995
  refundAddress: {
2157
2996
  value: string;
2158
2997
  __kind: "InternalAccount";
@@ -2197,6 +3036,7 @@ declare const swappingSwapRequested: z.ZodObject<{
2197
3036
  };
2198
3037
  __kind: "ExternalAddress";
2199
3038
  };
3039
+ retryDuration: number;
2200
3040
  refundCcmMetadata?: {
2201
3041
  channelMetadata: {
2202
3042
  message: `0x${string}`;
@@ -2283,7 +3123,6 @@ declare const swappingSwapRequested: z.ZodObject<{
2283
3123
  __kind: "NoExpiry";
2284
3124
  } | {
2285
3125
  __kind: "RefundIfExpires";
2286
- retryDuration: number;
2287
3126
  refundAddress: {
2288
3127
  value: string;
2289
3128
  __kind: "InternalAccount";
@@ -2328,6 +3167,7 @@ declare const swappingSwapRequested: z.ZodObject<{
2328
3167
  };
2329
3168
  __kind: "ExternalAddress";
2330
3169
  };
3170
+ retryDuration: number;
2331
3171
  refundCcmMetadata?: {
2332
3172
  channelMetadata: {
2333
3173
  message: string;
@@ -2428,6 +3268,7 @@ declare const swappingSwapRequested: z.ZodObject<{
2428
3268
  inputAmount: bigint;
2429
3269
  outputAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
2430
3270
  origin: {
3271
+ channelId: bigint;
2431
3272
  __kind: "DepositChannel";
2432
3273
  depositAddress: {
2433
3274
  readonly chain: "Ethereum";
@@ -2448,7 +3289,6 @@ declare const swappingSwapRequested: z.ZodObject<{
2448
3289
  readonly chain: "Assethub";
2449
3290
  readonly address: string;
2450
3291
  };
2451
- channelId: bigint;
2452
3292
  depositBlockHeight: bigint;
2453
3293
  brokerId: string;
2454
3294
  } | {
@@ -2574,6 +3414,107 @@ declare const swappingSwapRequested: z.ZodObject<{
2574
3414
  borrowerId: string;
2575
3415
  loanId: bigint;
2576
3416
  };
3417
+ } | {
3418
+ __kind: "CreditFlipAndTransferToGateway";
3419
+ accountId: string;
3420
+ flipToSubtractFromSwapOutput: bigint;
3421
+ };
3422
+ } | {
3423
+ __kind: "RegularNoNetworkFee";
3424
+ outputAction: {
3425
+ __kind: "Egress";
3426
+ outputAddress: {
3427
+ readonly chain: "Ethereum";
3428
+ readonly address: `0x${string}`;
3429
+ } | {
3430
+ readonly chain: "Polkadot";
3431
+ readonly address: string;
3432
+ } | {
3433
+ readonly chain: "Bitcoin";
3434
+ readonly address: string;
3435
+ } | {
3436
+ readonly chain: "Arbitrum";
3437
+ readonly address: `0x${string}`;
3438
+ } | {
3439
+ readonly chain: "Solana";
3440
+ readonly address: string;
3441
+ } | {
3442
+ readonly chain: "Assethub";
3443
+ readonly address: string;
3444
+ };
3445
+ ccmDepositMetadata?: {
3446
+ channelMetadata: {
3447
+ message: `0x${string}`;
3448
+ gasBudget: bigint;
3449
+ ccmAdditionalData: {
3450
+ __kind: "NotRequired";
3451
+ } | {
3452
+ value: {
3453
+ value: {
3454
+ cfReceiver: {
3455
+ pubkey: `0x${string}`;
3456
+ isWritable: boolean;
3457
+ };
3458
+ additionalAccounts: {
3459
+ pubkey: `0x${string}`;
3460
+ isWritable: boolean;
3461
+ }[];
3462
+ fallbackAddress: `0x${string}`;
3463
+ };
3464
+ __kind: "V0";
3465
+ } | {
3466
+ __kind: "V1";
3467
+ ccmAccounts: {
3468
+ cfReceiver: {
3469
+ pubkey: `0x${string}`;
3470
+ isWritable: boolean;
3471
+ };
3472
+ additionalAccounts: {
3473
+ pubkey: `0x${string}`;
3474
+ isWritable: boolean;
3475
+ }[];
3476
+ fallbackAddress: `0x${string}`;
3477
+ };
3478
+ alts: `0x${string}`[];
3479
+ };
3480
+ __kind: "Solana";
3481
+ };
3482
+ };
3483
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
3484
+ sourceAddress?: {
3485
+ readonly chain: "Ethereum";
3486
+ readonly address: `0x${string}`;
3487
+ } | {
3488
+ readonly chain: "Polkadot";
3489
+ readonly address: string;
3490
+ } | {
3491
+ readonly chain: "Bitcoin";
3492
+ readonly address: string;
3493
+ } | {
3494
+ readonly chain: "Arbitrum";
3495
+ readonly address: `0x${string}`;
3496
+ } | {
3497
+ readonly chain: "Solana";
3498
+ readonly address: string;
3499
+ } | {
3500
+ readonly chain: "Assethub";
3501
+ readonly address: string;
3502
+ } | null | undefined;
3503
+ } | null | undefined;
3504
+ } | {
3505
+ __kind: "CreditOnChain";
3506
+ accountId: string;
3507
+ } | {
3508
+ __kind: "CreditLendingPool";
3509
+ swapType: {
3510
+ __kind: "Liquidation";
3511
+ borrowerId: string;
3512
+ loanId: bigint;
3513
+ };
3514
+ } | {
3515
+ __kind: "CreditFlipAndTransferToGateway";
3516
+ accountId: string;
3517
+ flipToSubtractFromSwapOutput: bigint;
2577
3518
  };
2578
3519
  };
2579
3520
  brokerFees: {
@@ -2585,7 +3526,6 @@ declare const swappingSwapRequested: z.ZodObject<{
2585
3526
  __kind: "NoExpiry";
2586
3527
  } | {
2587
3528
  __kind: "RefundIfExpires";
2588
- retryDuration: number;
2589
3529
  refundAddress: {
2590
3530
  value: string;
2591
3531
  __kind: "InternalAccount";
@@ -2630,6 +3570,7 @@ declare const swappingSwapRequested: z.ZodObject<{
2630
3570
  };
2631
3571
  __kind: "ExternalAddress";
2632
3572
  };
3573
+ retryDuration: number;
2633
3574
  refundCcmMetadata?: {
2634
3575
  channelMetadata: {
2635
3576
  message: `0x${string}`;
@@ -2726,12 +3667,12 @@ declare const swappingSwapRequested: z.ZodObject<{
2726
3667
  __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
2727
3668
  };
2728
3669
  origin: {
3670
+ channelId: string | number;
2729
3671
  __kind: "DepositChannel";
2730
3672
  depositAddress: {
2731
3673
  value: string;
2732
3674
  __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
2733
3675
  };
2734
- channelId: string | number;
2735
3676
  depositBlockHeight: string | number;
2736
3677
  brokerId: string;
2737
3678
  } | {
@@ -2829,6 +3770,79 @@ declare const swappingSwapRequested: z.ZodObject<{
2829
3770
  borrowerId: string;
2830
3771
  loanId: string | number;
2831
3772
  };
3773
+ } | {
3774
+ __kind: "CreditFlipAndTransferToGateway";
3775
+ accountId: string;
3776
+ flipToSubtractFromSwapOutput: string | number;
3777
+ };
3778
+ } | {
3779
+ __kind: "RegularNoNetworkFee";
3780
+ outputAction: {
3781
+ __kind: "Egress";
3782
+ outputAddress: {
3783
+ value: string;
3784
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
3785
+ };
3786
+ ccmDepositMetadata?: {
3787
+ channelMetadata: {
3788
+ message: string;
3789
+ gasBudget: string | number;
3790
+ ccmAdditionalData: {
3791
+ __kind: "NotRequired";
3792
+ } | {
3793
+ value: {
3794
+ value: {
3795
+ cfReceiver: {
3796
+ pubkey: string;
3797
+ isWritable: boolean;
3798
+ };
3799
+ additionalAccounts: {
3800
+ pubkey: string;
3801
+ isWritable: boolean;
3802
+ }[];
3803
+ fallbackAddress: string;
3804
+ };
3805
+ __kind: "V0";
3806
+ } | {
3807
+ __kind: "V1";
3808
+ ccmAccounts: {
3809
+ cfReceiver: {
3810
+ pubkey: string;
3811
+ isWritable: boolean;
3812
+ };
3813
+ additionalAccounts: {
3814
+ pubkey: string;
3815
+ isWritable: boolean;
3816
+ }[];
3817
+ fallbackAddress: string;
3818
+ };
3819
+ alts: string[];
3820
+ };
3821
+ __kind: "Solana";
3822
+ };
3823
+ };
3824
+ sourceChain: {
3825
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
3826
+ };
3827
+ sourceAddress?: {
3828
+ value: string;
3829
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
3830
+ } | null | undefined;
3831
+ } | null | undefined;
3832
+ } | {
3833
+ __kind: "CreditOnChain";
3834
+ accountId: string;
3835
+ } | {
3836
+ __kind: "CreditLendingPool";
3837
+ swapType: {
3838
+ __kind: "Liquidation";
3839
+ borrowerId: string;
3840
+ loanId: string | number;
3841
+ };
3842
+ } | {
3843
+ __kind: "CreditFlipAndTransferToGateway";
3844
+ accountId: string;
3845
+ flipToSubtractFromSwapOutput: string | number;
2832
3846
  };
2833
3847
  };
2834
3848
  brokerFees: {
@@ -2840,7 +3854,6 @@ declare const swappingSwapRequested: z.ZodObject<{
2840
3854
  __kind: "NoExpiry";
2841
3855
  } | {
2842
3856
  __kind: "RefundIfExpires";
2843
- retryDuration: number;
2844
3857
  refundAddress: {
2845
3858
  value: string;
2846
3859
  __kind: "InternalAccount";
@@ -2885,6 +3898,7 @@ declare const swappingSwapRequested: z.ZodObject<{
2885
3898
  };
2886
3899
  __kind: "ExternalAddress";
2887
3900
  };
3901
+ retryDuration: number;
2888
3902
  refundCcmMetadata?: {
2889
3903
  channelMetadata: {
2890
3904
  message: string;