@chainflip/processor 2.0.0 → 2.0.2

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 (261) hide show
  1. package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
  2. package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
  3. package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.cts +2 -2
  4. package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.ts +2 -2
  5. package/dist/100/ethereumIngressEgress/depositIgnored.d.cts +2 -2
  6. package/dist/100/ethereumIngressEgress/depositIgnored.d.ts +2 -2
  7. package/dist/100/ethereumIngressEgress/depositReceived.d.cts +2 -2
  8. package/dist/100/ethereumIngressEgress/depositReceived.d.ts +2 -2
  9. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.cts +20 -20
  10. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.ts +20 -20
  11. package/dist/100/system/extrinsicFailed.d.cts +16 -16
  12. package/dist/100/system/extrinsicFailed.d.ts +16 -16
  13. package/dist/100/witnesser/witnessExecutionFailed.d.cts +18 -18
  14. package/dist/100/witnesser/witnessExecutionFailed.d.ts +18 -18
  15. package/dist/11000/arbitrumIngressEgress/ccmEgressInvalid.d.cts +26 -26
  16. package/dist/11000/arbitrumIngressEgress/ccmEgressInvalid.d.ts +26 -26
  17. package/dist/11000/arbitrumIngressEgress/depositFailed.d.cts +34 -34
  18. package/dist/11000/arbitrumIngressEgress/depositFailed.d.ts +34 -34
  19. package/dist/11000/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +22 -22
  20. package/dist/11000/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +22 -22
  21. package/dist/11000/bitcoinIngressEgress/ccmEgressInvalid.d.cts +107 -107
  22. package/dist/11000/bitcoinIngressEgress/ccmEgressInvalid.d.ts +107 -107
  23. package/dist/11000/bitcoinIngressEgress/depositFailed.d.cts +401 -401
  24. package/dist/11000/bitcoinIngressEgress/depositFailed.d.ts +401 -401
  25. package/dist/11000/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +103 -103
  26. package/dist/11000/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +103 -103
  27. package/dist/11000/bitcoinIngressEgress/invalidCcmRefunded.d.cts +20 -20
  28. package/dist/11000/bitcoinIngressEgress/invalidCcmRefunded.d.ts +20 -20
  29. package/dist/11000/common.cjs +38 -8
  30. package/dist/11000/common.d.cts +2131 -801
  31. package/dist/11000/common.d.ts +2131 -801
  32. package/dist/11000/common.mjs +38 -8
  33. package/dist/11000/lendingPools/boostFundsAdded.d.cts +2 -2
  34. package/dist/11000/lendingPools/boostFundsAdded.d.ts +2 -2
  35. package/dist/11000/swapping/refundEgressScheduled.d.cts +6 -6
  36. package/dist/11000/swapping/refundEgressScheduled.d.ts +6 -6
  37. package/dist/11000/swapping/refundedOnChain.d.cts +4 -4
  38. package/dist/11000/swapping/refundedOnChain.d.ts +4 -4
  39. package/dist/11000/swapping/swapDepositAddressReady.d.cts +27 -27
  40. package/dist/11000/swapping/swapDepositAddressReady.d.ts +27 -27
  41. package/dist/11000/swapping/swapRequested.d.cts +92 -92
  42. package/dist/11000/swapping/swapRequested.d.ts +92 -92
  43. package/dist/11100/bitcoinIngressEgress/depositFailed.d.cts +318 -318
  44. package/dist/11100/bitcoinIngressEgress/depositFailed.d.ts +318 -318
  45. package/dist/11100/common.cjs +38 -8
  46. package/dist/11100/common.d.cts +2067 -737
  47. package/dist/11100/common.d.ts +2067 -737
  48. package/dist/11100/common.mjs +38 -8
  49. package/dist/11100/solanaIngressEgress/depositFailed.d.cts +166 -166
  50. package/dist/11100/solanaIngressEgress/depositFailed.d.ts +166 -166
  51. package/dist/11200/bitcoinIngressEgress/depositFailed.d.cts +218 -9
  52. package/dist/11200/bitcoinIngressEgress/depositFailed.d.ts +218 -9
  53. package/dist/11200/common.cjs +85 -15
  54. package/dist/11200/common.d.cts +4493 -2569
  55. package/dist/11200/common.d.ts +4493 -2569
  56. package/dist/11200/common.mjs +86 -16
  57. package/dist/11200/swapping/swapRescheduled.d.cts +2 -2
  58. package/dist/11200/swapping/swapRescheduled.d.ts +2 -2
  59. package/dist/120/bitcoinIngressEgress/depositIgnored.d.cts +20 -20
  60. package/dist/120/bitcoinIngressEgress/depositIgnored.d.ts +20 -20
  61. package/dist/120/bitcoinIngressEgress/depositReceived.d.cts +20 -20
  62. package/dist/120/bitcoinIngressEgress/depositReceived.d.ts +20 -20
  63. package/dist/120/emissions/flipBurnSkipped.d.cts +16 -16
  64. package/dist/120/emissions/flipBurnSkipped.d.ts +16 -16
  65. package/dist/120/swapping/ccmFailed.d.cts +62 -62
  66. package/dist/120/swapping/ccmFailed.d.ts +62 -62
  67. package/dist/120/swapping/swapEgressIgnored.d.cts +28 -28
  68. package/dist/120/swapping/swapEgressIgnored.d.ts +28 -28
  69. package/dist/120/swapping/swapEgressScheduled.d.cts +10 -10
  70. package/dist/120/swapping/swapEgressScheduled.d.ts +10 -10
  71. package/dist/120/swapping/swapExecuted.d.cts +12 -12
  72. package/dist/120/swapping/swapExecuted.d.ts +12 -12
  73. package/dist/120/swapping/withdrawalRequested.d.cts +8 -8
  74. package/dist/120/swapping/withdrawalRequested.d.ts +8 -8
  75. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
  76. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
  77. package/dist/131/environment/runtimeSafeModeUpdated.d.cts +28 -28
  78. package/dist/131/environment/runtimeSafeModeUpdated.d.ts +28 -28
  79. package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
  80. package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
  81. package/dist/141/arbitrumIngressEgress/depositBoosted.d.cts +4 -4
  82. package/dist/141/arbitrumIngressEgress/depositBoosted.d.ts +4 -4
  83. package/dist/141/arbitrumIngressEgress/depositFetchesScheduled.d.cts +2 -2
  84. package/dist/141/arbitrumIngressEgress/depositFetchesScheduled.d.ts +2 -2
  85. package/dist/141/arbitrumIngressEgress/depositFinalised.d.cts +4 -4
  86. package/dist/141/arbitrumIngressEgress/depositFinalised.d.ts +4 -4
  87. package/dist/141/arbitrumIngressEgress/depositIgnored.d.cts +3 -3
  88. package/dist/141/arbitrumIngressEgress/depositIgnored.d.ts +3 -3
  89. package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.cts +22 -22
  90. package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.ts +22 -22
  91. package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  92. package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  93. package/dist/141/arbitrumIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  94. package/dist/141/arbitrumIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  95. package/dist/141/arbitrumIngressEgress/transferFallbackRequested.d.cts +4 -4
  96. package/dist/141/arbitrumIngressEgress/transferFallbackRequested.d.ts +4 -4
  97. package/dist/141/environment/runtimeSafeModeUpdated.d.cts +28 -28
  98. package/dist/141/environment/runtimeSafeModeUpdated.d.ts +28 -28
  99. package/dist/141/liquidityProvider/accountCredited.d.cts +2 -2
  100. package/dist/141/liquidityProvider/accountCredited.d.ts +2 -2
  101. package/dist/141/liquidityProvider/accountDebited.d.cts +2 -2
  102. package/dist/141/liquidityProvider/accountDebited.d.ts +2 -2
  103. package/dist/141/liquidityProvider/assetTransferred.d.cts +3 -3
  104. package/dist/141/liquidityProvider/assetTransferred.d.ts +3 -3
  105. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
  106. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
  107. package/dist/141/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
  108. package/dist/141/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
  109. package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.cts +2 -2
  110. package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.ts +2 -2
  111. package/dist/141/swapping/batchSwapFailed.d.cts +8 -8
  112. package/dist/141/swapping/batchSwapFailed.d.ts +8 -8
  113. package/dist/141/swapping/ccmDepositReceived.d.cts +68 -68
  114. package/dist/141/swapping/ccmDepositReceived.d.ts +68 -68
  115. package/dist/141/swapping/ccmFailed.d.cts +73 -73
  116. package/dist/141/swapping/ccmFailed.d.ts +73 -73
  117. package/dist/141/swapping/maximumSwapAmountSet.d.cts +6 -6
  118. package/dist/141/swapping/maximumSwapAmountSet.d.ts +6 -6
  119. package/dist/141/swapping/swapAmountConfiscated.d.cts +12 -12
  120. package/dist/141/swapping/swapAmountConfiscated.d.ts +12 -12
  121. package/dist/141/swapping/swapDepositAddressReady.d.cts +20 -20
  122. package/dist/141/swapping/swapDepositAddressReady.d.ts +20 -20
  123. package/dist/141/swapping/swapEgressIgnored.d.cts +24 -24
  124. package/dist/141/swapping/swapEgressIgnored.d.ts +24 -24
  125. package/dist/141/swapping/swapEgressScheduled.d.cts +11 -11
  126. package/dist/141/swapping/swapEgressScheduled.d.ts +11 -11
  127. package/dist/141/swapping/swapExecuted.d.cts +88 -88
  128. package/dist/141/swapping/swapExecuted.d.ts +88 -88
  129. package/dist/141/swapping/swapScheduled.d.cts +97 -97
  130. package/dist/141/swapping/swapScheduled.d.ts +97 -97
  131. package/dist/141/swapping/withdrawalRequested.d.cts +14 -14
  132. package/dist/141/swapping/withdrawalRequested.d.ts +14 -14
  133. package/dist/141/validator/rotationPhaseUpdated.d.cts +20 -20
  134. package/dist/141/validator/rotationPhaseUpdated.d.ts +20 -20
  135. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  136. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  137. package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
  138. package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +4 -4
  139. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
  140. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
  141. package/dist/150/solanaIngressEgress/depositBoosted.d.cts +4 -4
  142. package/dist/150/solanaIngressEgress/depositBoosted.d.ts +4 -4
  143. package/dist/150/solanaIngressEgress/depositFetchesScheduled.d.cts +2 -2
  144. package/dist/150/solanaIngressEgress/depositFetchesScheduled.d.ts +2 -2
  145. package/dist/150/solanaIngressEgress/depositFinalised.d.cts +3 -3
  146. package/dist/150/solanaIngressEgress/depositFinalised.d.ts +3 -3
  147. package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
  148. package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
  149. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
  150. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
  151. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  152. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  153. package/dist/150/solanaIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  154. package/dist/150/solanaIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  155. package/dist/150/solanaIngressEgress/transferFallbackRequested.d.cts +2 -2
  156. package/dist/150/solanaIngressEgress/transferFallbackRequested.d.ts +2 -2
  157. package/dist/150/swapping/batchSwapFailed.d.cts +8 -8
  158. package/dist/150/swapping/batchSwapFailed.d.ts +8 -8
  159. package/dist/150/swapping/ccmDepositReceived.d.cts +74 -74
  160. package/dist/150/swapping/ccmDepositReceived.d.ts +74 -74
  161. package/dist/150/swapping/ccmFailed.d.cts +79 -79
  162. package/dist/150/swapping/ccmFailed.d.ts +79 -79
  163. package/dist/150/swapping/maximumSwapAmountSet.d.cts +6 -6
  164. package/dist/150/swapping/maximumSwapAmountSet.d.ts +6 -6
  165. package/dist/150/swapping/refundEgressIgnored.d.cts +24 -24
  166. package/dist/150/swapping/refundEgressIgnored.d.ts +24 -24
  167. package/dist/150/swapping/refundEgressScheduled.d.cts +8 -8
  168. package/dist/150/swapping/refundEgressScheduled.d.ts +8 -8
  169. package/dist/150/swapping/swapAmountConfiscated.d.cts +12 -12
  170. package/dist/150/swapping/swapAmountConfiscated.d.ts +12 -12
  171. package/dist/150/swapping/swapDepositAddressReady.d.cts +25 -25
  172. package/dist/150/swapping/swapDepositAddressReady.d.ts +25 -25
  173. package/dist/150/swapping/swapEgressIgnored.d.cts +24 -24
  174. package/dist/150/swapping/swapEgressIgnored.d.ts +24 -24
  175. package/dist/150/swapping/swapEgressScheduled.d.cts +8 -8
  176. package/dist/150/swapping/swapEgressScheduled.d.ts +8 -8
  177. package/dist/150/swapping/swapExecuted.d.cts +94 -94
  178. package/dist/150/swapping/swapExecuted.d.ts +94 -94
  179. package/dist/150/swapping/swapScheduled.d.cts +103 -103
  180. package/dist/150/swapping/swapScheduled.d.ts +103 -103
  181. package/dist/150/swapping/withdrawalRequested.d.cts +10 -10
  182. package/dist/150/swapping/withdrawalRequested.d.ts +10 -10
  183. package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.cts +61 -61
  184. package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.ts +61 -61
  185. package/dist/160/bitcoinIngressEgress/depositBoosted.d.cts +28 -28
  186. package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +28 -28
  187. package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +26 -26
  188. package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +26 -26
  189. package/dist/160/liquidityPools/limitOrderUpdated.d.cts +10 -10
  190. package/dist/160/liquidityPools/limitOrderUpdated.d.ts +10 -10
  191. package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +10 -10
  192. package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +10 -10
  193. package/dist/170/arbitrumIngressEgress/boostedDepositLost.d.cts +2 -2
  194. package/dist/170/arbitrumIngressEgress/boostedDepositLost.d.ts +2 -2
  195. package/dist/170/arbitrumIngressEgress/ccmFailed.d.cts +37 -37
  196. package/dist/170/arbitrumIngressEgress/ccmFailed.d.ts +37 -37
  197. package/dist/170/arbitrumIngressEgress/depositIgnored.d.cts +6 -6
  198. package/dist/170/arbitrumIngressEgress/depositIgnored.d.ts +6 -6
  199. package/dist/170/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  200. package/dist/170/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
  201. package/dist/170/polkadotIngressEgress/boostedDepositLost.d.cts +2 -2
  202. package/dist/170/polkadotIngressEgress/boostedDepositLost.d.ts +2 -2
  203. package/dist/170/polkadotIngressEgress/depositIgnored.d.cts +2 -2
  204. package/dist/170/polkadotIngressEgress/depositIgnored.d.ts +2 -2
  205. package/dist/170/polkadotIngressEgress/transactionRejectedByBroker.d.cts +2 -2
  206. package/dist/170/polkadotIngressEgress/transactionRejectedByBroker.d.ts +2 -2
  207. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.cts +61 -61
  208. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.ts +61 -61
  209. package/dist/180/bitcoinIngressEgress/depositBoosted.d.cts +30 -30
  210. package/dist/180/bitcoinIngressEgress/depositBoosted.d.ts +30 -30
  211. package/dist/180/bitcoinIngressEgress/depositFailed.d.cts +313 -313
  212. package/dist/180/bitcoinIngressEgress/depositFailed.d.ts +313 -313
  213. package/dist/180/bitcoinIngressEgress/depositFinalised.d.cts +24 -24
  214. package/dist/180/bitcoinIngressEgress/depositFinalised.d.ts +24 -24
  215. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  216. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
  217. package/dist/180/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  218. package/dist/180/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  219. package/dist/180/bitcoinIngressEgress/transferFallbackRequested.d.cts +20 -20
  220. package/dist/180/bitcoinIngressEgress/transferFallbackRequested.d.ts +20 -20
  221. package/dist/180/solanaIngressEgress/ccmEgressInvalid.d.cts +61 -61
  222. package/dist/180/solanaIngressEgress/ccmEgressInvalid.d.ts +61 -61
  223. package/dist/180/solanaIngressEgress/depositBoosted.d.cts +6 -6
  224. package/dist/180/solanaIngressEgress/depositBoosted.d.ts +6 -6
  225. package/dist/180/solanaIngressEgress/depositFailed.d.cts +161 -161
  226. package/dist/180/solanaIngressEgress/depositFailed.d.ts +161 -161
  227. package/dist/180/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  228. package/dist/180/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
  229. package/dist/180/solanaIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  230. package/dist/180/solanaIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  231. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  232. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  233. package/dist/190/assetBalances/accountCredited.d.cts +2 -2
  234. package/dist/190/assetBalances/accountCredited.d.ts +2 -2
  235. package/dist/190/assetBalances/accountDebited.d.cts +2 -2
  236. package/dist/190/assetBalances/accountDebited.d.ts +2 -2
  237. package/dist/190/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
  238. package/dist/190/polkadotIngressEgress/ccmEgressInvalid.d.ts +4 -4
  239. package/dist/190/solanaIngressEgress/ccmEgressInvalid.d.cts +4 -4
  240. package/dist/190/solanaIngressEgress/ccmEgressInvalid.d.ts +4 -4
  241. package/dist/200/common.cjs +25 -1
  242. package/dist/200/common.d.cts +37 -1
  243. package/dist/200/common.d.ts +37 -1
  244. package/dist/200/common.mjs +24 -0
  245. package/dist/200/lendingPools/collateralAdded.cjs +7 -1
  246. package/dist/200/lendingPools/collateralAdded.d.cts +13 -0
  247. package/dist/200/lendingPools/collateralAdded.d.ts +13 -0
  248. package/dist/200/lendingPools/collateralAdded.mjs +8 -2
  249. package/dist/200/lendingPools/liquidationCompleted.cjs +13 -0
  250. package/dist/200/lendingPools/liquidationCompleted.d.cts +24 -0
  251. package/dist/200/lendingPools/liquidationCompleted.d.ts +24 -0
  252. package/dist/200/lendingPools/liquidationCompleted.mjs +13 -0
  253. package/dist/200/lendingPools/liquidationInitiated.cjs +5 -1
  254. package/dist/200/lendingPools/liquidationInitiated.d.cts +13 -3
  255. package/dist/200/lendingPools/liquidationInitiated.d.ts +13 -3
  256. package/dist/200/lendingPools/liquidationInitiated.mjs +6 -2
  257. package/dist/200/swapping/swapRequestCompleted.cjs +10 -0
  258. package/dist/200/swapping/swapRequestCompleted.d.cts +24 -0
  259. package/dist/200/swapping/swapRequestCompleted.d.ts +24 -0
  260. package/dist/200/swapping/swapRequestCompleted.mjs +10 -0
  261. package/package.json +1 -1
@@ -388,7 +388,6 @@ declare const solanaIngressEgressCcmEgressInvalid: z.ZodObject<{
388
388
  __kind: "NoVault";
389
389
  }>]>;
390
390
  }, "strip", z.ZodTypeAny, {
391
- egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub", bigint];
392
391
  error: {
393
392
  __kind: "Unsupported";
394
393
  } | {
@@ -456,10 +455,8 @@ declare const solanaIngressEgressCcmEgressInvalid: z.ZodObject<{
456
455
  } | {
457
456
  __kind: "NoVault";
458
457
  };
458
+ egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub", bigint];
459
459
  }, {
460
- egressId: [{
461
- __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
462
- }, string | number];
463
460
  error: {
464
461
  __kind: "Unsupported";
465
462
  } | {
@@ -537,6 +534,9 @@ declare const solanaIngressEgressCcmEgressInvalid: z.ZodObject<{
537
534
  } | {
538
535
  __kind: "NoVault";
539
536
  };
537
+ egressId: [{
538
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
539
+ }, string | number];
540
540
  }>;
541
541
 
542
542
  export { solanaIngressEgressCcmEgressInvalid };
@@ -388,7 +388,6 @@ declare const solanaIngressEgressCcmEgressInvalid: z.ZodObject<{
388
388
  __kind: "NoVault";
389
389
  }>]>;
390
390
  }, "strip", z.ZodTypeAny, {
391
- egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub", bigint];
392
391
  error: {
393
392
  __kind: "Unsupported";
394
393
  } | {
@@ -456,10 +455,8 @@ declare const solanaIngressEgressCcmEgressInvalid: z.ZodObject<{
456
455
  } | {
457
456
  __kind: "NoVault";
458
457
  };
458
+ egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub", bigint];
459
459
  }, {
460
- egressId: [{
461
- __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
462
- }, string | number];
463
460
  error: {
464
461
  __kind: "Unsupported";
465
462
  } | {
@@ -537,6 +534,9 @@ declare const solanaIngressEgressCcmEgressInvalid: z.ZodObject<{
537
534
  } | {
538
535
  __kind: "NoVault";
539
536
  };
537
+ egressId: [{
538
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
539
+ }, string | number];
540
540
  }>;
541
541
 
542
542
  export { solanaIngressEgressCcmEgressInvalid };
@@ -311,6 +311,11 @@ var cfPrimitivesDcaParameters = _zod.z.object({
311
311
  numberOfChunks: _zod.z.number(),
312
312
  chunkInterval: _zod.z.number()
313
313
  });
314
+ var palletCfSwappingSwapRequestCompletionReason = simpleEnum([
315
+ "Aborted",
316
+ "Expired",
317
+ "Executed"
318
+ ]);
314
319
  var palletCfSwappingSwapFailureReason = simpleEnum([
315
320
  "PriceImpactLimit",
316
321
  "MinPriceViolation",
@@ -380,6 +385,25 @@ var palletCfLendingPoolsPalletConfigUpdate = _zod.z.discriminatedUnion("__kind",
380
385
  minimumUpdateCollateralAmountUsd: numberOrHex
381
386
  })
382
387
  ]);
388
+ var palletCfLendingPoolsCollateralAddedActionType = simpleEnum([
389
+ "Manual",
390
+ "SystemTopup",
391
+ "SystemLiquidationExcessAmount"
392
+ ]);
393
+ var palletCfLendingPoolsGeneralLendingLiquidationType = simpleEnum([
394
+ "SoftVoluntary",
395
+ "Soft",
396
+ "Hard"
397
+ ]);
398
+ var palletCfLendingPoolsGeneralLendingLiquidationCompletionReason = simpleEnum([
399
+ "FullySwapped",
400
+ "LtvChange",
401
+ "ManualAbort"
402
+ ]);
403
+
404
+
405
+
406
+
383
407
 
384
408
 
385
409
 
@@ -434,4 +458,4 @@ var palletCfLendingPoolsPalletConfigUpdate = _zod.z.discriminatedUnion("__kind",
434
458
 
435
459
 
436
460
 
437
- exports.accountId = accountId; exports.cfChainsAddressEncodedAddress = cfChainsAddressEncodedAddress; exports.cfChainsAddressForeignChainAddress = cfChainsAddressForeignChainAddress; exports.cfChainsBtcScriptPubkey = cfChainsBtcScriptPubkey; exports.cfChainsCcmChannelMetadataDecodedCcmAdditionalData = cfChainsCcmChannelMetadataDecodedCcmAdditionalData; exports.cfChainsCcmCheckerDecodedCcmAdditionalData = cfChainsCcmCheckerDecodedCcmAdditionalData; exports.cfChainsCcmCheckerVersionedSolanaCcmAdditionalData = cfChainsCcmCheckerVersionedSolanaCcmAdditionalData; exports.cfChainsCcmDepositMetadataEncodedAddress = cfChainsCcmDepositMetadataEncodedAddress; exports.cfChainsCcmDepositMetadataForeignChainAddress = cfChainsCcmDepositMetadataForeignChainAddress; exports.cfChainsRefundParametersAccountOrAddress = cfChainsRefundParametersAccountOrAddress; exports.cfChainsSolSolTxCoreCcmAccounts = cfChainsSolSolTxCoreCcmAccounts; exports.cfChainsSolSolTxCoreCcmAddress = cfChainsSolSolTxCoreCcmAddress; exports.cfChainsSwapOrigin = cfChainsSwapOrigin; exports.cfChainsTransactionInIdForAnyChain = cfChainsTransactionInIdForAnyChain; exports.cfPrimitivesBeneficiaryAccountId32 = cfPrimitivesBeneficiaryAccountId32; exports.cfPrimitivesChainsAssetsAnyAsset = cfPrimitivesChainsAssetsAnyAsset; exports.cfPrimitivesChainsForeignChain = cfPrimitivesChainsForeignChain; exports.cfPrimitivesDcaParameters = cfPrimitivesDcaParameters; exports.cfPrimitivesTxId = cfPrimitivesTxId; exports.cfTraitsSafeModeSafeModeSet = cfTraitsSafeModeSafeModeSet; exports.cfTraitsSwappingExpiryBehaviour = cfTraitsSwappingExpiryBehaviour; exports.cfTraitsSwappingLendingSwapType = cfTraitsSwappingLendingSwapType; exports.cfTraitsSwappingPriceLimitsAndExpiry = cfTraitsSwappingPriceLimitsAndExpiry; exports.cfTraitsSwappingSwapOutputActionGenericEncodedAddress = cfTraitsSwappingSwapOutputActionGenericEncodedAddress; exports.cfTraitsSwappingSwapRequestTypeGeneric = cfTraitsSwappingSwapRequestTypeGeneric; exports.hexString = hexString; exports.numberOrHex = numberOrHex; exports.numericString = numericString; exports.palletCfAssetBalancesPalletSafeMode = palletCfAssetBalancesPalletSafeMode; exports.palletCfBroadcastPalletSafeMode = palletCfBroadcastPalletSafeMode; exports.palletCfEmissionsPalletSafeMode = palletCfEmissionsPalletSafeMode; exports.palletCfEnvironmentSafeModeUpdate = palletCfEnvironmentSafeModeUpdate; exports.palletCfFundingPalletSafeMode = palletCfFundingPalletSafeMode; exports.palletCfIngressEgressPalletSafeMode = palletCfIngressEgressPalletSafeMode; exports.palletCfLendingPoolsGeneralLendingInterestRateConfiguration = palletCfLendingPoolsGeneralLendingInterestRateConfiguration; exports.palletCfLendingPoolsGeneralLendingLendingPoolConfiguration = palletCfLendingPoolsGeneralLendingLendingPoolConfiguration; exports.palletCfLendingPoolsGeneralLendingLtvThresholds = palletCfLendingPoolsGeneralLendingLtvThresholds; exports.palletCfLendingPoolsGeneralLendingNetworkFeeContributions = palletCfLendingPoolsGeneralLendingNetworkFeeContributions; exports.palletCfLendingPoolsPalletConfigUpdate = palletCfLendingPoolsPalletConfigUpdate; exports.palletCfLendingPoolsPalletSafeMode = palletCfLendingPoolsPalletSafeMode; exports.palletCfLpPalletSafeMode = palletCfLpPalletSafeMode; exports.palletCfPoolsPalletSafeMode = palletCfPoolsPalletSafeMode; exports.palletCfReputationPalletSafeMode = palletCfReputationPalletSafeMode; exports.palletCfSwappingPalletSafeMode = palletCfSwappingPalletSafeMode; exports.palletCfSwappingSwapFailureReason = palletCfSwappingSwapFailureReason; exports.palletCfThresholdSignaturePalletSafeMode = palletCfThresholdSignaturePalletSafeMode; exports.palletCfTradingStrategyPalletSafeMode = palletCfTradingStrategyPalletSafeMode; exports.palletCfValidatorPalletSafeMode = palletCfValidatorPalletSafeMode; exports.palletCfWitnesserPalletSafeMode = palletCfWitnesserPalletSafeMode; exports.simpleEnum = simpleEnum; exports.stateChainRuntimeChainflipGenericElectionsGenericElectionsSafeMode = stateChainRuntimeChainflipGenericElectionsGenericElectionsSafeMode; exports.stateChainRuntimeSafeModeInnerRuntimeSafeMode = stateChainRuntimeSafeModeInnerRuntimeSafeMode; exports.stateChainRuntimeSafeModeWitnesserCallPermission = stateChainRuntimeSafeModeWitnesserCallPermission;
461
+ exports.accountId = accountId; exports.cfChainsAddressEncodedAddress = cfChainsAddressEncodedAddress; exports.cfChainsAddressForeignChainAddress = cfChainsAddressForeignChainAddress; exports.cfChainsBtcScriptPubkey = cfChainsBtcScriptPubkey; exports.cfChainsCcmChannelMetadataDecodedCcmAdditionalData = cfChainsCcmChannelMetadataDecodedCcmAdditionalData; exports.cfChainsCcmCheckerDecodedCcmAdditionalData = cfChainsCcmCheckerDecodedCcmAdditionalData; exports.cfChainsCcmCheckerVersionedSolanaCcmAdditionalData = cfChainsCcmCheckerVersionedSolanaCcmAdditionalData; exports.cfChainsCcmDepositMetadataEncodedAddress = cfChainsCcmDepositMetadataEncodedAddress; exports.cfChainsCcmDepositMetadataForeignChainAddress = cfChainsCcmDepositMetadataForeignChainAddress; exports.cfChainsRefundParametersAccountOrAddress = cfChainsRefundParametersAccountOrAddress; exports.cfChainsSolSolTxCoreCcmAccounts = cfChainsSolSolTxCoreCcmAccounts; exports.cfChainsSolSolTxCoreCcmAddress = cfChainsSolSolTxCoreCcmAddress; exports.cfChainsSwapOrigin = cfChainsSwapOrigin; exports.cfChainsTransactionInIdForAnyChain = cfChainsTransactionInIdForAnyChain; exports.cfPrimitivesBeneficiaryAccountId32 = cfPrimitivesBeneficiaryAccountId32; exports.cfPrimitivesChainsAssetsAnyAsset = cfPrimitivesChainsAssetsAnyAsset; exports.cfPrimitivesChainsForeignChain = cfPrimitivesChainsForeignChain; exports.cfPrimitivesDcaParameters = cfPrimitivesDcaParameters; exports.cfPrimitivesTxId = cfPrimitivesTxId; exports.cfTraitsSafeModeSafeModeSet = cfTraitsSafeModeSafeModeSet; exports.cfTraitsSwappingExpiryBehaviour = cfTraitsSwappingExpiryBehaviour; exports.cfTraitsSwappingLendingSwapType = cfTraitsSwappingLendingSwapType; exports.cfTraitsSwappingPriceLimitsAndExpiry = cfTraitsSwappingPriceLimitsAndExpiry; exports.cfTraitsSwappingSwapOutputActionGenericEncodedAddress = cfTraitsSwappingSwapOutputActionGenericEncodedAddress; exports.cfTraitsSwappingSwapRequestTypeGeneric = cfTraitsSwappingSwapRequestTypeGeneric; exports.hexString = hexString; exports.numberOrHex = numberOrHex; exports.numericString = numericString; exports.palletCfAssetBalancesPalletSafeMode = palletCfAssetBalancesPalletSafeMode; exports.palletCfBroadcastPalletSafeMode = palletCfBroadcastPalletSafeMode; exports.palletCfEmissionsPalletSafeMode = palletCfEmissionsPalletSafeMode; exports.palletCfEnvironmentSafeModeUpdate = palletCfEnvironmentSafeModeUpdate; exports.palletCfFundingPalletSafeMode = palletCfFundingPalletSafeMode; exports.palletCfIngressEgressPalletSafeMode = palletCfIngressEgressPalletSafeMode; exports.palletCfLendingPoolsCollateralAddedActionType = palletCfLendingPoolsCollateralAddedActionType; exports.palletCfLendingPoolsGeneralLendingInterestRateConfiguration = palletCfLendingPoolsGeneralLendingInterestRateConfiguration; exports.palletCfLendingPoolsGeneralLendingLendingPoolConfiguration = palletCfLendingPoolsGeneralLendingLendingPoolConfiguration; exports.palletCfLendingPoolsGeneralLendingLiquidationCompletionReason = palletCfLendingPoolsGeneralLendingLiquidationCompletionReason; exports.palletCfLendingPoolsGeneralLendingLiquidationType = palletCfLendingPoolsGeneralLendingLiquidationType; exports.palletCfLendingPoolsGeneralLendingLtvThresholds = palletCfLendingPoolsGeneralLendingLtvThresholds; exports.palletCfLendingPoolsGeneralLendingNetworkFeeContributions = palletCfLendingPoolsGeneralLendingNetworkFeeContributions; exports.palletCfLendingPoolsPalletConfigUpdate = palletCfLendingPoolsPalletConfigUpdate; exports.palletCfLendingPoolsPalletSafeMode = palletCfLendingPoolsPalletSafeMode; exports.palletCfLpPalletSafeMode = palletCfLpPalletSafeMode; exports.palletCfPoolsPalletSafeMode = palletCfPoolsPalletSafeMode; exports.palletCfReputationPalletSafeMode = palletCfReputationPalletSafeMode; exports.palletCfSwappingPalletSafeMode = palletCfSwappingPalletSafeMode; exports.palletCfSwappingSwapFailureReason = palletCfSwappingSwapFailureReason; exports.palletCfSwappingSwapRequestCompletionReason = palletCfSwappingSwapRequestCompletionReason; exports.palletCfThresholdSignaturePalletSafeMode = palletCfThresholdSignaturePalletSafeMode; exports.palletCfTradingStrategyPalletSafeMode = palletCfTradingStrategyPalletSafeMode; exports.palletCfValidatorPalletSafeMode = palletCfValidatorPalletSafeMode; exports.palletCfWitnesserPalletSafeMode = palletCfWitnesserPalletSafeMode; exports.simpleEnum = simpleEnum; exports.stateChainRuntimeChainflipGenericElectionsGenericElectionsSafeMode = stateChainRuntimeChainflipGenericElectionsGenericElectionsSafeMode; exports.stateChainRuntimeSafeModeInnerRuntimeSafeMode = stateChainRuntimeSafeModeInnerRuntimeSafeMode; exports.stateChainRuntimeSafeModeWitnesserCallPermission = stateChainRuntimeSafeModeWitnesserCallPermission;
@@ -9731,6 +9731,15 @@ declare const cfPrimitivesDcaParameters: z.ZodObject<{
9731
9731
  numberOfChunks: number;
9732
9732
  chunkInterval: number;
9733
9733
  }>;
9734
+ declare const palletCfSwappingSwapRequestCompletionReason: z.ZodEffects<z.ZodObject<{
9735
+ __kind: z.ZodEnum<["Aborted", "Expired", "Executed"]>;
9736
+ }, "strip", z.ZodTypeAny, {
9737
+ __kind: "Aborted" | "Expired" | "Executed";
9738
+ }, {
9739
+ __kind: "Aborted" | "Expired" | "Executed";
9740
+ }>, "Aborted" | "Expired" | "Executed", {
9741
+ __kind: "Aborted" | "Expired" | "Executed";
9742
+ }>;
9734
9743
  declare const palletCfSwappingSwapFailureReason: z.ZodEffects<z.ZodObject<{
9735
9744
  __kind: z.ZodEnum<["PriceImpactLimit", "MinPriceViolation", "OraclePriceSlippageExceeded", "OraclePriceStale", "PredecessorSwapFailure", "SafeModeActive", "AbortedFromOrigin", "LogicError"]>;
9736
9745
  }, "strip", z.ZodTypeAny, {
@@ -10080,5 +10089,32 @@ declare const palletCfLendingPoolsPalletConfigUpdate: z.ZodDiscriminatedUnion<"_
10080
10089
  minimumUpdateLoanAmountUsd: string | number;
10081
10090
  minimumUpdateCollateralAmountUsd: string | number;
10082
10091
  }>]>;
10092
+ declare const palletCfLendingPoolsCollateralAddedActionType: z.ZodEffects<z.ZodObject<{
10093
+ __kind: z.ZodEnum<["Manual", "SystemTopup", "SystemLiquidationExcessAmount"]>;
10094
+ }, "strip", z.ZodTypeAny, {
10095
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
10096
+ }, {
10097
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
10098
+ }>, "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount", {
10099
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
10100
+ }>;
10101
+ declare const palletCfLendingPoolsGeneralLendingLiquidationType: z.ZodEffects<z.ZodObject<{
10102
+ __kind: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
10103
+ }, "strip", z.ZodTypeAny, {
10104
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
10105
+ }, {
10106
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
10107
+ }>, "SoftVoluntary" | "Soft" | "Hard", {
10108
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
10109
+ }>;
10110
+ declare const palletCfLendingPoolsGeneralLendingLiquidationCompletionReason: z.ZodEffects<z.ZodObject<{
10111
+ __kind: z.ZodEnum<["FullySwapped", "LtvChange", "ManualAbort"]>;
10112
+ }, "strip", z.ZodTypeAny, {
10113
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
10114
+ }, {
10115
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
10116
+ }>, "FullySwapped" | "LtvChange" | "ManualAbort", {
10117
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
10118
+ }>;
10083
10119
 
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 };
10120
+ 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, palletCfLendingPoolsCollateralAddedActionType, palletCfLendingPoolsGeneralLendingInterestRateConfiguration, palletCfLendingPoolsGeneralLendingLendingPoolConfiguration, palletCfLendingPoolsGeneralLendingLiquidationCompletionReason, palletCfLendingPoolsGeneralLendingLiquidationType, palletCfLendingPoolsGeneralLendingLtvThresholds, palletCfLendingPoolsGeneralLendingNetworkFeeContributions, palletCfLendingPoolsPalletConfigUpdate, palletCfLendingPoolsPalletSafeMode, palletCfLpPalletSafeMode, palletCfPoolsPalletSafeMode, palletCfReputationPalletSafeMode, palletCfSwappingPalletSafeMode, palletCfSwappingSwapFailureReason, palletCfSwappingSwapRequestCompletionReason, palletCfThresholdSignaturePalletSafeMode, palletCfTradingStrategyPalletSafeMode, palletCfValidatorPalletSafeMode, palletCfWitnesserPalletSafeMode, simpleEnum, stateChainRuntimeChainflipGenericElectionsGenericElectionsSafeMode, stateChainRuntimeSafeModeInnerRuntimeSafeMode, stateChainRuntimeSafeModeWitnesserCallPermission };
@@ -9731,6 +9731,15 @@ declare const cfPrimitivesDcaParameters: z.ZodObject<{
9731
9731
  numberOfChunks: number;
9732
9732
  chunkInterval: number;
9733
9733
  }>;
9734
+ declare const palletCfSwappingSwapRequestCompletionReason: z.ZodEffects<z.ZodObject<{
9735
+ __kind: z.ZodEnum<["Aborted", "Expired", "Executed"]>;
9736
+ }, "strip", z.ZodTypeAny, {
9737
+ __kind: "Aborted" | "Expired" | "Executed";
9738
+ }, {
9739
+ __kind: "Aborted" | "Expired" | "Executed";
9740
+ }>, "Aborted" | "Expired" | "Executed", {
9741
+ __kind: "Aborted" | "Expired" | "Executed";
9742
+ }>;
9734
9743
  declare const palletCfSwappingSwapFailureReason: z.ZodEffects<z.ZodObject<{
9735
9744
  __kind: z.ZodEnum<["PriceImpactLimit", "MinPriceViolation", "OraclePriceSlippageExceeded", "OraclePriceStale", "PredecessorSwapFailure", "SafeModeActive", "AbortedFromOrigin", "LogicError"]>;
9736
9745
  }, "strip", z.ZodTypeAny, {
@@ -10080,5 +10089,32 @@ declare const palletCfLendingPoolsPalletConfigUpdate: z.ZodDiscriminatedUnion<"_
10080
10089
  minimumUpdateLoanAmountUsd: string | number;
10081
10090
  minimumUpdateCollateralAmountUsd: string | number;
10082
10091
  }>]>;
10092
+ declare const palletCfLendingPoolsCollateralAddedActionType: z.ZodEffects<z.ZodObject<{
10093
+ __kind: z.ZodEnum<["Manual", "SystemTopup", "SystemLiquidationExcessAmount"]>;
10094
+ }, "strip", z.ZodTypeAny, {
10095
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
10096
+ }, {
10097
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
10098
+ }>, "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount", {
10099
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
10100
+ }>;
10101
+ declare const palletCfLendingPoolsGeneralLendingLiquidationType: z.ZodEffects<z.ZodObject<{
10102
+ __kind: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
10103
+ }, "strip", z.ZodTypeAny, {
10104
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
10105
+ }, {
10106
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
10107
+ }>, "SoftVoluntary" | "Soft" | "Hard", {
10108
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
10109
+ }>;
10110
+ declare const palletCfLendingPoolsGeneralLendingLiquidationCompletionReason: z.ZodEffects<z.ZodObject<{
10111
+ __kind: z.ZodEnum<["FullySwapped", "LtvChange", "ManualAbort"]>;
10112
+ }, "strip", z.ZodTypeAny, {
10113
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
10114
+ }, {
10115
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
10116
+ }>, "FullySwapped" | "LtvChange" | "ManualAbort", {
10117
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
10118
+ }>;
10083
10119
 
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 };
10120
+ 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, palletCfLendingPoolsCollateralAddedActionType, palletCfLendingPoolsGeneralLendingInterestRateConfiguration, palletCfLendingPoolsGeneralLendingLendingPoolConfiguration, palletCfLendingPoolsGeneralLendingLiquidationCompletionReason, palletCfLendingPoolsGeneralLendingLiquidationType, palletCfLendingPoolsGeneralLendingLtvThresholds, palletCfLendingPoolsGeneralLendingNetworkFeeContributions, palletCfLendingPoolsPalletConfigUpdate, palletCfLendingPoolsPalletSafeMode, palletCfLpPalletSafeMode, palletCfPoolsPalletSafeMode, palletCfReputationPalletSafeMode, palletCfSwappingPalletSafeMode, palletCfSwappingSwapFailureReason, palletCfSwappingSwapRequestCompletionReason, palletCfThresholdSignaturePalletSafeMode, palletCfTradingStrategyPalletSafeMode, palletCfValidatorPalletSafeMode, palletCfWitnesserPalletSafeMode, simpleEnum, stateChainRuntimeChainflipGenericElectionsGenericElectionsSafeMode, stateChainRuntimeSafeModeInnerRuntimeSafeMode, stateChainRuntimeSafeModeWitnesserCallPermission };
@@ -311,6 +311,11 @@ var cfPrimitivesDcaParameters = z.object({
311
311
  numberOfChunks: z.number(),
312
312
  chunkInterval: z.number()
313
313
  });
314
+ var palletCfSwappingSwapRequestCompletionReason = simpleEnum([
315
+ "Aborted",
316
+ "Expired",
317
+ "Executed"
318
+ ]);
314
319
  var palletCfSwappingSwapFailureReason = simpleEnum([
315
320
  "PriceImpactLimit",
316
321
  "MinPriceViolation",
@@ -380,6 +385,21 @@ var palletCfLendingPoolsPalletConfigUpdate = z.discriminatedUnion("__kind", [
380
385
  minimumUpdateCollateralAmountUsd: numberOrHex
381
386
  })
382
387
  ]);
388
+ var palletCfLendingPoolsCollateralAddedActionType = simpleEnum([
389
+ "Manual",
390
+ "SystemTopup",
391
+ "SystemLiquidationExcessAmount"
392
+ ]);
393
+ var palletCfLendingPoolsGeneralLendingLiquidationType = simpleEnum([
394
+ "SoftVoluntary",
395
+ "Soft",
396
+ "Hard"
397
+ ]);
398
+ var palletCfLendingPoolsGeneralLendingLiquidationCompletionReason = simpleEnum([
399
+ "FullySwapped",
400
+ "LtvChange",
401
+ "ManualAbort"
402
+ ]);
383
403
  export {
384
404
  accountId,
385
405
  cfChainsAddressEncodedAddress,
@@ -415,8 +435,11 @@ export {
415
435
  palletCfEnvironmentSafeModeUpdate,
416
436
  palletCfFundingPalletSafeMode,
417
437
  palletCfIngressEgressPalletSafeMode,
438
+ palletCfLendingPoolsCollateralAddedActionType,
418
439
  palletCfLendingPoolsGeneralLendingInterestRateConfiguration,
419
440
  palletCfLendingPoolsGeneralLendingLendingPoolConfiguration,
441
+ palletCfLendingPoolsGeneralLendingLiquidationCompletionReason,
442
+ palletCfLendingPoolsGeneralLendingLiquidationType,
420
443
  palletCfLendingPoolsGeneralLendingLtvThresholds,
421
444
  palletCfLendingPoolsGeneralLendingNetworkFeeContributions,
422
445
  palletCfLendingPoolsPalletConfigUpdate,
@@ -426,6 +449,7 @@ export {
426
449
  palletCfReputationPalletSafeMode,
427
450
  palletCfSwappingPalletSafeMode,
428
451
  palletCfSwappingSwapFailureReason,
452
+ palletCfSwappingSwapRequestCompletionReason,
429
453
  palletCfThresholdSignaturePalletSafeMode,
430
454
  palletCfTradingStrategyPalletSafeMode,
431
455
  palletCfValidatorPalletSafeMode,
@@ -1,9 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/200/lendingPools/collateralAdded.ts
2
2
  var _zod = require('zod');
3
+
4
+
5
+
6
+
7
+
3
8
  var _commoncjs = require('../common.cjs');
4
9
  var lendingPoolsCollateralAdded = _zod.z.object({
5
10
  borrowerId: _commoncjs.accountId,
6
- collateral: _zod.z.array(_zod.z.tuple([_commoncjs.cfPrimitivesChainsAssetsAnyAsset, _commoncjs.numberOrHex]))
11
+ collateral: _zod.z.array(_zod.z.tuple([_commoncjs.cfPrimitivesChainsAssetsAnyAsset, _commoncjs.numberOrHex])),
12
+ actionType: _commoncjs.palletCfLendingPoolsCollateralAddedActionType
7
13
  });
8
14
 
9
15
 
@@ -11,14 +11,27 @@ declare const lendingPoolsCollateralAdded: z.ZodObject<{
11
11
  }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc", {
12
12
  __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
13
13
  }>, z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>], null>, "many">;
14
+ actionType: z.ZodEffects<z.ZodObject<{
15
+ __kind: z.ZodEnum<["Manual", "SystemTopup", "SystemLiquidationExcessAmount"]>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
18
+ }, {
19
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
20
+ }>, "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount", {
21
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
22
+ }>;
14
23
  }, "strip", z.ZodTypeAny, {
15
24
  borrowerId: string;
16
25
  collateral: ["Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc", bigint][];
26
+ actionType: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
17
27
  }, {
18
28
  borrowerId: string;
19
29
  collateral: [{
20
30
  __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
21
31
  }, string | number][];
32
+ actionType: {
33
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
34
+ };
22
35
  }>;
23
36
 
24
37
  export { lendingPoolsCollateralAdded };
@@ -11,14 +11,27 @@ declare const lendingPoolsCollateralAdded: z.ZodObject<{
11
11
  }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc", {
12
12
  __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
13
13
  }>, z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>], null>, "many">;
14
+ actionType: z.ZodEffects<z.ZodObject<{
15
+ __kind: z.ZodEnum<["Manual", "SystemTopup", "SystemLiquidationExcessAmount"]>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
18
+ }, {
19
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
20
+ }>, "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount", {
21
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
22
+ }>;
14
23
  }, "strip", z.ZodTypeAny, {
15
24
  borrowerId: string;
16
25
  collateral: ["Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc", bigint][];
26
+ actionType: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
17
27
  }, {
18
28
  borrowerId: string;
19
29
  collateral: [{
20
30
  __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
21
31
  }, string | number][];
32
+ actionType: {
33
+ __kind: "Manual" | "SystemTopup" | "SystemLiquidationExcessAmount";
34
+ };
22
35
  }>;
23
36
 
24
37
  export { lendingPoolsCollateralAdded };
@@ -1,9 +1,15 @@
1
1
  // generated/200/lendingPools/collateralAdded.ts
2
2
  import { z } from "zod";
3
- import { accountId, cfPrimitivesChainsAssetsAnyAsset, numberOrHex } from "../common.mjs";
3
+ import {
4
+ accountId,
5
+ cfPrimitivesChainsAssetsAnyAsset,
6
+ numberOrHex,
7
+ palletCfLendingPoolsCollateralAddedActionType
8
+ } from "../common.mjs";
4
9
  var lendingPoolsCollateralAdded = z.object({
5
10
  borrowerId: accountId,
6
- collateral: z.array(z.tuple([cfPrimitivesChainsAssetsAnyAsset, numberOrHex]))
11
+ collateral: z.array(z.tuple([cfPrimitivesChainsAssetsAnyAsset, numberOrHex])),
12
+ actionType: palletCfLendingPoolsCollateralAddedActionType
7
13
  });
8
14
  export {
9
15
  lendingPoolsCollateralAdded
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/200/lendingPools/liquidationCompleted.ts
2
+ var _zod = require('zod');
3
+
4
+
5
+
6
+ var _commoncjs = require('../common.cjs');
7
+ var lendingPoolsLiquidationCompleted = _zod.z.object({
8
+ borrowerId: _commoncjs.accountId,
9
+ reason: _commoncjs.palletCfLendingPoolsGeneralLendingLiquidationCompletionReason
10
+ });
11
+
12
+
13
+ exports.lendingPoolsLiquidationCompleted = lendingPoolsLiquidationCompleted;
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const lendingPoolsLiquidationCompleted: z.ZodObject<{
4
+ borrowerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5
+ reason: z.ZodEffects<z.ZodObject<{
6
+ __kind: z.ZodEnum<["FullySwapped", "LtvChange", "ManualAbort"]>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
9
+ }, {
10
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
11
+ }>, "FullySwapped" | "LtvChange" | "ManualAbort", {
12
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
13
+ }>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ borrowerId: string;
16
+ reason: "FullySwapped" | "LtvChange" | "ManualAbort";
17
+ }, {
18
+ borrowerId: string;
19
+ reason: {
20
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
21
+ };
22
+ }>;
23
+
24
+ export { lendingPoolsLiquidationCompleted };
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const lendingPoolsLiquidationCompleted: z.ZodObject<{
4
+ borrowerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5
+ reason: z.ZodEffects<z.ZodObject<{
6
+ __kind: z.ZodEnum<["FullySwapped", "LtvChange", "ManualAbort"]>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
9
+ }, {
10
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
11
+ }>, "FullySwapped" | "LtvChange" | "ManualAbort", {
12
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
13
+ }>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ borrowerId: string;
16
+ reason: "FullySwapped" | "LtvChange" | "ManualAbort";
17
+ }, {
18
+ borrowerId: string;
19
+ reason: {
20
+ __kind: "FullySwapped" | "LtvChange" | "ManualAbort";
21
+ };
22
+ }>;
23
+
24
+ export { lendingPoolsLiquidationCompleted };
@@ -0,0 +1,13 @@
1
+ // generated/200/lendingPools/liquidationCompleted.ts
2
+ import { z } from "zod";
3
+ import {
4
+ accountId,
5
+ palletCfLendingPoolsGeneralLendingLiquidationCompletionReason
6
+ } from "../common.mjs";
7
+ var lendingPoolsLiquidationCompleted = z.object({
8
+ borrowerId: accountId,
9
+ reason: palletCfLendingPoolsGeneralLendingLiquidationCompletionReason
10
+ });
11
+ export {
12
+ lendingPoolsLiquidationCompleted
13
+ };
@@ -1,10 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/200/lendingPools/liquidationInitiated.ts
2
2
  var _zod = require('zod');
3
+
4
+
5
+
6
+
3
7
  var _commoncjs = require('../common.cjs');
4
8
  var lendingPoolsLiquidationInitiated = _zod.z.object({
5
9
  borrowerId: _commoncjs.accountId,
6
10
  swaps: _zod.z.array(_zod.z.tuple([_commoncjs.numberOrHex, _zod.z.array(_commoncjs.numberOrHex)])),
7
- isHard: _zod.z.boolean()
11
+ liquidationType: _commoncjs.palletCfLendingPoolsGeneralLendingLiquidationType
8
12
  });
9
13
 
10
14
 
@@ -3,15 +3,25 @@ import { z } from 'zod';
3
3
  declare const lendingPoolsLiquidationInitiated: z.ZodObject<{
4
4
  borrowerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5
5
  swaps: z.ZodArray<z.ZodTuple<[z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>, z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>, "many">], null>, "many">;
6
- isHard: z.ZodBoolean;
6
+ liquidationType: z.ZodEffects<z.ZodObject<{
7
+ __kind: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
10
+ }, {
11
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
12
+ }>, "SoftVoluntary" | "Soft" | "Hard", {
13
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
14
+ }>;
7
15
  }, "strip", z.ZodTypeAny, {
8
16
  borrowerId: string;
9
17
  swaps: [bigint, bigint[]][];
10
- isHard: boolean;
18
+ liquidationType: "SoftVoluntary" | "Soft" | "Hard";
11
19
  }, {
12
20
  borrowerId: string;
13
21
  swaps: [string | number, (string | number)[]][];
14
- isHard: boolean;
22
+ liquidationType: {
23
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
24
+ };
15
25
  }>;
16
26
 
17
27
  export { lendingPoolsLiquidationInitiated };
@@ -3,15 +3,25 @@ import { z } from 'zod';
3
3
  declare const lendingPoolsLiquidationInitiated: z.ZodObject<{
4
4
  borrowerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5
5
  swaps: z.ZodArray<z.ZodTuple<[z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>, z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>, "many">], null>, "many">;
6
- isHard: z.ZodBoolean;
6
+ liquidationType: z.ZodEffects<z.ZodObject<{
7
+ __kind: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
10
+ }, {
11
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
12
+ }>, "SoftVoluntary" | "Soft" | "Hard", {
13
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
14
+ }>;
7
15
  }, "strip", z.ZodTypeAny, {
8
16
  borrowerId: string;
9
17
  swaps: [bigint, bigint[]][];
10
- isHard: boolean;
18
+ liquidationType: "SoftVoluntary" | "Soft" | "Hard";
11
19
  }, {
12
20
  borrowerId: string;
13
21
  swaps: [string | number, (string | number)[]][];
14
- isHard: boolean;
22
+ liquidationType: {
23
+ __kind: "SoftVoluntary" | "Soft" | "Hard";
24
+ };
15
25
  }>;
16
26
 
17
27
  export { lendingPoolsLiquidationInitiated };
@@ -1,10 +1,14 @@
1
1
  // generated/200/lendingPools/liquidationInitiated.ts
2
2
  import { z } from "zod";
3
- import { accountId, numberOrHex } from "../common.mjs";
3
+ import {
4
+ accountId,
5
+ numberOrHex,
6
+ palletCfLendingPoolsGeneralLendingLiquidationType
7
+ } from "../common.mjs";
4
8
  var lendingPoolsLiquidationInitiated = z.object({
5
9
  borrowerId: accountId,
6
10
  swaps: z.array(z.tuple([numberOrHex, z.array(numberOrHex)])),
7
- isHard: z.boolean()
11
+ liquidationType: palletCfLendingPoolsGeneralLendingLiquidationType
8
12
  });
9
13
  export {
10
14
  lendingPoolsLiquidationInitiated
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/200/swapping/swapRequestCompleted.ts
2
+ var _zod = require('zod');
3
+ var _commoncjs = require('../common.cjs');
4
+ var swappingSwapRequestCompleted = _zod.z.object({
5
+ swapRequestId: _commoncjs.numberOrHex,
6
+ reason: _commoncjs.palletCfSwappingSwapRequestCompletionReason
7
+ });
8
+
9
+
10
+ exports.swappingSwapRequestCompleted = swappingSwapRequestCompleted;
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const swappingSwapRequestCompleted: z.ZodObject<{
4
+ swapRequestId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
5
+ reason: z.ZodEffects<z.ZodObject<{
6
+ __kind: z.ZodEnum<["Aborted", "Expired", "Executed"]>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ __kind: "Aborted" | "Expired" | "Executed";
9
+ }, {
10
+ __kind: "Aborted" | "Expired" | "Executed";
11
+ }>, "Aborted" | "Expired" | "Executed", {
12
+ __kind: "Aborted" | "Expired" | "Executed";
13
+ }>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ reason: "Aborted" | "Expired" | "Executed";
16
+ swapRequestId: bigint;
17
+ }, {
18
+ reason: {
19
+ __kind: "Aborted" | "Expired" | "Executed";
20
+ };
21
+ swapRequestId: string | number;
22
+ }>;
23
+
24
+ export { swappingSwapRequestCompleted };
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const swappingSwapRequestCompleted: z.ZodObject<{
4
+ swapRequestId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
5
+ reason: z.ZodEffects<z.ZodObject<{
6
+ __kind: z.ZodEnum<["Aborted", "Expired", "Executed"]>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ __kind: "Aborted" | "Expired" | "Executed";
9
+ }, {
10
+ __kind: "Aborted" | "Expired" | "Executed";
11
+ }>, "Aborted" | "Expired" | "Executed", {
12
+ __kind: "Aborted" | "Expired" | "Executed";
13
+ }>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ reason: "Aborted" | "Expired" | "Executed";
16
+ swapRequestId: bigint;
17
+ }, {
18
+ reason: {
19
+ __kind: "Aborted" | "Expired" | "Executed";
20
+ };
21
+ swapRequestId: string | number;
22
+ }>;
23
+
24
+ export { swappingSwapRequestCompleted };
@@ -0,0 +1,10 @@
1
+ // generated/200/swapping/swapRequestCompleted.ts
2
+ import { z } from "zod";
3
+ import { numberOrHex, palletCfSwappingSwapRequestCompletionReason } from "../common.mjs";
4
+ var swappingSwapRequestCompleted = z.object({
5
+ swapRequestId: numberOrHex,
6
+ reason: palletCfSwappingSwapRequestCompletionReason
7
+ });
8
+ export {
9
+ swappingSwapRequestCompleted
10
+ };