@chainflip/processor 1.4.0 → 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 (151) 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/funding/failedFundingAttempt.d.cts +2 -2
  6. package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
  7. package/dist/100/funding/funded.d.cts +2 -2
  8. package/dist/100/funding/funded.d.ts +2 -2
  9. package/dist/100/funding/redemptionRequested.d.cts +2 -2
  10. package/dist/100/funding/redemptionRequested.d.ts +2 -2
  11. package/dist/100/liquidityPools/limitOrderUpdated.cjs +1 -1
  12. package/dist/100/liquidityPools/limitOrderUpdated.d.cts +10 -106
  13. package/dist/100/liquidityPools/limitOrderUpdated.d.ts +10 -106
  14. package/dist/100/liquidityPools/limitOrderUpdated.mjs +2 -2
  15. package/dist/100/liquidityPools/rangeOrderUpdated.cjs +1 -1
  16. package/dist/100/liquidityPools/rangeOrderUpdated.mjs +2 -2
  17. package/dist/100/liquidityProvider/accountCredited.d.cts +2 -2
  18. package/dist/100/liquidityProvider/accountCredited.d.ts +2 -2
  19. package/dist/100/liquidityProvider/accountDebited.d.cts +2 -2
  20. package/dist/100/liquidityProvider/accountDebited.d.ts +2 -2
  21. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
  22. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
  23. package/dist/100/swapping/swapAmountTooLow.d.cts +5 -19
  24. package/dist/100/swapping/swapAmountTooLow.d.ts +5 -19
  25. package/dist/100/swapping/swapScheduled.d.cts +5 -19
  26. package/dist/100/swapping/swapScheduled.d.ts +5 -19
  27. package/dist/100/validator/palletConfigUpdated.d.cts +90 -218
  28. package/dist/100/validator/palletConfigUpdated.d.ts +90 -218
  29. package/dist/102/common.cjs +9 -27
  30. package/dist/102/common.d.cts +61 -167
  31. package/dist/102/common.d.ts +61 -167
  32. package/dist/102/common.mjs +9 -27
  33. package/dist/102/validator/palletConfigUpdated.d.cts +95 -237
  34. package/dist/102/validator/palletConfigUpdated.d.ts +95 -237
  35. package/dist/111/common.cjs +7 -2
  36. package/dist/111/common.d.cts +21 -2
  37. package/dist/111/common.d.ts +21 -2
  38. package/dist/111/common.mjs +7 -2
  39. package/dist/111/liquidityPools/limitOrderUpdated.cjs +1 -1
  40. package/dist/111/liquidityPools/limitOrderUpdated.d.cts +10 -106
  41. package/dist/111/liquidityPools/limitOrderUpdated.d.ts +10 -106
  42. package/dist/111/liquidityPools/limitOrderUpdated.mjs +2 -2
  43. package/dist/111/liquidityPools/rangeOrderUpdated.cjs +1 -1
  44. package/dist/111/liquidityPools/rangeOrderUpdated.mjs +2 -2
  45. package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +4 -4
  46. package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +4 -4
  47. package/dist/120/bitcoinIngressEgress/depositIgnored.cjs +1 -1
  48. package/dist/120/bitcoinIngressEgress/depositIgnored.mjs +2 -2
  49. package/dist/120/bitcoinIngressEgress/depositReceived.cjs +1 -1
  50. package/dist/120/bitcoinIngressEgress/depositReceived.d.cts +10 -38
  51. package/dist/120/bitcoinIngressEgress/depositReceived.d.ts +10 -38
  52. package/dist/120/bitcoinIngressEgress/depositReceived.mjs +2 -2
  53. package/dist/120/common.cjs +5 -35
  54. package/dist/120/common.d.cts +9 -185
  55. package/dist/120/common.d.ts +9 -185
  56. package/dist/120/common.mjs +6 -36
  57. package/dist/120/ethereumIngressEgress/depositIgnored.cjs +1 -1
  58. package/dist/120/ethereumIngressEgress/depositIgnored.mjs +2 -2
  59. package/dist/120/ethereumIngressEgress/depositReceived.cjs +1 -1
  60. package/dist/120/ethereumIngressEgress/depositReceived.d.cts +10 -38
  61. package/dist/120/ethereumIngressEgress/depositReceived.d.ts +10 -38
  62. package/dist/120/ethereumIngressEgress/depositReceived.mjs +2 -2
  63. package/dist/120/polkadotIngressEgress/depositIgnored.cjs +1 -1
  64. package/dist/120/polkadotIngressEgress/depositIgnored.mjs +2 -2
  65. package/dist/120/polkadotIngressEgress/depositReceived.cjs +1 -1
  66. package/dist/120/polkadotIngressEgress/depositReceived.d.cts +10 -38
  67. package/dist/120/polkadotIngressEgress/depositReceived.d.ts +10 -38
  68. package/dist/120/polkadotIngressEgress/depositReceived.mjs +2 -2
  69. package/dist/120/swapping/swapEgressIgnored.d.cts +2 -2
  70. package/dist/120/swapping/swapEgressIgnored.d.ts +2 -2
  71. package/dist/120/swapping/swapEgressScheduled.d.cts +2 -2
  72. package/dist/120/swapping/swapEgressScheduled.d.ts +2 -2
  73. package/dist/131/bitcoinIngressEgress/depositIgnored.cjs +1 -1
  74. package/dist/131/bitcoinIngressEgress/depositIgnored.mjs +2 -2
  75. package/dist/131/bitcoinIngressEgress/depositReceived.cjs +1 -1
  76. package/dist/131/bitcoinIngressEgress/depositReceived.d.cts +10 -38
  77. package/dist/131/bitcoinIngressEgress/depositReceived.d.ts +10 -38
  78. package/dist/131/bitcoinIngressEgress/depositReceived.mjs +2 -2
  79. package/dist/131/common.cjs +11 -21
  80. package/dist/131/common.d.cts +32 -121
  81. package/dist/131/common.d.ts +32 -121
  82. package/dist/131/common.mjs +14 -24
  83. package/dist/131/ethereumIngressEgress/depositIgnored.cjs +1 -1
  84. package/dist/131/ethereumIngressEgress/depositIgnored.mjs +2 -2
  85. package/dist/131/ethereumIngressEgress/depositReceived.cjs +1 -1
  86. package/dist/131/ethereumIngressEgress/depositReceived.d.cts +10 -38
  87. package/dist/131/ethereumIngressEgress/depositReceived.d.ts +10 -38
  88. package/dist/131/ethereumIngressEgress/depositReceived.mjs +2 -2
  89. package/dist/131/liquidityPools/limitOrderUpdated.cjs +1 -1
  90. package/dist/131/liquidityPools/limitOrderUpdated.d.cts +10 -106
  91. package/dist/131/liquidityPools/limitOrderUpdated.d.ts +10 -106
  92. package/dist/131/liquidityPools/limitOrderUpdated.mjs +2 -2
  93. package/dist/131/liquidityPools/rangeOrderUpdated.cjs +1 -1
  94. package/dist/131/liquidityPools/rangeOrderUpdated.mjs +2 -2
  95. package/dist/131/swapping/ccmFailed.d.cts +5 -19
  96. package/dist/131/swapping/ccmFailed.d.ts +5 -19
  97. package/dist/131/swapping/swapScheduled.d.cts +5 -19
  98. package/dist/131/swapping/swapScheduled.d.ts +5 -19
  99. package/dist/141/arbitrumIngressEgress/depositBoosted.cjs +1 -1
  100. package/dist/141/arbitrumIngressEgress/depositBoosted.d.cts +15 -57
  101. package/dist/141/arbitrumIngressEgress/depositBoosted.d.ts +15 -57
  102. package/dist/141/arbitrumIngressEgress/depositBoosted.mjs +2 -2
  103. package/dist/141/arbitrumIngressEgress/depositFinalised.cjs +1 -1
  104. package/dist/141/arbitrumIngressEgress/depositFinalised.d.cts +15 -57
  105. package/dist/141/arbitrumIngressEgress/depositFinalised.d.ts +15 -57
  106. package/dist/141/arbitrumIngressEgress/depositFinalised.mjs +2 -2
  107. package/dist/141/arbitrumIngressEgress/depositIgnored.cjs +1 -1
  108. package/dist/141/arbitrumIngressEgress/depositIgnored.mjs +2 -2
  109. package/dist/141/bitcoinIngressEgress/depositBoosted.cjs +1 -1
  110. package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +15 -57
  111. package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +15 -57
  112. package/dist/141/bitcoinIngressEgress/depositBoosted.mjs +2 -2
  113. package/dist/141/bitcoinIngressEgress/depositFinalised.cjs +1 -1
  114. package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +15 -57
  115. package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +15 -57
  116. package/dist/141/bitcoinIngressEgress/depositFinalised.mjs +2 -2
  117. package/dist/141/common.cjs +12 -52
  118. package/dist/141/common.d.cts +35 -320
  119. package/dist/141/common.d.ts +35 -320
  120. package/dist/141/common.mjs +15 -55
  121. package/dist/141/ethereumIngressEgress/depositBoosted.cjs +1 -1
  122. package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +15 -57
  123. package/dist/141/ethereumIngressEgress/depositBoosted.d.ts +15 -57
  124. package/dist/141/ethereumIngressEgress/depositBoosted.mjs +2 -2
  125. package/dist/141/ethereumIngressEgress/depositFinalised.cjs +1 -1
  126. package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +15 -57
  127. package/dist/141/ethereumIngressEgress/depositFinalised.d.ts +15 -57
  128. package/dist/141/ethereumIngressEgress/depositFinalised.mjs +2 -2
  129. package/dist/141/liquidityPools/limitOrderUpdated.cjs +1 -1
  130. package/dist/141/liquidityPools/limitOrderUpdated.d.cts +10 -106
  131. package/dist/141/liquidityPools/limitOrderUpdated.d.ts +10 -106
  132. package/dist/141/liquidityPools/limitOrderUpdated.mjs +2 -2
  133. package/dist/141/liquidityPools/rangeOrderUpdated.cjs +1 -1
  134. package/dist/141/liquidityPools/rangeOrderUpdated.mjs +2 -2
  135. package/dist/141/polkadotIngressEgress/depositBoosted.cjs +1 -1
  136. package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +15 -57
  137. package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +15 -57
  138. package/dist/141/polkadotIngressEgress/depositBoosted.mjs +2 -2
  139. package/dist/141/polkadotIngressEgress/depositFinalised.cjs +1 -1
  140. package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +15 -57
  141. package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +15 -57
  142. package/dist/141/polkadotIngressEgress/depositFinalised.mjs +2 -2
  143. package/dist/141/swapping/ccmFailed.d.cts +5 -19
  144. package/dist/141/swapping/ccmFailed.d.ts +5 -19
  145. package/dist/141/swapping/swapScheduled.d.cts +5 -19
  146. package/dist/141/swapping/swapScheduled.d.ts +5 -19
  147. package/dist/Processor.cjs +2 -2
  148. package/dist/Processor.mjs +2 -2
  149. package/dist/types.d.cts +1 -3
  150. package/dist/types.d.ts +1 -3
  151. package/package.json +1 -1
@@ -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
  });
@@ -14,7 +14,7 @@ var polkadotIngressEgressDepositBoosted = _zod.z.object({
14
14
  channelId: _commoncjs.numberOrHex,
15
15
  ingressFee: _commoncjs.numberOrHex,
16
16
  boostFee: _commoncjs.numberOrHex,
17
- action: _commoncjs.palletCfPolkadotIngressEgressPalletDepositAction
17
+ action: _commoncjs.palletCfIngressEgressDepositAction
18
18
  });
19
19
 
20
20
 
@@ -18,42 +18,22 @@ declare const polkadotIngressEgressDepositBoosted: z.ZodObject<{
18
18
  boostFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
19
19
  action: z.ZodUnion<[z.ZodObject<{
20
20
  __kind: z.ZodLiteral<"Swap">;
21
- value: z.ZodObject<{
22
- swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
23
- }, "strip", z.ZodTypeAny, {
24
- swapId: bigint;
25
- }, {
26
- swapId: string | number;
27
- }>;
21
+ swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
28
22
  }, "strip", z.ZodTypeAny, {
29
- value: {
30
- swapId: bigint;
31
- };
32
23
  __kind: "Swap";
24
+ swapId: bigint;
33
25
  }, {
34
- value: {
35
- swapId: string | number;
36
- };
37
26
  __kind: "Swap";
27
+ swapId: string | number;
38
28
  }>, z.ZodObject<{
39
29
  __kind: z.ZodLiteral<"LiquidityProvision">;
40
- value: z.ZodObject<{
41
- lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
42
- }, "strip", z.ZodTypeAny, {
43
- lpAccount: string;
44
- }, {
45
- lpAccount: string;
46
- }>;
30
+ lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
47
31
  }, "strip", z.ZodTypeAny, {
48
- value: {
49
- lpAccount: string;
50
- };
51
32
  __kind: "LiquidityProvision";
33
+ lpAccount: string;
52
34
  }, {
53
- value: {
54
- lpAccount: string;
55
- };
56
35
  __kind: "LiquidityProvision";
36
+ lpAccount: string;
57
37
  }>, z.ZodObject<{
58
38
  __kind: z.ZodLiteral<"CcmTransfer">;
59
39
  value: z.ZodObject<{
@@ -86,23 +66,13 @@ declare const polkadotIngressEgressDepositBoosted: z.ZodObject<{
86
66
  __kind: "NoAction";
87
67
  }>, z.ZodObject<{
88
68
  __kind: z.ZodLiteral<"BoostersCredited">;
89
- value: z.ZodObject<{
90
- prewitnessedDepositId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
91
- }, "strip", z.ZodTypeAny, {
92
- prewitnessedDepositId: bigint;
93
- }, {
94
- prewitnessedDepositId: string | number;
95
- }>;
69
+ prewitnessedDepositId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
96
70
  }, "strip", z.ZodTypeAny, {
97
- value: {
98
- prewitnessedDepositId: bigint;
99
- };
100
71
  __kind: "BoostersCredited";
72
+ prewitnessedDepositId: bigint;
101
73
  }, {
102
- value: {
103
- prewitnessedDepositId: string | number;
104
- };
105
74
  __kind: "BoostersCredited";
75
+ prewitnessedDepositId: string | number;
106
76
  }>]>;
107
77
  }, "strip", z.ZodTypeAny, {
108
78
  depositAddress: `0x${string}`;
@@ -113,15 +83,11 @@ declare const polkadotIngressEgressDepositBoosted: z.ZodObject<{
113
83
  boostFee: bigint;
114
84
  ingressFee: bigint;
115
85
  action: {
116
- value: {
117
- swapId: bigint;
118
- };
119
86
  __kind: "Swap";
87
+ swapId: bigint;
120
88
  } | {
121
- value: {
122
- lpAccount: string;
123
- };
124
89
  __kind: "LiquidityProvision";
90
+ lpAccount: string;
125
91
  } | {
126
92
  value: {
127
93
  principalSwapId?: bigint | null | undefined;
@@ -131,10 +97,8 @@ declare const polkadotIngressEgressDepositBoosted: z.ZodObject<{
131
97
  } | {
132
98
  __kind: "NoAction";
133
99
  } | {
134
- value: {
135
- prewitnessedDepositId: bigint;
136
- };
137
100
  __kind: "BoostersCredited";
101
+ prewitnessedDepositId: bigint;
138
102
  };
139
103
  }, {
140
104
  depositAddress: string;
@@ -147,15 +111,11 @@ declare const polkadotIngressEgressDepositBoosted: z.ZodObject<{
147
111
  boostFee: string | number;
148
112
  ingressFee: string | number;
149
113
  action: {
150
- value: {
151
- swapId: string | number;
152
- };
153
114
  __kind: "Swap";
115
+ swapId: string | number;
154
116
  } | {
155
- value: {
156
- lpAccount: string;
157
- };
158
117
  __kind: "LiquidityProvision";
118
+ lpAccount: string;
159
119
  } | {
160
120
  value: {
161
121
  principalSwapId?: string | number | null | undefined;
@@ -165,10 +125,8 @@ declare const polkadotIngressEgressDepositBoosted: z.ZodObject<{
165
125
  } | {
166
126
  __kind: "NoAction";
167
127
  } | {
168
- value: {
169
- prewitnessedDepositId: string | number;
170
- };
171
128
  __kind: "BoostersCredited";
129
+ prewitnessedDepositId: string | number;
172
130
  };
173
131
  }>;
174
132
 
@@ -18,42 +18,22 @@ declare const polkadotIngressEgressDepositBoosted: z.ZodObject<{
18
18
  boostFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
19
19
  action: z.ZodUnion<[z.ZodObject<{
20
20
  __kind: z.ZodLiteral<"Swap">;
21
- value: z.ZodObject<{
22
- swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
23
- }, "strip", z.ZodTypeAny, {
24
- swapId: bigint;
25
- }, {
26
- swapId: string | number;
27
- }>;
21
+ swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
28
22
  }, "strip", z.ZodTypeAny, {
29
- value: {
30
- swapId: bigint;
31
- };
32
23
  __kind: "Swap";
24
+ swapId: bigint;
33
25
  }, {
34
- value: {
35
- swapId: string | number;
36
- };
37
26
  __kind: "Swap";
27
+ swapId: string | number;
38
28
  }>, z.ZodObject<{
39
29
  __kind: z.ZodLiteral<"LiquidityProvision">;
40
- value: z.ZodObject<{
41
- lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
42
- }, "strip", z.ZodTypeAny, {
43
- lpAccount: string;
44
- }, {
45
- lpAccount: string;
46
- }>;
30
+ lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
47
31
  }, "strip", z.ZodTypeAny, {
48
- value: {
49
- lpAccount: string;
50
- };
51
32
  __kind: "LiquidityProvision";
33
+ lpAccount: string;
52
34
  }, {
53
- value: {
54
- lpAccount: string;
55
- };
56
35
  __kind: "LiquidityProvision";
36
+ lpAccount: string;
57
37
  }>, z.ZodObject<{
58
38
  __kind: z.ZodLiteral<"CcmTransfer">;
59
39
  value: z.ZodObject<{
@@ -86,23 +66,13 @@ declare const polkadotIngressEgressDepositBoosted: z.ZodObject<{
86
66
  __kind: "NoAction";
87
67
  }>, z.ZodObject<{
88
68
  __kind: z.ZodLiteral<"BoostersCredited">;
89
- value: z.ZodObject<{
90
- prewitnessedDepositId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
91
- }, "strip", z.ZodTypeAny, {
92
- prewitnessedDepositId: bigint;
93
- }, {
94
- prewitnessedDepositId: string | number;
95
- }>;
69
+ prewitnessedDepositId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
96
70
  }, "strip", z.ZodTypeAny, {
97
- value: {
98
- prewitnessedDepositId: bigint;
99
- };
100
71
  __kind: "BoostersCredited";
72
+ prewitnessedDepositId: bigint;
101
73
  }, {
102
- value: {
103
- prewitnessedDepositId: string | number;
104
- };
105
74
  __kind: "BoostersCredited";
75
+ prewitnessedDepositId: string | number;
106
76
  }>]>;
107
77
  }, "strip", z.ZodTypeAny, {
108
78
  depositAddress: `0x${string}`;
@@ -113,15 +83,11 @@ declare const polkadotIngressEgressDepositBoosted: z.ZodObject<{
113
83
  boostFee: bigint;
114
84
  ingressFee: bigint;
115
85
  action: {
116
- value: {
117
- swapId: bigint;
118
- };
119
86
  __kind: "Swap";
87
+ swapId: bigint;
120
88
  } | {
121
- value: {
122
- lpAccount: string;
123
- };
124
89
  __kind: "LiquidityProvision";
90
+ lpAccount: string;
125
91
  } | {
126
92
  value: {
127
93
  principalSwapId?: bigint | null | undefined;
@@ -131,10 +97,8 @@ declare const polkadotIngressEgressDepositBoosted: z.ZodObject<{
131
97
  } | {
132
98
  __kind: "NoAction";
133
99
  } | {
134
- value: {
135
- prewitnessedDepositId: bigint;
136
- };
137
100
  __kind: "BoostersCredited";
101
+ prewitnessedDepositId: bigint;
138
102
  };
139
103
  }, {
140
104
  depositAddress: string;
@@ -147,15 +111,11 @@ declare const polkadotIngressEgressDepositBoosted: z.ZodObject<{
147
111
  boostFee: string | number;
148
112
  ingressFee: string | number;
149
113
  action: {
150
- value: {
151
- swapId: string | number;
152
- };
153
114
  __kind: "Swap";
115
+ swapId: string | number;
154
116
  } | {
155
- value: {
156
- lpAccount: string;
157
- };
158
117
  __kind: "LiquidityProvision";
118
+ lpAccount: string;
159
119
  } | {
160
120
  value: {
161
121
  principalSwapId?: string | number | null | undefined;
@@ -165,10 +125,8 @@ declare const polkadotIngressEgressDepositBoosted: z.ZodObject<{
165
125
  } | {
166
126
  __kind: "NoAction";
167
127
  } | {
168
- value: {
169
- prewitnessedDepositId: string | number;
170
- };
171
128
  __kind: "BoostersCredited";
129
+ prewitnessedDepositId: string | number;
172
130
  };
173
131
  }>;
174
132
 
@@ -4,7 +4,7 @@ import {
4
4
  cfPrimitivesChainsAssetsDotAsset,
5
5
  hexString,
6
6
  numberOrHex,
7
- palletCfPolkadotIngressEgressPalletDepositAction
7
+ palletCfIngressEgressDepositAction
8
8
  } from "../common.mjs";
9
9
  var polkadotIngressEgressDepositBoosted = z.object({
10
10
  depositAddress: hexString,
@@ -14,7 +14,7 @@ var polkadotIngressEgressDepositBoosted = z.object({
14
14
  channelId: numberOrHex,
15
15
  ingressFee: numberOrHex,
16
16
  boostFee: numberOrHex,
17
- action: palletCfPolkadotIngressEgressPalletDepositAction
17
+ action: palletCfIngressEgressDepositAction
18
18
  });
19
19
  export {
20
20
  polkadotIngressEgressDepositBoosted
@@ -11,7 +11,7 @@ var polkadotIngressEgressDepositFinalised = _zod.z.object({
11
11
  asset: _commoncjs.cfPrimitivesChainsAssetsDotAsset,
12
12
  amount: _commoncjs.numberOrHex,
13
13
  ingressFee: _commoncjs.numberOrHex,
14
- action: _commoncjs.palletCfPolkadotIngressEgressPalletDepositAction,
14
+ action: _commoncjs.palletCfIngressEgressDepositAction,
15
15
  channelId: _commoncjs.numberOrHex
16
16
  });
17
17