@chainflip/rpc 1.5.1 → 1.5.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/common.d.cts +2111 -294
- package/dist/common.d.ts +2111 -294
- package/dist/parsers.cjs +9 -7
- package/dist/parsers.d.cts +2248 -338
- package/dist/parsers.d.ts +2248 -338
- package/dist/parsers.mjs +9 -7
- package/package.json +1 -1
package/dist/parsers.d.cts
CHANGED
|
@@ -75,6 +75,24 @@ 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";
|
|
78
96
|
}>]>;
|
|
79
97
|
type AssetAndChain = z.output<typeof rpcAssetSchema>;
|
|
80
98
|
type Rename<T, U extends Record<string, string>> = Omit<T, keyof U> & {
|
|
@@ -205,6 +223,24 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
205
223
|
}, {
|
|
206
224
|
chain: "Arbitrum";
|
|
207
225
|
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";
|
|
208
244
|
}>]>, z.ZodObject<{
|
|
209
245
|
amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
210
246
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -284,6 +320,24 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
284
320
|
}, {
|
|
285
321
|
chain: "Arbitrum";
|
|
286
322
|
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";
|
|
287
341
|
}>]>, z.ZodObject<{
|
|
288
342
|
amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
289
343
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -364,6 +418,24 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
364
418
|
}, {
|
|
365
419
|
chain: "Arbitrum";
|
|
366
420
|
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";
|
|
367
439
|
}>]>, z.ZodObject<{
|
|
368
440
|
amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
369
441
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -399,6 +471,12 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
399
471
|
} | {
|
|
400
472
|
chain: "Arbitrum";
|
|
401
473
|
asset: "USDC";
|
|
474
|
+
} | {
|
|
475
|
+
chain: "Solana";
|
|
476
|
+
asset: "SOL";
|
|
477
|
+
} | {
|
|
478
|
+
chain: "Solana";
|
|
479
|
+
asset: "USDC";
|
|
402
480
|
}) & {
|
|
403
481
|
amount: bigint;
|
|
404
482
|
};
|
|
@@ -426,6 +504,12 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
426
504
|
} | {
|
|
427
505
|
chain: "Arbitrum";
|
|
428
506
|
asset: "USDC";
|
|
507
|
+
} | {
|
|
508
|
+
chain: "Solana";
|
|
509
|
+
asset: "SOL";
|
|
510
|
+
} | {
|
|
511
|
+
chain: "Solana";
|
|
512
|
+
asset: "USDC";
|
|
429
513
|
}) & {
|
|
430
514
|
amount: bigint;
|
|
431
515
|
};
|
|
@@ -453,6 +537,12 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
453
537
|
} | {
|
|
454
538
|
chain: "Arbitrum";
|
|
455
539
|
asset: "USDC";
|
|
540
|
+
} | {
|
|
541
|
+
chain: "Solana";
|
|
542
|
+
asset: "SOL";
|
|
543
|
+
} | {
|
|
544
|
+
chain: "Solana";
|
|
545
|
+
asset: "USDC";
|
|
456
546
|
}) & {
|
|
457
547
|
amount: bigint;
|
|
458
548
|
};
|
|
@@ -483,6 +573,12 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
483
573
|
} | {
|
|
484
574
|
chain: "Arbitrum";
|
|
485
575
|
asset: "USDC";
|
|
576
|
+
} | {
|
|
577
|
+
chain: "Solana";
|
|
578
|
+
asset: "SOL";
|
|
579
|
+
} | {
|
|
580
|
+
chain: "Solana";
|
|
581
|
+
asset: "USDC";
|
|
486
582
|
}) & {
|
|
487
583
|
amount: string | number;
|
|
488
584
|
};
|
|
@@ -510,6 +606,12 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
510
606
|
} | {
|
|
511
607
|
chain: "Arbitrum";
|
|
512
608
|
asset: "USDC";
|
|
609
|
+
} | {
|
|
610
|
+
chain: "Solana";
|
|
611
|
+
asset: "SOL";
|
|
612
|
+
} | {
|
|
613
|
+
chain: "Solana";
|
|
614
|
+
asset: "USDC";
|
|
513
615
|
}) & {
|
|
514
616
|
amount: string | number;
|
|
515
617
|
};
|
|
@@ -537,6 +639,12 @@ declare const cfSwapRateV2: z.ZodObject<{
|
|
|
537
639
|
} | {
|
|
538
640
|
chain: "Arbitrum";
|
|
539
641
|
asset: "USDC";
|
|
642
|
+
} | {
|
|
643
|
+
chain: "Solana";
|
|
644
|
+
asset: "SOL";
|
|
645
|
+
} | {
|
|
646
|
+
chain: "Solana";
|
|
647
|
+
asset: "USDC";
|
|
540
648
|
}) & {
|
|
541
649
|
amount: string | number;
|
|
542
650
|
};
|
|
@@ -603,15 +711,25 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
603
711
|
}, {
|
|
604
712
|
DOT: string | number;
|
|
605
713
|
}>;
|
|
606
|
-
Arbitrum: z.
|
|
607
|
-
ETH: z.
|
|
608
|
-
USDC: z.
|
|
714
|
+
Arbitrum: z.ZodObject<{
|
|
715
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
716
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
609
717
|
}, "strip", z.ZodTypeAny, {
|
|
610
718
|
ETH: bigint;
|
|
611
719
|
USDC: bigint;
|
|
612
720
|
}, {
|
|
613
|
-
ETH
|
|
721
|
+
ETH: string | number;
|
|
722
|
+
USDC: string | number;
|
|
723
|
+
}>;
|
|
724
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
725
|
+
SOL: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
726
|
+
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
727
|
+
}, "strip", z.ZodTypeAny, {
|
|
728
|
+
USDC: bigint;
|
|
729
|
+
SOL: bigint;
|
|
730
|
+
}, {
|
|
614
731
|
USDC?: string | number | undefined;
|
|
732
|
+
SOL?: string | number | undefined;
|
|
615
733
|
}>>;
|
|
616
734
|
}, "strip", z.ZodTypeAny, {
|
|
617
735
|
Bitcoin: {
|
|
@@ -630,6 +748,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
630
748
|
ETH: bigint;
|
|
631
749
|
USDC: bigint;
|
|
632
750
|
};
|
|
751
|
+
Solana: {
|
|
752
|
+
USDC: bigint;
|
|
753
|
+
SOL: bigint;
|
|
754
|
+
};
|
|
633
755
|
}, {
|
|
634
756
|
Bitcoin: {
|
|
635
757
|
BTC: string | number;
|
|
@@ -643,9 +765,13 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
643
765
|
Polkadot: {
|
|
644
766
|
DOT: string | number;
|
|
645
767
|
};
|
|
646
|
-
Arbitrum
|
|
647
|
-
ETH
|
|
768
|
+
Arbitrum: {
|
|
769
|
+
ETH: string | number;
|
|
770
|
+
USDC: string | number;
|
|
771
|
+
};
|
|
772
|
+
Solana?: {
|
|
648
773
|
USDC?: string | number | undefined;
|
|
774
|
+
SOL?: string | number | undefined;
|
|
649
775
|
} | undefined;
|
|
650
776
|
}>;
|
|
651
777
|
ingress_fees: z.ZodObject<{
|
|
@@ -679,15 +805,25 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
679
805
|
}, {
|
|
680
806
|
DOT: string | number | null;
|
|
681
807
|
}>;
|
|
682
|
-
Arbitrum: z.
|
|
683
|
-
ETH: z.
|
|
684
|
-
USDC: z.
|
|
808
|
+
Arbitrum: z.ZodObject<{
|
|
809
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
810
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
685
811
|
}, "strip", z.ZodTypeAny, {
|
|
686
812
|
ETH: bigint | null;
|
|
687
813
|
USDC: bigint | null;
|
|
688
814
|
}, {
|
|
689
|
-
ETH
|
|
815
|
+
ETH: string | number | null;
|
|
816
|
+
USDC: string | number | null;
|
|
817
|
+
}>;
|
|
818
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
819
|
+
SOL: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
820
|
+
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
821
|
+
}, "strip", z.ZodTypeAny, {
|
|
822
|
+
USDC: bigint | null;
|
|
823
|
+
SOL: bigint | null;
|
|
824
|
+
}, {
|
|
690
825
|
USDC?: string | number | null | undefined;
|
|
826
|
+
SOL?: string | number | null | undefined;
|
|
691
827
|
}>>;
|
|
692
828
|
}, "strip", z.ZodTypeAny, {
|
|
693
829
|
Bitcoin: {
|
|
@@ -706,6 +842,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
706
842
|
ETH: bigint | null;
|
|
707
843
|
USDC: bigint | null;
|
|
708
844
|
};
|
|
845
|
+
Solana: {
|
|
846
|
+
USDC: bigint | null;
|
|
847
|
+
SOL: bigint | null;
|
|
848
|
+
};
|
|
709
849
|
}, {
|
|
710
850
|
Bitcoin: {
|
|
711
851
|
BTC: string | number | null;
|
|
@@ -719,9 +859,13 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
719
859
|
Polkadot: {
|
|
720
860
|
DOT: string | number | null;
|
|
721
861
|
};
|
|
722
|
-
Arbitrum
|
|
723
|
-
ETH
|
|
862
|
+
Arbitrum: {
|
|
863
|
+
ETH: string | number | null;
|
|
864
|
+
USDC: string | number | null;
|
|
865
|
+
};
|
|
866
|
+
Solana?: {
|
|
724
867
|
USDC?: string | number | null | undefined;
|
|
868
|
+
SOL?: string | number | null | undefined;
|
|
725
869
|
} | undefined;
|
|
726
870
|
}>;
|
|
727
871
|
egress_fees: z.ZodObject<{
|
|
@@ -755,15 +899,25 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
755
899
|
}, {
|
|
756
900
|
DOT: string | number | null;
|
|
757
901
|
}>;
|
|
758
|
-
Arbitrum: z.
|
|
759
|
-
ETH: z.
|
|
760
|
-
USDC: z.
|
|
902
|
+
Arbitrum: z.ZodObject<{
|
|
903
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
904
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
761
905
|
}, "strip", z.ZodTypeAny, {
|
|
762
906
|
ETH: bigint | null;
|
|
763
907
|
USDC: bigint | null;
|
|
764
908
|
}, {
|
|
765
|
-
ETH
|
|
909
|
+
ETH: string | number | null;
|
|
910
|
+
USDC: string | number | null;
|
|
911
|
+
}>;
|
|
912
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
913
|
+
SOL: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
914
|
+
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
915
|
+
}, "strip", z.ZodTypeAny, {
|
|
916
|
+
USDC: bigint | null;
|
|
917
|
+
SOL: bigint | null;
|
|
918
|
+
}, {
|
|
766
919
|
USDC?: string | number | null | undefined;
|
|
920
|
+
SOL?: string | number | null | undefined;
|
|
767
921
|
}>>;
|
|
768
922
|
}, "strip", z.ZodTypeAny, {
|
|
769
923
|
Bitcoin: {
|
|
@@ -782,6 +936,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
782
936
|
ETH: bigint | null;
|
|
783
937
|
USDC: bigint | null;
|
|
784
938
|
};
|
|
939
|
+
Solana: {
|
|
940
|
+
USDC: bigint | null;
|
|
941
|
+
SOL: bigint | null;
|
|
942
|
+
};
|
|
785
943
|
}, {
|
|
786
944
|
Bitcoin: {
|
|
787
945
|
BTC: string | number | null;
|
|
@@ -795,26 +953,33 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
795
953
|
Polkadot: {
|
|
796
954
|
DOT: string | number | null;
|
|
797
955
|
};
|
|
798
|
-
Arbitrum
|
|
799
|
-
ETH
|
|
956
|
+
Arbitrum: {
|
|
957
|
+
ETH: string | number | null;
|
|
958
|
+
USDC: string | number | null;
|
|
959
|
+
};
|
|
960
|
+
Solana?: {
|
|
800
961
|
USDC?: string | number | null | undefined;
|
|
962
|
+
SOL?: string | number | null | undefined;
|
|
801
963
|
} | undefined;
|
|
802
964
|
}>;
|
|
803
965
|
witness_safety_margins: z.ZodObject<{
|
|
804
966
|
Bitcoin: z.ZodNullable<z.ZodNumber>;
|
|
805
967
|
Ethereum: z.ZodNullable<z.ZodNumber>;
|
|
806
968
|
Polkadot: z.ZodNullable<z.ZodNumber>;
|
|
807
|
-
Arbitrum: z.
|
|
969
|
+
Arbitrum: z.ZodNullable<z.ZodNumber>;
|
|
970
|
+
Solana: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
808
971
|
}, "strip", z.ZodTypeAny, {
|
|
809
972
|
Bitcoin: number | null;
|
|
810
973
|
Ethereum: number | null;
|
|
811
974
|
Polkadot: number | null;
|
|
812
975
|
Arbitrum: number | null;
|
|
976
|
+
Solana: number | null;
|
|
813
977
|
}, {
|
|
814
978
|
Bitcoin: number | null;
|
|
815
979
|
Ethereum: number | null;
|
|
816
980
|
Polkadot: number | null;
|
|
817
|
-
Arbitrum
|
|
981
|
+
Arbitrum: number | null;
|
|
982
|
+
Solana?: number | null | undefined;
|
|
818
983
|
}>;
|
|
819
984
|
egress_dust_limits: z.ZodObject<{
|
|
820
985
|
Bitcoin: z.ZodObject<{
|
|
@@ -847,15 +1012,25 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
847
1012
|
}, {
|
|
848
1013
|
DOT: string | number;
|
|
849
1014
|
}>;
|
|
850
|
-
Arbitrum: z.
|
|
851
|
-
ETH: z.
|
|
852
|
-
USDC: z.
|
|
1015
|
+
Arbitrum: z.ZodObject<{
|
|
1016
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
1017
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
853
1018
|
}, "strip", z.ZodTypeAny, {
|
|
854
1019
|
ETH: bigint;
|
|
855
1020
|
USDC: bigint;
|
|
856
1021
|
}, {
|
|
857
|
-
ETH
|
|
1022
|
+
ETH: string | number;
|
|
1023
|
+
USDC: string | number;
|
|
1024
|
+
}>;
|
|
1025
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
1026
|
+
SOL: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
1027
|
+
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
1028
|
+
}, "strip", z.ZodTypeAny, {
|
|
1029
|
+
USDC: bigint;
|
|
1030
|
+
SOL: bigint;
|
|
1031
|
+
}, {
|
|
858
1032
|
USDC?: string | number | undefined;
|
|
1033
|
+
SOL?: string | number | undefined;
|
|
859
1034
|
}>>;
|
|
860
1035
|
}, "strip", z.ZodTypeAny, {
|
|
861
1036
|
Bitcoin: {
|
|
@@ -874,6 +1049,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
874
1049
|
ETH: bigint;
|
|
875
1050
|
USDC: bigint;
|
|
876
1051
|
};
|
|
1052
|
+
Solana: {
|
|
1053
|
+
USDC: bigint;
|
|
1054
|
+
SOL: bigint;
|
|
1055
|
+
};
|
|
877
1056
|
}, {
|
|
878
1057
|
Bitcoin: {
|
|
879
1058
|
BTC: string | number;
|
|
@@ -887,42 +1066,52 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
887
1066
|
Polkadot: {
|
|
888
1067
|
DOT: string | number;
|
|
889
1068
|
};
|
|
890
|
-
Arbitrum
|
|
891
|
-
ETH
|
|
1069
|
+
Arbitrum: {
|
|
1070
|
+
ETH: string | number;
|
|
1071
|
+
USDC: string | number;
|
|
1072
|
+
};
|
|
1073
|
+
Solana?: {
|
|
892
1074
|
USDC?: string | number | undefined;
|
|
1075
|
+
SOL?: string | number | undefined;
|
|
893
1076
|
} | undefined;
|
|
894
1077
|
}>;
|
|
895
1078
|
channel_opening_fees: z.ZodObject<{
|
|
896
1079
|
Bitcoin: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
897
1080
|
Ethereum: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
898
1081
|
Polkadot: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
899
|
-
Arbitrum: z.
|
|
1082
|
+
Arbitrum: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
1083
|
+
Solana: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
900
1084
|
}, "strip", z.ZodTypeAny, {
|
|
901
1085
|
Bitcoin: bigint;
|
|
902
1086
|
Ethereum: bigint;
|
|
903
1087
|
Polkadot: bigint;
|
|
904
1088
|
Arbitrum: bigint;
|
|
1089
|
+
Solana: bigint;
|
|
905
1090
|
}, {
|
|
906
1091
|
Bitcoin: string | number;
|
|
907
1092
|
Ethereum: string | number;
|
|
908
1093
|
Polkadot: string | number;
|
|
909
|
-
Arbitrum
|
|
1094
|
+
Arbitrum: string | number;
|
|
1095
|
+
Solana?: string | number | undefined;
|
|
910
1096
|
}>;
|
|
911
1097
|
max_swap_retry_duration_blocks: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
912
1098
|
Bitcoin: z.ZodNumber;
|
|
913
1099
|
Ethereum: z.ZodNumber;
|
|
914
1100
|
Polkadot: z.ZodNumber;
|
|
915
|
-
Arbitrum: z.
|
|
1101
|
+
Arbitrum: z.ZodNumber;
|
|
1102
|
+
Solana: z.ZodDefault<z.ZodNumber>;
|
|
916
1103
|
}, "strip", z.ZodTypeAny, {
|
|
917
1104
|
Bitcoin: number;
|
|
918
1105
|
Ethereum: number;
|
|
919
1106
|
Polkadot: number;
|
|
920
1107
|
Arbitrum: number;
|
|
1108
|
+
Solana: number;
|
|
921
1109
|
}, {
|
|
922
1110
|
Bitcoin: number;
|
|
923
1111
|
Ethereum: number;
|
|
924
1112
|
Polkadot: number;
|
|
925
|
-
Arbitrum
|
|
1113
|
+
Arbitrum: number;
|
|
1114
|
+
Solana?: number | undefined;
|
|
926
1115
|
}>>>;
|
|
927
1116
|
}, "strip", z.ZodTypeAny, {
|
|
928
1117
|
minimum_deposit_amounts: {
|
|
@@ -942,6 +1131,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
942
1131
|
ETH: bigint;
|
|
943
1132
|
USDC: bigint;
|
|
944
1133
|
};
|
|
1134
|
+
Solana: {
|
|
1135
|
+
USDC: bigint;
|
|
1136
|
+
SOL: bigint;
|
|
1137
|
+
};
|
|
945
1138
|
};
|
|
946
1139
|
ingress_fees: {
|
|
947
1140
|
Bitcoin: {
|
|
@@ -960,6 +1153,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
960
1153
|
ETH: bigint | null;
|
|
961
1154
|
USDC: bigint | null;
|
|
962
1155
|
};
|
|
1156
|
+
Solana: {
|
|
1157
|
+
USDC: bigint | null;
|
|
1158
|
+
SOL: bigint | null;
|
|
1159
|
+
};
|
|
963
1160
|
};
|
|
964
1161
|
egress_fees: {
|
|
965
1162
|
Bitcoin: {
|
|
@@ -978,12 +1175,17 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
978
1175
|
ETH: bigint | null;
|
|
979
1176
|
USDC: bigint | null;
|
|
980
1177
|
};
|
|
1178
|
+
Solana: {
|
|
1179
|
+
USDC: bigint | null;
|
|
1180
|
+
SOL: bigint | null;
|
|
1181
|
+
};
|
|
981
1182
|
};
|
|
982
1183
|
witness_safety_margins: {
|
|
983
1184
|
Bitcoin: number | null;
|
|
984
1185
|
Ethereum: number | null;
|
|
985
1186
|
Polkadot: number | null;
|
|
986
1187
|
Arbitrum: number | null;
|
|
1188
|
+
Solana: number | null;
|
|
987
1189
|
};
|
|
988
1190
|
egress_dust_limits: {
|
|
989
1191
|
Bitcoin: {
|
|
@@ -1002,18 +1204,24 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1002
1204
|
ETH: bigint;
|
|
1003
1205
|
USDC: bigint;
|
|
1004
1206
|
};
|
|
1207
|
+
Solana: {
|
|
1208
|
+
USDC: bigint;
|
|
1209
|
+
SOL: bigint;
|
|
1210
|
+
};
|
|
1005
1211
|
};
|
|
1006
1212
|
channel_opening_fees: {
|
|
1007
1213
|
Bitcoin: bigint;
|
|
1008
1214
|
Ethereum: bigint;
|
|
1009
1215
|
Polkadot: bigint;
|
|
1010
1216
|
Arbitrum: bigint;
|
|
1217
|
+
Solana: bigint;
|
|
1011
1218
|
};
|
|
1012
1219
|
max_swap_retry_duration_blocks: {
|
|
1013
1220
|
Bitcoin: number;
|
|
1014
1221
|
Ethereum: number;
|
|
1015
1222
|
Polkadot: number;
|
|
1016
1223
|
Arbitrum: number;
|
|
1224
|
+
Solana: number;
|
|
1017
1225
|
};
|
|
1018
1226
|
}, {
|
|
1019
1227
|
minimum_deposit_amounts: {
|
|
@@ -1029,9 +1237,13 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1029
1237
|
Polkadot: {
|
|
1030
1238
|
DOT: string | number;
|
|
1031
1239
|
};
|
|
1032
|
-
Arbitrum
|
|
1033
|
-
ETH
|
|
1240
|
+
Arbitrum: {
|
|
1241
|
+
ETH: string | number;
|
|
1242
|
+
USDC: string | number;
|
|
1243
|
+
};
|
|
1244
|
+
Solana?: {
|
|
1034
1245
|
USDC?: string | number | undefined;
|
|
1246
|
+
SOL?: string | number | undefined;
|
|
1035
1247
|
} | undefined;
|
|
1036
1248
|
};
|
|
1037
1249
|
ingress_fees: {
|
|
@@ -1047,9 +1259,13 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1047
1259
|
Polkadot: {
|
|
1048
1260
|
DOT: string | number | null;
|
|
1049
1261
|
};
|
|
1050
|
-
Arbitrum
|
|
1051
|
-
ETH
|
|
1262
|
+
Arbitrum: {
|
|
1263
|
+
ETH: string | number | null;
|
|
1264
|
+
USDC: string | number | null;
|
|
1265
|
+
};
|
|
1266
|
+
Solana?: {
|
|
1052
1267
|
USDC?: string | number | null | undefined;
|
|
1268
|
+
SOL?: string | number | null | undefined;
|
|
1053
1269
|
} | undefined;
|
|
1054
1270
|
};
|
|
1055
1271
|
egress_fees: {
|
|
@@ -1065,16 +1281,21 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1065
1281
|
Polkadot: {
|
|
1066
1282
|
DOT: string | number | null;
|
|
1067
1283
|
};
|
|
1068
|
-
Arbitrum
|
|
1069
|
-
ETH
|
|
1284
|
+
Arbitrum: {
|
|
1285
|
+
ETH: string | number | null;
|
|
1286
|
+
USDC: string | number | null;
|
|
1287
|
+
};
|
|
1288
|
+
Solana?: {
|
|
1070
1289
|
USDC?: string | number | null | undefined;
|
|
1290
|
+
SOL?: string | number | null | undefined;
|
|
1071
1291
|
} | undefined;
|
|
1072
1292
|
};
|
|
1073
1293
|
witness_safety_margins: {
|
|
1074
1294
|
Bitcoin: number | null;
|
|
1075
1295
|
Ethereum: number | null;
|
|
1076
1296
|
Polkadot: number | null;
|
|
1077
|
-
Arbitrum
|
|
1297
|
+
Arbitrum: number | null;
|
|
1298
|
+
Solana?: number | null | undefined;
|
|
1078
1299
|
};
|
|
1079
1300
|
egress_dust_limits: {
|
|
1080
1301
|
Bitcoin: {
|
|
@@ -1089,22 +1310,28 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1089
1310
|
Polkadot: {
|
|
1090
1311
|
DOT: string | number;
|
|
1091
1312
|
};
|
|
1092
|
-
Arbitrum
|
|
1093
|
-
ETH
|
|
1313
|
+
Arbitrum: {
|
|
1314
|
+
ETH: string | number;
|
|
1315
|
+
USDC: string | number;
|
|
1316
|
+
};
|
|
1317
|
+
Solana?: {
|
|
1094
1318
|
USDC?: string | number | undefined;
|
|
1319
|
+
SOL?: string | number | undefined;
|
|
1095
1320
|
} | undefined;
|
|
1096
1321
|
};
|
|
1097
1322
|
channel_opening_fees: {
|
|
1098
1323
|
Bitcoin: string | number;
|
|
1099
1324
|
Ethereum: string | number;
|
|
1100
1325
|
Polkadot: string | number;
|
|
1101
|
-
Arbitrum
|
|
1326
|
+
Arbitrum: string | number;
|
|
1327
|
+
Solana?: string | number | undefined;
|
|
1102
1328
|
};
|
|
1103
1329
|
max_swap_retry_duration_blocks?: {
|
|
1104
1330
|
Bitcoin: number;
|
|
1105
1331
|
Ethereum: number;
|
|
1106
1332
|
Polkadot: number;
|
|
1107
|
-
Arbitrum
|
|
1333
|
+
Arbitrum: number;
|
|
1334
|
+
Solana?: number | undefined;
|
|
1108
1335
|
} | undefined;
|
|
1109
1336
|
}>, Rename<{
|
|
1110
1337
|
minimum_deposit_amounts: {
|
|
@@ -1124,6 +1351,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1124
1351
|
ETH: bigint;
|
|
1125
1352
|
USDC: bigint;
|
|
1126
1353
|
};
|
|
1354
|
+
Solana: {
|
|
1355
|
+
USDC: bigint;
|
|
1356
|
+
SOL: bigint;
|
|
1357
|
+
};
|
|
1127
1358
|
};
|
|
1128
1359
|
ingress_fees: {
|
|
1129
1360
|
Bitcoin: {
|
|
@@ -1142,6 +1373,10 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1142
1373
|
ETH: bigint | null;
|
|
1143
1374
|
USDC: bigint | null;
|
|
1144
1375
|
};
|
|
1376
|
+
Solana: {
|
|
1377
|
+
USDC: bigint | null;
|
|
1378
|
+
SOL: bigint | null;
|
|
1379
|
+
};
|
|
1145
1380
|
};
|
|
1146
1381
|
egress_fees: {
|
|
1147
1382
|
Bitcoin: {
|
|
@@ -1160,12 +1395,17 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1160
1395
|
ETH: bigint | null;
|
|
1161
1396
|
USDC: bigint | null;
|
|
1162
1397
|
};
|
|
1398
|
+
Solana: {
|
|
1399
|
+
USDC: bigint | null;
|
|
1400
|
+
SOL: bigint | null;
|
|
1401
|
+
};
|
|
1163
1402
|
};
|
|
1164
1403
|
witness_safety_margins: {
|
|
1165
1404
|
Bitcoin: number | null;
|
|
1166
1405
|
Ethereum: number | null;
|
|
1167
1406
|
Polkadot: number | null;
|
|
1168
1407
|
Arbitrum: number | null;
|
|
1408
|
+
Solana: number | null;
|
|
1169
1409
|
};
|
|
1170
1410
|
egress_dust_limits: {
|
|
1171
1411
|
Bitcoin: {
|
|
@@ -1184,18 +1424,24 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1184
1424
|
ETH: bigint;
|
|
1185
1425
|
USDC: bigint;
|
|
1186
1426
|
};
|
|
1427
|
+
Solana: {
|
|
1428
|
+
USDC: bigint;
|
|
1429
|
+
SOL: bigint;
|
|
1430
|
+
};
|
|
1187
1431
|
};
|
|
1188
1432
|
channel_opening_fees: {
|
|
1189
1433
|
Bitcoin: bigint;
|
|
1190
1434
|
Ethereum: bigint;
|
|
1191
1435
|
Polkadot: bigint;
|
|
1192
1436
|
Arbitrum: bigint;
|
|
1437
|
+
Solana: bigint;
|
|
1193
1438
|
};
|
|
1194
1439
|
max_swap_retry_duration_blocks: {
|
|
1195
1440
|
Bitcoin: number;
|
|
1196
1441
|
Ethereum: number;
|
|
1197
1442
|
Polkadot: number;
|
|
1198
1443
|
Arbitrum: number;
|
|
1444
|
+
Solana: number;
|
|
1199
1445
|
};
|
|
1200
1446
|
}, {
|
|
1201
1447
|
readonly egress_dust_limits: "minimum_egress_amounts";
|
|
@@ -1213,9 +1459,13 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1213
1459
|
Polkadot: {
|
|
1214
1460
|
DOT: string | number;
|
|
1215
1461
|
};
|
|
1216
|
-
Arbitrum
|
|
1217
|
-
ETH
|
|
1462
|
+
Arbitrum: {
|
|
1463
|
+
ETH: string | number;
|
|
1464
|
+
USDC: string | number;
|
|
1465
|
+
};
|
|
1466
|
+
Solana?: {
|
|
1218
1467
|
USDC?: string | number | undefined;
|
|
1468
|
+
SOL?: string | number | undefined;
|
|
1219
1469
|
} | undefined;
|
|
1220
1470
|
};
|
|
1221
1471
|
ingress_fees: {
|
|
@@ -1231,9 +1481,13 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1231
1481
|
Polkadot: {
|
|
1232
1482
|
DOT: string | number | null;
|
|
1233
1483
|
};
|
|
1234
|
-
Arbitrum
|
|
1235
|
-
ETH
|
|
1484
|
+
Arbitrum: {
|
|
1485
|
+
ETH: string | number | null;
|
|
1486
|
+
USDC: string | number | null;
|
|
1487
|
+
};
|
|
1488
|
+
Solana?: {
|
|
1236
1489
|
USDC?: string | number | null | undefined;
|
|
1490
|
+
SOL?: string | number | null | undefined;
|
|
1237
1491
|
} | undefined;
|
|
1238
1492
|
};
|
|
1239
1493
|
egress_fees: {
|
|
@@ -1249,16 +1503,21 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1249
1503
|
Polkadot: {
|
|
1250
1504
|
DOT: string | number | null;
|
|
1251
1505
|
};
|
|
1252
|
-
Arbitrum
|
|
1253
|
-
ETH
|
|
1506
|
+
Arbitrum: {
|
|
1507
|
+
ETH: string | number | null;
|
|
1508
|
+
USDC: string | number | null;
|
|
1509
|
+
};
|
|
1510
|
+
Solana?: {
|
|
1254
1511
|
USDC?: string | number | null | undefined;
|
|
1512
|
+
SOL?: string | number | null | undefined;
|
|
1255
1513
|
} | undefined;
|
|
1256
1514
|
};
|
|
1257
1515
|
witness_safety_margins: {
|
|
1258
1516
|
Bitcoin: number | null;
|
|
1259
1517
|
Ethereum: number | null;
|
|
1260
1518
|
Polkadot: number | null;
|
|
1261
|
-
Arbitrum
|
|
1519
|
+
Arbitrum: number | null;
|
|
1520
|
+
Solana?: number | null | undefined;
|
|
1262
1521
|
};
|
|
1263
1522
|
egress_dust_limits: {
|
|
1264
1523
|
Bitcoin: {
|
|
@@ -1273,22 +1532,28 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
1273
1532
|
Polkadot: {
|
|
1274
1533
|
DOT: string | number;
|
|
1275
1534
|
};
|
|
1276
|
-
Arbitrum
|
|
1277
|
-
ETH
|
|
1535
|
+
Arbitrum: {
|
|
1536
|
+
ETH: string | number;
|
|
1537
|
+
USDC: string | number;
|
|
1538
|
+
};
|
|
1539
|
+
Solana?: {
|
|
1278
1540
|
USDC?: string | number | undefined;
|
|
1541
|
+
SOL?: string | number | undefined;
|
|
1279
1542
|
} | undefined;
|
|
1280
1543
|
};
|
|
1281
1544
|
channel_opening_fees: {
|
|
1282
1545
|
Bitcoin: string | number;
|
|
1283
1546
|
Ethereum: string | number;
|
|
1284
1547
|
Polkadot: string | number;
|
|
1285
|
-
Arbitrum
|
|
1548
|
+
Arbitrum: string | number;
|
|
1549
|
+
Solana?: string | number | undefined;
|
|
1286
1550
|
};
|
|
1287
1551
|
max_swap_retry_duration_blocks?: {
|
|
1288
1552
|
Bitcoin: number;
|
|
1289
1553
|
Ethereum: number;
|
|
1290
1554
|
Polkadot: number;
|
|
1291
|
-
Arbitrum
|
|
1555
|
+
Arbitrum: number;
|
|
1556
|
+
Solana?: number | undefined;
|
|
1292
1557
|
} | undefined;
|
|
1293
1558
|
}>;
|
|
1294
1559
|
declare const cfSwappingEnvironment: z.ZodObject<{
|
|
@@ -1323,15 +1588,25 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
1323
1588
|
}, {
|
|
1324
1589
|
DOT: string | number | null;
|
|
1325
1590
|
}>;
|
|
1326
|
-
Arbitrum: z.
|
|
1327
|
-
ETH: z.
|
|
1328
|
-
USDC: z.
|
|
1591
|
+
Arbitrum: z.ZodObject<{
|
|
1592
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
1593
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
1329
1594
|
}, "strip", z.ZodTypeAny, {
|
|
1330
1595
|
ETH: bigint | null;
|
|
1331
1596
|
USDC: bigint | null;
|
|
1332
1597
|
}, {
|
|
1333
|
-
ETH
|
|
1598
|
+
ETH: string | number | null;
|
|
1599
|
+
USDC: string | number | null;
|
|
1600
|
+
}>;
|
|
1601
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
1602
|
+
SOL: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
1603
|
+
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
1604
|
+
}, "strip", z.ZodTypeAny, {
|
|
1605
|
+
USDC: bigint | null;
|
|
1606
|
+
SOL: bigint | null;
|
|
1607
|
+
}, {
|
|
1334
1608
|
USDC?: string | number | null | undefined;
|
|
1609
|
+
SOL?: string | number | null | undefined;
|
|
1335
1610
|
}>>;
|
|
1336
1611
|
}, "strip", z.ZodTypeAny, {
|
|
1337
1612
|
Bitcoin: {
|
|
@@ -1350,6 +1625,10 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
1350
1625
|
ETH: bigint | null;
|
|
1351
1626
|
USDC: bigint | null;
|
|
1352
1627
|
};
|
|
1628
|
+
Solana: {
|
|
1629
|
+
USDC: bigint | null;
|
|
1630
|
+
SOL: bigint | null;
|
|
1631
|
+
};
|
|
1353
1632
|
}, {
|
|
1354
1633
|
Bitcoin: {
|
|
1355
1634
|
BTC: string | number | null;
|
|
@@ -1363,9 +1642,13 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
1363
1642
|
Polkadot: {
|
|
1364
1643
|
DOT: string | number | null;
|
|
1365
1644
|
};
|
|
1366
|
-
Arbitrum
|
|
1367
|
-
ETH
|
|
1645
|
+
Arbitrum: {
|
|
1646
|
+
ETH: string | number | null;
|
|
1647
|
+
USDC: string | number | null;
|
|
1648
|
+
};
|
|
1649
|
+
Solana?: {
|
|
1368
1650
|
USDC?: string | number | null | undefined;
|
|
1651
|
+
SOL?: string | number | null | undefined;
|
|
1369
1652
|
} | undefined;
|
|
1370
1653
|
}>;
|
|
1371
1654
|
network_fee_hundredth_pips: z.ZodNumber;
|
|
@@ -1387,6 +1670,10 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
1387
1670
|
ETH: bigint | null;
|
|
1388
1671
|
USDC: bigint | null;
|
|
1389
1672
|
};
|
|
1673
|
+
Solana: {
|
|
1674
|
+
USDC: bigint | null;
|
|
1675
|
+
SOL: bigint | null;
|
|
1676
|
+
};
|
|
1390
1677
|
};
|
|
1391
1678
|
network_fee_hundredth_pips: number;
|
|
1392
1679
|
}, {
|
|
@@ -1403,9 +1690,13 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
1403
1690
|
Polkadot: {
|
|
1404
1691
|
DOT: string | number | null;
|
|
1405
1692
|
};
|
|
1406
|
-
Arbitrum
|
|
1407
|
-
ETH
|
|
1693
|
+
Arbitrum: {
|
|
1694
|
+
ETH: string | number | null;
|
|
1695
|
+
USDC: string | number | null;
|
|
1696
|
+
};
|
|
1697
|
+
Solana?: {
|
|
1408
1698
|
USDC?: string | number | null | undefined;
|
|
1699
|
+
SOL?: string | number | null | undefined;
|
|
1409
1700
|
} | undefined;
|
|
1410
1701
|
};
|
|
1411
1702
|
network_fee_hundredth_pips: number;
|
|
@@ -2174,8 +2465,8 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2174
2465
|
};
|
|
2175
2466
|
};
|
|
2176
2467
|
}>;
|
|
2177
|
-
Arbitrum: z.
|
|
2178
|
-
ETH: z.
|
|
2468
|
+
Arbitrum: z.ZodObject<{
|
|
2469
|
+
ETH: z.ZodObject<{
|
|
2179
2470
|
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
2180
2471
|
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
2181
2472
|
range_order_total_fees_earned: z.ZodObject<{
|
|
@@ -2274,8 +2565,8 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2274
2565
|
chain: "Ethereum";
|
|
2275
2566
|
asset: "USDC";
|
|
2276
2567
|
};
|
|
2277
|
-
}
|
|
2278
|
-
USDC: z.
|
|
2568
|
+
}>;
|
|
2569
|
+
USDC: z.ZodObject<{
|
|
2279
2570
|
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
2280
2571
|
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
2281
2572
|
range_order_total_fees_earned: z.ZodObject<{
|
|
@@ -2374,7 +2665,7 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2374
2665
|
chain: "Ethereum";
|
|
2375
2666
|
asset: "USDC";
|
|
2376
2667
|
};
|
|
2377
|
-
}
|
|
2668
|
+
}>;
|
|
2378
2669
|
}, "strip", z.ZodTypeAny, {
|
|
2379
2670
|
ETH: {
|
|
2380
2671
|
limit_order_fee_hundredth_pips: number;
|
|
@@ -2425,7 +2716,7 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2425
2716
|
};
|
|
2426
2717
|
};
|
|
2427
2718
|
}, {
|
|
2428
|
-
ETH
|
|
2719
|
+
ETH: {
|
|
2429
2720
|
limit_order_fee_hundredth_pips: number;
|
|
2430
2721
|
range_order_fee_hundredth_pips: number;
|
|
2431
2722
|
range_order_total_fees_earned: {
|
|
@@ -2448,8 +2739,8 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2448
2739
|
chain: "Ethereum";
|
|
2449
2740
|
asset: "USDC";
|
|
2450
2741
|
};
|
|
2451
|
-
}
|
|
2452
|
-
USDC
|
|
2742
|
+
};
|
|
2743
|
+
USDC: {
|
|
2453
2744
|
limit_order_fee_hundredth_pips: number;
|
|
2454
2745
|
range_order_fee_hundredth_pips: number;
|
|
2455
2746
|
range_order_total_fees_earned: {
|
|
@@ -2472,33 +2763,333 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2472
2763
|
chain: "Ethereum";
|
|
2473
2764
|
asset: "USDC";
|
|
2474
2765
|
};
|
|
2475
|
-
}
|
|
2476
|
-
}
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2766
|
+
};
|
|
2767
|
+
}>;
|
|
2768
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
2769
|
+
SOL: z.ZodDefault<z.ZodObject<{
|
|
2770
|
+
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
2771
|
+
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
2772
|
+
range_order_total_fees_earned: z.ZodObject<{
|
|
2773
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2774
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2775
|
+
}, "strip", z.ZodTypeAny, {
|
|
2483
2776
|
base: bigint;
|
|
2484
2777
|
quote: bigint;
|
|
2485
|
-
}
|
|
2486
|
-
|
|
2778
|
+
}, {
|
|
2779
|
+
base: string;
|
|
2780
|
+
quote: string;
|
|
2781
|
+
}>;
|
|
2782
|
+
limit_order_total_fees_earned: z.ZodObject<{
|
|
2783
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2784
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2785
|
+
}, "strip", z.ZodTypeAny, {
|
|
2487
2786
|
base: bigint;
|
|
2488
2787
|
quote: bigint;
|
|
2489
|
-
}
|
|
2490
|
-
|
|
2788
|
+
}, {
|
|
2789
|
+
base: string;
|
|
2790
|
+
quote: string;
|
|
2791
|
+
}>;
|
|
2792
|
+
range_total_swap_inputs: z.ZodObject<{
|
|
2793
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2794
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2795
|
+
}, "strip", z.ZodTypeAny, {
|
|
2491
2796
|
base: bigint;
|
|
2492
2797
|
quote: bigint;
|
|
2493
|
-
}
|
|
2494
|
-
|
|
2798
|
+
}, {
|
|
2799
|
+
base: string;
|
|
2800
|
+
quote: string;
|
|
2801
|
+
}>;
|
|
2802
|
+
limit_total_swap_inputs: z.ZodObject<{
|
|
2803
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2804
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2805
|
+
}, "strip", z.ZodTypeAny, {
|
|
2495
2806
|
base: bigint;
|
|
2496
2807
|
quote: bigint;
|
|
2497
|
-
}
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2808
|
+
}, {
|
|
2809
|
+
base: string;
|
|
2810
|
+
quote: string;
|
|
2811
|
+
}>;
|
|
2812
|
+
quote_asset: z.ZodObject<{
|
|
2813
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
2814
|
+
asset: z.ZodLiteral<"USDC">;
|
|
2815
|
+
}, "strip", z.ZodTypeAny, {
|
|
2816
|
+
chain: "Ethereum";
|
|
2817
|
+
asset: "USDC";
|
|
2818
|
+
}, {
|
|
2819
|
+
chain: "Ethereum";
|
|
2820
|
+
asset: "USDC";
|
|
2821
|
+
}>;
|
|
2822
|
+
}, "strip", z.ZodTypeAny, {
|
|
2823
|
+
limit_order_fee_hundredth_pips: number;
|
|
2824
|
+
range_order_fee_hundredth_pips: number;
|
|
2825
|
+
range_order_total_fees_earned: {
|
|
2826
|
+
base: bigint;
|
|
2827
|
+
quote: bigint;
|
|
2828
|
+
};
|
|
2829
|
+
limit_order_total_fees_earned: {
|
|
2830
|
+
base: bigint;
|
|
2831
|
+
quote: bigint;
|
|
2832
|
+
};
|
|
2833
|
+
range_total_swap_inputs: {
|
|
2834
|
+
base: bigint;
|
|
2835
|
+
quote: bigint;
|
|
2836
|
+
};
|
|
2837
|
+
limit_total_swap_inputs: {
|
|
2838
|
+
base: bigint;
|
|
2839
|
+
quote: bigint;
|
|
2840
|
+
};
|
|
2841
|
+
quote_asset: {
|
|
2842
|
+
chain: "Ethereum";
|
|
2843
|
+
asset: "USDC";
|
|
2844
|
+
};
|
|
2845
|
+
}, {
|
|
2846
|
+
limit_order_fee_hundredth_pips: number;
|
|
2847
|
+
range_order_fee_hundredth_pips: number;
|
|
2848
|
+
range_order_total_fees_earned: {
|
|
2849
|
+
base: string;
|
|
2850
|
+
quote: string;
|
|
2851
|
+
};
|
|
2852
|
+
limit_order_total_fees_earned: {
|
|
2853
|
+
base: string;
|
|
2854
|
+
quote: string;
|
|
2855
|
+
};
|
|
2856
|
+
range_total_swap_inputs: {
|
|
2857
|
+
base: string;
|
|
2858
|
+
quote: string;
|
|
2859
|
+
};
|
|
2860
|
+
limit_total_swap_inputs: {
|
|
2861
|
+
base: string;
|
|
2862
|
+
quote: string;
|
|
2863
|
+
};
|
|
2864
|
+
quote_asset: {
|
|
2865
|
+
chain: "Ethereum";
|
|
2866
|
+
asset: "USDC";
|
|
2867
|
+
};
|
|
2868
|
+
}>>;
|
|
2869
|
+
USDC: z.ZodDefault<z.ZodObject<{
|
|
2870
|
+
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
2871
|
+
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
2872
|
+
range_order_total_fees_earned: z.ZodObject<{
|
|
2873
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2874
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2875
|
+
}, "strip", z.ZodTypeAny, {
|
|
2876
|
+
base: bigint;
|
|
2877
|
+
quote: bigint;
|
|
2878
|
+
}, {
|
|
2879
|
+
base: string;
|
|
2880
|
+
quote: string;
|
|
2881
|
+
}>;
|
|
2882
|
+
limit_order_total_fees_earned: z.ZodObject<{
|
|
2883
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2884
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2885
|
+
}, "strip", z.ZodTypeAny, {
|
|
2886
|
+
base: bigint;
|
|
2887
|
+
quote: bigint;
|
|
2888
|
+
}, {
|
|
2889
|
+
base: string;
|
|
2890
|
+
quote: string;
|
|
2891
|
+
}>;
|
|
2892
|
+
range_total_swap_inputs: z.ZodObject<{
|
|
2893
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2894
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2895
|
+
}, "strip", z.ZodTypeAny, {
|
|
2896
|
+
base: bigint;
|
|
2897
|
+
quote: bigint;
|
|
2898
|
+
}, {
|
|
2899
|
+
base: string;
|
|
2900
|
+
quote: string;
|
|
2901
|
+
}>;
|
|
2902
|
+
limit_total_swap_inputs: z.ZodObject<{
|
|
2903
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2904
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
2905
|
+
}, "strip", z.ZodTypeAny, {
|
|
2906
|
+
base: bigint;
|
|
2907
|
+
quote: bigint;
|
|
2908
|
+
}, {
|
|
2909
|
+
base: string;
|
|
2910
|
+
quote: string;
|
|
2911
|
+
}>;
|
|
2912
|
+
quote_asset: z.ZodObject<{
|
|
2913
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
2914
|
+
asset: z.ZodLiteral<"USDC">;
|
|
2915
|
+
}, "strip", z.ZodTypeAny, {
|
|
2916
|
+
chain: "Ethereum";
|
|
2917
|
+
asset: "USDC";
|
|
2918
|
+
}, {
|
|
2919
|
+
chain: "Ethereum";
|
|
2920
|
+
asset: "USDC";
|
|
2921
|
+
}>;
|
|
2922
|
+
}, "strip", z.ZodTypeAny, {
|
|
2923
|
+
limit_order_fee_hundredth_pips: number;
|
|
2924
|
+
range_order_fee_hundredth_pips: number;
|
|
2925
|
+
range_order_total_fees_earned: {
|
|
2926
|
+
base: bigint;
|
|
2927
|
+
quote: bigint;
|
|
2928
|
+
};
|
|
2929
|
+
limit_order_total_fees_earned: {
|
|
2930
|
+
base: bigint;
|
|
2931
|
+
quote: bigint;
|
|
2932
|
+
};
|
|
2933
|
+
range_total_swap_inputs: {
|
|
2934
|
+
base: bigint;
|
|
2935
|
+
quote: bigint;
|
|
2936
|
+
};
|
|
2937
|
+
limit_total_swap_inputs: {
|
|
2938
|
+
base: bigint;
|
|
2939
|
+
quote: bigint;
|
|
2940
|
+
};
|
|
2941
|
+
quote_asset: {
|
|
2942
|
+
chain: "Ethereum";
|
|
2943
|
+
asset: "USDC";
|
|
2944
|
+
};
|
|
2945
|
+
}, {
|
|
2946
|
+
limit_order_fee_hundredth_pips: number;
|
|
2947
|
+
range_order_fee_hundredth_pips: number;
|
|
2948
|
+
range_order_total_fees_earned: {
|
|
2949
|
+
base: string;
|
|
2950
|
+
quote: string;
|
|
2951
|
+
};
|
|
2952
|
+
limit_order_total_fees_earned: {
|
|
2953
|
+
base: string;
|
|
2954
|
+
quote: string;
|
|
2955
|
+
};
|
|
2956
|
+
range_total_swap_inputs: {
|
|
2957
|
+
base: string;
|
|
2958
|
+
quote: string;
|
|
2959
|
+
};
|
|
2960
|
+
limit_total_swap_inputs: {
|
|
2961
|
+
base: string;
|
|
2962
|
+
quote: string;
|
|
2963
|
+
};
|
|
2964
|
+
quote_asset: {
|
|
2965
|
+
chain: "Ethereum";
|
|
2966
|
+
asset: "USDC";
|
|
2967
|
+
};
|
|
2968
|
+
}>>;
|
|
2969
|
+
}, "strip", z.ZodTypeAny, {
|
|
2970
|
+
USDC: {
|
|
2971
|
+
limit_order_fee_hundredth_pips: number;
|
|
2972
|
+
range_order_fee_hundredth_pips: number;
|
|
2973
|
+
range_order_total_fees_earned: {
|
|
2974
|
+
base: bigint;
|
|
2975
|
+
quote: bigint;
|
|
2976
|
+
};
|
|
2977
|
+
limit_order_total_fees_earned: {
|
|
2978
|
+
base: bigint;
|
|
2979
|
+
quote: bigint;
|
|
2980
|
+
};
|
|
2981
|
+
range_total_swap_inputs: {
|
|
2982
|
+
base: bigint;
|
|
2983
|
+
quote: bigint;
|
|
2984
|
+
};
|
|
2985
|
+
limit_total_swap_inputs: {
|
|
2986
|
+
base: bigint;
|
|
2987
|
+
quote: bigint;
|
|
2988
|
+
};
|
|
2989
|
+
quote_asset: {
|
|
2990
|
+
chain: "Ethereum";
|
|
2991
|
+
asset: "USDC";
|
|
2992
|
+
};
|
|
2993
|
+
};
|
|
2994
|
+
SOL: {
|
|
2995
|
+
limit_order_fee_hundredth_pips: number;
|
|
2996
|
+
range_order_fee_hundredth_pips: number;
|
|
2997
|
+
range_order_total_fees_earned: {
|
|
2998
|
+
base: bigint;
|
|
2999
|
+
quote: bigint;
|
|
3000
|
+
};
|
|
3001
|
+
limit_order_total_fees_earned: {
|
|
3002
|
+
base: bigint;
|
|
3003
|
+
quote: bigint;
|
|
3004
|
+
};
|
|
3005
|
+
range_total_swap_inputs: {
|
|
3006
|
+
base: bigint;
|
|
3007
|
+
quote: bigint;
|
|
3008
|
+
};
|
|
3009
|
+
limit_total_swap_inputs: {
|
|
3010
|
+
base: bigint;
|
|
3011
|
+
quote: bigint;
|
|
3012
|
+
};
|
|
3013
|
+
quote_asset: {
|
|
3014
|
+
chain: "Ethereum";
|
|
3015
|
+
asset: "USDC";
|
|
3016
|
+
};
|
|
3017
|
+
};
|
|
3018
|
+
}, {
|
|
3019
|
+
USDC?: {
|
|
3020
|
+
limit_order_fee_hundredth_pips: number;
|
|
3021
|
+
range_order_fee_hundredth_pips: number;
|
|
3022
|
+
range_order_total_fees_earned: {
|
|
3023
|
+
base: string;
|
|
3024
|
+
quote: string;
|
|
3025
|
+
};
|
|
3026
|
+
limit_order_total_fees_earned: {
|
|
3027
|
+
base: string;
|
|
3028
|
+
quote: string;
|
|
3029
|
+
};
|
|
3030
|
+
range_total_swap_inputs: {
|
|
3031
|
+
base: string;
|
|
3032
|
+
quote: string;
|
|
3033
|
+
};
|
|
3034
|
+
limit_total_swap_inputs: {
|
|
3035
|
+
base: string;
|
|
3036
|
+
quote: string;
|
|
3037
|
+
};
|
|
3038
|
+
quote_asset: {
|
|
3039
|
+
chain: "Ethereum";
|
|
3040
|
+
asset: "USDC";
|
|
3041
|
+
};
|
|
3042
|
+
} | undefined;
|
|
3043
|
+
SOL?: {
|
|
3044
|
+
limit_order_fee_hundredth_pips: number;
|
|
3045
|
+
range_order_fee_hundredth_pips: number;
|
|
3046
|
+
range_order_total_fees_earned: {
|
|
3047
|
+
base: string;
|
|
3048
|
+
quote: string;
|
|
3049
|
+
};
|
|
3050
|
+
limit_order_total_fees_earned: {
|
|
3051
|
+
base: string;
|
|
3052
|
+
quote: string;
|
|
3053
|
+
};
|
|
3054
|
+
range_total_swap_inputs: {
|
|
3055
|
+
base: string;
|
|
3056
|
+
quote: string;
|
|
3057
|
+
};
|
|
3058
|
+
limit_total_swap_inputs: {
|
|
3059
|
+
base: string;
|
|
3060
|
+
quote: string;
|
|
3061
|
+
};
|
|
3062
|
+
quote_asset: {
|
|
3063
|
+
chain: "Ethereum";
|
|
3064
|
+
asset: "USDC";
|
|
3065
|
+
};
|
|
3066
|
+
} | undefined;
|
|
3067
|
+
}>>;
|
|
3068
|
+
}, "strip", z.ZodTypeAny, {
|
|
3069
|
+
Bitcoin: {
|
|
3070
|
+
BTC: {
|
|
3071
|
+
limit_order_fee_hundredth_pips: number;
|
|
3072
|
+
range_order_fee_hundredth_pips: number;
|
|
3073
|
+
range_order_total_fees_earned: {
|
|
3074
|
+
base: bigint;
|
|
3075
|
+
quote: bigint;
|
|
3076
|
+
};
|
|
3077
|
+
limit_order_total_fees_earned: {
|
|
3078
|
+
base: bigint;
|
|
3079
|
+
quote: bigint;
|
|
3080
|
+
};
|
|
3081
|
+
range_total_swap_inputs: {
|
|
3082
|
+
base: bigint;
|
|
3083
|
+
quote: bigint;
|
|
3084
|
+
};
|
|
3085
|
+
limit_total_swap_inputs: {
|
|
3086
|
+
base: bigint;
|
|
3087
|
+
quote: bigint;
|
|
3088
|
+
};
|
|
3089
|
+
quote_asset: {
|
|
3090
|
+
chain: "Ethereum";
|
|
3091
|
+
asset: "USDC";
|
|
3092
|
+
};
|
|
2502
3093
|
};
|
|
2503
3094
|
};
|
|
2504
3095
|
Ethereum: {
|
|
@@ -2642,18 +3233,118 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2642
3233
|
quote: bigint;
|
|
2643
3234
|
};
|
|
2644
3235
|
limit_total_swap_inputs: {
|
|
2645
|
-
base: bigint;
|
|
2646
|
-
quote: bigint;
|
|
3236
|
+
base: bigint;
|
|
3237
|
+
quote: bigint;
|
|
3238
|
+
};
|
|
3239
|
+
quote_asset: {
|
|
3240
|
+
chain: "Ethereum";
|
|
3241
|
+
asset: "USDC";
|
|
3242
|
+
};
|
|
3243
|
+
};
|
|
3244
|
+
};
|
|
3245
|
+
Solana: {
|
|
3246
|
+
USDC: {
|
|
3247
|
+
limit_order_fee_hundredth_pips: number;
|
|
3248
|
+
range_order_fee_hundredth_pips: number;
|
|
3249
|
+
range_order_total_fees_earned: {
|
|
3250
|
+
base: bigint;
|
|
3251
|
+
quote: bigint;
|
|
3252
|
+
};
|
|
3253
|
+
limit_order_total_fees_earned: {
|
|
3254
|
+
base: bigint;
|
|
3255
|
+
quote: bigint;
|
|
3256
|
+
};
|
|
3257
|
+
range_total_swap_inputs: {
|
|
3258
|
+
base: bigint;
|
|
3259
|
+
quote: bigint;
|
|
3260
|
+
};
|
|
3261
|
+
limit_total_swap_inputs: {
|
|
3262
|
+
base: bigint;
|
|
3263
|
+
quote: bigint;
|
|
3264
|
+
};
|
|
3265
|
+
quote_asset: {
|
|
3266
|
+
chain: "Ethereum";
|
|
3267
|
+
asset: "USDC";
|
|
3268
|
+
};
|
|
3269
|
+
};
|
|
3270
|
+
SOL: {
|
|
3271
|
+
limit_order_fee_hundredth_pips: number;
|
|
3272
|
+
range_order_fee_hundredth_pips: number;
|
|
3273
|
+
range_order_total_fees_earned: {
|
|
3274
|
+
base: bigint;
|
|
3275
|
+
quote: bigint;
|
|
3276
|
+
};
|
|
3277
|
+
limit_order_total_fees_earned: {
|
|
3278
|
+
base: bigint;
|
|
3279
|
+
quote: bigint;
|
|
3280
|
+
};
|
|
3281
|
+
range_total_swap_inputs: {
|
|
3282
|
+
base: bigint;
|
|
3283
|
+
quote: bigint;
|
|
3284
|
+
};
|
|
3285
|
+
limit_total_swap_inputs: {
|
|
3286
|
+
base: bigint;
|
|
3287
|
+
quote: bigint;
|
|
3288
|
+
};
|
|
3289
|
+
quote_asset: {
|
|
3290
|
+
chain: "Ethereum";
|
|
3291
|
+
asset: "USDC";
|
|
3292
|
+
};
|
|
3293
|
+
};
|
|
3294
|
+
};
|
|
3295
|
+
}, {
|
|
3296
|
+
Bitcoin: {
|
|
3297
|
+
BTC: {
|
|
3298
|
+
limit_order_fee_hundredth_pips: number;
|
|
3299
|
+
range_order_fee_hundredth_pips: number;
|
|
3300
|
+
range_order_total_fees_earned: {
|
|
3301
|
+
base: string;
|
|
3302
|
+
quote: string;
|
|
3303
|
+
};
|
|
3304
|
+
limit_order_total_fees_earned: {
|
|
3305
|
+
base: string;
|
|
3306
|
+
quote: string;
|
|
3307
|
+
};
|
|
3308
|
+
range_total_swap_inputs: {
|
|
3309
|
+
base: string;
|
|
3310
|
+
quote: string;
|
|
3311
|
+
};
|
|
3312
|
+
limit_total_swap_inputs: {
|
|
3313
|
+
base: string;
|
|
3314
|
+
quote: string;
|
|
3315
|
+
};
|
|
3316
|
+
quote_asset: {
|
|
3317
|
+
chain: "Ethereum";
|
|
3318
|
+
asset: "USDC";
|
|
3319
|
+
};
|
|
3320
|
+
};
|
|
3321
|
+
};
|
|
3322
|
+
Ethereum: {
|
|
3323
|
+
ETH: {
|
|
3324
|
+
limit_order_fee_hundredth_pips: number;
|
|
3325
|
+
range_order_fee_hundredth_pips: number;
|
|
3326
|
+
range_order_total_fees_earned: {
|
|
3327
|
+
base: string;
|
|
3328
|
+
quote: string;
|
|
3329
|
+
};
|
|
3330
|
+
limit_order_total_fees_earned: {
|
|
3331
|
+
base: string;
|
|
3332
|
+
quote: string;
|
|
3333
|
+
};
|
|
3334
|
+
range_total_swap_inputs: {
|
|
3335
|
+
base: string;
|
|
3336
|
+
quote: string;
|
|
3337
|
+
};
|
|
3338
|
+
limit_total_swap_inputs: {
|
|
3339
|
+
base: string;
|
|
3340
|
+
quote: string;
|
|
2647
3341
|
};
|
|
2648
3342
|
quote_asset: {
|
|
2649
3343
|
chain: "Ethereum";
|
|
2650
3344
|
asset: "USDC";
|
|
2651
3345
|
};
|
|
2652
3346
|
};
|
|
2653
|
-
|
|
2654
|
-
}, {
|
|
2655
|
-
Bitcoin: {
|
|
2656
|
-
BTC: {
|
|
3347
|
+
FLIP: {
|
|
2657
3348
|
limit_order_fee_hundredth_pips: number;
|
|
2658
3349
|
range_order_fee_hundredth_pips: number;
|
|
2659
3350
|
range_order_total_fees_earned: {
|
|
@@ -2677,9 +3368,7 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2677
3368
|
asset: "USDC";
|
|
2678
3369
|
};
|
|
2679
3370
|
};
|
|
2680
|
-
|
|
2681
|
-
Ethereum: {
|
|
2682
|
-
ETH: {
|
|
3371
|
+
USDT: {
|
|
2683
3372
|
limit_order_fee_hundredth_pips: number;
|
|
2684
3373
|
range_order_fee_hundredth_pips: number;
|
|
2685
3374
|
range_order_total_fees_earned: {
|
|
@@ -2703,7 +3392,9 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2703
3392
|
asset: "USDC";
|
|
2704
3393
|
};
|
|
2705
3394
|
};
|
|
2706
|
-
|
|
3395
|
+
};
|
|
3396
|
+
Polkadot: {
|
|
3397
|
+
DOT: {
|
|
2707
3398
|
limit_order_fee_hundredth_pips: number;
|
|
2708
3399
|
range_order_fee_hundredth_pips: number;
|
|
2709
3400
|
range_order_total_fees_earned: {
|
|
@@ -2727,7 +3418,9 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2727
3418
|
asset: "USDC";
|
|
2728
3419
|
};
|
|
2729
3420
|
};
|
|
2730
|
-
|
|
3421
|
+
};
|
|
3422
|
+
Arbitrum: {
|
|
3423
|
+
ETH: {
|
|
2731
3424
|
limit_order_fee_hundredth_pips: number;
|
|
2732
3425
|
range_order_fee_hundredth_pips: number;
|
|
2733
3426
|
range_order_total_fees_earned: {
|
|
@@ -2751,9 +3444,7 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2751
3444
|
asset: "USDC";
|
|
2752
3445
|
};
|
|
2753
3446
|
};
|
|
2754
|
-
|
|
2755
|
-
Polkadot: {
|
|
2756
|
-
DOT: {
|
|
3447
|
+
USDC: {
|
|
2757
3448
|
limit_order_fee_hundredth_pips: number;
|
|
2758
3449
|
range_order_fee_hundredth_pips: number;
|
|
2759
3450
|
range_order_total_fees_earned: {
|
|
@@ -2778,8 +3469,8 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2778
3469
|
};
|
|
2779
3470
|
};
|
|
2780
3471
|
};
|
|
2781
|
-
|
|
2782
|
-
|
|
3472
|
+
Solana?: {
|
|
3473
|
+
USDC?: {
|
|
2783
3474
|
limit_order_fee_hundredth_pips: number;
|
|
2784
3475
|
range_order_fee_hundredth_pips: number;
|
|
2785
3476
|
range_order_total_fees_earned: {
|
|
@@ -2803,7 +3494,7 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
2803
3494
|
asset: "USDC";
|
|
2804
3495
|
};
|
|
2805
3496
|
} | undefined;
|
|
2806
|
-
|
|
3497
|
+
SOL?: {
|
|
2807
3498
|
limit_order_fee_hundredth_pips: number;
|
|
2808
3499
|
range_order_fee_hundredth_pips: number;
|
|
2809
3500
|
range_order_total_fees_earned: {
|
|
@@ -3007,6 +3698,56 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
3007
3698
|
};
|
|
3008
3699
|
};
|
|
3009
3700
|
};
|
|
3701
|
+
Solana: {
|
|
3702
|
+
USDC: {
|
|
3703
|
+
limit_order_fee_hundredth_pips: number;
|
|
3704
|
+
range_order_fee_hundredth_pips: number;
|
|
3705
|
+
range_order_total_fees_earned: {
|
|
3706
|
+
base: bigint;
|
|
3707
|
+
quote: bigint;
|
|
3708
|
+
};
|
|
3709
|
+
limit_order_total_fees_earned: {
|
|
3710
|
+
base: bigint;
|
|
3711
|
+
quote: bigint;
|
|
3712
|
+
};
|
|
3713
|
+
range_total_swap_inputs: {
|
|
3714
|
+
base: bigint;
|
|
3715
|
+
quote: bigint;
|
|
3716
|
+
};
|
|
3717
|
+
limit_total_swap_inputs: {
|
|
3718
|
+
base: bigint;
|
|
3719
|
+
quote: bigint;
|
|
3720
|
+
};
|
|
3721
|
+
quote_asset: {
|
|
3722
|
+
chain: "Ethereum";
|
|
3723
|
+
asset: "USDC";
|
|
3724
|
+
};
|
|
3725
|
+
};
|
|
3726
|
+
SOL: {
|
|
3727
|
+
limit_order_fee_hundredth_pips: number;
|
|
3728
|
+
range_order_fee_hundredth_pips: number;
|
|
3729
|
+
range_order_total_fees_earned: {
|
|
3730
|
+
base: bigint;
|
|
3731
|
+
quote: bigint;
|
|
3732
|
+
};
|
|
3733
|
+
limit_order_total_fees_earned: {
|
|
3734
|
+
base: bigint;
|
|
3735
|
+
quote: bigint;
|
|
3736
|
+
};
|
|
3737
|
+
range_total_swap_inputs: {
|
|
3738
|
+
base: bigint;
|
|
3739
|
+
quote: bigint;
|
|
3740
|
+
};
|
|
3741
|
+
limit_total_swap_inputs: {
|
|
3742
|
+
base: bigint;
|
|
3743
|
+
quote: bigint;
|
|
3744
|
+
};
|
|
3745
|
+
quote_asset: {
|
|
3746
|
+
chain: "Ethereum";
|
|
3747
|
+
asset: "USDC";
|
|
3748
|
+
};
|
|
3749
|
+
};
|
|
3750
|
+
};
|
|
3010
3751
|
};
|
|
3011
3752
|
}, {
|
|
3012
3753
|
fees: {
|
|
@@ -3136,8 +3877,8 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
3136
3877
|
};
|
|
3137
3878
|
};
|
|
3138
3879
|
};
|
|
3139
|
-
Arbitrum
|
|
3140
|
-
ETH
|
|
3880
|
+
Arbitrum: {
|
|
3881
|
+
ETH: {
|
|
3141
3882
|
limit_order_fee_hundredth_pips: number;
|
|
3142
3883
|
range_order_fee_hundredth_pips: number;
|
|
3143
3884
|
range_order_total_fees_earned: {
|
|
@@ -3160,7 +3901,33 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
3160
3901
|
chain: "Ethereum";
|
|
3161
3902
|
asset: "USDC";
|
|
3162
3903
|
};
|
|
3163
|
-
}
|
|
3904
|
+
};
|
|
3905
|
+
USDC: {
|
|
3906
|
+
limit_order_fee_hundredth_pips: number;
|
|
3907
|
+
range_order_fee_hundredth_pips: number;
|
|
3908
|
+
range_order_total_fees_earned: {
|
|
3909
|
+
base: string;
|
|
3910
|
+
quote: string;
|
|
3911
|
+
};
|
|
3912
|
+
limit_order_total_fees_earned: {
|
|
3913
|
+
base: string;
|
|
3914
|
+
quote: string;
|
|
3915
|
+
};
|
|
3916
|
+
range_total_swap_inputs: {
|
|
3917
|
+
base: string;
|
|
3918
|
+
quote: string;
|
|
3919
|
+
};
|
|
3920
|
+
limit_total_swap_inputs: {
|
|
3921
|
+
base: string;
|
|
3922
|
+
quote: string;
|
|
3923
|
+
};
|
|
3924
|
+
quote_asset: {
|
|
3925
|
+
chain: "Ethereum";
|
|
3926
|
+
asset: "USDC";
|
|
3927
|
+
};
|
|
3928
|
+
};
|
|
3929
|
+
};
|
|
3930
|
+
Solana?: {
|
|
3164
3931
|
USDC?: {
|
|
3165
3932
|
limit_order_fee_hundredth_pips: number;
|
|
3166
3933
|
range_order_fee_hundredth_pips: number;
|
|
@@ -3185,6 +3952,30 @@ declare const cfPoolsEnvironment: z.ZodObject<{
|
|
|
3185
3952
|
asset: "USDC";
|
|
3186
3953
|
};
|
|
3187
3954
|
} | undefined;
|
|
3955
|
+
SOL?: {
|
|
3956
|
+
limit_order_fee_hundredth_pips: number;
|
|
3957
|
+
range_order_fee_hundredth_pips: number;
|
|
3958
|
+
range_order_total_fees_earned: {
|
|
3959
|
+
base: string;
|
|
3960
|
+
quote: string;
|
|
3961
|
+
};
|
|
3962
|
+
limit_order_total_fees_earned: {
|
|
3963
|
+
base: string;
|
|
3964
|
+
quote: string;
|
|
3965
|
+
};
|
|
3966
|
+
range_total_swap_inputs: {
|
|
3967
|
+
base: string;
|
|
3968
|
+
quote: string;
|
|
3969
|
+
};
|
|
3970
|
+
limit_total_swap_inputs: {
|
|
3971
|
+
base: string;
|
|
3972
|
+
quote: string;
|
|
3973
|
+
};
|
|
3974
|
+
quote_asset: {
|
|
3975
|
+
chain: "Ethereum";
|
|
3976
|
+
asset: "USDC";
|
|
3977
|
+
};
|
|
3978
|
+
} | undefined;
|
|
3188
3979
|
} | undefined;
|
|
3189
3980
|
};
|
|
3190
3981
|
}>;
|
|
@@ -3221,15 +4012,25 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3221
4012
|
}, {
|
|
3222
4013
|
DOT: string | number;
|
|
3223
4014
|
}>;
|
|
3224
|
-
Arbitrum: z.
|
|
3225
|
-
ETH: z.
|
|
3226
|
-
USDC: z.
|
|
4015
|
+
Arbitrum: z.ZodObject<{
|
|
4016
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
4017
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
3227
4018
|
}, "strip", z.ZodTypeAny, {
|
|
3228
4019
|
ETH: bigint;
|
|
3229
4020
|
USDC: bigint;
|
|
3230
4021
|
}, {
|
|
3231
|
-
ETH
|
|
4022
|
+
ETH: string | number;
|
|
4023
|
+
USDC: string | number;
|
|
4024
|
+
}>;
|
|
4025
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
4026
|
+
SOL: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
4027
|
+
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
4028
|
+
}, "strip", z.ZodTypeAny, {
|
|
4029
|
+
USDC: bigint;
|
|
4030
|
+
SOL: bigint;
|
|
4031
|
+
}, {
|
|
3232
4032
|
USDC?: string | number | undefined;
|
|
4033
|
+
SOL?: string | number | undefined;
|
|
3233
4034
|
}>>;
|
|
3234
4035
|
}, "strip", z.ZodTypeAny, {
|
|
3235
4036
|
Bitcoin: {
|
|
@@ -3248,6 +4049,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3248
4049
|
ETH: bigint;
|
|
3249
4050
|
USDC: bigint;
|
|
3250
4051
|
};
|
|
4052
|
+
Solana: {
|
|
4053
|
+
USDC: bigint;
|
|
4054
|
+
SOL: bigint;
|
|
4055
|
+
};
|
|
3251
4056
|
}, {
|
|
3252
4057
|
Bitcoin: {
|
|
3253
4058
|
BTC: string | number;
|
|
@@ -3261,9 +4066,13 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3261
4066
|
Polkadot: {
|
|
3262
4067
|
DOT: string | number;
|
|
3263
4068
|
};
|
|
3264
|
-
Arbitrum
|
|
3265
|
-
ETH
|
|
4069
|
+
Arbitrum: {
|
|
4070
|
+
ETH: string | number;
|
|
4071
|
+
USDC: string | number;
|
|
4072
|
+
};
|
|
4073
|
+
Solana?: {
|
|
3266
4074
|
USDC?: string | number | undefined;
|
|
4075
|
+
SOL?: string | number | undefined;
|
|
3267
4076
|
} | undefined;
|
|
3268
4077
|
}>;
|
|
3269
4078
|
ingress_fees: z.ZodObject<{
|
|
@@ -3297,15 +4106,25 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3297
4106
|
}, {
|
|
3298
4107
|
DOT: string | number | null;
|
|
3299
4108
|
}>;
|
|
3300
|
-
Arbitrum: z.
|
|
3301
|
-
ETH: z.
|
|
3302
|
-
USDC: z.
|
|
4109
|
+
Arbitrum: z.ZodObject<{
|
|
4110
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
4111
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3303
4112
|
}, "strip", z.ZodTypeAny, {
|
|
3304
4113
|
ETH: bigint | null;
|
|
3305
4114
|
USDC: bigint | null;
|
|
3306
4115
|
}, {
|
|
3307
|
-
ETH
|
|
4116
|
+
ETH: string | number | null;
|
|
4117
|
+
USDC: string | number | null;
|
|
4118
|
+
}>;
|
|
4119
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
4120
|
+
SOL: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
4121
|
+
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
4122
|
+
}, "strip", z.ZodTypeAny, {
|
|
4123
|
+
USDC: bigint | null;
|
|
4124
|
+
SOL: bigint | null;
|
|
4125
|
+
}, {
|
|
3308
4126
|
USDC?: string | number | null | undefined;
|
|
4127
|
+
SOL?: string | number | null | undefined;
|
|
3309
4128
|
}>>;
|
|
3310
4129
|
}, "strip", z.ZodTypeAny, {
|
|
3311
4130
|
Bitcoin: {
|
|
@@ -3324,6 +4143,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3324
4143
|
ETH: bigint | null;
|
|
3325
4144
|
USDC: bigint | null;
|
|
3326
4145
|
};
|
|
4146
|
+
Solana: {
|
|
4147
|
+
USDC: bigint | null;
|
|
4148
|
+
SOL: bigint | null;
|
|
4149
|
+
};
|
|
3327
4150
|
}, {
|
|
3328
4151
|
Bitcoin: {
|
|
3329
4152
|
BTC: string | number | null;
|
|
@@ -3337,9 +4160,13 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3337
4160
|
Polkadot: {
|
|
3338
4161
|
DOT: string | number | null;
|
|
3339
4162
|
};
|
|
3340
|
-
Arbitrum
|
|
3341
|
-
ETH
|
|
4163
|
+
Arbitrum: {
|
|
4164
|
+
ETH: string | number | null;
|
|
4165
|
+
USDC: string | number | null;
|
|
4166
|
+
};
|
|
4167
|
+
Solana?: {
|
|
3342
4168
|
USDC?: string | number | null | undefined;
|
|
4169
|
+
SOL?: string | number | null | undefined;
|
|
3343
4170
|
} | undefined;
|
|
3344
4171
|
}>;
|
|
3345
4172
|
egress_fees: z.ZodObject<{
|
|
@@ -3373,15 +4200,25 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3373
4200
|
}, {
|
|
3374
4201
|
DOT: string | number | null;
|
|
3375
4202
|
}>;
|
|
3376
|
-
Arbitrum: z.
|
|
3377
|
-
ETH: z.
|
|
3378
|
-
USDC: z.
|
|
4203
|
+
Arbitrum: z.ZodObject<{
|
|
4204
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
4205
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3379
4206
|
}, "strip", z.ZodTypeAny, {
|
|
3380
4207
|
ETH: bigint | null;
|
|
3381
4208
|
USDC: bigint | null;
|
|
3382
4209
|
}, {
|
|
3383
|
-
ETH
|
|
4210
|
+
ETH: string | number | null;
|
|
4211
|
+
USDC: string | number | null;
|
|
4212
|
+
}>;
|
|
4213
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
4214
|
+
SOL: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
4215
|
+
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
4216
|
+
}, "strip", z.ZodTypeAny, {
|
|
4217
|
+
USDC: bigint | null;
|
|
4218
|
+
SOL: bigint | null;
|
|
4219
|
+
}, {
|
|
3384
4220
|
USDC?: string | number | null | undefined;
|
|
4221
|
+
SOL?: string | number | null | undefined;
|
|
3385
4222
|
}>>;
|
|
3386
4223
|
}, "strip", z.ZodTypeAny, {
|
|
3387
4224
|
Bitcoin: {
|
|
@@ -3400,6 +4237,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3400
4237
|
ETH: bigint | null;
|
|
3401
4238
|
USDC: bigint | null;
|
|
3402
4239
|
};
|
|
4240
|
+
Solana: {
|
|
4241
|
+
USDC: bigint | null;
|
|
4242
|
+
SOL: bigint | null;
|
|
4243
|
+
};
|
|
3403
4244
|
}, {
|
|
3404
4245
|
Bitcoin: {
|
|
3405
4246
|
BTC: string | number | null;
|
|
@@ -3413,26 +4254,33 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3413
4254
|
Polkadot: {
|
|
3414
4255
|
DOT: string | number | null;
|
|
3415
4256
|
};
|
|
3416
|
-
Arbitrum
|
|
3417
|
-
ETH
|
|
4257
|
+
Arbitrum: {
|
|
4258
|
+
ETH: string | number | null;
|
|
4259
|
+
USDC: string | number | null;
|
|
4260
|
+
};
|
|
4261
|
+
Solana?: {
|
|
3418
4262
|
USDC?: string | number | null | undefined;
|
|
4263
|
+
SOL?: string | number | null | undefined;
|
|
3419
4264
|
} | undefined;
|
|
3420
4265
|
}>;
|
|
3421
4266
|
witness_safety_margins: z.ZodObject<{
|
|
3422
4267
|
Bitcoin: z.ZodNullable<z.ZodNumber>;
|
|
3423
4268
|
Ethereum: z.ZodNullable<z.ZodNumber>;
|
|
3424
4269
|
Polkadot: z.ZodNullable<z.ZodNumber>;
|
|
3425
|
-
Arbitrum: z.
|
|
4270
|
+
Arbitrum: z.ZodNullable<z.ZodNumber>;
|
|
4271
|
+
Solana: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
3426
4272
|
}, "strip", z.ZodTypeAny, {
|
|
3427
4273
|
Bitcoin: number | null;
|
|
3428
4274
|
Ethereum: number | null;
|
|
3429
4275
|
Polkadot: number | null;
|
|
3430
4276
|
Arbitrum: number | null;
|
|
4277
|
+
Solana: number | null;
|
|
3431
4278
|
}, {
|
|
3432
4279
|
Bitcoin: number | null;
|
|
3433
4280
|
Ethereum: number | null;
|
|
3434
4281
|
Polkadot: number | null;
|
|
3435
|
-
Arbitrum
|
|
4282
|
+
Arbitrum: number | null;
|
|
4283
|
+
Solana?: number | null | undefined;
|
|
3436
4284
|
}>;
|
|
3437
4285
|
egress_dust_limits: z.ZodObject<{
|
|
3438
4286
|
Bitcoin: z.ZodObject<{
|
|
@@ -3465,15 +4313,25 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3465
4313
|
}, {
|
|
3466
4314
|
DOT: string | number;
|
|
3467
4315
|
}>;
|
|
3468
|
-
Arbitrum: z.
|
|
3469
|
-
ETH: z.
|
|
3470
|
-
USDC: z.
|
|
4316
|
+
Arbitrum: z.ZodObject<{
|
|
4317
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
4318
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
3471
4319
|
}, "strip", z.ZodTypeAny, {
|
|
3472
4320
|
ETH: bigint;
|
|
3473
4321
|
USDC: bigint;
|
|
3474
4322
|
}, {
|
|
3475
|
-
ETH
|
|
4323
|
+
ETH: string | number;
|
|
4324
|
+
USDC: string | number;
|
|
4325
|
+
}>;
|
|
4326
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
4327
|
+
SOL: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
4328
|
+
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
4329
|
+
}, "strip", z.ZodTypeAny, {
|
|
4330
|
+
USDC: bigint;
|
|
4331
|
+
SOL: bigint;
|
|
4332
|
+
}, {
|
|
3476
4333
|
USDC?: string | number | undefined;
|
|
4334
|
+
SOL?: string | number | undefined;
|
|
3477
4335
|
}>>;
|
|
3478
4336
|
}, "strip", z.ZodTypeAny, {
|
|
3479
4337
|
Bitcoin: {
|
|
@@ -3492,6 +4350,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3492
4350
|
ETH: bigint;
|
|
3493
4351
|
USDC: bigint;
|
|
3494
4352
|
};
|
|
4353
|
+
Solana: {
|
|
4354
|
+
USDC: bigint;
|
|
4355
|
+
SOL: bigint;
|
|
4356
|
+
};
|
|
3495
4357
|
}, {
|
|
3496
4358
|
Bitcoin: {
|
|
3497
4359
|
BTC: string | number;
|
|
@@ -3505,42 +4367,52 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3505
4367
|
Polkadot: {
|
|
3506
4368
|
DOT: string | number;
|
|
3507
4369
|
};
|
|
3508
|
-
Arbitrum
|
|
3509
|
-
ETH
|
|
4370
|
+
Arbitrum: {
|
|
4371
|
+
ETH: string | number;
|
|
4372
|
+
USDC: string | number;
|
|
4373
|
+
};
|
|
4374
|
+
Solana?: {
|
|
3510
4375
|
USDC?: string | number | undefined;
|
|
4376
|
+
SOL?: string | number | undefined;
|
|
3511
4377
|
} | undefined;
|
|
3512
4378
|
}>;
|
|
3513
4379
|
channel_opening_fees: z.ZodObject<{
|
|
3514
4380
|
Bitcoin: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
3515
4381
|
Ethereum: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
3516
4382
|
Polkadot: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
3517
|
-
Arbitrum: z.
|
|
4383
|
+
Arbitrum: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
4384
|
+
Solana: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3518
4385
|
}, "strip", z.ZodTypeAny, {
|
|
3519
4386
|
Bitcoin: bigint;
|
|
3520
4387
|
Ethereum: bigint;
|
|
3521
4388
|
Polkadot: bigint;
|
|
3522
4389
|
Arbitrum: bigint;
|
|
4390
|
+
Solana: bigint;
|
|
3523
4391
|
}, {
|
|
3524
4392
|
Bitcoin: string | number;
|
|
3525
4393
|
Ethereum: string | number;
|
|
3526
4394
|
Polkadot: string | number;
|
|
3527
|
-
Arbitrum
|
|
4395
|
+
Arbitrum: string | number;
|
|
4396
|
+
Solana?: string | number | undefined;
|
|
3528
4397
|
}>;
|
|
3529
4398
|
max_swap_retry_duration_blocks: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
3530
4399
|
Bitcoin: z.ZodNumber;
|
|
3531
4400
|
Ethereum: z.ZodNumber;
|
|
3532
4401
|
Polkadot: z.ZodNumber;
|
|
3533
|
-
Arbitrum: z.
|
|
4402
|
+
Arbitrum: z.ZodNumber;
|
|
4403
|
+
Solana: z.ZodDefault<z.ZodNumber>;
|
|
3534
4404
|
}, "strip", z.ZodTypeAny, {
|
|
3535
4405
|
Bitcoin: number;
|
|
3536
4406
|
Ethereum: number;
|
|
3537
4407
|
Polkadot: number;
|
|
3538
4408
|
Arbitrum: number;
|
|
4409
|
+
Solana: number;
|
|
3539
4410
|
}, {
|
|
3540
4411
|
Bitcoin: number;
|
|
3541
4412
|
Ethereum: number;
|
|
3542
4413
|
Polkadot: number;
|
|
3543
|
-
Arbitrum
|
|
4414
|
+
Arbitrum: number;
|
|
4415
|
+
Solana?: number | undefined;
|
|
3544
4416
|
}>>>;
|
|
3545
4417
|
}, "strip", z.ZodTypeAny, {
|
|
3546
4418
|
minimum_deposit_amounts: {
|
|
@@ -3560,6 +4432,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3560
4432
|
ETH: bigint;
|
|
3561
4433
|
USDC: bigint;
|
|
3562
4434
|
};
|
|
4435
|
+
Solana: {
|
|
4436
|
+
USDC: bigint;
|
|
4437
|
+
SOL: bigint;
|
|
4438
|
+
};
|
|
3563
4439
|
};
|
|
3564
4440
|
ingress_fees: {
|
|
3565
4441
|
Bitcoin: {
|
|
@@ -3578,6 +4454,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3578
4454
|
ETH: bigint | null;
|
|
3579
4455
|
USDC: bigint | null;
|
|
3580
4456
|
};
|
|
4457
|
+
Solana: {
|
|
4458
|
+
USDC: bigint | null;
|
|
4459
|
+
SOL: bigint | null;
|
|
4460
|
+
};
|
|
3581
4461
|
};
|
|
3582
4462
|
egress_fees: {
|
|
3583
4463
|
Bitcoin: {
|
|
@@ -3596,12 +4476,17 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3596
4476
|
ETH: bigint | null;
|
|
3597
4477
|
USDC: bigint | null;
|
|
3598
4478
|
};
|
|
4479
|
+
Solana: {
|
|
4480
|
+
USDC: bigint | null;
|
|
4481
|
+
SOL: bigint | null;
|
|
4482
|
+
};
|
|
3599
4483
|
};
|
|
3600
4484
|
witness_safety_margins: {
|
|
3601
4485
|
Bitcoin: number | null;
|
|
3602
4486
|
Ethereum: number | null;
|
|
3603
4487
|
Polkadot: number | null;
|
|
3604
4488
|
Arbitrum: number | null;
|
|
4489
|
+
Solana: number | null;
|
|
3605
4490
|
};
|
|
3606
4491
|
egress_dust_limits: {
|
|
3607
4492
|
Bitcoin: {
|
|
@@ -3620,18 +4505,24 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3620
4505
|
ETH: bigint;
|
|
3621
4506
|
USDC: bigint;
|
|
3622
4507
|
};
|
|
4508
|
+
Solana: {
|
|
4509
|
+
USDC: bigint;
|
|
4510
|
+
SOL: bigint;
|
|
4511
|
+
};
|
|
3623
4512
|
};
|
|
3624
4513
|
channel_opening_fees: {
|
|
3625
4514
|
Bitcoin: bigint;
|
|
3626
4515
|
Ethereum: bigint;
|
|
3627
4516
|
Polkadot: bigint;
|
|
3628
4517
|
Arbitrum: bigint;
|
|
4518
|
+
Solana: bigint;
|
|
3629
4519
|
};
|
|
3630
4520
|
max_swap_retry_duration_blocks: {
|
|
3631
4521
|
Bitcoin: number;
|
|
3632
4522
|
Ethereum: number;
|
|
3633
4523
|
Polkadot: number;
|
|
3634
4524
|
Arbitrum: number;
|
|
4525
|
+
Solana: number;
|
|
3635
4526
|
};
|
|
3636
4527
|
}, {
|
|
3637
4528
|
minimum_deposit_amounts: {
|
|
@@ -3647,9 +4538,13 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3647
4538
|
Polkadot: {
|
|
3648
4539
|
DOT: string | number;
|
|
3649
4540
|
};
|
|
3650
|
-
Arbitrum
|
|
3651
|
-
ETH
|
|
4541
|
+
Arbitrum: {
|
|
4542
|
+
ETH: string | number;
|
|
4543
|
+
USDC: string | number;
|
|
4544
|
+
};
|
|
4545
|
+
Solana?: {
|
|
3652
4546
|
USDC?: string | number | undefined;
|
|
4547
|
+
SOL?: string | number | undefined;
|
|
3653
4548
|
} | undefined;
|
|
3654
4549
|
};
|
|
3655
4550
|
ingress_fees: {
|
|
@@ -3665,9 +4560,13 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3665
4560
|
Polkadot: {
|
|
3666
4561
|
DOT: string | number | null;
|
|
3667
4562
|
};
|
|
3668
|
-
Arbitrum
|
|
3669
|
-
ETH
|
|
4563
|
+
Arbitrum: {
|
|
4564
|
+
ETH: string | number | null;
|
|
4565
|
+
USDC: string | number | null;
|
|
4566
|
+
};
|
|
4567
|
+
Solana?: {
|
|
3670
4568
|
USDC?: string | number | null | undefined;
|
|
4569
|
+
SOL?: string | number | null | undefined;
|
|
3671
4570
|
} | undefined;
|
|
3672
4571
|
};
|
|
3673
4572
|
egress_fees: {
|
|
@@ -3683,16 +4582,21 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3683
4582
|
Polkadot: {
|
|
3684
4583
|
DOT: string | number | null;
|
|
3685
4584
|
};
|
|
3686
|
-
Arbitrum
|
|
3687
|
-
ETH
|
|
4585
|
+
Arbitrum: {
|
|
4586
|
+
ETH: string | number | null;
|
|
4587
|
+
USDC: string | number | null;
|
|
4588
|
+
};
|
|
4589
|
+
Solana?: {
|
|
3688
4590
|
USDC?: string | number | null | undefined;
|
|
4591
|
+
SOL?: string | number | null | undefined;
|
|
3689
4592
|
} | undefined;
|
|
3690
4593
|
};
|
|
3691
4594
|
witness_safety_margins: {
|
|
3692
4595
|
Bitcoin: number | null;
|
|
3693
4596
|
Ethereum: number | null;
|
|
3694
4597
|
Polkadot: number | null;
|
|
3695
|
-
Arbitrum
|
|
4598
|
+
Arbitrum: number | null;
|
|
4599
|
+
Solana?: number | null | undefined;
|
|
3696
4600
|
};
|
|
3697
4601
|
egress_dust_limits: {
|
|
3698
4602
|
Bitcoin: {
|
|
@@ -3707,22 +4611,28 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3707
4611
|
Polkadot: {
|
|
3708
4612
|
DOT: string | number;
|
|
3709
4613
|
};
|
|
3710
|
-
Arbitrum
|
|
3711
|
-
ETH
|
|
4614
|
+
Arbitrum: {
|
|
4615
|
+
ETH: string | number;
|
|
4616
|
+
USDC: string | number;
|
|
4617
|
+
};
|
|
4618
|
+
Solana?: {
|
|
3712
4619
|
USDC?: string | number | undefined;
|
|
4620
|
+
SOL?: string | number | undefined;
|
|
3713
4621
|
} | undefined;
|
|
3714
4622
|
};
|
|
3715
4623
|
channel_opening_fees: {
|
|
3716
4624
|
Bitcoin: string | number;
|
|
3717
4625
|
Ethereum: string | number;
|
|
3718
4626
|
Polkadot: string | number;
|
|
3719
|
-
Arbitrum
|
|
4627
|
+
Arbitrum: string | number;
|
|
4628
|
+
Solana?: string | number | undefined;
|
|
3720
4629
|
};
|
|
3721
4630
|
max_swap_retry_duration_blocks?: {
|
|
3722
4631
|
Bitcoin: number;
|
|
3723
4632
|
Ethereum: number;
|
|
3724
4633
|
Polkadot: number;
|
|
3725
|
-
Arbitrum
|
|
4634
|
+
Arbitrum: number;
|
|
4635
|
+
Solana?: number | undefined;
|
|
3726
4636
|
} | undefined;
|
|
3727
4637
|
}>, Rename<{
|
|
3728
4638
|
minimum_deposit_amounts: {
|
|
@@ -3742,6 +4652,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3742
4652
|
ETH: bigint;
|
|
3743
4653
|
USDC: bigint;
|
|
3744
4654
|
};
|
|
4655
|
+
Solana: {
|
|
4656
|
+
USDC: bigint;
|
|
4657
|
+
SOL: bigint;
|
|
4658
|
+
};
|
|
3745
4659
|
};
|
|
3746
4660
|
ingress_fees: {
|
|
3747
4661
|
Bitcoin: {
|
|
@@ -3760,6 +4674,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3760
4674
|
ETH: bigint | null;
|
|
3761
4675
|
USDC: bigint | null;
|
|
3762
4676
|
};
|
|
4677
|
+
Solana: {
|
|
4678
|
+
USDC: bigint | null;
|
|
4679
|
+
SOL: bigint | null;
|
|
4680
|
+
};
|
|
3763
4681
|
};
|
|
3764
4682
|
egress_fees: {
|
|
3765
4683
|
Bitcoin: {
|
|
@@ -3778,12 +4696,17 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3778
4696
|
ETH: bigint | null;
|
|
3779
4697
|
USDC: bigint | null;
|
|
3780
4698
|
};
|
|
4699
|
+
Solana: {
|
|
4700
|
+
USDC: bigint | null;
|
|
4701
|
+
SOL: bigint | null;
|
|
4702
|
+
};
|
|
3781
4703
|
};
|
|
3782
4704
|
witness_safety_margins: {
|
|
3783
4705
|
Bitcoin: number | null;
|
|
3784
4706
|
Ethereum: number | null;
|
|
3785
4707
|
Polkadot: number | null;
|
|
3786
4708
|
Arbitrum: number | null;
|
|
4709
|
+
Solana: number | null;
|
|
3787
4710
|
};
|
|
3788
4711
|
egress_dust_limits: {
|
|
3789
4712
|
Bitcoin: {
|
|
@@ -3802,18 +4725,24 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3802
4725
|
ETH: bigint;
|
|
3803
4726
|
USDC: bigint;
|
|
3804
4727
|
};
|
|
4728
|
+
Solana: {
|
|
4729
|
+
USDC: bigint;
|
|
4730
|
+
SOL: bigint;
|
|
4731
|
+
};
|
|
3805
4732
|
};
|
|
3806
4733
|
channel_opening_fees: {
|
|
3807
4734
|
Bitcoin: bigint;
|
|
3808
4735
|
Ethereum: bigint;
|
|
3809
4736
|
Polkadot: bigint;
|
|
3810
4737
|
Arbitrum: bigint;
|
|
4738
|
+
Solana: bigint;
|
|
3811
4739
|
};
|
|
3812
4740
|
max_swap_retry_duration_blocks: {
|
|
3813
4741
|
Bitcoin: number;
|
|
3814
4742
|
Ethereum: number;
|
|
3815
4743
|
Polkadot: number;
|
|
3816
4744
|
Arbitrum: number;
|
|
4745
|
+
Solana: number;
|
|
3817
4746
|
};
|
|
3818
4747
|
}, {
|
|
3819
4748
|
readonly egress_dust_limits: "minimum_egress_amounts";
|
|
@@ -3831,9 +4760,13 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3831
4760
|
Polkadot: {
|
|
3832
4761
|
DOT: string | number;
|
|
3833
4762
|
};
|
|
3834
|
-
Arbitrum
|
|
3835
|
-
ETH
|
|
4763
|
+
Arbitrum: {
|
|
4764
|
+
ETH: string | number;
|
|
4765
|
+
USDC: string | number;
|
|
4766
|
+
};
|
|
4767
|
+
Solana?: {
|
|
3836
4768
|
USDC?: string | number | undefined;
|
|
4769
|
+
SOL?: string | number | undefined;
|
|
3837
4770
|
} | undefined;
|
|
3838
4771
|
};
|
|
3839
4772
|
ingress_fees: {
|
|
@@ -3849,9 +4782,13 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3849
4782
|
Polkadot: {
|
|
3850
4783
|
DOT: string | number | null;
|
|
3851
4784
|
};
|
|
3852
|
-
Arbitrum
|
|
3853
|
-
ETH
|
|
4785
|
+
Arbitrum: {
|
|
4786
|
+
ETH: string | number | null;
|
|
4787
|
+
USDC: string | number | null;
|
|
4788
|
+
};
|
|
4789
|
+
Solana?: {
|
|
3854
4790
|
USDC?: string | number | null | undefined;
|
|
4791
|
+
SOL?: string | number | null | undefined;
|
|
3855
4792
|
} | undefined;
|
|
3856
4793
|
};
|
|
3857
4794
|
egress_fees: {
|
|
@@ -3867,16 +4804,21 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3867
4804
|
Polkadot: {
|
|
3868
4805
|
DOT: string | number | null;
|
|
3869
4806
|
};
|
|
3870
|
-
Arbitrum
|
|
3871
|
-
ETH
|
|
4807
|
+
Arbitrum: {
|
|
4808
|
+
ETH: string | number | null;
|
|
4809
|
+
USDC: string | number | null;
|
|
4810
|
+
};
|
|
4811
|
+
Solana?: {
|
|
3872
4812
|
USDC?: string | number | null | undefined;
|
|
4813
|
+
SOL?: string | number | null | undefined;
|
|
3873
4814
|
} | undefined;
|
|
3874
4815
|
};
|
|
3875
4816
|
witness_safety_margins: {
|
|
3876
4817
|
Bitcoin: number | null;
|
|
3877
4818
|
Ethereum: number | null;
|
|
3878
4819
|
Polkadot: number | null;
|
|
3879
|
-
Arbitrum
|
|
4820
|
+
Arbitrum: number | null;
|
|
4821
|
+
Solana?: number | null | undefined;
|
|
3880
4822
|
};
|
|
3881
4823
|
egress_dust_limits: {
|
|
3882
4824
|
Bitcoin: {
|
|
@@ -3891,22 +4833,28 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3891
4833
|
Polkadot: {
|
|
3892
4834
|
DOT: string | number;
|
|
3893
4835
|
};
|
|
3894
|
-
Arbitrum
|
|
3895
|
-
ETH
|
|
4836
|
+
Arbitrum: {
|
|
4837
|
+
ETH: string | number;
|
|
4838
|
+
USDC: string | number;
|
|
4839
|
+
};
|
|
4840
|
+
Solana?: {
|
|
3896
4841
|
USDC?: string | number | undefined;
|
|
4842
|
+
SOL?: string | number | undefined;
|
|
3897
4843
|
} | undefined;
|
|
3898
4844
|
};
|
|
3899
4845
|
channel_opening_fees: {
|
|
3900
4846
|
Bitcoin: string | number;
|
|
3901
4847
|
Ethereum: string | number;
|
|
3902
4848
|
Polkadot: string | number;
|
|
3903
|
-
Arbitrum
|
|
4849
|
+
Arbitrum: string | number;
|
|
4850
|
+
Solana?: string | number | undefined;
|
|
3904
4851
|
};
|
|
3905
4852
|
max_swap_retry_duration_blocks?: {
|
|
3906
4853
|
Bitcoin: number;
|
|
3907
4854
|
Ethereum: number;
|
|
3908
4855
|
Polkadot: number;
|
|
3909
|
-
Arbitrum
|
|
4856
|
+
Arbitrum: number;
|
|
4857
|
+
Solana?: number | undefined;
|
|
3910
4858
|
} | undefined;
|
|
3911
4859
|
}>;
|
|
3912
4860
|
swapping: z.ZodObject<{
|
|
@@ -3941,15 +4889,25 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3941
4889
|
}, {
|
|
3942
4890
|
DOT: string | number | null;
|
|
3943
4891
|
}>;
|
|
3944
|
-
Arbitrum: z.
|
|
3945
|
-
ETH: z.
|
|
4892
|
+
Arbitrum: z.ZodObject<{
|
|
4893
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
4894
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
4895
|
+
}, "strip", z.ZodTypeAny, {
|
|
4896
|
+
ETH: bigint | null;
|
|
4897
|
+
USDC: bigint | null;
|
|
4898
|
+
}, {
|
|
4899
|
+
ETH: string | number | null;
|
|
4900
|
+
USDC: string | number | null;
|
|
4901
|
+
}>;
|
|
4902
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
4903
|
+
SOL: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
3946
4904
|
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
3947
4905
|
}, "strip", z.ZodTypeAny, {
|
|
3948
|
-
ETH: bigint | null;
|
|
3949
4906
|
USDC: bigint | null;
|
|
4907
|
+
SOL: bigint | null;
|
|
3950
4908
|
}, {
|
|
3951
|
-
ETH?: string | number | null | undefined;
|
|
3952
4909
|
USDC?: string | number | null | undefined;
|
|
4910
|
+
SOL?: string | number | null | undefined;
|
|
3953
4911
|
}>>;
|
|
3954
4912
|
}, "strip", z.ZodTypeAny, {
|
|
3955
4913
|
Bitcoin: {
|
|
@@ -3968,6 +4926,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3968
4926
|
ETH: bigint | null;
|
|
3969
4927
|
USDC: bigint | null;
|
|
3970
4928
|
};
|
|
4929
|
+
Solana: {
|
|
4930
|
+
USDC: bigint | null;
|
|
4931
|
+
SOL: bigint | null;
|
|
4932
|
+
};
|
|
3971
4933
|
}, {
|
|
3972
4934
|
Bitcoin: {
|
|
3973
4935
|
BTC: string | number | null;
|
|
@@ -3981,9 +4943,13 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
3981
4943
|
Polkadot: {
|
|
3982
4944
|
DOT: string | number | null;
|
|
3983
4945
|
};
|
|
3984
|
-
Arbitrum
|
|
3985
|
-
ETH
|
|
4946
|
+
Arbitrum: {
|
|
4947
|
+
ETH: string | number | null;
|
|
4948
|
+
USDC: string | number | null;
|
|
4949
|
+
};
|
|
4950
|
+
Solana?: {
|
|
3986
4951
|
USDC?: string | number | null | undefined;
|
|
4952
|
+
SOL?: string | number | null | undefined;
|
|
3987
4953
|
} | undefined;
|
|
3988
4954
|
}>;
|
|
3989
4955
|
network_fee_hundredth_pips: z.ZodNumber;
|
|
@@ -4005,6 +4971,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
4005
4971
|
ETH: bigint | null;
|
|
4006
4972
|
USDC: bigint | null;
|
|
4007
4973
|
};
|
|
4974
|
+
Solana: {
|
|
4975
|
+
USDC: bigint | null;
|
|
4976
|
+
SOL: bigint | null;
|
|
4977
|
+
};
|
|
4008
4978
|
};
|
|
4009
4979
|
network_fee_hundredth_pips: number;
|
|
4010
4980
|
}, {
|
|
@@ -4021,9 +4991,13 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
4021
4991
|
Polkadot: {
|
|
4022
4992
|
DOT: string | number | null;
|
|
4023
4993
|
};
|
|
4024
|
-
Arbitrum
|
|
4025
|
-
ETH
|
|
4994
|
+
Arbitrum: {
|
|
4995
|
+
ETH: string | number | null;
|
|
4996
|
+
USDC: string | number | null;
|
|
4997
|
+
};
|
|
4998
|
+
Solana?: {
|
|
4026
4999
|
USDC?: string | number | null | undefined;
|
|
5000
|
+
SOL?: string | number | null | undefined;
|
|
4027
5001
|
} | undefined;
|
|
4028
5002
|
};
|
|
4029
5003
|
network_fee_hundredth_pips: number;
|
|
@@ -4354,22 +5328,268 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
4354
5328
|
quote: bigint;
|
|
4355
5329
|
};
|
|
4356
5330
|
limit_order_total_fees_earned: {
|
|
4357
|
-
base: bigint;
|
|
4358
|
-
quote: bigint;
|
|
5331
|
+
base: bigint;
|
|
5332
|
+
quote: bigint;
|
|
5333
|
+
};
|
|
5334
|
+
range_total_swap_inputs: {
|
|
5335
|
+
base: bigint;
|
|
5336
|
+
quote: bigint;
|
|
5337
|
+
};
|
|
5338
|
+
limit_total_swap_inputs: {
|
|
5339
|
+
base: bigint;
|
|
5340
|
+
quote: bigint;
|
|
5341
|
+
};
|
|
5342
|
+
quote_asset: {
|
|
5343
|
+
chain: "Ethereum";
|
|
5344
|
+
asset: "USDC";
|
|
5345
|
+
};
|
|
5346
|
+
}, {
|
|
5347
|
+
limit_order_fee_hundredth_pips: number;
|
|
5348
|
+
range_order_fee_hundredth_pips: number;
|
|
5349
|
+
range_order_total_fees_earned: {
|
|
5350
|
+
base: string;
|
|
5351
|
+
quote: string;
|
|
5352
|
+
};
|
|
5353
|
+
limit_order_total_fees_earned: {
|
|
5354
|
+
base: string;
|
|
5355
|
+
quote: string;
|
|
5356
|
+
};
|
|
5357
|
+
range_total_swap_inputs: {
|
|
5358
|
+
base: string;
|
|
5359
|
+
quote: string;
|
|
5360
|
+
};
|
|
5361
|
+
limit_total_swap_inputs: {
|
|
5362
|
+
base: string;
|
|
5363
|
+
quote: string;
|
|
5364
|
+
};
|
|
5365
|
+
quote_asset: {
|
|
5366
|
+
chain: "Ethereum";
|
|
5367
|
+
asset: "USDC";
|
|
5368
|
+
};
|
|
5369
|
+
}>;
|
|
5370
|
+
USDT: z.ZodObject<{
|
|
5371
|
+
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
5372
|
+
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
5373
|
+
range_order_total_fees_earned: z.ZodObject<{
|
|
5374
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5375
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5376
|
+
}, "strip", z.ZodTypeAny, {
|
|
5377
|
+
base: bigint;
|
|
5378
|
+
quote: bigint;
|
|
5379
|
+
}, {
|
|
5380
|
+
base: string;
|
|
5381
|
+
quote: string;
|
|
5382
|
+
}>;
|
|
5383
|
+
limit_order_total_fees_earned: z.ZodObject<{
|
|
5384
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5385
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5386
|
+
}, "strip", z.ZodTypeAny, {
|
|
5387
|
+
base: bigint;
|
|
5388
|
+
quote: bigint;
|
|
5389
|
+
}, {
|
|
5390
|
+
base: string;
|
|
5391
|
+
quote: string;
|
|
5392
|
+
}>;
|
|
5393
|
+
range_total_swap_inputs: z.ZodObject<{
|
|
5394
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5395
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5396
|
+
}, "strip", z.ZodTypeAny, {
|
|
5397
|
+
base: bigint;
|
|
5398
|
+
quote: bigint;
|
|
5399
|
+
}, {
|
|
5400
|
+
base: string;
|
|
5401
|
+
quote: string;
|
|
5402
|
+
}>;
|
|
5403
|
+
limit_total_swap_inputs: z.ZodObject<{
|
|
5404
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5405
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5406
|
+
}, "strip", z.ZodTypeAny, {
|
|
5407
|
+
base: bigint;
|
|
5408
|
+
quote: bigint;
|
|
5409
|
+
}, {
|
|
5410
|
+
base: string;
|
|
5411
|
+
quote: string;
|
|
5412
|
+
}>;
|
|
5413
|
+
quote_asset: z.ZodObject<{
|
|
5414
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
5415
|
+
asset: z.ZodLiteral<"USDC">;
|
|
5416
|
+
}, "strip", z.ZodTypeAny, {
|
|
5417
|
+
chain: "Ethereum";
|
|
5418
|
+
asset: "USDC";
|
|
5419
|
+
}, {
|
|
5420
|
+
chain: "Ethereum";
|
|
5421
|
+
asset: "USDC";
|
|
5422
|
+
}>;
|
|
5423
|
+
}, "strip", z.ZodTypeAny, {
|
|
5424
|
+
limit_order_fee_hundredth_pips: number;
|
|
5425
|
+
range_order_fee_hundredth_pips: number;
|
|
5426
|
+
range_order_total_fees_earned: {
|
|
5427
|
+
base: bigint;
|
|
5428
|
+
quote: bigint;
|
|
5429
|
+
};
|
|
5430
|
+
limit_order_total_fees_earned: {
|
|
5431
|
+
base: bigint;
|
|
5432
|
+
quote: bigint;
|
|
5433
|
+
};
|
|
5434
|
+
range_total_swap_inputs: {
|
|
5435
|
+
base: bigint;
|
|
5436
|
+
quote: bigint;
|
|
5437
|
+
};
|
|
5438
|
+
limit_total_swap_inputs: {
|
|
5439
|
+
base: bigint;
|
|
5440
|
+
quote: bigint;
|
|
5441
|
+
};
|
|
5442
|
+
quote_asset: {
|
|
5443
|
+
chain: "Ethereum";
|
|
5444
|
+
asset: "USDC";
|
|
5445
|
+
};
|
|
5446
|
+
}, {
|
|
5447
|
+
limit_order_fee_hundredth_pips: number;
|
|
5448
|
+
range_order_fee_hundredth_pips: number;
|
|
5449
|
+
range_order_total_fees_earned: {
|
|
5450
|
+
base: string;
|
|
5451
|
+
quote: string;
|
|
5452
|
+
};
|
|
5453
|
+
limit_order_total_fees_earned: {
|
|
5454
|
+
base: string;
|
|
5455
|
+
quote: string;
|
|
5456
|
+
};
|
|
5457
|
+
range_total_swap_inputs: {
|
|
5458
|
+
base: string;
|
|
5459
|
+
quote: string;
|
|
5460
|
+
};
|
|
5461
|
+
limit_total_swap_inputs: {
|
|
5462
|
+
base: string;
|
|
5463
|
+
quote: string;
|
|
5464
|
+
};
|
|
5465
|
+
quote_asset: {
|
|
5466
|
+
chain: "Ethereum";
|
|
5467
|
+
asset: "USDC";
|
|
5468
|
+
};
|
|
5469
|
+
}>;
|
|
5470
|
+
}, "strip", z.ZodTypeAny, {
|
|
5471
|
+
ETH: {
|
|
5472
|
+
limit_order_fee_hundredth_pips: number;
|
|
5473
|
+
range_order_fee_hundredth_pips: number;
|
|
5474
|
+
range_order_total_fees_earned: {
|
|
5475
|
+
base: bigint;
|
|
5476
|
+
quote: bigint;
|
|
5477
|
+
};
|
|
5478
|
+
limit_order_total_fees_earned: {
|
|
5479
|
+
base: bigint;
|
|
5480
|
+
quote: bigint;
|
|
5481
|
+
};
|
|
5482
|
+
range_total_swap_inputs: {
|
|
5483
|
+
base: bigint;
|
|
5484
|
+
quote: bigint;
|
|
5485
|
+
};
|
|
5486
|
+
limit_total_swap_inputs: {
|
|
5487
|
+
base: bigint;
|
|
5488
|
+
quote: bigint;
|
|
5489
|
+
};
|
|
5490
|
+
quote_asset: {
|
|
5491
|
+
chain: "Ethereum";
|
|
5492
|
+
asset: "USDC";
|
|
5493
|
+
};
|
|
5494
|
+
};
|
|
5495
|
+
FLIP: {
|
|
5496
|
+
limit_order_fee_hundredth_pips: number;
|
|
5497
|
+
range_order_fee_hundredth_pips: number;
|
|
5498
|
+
range_order_total_fees_earned: {
|
|
5499
|
+
base: bigint;
|
|
5500
|
+
quote: bigint;
|
|
5501
|
+
};
|
|
5502
|
+
limit_order_total_fees_earned: {
|
|
5503
|
+
base: bigint;
|
|
5504
|
+
quote: bigint;
|
|
5505
|
+
};
|
|
5506
|
+
range_total_swap_inputs: {
|
|
5507
|
+
base: bigint;
|
|
5508
|
+
quote: bigint;
|
|
5509
|
+
};
|
|
5510
|
+
limit_total_swap_inputs: {
|
|
5511
|
+
base: bigint;
|
|
5512
|
+
quote: bigint;
|
|
5513
|
+
};
|
|
5514
|
+
quote_asset: {
|
|
5515
|
+
chain: "Ethereum";
|
|
5516
|
+
asset: "USDC";
|
|
5517
|
+
};
|
|
5518
|
+
};
|
|
5519
|
+
USDT: {
|
|
5520
|
+
limit_order_fee_hundredth_pips: number;
|
|
5521
|
+
range_order_fee_hundredth_pips: number;
|
|
5522
|
+
range_order_total_fees_earned: {
|
|
5523
|
+
base: bigint;
|
|
5524
|
+
quote: bigint;
|
|
5525
|
+
};
|
|
5526
|
+
limit_order_total_fees_earned: {
|
|
5527
|
+
base: bigint;
|
|
5528
|
+
quote: bigint;
|
|
5529
|
+
};
|
|
5530
|
+
range_total_swap_inputs: {
|
|
5531
|
+
base: bigint;
|
|
5532
|
+
quote: bigint;
|
|
5533
|
+
};
|
|
5534
|
+
limit_total_swap_inputs: {
|
|
5535
|
+
base: bigint;
|
|
5536
|
+
quote: bigint;
|
|
5537
|
+
};
|
|
5538
|
+
quote_asset: {
|
|
5539
|
+
chain: "Ethereum";
|
|
5540
|
+
asset: "USDC";
|
|
5541
|
+
};
|
|
5542
|
+
};
|
|
5543
|
+
}, {
|
|
5544
|
+
ETH: {
|
|
5545
|
+
limit_order_fee_hundredth_pips: number;
|
|
5546
|
+
range_order_fee_hundredth_pips: number;
|
|
5547
|
+
range_order_total_fees_earned: {
|
|
5548
|
+
base: string;
|
|
5549
|
+
quote: string;
|
|
5550
|
+
};
|
|
5551
|
+
limit_order_total_fees_earned: {
|
|
5552
|
+
base: string;
|
|
5553
|
+
quote: string;
|
|
5554
|
+
};
|
|
5555
|
+
range_total_swap_inputs: {
|
|
5556
|
+
base: string;
|
|
5557
|
+
quote: string;
|
|
5558
|
+
};
|
|
5559
|
+
limit_total_swap_inputs: {
|
|
5560
|
+
base: string;
|
|
5561
|
+
quote: string;
|
|
5562
|
+
};
|
|
5563
|
+
quote_asset: {
|
|
5564
|
+
chain: "Ethereum";
|
|
5565
|
+
asset: "USDC";
|
|
5566
|
+
};
|
|
5567
|
+
};
|
|
5568
|
+
FLIP: {
|
|
5569
|
+
limit_order_fee_hundredth_pips: number;
|
|
5570
|
+
range_order_fee_hundredth_pips: number;
|
|
5571
|
+
range_order_total_fees_earned: {
|
|
5572
|
+
base: string;
|
|
5573
|
+
quote: string;
|
|
5574
|
+
};
|
|
5575
|
+
limit_order_total_fees_earned: {
|
|
5576
|
+
base: string;
|
|
5577
|
+
quote: string;
|
|
4359
5578
|
};
|
|
4360
5579
|
range_total_swap_inputs: {
|
|
4361
|
-
base:
|
|
4362
|
-
quote:
|
|
5580
|
+
base: string;
|
|
5581
|
+
quote: string;
|
|
4363
5582
|
};
|
|
4364
5583
|
limit_total_swap_inputs: {
|
|
4365
|
-
base:
|
|
4366
|
-
quote:
|
|
5584
|
+
base: string;
|
|
5585
|
+
quote: string;
|
|
4367
5586
|
};
|
|
4368
5587
|
quote_asset: {
|
|
4369
5588
|
chain: "Ethereum";
|
|
4370
5589
|
asset: "USDC";
|
|
4371
5590
|
};
|
|
4372
|
-
}
|
|
5591
|
+
};
|
|
5592
|
+
USDT: {
|
|
4373
5593
|
limit_order_fee_hundredth_pips: number;
|
|
4374
5594
|
range_order_fee_hundredth_pips: number;
|
|
4375
5595
|
range_order_total_fees_earned: {
|
|
@@ -4392,8 +5612,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
4392
5612
|
chain: "Ethereum";
|
|
4393
5613
|
asset: "USDC";
|
|
4394
5614
|
};
|
|
4395
|
-
}
|
|
4396
|
-
|
|
5615
|
+
};
|
|
5616
|
+
}>;
|
|
5617
|
+
Polkadot: z.ZodObject<{
|
|
5618
|
+
DOT: z.ZodObject<{
|
|
4397
5619
|
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
4398
5620
|
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
4399
5621
|
range_order_total_fees_earned: z.ZodObject<{
|
|
@@ -4494,7 +5716,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
4494
5716
|
};
|
|
4495
5717
|
}>;
|
|
4496
5718
|
}, "strip", z.ZodTypeAny, {
|
|
4497
|
-
|
|
5719
|
+
DOT: {
|
|
4498
5720
|
limit_order_fee_hundredth_pips: number;
|
|
4499
5721
|
range_order_fee_hundredth_pips: number;
|
|
4500
5722
|
range_order_total_fees_earned: {
|
|
@@ -4518,104 +5740,110 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
4518
5740
|
asset: "USDC";
|
|
4519
5741
|
};
|
|
4520
5742
|
};
|
|
4521
|
-
|
|
5743
|
+
}, {
|
|
5744
|
+
DOT: {
|
|
4522
5745
|
limit_order_fee_hundredth_pips: number;
|
|
4523
5746
|
range_order_fee_hundredth_pips: number;
|
|
4524
5747
|
range_order_total_fees_earned: {
|
|
4525
|
-
base:
|
|
4526
|
-
quote:
|
|
5748
|
+
base: string;
|
|
5749
|
+
quote: string;
|
|
4527
5750
|
};
|
|
4528
5751
|
limit_order_total_fees_earned: {
|
|
4529
|
-
base:
|
|
4530
|
-
quote:
|
|
5752
|
+
base: string;
|
|
5753
|
+
quote: string;
|
|
4531
5754
|
};
|
|
4532
5755
|
range_total_swap_inputs: {
|
|
4533
|
-
base:
|
|
4534
|
-
quote:
|
|
5756
|
+
base: string;
|
|
5757
|
+
quote: string;
|
|
4535
5758
|
};
|
|
4536
5759
|
limit_total_swap_inputs: {
|
|
4537
|
-
base:
|
|
4538
|
-
quote:
|
|
5760
|
+
base: string;
|
|
5761
|
+
quote: string;
|
|
4539
5762
|
};
|
|
4540
5763
|
quote_asset: {
|
|
4541
5764
|
chain: "Ethereum";
|
|
4542
5765
|
asset: "USDC";
|
|
4543
5766
|
};
|
|
4544
5767
|
};
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
quote: bigint;
|
|
4555
|
-
};
|
|
4556
|
-
range_total_swap_inputs: {
|
|
4557
|
-
base: bigint;
|
|
4558
|
-
quote: bigint;
|
|
4559
|
-
};
|
|
4560
|
-
limit_total_swap_inputs: {
|
|
5768
|
+
}>;
|
|
5769
|
+
Arbitrum: z.ZodObject<{
|
|
5770
|
+
ETH: z.ZodObject<{
|
|
5771
|
+
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
5772
|
+
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
5773
|
+
range_order_total_fees_earned: z.ZodObject<{
|
|
5774
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5775
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5776
|
+
}, "strip", z.ZodTypeAny, {
|
|
4561
5777
|
base: bigint;
|
|
4562
5778
|
quote: bigint;
|
|
4563
|
-
}
|
|
4564
|
-
quote_asset: {
|
|
4565
|
-
chain: "Ethereum";
|
|
4566
|
-
asset: "USDC";
|
|
4567
|
-
};
|
|
4568
|
-
};
|
|
4569
|
-
}, {
|
|
4570
|
-
ETH: {
|
|
4571
|
-
limit_order_fee_hundredth_pips: number;
|
|
4572
|
-
range_order_fee_hundredth_pips: number;
|
|
4573
|
-
range_order_total_fees_earned: {
|
|
5779
|
+
}, {
|
|
4574
5780
|
base: string;
|
|
4575
5781
|
quote: string;
|
|
4576
|
-
}
|
|
4577
|
-
limit_order_total_fees_earned: {
|
|
5782
|
+
}>;
|
|
5783
|
+
limit_order_total_fees_earned: z.ZodObject<{
|
|
5784
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5785
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5786
|
+
}, "strip", z.ZodTypeAny, {
|
|
5787
|
+
base: bigint;
|
|
5788
|
+
quote: bigint;
|
|
5789
|
+
}, {
|
|
4578
5790
|
base: string;
|
|
4579
5791
|
quote: string;
|
|
4580
|
-
}
|
|
4581
|
-
range_total_swap_inputs: {
|
|
5792
|
+
}>;
|
|
5793
|
+
range_total_swap_inputs: z.ZodObject<{
|
|
5794
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5795
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5796
|
+
}, "strip", z.ZodTypeAny, {
|
|
5797
|
+
base: bigint;
|
|
5798
|
+
quote: bigint;
|
|
5799
|
+
}, {
|
|
4582
5800
|
base: string;
|
|
4583
5801
|
quote: string;
|
|
4584
|
-
}
|
|
4585
|
-
limit_total_swap_inputs: {
|
|
5802
|
+
}>;
|
|
5803
|
+
limit_total_swap_inputs: z.ZodObject<{
|
|
5804
|
+
base: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5805
|
+
quote: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5806
|
+
}, "strip", z.ZodTypeAny, {
|
|
5807
|
+
base: bigint;
|
|
5808
|
+
quote: bigint;
|
|
5809
|
+
}, {
|
|
4586
5810
|
base: string;
|
|
4587
5811
|
quote: string;
|
|
4588
|
-
}
|
|
4589
|
-
quote_asset: {
|
|
5812
|
+
}>;
|
|
5813
|
+
quote_asset: z.ZodObject<{
|
|
5814
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
5815
|
+
asset: z.ZodLiteral<"USDC">;
|
|
5816
|
+
}, "strip", z.ZodTypeAny, {
|
|
4590
5817
|
chain: "Ethereum";
|
|
4591
5818
|
asset: "USDC";
|
|
4592
|
-
}
|
|
4593
|
-
|
|
4594
|
-
|
|
5819
|
+
}, {
|
|
5820
|
+
chain: "Ethereum";
|
|
5821
|
+
asset: "USDC";
|
|
5822
|
+
}>;
|
|
5823
|
+
}, "strip", z.ZodTypeAny, {
|
|
4595
5824
|
limit_order_fee_hundredth_pips: number;
|
|
4596
5825
|
range_order_fee_hundredth_pips: number;
|
|
4597
5826
|
range_order_total_fees_earned: {
|
|
4598
|
-
base:
|
|
4599
|
-
quote:
|
|
5827
|
+
base: bigint;
|
|
5828
|
+
quote: bigint;
|
|
4600
5829
|
};
|
|
4601
5830
|
limit_order_total_fees_earned: {
|
|
4602
|
-
base:
|
|
4603
|
-
quote:
|
|
5831
|
+
base: bigint;
|
|
5832
|
+
quote: bigint;
|
|
4604
5833
|
};
|
|
4605
5834
|
range_total_swap_inputs: {
|
|
4606
|
-
base:
|
|
4607
|
-
quote:
|
|
5835
|
+
base: bigint;
|
|
5836
|
+
quote: bigint;
|
|
4608
5837
|
};
|
|
4609
5838
|
limit_total_swap_inputs: {
|
|
4610
|
-
base:
|
|
4611
|
-
quote:
|
|
5839
|
+
base: bigint;
|
|
5840
|
+
quote: bigint;
|
|
4612
5841
|
};
|
|
4613
5842
|
quote_asset: {
|
|
4614
5843
|
chain: "Ethereum";
|
|
4615
5844
|
asset: "USDC";
|
|
4616
5845
|
};
|
|
4617
|
-
}
|
|
4618
|
-
USDT: {
|
|
5846
|
+
}, {
|
|
4619
5847
|
limit_order_fee_hundredth_pips: number;
|
|
4620
5848
|
range_order_fee_hundredth_pips: number;
|
|
4621
5849
|
range_order_total_fees_earned: {
|
|
@@ -4638,10 +5866,8 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
4638
5866
|
chain: "Ethereum";
|
|
4639
5867
|
asset: "USDC";
|
|
4640
5868
|
};
|
|
4641
|
-
}
|
|
4642
|
-
|
|
4643
|
-
Polkadot: z.ZodObject<{
|
|
4644
|
-
DOT: z.ZodObject<{
|
|
5869
|
+
}>;
|
|
5870
|
+
USDC: z.ZodObject<{
|
|
4645
5871
|
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
4646
5872
|
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
4647
5873
|
range_order_total_fees_earned: z.ZodObject<{
|
|
@@ -4742,7 +5968,31 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
4742
5968
|
};
|
|
4743
5969
|
}>;
|
|
4744
5970
|
}, "strip", z.ZodTypeAny, {
|
|
4745
|
-
|
|
5971
|
+
ETH: {
|
|
5972
|
+
limit_order_fee_hundredth_pips: number;
|
|
5973
|
+
range_order_fee_hundredth_pips: number;
|
|
5974
|
+
range_order_total_fees_earned: {
|
|
5975
|
+
base: bigint;
|
|
5976
|
+
quote: bigint;
|
|
5977
|
+
};
|
|
5978
|
+
limit_order_total_fees_earned: {
|
|
5979
|
+
base: bigint;
|
|
5980
|
+
quote: bigint;
|
|
5981
|
+
};
|
|
5982
|
+
range_total_swap_inputs: {
|
|
5983
|
+
base: bigint;
|
|
5984
|
+
quote: bigint;
|
|
5985
|
+
};
|
|
5986
|
+
limit_total_swap_inputs: {
|
|
5987
|
+
base: bigint;
|
|
5988
|
+
quote: bigint;
|
|
5989
|
+
};
|
|
5990
|
+
quote_asset: {
|
|
5991
|
+
chain: "Ethereum";
|
|
5992
|
+
asset: "USDC";
|
|
5993
|
+
};
|
|
5994
|
+
};
|
|
5995
|
+
USDC: {
|
|
4746
5996
|
limit_order_fee_hundredth_pips: number;
|
|
4747
5997
|
range_order_fee_hundredth_pips: number;
|
|
4748
5998
|
range_order_total_fees_earned: {
|
|
@@ -4767,7 +6017,31 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
4767
6017
|
};
|
|
4768
6018
|
};
|
|
4769
6019
|
}, {
|
|
4770
|
-
|
|
6020
|
+
ETH: {
|
|
6021
|
+
limit_order_fee_hundredth_pips: number;
|
|
6022
|
+
range_order_fee_hundredth_pips: number;
|
|
6023
|
+
range_order_total_fees_earned: {
|
|
6024
|
+
base: string;
|
|
6025
|
+
quote: string;
|
|
6026
|
+
};
|
|
6027
|
+
limit_order_total_fees_earned: {
|
|
6028
|
+
base: string;
|
|
6029
|
+
quote: string;
|
|
6030
|
+
};
|
|
6031
|
+
range_total_swap_inputs: {
|
|
6032
|
+
base: string;
|
|
6033
|
+
quote: string;
|
|
6034
|
+
};
|
|
6035
|
+
limit_total_swap_inputs: {
|
|
6036
|
+
base: string;
|
|
6037
|
+
quote: string;
|
|
6038
|
+
};
|
|
6039
|
+
quote_asset: {
|
|
6040
|
+
chain: "Ethereum";
|
|
6041
|
+
asset: "USDC";
|
|
6042
|
+
};
|
|
6043
|
+
};
|
|
6044
|
+
USDC: {
|
|
4771
6045
|
limit_order_fee_hundredth_pips: number;
|
|
4772
6046
|
range_order_fee_hundredth_pips: number;
|
|
4773
6047
|
range_order_total_fees_earned: {
|
|
@@ -4792,8 +6066,8 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
4792
6066
|
};
|
|
4793
6067
|
};
|
|
4794
6068
|
}>;
|
|
4795
|
-
|
|
4796
|
-
|
|
6069
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
6070
|
+
SOL: z.ZodDefault<z.ZodObject<{
|
|
4797
6071
|
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
4798
6072
|
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
4799
6073
|
range_order_total_fees_earned: z.ZodObject<{
|
|
@@ -4994,7 +6268,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
4994
6268
|
};
|
|
4995
6269
|
}>>;
|
|
4996
6270
|
}, "strip", z.ZodTypeAny, {
|
|
4997
|
-
|
|
6271
|
+
USDC: {
|
|
4998
6272
|
limit_order_fee_hundredth_pips: number;
|
|
4999
6273
|
range_order_fee_hundredth_pips: number;
|
|
5000
6274
|
range_order_total_fees_earned: {
|
|
@@ -5018,7 +6292,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5018
6292
|
asset: "USDC";
|
|
5019
6293
|
};
|
|
5020
6294
|
};
|
|
5021
|
-
|
|
6295
|
+
SOL: {
|
|
5022
6296
|
limit_order_fee_hundredth_pips: number;
|
|
5023
6297
|
range_order_fee_hundredth_pips: number;
|
|
5024
6298
|
range_order_total_fees_earned: {
|
|
@@ -5043,7 +6317,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5043
6317
|
};
|
|
5044
6318
|
};
|
|
5045
6319
|
}, {
|
|
5046
|
-
|
|
6320
|
+
USDC?: {
|
|
5047
6321
|
limit_order_fee_hundredth_pips: number;
|
|
5048
6322
|
range_order_fee_hundredth_pips: number;
|
|
5049
6323
|
range_order_total_fees_earned: {
|
|
@@ -5067,7 +6341,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5067
6341
|
asset: "USDC";
|
|
5068
6342
|
};
|
|
5069
6343
|
} | undefined;
|
|
5070
|
-
|
|
6344
|
+
SOL?: {
|
|
5071
6345
|
limit_order_fee_hundredth_pips: number;
|
|
5072
6346
|
range_order_fee_hundredth_pips: number;
|
|
5073
6347
|
range_order_total_fees_earned: {
|
|
@@ -5090,11 +6364,61 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5090
6364
|
chain: "Ethereum";
|
|
5091
6365
|
asset: "USDC";
|
|
5092
6366
|
};
|
|
5093
|
-
} | undefined;
|
|
5094
|
-
}>>;
|
|
5095
|
-
}, "strip", z.ZodTypeAny, {
|
|
5096
|
-
Bitcoin: {
|
|
5097
|
-
BTC: {
|
|
6367
|
+
} | undefined;
|
|
6368
|
+
}>>;
|
|
6369
|
+
}, "strip", z.ZodTypeAny, {
|
|
6370
|
+
Bitcoin: {
|
|
6371
|
+
BTC: {
|
|
6372
|
+
limit_order_fee_hundredth_pips: number;
|
|
6373
|
+
range_order_fee_hundredth_pips: number;
|
|
6374
|
+
range_order_total_fees_earned: {
|
|
6375
|
+
base: bigint;
|
|
6376
|
+
quote: bigint;
|
|
6377
|
+
};
|
|
6378
|
+
limit_order_total_fees_earned: {
|
|
6379
|
+
base: bigint;
|
|
6380
|
+
quote: bigint;
|
|
6381
|
+
};
|
|
6382
|
+
range_total_swap_inputs: {
|
|
6383
|
+
base: bigint;
|
|
6384
|
+
quote: bigint;
|
|
6385
|
+
};
|
|
6386
|
+
limit_total_swap_inputs: {
|
|
6387
|
+
base: bigint;
|
|
6388
|
+
quote: bigint;
|
|
6389
|
+
};
|
|
6390
|
+
quote_asset: {
|
|
6391
|
+
chain: "Ethereum";
|
|
6392
|
+
asset: "USDC";
|
|
6393
|
+
};
|
|
6394
|
+
};
|
|
6395
|
+
};
|
|
6396
|
+
Ethereum: {
|
|
6397
|
+
ETH: {
|
|
6398
|
+
limit_order_fee_hundredth_pips: number;
|
|
6399
|
+
range_order_fee_hundredth_pips: number;
|
|
6400
|
+
range_order_total_fees_earned: {
|
|
6401
|
+
base: bigint;
|
|
6402
|
+
quote: bigint;
|
|
6403
|
+
};
|
|
6404
|
+
limit_order_total_fees_earned: {
|
|
6405
|
+
base: bigint;
|
|
6406
|
+
quote: bigint;
|
|
6407
|
+
};
|
|
6408
|
+
range_total_swap_inputs: {
|
|
6409
|
+
base: bigint;
|
|
6410
|
+
quote: bigint;
|
|
6411
|
+
};
|
|
6412
|
+
limit_total_swap_inputs: {
|
|
6413
|
+
base: bigint;
|
|
6414
|
+
quote: bigint;
|
|
6415
|
+
};
|
|
6416
|
+
quote_asset: {
|
|
6417
|
+
chain: "Ethereum";
|
|
6418
|
+
asset: "USDC";
|
|
6419
|
+
};
|
|
6420
|
+
};
|
|
6421
|
+
FLIP: {
|
|
5098
6422
|
limit_order_fee_hundredth_pips: number;
|
|
5099
6423
|
range_order_fee_hundredth_pips: number;
|
|
5100
6424
|
range_order_total_fees_earned: {
|
|
@@ -5118,9 +6442,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5118
6442
|
asset: "USDC";
|
|
5119
6443
|
};
|
|
5120
6444
|
};
|
|
5121
|
-
|
|
5122
|
-
Ethereum: {
|
|
5123
|
-
ETH: {
|
|
6445
|
+
USDT: {
|
|
5124
6446
|
limit_order_fee_hundredth_pips: number;
|
|
5125
6447
|
range_order_fee_hundredth_pips: number;
|
|
5126
6448
|
range_order_total_fees_earned: {
|
|
@@ -5144,7 +6466,9 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5144
6466
|
asset: "USDC";
|
|
5145
6467
|
};
|
|
5146
6468
|
};
|
|
5147
|
-
|
|
6469
|
+
};
|
|
6470
|
+
Polkadot: {
|
|
6471
|
+
DOT: {
|
|
5148
6472
|
limit_order_fee_hundredth_pips: number;
|
|
5149
6473
|
range_order_fee_hundredth_pips: number;
|
|
5150
6474
|
range_order_total_fees_earned: {
|
|
@@ -5168,7 +6492,9 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5168
6492
|
asset: "USDC";
|
|
5169
6493
|
};
|
|
5170
6494
|
};
|
|
5171
|
-
|
|
6495
|
+
};
|
|
6496
|
+
Arbitrum: {
|
|
6497
|
+
ETH: {
|
|
5172
6498
|
limit_order_fee_hundredth_pips: number;
|
|
5173
6499
|
range_order_fee_hundredth_pips: number;
|
|
5174
6500
|
range_order_total_fees_earned: {
|
|
@@ -5192,9 +6518,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5192
6518
|
asset: "USDC";
|
|
5193
6519
|
};
|
|
5194
6520
|
};
|
|
5195
|
-
|
|
5196
|
-
Polkadot: {
|
|
5197
|
-
DOT: {
|
|
6521
|
+
USDC: {
|
|
5198
6522
|
limit_order_fee_hundredth_pips: number;
|
|
5199
6523
|
range_order_fee_hundredth_pips: number;
|
|
5200
6524
|
range_order_total_fees_earned: {
|
|
@@ -5219,8 +6543,8 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5219
6543
|
};
|
|
5220
6544
|
};
|
|
5221
6545
|
};
|
|
5222
|
-
|
|
5223
|
-
|
|
6546
|
+
Solana: {
|
|
6547
|
+
USDC: {
|
|
5224
6548
|
limit_order_fee_hundredth_pips: number;
|
|
5225
6549
|
range_order_fee_hundredth_pips: number;
|
|
5226
6550
|
range_order_total_fees_earned: {
|
|
@@ -5244,7 +6568,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5244
6568
|
asset: "USDC";
|
|
5245
6569
|
};
|
|
5246
6570
|
};
|
|
5247
|
-
|
|
6571
|
+
SOL: {
|
|
5248
6572
|
limit_order_fee_hundredth_pips: number;
|
|
5249
6573
|
range_order_fee_hundredth_pips: number;
|
|
5250
6574
|
range_order_total_fees_earned: {
|
|
@@ -5396,8 +6720,8 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5396
6720
|
};
|
|
5397
6721
|
};
|
|
5398
6722
|
};
|
|
5399
|
-
Arbitrum
|
|
5400
|
-
ETH
|
|
6723
|
+
Arbitrum: {
|
|
6724
|
+
ETH: {
|
|
5401
6725
|
limit_order_fee_hundredth_pips: number;
|
|
5402
6726
|
range_order_fee_hundredth_pips: number;
|
|
5403
6727
|
range_order_total_fees_earned: {
|
|
@@ -5420,7 +6744,33 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5420
6744
|
chain: "Ethereum";
|
|
5421
6745
|
asset: "USDC";
|
|
5422
6746
|
};
|
|
5423
|
-
}
|
|
6747
|
+
};
|
|
6748
|
+
USDC: {
|
|
6749
|
+
limit_order_fee_hundredth_pips: number;
|
|
6750
|
+
range_order_fee_hundredth_pips: number;
|
|
6751
|
+
range_order_total_fees_earned: {
|
|
6752
|
+
base: string;
|
|
6753
|
+
quote: string;
|
|
6754
|
+
};
|
|
6755
|
+
limit_order_total_fees_earned: {
|
|
6756
|
+
base: string;
|
|
6757
|
+
quote: string;
|
|
6758
|
+
};
|
|
6759
|
+
range_total_swap_inputs: {
|
|
6760
|
+
base: string;
|
|
6761
|
+
quote: string;
|
|
6762
|
+
};
|
|
6763
|
+
limit_total_swap_inputs: {
|
|
6764
|
+
base: string;
|
|
6765
|
+
quote: string;
|
|
6766
|
+
};
|
|
6767
|
+
quote_asset: {
|
|
6768
|
+
chain: "Ethereum";
|
|
6769
|
+
asset: "USDC";
|
|
6770
|
+
};
|
|
6771
|
+
};
|
|
6772
|
+
};
|
|
6773
|
+
Solana?: {
|
|
5424
6774
|
USDC?: {
|
|
5425
6775
|
limit_order_fee_hundredth_pips: number;
|
|
5426
6776
|
range_order_fee_hundredth_pips: number;
|
|
@@ -5445,6 +6795,30 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5445
6795
|
asset: "USDC";
|
|
5446
6796
|
};
|
|
5447
6797
|
} | undefined;
|
|
6798
|
+
SOL?: {
|
|
6799
|
+
limit_order_fee_hundredth_pips: number;
|
|
6800
|
+
range_order_fee_hundredth_pips: number;
|
|
6801
|
+
range_order_total_fees_earned: {
|
|
6802
|
+
base: string;
|
|
6803
|
+
quote: string;
|
|
6804
|
+
};
|
|
6805
|
+
limit_order_total_fees_earned: {
|
|
6806
|
+
base: string;
|
|
6807
|
+
quote: string;
|
|
6808
|
+
};
|
|
6809
|
+
range_total_swap_inputs: {
|
|
6810
|
+
base: string;
|
|
6811
|
+
quote: string;
|
|
6812
|
+
};
|
|
6813
|
+
limit_total_swap_inputs: {
|
|
6814
|
+
base: string;
|
|
6815
|
+
quote: string;
|
|
6816
|
+
};
|
|
6817
|
+
quote_asset: {
|
|
6818
|
+
chain: "Ethereum";
|
|
6819
|
+
asset: "USDC";
|
|
6820
|
+
};
|
|
6821
|
+
} | undefined;
|
|
5448
6822
|
} | undefined;
|
|
5449
6823
|
}>;
|
|
5450
6824
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5625,6 +6999,56 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5625
6999
|
};
|
|
5626
7000
|
};
|
|
5627
7001
|
};
|
|
7002
|
+
Solana: {
|
|
7003
|
+
USDC: {
|
|
7004
|
+
limit_order_fee_hundredth_pips: number;
|
|
7005
|
+
range_order_fee_hundredth_pips: number;
|
|
7006
|
+
range_order_total_fees_earned: {
|
|
7007
|
+
base: bigint;
|
|
7008
|
+
quote: bigint;
|
|
7009
|
+
};
|
|
7010
|
+
limit_order_total_fees_earned: {
|
|
7011
|
+
base: bigint;
|
|
7012
|
+
quote: bigint;
|
|
7013
|
+
};
|
|
7014
|
+
range_total_swap_inputs: {
|
|
7015
|
+
base: bigint;
|
|
7016
|
+
quote: bigint;
|
|
7017
|
+
};
|
|
7018
|
+
limit_total_swap_inputs: {
|
|
7019
|
+
base: bigint;
|
|
7020
|
+
quote: bigint;
|
|
7021
|
+
};
|
|
7022
|
+
quote_asset: {
|
|
7023
|
+
chain: "Ethereum";
|
|
7024
|
+
asset: "USDC";
|
|
7025
|
+
};
|
|
7026
|
+
};
|
|
7027
|
+
SOL: {
|
|
7028
|
+
limit_order_fee_hundredth_pips: number;
|
|
7029
|
+
range_order_fee_hundredth_pips: number;
|
|
7030
|
+
range_order_total_fees_earned: {
|
|
7031
|
+
base: bigint;
|
|
7032
|
+
quote: bigint;
|
|
7033
|
+
};
|
|
7034
|
+
limit_order_total_fees_earned: {
|
|
7035
|
+
base: bigint;
|
|
7036
|
+
quote: bigint;
|
|
7037
|
+
};
|
|
7038
|
+
range_total_swap_inputs: {
|
|
7039
|
+
base: bigint;
|
|
7040
|
+
quote: bigint;
|
|
7041
|
+
};
|
|
7042
|
+
limit_total_swap_inputs: {
|
|
7043
|
+
base: bigint;
|
|
7044
|
+
quote: bigint;
|
|
7045
|
+
};
|
|
7046
|
+
quote_asset: {
|
|
7047
|
+
chain: "Ethereum";
|
|
7048
|
+
asset: "USDC";
|
|
7049
|
+
};
|
|
7050
|
+
};
|
|
7051
|
+
};
|
|
5628
7052
|
};
|
|
5629
7053
|
}, {
|
|
5630
7054
|
fees: {
|
|
@@ -5754,8 +7178,8 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5754
7178
|
};
|
|
5755
7179
|
};
|
|
5756
7180
|
};
|
|
5757
|
-
Arbitrum
|
|
5758
|
-
ETH
|
|
7181
|
+
Arbitrum: {
|
|
7182
|
+
ETH: {
|
|
5759
7183
|
limit_order_fee_hundredth_pips: number;
|
|
5760
7184
|
range_order_fee_hundredth_pips: number;
|
|
5761
7185
|
range_order_total_fees_earned: {
|
|
@@ -5778,7 +7202,33 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5778
7202
|
chain: "Ethereum";
|
|
5779
7203
|
asset: "USDC";
|
|
5780
7204
|
};
|
|
5781
|
-
}
|
|
7205
|
+
};
|
|
7206
|
+
USDC: {
|
|
7207
|
+
limit_order_fee_hundredth_pips: number;
|
|
7208
|
+
range_order_fee_hundredth_pips: number;
|
|
7209
|
+
range_order_total_fees_earned: {
|
|
7210
|
+
base: string;
|
|
7211
|
+
quote: string;
|
|
7212
|
+
};
|
|
7213
|
+
limit_order_total_fees_earned: {
|
|
7214
|
+
base: string;
|
|
7215
|
+
quote: string;
|
|
7216
|
+
};
|
|
7217
|
+
range_total_swap_inputs: {
|
|
7218
|
+
base: string;
|
|
7219
|
+
quote: string;
|
|
7220
|
+
};
|
|
7221
|
+
limit_total_swap_inputs: {
|
|
7222
|
+
base: string;
|
|
7223
|
+
quote: string;
|
|
7224
|
+
};
|
|
7225
|
+
quote_asset: {
|
|
7226
|
+
chain: "Ethereum";
|
|
7227
|
+
asset: "USDC";
|
|
7228
|
+
};
|
|
7229
|
+
};
|
|
7230
|
+
};
|
|
7231
|
+
Solana?: {
|
|
5782
7232
|
USDC?: {
|
|
5783
7233
|
limit_order_fee_hundredth_pips: number;
|
|
5784
7234
|
range_order_fee_hundredth_pips: number;
|
|
@@ -5803,6 +7253,30 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5803
7253
|
asset: "USDC";
|
|
5804
7254
|
};
|
|
5805
7255
|
} | undefined;
|
|
7256
|
+
SOL?: {
|
|
7257
|
+
limit_order_fee_hundredth_pips: number;
|
|
7258
|
+
range_order_fee_hundredth_pips: number;
|
|
7259
|
+
range_order_total_fees_earned: {
|
|
7260
|
+
base: string;
|
|
7261
|
+
quote: string;
|
|
7262
|
+
};
|
|
7263
|
+
limit_order_total_fees_earned: {
|
|
7264
|
+
base: string;
|
|
7265
|
+
quote: string;
|
|
7266
|
+
};
|
|
7267
|
+
range_total_swap_inputs: {
|
|
7268
|
+
base: string;
|
|
7269
|
+
quote: string;
|
|
7270
|
+
};
|
|
7271
|
+
limit_total_swap_inputs: {
|
|
7272
|
+
base: string;
|
|
7273
|
+
quote: string;
|
|
7274
|
+
};
|
|
7275
|
+
quote_asset: {
|
|
7276
|
+
chain: "Ethereum";
|
|
7277
|
+
asset: "USDC";
|
|
7278
|
+
};
|
|
7279
|
+
} | undefined;
|
|
5806
7280
|
} | undefined;
|
|
5807
7281
|
};
|
|
5808
7282
|
}>;
|
|
@@ -5825,6 +7299,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5825
7299
|
ETH: bigint;
|
|
5826
7300
|
USDC: bigint;
|
|
5827
7301
|
};
|
|
7302
|
+
Solana: {
|
|
7303
|
+
USDC: bigint;
|
|
7304
|
+
SOL: bigint;
|
|
7305
|
+
};
|
|
5828
7306
|
};
|
|
5829
7307
|
ingress_fees: {
|
|
5830
7308
|
Bitcoin: {
|
|
@@ -5843,6 +7321,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5843
7321
|
ETH: bigint | null;
|
|
5844
7322
|
USDC: bigint | null;
|
|
5845
7323
|
};
|
|
7324
|
+
Solana: {
|
|
7325
|
+
USDC: bigint | null;
|
|
7326
|
+
SOL: bigint | null;
|
|
7327
|
+
};
|
|
5846
7328
|
};
|
|
5847
7329
|
egress_fees: {
|
|
5848
7330
|
Bitcoin: {
|
|
@@ -5861,12 +7343,17 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5861
7343
|
ETH: bigint | null;
|
|
5862
7344
|
USDC: bigint | null;
|
|
5863
7345
|
};
|
|
7346
|
+
Solana: {
|
|
7347
|
+
USDC: bigint | null;
|
|
7348
|
+
SOL: bigint | null;
|
|
7349
|
+
};
|
|
5864
7350
|
};
|
|
5865
7351
|
witness_safety_margins: {
|
|
5866
7352
|
Bitcoin: number | null;
|
|
5867
7353
|
Ethereum: number | null;
|
|
5868
7354
|
Polkadot: number | null;
|
|
5869
7355
|
Arbitrum: number | null;
|
|
7356
|
+
Solana: number | null;
|
|
5870
7357
|
};
|
|
5871
7358
|
egress_dust_limits: {
|
|
5872
7359
|
Bitcoin: {
|
|
@@ -5885,18 +7372,24 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5885
7372
|
ETH: bigint;
|
|
5886
7373
|
USDC: bigint;
|
|
5887
7374
|
};
|
|
7375
|
+
Solana: {
|
|
7376
|
+
USDC: bigint;
|
|
7377
|
+
SOL: bigint;
|
|
7378
|
+
};
|
|
5888
7379
|
};
|
|
5889
7380
|
channel_opening_fees: {
|
|
5890
7381
|
Bitcoin: bigint;
|
|
5891
7382
|
Ethereum: bigint;
|
|
5892
7383
|
Polkadot: bigint;
|
|
5893
7384
|
Arbitrum: bigint;
|
|
7385
|
+
Solana: bigint;
|
|
5894
7386
|
};
|
|
5895
7387
|
max_swap_retry_duration_blocks: {
|
|
5896
7388
|
Bitcoin: number;
|
|
5897
7389
|
Ethereum: number;
|
|
5898
7390
|
Polkadot: number;
|
|
5899
7391
|
Arbitrum: number;
|
|
7392
|
+
Solana: number;
|
|
5900
7393
|
};
|
|
5901
7394
|
}, "egress_dust_limits"> & {
|
|
5902
7395
|
readonly minimum_egress_amounts: {
|
|
@@ -5916,6 +7409,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5916
7409
|
ETH: bigint;
|
|
5917
7410
|
USDC: bigint;
|
|
5918
7411
|
};
|
|
7412
|
+
Solana: {
|
|
7413
|
+
USDC: bigint;
|
|
7414
|
+
SOL: bigint;
|
|
7415
|
+
};
|
|
5919
7416
|
};
|
|
5920
7417
|
};
|
|
5921
7418
|
swapping: {
|
|
@@ -5936,6 +7433,10 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
5936
7433
|
ETH: bigint | null;
|
|
5937
7434
|
USDC: bigint | null;
|
|
5938
7435
|
};
|
|
7436
|
+
Solana: {
|
|
7437
|
+
USDC: bigint | null;
|
|
7438
|
+
SOL: bigint | null;
|
|
7439
|
+
};
|
|
5939
7440
|
};
|
|
5940
7441
|
network_fee_hundredth_pips: number;
|
|
5941
7442
|
};
|
|
@@ -6121,6 +7622,56 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6121
7622
|
};
|
|
6122
7623
|
};
|
|
6123
7624
|
};
|
|
7625
|
+
Solana: {
|
|
7626
|
+
USDC: {
|
|
7627
|
+
limit_order_fee_hundredth_pips: number;
|
|
7628
|
+
range_order_fee_hundredth_pips: number;
|
|
7629
|
+
range_order_total_fees_earned: {
|
|
7630
|
+
base: bigint;
|
|
7631
|
+
quote: bigint;
|
|
7632
|
+
};
|
|
7633
|
+
limit_order_total_fees_earned: {
|
|
7634
|
+
base: bigint;
|
|
7635
|
+
quote: bigint;
|
|
7636
|
+
};
|
|
7637
|
+
range_total_swap_inputs: {
|
|
7638
|
+
base: bigint;
|
|
7639
|
+
quote: bigint;
|
|
7640
|
+
};
|
|
7641
|
+
limit_total_swap_inputs: {
|
|
7642
|
+
base: bigint;
|
|
7643
|
+
quote: bigint;
|
|
7644
|
+
};
|
|
7645
|
+
quote_asset: {
|
|
7646
|
+
chain: "Ethereum";
|
|
7647
|
+
asset: "USDC";
|
|
7648
|
+
};
|
|
7649
|
+
};
|
|
7650
|
+
SOL: {
|
|
7651
|
+
limit_order_fee_hundredth_pips: number;
|
|
7652
|
+
range_order_fee_hundredth_pips: number;
|
|
7653
|
+
range_order_total_fees_earned: {
|
|
7654
|
+
base: bigint;
|
|
7655
|
+
quote: bigint;
|
|
7656
|
+
};
|
|
7657
|
+
limit_order_total_fees_earned: {
|
|
7658
|
+
base: bigint;
|
|
7659
|
+
quote: bigint;
|
|
7660
|
+
};
|
|
7661
|
+
range_total_swap_inputs: {
|
|
7662
|
+
base: bigint;
|
|
7663
|
+
quote: bigint;
|
|
7664
|
+
};
|
|
7665
|
+
limit_total_swap_inputs: {
|
|
7666
|
+
base: bigint;
|
|
7667
|
+
quote: bigint;
|
|
7668
|
+
};
|
|
7669
|
+
quote_asset: {
|
|
7670
|
+
chain: "Ethereum";
|
|
7671
|
+
asset: "USDC";
|
|
7672
|
+
};
|
|
7673
|
+
};
|
|
7674
|
+
};
|
|
6124
7675
|
};
|
|
6125
7676
|
};
|
|
6126
7677
|
}, {
|
|
@@ -6138,9 +7689,13 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6138
7689
|
Polkadot: {
|
|
6139
7690
|
DOT: string | number;
|
|
6140
7691
|
};
|
|
6141
|
-
Arbitrum
|
|
6142
|
-
ETH
|
|
7692
|
+
Arbitrum: {
|
|
7693
|
+
ETH: string | number;
|
|
7694
|
+
USDC: string | number;
|
|
7695
|
+
};
|
|
7696
|
+
Solana?: {
|
|
6143
7697
|
USDC?: string | number | undefined;
|
|
7698
|
+
SOL?: string | number | undefined;
|
|
6144
7699
|
} | undefined;
|
|
6145
7700
|
};
|
|
6146
7701
|
ingress_fees: {
|
|
@@ -6156,9 +7711,13 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6156
7711
|
Polkadot: {
|
|
6157
7712
|
DOT: string | number | null;
|
|
6158
7713
|
};
|
|
6159
|
-
Arbitrum
|
|
6160
|
-
ETH
|
|
7714
|
+
Arbitrum: {
|
|
7715
|
+
ETH: string | number | null;
|
|
7716
|
+
USDC: string | number | null;
|
|
7717
|
+
};
|
|
7718
|
+
Solana?: {
|
|
6161
7719
|
USDC?: string | number | null | undefined;
|
|
7720
|
+
SOL?: string | number | null | undefined;
|
|
6162
7721
|
} | undefined;
|
|
6163
7722
|
};
|
|
6164
7723
|
egress_fees: {
|
|
@@ -6174,16 +7733,21 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6174
7733
|
Polkadot: {
|
|
6175
7734
|
DOT: string | number | null;
|
|
6176
7735
|
};
|
|
6177
|
-
Arbitrum
|
|
6178
|
-
ETH
|
|
7736
|
+
Arbitrum: {
|
|
7737
|
+
ETH: string | number | null;
|
|
7738
|
+
USDC: string | number | null;
|
|
7739
|
+
};
|
|
7740
|
+
Solana?: {
|
|
6179
7741
|
USDC?: string | number | null | undefined;
|
|
7742
|
+
SOL?: string | number | null | undefined;
|
|
6180
7743
|
} | undefined;
|
|
6181
7744
|
};
|
|
6182
7745
|
witness_safety_margins: {
|
|
6183
7746
|
Bitcoin: number | null;
|
|
6184
7747
|
Ethereum: number | null;
|
|
6185
7748
|
Polkadot: number | null;
|
|
6186
|
-
Arbitrum
|
|
7749
|
+
Arbitrum: number | null;
|
|
7750
|
+
Solana?: number | null | undefined;
|
|
6187
7751
|
};
|
|
6188
7752
|
egress_dust_limits: {
|
|
6189
7753
|
Bitcoin: {
|
|
@@ -6198,22 +7762,28 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6198
7762
|
Polkadot: {
|
|
6199
7763
|
DOT: string | number;
|
|
6200
7764
|
};
|
|
6201
|
-
Arbitrum
|
|
6202
|
-
ETH
|
|
7765
|
+
Arbitrum: {
|
|
7766
|
+
ETH: string | number;
|
|
7767
|
+
USDC: string | number;
|
|
7768
|
+
};
|
|
7769
|
+
Solana?: {
|
|
6203
7770
|
USDC?: string | number | undefined;
|
|
7771
|
+
SOL?: string | number | undefined;
|
|
6204
7772
|
} | undefined;
|
|
6205
7773
|
};
|
|
6206
7774
|
channel_opening_fees: {
|
|
6207
7775
|
Bitcoin: string | number;
|
|
6208
7776
|
Ethereum: string | number;
|
|
6209
7777
|
Polkadot: string | number;
|
|
6210
|
-
Arbitrum
|
|
7778
|
+
Arbitrum: string | number;
|
|
7779
|
+
Solana?: string | number | undefined;
|
|
6211
7780
|
};
|
|
6212
7781
|
max_swap_retry_duration_blocks?: {
|
|
6213
7782
|
Bitcoin: number;
|
|
6214
7783
|
Ethereum: number;
|
|
6215
7784
|
Polkadot: number;
|
|
6216
|
-
Arbitrum
|
|
7785
|
+
Arbitrum: number;
|
|
7786
|
+
Solana?: number | undefined;
|
|
6217
7787
|
} | undefined;
|
|
6218
7788
|
};
|
|
6219
7789
|
swapping: {
|
|
@@ -6230,9 +7800,13 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6230
7800
|
Polkadot: {
|
|
6231
7801
|
DOT: string | number | null;
|
|
6232
7802
|
};
|
|
6233
|
-
Arbitrum
|
|
6234
|
-
ETH
|
|
7803
|
+
Arbitrum: {
|
|
7804
|
+
ETH: string | number | null;
|
|
7805
|
+
USDC: string | number | null;
|
|
7806
|
+
};
|
|
7807
|
+
Solana?: {
|
|
6235
7808
|
USDC?: string | number | null | undefined;
|
|
7809
|
+
SOL?: string | number | null | undefined;
|
|
6236
7810
|
} | undefined;
|
|
6237
7811
|
};
|
|
6238
7812
|
network_fee_hundredth_pips: number;
|
|
@@ -6369,8 +7943,8 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6369
7943
|
};
|
|
6370
7944
|
};
|
|
6371
7945
|
};
|
|
6372
|
-
Arbitrum
|
|
6373
|
-
ETH
|
|
7946
|
+
Arbitrum: {
|
|
7947
|
+
ETH: {
|
|
6374
7948
|
limit_order_fee_hundredth_pips: number;
|
|
6375
7949
|
range_order_fee_hundredth_pips: number;
|
|
6376
7950
|
range_order_total_fees_earned: {
|
|
@@ -6393,7 +7967,33 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6393
7967
|
chain: "Ethereum";
|
|
6394
7968
|
asset: "USDC";
|
|
6395
7969
|
};
|
|
6396
|
-
}
|
|
7970
|
+
};
|
|
7971
|
+
USDC: {
|
|
7972
|
+
limit_order_fee_hundredth_pips: number;
|
|
7973
|
+
range_order_fee_hundredth_pips: number;
|
|
7974
|
+
range_order_total_fees_earned: {
|
|
7975
|
+
base: string;
|
|
7976
|
+
quote: string;
|
|
7977
|
+
};
|
|
7978
|
+
limit_order_total_fees_earned: {
|
|
7979
|
+
base: string;
|
|
7980
|
+
quote: string;
|
|
7981
|
+
};
|
|
7982
|
+
range_total_swap_inputs: {
|
|
7983
|
+
base: string;
|
|
7984
|
+
quote: string;
|
|
7985
|
+
};
|
|
7986
|
+
limit_total_swap_inputs: {
|
|
7987
|
+
base: string;
|
|
7988
|
+
quote: string;
|
|
7989
|
+
};
|
|
7990
|
+
quote_asset: {
|
|
7991
|
+
chain: "Ethereum";
|
|
7992
|
+
asset: "USDC";
|
|
7993
|
+
};
|
|
7994
|
+
};
|
|
7995
|
+
};
|
|
7996
|
+
Solana?: {
|
|
6397
7997
|
USDC?: {
|
|
6398
7998
|
limit_order_fee_hundredth_pips: number;
|
|
6399
7999
|
range_order_fee_hundredth_pips: number;
|
|
@@ -6418,6 +8018,30 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
6418
8018
|
asset: "USDC";
|
|
6419
8019
|
};
|
|
6420
8020
|
} | undefined;
|
|
8021
|
+
SOL?: {
|
|
8022
|
+
limit_order_fee_hundredth_pips: number;
|
|
8023
|
+
range_order_fee_hundredth_pips: number;
|
|
8024
|
+
range_order_total_fees_earned: {
|
|
8025
|
+
base: string;
|
|
8026
|
+
quote: string;
|
|
8027
|
+
};
|
|
8028
|
+
limit_order_total_fees_earned: {
|
|
8029
|
+
base: string;
|
|
8030
|
+
quote: string;
|
|
8031
|
+
};
|
|
8032
|
+
range_total_swap_inputs: {
|
|
8033
|
+
base: string;
|
|
8034
|
+
quote: string;
|
|
8035
|
+
};
|
|
8036
|
+
limit_total_swap_inputs: {
|
|
8037
|
+
base: string;
|
|
8038
|
+
quote: string;
|
|
8039
|
+
};
|
|
8040
|
+
quote_asset: {
|
|
8041
|
+
chain: "Ethereum";
|
|
8042
|
+
asset: "USDC";
|
|
8043
|
+
};
|
|
8044
|
+
} | undefined;
|
|
6421
8045
|
} | undefined;
|
|
6422
8046
|
};
|
|
6423
8047
|
};
|
|
@@ -6494,6 +8118,24 @@ declare const cfBoostPoolsDepth: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodO
|
|
|
6494
8118
|
}, {
|
|
6495
8119
|
chain: "Arbitrum";
|
|
6496
8120
|
asset: "USDC";
|
|
8121
|
+
}>, z.ZodObject<{
|
|
8122
|
+
chain: z.ZodLiteral<"Solana">;
|
|
8123
|
+
asset: z.ZodLiteral<"SOL">;
|
|
8124
|
+
}, "strip", z.ZodTypeAny, {
|
|
8125
|
+
chain: "Solana";
|
|
8126
|
+
asset: "SOL";
|
|
8127
|
+
}, {
|
|
8128
|
+
chain: "Solana";
|
|
8129
|
+
asset: "SOL";
|
|
8130
|
+
}>, z.ZodObject<{
|
|
8131
|
+
chain: z.ZodLiteral<"Solana">;
|
|
8132
|
+
asset: z.ZodLiteral<"USDC">;
|
|
8133
|
+
}, "strip", z.ZodTypeAny, {
|
|
8134
|
+
chain: "Solana";
|
|
8135
|
+
asset: "USDC";
|
|
8136
|
+
}, {
|
|
8137
|
+
chain: "Solana";
|
|
8138
|
+
asset: "USDC";
|
|
6497
8139
|
}>]>, z.ZodObject<{
|
|
6498
8140
|
tier: z.ZodNumber;
|
|
6499
8141
|
available_amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
@@ -6537,6 +8179,12 @@ declare const cfSupportedAsssets: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
|
6537
8179
|
} | {
|
|
6538
8180
|
chain: "Arbitrum";
|
|
6539
8181
|
asset: "USDC";
|
|
8182
|
+
} | {
|
|
8183
|
+
chain: "Solana";
|
|
8184
|
+
asset: "SOL";
|
|
8185
|
+
} | {
|
|
8186
|
+
chain: "Solana";
|
|
8187
|
+
asset: "USDC";
|
|
6540
8188
|
})[], {
|
|
6541
8189
|
chain: string;
|
|
6542
8190
|
asset: string;
|
|
@@ -6604,15 +8252,25 @@ declare const broker: z.ZodObject<{
|
|
|
6604
8252
|
}, {
|
|
6605
8253
|
DOT: string | number;
|
|
6606
8254
|
}>;
|
|
6607
|
-
Arbitrum: z.
|
|
6608
|
-
ETH: z.
|
|
6609
|
-
USDC: z.
|
|
8255
|
+
Arbitrum: z.ZodObject<{
|
|
8256
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
8257
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
6610
8258
|
}, "strip", z.ZodTypeAny, {
|
|
6611
8259
|
ETH: bigint;
|
|
6612
8260
|
USDC: bigint;
|
|
6613
8261
|
}, {
|
|
6614
|
-
ETH
|
|
8262
|
+
ETH: string | number;
|
|
8263
|
+
USDC: string | number;
|
|
8264
|
+
}>;
|
|
8265
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
8266
|
+
SOL: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8267
|
+
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8268
|
+
}, "strip", z.ZodTypeAny, {
|
|
8269
|
+
USDC: bigint;
|
|
8270
|
+
SOL: bigint;
|
|
8271
|
+
}, {
|
|
6615
8272
|
USDC?: string | number | undefined;
|
|
8273
|
+
SOL?: string | number | undefined;
|
|
6616
8274
|
}>>;
|
|
6617
8275
|
}, "strip", z.ZodTypeAny, {
|
|
6618
8276
|
Bitcoin: {
|
|
@@ -6631,6 +8289,10 @@ declare const broker: z.ZodObject<{
|
|
|
6631
8289
|
ETH: bigint;
|
|
6632
8290
|
USDC: bigint;
|
|
6633
8291
|
};
|
|
8292
|
+
Solana: {
|
|
8293
|
+
USDC: bigint;
|
|
8294
|
+
SOL: bigint;
|
|
8295
|
+
};
|
|
6634
8296
|
}, {
|
|
6635
8297
|
Bitcoin: {
|
|
6636
8298
|
BTC: string | number;
|
|
@@ -6644,9 +8306,13 @@ declare const broker: z.ZodObject<{
|
|
|
6644
8306
|
Polkadot: {
|
|
6645
8307
|
DOT: string | number;
|
|
6646
8308
|
};
|
|
6647
|
-
Arbitrum
|
|
6648
|
-
ETH
|
|
8309
|
+
Arbitrum: {
|
|
8310
|
+
ETH: string | number;
|
|
8311
|
+
USDC: string | number;
|
|
8312
|
+
};
|
|
8313
|
+
Solana?: {
|
|
6649
8314
|
USDC?: string | number | undefined;
|
|
8315
|
+
SOL?: string | number | undefined;
|
|
6650
8316
|
} | undefined;
|
|
6651
8317
|
}>;
|
|
6652
8318
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6669,6 +8335,10 @@ declare const broker: z.ZodObject<{
|
|
|
6669
8335
|
ETH: bigint;
|
|
6670
8336
|
USDC: bigint;
|
|
6671
8337
|
};
|
|
8338
|
+
Solana: {
|
|
8339
|
+
USDC: bigint;
|
|
8340
|
+
SOL: bigint;
|
|
8341
|
+
};
|
|
6672
8342
|
};
|
|
6673
8343
|
}, {
|
|
6674
8344
|
role: "broker";
|
|
@@ -6686,9 +8356,13 @@ declare const broker: z.ZodObject<{
|
|
|
6686
8356
|
Polkadot: {
|
|
6687
8357
|
DOT: string | number;
|
|
6688
8358
|
};
|
|
6689
|
-
Arbitrum
|
|
6690
|
-
ETH
|
|
8359
|
+
Arbitrum: {
|
|
8360
|
+
ETH: string | number;
|
|
8361
|
+
USDC: string | number;
|
|
8362
|
+
};
|
|
8363
|
+
Solana?: {
|
|
6691
8364
|
USDC?: string | number | undefined;
|
|
8365
|
+
SOL?: string | number | undefined;
|
|
6692
8366
|
} | undefined;
|
|
6693
8367
|
};
|
|
6694
8368
|
}>;
|
|
@@ -6725,15 +8399,25 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6725
8399
|
}, {
|
|
6726
8400
|
DOT: string | number;
|
|
6727
8401
|
}>;
|
|
6728
|
-
Arbitrum: z.
|
|
6729
|
-
ETH: z.
|
|
6730
|
-
USDC: z.
|
|
8402
|
+
Arbitrum: z.ZodObject<{
|
|
8403
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
8404
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
6731
8405
|
}, "strip", z.ZodTypeAny, {
|
|
6732
8406
|
ETH: bigint;
|
|
6733
8407
|
USDC: bigint;
|
|
6734
8408
|
}, {
|
|
6735
|
-
ETH
|
|
8409
|
+
ETH: string | number;
|
|
8410
|
+
USDC: string | number;
|
|
8411
|
+
}>;
|
|
8412
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
8413
|
+
SOL: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8414
|
+
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8415
|
+
}, "strip", z.ZodTypeAny, {
|
|
8416
|
+
USDC: bigint;
|
|
8417
|
+
SOL: bigint;
|
|
8418
|
+
}, {
|
|
6736
8419
|
USDC?: string | number | undefined;
|
|
8420
|
+
SOL?: string | number | undefined;
|
|
6737
8421
|
}>>;
|
|
6738
8422
|
}, "strip", z.ZodTypeAny, {
|
|
6739
8423
|
Bitcoin: {
|
|
@@ -6752,6 +8436,10 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6752
8436
|
ETH: bigint;
|
|
6753
8437
|
USDC: bigint;
|
|
6754
8438
|
};
|
|
8439
|
+
Solana: {
|
|
8440
|
+
USDC: bigint;
|
|
8441
|
+
SOL: bigint;
|
|
8442
|
+
};
|
|
6755
8443
|
}, {
|
|
6756
8444
|
Bitcoin: {
|
|
6757
8445
|
BTC: string | number;
|
|
@@ -6765,26 +8453,33 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6765
8453
|
Polkadot: {
|
|
6766
8454
|
DOT: string | number;
|
|
6767
8455
|
};
|
|
6768
|
-
Arbitrum
|
|
6769
|
-
ETH
|
|
8456
|
+
Arbitrum: {
|
|
8457
|
+
ETH: string | number;
|
|
8458
|
+
USDC: string | number;
|
|
8459
|
+
};
|
|
8460
|
+
Solana?: {
|
|
6770
8461
|
USDC?: string | number | undefined;
|
|
8462
|
+
SOL?: string | number | undefined;
|
|
6771
8463
|
} | undefined;
|
|
6772
8464
|
}>;
|
|
6773
8465
|
refund_addresses: z.ZodObject<{
|
|
6774
8466
|
Bitcoin: z.ZodNullable<z.ZodString>;
|
|
6775
8467
|
Ethereum: z.ZodNullable<z.ZodString>;
|
|
6776
8468
|
Polkadot: z.ZodNullable<z.ZodString>;
|
|
6777
|
-
Arbitrum: z.
|
|
8469
|
+
Arbitrum: z.ZodNullable<z.ZodString>;
|
|
8470
|
+
Solana: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6778
8471
|
}, "strip", z.ZodTypeAny, {
|
|
6779
8472
|
Bitcoin: string | null;
|
|
6780
8473
|
Ethereum: string | null;
|
|
6781
8474
|
Polkadot: string | null;
|
|
6782
8475
|
Arbitrum: string | null;
|
|
8476
|
+
Solana: string | null;
|
|
6783
8477
|
}, {
|
|
6784
8478
|
Bitcoin: string | null;
|
|
6785
8479
|
Ethereum: string | null;
|
|
6786
8480
|
Polkadot: string | null;
|
|
6787
|
-
Arbitrum
|
|
8481
|
+
Arbitrum: string | null;
|
|
8482
|
+
Solana?: string | null | undefined;
|
|
6788
8483
|
}>;
|
|
6789
8484
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
6790
8485
|
earned_fees: z.ZodObject<{
|
|
@@ -6818,15 +8513,25 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6818
8513
|
}, {
|
|
6819
8514
|
DOT: string | number;
|
|
6820
8515
|
}>;
|
|
6821
|
-
Arbitrum: z.
|
|
6822
|
-
ETH: z.
|
|
6823
|
-
USDC: z.
|
|
8516
|
+
Arbitrum: z.ZodObject<{
|
|
8517
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
8518
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
6824
8519
|
}, "strip", z.ZodTypeAny, {
|
|
6825
8520
|
ETH: bigint;
|
|
6826
8521
|
USDC: bigint;
|
|
6827
8522
|
}, {
|
|
6828
|
-
ETH
|
|
8523
|
+
ETH: string | number;
|
|
8524
|
+
USDC: string | number;
|
|
8525
|
+
}>;
|
|
8526
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
8527
|
+
SOL: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8528
|
+
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8529
|
+
}, "strip", z.ZodTypeAny, {
|
|
8530
|
+
USDC: bigint;
|
|
8531
|
+
SOL: bigint;
|
|
8532
|
+
}, {
|
|
6829
8533
|
USDC?: string | number | undefined;
|
|
8534
|
+
SOL?: string | number | undefined;
|
|
6830
8535
|
}>>;
|
|
6831
8536
|
}, "strip", z.ZodTypeAny, {
|
|
6832
8537
|
Bitcoin: {
|
|
@@ -6845,6 +8550,10 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6845
8550
|
ETH: bigint;
|
|
6846
8551
|
USDC: bigint;
|
|
6847
8552
|
};
|
|
8553
|
+
Solana: {
|
|
8554
|
+
USDC: bigint;
|
|
8555
|
+
SOL: bigint;
|
|
8556
|
+
};
|
|
6848
8557
|
}, {
|
|
6849
8558
|
Bitcoin: {
|
|
6850
8559
|
BTC: string | number;
|
|
@@ -6858,9 +8567,13 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6858
8567
|
Polkadot: {
|
|
6859
8568
|
DOT: string | number;
|
|
6860
8569
|
};
|
|
6861
|
-
Arbitrum
|
|
6862
|
-
ETH
|
|
8570
|
+
Arbitrum: {
|
|
8571
|
+
ETH: string | number;
|
|
8572
|
+
USDC: string | number;
|
|
8573
|
+
};
|
|
8574
|
+
Solana?: {
|
|
6863
8575
|
USDC?: string | number | undefined;
|
|
8576
|
+
SOL?: string | number | undefined;
|
|
6864
8577
|
} | undefined;
|
|
6865
8578
|
}>;
|
|
6866
8579
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6883,6 +8596,10 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6883
8596
|
ETH: bigint;
|
|
6884
8597
|
USDC: bigint;
|
|
6885
8598
|
};
|
|
8599
|
+
Solana: {
|
|
8600
|
+
USDC: bigint;
|
|
8601
|
+
SOL: bigint;
|
|
8602
|
+
};
|
|
6886
8603
|
};
|
|
6887
8604
|
balances: {
|
|
6888
8605
|
Bitcoin: {
|
|
@@ -6901,12 +8618,17 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6901
8618
|
ETH: bigint;
|
|
6902
8619
|
USDC: bigint;
|
|
6903
8620
|
};
|
|
8621
|
+
Solana: {
|
|
8622
|
+
USDC: bigint;
|
|
8623
|
+
SOL: bigint;
|
|
8624
|
+
};
|
|
6904
8625
|
};
|
|
6905
8626
|
refund_addresses: {
|
|
6906
8627
|
Bitcoin: string | null;
|
|
6907
8628
|
Ethereum: string | null;
|
|
6908
8629
|
Polkadot: string | null;
|
|
6909
8630
|
Arbitrum: string | null;
|
|
8631
|
+
Solana: string | null;
|
|
6910
8632
|
};
|
|
6911
8633
|
}, {
|
|
6912
8634
|
role: "liquidity_provider";
|
|
@@ -6924,9 +8646,13 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6924
8646
|
Polkadot: {
|
|
6925
8647
|
DOT: string | number;
|
|
6926
8648
|
};
|
|
6927
|
-
Arbitrum
|
|
6928
|
-
ETH
|
|
8649
|
+
Arbitrum: {
|
|
8650
|
+
ETH: string | number;
|
|
8651
|
+
USDC: string | number;
|
|
8652
|
+
};
|
|
8653
|
+
Solana?: {
|
|
6929
8654
|
USDC?: string | number | undefined;
|
|
8655
|
+
SOL?: string | number | undefined;
|
|
6930
8656
|
} | undefined;
|
|
6931
8657
|
};
|
|
6932
8658
|
balances: {
|
|
@@ -6942,16 +8668,21 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
6942
8668
|
Polkadot: {
|
|
6943
8669
|
DOT: string | number;
|
|
6944
8670
|
};
|
|
6945
|
-
Arbitrum
|
|
6946
|
-
ETH
|
|
8671
|
+
Arbitrum: {
|
|
8672
|
+
ETH: string | number;
|
|
8673
|
+
USDC: string | number;
|
|
8674
|
+
};
|
|
8675
|
+
Solana?: {
|
|
6947
8676
|
USDC?: string | number | undefined;
|
|
8677
|
+
SOL?: string | number | undefined;
|
|
6948
8678
|
} | undefined;
|
|
6949
8679
|
};
|
|
6950
8680
|
refund_addresses: {
|
|
6951
8681
|
Bitcoin: string | null;
|
|
6952
8682
|
Ethereum: string | null;
|
|
6953
8683
|
Polkadot: string | null;
|
|
6954
|
-
Arbitrum
|
|
8684
|
+
Arbitrum: string | null;
|
|
8685
|
+
Solana?: string | null | undefined;
|
|
6955
8686
|
};
|
|
6956
8687
|
}>;
|
|
6957
8688
|
declare const validator: z.ZodObject<{
|
|
@@ -7043,15 +8774,25 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7043
8774
|
}, {
|
|
7044
8775
|
DOT: string | number;
|
|
7045
8776
|
}>;
|
|
7046
|
-
Arbitrum: z.
|
|
7047
|
-
ETH: z.
|
|
7048
|
-
USDC: z.
|
|
8777
|
+
Arbitrum: z.ZodObject<{
|
|
8778
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
8779
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
7049
8780
|
}, "strip", z.ZodTypeAny, {
|
|
7050
8781
|
ETH: bigint;
|
|
7051
8782
|
USDC: bigint;
|
|
7052
8783
|
}, {
|
|
7053
|
-
ETH
|
|
8784
|
+
ETH: string | number;
|
|
8785
|
+
USDC: string | number;
|
|
8786
|
+
}>;
|
|
8787
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
8788
|
+
SOL: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8789
|
+
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8790
|
+
}, "strip", z.ZodTypeAny, {
|
|
8791
|
+
USDC: bigint;
|
|
8792
|
+
SOL: bigint;
|
|
8793
|
+
}, {
|
|
7054
8794
|
USDC?: string | number | undefined;
|
|
8795
|
+
SOL?: string | number | undefined;
|
|
7055
8796
|
}>>;
|
|
7056
8797
|
}, "strip", z.ZodTypeAny, {
|
|
7057
8798
|
Bitcoin: {
|
|
@@ -7070,6 +8811,10 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7070
8811
|
ETH: bigint;
|
|
7071
8812
|
USDC: bigint;
|
|
7072
8813
|
};
|
|
8814
|
+
Solana: {
|
|
8815
|
+
USDC: bigint;
|
|
8816
|
+
SOL: bigint;
|
|
8817
|
+
};
|
|
7073
8818
|
}, {
|
|
7074
8819
|
Bitcoin: {
|
|
7075
8820
|
BTC: string | number;
|
|
@@ -7083,9 +8828,13 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7083
8828
|
Polkadot: {
|
|
7084
8829
|
DOT: string | number;
|
|
7085
8830
|
};
|
|
7086
|
-
Arbitrum
|
|
7087
|
-
ETH
|
|
8831
|
+
Arbitrum: {
|
|
8832
|
+
ETH: string | number;
|
|
8833
|
+
USDC: string | number;
|
|
8834
|
+
};
|
|
8835
|
+
Solana?: {
|
|
7088
8836
|
USDC?: string | number | undefined;
|
|
8837
|
+
SOL?: string | number | undefined;
|
|
7089
8838
|
} | undefined;
|
|
7090
8839
|
}>;
|
|
7091
8840
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7108,6 +8857,10 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7108
8857
|
ETH: bigint;
|
|
7109
8858
|
USDC: bigint;
|
|
7110
8859
|
};
|
|
8860
|
+
Solana: {
|
|
8861
|
+
USDC: bigint;
|
|
8862
|
+
SOL: bigint;
|
|
8863
|
+
};
|
|
7111
8864
|
};
|
|
7112
8865
|
}, {
|
|
7113
8866
|
role: "broker";
|
|
@@ -7125,9 +8878,13 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7125
8878
|
Polkadot: {
|
|
7126
8879
|
DOT: string | number;
|
|
7127
8880
|
};
|
|
7128
|
-
Arbitrum
|
|
7129
|
-
ETH
|
|
8881
|
+
Arbitrum: {
|
|
8882
|
+
ETH: string | number;
|
|
8883
|
+
USDC: string | number;
|
|
8884
|
+
};
|
|
8885
|
+
Solana?: {
|
|
7130
8886
|
USDC?: string | number | undefined;
|
|
8887
|
+
SOL?: string | number | undefined;
|
|
7131
8888
|
} | undefined;
|
|
7132
8889
|
};
|
|
7133
8890
|
}>, z.ZodObject<{
|
|
@@ -7163,15 +8920,25 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7163
8920
|
}, {
|
|
7164
8921
|
DOT: string | number;
|
|
7165
8922
|
}>;
|
|
7166
|
-
Arbitrum: z.
|
|
7167
|
-
ETH: z.
|
|
7168
|
-
USDC: z.
|
|
8923
|
+
Arbitrum: z.ZodObject<{
|
|
8924
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
8925
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
7169
8926
|
}, "strip", z.ZodTypeAny, {
|
|
7170
8927
|
ETH: bigint;
|
|
7171
8928
|
USDC: bigint;
|
|
7172
8929
|
}, {
|
|
7173
|
-
ETH
|
|
8930
|
+
ETH: string | number;
|
|
8931
|
+
USDC: string | number;
|
|
8932
|
+
}>;
|
|
8933
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
8934
|
+
SOL: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8935
|
+
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8936
|
+
}, "strip", z.ZodTypeAny, {
|
|
8937
|
+
USDC: bigint;
|
|
8938
|
+
SOL: bigint;
|
|
8939
|
+
}, {
|
|
7174
8940
|
USDC?: string | number | undefined;
|
|
8941
|
+
SOL?: string | number | undefined;
|
|
7175
8942
|
}>>;
|
|
7176
8943
|
}, "strip", z.ZodTypeAny, {
|
|
7177
8944
|
Bitcoin: {
|
|
@@ -7190,6 +8957,10 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7190
8957
|
ETH: bigint;
|
|
7191
8958
|
USDC: bigint;
|
|
7192
8959
|
};
|
|
8960
|
+
Solana: {
|
|
8961
|
+
USDC: bigint;
|
|
8962
|
+
SOL: bigint;
|
|
8963
|
+
};
|
|
7193
8964
|
}, {
|
|
7194
8965
|
Bitcoin: {
|
|
7195
8966
|
BTC: string | number;
|
|
@@ -7203,26 +8974,33 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7203
8974
|
Polkadot: {
|
|
7204
8975
|
DOT: string | number;
|
|
7205
8976
|
};
|
|
7206
|
-
Arbitrum
|
|
7207
|
-
ETH
|
|
8977
|
+
Arbitrum: {
|
|
8978
|
+
ETH: string | number;
|
|
8979
|
+
USDC: string | number;
|
|
8980
|
+
};
|
|
8981
|
+
Solana?: {
|
|
7208
8982
|
USDC?: string | number | undefined;
|
|
8983
|
+
SOL?: string | number | undefined;
|
|
7209
8984
|
} | undefined;
|
|
7210
8985
|
}>;
|
|
7211
8986
|
refund_addresses: z.ZodObject<{
|
|
7212
8987
|
Bitcoin: z.ZodNullable<z.ZodString>;
|
|
7213
8988
|
Ethereum: z.ZodNullable<z.ZodString>;
|
|
7214
8989
|
Polkadot: z.ZodNullable<z.ZodString>;
|
|
7215
|
-
Arbitrum: z.
|
|
8990
|
+
Arbitrum: z.ZodNullable<z.ZodString>;
|
|
8991
|
+
Solana: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7216
8992
|
}, "strip", z.ZodTypeAny, {
|
|
7217
8993
|
Bitcoin: string | null;
|
|
7218
8994
|
Ethereum: string | null;
|
|
7219
8995
|
Polkadot: string | null;
|
|
7220
8996
|
Arbitrum: string | null;
|
|
8997
|
+
Solana: string | null;
|
|
7221
8998
|
}, {
|
|
7222
8999
|
Bitcoin: string | null;
|
|
7223
9000
|
Ethereum: string | null;
|
|
7224
9001
|
Polkadot: string | null;
|
|
7225
|
-
Arbitrum
|
|
9002
|
+
Arbitrum: string | null;
|
|
9003
|
+
Solana?: string | null | undefined;
|
|
7226
9004
|
}>;
|
|
7227
9005
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
7228
9006
|
earned_fees: z.ZodObject<{
|
|
@@ -7256,15 +9034,25 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7256
9034
|
}, {
|
|
7257
9035
|
DOT: string | number;
|
|
7258
9036
|
}>;
|
|
7259
|
-
Arbitrum: z.
|
|
7260
|
-
ETH: z.
|
|
7261
|
-
USDC: z.
|
|
9037
|
+
Arbitrum: z.ZodObject<{
|
|
9038
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
9039
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
7262
9040
|
}, "strip", z.ZodTypeAny, {
|
|
7263
9041
|
ETH: bigint;
|
|
7264
9042
|
USDC: bigint;
|
|
7265
9043
|
}, {
|
|
7266
|
-
ETH
|
|
9044
|
+
ETH: string | number;
|
|
9045
|
+
USDC: string | number;
|
|
9046
|
+
}>;
|
|
9047
|
+
Solana: z.ZodDefault<z.ZodObject<{
|
|
9048
|
+
SOL: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
9049
|
+
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
9050
|
+
}, "strip", z.ZodTypeAny, {
|
|
9051
|
+
USDC: bigint;
|
|
9052
|
+
SOL: bigint;
|
|
9053
|
+
}, {
|
|
7267
9054
|
USDC?: string | number | undefined;
|
|
9055
|
+
SOL?: string | number | undefined;
|
|
7268
9056
|
}>>;
|
|
7269
9057
|
}, "strip", z.ZodTypeAny, {
|
|
7270
9058
|
Bitcoin: {
|
|
@@ -7283,6 +9071,10 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7283
9071
|
ETH: bigint;
|
|
7284
9072
|
USDC: bigint;
|
|
7285
9073
|
};
|
|
9074
|
+
Solana: {
|
|
9075
|
+
USDC: bigint;
|
|
9076
|
+
SOL: bigint;
|
|
9077
|
+
};
|
|
7286
9078
|
}, {
|
|
7287
9079
|
Bitcoin: {
|
|
7288
9080
|
BTC: string | number;
|
|
@@ -7296,9 +9088,13 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7296
9088
|
Polkadot: {
|
|
7297
9089
|
DOT: string | number;
|
|
7298
9090
|
};
|
|
7299
|
-
Arbitrum
|
|
7300
|
-
ETH
|
|
9091
|
+
Arbitrum: {
|
|
9092
|
+
ETH: string | number;
|
|
9093
|
+
USDC: string | number;
|
|
9094
|
+
};
|
|
9095
|
+
Solana?: {
|
|
7301
9096
|
USDC?: string | number | undefined;
|
|
9097
|
+
SOL?: string | number | undefined;
|
|
7302
9098
|
} | undefined;
|
|
7303
9099
|
}>;
|
|
7304
9100
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7321,6 +9117,10 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7321
9117
|
ETH: bigint;
|
|
7322
9118
|
USDC: bigint;
|
|
7323
9119
|
};
|
|
9120
|
+
Solana: {
|
|
9121
|
+
USDC: bigint;
|
|
9122
|
+
SOL: bigint;
|
|
9123
|
+
};
|
|
7324
9124
|
};
|
|
7325
9125
|
balances: {
|
|
7326
9126
|
Bitcoin: {
|
|
@@ -7339,12 +9139,17 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7339
9139
|
ETH: bigint;
|
|
7340
9140
|
USDC: bigint;
|
|
7341
9141
|
};
|
|
9142
|
+
Solana: {
|
|
9143
|
+
USDC: bigint;
|
|
9144
|
+
SOL: bigint;
|
|
9145
|
+
};
|
|
7342
9146
|
};
|
|
7343
9147
|
refund_addresses: {
|
|
7344
9148
|
Bitcoin: string | null;
|
|
7345
9149
|
Ethereum: string | null;
|
|
7346
9150
|
Polkadot: string | null;
|
|
7347
9151
|
Arbitrum: string | null;
|
|
9152
|
+
Solana: string | null;
|
|
7348
9153
|
};
|
|
7349
9154
|
}, {
|
|
7350
9155
|
role: "liquidity_provider";
|
|
@@ -7362,9 +9167,13 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7362
9167
|
Polkadot: {
|
|
7363
9168
|
DOT: string | number;
|
|
7364
9169
|
};
|
|
7365
|
-
Arbitrum
|
|
7366
|
-
ETH
|
|
9170
|
+
Arbitrum: {
|
|
9171
|
+
ETH: string | number;
|
|
9172
|
+
USDC: string | number;
|
|
9173
|
+
};
|
|
9174
|
+
Solana?: {
|
|
7367
9175
|
USDC?: string | number | undefined;
|
|
9176
|
+
SOL?: string | number | undefined;
|
|
7368
9177
|
} | undefined;
|
|
7369
9178
|
};
|
|
7370
9179
|
balances: {
|
|
@@ -7380,16 +9189,21 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
7380
9189
|
Polkadot: {
|
|
7381
9190
|
DOT: string | number;
|
|
7382
9191
|
};
|
|
7383
|
-
Arbitrum
|
|
7384
|
-
ETH
|
|
9192
|
+
Arbitrum: {
|
|
9193
|
+
ETH: string | number;
|
|
9194
|
+
USDC: string | number;
|
|
9195
|
+
};
|
|
9196
|
+
Solana?: {
|
|
7385
9197
|
USDC?: string | number | undefined;
|
|
9198
|
+
SOL?: string | number | undefined;
|
|
7386
9199
|
} | undefined;
|
|
7387
9200
|
};
|
|
7388
9201
|
refund_addresses: {
|
|
7389
9202
|
Bitcoin: string | null;
|
|
7390
9203
|
Ethereum: string | null;
|
|
7391
9204
|
Polkadot: string | null;
|
|
7392
|
-
Arbitrum
|
|
9205
|
+
Arbitrum: string | null;
|
|
9206
|
+
Solana?: string | null | undefined;
|
|
7393
9207
|
};
|
|
7394
9208
|
}>, z.ZodObject<{
|
|
7395
9209
|
role: z.ZodLiteral<"validator">;
|
|
@@ -7513,6 +9327,24 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
7513
9327
|
}, {
|
|
7514
9328
|
chain: "Arbitrum";
|
|
7515
9329
|
asset: "USDC";
|
|
9330
|
+
}>, z.ZodObject<{
|
|
9331
|
+
chain: z.ZodLiteral<"Solana">;
|
|
9332
|
+
asset: z.ZodLiteral<"SOL">;
|
|
9333
|
+
}, "strip", z.ZodTypeAny, {
|
|
9334
|
+
chain: "Solana";
|
|
9335
|
+
asset: "SOL";
|
|
9336
|
+
}, {
|
|
9337
|
+
chain: "Solana";
|
|
9338
|
+
asset: "SOL";
|
|
9339
|
+
}>, z.ZodObject<{
|
|
9340
|
+
chain: z.ZodLiteral<"Solana">;
|
|
9341
|
+
asset: z.ZodLiteral<"USDC">;
|
|
9342
|
+
}, "strip", z.ZodTypeAny, {
|
|
9343
|
+
chain: "Solana";
|
|
9344
|
+
asset: "USDC";
|
|
9345
|
+
}, {
|
|
9346
|
+
chain: "Solana";
|
|
9347
|
+
asset: "USDC";
|
|
7516
9348
|
}>]>;
|
|
7517
9349
|
quote_asset: z.ZodUnion<[z.ZodObject<{
|
|
7518
9350
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
@@ -7586,6 +9418,24 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
7586
9418
|
}, {
|
|
7587
9419
|
chain: "Arbitrum";
|
|
7588
9420
|
asset: "USDC";
|
|
9421
|
+
}>, z.ZodObject<{
|
|
9422
|
+
chain: z.ZodLiteral<"Solana">;
|
|
9423
|
+
asset: z.ZodLiteral<"SOL">;
|
|
9424
|
+
}, "strip", z.ZodTypeAny, {
|
|
9425
|
+
chain: "Solana";
|
|
9426
|
+
asset: "SOL";
|
|
9427
|
+
}, {
|
|
9428
|
+
chain: "Solana";
|
|
9429
|
+
asset: "SOL";
|
|
9430
|
+
}>, z.ZodObject<{
|
|
9431
|
+
chain: z.ZodLiteral<"Solana">;
|
|
9432
|
+
asset: z.ZodLiteral<"USDC">;
|
|
9433
|
+
}, "strip", z.ZodTypeAny, {
|
|
9434
|
+
chain: "Solana";
|
|
9435
|
+
asset: "USDC";
|
|
9436
|
+
}, {
|
|
9437
|
+
chain: "Solana";
|
|
9438
|
+
asset: "USDC";
|
|
7589
9439
|
}>]>;
|
|
7590
9440
|
}, "strip", z.ZodTypeAny, {
|
|
7591
9441
|
quote_asset: {
|
|
@@ -7612,6 +9462,12 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
7612
9462
|
} | {
|
|
7613
9463
|
chain: "Arbitrum";
|
|
7614
9464
|
asset: "USDC";
|
|
9465
|
+
} | {
|
|
9466
|
+
chain: "Solana";
|
|
9467
|
+
asset: "SOL";
|
|
9468
|
+
} | {
|
|
9469
|
+
chain: "Solana";
|
|
9470
|
+
asset: "USDC";
|
|
7615
9471
|
};
|
|
7616
9472
|
sell: bigint | null;
|
|
7617
9473
|
buy: bigint | null;
|
|
@@ -7640,6 +9496,12 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
7640
9496
|
} | {
|
|
7641
9497
|
chain: "Arbitrum";
|
|
7642
9498
|
asset: "USDC";
|
|
9499
|
+
} | {
|
|
9500
|
+
chain: "Solana";
|
|
9501
|
+
asset: "SOL";
|
|
9502
|
+
} | {
|
|
9503
|
+
chain: "Solana";
|
|
9504
|
+
asset: "USDC";
|
|
7643
9505
|
};
|
|
7644
9506
|
}, {
|
|
7645
9507
|
quote_asset: {
|
|
@@ -7666,6 +9528,12 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
7666
9528
|
} | {
|
|
7667
9529
|
chain: "Arbitrum";
|
|
7668
9530
|
asset: "USDC";
|
|
9531
|
+
} | {
|
|
9532
|
+
chain: "Solana";
|
|
9533
|
+
asset: "SOL";
|
|
9534
|
+
} | {
|
|
9535
|
+
chain: "Solana";
|
|
9536
|
+
asset: "USDC";
|
|
7669
9537
|
};
|
|
7670
9538
|
sell: string | number | null;
|
|
7671
9539
|
buy: string | number | null;
|
|
@@ -7694,6 +9562,12 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
7694
9562
|
} | {
|
|
7695
9563
|
chain: "Arbitrum";
|
|
7696
9564
|
asset: "USDC";
|
|
9565
|
+
} | {
|
|
9566
|
+
chain: "Solana";
|
|
9567
|
+
asset: "SOL";
|
|
9568
|
+
} | {
|
|
9569
|
+
chain: "Solana";
|
|
9570
|
+
asset: "USDC";
|
|
7697
9571
|
};
|
|
7698
9572
|
}>;
|
|
7699
9573
|
declare const ask: z.ZodEffects<z.ZodObject<{
|
|
@@ -8173,6 +10047,24 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
8173
10047
|
}, {
|
|
8174
10048
|
chain: "Arbitrum";
|
|
8175
10049
|
asset: "USDC";
|
|
10050
|
+
}>, z.ZodObject<{
|
|
10051
|
+
chain: z.ZodLiteral<"Solana">;
|
|
10052
|
+
asset: z.ZodLiteral<"SOL">;
|
|
10053
|
+
}, "strip", z.ZodTypeAny, {
|
|
10054
|
+
chain: "Solana";
|
|
10055
|
+
asset: "SOL";
|
|
10056
|
+
}, {
|
|
10057
|
+
chain: "Solana";
|
|
10058
|
+
asset: "SOL";
|
|
10059
|
+
}>, z.ZodObject<{
|
|
10060
|
+
chain: z.ZodLiteral<"Solana">;
|
|
10061
|
+
asset: z.ZodLiteral<"USDC">;
|
|
10062
|
+
}, "strip", z.ZodTypeAny, {
|
|
10063
|
+
chain: "Solana";
|
|
10064
|
+
asset: "USDC";
|
|
10065
|
+
}, {
|
|
10066
|
+
chain: "Solana";
|
|
10067
|
+
asset: "USDC";
|
|
8176
10068
|
}>]>, z.ZodObject<{
|
|
8177
10069
|
fee_tier: z.ZodNumber;
|
|
8178
10070
|
available_amounts: z.ZodArray<z.ZodObject<{
|
|
@@ -8327,6 +10219,24 @@ declare const cfBoostPoolPendingFees: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z
|
|
|
8327
10219
|
}, {
|
|
8328
10220
|
chain: "Arbitrum";
|
|
8329
10221
|
asset: "USDC";
|
|
10222
|
+
}>, z.ZodObject<{
|
|
10223
|
+
chain: z.ZodLiteral<"Solana">;
|
|
10224
|
+
asset: z.ZodLiteral<"SOL">;
|
|
10225
|
+
}, "strip", z.ZodTypeAny, {
|
|
10226
|
+
chain: "Solana";
|
|
10227
|
+
asset: "SOL";
|
|
10228
|
+
}, {
|
|
10229
|
+
chain: "Solana";
|
|
10230
|
+
asset: "SOL";
|
|
10231
|
+
}>, z.ZodObject<{
|
|
10232
|
+
chain: z.ZodLiteral<"Solana">;
|
|
10233
|
+
asset: z.ZodLiteral<"USDC">;
|
|
10234
|
+
}, "strip", z.ZodTypeAny, {
|
|
10235
|
+
chain: "Solana";
|
|
10236
|
+
asset: "USDC";
|
|
10237
|
+
}, {
|
|
10238
|
+
chain: "Solana";
|
|
10239
|
+
asset: "USDC";
|
|
8330
10240
|
}>]>, z.ZodObject<{
|
|
8331
10241
|
fee_tier: z.ZodNumber;
|
|
8332
10242
|
pending_fees: z.ZodArray<z.ZodObject<{
|