@chainflip/processor 1.5.1 → 1.5.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 (271) hide show
  1. package/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
  2. package/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
  3. package/dist/100/common.cjs +15 -6
  4. package/dist/100/common.d.cts +25 -25
  5. package/dist/100/common.d.ts +25 -25
  6. package/dist/100/common.mjs +14 -5
  7. package/dist/100/environment/runtimeSafeModeUpdated.d.cts +28 -28
  8. package/dist/100/environment/runtimeSafeModeUpdated.d.ts +28 -28
  9. package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
  10. package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
  11. package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
  12. package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
  13. package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
  14. package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
  15. package/dist/100/funding/funded.d.cts +2 -2
  16. package/dist/100/funding/funded.d.ts +2 -2
  17. package/dist/100/funding/redemptionRequested.d.cts +2 -2
  18. package/dist/100/funding/redemptionRequested.d.ts +2 -2
  19. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +15 -15
  20. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +15 -15
  21. package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +15 -15
  22. package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +15 -15
  23. package/dist/100/swapping/batchSwapFailed.d.cts +2 -2
  24. package/dist/100/swapping/batchSwapFailed.d.ts +2 -2
  25. package/dist/100/swapping/ccmDepositReceived.d.cts +19 -19
  26. package/dist/100/swapping/ccmDepositReceived.d.ts +19 -19
  27. package/dist/100/swapping/ccmFailed.d.cts +15 -15
  28. package/dist/100/swapping/ccmFailed.d.ts +15 -15
  29. package/dist/100/swapping/swapAmountTooLow.d.cts +35 -35
  30. package/dist/100/swapping/swapAmountTooLow.d.ts +35 -35
  31. package/dist/100/swapping/swapDepositAddressReady.d.cts +36 -36
  32. package/dist/100/swapping/swapDepositAddressReady.d.ts +36 -36
  33. package/dist/100/swapping/swapScheduled.d.cts +37 -37
  34. package/dist/100/swapping/swapScheduled.d.ts +37 -37
  35. package/dist/100/swapping/withdrawalRequested.d.cts +15 -15
  36. package/dist/100/swapping/withdrawalRequested.d.ts +15 -15
  37. package/dist/102/common.cjs +3 -3
  38. package/dist/102/common.mjs +2 -2
  39. package/dist/111/common.cjs +3 -3
  40. package/dist/111/common.mjs +2 -2
  41. package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +2 -2
  42. package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +2 -2
  43. package/dist/120/common.cjs +15 -6
  44. package/dist/120/common.d.cts +10 -10
  45. package/dist/120/common.d.ts +10 -10
  46. package/dist/120/common.mjs +14 -5
  47. package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +15 -15
  48. package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +15 -15
  49. package/dist/120/swapping/ccmFailed.d.cts +15 -15
  50. package/dist/120/swapping/ccmFailed.d.ts +15 -15
  51. package/dist/120/swapping/withdrawalRequested.d.cts +15 -15
  52. package/dist/120/swapping/withdrawalRequested.d.ts +15 -15
  53. package/dist/131/common.cjs +15 -6
  54. package/dist/131/common.d.cts +25 -25
  55. package/dist/131/common.d.ts +25 -25
  56. package/dist/131/common.mjs +14 -5
  57. package/dist/131/environment/runtimeSafeModeUpdated.d.cts +40 -40
  58. package/dist/131/environment/runtimeSafeModeUpdated.d.ts +40 -40
  59. package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.cts +15 -15
  60. package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.ts +15 -15
  61. package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.cts +15 -15
  62. package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.ts +15 -15
  63. package/dist/131/swapping/batchSwapFailed.d.cts +8 -8
  64. package/dist/131/swapping/batchSwapFailed.d.ts +8 -8
  65. package/dist/131/swapping/ccmFailed.d.cts +35 -35
  66. package/dist/131/swapping/ccmFailed.d.ts +35 -35
  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 +48 -48
  72. package/dist/131/swapping/swapDepositAddressReady.d.ts +48 -48
  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 +49 -49
  80. package/dist/131/swapping/swapScheduled.d.ts +49 -49
  81. package/dist/131/swapping/withdrawalRequested.d.cts +21 -21
  82. package/dist/131/swapping/withdrawalRequested.d.ts +21 -21
  83. package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.cts +2 -2
  84. package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.ts +2 -2
  85. package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +4 -4
  86. package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +4 -4
  87. package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +4 -4
  88. package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +4 -4
  89. package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  90. package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  91. package/dist/141/common.cjs +19 -7
  92. package/dist/141/common.d.cts +30 -30
  93. package/dist/141/common.d.ts +30 -30
  94. package/dist/141/common.mjs +18 -6
  95. package/dist/141/evmThresholdSigner/failureReportProcessed.d.cts +2 -2
  96. package/dist/141/evmThresholdSigner/failureReportProcessed.d.ts +2 -2
  97. package/dist/141/evmThresholdSigner/retryRequested.d.cts +2 -2
  98. package/dist/141/evmThresholdSigner/retryRequested.d.ts +2 -2
  99. package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
  100. package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
  101. package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
  102. package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
  103. package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
  104. package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
  105. package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
  106. package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
  107. package/dist/141/liquidityPools/limitOrderUpdated.d.cts +4 -4
  108. package/dist/141/liquidityPools/limitOrderUpdated.d.ts +4 -4
  109. package/dist/141/liquidityPools/rangeOrderUpdated.d.cts +4 -4
  110. package/dist/141/liquidityPools/rangeOrderUpdated.d.ts +4 -4
  111. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +18 -18
  112. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +18 -18
  113. package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.cts +18 -18
  114. package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.ts +18 -18
  115. package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +2 -2
  116. package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +2 -2
  117. package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
  118. package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
  119. package/dist/141/polkadotIngressEgress/stoppedBoosting.d.cts +2 -2
  120. package/dist/141/polkadotIngressEgress/stoppedBoosting.d.ts +2 -2
  121. package/dist/141/swapping/batchSwapFailed.d.cts +8 -8
  122. package/dist/141/swapping/batchSwapFailed.d.ts +8 -8
  123. package/dist/141/swapping/ccmDepositReceived.d.cts +90 -90
  124. package/dist/141/swapping/ccmDepositReceived.d.ts +90 -90
  125. package/dist/141/swapping/ccmFailed.d.cts +126 -126
  126. package/dist/141/swapping/ccmFailed.d.ts +126 -126
  127. package/dist/141/swapping/maximumSwapAmountSet.d.cts +6 -6
  128. package/dist/141/swapping/maximumSwapAmountSet.d.ts +6 -6
  129. package/dist/141/swapping/swapAmountConfiscated.d.cts +12 -12
  130. package/dist/141/swapping/swapAmountConfiscated.d.ts +12 -12
  131. package/dist/141/swapping/swapDepositAddressReady.d.cts +64 -64
  132. package/dist/141/swapping/swapDepositAddressReady.d.ts +64 -64
  133. package/dist/141/swapping/swapEgressIgnored.d.cts +24 -24
  134. package/dist/141/swapping/swapEgressIgnored.d.ts +24 -24
  135. package/dist/141/swapping/swapEgressScheduled.d.cts +11 -11
  136. package/dist/141/swapping/swapEgressScheduled.d.ts +11 -11
  137. package/dist/141/swapping/swapExecuted.d.cts +88 -88
  138. package/dist/141/swapping/swapExecuted.d.ts +88 -88
  139. package/dist/141/swapping/swapScheduled.d.cts +150 -150
  140. package/dist/141/swapping/swapScheduled.d.ts +150 -150
  141. package/dist/141/swapping/withdrawalRequested.d.cts +36 -36
  142. package/dist/141/swapping/withdrawalRequested.d.ts +36 -36
  143. package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  144. package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.ts +2 -2
  145. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  146. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  147. package/dist/150/assetBalances/refundScheduled.d.cts +50 -50
  148. package/dist/150/assetBalances/refundScheduled.d.ts +50 -50
  149. package/dist/150/assetBalances/refundSkipped.d.cts +70 -70
  150. package/dist/150/assetBalances/refundSkipped.d.ts +70 -70
  151. package/dist/150/common.cjs +25 -8
  152. package/dist/150/common.d.cts +64 -64
  153. package/dist/150/common.d.ts +64 -64
  154. package/dist/150/common.mjs +24 -7
  155. package/dist/150/liquidityPools/limitOrderUpdated.d.cts +8 -8
  156. package/dist/150/liquidityPools/limitOrderUpdated.d.ts +8 -8
  157. package/dist/150/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  158. package/dist/150/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  159. package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.cts +24 -24
  160. package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.ts +24 -24
  161. package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.cts +24 -24
  162. package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.ts +24 -24
  163. package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
  164. package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +4 -4
  165. package/dist/150/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
  166. package/dist/150/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
  167. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
  168. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
  169. package/dist/150/solanaIngressEgress/depositFinalised.d.cts +2 -2
  170. package/dist/150/solanaIngressEgress/depositFinalised.d.ts +2 -2
  171. package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
  172. package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
  173. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
  174. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
  175. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  176. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  177. package/dist/150/solanaThresholdSigner/failureReportProcessed.d.cts +2 -2
  178. package/dist/150/solanaThresholdSigner/failureReportProcessed.d.ts +2 -2
  179. package/dist/150/solanaThresholdSigner/retryRequested.d.cts +2 -2
  180. package/dist/150/solanaThresholdSigner/retryRequested.d.ts +2 -2
  181. package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
  182. package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
  183. package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
  184. package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
  185. package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
  186. package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
  187. package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
  188. package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
  189. package/dist/150/swapping/batchSwapFailed.d.cts +8 -8
  190. package/dist/150/swapping/batchSwapFailed.d.ts +8 -8
  191. package/dist/150/swapping/ccmDepositReceived.d.cts +104 -104
  192. package/dist/150/swapping/ccmDepositReceived.d.ts +104 -104
  193. package/dist/150/swapping/ccmFailed.d.cts +151 -151
  194. package/dist/150/swapping/ccmFailed.d.ts +151 -151
  195. package/dist/150/swapping/maximumSwapAmountSet.d.cts +6 -6
  196. package/dist/150/swapping/maximumSwapAmountSet.d.ts +6 -6
  197. package/dist/150/swapping/refundEgressIgnored.d.cts +24 -24
  198. package/dist/150/swapping/refundEgressIgnored.d.ts +24 -24
  199. package/dist/150/swapping/refundEgressScheduled.d.cts +8 -8
  200. package/dist/150/swapping/refundEgressScheduled.d.ts +8 -8
  201. package/dist/150/swapping/swapAmountConfiscated.d.cts +12 -12
  202. package/dist/150/swapping/swapAmountConfiscated.d.ts +12 -12
  203. package/dist/150/swapping/swapDepositAddressReady.d.cts +127 -127
  204. package/dist/150/swapping/swapDepositAddressReady.d.ts +127 -127
  205. package/dist/150/swapping/swapEgressIgnored.d.cts +24 -24
  206. package/dist/150/swapping/swapEgressIgnored.d.ts +24 -24
  207. package/dist/150/swapping/swapEgressScheduled.d.cts +8 -8
  208. package/dist/150/swapping/swapEgressScheduled.d.ts +8 -8
  209. package/dist/150/swapping/swapExecuted.d.cts +94 -94
  210. package/dist/150/swapping/swapExecuted.d.ts +94 -94
  211. package/dist/150/swapping/swapScheduled.d.cts +175 -175
  212. package/dist/150/swapping/swapScheduled.d.ts +175 -175
  213. package/dist/150/swapping/withdrawalRequested.d.cts +40 -40
  214. package/dist/150/swapping/withdrawalRequested.d.ts +40 -40
  215. package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  216. package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  217. package/dist/160/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
  218. package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
  219. package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +6 -6
  220. package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +6 -6
  221. package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.cts +14 -14
  222. package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.ts +14 -14
  223. package/dist/160/bitcoinIngressEgress/depositBoosted.d.cts +8 -8
  224. package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +8 -8
  225. package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +6 -6
  226. package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +6 -6
  227. package/dist/160/common.cjs +25 -8
  228. package/dist/160/common.d.cts +88 -88
  229. package/dist/160/common.d.ts +88 -88
  230. package/dist/160/common.mjs +24 -7
  231. package/dist/160/liquidityPools/limitOrderUpdated.d.cts +8 -8
  232. package/dist/160/liquidityPools/limitOrderUpdated.d.ts +8 -8
  233. package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  234. package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  235. package/dist/160/liquidityProvider/accountCredited.d.cts +2 -2
  236. package/dist/160/liquidityProvider/accountCredited.d.ts +2 -2
  237. package/dist/160/liquidityProvider/accountDebited.d.cts +2 -2
  238. package/dist/160/liquidityProvider/accountDebited.d.ts +2 -2
  239. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +28 -28
  240. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +28 -28
  241. package/dist/160/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
  242. package/dist/160/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
  243. package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.cts +24 -24
  244. package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.ts +24 -24
  245. package/dist/160/swapping/batchSwapFailed.d.cts +8 -8
  246. package/dist/160/swapping/batchSwapFailed.d.ts +8 -8
  247. package/dist/160/swapping/ccmFailed.d.cts +56 -56
  248. package/dist/160/swapping/ccmFailed.d.ts +56 -56
  249. package/dist/160/swapping/maximumSwapAmountSet.d.cts +6 -6
  250. package/dist/160/swapping/maximumSwapAmountSet.d.ts +6 -6
  251. package/dist/160/swapping/refundEgressIgnored.d.cts +12 -12
  252. package/dist/160/swapping/refundEgressIgnored.d.ts +12 -12
  253. package/dist/160/swapping/refundEgressScheduled.d.cts +8 -8
  254. package/dist/160/swapping/refundEgressScheduled.d.ts +8 -8
  255. package/dist/160/swapping/swapAmountConfiscated.d.cts +7 -7
  256. package/dist/160/swapping/swapAmountConfiscated.d.ts +7 -7
  257. package/dist/160/swapping/swapDepositAddressReady.d.cts +66 -66
  258. package/dist/160/swapping/swapDepositAddressReady.d.ts +66 -66
  259. package/dist/160/swapping/swapEgressIgnored.d.cts +12 -12
  260. package/dist/160/swapping/swapEgressIgnored.d.ts +12 -12
  261. package/dist/160/swapping/swapEgressScheduled.d.cts +8 -8
  262. package/dist/160/swapping/swapEgressScheduled.d.ts +8 -8
  263. package/dist/160/swapping/swapExecuted.d.cts +12 -12
  264. package/dist/160/swapping/swapExecuted.d.ts +12 -12
  265. package/dist/160/swapping/swapRequested.d.cts +110 -110
  266. package/dist/160/swapping/swapRequested.d.ts +110 -110
  267. package/dist/160/swapping/withdrawalRequested.d.cts +30 -30
  268. package/dist/160/swapping/withdrawalRequested.d.ts +30 -30
  269. package/dist/Processor.cjs +7 -1
  270. package/dist/Processor.mjs +7 -1
  271. package/package.json +1 -1
@@ -32,17 +32,17 @@ declare const assetBalancesRefundSkipped: z.ZodObject<{
32
32
  error: string;
33
33
  }>;
34
34
  }, "strip", z.ZodTypeAny, {
35
+ __kind: "Module";
35
36
  value: {
36
37
  index: number;
37
38
  error: `0x${string}`;
38
39
  };
39
- __kind: "Module";
40
40
  }, {
41
+ __kind: "Module";
41
42
  value: {
42
43
  index: number;
43
44
  error: string;
44
45
  };
45
- __kind: "Module";
46
46
  }>, z.ZodObject<{
47
47
  __kind: z.ZodLiteral<"ConsumerRemaining">;
48
48
  }, "strip", z.ZodTypeAny, {
@@ -73,13 +73,13 @@ declare const assetBalancesRefundSkipped: z.ZodObject<{
73
73
  __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
74
74
  }>;
75
75
  }, "strip", z.ZodTypeAny, {
76
- value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
77
76
  __kind: "Token";
77
+ value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
78
78
  }, {
79
+ __kind: "Token";
79
80
  value: {
80
81
  __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
81
82
  };
82
- __kind: "Token";
83
83
  }>, z.ZodObject<{
84
84
  __kind: z.ZodLiteral<"Arithmetic">;
85
85
  value: z.ZodEffects<z.ZodObject<{
@@ -92,13 +92,13 @@ declare const assetBalancesRefundSkipped: z.ZodObject<{
92
92
  __kind: "Underflow" | "Overflow" | "DivisionByZero";
93
93
  }>;
94
94
  }, "strip", z.ZodTypeAny, {
95
- value: "Underflow" | "Overflow" | "DivisionByZero";
96
95
  __kind: "Arithmetic";
96
+ value: "Underflow" | "Overflow" | "DivisionByZero";
97
97
  }, {
98
+ __kind: "Arithmetic";
98
99
  value: {
99
100
  __kind: "Underflow" | "Overflow" | "DivisionByZero";
100
101
  };
101
- __kind: "Arithmetic";
102
102
  }>, z.ZodObject<{
103
103
  __kind: z.ZodLiteral<"Transactional">;
104
104
  value: z.ZodEffects<z.ZodObject<{
@@ -111,13 +111,13 @@ declare const assetBalancesRefundSkipped: z.ZodObject<{
111
111
  __kind: "LimitReached" | "NoLayer";
112
112
  }>;
113
113
  }, "strip", z.ZodTypeAny, {
114
- value: "LimitReached" | "NoLayer";
115
114
  __kind: "Transactional";
115
+ value: "LimitReached" | "NoLayer";
116
116
  }, {
117
+ __kind: "Transactional";
117
118
  value: {
118
119
  __kind: "LimitReached" | "NoLayer";
119
120
  };
120
- __kind: "Transactional";
121
121
  }>, z.ZodObject<{
122
122
  __kind: z.ZodLiteral<"Exhausted">;
123
123
  }, "strip", z.ZodTypeAny, {
@@ -156,67 +156,67 @@ declare const assetBalancesRefundSkipped: z.ZodObject<{
156
156
  __kind: z.ZodLiteral<"Eth">;
157
157
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
158
158
  }, "strip", z.ZodTypeAny, {
159
- value: `0x${string}`;
160
159
  __kind: "Eth";
160
+ value: `0x${string}`;
161
161
  }, {
162
- value: string;
163
162
  __kind: "Eth";
163
+ value: string;
164
164
  }>, z.ZodObject<{
165
165
  __kind: z.ZodLiteral<"Dot">;
166
166
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
167
167
  }, "strip", z.ZodTypeAny, {
168
- value: `0x${string}`;
169
168
  __kind: "Dot";
169
+ value: `0x${string}`;
170
170
  }, {
171
- value: string;
172
171
  __kind: "Dot";
172
+ value: string;
173
173
  }>, z.ZodObject<{
174
174
  __kind: z.ZodLiteral<"Btc">;
175
175
  value: z.ZodUnion<[z.ZodObject<{
176
176
  __kind: z.ZodLiteral<"P2PKH">;
177
177
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
178
178
  }, "strip", z.ZodTypeAny, {
179
- value: `0x${string}`;
180
179
  __kind: "P2PKH";
180
+ value: `0x${string}`;
181
181
  }, {
182
- value: string;
183
182
  __kind: "P2PKH";
183
+ value: string;
184
184
  }>, z.ZodObject<{
185
185
  __kind: z.ZodLiteral<"P2SH">;
186
186
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
187
187
  }, "strip", z.ZodTypeAny, {
188
- value: `0x${string}`;
189
188
  __kind: "P2SH";
189
+ value: `0x${string}`;
190
190
  }, {
191
- value: string;
192
191
  __kind: "P2SH";
192
+ value: string;
193
193
  }>, z.ZodObject<{
194
194
  __kind: z.ZodLiteral<"P2WPKH">;
195
195
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
196
196
  }, "strip", z.ZodTypeAny, {
197
- value: `0x${string}`;
198
197
  __kind: "P2WPKH";
198
+ value: `0x${string}`;
199
199
  }, {
200
- value: string;
201
200
  __kind: "P2WPKH";
201
+ value: string;
202
202
  }>, z.ZodObject<{
203
203
  __kind: z.ZodLiteral<"P2WSH">;
204
204
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
205
205
  }, "strip", z.ZodTypeAny, {
206
- value: `0x${string}`;
207
206
  __kind: "P2WSH";
207
+ value: `0x${string}`;
208
208
  }, {
209
- value: string;
210
209
  __kind: "P2WSH";
210
+ value: string;
211
211
  }>, z.ZodObject<{
212
212
  __kind: z.ZodLiteral<"Taproot">;
213
213
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
214
214
  }, "strip", z.ZodTypeAny, {
215
- value: `0x${string}`;
216
215
  __kind: "Taproot";
216
+ value: `0x${string}`;
217
217
  }, {
218
- value: string;
219
218
  __kind: "Taproot";
219
+ value: string;
220
220
  }>, z.ZodObject<{
221
221
  __kind: z.ZodLiteral<"OtherSegwit">;
222
222
  version: z.ZodNumber;
@@ -231,69 +231,70 @@ declare const assetBalancesRefundSkipped: z.ZodObject<{
231
231
  program: string;
232
232
  }>]>;
233
233
  }, "strip", z.ZodTypeAny, {
234
+ __kind: "Btc";
234
235
  value: {
235
- value: `0x${string}`;
236
236
  __kind: "P2PKH";
237
- } | {
238
237
  value: `0x${string}`;
239
- __kind: "P2SH";
240
238
  } | {
239
+ __kind: "P2SH";
241
240
  value: `0x${string}`;
242
- __kind: "P2WPKH";
243
241
  } | {
242
+ __kind: "P2WPKH";
244
243
  value: `0x${string}`;
245
- __kind: "P2WSH";
246
244
  } | {
245
+ __kind: "P2WSH";
247
246
  value: `0x${string}`;
247
+ } | {
248
248
  __kind: "Taproot";
249
+ value: `0x${string}`;
249
250
  } | {
250
251
  __kind: "OtherSegwit";
251
252
  version: number;
252
253
  program: `0x${string}`;
253
254
  };
254
- __kind: "Btc";
255
255
  }, {
256
+ __kind: "Btc";
256
257
  value: {
257
- value: string;
258
258
  __kind: "P2PKH";
259
- } | {
260
259
  value: string;
261
- __kind: "P2SH";
262
260
  } | {
261
+ __kind: "P2SH";
263
262
  value: string;
264
- __kind: "P2WPKH";
265
263
  } | {
264
+ __kind: "P2WPKH";
266
265
  value: string;
267
- __kind: "P2WSH";
268
266
  } | {
267
+ __kind: "P2WSH";
269
268
  value: string;
269
+ } | {
270
270
  __kind: "Taproot";
271
+ value: string;
271
272
  } | {
272
273
  __kind: "OtherSegwit";
273
274
  version: number;
274
275
  program: string;
275
276
  };
276
- __kind: "Btc";
277
277
  }>, z.ZodObject<{
278
278
  __kind: z.ZodLiteral<"Arb">;
279
279
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
280
280
  }, "strip", z.ZodTypeAny, {
281
- value: `0x${string}`;
282
281
  __kind: "Arb";
282
+ value: `0x${string}`;
283
283
  }, {
284
- value: string;
285
284
  __kind: "Arb";
285
+ value: string;
286
286
  }>, z.ZodObject<{
287
287
  __kind: z.ZodLiteral<"Sol">;
288
288
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
289
289
  }, "strip", z.ZodTypeAny, {
290
- value: `0x${string}`;
291
290
  __kind: "Sol";
291
+ value: `0x${string}`;
292
292
  }, {
293
- value: string;
294
293
  __kind: "Sol";
294
+ value: string;
295
295
  }>]>;
296
296
  }, "strip", z.ZodTypeAny, {
297
+ chain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
297
298
  reason: {
298
299
  __kind: "Other";
299
300
  } | {
@@ -301,11 +302,11 @@ declare const assetBalancesRefundSkipped: z.ZodObject<{
301
302
  } | {
302
303
  __kind: "BadOrigin";
303
304
  } | {
305
+ __kind: "Module";
304
306
  value: {
305
307
  index: number;
306
308
  error: `0x${string}`;
307
309
  };
308
- __kind: "Module";
309
310
  } | {
310
311
  __kind: "ConsumerRemaining";
311
312
  } | {
@@ -313,14 +314,14 @@ declare const assetBalancesRefundSkipped: z.ZodObject<{
313
314
  } | {
314
315
  __kind: "TooManyConsumers";
315
316
  } | {
316
- value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
317
317
  __kind: "Token";
318
+ value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
318
319
  } | {
319
- value: "Underflow" | "Overflow" | "DivisionByZero";
320
320
  __kind: "Arithmetic";
321
+ value: "Underflow" | "Overflow" | "DivisionByZero";
321
322
  } | {
322
- value: "LimitReached" | "NoLayer";
323
323
  __kind: "Transactional";
324
+ value: "LimitReached" | "NoLayer";
324
325
  } | {
325
326
  __kind: "Exhausted";
326
327
  } | {
@@ -330,43 +331,45 @@ declare const assetBalancesRefundSkipped: z.ZodObject<{
330
331
  } | {
331
332
  __kind: "RootNotAllowed";
332
333
  };
333
- chain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
334
334
  address: {
335
- value: `0x${string}`;
336
335
  __kind: "Eth";
337
- } | {
338
336
  value: `0x${string}`;
337
+ } | {
339
338
  __kind: "Dot";
339
+ value: `0x${string}`;
340
340
  } | {
341
+ __kind: "Btc";
341
342
  value: {
342
- value: `0x${string}`;
343
343
  __kind: "P2PKH";
344
- } | {
345
344
  value: `0x${string}`;
346
- __kind: "P2SH";
347
345
  } | {
346
+ __kind: "P2SH";
348
347
  value: `0x${string}`;
349
- __kind: "P2WPKH";
350
348
  } | {
349
+ __kind: "P2WPKH";
351
350
  value: `0x${string}`;
352
- __kind: "P2WSH";
353
351
  } | {
352
+ __kind: "P2WSH";
354
353
  value: `0x${string}`;
354
+ } | {
355
355
  __kind: "Taproot";
356
+ value: `0x${string}`;
356
357
  } | {
357
358
  __kind: "OtherSegwit";
358
359
  version: number;
359
360
  program: `0x${string}`;
360
361
  };
361
- __kind: "Btc";
362
362
  } | {
363
- value: `0x${string}`;
364
363
  __kind: "Arb";
365
- } | {
366
364
  value: `0x${string}`;
365
+ } | {
367
366
  __kind: "Sol";
367
+ value: `0x${string}`;
368
368
  };
369
369
  }, {
370
+ chain: {
371
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
372
+ };
370
373
  reason: {
371
374
  __kind: "Other";
372
375
  } | {
@@ -374,11 +377,11 @@ declare const assetBalancesRefundSkipped: z.ZodObject<{
374
377
  } | {
375
378
  __kind: "BadOrigin";
376
379
  } | {
380
+ __kind: "Module";
377
381
  value: {
378
382
  index: number;
379
383
  error: string;
380
384
  };
381
- __kind: "Module";
382
385
  } | {
383
386
  __kind: "ConsumerRemaining";
384
387
  } | {
@@ -386,20 +389,20 @@ declare const assetBalancesRefundSkipped: z.ZodObject<{
386
389
  } | {
387
390
  __kind: "TooManyConsumers";
388
391
  } | {
392
+ __kind: "Token";
389
393
  value: {
390
394
  __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
391
395
  };
392
- __kind: "Token";
393
396
  } | {
397
+ __kind: "Arithmetic";
394
398
  value: {
395
399
  __kind: "Underflow" | "Overflow" | "DivisionByZero";
396
400
  };
397
- __kind: "Arithmetic";
398
401
  } | {
402
+ __kind: "Transactional";
399
403
  value: {
400
404
  __kind: "LimitReached" | "NoLayer";
401
405
  };
402
- __kind: "Transactional";
403
406
  } | {
404
407
  __kind: "Exhausted";
405
408
  } | {
@@ -409,43 +412,40 @@ declare const assetBalancesRefundSkipped: z.ZodObject<{
409
412
  } | {
410
413
  __kind: "RootNotAllowed";
411
414
  };
412
- chain: {
413
- __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
414
- };
415
415
  address: {
416
- value: string;
417
416
  __kind: "Eth";
418
- } | {
419
417
  value: string;
418
+ } | {
420
419
  __kind: "Dot";
420
+ value: string;
421
421
  } | {
422
+ __kind: "Btc";
422
423
  value: {
423
- value: string;
424
424
  __kind: "P2PKH";
425
- } | {
426
425
  value: string;
427
- __kind: "P2SH";
428
426
  } | {
427
+ __kind: "P2SH";
429
428
  value: string;
430
- __kind: "P2WPKH";
431
429
  } | {
430
+ __kind: "P2WPKH";
432
431
  value: string;
433
- __kind: "P2WSH";
434
432
  } | {
433
+ __kind: "P2WSH";
435
434
  value: string;
435
+ } | {
436
436
  __kind: "Taproot";
437
+ value: string;
437
438
  } | {
438
439
  __kind: "OtherSegwit";
439
440
  version: number;
440
441
  program: string;
441
442
  };
442
- __kind: "Btc";
443
443
  } | {
444
- value: string;
445
444
  __kind: "Arb";
446
- } | {
447
445
  value: string;
446
+ } | {
448
447
  __kind: "Sol";
448
+ value: string;
449
449
  };
450
450
  }>;
451
451
 
@@ -1,6 +1,8 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/150/common.ts
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }// generated/150/common.ts
2
2
  var _zod = require('zod');
3
- var _ss58 = require('@chainflip/utils/ss58');
3
+ var _ss58 = require('@chainflip/utils/ss58'); var ss58 = _interopRequireWildcard(_ss58);
4
+ var _base58 = require('@chainflip/utils/base58'); var base58 = _interopRequireWildcard(_base58);
5
+ var _bytes = require('@chainflip/utils/bytes');
4
6
  var palletCfEmissionsPalletSafeMode = _zod.z.object({ emissionsSyncEnabled: _zod.z.boolean() });
5
7
  var palletCfFundingPalletSafeMode = _zod.z.object({ redeemEnabled: _zod.z.boolean() });
6
8
  var palletCfSwappingPalletSafeMode = _zod.z.object({
@@ -116,11 +118,26 @@ var palletCfTokenholderGovernanceProposal = _zod.z.union([
116
118
  _zod.z.object({ __kind: _zod.z.literal("SetCommunityKey"), value: hexString })
117
119
  ]);
118
120
  var cfChainsAddressEncodedAddress = _zod.z.union([
119
- _zod.z.object({ __kind: _zod.z.literal("Eth"), value: hexString }),
120
- _zod.z.object({ __kind: _zod.z.literal("Dot"), value: hexString }),
121
- _zod.z.object({ __kind: _zod.z.literal("Btc"), value: hexString }),
122
- _zod.z.object({ __kind: _zod.z.literal("Arb"), value: hexString }),
123
- _zod.z.object({ __kind: _zod.z.literal("Sol"), value: hexString })
121
+ _zod.z.object({
122
+ __kind: _zod.z.literal("Eth").transform(() => "Ethereum"),
123
+ value: hexString
124
+ }),
125
+ _zod.z.object({
126
+ __kind: _zod.z.literal("Dot").transform(() => "Polkadot"),
127
+ value: hexString.transform((value) => ss58.encode({ data: value, ss58Format: 0 }))
128
+ }),
129
+ _zod.z.object({
130
+ __kind: _zod.z.literal("Btc").transform(() => "Bitcoin"),
131
+ value: hexString.transform((value) => Buffer.from(value.slice(2), "hex").toString("utf8"))
132
+ }),
133
+ _zod.z.object({
134
+ __kind: _zod.z.literal("Arb").transform(() => "Arbitrum"),
135
+ value: hexString
136
+ }),
137
+ _zod.z.object({
138
+ __kind: _zod.z.literal("Sol").transform(() => "Solana"),
139
+ value: hexString.transform((value) => base58.encode(_bytes.hexToBytes.call(void 0, value)))
140
+ })
124
141
  ]);
125
142
  var cfPrimitivesChainsAssetsAnyAsset = simpleEnum([
126
143
  "Eth",
@@ -141,7 +158,7 @@ var cfChainsCcmChannelMetadata = _zod.z.object({
141
158
  var accountId = _zod.z.union([
142
159
  hexString,
143
160
  _zod.z.string().regex(/^[0-9a-f]+$/).transform((v) => `0x${v}`)
144
- ]).transform((value) => _ss58.encode.call(void 0, { data: value, ss58Format: 2112 }));
161
+ ]).transform((value) => ss58.encode({ data: value, ss58Format: 2112 }));
145
162
  var cfPrimitivesBeneficiary = _zod.z.object({ account: accountId, bps: _zod.z.number() });
146
163
  var cfChainsChannelRefundParametersEncodedAddress = _zod.z.object({
147
164
  retryDuration: _zod.z.number(),