@chainflip/processor 1.5.1 → 1.5.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 (251) 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/bitcoinIngressEgress/ccmEgressInvalid.d.cts +16 -16
  4. package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.ts +16 -16
  5. package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.cts +2 -2
  6. package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.ts +2 -2
  7. package/dist/100/bitcoinIngressEgress/depositIgnored.d.cts +24 -24
  8. package/dist/100/bitcoinIngressEgress/depositIgnored.d.ts +24 -24
  9. package/dist/100/bitcoinIngressEgress/depositReceived.d.cts +24 -24
  10. package/dist/100/bitcoinIngressEgress/depositReceived.d.ts +24 -24
  11. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.cts +54 -54
  12. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.ts +54 -54
  13. package/dist/100/bitcoinIngressEgress/egressScheduled.d.cts +20 -20
  14. package/dist/100/bitcoinIngressEgress/egressScheduled.d.ts +20 -20
  15. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.cts +20 -20
  16. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.ts +20 -20
  17. package/dist/100/common.cjs +15 -6
  18. package/dist/100/common.d.cts +48 -12
  19. package/dist/100/common.d.ts +48 -12
  20. package/dist/100/common.mjs +14 -5
  21. package/dist/100/environment/runtimeSafeModeUpdated.d.cts +40 -40
  22. package/dist/100/environment/runtimeSafeModeUpdated.d.ts +40 -40
  23. package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
  24. package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
  25. package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
  26. package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
  27. package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
  28. package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
  29. package/dist/100/funding/funded.d.cts +2 -2
  30. package/dist/100/funding/funded.d.ts +2 -2
  31. package/dist/100/funding/redemptionRequested.d.cts +2 -2
  32. package/dist/100/funding/redemptionRequested.d.ts +2 -2
  33. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +27 -9
  34. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +27 -9
  35. package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
  36. package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
  37. package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +27 -9
  38. package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +27 -9
  39. package/dist/100/swapping/ccmDepositReceived.d.cts +27 -9
  40. package/dist/100/swapping/ccmDepositReceived.d.ts +27 -9
  41. package/dist/100/swapping/ccmFailed.d.cts +27 -9
  42. package/dist/100/swapping/ccmFailed.d.ts +27 -9
  43. package/dist/100/swapping/swapAmountTooLow.d.cts +60 -24
  44. package/dist/100/swapping/swapAmountTooLow.d.ts +60 -24
  45. package/dist/100/swapping/swapDepositAddressReady.d.cts +54 -18
  46. package/dist/100/swapping/swapDepositAddressReady.d.ts +54 -18
  47. package/dist/100/swapping/swapScheduled.d.cts +60 -24
  48. package/dist/100/swapping/swapScheduled.d.ts +60 -24
  49. package/dist/100/swapping/withdrawalRequested.d.cts +27 -9
  50. package/dist/100/swapping/withdrawalRequested.d.ts +27 -9
  51. package/dist/102/common.cjs +3 -3
  52. package/dist/102/common.mjs +2 -2
  53. package/dist/111/common.cjs +3 -3
  54. package/dist/111/common.mjs +2 -2
  55. package/dist/111/liquidityPools/limitOrderUpdated.d.cts +4 -4
  56. package/dist/111/liquidityPools/limitOrderUpdated.d.ts +4 -4
  57. package/dist/111/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  58. package/dist/111/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  59. package/dist/120/common.cjs +15 -6
  60. package/dist/120/common.d.cts +21 -3
  61. package/dist/120/common.d.ts +21 -3
  62. package/dist/120/common.mjs +14 -5
  63. package/dist/120/emissions/backupRewardsDistributed.d.cts +2 -2
  64. package/dist/120/emissions/backupRewardsDistributed.d.ts +2 -2
  65. package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +27 -9
  66. package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +27 -9
  67. package/dist/120/swapping/ccmFailed.d.cts +27 -9
  68. package/dist/120/swapping/ccmFailed.d.ts +27 -9
  69. package/dist/120/swapping/withdrawalRequested.d.cts +27 -9
  70. package/dist/120/swapping/withdrawalRequested.d.ts +27 -9
  71. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
  72. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
  73. package/dist/131/common.cjs +15 -6
  74. package/dist/131/common.d.cts +48 -12
  75. package/dist/131/common.d.ts +48 -12
  76. package/dist/131/common.mjs +14 -5
  77. package/dist/131/environment/runtimeSafeModeUpdated.d.cts +40 -40
  78. package/dist/131/environment/runtimeSafeModeUpdated.d.ts +40 -40
  79. package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.cts +27 -9
  80. package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.ts +27 -9
  81. package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.cts +27 -9
  82. package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.ts +27 -9
  83. package/dist/131/swapping/ccmFailed.d.cts +60 -24
  84. package/dist/131/swapping/ccmFailed.d.ts +60 -24
  85. package/dist/131/swapping/swapDepositAddressReady.d.cts +54 -18
  86. package/dist/131/swapping/swapDepositAddressReady.d.ts +54 -18
  87. package/dist/131/swapping/swapScheduled.d.cts +60 -24
  88. package/dist/131/swapping/swapScheduled.d.ts +60 -24
  89. package/dist/131/swapping/withdrawalRequested.d.cts +27 -9
  90. package/dist/131/swapping/withdrawalRequested.d.ts +27 -9
  91. package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.cts +2 -2
  92. package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.ts +2 -2
  93. package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
  94. package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
  95. package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.cts +16 -16
  96. package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.ts +16 -16
  97. package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  98. package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  99. package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.cts +2 -2
  100. package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.ts +2 -2
  101. package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +4 -4
  102. package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +4 -4
  103. package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +4 -4
  104. package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +4 -4
  105. package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  106. package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  107. package/dist/141/common.cjs +19 -7
  108. package/dist/141/common.d.cts +64 -16
  109. package/dist/141/common.d.ts +64 -16
  110. package/dist/141/common.mjs +18 -6
  111. package/dist/141/liquidityPools/limitOrderUpdated.d.cts +4 -4
  112. package/dist/141/liquidityPools/limitOrderUpdated.d.ts +4 -4
  113. package/dist/141/liquidityPools/rangeOrderUpdated.d.cts +4 -4
  114. package/dist/141/liquidityPools/rangeOrderUpdated.d.ts +4 -4
  115. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +36 -12
  116. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +36 -12
  117. package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
  118. package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
  119. package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.cts +36 -12
  120. package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.ts +36 -12
  121. package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +4 -4
  122. package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +4 -4
  123. package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
  124. package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
  125. package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +4 -4
  126. package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +4 -4
  127. package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +4 -4
  128. package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +4 -4
  129. package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  130. package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  131. package/dist/141/polkadotIngressEgress/stoppedBoosting.d.cts +2 -2
  132. package/dist/141/polkadotIngressEgress/stoppedBoosting.d.ts +2 -2
  133. package/dist/141/swapping/batchSwapFailed.d.cts +8 -8
  134. package/dist/141/swapping/batchSwapFailed.d.ts +8 -8
  135. package/dist/141/swapping/ccmDepositReceived.d.cts +108 -84
  136. package/dist/141/swapping/ccmDepositReceived.d.ts +108 -84
  137. package/dist/141/swapping/ccmFailed.d.cts +164 -116
  138. package/dist/141/swapping/ccmFailed.d.ts +164 -116
  139. package/dist/141/swapping/maximumSwapAmountSet.d.cts +6 -6
  140. package/dist/141/swapping/maximumSwapAmountSet.d.ts +6 -6
  141. package/dist/141/swapping/swapAmountConfiscated.d.cts +12 -12
  142. package/dist/141/swapping/swapAmountConfiscated.d.ts +12 -12
  143. package/dist/141/swapping/swapDepositAddressReady.d.cts +100 -52
  144. package/dist/141/swapping/swapDepositAddressReady.d.ts +100 -52
  145. package/dist/141/swapping/swapEgressIgnored.d.cts +24 -24
  146. package/dist/141/swapping/swapEgressIgnored.d.ts +24 -24
  147. package/dist/141/swapping/swapEgressScheduled.d.cts +11 -11
  148. package/dist/141/swapping/swapEgressScheduled.d.ts +11 -11
  149. package/dist/141/swapping/swapExecuted.d.cts +88 -88
  150. package/dist/141/swapping/swapExecuted.d.ts +88 -88
  151. package/dist/141/swapping/swapScheduled.d.cts +188 -140
  152. package/dist/141/swapping/swapScheduled.d.ts +188 -140
  153. package/dist/141/swapping/withdrawalRequested.d.cts +54 -30
  154. package/dist/141/swapping/withdrawalRequested.d.ts +54 -30
  155. package/dist/150/assetBalances/refundScheduled.d.cts +2 -2
  156. package/dist/150/assetBalances/refundScheduled.d.ts +2 -2
  157. package/dist/150/assetBalances/refundSkipped.d.cts +50 -50
  158. package/dist/150/assetBalances/refundSkipped.d.ts +50 -50
  159. package/dist/150/common.cjs +25 -8
  160. package/dist/150/common.d.cts +125 -35
  161. package/dist/150/common.d.ts +125 -35
  162. package/dist/150/common.mjs +24 -7
  163. package/dist/150/liquidityPools/limitOrderUpdated.d.cts +8 -8
  164. package/dist/150/liquidityPools/limitOrderUpdated.d.ts +8 -8
  165. package/dist/150/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  166. package/dist/150/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  167. package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.cts +45 -15
  168. package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.ts +45 -15
  169. package/dist/150/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
  170. package/dist/150/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
  171. package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.cts +45 -15
  172. package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.ts +45 -15
  173. package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +20 -20
  174. package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +20 -20
  175. package/dist/150/polkadotIngressEgress/depositBoosted.d.cts +10 -10
  176. package/dist/150/polkadotIngressEgress/depositBoosted.d.ts +10 -10
  177. package/dist/150/polkadotIngressEgress/depositFinalised.d.cts +4 -4
  178. package/dist/150/polkadotIngressEgress/depositFinalised.d.ts +4 -4
  179. package/dist/150/polkadotIngressEgress/depositWitnessRejected.d.cts +16 -16
  180. package/dist/150/polkadotIngressEgress/depositWitnessRejected.d.ts +16 -16
  181. package/dist/150/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
  182. package/dist/150/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
  183. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
  184. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
  185. package/dist/150/solanaIngressEgress/depositFinalised.d.cts +2 -2
  186. package/dist/150/solanaIngressEgress/depositFinalised.d.ts +2 -2
  187. package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
  188. package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
  189. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
  190. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
  191. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  192. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  193. package/dist/150/swapping/batchSwapFailed.d.cts +8 -8
  194. package/dist/150/swapping/batchSwapFailed.d.ts +8 -8
  195. package/dist/150/swapping/ccmDepositReceived.d.cts +125 -95
  196. package/dist/150/swapping/ccmDepositReceived.d.ts +125 -95
  197. package/dist/150/swapping/ccmFailed.d.cts +195 -135
  198. package/dist/150/swapping/ccmFailed.d.ts +195 -135
  199. package/dist/150/swapping/maximumSwapAmountSet.d.cts +6 -6
  200. package/dist/150/swapping/maximumSwapAmountSet.d.ts +6 -6
  201. package/dist/150/swapping/refundEgressIgnored.d.cts +24 -24
  202. package/dist/150/swapping/refundEgressIgnored.d.ts +24 -24
  203. package/dist/150/swapping/refundEgressScheduled.d.cts +8 -8
  204. package/dist/150/swapping/refundEgressScheduled.d.ts +8 -8
  205. package/dist/150/swapping/swapAmountConfiscated.d.cts +12 -12
  206. package/dist/150/swapping/swapAmountConfiscated.d.ts +12 -12
  207. package/dist/150/swapping/swapDepositAddressReady.d.cts +192 -102
  208. package/dist/150/swapping/swapDepositAddressReady.d.ts +192 -102
  209. package/dist/150/swapping/swapEgressIgnored.d.cts +24 -24
  210. package/dist/150/swapping/swapEgressIgnored.d.ts +24 -24
  211. package/dist/150/swapping/swapEgressScheduled.d.cts +8 -8
  212. package/dist/150/swapping/swapEgressScheduled.d.ts +8 -8
  213. package/dist/150/swapping/swapExecuted.d.cts +94 -94
  214. package/dist/150/swapping/swapExecuted.d.ts +94 -94
  215. package/dist/150/swapping/swapScheduled.d.cts +219 -159
  216. package/dist/150/swapping/swapScheduled.d.ts +219 -159
  217. package/dist/150/swapping/withdrawalRequested.d.cts +61 -31
  218. package/dist/150/swapping/withdrawalRequested.d.ts +61 -31
  219. package/dist/160/common.cjs +25 -8
  220. package/dist/160/common.d.cts +170 -50
  221. package/dist/160/common.d.ts +170 -50
  222. package/dist/160/common.mjs +24 -7
  223. package/dist/160/liquidityPools/limitOrderUpdated.d.cts +8 -8
  224. package/dist/160/liquidityPools/limitOrderUpdated.d.ts +8 -8
  225. package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  226. package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  227. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +45 -15
  228. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +45 -15
  229. package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.cts +45 -15
  230. package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.ts +45 -15
  231. package/dist/160/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
  232. package/dist/160/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
  233. package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.cts +50 -50
  234. package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.ts +50 -50
  235. package/dist/160/solanaIngressEgress/depositFinalised.d.cts +2 -2
  236. package/dist/160/solanaIngressEgress/depositFinalised.d.ts +2 -2
  237. package/dist/160/solanaIngressEgress/depositIgnored.d.cts +2 -2
  238. package/dist/160/solanaIngressEgress/depositIgnored.d.ts +2 -2
  239. package/dist/160/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
  240. package/dist/160/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
  241. package/dist/160/swapping/ccmFailed.d.cts +100 -40
  242. package/dist/160/swapping/ccmFailed.d.ts +100 -40
  243. package/dist/160/swapping/swapDepositAddressReady.d.cts +90 -30
  244. package/dist/160/swapping/swapDepositAddressReady.d.ts +90 -30
  245. package/dist/160/swapping/swapRequested.d.cts +165 -75
  246. package/dist/160/swapping/swapRequested.d.ts +165 -75
  247. package/dist/160/swapping/withdrawalRequested.d.cts +45 -15
  248. package/dist/160/swapping/withdrawalRequested.d.ts +45 -15
  249. package/dist/Processor.cjs +7 -1
  250. package/dist/Processor.mjs +7 -1
  251. package/package.json +1 -1
@@ -10,42 +10,66 @@ declare const swappingCcmFailed: z.ZodObject<{
10
10
  }>, "UnsupportedForTargetChain" | "InsufficientDepositAmount", {
11
11
  __kind: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
12
12
  }>;
13
- destinationAddress: z.ZodUnion<[z.ZodObject<{
13
+ destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
14
14
  __kind: z.ZodLiteral<"Eth">;
15
15
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
16
16
  }, "strip", z.ZodTypeAny, {
17
- value: `0x${string}`;
18
17
  __kind: "Eth";
18
+ value: `0x${string}`;
19
19
  }, {
20
+ __kind: "Eth";
20
21
  value: string;
22
+ }>, {
23
+ chain: "Ethereum";
24
+ address: `0x${string}`;
25
+ }, {
21
26
  __kind: "Eth";
22
- }>, z.ZodObject<{
27
+ value: string;
28
+ }>, z.ZodEffects<z.ZodObject<{
23
29
  __kind: z.ZodLiteral<"Dot">;
24
30
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
25
31
  }, "strip", z.ZodTypeAny, {
26
- value: `0x${string}`;
27
32
  __kind: "Dot";
33
+ value: `0x${string}`;
28
34
  }, {
35
+ __kind: "Dot";
29
36
  value: string;
37
+ }>, {
38
+ chain: "Polkadot";
39
+ address: string;
40
+ }, {
30
41
  __kind: "Dot";
31
- }>, z.ZodObject<{
42
+ value: string;
43
+ }>, z.ZodEffects<z.ZodObject<{
32
44
  __kind: z.ZodLiteral<"Btc">;
33
45
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
34
46
  }, "strip", z.ZodTypeAny, {
35
- value: `0x${string}`;
36
47
  __kind: "Btc";
48
+ value: `0x${string}`;
37
49
  }, {
50
+ __kind: "Btc";
38
51
  value: string;
52
+ }>, {
53
+ chain: "Bitcoin";
54
+ address: string;
55
+ }, {
39
56
  __kind: "Btc";
40
- }>, z.ZodObject<{
57
+ value: string;
58
+ }>, z.ZodEffects<z.ZodObject<{
41
59
  __kind: z.ZodLiteral<"Arb">;
42
60
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
43
61
  }, "strip", z.ZodTypeAny, {
44
- value: `0x${string}`;
45
62
  __kind: "Arb";
63
+ value: `0x${string}`;
46
64
  }, {
65
+ __kind: "Arb";
47
66
  value: string;
67
+ }>, {
68
+ chain: "Arbitrum";
69
+ address: `0x${string}`;
70
+ }, {
48
71
  __kind: "Arb";
72
+ value: string;
49
73
  }>]>;
50
74
  depositMetadata: z.ZodObject<{
51
75
  sourceChain: z.ZodEffects<z.ZodObject<{
@@ -61,67 +85,67 @@ declare const swappingCcmFailed: z.ZodObject<{
61
85
  __kind: z.ZodLiteral<"Eth">;
62
86
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
63
87
  }, "strip", z.ZodTypeAny, {
64
- value: `0x${string}`;
65
88
  __kind: "Eth";
89
+ value: `0x${string}`;
66
90
  }, {
67
- value: string;
68
91
  __kind: "Eth";
92
+ value: string;
69
93
  }>, z.ZodObject<{
70
94
  __kind: z.ZodLiteral<"Dot">;
71
95
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
72
96
  }, "strip", z.ZodTypeAny, {
73
- value: `0x${string}`;
74
97
  __kind: "Dot";
98
+ value: `0x${string}`;
75
99
  }, {
76
- value: string;
77
100
  __kind: "Dot";
101
+ value: string;
78
102
  }>, z.ZodObject<{
79
103
  __kind: z.ZodLiteral<"Btc">;
80
104
  value: z.ZodUnion<[z.ZodObject<{
81
105
  __kind: z.ZodLiteral<"P2PKH">;
82
106
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
83
107
  }, "strip", z.ZodTypeAny, {
84
- value: `0x${string}`;
85
108
  __kind: "P2PKH";
109
+ value: `0x${string}`;
86
110
  }, {
87
- value: string;
88
111
  __kind: "P2PKH";
112
+ value: string;
89
113
  }>, z.ZodObject<{
90
114
  __kind: z.ZodLiteral<"P2SH">;
91
115
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
92
116
  }, "strip", z.ZodTypeAny, {
93
- value: `0x${string}`;
94
117
  __kind: "P2SH";
118
+ value: `0x${string}`;
95
119
  }, {
96
- value: string;
97
120
  __kind: "P2SH";
121
+ value: string;
98
122
  }>, z.ZodObject<{
99
123
  __kind: z.ZodLiteral<"P2WPKH">;
100
124
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
101
125
  }, "strip", z.ZodTypeAny, {
102
- value: `0x${string}`;
103
126
  __kind: "P2WPKH";
127
+ value: `0x${string}`;
104
128
  }, {
105
- value: string;
106
129
  __kind: "P2WPKH";
130
+ value: string;
107
131
  }>, z.ZodObject<{
108
132
  __kind: z.ZodLiteral<"P2WSH">;
109
133
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
110
134
  }, "strip", z.ZodTypeAny, {
111
- value: `0x${string}`;
112
135
  __kind: "P2WSH";
136
+ value: `0x${string}`;
113
137
  }, {
114
- value: string;
115
138
  __kind: "P2WSH";
139
+ value: string;
116
140
  }>, z.ZodObject<{
117
141
  __kind: z.ZodLiteral<"Taproot">;
118
142
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
119
143
  }, "strip", z.ZodTypeAny, {
120
- value: `0x${string}`;
121
144
  __kind: "Taproot";
145
+ value: `0x${string}`;
122
146
  }, {
123
- value: string;
124
147
  __kind: "Taproot";
148
+ value: string;
125
149
  }>, z.ZodObject<{
126
150
  __kind: z.ZodLiteral<"OtherSegwit">;
127
151
  version: z.ZodNumber;
@@ -136,58 +160,58 @@ declare const swappingCcmFailed: z.ZodObject<{
136
160
  program: string;
137
161
  }>]>;
138
162
  }, "strip", z.ZodTypeAny, {
163
+ __kind: "Btc";
139
164
  value: {
140
- value: `0x${string}`;
141
165
  __kind: "P2PKH";
142
- } | {
143
166
  value: `0x${string}`;
144
- __kind: "P2SH";
145
167
  } | {
168
+ __kind: "P2SH";
146
169
  value: `0x${string}`;
147
- __kind: "P2WPKH";
148
170
  } | {
171
+ __kind: "P2WPKH";
149
172
  value: `0x${string}`;
150
- __kind: "P2WSH";
151
173
  } | {
174
+ __kind: "P2WSH";
152
175
  value: `0x${string}`;
176
+ } | {
153
177
  __kind: "Taproot";
178
+ value: `0x${string}`;
154
179
  } | {
155
180
  __kind: "OtherSegwit";
156
181
  version: number;
157
182
  program: `0x${string}`;
158
183
  };
159
- __kind: "Btc";
160
184
  }, {
185
+ __kind: "Btc";
161
186
  value: {
162
- value: string;
163
187
  __kind: "P2PKH";
164
- } | {
165
188
  value: string;
166
- __kind: "P2SH";
167
189
  } | {
190
+ __kind: "P2SH";
168
191
  value: string;
169
- __kind: "P2WPKH";
170
192
  } | {
193
+ __kind: "P2WPKH";
171
194
  value: string;
172
- __kind: "P2WSH";
173
195
  } | {
196
+ __kind: "P2WSH";
174
197
  value: string;
198
+ } | {
175
199
  __kind: "Taproot";
200
+ value: string;
176
201
  } | {
177
202
  __kind: "OtherSegwit";
178
203
  version: number;
179
204
  program: string;
180
205
  };
181
- __kind: "Btc";
182
206
  }>, z.ZodObject<{
183
207
  __kind: z.ZodLiteral<"Arb">;
184
208
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
185
209
  }, "strip", z.ZodTypeAny, {
186
- value: `0x${string}`;
187
210
  __kind: "Arb";
211
+ value: `0x${string}`;
188
212
  }, {
189
- value: string;
190
213
  __kind: "Arb";
214
+ value: string;
191
215
  }>]>>>;
192
216
  channelMetadata: z.ZodObject<{
193
217
  message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -210,36 +234,36 @@ declare const swappingCcmFailed: z.ZodObject<{
210
234
  cfParameters: `0x${string}`;
211
235
  };
212
236
  sourceAddress?: {
213
- value: `0x${string}`;
214
237
  __kind: "Eth";
215
- } | {
216
238
  value: `0x${string}`;
239
+ } | {
217
240
  __kind: "Dot";
241
+ value: `0x${string}`;
218
242
  } | {
243
+ __kind: "Btc";
219
244
  value: {
220
- value: `0x${string}`;
221
245
  __kind: "P2PKH";
222
- } | {
223
246
  value: `0x${string}`;
224
- __kind: "P2SH";
225
247
  } | {
248
+ __kind: "P2SH";
226
249
  value: `0x${string}`;
227
- __kind: "P2WPKH";
228
250
  } | {
251
+ __kind: "P2WPKH";
229
252
  value: `0x${string}`;
230
- __kind: "P2WSH";
231
253
  } | {
254
+ __kind: "P2WSH";
232
255
  value: `0x${string}`;
256
+ } | {
233
257
  __kind: "Taproot";
258
+ value: `0x${string}`;
234
259
  } | {
235
260
  __kind: "OtherSegwit";
236
261
  version: number;
237
262
  program: `0x${string}`;
238
263
  };
239
- __kind: "Btc";
240
264
  } | {
241
- value: `0x${string}`;
242
265
  __kind: "Arb";
266
+ value: `0x${string}`;
243
267
  } | null | undefined;
244
268
  }, {
245
269
  sourceChain: {
@@ -251,110 +275,134 @@ declare const swappingCcmFailed: z.ZodObject<{
251
275
  cfParameters: string;
252
276
  };
253
277
  sourceAddress?: {
254
- value: string;
255
278
  __kind: "Eth";
256
- } | {
257
279
  value: string;
280
+ } | {
258
281
  __kind: "Dot";
282
+ value: string;
259
283
  } | {
284
+ __kind: "Btc";
260
285
  value: {
261
- value: string;
262
286
  __kind: "P2PKH";
263
- } | {
264
287
  value: string;
265
- __kind: "P2SH";
266
288
  } | {
289
+ __kind: "P2SH";
267
290
  value: string;
268
- __kind: "P2WPKH";
269
291
  } | {
292
+ __kind: "P2WPKH";
270
293
  value: string;
271
- __kind: "P2WSH";
272
294
  } | {
295
+ __kind: "P2WSH";
273
296
  value: string;
297
+ } | {
274
298
  __kind: "Taproot";
299
+ value: string;
275
300
  } | {
276
301
  __kind: "OtherSegwit";
277
302
  version: number;
278
303
  program: string;
279
304
  };
280
- __kind: "Btc";
281
305
  } | {
282
- value: string;
283
306
  __kind: "Arb";
307
+ value: string;
284
308
  } | null | undefined;
285
309
  }>;
286
310
  origin: z.ZodUnion<[z.ZodObject<{
287
311
  __kind: z.ZodLiteral<"DepositChannel">;
288
- depositAddress: z.ZodUnion<[z.ZodObject<{
312
+ depositAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
289
313
  __kind: z.ZodLiteral<"Eth">;
290
314
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
291
315
  }, "strip", z.ZodTypeAny, {
292
- value: `0x${string}`;
293
316
  __kind: "Eth";
317
+ value: `0x${string}`;
294
318
  }, {
319
+ __kind: "Eth";
295
320
  value: string;
321
+ }>, {
322
+ chain: "Ethereum";
323
+ address: `0x${string}`;
324
+ }, {
296
325
  __kind: "Eth";
297
- }>, z.ZodObject<{
326
+ value: string;
327
+ }>, z.ZodEffects<z.ZodObject<{
298
328
  __kind: z.ZodLiteral<"Dot">;
299
329
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
300
330
  }, "strip", z.ZodTypeAny, {
301
- value: `0x${string}`;
302
331
  __kind: "Dot";
332
+ value: `0x${string}`;
303
333
  }, {
334
+ __kind: "Dot";
304
335
  value: string;
336
+ }>, {
337
+ chain: "Polkadot";
338
+ address: string;
339
+ }, {
305
340
  __kind: "Dot";
306
- }>, z.ZodObject<{
341
+ value: string;
342
+ }>, z.ZodEffects<z.ZodObject<{
307
343
  __kind: z.ZodLiteral<"Btc">;
308
344
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
309
345
  }, "strip", z.ZodTypeAny, {
310
- value: `0x${string}`;
311
346
  __kind: "Btc";
347
+ value: `0x${string}`;
312
348
  }, {
349
+ __kind: "Btc";
313
350
  value: string;
351
+ }>, {
352
+ chain: "Bitcoin";
353
+ address: string;
354
+ }, {
314
355
  __kind: "Btc";
315
- }>, z.ZodObject<{
356
+ value: string;
357
+ }>, z.ZodEffects<z.ZodObject<{
316
358
  __kind: z.ZodLiteral<"Arb">;
317
359
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
318
360
  }, "strip", z.ZodTypeAny, {
319
- value: `0x${string}`;
320
361
  __kind: "Arb";
362
+ value: `0x${string}`;
321
363
  }, {
364
+ __kind: "Arb";
322
365
  value: string;
366
+ }>, {
367
+ chain: "Arbitrum";
368
+ address: `0x${string}`;
369
+ }, {
323
370
  __kind: "Arb";
371
+ value: string;
324
372
  }>]>;
325
373
  channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
326
374
  depositBlockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
327
375
  }, "strip", z.ZodTypeAny, {
328
376
  __kind: "DepositChannel";
329
377
  depositAddress: {
330
- value: `0x${string}`;
331
- __kind: "Eth";
378
+ chain: "Ethereum";
379
+ address: `0x${string}`;
332
380
  } | {
333
- value: `0x${string}`;
334
- __kind: "Dot";
381
+ chain: "Polkadot";
382
+ address: string;
335
383
  } | {
336
- value: `0x${string}`;
337
- __kind: "Btc";
384
+ chain: "Bitcoin";
385
+ address: string;
338
386
  } | {
339
- value: `0x${string}`;
340
- __kind: "Arb";
387
+ chain: "Arbitrum";
388
+ address: `0x${string}`;
341
389
  };
342
390
  channelId: bigint;
343
391
  depositBlockHeight: bigint;
344
392
  }, {
345
393
  __kind: "DepositChannel";
346
394
  depositAddress: {
347
- value: string;
348
395
  __kind: "Eth";
349
- } | {
350
396
  value: string;
351
- __kind: "Dot";
352
397
  } | {
398
+ __kind: "Dot";
353
399
  value: string;
354
- __kind: "Btc";
355
400
  } | {
401
+ __kind: "Btc";
356
402
  value: string;
403
+ } | {
357
404
  __kind: "Arb";
405
+ value: string;
358
406
  };
359
407
  channelId: string | number;
360
408
  depositBlockHeight: string | number;
@@ -370,17 +418,17 @@ declare const swappingCcmFailed: z.ZodObject<{
370
418
  }>]>;
371
419
  }, "strip", z.ZodTypeAny, {
372
420
  destinationAddress: {
373
- value: `0x${string}`;
374
- __kind: "Eth";
421
+ chain: "Ethereum";
422
+ address: `0x${string}`;
375
423
  } | {
376
- value: `0x${string}`;
377
- __kind: "Dot";
424
+ chain: "Polkadot";
425
+ address: string;
378
426
  } | {
379
- value: `0x${string}`;
380
- __kind: "Btc";
427
+ chain: "Bitcoin";
428
+ address: string;
381
429
  } | {
382
- value: `0x${string}`;
383
- __kind: "Arb";
430
+ chain: "Arbitrum";
431
+ address: `0x${string}`;
384
432
  };
385
433
  depositMetadata: {
386
434
  sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
@@ -390,53 +438,53 @@ declare const swappingCcmFailed: z.ZodObject<{
390
438
  cfParameters: `0x${string}`;
391
439
  };
392
440
  sourceAddress?: {
393
- value: `0x${string}`;
394
441
  __kind: "Eth";
395
- } | {
396
442
  value: `0x${string}`;
443
+ } | {
397
444
  __kind: "Dot";
445
+ value: `0x${string}`;
398
446
  } | {
447
+ __kind: "Btc";
399
448
  value: {
400
- value: `0x${string}`;
401
449
  __kind: "P2PKH";
402
- } | {
403
450
  value: `0x${string}`;
404
- __kind: "P2SH";
405
451
  } | {
452
+ __kind: "P2SH";
406
453
  value: `0x${string}`;
407
- __kind: "P2WPKH";
408
454
  } | {
455
+ __kind: "P2WPKH";
409
456
  value: `0x${string}`;
410
- __kind: "P2WSH";
411
457
  } | {
458
+ __kind: "P2WSH";
412
459
  value: `0x${string}`;
460
+ } | {
413
461
  __kind: "Taproot";
462
+ value: `0x${string}`;
414
463
  } | {
415
464
  __kind: "OtherSegwit";
416
465
  version: number;
417
466
  program: `0x${string}`;
418
467
  };
419
- __kind: "Btc";
420
468
  } | {
421
- value: `0x${string}`;
422
469
  __kind: "Arb";
470
+ value: `0x${string}`;
423
471
  } | null | undefined;
424
472
  };
425
473
  reason: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
426
474
  origin: {
427
475
  __kind: "DepositChannel";
428
476
  depositAddress: {
429
- value: `0x${string}`;
430
- __kind: "Eth";
477
+ chain: "Ethereum";
478
+ address: `0x${string}`;
431
479
  } | {
432
- value: `0x${string}`;
433
- __kind: "Dot";
480
+ chain: "Polkadot";
481
+ address: string;
434
482
  } | {
435
- value: `0x${string}`;
436
- __kind: "Btc";
483
+ chain: "Bitcoin";
484
+ address: string;
437
485
  } | {
438
- value: `0x${string}`;
439
- __kind: "Arb";
486
+ chain: "Arbitrum";
487
+ address: `0x${string}`;
440
488
  };
441
489
  channelId: bigint;
442
490
  depositBlockHeight: bigint;
@@ -446,17 +494,17 @@ declare const swappingCcmFailed: z.ZodObject<{
446
494
  };
447
495
  }, {
448
496
  destinationAddress: {
449
- value: string;
450
497
  __kind: "Eth";
451
- } | {
452
498
  value: string;
453
- __kind: "Dot";
454
499
  } | {
500
+ __kind: "Dot";
455
501
  value: string;
456
- __kind: "Btc";
457
502
  } | {
503
+ __kind: "Btc";
458
504
  value: string;
505
+ } | {
459
506
  __kind: "Arb";
507
+ value: string;
460
508
  };
461
509
  depositMetadata: {
462
510
  sourceChain: {
@@ -468,36 +516,36 @@ declare const swappingCcmFailed: z.ZodObject<{
468
516
  cfParameters: string;
469
517
  };
470
518
  sourceAddress?: {
471
- value: string;
472
519
  __kind: "Eth";
473
- } | {
474
520
  value: string;
521
+ } | {
475
522
  __kind: "Dot";
523
+ value: string;
476
524
  } | {
525
+ __kind: "Btc";
477
526
  value: {
478
- value: string;
479
527
  __kind: "P2PKH";
480
- } | {
481
528
  value: string;
482
- __kind: "P2SH";
483
529
  } | {
530
+ __kind: "P2SH";
484
531
  value: string;
485
- __kind: "P2WPKH";
486
532
  } | {
533
+ __kind: "P2WPKH";
487
534
  value: string;
488
- __kind: "P2WSH";
489
535
  } | {
536
+ __kind: "P2WSH";
490
537
  value: string;
538
+ } | {
491
539
  __kind: "Taproot";
540
+ value: string;
492
541
  } | {
493
542
  __kind: "OtherSegwit";
494
543
  version: number;
495
544
  program: string;
496
545
  };
497
- __kind: "Btc";
498
546
  } | {
499
- value: string;
500
547
  __kind: "Arb";
548
+ value: string;
501
549
  } | null | undefined;
502
550
  };
503
551
  reason: {
@@ -506,17 +554,17 @@ declare const swappingCcmFailed: z.ZodObject<{
506
554
  origin: {
507
555
  __kind: "DepositChannel";
508
556
  depositAddress: {
509
- value: string;
510
557
  __kind: "Eth";
511
- } | {
512
558
  value: string;
513
- __kind: "Dot";
514
559
  } | {
560
+ __kind: "Dot";
515
561
  value: string;
516
- __kind: "Btc";
517
562
  } | {
563
+ __kind: "Btc";
518
564
  value: string;
565
+ } | {
519
566
  __kind: "Arb";
567
+ value: string;
520
568
  };
521
569
  channelId: string | number;
522
570
  depositBlockHeight: string | number;