@chainflip/processor 2.0.1 → 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 (227) hide show
  1. package/dist/100/environment/runtimeSafeModeUpdated.d.cts +12 -12
  2. package/dist/100/environment/runtimeSafeModeUpdated.d.ts +12 -12
  3. package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
  4. package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
  5. package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.cts +2 -2
  6. package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.ts +2 -2
  7. package/dist/100/ethereumIngressEgress/depositIgnored.d.cts +2 -2
  8. package/dist/100/ethereumIngressEgress/depositIgnored.d.ts +2 -2
  9. package/dist/100/ethereumIngressEgress/depositReceived.d.cts +2 -2
  10. package/dist/100/ethereumIngressEgress/depositReceived.d.ts +2 -2
  11. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.cts +20 -20
  12. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.ts +20 -20
  13. package/dist/100/liquidityPools/limitOrderUpdated.d.cts +8 -8
  14. package/dist/100/liquidityPools/limitOrderUpdated.d.ts +8 -8
  15. package/dist/100/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  16. package/dist/100/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  17. package/dist/100/swapping/batchSwapFailed.d.cts +8 -8
  18. package/dist/100/swapping/batchSwapFailed.d.ts +8 -8
  19. package/dist/100/swapping/ccmDepositReceived.d.cts +62 -62
  20. package/dist/100/swapping/ccmDepositReceived.d.ts +62 -62
  21. package/dist/100/swapping/ccmFailed.d.cts +62 -62
  22. package/dist/100/swapping/ccmFailed.d.ts +62 -62
  23. package/dist/100/swapping/minimumSwapAmountSet.d.cts +6 -6
  24. package/dist/100/swapping/minimumSwapAmountSet.d.ts +6 -6
  25. package/dist/100/swapping/swapAmountTooLow.d.cts +19 -19
  26. package/dist/100/swapping/swapAmountTooLow.d.ts +19 -19
  27. package/dist/100/swapping/swapDepositAddressReady.d.cts +26 -26
  28. package/dist/100/swapping/swapDepositAddressReady.d.ts +26 -26
  29. package/dist/100/swapping/swapEgressScheduled.d.cts +6 -6
  30. package/dist/100/swapping/swapEgressScheduled.d.ts +6 -6
  31. package/dist/100/swapping/swapExecuted.d.cts +12 -12
  32. package/dist/100/swapping/swapExecuted.d.ts +12 -12
  33. package/dist/100/swapping/swapScheduled.d.cts +91 -91
  34. package/dist/100/swapping/swapScheduled.d.ts +91 -91
  35. package/dist/100/swapping/withdrawalRequested.d.cts +4 -4
  36. package/dist/100/swapping/withdrawalRequested.d.ts +4 -4
  37. package/dist/100/witnesser/witnessExecutionFailed.d.cts +18 -18
  38. package/dist/100/witnesser/witnessExecutionFailed.d.ts +18 -18
  39. package/dist/11000/arbitrumIngressEgress/ccmEgressInvalid.d.cts +26 -26
  40. package/dist/11000/arbitrumIngressEgress/ccmEgressInvalid.d.ts +26 -26
  41. package/dist/11000/arbitrumIngressEgress/depositFailed.d.cts +34 -34
  42. package/dist/11000/arbitrumIngressEgress/depositFailed.d.ts +34 -34
  43. package/dist/11000/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +22 -22
  44. package/dist/11000/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +22 -22
  45. package/dist/11000/bitcoinIngressEgress/ccmEgressInvalid.d.cts +107 -107
  46. package/dist/11000/bitcoinIngressEgress/ccmEgressInvalid.d.ts +107 -107
  47. package/dist/11000/bitcoinIngressEgress/depositFailed.d.cts +401 -401
  48. package/dist/11000/bitcoinIngressEgress/depositFailed.d.ts +401 -401
  49. package/dist/11000/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +103 -103
  50. package/dist/11000/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +103 -103
  51. package/dist/11000/bitcoinIngressEgress/invalidCcmRefunded.d.cts +20 -20
  52. package/dist/11000/bitcoinIngressEgress/invalidCcmRefunded.d.ts +20 -20
  53. package/dist/11000/lendingPools/boostFundsAdded.d.cts +2 -2
  54. package/dist/11000/lendingPools/boostFundsAdded.d.ts +2 -2
  55. package/dist/11100/assethubIngressEgress/depositFailed.d.cts +30 -30
  56. package/dist/11100/assethubIngressEgress/depositFailed.d.ts +30 -30
  57. package/dist/11200/arbitrumIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  58. package/dist/11200/arbitrumIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  59. package/dist/11200/arbitrumIngressEgress/depositBoosted.d.cts +6 -6
  60. package/dist/11200/arbitrumIngressEgress/depositBoosted.d.ts +6 -6
  61. package/dist/11200/arbitrumIngressEgress/depositFailed.d.cts +184 -184
  62. package/dist/11200/arbitrumIngressEgress/depositFailed.d.ts +184 -184
  63. package/dist/11200/arbitrumIngressEgress/depositFinalised.d.cts +2 -2
  64. package/dist/11200/arbitrumIngressEgress/depositFinalised.d.ts +2 -2
  65. package/dist/11200/assethubIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  66. package/dist/11200/assethubIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  67. package/dist/11200/assethubIngressEgress/depositBoosted.d.cts +6 -6
  68. package/dist/11200/assethubIngressEgress/depositBoosted.d.ts +6 -6
  69. package/dist/11200/assethubIngressEgress/depositFailed.d.cts +184 -184
  70. package/dist/11200/assethubIngressEgress/depositFailed.d.ts +184 -184
  71. package/dist/11200/assethubIngressEgress/depositFinalised.d.cts +2 -2
  72. package/dist/11200/assethubIngressEgress/depositFinalised.d.ts +2 -2
  73. package/dist/11200/polkadotIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  74. package/dist/11200/polkadotIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  75. package/dist/11200/polkadotIngressEgress/depositBoosted.d.cts +6 -6
  76. package/dist/11200/polkadotIngressEgress/depositBoosted.d.ts +6 -6
  77. package/dist/11200/polkadotIngressEgress/depositFailed.d.cts +184 -184
  78. package/dist/11200/polkadotIngressEgress/depositFailed.d.ts +184 -184
  79. package/dist/11200/polkadotIngressEgress/depositFinalised.d.cts +2 -2
  80. package/dist/11200/polkadotIngressEgress/depositFinalised.d.ts +2 -2
  81. package/dist/11200/swapping/swapRescheduled.d.cts +2 -2
  82. package/dist/11200/swapping/swapRescheduled.d.ts +2 -2
  83. package/dist/120/bitcoinIngressEgress/depositIgnored.d.cts +20 -20
  84. package/dist/120/bitcoinIngressEgress/depositIgnored.d.ts +20 -20
  85. package/dist/120/bitcoinIngressEgress/depositReceived.d.cts +20 -20
  86. package/dist/120/bitcoinIngressEgress/depositReceived.d.ts +20 -20
  87. package/dist/120/swapping/ccmFailed.d.cts +62 -62
  88. package/dist/120/swapping/ccmFailed.d.ts +62 -62
  89. package/dist/120/swapping/swapEgressIgnored.d.cts +28 -28
  90. package/dist/120/swapping/swapEgressIgnored.d.ts +28 -28
  91. package/dist/120/swapping/swapEgressScheduled.d.cts +10 -10
  92. package/dist/120/swapping/swapEgressScheduled.d.ts +10 -10
  93. package/dist/120/swapping/swapExecuted.d.cts +12 -12
  94. package/dist/120/swapping/swapExecuted.d.ts +12 -12
  95. package/dist/120/swapping/withdrawalRequested.d.cts +8 -8
  96. package/dist/120/swapping/withdrawalRequested.d.ts +8 -8
  97. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
  98. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
  99. package/dist/131/environment/runtimeSafeModeUpdated.d.cts +28 -28
  100. package/dist/131/environment/runtimeSafeModeUpdated.d.ts +28 -28
  101. package/dist/141/environment/runtimeSafeModeUpdated.d.cts +28 -28
  102. package/dist/141/environment/runtimeSafeModeUpdated.d.ts +28 -28
  103. package/dist/141/validator/rotationPhaseUpdated.d.cts +20 -20
  104. package/dist/141/validator/rotationPhaseUpdated.d.ts +20 -20
  105. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  106. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  107. package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
  108. package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +4 -4
  109. package/dist/150/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
  110. package/dist/150/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
  111. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
  112. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
  113. package/dist/150/solanaIngressEgress/depositFinalised.d.cts +2 -2
  114. package/dist/150/solanaIngressEgress/depositFinalised.d.ts +2 -2
  115. package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
  116. package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
  117. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
  118. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
  119. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  120. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  121. package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  122. package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  123. package/dist/160/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
  124. package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
  125. package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +6 -6
  126. package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +6 -6
  127. package/dist/160/assetBalances/accountCredited.d.cts +2 -2
  128. package/dist/160/assetBalances/accountCredited.d.ts +2 -2
  129. package/dist/160/assetBalances/accountDebited.d.cts +2 -2
  130. package/dist/160/assetBalances/accountDebited.d.ts +2 -2
  131. package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  132. package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  133. package/dist/160/ethereumIngressEgress/depositBoosted.d.cts +8 -8
  134. package/dist/160/ethereumIngressEgress/depositBoosted.d.ts +8 -8
  135. package/dist/160/ethereumIngressEgress/depositFinalised.d.cts +6 -6
  136. package/dist/160/ethereumIngressEgress/depositFinalised.d.ts +6 -6
  137. package/dist/160/liquidityPools/limitOrderUpdated.d.cts +10 -10
  138. package/dist/160/liquidityPools/limitOrderUpdated.d.ts +10 -10
  139. package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +10 -10
  140. package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +10 -10
  141. package/dist/170/polkadotIngressEgress/boostedDepositLost.d.cts +2 -2
  142. package/dist/170/polkadotIngressEgress/boostedDepositLost.d.ts +2 -2
  143. package/dist/170/polkadotIngressEgress/depositIgnored.d.cts +2 -2
  144. package/dist/170/polkadotIngressEgress/depositIgnored.d.ts +2 -2
  145. package/dist/170/polkadotIngressEgress/transactionRejectedByBroker.d.cts +2 -2
  146. package/dist/170/polkadotIngressEgress/transactionRejectedByBroker.d.ts +2 -2
  147. package/dist/170/reputation/offencePenalty.d.cts +6 -6
  148. package/dist/170/reputation/offencePenalty.d.ts +6 -6
  149. package/dist/170/reputation/penaltyUpdated.d.cts +4 -4
  150. package/dist/170/reputation/penaltyUpdated.d.ts +4 -4
  151. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.cts +50 -50
  152. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.ts +50 -50
  153. package/dist/180/bitcoinIngressEgress/depositBoosted.d.cts +30 -30
  154. package/dist/180/bitcoinIngressEgress/depositBoosted.d.ts +30 -30
  155. package/dist/180/bitcoinIngressEgress/depositFailed.d.cts +306 -306
  156. package/dist/180/bitcoinIngressEgress/depositFailed.d.ts +306 -306
  157. package/dist/180/bitcoinIngressEgress/depositFinalised.d.cts +24 -24
  158. package/dist/180/bitcoinIngressEgress/depositFinalised.d.ts +24 -24
  159. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  160. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
  161. package/dist/180/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  162. package/dist/180/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  163. package/dist/180/bitcoinIngressEgress/transferFallbackRequested.d.cts +20 -20
  164. package/dist/180/bitcoinIngressEgress/transferFallbackRequested.d.ts +20 -20
  165. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  166. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  167. package/dist/180/ethereumIngressEgress/depositBoosted.d.cts +6 -6
  168. package/dist/180/ethereumIngressEgress/depositBoosted.d.ts +6 -6
  169. package/dist/180/ethereumIngressEgress/depositFailed.d.cts +179 -179
  170. package/dist/180/ethereumIngressEgress/depositFailed.d.ts +179 -179
  171. package/dist/180/ethereumIngressEgress/depositFinalised.d.cts +2 -2
  172. package/dist/180/ethereumIngressEgress/depositFinalised.d.ts +2 -2
  173. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  174. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
  175. package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  176. package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  177. package/dist/180/swapping/privateBrokerChannelClosed.d.cts +2 -2
  178. package/dist/180/swapping/privateBrokerChannelClosed.d.ts +2 -2
  179. package/dist/180/swapping/privateBrokerChannelOpened.d.cts +2 -2
  180. package/dist/180/swapping/privateBrokerChannelOpened.d.ts +2 -2
  181. package/dist/180/swapping/swapDepositAddressReady.d.cts +2 -2
  182. package/dist/180/swapping/swapDepositAddressReady.d.ts +2 -2
  183. package/dist/180/swapping/swapRequested.d.cts +4 -4
  184. package/dist/180/swapping/swapRequested.d.ts +4 -4
  185. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  186. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  187. package/dist/190/assethubBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
  188. package/dist/190/assethubBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
  189. package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.d.cts +4 -4
  190. package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.d.ts +4 -4
  191. package/dist/190/environment/runtimeSafeModeUpdated.d.cts +40 -40
  192. package/dist/190/environment/runtimeSafeModeUpdated.d.ts +40 -40
  193. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  194. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  195. package/dist/190/liquidityPools/limitOrderUpdated.d.cts +12 -12
  196. package/dist/190/liquidityPools/limitOrderUpdated.d.ts +12 -12
  197. package/dist/190/liquidityPools/orderDeletionFailed.d.cts +8 -8
  198. package/dist/190/liquidityPools/orderDeletionFailed.d.ts +8 -8
  199. package/dist/190/liquidityPools/rangeOrderUpdated.d.cts +12 -12
  200. package/dist/190/liquidityPools/rangeOrderUpdated.d.ts +12 -12
  201. package/dist/190/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
  202. package/dist/190/polkadotIngressEgress/ccmEgressInvalid.d.ts +4 -4
  203. package/dist/190/reputation/offencePenalty.d.cts +6 -6
  204. package/dist/190/reputation/offencePenalty.d.ts +6 -6
  205. package/dist/190/reputation/penaltyUpdated.d.cts +4 -4
  206. package/dist/190/reputation/penaltyUpdated.d.ts +4 -4
  207. package/dist/200/common.cjs +25 -1
  208. package/dist/200/common.d.cts +37 -1
  209. package/dist/200/common.d.ts +37 -1
  210. package/dist/200/common.mjs +24 -0
  211. package/dist/200/lendingPools/collateralAdded.cjs +7 -1
  212. package/dist/200/lendingPools/collateralAdded.d.cts +13 -0
  213. package/dist/200/lendingPools/collateralAdded.d.ts +13 -0
  214. package/dist/200/lendingPools/collateralAdded.mjs +8 -2
  215. package/dist/200/lendingPools/liquidationCompleted.cjs +13 -0
  216. package/dist/200/lendingPools/liquidationCompleted.d.cts +24 -0
  217. package/dist/200/lendingPools/liquidationCompleted.d.ts +24 -0
  218. package/dist/200/lendingPools/liquidationCompleted.mjs +13 -0
  219. package/dist/200/lendingPools/liquidationInitiated.cjs +5 -1
  220. package/dist/200/lendingPools/liquidationInitiated.d.cts +13 -3
  221. package/dist/200/lendingPools/liquidationInitiated.d.ts +13 -3
  222. package/dist/200/lendingPools/liquidationInitiated.mjs +6 -2
  223. package/dist/200/swapping/swapRequestCompleted.cjs +10 -0
  224. package/dist/200/swapping/swapRequestCompleted.d.cts +24 -0
  225. package/dist/200/swapping/swapRequestCompleted.d.ts +24 -0
  226. package/dist/200/swapping/swapRequestCompleted.mjs +10 -0
  227. package/package.json +1 -1
@@ -62,16 +62,17 @@ declare const reputationOffencePenalty: z.ZodObject<{
62
62
  __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
63
63
  }>;
64
64
  }, "strip", z.ZodTypeAny, {
65
- __kind: "FailedLivenessCheck";
66
65
  value: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
67
- }, {
68
66
  __kind: "FailedLivenessCheck";
67
+ }, {
69
68
  value: {
70
69
  __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
71
70
  };
71
+ __kind: "FailedLivenessCheck";
72
72
  }>]>;
73
73
  penalty: z.ZodNumber;
74
74
  }, "strip", z.ZodTypeAny, {
75
+ offender: string;
75
76
  offence: {
76
77
  __kind: "ParticipateSigningFailed";
77
78
  } | {
@@ -89,12 +90,12 @@ declare const reputationOffencePenalty: z.ZodObject<{
89
90
  } | {
90
91
  __kind: "FailedToWitnessInTime";
91
92
  } | {
92
- __kind: "FailedLivenessCheck";
93
93
  value: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
94
+ __kind: "FailedLivenessCheck";
94
95
  };
95
- offender: string;
96
96
  penalty: number;
97
97
  }, {
98
+ offender: string;
98
99
  offence: {
99
100
  __kind: "ParticipateSigningFailed";
100
101
  } | {
@@ -112,12 +113,11 @@ declare const reputationOffencePenalty: z.ZodObject<{
112
113
  } | {
113
114
  __kind: "FailedToWitnessInTime";
114
115
  } | {
115
- __kind: "FailedLivenessCheck";
116
116
  value: {
117
117
  __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
118
118
  };
119
+ __kind: "FailedLivenessCheck";
119
120
  };
120
- offender: string;
121
121
  penalty: number;
122
122
  }>;
123
123
 
@@ -62,16 +62,17 @@ declare const reputationOffencePenalty: z.ZodObject<{
62
62
  __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
63
63
  }>;
64
64
  }, "strip", z.ZodTypeAny, {
65
- __kind: "FailedLivenessCheck";
66
65
  value: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
67
- }, {
68
66
  __kind: "FailedLivenessCheck";
67
+ }, {
69
68
  value: {
70
69
  __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
71
70
  };
71
+ __kind: "FailedLivenessCheck";
72
72
  }>]>;
73
73
  penalty: z.ZodNumber;
74
74
  }, "strip", z.ZodTypeAny, {
75
+ offender: string;
75
76
  offence: {
76
77
  __kind: "ParticipateSigningFailed";
77
78
  } | {
@@ -89,12 +90,12 @@ declare const reputationOffencePenalty: z.ZodObject<{
89
90
  } | {
90
91
  __kind: "FailedToWitnessInTime";
91
92
  } | {
92
- __kind: "FailedLivenessCheck";
93
93
  value: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
94
+ __kind: "FailedLivenessCheck";
94
95
  };
95
- offender: string;
96
96
  penalty: number;
97
97
  }, {
98
+ offender: string;
98
99
  offence: {
99
100
  __kind: "ParticipateSigningFailed";
100
101
  } | {
@@ -112,12 +113,11 @@ declare const reputationOffencePenalty: z.ZodObject<{
112
113
  } | {
113
114
  __kind: "FailedToWitnessInTime";
114
115
  } | {
115
- __kind: "FailedLivenessCheck";
116
116
  value: {
117
117
  __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
118
118
  };
119
+ __kind: "FailedLivenessCheck";
119
120
  };
120
- offender: string;
121
121
  penalty: number;
122
122
  }>;
123
123
 
@@ -61,13 +61,13 @@ declare const reputationPenaltyUpdated: z.ZodObject<{
61
61
  __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
62
62
  }>;
63
63
  }, "strip", z.ZodTypeAny, {
64
- __kind: "FailedLivenessCheck";
65
64
  value: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
66
- }, {
67
65
  __kind: "FailedLivenessCheck";
66
+ }, {
68
67
  value: {
69
68
  __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
70
69
  };
70
+ __kind: "FailedLivenessCheck";
71
71
  }>]>;
72
72
  oldPenalty: z.ZodObject<{
73
73
  reputation: z.ZodNumber;
@@ -107,8 +107,8 @@ declare const reputationPenaltyUpdated: z.ZodObject<{
107
107
  } | {
108
108
  __kind: "FailedToWitnessInTime";
109
109
  } | {
110
- __kind: "FailedLivenessCheck";
111
110
  value: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
111
+ __kind: "FailedLivenessCheck";
112
112
  };
113
113
  oldPenalty: {
114
114
  reputation: number;
@@ -136,10 +136,10 @@ declare const reputationPenaltyUpdated: z.ZodObject<{
136
136
  } | {
137
137
  __kind: "FailedToWitnessInTime";
138
138
  } | {
139
- __kind: "FailedLivenessCheck";
140
139
  value: {
141
140
  __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
142
141
  };
142
+ __kind: "FailedLivenessCheck";
143
143
  };
144
144
  oldPenalty: {
145
145
  reputation: number;
@@ -61,13 +61,13 @@ declare const reputationPenaltyUpdated: z.ZodObject<{
61
61
  __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
62
62
  }>;
63
63
  }, "strip", z.ZodTypeAny, {
64
- __kind: "FailedLivenessCheck";
65
64
  value: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
66
- }, {
67
65
  __kind: "FailedLivenessCheck";
66
+ }, {
68
67
  value: {
69
68
  __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
70
69
  };
70
+ __kind: "FailedLivenessCheck";
71
71
  }>]>;
72
72
  oldPenalty: z.ZodObject<{
73
73
  reputation: z.ZodNumber;
@@ -107,8 +107,8 @@ declare const reputationPenaltyUpdated: z.ZodObject<{
107
107
  } | {
108
108
  __kind: "FailedToWitnessInTime";
109
109
  } | {
110
- __kind: "FailedLivenessCheck";
111
110
  value: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
111
+ __kind: "FailedLivenessCheck";
112
112
  };
113
113
  oldPenalty: {
114
114
  reputation: number;
@@ -136,10 +136,10 @@ declare const reputationPenaltyUpdated: z.ZodObject<{
136
136
  } | {
137
137
  __kind: "FailedToWitnessInTime";
138
138
  } | {
139
- __kind: "FailedLivenessCheck";
140
139
  value: {
141
140
  __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
142
141
  };
142
+ __kind: "FailedLivenessCheck";
143
143
  };
144
144
  oldPenalty: {
145
145
  reputation: number;
@@ -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 };