@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
@@ -18,14 +18,17 @@ declare const palletCfSwappingPalletSafeMode: z.ZodObject<{
18
18
  swapsEnabled: z.ZodBoolean;
19
19
  withdrawalsEnabled: z.ZodBoolean;
20
20
  brokerRegistrationEnabled: z.ZodBoolean;
21
+ depositEnabled: z.ZodBoolean;
21
22
  }, "strip", z.ZodTypeAny, {
22
23
  swapsEnabled: boolean;
23
24
  withdrawalsEnabled: boolean;
24
25
  brokerRegistrationEnabled: boolean;
26
+ depositEnabled: boolean;
25
27
  }, {
26
28
  swapsEnabled: boolean;
27
29
  withdrawalsEnabled: boolean;
28
30
  brokerRegistrationEnabled: boolean;
31
+ depositEnabled: boolean;
29
32
  }>;
30
33
  declare const palletCfLpPalletSafeMode: z.ZodObject<{
31
34
  depositEnabled: z.ZodBoolean;
@@ -692,14 +695,17 @@ declare const stateChainRuntimeSafeModeInnerRuntimeSafeMode: z.ZodObject<{
692
695
  swapsEnabled: z.ZodBoolean;
693
696
  withdrawalsEnabled: z.ZodBoolean;
694
697
  brokerRegistrationEnabled: z.ZodBoolean;
698
+ depositEnabled: z.ZodBoolean;
695
699
  }, "strip", z.ZodTypeAny, {
696
700
  swapsEnabled: boolean;
697
701
  withdrawalsEnabled: boolean;
698
702
  brokerRegistrationEnabled: boolean;
703
+ depositEnabled: boolean;
699
704
  }, {
700
705
  swapsEnabled: boolean;
701
706
  withdrawalsEnabled: boolean;
702
707
  brokerRegistrationEnabled: boolean;
708
+ depositEnabled: boolean;
703
709
  }>;
704
710
  liquidityProvider: z.ZodObject<{
705
711
  depositEnabled: z.ZodBoolean;
@@ -1375,6 +1381,7 @@ declare const stateChainRuntimeSafeModeInnerRuntimeSafeMode: z.ZodObject<{
1375
1381
  swapsEnabled: boolean;
1376
1382
  withdrawalsEnabled: boolean;
1377
1383
  brokerRegistrationEnabled: boolean;
1384
+ depositEnabled: boolean;
1378
1385
  };
1379
1386
  emissions: {
1380
1387
  emissionsSyncEnabled: boolean;
@@ -1565,6 +1572,7 @@ declare const stateChainRuntimeSafeModeInnerRuntimeSafeMode: z.ZodObject<{
1565
1572
  swapsEnabled: boolean;
1566
1573
  withdrawalsEnabled: boolean;
1567
1574
  brokerRegistrationEnabled: boolean;
1575
+ depositEnabled: boolean;
1568
1576
  };
1569
1577
  emissions: {
1570
1578
  emissionsSyncEnabled: boolean;
@@ -1791,14 +1799,17 @@ declare const palletCfEnvironmentSafeModeUpdate: z.ZodDiscriminatedUnion<"__kind
1791
1799
  swapsEnabled: z.ZodBoolean;
1792
1800
  withdrawalsEnabled: z.ZodBoolean;
1793
1801
  brokerRegistrationEnabled: z.ZodBoolean;
1802
+ depositEnabled: z.ZodBoolean;
1794
1803
  }, "strip", z.ZodTypeAny, {
1795
1804
  swapsEnabled: boolean;
1796
1805
  withdrawalsEnabled: boolean;
1797
1806
  brokerRegistrationEnabled: boolean;
1807
+ depositEnabled: boolean;
1798
1808
  }, {
1799
1809
  swapsEnabled: boolean;
1800
1810
  withdrawalsEnabled: boolean;
1801
1811
  brokerRegistrationEnabled: boolean;
1812
+ depositEnabled: boolean;
1802
1813
  }>;
1803
1814
  liquidityProvider: z.ZodObject<{
1804
1815
  depositEnabled: z.ZodBoolean;
@@ -2474,6 +2485,7 @@ declare const palletCfEnvironmentSafeModeUpdate: z.ZodDiscriminatedUnion<"__kind
2474
2485
  swapsEnabled: boolean;
2475
2486
  withdrawalsEnabled: boolean;
2476
2487
  brokerRegistrationEnabled: boolean;
2488
+ depositEnabled: boolean;
2477
2489
  };
2478
2490
  emissions: {
2479
2491
  emissionsSyncEnabled: boolean;
@@ -2664,6 +2676,7 @@ declare const palletCfEnvironmentSafeModeUpdate: z.ZodDiscriminatedUnion<"__kind
2664
2676
  swapsEnabled: boolean;
2665
2677
  withdrawalsEnabled: boolean;
2666
2678
  brokerRegistrationEnabled: boolean;
2679
+ depositEnabled: boolean;
2667
2680
  };
2668
2681
  emissions: {
2669
2682
  emissionsSyncEnabled: boolean;
@@ -2866,6 +2879,7 @@ declare const palletCfEnvironmentSafeModeUpdate: z.ZodDiscriminatedUnion<"__kind
2866
2879
  swapsEnabled: boolean;
2867
2880
  withdrawalsEnabled: boolean;
2868
2881
  brokerRegistrationEnabled: boolean;
2882
+ depositEnabled: boolean;
2869
2883
  };
2870
2884
  emissions: {
2871
2885
  emissionsSyncEnabled: boolean;
@@ -3059,6 +3073,7 @@ declare const palletCfEnvironmentSafeModeUpdate: z.ZodDiscriminatedUnion<"__kind
3059
3073
  swapsEnabled: boolean;
3060
3074
  withdrawalsEnabled: boolean;
3061
3075
  brokerRegistrationEnabled: boolean;
3076
+ depositEnabled: boolean;
3062
3077
  };
3063
3078
  emissions: {
3064
3079
  emissionsSyncEnabled: boolean;
@@ -3254,9 +3269,54 @@ declare const palletCfEnvironmentSafeModeUpdate: z.ZodDiscriminatedUnion<"__kind
3254
3269
  };
3255
3270
  __kind: "CodeAmber";
3256
3271
  }>]>;
3257
- declare const numericString: z.ZodEffects<z.ZodString, string, string>;
3258
3272
  declare const hexString: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3273
+ declare const accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
3274
+ declare const numericString: z.ZodEffects<z.ZodString, string, string>;
3259
3275
  declare const numberOrHex: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
3276
+ declare const cfTraitsFundingSource: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
3277
+ __kind: z.ZodLiteral<"EthTransaction">;
3278
+ txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3279
+ funder: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3280
+ }, "strip", z.ZodTypeAny, {
3281
+ __kind: "EthTransaction";
3282
+ txHash: `0x${string}`;
3283
+ funder: `0x${string}`;
3284
+ }, {
3285
+ __kind: "EthTransaction";
3286
+ txHash: string;
3287
+ funder: string;
3288
+ }>, z.ZodObject<{
3289
+ __kind: z.ZodLiteral<"Swap">;
3290
+ swapRequestId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
3291
+ }, "strip", z.ZodTypeAny, {
3292
+ __kind: "Swap";
3293
+ swapRequestId: bigint;
3294
+ }, {
3295
+ __kind: "Swap";
3296
+ swapRequestId: string | number;
3297
+ }>, z.ZodObject<{
3298
+ __kind: z.ZodLiteral<"InitialFunding">;
3299
+ channelId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
3300
+ asset: z.ZodEffects<z.ZodObject<{
3301
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc", "HubDot", "HubUsdt", "HubUsdc"]>;
3302
+ }, "strip", z.ZodTypeAny, {
3303
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
3304
+ }, {
3305
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
3306
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc", {
3307
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
3308
+ }>;
3309
+ }, "strip", z.ZodTypeAny, {
3310
+ __kind: "InitialFunding";
3311
+ asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
3312
+ channelId?: bigint | null | undefined;
3313
+ }, {
3314
+ __kind: "InitialFunding";
3315
+ asset: {
3316
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
3317
+ };
3318
+ channelId?: string | number | null | undefined;
3319
+ }>]>;
3260
3320
  declare const cfChainsAddressEncodedAddress: z.ZodEffects<z.ZodObject<{
3261
3321
  __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol", "Hub"]>;
3262
3322
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -3288,7 +3348,6 @@ declare const cfChainsAddressEncodedAddress: z.ZodEffects<z.ZodObject<{
3288
3348
  value: string;
3289
3349
  __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
3290
3350
  }>;
3291
- declare const accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
3292
3351
  declare const cfPrimitivesTxId: z.ZodObject<{
3293
3352
  blockNumber: z.ZodNumber;
3294
3353
  extrinsicIndex: z.ZodNumber;
@@ -3395,6 +3454,7 @@ declare const cfChainsSwapOrigin: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject
3395
3454
  brokerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
3396
3455
  }, "strip", z.ZodTypeAny, {
3397
3456
  __kind: "DepositChannel";
3457
+ channelId: bigint;
3398
3458
  depositAddress: {
3399
3459
  readonly chain: "Ethereum";
3400
3460
  readonly address: `0x${string}`;
@@ -3414,16 +3474,15 @@ declare const cfChainsSwapOrigin: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject
3414
3474
  readonly chain: "Assethub";
3415
3475
  readonly address: string;
3416
3476
  };
3417
- channelId: bigint;
3418
3477
  depositBlockHeight: bigint;
3419
3478
  brokerId: string;
3420
3479
  }, {
3421
3480
  __kind: "DepositChannel";
3481
+ channelId: string | number;
3422
3482
  depositAddress: {
3423
3483
  value: string;
3424
3484
  __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
3425
3485
  };
3426
- channelId: string | number;
3427
3486
  depositBlockHeight: string | number;
3428
3487
  brokerId: string;
3429
3488
  }>, z.ZodObject<{
@@ -5347,6 +5406,18 @@ declare const cfTraitsSwappingSwapOutputActionGenericEncodedAddress: z.ZodDiscri
5347
5406
  borrowerId: string;
5348
5407
  loanId: string | number;
5349
5408
  };
5409
+ }>, z.ZodObject<{
5410
+ __kind: z.ZodLiteral<"CreditFlipAndTransferToGateway">;
5411
+ accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5412
+ flipToSubtractFromSwapOutput: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
5413
+ }, "strip", z.ZodTypeAny, {
5414
+ __kind: "CreditFlipAndTransferToGateway";
5415
+ accountId: string;
5416
+ flipToSubtractFromSwapOutput: bigint;
5417
+ }, {
5418
+ __kind: "CreditFlipAndTransferToGateway";
5419
+ accountId: string;
5420
+ flipToSubtractFromSwapOutput: string | number;
5350
5421
  }>]>;
5351
5422
  declare const cfTraitsSwappingSwapRequestTypeGeneric: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
5352
5423
  __kind: z.ZodLiteral<"NetworkFee">;
@@ -6001,6 +6072,18 @@ declare const cfTraitsSwappingSwapRequestTypeGeneric: z.ZodDiscriminatedUnion<"_
6001
6072
  borrowerId: string;
6002
6073
  loanId: string | number;
6003
6074
  };
6075
+ }>, z.ZodObject<{
6076
+ __kind: z.ZodLiteral<"CreditFlipAndTransferToGateway">;
6077
+ accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
6078
+ flipToSubtractFromSwapOutput: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
6079
+ }, "strip", z.ZodTypeAny, {
6080
+ __kind: "CreditFlipAndTransferToGateway";
6081
+ accountId: string;
6082
+ flipToSubtractFromSwapOutput: bigint;
6083
+ }, {
6084
+ __kind: "CreditFlipAndTransferToGateway";
6085
+ accountId: string;
6086
+ flipToSubtractFromSwapOutput: string | number;
6004
6087
  }>]>;
6005
6088
  }, "strip", z.ZodTypeAny, {
6006
6089
  __kind: "Regular";
@@ -6094,6 +6177,10 @@ declare const cfTraitsSwappingSwapRequestTypeGeneric: z.ZodDiscriminatedUnion<"_
6094
6177
  borrowerId: string;
6095
6178
  loanId: bigint;
6096
6179
  };
6180
+ } | {
6181
+ __kind: "CreditFlipAndTransferToGateway";
6182
+ accountId: string;
6183
+ flipToSubtractFromSwapOutput: bigint;
6097
6184
  };
6098
6185
  }, {
6099
6186
  __kind: "Regular";
@@ -6159,207 +6246,1031 @@ declare const cfTraitsSwappingSwapRequestTypeGeneric: z.ZodDiscriminatedUnion<"_
6159
6246
  borrowerId: string;
6160
6247
  loanId: string | number;
6161
6248
  };
6162
- };
6163
- }>]>;
6164
- declare const cfPrimitivesBeneficiaryAccountId32: z.ZodObject<{
6165
- account: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
6166
- bps: z.ZodNumber;
6167
- }, "strip", z.ZodTypeAny, {
6168
- account: string;
6169
- bps: number;
6170
- }, {
6171
- account: string;
6172
- bps: number;
6173
- }>;
6174
- declare const cfChainsBtcScriptPubkey: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
6175
- __kind: z.ZodLiteral<"P2PKH">;
6176
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6177
- }, "strip", z.ZodTypeAny, {
6178
- value: `0x${string}`;
6179
- __kind: "P2PKH";
6180
- }, {
6181
- value: string;
6182
- __kind: "P2PKH";
6183
- }>, z.ZodObject<{
6184
- __kind: z.ZodLiteral<"P2SH">;
6185
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6186
- }, "strip", z.ZodTypeAny, {
6187
- value: `0x${string}`;
6188
- __kind: "P2SH";
6189
- }, {
6190
- value: string;
6191
- __kind: "P2SH";
6192
- }>, z.ZodObject<{
6193
- __kind: z.ZodLiteral<"P2WPKH">;
6194
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6195
- }, "strip", z.ZodTypeAny, {
6196
- value: `0x${string}`;
6197
- __kind: "P2WPKH";
6198
- }, {
6199
- value: string;
6200
- __kind: "P2WPKH";
6201
- }>, z.ZodObject<{
6202
- __kind: z.ZodLiteral<"P2WSH">;
6203
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6204
- }, "strip", z.ZodTypeAny, {
6205
- value: `0x${string}`;
6206
- __kind: "P2WSH";
6207
- }, {
6208
- value: string;
6209
- __kind: "P2WSH";
6210
- }>, z.ZodObject<{
6211
- __kind: z.ZodLiteral<"Taproot">;
6212
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6213
- }, "strip", z.ZodTypeAny, {
6214
- value: `0x${string}`;
6215
- __kind: "Taproot";
6216
- }, {
6217
- value: string;
6218
- __kind: "Taproot";
6219
- }>, z.ZodObject<{
6220
- __kind: z.ZodLiteral<"OtherSegwit">;
6221
- version: z.ZodNumber;
6222
- program: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6223
- }, "strip", z.ZodTypeAny, {
6224
- __kind: "OtherSegwit";
6225
- version: number;
6226
- program: `0x${string}`;
6227
- }, {
6228
- __kind: "OtherSegwit";
6229
- version: number;
6230
- program: string;
6231
- }>]>;
6232
- declare const cfChainsAddressForeignChainAddress: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
6233
- __kind: z.ZodLiteral<"Eth">;
6234
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6235
- }, "strip", z.ZodTypeAny, {
6236
- value: `0x${string}`;
6237
- __kind: "Eth";
6238
- }, {
6239
- value: string;
6240
- __kind: "Eth";
6241
- }>, z.ZodObject<{
6242
- __kind: z.ZodLiteral<"Dot">;
6243
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6244
- }, "strip", z.ZodTypeAny, {
6245
- value: `0x${string}`;
6246
- __kind: "Dot";
6247
- }, {
6248
- value: string;
6249
- __kind: "Dot";
6250
- }>, z.ZodObject<{
6251
- __kind: z.ZodLiteral<"Btc">;
6252
- value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
6253
- __kind: z.ZodLiteral<"P2PKH">;
6254
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6255
- }, "strip", z.ZodTypeAny, {
6256
- value: `0x${string}`;
6257
- __kind: "P2PKH";
6258
- }, {
6259
- value: string;
6260
- __kind: "P2PKH";
6261
- }>, z.ZodObject<{
6262
- __kind: z.ZodLiteral<"P2SH">;
6263
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6264
- }, "strip", z.ZodTypeAny, {
6265
- value: `0x${string}`;
6266
- __kind: "P2SH";
6267
- }, {
6268
- value: string;
6269
- __kind: "P2SH";
6270
- }>, z.ZodObject<{
6271
- __kind: z.ZodLiteral<"P2WPKH">;
6272
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6273
- }, "strip", z.ZodTypeAny, {
6274
- value: `0x${string}`;
6275
- __kind: "P2WPKH";
6276
- }, {
6277
- value: string;
6278
- __kind: "P2WPKH";
6279
- }>, z.ZodObject<{
6280
- __kind: z.ZodLiteral<"P2WSH">;
6281
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6282
- }, "strip", z.ZodTypeAny, {
6283
- value: `0x${string}`;
6284
- __kind: "P2WSH";
6285
- }, {
6286
- value: string;
6287
- __kind: "P2WSH";
6288
- }>, z.ZodObject<{
6289
- __kind: z.ZodLiteral<"Taproot">;
6290
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6291
- }, "strip", z.ZodTypeAny, {
6292
- value: `0x${string}`;
6293
- __kind: "Taproot";
6294
- }, {
6295
- value: string;
6296
- __kind: "Taproot";
6297
- }>, z.ZodObject<{
6298
- __kind: z.ZodLiteral<"OtherSegwit">;
6299
- version: z.ZodNumber;
6300
- program: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6301
- }, "strip", z.ZodTypeAny, {
6302
- __kind: "OtherSegwit";
6303
- version: number;
6304
- program: `0x${string}`;
6305
- }, {
6306
- __kind: "OtherSegwit";
6307
- version: number;
6308
- program: string;
6309
- }>]>;
6310
- }, "strip", z.ZodTypeAny, {
6311
- value: {
6312
- value: `0x${string}`;
6313
- __kind: "P2PKH";
6314
- } | {
6315
- value: `0x${string}`;
6316
- __kind: "P2SH";
6317
- } | {
6318
- value: `0x${string}`;
6319
- __kind: "P2WPKH";
6320
- } | {
6321
- value: `0x${string}`;
6322
- __kind: "P2WSH";
6323
- } | {
6324
- value: `0x${string}`;
6325
- __kind: "Taproot";
6326
- } | {
6327
- __kind: "OtherSegwit";
6328
- version: number;
6329
- program: `0x${string}`;
6330
- };
6331
- __kind: "Btc";
6332
- }, {
6333
- value: {
6334
- value: string;
6335
- __kind: "P2PKH";
6336
- } | {
6337
- value: string;
6338
- __kind: "P2SH";
6339
- } | {
6340
- value: string;
6341
- __kind: "P2WPKH";
6342
- } | {
6343
- value: string;
6344
- __kind: "P2WSH";
6345
- } | {
6346
- value: string;
6347
- __kind: "Taproot";
6348
6249
  } | {
6349
- __kind: "OtherSegwit";
6350
- version: number;
6351
- program: string;
6250
+ __kind: "CreditFlipAndTransferToGateway";
6251
+ accountId: string;
6252
+ flipToSubtractFromSwapOutput: string | number;
6352
6253
  };
6353
- __kind: "Btc";
6354
- }>, z.ZodObject<{
6355
- __kind: z.ZodLiteral<"Arb">;
6356
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6357
- }, "strip", z.ZodTypeAny, {
6358
- value: `0x${string}`;
6359
- __kind: "Arb";
6360
- }, {
6361
- value: string;
6362
- __kind: "Arb";
6254
+ }>, z.ZodObject<{
6255
+ __kind: z.ZodLiteral<"RegularNoNetworkFee">;
6256
+ outputAction: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
6257
+ __kind: z.ZodLiteral<"Egress">;
6258
+ ccmDepositMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6259
+ channelMetadata: z.ZodObject<{
6260
+ message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6261
+ gasBudget: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
6262
+ ccmAdditionalData: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
6263
+ __kind: z.ZodLiteral<"NotRequired">;
6264
+ }, "strip", z.ZodTypeAny, {
6265
+ __kind: "NotRequired";
6266
+ }, {
6267
+ __kind: "NotRequired";
6268
+ }>, z.ZodObject<{
6269
+ __kind: z.ZodLiteral<"Solana">;
6270
+ value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
6271
+ __kind: z.ZodLiteral<"V0">;
6272
+ value: z.ZodObject<{
6273
+ cfReceiver: z.ZodObject<{
6274
+ pubkey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6275
+ isWritable: z.ZodBoolean;
6276
+ }, "strip", z.ZodTypeAny, {
6277
+ pubkey: `0x${string}`;
6278
+ isWritable: boolean;
6279
+ }, {
6280
+ pubkey: string;
6281
+ isWritable: boolean;
6282
+ }>;
6283
+ additionalAccounts: z.ZodArray<z.ZodObject<{
6284
+ pubkey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6285
+ isWritable: z.ZodBoolean;
6286
+ }, "strip", z.ZodTypeAny, {
6287
+ pubkey: `0x${string}`;
6288
+ isWritable: boolean;
6289
+ }, {
6290
+ pubkey: string;
6291
+ isWritable: boolean;
6292
+ }>, "many">;
6293
+ fallbackAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6294
+ }, "strip", z.ZodTypeAny, {
6295
+ cfReceiver: {
6296
+ pubkey: `0x${string}`;
6297
+ isWritable: boolean;
6298
+ };
6299
+ additionalAccounts: {
6300
+ pubkey: `0x${string}`;
6301
+ isWritable: boolean;
6302
+ }[];
6303
+ fallbackAddress: `0x${string}`;
6304
+ }, {
6305
+ cfReceiver: {
6306
+ pubkey: string;
6307
+ isWritable: boolean;
6308
+ };
6309
+ additionalAccounts: {
6310
+ pubkey: string;
6311
+ isWritable: boolean;
6312
+ }[];
6313
+ fallbackAddress: string;
6314
+ }>;
6315
+ }, "strip", z.ZodTypeAny, {
6316
+ value: {
6317
+ cfReceiver: {
6318
+ pubkey: `0x${string}`;
6319
+ isWritable: boolean;
6320
+ };
6321
+ additionalAccounts: {
6322
+ pubkey: `0x${string}`;
6323
+ isWritable: boolean;
6324
+ }[];
6325
+ fallbackAddress: `0x${string}`;
6326
+ };
6327
+ __kind: "V0";
6328
+ }, {
6329
+ value: {
6330
+ cfReceiver: {
6331
+ pubkey: string;
6332
+ isWritable: boolean;
6333
+ };
6334
+ additionalAccounts: {
6335
+ pubkey: string;
6336
+ isWritable: boolean;
6337
+ }[];
6338
+ fallbackAddress: string;
6339
+ };
6340
+ __kind: "V0";
6341
+ }>, z.ZodObject<{
6342
+ __kind: z.ZodLiteral<"V1">;
6343
+ ccmAccounts: z.ZodObject<{
6344
+ cfReceiver: z.ZodObject<{
6345
+ pubkey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6346
+ isWritable: z.ZodBoolean;
6347
+ }, "strip", z.ZodTypeAny, {
6348
+ pubkey: `0x${string}`;
6349
+ isWritable: boolean;
6350
+ }, {
6351
+ pubkey: string;
6352
+ isWritable: boolean;
6353
+ }>;
6354
+ additionalAccounts: z.ZodArray<z.ZodObject<{
6355
+ pubkey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6356
+ isWritable: z.ZodBoolean;
6357
+ }, "strip", z.ZodTypeAny, {
6358
+ pubkey: `0x${string}`;
6359
+ isWritable: boolean;
6360
+ }, {
6361
+ pubkey: string;
6362
+ isWritable: boolean;
6363
+ }>, "many">;
6364
+ fallbackAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6365
+ }, "strip", z.ZodTypeAny, {
6366
+ cfReceiver: {
6367
+ pubkey: `0x${string}`;
6368
+ isWritable: boolean;
6369
+ };
6370
+ additionalAccounts: {
6371
+ pubkey: `0x${string}`;
6372
+ isWritable: boolean;
6373
+ }[];
6374
+ fallbackAddress: `0x${string}`;
6375
+ }, {
6376
+ cfReceiver: {
6377
+ pubkey: string;
6378
+ isWritable: boolean;
6379
+ };
6380
+ additionalAccounts: {
6381
+ pubkey: string;
6382
+ isWritable: boolean;
6383
+ }[];
6384
+ fallbackAddress: string;
6385
+ }>;
6386
+ alts: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
6387
+ }, "strip", z.ZodTypeAny, {
6388
+ __kind: "V1";
6389
+ ccmAccounts: {
6390
+ cfReceiver: {
6391
+ pubkey: `0x${string}`;
6392
+ isWritable: boolean;
6393
+ };
6394
+ additionalAccounts: {
6395
+ pubkey: `0x${string}`;
6396
+ isWritable: boolean;
6397
+ }[];
6398
+ fallbackAddress: `0x${string}`;
6399
+ };
6400
+ alts: `0x${string}`[];
6401
+ }, {
6402
+ __kind: "V1";
6403
+ ccmAccounts: {
6404
+ cfReceiver: {
6405
+ pubkey: string;
6406
+ isWritable: boolean;
6407
+ };
6408
+ additionalAccounts: {
6409
+ pubkey: string;
6410
+ isWritable: boolean;
6411
+ }[];
6412
+ fallbackAddress: string;
6413
+ };
6414
+ alts: string[];
6415
+ }>]>;
6416
+ }, "strip", z.ZodTypeAny, {
6417
+ value: {
6418
+ value: {
6419
+ cfReceiver: {
6420
+ pubkey: `0x${string}`;
6421
+ isWritable: boolean;
6422
+ };
6423
+ additionalAccounts: {
6424
+ pubkey: `0x${string}`;
6425
+ isWritable: boolean;
6426
+ }[];
6427
+ fallbackAddress: `0x${string}`;
6428
+ };
6429
+ __kind: "V0";
6430
+ } | {
6431
+ __kind: "V1";
6432
+ ccmAccounts: {
6433
+ cfReceiver: {
6434
+ pubkey: `0x${string}`;
6435
+ isWritable: boolean;
6436
+ };
6437
+ additionalAccounts: {
6438
+ pubkey: `0x${string}`;
6439
+ isWritable: boolean;
6440
+ }[];
6441
+ fallbackAddress: `0x${string}`;
6442
+ };
6443
+ alts: `0x${string}`[];
6444
+ };
6445
+ __kind: "Solana";
6446
+ }, {
6447
+ value: {
6448
+ value: {
6449
+ cfReceiver: {
6450
+ pubkey: string;
6451
+ isWritable: boolean;
6452
+ };
6453
+ additionalAccounts: {
6454
+ pubkey: string;
6455
+ isWritable: boolean;
6456
+ }[];
6457
+ fallbackAddress: string;
6458
+ };
6459
+ __kind: "V0";
6460
+ } | {
6461
+ __kind: "V1";
6462
+ ccmAccounts: {
6463
+ cfReceiver: {
6464
+ pubkey: string;
6465
+ isWritable: boolean;
6466
+ };
6467
+ additionalAccounts: {
6468
+ pubkey: string;
6469
+ isWritable: boolean;
6470
+ }[];
6471
+ fallbackAddress: string;
6472
+ };
6473
+ alts: string[];
6474
+ };
6475
+ __kind: "Solana";
6476
+ }>]>;
6477
+ }, "strip", z.ZodTypeAny, {
6478
+ message: `0x${string}`;
6479
+ gasBudget: bigint;
6480
+ ccmAdditionalData: {
6481
+ __kind: "NotRequired";
6482
+ } | {
6483
+ value: {
6484
+ value: {
6485
+ cfReceiver: {
6486
+ pubkey: `0x${string}`;
6487
+ isWritable: boolean;
6488
+ };
6489
+ additionalAccounts: {
6490
+ pubkey: `0x${string}`;
6491
+ isWritable: boolean;
6492
+ }[];
6493
+ fallbackAddress: `0x${string}`;
6494
+ };
6495
+ __kind: "V0";
6496
+ } | {
6497
+ __kind: "V1";
6498
+ ccmAccounts: {
6499
+ cfReceiver: {
6500
+ pubkey: `0x${string}`;
6501
+ isWritable: boolean;
6502
+ };
6503
+ additionalAccounts: {
6504
+ pubkey: `0x${string}`;
6505
+ isWritable: boolean;
6506
+ }[];
6507
+ fallbackAddress: `0x${string}`;
6508
+ };
6509
+ alts: `0x${string}`[];
6510
+ };
6511
+ __kind: "Solana";
6512
+ };
6513
+ }, {
6514
+ message: string;
6515
+ gasBudget: string | number;
6516
+ ccmAdditionalData: {
6517
+ __kind: "NotRequired";
6518
+ } | {
6519
+ value: {
6520
+ value: {
6521
+ cfReceiver: {
6522
+ pubkey: string;
6523
+ isWritable: boolean;
6524
+ };
6525
+ additionalAccounts: {
6526
+ pubkey: string;
6527
+ isWritable: boolean;
6528
+ }[];
6529
+ fallbackAddress: string;
6530
+ };
6531
+ __kind: "V0";
6532
+ } | {
6533
+ __kind: "V1";
6534
+ ccmAccounts: {
6535
+ cfReceiver: {
6536
+ pubkey: string;
6537
+ isWritable: boolean;
6538
+ };
6539
+ additionalAccounts: {
6540
+ pubkey: string;
6541
+ isWritable: boolean;
6542
+ }[];
6543
+ fallbackAddress: string;
6544
+ };
6545
+ alts: string[];
6546
+ };
6547
+ __kind: "Solana";
6548
+ };
6549
+ }>;
6550
+ sourceChain: z.ZodEffects<z.ZodObject<{
6551
+ __kind: z.ZodEnum<["Ethereum", "Polkadot", "Bitcoin", "Arbitrum", "Solana", "Assethub"]>;
6552
+ }, "strip", z.ZodTypeAny, {
6553
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
6554
+ }, {
6555
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
6556
+ }>, "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub", {
6557
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
6558
+ }>;
6559
+ sourceAddress: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
6560
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol", "Hub"]>;
6561
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6562
+ }, "strip", z.ZodTypeAny, {
6563
+ value: `0x${string}`;
6564
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
6565
+ }, {
6566
+ value: string;
6567
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
6568
+ }>, {
6569
+ readonly chain: "Ethereum";
6570
+ readonly address: `0x${string}`;
6571
+ } | {
6572
+ readonly chain: "Polkadot";
6573
+ readonly address: string;
6574
+ } | {
6575
+ readonly chain: "Bitcoin";
6576
+ readonly address: string;
6577
+ } | {
6578
+ readonly chain: "Arbitrum";
6579
+ readonly address: `0x${string}`;
6580
+ } | {
6581
+ readonly chain: "Solana";
6582
+ readonly address: string;
6583
+ } | {
6584
+ readonly chain: "Assethub";
6585
+ readonly address: string;
6586
+ }, {
6587
+ value: string;
6588
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
6589
+ }>>>;
6590
+ }, "strip", z.ZodTypeAny, {
6591
+ channelMetadata: {
6592
+ message: `0x${string}`;
6593
+ gasBudget: bigint;
6594
+ ccmAdditionalData: {
6595
+ __kind: "NotRequired";
6596
+ } | {
6597
+ value: {
6598
+ value: {
6599
+ cfReceiver: {
6600
+ pubkey: `0x${string}`;
6601
+ isWritable: boolean;
6602
+ };
6603
+ additionalAccounts: {
6604
+ pubkey: `0x${string}`;
6605
+ isWritable: boolean;
6606
+ }[];
6607
+ fallbackAddress: `0x${string}`;
6608
+ };
6609
+ __kind: "V0";
6610
+ } | {
6611
+ __kind: "V1";
6612
+ ccmAccounts: {
6613
+ cfReceiver: {
6614
+ pubkey: `0x${string}`;
6615
+ isWritable: boolean;
6616
+ };
6617
+ additionalAccounts: {
6618
+ pubkey: `0x${string}`;
6619
+ isWritable: boolean;
6620
+ }[];
6621
+ fallbackAddress: `0x${string}`;
6622
+ };
6623
+ alts: `0x${string}`[];
6624
+ };
6625
+ __kind: "Solana";
6626
+ };
6627
+ };
6628
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
6629
+ sourceAddress?: {
6630
+ readonly chain: "Ethereum";
6631
+ readonly address: `0x${string}`;
6632
+ } | {
6633
+ readonly chain: "Polkadot";
6634
+ readonly address: string;
6635
+ } | {
6636
+ readonly chain: "Bitcoin";
6637
+ readonly address: string;
6638
+ } | {
6639
+ readonly chain: "Arbitrum";
6640
+ readonly address: `0x${string}`;
6641
+ } | {
6642
+ readonly chain: "Solana";
6643
+ readonly address: string;
6644
+ } | {
6645
+ readonly chain: "Assethub";
6646
+ readonly address: string;
6647
+ } | null | undefined;
6648
+ }, {
6649
+ channelMetadata: {
6650
+ message: string;
6651
+ gasBudget: string | number;
6652
+ ccmAdditionalData: {
6653
+ __kind: "NotRequired";
6654
+ } | {
6655
+ value: {
6656
+ value: {
6657
+ cfReceiver: {
6658
+ pubkey: string;
6659
+ isWritable: boolean;
6660
+ };
6661
+ additionalAccounts: {
6662
+ pubkey: string;
6663
+ isWritable: boolean;
6664
+ }[];
6665
+ fallbackAddress: string;
6666
+ };
6667
+ __kind: "V0";
6668
+ } | {
6669
+ __kind: "V1";
6670
+ ccmAccounts: {
6671
+ cfReceiver: {
6672
+ pubkey: string;
6673
+ isWritable: boolean;
6674
+ };
6675
+ additionalAccounts: {
6676
+ pubkey: string;
6677
+ isWritable: boolean;
6678
+ }[];
6679
+ fallbackAddress: string;
6680
+ };
6681
+ alts: string[];
6682
+ };
6683
+ __kind: "Solana";
6684
+ };
6685
+ };
6686
+ sourceChain: {
6687
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
6688
+ };
6689
+ sourceAddress?: {
6690
+ value: string;
6691
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
6692
+ } | null | undefined;
6693
+ }>>>;
6694
+ outputAddress: z.ZodEffects<z.ZodObject<{
6695
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol", "Hub"]>;
6696
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6697
+ }, "strip", z.ZodTypeAny, {
6698
+ value: `0x${string}`;
6699
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
6700
+ }, {
6701
+ value: string;
6702
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
6703
+ }>, {
6704
+ readonly chain: "Ethereum";
6705
+ readonly address: `0x${string}`;
6706
+ } | {
6707
+ readonly chain: "Polkadot";
6708
+ readonly address: string;
6709
+ } | {
6710
+ readonly chain: "Bitcoin";
6711
+ readonly address: string;
6712
+ } | {
6713
+ readonly chain: "Arbitrum";
6714
+ readonly address: `0x${string}`;
6715
+ } | {
6716
+ readonly chain: "Solana";
6717
+ readonly address: string;
6718
+ } | {
6719
+ readonly chain: "Assethub";
6720
+ readonly address: string;
6721
+ }, {
6722
+ value: string;
6723
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
6724
+ }>;
6725
+ }, "strip", z.ZodTypeAny, {
6726
+ __kind: "Egress";
6727
+ outputAddress: {
6728
+ readonly chain: "Ethereum";
6729
+ readonly address: `0x${string}`;
6730
+ } | {
6731
+ readonly chain: "Polkadot";
6732
+ readonly address: string;
6733
+ } | {
6734
+ readonly chain: "Bitcoin";
6735
+ readonly address: string;
6736
+ } | {
6737
+ readonly chain: "Arbitrum";
6738
+ readonly address: `0x${string}`;
6739
+ } | {
6740
+ readonly chain: "Solana";
6741
+ readonly address: string;
6742
+ } | {
6743
+ readonly chain: "Assethub";
6744
+ readonly address: string;
6745
+ };
6746
+ ccmDepositMetadata?: {
6747
+ channelMetadata: {
6748
+ message: `0x${string}`;
6749
+ gasBudget: bigint;
6750
+ ccmAdditionalData: {
6751
+ __kind: "NotRequired";
6752
+ } | {
6753
+ value: {
6754
+ value: {
6755
+ cfReceiver: {
6756
+ pubkey: `0x${string}`;
6757
+ isWritable: boolean;
6758
+ };
6759
+ additionalAccounts: {
6760
+ pubkey: `0x${string}`;
6761
+ isWritable: boolean;
6762
+ }[];
6763
+ fallbackAddress: `0x${string}`;
6764
+ };
6765
+ __kind: "V0";
6766
+ } | {
6767
+ __kind: "V1";
6768
+ ccmAccounts: {
6769
+ cfReceiver: {
6770
+ pubkey: `0x${string}`;
6771
+ isWritable: boolean;
6772
+ };
6773
+ additionalAccounts: {
6774
+ pubkey: `0x${string}`;
6775
+ isWritable: boolean;
6776
+ }[];
6777
+ fallbackAddress: `0x${string}`;
6778
+ };
6779
+ alts: `0x${string}`[];
6780
+ };
6781
+ __kind: "Solana";
6782
+ };
6783
+ };
6784
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
6785
+ sourceAddress?: {
6786
+ readonly chain: "Ethereum";
6787
+ readonly address: `0x${string}`;
6788
+ } | {
6789
+ readonly chain: "Polkadot";
6790
+ readonly address: string;
6791
+ } | {
6792
+ readonly chain: "Bitcoin";
6793
+ readonly address: string;
6794
+ } | {
6795
+ readonly chain: "Arbitrum";
6796
+ readonly address: `0x${string}`;
6797
+ } | {
6798
+ readonly chain: "Solana";
6799
+ readonly address: string;
6800
+ } | {
6801
+ readonly chain: "Assethub";
6802
+ readonly address: string;
6803
+ } | null | undefined;
6804
+ } | null | undefined;
6805
+ }, {
6806
+ __kind: "Egress";
6807
+ outputAddress: {
6808
+ value: string;
6809
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
6810
+ };
6811
+ ccmDepositMetadata?: {
6812
+ channelMetadata: {
6813
+ message: string;
6814
+ gasBudget: string | number;
6815
+ ccmAdditionalData: {
6816
+ __kind: "NotRequired";
6817
+ } | {
6818
+ value: {
6819
+ value: {
6820
+ cfReceiver: {
6821
+ pubkey: string;
6822
+ isWritable: boolean;
6823
+ };
6824
+ additionalAccounts: {
6825
+ pubkey: string;
6826
+ isWritable: boolean;
6827
+ }[];
6828
+ fallbackAddress: string;
6829
+ };
6830
+ __kind: "V0";
6831
+ } | {
6832
+ __kind: "V1";
6833
+ ccmAccounts: {
6834
+ cfReceiver: {
6835
+ pubkey: string;
6836
+ isWritable: boolean;
6837
+ };
6838
+ additionalAccounts: {
6839
+ pubkey: string;
6840
+ isWritable: boolean;
6841
+ }[];
6842
+ fallbackAddress: string;
6843
+ };
6844
+ alts: string[];
6845
+ };
6846
+ __kind: "Solana";
6847
+ };
6848
+ };
6849
+ sourceChain: {
6850
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
6851
+ };
6852
+ sourceAddress?: {
6853
+ value: string;
6854
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
6855
+ } | null | undefined;
6856
+ } | null | undefined;
6857
+ }>, z.ZodObject<{
6858
+ __kind: z.ZodLiteral<"CreditOnChain">;
6859
+ accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
6860
+ }, "strip", z.ZodTypeAny, {
6861
+ __kind: "CreditOnChain";
6862
+ accountId: string;
6863
+ }, {
6864
+ __kind: "CreditOnChain";
6865
+ accountId: string;
6866
+ }>, z.ZodObject<{
6867
+ __kind: z.ZodLiteral<"CreditLendingPool">;
6868
+ swapType: z.ZodObject<{
6869
+ __kind: z.ZodLiteral<"Liquidation">;
6870
+ borrowerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
6871
+ loanId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
6872
+ }, "strip", z.ZodTypeAny, {
6873
+ __kind: "Liquidation";
6874
+ borrowerId: string;
6875
+ loanId: bigint;
6876
+ }, {
6877
+ __kind: "Liquidation";
6878
+ borrowerId: string;
6879
+ loanId: string | number;
6880
+ }>;
6881
+ }, "strip", z.ZodTypeAny, {
6882
+ __kind: "CreditLendingPool";
6883
+ swapType: {
6884
+ __kind: "Liquidation";
6885
+ borrowerId: string;
6886
+ loanId: bigint;
6887
+ };
6888
+ }, {
6889
+ __kind: "CreditLendingPool";
6890
+ swapType: {
6891
+ __kind: "Liquidation";
6892
+ borrowerId: string;
6893
+ loanId: string | number;
6894
+ };
6895
+ }>, z.ZodObject<{
6896
+ __kind: z.ZodLiteral<"CreditFlipAndTransferToGateway">;
6897
+ accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
6898
+ flipToSubtractFromSwapOutput: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
6899
+ }, "strip", z.ZodTypeAny, {
6900
+ __kind: "CreditFlipAndTransferToGateway";
6901
+ accountId: string;
6902
+ flipToSubtractFromSwapOutput: bigint;
6903
+ }, {
6904
+ __kind: "CreditFlipAndTransferToGateway";
6905
+ accountId: string;
6906
+ flipToSubtractFromSwapOutput: string | number;
6907
+ }>]>;
6908
+ }, "strip", z.ZodTypeAny, {
6909
+ __kind: "RegularNoNetworkFee";
6910
+ outputAction: {
6911
+ __kind: "Egress";
6912
+ outputAddress: {
6913
+ readonly chain: "Ethereum";
6914
+ readonly address: `0x${string}`;
6915
+ } | {
6916
+ readonly chain: "Polkadot";
6917
+ readonly address: string;
6918
+ } | {
6919
+ readonly chain: "Bitcoin";
6920
+ readonly address: string;
6921
+ } | {
6922
+ readonly chain: "Arbitrum";
6923
+ readonly address: `0x${string}`;
6924
+ } | {
6925
+ readonly chain: "Solana";
6926
+ readonly address: string;
6927
+ } | {
6928
+ readonly chain: "Assethub";
6929
+ readonly address: string;
6930
+ };
6931
+ ccmDepositMetadata?: {
6932
+ channelMetadata: {
6933
+ message: `0x${string}`;
6934
+ gasBudget: bigint;
6935
+ ccmAdditionalData: {
6936
+ __kind: "NotRequired";
6937
+ } | {
6938
+ value: {
6939
+ value: {
6940
+ cfReceiver: {
6941
+ pubkey: `0x${string}`;
6942
+ isWritable: boolean;
6943
+ };
6944
+ additionalAccounts: {
6945
+ pubkey: `0x${string}`;
6946
+ isWritable: boolean;
6947
+ }[];
6948
+ fallbackAddress: `0x${string}`;
6949
+ };
6950
+ __kind: "V0";
6951
+ } | {
6952
+ __kind: "V1";
6953
+ ccmAccounts: {
6954
+ cfReceiver: {
6955
+ pubkey: `0x${string}`;
6956
+ isWritable: boolean;
6957
+ };
6958
+ additionalAccounts: {
6959
+ pubkey: `0x${string}`;
6960
+ isWritable: boolean;
6961
+ }[];
6962
+ fallbackAddress: `0x${string}`;
6963
+ };
6964
+ alts: `0x${string}`[];
6965
+ };
6966
+ __kind: "Solana";
6967
+ };
6968
+ };
6969
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
6970
+ sourceAddress?: {
6971
+ readonly chain: "Ethereum";
6972
+ readonly address: `0x${string}`;
6973
+ } | {
6974
+ readonly chain: "Polkadot";
6975
+ readonly address: string;
6976
+ } | {
6977
+ readonly chain: "Bitcoin";
6978
+ readonly address: string;
6979
+ } | {
6980
+ readonly chain: "Arbitrum";
6981
+ readonly address: `0x${string}`;
6982
+ } | {
6983
+ readonly chain: "Solana";
6984
+ readonly address: string;
6985
+ } | {
6986
+ readonly chain: "Assethub";
6987
+ readonly address: string;
6988
+ } | null | undefined;
6989
+ } | null | undefined;
6990
+ } | {
6991
+ __kind: "CreditOnChain";
6992
+ accountId: string;
6993
+ } | {
6994
+ __kind: "CreditLendingPool";
6995
+ swapType: {
6996
+ __kind: "Liquidation";
6997
+ borrowerId: string;
6998
+ loanId: bigint;
6999
+ };
7000
+ } | {
7001
+ __kind: "CreditFlipAndTransferToGateway";
7002
+ accountId: string;
7003
+ flipToSubtractFromSwapOutput: bigint;
7004
+ };
7005
+ }, {
7006
+ __kind: "RegularNoNetworkFee";
7007
+ outputAction: {
7008
+ __kind: "Egress";
7009
+ outputAddress: {
7010
+ value: string;
7011
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
7012
+ };
7013
+ ccmDepositMetadata?: {
7014
+ channelMetadata: {
7015
+ message: string;
7016
+ gasBudget: string | number;
7017
+ ccmAdditionalData: {
7018
+ __kind: "NotRequired";
7019
+ } | {
7020
+ value: {
7021
+ value: {
7022
+ cfReceiver: {
7023
+ pubkey: string;
7024
+ isWritable: boolean;
7025
+ };
7026
+ additionalAccounts: {
7027
+ pubkey: string;
7028
+ isWritable: boolean;
7029
+ }[];
7030
+ fallbackAddress: string;
7031
+ };
7032
+ __kind: "V0";
7033
+ } | {
7034
+ __kind: "V1";
7035
+ ccmAccounts: {
7036
+ cfReceiver: {
7037
+ pubkey: string;
7038
+ isWritable: boolean;
7039
+ };
7040
+ additionalAccounts: {
7041
+ pubkey: string;
7042
+ isWritable: boolean;
7043
+ }[];
7044
+ fallbackAddress: string;
7045
+ };
7046
+ alts: string[];
7047
+ };
7048
+ __kind: "Solana";
7049
+ };
7050
+ };
7051
+ sourceChain: {
7052
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
7053
+ };
7054
+ sourceAddress?: {
7055
+ value: string;
7056
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb" | "Hub";
7057
+ } | null | undefined;
7058
+ } | null | undefined;
7059
+ } | {
7060
+ __kind: "CreditOnChain";
7061
+ accountId: string;
7062
+ } | {
7063
+ __kind: "CreditLendingPool";
7064
+ swapType: {
7065
+ __kind: "Liquidation";
7066
+ borrowerId: string;
7067
+ loanId: string | number;
7068
+ };
7069
+ } | {
7070
+ __kind: "CreditFlipAndTransferToGateway";
7071
+ accountId: string;
7072
+ flipToSubtractFromSwapOutput: string | number;
7073
+ };
7074
+ }>]>;
7075
+ declare const cfPrimitivesBeneficiaryAccountId32: z.ZodObject<{
7076
+ account: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
7077
+ bps: z.ZodNumber;
7078
+ }, "strip", z.ZodTypeAny, {
7079
+ account: string;
7080
+ bps: number;
7081
+ }, {
7082
+ account: string;
7083
+ bps: number;
7084
+ }>;
7085
+ declare const cfChainsBtcScriptPubkey: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
7086
+ __kind: z.ZodLiteral<"P2PKH">;
7087
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7088
+ }, "strip", z.ZodTypeAny, {
7089
+ value: `0x${string}`;
7090
+ __kind: "P2PKH";
7091
+ }, {
7092
+ value: string;
7093
+ __kind: "P2PKH";
7094
+ }>, z.ZodObject<{
7095
+ __kind: z.ZodLiteral<"P2SH">;
7096
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7097
+ }, "strip", z.ZodTypeAny, {
7098
+ value: `0x${string}`;
7099
+ __kind: "P2SH";
7100
+ }, {
7101
+ value: string;
7102
+ __kind: "P2SH";
7103
+ }>, z.ZodObject<{
7104
+ __kind: z.ZodLiteral<"P2WPKH">;
7105
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7106
+ }, "strip", z.ZodTypeAny, {
7107
+ value: `0x${string}`;
7108
+ __kind: "P2WPKH";
7109
+ }, {
7110
+ value: string;
7111
+ __kind: "P2WPKH";
7112
+ }>, z.ZodObject<{
7113
+ __kind: z.ZodLiteral<"P2WSH">;
7114
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7115
+ }, "strip", z.ZodTypeAny, {
7116
+ value: `0x${string}`;
7117
+ __kind: "P2WSH";
7118
+ }, {
7119
+ value: string;
7120
+ __kind: "P2WSH";
7121
+ }>, z.ZodObject<{
7122
+ __kind: z.ZodLiteral<"Taproot">;
7123
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7124
+ }, "strip", z.ZodTypeAny, {
7125
+ value: `0x${string}`;
7126
+ __kind: "Taproot";
7127
+ }, {
7128
+ value: string;
7129
+ __kind: "Taproot";
7130
+ }>, z.ZodObject<{
7131
+ __kind: z.ZodLiteral<"OtherSegwit">;
7132
+ version: z.ZodNumber;
7133
+ program: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7134
+ }, "strip", z.ZodTypeAny, {
7135
+ __kind: "OtherSegwit";
7136
+ version: number;
7137
+ program: `0x${string}`;
7138
+ }, {
7139
+ __kind: "OtherSegwit";
7140
+ version: number;
7141
+ program: string;
7142
+ }>]>;
7143
+ declare const cfChainsAddressForeignChainAddress: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
7144
+ __kind: z.ZodLiteral<"Eth">;
7145
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7146
+ }, "strip", z.ZodTypeAny, {
7147
+ value: `0x${string}`;
7148
+ __kind: "Eth";
7149
+ }, {
7150
+ value: string;
7151
+ __kind: "Eth";
7152
+ }>, z.ZodObject<{
7153
+ __kind: z.ZodLiteral<"Dot">;
7154
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7155
+ }, "strip", z.ZodTypeAny, {
7156
+ value: `0x${string}`;
7157
+ __kind: "Dot";
7158
+ }, {
7159
+ value: string;
7160
+ __kind: "Dot";
7161
+ }>, z.ZodObject<{
7162
+ __kind: z.ZodLiteral<"Btc">;
7163
+ value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
7164
+ __kind: z.ZodLiteral<"P2PKH">;
7165
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7166
+ }, "strip", z.ZodTypeAny, {
7167
+ value: `0x${string}`;
7168
+ __kind: "P2PKH";
7169
+ }, {
7170
+ value: string;
7171
+ __kind: "P2PKH";
7172
+ }>, z.ZodObject<{
7173
+ __kind: z.ZodLiteral<"P2SH">;
7174
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7175
+ }, "strip", z.ZodTypeAny, {
7176
+ value: `0x${string}`;
7177
+ __kind: "P2SH";
7178
+ }, {
7179
+ value: string;
7180
+ __kind: "P2SH";
7181
+ }>, z.ZodObject<{
7182
+ __kind: z.ZodLiteral<"P2WPKH">;
7183
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7184
+ }, "strip", z.ZodTypeAny, {
7185
+ value: `0x${string}`;
7186
+ __kind: "P2WPKH";
7187
+ }, {
7188
+ value: string;
7189
+ __kind: "P2WPKH";
7190
+ }>, z.ZodObject<{
7191
+ __kind: z.ZodLiteral<"P2WSH">;
7192
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7193
+ }, "strip", z.ZodTypeAny, {
7194
+ value: `0x${string}`;
7195
+ __kind: "P2WSH";
7196
+ }, {
7197
+ value: string;
7198
+ __kind: "P2WSH";
7199
+ }>, z.ZodObject<{
7200
+ __kind: z.ZodLiteral<"Taproot">;
7201
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7202
+ }, "strip", z.ZodTypeAny, {
7203
+ value: `0x${string}`;
7204
+ __kind: "Taproot";
7205
+ }, {
7206
+ value: string;
7207
+ __kind: "Taproot";
7208
+ }>, z.ZodObject<{
7209
+ __kind: z.ZodLiteral<"OtherSegwit">;
7210
+ version: z.ZodNumber;
7211
+ program: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7212
+ }, "strip", z.ZodTypeAny, {
7213
+ __kind: "OtherSegwit";
7214
+ version: number;
7215
+ program: `0x${string}`;
7216
+ }, {
7217
+ __kind: "OtherSegwit";
7218
+ version: number;
7219
+ program: string;
7220
+ }>]>;
7221
+ }, "strip", z.ZodTypeAny, {
7222
+ value: {
7223
+ value: `0x${string}`;
7224
+ __kind: "P2PKH";
7225
+ } | {
7226
+ value: `0x${string}`;
7227
+ __kind: "P2SH";
7228
+ } | {
7229
+ value: `0x${string}`;
7230
+ __kind: "P2WPKH";
7231
+ } | {
7232
+ value: `0x${string}`;
7233
+ __kind: "P2WSH";
7234
+ } | {
7235
+ value: `0x${string}`;
7236
+ __kind: "Taproot";
7237
+ } | {
7238
+ __kind: "OtherSegwit";
7239
+ version: number;
7240
+ program: `0x${string}`;
7241
+ };
7242
+ __kind: "Btc";
7243
+ }, {
7244
+ value: {
7245
+ value: string;
7246
+ __kind: "P2PKH";
7247
+ } | {
7248
+ value: string;
7249
+ __kind: "P2SH";
7250
+ } | {
7251
+ value: string;
7252
+ __kind: "P2WPKH";
7253
+ } | {
7254
+ value: string;
7255
+ __kind: "P2WSH";
7256
+ } | {
7257
+ value: string;
7258
+ __kind: "Taproot";
7259
+ } | {
7260
+ __kind: "OtherSegwit";
7261
+ version: number;
7262
+ program: string;
7263
+ };
7264
+ __kind: "Btc";
7265
+ }>, z.ZodObject<{
7266
+ __kind: z.ZodLiteral<"Arb">;
7267
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7268
+ }, "strip", z.ZodTypeAny, {
7269
+ value: `0x${string}`;
7270
+ __kind: "Arb";
7271
+ }, {
7272
+ value: string;
7273
+ __kind: "Arb";
6363
7274
  }>, z.ZodObject<{
6364
7275
  __kind: z.ZodLiteral<"Sol">;
6365
7276
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -9731,6 +10642,15 @@ declare const cfPrimitivesDcaParameters: z.ZodObject<{
9731
10642
  numberOfChunks: number;
9732
10643
  chunkInterval: number;
9733
10644
  }>;
10645
+ declare const palletCfSwappingSwapRequestCompletionReason: z.ZodEffects<z.ZodObject<{
10646
+ __kind: z.ZodEnum<["Aborted", "Expired", "Executed"]>;
10647
+ }, "strip", z.ZodTypeAny, {
10648
+ __kind: "Aborted" | "Expired" | "Executed";
10649
+ }, {
10650
+ __kind: "Aborted" | "Expired" | "Executed";
10651
+ }>, "Aborted" | "Expired" | "Executed", {
10652
+ __kind: "Aborted" | "Expired" | "Executed";
10653
+ }>;
9734
10654
  declare const palletCfSwappingSwapFailureReason: z.ZodEffects<z.ZodObject<{
9735
10655
  __kind: z.ZodEnum<["PriceImpactLimit", "MinPriceViolation", "OraclePriceSlippageExceeded", "OraclePriceStale", "PredecessorSwapFailure", "SafeModeActive", "AbortedFromOrigin", "LogicError"]>;
9736
10656
  }, "strip", z.ZodTypeAny, {
@@ -9823,17 +10743,17 @@ declare const palletCfLendingPoolsGeneralLendingNetworkFeeContributions: z.ZodOb
9823
10743
  extraInterest: z.ZodNumber;
9824
10744
  fromOriginationFee: z.ZodNumber;
9825
10745
  fromLiquidationFee: z.ZodNumber;
9826
- interestOnCollateralMax: z.ZodNumber;
10746
+ lowLtvPenaltyMax: z.ZodNumber;
9827
10747
  }, "strip", z.ZodTypeAny, {
9828
10748
  extraInterest: number;
9829
10749
  fromOriginationFee: number;
9830
10750
  fromLiquidationFee: number;
9831
- interestOnCollateralMax: number;
10751
+ lowLtvPenaltyMax: number;
9832
10752
  }, {
9833
10753
  extraInterest: number;
9834
10754
  fromOriginationFee: number;
9835
10755
  fromLiquidationFee: number;
9836
- interestOnCollateralMax: number;
10756
+ lowLtvPenaltyMax: number;
9837
10757
  }>;
9838
10758
  declare const palletCfLendingPoolsPalletConfigUpdate: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
9839
10759
  __kind: z.ZodLiteral<"SetNetworkFeeDeductionFromBoost">;
@@ -9976,17 +10896,17 @@ declare const palletCfLendingPoolsPalletConfigUpdate: z.ZodDiscriminatedUnion<"_
9976
10896
  extraInterest: z.ZodNumber;
9977
10897
  fromOriginationFee: z.ZodNumber;
9978
10898
  fromLiquidationFee: z.ZodNumber;
9979
- interestOnCollateralMax: z.ZodNumber;
10899
+ lowLtvPenaltyMax: z.ZodNumber;
9980
10900
  }, "strip", z.ZodTypeAny, {
9981
10901
  extraInterest: number;
9982
10902
  fromOriginationFee: number;
9983
10903
  fromLiquidationFee: number;
9984
- interestOnCollateralMax: number;
10904
+ lowLtvPenaltyMax: number;
9985
10905
  }, {
9986
10906
  extraInterest: number;
9987
10907
  fromOriginationFee: number;
9988
10908
  fromLiquidationFee: number;
9989
- interestOnCollateralMax: number;
10909
+ lowLtvPenaltyMax: number;
9990
10910
  }>;
9991
10911
  }, "strip", z.ZodTypeAny, {
9992
10912
  __kind: "SetNetworkFeeContributions";
@@ -9994,7 +10914,7 @@ declare const palletCfLendingPoolsPalletConfigUpdate: z.ZodDiscriminatedUnion<"_
9994
10914
  extraInterest: number;
9995
10915
  fromOriginationFee: number;
9996
10916
  fromLiquidationFee: number;
9997
- interestOnCollateralMax: number;
10917
+ lowLtvPenaltyMax: number;
9998
10918
  };
9999
10919
  }, {
10000
10920
  __kind: "SetNetworkFeeContributions";
@@ -10002,7 +10922,7 @@ declare const palletCfLendingPoolsPalletConfigUpdate: z.ZodDiscriminatedUnion<"_
10002
10922
  extraInterest: number;
10003
10923
  fromOriginationFee: number;
10004
10924
  fromLiquidationFee: number;
10005
- interestOnCollateralMax: number;
10925
+ lowLtvPenaltyMax: number;
10006
10926
  };
10007
10927
  }>, z.ZodObject<{
10008
10928
  __kind: z.ZodLiteral<"SetFeeSwapIntervalBlocks">;
@@ -10057,13 +10977,16 @@ declare const palletCfLendingPoolsPalletConfigUpdate: z.ZodDiscriminatedUnion<"_
10057
10977
  feeSwap: number;
10058
10978
  }>, z.ZodObject<{
10059
10979
  __kind: z.ZodLiteral<"SetLiquidationSwapChunkSizeUsd">;
10060
- value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
10980
+ soft: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
10981
+ hard: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
10061
10982
  }, "strip", z.ZodTypeAny, {
10062
- value: bigint;
10063
10983
  __kind: "SetLiquidationSwapChunkSizeUsd";
10984
+ soft: bigint;
10985
+ hard: bigint;
10064
10986
  }, {
10065
- value: string | number;
10066
10987
  __kind: "SetLiquidationSwapChunkSizeUsd";
10988
+ soft: string | number;
10989
+ hard: string | number;
10067
10990
  }>, z.ZodObject<{
10068
10991
  __kind: z.ZodLiteral<"SetMinimumAmounts">;
10069
10992
  minimumLoanAmountUsd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
@@ -10080,5 +11003,66 @@ declare const palletCfLendingPoolsPalletConfigUpdate: z.ZodDiscriminatedUnion<"_
10080
11003
  minimumUpdateLoanAmountUsd: string | number;
10081
11004
  minimumUpdateCollateralAmountUsd: string | number;
10082
11005
  }>]>;
11006
+ declare const palletCfLendingPoolsCollateralAddedActionType: z.ZodEffects<z.ZodObject<{
11007
+ __kind: z.ZodEnum<["Manual", "SystemTopup", "SystemLiquidationExcessAmount"]>;
11008
+ }, "strip", z.ZodTypeAny, {
11009
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
11010
+ }, {
11011
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
11012
+ }>, "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount", {
11013
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
11014
+ }>;
11015
+ declare const palletCfLendingPoolsGeneralLendingLiquidationType: z.ZodEffects<z.ZodObject<{
11016
+ __kind: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
11017
+ }, "strip", z.ZodTypeAny, {
11018
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
11019
+ }, {
11020
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
11021
+ }>, "SoftVoluntary" | "Soft" | "Hard", {
11022
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
11023
+ }>;
11024
+ declare const palletCfLendingPoolsGeneralLendingLiquidationCompletionReason: z.ZodEffects<z.ZodObject<{
11025
+ __kind: z.ZodEnum<["FullySwapped", "LtvChange", "ManualAbort"]>;
11026
+ }, "strip", z.ZodTypeAny, {
11027
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
11028
+ }, {
11029
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
11030
+ }>, "FullySwapped" | "LtvChange" | "ManualAbort", {
11031
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
11032
+ }>;
11033
+ declare const palletCfLendingPoolsGeneralLendingWhitelistWhitelistUpdate: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
11034
+ __kind: z.ZodLiteral<"SetAllowAll">;
11035
+ }, "strip", z.ZodTypeAny, {
11036
+ __kind: "SetAllowAll";
11037
+ }, {
11038
+ __kind: "SetAllowAll";
11039
+ }>, z.ZodObject<{
11040
+ __kind: z.ZodLiteral<"SetAllowedAccounts">;
11041
+ value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
11042
+ }, "strip", z.ZodTypeAny, {
11043
+ value: string[];
11044
+ __kind: "SetAllowedAccounts";
11045
+ }, {
11046
+ value: string[];
11047
+ __kind: "SetAllowedAccounts";
11048
+ }>, z.ZodObject<{
11049
+ __kind: z.ZodLiteral<"AddAllowedAccounts">;
11050
+ value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
11051
+ }, "strip", z.ZodTypeAny, {
11052
+ value: string[];
11053
+ __kind: "AddAllowedAccounts";
11054
+ }, {
11055
+ value: string[];
11056
+ __kind: "AddAllowedAccounts";
11057
+ }>, z.ZodObject<{
11058
+ __kind: z.ZodLiteral<"RemoveAllowedAccounts">;
11059
+ value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
11060
+ }, "strip", z.ZodTypeAny, {
11061
+ value: string[];
11062
+ __kind: "RemoveAllowedAccounts";
11063
+ }, {
11064
+ value: string[];
11065
+ __kind: "RemoveAllowedAccounts";
11066
+ }>]>;
10083
11067
 
10084
- export { accountId, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsBtcScriptPubkey, cfChainsCcmChannelMetadataDecodedCcmAdditionalData, cfChainsCcmCheckerDecodedCcmAdditionalData, cfChainsCcmCheckerVersionedSolanaCcmAdditionalData, cfChainsCcmDepositMetadataEncodedAddress, cfChainsCcmDepositMetadataForeignChainAddress, cfChainsRefundParametersAccountOrAddress, cfChainsSolSolTxCoreCcmAccounts, cfChainsSolSolTxCoreCcmAddress, cfChainsSwapOrigin, cfChainsTransactionInIdForAnyChain, cfPrimitivesBeneficiaryAccountId32, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsForeignChain, cfPrimitivesDcaParameters, cfPrimitivesTxId, cfTraitsSafeModeSafeModeSet, cfTraitsSwappingExpiryBehaviour, cfTraitsSwappingLendingSwapType, cfTraitsSwappingPriceLimitsAndExpiry, cfTraitsSwappingSwapOutputActionGenericEncodedAddress, cfTraitsSwappingSwapRequestTypeGeneric, hexString, numberOrHex, numericString, palletCfAssetBalancesPalletSafeMode, palletCfBroadcastPalletSafeMode, palletCfEmissionsPalletSafeMode, palletCfEnvironmentSafeModeUpdate, palletCfFundingPalletSafeMode, palletCfIngressEgressPalletSafeMode, palletCfLendingPoolsGeneralLendingInterestRateConfiguration, palletCfLendingPoolsGeneralLendingLendingPoolConfiguration, palletCfLendingPoolsGeneralLendingLtvThresholds, palletCfLendingPoolsGeneralLendingNetworkFeeContributions, palletCfLendingPoolsPalletConfigUpdate, palletCfLendingPoolsPalletSafeMode, palletCfLpPalletSafeMode, palletCfPoolsPalletSafeMode, palletCfReputationPalletSafeMode, palletCfSwappingPalletSafeMode, palletCfSwappingSwapFailureReason, palletCfThresholdSignaturePalletSafeMode, palletCfTradingStrategyPalletSafeMode, palletCfValidatorPalletSafeMode, palletCfWitnesserPalletSafeMode, simpleEnum, stateChainRuntimeChainflipGenericElectionsGenericElectionsSafeMode, stateChainRuntimeSafeModeInnerRuntimeSafeMode, stateChainRuntimeSafeModeWitnesserCallPermission };
11068
+ export { accountId, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsBtcScriptPubkey, cfChainsCcmChannelMetadataDecodedCcmAdditionalData, cfChainsCcmCheckerDecodedCcmAdditionalData, cfChainsCcmCheckerVersionedSolanaCcmAdditionalData, cfChainsCcmDepositMetadataEncodedAddress, cfChainsCcmDepositMetadataForeignChainAddress, cfChainsRefundParametersAccountOrAddress, cfChainsSolSolTxCoreCcmAccounts, cfChainsSolSolTxCoreCcmAddress, cfChainsSwapOrigin, cfChainsTransactionInIdForAnyChain, cfPrimitivesBeneficiaryAccountId32, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsForeignChain, cfPrimitivesDcaParameters, cfPrimitivesTxId, cfTraitsFundingSource, cfTraitsSafeModeSafeModeSet, cfTraitsSwappingExpiryBehaviour, cfTraitsSwappingLendingSwapType, cfTraitsSwappingPriceLimitsAndExpiry, cfTraitsSwappingSwapOutputActionGenericEncodedAddress, cfTraitsSwappingSwapRequestTypeGeneric, hexString, numberOrHex, numericString, palletCfAssetBalancesPalletSafeMode, palletCfBroadcastPalletSafeMode, palletCfEmissionsPalletSafeMode, palletCfEnvironmentSafeModeUpdate, palletCfFundingPalletSafeMode, palletCfIngressEgressPalletSafeMode, palletCfLendingPoolsCollateralAddedActionType, palletCfLendingPoolsGeneralLendingInterestRateConfiguration, palletCfLendingPoolsGeneralLendingLendingPoolConfiguration, palletCfLendingPoolsGeneralLendingLiquidationCompletionReason, palletCfLendingPoolsGeneralLendingLiquidationType, palletCfLendingPoolsGeneralLendingLtvThresholds, palletCfLendingPoolsGeneralLendingNetworkFeeContributions, palletCfLendingPoolsGeneralLendingWhitelistWhitelistUpdate, palletCfLendingPoolsPalletConfigUpdate, palletCfLendingPoolsPalletSafeMode, palletCfLpPalletSafeMode, palletCfPoolsPalletSafeMode, palletCfReputationPalletSafeMode, palletCfSwappingPalletSafeMode, palletCfSwappingSwapFailureReason, palletCfSwappingSwapRequestCompletionReason, palletCfThresholdSignaturePalletSafeMode, palletCfTradingStrategyPalletSafeMode, palletCfValidatorPalletSafeMode, palletCfWitnesserPalletSafeMode, simpleEnum, stateChainRuntimeChainflipGenericElectionsGenericElectionsSafeMode, stateChainRuntimeSafeModeInnerRuntimeSafeMode, stateChainRuntimeSafeModeWitnesserCallPermission };