@chainflip/processor 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/dist/100/common.cjs +16 -26
  2. package/dist/100/common.d.cts +84 -171
  3. package/dist/100/common.d.ts +84 -171
  4. package/dist/100/common.mjs +16 -26
  5. package/dist/100/liquidityPools/limitOrderUpdated.cjs +1 -1
  6. package/dist/100/liquidityPools/limitOrderUpdated.d.cts +10 -106
  7. package/dist/100/liquidityPools/limitOrderUpdated.d.ts +10 -106
  8. package/dist/100/liquidityPools/limitOrderUpdated.mjs +2 -2
  9. package/dist/100/liquidityPools/rangeOrderUpdated.cjs +1 -1
  10. package/dist/100/liquidityPools/rangeOrderUpdated.mjs +2 -2
  11. package/dist/100/swapping/swapAmountTooLow.d.cts +5 -19
  12. package/dist/100/swapping/swapAmountTooLow.d.ts +5 -19
  13. package/dist/100/swapping/swapScheduled.d.cts +5 -19
  14. package/dist/100/swapping/swapScheduled.d.ts +5 -19
  15. package/dist/100/validator/palletConfigUpdated.d.cts +90 -218
  16. package/dist/100/validator/palletConfigUpdated.d.ts +90 -218
  17. package/dist/102/common.cjs +9 -27
  18. package/dist/102/common.d.cts +61 -167
  19. package/dist/102/common.d.ts +61 -167
  20. package/dist/102/common.mjs +9 -27
  21. package/dist/102/validator/palletConfigUpdated.d.cts +87 -229
  22. package/dist/102/validator/palletConfigUpdated.d.ts +87 -229
  23. package/dist/111/common.cjs +7 -2
  24. package/dist/111/common.d.cts +21 -2
  25. package/dist/111/common.d.ts +21 -2
  26. package/dist/111/common.mjs +7 -2
  27. package/dist/111/liquidityPools/limitOrderUpdated.cjs +1 -1
  28. package/dist/111/liquidityPools/limitOrderUpdated.d.cts +10 -106
  29. package/dist/111/liquidityPools/limitOrderUpdated.d.ts +10 -106
  30. package/dist/111/liquidityPools/limitOrderUpdated.mjs +2 -2
  31. package/dist/111/liquidityPools/rangeOrderUpdated.cjs +1 -1
  32. package/dist/111/liquidityPools/rangeOrderUpdated.mjs +2 -2
  33. package/dist/120/bitcoinIngressEgress/depositIgnored.cjs +1 -1
  34. package/dist/120/bitcoinIngressEgress/depositIgnored.mjs +2 -2
  35. package/dist/120/bitcoinIngressEgress/depositReceived.cjs +1 -1
  36. package/dist/120/bitcoinIngressEgress/depositReceived.d.cts +10 -38
  37. package/dist/120/bitcoinIngressEgress/depositReceived.d.ts +10 -38
  38. package/dist/120/bitcoinIngressEgress/depositReceived.mjs +2 -2
  39. package/dist/120/common.cjs +5 -35
  40. package/dist/120/common.d.cts +9 -185
  41. package/dist/120/common.d.ts +9 -185
  42. package/dist/120/common.mjs +6 -36
  43. package/dist/120/ethereumIngressEgress/depositIgnored.cjs +1 -1
  44. package/dist/120/ethereumIngressEgress/depositIgnored.mjs +2 -2
  45. package/dist/120/ethereumIngressEgress/depositReceived.cjs +1 -1
  46. package/dist/120/ethereumIngressEgress/depositReceived.d.cts +10 -38
  47. package/dist/120/ethereumIngressEgress/depositReceived.d.ts +10 -38
  48. package/dist/120/ethereumIngressEgress/depositReceived.mjs +2 -2
  49. package/dist/120/polkadotIngressEgress/depositIgnored.cjs +1 -1
  50. package/dist/120/polkadotIngressEgress/depositIgnored.mjs +2 -2
  51. package/dist/120/polkadotIngressEgress/depositReceived.cjs +1 -1
  52. package/dist/120/polkadotIngressEgress/depositReceived.d.cts +10 -38
  53. package/dist/120/polkadotIngressEgress/depositReceived.d.ts +10 -38
  54. package/dist/120/polkadotIngressEgress/depositReceived.mjs +2 -2
  55. package/dist/120/swapping/swapEgressIgnored.d.cts +2 -2
  56. package/dist/120/swapping/swapEgressIgnored.d.ts +2 -2
  57. package/dist/120/swapping/swapEgressScheduled.d.cts +2 -2
  58. package/dist/120/swapping/swapEgressScheduled.d.ts +2 -2
  59. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
  60. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
  61. package/dist/131/bitcoinIngressEgress/depositIgnored.cjs +1 -1
  62. package/dist/131/bitcoinIngressEgress/depositIgnored.mjs +2 -2
  63. package/dist/131/bitcoinIngressEgress/depositReceived.cjs +1 -1
  64. package/dist/131/bitcoinIngressEgress/depositReceived.d.cts +10 -38
  65. package/dist/131/bitcoinIngressEgress/depositReceived.d.ts +10 -38
  66. package/dist/131/bitcoinIngressEgress/depositReceived.mjs +2 -2
  67. package/dist/131/common.cjs +11 -21
  68. package/dist/131/common.d.cts +32 -121
  69. package/dist/131/common.d.ts +32 -121
  70. package/dist/131/common.mjs +14 -24
  71. package/dist/131/ethereumIngressEgress/depositIgnored.cjs +1 -1
  72. package/dist/131/ethereumIngressEgress/depositIgnored.mjs +2 -2
  73. package/dist/131/ethereumIngressEgress/depositReceived.cjs +1 -1
  74. package/dist/131/ethereumIngressEgress/depositReceived.d.cts +10 -38
  75. package/dist/131/ethereumIngressEgress/depositReceived.d.ts +10 -38
  76. package/dist/131/ethereumIngressEgress/depositReceived.mjs +2 -2
  77. package/dist/131/ethereumIngressEgress/transferFallbackRequested.d.cts +2 -2
  78. package/dist/131/ethereumIngressEgress/transferFallbackRequested.d.ts +2 -2
  79. package/dist/131/liquidityPools/limitOrderUpdated.cjs +1 -1
  80. package/dist/131/liquidityPools/limitOrderUpdated.d.cts +10 -106
  81. package/dist/131/liquidityPools/limitOrderUpdated.d.ts +10 -106
  82. package/dist/131/liquidityPools/limitOrderUpdated.mjs +2 -2
  83. package/dist/131/liquidityPools/rangeOrderUpdated.cjs +1 -1
  84. package/dist/131/liquidityPools/rangeOrderUpdated.mjs +2 -2
  85. package/dist/131/swapping/ccmFailed.d.cts +5 -19
  86. package/dist/131/swapping/ccmFailed.d.ts +5 -19
  87. package/dist/131/swapping/swapScheduled.d.cts +5 -19
  88. package/dist/131/swapping/swapScheduled.d.ts +5 -19
  89. package/dist/141/arbitrumIngressEgress/depositBoosted.cjs +1 -1
  90. package/dist/141/arbitrumIngressEgress/depositBoosted.d.cts +15 -57
  91. package/dist/141/arbitrumIngressEgress/depositBoosted.d.ts +15 -57
  92. package/dist/141/arbitrumIngressEgress/depositBoosted.mjs +2 -2
  93. package/dist/141/arbitrumIngressEgress/depositFinalised.cjs +1 -1
  94. package/dist/141/arbitrumIngressEgress/depositFinalised.d.cts +15 -57
  95. package/dist/141/arbitrumIngressEgress/depositFinalised.d.ts +15 -57
  96. package/dist/141/arbitrumIngressEgress/depositFinalised.mjs +2 -2
  97. package/dist/141/arbitrumIngressEgress/depositIgnored.cjs +1 -1
  98. package/dist/141/arbitrumIngressEgress/depositIgnored.mjs +2 -2
  99. package/dist/141/bitcoinIngressEgress/depositBoosted.cjs +1 -1
  100. package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +15 -57
  101. package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +15 -57
  102. package/dist/141/bitcoinIngressEgress/depositBoosted.mjs +2 -2
  103. package/dist/141/bitcoinIngressEgress/depositFinalised.cjs +1 -1
  104. package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +15 -57
  105. package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +15 -57
  106. package/dist/141/bitcoinIngressEgress/depositFinalised.mjs +2 -2
  107. package/dist/141/common.cjs +12 -52
  108. package/dist/141/common.d.cts +35 -320
  109. package/dist/141/common.d.ts +35 -320
  110. package/dist/141/common.mjs +15 -55
  111. package/dist/141/ethereumIngressEgress/depositBoosted.cjs +1 -1
  112. package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +15 -57
  113. package/dist/141/ethereumIngressEgress/depositBoosted.d.ts +15 -57
  114. package/dist/141/ethereumIngressEgress/depositBoosted.mjs +2 -2
  115. package/dist/141/ethereumIngressEgress/depositFinalised.cjs +1 -1
  116. package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +15 -57
  117. package/dist/141/ethereumIngressEgress/depositFinalised.d.ts +15 -57
  118. package/dist/141/ethereumIngressEgress/depositFinalised.mjs +2 -2
  119. package/dist/141/liquidityPools/limitOrderUpdated.cjs +1 -1
  120. package/dist/141/liquidityPools/limitOrderUpdated.d.cts +10 -106
  121. package/dist/141/liquidityPools/limitOrderUpdated.d.ts +10 -106
  122. package/dist/141/liquidityPools/limitOrderUpdated.mjs +2 -2
  123. package/dist/141/liquidityPools/rangeOrderUpdated.cjs +1 -1
  124. package/dist/141/liquidityPools/rangeOrderUpdated.mjs +2 -2
  125. package/dist/141/polkadotIngressEgress/depositBoosted.cjs +1 -1
  126. package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +15 -57
  127. package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +15 -57
  128. package/dist/141/polkadotIngressEgress/depositBoosted.mjs +2 -2
  129. package/dist/141/polkadotIngressEgress/depositFinalised.cjs +1 -1
  130. package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +15 -57
  131. package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +15 -57
  132. package/dist/141/polkadotIngressEgress/depositFinalised.mjs +2 -2
  133. package/dist/141/swapping/ccmFailed.d.cts +5 -19
  134. package/dist/141/swapping/ccmFailed.d.ts +5 -19
  135. package/dist/141/swapping/swapScheduled.d.cts +5 -19
  136. package/dist/141/swapping/swapScheduled.d.ts +5 -19
  137. package/package.json +1 -1
@@ -15,42 +15,22 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
15
15
  ingressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
16
16
  action: z.ZodUnion<[z.ZodObject<{
17
17
  __kind: z.ZodLiteral<"Swap">;
18
- value: z.ZodObject<{
19
- swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
20
- }, "strip", z.ZodTypeAny, {
21
- swapId: bigint;
22
- }, {
23
- swapId: string | number;
24
- }>;
18
+ swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
25
19
  }, "strip", z.ZodTypeAny, {
26
- value: {
27
- swapId: bigint;
28
- };
29
20
  __kind: "Swap";
21
+ swapId: bigint;
30
22
  }, {
31
- value: {
32
- swapId: string | number;
33
- };
34
23
  __kind: "Swap";
24
+ swapId: string | number;
35
25
  }>, z.ZodObject<{
36
26
  __kind: z.ZodLiteral<"LiquidityProvision">;
37
- value: z.ZodObject<{
38
- lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
39
- }, "strip", z.ZodTypeAny, {
40
- lpAccount: string;
41
- }, {
42
- lpAccount: string;
43
- }>;
27
+ lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
44
28
  }, "strip", z.ZodTypeAny, {
45
- value: {
46
- lpAccount: string;
47
- };
48
29
  __kind: "LiquidityProvision";
30
+ lpAccount: string;
49
31
  }, {
50
- value: {
51
- lpAccount: string;
52
- };
53
32
  __kind: "LiquidityProvision";
33
+ lpAccount: string;
54
34
  }>, z.ZodObject<{
55
35
  __kind: z.ZodLiteral<"CcmTransfer">;
56
36
  value: z.ZodObject<{
@@ -88,15 +68,11 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
88
68
  amount: bigint;
89
69
  ingressFee: bigint;
90
70
  action: {
91
- value: {
92
- swapId: bigint;
93
- };
94
71
  __kind: "Swap";
72
+ swapId: bigint;
95
73
  } | {
96
- value: {
97
- lpAccount: string;
98
- };
99
74
  __kind: "LiquidityProvision";
75
+ lpAccount: string;
100
76
  } | {
101
77
  value: {
102
78
  principalSwapId?: bigint | null | undefined;
@@ -114,15 +90,11 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
114
90
  amount: string | number;
115
91
  ingressFee: string | number;
116
92
  action: {
117
- value: {
118
- swapId: string | number;
119
- };
120
93
  __kind: "Swap";
94
+ swapId: string | number;
121
95
  } | {
122
- value: {
123
- lpAccount: string;
124
- };
125
96
  __kind: "LiquidityProvision";
97
+ lpAccount: string;
126
98
  } | {
127
99
  value: {
128
100
  principalSwapId?: string | number | null | undefined;
@@ -15,42 +15,22 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
15
15
  ingressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
16
16
  action: z.ZodUnion<[z.ZodObject<{
17
17
  __kind: z.ZodLiteral<"Swap">;
18
- value: z.ZodObject<{
19
- swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
20
- }, "strip", z.ZodTypeAny, {
21
- swapId: bigint;
22
- }, {
23
- swapId: string | number;
24
- }>;
18
+ swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
25
19
  }, "strip", z.ZodTypeAny, {
26
- value: {
27
- swapId: bigint;
28
- };
29
20
  __kind: "Swap";
21
+ swapId: bigint;
30
22
  }, {
31
- value: {
32
- swapId: string | number;
33
- };
34
23
  __kind: "Swap";
24
+ swapId: string | number;
35
25
  }>, z.ZodObject<{
36
26
  __kind: z.ZodLiteral<"LiquidityProvision">;
37
- value: z.ZodObject<{
38
- lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
39
- }, "strip", z.ZodTypeAny, {
40
- lpAccount: string;
41
- }, {
42
- lpAccount: string;
43
- }>;
27
+ lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
44
28
  }, "strip", z.ZodTypeAny, {
45
- value: {
46
- lpAccount: string;
47
- };
48
29
  __kind: "LiquidityProvision";
30
+ lpAccount: string;
49
31
  }, {
50
- value: {
51
- lpAccount: string;
52
- };
53
32
  __kind: "LiquidityProvision";
33
+ lpAccount: string;
54
34
  }>, z.ZodObject<{
55
35
  __kind: z.ZodLiteral<"CcmTransfer">;
56
36
  value: z.ZodObject<{
@@ -88,15 +68,11 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
88
68
  amount: bigint;
89
69
  ingressFee: bigint;
90
70
  action: {
91
- value: {
92
- swapId: bigint;
93
- };
94
71
  __kind: "Swap";
72
+ swapId: bigint;
95
73
  } | {
96
- value: {
97
- lpAccount: string;
98
- };
99
74
  __kind: "LiquidityProvision";
75
+ lpAccount: string;
100
76
  } | {
101
77
  value: {
102
78
  principalSwapId?: bigint | null | undefined;
@@ -114,15 +90,11 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
114
90
  amount: string | number;
115
91
  ingressFee: string | number;
116
92
  action: {
117
- value: {
118
- swapId: string | number;
119
- };
120
93
  __kind: "Swap";
94
+ swapId: string | number;
121
95
  } | {
122
- value: {
123
- lpAccount: string;
124
- };
125
96
  __kind: "LiquidityProvision";
97
+ lpAccount: string;
126
98
  } | {
127
99
  value: {
128
100
  principalSwapId?: string | number | null | undefined;
@@ -4,14 +4,14 @@ import {
4
4
  cfPrimitivesChainsAssetsEthAsset,
5
5
  hexString,
6
6
  numberOrHex,
7
- palletCfEthereumIngressEgressPalletDepositAction
7
+ palletCfIngressEgressDepositAction
8
8
  } from "../common.mjs";
9
9
  var ethereumIngressEgressDepositReceived = z.object({
10
10
  depositAddress: hexString,
11
11
  asset: cfPrimitivesChainsAssetsEthAsset,
12
12
  amount: numberOrHex,
13
13
  ingressFee: numberOrHex,
14
- action: palletCfEthereumIngressEgressPalletDepositAction
14
+ action: palletCfIngressEgressDepositAction
15
15
  });
16
16
  export {
17
17
  ethereumIngressEgressDepositReceived
@@ -14,16 +14,16 @@ declare const ethereumIngressEgressTransferFallbackRequested: z.ZodObject<{
14
14
  destinationAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
15
15
  broadcastId: z.ZodNumber;
16
16
  }, "strip", z.ZodTypeAny, {
17
- broadcastId: number;
18
17
  asset: "Eth" | "Flip" | "Usdc" | "Usdt";
19
18
  amount: bigint;
19
+ broadcastId: number;
20
20
  destinationAddress: `0x${string}`;
21
21
  }, {
22
- broadcastId: number;
23
22
  asset: {
24
23
  __kind: "Eth" | "Flip" | "Usdc" | "Usdt";
25
24
  };
26
25
  amount: string | number;
26
+ broadcastId: number;
27
27
  destinationAddress: string;
28
28
  }>;
29
29
 
@@ -14,16 +14,16 @@ declare const ethereumIngressEgressTransferFallbackRequested: z.ZodObject<{
14
14
  destinationAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
15
15
  broadcastId: z.ZodNumber;
16
16
  }, "strip", z.ZodTypeAny, {
17
- broadcastId: number;
18
17
  asset: "Eth" | "Flip" | "Usdc" | "Usdt";
19
18
  amount: bigint;
19
+ broadcastId: number;
20
20
  destinationAddress: `0x${string}`;
21
21
  }, {
22
- broadcastId: number;
23
22
  asset: {
24
23
  __kind: "Eth" | "Flip" | "Usdc" | "Usdt";
25
24
  };
26
25
  amount: string | number;
26
+ broadcastId: number;
27
27
  destinationAddress: string;
28
28
  }>;
29
29
 
@@ -14,7 +14,7 @@ var liquidityPoolsLimitOrderUpdated = _zod.z.object({
14
14
  side: _commoncjs.cfAmmCommonSide,
15
15
  id: _commoncjs.numberOrHex,
16
16
  tick: _zod.z.number(),
17
- sellAmountChange: _commoncjs.palletCfPoolsPalletIncreaseOrDecrease.nullish(),
17
+ sellAmountChange: _commoncjs.palletCfPoolsIncreaseOrDecreaseU128.nullish(),
18
18
  sellAmountTotal: _commoncjs.numberOrHex,
19
19
  collectedFees: _commoncjs.numberOrHex,
20
20
  boughtAmount: _commoncjs.numberOrHex
@@ -33,93 +33,21 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
33
33
  tick: z.ZodNumber;
34
34
  sellAmountChange: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
35
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
- }>;
36
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
61
37
  }, "strip", z.ZodTypeAny, {
62
- value: {
63
- liquidity: bigint;
64
- amounts: {
65
- base: bigint;
66
- quote: bigint;
67
- };
68
- };
38
+ value: bigint;
69
39
  __kind: "Increase";
70
40
  }, {
71
- value: {
72
- liquidity: string | number;
73
- amounts: {
74
- base: string | number;
75
- quote: string | number;
76
- };
77
- };
41
+ value: string | number;
78
42
  __kind: "Increase";
79
43
  }>, z.ZodObject<{
80
44
  __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
- }>;
45
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
106
46
  }, "strip", z.ZodTypeAny, {
107
- value: {
108
- liquidity: bigint;
109
- amounts: {
110
- base: bigint;
111
- quote: bigint;
112
- };
113
- };
47
+ value: bigint;
114
48
  __kind: "Decrease";
115
49
  }, {
116
- value: {
117
- liquidity: string | number;
118
- amounts: {
119
- base: string | number;
120
- quote: string | number;
121
- };
122
- };
50
+ value: string | number;
123
51
  __kind: "Decrease";
124
52
  }>]>>>;
125
53
  sellAmountTotal: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
@@ -136,22 +64,10 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
136
64
  sellAmountTotal: bigint;
137
65
  boughtAmount: bigint;
138
66
  sellAmountChange?: {
139
- value: {
140
- liquidity: bigint;
141
- amounts: {
142
- base: bigint;
143
- quote: bigint;
144
- };
145
- };
67
+ value: bigint;
146
68
  __kind: "Increase";
147
69
  } | {
148
- value: {
149
- liquidity: bigint;
150
- amounts: {
151
- base: bigint;
152
- quote: bigint;
153
- };
154
- };
70
+ value: bigint;
155
71
  __kind: "Decrease";
156
72
  } | null | undefined;
157
73
  }, {
@@ -171,22 +87,10 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
171
87
  sellAmountTotal: string | number;
172
88
  boughtAmount: string | number;
173
89
  sellAmountChange?: {
174
- value: {
175
- liquidity: string | number;
176
- amounts: {
177
- base: string | number;
178
- quote: string | number;
179
- };
180
- };
90
+ value: string | number;
181
91
  __kind: "Increase";
182
92
  } | {
183
- value: {
184
- liquidity: string | number;
185
- amounts: {
186
- base: string | number;
187
- quote: string | number;
188
- };
189
- };
93
+ value: string | number;
190
94
  __kind: "Decrease";
191
95
  } | null | undefined;
192
96
  }>;
@@ -33,93 +33,21 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
33
33
  tick: z.ZodNumber;
34
34
  sellAmountChange: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
35
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
- }>;
36
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
61
37
  }, "strip", z.ZodTypeAny, {
62
- value: {
63
- liquidity: bigint;
64
- amounts: {
65
- base: bigint;
66
- quote: bigint;
67
- };
68
- };
38
+ value: bigint;
69
39
  __kind: "Increase";
70
40
  }, {
71
- value: {
72
- liquidity: string | number;
73
- amounts: {
74
- base: string | number;
75
- quote: string | number;
76
- };
77
- };
41
+ value: string | number;
78
42
  __kind: "Increase";
79
43
  }>, z.ZodObject<{
80
44
  __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
- }>;
45
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
106
46
  }, "strip", z.ZodTypeAny, {
107
- value: {
108
- liquidity: bigint;
109
- amounts: {
110
- base: bigint;
111
- quote: bigint;
112
- };
113
- };
47
+ value: bigint;
114
48
  __kind: "Decrease";
115
49
  }, {
116
- value: {
117
- liquidity: string | number;
118
- amounts: {
119
- base: string | number;
120
- quote: string | number;
121
- };
122
- };
50
+ value: string | number;
123
51
  __kind: "Decrease";
124
52
  }>]>>>;
125
53
  sellAmountTotal: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
@@ -136,22 +64,10 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
136
64
  sellAmountTotal: bigint;
137
65
  boughtAmount: bigint;
138
66
  sellAmountChange?: {
139
- value: {
140
- liquidity: bigint;
141
- amounts: {
142
- base: bigint;
143
- quote: bigint;
144
- };
145
- };
67
+ value: bigint;
146
68
  __kind: "Increase";
147
69
  } | {
148
- value: {
149
- liquidity: bigint;
150
- amounts: {
151
- base: bigint;
152
- quote: bigint;
153
- };
154
- };
70
+ value: bigint;
155
71
  __kind: "Decrease";
156
72
  } | null | undefined;
157
73
  }, {
@@ -171,22 +87,10 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
171
87
  sellAmountTotal: string | number;
172
88
  boughtAmount: string | number;
173
89
  sellAmountChange?: {
174
- value: {
175
- liquidity: string | number;
176
- amounts: {
177
- base: string | number;
178
- quote: string | number;
179
- };
180
- };
90
+ value: string | number;
181
91
  __kind: "Increase";
182
92
  } | {
183
- value: {
184
- liquidity: string | number;
185
- amounts: {
186
- base: string | number;
187
- quote: string | number;
188
- };
189
- };
93
+ value: string | number;
190
94
  __kind: "Decrease";
191
95
  } | null | undefined;
192
96
  }>;
@@ -5,7 +5,7 @@ import {
5
5
  cfAmmCommonSide,
6
6
  cfPrimitivesChainsAssetsAnyAsset,
7
7
  numberOrHex,
8
- palletCfPoolsPalletIncreaseOrDecrease
8
+ palletCfPoolsIncreaseOrDecreaseU128
9
9
  } from "../common.mjs";
10
10
  var liquidityPoolsLimitOrderUpdated = z.object({
11
11
  lp: accountId,
@@ -14,7 +14,7 @@ var liquidityPoolsLimitOrderUpdated = z.object({
14
14
  side: cfAmmCommonSide,
15
15
  id: numberOrHex,
16
16
  tick: z.number(),
17
- sellAmountChange: palletCfPoolsPalletIncreaseOrDecrease.nullish(),
17
+ sellAmountChange: palletCfPoolsIncreaseOrDecreaseU128.nullish(),
18
18
  sellAmountTotal: numberOrHex,
19
19
  collectedFees: numberOrHex,
20
20
  boughtAmount: numberOrHex
@@ -13,7 +13,7 @@ var liquidityPoolsRangeOrderUpdated = _zod.z.object({
13
13
  quoteAsset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
14
14
  id: _commoncjs.numberOrHex,
15
15
  tickRange: _zod.z.object({ start: _zod.z.number(), end: _zod.z.number() }),
16
- sizeChange: _commoncjs.palletCfPoolsPalletIncreaseOrDecrease.nullish(),
16
+ sizeChange: _commoncjs.palletCfPoolsIncreaseOrDecreaseRangeOrderChange.nullish(),
17
17
  liquidityTotal: _commoncjs.numberOrHex,
18
18
  collectedFees: _commoncjs.cfAmmCommonPoolPairsMap
19
19
  });
@@ -5,7 +5,7 @@ import {
5
5
  cfAmmCommonPoolPairsMap,
6
6
  cfPrimitivesChainsAssetsAnyAsset,
7
7
  numberOrHex,
8
- palletCfPoolsPalletIncreaseOrDecrease
8
+ palletCfPoolsIncreaseOrDecreaseRangeOrderChange
9
9
  } from "../common.mjs";
10
10
  var liquidityPoolsRangeOrderUpdated = z.object({
11
11
  lp: accountId,
@@ -13,7 +13,7 @@ var liquidityPoolsRangeOrderUpdated = z.object({
13
13
  quoteAsset: cfPrimitivesChainsAssetsAnyAsset,
14
14
  id: numberOrHex,
15
15
  tickRange: z.object({ start: z.number(), end: z.number() }),
16
- sizeChange: palletCfPoolsPalletIncreaseOrDecrease.nullish(),
16
+ sizeChange: palletCfPoolsIncreaseOrDecreaseRangeOrderChange.nullish(),
17
17
  liquidityTotal: numberOrHex,
18
18
  collectedFees: cfAmmCommonPoolPairsMap
19
19
  });
@@ -373,23 +373,13 @@ declare const swappingCcmFailed: z.ZodObject<{
373
373
  __kind: "DepositChannel";
374
374
  }>, z.ZodObject<{
375
375
  __kind: z.ZodLiteral<"Vault">;
376
- value: z.ZodObject<{
377
- txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
378
- }, "strip", z.ZodTypeAny, {
379
- txHash: `0x${string}`;
380
- }, {
381
- txHash: string;
382
- }>;
376
+ txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
383
377
  }, "strip", z.ZodTypeAny, {
384
- value: {
385
- txHash: `0x${string}`;
386
- };
387
378
  __kind: "Vault";
379
+ txHash: `0x${string}`;
388
380
  }, {
389
- value: {
390
- txHash: string;
391
- };
392
381
  __kind: "Vault";
382
+ txHash: string;
393
383
  }>]>;
394
384
  }, "strip", z.ZodTypeAny, {
395
385
  destinationAddress: {
@@ -419,10 +409,8 @@ declare const swappingCcmFailed: z.ZodObject<{
419
409
  };
420
410
  __kind: "DepositChannel";
421
411
  } | {
422
- value: {
423
- txHash: `0x${string}`;
424
- };
425
412
  __kind: "Vault";
413
+ txHash: `0x${string}`;
426
414
  };
427
415
  reason: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
428
416
  depositMetadata: {
@@ -492,10 +480,8 @@ declare const swappingCcmFailed: z.ZodObject<{
492
480
  };
493
481
  __kind: "DepositChannel";
494
482
  } | {
495
- value: {
496
- txHash: string;
497
- };
498
483
  __kind: "Vault";
484
+ txHash: string;
499
485
  };
500
486
  reason: {
501
487
  __kind: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
@@ -373,23 +373,13 @@ declare const swappingCcmFailed: z.ZodObject<{
373
373
  __kind: "DepositChannel";
374
374
  }>, z.ZodObject<{
375
375
  __kind: z.ZodLiteral<"Vault">;
376
- value: z.ZodObject<{
377
- txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
378
- }, "strip", z.ZodTypeAny, {
379
- txHash: `0x${string}`;
380
- }, {
381
- txHash: string;
382
- }>;
376
+ txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
383
377
  }, "strip", z.ZodTypeAny, {
384
- value: {
385
- txHash: `0x${string}`;
386
- };
387
378
  __kind: "Vault";
379
+ txHash: `0x${string}`;
388
380
  }, {
389
- value: {
390
- txHash: string;
391
- };
392
381
  __kind: "Vault";
382
+ txHash: string;
393
383
  }>]>;
394
384
  }, "strip", z.ZodTypeAny, {
395
385
  destinationAddress: {
@@ -419,10 +409,8 @@ declare const swappingCcmFailed: z.ZodObject<{
419
409
  };
420
410
  __kind: "DepositChannel";
421
411
  } | {
422
- value: {
423
- txHash: `0x${string}`;
424
- };
425
412
  __kind: "Vault";
413
+ txHash: `0x${string}`;
426
414
  };
427
415
  reason: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
428
416
  depositMetadata: {
@@ -492,10 +480,8 @@ declare const swappingCcmFailed: z.ZodObject<{
492
480
  };
493
481
  __kind: "DepositChannel";
494
482
  } | {
495
- value: {
496
- txHash: string;
497
- };
498
483
  __kind: "Vault";
484
+ txHash: string;
499
485
  };
500
486
  reason: {
501
487
  __kind: "UnsupportedForTargetChain" | "InsufficientDepositAmount";