@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.
- package/dist/100/common.cjs +16 -26
- package/dist/100/common.d.cts +84 -171
- package/dist/100/common.d.ts +84 -171
- package/dist/100/common.mjs +16 -26
- package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
- package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
- package/dist/100/funding/funded.d.cts +2 -2
- package/dist/100/funding/funded.d.ts +2 -2
- package/dist/100/funding/redemptionRequested.d.cts +2 -2
- package/dist/100/funding/redemptionRequested.d.ts +2 -2
- package/dist/100/liquidityPools/limitOrderUpdated.cjs +1 -1
- package/dist/100/liquidityPools/limitOrderUpdated.d.cts +10 -106
- package/dist/100/liquidityPools/limitOrderUpdated.d.ts +10 -106
- package/dist/100/liquidityPools/limitOrderUpdated.mjs +2 -2
- package/dist/100/liquidityPools/rangeOrderUpdated.cjs +1 -1
- package/dist/100/liquidityPools/rangeOrderUpdated.mjs +2 -2
- package/dist/100/liquidityProvider/accountCredited.d.cts +2 -2
- package/dist/100/liquidityProvider/accountCredited.d.ts +2 -2
- package/dist/100/liquidityProvider/accountDebited.d.cts +2 -2
- package/dist/100/liquidityProvider/accountDebited.d.ts +2 -2
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
- package/dist/100/swapping/swapAmountTooLow.d.cts +5 -19
- package/dist/100/swapping/swapAmountTooLow.d.ts +5 -19
- package/dist/100/swapping/swapScheduled.d.cts +5 -19
- package/dist/100/swapping/swapScheduled.d.ts +5 -19
- package/dist/100/validator/palletConfigUpdated.d.cts +90 -218
- package/dist/100/validator/palletConfigUpdated.d.ts +90 -218
- package/dist/102/common.cjs +9 -27
- package/dist/102/common.d.cts +61 -167
- package/dist/102/common.d.ts +61 -167
- package/dist/102/common.mjs +9 -27
- package/dist/102/validator/palletConfigUpdated.d.cts +95 -237
- package/dist/102/validator/palletConfigUpdated.d.ts +95 -237
- package/dist/111/common.cjs +7 -2
- package/dist/111/common.d.cts +21 -2
- package/dist/111/common.d.ts +21 -2
- package/dist/111/common.mjs +7 -2
- package/dist/111/liquidityPools/limitOrderUpdated.cjs +1 -1
- package/dist/111/liquidityPools/limitOrderUpdated.d.cts +10 -106
- package/dist/111/liquidityPools/limitOrderUpdated.d.ts +10 -106
- package/dist/111/liquidityPools/limitOrderUpdated.mjs +2 -2
- package/dist/111/liquidityPools/rangeOrderUpdated.cjs +1 -1
- package/dist/111/liquidityPools/rangeOrderUpdated.mjs +2 -2
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +4 -4
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +4 -4
- package/dist/120/bitcoinIngressEgress/depositIgnored.cjs +1 -1
- package/dist/120/bitcoinIngressEgress/depositIgnored.mjs +2 -2
- package/dist/120/bitcoinIngressEgress/depositReceived.cjs +1 -1
- package/dist/120/bitcoinIngressEgress/depositReceived.d.cts +10 -38
- package/dist/120/bitcoinIngressEgress/depositReceived.d.ts +10 -38
- package/dist/120/bitcoinIngressEgress/depositReceived.mjs +2 -2
- package/dist/120/common.cjs +5 -35
- package/dist/120/common.d.cts +9 -185
- package/dist/120/common.d.ts +9 -185
- package/dist/120/common.mjs +6 -36
- package/dist/120/ethereumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/120/ethereumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/120/ethereumIngressEgress/depositReceived.cjs +1 -1
- package/dist/120/ethereumIngressEgress/depositReceived.d.cts +10 -38
- package/dist/120/ethereumIngressEgress/depositReceived.d.ts +10 -38
- package/dist/120/ethereumIngressEgress/depositReceived.mjs +2 -2
- package/dist/120/polkadotIngressEgress/depositIgnored.cjs +1 -1
- package/dist/120/polkadotIngressEgress/depositIgnored.mjs +2 -2
- package/dist/120/polkadotIngressEgress/depositReceived.cjs +1 -1
- package/dist/120/polkadotIngressEgress/depositReceived.d.cts +10 -38
- package/dist/120/polkadotIngressEgress/depositReceived.d.ts +10 -38
- package/dist/120/polkadotIngressEgress/depositReceived.mjs +2 -2
- package/dist/120/swapping/swapEgressIgnored.d.cts +2 -2
- package/dist/120/swapping/swapEgressIgnored.d.ts +2 -2
- package/dist/120/swapping/swapEgressScheduled.d.cts +2 -2
- package/dist/120/swapping/swapEgressScheduled.d.ts +2 -2
- package/dist/131/bitcoinIngressEgress/depositIgnored.cjs +1 -1
- package/dist/131/bitcoinIngressEgress/depositIgnored.mjs +2 -2
- package/dist/131/bitcoinIngressEgress/depositReceived.cjs +1 -1
- package/dist/131/bitcoinIngressEgress/depositReceived.d.cts +10 -38
- package/dist/131/bitcoinIngressEgress/depositReceived.d.ts +10 -38
- package/dist/131/bitcoinIngressEgress/depositReceived.mjs +2 -2
- package/dist/131/common.cjs +11 -21
- package/dist/131/common.d.cts +32 -121
- package/dist/131/common.d.ts +32 -121
- package/dist/131/common.mjs +14 -24
- package/dist/131/ethereumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/131/ethereumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/131/ethereumIngressEgress/depositReceived.cjs +1 -1
- package/dist/131/ethereumIngressEgress/depositReceived.d.cts +10 -38
- package/dist/131/ethereumIngressEgress/depositReceived.d.ts +10 -38
- package/dist/131/ethereumIngressEgress/depositReceived.mjs +2 -2
- package/dist/131/liquidityPools/limitOrderUpdated.cjs +1 -1
- package/dist/131/liquidityPools/limitOrderUpdated.d.cts +10 -106
- package/dist/131/liquidityPools/limitOrderUpdated.d.ts +10 -106
- package/dist/131/liquidityPools/limitOrderUpdated.mjs +2 -2
- package/dist/131/liquidityPools/rangeOrderUpdated.cjs +1 -1
- package/dist/131/liquidityPools/rangeOrderUpdated.mjs +2 -2
- package/dist/131/swapping/ccmFailed.d.cts +5 -19
- package/dist/131/swapping/ccmFailed.d.ts +5 -19
- package/dist/131/swapping/swapScheduled.d.cts +5 -19
- package/dist/131/swapping/swapScheduled.d.ts +5 -19
- package/dist/141/arbitrumIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/arbitrumIngressEgress/depositBoosted.d.cts +15 -57
- package/dist/141/arbitrumIngressEgress/depositBoosted.d.ts +15 -57
- package/dist/141/arbitrumIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/arbitrumIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/arbitrumIngressEgress/depositFinalised.d.cts +15 -57
- package/dist/141/arbitrumIngressEgress/depositFinalised.d.ts +15 -57
- package/dist/141/arbitrumIngressEgress/depositFinalised.mjs +2 -2
- package/dist/141/arbitrumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/141/arbitrumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/141/bitcoinIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +15 -57
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +15 -57
- package/dist/141/bitcoinIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/bitcoinIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +15 -57
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +15 -57
- package/dist/141/bitcoinIngressEgress/depositFinalised.mjs +2 -2
- package/dist/141/common.cjs +12 -52
- package/dist/141/common.d.cts +35 -320
- package/dist/141/common.d.ts +35 -320
- package/dist/141/common.mjs +15 -55
- package/dist/141/ethereumIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +15 -57
- package/dist/141/ethereumIngressEgress/depositBoosted.d.ts +15 -57
- package/dist/141/ethereumIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/ethereumIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +15 -57
- package/dist/141/ethereumIngressEgress/depositFinalised.d.ts +15 -57
- package/dist/141/ethereumIngressEgress/depositFinalised.mjs +2 -2
- package/dist/141/liquidityPools/limitOrderUpdated.cjs +1 -1
- package/dist/141/liquidityPools/limitOrderUpdated.d.cts +10 -106
- package/dist/141/liquidityPools/limitOrderUpdated.d.ts +10 -106
- package/dist/141/liquidityPools/limitOrderUpdated.mjs +2 -2
- package/dist/141/liquidityPools/rangeOrderUpdated.cjs +1 -1
- package/dist/141/liquidityPools/rangeOrderUpdated.mjs +2 -2
- package/dist/141/polkadotIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +15 -57
- package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +15 -57
- package/dist/141/polkadotIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/polkadotIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +15 -57
- package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +15 -57
- package/dist/141/polkadotIngressEgress/depositFinalised.mjs +2 -2
- package/dist/141/swapping/ccmFailed.d.cts +5 -19
- package/dist/141/swapping/ccmFailed.d.ts +5 -19
- package/dist/141/swapping/swapScheduled.d.cts +5 -19
- package/dist/141/swapping/swapScheduled.d.ts +5 -19
- package/dist/Processor.cjs +2 -2
- package/dist/Processor.mjs +2 -2
- package/dist/types.d.cts +1 -3
- package/dist/types.d.ts +1 -3
- 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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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:
|
|
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.
|
|
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
|
-
|
|
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:
|
|
16
|
+
sizeChange: palletCfPoolsIncreaseOrDecreaseRangeOrderChange.nullish(),
|
|
17
17
|
liquidityTotal: numberOrHex,
|
|
18
18
|
collectedFees: palletCfPoolsAssetsMapU128
|
|
19
19
|
});
|
|
@@ -146,8 +146,6 @@ declare const liquidityPoolsScheduledLimitOrderUpdateDispatchFailure: z.ZodObjec
|
|
|
146
146
|
__kind: "RootNotAllowed";
|
|
147
147
|
}>]>;
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
|
-
lp: string;
|
|
150
|
-
orderId: bigint;
|
|
151
149
|
error: {
|
|
152
150
|
__kind: "Other";
|
|
153
151
|
} | {
|
|
@@ -184,9 +182,9 @@ declare const liquidityPoolsScheduledLimitOrderUpdateDispatchFailure: z.ZodObjec
|
|
|
184
182
|
} | {
|
|
185
183
|
__kind: "RootNotAllowed";
|
|
186
184
|
};
|
|
187
|
-
}, {
|
|
188
185
|
lp: string;
|
|
189
|
-
orderId:
|
|
186
|
+
orderId: bigint;
|
|
187
|
+
}, {
|
|
190
188
|
error: {
|
|
191
189
|
__kind: "Other";
|
|
192
190
|
} | {
|
|
@@ -229,6 +227,8 @@ declare const liquidityPoolsScheduledLimitOrderUpdateDispatchFailure: z.ZodObjec
|
|
|
229
227
|
} | {
|
|
230
228
|
__kind: "RootNotAllowed";
|
|
231
229
|
};
|
|
230
|
+
lp: string;
|
|
231
|
+
orderId: string | number;
|
|
232
232
|
}>;
|
|
233
233
|
|
|
234
234
|
export { liquidityPoolsScheduledLimitOrderUpdateDispatchFailure };
|
|
@@ -146,8 +146,6 @@ declare const liquidityPoolsScheduledLimitOrderUpdateDispatchFailure: z.ZodObjec
|
|
|
146
146
|
__kind: "RootNotAllowed";
|
|
147
147
|
}>]>;
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
|
-
lp: string;
|
|
150
|
-
orderId: bigint;
|
|
151
149
|
error: {
|
|
152
150
|
__kind: "Other";
|
|
153
151
|
} | {
|
|
@@ -184,9 +182,9 @@ declare const liquidityPoolsScheduledLimitOrderUpdateDispatchFailure: z.ZodObjec
|
|
|
184
182
|
} | {
|
|
185
183
|
__kind: "RootNotAllowed";
|
|
186
184
|
};
|
|
187
|
-
}, {
|
|
188
185
|
lp: string;
|
|
189
|
-
orderId:
|
|
186
|
+
orderId: bigint;
|
|
187
|
+
}, {
|
|
190
188
|
error: {
|
|
191
189
|
__kind: "Other";
|
|
192
190
|
} | {
|
|
@@ -229,6 +227,8 @@ declare const liquidityPoolsScheduledLimitOrderUpdateDispatchFailure: z.ZodObjec
|
|
|
229
227
|
} | {
|
|
230
228
|
__kind: "RootNotAllowed";
|
|
231
229
|
};
|
|
230
|
+
lp: string;
|
|
231
|
+
orderId: string | number;
|
|
232
232
|
}>;
|
|
233
233
|
|
|
234
234
|
export { liquidityPoolsScheduledLimitOrderUpdateDispatchFailure };
|
|
@@ -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.
|
|
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
|
-
|
|
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:
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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:
|
|
16
|
+
action: palletCfIngressEgressDepositAction
|
|
17
17
|
});
|
|
18
18
|
export {
|
|
19
19
|
bitcoinIngressEgressDepositReceived
|