@chainflip/processor 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/dist/100/ethereumBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
  2. package/dist/100/ethereumBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
  3. package/dist/100/swapping/batchSwapFailed.d.cts +8 -8
  4. package/dist/100/swapping/batchSwapFailed.d.ts +8 -8
  5. package/dist/100/swapping/ccmDepositReceived.d.cts +62 -62
  6. package/dist/100/swapping/ccmDepositReceived.d.ts +62 -62
  7. package/dist/100/swapping/ccmFailed.d.cts +62 -62
  8. package/dist/100/swapping/ccmFailed.d.ts +62 -62
  9. package/dist/100/swapping/minimumSwapAmountSet.d.cts +6 -6
  10. package/dist/100/swapping/minimumSwapAmountSet.d.ts +6 -6
  11. package/dist/100/swapping/swapAmountTooLow.d.cts +19 -19
  12. package/dist/100/swapping/swapAmountTooLow.d.ts +19 -19
  13. package/dist/100/swapping/swapDepositAddressReady.d.cts +26 -26
  14. package/dist/100/swapping/swapDepositAddressReady.d.ts +26 -26
  15. package/dist/100/swapping/swapEgressScheduled.d.cts +6 -6
  16. package/dist/100/swapping/swapEgressScheduled.d.ts +6 -6
  17. package/dist/100/swapping/swapExecuted.d.cts +12 -12
  18. package/dist/100/swapping/swapExecuted.d.ts +12 -12
  19. package/dist/100/swapping/swapScheduled.d.cts +91 -91
  20. package/dist/100/swapping/swapScheduled.d.ts +91 -91
  21. package/dist/100/swapping/withdrawalRequested.d.cts +4 -4
  22. package/dist/100/swapping/withdrawalRequested.d.ts +4 -4
  23. package/dist/100/system/extrinsicFailed.d.cts +16 -16
  24. package/dist/100/system/extrinsicFailed.d.ts +16 -16
  25. package/dist/100/witnesser/witnessExecutionFailed.d.cts +18 -18
  26. package/dist/100/witnesser/witnessExecutionFailed.d.ts +18 -18
  27. package/dist/11000/environment/runtimeSafeModeUpdated.d.cts +28 -28
  28. package/dist/11000/environment/runtimeSafeModeUpdated.d.ts +28 -28
  29. package/dist/11000/polkadotIngressEgress/ccmEgressInvalid.d.cts +107 -107
  30. package/dist/11000/polkadotIngressEgress/ccmEgressInvalid.d.ts +107 -107
  31. package/dist/11000/polkadotIngressEgress/depositFailed.d.cts +203 -203
  32. package/dist/11000/polkadotIngressEgress/depositFailed.d.ts +203 -203
  33. package/dist/11000/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +103 -103
  34. package/dist/11000/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +103 -103
  35. package/dist/11100/assethubIngressEgress/depositFailed.d.cts +30 -30
  36. package/dist/11100/assethubIngressEgress/depositFailed.d.ts +30 -30
  37. package/dist/11100/polkadotIngressEgress/depositFailed.d.cts +30 -30
  38. package/dist/11100/polkadotIngressEgress/depositFailed.d.ts +30 -30
  39. package/dist/11100/solanaIngressEgress/depositFailed.d.cts +166 -166
  40. package/dist/11100/solanaIngressEgress/depositFailed.d.ts +166 -166
  41. package/dist/11200/arbitrumIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  42. package/dist/11200/arbitrumIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  43. package/dist/11200/arbitrumIngressEgress/depositBoosted.d.cts +6 -6
  44. package/dist/11200/arbitrumIngressEgress/depositBoosted.d.ts +6 -6
  45. package/dist/11200/arbitrumIngressEgress/depositFailed.d.cts +184 -184
  46. package/dist/11200/arbitrumIngressEgress/depositFailed.d.ts +184 -184
  47. package/dist/11200/arbitrumIngressEgress/depositFinalised.d.cts +2 -2
  48. package/dist/11200/arbitrumIngressEgress/depositFinalised.d.ts +2 -2
  49. package/dist/11200/assethubIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  50. package/dist/11200/assethubIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  51. package/dist/11200/assethubIngressEgress/depositBoosted.d.cts +6 -6
  52. package/dist/11200/assethubIngressEgress/depositBoosted.d.ts +6 -6
  53. package/dist/11200/assethubIngressEgress/depositFailed.d.cts +184 -184
  54. package/dist/11200/assethubIngressEgress/depositFailed.d.ts +184 -184
  55. package/dist/11200/assethubIngressEgress/depositFinalised.d.cts +2 -2
  56. package/dist/11200/assethubIngressEgress/depositFinalised.d.ts +2 -2
  57. package/dist/11200/polkadotIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  58. package/dist/11200/polkadotIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  59. package/dist/11200/polkadotIngressEgress/depositBoosted.d.cts +6 -6
  60. package/dist/11200/polkadotIngressEgress/depositBoosted.d.ts +6 -6
  61. package/dist/11200/polkadotIngressEgress/depositFailed.d.cts +184 -184
  62. package/dist/11200/polkadotIngressEgress/depositFailed.d.ts +184 -184
  63. package/dist/11200/polkadotIngressEgress/depositFinalised.d.cts +2 -2
  64. package/dist/11200/polkadotIngressEgress/depositFinalised.d.ts +2 -2
  65. package/dist/131/swapping/batchSwapFailed.d.cts +8 -8
  66. package/dist/131/swapping/batchSwapFailed.d.ts +8 -8
  67. package/dist/131/swapping/maximumSwapAmountSet.d.cts +6 -6
  68. package/dist/131/swapping/maximumSwapAmountSet.d.ts +6 -6
  69. package/dist/131/swapping/swapAmountConfiscated.d.cts +12 -12
  70. package/dist/131/swapping/swapAmountConfiscated.d.ts +12 -12
  71. package/dist/131/swapping/swapDepositAddressReady.d.cts +18 -18
  72. package/dist/131/swapping/swapDepositAddressReady.d.ts +18 -18
  73. package/dist/131/swapping/swapEgressIgnored.d.cts +12 -12
  74. package/dist/131/swapping/swapEgressIgnored.d.ts +12 -12
  75. package/dist/131/swapping/swapEgressScheduled.d.cts +8 -8
  76. package/dist/131/swapping/swapEgressScheduled.d.ts +8 -8
  77. package/dist/131/swapping/swapExecuted.d.cts +12 -12
  78. package/dist/131/swapping/swapExecuted.d.ts +12 -12
  79. package/dist/131/swapping/swapScheduled.d.cts +14 -14
  80. package/dist/131/swapping/swapScheduled.d.ts +14 -14
  81. package/dist/131/swapping/withdrawalRequested.d.cts +6 -6
  82. package/dist/131/swapping/withdrawalRequested.d.ts +6 -6
  83. package/dist/141/arbitrumBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
  84. package/dist/141/arbitrumBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
  85. package/dist/141/liquidityProvider/accountCredited.d.cts +2 -2
  86. package/dist/141/liquidityProvider/accountCredited.d.ts +2 -2
  87. package/dist/141/liquidityProvider/accountDebited.d.cts +2 -2
  88. package/dist/141/liquidityProvider/accountDebited.d.ts +2 -2
  89. package/dist/141/liquidityProvider/assetTransferred.d.cts +3 -3
  90. package/dist/141/liquidityProvider/assetTransferred.d.ts +3 -3
  91. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
  92. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
  93. package/dist/141/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
  94. package/dist/141/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
  95. package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.cts +2 -2
  96. package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.ts +2 -2
  97. package/dist/141/swapping/batchSwapFailed.d.cts +8 -8
  98. package/dist/141/swapping/batchSwapFailed.d.ts +8 -8
  99. package/dist/141/swapping/ccmDepositReceived.d.cts +68 -68
  100. package/dist/141/swapping/ccmDepositReceived.d.ts +68 -68
  101. package/dist/141/swapping/ccmFailed.d.cts +73 -73
  102. package/dist/141/swapping/ccmFailed.d.ts +73 -73
  103. package/dist/141/swapping/maximumSwapAmountSet.d.cts +6 -6
  104. package/dist/141/swapping/maximumSwapAmountSet.d.ts +6 -6
  105. package/dist/141/swapping/swapAmountConfiscated.d.cts +12 -12
  106. package/dist/141/swapping/swapAmountConfiscated.d.ts +12 -12
  107. package/dist/141/swapping/swapDepositAddressReady.d.cts +26 -26
  108. package/dist/141/swapping/swapDepositAddressReady.d.ts +26 -26
  109. package/dist/141/swapping/swapEgressIgnored.d.cts +24 -24
  110. package/dist/141/swapping/swapEgressIgnored.d.ts +24 -24
  111. package/dist/141/swapping/swapEgressScheduled.d.cts +8 -8
  112. package/dist/141/swapping/swapEgressScheduled.d.ts +8 -8
  113. package/dist/141/swapping/swapExecuted.d.cts +90 -90
  114. package/dist/141/swapping/swapExecuted.d.ts +90 -90
  115. package/dist/141/swapping/swapScheduled.d.cts +99 -99
  116. package/dist/141/swapping/swapScheduled.d.ts +99 -99
  117. package/dist/141/swapping/withdrawalRequested.d.cts +10 -10
  118. package/dist/141/swapping/withdrawalRequested.d.ts +10 -10
  119. package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  120. package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.ts +2 -2
  121. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  122. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  123. package/dist/150/solanaBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
  124. package/dist/150/solanaBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
  125. package/dist/150/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
  126. package/dist/150/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
  127. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
  128. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
  129. package/dist/150/solanaIngressEgress/depositFinalised.d.cts +2 -2
  130. package/dist/150/solanaIngressEgress/depositFinalised.d.ts +2 -2
  131. package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
  132. package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
  133. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
  134. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
  135. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  136. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  137. package/dist/150/swapping/batchSwapFailed.d.cts +8 -8
  138. package/dist/150/swapping/batchSwapFailed.d.ts +8 -8
  139. package/dist/150/swapping/ccmDepositReceived.d.cts +74 -74
  140. package/dist/150/swapping/ccmDepositReceived.d.ts +74 -74
  141. package/dist/150/swapping/ccmFailed.d.cts +79 -79
  142. package/dist/150/swapping/ccmFailed.d.ts +79 -79
  143. package/dist/150/swapping/maximumSwapAmountSet.d.cts +6 -6
  144. package/dist/150/swapping/maximumSwapAmountSet.d.ts +6 -6
  145. package/dist/150/swapping/refundEgressIgnored.d.cts +24 -24
  146. package/dist/150/swapping/refundEgressIgnored.d.ts +24 -24
  147. package/dist/150/swapping/refundEgressScheduled.d.cts +8 -8
  148. package/dist/150/swapping/refundEgressScheduled.d.ts +8 -8
  149. package/dist/150/swapping/swapAmountConfiscated.d.cts +12 -12
  150. package/dist/150/swapping/swapAmountConfiscated.d.ts +12 -12
  151. package/dist/150/swapping/swapDepositAddressReady.d.cts +25 -25
  152. package/dist/150/swapping/swapDepositAddressReady.d.ts +25 -25
  153. package/dist/150/swapping/swapEgressIgnored.d.cts +24 -24
  154. package/dist/150/swapping/swapEgressIgnored.d.ts +24 -24
  155. package/dist/150/swapping/swapEgressScheduled.d.cts +8 -8
  156. package/dist/150/swapping/swapEgressScheduled.d.ts +8 -8
  157. package/dist/150/swapping/swapExecuted.d.cts +94 -94
  158. package/dist/150/swapping/swapExecuted.d.ts +94 -94
  159. package/dist/150/swapping/swapScheduled.d.cts +103 -103
  160. package/dist/150/swapping/swapScheduled.d.ts +103 -103
  161. package/dist/150/swapping/withdrawalRequested.d.cts +10 -10
  162. package/dist/150/swapping/withdrawalRequested.d.ts +10 -10
  163. package/dist/160/arbitrumIngressEgress/depositBoosted.d.cts +10 -10
  164. package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +10 -10
  165. package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +6 -6
  166. package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +6 -6
  167. package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.cts +61 -61
  168. package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.ts +61 -61
  169. package/dist/160/bitcoinIngressEgress/depositBoosted.d.cts +28 -28
  170. package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +28 -28
  171. package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +26 -26
  172. package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +26 -26
  173. package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  174. package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  175. package/dist/160/ethereumIngressEgress/depositBoosted.d.cts +8 -8
  176. package/dist/160/ethereumIngressEgress/depositBoosted.d.ts +8 -8
  177. package/dist/160/ethereumIngressEgress/depositFinalised.d.cts +6 -6
  178. package/dist/160/ethereumIngressEgress/depositFinalised.d.ts +6 -6
  179. package/dist/170/bitcoinIngressEgress/boostedDepositLost.d.cts +2 -2
  180. package/dist/170/bitcoinIngressEgress/boostedDepositLost.d.ts +2 -2
  181. package/dist/170/bitcoinIngressEgress/ccmFailed.d.cts +37 -37
  182. package/dist/170/bitcoinIngressEgress/ccmFailed.d.ts +37 -37
  183. package/dist/170/bitcoinIngressEgress/depositBoosted.d.cts +30 -30
  184. package/dist/170/bitcoinIngressEgress/depositBoosted.d.ts +30 -30
  185. package/dist/170/bitcoinIngressEgress/depositFinalised.d.cts +30 -30
  186. package/dist/170/bitcoinIngressEgress/depositFinalised.d.ts +30 -30
  187. package/dist/170/bitcoinIngressEgress/depositIgnored.d.cts +30 -30
  188. package/dist/170/bitcoinIngressEgress/depositIgnored.d.ts +30 -30
  189. package/dist/170/bitcoinIngressEgress/depositWitnessRejected.d.cts +56 -56
  190. package/dist/170/bitcoinIngressEgress/depositWitnessRejected.d.ts +56 -56
  191. package/dist/170/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  192. package/dist/170/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
  193. package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.d.cts +4 -4
  194. package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.d.ts +4 -4
  195. package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.d.cts +4 -4
  196. package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.d.ts +4 -4
  197. package/dist/170/reputation/offencePenalty.d.cts +6 -6
  198. package/dist/170/reputation/offencePenalty.d.ts +6 -6
  199. package/dist/170/reputation/penaltyUpdated.d.cts +4 -4
  200. package/dist/170/reputation/penaltyUpdated.d.ts +4 -4
  201. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.cts +14 -14
  202. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.ts +14 -14
  203. package/dist/180/bitcoinIngressEgress/depositFailed.d.cts +10 -10
  204. package/dist/180/bitcoinIngressEgress/depositFailed.d.ts +10 -10
  205. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +10 -10
  206. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +10 -10
  207. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  208. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  209. package/dist/180/ethereumIngressEgress/depositBoosted.d.cts +6 -6
  210. package/dist/180/ethereumIngressEgress/depositBoosted.d.ts +6 -6
  211. package/dist/180/ethereumIngressEgress/depositFailed.d.cts +179 -179
  212. package/dist/180/ethereumIngressEgress/depositFailed.d.ts +179 -179
  213. package/dist/180/ethereumIngressEgress/depositFinalised.d.cts +2 -2
  214. package/dist/180/ethereumIngressEgress/depositFinalised.d.ts +2 -2
  215. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  216. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
  217. package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  218. package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  219. package/dist/190/assethubBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
  220. package/dist/190/assethubBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
  221. package/dist/190/assethubIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  222. package/dist/190/assethubIngressEgress/ccmBroadcastRequested.d.ts +2 -2
  223. package/dist/190/assethubIngressEgress/ccmEgressInvalid.d.cts +50 -50
  224. package/dist/190/assethubIngressEgress/ccmEgressInvalid.d.ts +50 -50
  225. package/dist/190/assethubIngressEgress/depositFailed.d.cts +170 -170
  226. package/dist/190/assethubIngressEgress/depositFailed.d.ts +170 -170
  227. package/dist/190/assethubIngressEgress/depositFetchesScheduled.d.cts +2 -2
  228. package/dist/190/assethubIngressEgress/depositFetchesScheduled.d.ts +2 -2
  229. package/dist/190/assethubIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  230. package/dist/190/assethubIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
  231. package/dist/190/assethubIngressEgress/transactionRejectedByBroker.d.cts +2 -2
  232. package/dist/190/assethubIngressEgress/transactionRejectedByBroker.d.ts +2 -2
  233. package/dist/190/assethubIngressEgress/transferFallbackRequested.d.cts +2 -2
  234. package/dist/190/assethubIngressEgress/transferFallbackRequested.d.ts +2 -2
  235. package/dist/190/environment/runtimeSafeModeUpdated.d.cts +40 -40
  236. package/dist/190/environment/runtimeSafeModeUpdated.d.ts +40 -40
  237. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  238. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  239. package/dist/190/reputation/offencePenalty.d.cts +6 -6
  240. package/dist/190/reputation/offencePenalty.d.ts +6 -6
  241. package/dist/190/reputation/penaltyUpdated.d.cts +4 -4
  242. package/dist/190/reputation/penaltyUpdated.d.ts +4 -4
  243. package/dist/200/common.cjs +68 -10
  244. package/dist/200/common.d.cts +1199 -215
  245. package/dist/200/common.d.ts +1199 -215
  246. package/dist/200/common.mjs +67 -9
  247. package/dist/200/environment/runtimeSafeModeUpdated.d.cts +9 -0
  248. package/dist/200/environment/runtimeSafeModeUpdated.d.ts +9 -0
  249. package/dist/200/funding/funded.cjs +12 -0
  250. package/dist/200/funding/funded.d.cts +87 -0
  251. package/dist/200/funding/funded.d.ts +87 -0
  252. package/dist/200/funding/funded.mjs +12 -0
  253. package/dist/200/lendingPools/collateralAdded.cjs +7 -1
  254. package/dist/200/lendingPools/collateralAdded.d.cts +13 -0
  255. package/dist/200/lendingPools/collateralAdded.d.ts +13 -0
  256. package/dist/200/lendingPools/collateralAdded.mjs +8 -2
  257. package/dist/200/lendingPools/liquidationCompleted.cjs +13 -0
  258. package/dist/200/lendingPools/liquidationCompleted.d.cts +24 -0
  259. package/dist/200/lendingPools/liquidationCompleted.d.ts +24 -0
  260. package/dist/200/lendingPools/liquidationCompleted.mjs +13 -0
  261. package/dist/200/lendingPools/liquidationInitiated.cjs +5 -1
  262. package/dist/200/lendingPools/liquidationInitiated.d.cts +13 -3
  263. package/dist/200/lendingPools/liquidationInitiated.d.ts +13 -3
  264. package/dist/200/lendingPools/liquidationInitiated.mjs +6 -2
  265. package/dist/200/lendingPools/loanCreated.d.cts +2 -2
  266. package/dist/200/lendingPools/loanCreated.d.ts +2 -2
  267. package/dist/200/lendingPools/palletConfigUpdated.d.cts +17 -12
  268. package/dist/200/lendingPools/palletConfigUpdated.d.ts +17 -12
  269. package/dist/200/lendingPools/whitelistUpdated.cjs +9 -0
  270. package/dist/200/lendingPools/whitelistUpdated.d.cts +66 -0
  271. package/dist/200/lendingPools/whitelistUpdated.d.ts +66 -0
  272. package/dist/200/lendingPools/whitelistUpdated.mjs +9 -0
  273. package/dist/200/swapping/accountCreationDepositAddressReady.cjs +23 -0
  274. package/dist/200/swapping/accountCreationDepositAddressReady.d.cts +319 -0
  275. package/dist/200/swapping/accountCreationDepositAddressReady.d.ts +319 -0
  276. package/dist/200/swapping/accountCreationDepositAddressReady.mjs +23 -0
  277. package/dist/200/swapping/swapRequestCompleted.cjs +10 -0
  278. package/dist/200/swapping/swapRequestCompleted.d.cts +24 -0
  279. package/dist/200/swapping/swapRequestCompleted.d.ts +24 -0
  280. package/dist/200/swapping/swapRequestCompleted.mjs +10 -0
  281. package/dist/200/swapping/swapRequested.d.cts +1066 -52
  282. package/dist/200/swapping/swapRequested.d.ts +1066 -52
  283. package/package.json +2 -2
@@ -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
@@ -15,15 +15,15 @@ declare const lendingPoolsLoanCreated: z.ZodObject<{
15
15
  principalAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
16
16
  }, "strip", z.ZodTypeAny, {
17
17
  borrowerId: string;
18
- loanId: bigint;
19
18
  asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
19
+ loanId: bigint;
20
20
  principalAmount: bigint;
21
21
  }, {
22
22
  borrowerId: string;
23
- loanId: string | number;
24
23
  asset: {
25
24
  __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
26
25
  };
26
+ loanId: string | number;
27
27
  principalAmount: string | number;
28
28
  }>;
29
29
 
@@ -15,15 +15,15 @@ declare const lendingPoolsLoanCreated: z.ZodObject<{
15
15
  principalAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
16
16
  }, "strip", z.ZodTypeAny, {
17
17
  borrowerId: string;
18
- loanId: bigint;
19
18
  asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
19
+ loanId: bigint;
20
20
  principalAmount: bigint;
21
21
  }, {
22
22
  borrowerId: string;
23
- loanId: string | number;
24
23
  asset: {
25
24
  __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
26
25
  };
26
+ loanId: string | number;
27
27
  principalAmount: string | number;
28
28
  }>;
29
29
 
@@ -142,17 +142,17 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
142
142
  extraInterest: z.ZodNumber;
143
143
  fromOriginationFee: z.ZodNumber;
144
144
  fromLiquidationFee: z.ZodNumber;
145
- interestOnCollateralMax: z.ZodNumber;
145
+ lowLtvPenaltyMax: z.ZodNumber;
146
146
  }, "strip", z.ZodTypeAny, {
147
147
  extraInterest: number;
148
148
  fromOriginationFee: number;
149
149
  fromLiquidationFee: number;
150
- interestOnCollateralMax: number;
150
+ lowLtvPenaltyMax: number;
151
151
  }, {
152
152
  extraInterest: number;
153
153
  fromOriginationFee: number;
154
154
  fromLiquidationFee: number;
155
- interestOnCollateralMax: number;
155
+ lowLtvPenaltyMax: number;
156
156
  }>;
157
157
  }, "strip", z.ZodTypeAny, {
158
158
  __kind: "SetNetworkFeeContributions";
@@ -160,7 +160,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
160
160
  extraInterest: number;
161
161
  fromOriginationFee: number;
162
162
  fromLiquidationFee: number;
163
- interestOnCollateralMax: number;
163
+ lowLtvPenaltyMax: number;
164
164
  };
165
165
  }, {
166
166
  __kind: "SetNetworkFeeContributions";
@@ -168,7 +168,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
168
168
  extraInterest: number;
169
169
  fromOriginationFee: number;
170
170
  fromLiquidationFee: number;
171
- interestOnCollateralMax: number;
171
+ lowLtvPenaltyMax: number;
172
172
  };
173
173
  }>, z.ZodObject<{
174
174
  __kind: z.ZodLiteral<"SetFeeSwapIntervalBlocks">;
@@ -223,13 +223,16 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
223
223
  feeSwap: number;
224
224
  }>, z.ZodObject<{
225
225
  __kind: z.ZodLiteral<"SetLiquidationSwapChunkSizeUsd">;
226
- value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
226
+ soft: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
227
+ hard: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
227
228
  }, "strip", z.ZodTypeAny, {
228
- value: bigint;
229
229
  __kind: "SetLiquidationSwapChunkSizeUsd";
230
+ soft: bigint;
231
+ hard: bigint;
230
232
  }, {
231
- value: string | number;
232
233
  __kind: "SetLiquidationSwapChunkSizeUsd";
234
+ soft: string | number;
235
+ hard: string | number;
233
236
  }>, z.ZodObject<{
234
237
  __kind: z.ZodLiteral<"SetMinimumAmounts">;
235
238
  minimumLoanAmountUsd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
@@ -280,7 +283,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
280
283
  extraInterest: number;
281
284
  fromOriginationFee: number;
282
285
  fromLiquidationFee: number;
283
- interestOnCollateralMax: number;
286
+ lowLtvPenaltyMax: number;
284
287
  };
285
288
  } | {
286
289
  value: number;
@@ -300,8 +303,9 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
300
303
  hardLiquidation: number;
301
304
  feeSwap: number;
302
305
  } | {
303
- value: bigint;
304
306
  __kind: "SetLiquidationSwapChunkSizeUsd";
307
+ soft: bigint;
308
+ hard: bigint;
305
309
  } | {
306
310
  __kind: "SetMinimumAmounts";
307
311
  minimumLoanAmountUsd: bigint;
@@ -344,7 +348,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
344
348
  extraInterest: number;
345
349
  fromOriginationFee: number;
346
350
  fromLiquidationFee: number;
347
- interestOnCollateralMax: number;
351
+ lowLtvPenaltyMax: number;
348
352
  };
349
353
  } | {
350
354
  value: number;
@@ -364,8 +368,9 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
364
368
  hardLiquidation: number;
365
369
  feeSwap: number;
366
370
  } | {
367
- value: string | number;
368
371
  __kind: "SetLiquidationSwapChunkSizeUsd";
372
+ soft: string | number;
373
+ hard: string | number;
369
374
  } | {
370
375
  __kind: "SetMinimumAmounts";
371
376
  minimumLoanAmountUsd: string | number;
@@ -142,17 +142,17 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
142
142
  extraInterest: z.ZodNumber;
143
143
  fromOriginationFee: z.ZodNumber;
144
144
  fromLiquidationFee: z.ZodNumber;
145
- interestOnCollateralMax: z.ZodNumber;
145
+ lowLtvPenaltyMax: z.ZodNumber;
146
146
  }, "strip", z.ZodTypeAny, {
147
147
  extraInterest: number;
148
148
  fromOriginationFee: number;
149
149
  fromLiquidationFee: number;
150
- interestOnCollateralMax: number;
150
+ lowLtvPenaltyMax: number;
151
151
  }, {
152
152
  extraInterest: number;
153
153
  fromOriginationFee: number;
154
154
  fromLiquidationFee: number;
155
- interestOnCollateralMax: number;
155
+ lowLtvPenaltyMax: number;
156
156
  }>;
157
157
  }, "strip", z.ZodTypeAny, {
158
158
  __kind: "SetNetworkFeeContributions";
@@ -160,7 +160,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
160
160
  extraInterest: number;
161
161
  fromOriginationFee: number;
162
162
  fromLiquidationFee: number;
163
- interestOnCollateralMax: number;
163
+ lowLtvPenaltyMax: number;
164
164
  };
165
165
  }, {
166
166
  __kind: "SetNetworkFeeContributions";
@@ -168,7 +168,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
168
168
  extraInterest: number;
169
169
  fromOriginationFee: number;
170
170
  fromLiquidationFee: number;
171
- interestOnCollateralMax: number;
171
+ lowLtvPenaltyMax: number;
172
172
  };
173
173
  }>, z.ZodObject<{
174
174
  __kind: z.ZodLiteral<"SetFeeSwapIntervalBlocks">;
@@ -223,13 +223,16 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
223
223
  feeSwap: number;
224
224
  }>, z.ZodObject<{
225
225
  __kind: z.ZodLiteral<"SetLiquidationSwapChunkSizeUsd">;
226
- value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
226
+ soft: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
227
+ hard: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
227
228
  }, "strip", z.ZodTypeAny, {
228
- value: bigint;
229
229
  __kind: "SetLiquidationSwapChunkSizeUsd";
230
+ soft: bigint;
231
+ hard: bigint;
230
232
  }, {
231
- value: string | number;
232
233
  __kind: "SetLiquidationSwapChunkSizeUsd";
234
+ soft: string | number;
235
+ hard: string | number;
233
236
  }>, z.ZodObject<{
234
237
  __kind: z.ZodLiteral<"SetMinimumAmounts">;
235
238
  minimumLoanAmountUsd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
@@ -280,7 +283,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
280
283
  extraInterest: number;
281
284
  fromOriginationFee: number;
282
285
  fromLiquidationFee: number;
283
- interestOnCollateralMax: number;
286
+ lowLtvPenaltyMax: number;
284
287
  };
285
288
  } | {
286
289
  value: number;
@@ -300,8 +303,9 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
300
303
  hardLiquidation: number;
301
304
  feeSwap: number;
302
305
  } | {
303
- value: bigint;
304
306
  __kind: "SetLiquidationSwapChunkSizeUsd";
307
+ soft: bigint;
308
+ hard: bigint;
305
309
  } | {
306
310
  __kind: "SetMinimumAmounts";
307
311
  minimumLoanAmountUsd: bigint;
@@ -344,7 +348,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
344
348
  extraInterest: number;
345
349
  fromOriginationFee: number;
346
350
  fromLiquidationFee: number;
347
- interestOnCollateralMax: number;
351
+ lowLtvPenaltyMax: number;
348
352
  };
349
353
  } | {
350
354
  value: number;
@@ -364,8 +368,9 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
364
368
  hardLiquidation: number;
365
369
  feeSwap: number;
366
370
  } | {
367
- value: string | number;
368
371
  __kind: "SetLiquidationSwapChunkSizeUsd";
372
+ soft: string | number;
373
+ hard: string | number;
369
374
  } | {
370
375
  __kind: "SetMinimumAmounts";
371
376
  minimumLoanAmountUsd: string | number;
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/200/lendingPools/whitelistUpdated.ts
2
+ var _zod = require('zod');
3
+ var _commoncjs = require('../common.cjs');
4
+ var lendingPoolsWhitelistUpdated = _zod.z.object({
5
+ update: _commoncjs.palletCfLendingPoolsGeneralLendingWhitelistWhitelistUpdate
6
+ });
7
+
8
+
9
+ exports.lendingPoolsWhitelistUpdated = lendingPoolsWhitelistUpdated;
@@ -0,0 +1,66 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const lendingPoolsWhitelistUpdated: z.ZodObject<{
4
+ update: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
5
+ __kind: z.ZodLiteral<"SetAllowAll">;
6
+ }, "strip", z.ZodTypeAny, {
7
+ __kind: "SetAllowAll";
8
+ }, {
9
+ __kind: "SetAllowAll";
10
+ }>, z.ZodObject<{
11
+ __kind: z.ZodLiteral<"SetAllowedAccounts">;
12
+ value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
13
+ }, "strip", z.ZodTypeAny, {
14
+ value: string[];
15
+ __kind: "SetAllowedAccounts";
16
+ }, {
17
+ value: string[];
18
+ __kind: "SetAllowedAccounts";
19
+ }>, z.ZodObject<{
20
+ __kind: z.ZodLiteral<"AddAllowedAccounts">;
21
+ value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
22
+ }, "strip", z.ZodTypeAny, {
23
+ value: string[];
24
+ __kind: "AddAllowedAccounts";
25
+ }, {
26
+ value: string[];
27
+ __kind: "AddAllowedAccounts";
28
+ }>, z.ZodObject<{
29
+ __kind: z.ZodLiteral<"RemoveAllowedAccounts">;
30
+ value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
31
+ }, "strip", z.ZodTypeAny, {
32
+ value: string[];
33
+ __kind: "RemoveAllowedAccounts";
34
+ }, {
35
+ value: string[];
36
+ __kind: "RemoveAllowedAccounts";
37
+ }>]>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ update: {
40
+ __kind: "SetAllowAll";
41
+ } | {
42
+ value: string[];
43
+ __kind: "SetAllowedAccounts";
44
+ } | {
45
+ value: string[];
46
+ __kind: "AddAllowedAccounts";
47
+ } | {
48
+ value: string[];
49
+ __kind: "RemoveAllowedAccounts";
50
+ };
51
+ }, {
52
+ update: {
53
+ __kind: "SetAllowAll";
54
+ } | {
55
+ value: string[];
56
+ __kind: "SetAllowedAccounts";
57
+ } | {
58
+ value: string[];
59
+ __kind: "AddAllowedAccounts";
60
+ } | {
61
+ value: string[];
62
+ __kind: "RemoveAllowedAccounts";
63
+ };
64
+ }>;
65
+
66
+ export { lendingPoolsWhitelistUpdated };
@@ -0,0 +1,66 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const lendingPoolsWhitelistUpdated: z.ZodObject<{
4
+ update: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
5
+ __kind: z.ZodLiteral<"SetAllowAll">;
6
+ }, "strip", z.ZodTypeAny, {
7
+ __kind: "SetAllowAll";
8
+ }, {
9
+ __kind: "SetAllowAll";
10
+ }>, z.ZodObject<{
11
+ __kind: z.ZodLiteral<"SetAllowedAccounts">;
12
+ value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
13
+ }, "strip", z.ZodTypeAny, {
14
+ value: string[];
15
+ __kind: "SetAllowedAccounts";
16
+ }, {
17
+ value: string[];
18
+ __kind: "SetAllowedAccounts";
19
+ }>, z.ZodObject<{
20
+ __kind: z.ZodLiteral<"AddAllowedAccounts">;
21
+ value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
22
+ }, "strip", z.ZodTypeAny, {
23
+ value: string[];
24
+ __kind: "AddAllowedAccounts";
25
+ }, {
26
+ value: string[];
27
+ __kind: "AddAllowedAccounts";
28
+ }>, z.ZodObject<{
29
+ __kind: z.ZodLiteral<"RemoveAllowedAccounts">;
30
+ value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
31
+ }, "strip", z.ZodTypeAny, {
32
+ value: string[];
33
+ __kind: "RemoveAllowedAccounts";
34
+ }, {
35
+ value: string[];
36
+ __kind: "RemoveAllowedAccounts";
37
+ }>]>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ update: {
40
+ __kind: "SetAllowAll";
41
+ } | {
42
+ value: string[];
43
+ __kind: "SetAllowedAccounts";
44
+ } | {
45
+ value: string[];
46
+ __kind: "AddAllowedAccounts";
47
+ } | {
48
+ value: string[];
49
+ __kind: "RemoveAllowedAccounts";
50
+ };
51
+ }, {
52
+ update: {
53
+ __kind: "SetAllowAll";
54
+ } | {
55
+ value: string[];
56
+ __kind: "SetAllowedAccounts";
57
+ } | {
58
+ value: string[];
59
+ __kind: "AddAllowedAccounts";
60
+ } | {
61
+ value: string[];
62
+ __kind: "RemoveAllowedAccounts";
63
+ };
64
+ }>;
65
+
66
+ export { lendingPoolsWhitelistUpdated };
@@ -0,0 +1,9 @@
1
+ // generated/200/lendingPools/whitelistUpdated.ts
2
+ import { z } from "zod";
3
+ import { palletCfLendingPoolsGeneralLendingWhitelistWhitelistUpdate } from "../common.mjs";
4
+ var lendingPoolsWhitelistUpdated = z.object({
5
+ update: palletCfLendingPoolsGeneralLendingWhitelistWhitelistUpdate
6
+ });
7
+ export {
8
+ lendingPoolsWhitelistUpdated
9
+ };
@@ -0,0 +1,23 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/200/swapping/accountCreationDepositAddressReady.ts
2
+ var _zod = require('zod');
3
+
4
+
5
+
6
+
7
+
8
+
9
+ var _commoncjs = require('../common.cjs');
10
+ var swappingAccountCreationDepositAddressReady = _zod.z.object({
11
+ channelId: _commoncjs.numberOrHex,
12
+ asset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
13
+ depositAddress: _commoncjs.cfChainsAddressEncodedAddress,
14
+ requestedBy: _commoncjs.accountId,
15
+ requestedFor: _commoncjs.accountId,
16
+ depositChainExpiryBlock: _commoncjs.numberOrHex,
17
+ boostFee: _zod.z.number(),
18
+ channelOpeningFee: _commoncjs.numberOrHex,
19
+ refundAddress: _commoncjs.cfChainsAddressForeignChainAddress
20
+ });
21
+
22
+
23
+ exports.swappingAccountCreationDepositAddressReady = swappingAccountCreationDepositAddressReady;