@chainflip/processor 1.8.7 → 1.9.0

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 (181) hide show
  1. package/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
  2. package/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
  3. package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.cts +16 -16
  4. package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.ts +16 -16
  5. package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.cts +2 -2
  6. package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.ts +2 -2
  7. package/dist/100/bitcoinIngressEgress/depositIgnored.d.cts +24 -24
  8. package/dist/100/bitcoinIngressEgress/depositIgnored.d.ts +24 -24
  9. package/dist/100/bitcoinIngressEgress/depositReceived.d.cts +24 -24
  10. package/dist/100/bitcoinIngressEgress/depositReceived.d.ts +24 -24
  11. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.cts +54 -54
  12. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.ts +54 -54
  13. package/dist/100/bitcoinIngressEgress/egressScheduled.d.cts +20 -20
  14. package/dist/100/bitcoinIngressEgress/egressScheduled.d.ts +20 -20
  15. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.cts +20 -20
  16. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.ts +20 -20
  17. package/dist/100/ethereumIngressEgress/depositIgnored.d.cts +2 -2
  18. package/dist/100/ethereumIngressEgress/depositIgnored.d.ts +2 -2
  19. package/dist/100/ethereumIngressEgress/depositReceived.d.cts +2 -2
  20. package/dist/100/ethereumIngressEgress/depositReceived.d.ts +2 -2
  21. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.cts +4 -4
  22. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.ts +4 -4
  23. package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
  24. package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
  25. package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
  26. package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
  27. package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
  28. package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
  29. package/dist/100/funding/funded.d.cts +2 -2
  30. package/dist/100/funding/funded.d.ts +2 -2
  31. package/dist/100/funding/redemptionRequested.d.cts +2 -2
  32. package/dist/100/funding/redemptionRequested.d.ts +2 -2
  33. package/dist/100/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  34. package/dist/100/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  35. package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
  36. package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
  37. package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.cts +2 -2
  38. package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.ts +2 -2
  39. package/dist/100/polkadotIngressEgress/depositIgnored.d.cts +2 -2
  40. package/dist/100/polkadotIngressEgress/depositIgnored.d.ts +2 -2
  41. package/dist/100/polkadotIngressEgress/depositReceived.d.cts +2 -2
  42. package/dist/100/polkadotIngressEgress/depositReceived.d.ts +2 -2
  43. package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.cts +20 -20
  44. package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.ts +20 -20
  45. package/dist/131/environment/runtimeSafeModeUpdated.d.cts +28 -28
  46. package/dist/131/environment/runtimeSafeModeUpdated.d.ts +28 -28
  47. package/dist/131/liquidityPools/limitOrderUpdated.d.cts +2 -2
  48. package/dist/131/liquidityPools/limitOrderUpdated.d.ts +2 -2
  49. package/dist/131/liquidityPools/rangeOrderUpdated.d.cts +2 -2
  50. package/dist/131/liquidityPools/rangeOrderUpdated.d.ts +2 -2
  51. package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +4 -4
  52. package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +4 -4
  53. package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
  54. package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
  55. package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +4 -4
  56. package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +4 -4
  57. package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +4 -4
  58. package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +4 -4
  59. package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  60. package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  61. package/dist/141/polkadotIngressEgress/stoppedBoosting.d.cts +2 -2
  62. package/dist/141/polkadotIngressEgress/stoppedBoosting.d.ts +2 -2
  63. package/dist/150/solanaThresholdSigner/failureReportProcessed.d.cts +2 -2
  64. package/dist/150/solanaThresholdSigner/failureReportProcessed.d.ts +2 -2
  65. package/dist/150/solanaThresholdSigner/retryRequested.d.cts +2 -2
  66. package/dist/150/solanaThresholdSigner/retryRequested.d.ts +2 -2
  67. package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
  68. package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
  69. package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
  70. package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
  71. package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
  72. package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
  73. package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
  74. package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
  75. package/dist/160/liquidityProvider/assetTransferred.d.cts +3 -3
  76. package/dist/160/liquidityProvider/assetTransferred.d.ts +3 -3
  77. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
  78. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
  79. package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.cts +61 -61
  80. package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.ts +61 -61
  81. package/dist/160/polkadotIngressEgress/depositBoosted.d.cts +8 -8
  82. package/dist/160/polkadotIngressEgress/depositBoosted.d.ts +8 -8
  83. package/dist/160/polkadotIngressEgress/depositFinalised.d.cts +2 -2
  84. package/dist/160/polkadotIngressEgress/depositFinalised.d.ts +2 -2
  85. package/dist/170/reputation/offencePenalty.d.cts +6 -6
  86. package/dist/170/reputation/offencePenalty.d.ts +6 -6
  87. package/dist/170/reputation/penaltyUpdated.d.cts +4 -4
  88. package/dist/170/reputation/penaltyUpdated.d.ts +4 -4
  89. package/dist/170/swapping/minimumChunkSizeSet.d.cts +2 -2
  90. package/dist/170/swapping/minimumChunkSizeSet.d.ts +2 -2
  91. package/dist/170/swapping/swapRequested.d.cts +27 -27
  92. package/dist/170/swapping/swapRequested.d.ts +27 -27
  93. package/dist/180/swapping/privateBrokerChannelClosed.d.cts +2 -2
  94. package/dist/180/swapping/privateBrokerChannelClosed.d.ts +2 -2
  95. package/dist/180/swapping/privateBrokerChannelOpened.d.cts +2 -2
  96. package/dist/180/swapping/privateBrokerChannelOpened.d.ts +2 -2
  97. package/dist/180/swapping/swapDepositAddressReady.d.cts +2 -2
  98. package/dist/180/swapping/swapDepositAddressReady.d.ts +2 -2
  99. package/dist/180/swapping/swapRequested.d.cts +4 -4
  100. package/dist/180/swapping/swapRequested.d.ts +4 -4
  101. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.cjs +14 -0
  102. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.cts +532 -0
  103. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.ts +532 -0
  104. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.mjs +14 -0
  105. package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
  106. package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
  107. package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
  108. package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
  109. package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.cjs +14 -0
  110. package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.d.cts +532 -0
  111. package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.d.ts +532 -0
  112. package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.mjs +14 -0
  113. package/dist/190/bitcoinIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
  114. package/dist/190/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
  115. package/dist/190/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
  116. package/dist/190/bitcoinIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
  117. package/dist/190/common.cjs +289 -0
  118. package/dist/190/common.d.cts +2696 -0
  119. package/dist/190/common.d.ts +2696 -0
  120. package/dist/190/common.mjs +289 -0
  121. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.cjs +14 -0
  122. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.cts +532 -0
  123. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.ts +532 -0
  124. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.mjs +14 -0
  125. package/dist/190/ethereumIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
  126. package/dist/190/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
  127. package/dist/190/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
  128. package/dist/190/ethereumIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
  129. package/dist/190/liquidityPools/limitOrderUpdated.cjs +24 -0
  130. package/dist/190/liquidityPools/limitOrderUpdated.d.cts +98 -0
  131. package/dist/190/liquidityPools/limitOrderUpdated.d.ts +98 -0
  132. package/dist/190/liquidityPools/limitOrderUpdated.mjs +24 -0
  133. package/dist/190/liquidityPools/rangeOrderUpdated.cjs +22 -0
  134. package/dist/190/liquidityPools/rangeOrderUpdated.d.cts +208 -0
  135. package/dist/190/liquidityPools/rangeOrderUpdated.d.ts +208 -0
  136. package/dist/190/liquidityPools/rangeOrderUpdated.mjs +22 -0
  137. package/dist/190/polkadotIngressEgress/ccmEgressInvalid.cjs +14 -0
  138. package/dist/190/polkadotIngressEgress/ccmEgressInvalid.d.cts +532 -0
  139. package/dist/190/polkadotIngressEgress/ccmEgressInvalid.d.ts +532 -0
  140. package/dist/190/polkadotIngressEgress/ccmEgressInvalid.mjs +14 -0
  141. package/dist/190/polkadotIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
  142. package/dist/190/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
  143. package/dist/190/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
  144. package/dist/190/polkadotIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
  145. package/dist/190/solanaIngressEgress/ccmEgressInvalid.cjs +14 -0
  146. package/dist/190/solanaIngressEgress/ccmEgressInvalid.d.cts +532 -0
  147. package/dist/190/solanaIngressEgress/ccmEgressInvalid.d.ts +532 -0
  148. package/dist/190/solanaIngressEgress/ccmEgressInvalid.mjs +14 -0
  149. package/dist/190/solanaIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
  150. package/dist/190/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
  151. package/dist/190/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
  152. package/dist/190/solanaIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
  153. package/dist/190/solanaThresholdSigner/thresholdSignatureRequest.cjs +14 -0
  154. package/dist/190/solanaThresholdSigner/thresholdSignatureRequest.d.cts +313 -0
  155. package/dist/190/solanaThresholdSigner/thresholdSignatureRequest.d.ts +313 -0
  156. package/dist/190/solanaThresholdSigner/thresholdSignatureRequest.mjs +14 -0
  157. package/dist/190/swapping/creditedOnChain.cjs +12 -0
  158. package/dist/190/swapping/creditedOnChain.d.cts +30 -0
  159. package/dist/190/swapping/creditedOnChain.d.ts +30 -0
  160. package/dist/190/swapping/creditedOnChain.mjs +12 -0
  161. package/dist/190/swapping/refundedOnChain.cjs +12 -0
  162. package/dist/190/swapping/refundedOnChain.d.cts +30 -0
  163. package/dist/190/swapping/refundedOnChain.d.ts +30 -0
  164. package/dist/190/swapping/refundedOnChain.mjs +12 -0
  165. package/dist/190/swapping/swapRequested.cjs +25 -0
  166. package/dist/190/swapping/swapRequested.d.cts +851 -0
  167. package/dist/190/swapping/swapRequested.d.ts +851 -0
  168. package/dist/190/swapping/swapRequested.mjs +25 -0
  169. package/dist/190/tradingStrategy/fundsAddedToStrategy.cjs +10 -0
  170. package/dist/190/tradingStrategy/fundsAddedToStrategy.d.cts +24 -0
  171. package/dist/190/tradingStrategy/fundsAddedToStrategy.d.ts +24 -0
  172. package/dist/190/tradingStrategy/fundsAddedToStrategy.mjs +10 -0
  173. package/dist/190/tradingStrategy/strategyClosed.cjs +7 -0
  174. package/dist/190/tradingStrategy/strategyClosed.d.cts +11 -0
  175. package/dist/190/tradingStrategy/strategyClosed.d.ts +11 -0
  176. package/dist/190/tradingStrategy/strategyClosed.mjs +7 -0
  177. package/dist/190/tradingStrategy/strategyDeployed.cjs +11 -0
  178. package/dist/190/tradingStrategy/strategyDeployed.d.cts +54 -0
  179. package/dist/190/tradingStrategy/strategyDeployed.d.ts +54 -0
  180. package/dist/190/tradingStrategy/strategyDeployed.mjs +11 -0
  181. package/package.json +2 -2
@@ -0,0 +1,98 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
4
+ lp: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5
+ baseAsset: z.ZodEffects<z.ZodObject<{
6
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
9
+ }, {
10
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
11
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
12
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
13
+ }>;
14
+ quoteAsset: z.ZodEffects<z.ZodObject<{
15
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
18
+ }, {
19
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
20
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
21
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
22
+ }>;
23
+ side: z.ZodEffects<z.ZodObject<{
24
+ __kind: z.ZodEnum<["Buy", "Sell"]>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ __kind: "Buy" | "Sell";
27
+ }, {
28
+ __kind: "Buy" | "Sell";
29
+ }>, "Buy" | "Sell", {
30
+ __kind: "Buy" | "Sell";
31
+ }>;
32
+ id: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
33
+ tick: z.ZodNumber;
34
+ sellAmountChange: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
35
+ __kind: z.ZodLiteral<"Increase">;
36
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ value: bigint;
39
+ __kind: "Increase";
40
+ }, {
41
+ value: string | number;
42
+ __kind: "Increase";
43
+ }>, z.ZodObject<{
44
+ __kind: z.ZodLiteral<"Decrease">;
45
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ value: bigint;
48
+ __kind: "Decrease";
49
+ }, {
50
+ value: string | number;
51
+ __kind: "Decrease";
52
+ }>]>>>;
53
+ sellAmountTotal: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
54
+ collectedFees: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
55
+ boughtAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ lp: string;
58
+ baseAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
59
+ quoteAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
60
+ side: "Buy" | "Sell";
61
+ id: bigint;
62
+ tick: number;
63
+ sellAmountTotal: bigint;
64
+ collectedFees: bigint;
65
+ boughtAmount: bigint;
66
+ sellAmountChange?: {
67
+ value: bigint;
68
+ __kind: "Increase";
69
+ } | {
70
+ value: bigint;
71
+ __kind: "Decrease";
72
+ } | null | undefined;
73
+ }, {
74
+ lp: string;
75
+ baseAsset: {
76
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
77
+ };
78
+ quoteAsset: {
79
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
80
+ };
81
+ side: {
82
+ __kind: "Buy" | "Sell";
83
+ };
84
+ id: string | number;
85
+ tick: number;
86
+ sellAmountTotal: string | number;
87
+ collectedFees: string | number;
88
+ boughtAmount: string | number;
89
+ sellAmountChange?: {
90
+ value: string | number;
91
+ __kind: "Increase";
92
+ } | {
93
+ value: string | number;
94
+ __kind: "Decrease";
95
+ } | null | undefined;
96
+ }>;
97
+
98
+ export { liquidityPoolsLimitOrderUpdated };
@@ -0,0 +1,98 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
4
+ lp: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5
+ baseAsset: z.ZodEffects<z.ZodObject<{
6
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
9
+ }, {
10
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
11
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
12
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
13
+ }>;
14
+ quoteAsset: z.ZodEffects<z.ZodObject<{
15
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
18
+ }, {
19
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
20
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
21
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
22
+ }>;
23
+ side: z.ZodEffects<z.ZodObject<{
24
+ __kind: z.ZodEnum<["Buy", "Sell"]>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ __kind: "Buy" | "Sell";
27
+ }, {
28
+ __kind: "Buy" | "Sell";
29
+ }>, "Buy" | "Sell", {
30
+ __kind: "Buy" | "Sell";
31
+ }>;
32
+ id: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
33
+ tick: z.ZodNumber;
34
+ sellAmountChange: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
35
+ __kind: z.ZodLiteral<"Increase">;
36
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ value: bigint;
39
+ __kind: "Increase";
40
+ }, {
41
+ value: string | number;
42
+ __kind: "Increase";
43
+ }>, z.ZodObject<{
44
+ __kind: z.ZodLiteral<"Decrease">;
45
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ value: bigint;
48
+ __kind: "Decrease";
49
+ }, {
50
+ value: string | number;
51
+ __kind: "Decrease";
52
+ }>]>>>;
53
+ sellAmountTotal: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
54
+ collectedFees: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
55
+ boughtAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ lp: string;
58
+ baseAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
59
+ quoteAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
60
+ side: "Buy" | "Sell";
61
+ id: bigint;
62
+ tick: number;
63
+ sellAmountTotal: bigint;
64
+ collectedFees: bigint;
65
+ boughtAmount: bigint;
66
+ sellAmountChange?: {
67
+ value: bigint;
68
+ __kind: "Increase";
69
+ } | {
70
+ value: bigint;
71
+ __kind: "Decrease";
72
+ } | null | undefined;
73
+ }, {
74
+ lp: string;
75
+ baseAsset: {
76
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
77
+ };
78
+ quoteAsset: {
79
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
80
+ };
81
+ side: {
82
+ __kind: "Buy" | "Sell";
83
+ };
84
+ id: string | number;
85
+ tick: number;
86
+ sellAmountTotal: string | number;
87
+ collectedFees: string | number;
88
+ boughtAmount: string | number;
89
+ sellAmountChange?: {
90
+ value: string | number;
91
+ __kind: "Increase";
92
+ } | {
93
+ value: string | number;
94
+ __kind: "Decrease";
95
+ } | null | undefined;
96
+ }>;
97
+
98
+ export { liquidityPoolsLimitOrderUpdated };
@@ -0,0 +1,24 @@
1
+ // generated/190/liquidityPools/limitOrderUpdated.ts
2
+ import { z } from "zod";
3
+ import {
4
+ accountId,
5
+ cfAmmCommonSide,
6
+ cfPrimitivesChainsAssetsAnyAsset,
7
+ cfTraitsLiquidityIncreaseOrDecreaseU128,
8
+ numberOrHex
9
+ } from "../common.mjs";
10
+ var liquidityPoolsLimitOrderUpdated = z.object({
11
+ lp: accountId,
12
+ baseAsset: cfPrimitivesChainsAssetsAnyAsset,
13
+ quoteAsset: cfPrimitivesChainsAssetsAnyAsset,
14
+ side: cfAmmCommonSide,
15
+ id: numberOrHex,
16
+ tick: z.number(),
17
+ sellAmountChange: cfTraitsLiquidityIncreaseOrDecreaseU128.nullish(),
18
+ sellAmountTotal: numberOrHex,
19
+ collectedFees: numberOrHex,
20
+ boughtAmount: numberOrHex
21
+ });
22
+ export {
23
+ liquidityPoolsLimitOrderUpdated
24
+ };
@@ -0,0 +1,22 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/190/liquidityPools/rangeOrderUpdated.ts
2
+ var _zod = require('zod');
3
+
4
+
5
+
6
+
7
+
8
+
9
+ var _commoncjs = require('../common.cjs');
10
+ var liquidityPoolsRangeOrderUpdated = _zod.z.object({
11
+ lp: _commoncjs.accountId,
12
+ baseAsset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
13
+ quoteAsset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
14
+ id: _commoncjs.numberOrHex,
15
+ tickRange: _zod.z.object({ start: _zod.z.number(), end: _zod.z.number() }),
16
+ sizeChange: _commoncjs.cfTraitsLiquidityIncreaseOrDecreaseRangeOrderChange.nullish(),
17
+ liquidityTotal: _commoncjs.numberOrHex,
18
+ collectedFees: _commoncjs.cfAmmCommonPoolPairsMap
19
+ });
20
+
21
+
22
+ exports.liquidityPoolsRangeOrderUpdated = liquidityPoolsRangeOrderUpdated;
@@ -0,0 +1,208 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
4
+ lp: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5
+ baseAsset: z.ZodEffects<z.ZodObject<{
6
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
9
+ }, {
10
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
11
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
12
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
13
+ }>;
14
+ quoteAsset: z.ZodEffects<z.ZodObject<{
15
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
18
+ }, {
19
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
20
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
21
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
22
+ }>;
23
+ id: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
24
+ tickRange: z.ZodObject<{
25
+ start: z.ZodNumber;
26
+ end: z.ZodNumber;
27
+ }, "strip", z.ZodTypeAny, {
28
+ start: number;
29
+ end: number;
30
+ }, {
31
+ start: number;
32
+ end: number;
33
+ }>;
34
+ sizeChange: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
35
+ __kind: z.ZodLiteral<"Increase">;
36
+ value: z.ZodObject<{
37
+ liquidity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
38
+ amounts: z.ZodObject<{
39
+ base: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
40
+ quote: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ base: bigint;
43
+ quote: bigint;
44
+ }, {
45
+ base: string | number;
46
+ quote: string | number;
47
+ }>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ liquidity: bigint;
50
+ amounts: {
51
+ base: bigint;
52
+ quote: bigint;
53
+ };
54
+ }, {
55
+ liquidity: string | number;
56
+ amounts: {
57
+ base: string | number;
58
+ quote: string | number;
59
+ };
60
+ }>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ value: {
63
+ liquidity: bigint;
64
+ amounts: {
65
+ base: bigint;
66
+ quote: bigint;
67
+ };
68
+ };
69
+ __kind: "Increase";
70
+ }, {
71
+ value: {
72
+ liquidity: string | number;
73
+ amounts: {
74
+ base: string | number;
75
+ quote: string | number;
76
+ };
77
+ };
78
+ __kind: "Increase";
79
+ }>, z.ZodObject<{
80
+ __kind: z.ZodLiteral<"Decrease">;
81
+ value: z.ZodObject<{
82
+ liquidity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
83
+ amounts: z.ZodObject<{
84
+ base: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
85
+ quote: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
86
+ }, "strip", z.ZodTypeAny, {
87
+ base: bigint;
88
+ quote: bigint;
89
+ }, {
90
+ base: string | number;
91
+ quote: string | number;
92
+ }>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ liquidity: bigint;
95
+ amounts: {
96
+ base: bigint;
97
+ quote: bigint;
98
+ };
99
+ }, {
100
+ liquidity: string | number;
101
+ amounts: {
102
+ base: string | number;
103
+ quote: string | number;
104
+ };
105
+ }>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ value: {
108
+ liquidity: bigint;
109
+ amounts: {
110
+ base: bigint;
111
+ quote: bigint;
112
+ };
113
+ };
114
+ __kind: "Decrease";
115
+ }, {
116
+ value: {
117
+ liquidity: string | number;
118
+ amounts: {
119
+ base: string | number;
120
+ quote: string | number;
121
+ };
122
+ };
123
+ __kind: "Decrease";
124
+ }>]>>>;
125
+ liquidityTotal: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
126
+ collectedFees: z.ZodObject<{
127
+ base: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
128
+ quote: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
129
+ }, "strip", z.ZodTypeAny, {
130
+ base: bigint;
131
+ quote: bigint;
132
+ }, {
133
+ base: string | number;
134
+ quote: string | number;
135
+ }>;
136
+ }, "strip", z.ZodTypeAny, {
137
+ lp: string;
138
+ baseAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
139
+ quoteAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
140
+ id: bigint;
141
+ collectedFees: {
142
+ base: bigint;
143
+ quote: bigint;
144
+ };
145
+ tickRange: {
146
+ start: number;
147
+ end: number;
148
+ };
149
+ liquidityTotal: bigint;
150
+ sizeChange?: {
151
+ value: {
152
+ liquidity: bigint;
153
+ amounts: {
154
+ base: bigint;
155
+ quote: bigint;
156
+ };
157
+ };
158
+ __kind: "Increase";
159
+ } | {
160
+ value: {
161
+ liquidity: bigint;
162
+ amounts: {
163
+ base: bigint;
164
+ quote: bigint;
165
+ };
166
+ };
167
+ __kind: "Decrease";
168
+ } | null | undefined;
169
+ }, {
170
+ lp: string;
171
+ baseAsset: {
172
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
173
+ };
174
+ quoteAsset: {
175
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
176
+ };
177
+ id: string | number;
178
+ collectedFees: {
179
+ base: string | number;
180
+ quote: string | number;
181
+ };
182
+ tickRange: {
183
+ start: number;
184
+ end: number;
185
+ };
186
+ liquidityTotal: string | number;
187
+ sizeChange?: {
188
+ value: {
189
+ liquidity: string | number;
190
+ amounts: {
191
+ base: string | number;
192
+ quote: string | number;
193
+ };
194
+ };
195
+ __kind: "Increase";
196
+ } | {
197
+ value: {
198
+ liquidity: string | number;
199
+ amounts: {
200
+ base: string | number;
201
+ quote: string | number;
202
+ };
203
+ };
204
+ __kind: "Decrease";
205
+ } | null | undefined;
206
+ }>;
207
+
208
+ export { liquidityPoolsRangeOrderUpdated };
@@ -0,0 +1,208 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
4
+ lp: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5
+ baseAsset: z.ZodEffects<z.ZodObject<{
6
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
9
+ }, {
10
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
11
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
12
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
13
+ }>;
14
+ quoteAsset: z.ZodEffects<z.ZodObject<{
15
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
18
+ }, {
19
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
20
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
21
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
22
+ }>;
23
+ id: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
24
+ tickRange: z.ZodObject<{
25
+ start: z.ZodNumber;
26
+ end: z.ZodNumber;
27
+ }, "strip", z.ZodTypeAny, {
28
+ start: number;
29
+ end: number;
30
+ }, {
31
+ start: number;
32
+ end: number;
33
+ }>;
34
+ sizeChange: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
35
+ __kind: z.ZodLiteral<"Increase">;
36
+ value: z.ZodObject<{
37
+ liquidity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
38
+ amounts: z.ZodObject<{
39
+ base: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
40
+ quote: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ base: bigint;
43
+ quote: bigint;
44
+ }, {
45
+ base: string | number;
46
+ quote: string | number;
47
+ }>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ liquidity: bigint;
50
+ amounts: {
51
+ base: bigint;
52
+ quote: bigint;
53
+ };
54
+ }, {
55
+ liquidity: string | number;
56
+ amounts: {
57
+ base: string | number;
58
+ quote: string | number;
59
+ };
60
+ }>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ value: {
63
+ liquidity: bigint;
64
+ amounts: {
65
+ base: bigint;
66
+ quote: bigint;
67
+ };
68
+ };
69
+ __kind: "Increase";
70
+ }, {
71
+ value: {
72
+ liquidity: string | number;
73
+ amounts: {
74
+ base: string | number;
75
+ quote: string | number;
76
+ };
77
+ };
78
+ __kind: "Increase";
79
+ }>, z.ZodObject<{
80
+ __kind: z.ZodLiteral<"Decrease">;
81
+ value: z.ZodObject<{
82
+ liquidity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
83
+ amounts: z.ZodObject<{
84
+ base: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
85
+ quote: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
86
+ }, "strip", z.ZodTypeAny, {
87
+ base: bigint;
88
+ quote: bigint;
89
+ }, {
90
+ base: string | number;
91
+ quote: string | number;
92
+ }>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ liquidity: bigint;
95
+ amounts: {
96
+ base: bigint;
97
+ quote: bigint;
98
+ };
99
+ }, {
100
+ liquidity: string | number;
101
+ amounts: {
102
+ base: string | number;
103
+ quote: string | number;
104
+ };
105
+ }>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ value: {
108
+ liquidity: bigint;
109
+ amounts: {
110
+ base: bigint;
111
+ quote: bigint;
112
+ };
113
+ };
114
+ __kind: "Decrease";
115
+ }, {
116
+ value: {
117
+ liquidity: string | number;
118
+ amounts: {
119
+ base: string | number;
120
+ quote: string | number;
121
+ };
122
+ };
123
+ __kind: "Decrease";
124
+ }>]>>>;
125
+ liquidityTotal: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
126
+ collectedFees: z.ZodObject<{
127
+ base: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
128
+ quote: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
129
+ }, "strip", z.ZodTypeAny, {
130
+ base: bigint;
131
+ quote: bigint;
132
+ }, {
133
+ base: string | number;
134
+ quote: string | number;
135
+ }>;
136
+ }, "strip", z.ZodTypeAny, {
137
+ lp: string;
138
+ baseAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
139
+ quoteAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
140
+ id: bigint;
141
+ collectedFees: {
142
+ base: bigint;
143
+ quote: bigint;
144
+ };
145
+ tickRange: {
146
+ start: number;
147
+ end: number;
148
+ };
149
+ liquidityTotal: bigint;
150
+ sizeChange?: {
151
+ value: {
152
+ liquidity: bigint;
153
+ amounts: {
154
+ base: bigint;
155
+ quote: bigint;
156
+ };
157
+ };
158
+ __kind: "Increase";
159
+ } | {
160
+ value: {
161
+ liquidity: bigint;
162
+ amounts: {
163
+ base: bigint;
164
+ quote: bigint;
165
+ };
166
+ };
167
+ __kind: "Decrease";
168
+ } | null | undefined;
169
+ }, {
170
+ lp: string;
171
+ baseAsset: {
172
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
173
+ };
174
+ quoteAsset: {
175
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
176
+ };
177
+ id: string | number;
178
+ collectedFees: {
179
+ base: string | number;
180
+ quote: string | number;
181
+ };
182
+ tickRange: {
183
+ start: number;
184
+ end: number;
185
+ };
186
+ liquidityTotal: string | number;
187
+ sizeChange?: {
188
+ value: {
189
+ liquidity: string | number;
190
+ amounts: {
191
+ base: string | number;
192
+ quote: string | number;
193
+ };
194
+ };
195
+ __kind: "Increase";
196
+ } | {
197
+ value: {
198
+ liquidity: string | number;
199
+ amounts: {
200
+ base: string | number;
201
+ quote: string | number;
202
+ };
203
+ };
204
+ __kind: "Decrease";
205
+ } | null | undefined;
206
+ }>;
207
+
208
+ export { liquidityPoolsRangeOrderUpdated };