@chainflip/processor 1.4.6 → 1.4.7

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 (219) hide show
  1. package/dist/100/bitcoinBroadcaster/transactionFeeDeficitRecorded.d.cts +10 -26
  2. package/dist/100/bitcoinBroadcaster/transactionFeeDeficitRecorded.d.ts +10 -26
  3. package/dist/100/bitcoinBroadcaster/transactionFeeDeficitRefused.d.cts +10 -26
  4. package/dist/100/bitcoinBroadcaster/transactionFeeDeficitRefused.d.ts +10 -26
  5. package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.cts +4 -4
  6. package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.ts +4 -4
  7. package/dist/100/bitcoinIngressEgress/depositIgnored.d.cts +10 -26
  8. package/dist/100/bitcoinIngressEgress/depositIgnored.d.ts +10 -26
  9. package/dist/100/bitcoinIngressEgress/depositReceived.d.cts +10 -26
  10. package/dist/100/bitcoinIngressEgress/depositReceived.d.ts +10 -26
  11. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.cts +14 -34
  12. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.ts +14 -34
  13. package/dist/100/bitcoinIngressEgress/egressScheduled.d.cts +10 -26
  14. package/dist/100/bitcoinIngressEgress/egressScheduled.d.ts +10 -26
  15. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.cts +10 -26
  16. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.ts +10 -26
  17. package/dist/100/common.cjs +4 -9
  18. package/dist/100/common.d.cts +106 -222
  19. package/dist/100/common.d.ts +106 -222
  20. package/dist/100/common.mjs +4 -9
  21. package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
  22. package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
  23. package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
  24. package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
  25. package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
  26. package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
  27. package/dist/100/funding/funded.d.cts +2 -2
  28. package/dist/100/funding/funded.d.ts +2 -2
  29. package/dist/100/funding/redemptionRequested.d.cts +2 -2
  30. package/dist/100/funding/redemptionRequested.d.ts +2 -2
  31. package/dist/100/liquidityPools/limitOrderUpdated.d.cts +8 -8
  32. package/dist/100/liquidityPools/limitOrderUpdated.d.ts +8 -8
  33. package/dist/100/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  34. package/dist/100/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  35. package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.cts +14 -34
  36. package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.ts +14 -34
  37. package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
  38. package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
  39. package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.cts +2 -2
  40. package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.ts +2 -2
  41. package/dist/100/polkadotIngressEgress/depositIgnored.d.cts +2 -2
  42. package/dist/100/polkadotIngressEgress/depositIgnored.d.ts +2 -2
  43. package/dist/100/polkadotIngressEgress/depositReceived.d.cts +2 -2
  44. package/dist/100/polkadotIngressEgress/depositReceived.d.ts +2 -2
  45. package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.cts +20 -20
  46. package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.ts +20 -20
  47. package/dist/100/swapping/batchSwapFailed.d.cts +2 -2
  48. package/dist/100/swapping/batchSwapFailed.d.ts +2 -2
  49. package/dist/100/swapping/ccmDepositReceived.d.cts +88 -112
  50. package/dist/100/swapping/ccmDepositReceived.d.ts +88 -112
  51. package/dist/100/swapping/ccmFailed.d.cts +88 -112
  52. package/dist/100/swapping/ccmFailed.d.ts +88 -112
  53. package/dist/100/swapping/swapAmountTooLow.d.cts +88 -124
  54. package/dist/100/swapping/swapAmountTooLow.d.ts +88 -124
  55. package/dist/100/swapping/swapDepositAddressReady.d.cts +24 -24
  56. package/dist/100/swapping/swapDepositAddressReady.d.ts +24 -24
  57. package/dist/100/swapping/swapEgressScheduled.d.cts +4 -4
  58. package/dist/100/swapping/swapEgressScheduled.d.ts +4 -4
  59. package/dist/100/swapping/swapScheduled.d.cts +176 -236
  60. package/dist/100/swapping/swapScheduled.d.ts +176 -236
  61. package/dist/100/swapping/withdrawalRequested.d.cts +16 -16
  62. package/dist/100/swapping/withdrawalRequested.d.ts +16 -16
  63. package/dist/100/system/extrinsicFailed.d.cts +17 -17
  64. package/dist/100/system/extrinsicFailed.d.ts +17 -17
  65. package/dist/100/witnesser/witnessExecutionFailed.d.cts +2 -2
  66. package/dist/100/witnesser/witnessExecutionFailed.d.ts +2 -2
  67. package/dist/111/bitcoinIngressEgress/transferFallbackRequested.d.cts +10 -26
  68. package/dist/111/bitcoinIngressEgress/transferFallbackRequested.d.ts +10 -26
  69. package/dist/111/common.cjs +1 -4
  70. package/dist/111/common.d.cts +6 -18
  71. package/dist/111/common.d.ts +6 -18
  72. package/dist/111/common.mjs +1 -4
  73. package/dist/120/bitcoinIngressEgress/depositIgnored.d.cts +10 -26
  74. package/dist/120/bitcoinIngressEgress/depositIgnored.d.ts +10 -26
  75. package/dist/120/bitcoinIngressEgress/depositReceived.d.cts +20 -52
  76. package/dist/120/bitcoinIngressEgress/depositReceived.d.ts +20 -52
  77. package/dist/120/common.cjs +3 -5
  78. package/dist/120/common.d.cts +36 -96
  79. package/dist/120/common.d.ts +36 -96
  80. package/dist/120/common.mjs +3 -5
  81. package/dist/120/emissions/backupRewardsDistributed.d.cts +2 -2
  82. package/dist/120/emissions/backupRewardsDistributed.d.ts +2 -2
  83. package/dist/120/ethereumIngressEgress/depositReceived.d.cts +10 -26
  84. package/dist/120/ethereumIngressEgress/depositReceived.d.ts +10 -26
  85. package/dist/120/polkadotIngressEgress/depositReceived.d.cts +10 -26
  86. package/dist/120/polkadotIngressEgress/depositReceived.d.ts +10 -26
  87. package/dist/120/swapping/ccmFailed.d.cts +18 -42
  88. package/dist/120/swapping/ccmFailed.d.ts +18 -42
  89. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
  90. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
  91. package/dist/131/bitcoinIngressEgress/depositIgnored.d.cts +10 -26
  92. package/dist/131/bitcoinIngressEgress/depositIgnored.d.ts +10 -26
  93. package/dist/131/bitcoinIngressEgress/depositReceived.d.cts +20 -52
  94. package/dist/131/bitcoinIngressEgress/depositReceived.d.ts +20 -52
  95. package/dist/131/bitcoinIngressEgress/depositWitnessRejected.d.cts +14 -34
  96. package/dist/131/bitcoinIngressEgress/depositWitnessRejected.d.ts +14 -34
  97. package/dist/131/common.cjs +6 -10
  98. package/dist/131/common.d.cts +110 -238
  99. package/dist/131/common.d.ts +110 -238
  100. package/dist/131/common.mjs +6 -10
  101. package/dist/131/ethereumIngressEgress/depositFetchesScheduled.d.cts +2 -2
  102. package/dist/131/ethereumIngressEgress/depositFetchesScheduled.d.ts +2 -2
  103. package/dist/131/ethereumIngressEgress/depositIgnored.d.cts +2 -2
  104. package/dist/131/ethereumIngressEgress/depositIgnored.d.ts +2 -2
  105. package/dist/131/ethereumIngressEgress/depositReceived.d.cts +12 -28
  106. package/dist/131/ethereumIngressEgress/depositReceived.d.ts +12 -28
  107. package/dist/131/ethereumIngressEgress/depositWitnessRejected.d.cts +20 -20
  108. package/dist/131/ethereumIngressEgress/depositWitnessRejected.d.ts +20 -20
  109. package/dist/131/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  110. package/dist/131/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  111. package/dist/131/liquidityPools/limitOrderUpdated.d.cts +8 -8
  112. package/dist/131/liquidityPools/limitOrderUpdated.d.ts +8 -8
  113. package/dist/131/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  114. package/dist/131/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  115. package/dist/131/liquidityProvider/accountCredited.d.cts +2 -2
  116. package/dist/131/liquidityProvider/accountCredited.d.ts +2 -2
  117. package/dist/131/liquidityProvider/accountDebited.d.cts +2 -2
  118. package/dist/131/liquidityProvider/accountDebited.d.ts +2 -2
  119. package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.cts +4 -4
  120. package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.ts +4 -4
  121. package/dist/131/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
  122. package/dist/131/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
  123. package/dist/131/swapping/batchSwapFailed.d.cts +8 -8
  124. package/dist/131/swapping/batchSwapFailed.d.ts +8 -8
  125. package/dist/131/swapping/ccmFailed.d.cts +90 -150
  126. package/dist/131/swapping/ccmFailed.d.ts +90 -150
  127. package/dist/131/swapping/maximumSwapAmountSet.d.cts +6 -6
  128. package/dist/131/swapping/maximumSwapAmountSet.d.ts +6 -6
  129. package/dist/131/swapping/swapAmountConfiscated.d.cts +12 -12
  130. package/dist/131/swapping/swapAmountConfiscated.d.ts +12 -12
  131. package/dist/131/swapping/swapDepositAddressReady.d.cts +18 -18
  132. package/dist/131/swapping/swapDepositAddressReady.d.ts +18 -18
  133. package/dist/131/swapping/swapEgressIgnored.d.cts +12 -12
  134. package/dist/131/swapping/swapEgressIgnored.d.ts +12 -12
  135. package/dist/131/swapping/swapEgressScheduled.d.cts +8 -8
  136. package/dist/131/swapping/swapEgressScheduled.d.ts +8 -8
  137. package/dist/131/swapping/swapExecuted.d.cts +12 -12
  138. package/dist/131/swapping/swapExecuted.d.ts +12 -12
  139. package/dist/131/swapping/swapScheduled.d.cts +104 -164
  140. package/dist/131/swapping/swapScheduled.d.ts +104 -164
  141. package/dist/131/swapping/withdrawalRequested.d.cts +6 -6
  142. package/dist/131/swapping/withdrawalRequested.d.ts +6 -6
  143. package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
  144. package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
  145. package/dist/141/arbitrumIngressEgress/depositBoosted.d.cts +14 -30
  146. package/dist/141/arbitrumIngressEgress/depositBoosted.d.ts +14 -30
  147. package/dist/141/arbitrumIngressEgress/depositFetchesScheduled.d.cts +2 -2
  148. package/dist/141/arbitrumIngressEgress/depositFetchesScheduled.d.ts +2 -2
  149. package/dist/141/arbitrumIngressEgress/depositFinalised.d.cts +14 -30
  150. package/dist/141/arbitrumIngressEgress/depositFinalised.d.ts +14 -30
  151. package/dist/141/arbitrumIngressEgress/depositIgnored.d.cts +3 -3
  152. package/dist/141/arbitrumIngressEgress/depositIgnored.d.ts +3 -3
  153. package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.cts +22 -22
  154. package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.ts +22 -22
  155. package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  156. package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  157. package/dist/141/arbitrumIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  158. package/dist/141/arbitrumIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  159. package/dist/141/arbitrumIngressEgress/transferFallbackRequested.d.cts +4 -4
  160. package/dist/141/arbitrumIngressEgress/transferFallbackRequested.d.ts +4 -4
  161. package/dist/141/bitcoinIngressEgress/ccmEgressInvalid.d.cts +4 -4
  162. package/dist/141/bitcoinIngressEgress/ccmEgressInvalid.d.ts +4 -4
  163. package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +20 -52
  164. package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +20 -52
  165. package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +20 -52
  166. package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +20 -52
  167. package/dist/141/common.cjs +6 -10
  168. package/dist/141/common.d.cts +115 -233
  169. package/dist/141/common.d.ts +115 -233
  170. package/dist/141/common.mjs +6 -10
  171. package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +10 -26
  172. package/dist/141/ethereumIngressEgress/depositBoosted.d.ts +10 -26
  173. package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +10 -26
  174. package/dist/141/ethereumIngressEgress/depositFinalised.d.ts +10 -26
  175. package/dist/141/evmThresholdSigner/failureReportProcessed.d.cts +2 -2
  176. package/dist/141/evmThresholdSigner/failureReportProcessed.d.ts +2 -2
  177. package/dist/141/evmThresholdSigner/retryRequested.d.cts +2 -2
  178. package/dist/141/evmThresholdSigner/retryRequested.d.ts +2 -2
  179. package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
  180. package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
  181. package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
  182. package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
  183. package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
  184. package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
  185. package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
  186. package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
  187. package/dist/141/liquidityPools/limitOrderUpdated.d.cts +10 -10
  188. package/dist/141/liquidityPools/limitOrderUpdated.d.ts +10 -10
  189. package/dist/141/liquidityPools/rangeOrderUpdated.d.cts +10 -10
  190. package/dist/141/liquidityPools/rangeOrderUpdated.d.ts +10 -10
  191. package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.cts +14 -34
  192. package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.ts +14 -34
  193. package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +10 -26
  194. package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +10 -26
  195. package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +10 -26
  196. package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +10 -26
  197. package/dist/141/swapping/ccmDepositReceived.d.cts +102 -126
  198. package/dist/141/swapping/ccmDepositReceived.d.ts +102 -126
  199. package/dist/141/swapping/ccmFailed.d.cts +195 -261
  200. package/dist/141/swapping/ccmFailed.d.ts +195 -261
  201. package/dist/141/swapping/swapDepositAddressReady.d.cts +32 -32
  202. package/dist/141/swapping/swapDepositAddressReady.d.ts +32 -32
  203. package/dist/141/swapping/swapEgressIgnored.d.cts +24 -24
  204. package/dist/141/swapping/swapEgressIgnored.d.ts +24 -24
  205. package/dist/141/swapping/swapExecuted.d.cts +96 -120
  206. package/dist/141/swapping/swapExecuted.d.ts +96 -120
  207. package/dist/141/swapping/swapScheduled.d.cts +207 -273
  208. package/dist/141/swapping/swapScheduled.d.ts +207 -273
  209. package/dist/141/swapping/withdrawalRequested.d.cts +16 -16
  210. package/dist/141/swapping/withdrawalRequested.d.ts +16 -16
  211. package/dist/141/tokenholderGovernance/proposalEnacted.d.cts +8 -8
  212. package/dist/141/tokenholderGovernance/proposalEnacted.d.ts +8 -8
  213. package/dist/141/tokenholderGovernance/proposalPassed.d.cts +8 -8
  214. package/dist/141/tokenholderGovernance/proposalPassed.d.ts +8 -8
  215. package/dist/141/tokenholderGovernance/proposalRejected.d.cts +8 -8
  216. package/dist/141/tokenholderGovernance/proposalRejected.d.ts +8 -8
  217. package/dist/141/tokenholderGovernance/proposalSubmitted.d.cts +8 -8
  218. package/dist/141/tokenholderGovernance/proposalSubmitted.d.ts +8 -8
  219. package/package.json +1 -1
@@ -14,29 +14,29 @@ declare const swappingCcmFailed: 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
- value: string;
21
20
  __kind: "Eth";
21
+ value: string;
22
22
  }>, z.ZodObject<{
23
23
  __kind: z.ZodLiteral<"Dot">;
24
24
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
25
25
  }, "strip", z.ZodTypeAny, {
26
- value: `0x${string}`;
27
26
  __kind: "Dot";
27
+ value: `0x${string}`;
28
28
  }, {
29
- value: string;
30
29
  __kind: "Dot";
30
+ value: string;
31
31
  }>, z.ZodObject<{
32
32
  __kind: z.ZodLiteral<"Btc">;
33
33
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
34
34
  }, "strip", z.ZodTypeAny, {
35
- value: `0x${string}`;
36
35
  __kind: "Btc";
36
+ value: `0x${string}`;
37
37
  }, {
38
- value: string;
39
38
  __kind: "Btc";
39
+ value: string;
40
40
  }>]>;
41
41
  depositMetadata: z.ZodObject<{
42
42
  sourceChain: z.ZodEffects<z.ZodObject<{
@@ -52,140 +52,124 @@ declare const swappingCcmFailed: z.ZodObject<{
52
52
  __kind: z.ZodLiteral<"Eth">;
53
53
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
54
54
  }, "strip", z.ZodTypeAny, {
55
- value: `0x${string}`;
56
55
  __kind: "Eth";
56
+ value: `0x${string}`;
57
57
  }, {
58
- value: string;
59
58
  __kind: "Eth";
59
+ value: string;
60
60
  }>, z.ZodObject<{
61
61
  __kind: z.ZodLiteral<"Dot">;
62
62
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
63
63
  }, "strip", z.ZodTypeAny, {
64
- value: `0x${string}`;
65
64
  __kind: "Dot";
65
+ value: `0x${string}`;
66
66
  }, {
67
- value: string;
68
67
  __kind: "Dot";
68
+ value: string;
69
69
  }>, z.ZodObject<{
70
70
  __kind: z.ZodLiteral<"Btc">;
71
71
  value: z.ZodUnion<[z.ZodObject<{
72
72
  __kind: z.ZodLiteral<"P2PKH">;
73
73
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
74
74
  }, "strip", z.ZodTypeAny, {
75
- value: `0x${string}`;
76
75
  __kind: "P2PKH";
76
+ value: `0x${string}`;
77
77
  }, {
78
- value: string;
79
78
  __kind: "P2PKH";
79
+ value: string;
80
80
  }>, z.ZodObject<{
81
81
  __kind: z.ZodLiteral<"P2SH">;
82
82
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
83
83
  }, "strip", z.ZodTypeAny, {
84
- value: `0x${string}`;
85
84
  __kind: "P2SH";
85
+ value: `0x${string}`;
86
86
  }, {
87
- value: string;
88
87
  __kind: "P2SH";
88
+ value: string;
89
89
  }>, z.ZodObject<{
90
90
  __kind: z.ZodLiteral<"P2WPKH">;
91
91
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
92
92
  }, "strip", z.ZodTypeAny, {
93
- value: `0x${string}`;
94
93
  __kind: "P2WPKH";
94
+ value: `0x${string}`;
95
95
  }, {
96
- value: string;
97
96
  __kind: "P2WPKH";
97
+ value: string;
98
98
  }>, z.ZodObject<{
99
99
  __kind: z.ZodLiteral<"P2WSH">;
100
100
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
101
101
  }, "strip", z.ZodTypeAny, {
102
- value: `0x${string}`;
103
102
  __kind: "P2WSH";
103
+ value: `0x${string}`;
104
104
  }, {
105
- value: string;
106
105
  __kind: "P2WSH";
106
+ value: string;
107
107
  }>, z.ZodObject<{
108
108
  __kind: z.ZodLiteral<"Taproot">;
109
109
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
110
110
  }, "strip", z.ZodTypeAny, {
111
- value: `0x${string}`;
112
111
  __kind: "Taproot";
112
+ value: `0x${string}`;
113
113
  }, {
114
- value: string;
115
114
  __kind: "Taproot";
115
+ value: string;
116
116
  }>, z.ZodObject<{
117
117
  __kind: z.ZodLiteral<"OtherSegwit">;
118
- value: z.ZodObject<{
119
- version: z.ZodNumber;
120
- program: z.ZodEffects<z.ZodString, `0x${string}`, string>;
121
- }, "strip", z.ZodTypeAny, {
122
- version: number;
123
- program: `0x${string}`;
124
- }, {
125
- version: number;
126
- program: string;
127
- }>;
118
+ version: z.ZodNumber;
119
+ program: z.ZodEffects<z.ZodString, `0x${string}`, string>;
128
120
  }, "strip", z.ZodTypeAny, {
129
- value: {
130
- version: number;
131
- program: `0x${string}`;
132
- };
133
121
  __kind: "OtherSegwit";
122
+ version: number;
123
+ program: `0x${string}`;
134
124
  }, {
135
- value: {
136
- version: number;
137
- program: string;
138
- };
139
125
  __kind: "OtherSegwit";
126
+ version: number;
127
+ program: string;
140
128
  }>]>;
141
129
  }, "strip", z.ZodTypeAny, {
130
+ __kind: "Btc";
142
131
  value: {
143
- value: `0x${string}`;
144
132
  __kind: "P2PKH";
145
- } | {
146
133
  value: `0x${string}`;
147
- __kind: "P2SH";
148
134
  } | {
135
+ __kind: "P2SH";
149
136
  value: `0x${string}`;
150
- __kind: "P2WPKH";
151
137
  } | {
138
+ __kind: "P2WPKH";
152
139
  value: `0x${string}`;
153
- __kind: "P2WSH";
154
140
  } | {
141
+ __kind: "P2WSH";
155
142
  value: `0x${string}`;
143
+ } | {
156
144
  __kind: "Taproot";
145
+ value: `0x${string}`;
157
146
  } | {
158
- value: {
159
- version: number;
160
- program: `0x${string}`;
161
- };
162
147
  __kind: "OtherSegwit";
148
+ version: number;
149
+ program: `0x${string}`;
163
150
  };
164
- __kind: "Btc";
165
151
  }, {
152
+ __kind: "Btc";
166
153
  value: {
167
- value: string;
168
154
  __kind: "P2PKH";
169
- } | {
170
155
  value: string;
171
- __kind: "P2SH";
172
156
  } | {
157
+ __kind: "P2SH";
173
158
  value: string;
174
- __kind: "P2WPKH";
175
159
  } | {
160
+ __kind: "P2WPKH";
176
161
  value: string;
177
- __kind: "P2WSH";
178
162
  } | {
163
+ __kind: "P2WSH";
179
164
  value: string;
165
+ } | {
180
166
  __kind: "Taproot";
167
+ value: string;
181
168
  } | {
182
- value: {
183
- version: number;
184
- program: string;
185
- };
186
169
  __kind: "OtherSegwit";
170
+ version: number;
171
+ program: string;
187
172
  };
188
- __kind: "Btc";
189
173
  }>]>>>;
190
174
  channelMetadata: z.ZodObject<{
191
175
  message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -208,35 +192,33 @@ declare const swappingCcmFailed: z.ZodObject<{
208
192
  cfParameters: `0x${string}`;
209
193
  };
210
194
  sourceAddress?: {
211
- value: `0x${string}`;
212
195
  __kind: "Eth";
213
- } | {
214
196
  value: `0x${string}`;
197
+ } | {
215
198
  __kind: "Dot";
199
+ value: `0x${string}`;
216
200
  } | {
201
+ __kind: "Btc";
217
202
  value: {
218
- value: `0x${string}`;
219
203
  __kind: "P2PKH";
220
- } | {
221
204
  value: `0x${string}`;
222
- __kind: "P2SH";
223
205
  } | {
206
+ __kind: "P2SH";
224
207
  value: `0x${string}`;
225
- __kind: "P2WPKH";
226
208
  } | {
209
+ __kind: "P2WPKH";
227
210
  value: `0x${string}`;
228
- __kind: "P2WSH";
229
211
  } | {
212
+ __kind: "P2WSH";
230
213
  value: `0x${string}`;
214
+ } | {
231
215
  __kind: "Taproot";
216
+ value: `0x${string}`;
232
217
  } | {
233
- value: {
234
- version: number;
235
- program: `0x${string}`;
236
- };
237
218
  __kind: "OtherSegwit";
219
+ version: number;
220
+ program: `0x${string}`;
238
221
  };
239
- __kind: "Btc";
240
222
  } | null | undefined;
241
223
  }, {
242
224
  sourceChain: {
@@ -248,47 +230,45 @@ declare const swappingCcmFailed: z.ZodObject<{
248
230
  cfParameters: string;
249
231
  };
250
232
  sourceAddress?: {
251
- value: string;
252
233
  __kind: "Eth";
253
- } | {
254
234
  value: string;
235
+ } | {
255
236
  __kind: "Dot";
237
+ value: string;
256
238
  } | {
239
+ __kind: "Btc";
257
240
  value: {
258
- value: string;
259
241
  __kind: "P2PKH";
260
- } | {
261
242
  value: string;
262
- __kind: "P2SH";
263
243
  } | {
244
+ __kind: "P2SH";
264
245
  value: string;
265
- __kind: "P2WPKH";
266
246
  } | {
247
+ __kind: "P2WPKH";
267
248
  value: string;
268
- __kind: "P2WSH";
269
249
  } | {
250
+ __kind: "P2WSH";
270
251
  value: string;
252
+ } | {
271
253
  __kind: "Taproot";
254
+ value: string;
272
255
  } | {
273
- value: {
274
- version: number;
275
- program: string;
276
- };
277
256
  __kind: "OtherSegwit";
257
+ version: number;
258
+ program: string;
278
259
  };
279
- __kind: "Btc";
280
260
  } | null | undefined;
281
261
  }>;
282
262
  }, "strip", z.ZodTypeAny, {
283
263
  destinationAddress: {
284
- value: `0x${string}`;
285
264
  __kind: "Eth";
286
- } | {
287
265
  value: `0x${string}`;
288
- __kind: "Dot";
289
266
  } | {
267
+ __kind: "Dot";
290
268
  value: `0x${string}`;
269
+ } | {
291
270
  __kind: "Btc";
271
+ value: `0x${string}`;
292
272
  };
293
273
  depositMetadata: {
294
274
  sourceChain: "Ethereum" | "Polkadot" | "Bitcoin";
@@ -298,48 +278,46 @@ declare const swappingCcmFailed: z.ZodObject<{
298
278
  cfParameters: `0x${string}`;
299
279
  };
300
280
  sourceAddress?: {
301
- value: `0x${string}`;
302
281
  __kind: "Eth";
303
- } | {
304
282
  value: `0x${string}`;
283
+ } | {
305
284
  __kind: "Dot";
285
+ value: `0x${string}`;
306
286
  } | {
287
+ __kind: "Btc";
307
288
  value: {
308
- value: `0x${string}`;
309
289
  __kind: "P2PKH";
310
- } | {
311
290
  value: `0x${string}`;
312
- __kind: "P2SH";
313
291
  } | {
292
+ __kind: "P2SH";
314
293
  value: `0x${string}`;
315
- __kind: "P2WPKH";
316
294
  } | {
295
+ __kind: "P2WPKH";
317
296
  value: `0x${string}`;
318
- __kind: "P2WSH";
319
297
  } | {
298
+ __kind: "P2WSH";
320
299
  value: `0x${string}`;
300
+ } | {
321
301
  __kind: "Taproot";
302
+ value: `0x${string}`;
322
303
  } | {
323
- value: {
324
- version: number;
325
- program: `0x${string}`;
326
- };
327
304
  __kind: "OtherSegwit";
305
+ version: number;
306
+ program: `0x${string}`;
328
307
  };
329
- __kind: "Btc";
330
308
  } | null | undefined;
331
309
  };
332
310
  reason: "UnsupportedForTargetChain" | "InsufficientDepositAmount" | "PrincipalSwapAmountTooLow";
333
311
  }, {
334
312
  destinationAddress: {
335
- value: string;
336
313
  __kind: "Eth";
337
- } | {
338
314
  value: string;
339
- __kind: "Dot";
340
315
  } | {
316
+ __kind: "Dot";
341
317
  value: string;
318
+ } | {
342
319
  __kind: "Btc";
320
+ value: string;
343
321
  };
344
322
  depositMetadata: {
345
323
  sourceChain: {
@@ -351,35 +329,33 @@ declare const swappingCcmFailed: z.ZodObject<{
351
329
  cfParameters: string;
352
330
  };
353
331
  sourceAddress?: {
354
- value: string;
355
332
  __kind: "Eth";
356
- } | {
357
333
  value: string;
334
+ } | {
358
335
  __kind: "Dot";
336
+ value: string;
359
337
  } | {
338
+ __kind: "Btc";
360
339
  value: {
361
- value: string;
362
340
  __kind: "P2PKH";
363
- } | {
364
341
  value: string;
365
- __kind: "P2SH";
366
342
  } | {
343
+ __kind: "P2SH";
367
344
  value: string;
368
- __kind: "P2WPKH";
369
345
  } | {
346
+ __kind: "P2WPKH";
370
347
  value: string;
371
- __kind: "P2WSH";
372
348
  } | {
349
+ __kind: "P2WSH";
373
350
  value: string;
351
+ } | {
374
352
  __kind: "Taproot";
353
+ value: string;
375
354
  } | {
376
- value: {
377
- version: number;
378
- program: string;
379
- };
380
355
  __kind: "OtherSegwit";
356
+ version: number;
357
+ program: string;
381
358
  };
382
- __kind: "Btc";
383
359
  } | null | undefined;
384
360
  };
385
361
  reason: {
@@ -15,122 +15,90 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
15
15
  __kind: z.ZodLiteral<"Eth">;
16
16
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
17
17
  }, "strip", z.ZodTypeAny, {
18
- value: `0x${string}`;
19
18
  __kind: "Eth";
19
+ value: `0x${string}`;
20
20
  }, {
21
- value: string;
22
21
  __kind: "Eth";
22
+ value: string;
23
23
  }>, z.ZodObject<{
24
24
  __kind: z.ZodLiteral<"Dot">;
25
25
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
26
26
  }, "strip", z.ZodTypeAny, {
27
- value: `0x${string}`;
28
27
  __kind: "Dot";
28
+ value: `0x${string}`;
29
29
  }, {
30
- value: string;
31
30
  __kind: "Dot";
31
+ value: string;
32
32
  }>, z.ZodObject<{
33
33
  __kind: z.ZodLiteral<"Btc">;
34
34
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
35
35
  }, "strip", z.ZodTypeAny, {
36
- value: `0x${string}`;
37
36
  __kind: "Btc";
37
+ value: `0x${string}`;
38
38
  }, {
39
- value: string;
40
39
  __kind: "Btc";
40
+ value: string;
41
41
  }>]>;
42
42
  origin: z.ZodUnion<[z.ZodObject<{
43
43
  __kind: z.ZodLiteral<"DepositChannel">;
44
- value: z.ZodObject<{
45
- depositAddress: z.ZodUnion<[z.ZodObject<{
46
- __kind: z.ZodLiteral<"Eth">;
47
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
48
- }, "strip", z.ZodTypeAny, {
49
- value: `0x${string}`;
50
- __kind: "Eth";
51
- }, {
52
- value: string;
53
- __kind: "Eth";
54
- }>, z.ZodObject<{
55
- __kind: z.ZodLiteral<"Dot">;
56
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
57
- }, "strip", z.ZodTypeAny, {
58
- value: `0x${string}`;
59
- __kind: "Dot";
60
- }, {
61
- value: string;
62
- __kind: "Dot";
63
- }>, z.ZodObject<{
64
- __kind: z.ZodLiteral<"Btc">;
65
- value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
66
- }, "strip", z.ZodTypeAny, {
67
- value: `0x${string}`;
68
- __kind: "Btc";
69
- }, {
70
- value: string;
71
- __kind: "Btc";
72
- }>]>;
73
- channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
74
- depositBlockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
44
+ depositAddress: z.ZodUnion<[z.ZodObject<{
45
+ __kind: z.ZodLiteral<"Eth">;
46
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
47
+ }, "strip", z.ZodTypeAny, {
48
+ __kind: "Eth";
49
+ value: `0x${string}`;
50
+ }, {
51
+ __kind: "Eth";
52
+ value: string;
53
+ }>, z.ZodObject<{
54
+ __kind: z.ZodLiteral<"Dot">;
55
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
75
56
  }, "strip", z.ZodTypeAny, {
76
- depositAddress: {
77
- value: `0x${string}`;
78
- __kind: "Eth";
79
- } | {
80
- value: `0x${string}`;
81
- __kind: "Dot";
82
- } | {
83
- value: `0x${string}`;
84
- __kind: "Btc";
85
- };
86
- channelId: bigint;
87
- depositBlockHeight: bigint;
57
+ __kind: "Dot";
58
+ value: `0x${string}`;
88
59
  }, {
89
- depositAddress: {
90
- value: string;
91
- __kind: "Eth";
92
- } | {
93
- value: string;
94
- __kind: "Dot";
95
- } | {
96
- value: string;
97
- __kind: "Btc";
98
- };
99
- channelId: string | number;
100
- depositBlockHeight: string | number;
101
- }>;
60
+ __kind: "Dot";
61
+ value: string;
62
+ }>, z.ZodObject<{
63
+ __kind: z.ZodLiteral<"Btc">;
64
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ __kind: "Btc";
67
+ value: `0x${string}`;
68
+ }, {
69
+ __kind: "Btc";
70
+ value: string;
71
+ }>]>;
72
+ channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
73
+ depositBlockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
102
74
  }, "strip", z.ZodTypeAny, {
103
- value: {
104
- depositAddress: {
105
- value: `0x${string}`;
106
- __kind: "Eth";
107
- } | {
108
- value: `0x${string}`;
109
- __kind: "Dot";
110
- } | {
111
- value: `0x${string}`;
112
- __kind: "Btc";
113
- };
114
- channelId: bigint;
115
- depositBlockHeight: bigint;
116
- };
117
75
  __kind: "DepositChannel";
118
- }, {
119
- value: {
120
- depositAddress: {
121
- value: string;
122
- __kind: "Eth";
123
- } | {
124
- value: string;
125
- __kind: "Dot";
126
- } | {
127
- value: string;
128
- __kind: "Btc";
129
- };
130
- channelId: string | number;
131
- depositBlockHeight: string | number;
76
+ depositAddress: {
77
+ __kind: "Eth";
78
+ value: `0x${string}`;
79
+ } | {
80
+ __kind: "Dot";
81
+ value: `0x${string}`;
82
+ } | {
83
+ __kind: "Btc";
84
+ value: `0x${string}`;
132
85
  };
86
+ channelId: bigint;
87
+ depositBlockHeight: bigint;
88
+ }, {
133
89
  __kind: "DepositChannel";
90
+ depositAddress: {
91
+ __kind: "Eth";
92
+ value: string;
93
+ } | {
94
+ __kind: "Dot";
95
+ value: string;
96
+ } | {
97
+ __kind: "Btc";
98
+ value: string;
99
+ };
100
+ channelId: string | number;
101
+ depositBlockHeight: string | number;
134
102
  }>, z.ZodObject<{
135
103
  __kind: z.ZodLiteral<"Vault">;
136
104
  txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -145,31 +113,29 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
145
113
  asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
146
114
  amount: bigint;
147
115
  destinationAddress: {
148
- value: `0x${string}`;
149
116
  __kind: "Eth";
150
- } | {
151
117
  value: `0x${string}`;
152
- __kind: "Dot";
153
118
  } | {
119
+ __kind: "Dot";
154
120
  value: `0x${string}`;
121
+ } | {
155
122
  __kind: "Btc";
123
+ value: `0x${string}`;
156
124
  };
157
125
  origin: {
158
- value: {
159
- depositAddress: {
160
- value: `0x${string}`;
161
- __kind: "Eth";
162
- } | {
163
- value: `0x${string}`;
164
- __kind: "Dot";
165
- } | {
166
- value: `0x${string}`;
167
- __kind: "Btc";
168
- };
169
- channelId: bigint;
170
- depositBlockHeight: bigint;
171
- };
172
126
  __kind: "DepositChannel";
127
+ depositAddress: {
128
+ __kind: "Eth";
129
+ value: `0x${string}`;
130
+ } | {
131
+ __kind: "Dot";
132
+ value: `0x${string}`;
133
+ } | {
134
+ __kind: "Btc";
135
+ value: `0x${string}`;
136
+ };
137
+ channelId: bigint;
138
+ depositBlockHeight: bigint;
173
139
  } | {
174
140
  __kind: "Vault";
175
141
  txHash: `0x${string}`;
@@ -180,31 +146,29 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
180
146
  };
181
147
  amount: string | number;
182
148
  destinationAddress: {
183
- value: string;
184
149
  __kind: "Eth";
185
- } | {
186
150
  value: string;
187
- __kind: "Dot";
188
151
  } | {
152
+ __kind: "Dot";
189
153
  value: string;
154
+ } | {
190
155
  __kind: "Btc";
156
+ value: string;
191
157
  };
192
158
  origin: {
193
- value: {
194
- depositAddress: {
195
- value: string;
196
- __kind: "Eth";
197
- } | {
198
- value: string;
199
- __kind: "Dot";
200
- } | {
201
- value: string;
202
- __kind: "Btc";
203
- };
204
- channelId: string | number;
205
- depositBlockHeight: string | number;
206
- };
207
159
  __kind: "DepositChannel";
160
+ depositAddress: {
161
+ __kind: "Eth";
162
+ value: string;
163
+ } | {
164
+ __kind: "Dot";
165
+ value: string;
166
+ } | {
167
+ __kind: "Btc";
168
+ value: string;
169
+ };
170
+ channelId: string | number;
171
+ depositBlockHeight: string | number;
208
172
  } | {
209
173
  __kind: "Vault";
210
174
  txHash: string;