@chainflip/processor 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/dist/100/environment/runtimeSafeModeUpdated.d.cts +12 -12
  2. package/dist/100/environment/runtimeSafeModeUpdated.d.ts +12 -12
  3. package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
  4. package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
  5. package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.cts +2 -2
  6. package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.ts +2 -2
  7. package/dist/100/ethereumIngressEgress/depositIgnored.d.cts +2 -2
  8. package/dist/100/ethereumIngressEgress/depositIgnored.d.ts +2 -2
  9. package/dist/100/ethereumIngressEgress/depositReceived.d.cts +2 -2
  10. package/dist/100/ethereumIngressEgress/depositReceived.d.ts +2 -2
  11. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.cts +20 -20
  12. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.ts +20 -20
  13. package/dist/100/liquidityPools/limitOrderUpdated.d.cts +8 -8
  14. package/dist/100/liquidityPools/limitOrderUpdated.d.ts +8 -8
  15. package/dist/100/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  16. package/dist/100/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  17. package/dist/100/swapping/batchSwapFailed.d.cts +8 -8
  18. package/dist/100/swapping/batchSwapFailed.d.ts +8 -8
  19. package/dist/100/swapping/ccmDepositReceived.d.cts +62 -62
  20. package/dist/100/swapping/ccmDepositReceived.d.ts +62 -62
  21. package/dist/100/swapping/ccmFailed.d.cts +62 -62
  22. package/dist/100/swapping/ccmFailed.d.ts +62 -62
  23. package/dist/100/swapping/minimumSwapAmountSet.d.cts +6 -6
  24. package/dist/100/swapping/minimumSwapAmountSet.d.ts +6 -6
  25. package/dist/100/swapping/swapAmountTooLow.d.cts +19 -19
  26. package/dist/100/swapping/swapAmountTooLow.d.ts +19 -19
  27. package/dist/100/swapping/swapDepositAddressReady.d.cts +26 -26
  28. package/dist/100/swapping/swapDepositAddressReady.d.ts +26 -26
  29. package/dist/100/swapping/swapEgressScheduled.d.cts +6 -6
  30. package/dist/100/swapping/swapEgressScheduled.d.ts +6 -6
  31. package/dist/100/swapping/swapExecuted.d.cts +12 -12
  32. package/dist/100/swapping/swapExecuted.d.ts +12 -12
  33. package/dist/100/swapping/swapScheduled.d.cts +91 -91
  34. package/dist/100/swapping/swapScheduled.d.ts +91 -91
  35. package/dist/100/swapping/withdrawalRequested.d.cts +4 -4
  36. package/dist/100/swapping/withdrawalRequested.d.ts +4 -4
  37. package/dist/100/witnesser/witnessExecutionFailed.d.cts +18 -18
  38. package/dist/100/witnesser/witnessExecutionFailed.d.ts +18 -18
  39. package/dist/11000/arbitrumIngressEgress/ccmEgressInvalid.d.cts +26 -26
  40. package/dist/11000/arbitrumIngressEgress/ccmEgressInvalid.d.ts +26 -26
  41. package/dist/11000/arbitrumIngressEgress/depositFailed.d.cts +34 -34
  42. package/dist/11000/arbitrumIngressEgress/depositFailed.d.ts +34 -34
  43. package/dist/11000/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +22 -22
  44. package/dist/11000/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +22 -22
  45. package/dist/11000/bitcoinIngressEgress/ccmEgressInvalid.d.cts +107 -107
  46. package/dist/11000/bitcoinIngressEgress/ccmEgressInvalid.d.ts +107 -107
  47. package/dist/11000/bitcoinIngressEgress/depositFailed.d.cts +401 -401
  48. package/dist/11000/bitcoinIngressEgress/depositFailed.d.ts +401 -401
  49. package/dist/11000/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +103 -103
  50. package/dist/11000/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +103 -103
  51. package/dist/11000/bitcoinIngressEgress/invalidCcmRefunded.d.cts +20 -20
  52. package/dist/11000/bitcoinIngressEgress/invalidCcmRefunded.d.ts +20 -20
  53. package/dist/11000/lendingPools/boostFundsAdded.d.cts +2 -2
  54. package/dist/11000/lendingPools/boostFundsAdded.d.ts +2 -2
  55. package/dist/11100/assethubIngressEgress/depositFailed.d.cts +30 -30
  56. package/dist/11100/assethubIngressEgress/depositFailed.d.ts +30 -30
  57. package/dist/11200/arbitrumIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  58. package/dist/11200/arbitrumIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  59. package/dist/11200/arbitrumIngressEgress/depositBoosted.d.cts +6 -6
  60. package/dist/11200/arbitrumIngressEgress/depositBoosted.d.ts +6 -6
  61. package/dist/11200/arbitrumIngressEgress/depositFailed.d.cts +184 -184
  62. package/dist/11200/arbitrumIngressEgress/depositFailed.d.ts +184 -184
  63. package/dist/11200/arbitrumIngressEgress/depositFinalised.d.cts +2 -2
  64. package/dist/11200/arbitrumIngressEgress/depositFinalised.d.ts +2 -2
  65. package/dist/11200/assethubIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  66. package/dist/11200/assethubIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  67. package/dist/11200/assethubIngressEgress/depositBoosted.d.cts +6 -6
  68. package/dist/11200/assethubIngressEgress/depositBoosted.d.ts +6 -6
  69. package/dist/11200/assethubIngressEgress/depositFailed.d.cts +184 -184
  70. package/dist/11200/assethubIngressEgress/depositFailed.d.ts +184 -184
  71. package/dist/11200/assethubIngressEgress/depositFinalised.d.cts +2 -2
  72. package/dist/11200/assethubIngressEgress/depositFinalised.d.ts +2 -2
  73. package/dist/11200/polkadotIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
  74. package/dist/11200/polkadotIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
  75. package/dist/11200/polkadotIngressEgress/depositBoosted.d.cts +6 -6
  76. package/dist/11200/polkadotIngressEgress/depositBoosted.d.ts +6 -6
  77. package/dist/11200/polkadotIngressEgress/depositFailed.d.cts +184 -184
  78. package/dist/11200/polkadotIngressEgress/depositFailed.d.ts +184 -184
  79. package/dist/11200/polkadotIngressEgress/depositFinalised.d.cts +2 -2
  80. package/dist/11200/polkadotIngressEgress/depositFinalised.d.ts +2 -2
  81. package/dist/11200/swapping/swapRescheduled.d.cts +2 -2
  82. package/dist/11200/swapping/swapRescheduled.d.ts +2 -2
  83. package/dist/120/bitcoinIngressEgress/depositIgnored.d.cts +20 -20
  84. package/dist/120/bitcoinIngressEgress/depositIgnored.d.ts +20 -20
  85. package/dist/120/bitcoinIngressEgress/depositReceived.d.cts +20 -20
  86. package/dist/120/bitcoinIngressEgress/depositReceived.d.ts +20 -20
  87. package/dist/120/swapping/ccmFailed.d.cts +62 -62
  88. package/dist/120/swapping/ccmFailed.d.ts +62 -62
  89. package/dist/120/swapping/swapEgressIgnored.d.cts +28 -28
  90. package/dist/120/swapping/swapEgressIgnored.d.ts +28 -28
  91. package/dist/120/swapping/swapEgressScheduled.d.cts +10 -10
  92. package/dist/120/swapping/swapEgressScheduled.d.ts +10 -10
  93. package/dist/120/swapping/swapExecuted.d.cts +12 -12
  94. package/dist/120/swapping/swapExecuted.d.ts +12 -12
  95. package/dist/120/swapping/withdrawalRequested.d.cts +8 -8
  96. package/dist/120/swapping/withdrawalRequested.d.ts +8 -8
  97. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
  98. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
  99. package/dist/131/environment/runtimeSafeModeUpdated.d.cts +28 -28
  100. package/dist/131/environment/runtimeSafeModeUpdated.d.ts +28 -28
  101. package/dist/141/environment/runtimeSafeModeUpdated.d.cts +28 -28
  102. package/dist/141/environment/runtimeSafeModeUpdated.d.ts +28 -28
  103. package/dist/141/validator/rotationPhaseUpdated.d.cts +20 -20
  104. package/dist/141/validator/rotationPhaseUpdated.d.ts +20 -20
  105. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  106. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  107. package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
  108. package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +4 -4
  109. package/dist/150/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
  110. package/dist/150/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
  111. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
  112. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
  113. package/dist/150/solanaIngressEgress/depositFinalised.d.cts +2 -2
  114. package/dist/150/solanaIngressEgress/depositFinalised.d.ts +2 -2
  115. package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
  116. package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
  117. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
  118. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
  119. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  120. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  121. package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  122. package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  123. package/dist/160/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
  124. package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
  125. package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +6 -6
  126. package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +6 -6
  127. package/dist/160/assetBalances/accountCredited.d.cts +2 -2
  128. package/dist/160/assetBalances/accountCredited.d.ts +2 -2
  129. package/dist/160/assetBalances/accountDebited.d.cts +2 -2
  130. package/dist/160/assetBalances/accountDebited.d.ts +2 -2
  131. package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  132. package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  133. package/dist/160/ethereumIngressEgress/depositBoosted.d.cts +8 -8
  134. package/dist/160/ethereumIngressEgress/depositBoosted.d.ts +8 -8
  135. package/dist/160/ethereumIngressEgress/depositFinalised.d.cts +6 -6
  136. package/dist/160/ethereumIngressEgress/depositFinalised.d.ts +6 -6
  137. package/dist/160/liquidityPools/limitOrderUpdated.d.cts +10 -10
  138. package/dist/160/liquidityPools/limitOrderUpdated.d.ts +10 -10
  139. package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +10 -10
  140. package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +10 -10
  141. package/dist/170/polkadotIngressEgress/boostedDepositLost.d.cts +2 -2
  142. package/dist/170/polkadotIngressEgress/boostedDepositLost.d.ts +2 -2
  143. package/dist/170/polkadotIngressEgress/depositIgnored.d.cts +2 -2
  144. package/dist/170/polkadotIngressEgress/depositIgnored.d.ts +2 -2
  145. package/dist/170/polkadotIngressEgress/transactionRejectedByBroker.d.cts +2 -2
  146. package/dist/170/polkadotIngressEgress/transactionRejectedByBroker.d.ts +2 -2
  147. package/dist/170/reputation/offencePenalty.d.cts +6 -6
  148. package/dist/170/reputation/offencePenalty.d.ts +6 -6
  149. package/dist/170/reputation/penaltyUpdated.d.cts +4 -4
  150. package/dist/170/reputation/penaltyUpdated.d.ts +4 -4
  151. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.cts +50 -50
  152. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.ts +50 -50
  153. package/dist/180/bitcoinIngressEgress/depositBoosted.d.cts +30 -30
  154. package/dist/180/bitcoinIngressEgress/depositBoosted.d.ts +30 -30
  155. package/dist/180/bitcoinIngressEgress/depositFailed.d.cts +306 -306
  156. package/dist/180/bitcoinIngressEgress/depositFailed.d.ts +306 -306
  157. package/dist/180/bitcoinIngressEgress/depositFinalised.d.cts +24 -24
  158. package/dist/180/bitcoinIngressEgress/depositFinalised.d.ts +24 -24
  159. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  160. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
  161. package/dist/180/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  162. package/dist/180/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  163. package/dist/180/bitcoinIngressEgress/transferFallbackRequested.d.cts +20 -20
  164. package/dist/180/bitcoinIngressEgress/transferFallbackRequested.d.ts +20 -20
  165. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  166. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  167. package/dist/180/ethereumIngressEgress/depositBoosted.d.cts +6 -6
  168. package/dist/180/ethereumIngressEgress/depositBoosted.d.ts +6 -6
  169. package/dist/180/ethereumIngressEgress/depositFailed.d.cts +179 -179
  170. package/dist/180/ethereumIngressEgress/depositFailed.d.ts +179 -179
  171. package/dist/180/ethereumIngressEgress/depositFinalised.d.cts +2 -2
  172. package/dist/180/ethereumIngressEgress/depositFinalised.d.ts +2 -2
  173. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  174. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
  175. package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  176. package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
  177. package/dist/180/swapping/privateBrokerChannelClosed.d.cts +2 -2
  178. package/dist/180/swapping/privateBrokerChannelClosed.d.ts +2 -2
  179. package/dist/180/swapping/privateBrokerChannelOpened.d.cts +2 -2
  180. package/dist/180/swapping/privateBrokerChannelOpened.d.ts +2 -2
  181. package/dist/180/swapping/swapDepositAddressReady.d.cts +2 -2
  182. package/dist/180/swapping/swapDepositAddressReady.d.ts +2 -2
  183. package/dist/180/swapping/swapRequested.d.cts +4 -4
  184. package/dist/180/swapping/swapRequested.d.ts +4 -4
  185. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  186. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  187. package/dist/190/assethubBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
  188. package/dist/190/assethubBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
  189. package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.d.cts +4 -4
  190. package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.d.ts +4 -4
  191. package/dist/190/environment/runtimeSafeModeUpdated.d.cts +40 -40
  192. package/dist/190/environment/runtimeSafeModeUpdated.d.ts +40 -40
  193. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  194. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  195. package/dist/190/liquidityPools/limitOrderUpdated.d.cts +12 -12
  196. package/dist/190/liquidityPools/limitOrderUpdated.d.ts +12 -12
  197. package/dist/190/liquidityPools/orderDeletionFailed.d.cts +8 -8
  198. package/dist/190/liquidityPools/orderDeletionFailed.d.ts +8 -8
  199. package/dist/190/liquidityPools/rangeOrderUpdated.d.cts +12 -12
  200. package/dist/190/liquidityPools/rangeOrderUpdated.d.ts +12 -12
  201. package/dist/190/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
  202. package/dist/190/polkadotIngressEgress/ccmEgressInvalid.d.ts +4 -4
  203. package/dist/190/reputation/offencePenalty.d.cts +6 -6
  204. package/dist/190/reputation/offencePenalty.d.ts +6 -6
  205. package/dist/190/reputation/penaltyUpdated.d.cts +4 -4
  206. package/dist/190/reputation/penaltyUpdated.d.ts +4 -4
  207. package/dist/200/common.cjs +25 -1
  208. package/dist/200/common.d.cts +37 -1
  209. package/dist/200/common.d.ts +37 -1
  210. package/dist/200/common.mjs +24 -0
  211. package/dist/200/lendingPools/collateralAdded.cjs +7 -1
  212. package/dist/200/lendingPools/collateralAdded.d.cts +13 -0
  213. package/dist/200/lendingPools/collateralAdded.d.ts +13 -0
  214. package/dist/200/lendingPools/collateralAdded.mjs +8 -2
  215. package/dist/200/lendingPools/liquidationCompleted.cjs +13 -0
  216. package/dist/200/lendingPools/liquidationCompleted.d.cts +24 -0
  217. package/dist/200/lendingPools/liquidationCompleted.d.ts +24 -0
  218. package/dist/200/lendingPools/liquidationCompleted.mjs +13 -0
  219. package/dist/200/lendingPools/liquidationInitiated.cjs +5 -1
  220. package/dist/200/lendingPools/liquidationInitiated.d.cts +13 -3
  221. package/dist/200/lendingPools/liquidationInitiated.d.ts +13 -3
  222. package/dist/200/lendingPools/liquidationInitiated.mjs +6 -2
  223. package/dist/200/swapping/swapRequestCompleted.cjs +10 -0
  224. package/dist/200/swapping/swapRequestCompleted.d.cts +24 -0
  225. package/dist/200/swapping/swapRequestCompleted.d.ts +24 -0
  226. package/dist/200/swapping/swapRequestCompleted.mjs +10 -0
  227. package/package.json +1 -1
@@ -9,11 +9,11 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
9
9
  __kind: z.ZodEnum<["Eth", "Dot", "Btc"]>;
10
10
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
11
11
  }, "strip", z.ZodTypeAny, {
12
- __kind: "Eth" | "Dot" | "Btc";
13
12
  value: `0x${string}`;
14
- }, {
15
13
  __kind: "Eth" | "Dot" | "Btc";
14
+ }, {
16
15
  value: string;
16
+ __kind: "Eth" | "Dot" | "Btc";
17
17
  }>, {
18
18
  readonly chain: "Ethereum";
19
19
  readonly address: `0x${string}`;
@@ -24,8 +24,8 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
24
24
  readonly chain: "Bitcoin";
25
25
  readonly address: string;
26
26
  }, {
27
- __kind: "Eth" | "Dot" | "Btc";
28
27
  value: string;
28
+ __kind: "Eth" | "Dot" | "Btc";
29
29
  }>;
30
30
  depositMetadata: z.ZodObject<{
31
31
  sourceChain: z.ZodEffects<z.ZodObject<{
@@ -41,67 +41,67 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
41
41
  __kind: z.ZodLiteral<"Eth">;
42
42
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
43
43
  }, "strip", z.ZodTypeAny, {
44
- __kind: "Eth";
45
44
  value: `0x${string}`;
46
- }, {
47
45
  __kind: "Eth";
46
+ }, {
48
47
  value: string;
48
+ __kind: "Eth";
49
49
  }>, z.ZodObject<{
50
50
  __kind: z.ZodLiteral<"Dot">;
51
51
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
52
52
  }, "strip", z.ZodTypeAny, {
53
- __kind: "Dot";
54
53
  value: `0x${string}`;
55
- }, {
56
54
  __kind: "Dot";
55
+ }, {
57
56
  value: string;
57
+ __kind: "Dot";
58
58
  }>, z.ZodObject<{
59
59
  __kind: z.ZodLiteral<"Btc">;
60
60
  value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
61
61
  __kind: z.ZodLiteral<"P2PKH">;
62
62
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
63
63
  }, "strip", z.ZodTypeAny, {
64
- __kind: "P2PKH";
65
64
  value: `0x${string}`;
66
- }, {
67
65
  __kind: "P2PKH";
66
+ }, {
68
67
  value: string;
68
+ __kind: "P2PKH";
69
69
  }>, z.ZodObject<{
70
70
  __kind: z.ZodLiteral<"P2SH">;
71
71
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
72
72
  }, "strip", z.ZodTypeAny, {
73
- __kind: "P2SH";
74
73
  value: `0x${string}`;
75
- }, {
76
74
  __kind: "P2SH";
75
+ }, {
77
76
  value: string;
77
+ __kind: "P2SH";
78
78
  }>, z.ZodObject<{
79
79
  __kind: z.ZodLiteral<"P2WPKH">;
80
80
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
81
81
  }, "strip", z.ZodTypeAny, {
82
- __kind: "P2WPKH";
83
82
  value: `0x${string}`;
84
- }, {
85
83
  __kind: "P2WPKH";
84
+ }, {
86
85
  value: string;
86
+ __kind: "P2WPKH";
87
87
  }>, z.ZodObject<{
88
88
  __kind: z.ZodLiteral<"P2WSH">;
89
89
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
90
90
  }, "strip", z.ZodTypeAny, {
91
- __kind: "P2WSH";
92
91
  value: `0x${string}`;
93
- }, {
94
92
  __kind: "P2WSH";
93
+ }, {
95
94
  value: string;
95
+ __kind: "P2WSH";
96
96
  }>, z.ZodObject<{
97
97
  __kind: z.ZodLiteral<"Taproot">;
98
98
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
99
99
  }, "strip", z.ZodTypeAny, {
100
- __kind: "Taproot";
101
100
  value: `0x${string}`;
102
- }, {
103
101
  __kind: "Taproot";
102
+ }, {
104
103
  value: string;
104
+ __kind: "Taproot";
105
105
  }>, z.ZodObject<{
106
106
  __kind: z.ZodLiteral<"OtherSegwit">;
107
107
  version: z.ZodNumber;
@@ -116,49 +116,49 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
116
116
  program: string;
117
117
  }>]>;
118
118
  }, "strip", z.ZodTypeAny, {
119
- __kind: "Btc";
120
119
  value: {
121
- __kind: "P2PKH";
122
120
  value: `0x${string}`;
121
+ __kind: "P2PKH";
123
122
  } | {
124
- __kind: "P2SH";
125
123
  value: `0x${string}`;
124
+ __kind: "P2SH";
126
125
  } | {
127
- __kind: "P2WPKH";
128
126
  value: `0x${string}`;
127
+ __kind: "P2WPKH";
129
128
  } | {
130
- __kind: "P2WSH";
131
129
  value: `0x${string}`;
130
+ __kind: "P2WSH";
132
131
  } | {
133
- __kind: "Taproot";
134
132
  value: `0x${string}`;
133
+ __kind: "Taproot";
135
134
  } | {
136
135
  __kind: "OtherSegwit";
137
136
  version: number;
138
137
  program: `0x${string}`;
139
138
  };
140
- }, {
141
139
  __kind: "Btc";
140
+ }, {
142
141
  value: {
143
- __kind: "P2PKH";
144
142
  value: string;
143
+ __kind: "P2PKH";
145
144
  } | {
146
- __kind: "P2SH";
147
145
  value: string;
146
+ __kind: "P2SH";
148
147
  } | {
149
- __kind: "P2WPKH";
150
148
  value: string;
149
+ __kind: "P2WPKH";
151
150
  } | {
152
- __kind: "P2WSH";
153
151
  value: string;
152
+ __kind: "P2WSH";
154
153
  } | {
155
- __kind: "Taproot";
156
154
  value: string;
155
+ __kind: "Taproot";
157
156
  } | {
158
157
  __kind: "OtherSegwit";
159
158
  version: number;
160
159
  program: string;
161
160
  };
161
+ __kind: "Btc";
162
162
  }>]>>>;
163
163
  channelMetadata: z.ZodObject<{
164
164
  message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -181,33 +181,33 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
181
181
  cfParameters: `0x${string}`;
182
182
  };
183
183
  sourceAddress?: {
184
- __kind: "Eth";
185
184
  value: `0x${string}`;
185
+ __kind: "Eth";
186
186
  } | {
187
- __kind: "Dot";
188
187
  value: `0x${string}`;
188
+ __kind: "Dot";
189
189
  } | {
190
- __kind: "Btc";
191
190
  value: {
192
- __kind: "P2PKH";
193
191
  value: `0x${string}`;
192
+ __kind: "P2PKH";
194
193
  } | {
195
- __kind: "P2SH";
196
194
  value: `0x${string}`;
195
+ __kind: "P2SH";
197
196
  } | {
198
- __kind: "P2WPKH";
199
197
  value: `0x${string}`;
198
+ __kind: "P2WPKH";
200
199
  } | {
201
- __kind: "P2WSH";
202
200
  value: `0x${string}`;
201
+ __kind: "P2WSH";
203
202
  } | {
204
- __kind: "Taproot";
205
203
  value: `0x${string}`;
204
+ __kind: "Taproot";
206
205
  } | {
207
206
  __kind: "OtherSegwit";
208
207
  version: number;
209
208
  program: `0x${string}`;
210
209
  };
210
+ __kind: "Btc";
211
211
  } | null | undefined;
212
212
  }, {
213
213
  sourceChain: {
@@ -219,33 +219,33 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
219
219
  cfParameters: string;
220
220
  };
221
221
  sourceAddress?: {
222
- __kind: "Eth";
223
222
  value: string;
223
+ __kind: "Eth";
224
224
  } | {
225
- __kind: "Dot";
226
225
  value: string;
226
+ __kind: "Dot";
227
227
  } | {
228
- __kind: "Btc";
229
228
  value: {
230
- __kind: "P2PKH";
231
229
  value: string;
230
+ __kind: "P2PKH";
232
231
  } | {
233
- __kind: "P2SH";
234
232
  value: string;
233
+ __kind: "P2SH";
235
234
  } | {
236
- __kind: "P2WPKH";
237
235
  value: string;
236
+ __kind: "P2WPKH";
238
237
  } | {
239
- __kind: "P2WSH";
240
238
  value: string;
239
+ __kind: "P2WSH";
241
240
  } | {
242
- __kind: "Taproot";
243
241
  value: string;
242
+ __kind: "Taproot";
244
243
  } | {
245
244
  __kind: "OtherSegwit";
246
245
  version: number;
247
246
  program: string;
248
247
  };
248
+ __kind: "Btc";
249
249
  } | null | undefined;
250
250
  }>;
251
251
  }, "strip", z.ZodTypeAny, {
@@ -269,33 +269,33 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
269
269
  cfParameters: `0x${string}`;
270
270
  };
271
271
  sourceAddress?: {
272
- __kind: "Eth";
273
272
  value: `0x${string}`;
273
+ __kind: "Eth";
274
274
  } | {
275
- __kind: "Dot";
276
275
  value: `0x${string}`;
276
+ __kind: "Dot";
277
277
  } | {
278
- __kind: "Btc";
279
278
  value: {
280
- __kind: "P2PKH";
281
279
  value: `0x${string}`;
280
+ __kind: "P2PKH";
282
281
  } | {
283
- __kind: "P2SH";
284
282
  value: `0x${string}`;
283
+ __kind: "P2SH";
285
284
  } | {
286
- __kind: "P2WPKH";
287
285
  value: `0x${string}`;
286
+ __kind: "P2WPKH";
288
287
  } | {
289
- __kind: "P2WSH";
290
288
  value: `0x${string}`;
289
+ __kind: "P2WSH";
291
290
  } | {
292
- __kind: "Taproot";
293
291
  value: `0x${string}`;
292
+ __kind: "Taproot";
294
293
  } | {
295
294
  __kind: "OtherSegwit";
296
295
  version: number;
297
296
  program: `0x${string}`;
298
297
  };
298
+ __kind: "Btc";
299
299
  } | null | undefined;
300
300
  };
301
301
  principalSwapId?: bigint | null | undefined;
@@ -304,8 +304,8 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
304
304
  ccmId: string | number;
305
305
  depositAmount: string | number;
306
306
  destinationAddress: {
307
- __kind: "Eth" | "Dot" | "Btc";
308
307
  value: string;
308
+ __kind: "Eth" | "Dot" | "Btc";
309
309
  };
310
310
  depositMetadata: {
311
311
  sourceChain: {
@@ -317,33 +317,33 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
317
317
  cfParameters: string;
318
318
  };
319
319
  sourceAddress?: {
320
- __kind: "Eth";
321
320
  value: string;
321
+ __kind: "Eth";
322
322
  } | {
323
- __kind: "Dot";
324
323
  value: string;
324
+ __kind: "Dot";
325
325
  } | {
326
- __kind: "Btc";
327
326
  value: {
328
- __kind: "P2PKH";
329
327
  value: string;
328
+ __kind: "P2PKH";
330
329
  } | {
331
- __kind: "P2SH";
332
330
  value: string;
331
+ __kind: "P2SH";
333
332
  } | {
334
- __kind: "P2WPKH";
335
333
  value: string;
334
+ __kind: "P2WPKH";
336
335
  } | {
337
- __kind: "P2WSH";
338
336
  value: string;
337
+ __kind: "P2WSH";
339
338
  } | {
340
- __kind: "Taproot";
341
339
  value: string;
340
+ __kind: "Taproot";
342
341
  } | {
343
342
  __kind: "OtherSegwit";
344
343
  version: number;
345
344
  program: string;
346
345
  };
346
+ __kind: "Btc";
347
347
  } | null | undefined;
348
348
  };
349
349
  principalSwapId?: string | number | null | undefined;
@@ -14,11 +14,11 @@ declare const swappingCcmFailed: z.ZodObject<{
14
14
  __kind: z.ZodEnum<["Eth", "Dot", "Btc"]>;
15
15
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
16
16
  }, "strip", z.ZodTypeAny, {
17
- __kind: "Eth" | "Dot" | "Btc";
18
17
  value: `0x${string}`;
19
- }, {
20
18
  __kind: "Eth" | "Dot" | "Btc";
19
+ }, {
21
20
  value: string;
21
+ __kind: "Eth" | "Dot" | "Btc";
22
22
  }>, {
23
23
  readonly chain: "Ethereum";
24
24
  readonly address: `0x${string}`;
@@ -29,8 +29,8 @@ declare const swappingCcmFailed: z.ZodObject<{
29
29
  readonly chain: "Bitcoin";
30
30
  readonly address: string;
31
31
  }, {
32
- __kind: "Eth" | "Dot" | "Btc";
33
32
  value: string;
33
+ __kind: "Eth" | "Dot" | "Btc";
34
34
  }>;
35
35
  depositMetadata: z.ZodObject<{
36
36
  sourceChain: z.ZodEffects<z.ZodObject<{
@@ -46,67 +46,67 @@ declare const swappingCcmFailed: z.ZodObject<{
46
46
  __kind: z.ZodLiteral<"Eth">;
47
47
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
48
48
  }, "strip", z.ZodTypeAny, {
49
- __kind: "Eth";
50
49
  value: `0x${string}`;
51
- }, {
52
50
  __kind: "Eth";
51
+ }, {
53
52
  value: string;
53
+ __kind: "Eth";
54
54
  }>, z.ZodObject<{
55
55
  __kind: z.ZodLiteral<"Dot">;
56
56
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
57
57
  }, "strip", z.ZodTypeAny, {
58
- __kind: "Dot";
59
58
  value: `0x${string}`;
60
- }, {
61
59
  __kind: "Dot";
60
+ }, {
62
61
  value: string;
62
+ __kind: "Dot";
63
63
  }>, z.ZodObject<{
64
64
  __kind: z.ZodLiteral<"Btc">;
65
65
  value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
66
66
  __kind: z.ZodLiteral<"P2PKH">;
67
67
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
68
68
  }, "strip", z.ZodTypeAny, {
69
- __kind: "P2PKH";
70
69
  value: `0x${string}`;
71
- }, {
72
70
  __kind: "P2PKH";
71
+ }, {
73
72
  value: string;
73
+ __kind: "P2PKH";
74
74
  }>, z.ZodObject<{
75
75
  __kind: z.ZodLiteral<"P2SH">;
76
76
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
77
77
  }, "strip", z.ZodTypeAny, {
78
- __kind: "P2SH";
79
78
  value: `0x${string}`;
80
- }, {
81
79
  __kind: "P2SH";
80
+ }, {
82
81
  value: string;
82
+ __kind: "P2SH";
83
83
  }>, z.ZodObject<{
84
84
  __kind: z.ZodLiteral<"P2WPKH">;
85
85
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
86
86
  }, "strip", z.ZodTypeAny, {
87
- __kind: "P2WPKH";
88
87
  value: `0x${string}`;
89
- }, {
90
88
  __kind: "P2WPKH";
89
+ }, {
91
90
  value: string;
91
+ __kind: "P2WPKH";
92
92
  }>, z.ZodObject<{
93
93
  __kind: z.ZodLiteral<"P2WSH">;
94
94
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
95
95
  }, "strip", z.ZodTypeAny, {
96
- __kind: "P2WSH";
97
96
  value: `0x${string}`;
98
- }, {
99
97
  __kind: "P2WSH";
98
+ }, {
100
99
  value: string;
100
+ __kind: "P2WSH";
101
101
  }>, z.ZodObject<{
102
102
  __kind: z.ZodLiteral<"Taproot">;
103
103
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
104
104
  }, "strip", z.ZodTypeAny, {
105
- __kind: "Taproot";
106
105
  value: `0x${string}`;
107
- }, {
108
106
  __kind: "Taproot";
107
+ }, {
109
108
  value: string;
109
+ __kind: "Taproot";
110
110
  }>, z.ZodObject<{
111
111
  __kind: z.ZodLiteral<"OtherSegwit">;
112
112
  version: z.ZodNumber;
@@ -121,49 +121,49 @@ declare const swappingCcmFailed: z.ZodObject<{
121
121
  program: string;
122
122
  }>]>;
123
123
  }, "strip", z.ZodTypeAny, {
124
- __kind: "Btc";
125
124
  value: {
126
- __kind: "P2PKH";
127
125
  value: `0x${string}`;
126
+ __kind: "P2PKH";
128
127
  } | {
129
- __kind: "P2SH";
130
128
  value: `0x${string}`;
129
+ __kind: "P2SH";
131
130
  } | {
132
- __kind: "P2WPKH";
133
131
  value: `0x${string}`;
132
+ __kind: "P2WPKH";
134
133
  } | {
135
- __kind: "P2WSH";
136
134
  value: `0x${string}`;
135
+ __kind: "P2WSH";
137
136
  } | {
138
- __kind: "Taproot";
139
137
  value: `0x${string}`;
138
+ __kind: "Taproot";
140
139
  } | {
141
140
  __kind: "OtherSegwit";
142
141
  version: number;
143
142
  program: `0x${string}`;
144
143
  };
145
- }, {
146
144
  __kind: "Btc";
145
+ }, {
147
146
  value: {
148
- __kind: "P2PKH";
149
147
  value: string;
148
+ __kind: "P2PKH";
150
149
  } | {
151
- __kind: "P2SH";
152
150
  value: string;
151
+ __kind: "P2SH";
153
152
  } | {
154
- __kind: "P2WPKH";
155
153
  value: string;
154
+ __kind: "P2WPKH";
156
155
  } | {
157
- __kind: "P2WSH";
158
156
  value: string;
157
+ __kind: "P2WSH";
159
158
  } | {
160
- __kind: "Taproot";
161
159
  value: string;
160
+ __kind: "Taproot";
162
161
  } | {
163
162
  __kind: "OtherSegwit";
164
163
  version: number;
165
164
  program: string;
166
165
  };
166
+ __kind: "Btc";
167
167
  }>]>>>;
168
168
  channelMetadata: z.ZodObject<{
169
169
  message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -186,33 +186,33 @@ declare const swappingCcmFailed: z.ZodObject<{
186
186
  cfParameters: `0x${string}`;
187
187
  };
188
188
  sourceAddress?: {
189
- __kind: "Eth";
190
189
  value: `0x${string}`;
190
+ __kind: "Eth";
191
191
  } | {
192
- __kind: "Dot";
193
192
  value: `0x${string}`;
193
+ __kind: "Dot";
194
194
  } | {
195
- __kind: "Btc";
196
195
  value: {
197
- __kind: "P2PKH";
198
196
  value: `0x${string}`;
197
+ __kind: "P2PKH";
199
198
  } | {
200
- __kind: "P2SH";
201
199
  value: `0x${string}`;
200
+ __kind: "P2SH";
202
201
  } | {
203
- __kind: "P2WPKH";
204
202
  value: `0x${string}`;
203
+ __kind: "P2WPKH";
205
204
  } | {
206
- __kind: "P2WSH";
207
205
  value: `0x${string}`;
206
+ __kind: "P2WSH";
208
207
  } | {
209
- __kind: "Taproot";
210
208
  value: `0x${string}`;
209
+ __kind: "Taproot";
211
210
  } | {
212
211
  __kind: "OtherSegwit";
213
212
  version: number;
214
213
  program: `0x${string}`;
215
214
  };
215
+ __kind: "Btc";
216
216
  } | null | undefined;
217
217
  }, {
218
218
  sourceChain: {
@@ -224,33 +224,33 @@ declare const swappingCcmFailed: z.ZodObject<{
224
224
  cfParameters: string;
225
225
  };
226
226
  sourceAddress?: {
227
- __kind: "Eth";
228
227
  value: string;
228
+ __kind: "Eth";
229
229
  } | {
230
- __kind: "Dot";
231
230
  value: string;
231
+ __kind: "Dot";
232
232
  } | {
233
- __kind: "Btc";
234
233
  value: {
235
- __kind: "P2PKH";
236
234
  value: string;
235
+ __kind: "P2PKH";
237
236
  } | {
238
- __kind: "P2SH";
239
237
  value: string;
238
+ __kind: "P2SH";
240
239
  } | {
241
- __kind: "P2WPKH";
242
240
  value: string;
241
+ __kind: "P2WPKH";
243
242
  } | {
244
- __kind: "P2WSH";
245
243
  value: string;
244
+ __kind: "P2WSH";
246
245
  } | {
247
- __kind: "Taproot";
248
246
  value: string;
247
+ __kind: "Taproot";
249
248
  } | {
250
249
  __kind: "OtherSegwit";
251
250
  version: number;
252
251
  program: string;
253
252
  };
253
+ __kind: "Btc";
254
254
  } | null | undefined;
255
255
  }>;
256
256
  }, "strip", z.ZodTypeAny, {
@@ -272,40 +272,40 @@ declare const swappingCcmFailed: z.ZodObject<{
272
272
  cfParameters: `0x${string}`;
273
273
  };
274
274
  sourceAddress?: {
275
- __kind: "Eth";
276
275
  value: `0x${string}`;
276
+ __kind: "Eth";
277
277
  } | {
278
- __kind: "Dot";
279
278
  value: `0x${string}`;
279
+ __kind: "Dot";
280
280
  } | {
281
- __kind: "Btc";
282
281
  value: {
283
- __kind: "P2PKH";
284
282
  value: `0x${string}`;
283
+ __kind: "P2PKH";
285
284
  } | {
286
- __kind: "P2SH";
287
285
  value: `0x${string}`;
286
+ __kind: "P2SH";
288
287
  } | {
289
- __kind: "P2WPKH";
290
288
  value: `0x${string}`;
289
+ __kind: "P2WPKH";
291
290
  } | {
292
- __kind: "P2WSH";
293
291
  value: `0x${string}`;
292
+ __kind: "P2WSH";
294
293
  } | {
295
- __kind: "Taproot";
296
294
  value: `0x${string}`;
295
+ __kind: "Taproot";
297
296
  } | {
298
297
  __kind: "OtherSegwit";
299
298
  version: number;
300
299
  program: `0x${string}`;
301
300
  };
301
+ __kind: "Btc";
302
302
  } | null | undefined;
303
303
  };
304
304
  reason: "UnsupportedForTargetChain" | "InsufficientDepositAmount" | "PrincipalSwapAmountTooLow";
305
305
  }, {
306
306
  destinationAddress: {
307
- __kind: "Eth" | "Dot" | "Btc";
308
307
  value: string;
308
+ __kind: "Eth" | "Dot" | "Btc";
309
309
  };
310
310
  depositMetadata: {
311
311
  sourceChain: {
@@ -317,33 +317,33 @@ declare const swappingCcmFailed: z.ZodObject<{
317
317
  cfParameters: string;
318
318
  };
319
319
  sourceAddress?: {
320
- __kind: "Eth";
321
320
  value: string;
321
+ __kind: "Eth";
322
322
  } | {
323
- __kind: "Dot";
324
323
  value: string;
324
+ __kind: "Dot";
325
325
  } | {
326
- __kind: "Btc";
327
326
  value: {
328
- __kind: "P2PKH";
329
327
  value: string;
328
+ __kind: "P2PKH";
330
329
  } | {
331
- __kind: "P2SH";
332
330
  value: string;
331
+ __kind: "P2SH";
333
332
  } | {
334
- __kind: "P2WPKH";
335
333
  value: string;
334
+ __kind: "P2WPKH";
336
335
  } | {
337
- __kind: "P2WSH";
338
336
  value: string;
337
+ __kind: "P2WSH";
339
338
  } | {
340
- __kind: "Taproot";
341
339
  value: string;
340
+ __kind: "Taproot";
342
341
  } | {
343
342
  __kind: "OtherSegwit";
344
343
  version: number;
345
344
  program: string;
346
345
  };
346
+ __kind: "Btc";
347
347
  } | null | undefined;
348
348
  };
349
349
  reason: {