@longdotxyz/shared 0.0.25 → 0.0.27
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/contracts/asset.contract.d.ts +68 -0
- package/dist/contracts/asset.contract.js +2 -0
- package/dist/contracts/asset.contract.js.map +1 -1
- package/dist/contracts/auction-template.contract.d.ts +1 -0
- package/dist/contracts/auction-template.contract.js +1 -0
- package/dist/contracts/auction-template.contract.js.map +1 -1
- package/dist/contracts/auction.contract.d.ts +3 -0
- package/dist/contracts/auction.contract.js +3 -0
- package/dist/contracts/auction.contract.js.map +1 -1
- package/dist/contracts/index.d.ts +64 -0
- package/dist/contracts/ipfs.contract.d.ts +2 -0
- package/dist/contracts/ipfs.contract.js +2 -0
- package/dist/contracts/ipfs.contract.js.map +1 -1
- package/dist/contracts/quote.contract.d.ts +4 -0
- package/dist/contracts/quote.contract.js +4 -0
- package/dist/contracts/quote.contract.js.map +1 -1
- package/dist/graphql/generated.d.ts +22 -63
- package/dist/graphql/generated.js +2 -8
- package/dist/graphql/generated.js.map +1 -1
- package/package.json +1 -1
|
@@ -48,6 +48,7 @@ export declare const rootContract: {
|
|
|
48
48
|
base_token: import("zod").ZodObject<{
|
|
49
49
|
token_address: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
50
50
|
token_name: import("zod").ZodString;
|
|
51
|
+
token_description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
51
52
|
token_symbol: import("zod").ZodString;
|
|
52
53
|
token_uri_data: import("zod").ZodNullable<import("zod").ZodAny>;
|
|
53
54
|
token_image_public_url: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -57,6 +58,7 @@ export declare const rootContract: {
|
|
|
57
58
|
}, "strip", import("zod").ZodTypeAny, {
|
|
58
59
|
token_address: `0x${string}`;
|
|
59
60
|
token_name: string;
|
|
61
|
+
token_description: string | null;
|
|
60
62
|
token_symbol: string;
|
|
61
63
|
token_image_public_url: string | null;
|
|
62
64
|
token_creator_address: `0x${string}`;
|
|
@@ -66,6 +68,7 @@ export declare const rootContract: {
|
|
|
66
68
|
}, {
|
|
67
69
|
token_address: string;
|
|
68
70
|
token_name: string;
|
|
71
|
+
token_description: string | null;
|
|
69
72
|
token_symbol: string;
|
|
70
73
|
token_image_public_url: string | null;
|
|
71
74
|
token_creator_address: string;
|
|
@@ -97,6 +100,7 @@ export declare const rootContract: {
|
|
|
97
100
|
base_token: {
|
|
98
101
|
token_address: `0x${string}`;
|
|
99
102
|
token_name: string;
|
|
103
|
+
token_description: string | null;
|
|
100
104
|
token_symbol: string;
|
|
101
105
|
token_image_public_url: string | null;
|
|
102
106
|
token_creator_address: `0x${string}`;
|
|
@@ -128,6 +132,7 @@ export declare const rootContract: {
|
|
|
128
132
|
base_token: {
|
|
129
133
|
token_address: string;
|
|
130
134
|
token_name: string;
|
|
135
|
+
token_description: string | null;
|
|
131
136
|
token_symbol: string;
|
|
132
137
|
token_image_public_url: string | null;
|
|
133
138
|
token_creator_address: string;
|
|
@@ -149,6 +154,7 @@ export declare const rootContract: {
|
|
|
149
154
|
base_token: import("zod").ZodObject<{
|
|
150
155
|
token_address: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
151
156
|
token_name: import("zod").ZodString;
|
|
157
|
+
token_description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
152
158
|
token_symbol: import("zod").ZodString;
|
|
153
159
|
token_uri_data: import("zod").ZodNullable<import("zod").ZodAny>;
|
|
154
160
|
token_image_public_url: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -159,6 +165,7 @@ export declare const rootContract: {
|
|
|
159
165
|
}, "strip", import("zod").ZodTypeAny, {
|
|
160
166
|
token_address: `0x${string}`;
|
|
161
167
|
token_name: string;
|
|
168
|
+
token_description: string | null;
|
|
162
169
|
token_symbol: string;
|
|
163
170
|
token_image_public_url: string | null;
|
|
164
171
|
token_creator_address: `0x${string}`;
|
|
@@ -169,6 +176,7 @@ export declare const rootContract: {
|
|
|
169
176
|
}, {
|
|
170
177
|
token_address: string;
|
|
171
178
|
token_name: string;
|
|
179
|
+
token_description: string | null;
|
|
172
180
|
token_symbol: string;
|
|
173
181
|
token_image_public_url: string | null;
|
|
174
182
|
token_creator_address: string;
|
|
@@ -190,6 +198,7 @@ export declare const rootContract: {
|
|
|
190
198
|
base_token: {
|
|
191
199
|
token_address: `0x${string}`;
|
|
192
200
|
token_name: string;
|
|
201
|
+
token_description: string | null;
|
|
193
202
|
token_symbol: string;
|
|
194
203
|
token_image_public_url: string | null;
|
|
195
204
|
token_creator_address: `0x${string}`;
|
|
@@ -211,6 +220,7 @@ export declare const rootContract: {
|
|
|
211
220
|
base_token: {
|
|
212
221
|
token_address: string;
|
|
213
222
|
token_name: string;
|
|
223
|
+
token_description: string | null;
|
|
214
224
|
token_symbol: string;
|
|
215
225
|
token_image_public_url: string | null;
|
|
216
226
|
token_creator_address: string;
|
|
@@ -249,6 +259,7 @@ export declare const rootContract: {
|
|
|
249
259
|
base_token: {
|
|
250
260
|
token_address: `0x${string}`;
|
|
251
261
|
token_name: string;
|
|
262
|
+
token_description: string | null;
|
|
252
263
|
token_symbol: string;
|
|
253
264
|
token_image_public_url: string | null;
|
|
254
265
|
token_creator_address: `0x${string}`;
|
|
@@ -270,6 +281,7 @@ export declare const rootContract: {
|
|
|
270
281
|
base_token: {
|
|
271
282
|
token_address: `0x${string}`;
|
|
272
283
|
token_name: string;
|
|
284
|
+
token_description: string | null;
|
|
273
285
|
token_symbol: string;
|
|
274
286
|
token_image_public_url: string | null;
|
|
275
287
|
token_creator_address: `0x${string}`;
|
|
@@ -308,6 +320,7 @@ export declare const rootContract: {
|
|
|
308
320
|
base_token: {
|
|
309
321
|
token_address: string;
|
|
310
322
|
token_name: string;
|
|
323
|
+
token_description: string | null;
|
|
311
324
|
token_symbol: string;
|
|
312
325
|
token_image_public_url: string | null;
|
|
313
326
|
token_creator_address: string;
|
|
@@ -329,6 +342,7 @@ export declare const rootContract: {
|
|
|
329
342
|
base_token: {
|
|
330
343
|
token_address: string;
|
|
331
344
|
token_name: string;
|
|
345
|
+
token_description: string | null;
|
|
332
346
|
token_symbol: string;
|
|
333
347
|
token_image_public_url: string | null;
|
|
334
348
|
token_creator_address: string;
|
|
@@ -369,6 +383,7 @@ export declare const rootContract: {
|
|
|
369
383
|
base_token: {
|
|
370
384
|
token_address: `0x${string}`;
|
|
371
385
|
token_name: string;
|
|
386
|
+
token_description: string | null;
|
|
372
387
|
token_symbol: string;
|
|
373
388
|
token_image_public_url: string | null;
|
|
374
389
|
token_creator_address: `0x${string}`;
|
|
@@ -390,6 +405,7 @@ export declare const rootContract: {
|
|
|
390
405
|
base_token: {
|
|
391
406
|
token_address: `0x${string}`;
|
|
392
407
|
token_name: string;
|
|
408
|
+
token_description: string | null;
|
|
393
409
|
token_symbol: string;
|
|
394
410
|
token_image_public_url: string | null;
|
|
395
411
|
token_creator_address: `0x${string}`;
|
|
@@ -430,6 +446,7 @@ export declare const rootContract: {
|
|
|
430
446
|
base_token: {
|
|
431
447
|
token_address: string;
|
|
432
448
|
token_name: string;
|
|
449
|
+
token_description: string | null;
|
|
433
450
|
token_symbol: string;
|
|
434
451
|
token_image_public_url: string | null;
|
|
435
452
|
token_creator_address: string;
|
|
@@ -451,6 +468,7 @@ export declare const rootContract: {
|
|
|
451
468
|
base_token: {
|
|
452
469
|
token_address: string;
|
|
453
470
|
token_name: string;
|
|
471
|
+
token_description: string | null;
|
|
454
472
|
token_symbol: string;
|
|
455
473
|
token_image_public_url: string | null;
|
|
456
474
|
token_creator_address: string;
|
|
@@ -509,6 +527,7 @@ export declare const rootContract: {
|
|
|
509
527
|
base_token: import("zod").ZodObject<{
|
|
510
528
|
token_address: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
511
529
|
token_name: import("zod").ZodString;
|
|
530
|
+
token_description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
512
531
|
token_symbol: import("zod").ZodString;
|
|
513
532
|
token_uri_data: import("zod").ZodNullable<import("zod").ZodAny>;
|
|
514
533
|
token_image_public_url: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -518,6 +537,7 @@ export declare const rootContract: {
|
|
|
518
537
|
}, "strip", import("zod").ZodTypeAny, {
|
|
519
538
|
token_address: `0x${string}`;
|
|
520
539
|
token_name: string;
|
|
540
|
+
token_description: string | null;
|
|
521
541
|
token_symbol: string;
|
|
522
542
|
token_image_public_url: string | null;
|
|
523
543
|
token_creator_address: `0x${string}`;
|
|
@@ -527,6 +547,7 @@ export declare const rootContract: {
|
|
|
527
547
|
}, {
|
|
528
548
|
token_address: string;
|
|
529
549
|
token_name: string;
|
|
550
|
+
token_description: string | null;
|
|
530
551
|
token_symbol: string;
|
|
531
552
|
token_image_public_url: string | null;
|
|
532
553
|
token_creator_address: string;
|
|
@@ -558,6 +579,7 @@ export declare const rootContract: {
|
|
|
558
579
|
base_token: {
|
|
559
580
|
token_address: `0x${string}`;
|
|
560
581
|
token_name: string;
|
|
582
|
+
token_description: string | null;
|
|
561
583
|
token_symbol: string;
|
|
562
584
|
token_image_public_url: string | null;
|
|
563
585
|
token_creator_address: `0x${string}`;
|
|
@@ -589,6 +611,7 @@ export declare const rootContract: {
|
|
|
589
611
|
base_token: {
|
|
590
612
|
token_address: string;
|
|
591
613
|
token_name: string;
|
|
614
|
+
token_description: string | null;
|
|
592
615
|
token_symbol: string;
|
|
593
616
|
token_image_public_url: string | null;
|
|
594
617
|
token_creator_address: string;
|
|
@@ -610,6 +633,7 @@ export declare const rootContract: {
|
|
|
610
633
|
base_token: import("zod").ZodObject<{
|
|
611
634
|
token_address: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
612
635
|
token_name: import("zod").ZodString;
|
|
636
|
+
token_description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
613
637
|
token_symbol: import("zod").ZodString;
|
|
614
638
|
token_uri_data: import("zod").ZodNullable<import("zod").ZodAny>;
|
|
615
639
|
token_image_public_url: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -620,6 +644,7 @@ export declare const rootContract: {
|
|
|
620
644
|
}, "strip", import("zod").ZodTypeAny, {
|
|
621
645
|
token_address: `0x${string}`;
|
|
622
646
|
token_name: string;
|
|
647
|
+
token_description: string | null;
|
|
623
648
|
token_symbol: string;
|
|
624
649
|
token_image_public_url: string | null;
|
|
625
650
|
token_creator_address: `0x${string}`;
|
|
@@ -630,6 +655,7 @@ export declare const rootContract: {
|
|
|
630
655
|
}, {
|
|
631
656
|
token_address: string;
|
|
632
657
|
token_name: string;
|
|
658
|
+
token_description: string | null;
|
|
633
659
|
token_symbol: string;
|
|
634
660
|
token_image_public_url: string | null;
|
|
635
661
|
token_creator_address: string;
|
|
@@ -651,6 +677,7 @@ export declare const rootContract: {
|
|
|
651
677
|
base_token: {
|
|
652
678
|
token_address: `0x${string}`;
|
|
653
679
|
token_name: string;
|
|
680
|
+
token_description: string | null;
|
|
654
681
|
token_symbol: string;
|
|
655
682
|
token_image_public_url: string | null;
|
|
656
683
|
token_creator_address: `0x${string}`;
|
|
@@ -672,6 +699,7 @@ export declare const rootContract: {
|
|
|
672
699
|
base_token: {
|
|
673
700
|
token_address: string;
|
|
674
701
|
token_name: string;
|
|
702
|
+
token_description: string | null;
|
|
675
703
|
token_symbol: string;
|
|
676
704
|
token_image_public_url: string | null;
|
|
677
705
|
token_creator_address: string;
|
|
@@ -710,6 +738,7 @@ export declare const rootContract: {
|
|
|
710
738
|
base_token: {
|
|
711
739
|
token_address: `0x${string}`;
|
|
712
740
|
token_name: string;
|
|
741
|
+
token_description: string | null;
|
|
713
742
|
token_symbol: string;
|
|
714
743
|
token_image_public_url: string | null;
|
|
715
744
|
token_creator_address: `0x${string}`;
|
|
@@ -731,6 +760,7 @@ export declare const rootContract: {
|
|
|
731
760
|
base_token: {
|
|
732
761
|
token_address: `0x${string}`;
|
|
733
762
|
token_name: string;
|
|
763
|
+
token_description: string | null;
|
|
734
764
|
token_symbol: string;
|
|
735
765
|
token_image_public_url: string | null;
|
|
736
766
|
token_creator_address: `0x${string}`;
|
|
@@ -769,6 +799,7 @@ export declare const rootContract: {
|
|
|
769
799
|
base_token: {
|
|
770
800
|
token_address: string;
|
|
771
801
|
token_name: string;
|
|
802
|
+
token_description: string | null;
|
|
772
803
|
token_symbol: string;
|
|
773
804
|
token_image_public_url: string | null;
|
|
774
805
|
token_creator_address: string;
|
|
@@ -790,6 +821,7 @@ export declare const rootContract: {
|
|
|
790
821
|
base_token: {
|
|
791
822
|
token_address: string;
|
|
792
823
|
token_name: string;
|
|
824
|
+
token_description: string | null;
|
|
793
825
|
token_symbol: string;
|
|
794
826
|
token_image_public_url: string | null;
|
|
795
827
|
token_creator_address: string;
|
|
@@ -830,6 +862,7 @@ export declare const rootContract: {
|
|
|
830
862
|
base_token: {
|
|
831
863
|
token_address: `0x${string}`;
|
|
832
864
|
token_name: string;
|
|
865
|
+
token_description: string | null;
|
|
833
866
|
token_symbol: string;
|
|
834
867
|
token_image_public_url: string | null;
|
|
835
868
|
token_creator_address: `0x${string}`;
|
|
@@ -851,6 +884,7 @@ export declare const rootContract: {
|
|
|
851
884
|
base_token: {
|
|
852
885
|
token_address: `0x${string}`;
|
|
853
886
|
token_name: string;
|
|
887
|
+
token_description: string | null;
|
|
854
888
|
token_symbol: string;
|
|
855
889
|
token_image_public_url: string | null;
|
|
856
890
|
token_creator_address: `0x${string}`;
|
|
@@ -891,6 +925,7 @@ export declare const rootContract: {
|
|
|
891
925
|
base_token: {
|
|
892
926
|
token_address: string;
|
|
893
927
|
token_name: string;
|
|
928
|
+
token_description: string | null;
|
|
894
929
|
token_symbol: string;
|
|
895
930
|
token_image_public_url: string | null;
|
|
896
931
|
token_creator_address: string;
|
|
@@ -912,6 +947,7 @@ export declare const rootContract: {
|
|
|
912
947
|
base_token: {
|
|
913
948
|
token_address: string;
|
|
914
949
|
token_name: string;
|
|
950
|
+
token_description: string | null;
|
|
915
951
|
token_symbol: string;
|
|
916
952
|
token_image_public_url: string | null;
|
|
917
953
|
token_creator_address: string;
|
|
@@ -967,6 +1003,7 @@ export declare const rootContract: {
|
|
|
967
1003
|
base_token: import("zod").ZodObject<{
|
|
968
1004
|
token_address: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
969
1005
|
token_name: import("zod").ZodString;
|
|
1006
|
+
token_description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
970
1007
|
token_symbol: import("zod").ZodString;
|
|
971
1008
|
token_uri_data: import("zod").ZodNullable<import("zod").ZodAny>;
|
|
972
1009
|
token_image_public_url: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -976,6 +1013,7 @@ export declare const rootContract: {
|
|
|
976
1013
|
}, "strip", import("zod").ZodTypeAny, {
|
|
977
1014
|
token_address: `0x${string}`;
|
|
978
1015
|
token_name: string;
|
|
1016
|
+
token_description: string | null;
|
|
979
1017
|
token_symbol: string;
|
|
980
1018
|
token_image_public_url: string | null;
|
|
981
1019
|
token_creator_address: `0x${string}`;
|
|
@@ -985,6 +1023,7 @@ export declare const rootContract: {
|
|
|
985
1023
|
}, {
|
|
986
1024
|
token_address: string;
|
|
987
1025
|
token_name: string;
|
|
1026
|
+
token_description: string | null;
|
|
988
1027
|
token_symbol: string;
|
|
989
1028
|
token_image_public_url: string | null;
|
|
990
1029
|
token_creator_address: string;
|
|
@@ -1016,6 +1055,7 @@ export declare const rootContract: {
|
|
|
1016
1055
|
base_token: {
|
|
1017
1056
|
token_address: `0x${string}`;
|
|
1018
1057
|
token_name: string;
|
|
1058
|
+
token_description: string | null;
|
|
1019
1059
|
token_symbol: string;
|
|
1020
1060
|
token_image_public_url: string | null;
|
|
1021
1061
|
token_creator_address: `0x${string}`;
|
|
@@ -1047,6 +1087,7 @@ export declare const rootContract: {
|
|
|
1047
1087
|
base_token: {
|
|
1048
1088
|
token_address: string;
|
|
1049
1089
|
token_name: string;
|
|
1090
|
+
token_description: string | null;
|
|
1050
1091
|
token_symbol: string;
|
|
1051
1092
|
token_image_public_url: string | null;
|
|
1052
1093
|
token_creator_address: string;
|
|
@@ -1068,6 +1109,7 @@ export declare const rootContract: {
|
|
|
1068
1109
|
base_token: import("zod").ZodObject<{
|
|
1069
1110
|
token_address: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
1070
1111
|
token_name: import("zod").ZodString;
|
|
1112
|
+
token_description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1071
1113
|
token_symbol: import("zod").ZodString;
|
|
1072
1114
|
token_uri_data: import("zod").ZodNullable<import("zod").ZodAny>;
|
|
1073
1115
|
token_image_public_url: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -1078,6 +1120,7 @@ export declare const rootContract: {
|
|
|
1078
1120
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1079
1121
|
token_address: `0x${string}`;
|
|
1080
1122
|
token_name: string;
|
|
1123
|
+
token_description: string | null;
|
|
1081
1124
|
token_symbol: string;
|
|
1082
1125
|
token_image_public_url: string | null;
|
|
1083
1126
|
token_creator_address: `0x${string}`;
|
|
@@ -1088,6 +1131,7 @@ export declare const rootContract: {
|
|
|
1088
1131
|
}, {
|
|
1089
1132
|
token_address: string;
|
|
1090
1133
|
token_name: string;
|
|
1134
|
+
token_description: string | null;
|
|
1091
1135
|
token_symbol: string;
|
|
1092
1136
|
token_image_public_url: string | null;
|
|
1093
1137
|
token_creator_address: string;
|
|
@@ -1109,6 +1153,7 @@ export declare const rootContract: {
|
|
|
1109
1153
|
base_token: {
|
|
1110
1154
|
token_address: `0x${string}`;
|
|
1111
1155
|
token_name: string;
|
|
1156
|
+
token_description: string | null;
|
|
1112
1157
|
token_symbol: string;
|
|
1113
1158
|
token_image_public_url: string | null;
|
|
1114
1159
|
token_creator_address: `0x${string}`;
|
|
@@ -1130,6 +1175,7 @@ export declare const rootContract: {
|
|
|
1130
1175
|
base_token: {
|
|
1131
1176
|
token_address: string;
|
|
1132
1177
|
token_name: string;
|
|
1178
|
+
token_description: string | null;
|
|
1133
1179
|
token_symbol: string;
|
|
1134
1180
|
token_image_public_url: string | null;
|
|
1135
1181
|
token_creator_address: string;
|
|
@@ -1168,6 +1214,7 @@ export declare const rootContract: {
|
|
|
1168
1214
|
base_token: {
|
|
1169
1215
|
token_address: `0x${string}`;
|
|
1170
1216
|
token_name: string;
|
|
1217
|
+
token_description: string | null;
|
|
1171
1218
|
token_symbol: string;
|
|
1172
1219
|
token_image_public_url: string | null;
|
|
1173
1220
|
token_creator_address: `0x${string}`;
|
|
@@ -1189,6 +1236,7 @@ export declare const rootContract: {
|
|
|
1189
1236
|
base_token: {
|
|
1190
1237
|
token_address: `0x${string}`;
|
|
1191
1238
|
token_name: string;
|
|
1239
|
+
token_description: string | null;
|
|
1192
1240
|
token_symbol: string;
|
|
1193
1241
|
token_image_public_url: string | null;
|
|
1194
1242
|
token_creator_address: `0x${string}`;
|
|
@@ -1227,6 +1275,7 @@ export declare const rootContract: {
|
|
|
1227
1275
|
base_token: {
|
|
1228
1276
|
token_address: string;
|
|
1229
1277
|
token_name: string;
|
|
1278
|
+
token_description: string | null;
|
|
1230
1279
|
token_symbol: string;
|
|
1231
1280
|
token_image_public_url: string | null;
|
|
1232
1281
|
token_creator_address: string;
|
|
@@ -1248,6 +1297,7 @@ export declare const rootContract: {
|
|
|
1248
1297
|
base_token: {
|
|
1249
1298
|
token_address: string;
|
|
1250
1299
|
token_name: string;
|
|
1300
|
+
token_description: string | null;
|
|
1251
1301
|
token_symbol: string;
|
|
1252
1302
|
token_image_public_url: string | null;
|
|
1253
1303
|
token_creator_address: string;
|
|
@@ -1288,6 +1338,7 @@ export declare const rootContract: {
|
|
|
1288
1338
|
base_token: {
|
|
1289
1339
|
token_address: `0x${string}`;
|
|
1290
1340
|
token_name: string;
|
|
1341
|
+
token_description: string | null;
|
|
1291
1342
|
token_symbol: string;
|
|
1292
1343
|
token_image_public_url: string | null;
|
|
1293
1344
|
token_creator_address: `0x${string}`;
|
|
@@ -1309,6 +1360,7 @@ export declare const rootContract: {
|
|
|
1309
1360
|
base_token: {
|
|
1310
1361
|
token_address: `0x${string}`;
|
|
1311
1362
|
token_name: string;
|
|
1363
|
+
token_description: string | null;
|
|
1312
1364
|
token_symbol: string;
|
|
1313
1365
|
token_image_public_url: string | null;
|
|
1314
1366
|
token_creator_address: `0x${string}`;
|
|
@@ -1349,6 +1401,7 @@ export declare const rootContract: {
|
|
|
1349
1401
|
base_token: {
|
|
1350
1402
|
token_address: string;
|
|
1351
1403
|
token_name: string;
|
|
1404
|
+
token_description: string | null;
|
|
1352
1405
|
token_symbol: string;
|
|
1353
1406
|
token_image_public_url: string | null;
|
|
1354
1407
|
token_creator_address: string;
|
|
@@ -1370,6 +1423,7 @@ export declare const rootContract: {
|
|
|
1370
1423
|
base_token: {
|
|
1371
1424
|
token_address: string;
|
|
1372
1425
|
token_name: string;
|
|
1426
|
+
token_description: string | null;
|
|
1373
1427
|
token_symbol: string;
|
|
1374
1428
|
token_image_public_url: string | null;
|
|
1375
1429
|
token_creator_address: string;
|
|
@@ -1386,6 +1440,7 @@ export declare const rootContract: {
|
|
|
1386
1440
|
};
|
|
1387
1441
|
auctions: {
|
|
1388
1442
|
listAuctions: {
|
|
1443
|
+
description: "List all auctions for an integrator";
|
|
1389
1444
|
method: "GET";
|
|
1390
1445
|
path: "/auctions/";
|
|
1391
1446
|
responses: {
|
|
@@ -1451,6 +1506,7 @@ export declare const rootContract: {
|
|
|
1451
1506
|
}, {
|
|
1452
1507
|
poolAddress: string;
|
|
1453
1508
|
}>;
|
|
1509
|
+
description: "Get an auction by its pool address";
|
|
1454
1510
|
method: "GET";
|
|
1455
1511
|
path: "/auctions/:poolAddress";
|
|
1456
1512
|
responses: {
|
|
@@ -1509,6 +1565,7 @@ export declare const rootContract: {
|
|
|
1509
1565
|
};
|
|
1510
1566
|
};
|
|
1511
1567
|
createDynamicAuction: {
|
|
1568
|
+
description: "Create a dynamic auction based on an auction template";
|
|
1512
1569
|
method: "POST";
|
|
1513
1570
|
body: import("zod").ZodObject<{
|
|
1514
1571
|
chain_id: import("zod").ZodNumber;
|
|
@@ -1719,6 +1776,7 @@ export declare const rootContract: {
|
|
|
1719
1776
|
};
|
|
1720
1777
|
auctionTemplates: {
|
|
1721
1778
|
listAuctionTemplates: {
|
|
1779
|
+
description: "List all auction templates for an integrator";
|
|
1722
1780
|
method: "GET";
|
|
1723
1781
|
path: "/auction-templates/";
|
|
1724
1782
|
responses: {
|
|
@@ -1849,6 +1907,7 @@ export declare const rootContract: {
|
|
|
1849
1907
|
};
|
|
1850
1908
|
ipfs: {
|
|
1851
1909
|
uploadImage: {
|
|
1910
|
+
description: "Upload an image to IPFS";
|
|
1852
1911
|
method: "POST";
|
|
1853
1912
|
contentType: "multipart/form-data";
|
|
1854
1913
|
body: import("@ts-rest/core").ContractPlainType<{
|
|
@@ -1866,6 +1925,7 @@ export declare const rootContract: {
|
|
|
1866
1925
|
};
|
|
1867
1926
|
};
|
|
1868
1927
|
uploadMetadata: {
|
|
1928
|
+
description: "Upload metadata to IPFS";
|
|
1869
1929
|
method: "POST";
|
|
1870
1930
|
body: import("zod").ZodObject<{
|
|
1871
1931
|
name: import("zod").ZodString;
|
|
@@ -1933,6 +1993,7 @@ export declare const rootContract: {
|
|
|
1933
1993
|
};
|
|
1934
1994
|
quotes: {
|
|
1935
1995
|
v4ExactOutputSingle: {
|
|
1996
|
+
description: "Get a quote for an exact output single V4 swap";
|
|
1936
1997
|
method: "POST";
|
|
1937
1998
|
body: import("zod").ZodObject<{
|
|
1938
1999
|
chain_id: import("zod").ZodNumber;
|
|
@@ -2010,6 +2071,7 @@ export declare const rootContract: {
|
|
|
2010
2071
|
};
|
|
2011
2072
|
};
|
|
2012
2073
|
v4ExactInputSingle: {
|
|
2074
|
+
description: "Get a quote for an exact input single V4 swap";
|
|
2013
2075
|
method: "POST";
|
|
2014
2076
|
body: import("zod").ZodObject<{
|
|
2015
2077
|
chain_id: import("zod").ZodNumber;
|
|
@@ -2087,6 +2149,7 @@ export declare const rootContract: {
|
|
|
2087
2149
|
};
|
|
2088
2150
|
};
|
|
2089
2151
|
v3ExactOutputSingle: {
|
|
2152
|
+
description: "Get a quote for an exact output single V3 swap";
|
|
2090
2153
|
method: "POST";
|
|
2091
2154
|
body: import("zod").ZodObject<{
|
|
2092
2155
|
chain_id: import("zod").ZodNumber;
|
|
@@ -2144,6 +2207,7 @@ export declare const rootContract: {
|
|
|
2144
2207
|
};
|
|
2145
2208
|
};
|
|
2146
2209
|
v3ExactInputSingle: {
|
|
2210
|
+
description: "Get a quote for an exact input single V3 swap";
|
|
2147
2211
|
method: "POST";
|
|
2148
2212
|
body: import("zod").ZodObject<{
|
|
2149
2213
|
chain_id: import("zod").ZodNumber;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import z from "zod";
|
|
2
2
|
declare const ipfsContract: {
|
|
3
3
|
uploadImage: {
|
|
4
|
+
description: "Upload an image to IPFS";
|
|
4
5
|
method: "POST";
|
|
5
6
|
contentType: "multipart/form-data";
|
|
6
7
|
body: import("@ts-rest/core").ContractPlainType<{
|
|
@@ -18,6 +19,7 @@ declare const ipfsContract: {
|
|
|
18
19
|
};
|
|
19
20
|
};
|
|
20
21
|
uploadMetadata: {
|
|
22
|
+
description: "Upload metadata to IPFS";
|
|
21
23
|
method: "POST";
|
|
22
24
|
body: z.ZodObject<{
|
|
23
25
|
name: z.ZodString;
|
|
@@ -15,6 +15,7 @@ const ipfsContract = contract.router({
|
|
|
15
15
|
result: zod_1.default.string(),
|
|
16
16
|
}),
|
|
17
17
|
},
|
|
18
|
+
description: "Upload an image to IPFS",
|
|
18
19
|
},
|
|
19
20
|
uploadMetadata: {
|
|
20
21
|
path: "/upload-metadata",
|
|
@@ -38,6 +39,7 @@ const ipfsContract = contract.router({
|
|
|
38
39
|
result: zod_1.default.string(),
|
|
39
40
|
}),
|
|
40
41
|
},
|
|
42
|
+
description: "Upload metadata to IPFS",
|
|
41
43
|
},
|
|
42
44
|
}, {
|
|
43
45
|
pathPrefix: "/ipfs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ipfs.contract.js","sourceRoot":"","sources":["../../src/contracts/ipfs.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEhC,MAAM,YAAY,GAAG,QAAQ,CAAC,MAAM,CAChC;IACI,WAAW,EAAE;QACT,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,MAAM;QACd,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAmB;QACtC,SAAS,EAAE;YACP,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,MAAM,EAAE,aAAC,CAAC,MAAM,EAAE;aACrB,CAAC;SACL;
|
|
1
|
+
{"version":3,"file":"ipfs.contract.js","sourceRoot":"","sources":["../../src/contracts/ipfs.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEhC,MAAM,YAAY,GAAG,QAAQ,CAAC,MAAM,CAChC;IACI,WAAW,EAAE;QACT,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,MAAM;QACd,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAmB;QACtC,SAAS,EAAE;YACP,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,MAAM,EAAE,aAAC,CAAC,MAAM,EAAE;aACrB,CAAC;SACL;QACD,WAAW,EAAE,yBAAyB;KACzC;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,kBAAkB;QACxB,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,aAAC,CAAC,MAAM,CAAC;YACX,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE;YAChB,WAAW,EAAE,aAAC,CAAC,MAAM,EAAE;YACvB,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE;YACtB,YAAY,EAAE,aAAC,CAAC,KAAK,CACjB,aAAC,CAAC,MAAM,CAAC;gBACL,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE;gBACjB,GAAG,EAAE,aAAC,CAAC,MAAM,EAAE;aAClB,CAAC,CACL;YACD,kBAAkB,EAAE,aAAC,CAAC,KAAK,CACvB,aAAC,CAAC,MAAM,CAAC;gBACL,OAAO,EAAE,aAAC,CAAC,MAAM,EAAE;gBACnB,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE;aACzB,CAAC,CACL;YACD,YAAY,EAAE,aAAC,CAAC,MAAM,EAAE;SAC3B,CAAC;QACF,SAAS,EAAE;YACP,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,MAAM,EAAE,aAAC,CAAC,MAAM,EAAE;aACrB,CAAC;SACL;QACD,WAAW,EAAE,yBAAyB;KACzC;CACJ,EACD;IACI,UAAU,EAAE,OAAO;CACtB,CACJ,CAAC;AAEO,oCAAY"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import z from "zod";
|
|
2
2
|
declare const quoteContract: {
|
|
3
3
|
v4ExactOutputSingle: {
|
|
4
|
+
description: "Get a quote for an exact output single V4 swap";
|
|
4
5
|
method: "POST";
|
|
5
6
|
body: z.ZodObject<{
|
|
6
7
|
chain_id: z.ZodNumber;
|
|
@@ -78,6 +79,7 @@ declare const quoteContract: {
|
|
|
78
79
|
};
|
|
79
80
|
};
|
|
80
81
|
v4ExactInputSingle: {
|
|
82
|
+
description: "Get a quote for an exact input single V4 swap";
|
|
81
83
|
method: "POST";
|
|
82
84
|
body: z.ZodObject<{
|
|
83
85
|
chain_id: z.ZodNumber;
|
|
@@ -155,6 +157,7 @@ declare const quoteContract: {
|
|
|
155
157
|
};
|
|
156
158
|
};
|
|
157
159
|
v3ExactOutputSingle: {
|
|
160
|
+
description: "Get a quote for an exact output single V3 swap";
|
|
158
161
|
method: "POST";
|
|
159
162
|
body: z.ZodObject<{
|
|
160
163
|
chain_id: z.ZodNumber;
|
|
@@ -212,6 +215,7 @@ declare const quoteContract: {
|
|
|
212
215
|
};
|
|
213
216
|
};
|
|
214
217
|
v3ExactInputSingle: {
|
|
218
|
+
description: "Get a quote for an exact input single V3 swap";
|
|
215
219
|
method: "POST";
|
|
216
220
|
body: z.ZodObject<{
|
|
217
221
|
chain_id: z.ZodNumber;
|
|
@@ -24,6 +24,7 @@ const quoteContract = contract.router({
|
|
|
24
24
|
}),
|
|
25
25
|
}),
|
|
26
26
|
},
|
|
27
|
+
description: "Get a quote for an exact output single V4 swap",
|
|
27
28
|
},
|
|
28
29
|
v4ExactInputSingle: {
|
|
29
30
|
method: "POST",
|
|
@@ -43,6 +44,7 @@ const quoteContract = contract.router({
|
|
|
43
44
|
}),
|
|
44
45
|
}),
|
|
45
46
|
},
|
|
47
|
+
description: "Get a quote for an exact input single V4 swap",
|
|
46
48
|
},
|
|
47
49
|
v3ExactOutputSingle: {
|
|
48
50
|
method: "POST",
|
|
@@ -64,6 +66,7 @@ const quoteContract = contract.router({
|
|
|
64
66
|
}),
|
|
65
67
|
}),
|
|
66
68
|
},
|
|
69
|
+
description: "Get a quote for an exact output single V3 swap",
|
|
67
70
|
},
|
|
68
71
|
v3ExactInputSingle: {
|
|
69
72
|
method: "POST",
|
|
@@ -86,6 +89,7 @@ const quoteContract = contract.router({
|
|
|
86
89
|
}),
|
|
87
90
|
}),
|
|
88
91
|
},
|
|
92
|
+
description: "Get a quote for an exact input single V3 swap",
|
|
89
93
|
},
|
|
90
94
|
}, {
|
|
91
95
|
pathPrefix: "/quotes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quote.contract.js","sourceRoot":"","sources":["../../src/contracts/quote.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,oCAA4D;AAE5D,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEhC,MAAM,aAAa,GAAG,QAAQ,CAAC,MAAM,CACjC;IACI,mBAAmB,EAAE;QACjB,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,aAAC,CAAC,MAAM,CAAC;YACX,QAAQ,EAAE,aAAC,CAAC,MAAM,EAAE;YACpB,QAAQ,EAAE,qBAAa;YACvB,YAAY,EAAE,aAAC,CAAC,OAAO,EAAE;YACzB,YAAY,EAAE,oBAAY;YAC1B,SAAS,EAAE,aAAC,CAAC,QAAQ,CAAC,aAAC,CAAC,MAAM,EAAE,CAAC;SACpC,CAAC;QACF,SAAS,EAAE;YACP,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,MAAM,EAAE,aAAC,CAAC,MAAM,CAAC;oBACb,SAAS,EAAE,aAAC,CAAC,MAAM,EAAE;oBACrB,YAAY,EAAE,aAAC,CAAC,MAAM,EAAE;iBAC3B,CAAC;aACL,CAAC;SACL;
|
|
1
|
+
{"version":3,"file":"quote.contract.js","sourceRoot":"","sources":["../../src/contracts/quote.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,oCAA4D;AAE5D,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEhC,MAAM,aAAa,GAAG,QAAQ,CAAC,MAAM,CACjC;IACI,mBAAmB,EAAE;QACjB,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,aAAC,CAAC,MAAM,CAAC;YACX,QAAQ,EAAE,aAAC,CAAC,MAAM,EAAE;YACpB,QAAQ,EAAE,qBAAa;YACvB,YAAY,EAAE,aAAC,CA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