@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
@@ -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
  cfAmmCommonOrder,
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: cfAmmCommonOrder,
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.palletCfPoolsAssetsMapU128
19
19
  });
@@ -5,7 +5,7 @@ import {
5
5
  cfPrimitivesChainsAssetsAnyAsset,
6
6
  numberOrHex,
7
7
  palletCfPoolsAssetsMapU128,
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: palletCfPoolsAssetsMapU128
19
19
  });
@@ -12,7 +12,7 @@ var bitcoinIngressEgressDepositIgnored = _zod.z.object({
12
12
  asset: _commoncjs.cfPrimitivesChainsAssetsBtcAsset,
13
13
  amount: _commoncjs.numberOrHex,
14
14
  depositDetails: _commoncjs.cfChainsBtcUtxoId,
15
- reason: _commoncjs.palletCfBitcoinIngressEgressDepositIgnoredReason
15
+ reason: _commoncjs.palletCfIngressEgressDepositIgnoredReason
16
16
  });
17
17
 
18
18
 
@@ -5,14 +5,14 @@ import {
5
5
  cfChainsBtcUtxoId,
6
6
  cfPrimitivesChainsAssetsBtcAsset,
7
7
  numberOrHex,
8
- palletCfBitcoinIngressEgressDepositIgnoredReason
8
+ palletCfIngressEgressDepositIgnoredReason
9
9
  } from "../common.mjs";
10
10
  var bitcoinIngressEgressDepositIgnored = z.object({
11
11
  depositAddress: cfChainsBtcScriptPubkey,
12
12
  asset: cfPrimitivesChainsAssetsBtcAsset,
13
13
  amount: numberOrHex,
14
14
  depositDetails: cfChainsBtcUtxoId,
15
- reason: palletCfBitcoinIngressEgressDepositIgnoredReason
15
+ reason: palletCfIngressEgressDepositIgnoredReason
16
16
  });
17
17
  export {
18
18
  bitcoinIngressEgressDepositIgnored
@@ -13,7 +13,7 @@ var bitcoinIngressEgressDepositReceived = _zod.z.object({
13
13
  amount: _commoncjs.numberOrHex,
14
14
  depositDetails: _commoncjs.cfChainsBtcUtxoId,
15
15
  ingressFee: _commoncjs.numberOrHex,
16
- action: _commoncjs.palletCfBitcoinIngressEgressPalletDepositAction
16
+ action: _commoncjs.palletCfIngressEgressDepositAction
17
17
  });
18
18
 
19
19
 
@@ -94,42 +94,22 @@ declare const bitcoinIngressEgressDepositReceived: z.ZodObject<{
94
94
  ingressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
95
95
  action: z.ZodUnion<[z.ZodObject<{
96
96
  __kind: z.ZodLiteral<"Swap">;
97
- value: z.ZodObject<{
98
- swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
99
- }, "strip", z.ZodTypeAny, {
100
- swapId: bigint;
101
- }, {
102
- swapId: string | number;
103
- }>;
97
+ swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
104
98
  }, "strip", z.ZodTypeAny, {
105
- value: {
106
- swapId: bigint;
107
- };
108
99
  __kind: "Swap";
100
+ swapId: bigint;
109
101
  }, {
110
- value: {
111
- swapId: string | number;
112
- };
113
102
  __kind: "Swap";
103
+ swapId: string | number;
114
104
  }>, z.ZodObject<{
115
105
  __kind: z.ZodLiteral<"LiquidityProvision">;
116
- value: z.ZodObject<{
117
- lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
118
- }, "strip", z.ZodTypeAny, {
119
- lpAccount: string;
120
- }, {
121
- lpAccount: string;
122
- }>;
106
+ lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
123
107
  }, "strip", z.ZodTypeAny, {
124
- value: {
125
- lpAccount: string;
126
- };
127
108
  __kind: "LiquidityProvision";
109
+ lpAccount: string;
128
110
  }, {
129
- value: {
130
- lpAccount: string;
131
- };
132
111
  __kind: "LiquidityProvision";
112
+ lpAccount: string;
133
113
  }>, z.ZodObject<{
134
114
  __kind: z.ZodLiteral<"CcmTransfer">;
135
115
  value: z.ZodObject<{
@@ -188,15 +168,11 @@ declare const bitcoinIngressEgressDepositReceived: z.ZodObject<{
188
168
  };
189
169
  ingressFee: bigint;
190
170
  action: {
191
- value: {
192
- swapId: bigint;
193
- };
194
171
  __kind: "Swap";
172
+ swapId: bigint;
195
173
  } | {
196
- value: {
197
- lpAccount: string;
198
- };
199
174
  __kind: "LiquidityProvision";
175
+ lpAccount: string;
200
176
  } | {
201
177
  value: {
202
178
  principalSwapId?: bigint | null | undefined;
@@ -239,15 +215,11 @@ declare const bitcoinIngressEgressDepositReceived: z.ZodObject<{
239
215
  };
240
216
  ingressFee: string | number;
241
217
  action: {
242
- value: {
243
- swapId: string | number;
244
- };
245
218
  __kind: "Swap";
219
+ swapId: string | number;
246
220
  } | {
247
- value: {
248
- lpAccount: string;
249
- };
250
221
  __kind: "LiquidityProvision";
222
+ lpAccount: string;
251
223
  } | {
252
224
  value: {
253
225
  principalSwapId?: string | number | null | undefined;
@@ -94,42 +94,22 @@ declare const bitcoinIngressEgressDepositReceived: z.ZodObject<{
94
94
  ingressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
95
95
  action: z.ZodUnion<[z.ZodObject<{
96
96
  __kind: z.ZodLiteral<"Swap">;
97
- value: z.ZodObject<{
98
- swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
99
- }, "strip", z.ZodTypeAny, {
100
- swapId: bigint;
101
- }, {
102
- swapId: string | number;
103
- }>;
97
+ swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
104
98
  }, "strip", z.ZodTypeAny, {
105
- value: {
106
- swapId: bigint;
107
- };
108
99
  __kind: "Swap";
100
+ swapId: bigint;
109
101
  }, {
110
- value: {
111
- swapId: string | number;
112
- };
113
102
  __kind: "Swap";
103
+ swapId: string | number;
114
104
  }>, z.ZodObject<{
115
105
  __kind: z.ZodLiteral<"LiquidityProvision">;
116
- value: z.ZodObject<{
117
- lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
118
- }, "strip", z.ZodTypeAny, {
119
- lpAccount: string;
120
- }, {
121
- lpAccount: string;
122
- }>;
106
+ lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
123
107
  }, "strip", z.ZodTypeAny, {
124
- value: {
125
- lpAccount: string;
126
- };
127
108
  __kind: "LiquidityProvision";
109
+ lpAccount: string;
128
110
  }, {
129
- value: {
130
- lpAccount: string;
131
- };
132
111
  __kind: "LiquidityProvision";
112
+ lpAccount: string;
133
113
  }>, z.ZodObject<{
134
114
  __kind: z.ZodLiteral<"CcmTransfer">;
135
115
  value: z.ZodObject<{
@@ -188,15 +168,11 @@ declare const bitcoinIngressEgressDepositReceived: z.ZodObject<{
188
168
  };
189
169
  ingressFee: bigint;
190
170
  action: {
191
- value: {
192
- swapId: bigint;
193
- };
194
171
  __kind: "Swap";
172
+ swapId: bigint;
195
173
  } | {
196
- value: {
197
- lpAccount: string;
198
- };
199
174
  __kind: "LiquidityProvision";
175
+ lpAccount: string;
200
176
  } | {
201
177
  value: {
202
178
  principalSwapId?: bigint | null | undefined;
@@ -239,15 +215,11 @@ declare const bitcoinIngressEgressDepositReceived: z.ZodObject<{
239
215
  };
240
216
  ingressFee: string | number;
241
217
  action: {
242
- value: {
243
- swapId: string | number;
244
- };
245
218
  __kind: "Swap";
219
+ swapId: string | number;
246
220
  } | {
247
- value: {
248
- lpAccount: string;
249
- };
250
221
  __kind: "LiquidityProvision";
222
+ lpAccount: string;
251
223
  } | {
252
224
  value: {
253
225
  principalSwapId?: string | number | null | undefined;
@@ -5,7 +5,7 @@ import {
5
5
  cfChainsBtcUtxoId,
6
6
  cfPrimitivesChainsAssetsBtcAsset,
7
7
  numberOrHex,
8
- palletCfBitcoinIngressEgressPalletDepositAction
8
+ palletCfIngressEgressDepositAction
9
9
  } from "../common.mjs";
10
10
  var bitcoinIngressEgressDepositReceived = z.object({
11
11
  depositAddress: cfChainsBtcScriptPubkey,
@@ -13,7 +13,7 @@ var bitcoinIngressEgressDepositReceived = z.object({
13
13
  amount: numberOrHex,
14
14
  depositDetails: cfChainsBtcUtxoId,
15
15
  ingressFee: numberOrHex,
16
- action: palletCfBitcoinIngressEgressPalletDepositAction
16
+ action: palletCfIngressEgressDepositAction
17
17
  });
18
18
  export {
19
19
  bitcoinIngressEgressDepositReceived
@@ -103,52 +103,22 @@ var cfChainsCcmDepositMetadata = _zod.z.object({
103
103
  channelMetadata: cfChainsCcmChannelMetadata
104
104
  });
105
105
  var cfPrimitivesChainsAssetsEthAsset = simpleEnum(["Eth", "Flip", "Usdc"]);
106
- var palletCfEthereumIngressEgressPalletDepositAction = _zod.z.union([
107
- _zod.z.object({ __kind: _zod.z.literal("Swap"), value: _zod.z.object({ swapId: numberOrHex }) }),
108
- _zod.z.object({ __kind: _zod.z.literal("LiquidityProvision"), value: _zod.z.object({ lpAccount: accountId }) }),
106
+ var palletCfIngressEgressDepositAction = _zod.z.union([
107
+ _zod.z.object({ __kind: _zod.z.literal("Swap"), swapId: numberOrHex }),
108
+ _zod.z.object({ __kind: _zod.z.literal("LiquidityProvision"), lpAccount: accountId }),
109
109
  _zod.z.object({
110
110
  __kind: _zod.z.literal("CcmTransfer"),
111
111
  value: _zod.z.object({ principalSwapId: numberOrHex.nullish(), gasSwapId: numberOrHex.nullish() })
112
112
  }),
113
113
  _zod.z.object({ __kind: _zod.z.literal("NoAction") })
114
114
  ]);
115
- var palletCfEthereumIngressEgressDepositIgnoredReason = simpleEnum([
115
+ var palletCfIngressEgressDepositIgnoredReason = simpleEnum([
116
116
  "BelowMinimumDeposit",
117
117
  "NotEnoughToPayFees"
118
118
  ]);
119
119
  var cfPrimitivesChainsAssetsDotAsset = simpleEnum(["Dot"]);
120
- var palletCfPolkadotIngressEgressPalletDepositAction = _zod.z.union([
121
- _zod.z.object({ __kind: _zod.z.literal("Swap"), value: _zod.z.object({ swapId: numberOrHex }) }),
122
- _zod.z.object({ __kind: _zod.z.literal("LiquidityProvision"), value: _zod.z.object({ lpAccount: accountId }) }),
123
- _zod.z.object({
124
- __kind: _zod.z.literal("CcmTransfer"),
125
- value: _zod.z.object({ principalSwapId: numberOrHex.nullish(), gasSwapId: numberOrHex.nullish() })
126
- }),
127
- _zod.z.object({ __kind: _zod.z.literal("NoAction") })
128
- ]);
129
- var palletCfPolkadotIngressEgressDepositIgnoredReason = simpleEnum([
130
- "BelowMinimumDeposit",
131
- "NotEnoughToPayFees"
132
- ]);
133
120
  var cfPrimitivesChainsAssetsBtcAsset = simpleEnum(["Btc"]);
134
121
  var cfChainsBtcUtxoId = _zod.z.object({ txId: hexString, vout: _zod.z.number() });
135
- var palletCfBitcoinIngressEgressPalletDepositAction = _zod.z.union([
136
- _zod.z.object({ __kind: _zod.z.literal("Swap"), value: _zod.z.object({ swapId: numberOrHex }) }),
137
- _zod.z.object({ __kind: _zod.z.literal("LiquidityProvision"), value: _zod.z.object({ lpAccount: accountId }) }),
138
- _zod.z.object({
139
- __kind: _zod.z.literal("CcmTransfer"),
140
- value: _zod.z.object({ principalSwapId: numberOrHex.nullish(), gasSwapId: numberOrHex.nullish() })
141
- }),
142
- _zod.z.object({ __kind: _zod.z.literal("NoAction") })
143
- ]);
144
- var palletCfBitcoinIngressEgressDepositIgnoredReason = simpleEnum([
145
- "BelowMinimumDeposit",
146
- "NotEnoughToPayFees"
147
- ]);
148
-
149
-
150
-
151
-
152
122
 
153
123
 
154
124
 
@@ -182,4 +152,4 @@ var palletCfBitcoinIngressEgressDepositIgnoredReason = simpleEnum([
182
152
 
183
153
 
184
154
 
185
- exports.accountId = accountId; exports.cfChainsAddressEncodedAddress = cfChainsAddressEncodedAddress; exports.cfChainsAddressForeignChainAddress = cfChainsAddressForeignChainAddress; exports.cfChainsBtcBitcoinFeeInfo = cfChainsBtcBitcoinFeeInfo; exports.cfChainsBtcBitcoinTrackedData = cfChainsBtcBitcoinTrackedData; exports.cfChainsBtcBitcoinTransactionData = cfChainsBtcBitcoinTransactionData; exports.cfChainsBtcConsolidationParameters = cfChainsBtcConsolidationParameters; exports.cfChainsBtcScriptPubkey = cfChainsBtcScriptPubkey; exports.cfChainsBtcUtxoId = cfChainsBtcUtxoId; exports.cfChainsCcmChannelMetadata = cfChainsCcmChannelMetadata; exports.cfChainsCcmDepositMetadata = cfChainsCcmDepositMetadata; exports.cfChainsChainStateBitcoin = cfChainsChainStateBitcoin; exports.cfChainsDotPolkadotTransactionData = cfChainsDotPolkadotTransactionData; exports.cfChainsEvmSchnorrVerificationComponents = cfChainsEvmSchnorrVerificationComponents; exports.cfChainsEvmTransaction = cfChainsEvmTransaction; exports.cfPrimitivesChainsAssetsAnyAsset = cfPrimitivesChainsAssetsAnyAsset; exports.cfPrimitivesChainsAssetsBtcAsset = cfPrimitivesChainsAssetsBtcAsset; exports.cfPrimitivesChainsAssetsDotAsset = cfPrimitivesChainsAssetsDotAsset; exports.cfPrimitivesChainsAssetsEthAsset = cfPrimitivesChainsAssetsEthAsset; exports.cfPrimitivesChainsForeignChain = cfPrimitivesChainsForeignChain; exports.hexString = hexString; exports.numberOrHex = numberOrHex; exports.numericString = numericString; exports.palletCfBitcoinIngressEgressDepositIgnoredReason = palletCfBitcoinIngressEgressDepositIgnoredReason; exports.palletCfBitcoinIngressEgressPalletDepositAction = palletCfBitcoinIngressEgressPalletDepositAction; exports.palletCfEthereumIngressEgressDepositIgnoredReason = palletCfEthereumIngressEgressDepositIgnoredReason; exports.palletCfEthereumIngressEgressPalletDepositAction = palletCfEthereumIngressEgressPalletDepositAction; exports.palletCfPolkadotIngressEgressDepositIgnoredReason = palletCfPolkadotIngressEgressDepositIgnoredReason; exports.palletCfPolkadotIngressEgressPalletDepositAction = palletCfPolkadotIngressEgressPalletDepositAction; exports.palletCfSwappingCcmFailReason = palletCfSwappingCcmFailReason; exports.simpleEnum = simpleEnum; exports.spArithmeticArithmeticError = spArithmeticArithmeticError; exports.spRuntimeDispatchError = spRuntimeDispatchError; exports.spRuntimeModuleError = spRuntimeModuleError; exports.spRuntimeTokenError = spRuntimeTokenError; exports.spRuntimeTransactionalError = spRuntimeTransactionalError;
155
+ exports.accountId = accountId; exports.cfChainsAddressEncodedAddress = cfChainsAddressEncodedAddress; exports.cfChainsAddressForeignChainAddress = cfChainsAddressForeignChainAddress; exports.cfChainsBtcBitcoinFeeInfo = cfChainsBtcBitcoinFeeInfo; exports.cfChainsBtcBitcoinTrackedData = cfChainsBtcBitcoinTrackedData; exports.cfChainsBtcBitcoinTransactionData = cfChainsBtcBitcoinTransactionData; exports.cfChainsBtcConsolidationParameters = cfChainsBtcConsolidationParameters; exports.cfChainsBtcScriptPubkey = cfChainsBtcScriptPubkey; exports.cfChainsBtcUtxoId = cfChainsBtcUtxoId; exports.cfChainsCcmChannelMetadata = cfChainsCcmChannelMetadata; exports.cfChainsCcmDepositMetadata = cfChainsCcmDepositMetadata; exports.cfChainsChainStateBitcoin = cfChainsChainStateBitcoin; exports.cfChainsDotPolkadotTransactionData = cfChainsDotPolkadotTransactionData; exports.cfChainsEvmSchnorrVerificationComponents = cfChainsEvmSchnorrVerificationComponents; exports.cfChainsEvmTransaction = cfChainsEvmTransaction; exports.cfPrimitivesChainsAssetsAnyAsset = cfPrimitivesChainsAssetsAnyAsset; exports.cfPrimitivesChainsAssetsBtcAsset = cfPrimitivesChainsAssetsBtcAsset; exports.cfPrimitivesChainsAssetsDotAsset = cfPrimitivesChainsAssetsDotAsset; exports.cfPrimitivesChainsAssetsEthAsset = cfPrimitivesChainsAssetsEthAsset; exports.cfPrimitivesChainsForeignChain = cfPrimitivesChainsForeignChain; exports.hexString = hexString; exports.numberOrHex = numberOrHex; exports.numericString = numericString; exports.palletCfIngressEgressDepositAction = palletCfIngressEgressDepositAction; exports.palletCfIngressEgressDepositIgnoredReason = palletCfIngressEgressDepositIgnoredReason; exports.palletCfSwappingCcmFailReason = palletCfSwappingCcmFailReason; exports.simpleEnum = simpleEnum; exports.spArithmeticArithmeticError = spArithmeticArithmeticError; exports.spRuntimeDispatchError = spRuntimeDispatchError; exports.spRuntimeModuleError = spRuntimeModuleError; exports.spRuntimeTokenError = spRuntimeTokenError; exports.spRuntimeTransactionalError = spRuntimeTransactionalError;