@chainflip/rpc 2.1.7-dev.0 → 2.1.8
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/common.d.cts +77 -58
- package/dist/common.d.mts +77 -58
- package/dist/parsers.cjs +7 -6
- package/dist/parsers.d.cts +96 -58
- package/dist/parsers.d.mts +96 -58
- package/dist/parsers.mjs +6 -5
- package/package.json +2 -2
package/dist/parsers.d.mts
CHANGED
|
@@ -2465,7 +2465,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2465
2465
|
Solana: number;
|
|
2466
2466
|
Assethub: number;
|
|
2467
2467
|
}>;
|
|
2468
|
-
boost_minimum_add_funds_amounts: z.
|
|
2468
|
+
boost_minimum_add_funds_amounts: z.ZodObject<{
|
|
2469
2469
|
Bitcoin: z.ZodObject<{
|
|
2470
2470
|
BTC: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
2471
2471
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2583,7 +2583,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2583
2583
|
USDT: string | number | null;
|
|
2584
2584
|
DOT: string | number | null;
|
|
2585
2585
|
};
|
|
2586
|
-
}
|
|
2586
|
+
}>;
|
|
2587
2587
|
}, "strip", z.ZodTypeAny, {
|
|
2588
2588
|
minimum_deposit_amounts: {
|
|
2589
2589
|
Bitcoin: {
|
|
@@ -2721,7 +2721,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2721
2721
|
Solana: number;
|
|
2722
2722
|
Assethub: number;
|
|
2723
2723
|
};
|
|
2724
|
-
boost_minimum_add_funds_amounts
|
|
2724
|
+
boost_minimum_add_funds_amounts: {
|
|
2725
2725
|
Bitcoin: {
|
|
2726
2726
|
BTC: bigint | null;
|
|
2727
2727
|
};
|
|
@@ -2747,7 +2747,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2747
2747
|
USDT: bigint | null;
|
|
2748
2748
|
DOT: bigint | null;
|
|
2749
2749
|
};
|
|
2750
|
-
}
|
|
2750
|
+
};
|
|
2751
2751
|
}, {
|
|
2752
2752
|
minimum_deposit_amounts: {
|
|
2753
2753
|
Bitcoin: {
|
|
@@ -2885,7 +2885,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2885
2885
|
Solana: number;
|
|
2886
2886
|
Assethub: number;
|
|
2887
2887
|
};
|
|
2888
|
-
boost_minimum_add_funds_amounts
|
|
2888
|
+
boost_minimum_add_funds_amounts: {
|
|
2889
2889
|
Bitcoin: {
|
|
2890
2890
|
BTC: string | number | null;
|
|
2891
2891
|
};
|
|
@@ -2911,7 +2911,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2911
2911
|
USDT: string | number | null;
|
|
2912
2912
|
DOT: string | number | null;
|
|
2913
2913
|
};
|
|
2914
|
-
}
|
|
2914
|
+
};
|
|
2915
2915
|
}>, Rename<{
|
|
2916
2916
|
minimum_deposit_amounts: {
|
|
2917
2917
|
Bitcoin: {
|
|
@@ -3049,7 +3049,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
3049
3049
|
Solana: number;
|
|
3050
3050
|
Assethub: number;
|
|
3051
3051
|
};
|
|
3052
|
-
boost_minimum_add_funds_amounts
|
|
3052
|
+
boost_minimum_add_funds_amounts: {
|
|
3053
3053
|
Bitcoin: {
|
|
3054
3054
|
BTC: bigint | null;
|
|
3055
3055
|
};
|
|
@@ -3075,7 +3075,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
3075
3075
|
USDT: bigint | null;
|
|
3076
3076
|
DOT: bigint | null;
|
|
3077
3077
|
};
|
|
3078
|
-
}
|
|
3078
|
+
};
|
|
3079
3079
|
}, {
|
|
3080
3080
|
readonly egress_dust_limits: "minimum_egress_amounts";
|
|
3081
3081
|
}>, {
|
|
@@ -3215,7 +3215,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
3215
3215
|
Solana: number;
|
|
3216
3216
|
Assethub: number;
|
|
3217
3217
|
};
|
|
3218
|
-
boost_minimum_add_funds_amounts
|
|
3218
|
+
boost_minimum_add_funds_amounts: {
|
|
3219
3219
|
Bitcoin: {
|
|
3220
3220
|
BTC: string | number | null;
|
|
3221
3221
|
};
|
|
@@ -3241,7 +3241,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
3241
3241
|
USDT: string | number | null;
|
|
3242
3242
|
DOT: string | number | null;
|
|
3243
3243
|
};
|
|
3244
|
-
}
|
|
3244
|
+
};
|
|
3245
3245
|
}>;
|
|
3246
3246
|
declare const cfSwappingEnvironment: z.ZodObject<{
|
|
3247
3247
|
maximum_swap_amounts: z.ZodObject<{
|
|
@@ -4012,7 +4012,7 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
4012
4012
|
};
|
|
4013
4013
|
};
|
|
4014
4014
|
}>;
|
|
4015
|
-
default_oracle_price_protection: z.
|
|
4015
|
+
default_oracle_price_protection: z.ZodObject<{
|
|
4016
4016
|
Bitcoin: z.ZodObject<{
|
|
4017
4017
|
BTC: z.ZodNullable<z.ZodNumber>;
|
|
4018
4018
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4130,7 +4130,7 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
4130
4130
|
USDT: number | null;
|
|
4131
4131
|
DOT: number | null;
|
|
4132
4132
|
};
|
|
4133
|
-
}
|
|
4133
|
+
}>;
|
|
4134
4134
|
}, "strip", z.ZodTypeAny, {
|
|
4135
4135
|
maximum_swap_amounts: {
|
|
4136
4136
|
Bitcoin: {
|
|
@@ -4258,7 +4258,7 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
4258
4258
|
};
|
|
4259
4259
|
};
|
|
4260
4260
|
};
|
|
4261
|
-
default_oracle_price_protection
|
|
4261
|
+
default_oracle_price_protection: {
|
|
4262
4262
|
Bitcoin: {
|
|
4263
4263
|
BTC: number | null;
|
|
4264
4264
|
};
|
|
@@ -4284,7 +4284,7 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
4284
4284
|
USDT: number | null;
|
|
4285
4285
|
DOT: number | null;
|
|
4286
4286
|
};
|
|
4287
|
-
}
|
|
4287
|
+
};
|
|
4288
4288
|
}, {
|
|
4289
4289
|
maximum_swap_amounts: {
|
|
4290
4290
|
Bitcoin: {
|
|
@@ -4412,7 +4412,7 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
4412
4412
|
};
|
|
4413
4413
|
};
|
|
4414
4414
|
};
|
|
4415
|
-
default_oracle_price_protection
|
|
4415
|
+
default_oracle_price_protection: {
|
|
4416
4416
|
Bitcoin: {
|
|
4417
4417
|
BTC: number | null;
|
|
4418
4418
|
};
|
|
@@ -4438,7 +4438,7 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
4438
4438
|
USDT: number | null;
|
|
4439
4439
|
DOT: number | null;
|
|
4440
4440
|
};
|
|
4441
|
-
}
|
|
4441
|
+
};
|
|
4442
4442
|
}>;
|
|
4443
4443
|
declare const cfFundingEnvironment: z.ZodObject<{
|
|
4444
4444
|
redemption_tax: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
@@ -10424,7 +10424,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
10424
10424
|
Solana: number;
|
|
10425
10425
|
Assethub: number;
|
|
10426
10426
|
}>;
|
|
10427
|
-
boost_minimum_add_funds_amounts: z.
|
|
10427
|
+
boost_minimum_add_funds_amounts: z.ZodObject<{
|
|
10428
10428
|
Bitcoin: z.ZodObject<{
|
|
10429
10429
|
BTC: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
10430
10430
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -10542,7 +10542,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
10542
10542
|
USDT: string | number | null;
|
|
10543
10543
|
DOT: string | number | null;
|
|
10544
10544
|
};
|
|
10545
|
-
}
|
|
10545
|
+
}>;
|
|
10546
10546
|
}, "strip", z.ZodTypeAny, {
|
|
10547
10547
|
minimum_deposit_amounts: {
|
|
10548
10548
|
Bitcoin: {
|
|
@@ -10680,7 +10680,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
10680
10680
|
Solana: number;
|
|
10681
10681
|
Assethub: number;
|
|
10682
10682
|
};
|
|
10683
|
-
boost_minimum_add_funds_amounts
|
|
10683
|
+
boost_minimum_add_funds_amounts: {
|
|
10684
10684
|
Bitcoin: {
|
|
10685
10685
|
BTC: bigint | null;
|
|
10686
10686
|
};
|
|
@@ -10706,7 +10706,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
10706
10706
|
USDT: bigint | null;
|
|
10707
10707
|
DOT: bigint | null;
|
|
10708
10708
|
};
|
|
10709
|
-
}
|
|
10709
|
+
};
|
|
10710
10710
|
}, {
|
|
10711
10711
|
minimum_deposit_amounts: {
|
|
10712
10712
|
Bitcoin: {
|
|
@@ -10844,7 +10844,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
10844
10844
|
Solana: number;
|
|
10845
10845
|
Assethub: number;
|
|
10846
10846
|
};
|
|
10847
|
-
boost_minimum_add_funds_amounts
|
|
10847
|
+
boost_minimum_add_funds_amounts: {
|
|
10848
10848
|
Bitcoin: {
|
|
10849
10849
|
BTC: string | number | null;
|
|
10850
10850
|
};
|
|
@@ -10870,7 +10870,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
10870
10870
|
USDT: string | number | null;
|
|
10871
10871
|
DOT: string | number | null;
|
|
10872
10872
|
};
|
|
10873
|
-
}
|
|
10873
|
+
};
|
|
10874
10874
|
}>, Rename<{
|
|
10875
10875
|
minimum_deposit_amounts: {
|
|
10876
10876
|
Bitcoin: {
|
|
@@ -11008,7 +11008,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
11008
11008
|
Solana: number;
|
|
11009
11009
|
Assethub: number;
|
|
11010
11010
|
};
|
|
11011
|
-
boost_minimum_add_funds_amounts
|
|
11011
|
+
boost_minimum_add_funds_amounts: {
|
|
11012
11012
|
Bitcoin: {
|
|
11013
11013
|
BTC: bigint | null;
|
|
11014
11014
|
};
|
|
@@ -11034,7 +11034,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
11034
11034
|
USDT: bigint | null;
|
|
11035
11035
|
DOT: bigint | null;
|
|
11036
11036
|
};
|
|
11037
|
-
}
|
|
11037
|
+
};
|
|
11038
11038
|
}, {
|
|
11039
11039
|
readonly egress_dust_limits: "minimum_egress_amounts";
|
|
11040
11040
|
}>, {
|
|
@@ -11174,7 +11174,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
11174
11174
|
Solana: number;
|
|
11175
11175
|
Assethub: number;
|
|
11176
11176
|
};
|
|
11177
|
-
boost_minimum_add_funds_amounts
|
|
11177
|
+
boost_minimum_add_funds_amounts: {
|
|
11178
11178
|
Bitcoin: {
|
|
11179
11179
|
BTC: string | number | null;
|
|
11180
11180
|
};
|
|
@@ -11200,7 +11200,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
11200
11200
|
USDT: string | number | null;
|
|
11201
11201
|
DOT: string | number | null;
|
|
11202
11202
|
};
|
|
11203
|
-
}
|
|
11203
|
+
};
|
|
11204
11204
|
}>;
|
|
11205
11205
|
swapping: z.ZodObject<{
|
|
11206
11206
|
maximum_swap_amounts: z.ZodObject<{
|
|
@@ -11971,7 +11971,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
11971
11971
|
};
|
|
11972
11972
|
};
|
|
11973
11973
|
}>;
|
|
11974
|
-
default_oracle_price_protection: z.
|
|
11974
|
+
default_oracle_price_protection: z.ZodObject<{
|
|
11975
11975
|
Bitcoin: z.ZodObject<{
|
|
11976
11976
|
BTC: z.ZodNullable<z.ZodNumber>;
|
|
11977
11977
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12089,7 +12089,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
12089
12089
|
USDT: number | null;
|
|
12090
12090
|
DOT: number | null;
|
|
12091
12091
|
};
|
|
12092
|
-
}
|
|
12092
|
+
}>;
|
|
12093
12093
|
}, "strip", z.ZodTypeAny, {
|
|
12094
12094
|
maximum_swap_amounts: {
|
|
12095
12095
|
Bitcoin: {
|
|
@@ -12217,7 +12217,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
12217
12217
|
};
|
|
12218
12218
|
};
|
|
12219
12219
|
};
|
|
12220
|
-
default_oracle_price_protection
|
|
12220
|
+
default_oracle_price_protection: {
|
|
12221
12221
|
Bitcoin: {
|
|
12222
12222
|
BTC: number | null;
|
|
12223
12223
|
};
|
|
@@ -12243,7 +12243,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
12243
12243
|
USDT: number | null;
|
|
12244
12244
|
DOT: number | null;
|
|
12245
12245
|
};
|
|
12246
|
-
}
|
|
12246
|
+
};
|
|
12247
12247
|
}, {
|
|
12248
12248
|
maximum_swap_amounts: {
|
|
12249
12249
|
Bitcoin: {
|
|
@@ -12371,7 +12371,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
12371
12371
|
};
|
|
12372
12372
|
};
|
|
12373
12373
|
};
|
|
12374
|
-
default_oracle_price_protection
|
|
12374
|
+
default_oracle_price_protection: {
|
|
12375
12375
|
Bitcoin: {
|
|
12376
12376
|
BTC: number | null;
|
|
12377
12377
|
};
|
|
@@ -12397,7 +12397,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
12397
12397
|
USDT: number | null;
|
|
12398
12398
|
DOT: number | null;
|
|
12399
12399
|
};
|
|
12400
|
-
}
|
|
12400
|
+
};
|
|
12401
12401
|
}>;
|
|
12402
12402
|
funding: z.ZodObject<{
|
|
12403
12403
|
redemption_tax: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
@@ -17967,7 +17967,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
17967
17967
|
Solana: number;
|
|
17968
17968
|
Assethub: number;
|
|
17969
17969
|
};
|
|
17970
|
-
boost_minimum_add_funds_amounts
|
|
17970
|
+
boost_minimum_add_funds_amounts: {
|
|
17971
17971
|
Bitcoin: {
|
|
17972
17972
|
BTC: bigint | null;
|
|
17973
17973
|
};
|
|
@@ -17993,7 +17993,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
17993
17993
|
USDT: bigint | null;
|
|
17994
17994
|
DOT: bigint | null;
|
|
17995
17995
|
};
|
|
17996
|
-
}
|
|
17996
|
+
};
|
|
17997
17997
|
}, "egress_dust_limits"> & {
|
|
17998
17998
|
readonly minimum_egress_amounts: {
|
|
17999
17999
|
Bitcoin: {
|
|
@@ -18150,7 +18150,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
18150
18150
|
};
|
|
18151
18151
|
};
|
|
18152
18152
|
};
|
|
18153
|
-
default_oracle_price_protection
|
|
18153
|
+
default_oracle_price_protection: {
|
|
18154
18154
|
Bitcoin: {
|
|
18155
18155
|
BTC: number | null;
|
|
18156
18156
|
};
|
|
@@ -18176,7 +18176,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
18176
18176
|
USDT: number | null;
|
|
18177
18177
|
DOT: number | null;
|
|
18178
18178
|
};
|
|
18179
|
-
}
|
|
18179
|
+
};
|
|
18180
18180
|
};
|
|
18181
18181
|
funding: {
|
|
18182
18182
|
redemption_tax: bigint;
|
|
@@ -18992,7 +18992,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
18992
18992
|
Solana: number;
|
|
18993
18993
|
Assethub: number;
|
|
18994
18994
|
};
|
|
18995
|
-
boost_minimum_add_funds_amounts
|
|
18995
|
+
boost_minimum_add_funds_amounts: {
|
|
18996
18996
|
Bitcoin: {
|
|
18997
18997
|
BTC: string | number | null;
|
|
18998
18998
|
};
|
|
@@ -19018,7 +19018,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
19018
19018
|
USDT: string | number | null;
|
|
19019
19019
|
DOT: string | number | null;
|
|
19020
19020
|
};
|
|
19021
|
-
}
|
|
19021
|
+
};
|
|
19022
19022
|
};
|
|
19023
19023
|
swapping: {
|
|
19024
19024
|
maximum_swap_amounts: {
|
|
@@ -19147,7 +19147,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
19147
19147
|
};
|
|
19148
19148
|
};
|
|
19149
19149
|
};
|
|
19150
|
-
default_oracle_price_protection
|
|
19150
|
+
default_oracle_price_protection: {
|
|
19151
19151
|
Bitcoin: {
|
|
19152
19152
|
BTC: number | null;
|
|
19153
19153
|
};
|
|
@@ -19173,7 +19173,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
19173
19173
|
USDT: number | null;
|
|
19174
19174
|
DOT: number | null;
|
|
19175
19175
|
};
|
|
19176
|
-
}
|
|
19176
|
+
};
|
|
19177
19177
|
};
|
|
19178
19178
|
funding: {
|
|
19179
19179
|
redemption_tax: string | number;
|
|
@@ -35403,7 +35403,7 @@ declare const cfSafeModeStatuses: z.ZodObject<{
|
|
|
35403
35403
|
vault_deposit_witnessing_enabled: boolean;
|
|
35404
35404
|
}>;
|
|
35405
35405
|
witnesser: z.ZodEnum<["CodeRed", "CodeGreen", "CodeAmber"]>;
|
|
35406
|
-
ethereum_elections: z.
|
|
35406
|
+
ethereum_elections: z.ZodObject<{
|
|
35407
35407
|
state_chain_gateway_witnessing: z.ZodBoolean;
|
|
35408
35408
|
key_manager_witnessing: z.ZodBoolean;
|
|
35409
35409
|
sc_utils_witnessing: z.ZodBoolean;
|
|
@@ -35415,14 +35415,14 @@ declare const cfSafeModeStatuses: z.ZodObject<{
|
|
|
35415
35415
|
state_chain_gateway_witnessing: boolean;
|
|
35416
35416
|
key_manager_witnessing: boolean;
|
|
35417
35417
|
sc_utils_witnessing: boolean;
|
|
35418
|
-
}
|
|
35419
|
-
arbitrum_elections: z.
|
|
35418
|
+
}>;
|
|
35419
|
+
arbitrum_elections: z.ZodObject<{
|
|
35420
35420
|
key_manager_witnessing: z.ZodBoolean;
|
|
35421
35421
|
}, "strip", z.ZodTypeAny, {
|
|
35422
35422
|
key_manager_witnessing: boolean;
|
|
35423
35423
|
}, {
|
|
35424
35424
|
key_manager_witnessing: boolean;
|
|
35425
|
-
}
|
|
35425
|
+
}>;
|
|
35426
35426
|
elections_generic: z.ZodObject<{
|
|
35427
35427
|
oracle_price_elections: z.ZodBoolean;
|
|
35428
35428
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -35776,17 +35776,17 @@ declare const cfSafeModeStatuses: z.ZodObject<{
|
|
|
35776
35776
|
vault_deposit_witnessing_enabled: boolean;
|
|
35777
35777
|
};
|
|
35778
35778
|
witnesser: "CodeRed" | "CodeGreen" | "CodeAmber";
|
|
35779
|
-
|
|
35780
|
-
oracle_price_elections: boolean;
|
|
35781
|
-
};
|
|
35782
|
-
ethereum_elections?: {
|
|
35779
|
+
ethereum_elections: {
|
|
35783
35780
|
state_chain_gateway_witnessing: boolean;
|
|
35784
35781
|
key_manager_witnessing: boolean;
|
|
35785
35782
|
sc_utils_witnessing: boolean;
|
|
35786
|
-
}
|
|
35787
|
-
arbitrum_elections
|
|
35783
|
+
};
|
|
35784
|
+
arbitrum_elections: {
|
|
35788
35785
|
key_manager_witnessing: boolean;
|
|
35789
|
-
}
|
|
35786
|
+
};
|
|
35787
|
+
elections_generic: {
|
|
35788
|
+
oracle_price_elections: boolean;
|
|
35789
|
+
};
|
|
35790
35790
|
}, {
|
|
35791
35791
|
asset_balances: {
|
|
35792
35792
|
reconciliation_enabled: boolean;
|
|
@@ -35923,17 +35923,17 @@ declare const cfSafeModeStatuses: z.ZodObject<{
|
|
|
35923
35923
|
vault_deposit_witnessing_enabled: boolean;
|
|
35924
35924
|
};
|
|
35925
35925
|
witnesser: "CodeRed" | "CodeGreen" | "CodeAmber";
|
|
35926
|
-
|
|
35927
|
-
oracle_price_elections: boolean;
|
|
35928
|
-
};
|
|
35929
|
-
ethereum_elections?: {
|
|
35926
|
+
ethereum_elections: {
|
|
35930
35927
|
state_chain_gateway_witnessing: boolean;
|
|
35931
35928
|
key_manager_witnessing: boolean;
|
|
35932
35929
|
sc_utils_witnessing: boolean;
|
|
35933
|
-
}
|
|
35934
|
-
arbitrum_elections
|
|
35930
|
+
};
|
|
35931
|
+
arbitrum_elections: {
|
|
35935
35932
|
key_manager_witnessing: boolean;
|
|
35936
|
-
}
|
|
35933
|
+
};
|
|
35934
|
+
elections_generic: {
|
|
35935
|
+
oracle_price_elections: boolean;
|
|
35936
|
+
};
|
|
35937
35937
|
}>;
|
|
35938
35938
|
declare const cfLendingPools: z.ZodArray<z.ZodObject<{
|
|
35939
35939
|
asset: z.ZodUnion<[z.ZodObject<{
|
|
@@ -36747,6 +36747,13 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
36747
36747
|
asset: "USDT";
|
|
36748
36748
|
}>]>;
|
|
36749
36749
|
principal_amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
36750
|
+
loan_type: z.ZodOptional<z.ZodObject<{
|
|
36751
|
+
User: z.ZodEffects<z.ZodString, `cF${string}`, string>;
|
|
36752
|
+
}, "strip", z.ZodTypeAny, {
|
|
36753
|
+
User: `cF${string}`;
|
|
36754
|
+
}, {
|
|
36755
|
+
User: string;
|
|
36756
|
+
}>>;
|
|
36750
36757
|
}, "strip", z.ZodTypeAny, {
|
|
36751
36758
|
asset: {
|
|
36752
36759
|
chain: "Bitcoin";
|
|
@@ -36796,6 +36803,9 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
36796
36803
|
};
|
|
36797
36804
|
loan_id: number;
|
|
36798
36805
|
principal_amount: bigint;
|
|
36806
|
+
loan_type?: {
|
|
36807
|
+
User: `cF${string}`;
|
|
36808
|
+
} | undefined;
|
|
36799
36809
|
}, {
|
|
36800
36810
|
asset: {
|
|
36801
36811
|
chain: "Bitcoin";
|
|
@@ -36845,6 +36855,9 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
36845
36855
|
};
|
|
36846
36856
|
loan_id: number;
|
|
36847
36857
|
principal_amount: string | number;
|
|
36858
|
+
loan_type?: {
|
|
36859
|
+
User: string;
|
|
36860
|
+
} | undefined;
|
|
36848
36861
|
}>, "many">;
|
|
36849
36862
|
liquidation_status: z.ZodNullable<z.ZodObject<{
|
|
36850
36863
|
liquidation_swaps: z.ZodArray<z.ZodObject<{
|
|
@@ -37017,6 +37030,9 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
37017
37030
|
};
|
|
37018
37031
|
loan_id: number;
|
|
37019
37032
|
principal_amount: bigint;
|
|
37033
|
+
loan_type?: {
|
|
37034
|
+
User: `cF${string}`;
|
|
37035
|
+
} | undefined;
|
|
37020
37036
|
}[];
|
|
37021
37037
|
liquidation_status: {
|
|
37022
37038
|
liquidation_swaps: {
|
|
@@ -37171,6 +37187,9 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
37171
37187
|
};
|
|
37172
37188
|
loan_id: number;
|
|
37173
37189
|
principal_amount: string | number;
|
|
37190
|
+
loan_type?: {
|
|
37191
|
+
User: string;
|
|
37192
|
+
} | undefined;
|
|
37174
37193
|
}[];
|
|
37175
37194
|
liquidation_status: {
|
|
37176
37195
|
liquidation_swaps: {
|
|
@@ -37600,6 +37619,13 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
37600
37619
|
asset: "USDT";
|
|
37601
37620
|
}>]>;
|
|
37602
37621
|
principal_amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
37622
|
+
loan_type: z.ZodOptional<z.ZodObject<{
|
|
37623
|
+
User: z.ZodEffects<z.ZodString, `cF${string}`, string>;
|
|
37624
|
+
}, "strip", z.ZodTypeAny, {
|
|
37625
|
+
User: `cF${string}`;
|
|
37626
|
+
}, {
|
|
37627
|
+
User: string;
|
|
37628
|
+
}>>;
|
|
37603
37629
|
}, "strip", z.ZodTypeAny, {
|
|
37604
37630
|
asset: {
|
|
37605
37631
|
chain: "Bitcoin";
|
|
@@ -37649,6 +37675,9 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
37649
37675
|
};
|
|
37650
37676
|
loan_id: number;
|
|
37651
37677
|
principal_amount: bigint;
|
|
37678
|
+
loan_type?: {
|
|
37679
|
+
User: `cF${string}`;
|
|
37680
|
+
} | undefined;
|
|
37652
37681
|
}, {
|
|
37653
37682
|
asset: {
|
|
37654
37683
|
chain: "Bitcoin";
|
|
@@ -37698,6 +37727,9 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
37698
37727
|
};
|
|
37699
37728
|
loan_id: number;
|
|
37700
37729
|
principal_amount: string | number;
|
|
37730
|
+
loan_type?: {
|
|
37731
|
+
User: string;
|
|
37732
|
+
} | undefined;
|
|
37701
37733
|
}>, "many">;
|
|
37702
37734
|
liquidation_status: z.ZodNullable<z.ZodObject<{
|
|
37703
37735
|
liquidation_swaps: z.ZodArray<z.ZodObject<{
|
|
@@ -37870,6 +37902,9 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
37870
37902
|
};
|
|
37871
37903
|
loan_id: number;
|
|
37872
37904
|
principal_amount: bigint;
|
|
37905
|
+
loan_type?: {
|
|
37906
|
+
User: `cF${string}`;
|
|
37907
|
+
} | undefined;
|
|
37873
37908
|
}[];
|
|
37874
37909
|
liquidation_status: {
|
|
37875
37910
|
liquidation_swaps: {
|
|
@@ -38024,6 +38059,9 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
38024
38059
|
};
|
|
38025
38060
|
loan_id: number;
|
|
38026
38061
|
principal_amount: string | number;
|
|
38062
|
+
loan_type?: {
|
|
38063
|
+
User: string;
|
|
38064
|
+
} | undefined;
|
|
38027
38065
|
}[];
|
|
38028
38066
|
liquidation_status: {
|
|
38029
38067
|
liquidation_swaps: {
|
package/dist/parsers.mjs
CHANGED
|
@@ -191,7 +191,7 @@ const cfIngressEgressEnvironment = z.object({
|
|
|
191
191
|
channel_opening_fees: chainMapFactory(numberOrHex, 0),
|
|
192
192
|
ingress_delays: chainMapFactory(z.number(), 0),
|
|
193
193
|
boost_delays: chainMapFactory(z.number(), 0),
|
|
194
|
-
boost_minimum_add_funds_amounts: chainAssetMapFactory(numberOrHex.nullable(), null)
|
|
194
|
+
boost_minimum_add_funds_amounts: chainAssetMapFactory(numberOrHex.nullable(), null)
|
|
195
195
|
}).transform(rename({ egress_dust_limits: "minimum_egress_amounts" }));
|
|
196
196
|
const cfSwappingEnvironment = z.object({
|
|
197
197
|
maximum_swap_amounts: chainAssetMapFactory(numberOrHex.nullable(), null),
|
|
@@ -201,7 +201,7 @@ const cfSwappingEnvironment = z.object({
|
|
|
201
201
|
max_swap_request_duration_blocks: z.number(),
|
|
202
202
|
minimum_chunk_size: chainAssetMapFactory(numberOrHex.nullable(), null),
|
|
203
203
|
network_fees: networkFees,
|
|
204
|
-
default_oracle_price_protection: chainAssetMapFactory(z.number().nullable(), null)
|
|
204
|
+
default_oracle_price_protection: chainAssetMapFactory(z.number().nullable(), null)
|
|
205
205
|
});
|
|
206
206
|
const cfFundingEnvironment = z.object({
|
|
207
207
|
redemption_tax: numberOrHex,
|
|
@@ -675,8 +675,8 @@ const cfSafeModeStatuses = z.object({
|
|
|
675
675
|
state_chain_gateway_witnessing: z.boolean(),
|
|
676
676
|
key_manager_witnessing: z.boolean(),
|
|
677
677
|
sc_utils_witnessing: z.boolean()
|
|
678
|
-
})
|
|
679
|
-
arbitrum_elections: z.object({ key_manager_witnessing: z.boolean() })
|
|
678
|
+
}),
|
|
679
|
+
arbitrum_elections: z.object({ key_manager_witnessing: z.boolean() }),
|
|
680
680
|
elections_generic: z.object({ oracle_price_elections: z.boolean() })
|
|
681
681
|
});
|
|
682
682
|
const cfLendingPools = z.array(z.object({
|
|
@@ -732,7 +732,8 @@ const cfLoanAccount = z.object({
|
|
|
732
732
|
loans: z.array(z.object({
|
|
733
733
|
loan_id: z.number(),
|
|
734
734
|
asset: rpcAssetSchema,
|
|
735
|
-
principal_amount: numberOrHex
|
|
735
|
+
principal_amount: numberOrHex,
|
|
736
|
+
loan_type: z.object({ User: accountId }).optional()
|
|
736
737
|
})),
|
|
737
738
|
liquidation_status: z.object({
|
|
738
739
|
liquidation_swaps: z.array(z.object({
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainflip/rpc",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@chainflip/utils": "2.1.2",
|
|
7
7
|
"zod": "^3.25.75"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
|
-
"@types/node": "^25.
|
|
10
|
+
"@types/node": "^25.6.0",
|
|
11
11
|
"@types/ws": "^8.18.1",
|
|
12
12
|
"ws": "^8.20.0"
|
|
13
13
|
},
|