@chainflip/rpc 1.4.7 → 1.4.9
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 +137 -395
- package/dist/common.d.ts +137 -395
- package/dist/parsers.cjs +6 -6
- package/dist/parsers.d.cts +155 -431
- package/dist/parsers.d.ts +155 -431
- package/dist/parsers.mjs +6 -6
- package/package.json +1 -1
package/dist/parsers.d.cts
CHANGED
|
@@ -75,24 +75,6 @@ declare const rpcAssetSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
75
75
|
}, {
|
|
76
76
|
chain: "Arbitrum";
|
|
77
77
|
asset: "USDC";
|
|
78
|
-
}>, z.ZodObject<{
|
|
79
|
-
chain: z.ZodLiteral<"Solana">;
|
|
80
|
-
asset: z.ZodLiteral<"SOL">;
|
|
81
|
-
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
chain: "Solana";
|
|
83
|
-
asset: "SOL";
|
|
84
|
-
}, {
|
|
85
|
-
chain: "Solana";
|
|
86
|
-
asset: "SOL";
|
|
87
|
-
}>, z.ZodObject<{
|
|
88
|
-
chain: z.ZodLiteral<"Solana">;
|
|
89
|
-
asset: z.ZodLiteral<"USDC">;
|
|
90
|
-
}, "strip", z.ZodTypeAny, {
|
|
91
|
-
chain: "Solana";
|
|
92
|
-
asset: "USDC";
|
|
93
|
-
}, {
|
|
94
|
-
chain: "Solana";
|
|
95
|
-
asset: "USDC";
|
|
96
78
|
}>]>;
|
|
97
79
|
type AssetAndChain = z.output<typeof rpcAssetSchema>;
|
|
98
80
|
type Rename<T, U extends Record<string, string>> = Omit<T, keyof U> & {
|
|
@@ -223,24 +205,6 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
223
205
|
}, {
|
|
224
206
|
chain: "Arbitrum";
|
|
225
207
|
asset: "USDC";
|
|
226
|
-
}>, z.ZodObject<{
|
|
227
|
-
chain: z.ZodLiteral<"Solana">;
|
|
228
|
-
asset: z.ZodLiteral<"SOL">;
|
|
229
|
-
}, "strip", z.ZodTypeAny, {
|
|
230
|
-
chain: "Solana";
|
|
231
|
-
asset: "SOL";
|
|
232
|
-
}, {
|
|
233
|
-
chain: "Solana";
|
|
234
|
-
asset: "SOL";
|
|
235
|
-
}>, z.ZodObject<{
|
|
236
|
-
chain: z.ZodLiteral<"Solana">;
|
|
237
|
-
asset: z.ZodLiteral<"USDC">;
|
|
238
|
-
}, "strip", z.ZodTypeAny, {
|
|
239
|
-
chain: "Solana";
|
|
240
|
-
asset: "USDC";
|
|
241
|
-
}, {
|
|
242
|
-
chain: "Solana";
|
|
243
|
-
asset: "USDC";
|
|
244
208
|
}>]>, z.ZodObject<{
|
|
245
209
|
amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
246
210
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -320,24 +284,6 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
320
284
|
}, {
|
|
321
285
|
chain: "Arbitrum";
|
|
322
286
|
asset: "USDC";
|
|
323
|
-
}>, z.ZodObject<{
|
|
324
|
-
chain: z.ZodLiteral<"Solana">;
|
|
325
|
-
asset: z.ZodLiteral<"SOL">;
|
|
326
|
-
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
chain: "Solana";
|
|
328
|
-
asset: "SOL";
|
|
329
|
-
}, {
|
|
330
|
-
chain: "Solana";
|
|
331
|
-
asset: "SOL";
|
|
332
|
-
}>, z.ZodObject<{
|
|
333
|
-
chain: z.ZodLiteral<"Solana">;
|
|
334
|
-
asset: z.ZodLiteral<"USDC">;
|
|
335
|
-
}, "strip", z.ZodTypeAny, {
|
|
336
|
-
chain: "Solana";
|
|
337
|
-
asset: "USDC";
|
|
338
|
-
}, {
|
|
339
|
-
chain: "Solana";
|
|
340
|
-
asset: "USDC";
|
|
341
287
|
}>]>, z.ZodObject<{
|
|
342
288
|
amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
343
289
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -418,24 +364,6 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
418
364
|
}, {
|
|
419
365
|
chain: "Arbitrum";
|
|
420
366
|
asset: "USDC";
|
|
421
|
-
}>, z.ZodObject<{
|
|
422
|
-
chain: z.ZodLiteral<"Solana">;
|
|
423
|
-
asset: z.ZodLiteral<"SOL">;
|
|
424
|
-
}, "strip", z.ZodTypeAny, {
|
|
425
|
-
chain: "Solana";
|
|
426
|
-
asset: "SOL";
|
|
427
|
-
}, {
|
|
428
|
-
chain: "Solana";
|
|
429
|
-
asset: "SOL";
|
|
430
|
-
}>, z.ZodObject<{
|
|
431
|
-
chain: z.ZodLiteral<"Solana">;
|
|
432
|
-
asset: z.ZodLiteral<"USDC">;
|
|
433
|
-
}, "strip", z.ZodTypeAny, {
|
|
434
|
-
chain: "Solana";
|
|
435
|
-
asset: "USDC";
|
|
436
|
-
}, {
|
|
437
|
-
chain: "Solana";
|
|
438
|
-
asset: "USDC";
|
|
439
367
|
}>]>, z.ZodObject<{
|
|
440
368
|
amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
441
369
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -471,12 +399,6 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
471
399
|
} | {
|
|
472
400
|
chain: "Arbitrum";
|
|
473
401
|
asset: "USDC";
|
|
474
|
-
} | {
|
|
475
|
-
chain: "Solana";
|
|
476
|
-
asset: "SOL";
|
|
477
|
-
} | {
|
|
478
|
-
chain: "Solana";
|
|
479
|
-
asset: "USDC";
|
|
480
402
|
}) & {
|
|
481
403
|
amount: bigint;
|
|
482
404
|
};
|
|
@@ -504,12 +426,6 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
504
426
|
} | {
|
|
505
427
|
chain: "Arbitrum";
|
|
506
428
|
asset: "USDC";
|
|
507
|
-
} | {
|
|
508
|
-
chain: "Solana";
|
|
509
|
-
asset: "SOL";
|
|
510
|
-
} | {
|
|
511
|
-
chain: "Solana";
|
|
512
|
-
asset: "USDC";
|
|
513
429
|
}) & {
|
|
514
430
|
amount: bigint;
|
|
515
431
|
};
|
|
@@ -537,12 +453,6 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
537
453
|
} | {
|
|
538
454
|
chain: "Arbitrum";
|
|
539
455
|
asset: "USDC";
|
|
540
|
-
} | {
|
|
541
|
-
chain: "Solana";
|
|
542
|
-
asset: "SOL";
|
|
543
|
-
} | {
|
|
544
|
-
chain: "Solana";
|
|
545
|
-
asset: "USDC";
|
|
546
456
|
}) & {
|
|
547
457
|
amount: bigint;
|
|
548
458
|
};
|
|
@@ -573,12 +483,6 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
573
483
|
} | {
|
|
574
484
|
chain: "Arbitrum";
|
|
575
485
|
asset: "USDC";
|
|
576
|
-
} | {
|
|
577
|
-
chain: "Solana";
|
|
578
|
-
asset: "SOL";
|
|
579
|
-
} | {
|
|
580
|
-
chain: "Solana";
|
|
581
|
-
asset: "USDC";
|
|
582
486
|
}) & {
|
|
583
487
|
amount: string | number;
|
|
584
488
|
};
|
|
@@ -606,12 +510,6 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
606
510
|
} | {
|
|
607
511
|
chain: "Arbitrum";
|
|
608
512
|
asset: "USDC";
|
|
609
|
-
} | {
|
|
610
|
-
chain: "Solana";
|
|
611
|
-
asset: "SOL";
|
|
612
|
-
} | {
|
|
613
|
-
chain: "Solana";
|
|
614
|
-
asset: "USDC";
|
|
615
513
|
}) & {
|
|
616
514
|
amount: string | number;
|
|
617
515
|
};
|
|
@@ -639,12 +537,6 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
639
537
|
} | {
|
|
640
538
|
chain: "Arbitrum";
|
|
641
539
|
asset: "USDC";
|
|
642
|
-
} | {
|
|
643
|
-
chain: "Solana";
|
|
644
|
-
asset: "SOL";
|
|
645
|
-
} | {
|
|
646
|
-
chain: "Solana";
|
|
647
|
-
asset: "USDC";
|
|
648
540
|
}) & {
|
|
649
541
|
amount: string | number;
|
|
650
542
|
};
|
|
@@ -711,7 +603,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
711
603
|
}, {
|
|
712
604
|
DOT: string | number;
|
|
713
605
|
}>;
|
|
714
|
-
Arbitrum: z.ZodObject<{
|
|
606
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
715
607
|
ETH: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
716
608
|
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
717
609
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -720,7 +612,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
720
612
|
}, {
|
|
721
613
|
ETH?: string | number | undefined;
|
|
722
614
|
USDC?: string | number | undefined;
|
|
723
|
-
}
|
|
615
|
+
}>>;
|
|
724
616
|
}, "strip", z.ZodTypeAny, {
|
|
725
617
|
Bitcoin: {
|
|
726
618
|
BTC: bigint;
|
|
@@ -751,10 +643,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
751
643
|
Polkadot: {
|
|
752
644
|
DOT: string | number;
|
|
753
645
|
};
|
|
754
|
-
Arbitrum
|
|
646
|
+
Arbitrum?: {
|
|
755
647
|
ETH?: string | number | undefined;
|
|
756
648
|
USDC?: string | number | undefined;
|
|
757
|
-
};
|
|
649
|
+
} | undefined;
|
|
758
650
|
}>;
|
|
759
651
|
ingress_fees: z.ZodObject<{
|
|
760
652
|
Bitcoin: z.ZodObject<{
|
|
@@ -787,7 +679,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
787
679
|
}, {
|
|
788
680
|
DOT: string | number | null;
|
|
789
681
|
}>;
|
|
790
|
-
Arbitrum: z.ZodObject<{
|
|
682
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
791
683
|
ETH: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
792
684
|
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
793
685
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -796,7 +688,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
796
688
|
}, {
|
|
797
689
|
ETH?: string | number | null | undefined;
|
|
798
690
|
USDC?: string | number | null | undefined;
|
|
799
|
-
}
|
|
691
|
+
}>>;
|
|
800
692
|
}, "strip", z.ZodTypeAny, {
|
|
801
693
|
Bitcoin: {
|
|
802
694
|
BTC: bigint | null;
|
|
@@ -827,10 +719,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
827
719
|
Polkadot: {
|
|
828
720
|
DOT: string | number | null;
|
|
829
721
|
};
|
|
830
|
-
Arbitrum
|
|
722
|
+
Arbitrum?: {
|
|
831
723
|
ETH?: string | number | null | undefined;
|
|
832
724
|
USDC?: string | number | null | undefined;
|
|
833
|
-
};
|
|
725
|
+
} | undefined;
|
|
834
726
|
}>;
|
|
835
727
|
egress_fees: z.ZodObject<{
|
|
836
728
|
Bitcoin: z.ZodObject<{
|
|
@@ -863,7 +755,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
863
755
|
}, {
|
|
864
756
|
DOT: string | number | null;
|
|
865
757
|
}>;
|
|
866
|
-
Arbitrum: z.ZodObject<{
|
|
758
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
867
759
|
ETH: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
868
760
|
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
869
761
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -872,7 +764,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
872
764
|
}, {
|
|
873
765
|
ETH?: string | number | null | undefined;
|
|
874
766
|
USDC?: string | number | null | undefined;
|
|
875
|
-
}
|
|
767
|
+
}>>;
|
|
876
768
|
}, "strip", z.ZodTypeAny, {
|
|
877
769
|
Bitcoin: {
|
|
878
770
|
BTC: bigint | null;
|
|
@@ -903,10 +795,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
903
795
|
Polkadot: {
|
|
904
796
|
DOT: string | number | null;
|
|
905
797
|
};
|
|
906
|
-
Arbitrum
|
|
798
|
+
Arbitrum?: {
|
|
907
799
|
ETH?: string | number | null | undefined;
|
|
908
800
|
USDC?: string | number | null | undefined;
|
|
909
|
-
};
|
|
801
|
+
} | undefined;
|
|
910
802
|
}>;
|
|
911
803
|
witness_safety_margins: z.ZodObject<{
|
|
912
804
|
Bitcoin: z.ZodNullable<z.ZodNumber>;
|
|
@@ -955,7 +847,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
955
847
|
}, {
|
|
956
848
|
DOT: string | number;
|
|
957
849
|
}>;
|
|
958
|
-
Arbitrum: z.ZodObject<{
|
|
850
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
959
851
|
ETH: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
960
852
|
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
961
853
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -964,7 +856,7 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
964
856
|
}, {
|
|
965
857
|
ETH?: string | number | undefined;
|
|
966
858
|
USDC?: string | number | undefined;
|
|
967
|
-
}
|
|
859
|
+
}>>;
|
|
968
860
|
}, "strip", z.ZodTypeAny, {
|
|
969
861
|
Bitcoin: {
|
|
970
862
|
BTC: bigint;
|
|
@@ -995,10 +887,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
995
887
|
Polkadot: {
|
|
996
888
|
DOT: string | number;
|
|
997
889
|
};
|
|
998
|
-
Arbitrum
|
|
890
|
+
Arbitrum?: {
|
|
999
891
|
ETH?: string | number | undefined;
|
|
1000
892
|
USDC?: string | number | undefined;
|
|
1001
|
-
};
|
|
893
|
+
} | undefined;
|
|
1002
894
|
}>;
|
|
1003
895
|
channel_opening_fees: z.ZodObject<{
|
|
1004
896
|
Bitcoin: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
@@ -1115,10 +1007,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1115
1007
|
Polkadot: {
|
|
1116
1008
|
DOT: string | number;
|
|
1117
1009
|
};
|
|
1118
|
-
Arbitrum
|
|
1010
|
+
Arbitrum?: {
|
|
1119
1011
|
ETH?: string | number | undefined;
|
|
1120
1012
|
USDC?: string | number | undefined;
|
|
1121
|
-
};
|
|
1013
|
+
} | undefined;
|
|
1122
1014
|
};
|
|
1123
1015
|
ingress_fees: {
|
|
1124
1016
|
Bitcoin: {
|
|
@@ -1133,10 +1025,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1133
1025
|
Polkadot: {
|
|
1134
1026
|
DOT: string | number | null;
|
|
1135
1027
|
};
|
|
1136
|
-
Arbitrum
|
|
1028
|
+
Arbitrum?: {
|
|
1137
1029
|
ETH?: string | number | null | undefined;
|
|
1138
1030
|
USDC?: string | number | null | undefined;
|
|
1139
|
-
};
|
|
1031
|
+
} | undefined;
|
|
1140
1032
|
};
|
|
1141
1033
|
egress_fees: {
|
|
1142
1034
|
Bitcoin: {
|
|
@@ -1151,10 +1043,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1151
1043
|
Polkadot: {
|
|
1152
1044
|
DOT: string | number | null;
|
|
1153
1045
|
};
|
|
1154
|
-
Arbitrum
|
|
1046
|
+
Arbitrum?: {
|
|
1155
1047
|
ETH?: string | number | null | undefined;
|
|
1156
1048
|
USDC?: string | number | null | undefined;
|
|
1157
|
-
};
|
|
1049
|
+
} | undefined;
|
|
1158
1050
|
};
|
|
1159
1051
|
witness_safety_margins: {
|
|
1160
1052
|
Bitcoin: number | null;
|
|
@@ -1175,10 +1067,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1175
1067
|
Polkadot: {
|
|
1176
1068
|
DOT: string | number;
|
|
1177
1069
|
};
|
|
1178
|
-
Arbitrum
|
|
1070
|
+
Arbitrum?: {
|
|
1179
1071
|
ETH?: string | number | undefined;
|
|
1180
1072
|
USDC?: string | number | undefined;
|
|
1181
|
-
};
|
|
1073
|
+
} | undefined;
|
|
1182
1074
|
};
|
|
1183
1075
|
channel_opening_fees: {
|
|
1184
1076
|
Bitcoin: string | number;
|
|
@@ -1287,10 +1179,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1287
1179
|
Polkadot: {
|
|
1288
1180
|
DOT: string | number;
|
|
1289
1181
|
};
|
|
1290
|
-
Arbitrum
|
|
1182
|
+
Arbitrum?: {
|
|
1291
1183
|
ETH?: string | number | undefined;
|
|
1292
1184
|
USDC?: string | number | undefined;
|
|
1293
|
-
};
|
|
1185
|
+
} | undefined;
|
|
1294
1186
|
};
|
|
1295
1187
|
ingress_fees: {
|
|
1296
1188
|
Bitcoin: {
|
|
@@ -1305,10 +1197,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1305
1197
|
Polkadot: {
|
|
1306
1198
|
DOT: string | number | null;
|
|
1307
1199
|
};
|
|
1308
|
-
Arbitrum
|
|
1200
|
+
Arbitrum?: {
|
|
1309
1201
|
ETH?: string | number | null | undefined;
|
|
1310
1202
|
USDC?: string | number | null | undefined;
|
|
1311
|
-
};
|
|
1203
|
+
} | undefined;
|
|
1312
1204
|
};
|
|
1313
1205
|
egress_fees: {
|
|
1314
1206
|
Bitcoin: {
|
|
@@ -1323,10 +1215,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1323
1215
|
Polkadot: {
|
|
1324
1216
|
DOT: string | number | null;
|
|
1325
1217
|
};
|
|
1326
|
-
Arbitrum
|
|
1218
|
+
Arbitrum?: {
|
|
1327
1219
|
ETH?: string | number | null | undefined;
|
|
1328
1220
|
USDC?: string | number | null | undefined;
|
|
1329
|
-
};
|
|
1221
|
+
} | undefined;
|
|
1330
1222
|
};
|
|
1331
1223
|
witness_safety_margins: {
|
|
1332
1224
|
Bitcoin: number | null;
|
|
@@ -1347,10 +1239,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1347
1239
|
Polkadot: {
|
|
1348
1240
|
DOT: string | number;
|
|
1349
1241
|
};
|
|
1350
|
-
Arbitrum
|
|
1242
|
+
Arbitrum?: {
|
|
1351
1243
|
ETH?: string | number | undefined;
|
|
1352
1244
|
USDC?: string | number | undefined;
|
|
1353
|
-
};
|
|
1245
|
+
} | undefined;
|
|
1354
1246
|
};
|
|
1355
1247
|
channel_opening_fees: {
|
|
1356
1248
|
Bitcoin: string | number;
|
|
@@ -1391,7 +1283,7 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
1391
1283
|
}, {
|
|
1392
1284
|
DOT: string | number | null;
|
|
1393
1285
|
}>;
|
|
1394
|
-
Arbitrum: z.ZodObject<{
|
|
1286
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
1395
1287
|
ETH: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
1396
1288
|
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
1397
1289
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1400,7 +1292,7 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
1400
1292
|
}, {
|
|
1401
1293
|
ETH?: string | number | null | undefined;
|
|
1402
1294
|
USDC?: string | number | null | undefined;
|
|
1403
|
-
}
|
|
1295
|
+
}>>;
|
|
1404
1296
|
}, "strip", z.ZodTypeAny, {
|
|
1405
1297
|
Bitcoin: {
|
|
1406
1298
|
BTC: bigint | null;
|
|
@@ -1431,10 +1323,10 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
1431
1323
|
Polkadot: {
|
|
1432
1324
|
DOT: string | number | null;
|
|
1433
1325
|
};
|
|
1434
|
-
Arbitrum
|
|
1326
|
+
Arbitrum?: {
|
|
1435
1327
|
ETH?: string | number | null | undefined;
|
|
1436
1328
|
USDC?: string | number | null | undefined;
|
|
1437
|
-
};
|
|
1329
|
+
} | undefined;
|
|
1438
1330
|
}>;
|
|
1439
1331
|
network_fee_hundredth_pips: z.ZodNumber;
|
|
1440
1332
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1471,10 +1363,10 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
1471
1363
|
Polkadot: {
|
|
1472
1364
|
DOT: string | number | null;
|
|
1473
1365
|
};
|
|
1474
|
-
Arbitrum
|
|
1366
|
+
Arbitrum?: {
|
|
1475
1367
|
ETH?: string | number | null | undefined;
|
|
1476
1368
|
USDC?: string | number | null | undefined;
|
|
1477
|
-
};
|
|
1369
|
+
} | undefined;
|
|
1478
1370
|
};
|
|
1479
1371
|
network_fee_hundredth_pips: number;
|
|
1480
1372
|
}>;
|
|
@@ -2242,7 +2134,7 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2242
2134
|
};
|
|
2243
2135
|
};
|
|
2244
2136
|
}>;
|
|
2245
|
-
Arbitrum: z.ZodObject<{
|
|
2137
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
2246
2138
|
ETH: z.ZodDefault<z.ZodObject<{
|
|
2247
2139
|
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
2248
2140
|
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
@@ -2541,7 +2433,7 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2541
2433
|
asset: "USDC";
|
|
2542
2434
|
};
|
|
2543
2435
|
} | undefined;
|
|
2544
|
-
}
|
|
2436
|
+
}>>;
|
|
2545
2437
|
}, "strip", z.ZodTypeAny, {
|
|
2546
2438
|
Bitcoin: {
|
|
2547
2439
|
BTC: {
|
|
@@ -2846,7 +2738,7 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2846
2738
|
};
|
|
2847
2739
|
};
|
|
2848
2740
|
};
|
|
2849
|
-
Arbitrum
|
|
2741
|
+
Arbitrum?: {
|
|
2850
2742
|
ETH?: {
|
|
2851
2743
|
limit_order_fee_hundredth_pips: number;
|
|
2852
2744
|
range_order_fee_hundredth_pips: number;
|
|
@@ -2895,7 +2787,7 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2895
2787
|
asset: "USDC";
|
|
2896
2788
|
};
|
|
2897
2789
|
} | undefined;
|
|
2898
|
-
};
|
|
2790
|
+
} | undefined;
|
|
2899
2791
|
}>;
|
|
2900
2792
|
}, "strip", z.ZodTypeAny, {
|
|
2901
2793
|
fees: {
|
|
@@ -3204,7 +3096,7 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
3204
3096
|
};
|
|
3205
3097
|
};
|
|
3206
3098
|
};
|
|
3207
|
-
Arbitrum
|
|
3099
|
+
Arbitrum?: {
|
|
3208
3100
|
ETH?: {
|
|
3209
3101
|
limit_order_fee_hundredth_pips: number;
|
|
3210
3102
|
range_order_fee_hundredth_pips: number;
|
|
@@ -3253,7 +3145,7 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
3253
3145
|
asset: "USDC";
|
|
3254
3146
|
};
|
|
3255
3147
|
} | undefined;
|
|
3256
|
-
};
|
|
3148
|
+
} | undefined;
|
|
3257
3149
|
};
|
|
3258
3150
|
}>;
|
|
3259
3151
|
declare const cfEnvironment: z.ZodObject<{
|
|
@@ -3289,7 +3181,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3289
3181
|
}, {
|
|
3290
3182
|
DOT: string | number;
|
|
3291
3183
|
}>;
|
|
3292
|
-
Arbitrum: z.ZodObject<{
|
|
3184
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
3293
3185
|
ETH: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3294
3186
|
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3295
3187
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3298,7 +3190,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3298
3190
|
}, {
|
|
3299
3191
|
ETH?: string | number | undefined;
|
|
3300
3192
|
USDC?: string | number | undefined;
|
|
3301
|
-
}
|
|
3193
|
+
}>>;
|
|
3302
3194
|
}, "strip", z.ZodTypeAny, {
|
|
3303
3195
|
Bitcoin: {
|
|
3304
3196
|
BTC: bigint;
|
|
@@ -3329,10 +3221,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3329
3221
|
Polkadot: {
|
|
3330
3222
|
DOT: string | number;
|
|
3331
3223
|
};
|
|
3332
|
-
Arbitrum
|
|
3224
|
+
Arbitrum?: {
|
|
3333
3225
|
ETH?: string | number | undefined;
|
|
3334
3226
|
USDC?: string | number | undefined;
|
|
3335
|
-
};
|
|
3227
|
+
} | undefined;
|
|
3336
3228
|
}>;
|
|
3337
3229
|
ingress_fees: z.ZodObject<{
|
|
3338
3230
|
Bitcoin: z.ZodObject<{
|
|
@@ -3365,7 +3257,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3365
3257
|
}, {
|
|
3366
3258
|
DOT: string | number | null;
|
|
3367
3259
|
}>;
|
|
3368
|
-
Arbitrum: z.ZodObject<{
|
|
3260
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
3369
3261
|
ETH: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
3370
3262
|
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
3371
3263
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3374,7 +3266,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3374
3266
|
}, {
|
|
3375
3267
|
ETH?: string | number | null | undefined;
|
|
3376
3268
|
USDC?: string | number | null | undefined;
|
|
3377
|
-
}
|
|
3269
|
+
}>>;
|
|
3378
3270
|
}, "strip", z.ZodTypeAny, {
|
|
3379
3271
|
Bitcoin: {
|
|
3380
3272
|
BTC: bigint | null;
|
|
@@ -3405,10 +3297,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3405
3297
|
Polkadot: {
|
|
3406
3298
|
DOT: string | number | null;
|
|
3407
3299
|
};
|
|
3408
|
-
Arbitrum
|
|
3300
|
+
Arbitrum?: {
|
|
3409
3301
|
ETH?: string | number | null | undefined;
|
|
3410
3302
|
USDC?: string | number | null | undefined;
|
|
3411
|
-
};
|
|
3303
|
+
} | undefined;
|
|
3412
3304
|
}>;
|
|
3413
3305
|
egress_fees: z.ZodObject<{
|
|
3414
3306
|
Bitcoin: z.ZodObject<{
|
|
@@ -3441,7 +3333,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3441
3333
|
}, {
|
|
3442
3334
|
DOT: string | number | null;
|
|
3443
3335
|
}>;
|
|
3444
|
-
Arbitrum: z.ZodObject<{
|
|
3336
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
3445
3337
|
ETH: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
3446
3338
|
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
3447
3339
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3450,7 +3342,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3450
3342
|
}, {
|
|
3451
3343
|
ETH?: string | number | null | undefined;
|
|
3452
3344
|
USDC?: string | number | null | undefined;
|
|
3453
|
-
}
|
|
3345
|
+
}>>;
|
|
3454
3346
|
}, "strip", z.ZodTypeAny, {
|
|
3455
3347
|
Bitcoin: {
|
|
3456
3348
|
BTC: bigint | null;
|
|
@@ -3481,10 +3373,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3481
3373
|
Polkadot: {
|
|
3482
3374
|
DOT: string | number | null;
|
|
3483
3375
|
};
|
|
3484
|
-
Arbitrum
|
|
3376
|
+
Arbitrum?: {
|
|
3485
3377
|
ETH?: string | number | null | undefined;
|
|
3486
3378
|
USDC?: string | number | null | undefined;
|
|
3487
|
-
};
|
|
3379
|
+
} | undefined;
|
|
3488
3380
|
}>;
|
|
3489
3381
|
witness_safety_margins: z.ZodObject<{
|
|
3490
3382
|
Bitcoin: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3533,7 +3425,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3533
3425
|
}, {
|
|
3534
3426
|
DOT: string | number;
|
|
3535
3427
|
}>;
|
|
3536
|
-
Arbitrum: z.ZodObject<{
|
|
3428
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
3537
3429
|
ETH: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3538
3430
|
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3539
3431
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3542,7 +3434,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3542
3434
|
}, {
|
|
3543
3435
|
ETH?: string | number | undefined;
|
|
3544
3436
|
USDC?: string | number | undefined;
|
|
3545
|
-
}
|
|
3437
|
+
}>>;
|
|
3546
3438
|
}, "strip", z.ZodTypeAny, {
|
|
3547
3439
|
Bitcoin: {
|
|
3548
3440
|
BTC: bigint;
|
|
@@ -3573,10 +3465,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3573
3465
|
Polkadot: {
|
|
3574
3466
|
DOT: string | number;
|
|
3575
3467
|
};
|
|
3576
|
-
Arbitrum
|
|
3468
|
+
Arbitrum?: {
|
|
3577
3469
|
ETH?: string | number | undefined;
|
|
3578
3470
|
USDC?: string | number | undefined;
|
|
3579
|
-
};
|
|
3471
|
+
} | undefined;
|
|
3580
3472
|
}>;
|
|
3581
3473
|
channel_opening_fees: z.ZodObject<{
|
|
3582
3474
|
Bitcoin: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
@@ -3693,10 +3585,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3693
3585
|
Polkadot: {
|
|
3694
3586
|
DOT: string | number;
|
|
3695
3587
|
};
|
|
3696
|
-
Arbitrum
|
|
3588
|
+
Arbitrum?: {
|
|
3697
3589
|
ETH?: string | number | undefined;
|
|
3698
3590
|
USDC?: string | number | undefined;
|
|
3699
|
-
};
|
|
3591
|
+
} | undefined;
|
|
3700
3592
|
};
|
|
3701
3593
|
ingress_fees: {
|
|
3702
3594
|
Bitcoin: {
|
|
@@ -3711,10 +3603,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3711
3603
|
Polkadot: {
|
|
3712
3604
|
DOT: string | number | null;
|
|
3713
3605
|
};
|
|
3714
|
-
Arbitrum
|
|
3606
|
+
Arbitrum?: {
|
|
3715
3607
|
ETH?: string | number | null | undefined;
|
|
3716
3608
|
USDC?: string | number | null | undefined;
|
|
3717
|
-
};
|
|
3609
|
+
} | undefined;
|
|
3718
3610
|
};
|
|
3719
3611
|
egress_fees: {
|
|
3720
3612
|
Bitcoin: {
|
|
@@ -3729,10 +3621,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3729
3621
|
Polkadot: {
|
|
3730
3622
|
DOT: string | number | null;
|
|
3731
3623
|
};
|
|
3732
|
-
Arbitrum
|
|
3624
|
+
Arbitrum?: {
|
|
3733
3625
|
ETH?: string | number | null | undefined;
|
|
3734
3626
|
USDC?: string | number | null | undefined;
|
|
3735
|
-
};
|
|
3627
|
+
} | undefined;
|
|
3736
3628
|
};
|
|
3737
3629
|
witness_safety_margins: {
|
|
3738
3630
|
Bitcoin: number | null;
|
|
@@ -3753,10 +3645,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3753
3645
|
Polkadot: {
|
|
3754
3646
|
DOT: string | number;
|
|
3755
3647
|
};
|
|
3756
|
-
Arbitrum
|
|
3648
|
+
Arbitrum?: {
|
|
3757
3649
|
ETH?: string | number | undefined;
|
|
3758
3650
|
USDC?: string | number | undefined;
|
|
3759
|
-
};
|
|
3651
|
+
} | undefined;
|
|
3760
3652
|
};
|
|
3761
3653
|
channel_opening_fees: {
|
|
3762
3654
|
Bitcoin: string | number;
|
|
@@ -3865,10 +3757,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3865
3757
|
Polkadot: {
|
|
3866
3758
|
DOT: string | number;
|
|
3867
3759
|
};
|
|
3868
|
-
Arbitrum
|
|
3760
|
+
Arbitrum?: {
|
|
3869
3761
|
ETH?: string | number | undefined;
|
|
3870
3762
|
USDC?: string | number | undefined;
|
|
3871
|
-
};
|
|
3763
|
+
} | undefined;
|
|
3872
3764
|
};
|
|
3873
3765
|
ingress_fees: {
|
|
3874
3766
|
Bitcoin: {
|
|
@@ -3883,10 +3775,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3883
3775
|
Polkadot: {
|
|
3884
3776
|
DOT: string | number | null;
|
|
3885
3777
|
};
|
|
3886
|
-
Arbitrum
|
|
3778
|
+
Arbitrum?: {
|
|
3887
3779
|
ETH?: string | number | null | undefined;
|
|
3888
3780
|
USDC?: string | number | null | undefined;
|
|
3889
|
-
};
|
|
3781
|
+
} | undefined;
|
|
3890
3782
|
};
|
|
3891
3783
|
egress_fees: {
|
|
3892
3784
|
Bitcoin: {
|
|
@@ -3901,10 +3793,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3901
3793
|
Polkadot: {
|
|
3902
3794
|
DOT: string | number | null;
|
|
3903
3795
|
};
|
|
3904
|
-
Arbitrum
|
|
3796
|
+
Arbitrum?: {
|
|
3905
3797
|
ETH?: string | number | null | undefined;
|
|
3906
3798
|
USDC?: string | number | null | undefined;
|
|
3907
|
-
};
|
|
3799
|
+
} | undefined;
|
|
3908
3800
|
};
|
|
3909
3801
|
witness_safety_margins: {
|
|
3910
3802
|
Bitcoin: number | null;
|
|
@@ -3925,10 +3817,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3925
3817
|
Polkadot: {
|
|
3926
3818
|
DOT: string | number;
|
|
3927
3819
|
};
|
|
3928
|
-
Arbitrum
|
|
3820
|
+
Arbitrum?: {
|
|
3929
3821
|
ETH?: string | number | undefined;
|
|
3930
3822
|
USDC?: string | number | undefined;
|
|
3931
|
-
};
|
|
3823
|
+
} | undefined;
|
|
3932
3824
|
};
|
|
3933
3825
|
channel_opening_fees: {
|
|
3934
3826
|
Bitcoin: string | number;
|
|
@@ -3969,7 +3861,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3969
3861
|
}, {
|
|
3970
3862
|
DOT: string | number | null;
|
|
3971
3863
|
}>;
|
|
3972
|
-
Arbitrum: z.ZodObject<{
|
|
3864
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
3973
3865
|
ETH: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
3974
3866
|
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
3975
3867
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3978,7 +3870,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3978
3870
|
}, {
|
|
3979
3871
|
ETH?: string | number | null | undefined;
|
|
3980
3872
|
USDC?: string | number | null | undefined;
|
|
3981
|
-
}
|
|
3873
|
+
}>>;
|
|
3982
3874
|
}, "strip", z.ZodTypeAny, {
|
|
3983
3875
|
Bitcoin: {
|
|
3984
3876
|
BTC: bigint | null;
|
|
@@ -4009,10 +3901,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
4009
3901
|
Polkadot: {
|
|
4010
3902
|
DOT: string | number | null;
|
|
4011
3903
|
};
|
|
4012
|
-
Arbitrum
|
|
3904
|
+
Arbitrum?: {
|
|
4013
3905
|
ETH?: string | number | null | undefined;
|
|
4014
3906
|
USDC?: string | number | null | undefined;
|
|
4015
|
-
};
|
|
3907
|
+
} | undefined;
|
|
4016
3908
|
}>;
|
|
4017
3909
|
network_fee_hundredth_pips: z.ZodNumber;
|
|
4018
3910
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4049,10 +3941,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
4049
3941
|
Polkadot: {
|
|
4050
3942
|
DOT: string | number | null;
|
|
4051
3943
|
};
|
|
4052
|
-
Arbitrum
|
|
3944
|
+
Arbitrum?: {
|
|
4053
3945
|
ETH?: string | number | null | undefined;
|
|
4054
3946
|
USDC?: string | number | null | undefined;
|
|
4055
|
-
};
|
|
3947
|
+
} | undefined;
|
|
4056
3948
|
};
|
|
4057
3949
|
network_fee_hundredth_pips: number;
|
|
4058
3950
|
}>;
|
|
@@ -4820,7 +4712,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
4820
4712
|
};
|
|
4821
4713
|
};
|
|
4822
4714
|
}>;
|
|
4823
|
-
Arbitrum: z.ZodObject<{
|
|
4715
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
4824
4716
|
ETH: z.ZodDefault<z.ZodObject<{
|
|
4825
4717
|
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
4826
4718
|
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
@@ -5119,7 +5011,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5119
5011
|
asset: "USDC";
|
|
5120
5012
|
};
|
|
5121
5013
|
} | undefined;
|
|
5122
|
-
}
|
|
5014
|
+
}>>;
|
|
5123
5015
|
}, "strip", z.ZodTypeAny, {
|
|
5124
5016
|
Bitcoin: {
|
|
5125
5017
|
BTC: {
|
|
@@ -5424,7 +5316,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5424
5316
|
};
|
|
5425
5317
|
};
|
|
5426
5318
|
};
|
|
5427
|
-
Arbitrum
|
|
5319
|
+
Arbitrum?: {
|
|
5428
5320
|
ETH?: {
|
|
5429
5321
|
limit_order_fee_hundredth_pips: number;
|
|
5430
5322
|
range_order_fee_hundredth_pips: number;
|
|
@@ -5473,7 +5365,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5473
5365
|
asset: "USDC";
|
|
5474
5366
|
};
|
|
5475
5367
|
} | undefined;
|
|
5476
|
-
};
|
|
5368
|
+
} | undefined;
|
|
5477
5369
|
}>;
|
|
5478
5370
|
}, "strip", z.ZodTypeAny, {
|
|
5479
5371
|
fees: {
|
|
@@ -5782,7 +5674,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5782
5674
|
};
|
|
5783
5675
|
};
|
|
5784
5676
|
};
|
|
5785
|
-
Arbitrum
|
|
5677
|
+
Arbitrum?: {
|
|
5786
5678
|
ETH?: {
|
|
5787
5679
|
limit_order_fee_hundredth_pips: number;
|
|
5788
5680
|
range_order_fee_hundredth_pips: number;
|
|
@@ -5831,7 +5723,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5831
5723
|
asset: "USDC";
|
|
5832
5724
|
};
|
|
5833
5725
|
} | undefined;
|
|
5834
|
-
};
|
|
5726
|
+
} | undefined;
|
|
5835
5727
|
};
|
|
5836
5728
|
}>;
|
|
5837
5729
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6160,10 +6052,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6160
6052
|
Polkadot: {
|
|
6161
6053
|
DOT: string | number;
|
|
6162
6054
|
};
|
|
6163
|
-
Arbitrum
|
|
6055
|
+
Arbitrum?: {
|
|
6164
6056
|
ETH?: string | number | undefined;
|
|
6165
6057
|
USDC?: string | number | undefined;
|
|
6166
|
-
};
|
|
6058
|
+
} | undefined;
|
|
6167
6059
|
};
|
|
6168
6060
|
ingress_fees: {
|
|
6169
6061
|
Bitcoin: {
|
|
@@ -6178,10 +6070,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6178
6070
|
Polkadot: {
|
|
6179
6071
|
DOT: string | number | null;
|
|
6180
6072
|
};
|
|
6181
|
-
Arbitrum
|
|
6073
|
+
Arbitrum?: {
|
|
6182
6074
|
ETH?: string | number | null | undefined;
|
|
6183
6075
|
USDC?: string | number | null | undefined;
|
|
6184
|
-
};
|
|
6076
|
+
} | undefined;
|
|
6185
6077
|
};
|
|
6186
6078
|
egress_fees: {
|
|
6187
6079
|
Bitcoin: {
|
|
@@ -6196,10 +6088,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6196
6088
|
Polkadot: {
|
|
6197
6089
|
DOT: string | number | null;
|
|
6198
6090
|
};
|
|
6199
|
-
Arbitrum
|
|
6091
|
+
Arbitrum?: {
|
|
6200
6092
|
ETH?: string | number | null | undefined;
|
|
6201
6093
|
USDC?: string | number | null | undefined;
|
|
6202
|
-
};
|
|
6094
|
+
} | undefined;
|
|
6203
6095
|
};
|
|
6204
6096
|
witness_safety_margins: {
|
|
6205
6097
|
Bitcoin: number | null;
|
|
@@ -6220,10 +6112,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6220
6112
|
Polkadot: {
|
|
6221
6113
|
DOT: string | number;
|
|
6222
6114
|
};
|
|
6223
|
-
Arbitrum
|
|
6115
|
+
Arbitrum?: {
|
|
6224
6116
|
ETH?: string | number | undefined;
|
|
6225
6117
|
USDC?: string | number | undefined;
|
|
6226
|
-
};
|
|
6118
|
+
} | undefined;
|
|
6227
6119
|
};
|
|
6228
6120
|
channel_opening_fees: {
|
|
6229
6121
|
Bitcoin: string | number;
|
|
@@ -6246,10 +6138,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6246
6138
|
Polkadot: {
|
|
6247
6139
|
DOT: string | number | null;
|
|
6248
6140
|
};
|
|
6249
|
-
Arbitrum
|
|
6141
|
+
Arbitrum?: {
|
|
6250
6142
|
ETH?: string | number | null | undefined;
|
|
6251
6143
|
USDC?: string | number | null | undefined;
|
|
6252
|
-
};
|
|
6144
|
+
} | undefined;
|
|
6253
6145
|
};
|
|
6254
6146
|
network_fee_hundredth_pips: number;
|
|
6255
6147
|
};
|
|
@@ -6385,7 +6277,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6385
6277
|
};
|
|
6386
6278
|
};
|
|
6387
6279
|
};
|
|
6388
|
-
Arbitrum
|
|
6280
|
+
Arbitrum?: {
|
|
6389
6281
|
ETH?: {
|
|
6390
6282
|
limit_order_fee_hundredth_pips: number;
|
|
6391
6283
|
range_order_fee_hundredth_pips: number;
|
|
@@ -6434,7 +6326,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6434
6326
|
asset: "USDC";
|
|
6435
6327
|
};
|
|
6436
6328
|
} | undefined;
|
|
6437
|
-
};
|
|
6329
|
+
} | undefined;
|
|
6438
6330
|
};
|
|
6439
6331
|
};
|
|
6440
6332
|
}>;
|
|
@@ -6510,24 +6402,6 @@ declare const cfBoostPoolsDepth: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodO
|
|
|
6510
6402
|
}, {
|
|
6511
6403
|
chain: "Arbitrum";
|
|
6512
6404
|
asset: "USDC";
|
|
6513
|
-
}>, z.ZodObject<{
|
|
6514
|
-
chain: z.ZodLiteral<"Solana">;
|
|
6515
|
-
asset: z.ZodLiteral<"SOL">;
|
|
6516
|
-
}, "strip", z.ZodTypeAny, {
|
|
6517
|
-
chain: "Solana";
|
|
6518
|
-
asset: "SOL";
|
|
6519
|
-
}, {
|
|
6520
|
-
chain: "Solana";
|
|
6521
|
-
asset: "SOL";
|
|
6522
|
-
}>, z.ZodObject<{
|
|
6523
|
-
chain: z.ZodLiteral<"Solana">;
|
|
6524
|
-
asset: z.ZodLiteral<"USDC">;
|
|
6525
|
-
}, "strip", z.ZodTypeAny, {
|
|
6526
|
-
chain: "Solana";
|
|
6527
|
-
asset: "USDC";
|
|
6528
|
-
}, {
|
|
6529
|
-
chain: "Solana";
|
|
6530
|
-
asset: "USDC";
|
|
6531
6405
|
}>]>, z.ZodObject<{
|
|
6532
6406
|
tier: z.ZodNumber;
|
|
6533
6407
|
available_amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
@@ -6538,97 +6412,43 @@ declare const cfBoostPoolsDepth: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodO
|
|
|
6538
6412
|
tier: number;
|
|
6539
6413
|
available_amount: string;
|
|
6540
6414
|
}>>, "many">;
|
|
6541
|
-
declare const cfSupportedAsssets: z.
|
|
6542
|
-
chain: z.
|
|
6543
|
-
asset: z.
|
|
6415
|
+
declare const cfSupportedAsssets: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
6416
|
+
chain: z.ZodString;
|
|
6417
|
+
asset: z.ZodString;
|
|
6544
6418
|
}, "strip", z.ZodTypeAny, {
|
|
6545
|
-
chain:
|
|
6546
|
-
asset:
|
|
6419
|
+
chain: string;
|
|
6420
|
+
asset: string;
|
|
6547
6421
|
}, {
|
|
6422
|
+
chain: string;
|
|
6423
|
+
asset: string;
|
|
6424
|
+
}>, "many">, ({
|
|
6548
6425
|
chain: "Bitcoin";
|
|
6549
6426
|
asset: "BTC";
|
|
6550
|
-
}
|
|
6551
|
-
chain: z.ZodLiteral<"Polkadot">;
|
|
6552
|
-
asset: z.ZodLiteral<"DOT">;
|
|
6553
|
-
}, "strip", z.ZodTypeAny, {
|
|
6554
|
-
chain: "Polkadot";
|
|
6555
|
-
asset: "DOT";
|
|
6556
|
-
}, {
|
|
6427
|
+
} | {
|
|
6557
6428
|
chain: "Polkadot";
|
|
6558
6429
|
asset: "DOT";
|
|
6559
|
-
}
|
|
6560
|
-
chain: z.ZodLiteral<"Ethereum">;
|
|
6561
|
-
asset: z.ZodLiteral<"FLIP">;
|
|
6562
|
-
}, "strip", z.ZodTypeAny, {
|
|
6563
|
-
chain: "Ethereum";
|
|
6564
|
-
asset: "FLIP";
|
|
6565
|
-
}, {
|
|
6430
|
+
} | {
|
|
6566
6431
|
chain: "Ethereum";
|
|
6567
6432
|
asset: "FLIP";
|
|
6568
|
-
}
|
|
6569
|
-
chain: z.ZodLiteral<"Ethereum">;
|
|
6570
|
-
asset: z.ZodLiteral<"ETH">;
|
|
6571
|
-
}, "strip", z.ZodTypeAny, {
|
|
6433
|
+
} | {
|
|
6572
6434
|
chain: "Ethereum";
|
|
6573
6435
|
asset: "ETH";
|
|
6574
|
-
}
|
|
6575
|
-
chain: "Ethereum";
|
|
6576
|
-
asset: "ETH";
|
|
6577
|
-
}>, z.ZodObject<{
|
|
6578
|
-
chain: z.ZodLiteral<"Ethereum">;
|
|
6579
|
-
asset: z.ZodLiteral<"USDC">;
|
|
6580
|
-
}, "strip", z.ZodTypeAny, {
|
|
6581
|
-
chain: "Ethereum";
|
|
6582
|
-
asset: "USDC";
|
|
6583
|
-
}, {
|
|
6436
|
+
} | {
|
|
6584
6437
|
chain: "Ethereum";
|
|
6585
6438
|
asset: "USDC";
|
|
6586
|
-
}
|
|
6587
|
-
chain: z.ZodLiteral<"Ethereum">;
|
|
6588
|
-
asset: z.ZodLiteral<"USDT">;
|
|
6589
|
-
}, "strip", z.ZodTypeAny, {
|
|
6439
|
+
} | {
|
|
6590
6440
|
chain: "Ethereum";
|
|
6591
6441
|
asset: "USDT";
|
|
6592
|
-
}
|
|
6593
|
-
chain: "Ethereum";
|
|
6594
|
-
asset: "USDT";
|
|
6595
|
-
}>, z.ZodObject<{
|
|
6596
|
-
chain: z.ZodLiteral<"Arbitrum">;
|
|
6597
|
-
asset: z.ZodLiteral<"ETH">;
|
|
6598
|
-
}, "strip", z.ZodTypeAny, {
|
|
6599
|
-
chain: "Arbitrum";
|
|
6600
|
-
asset: "ETH";
|
|
6601
|
-
}, {
|
|
6442
|
+
} | {
|
|
6602
6443
|
chain: "Arbitrum";
|
|
6603
6444
|
asset: "ETH";
|
|
6604
|
-
}
|
|
6605
|
-
chain: z.ZodLiteral<"Arbitrum">;
|
|
6606
|
-
asset: z.ZodLiteral<"USDC">;
|
|
6607
|
-
}, "strip", z.ZodTypeAny, {
|
|
6608
|
-
chain: "Arbitrum";
|
|
6609
|
-
asset: "USDC";
|
|
6610
|
-
}, {
|
|
6445
|
+
} | {
|
|
6611
6446
|
chain: "Arbitrum";
|
|
6612
6447
|
asset: "USDC";
|
|
6613
|
-
}
|
|
6614
|
-
chain:
|
|
6615
|
-
asset:
|
|
6616
|
-
}
|
|
6617
|
-
chain: "Solana";
|
|
6618
|
-
asset: "SOL";
|
|
6619
|
-
}, {
|
|
6620
|
-
chain: "Solana";
|
|
6621
|
-
asset: "SOL";
|
|
6622
|
-
}>, z.ZodObject<{
|
|
6623
|
-
chain: z.ZodLiteral<"Solana">;
|
|
6624
|
-
asset: z.ZodLiteral<"USDC">;
|
|
6625
|
-
}, "strip", z.ZodTypeAny, {
|
|
6626
|
-
chain: "Solana";
|
|
6627
|
-
asset: "USDC";
|
|
6628
|
-
}, {
|
|
6629
|
-
chain: "Solana";
|
|
6630
|
-
asset: "USDC";
|
|
6631
|
-
}>]>, "many">;
|
|
6448
|
+
})[], {
|
|
6449
|
+
chain: string;
|
|
6450
|
+
asset: string;
|
|
6451
|
+
}[]>;
|
|
6632
6452
|
declare const brokerRequestSwapDepositAddress: z.ZodObject<{
|
|
6633
6453
|
address: z.ZodString;
|
|
6634
6454
|
issued_block: z.ZodNumber;
|
|
@@ -6692,7 +6512,7 @@ declare const broker: z.ZodObject<{
|
|
|
6692
6512
|
}, {
|
|
6693
6513
|
DOT: string | number;
|
|
6694
6514
|
}>;
|
|
6695
|
-
Arbitrum: z.ZodObject<{
|
|
6515
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
6696
6516
|
ETH: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
6697
6517
|
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
6698
6518
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6701,7 +6521,7 @@ declare const broker: z.ZodObject<{
|
|
|
6701
6521
|
}, {
|
|
6702
6522
|
ETH?: string | number | undefined;
|
|
6703
6523
|
USDC?: string | number | undefined;
|
|
6704
|
-
}
|
|
6524
|
+
}>>;
|
|
6705
6525
|
}, "strip", z.ZodTypeAny, {
|
|
6706
6526
|
Bitcoin: {
|
|
6707
6527
|
BTC: bigint;
|
|
@@ -6732,10 +6552,10 @@ declare const broker: z.ZodObject<{
|
|
|
6732
6552
|
Polkadot: {
|
|
6733
6553
|
DOT: string | number;
|
|
6734
6554
|
};
|
|
6735
|
-
Arbitrum
|
|
6555
|
+
Arbitrum?: {
|
|
6736
6556
|
ETH?: string | number | undefined;
|
|
6737
6557
|
USDC?: string | number | undefined;
|
|
6738
|
-
};
|
|
6558
|
+
} | undefined;
|
|
6739
6559
|
}>;
|
|
6740
6560
|
}, "strip", z.ZodTypeAny, {
|
|
6741
6561
|
role: "broker";
|
|
@@ -6774,10 +6594,10 @@ declare const broker: z.ZodObject<{
|
|
|
6774
6594
|
Polkadot: {
|
|
6775
6595
|
DOT: string | number;
|
|
6776
6596
|
};
|
|
6777
|
-
Arbitrum
|
|
6597
|
+
Arbitrum?: {
|
|
6778
6598
|
ETH?: string | number | undefined;
|
|
6779
6599
|
USDC?: string | number | undefined;
|
|
6780
|
-
};
|
|
6600
|
+
} | undefined;
|
|
6781
6601
|
};
|
|
6782
6602
|
}>;
|
|
6783
6603
|
declare const liquidityProvider: z.ZodObject<{
|
|
@@ -6813,7 +6633,7 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6813
6633
|
}, {
|
|
6814
6634
|
DOT: string | number;
|
|
6815
6635
|
}>;
|
|
6816
|
-
Arbitrum: z.ZodObject<{
|
|
6636
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
6817
6637
|
ETH: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
6818
6638
|
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
6819
6639
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6822,7 +6642,7 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6822
6642
|
}, {
|
|
6823
6643
|
ETH?: string | number | undefined;
|
|
6824
6644
|
USDC?: string | number | undefined;
|
|
6825
|
-
}
|
|
6645
|
+
}>>;
|
|
6826
6646
|
}, "strip", z.ZodTypeAny, {
|
|
6827
6647
|
Bitcoin: {
|
|
6828
6648
|
BTC: bigint;
|
|
@@ -6853,10 +6673,10 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6853
6673
|
Polkadot: {
|
|
6854
6674
|
DOT: string | number;
|
|
6855
6675
|
};
|
|
6856
|
-
Arbitrum
|
|
6676
|
+
Arbitrum?: {
|
|
6857
6677
|
ETH?: string | number | undefined;
|
|
6858
6678
|
USDC?: string | number | undefined;
|
|
6859
|
-
};
|
|
6679
|
+
} | undefined;
|
|
6860
6680
|
}>;
|
|
6861
6681
|
refund_addresses: z.ZodObject<{
|
|
6862
6682
|
Bitcoin: z.ZodNullable<z.ZodString>;
|
|
@@ -6906,7 +6726,7 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6906
6726
|
}, {
|
|
6907
6727
|
DOT: string | number;
|
|
6908
6728
|
}>;
|
|
6909
|
-
Arbitrum: z.ZodObject<{
|
|
6729
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
6910
6730
|
ETH: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
6911
6731
|
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
6912
6732
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6915,7 +6735,7 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6915
6735
|
}, {
|
|
6916
6736
|
ETH?: string | number | undefined;
|
|
6917
6737
|
USDC?: string | number | undefined;
|
|
6918
|
-
}
|
|
6738
|
+
}>>;
|
|
6919
6739
|
}, "strip", z.ZodTypeAny, {
|
|
6920
6740
|
Bitcoin: {
|
|
6921
6741
|
BTC: bigint;
|
|
@@ -6946,10 +6766,10 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6946
6766
|
Polkadot: {
|
|
6947
6767
|
DOT: string | number;
|
|
6948
6768
|
};
|
|
6949
|
-
Arbitrum
|
|
6769
|
+
Arbitrum?: {
|
|
6950
6770
|
ETH?: string | number | undefined;
|
|
6951
6771
|
USDC?: string | number | undefined;
|
|
6952
|
-
};
|
|
6772
|
+
} | undefined;
|
|
6953
6773
|
}>;
|
|
6954
6774
|
}, "strip", z.ZodTypeAny, {
|
|
6955
6775
|
role: "liquidity_provider";
|
|
@@ -7012,10 +6832,10 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
7012
6832
|
Polkadot: {
|
|
7013
6833
|
DOT: string | number;
|
|
7014
6834
|
};
|
|
7015
|
-
Arbitrum
|
|
6835
|
+
Arbitrum?: {
|
|
7016
6836
|
ETH?: string | number | undefined;
|
|
7017
6837
|
USDC?: string | number | undefined;
|
|
7018
|
-
};
|
|
6838
|
+
} | undefined;
|
|
7019
6839
|
};
|
|
7020
6840
|
balances: {
|
|
7021
6841
|
Bitcoin: {
|
|
@@ -7030,10 +6850,10 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
7030
6850
|
Polkadot: {
|
|
7031
6851
|
DOT: string | number;
|
|
7032
6852
|
};
|
|
7033
|
-
Arbitrum
|
|
6853
|
+
Arbitrum?: {
|
|
7034
6854
|
ETH?: string | number | undefined;
|
|
7035
6855
|
USDC?: string | number | undefined;
|
|
7036
|
-
};
|
|
6856
|
+
} | undefined;
|
|
7037
6857
|
};
|
|
7038
6858
|
refund_addresses: {
|
|
7039
6859
|
Bitcoin: string | null;
|
|
@@ -7131,7 +6951,7 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7131
6951
|
}, {
|
|
7132
6952
|
DOT: string | number;
|
|
7133
6953
|
}>;
|
|
7134
|
-
Arbitrum: z.ZodObject<{
|
|
6954
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
7135
6955
|
ETH: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
7136
6956
|
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
7137
6957
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7140,7 +6960,7 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7140
6960
|
}, {
|
|
7141
6961
|
ETH?: string | number | undefined;
|
|
7142
6962
|
USDC?: string | number | undefined;
|
|
7143
|
-
}
|
|
6963
|
+
}>>;
|
|
7144
6964
|
}, "strip", z.ZodTypeAny, {
|
|
7145
6965
|
Bitcoin: {
|
|
7146
6966
|
BTC: bigint;
|
|
@@ -7171,10 +6991,10 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7171
6991
|
Polkadot: {
|
|
7172
6992
|
DOT: string | number;
|
|
7173
6993
|
};
|
|
7174
|
-
Arbitrum
|
|
6994
|
+
Arbitrum?: {
|
|
7175
6995
|
ETH?: string | number | undefined;
|
|
7176
6996
|
USDC?: string | number | undefined;
|
|
7177
|
-
};
|
|
6997
|
+
} | undefined;
|
|
7178
6998
|
}>;
|
|
7179
6999
|
}, "strip", z.ZodTypeAny, {
|
|
7180
7000
|
role: "broker";
|
|
@@ -7213,10 +7033,10 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7213
7033
|
Polkadot: {
|
|
7214
7034
|
DOT: string | number;
|
|
7215
7035
|
};
|
|
7216
|
-
Arbitrum
|
|
7036
|
+
Arbitrum?: {
|
|
7217
7037
|
ETH?: string | number | undefined;
|
|
7218
7038
|
USDC?: string | number | undefined;
|
|
7219
|
-
};
|
|
7039
|
+
} | undefined;
|
|
7220
7040
|
};
|
|
7221
7041
|
}>, z.ZodObject<{
|
|
7222
7042
|
role: z.ZodLiteral<"liquidity_provider">;
|
|
@@ -7251,7 +7071,7 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7251
7071
|
}, {
|
|
7252
7072
|
DOT: string | number;
|
|
7253
7073
|
}>;
|
|
7254
|
-
Arbitrum: z.ZodObject<{
|
|
7074
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
7255
7075
|
ETH: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
7256
7076
|
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
7257
7077
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7260,7 +7080,7 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7260
7080
|
}, {
|
|
7261
7081
|
ETH?: string | number | undefined;
|
|
7262
7082
|
USDC?: string | number | undefined;
|
|
7263
|
-
}
|
|
7083
|
+
}>>;
|
|
7264
7084
|
}, "strip", z.ZodTypeAny, {
|
|
7265
7085
|
Bitcoin: {
|
|
7266
7086
|
BTC: bigint;
|
|
@@ -7291,10 +7111,10 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7291
7111
|
Polkadot: {
|
|
7292
7112
|
DOT: string | number;
|
|
7293
7113
|
};
|
|
7294
|
-
Arbitrum
|
|
7114
|
+
Arbitrum?: {
|
|
7295
7115
|
ETH?: string | number | undefined;
|
|
7296
7116
|
USDC?: string | number | undefined;
|
|
7297
|
-
};
|
|
7117
|
+
} | undefined;
|
|
7298
7118
|
}>;
|
|
7299
7119
|
refund_addresses: z.ZodObject<{
|
|
7300
7120
|
Bitcoin: z.ZodNullable<z.ZodString>;
|
|
@@ -7344,7 +7164,7 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7344
7164
|
}, {
|
|
7345
7165
|
DOT: string | number;
|
|
7346
7166
|
}>;
|
|
7347
|
-
Arbitrum: z.ZodObject<{
|
|
7167
|
+
Arbitrum: z.ZodDefault<z.ZodObject<{
|
|
7348
7168
|
ETH: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
7349
7169
|
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
7350
7170
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7353,7 +7173,7 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7353
7173
|
}, {
|
|
7354
7174
|
ETH?: string | number | undefined;
|
|
7355
7175
|
USDC?: string | number | undefined;
|
|
7356
|
-
}
|
|
7176
|
+
}>>;
|
|
7357
7177
|
}, "strip", z.ZodTypeAny, {
|
|
7358
7178
|
Bitcoin: {
|
|
7359
7179
|
BTC: bigint;
|
|
@@ -7384,10 +7204,10 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7384
7204
|
Polkadot: {
|
|
7385
7205
|
DOT: string | number;
|
|
7386
7206
|
};
|
|
7387
|
-
Arbitrum
|
|
7207
|
+
Arbitrum?: {
|
|
7388
7208
|
ETH?: string | number | undefined;
|
|
7389
7209
|
USDC?: string | number | undefined;
|
|
7390
|
-
};
|
|
7210
|
+
} | undefined;
|
|
7391
7211
|
}>;
|
|
7392
7212
|
}, "strip", z.ZodTypeAny, {
|
|
7393
7213
|
role: "liquidity_provider";
|
|
@@ -7450,10 +7270,10 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7450
7270
|
Polkadot: {
|
|
7451
7271
|
DOT: string | number;
|
|
7452
7272
|
};
|
|
7453
|
-
Arbitrum
|
|
7273
|
+
Arbitrum?: {
|
|
7454
7274
|
ETH?: string | number | undefined;
|
|
7455
7275
|
USDC?: string | number | undefined;
|
|
7456
|
-
};
|
|
7276
|
+
} | undefined;
|
|
7457
7277
|
};
|
|
7458
7278
|
balances: {
|
|
7459
7279
|
Bitcoin: {
|
|
@@ -7468,10 +7288,10 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7468
7288
|
Polkadot: {
|
|
7469
7289
|
DOT: string | number;
|
|
7470
7290
|
};
|
|
7471
|
-
Arbitrum
|
|
7291
|
+
Arbitrum?: {
|
|
7472
7292
|
ETH?: string | number | undefined;
|
|
7473
7293
|
USDC?: string | number | undefined;
|
|
7474
|
-
};
|
|
7294
|
+
} | undefined;
|
|
7475
7295
|
};
|
|
7476
7296
|
refund_addresses: {
|
|
7477
7297
|
Bitcoin: string | null;
|
|
@@ -7601,24 +7421,6 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
7601
7421
|
}, {
|
|
7602
7422
|
chain: "Arbitrum";
|
|
7603
7423
|
asset: "USDC";
|
|
7604
|
-
}>, z.ZodObject<{
|
|
7605
|
-
chain: z.ZodLiteral<"Solana">;
|
|
7606
|
-
asset: z.ZodLiteral<"SOL">;
|
|
7607
|
-
}, "strip", z.ZodTypeAny, {
|
|
7608
|
-
chain: "Solana";
|
|
7609
|
-
asset: "SOL";
|
|
7610
|
-
}, {
|
|
7611
|
-
chain: "Solana";
|
|
7612
|
-
asset: "SOL";
|
|
7613
|
-
}>, z.ZodObject<{
|
|
7614
|
-
chain: z.ZodLiteral<"Solana">;
|
|
7615
|
-
asset: z.ZodLiteral<"USDC">;
|
|
7616
|
-
}, "strip", z.ZodTypeAny, {
|
|
7617
|
-
chain: "Solana";
|
|
7618
|
-
asset: "USDC";
|
|
7619
|
-
}, {
|
|
7620
|
-
chain: "Solana";
|
|
7621
|
-
asset: "USDC";
|
|
7622
7424
|
}>]>;
|
|
7623
7425
|
quote_asset: z.ZodUnion<[z.ZodObject<{
|
|
7624
7426
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
@@ -7692,24 +7494,6 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
7692
7494
|
}, {
|
|
7693
7495
|
chain: "Arbitrum";
|
|
7694
7496
|
asset: "USDC";
|
|
7695
|
-
}>, z.ZodObject<{
|
|
7696
|
-
chain: z.ZodLiteral<"Solana">;
|
|
7697
|
-
asset: z.ZodLiteral<"SOL">;
|
|
7698
|
-
}, "strip", z.ZodTypeAny, {
|
|
7699
|
-
chain: "Solana";
|
|
7700
|
-
asset: "SOL";
|
|
7701
|
-
}, {
|
|
7702
|
-
chain: "Solana";
|
|
7703
|
-
asset: "SOL";
|
|
7704
|
-
}>, z.ZodObject<{
|
|
7705
|
-
chain: z.ZodLiteral<"Solana">;
|
|
7706
|
-
asset: z.ZodLiteral<"USDC">;
|
|
7707
|
-
}, "strip", z.ZodTypeAny, {
|
|
7708
|
-
chain: "Solana";
|
|
7709
|
-
asset: "USDC";
|
|
7710
|
-
}, {
|
|
7711
|
-
chain: "Solana";
|
|
7712
|
-
asset: "USDC";
|
|
7713
7497
|
}>]>;
|
|
7714
7498
|
}, "strip", z.ZodTypeAny, {
|
|
7715
7499
|
quote_asset: {
|
|
@@ -7736,12 +7520,6 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
7736
7520
|
} | {
|
|
7737
7521
|
chain: "Arbitrum";
|
|
7738
7522
|
asset: "USDC";
|
|
7739
|
-
} | {
|
|
7740
|
-
chain: "Solana";
|
|
7741
|
-
asset: "SOL";
|
|
7742
|
-
} | {
|
|
7743
|
-
chain: "Solana";
|
|
7744
|
-
asset: "USDC";
|
|
7745
7523
|
};
|
|
7746
7524
|
sell: bigint | null;
|
|
7747
7525
|
buy: bigint | null;
|
|
@@ -7770,12 +7548,6 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
7770
7548
|
} | {
|
|
7771
7549
|
chain: "Arbitrum";
|
|
7772
7550
|
asset: "USDC";
|
|
7773
|
-
} | {
|
|
7774
|
-
chain: "Solana";
|
|
7775
|
-
asset: "SOL";
|
|
7776
|
-
} | {
|
|
7777
|
-
chain: "Solana";
|
|
7778
|
-
asset: "USDC";
|
|
7779
7551
|
};
|
|
7780
7552
|
}, {
|
|
7781
7553
|
quote_asset: {
|
|
@@ -7802,12 +7574,6 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
7802
7574
|
} | {
|
|
7803
7575
|
chain: "Arbitrum";
|
|
7804
7576
|
asset: "USDC";
|
|
7805
|
-
} | {
|
|
7806
|
-
chain: "Solana";
|
|
7807
|
-
asset: "SOL";
|
|
7808
|
-
} | {
|
|
7809
|
-
chain: "Solana";
|
|
7810
|
-
asset: "USDC";
|
|
7811
7577
|
};
|
|
7812
7578
|
sell: string | number | null;
|
|
7813
7579
|
buy: string | number | null;
|
|
@@ -7836,12 +7602,6 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
7836
7602
|
} | {
|
|
7837
7603
|
chain: "Arbitrum";
|
|
7838
7604
|
asset: "USDC";
|
|
7839
|
-
} | {
|
|
7840
|
-
chain: "Solana";
|
|
7841
|
-
asset: "SOL";
|
|
7842
|
-
} | {
|
|
7843
|
-
chain: "Solana";
|
|
7844
|
-
asset: "USDC";
|
|
7845
7605
|
};
|
|
7846
7606
|
}>;
|
|
7847
7607
|
declare const ask: z.ZodEffects<z.ZodObject<{
|
|
@@ -8321,24 +8081,6 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
8321
8081
|
}, {
|
|
8322
8082
|
chain: "Arbitrum";
|
|
8323
8083
|
asset: "USDC";
|
|
8324
|
-
}>, z.ZodObject<{
|
|
8325
|
-
chain: z.ZodLiteral<"Solana">;
|
|
8326
|
-
asset: z.ZodLiteral<"SOL">;
|
|
8327
|
-
}, "strip", z.ZodTypeAny, {
|
|
8328
|
-
chain: "Solana";
|
|
8329
|
-
asset: "SOL";
|
|
8330
|
-
}, {
|
|
8331
|
-
chain: "Solana";
|
|
8332
|
-
asset: "SOL";
|
|
8333
|
-
}>, z.ZodObject<{
|
|
8334
|
-
chain: z.ZodLiteral<"Solana">;
|
|
8335
|
-
asset: z.ZodLiteral<"USDC">;
|
|
8336
|
-
}, "strip", z.ZodTypeAny, {
|
|
8337
|
-
chain: "Solana";
|
|
8338
|
-
asset: "USDC";
|
|
8339
|
-
}, {
|
|
8340
|
-
chain: "Solana";
|
|
8341
|
-
asset: "USDC";
|
|
8342
8084
|
}>]>, z.ZodObject<{
|
|
8343
8085
|
fee_tier: z.ZodNumber;
|
|
8344
8086
|
available_amounts: z.ZodArray<z.ZodObject<{
|
|
@@ -8493,24 +8235,6 @@ declare const cfBoostPoolPendingFees: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z
|
|
|
8493
8235
|
}, {
|
|
8494
8236
|
chain: "Arbitrum";
|
|
8495
8237
|
asset: "USDC";
|
|
8496
|
-
}>, z.ZodObject<{
|
|
8497
|
-
chain: z.ZodLiteral<"Solana">;
|
|
8498
|
-
asset: z.ZodLiteral<"SOL">;
|
|
8499
|
-
}, "strip", z.ZodTypeAny, {
|
|
8500
|
-
chain: "Solana";
|
|
8501
|
-
asset: "SOL";
|
|
8502
|
-
}, {
|
|
8503
|
-
chain: "Solana";
|
|
8504
|
-
asset: "SOL";
|
|
8505
|
-
}>, z.ZodObject<{
|
|
8506
|
-
chain: z.ZodLiteral<"Solana">;
|
|
8507
|
-
asset: z.ZodLiteral<"USDC">;
|
|
8508
|
-
}, "strip", z.ZodTypeAny, {
|
|
8509
|
-
chain: "Solana";
|
|
8510
|
-
asset: "USDC";
|
|
8511
|
-
}, {
|
|
8512
|
-
chain: "Solana";
|
|
8513
|
-
asset: "USDC";
|
|
8514
8238
|
}>]>, z.ZodObject<{
|
|
8515
8239
|
fee_tier: z.ZodNumber;
|
|
8516
8240
|
pending_fees: z.ZodArray<z.ZodObject<{
|