@chainflip/processor 1.5.2 → 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 (245) hide show
  1. package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.cts +16 -16
  2. package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.ts +16 -16
  3. package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.cts +2 -2
  4. package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.ts +2 -2
  5. package/dist/100/bitcoinIngressEgress/depositIgnored.d.cts +24 -24
  6. package/dist/100/bitcoinIngressEgress/depositIgnored.d.ts +24 -24
  7. package/dist/100/bitcoinIngressEgress/depositReceived.d.cts +24 -24
  8. package/dist/100/bitcoinIngressEgress/depositReceived.d.ts +24 -24
  9. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.cts +54 -54
  10. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.ts +54 -54
  11. package/dist/100/bitcoinIngressEgress/egressScheduled.d.cts +20 -20
  12. package/dist/100/bitcoinIngressEgress/egressScheduled.d.ts +20 -20
  13. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.cts +20 -20
  14. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.ts +20 -20
  15. package/dist/100/common.cjs +12 -12
  16. package/dist/100/common.d.cts +64 -28
  17. package/dist/100/common.d.ts +64 -28
  18. package/dist/100/common.mjs +12 -12
  19. package/dist/100/environment/runtimeSafeModeUpdated.d.cts +12 -12
  20. package/dist/100/environment/runtimeSafeModeUpdated.d.ts +12 -12
  21. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +35 -17
  22. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +35 -17
  23. package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
  24. package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
  25. package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +35 -17
  26. package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +35 -17
  27. package/dist/100/swapping/batchSwapFailed.d.cts +2 -2
  28. package/dist/100/swapping/batchSwapFailed.d.ts +2 -2
  29. package/dist/100/swapping/ccmDepositReceived.d.cts +39 -21
  30. package/dist/100/swapping/ccmDepositReceived.d.ts +39 -21
  31. package/dist/100/swapping/ccmFailed.d.cts +35 -17
  32. package/dist/100/swapping/ccmFailed.d.ts +35 -17
  33. package/dist/100/swapping/swapAmountTooLow.d.cts +76 -40
  34. package/dist/100/swapping/swapAmountTooLow.d.ts +76 -40
  35. package/dist/100/swapping/swapDepositAddressReady.d.cts +76 -40
  36. package/dist/100/swapping/swapDepositAddressReady.d.ts +76 -40
  37. package/dist/100/swapping/swapScheduled.d.cts +78 -42
  38. package/dist/100/swapping/swapScheduled.d.ts +78 -42
  39. package/dist/100/swapping/withdrawalRequested.d.cts +35 -17
  40. package/dist/100/swapping/withdrawalRequested.d.ts +35 -17
  41. package/dist/111/liquidityPools/limitOrderUpdated.d.cts +4 -4
  42. package/dist/111/liquidityPools/limitOrderUpdated.d.ts +4 -4
  43. package/dist/111/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  44. package/dist/111/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  45. package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +2 -2
  46. package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +2 -2
  47. package/dist/120/common.cjs +12 -12
  48. package/dist/120/common.d.cts +29 -11
  49. package/dist/120/common.d.ts +29 -11
  50. package/dist/120/common.mjs +12 -12
  51. package/dist/120/emissions/backupRewardsDistributed.d.cts +2 -2
  52. package/dist/120/emissions/backupRewardsDistributed.d.ts +2 -2
  53. package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +35 -17
  54. package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +35 -17
  55. package/dist/120/swapping/ccmFailed.d.cts +35 -17
  56. package/dist/120/swapping/ccmFailed.d.ts +35 -17
  57. package/dist/120/swapping/withdrawalRequested.d.cts +35 -17
  58. package/dist/120/swapping/withdrawalRequested.d.ts +35 -17
  59. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
  60. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
  61. package/dist/131/common.cjs +12 -12
  62. package/dist/131/common.d.cts +64 -28
  63. package/dist/131/common.d.ts +64 -28
  64. package/dist/131/common.mjs +12 -12
  65. package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.cts +35 -17
  66. package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.ts +35 -17
  67. package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.cts +35 -17
  68. package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.ts +35 -17
  69. package/dist/131/swapping/batchSwapFailed.d.cts +8 -8
  70. package/dist/131/swapping/batchSwapFailed.d.ts +8 -8
  71. package/dist/131/swapping/ccmFailed.d.cts +76 -40
  72. package/dist/131/swapping/ccmFailed.d.ts +76 -40
  73. package/dist/131/swapping/maximumSwapAmountSet.d.cts +6 -6
  74. package/dist/131/swapping/maximumSwapAmountSet.d.ts +6 -6
  75. package/dist/131/swapping/swapAmountConfiscated.d.cts +12 -12
  76. package/dist/131/swapping/swapAmountConfiscated.d.ts +12 -12
  77. package/dist/131/swapping/swapDepositAddressReady.d.cts +88 -52
  78. package/dist/131/swapping/swapDepositAddressReady.d.ts +88 -52
  79. package/dist/131/swapping/swapEgressIgnored.d.cts +12 -12
  80. package/dist/131/swapping/swapEgressIgnored.d.ts +12 -12
  81. package/dist/131/swapping/swapEgressScheduled.d.cts +8 -8
  82. package/dist/131/swapping/swapEgressScheduled.d.ts +8 -8
  83. package/dist/131/swapping/swapExecuted.d.cts +12 -12
  84. package/dist/131/swapping/swapExecuted.d.ts +12 -12
  85. package/dist/131/swapping/swapScheduled.d.cts +90 -54
  86. package/dist/131/swapping/swapScheduled.d.ts +90 -54
  87. package/dist/131/swapping/withdrawalRequested.d.cts +41 -23
  88. package/dist/131/swapping/withdrawalRequested.d.ts +41 -23
  89. package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.cts +2 -2
  90. package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.ts +2 -2
  91. package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
  92. package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
  93. package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.cts +16 -16
  94. package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.ts +16 -16
  95. package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  96. package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  97. package/dist/141/common.cjs +16 -16
  98. package/dist/141/common.d.cts +84 -36
  99. package/dist/141/common.d.ts +84 -36
  100. package/dist/141/common.mjs +16 -16
  101. package/dist/141/evmThresholdSigner/failureReportProcessed.d.cts +2 -2
  102. package/dist/141/evmThresholdSigner/failureReportProcessed.d.ts +2 -2
  103. package/dist/141/evmThresholdSigner/retryRequested.d.cts +2 -2
  104. package/dist/141/evmThresholdSigner/retryRequested.d.ts +2 -2
  105. package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
  106. package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
  107. package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
  108. package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
  109. package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
  110. package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
  111. package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
  112. package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
  113. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +46 -22
  114. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +46 -22
  115. package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
  116. package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
  117. package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.cts +46 -22
  118. package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.ts +46 -22
  119. package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +2 -2
  120. package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +2 -2
  121. package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +4 -4
  122. package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +4 -4
  123. package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +4 -4
  124. package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +4 -4
  125. package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  126. package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  127. package/dist/141/swapping/ccmDepositReceived.d.cts +46 -22
  128. package/dist/141/swapping/ccmDepositReceived.d.ts +46 -22
  129. package/dist/141/swapping/ccmFailed.d.cts +100 -52
  130. package/dist/141/swapping/ccmFailed.d.ts +100 -52
  131. package/dist/141/swapping/swapDepositAddressReady.d.cts +92 -44
  132. package/dist/141/swapping/swapDepositAddressReady.d.ts +92 -44
  133. package/dist/141/swapping/swapScheduled.d.cts +100 -52
  134. package/dist/141/swapping/swapScheduled.d.ts +100 -52
  135. package/dist/141/swapping/withdrawalRequested.d.cts +46 -22
  136. package/dist/141/swapping/withdrawalRequested.d.ts +46 -22
  137. package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  138. package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.ts +2 -2
  139. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  140. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  141. package/dist/150/assetBalances/refundScheduled.d.cts +52 -52
  142. package/dist/150/assetBalances/refundScheduled.d.ts +52 -52
  143. package/dist/150/assetBalances/refundSkipped.d.cts +93 -93
  144. package/dist/150/assetBalances/refundSkipped.d.ts +93 -93
  145. package/dist/150/common.cjs +20 -20
  146. package/dist/150/common.d.cts +164 -74
  147. package/dist/150/common.d.ts +164 -74
  148. package/dist/150/common.mjs +20 -20
  149. package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.cts +58 -28
  150. package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.ts +58 -28
  151. package/dist/150/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
  152. package/dist/150/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
  153. package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.cts +58 -28
  154. package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.ts +58 -28
  155. package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
  156. package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
  157. package/dist/150/polkadotIngressEgress/depositBoosted.d.cts +10 -10
  158. package/dist/150/polkadotIngressEgress/depositBoosted.d.ts +10 -10
  159. package/dist/150/polkadotIngressEgress/depositFinalised.d.cts +4 -4
  160. package/dist/150/polkadotIngressEgress/depositFinalised.d.ts +4 -4
  161. package/dist/150/polkadotIngressEgress/depositWitnessRejected.d.cts +16 -16
  162. package/dist/150/polkadotIngressEgress/depositWitnessRejected.d.ts +16 -16
  163. package/dist/150/solanaThresholdSigner/failureReportProcessed.d.cts +2 -2
  164. package/dist/150/solanaThresholdSigner/failureReportProcessed.d.ts +2 -2
  165. package/dist/150/solanaThresholdSigner/retryRequested.d.cts +2 -2
  166. package/dist/150/solanaThresholdSigner/retryRequested.d.ts +2 -2
  167. package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
  168. package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
  169. package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
  170. package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
  171. package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
  172. package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
  173. package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
  174. package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
  175. package/dist/150/swapping/ccmDepositReceived.d.cts +58 -28
  176. package/dist/150/swapping/ccmDepositReceived.d.ts +58 -28
  177. package/dist/150/swapping/ccmFailed.d.cts +126 -66
  178. package/dist/150/swapping/ccmFailed.d.ts +126 -66
  179. package/dist/150/swapping/swapDepositAddressReady.d.cts +184 -94
  180. package/dist/150/swapping/swapDepositAddressReady.d.ts +184 -94
  181. package/dist/150/swapping/swapScheduled.d.cts +126 -66
  182. package/dist/150/swapping/swapScheduled.d.ts +126 -66
  183. package/dist/150/swapping/withdrawalRequested.d.cts +58 -28
  184. package/dist/150/swapping/withdrawalRequested.d.ts +58 -28
  185. package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  186. package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  187. package/dist/160/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
  188. package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
  189. package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +6 -6
  190. package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +6 -6
  191. package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.cts +14 -14
  192. package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.ts +14 -14
  193. package/dist/160/bitcoinIngressEgress/depositBoosted.d.cts +8 -8
  194. package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +8 -8
  195. package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +6 -6
  196. package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +6 -6
  197. package/dist/160/common.cjs +20 -20
  198. package/dist/160/common.d.cts +222 -102
  199. package/dist/160/common.d.ts +222 -102
  200. package/dist/160/common.mjs +20 -20
  201. package/dist/160/liquidityProvider/accountCredited.d.cts +2 -2
  202. package/dist/160/liquidityProvider/accountCredited.d.ts +2 -2
  203. package/dist/160/liquidityProvider/accountDebited.d.cts +2 -2
  204. package/dist/160/liquidityProvider/accountDebited.d.ts +2 -2
  205. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +62 -32
  206. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +62 -32
  207. package/dist/160/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
  208. package/dist/160/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
  209. package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.cts +58 -28
  210. package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.ts +58 -28
  211. package/dist/160/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
  212. package/dist/160/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
  213. package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.cts +50 -50
  214. package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.ts +50 -50
  215. package/dist/160/solanaIngressEgress/depositFinalised.d.cts +2 -2
  216. package/dist/160/solanaIngressEgress/depositFinalised.d.ts +2 -2
  217. package/dist/160/solanaIngressEgress/depositIgnored.d.cts +2 -2
  218. package/dist/160/solanaIngressEgress/depositIgnored.d.ts +2 -2
  219. package/dist/160/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
  220. package/dist/160/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
  221. package/dist/160/swapping/batchSwapFailed.d.cts +8 -8
  222. package/dist/160/swapping/batchSwapFailed.d.ts +8 -8
  223. package/dist/160/swapping/ccmFailed.d.cts +126 -66
  224. package/dist/160/swapping/ccmFailed.d.ts +126 -66
  225. package/dist/160/swapping/maximumSwapAmountSet.d.cts +6 -6
  226. package/dist/160/swapping/maximumSwapAmountSet.d.ts +6 -6
  227. package/dist/160/swapping/refundEgressIgnored.d.cts +12 -12
  228. package/dist/160/swapping/refundEgressIgnored.d.ts +12 -12
  229. package/dist/160/swapping/refundEgressScheduled.d.cts +8 -8
  230. package/dist/160/swapping/refundEgressScheduled.d.ts +8 -8
  231. package/dist/160/swapping/swapAmountConfiscated.d.cts +7 -7
  232. package/dist/160/swapping/swapAmountConfiscated.d.ts +7 -7
  233. package/dist/160/swapping/swapDepositAddressReady.d.cts +134 -74
  234. package/dist/160/swapping/swapDepositAddressReady.d.ts +134 -74
  235. package/dist/160/swapping/swapEgressIgnored.d.cts +12 -12
  236. package/dist/160/swapping/swapEgressIgnored.d.ts +12 -12
  237. package/dist/160/swapping/swapEgressScheduled.d.cts +8 -8
  238. package/dist/160/swapping/swapEgressScheduled.d.ts +8 -8
  239. package/dist/160/swapping/swapExecuted.d.cts +12 -12
  240. package/dist/160/swapping/swapExecuted.d.ts +12 -12
  241. package/dist/160/swapping/swapRequested.d.cts +218 -128
  242. package/dist/160/swapping/swapRequested.d.ts +218 -128
  243. package/dist/160/swapping/withdrawalRequested.d.cts +64 -34
  244. package/dist/160/swapping/withdrawalRequested.d.ts +64 -34
  245. package/package.json +1 -1
@@ -11,60 +11,96 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
11
11
  __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
12
12
  }>;
13
13
  amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
14
- destinationAddress: z.ZodUnion<[z.ZodObject<{
15
- __kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
14
+ destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
15
+ __kind: z.ZodLiteral<"Eth">;
16
16
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
17
17
  }, "strip", z.ZodTypeAny, {
18
- __kind: "Ethereum";
18
+ __kind: "Eth";
19
19
  value: `0x${string}`;
20
20
  }, {
21
21
  __kind: "Eth";
22
22
  value: string;
23
- }>, z.ZodObject<{
24
- __kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
25
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
23
+ }>, {
24
+ chain: "Ethereum";
25
+ address: `0x${string}`;
26
+ }, {
27
+ __kind: "Eth";
28
+ value: string;
29
+ }>, z.ZodEffects<z.ZodObject<{
30
+ __kind: z.ZodLiteral<"Dot">;
31
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
26
32
  }, "strip", z.ZodTypeAny, {
27
- __kind: "Polkadot";
33
+ __kind: "Dot";
34
+ value: `0x${string}`;
35
+ }, {
36
+ __kind: "Dot";
28
37
  value: string;
38
+ }>, {
39
+ chain: "Polkadot";
40
+ address: string;
29
41
  }, {
30
42
  __kind: "Dot";
31
43
  value: string;
32
- }>, z.ZodObject<{
33
- __kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
34
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
44
+ }>, z.ZodEffects<z.ZodObject<{
45
+ __kind: z.ZodLiteral<"Btc">;
46
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
35
47
  }, "strip", z.ZodTypeAny, {
36
- __kind: "Bitcoin";
48
+ __kind: "Btc";
49
+ value: `0x${string}`;
50
+ }, {
51
+ __kind: "Btc";
37
52
  value: string;
53
+ }>, {
54
+ chain: "Bitcoin";
55
+ address: string;
38
56
  }, {
39
57
  __kind: "Btc";
40
58
  value: string;
41
59
  }>]>;
42
60
  origin: z.ZodUnion<[z.ZodObject<{
43
61
  __kind: z.ZodLiteral<"DepositChannel">;
44
- depositAddress: z.ZodUnion<[z.ZodObject<{
45
- __kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
62
+ depositAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
63
+ __kind: z.ZodLiteral<"Eth">;
46
64
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
47
65
  }, "strip", z.ZodTypeAny, {
48
- __kind: "Ethereum";
66
+ __kind: "Eth";
49
67
  value: `0x${string}`;
50
68
  }, {
51
69
  __kind: "Eth";
52
70
  value: string;
53
- }>, z.ZodObject<{
54
- __kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
55
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
71
+ }>, {
72
+ chain: "Ethereum";
73
+ address: `0x${string}`;
74
+ }, {
75
+ __kind: "Eth";
76
+ value: string;
77
+ }>, z.ZodEffects<z.ZodObject<{
78
+ __kind: z.ZodLiteral<"Dot">;
79
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
56
80
  }, "strip", z.ZodTypeAny, {
57
- __kind: "Polkadot";
81
+ __kind: "Dot";
82
+ value: `0x${string}`;
83
+ }, {
84
+ __kind: "Dot";
58
85
  value: string;
86
+ }>, {
87
+ chain: "Polkadot";
88
+ address: string;
59
89
  }, {
60
90
  __kind: "Dot";
61
91
  value: string;
62
- }>, z.ZodObject<{
63
- __kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
64
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
92
+ }>, z.ZodEffects<z.ZodObject<{
93
+ __kind: z.ZodLiteral<"Btc">;
94
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
65
95
  }, "strip", z.ZodTypeAny, {
66
- __kind: "Bitcoin";
96
+ __kind: "Btc";
97
+ value: `0x${string}`;
98
+ }, {
99
+ __kind: "Btc";
67
100
  value: string;
101
+ }>, {
102
+ chain: "Bitcoin";
103
+ address: string;
68
104
  }, {
69
105
  __kind: "Btc";
70
106
  value: string;
@@ -74,14 +110,14 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
74
110
  }, "strip", z.ZodTypeAny, {
75
111
  __kind: "DepositChannel";
76
112
  depositAddress: {
77
- __kind: "Ethereum";
78
- value: `0x${string}`;
113
+ chain: "Ethereum";
114
+ address: `0x${string}`;
79
115
  } | {
80
- __kind: "Polkadot";
81
- value: string;
116
+ chain: "Polkadot";
117
+ address: string;
82
118
  } | {
83
- __kind: "Bitcoin";
84
- value: string;
119
+ chain: "Bitcoin";
120
+ address: string;
85
121
  };
86
122
  channelId: bigint;
87
123
  depositBlockHeight: bigint;
@@ -113,26 +149,26 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
113
149
  asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
114
150
  amount: bigint;
115
151
  destinationAddress: {
116
- __kind: "Ethereum";
117
- value: `0x${string}`;
152
+ chain: "Ethereum";
153
+ address: `0x${string}`;
118
154
  } | {
119
- __kind: "Polkadot";
120
- value: string;
155
+ chain: "Polkadot";
156
+ address: string;
121
157
  } | {
122
- __kind: "Bitcoin";
123
- value: string;
158
+ chain: "Bitcoin";
159
+ address: string;
124
160
  };
125
161
  origin: {
126
162
  __kind: "DepositChannel";
127
163
  depositAddress: {
128
- __kind: "Ethereum";
129
- value: `0x${string}`;
164
+ chain: "Ethereum";
165
+ address: `0x${string}`;
130
166
  } | {
131
- __kind: "Polkadot";
132
- value: string;
167
+ chain: "Polkadot";
168
+ address: string;
133
169
  } | {
134
- __kind: "Bitcoin";
135
- value: string;
170
+ chain: "Bitcoin";
171
+ address: string;
136
172
  };
137
173
  channelId: bigint;
138
174
  depositBlockHeight: bigint;
@@ -1,58 +1,94 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  declare const swappingSwapDepositAddressReady: z.ZodObject<{
4
- depositAddress: z.ZodUnion<[z.ZodObject<{
5
- __kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
4
+ depositAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
5
+ __kind: z.ZodLiteral<"Eth">;
6
6
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7
7
  }, "strip", z.ZodTypeAny, {
8
- __kind: "Ethereum";
8
+ __kind: "Eth";
9
9
  value: `0x${string}`;
10
10
  }, {
11
11
  __kind: "Eth";
12
12
  value: string;
13
- }>, z.ZodObject<{
14
- __kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
15
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
13
+ }>, {
14
+ chain: "Ethereum";
15
+ address: `0x${string}`;
16
+ }, {
17
+ __kind: "Eth";
18
+ value: string;
19
+ }>, z.ZodEffects<z.ZodObject<{
20
+ __kind: z.ZodLiteral<"Dot">;
21
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
16
22
  }, "strip", z.ZodTypeAny, {
17
- __kind: "Polkadot";
23
+ __kind: "Dot";
24
+ value: `0x${string}`;
25
+ }, {
26
+ __kind: "Dot";
18
27
  value: string;
28
+ }>, {
29
+ chain: "Polkadot";
30
+ address: string;
19
31
  }, {
20
32
  __kind: "Dot";
21
33
  value: string;
22
- }>, z.ZodObject<{
23
- __kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
24
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
34
+ }>, z.ZodEffects<z.ZodObject<{
35
+ __kind: z.ZodLiteral<"Btc">;
36
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
25
37
  }, "strip", z.ZodTypeAny, {
26
- __kind: "Bitcoin";
38
+ __kind: "Btc";
39
+ value: `0x${string}`;
40
+ }, {
41
+ __kind: "Btc";
27
42
  value: string;
43
+ }>, {
44
+ chain: "Bitcoin";
45
+ address: string;
28
46
  }, {
29
47
  __kind: "Btc";
30
48
  value: string;
31
49
  }>]>;
32
- destinationAddress: z.ZodUnion<[z.ZodObject<{
33
- __kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
50
+ destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
51
+ __kind: z.ZodLiteral<"Eth">;
34
52
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
35
53
  }, "strip", z.ZodTypeAny, {
36
- __kind: "Ethereum";
54
+ __kind: "Eth";
37
55
  value: `0x${string}`;
38
56
  }, {
39
57
  __kind: "Eth";
40
58
  value: string;
41
- }>, z.ZodObject<{
42
- __kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
43
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
59
+ }>, {
60
+ chain: "Ethereum";
61
+ address: `0x${string}`;
62
+ }, {
63
+ __kind: "Eth";
64
+ value: string;
65
+ }>, z.ZodEffects<z.ZodObject<{
66
+ __kind: z.ZodLiteral<"Dot">;
67
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
44
68
  }, "strip", z.ZodTypeAny, {
45
- __kind: "Polkadot";
69
+ __kind: "Dot";
70
+ value: `0x${string}`;
71
+ }, {
72
+ __kind: "Dot";
46
73
  value: string;
74
+ }>, {
75
+ chain: "Polkadot";
76
+ address: string;
47
77
  }, {
48
78
  __kind: "Dot";
49
79
  value: string;
50
- }>, z.ZodObject<{
51
- __kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
52
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
80
+ }>, z.ZodEffects<z.ZodObject<{
81
+ __kind: z.ZodLiteral<"Btc">;
82
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
53
83
  }, "strip", z.ZodTypeAny, {
54
- __kind: "Bitcoin";
84
+ __kind: "Btc";
85
+ value: `0x${string}`;
86
+ }, {
87
+ __kind: "Btc";
55
88
  value: string;
89
+ }>, {
90
+ chain: "Bitcoin";
91
+ address: string;
56
92
  }, {
57
93
  __kind: "Btc";
58
94
  value: string;
@@ -92,27 +128,27 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
92
128
  }>>>;
93
129
  sourceChainExpiryBlock: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
94
130
  }, "strip", z.ZodTypeAny, {
95
- destinationAddress: {
96
- __kind: "Ethereum";
97
- value: `0x${string}`;
131
+ depositAddress: {
132
+ chain: "Ethereum";
133
+ address: `0x${string}`;
98
134
  } | {
99
- __kind: "Polkadot";
100
- value: string;
135
+ chain: "Polkadot";
136
+ address: string;
101
137
  } | {
102
- __kind: "Bitcoin";
103
- value: string;
138
+ chain: "Bitcoin";
139
+ address: string;
104
140
  };
105
- depositAddress: {
106
- __kind: "Ethereum";
107
- value: `0x${string}`;
141
+ channelId: bigint;
142
+ destinationAddress: {
143
+ chain: "Ethereum";
144
+ address: `0x${string}`;
108
145
  } | {
109
- __kind: "Polkadot";
110
- value: string;
146
+ chain: "Polkadot";
147
+ address: string;
111
148
  } | {
112
- __kind: "Bitcoin";
113
- value: string;
149
+ chain: "Bitcoin";
150
+ address: string;
114
151
  };
115
- channelId: bigint;
116
152
  sourceAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
117
153
  destinationAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
118
154
  brokerCommissionRate: number;
@@ -123,7 +159,7 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
123
159
  cfParameters: `0x${string}`;
124
160
  } | null | undefined;
125
161
  }, {
126
- destinationAddress: {
162
+ depositAddress: {
127
163
  __kind: "Eth";
128
164
  value: string;
129
165
  } | {
@@ -133,7 +169,8 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
133
169
  __kind: "Btc";
134
170
  value: string;
135
171
  };
136
- depositAddress: {
172
+ channelId: string | number;
173
+ destinationAddress: {
137
174
  __kind: "Eth";
138
175
  value: string;
139
176
  } | {
@@ -143,7 +180,6 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
143
180
  __kind: "Btc";
144
181
  value: string;
145
182
  };
146
- channelId: string | number;
147
183
  sourceAsset: {
148
184
  __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
149
185
  };
@@ -1,58 +1,94 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  declare const swappingSwapDepositAddressReady: z.ZodObject<{
4
- depositAddress: z.ZodUnion<[z.ZodObject<{
5
- __kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
4
+ depositAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
5
+ __kind: z.ZodLiteral<"Eth">;
6
6
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7
7
  }, "strip", z.ZodTypeAny, {
8
- __kind: "Ethereum";
8
+ __kind: "Eth";
9
9
  value: `0x${string}`;
10
10
  }, {
11
11
  __kind: "Eth";
12
12
  value: string;
13
- }>, z.ZodObject<{
14
- __kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
15
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
13
+ }>, {
14
+ chain: "Ethereum";
15
+ address: `0x${string}`;
16
+ }, {
17
+ __kind: "Eth";
18
+ value: string;
19
+ }>, z.ZodEffects<z.ZodObject<{
20
+ __kind: z.ZodLiteral<"Dot">;
21
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
16
22
  }, "strip", z.ZodTypeAny, {
17
- __kind: "Polkadot";
23
+ __kind: "Dot";
24
+ value: `0x${string}`;
25
+ }, {
26
+ __kind: "Dot";
18
27
  value: string;
28
+ }>, {
29
+ chain: "Polkadot";
30
+ address: string;
19
31
  }, {
20
32
  __kind: "Dot";
21
33
  value: string;
22
- }>, z.ZodObject<{
23
- __kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
24
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
34
+ }>, z.ZodEffects<z.ZodObject<{
35
+ __kind: z.ZodLiteral<"Btc">;
36
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
25
37
  }, "strip", z.ZodTypeAny, {
26
- __kind: "Bitcoin";
38
+ __kind: "Btc";
39
+ value: `0x${string}`;
40
+ }, {
41
+ __kind: "Btc";
27
42
  value: string;
43
+ }>, {
44
+ chain: "Bitcoin";
45
+ address: string;
28
46
  }, {
29
47
  __kind: "Btc";
30
48
  value: string;
31
49
  }>]>;
32
- destinationAddress: z.ZodUnion<[z.ZodObject<{
33
- __kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
50
+ destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
51
+ __kind: z.ZodLiteral<"Eth">;
34
52
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
35
53
  }, "strip", z.ZodTypeAny, {
36
- __kind: "Ethereum";
54
+ __kind: "Eth";
37
55
  value: `0x${string}`;
38
56
  }, {
39
57
  __kind: "Eth";
40
58
  value: string;
41
- }>, z.ZodObject<{
42
- __kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
43
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
59
+ }>, {
60
+ chain: "Ethereum";
61
+ address: `0x${string}`;
62
+ }, {
63
+ __kind: "Eth";
64
+ value: string;
65
+ }>, z.ZodEffects<z.ZodObject<{
66
+ __kind: z.ZodLiteral<"Dot">;
67
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
44
68
  }, "strip", z.ZodTypeAny, {
45
- __kind: "Polkadot";
69
+ __kind: "Dot";
70
+ value: `0x${string}`;
71
+ }, {
72
+ __kind: "Dot";
46
73
  value: string;
74
+ }>, {
75
+ chain: "Polkadot";
76
+ address: string;
47
77
  }, {
48
78
  __kind: "Dot";
49
79
  value: string;
50
- }>, z.ZodObject<{
51
- __kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
52
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
80
+ }>, z.ZodEffects<z.ZodObject<{
81
+ __kind: z.ZodLiteral<"Btc">;
82
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
53
83
  }, "strip", z.ZodTypeAny, {
54
- __kind: "Bitcoin";
84
+ __kind: "Btc";
85
+ value: `0x${string}`;
86
+ }, {
87
+ __kind: "Btc";
55
88
  value: string;
89
+ }>, {
90
+ chain: "Bitcoin";
91
+ address: string;
56
92
  }, {
57
93
  __kind: "Btc";
58
94
  value: string;
@@ -92,27 +128,27 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
92
128
  }>>>;
93
129
  sourceChainExpiryBlock: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
94
130
  }, "strip", z.ZodTypeAny, {
95
- destinationAddress: {
96
- __kind: "Ethereum";
97
- value: `0x${string}`;
131
+ depositAddress: {
132
+ chain: "Ethereum";
133
+ address: `0x${string}`;
98
134
  } | {
99
- __kind: "Polkadot";
100
- value: string;
135
+ chain: "Polkadot";
136
+ address: string;
101
137
  } | {
102
- __kind: "Bitcoin";
103
- value: string;
138
+ chain: "Bitcoin";
139
+ address: string;
104
140
  };
105
- depositAddress: {
106
- __kind: "Ethereum";
107
- value: `0x${string}`;
141
+ channelId: bigint;
142
+ destinationAddress: {
143
+ chain: "Ethereum";
144
+ address: `0x${string}`;
108
145
  } | {
109
- __kind: "Polkadot";
110
- value: string;
146
+ chain: "Polkadot";
147
+ address: string;
111
148
  } | {
112
- __kind: "Bitcoin";
113
- value: string;
149
+ chain: "Bitcoin";
150
+ address: string;
114
151
  };
115
- channelId: bigint;
116
152
  sourceAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
117
153
  destinationAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
118
154
  brokerCommissionRate: number;
@@ -123,7 +159,7 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
123
159
  cfParameters: `0x${string}`;
124
160
  } | null | undefined;
125
161
  }, {
126
- destinationAddress: {
162
+ depositAddress: {
127
163
  __kind: "Eth";
128
164
  value: string;
129
165
  } | {
@@ -133,7 +169,8 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
133
169
  __kind: "Btc";
134
170
  value: string;
135
171
  };
136
- depositAddress: {
172
+ channelId: string | number;
173
+ destinationAddress: {
137
174
  __kind: "Eth";
138
175
  value: string;
139
176
  } | {
@@ -143,7 +180,6 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
143
180
  __kind: "Btc";
144
181
  value: string;
145
182
  };
146
- channelId: string | number;
147
183
  sourceAsset: {
148
184
  __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
149
185
  };