@merkl/api 1.0.94 → 1.0.96
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/src/eden/index.d.ts +122 -10
- package/dist/src/index.d.ts +61 -5
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +14 -0
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +10 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +58 -45
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +44 -0
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +6 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +28 -4
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +36 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +15 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +23 -2
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +1 -0
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +3 -2
- package/dist/src/modules/v4/programPayload/programPayload.service.d.ts +1 -0
- package/dist/src/modules/v4/reward/reward.model.d.ts +10 -0
- package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +13 -0
- package/dist/src/modules/v4/router.d.ts +61 -5
- package/dist/src/modules/v4/token/token.controller.d.ts +11 -1
- package/dist/src/modules/v4/token/token.model.d.ts +19 -2
- package/dist/src/modules/v4/token/token.repository.d.ts +5 -0
- package/dist/src/modules/v4/token/token.service.d.ts +15 -0
- package/dist/src/modules/v4/user/user.controller.d.ts +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -53,6 +53,7 @@ export declare const v4: Elysia<"/v4", {
|
|
53
53
|
creatorTag?: string | undefined;
|
54
54
|
distributionChainIds?: number[] | undefined;
|
55
55
|
types?: string[] | undefined;
|
56
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
56
57
|
withOpportunity?: boolean | undefined;
|
57
58
|
createdAfter?: Date | null | undefined;
|
58
59
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -78,7 +79,7 @@ export declare const v4: Elysia<"/v4", {
|
|
78
79
|
breakdowns: {
|
79
80
|
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
80
81
|
value: number;
|
81
|
-
type: "
|
82
|
+
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
82
83
|
identifier: string;
|
83
84
|
}[];
|
84
85
|
} | undefined;
|
@@ -106,6 +107,7 @@ export declare const v4: Elysia<"/v4", {
|
|
106
107
|
address: string;
|
107
108
|
id: string;
|
108
109
|
chainId: number;
|
110
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
109
111
|
icon: string;
|
110
112
|
isNative: boolean;
|
111
113
|
isPoint: boolean;
|
@@ -128,6 +130,7 @@ export declare const v4: Elysia<"/v4", {
|
|
128
130
|
address: string;
|
129
131
|
id: string;
|
130
132
|
chainId: number;
|
133
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
131
134
|
icon: string;
|
132
135
|
isNative: boolean;
|
133
136
|
isPoint: boolean;
|
@@ -175,6 +178,7 @@ export declare const v4: Elysia<"/v4", {
|
|
175
178
|
address: string;
|
176
179
|
id: string;
|
177
180
|
chainId: number;
|
181
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
178
182
|
icon: string;
|
179
183
|
isNative: boolean;
|
180
184
|
isPoint: boolean;
|
@@ -257,6 +261,7 @@ export declare const v4: Elysia<"/v4", {
|
|
257
261
|
campaigns?: boolean | undefined;
|
258
262
|
point?: boolean | undefined;
|
259
263
|
test?: boolean | undefined;
|
264
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
260
265
|
excludeSubCampaigns?: boolean | undefined;
|
261
266
|
};
|
262
267
|
headers: unknown;
|
@@ -280,7 +285,7 @@ export declare const v4: Elysia<"/v4", {
|
|
280
285
|
breakdowns: {
|
281
286
|
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
282
287
|
value: number;
|
283
|
-
type: "
|
288
|
+
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
284
289
|
identifier: string;
|
285
290
|
}[];
|
286
291
|
} | undefined;
|
@@ -308,6 +313,7 @@ export declare const v4: Elysia<"/v4", {
|
|
308
313
|
address: string;
|
309
314
|
id: string;
|
310
315
|
chainId: number;
|
316
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
311
317
|
icon: string;
|
312
318
|
isNative: boolean;
|
313
319
|
isPoint: boolean;
|
@@ -330,6 +336,7 @@ export declare const v4: Elysia<"/v4", {
|
|
330
336
|
address: string;
|
331
337
|
id: string;
|
332
338
|
chainId: number;
|
339
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
333
340
|
icon: string;
|
334
341
|
isNative: boolean;
|
335
342
|
isPoint: boolean;
|
@@ -395,6 +402,7 @@ export declare const v4: Elysia<"/v4", {
|
|
395
402
|
campaigns?: boolean | undefined;
|
396
403
|
point?: boolean | undefined;
|
397
404
|
test?: boolean | undefined;
|
405
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
398
406
|
excludeSubCampaigns?: boolean | undefined;
|
399
407
|
};
|
400
408
|
headers: unknown;
|
@@ -418,7 +426,7 @@ export declare const v4: Elysia<"/v4", {
|
|
418
426
|
breakdowns: {
|
419
427
|
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
420
428
|
value: number;
|
421
|
-
type: "
|
429
|
+
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
422
430
|
identifier: string;
|
423
431
|
}[];
|
424
432
|
} | undefined;
|
@@ -446,6 +454,7 @@ export declare const v4: Elysia<"/v4", {
|
|
446
454
|
address: string;
|
447
455
|
id: string;
|
448
456
|
chainId: number;
|
457
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
449
458
|
icon: string;
|
450
459
|
isNative: boolean;
|
451
460
|
isPoint: boolean;
|
@@ -468,6 +477,7 @@ export declare const v4: Elysia<"/v4", {
|
|
468
477
|
address: string;
|
469
478
|
id: string;
|
470
479
|
chainId: number;
|
480
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
471
481
|
icon: string;
|
472
482
|
isNative: boolean;
|
473
483
|
isPoint: boolean;
|
@@ -515,6 +525,7 @@ export declare const v4: Elysia<"/v4", {
|
|
515
525
|
address: string;
|
516
526
|
id: string;
|
517
527
|
chainId: number;
|
528
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
518
529
|
icon: string;
|
519
530
|
isNative: boolean;
|
520
531
|
isPoint: boolean;
|
@@ -611,6 +622,7 @@ export declare const v4: Elysia<"/v4", {
|
|
611
622
|
tags?: string | undefined;
|
612
623
|
test?: boolean | undefined;
|
613
624
|
page?: number | undefined;
|
625
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
614
626
|
excludeSubCampaigns?: boolean | undefined;
|
615
627
|
minimumTvl?: number | undefined;
|
616
628
|
maximumTvl?: number | undefined;
|
@@ -639,7 +651,7 @@ export declare const v4: Elysia<"/v4", {
|
|
639
651
|
breakdowns: {
|
640
652
|
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
641
653
|
value: number;
|
642
|
-
type: "
|
654
|
+
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
643
655
|
identifier: string;
|
644
656
|
}[];
|
645
657
|
} | undefined;
|
@@ -667,6 +679,7 @@ export declare const v4: Elysia<"/v4", {
|
|
667
679
|
address: string;
|
668
680
|
id: string;
|
669
681
|
chainId: number;
|
682
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
670
683
|
icon: string;
|
671
684
|
isNative: boolean;
|
672
685
|
isPoint: boolean;
|
@@ -689,6 +702,7 @@ export declare const v4: Elysia<"/v4", {
|
|
689
702
|
address: string;
|
690
703
|
id: string;
|
691
704
|
chainId: number;
|
705
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
692
706
|
icon: string;
|
693
707
|
isNative: boolean;
|
694
708
|
isPoint: boolean;
|
@@ -757,6 +771,7 @@ export declare const v4: Elysia<"/v4", {
|
|
757
771
|
tags?: string | undefined;
|
758
772
|
test?: boolean | undefined;
|
759
773
|
page?: number | undefined;
|
774
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
760
775
|
excludeSubCampaigns?: boolean | undefined;
|
761
776
|
minimumTvl?: number | undefined;
|
762
777
|
maximumTvl?: number | undefined;
|
@@ -807,6 +822,7 @@ export declare const v4: Elysia<"/v4", {
|
|
807
822
|
tags?: string | undefined;
|
808
823
|
test?: boolean | undefined;
|
809
824
|
page?: number | undefined;
|
825
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
810
826
|
excludeSubCampaigns?: boolean | undefined;
|
811
827
|
minimumTvl?: number | undefined;
|
812
828
|
maximumTvl?: number | undefined;
|
@@ -864,6 +880,7 @@ export declare const v4: Elysia<"/v4", {
|
|
864
880
|
tags?: string | undefined;
|
865
881
|
test?: boolean | undefined;
|
866
882
|
page?: number | undefined;
|
883
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
867
884
|
excludeSubCampaigns?: boolean | undefined;
|
868
885
|
minimumTvl?: number | undefined;
|
869
886
|
maximumTvl?: number | undefined;
|
@@ -923,6 +940,7 @@ export declare const v4: Elysia<"/v4", {
|
|
923
940
|
tags?: string | undefined;
|
924
941
|
test?: boolean | undefined;
|
925
942
|
page?: number | undefined;
|
943
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
926
944
|
excludeSubCampaigns?: boolean | undefined;
|
927
945
|
minimumTvl?: number | undefined;
|
928
946
|
maximumTvl?: number | undefined;
|
@@ -979,6 +997,7 @@ export declare const v4: Elysia<"/v4", {
|
|
979
997
|
tags?: string | undefined;
|
980
998
|
test?: boolean | undefined;
|
981
999
|
page?: number | undefined;
|
1000
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
982
1001
|
excludeSubCampaigns?: boolean | undefined;
|
983
1002
|
minimumTvl?: number | undefined;
|
984
1003
|
maximumTvl?: number | undefined;
|
@@ -1036,6 +1055,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1036
1055
|
tags?: string | undefined;
|
1037
1056
|
test?: boolean | undefined;
|
1038
1057
|
page?: number | undefined;
|
1058
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
1039
1059
|
excludeSubCampaigns?: boolean | undefined;
|
1040
1060
|
minimumTvl?: number | undefined;
|
1041
1061
|
maximumTvl?: number | undefined;
|
@@ -1092,6 +1112,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1092
1112
|
address: string;
|
1093
1113
|
id: string;
|
1094
1114
|
chainId: number;
|
1115
|
+
type: import("@package/databases").TokenType;
|
1095
1116
|
icon: string;
|
1096
1117
|
isNative: boolean;
|
1097
1118
|
isPoint: boolean;
|
@@ -1118,6 +1139,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1118
1139
|
address: string;
|
1119
1140
|
id: string;
|
1120
1141
|
chainId: number;
|
1142
|
+
type: import("@package/databases").TokenType;
|
1121
1143
|
icon: string;
|
1122
1144
|
isNative: boolean;
|
1123
1145
|
isPoint: boolean;
|
@@ -1293,6 +1315,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1293
1315
|
address: string;
|
1294
1316
|
id: string;
|
1295
1317
|
chainId: number;
|
1318
|
+
type: import("@package/databases").TokenType;
|
1296
1319
|
icon: string;
|
1297
1320
|
isNative: boolean;
|
1298
1321
|
isPoint: boolean;
|
@@ -1319,6 +1342,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1319
1342
|
address: string;
|
1320
1343
|
id: string;
|
1321
1344
|
chainId: number;
|
1345
|
+
type: import("@package/databases").TokenType;
|
1322
1346
|
icon: string;
|
1323
1347
|
isNative: boolean;
|
1324
1348
|
isPoint: boolean;
|
@@ -1433,6 +1457,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1433
1457
|
address: string;
|
1434
1458
|
id: string;
|
1435
1459
|
chainId: number;
|
1460
|
+
type: import("@package/databases").TokenType;
|
1436
1461
|
icon: string;
|
1437
1462
|
isNative: boolean;
|
1438
1463
|
isPoint: boolean;
|
@@ -1459,6 +1484,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1459
1484
|
address: string;
|
1460
1485
|
id: string;
|
1461
1486
|
chainId: number;
|
1487
|
+
type: import("@package/databases").TokenType;
|
1462
1488
|
icon: string;
|
1463
1489
|
isNative: boolean;
|
1464
1490
|
isPoint: boolean;
|
@@ -1551,6 +1577,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1551
1577
|
address: string;
|
1552
1578
|
id: string;
|
1553
1579
|
chainId: number;
|
1580
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
1554
1581
|
icon: string;
|
1555
1582
|
isNative: boolean;
|
1556
1583
|
isPoint: boolean;
|
@@ -1801,6 +1828,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1801
1828
|
creatorTag?: string | undefined;
|
1802
1829
|
distributionChainIds?: number[] | undefined;
|
1803
1830
|
types?: string[] | undefined;
|
1831
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
1804
1832
|
withOpportunity?: boolean | undefined;
|
1805
1833
|
createdAfter?: Date | null | undefined;
|
1806
1834
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -1842,6 +1870,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1842
1870
|
address: string;
|
1843
1871
|
id: string;
|
1844
1872
|
chainId: number;
|
1873
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
1845
1874
|
icon: string;
|
1846
1875
|
isNative: boolean;
|
1847
1876
|
isPoint: boolean;
|
@@ -1913,6 +1942,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1913
1942
|
creatorTag?: string | undefined;
|
1914
1943
|
distributionChainIds?: number[] | undefined;
|
1915
1944
|
types?: string[] | undefined;
|
1945
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
1916
1946
|
withOpportunity?: boolean | undefined;
|
1917
1947
|
createdAfter?: Date | null | undefined;
|
1918
1948
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -1963,6 +1993,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1963
1993
|
creatorTag?: string | undefined;
|
1964
1994
|
distributionChainIds?: number[] | undefined;
|
1965
1995
|
types?: string[] | undefined;
|
1996
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
1966
1997
|
withOpportunity?: boolean | undefined;
|
1967
1998
|
createdAfter?: Date | null | undefined;
|
1968
1999
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -2018,6 +2049,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2018
2049
|
creatorTag?: string | undefined;
|
2019
2050
|
distributionChainIds?: number[] | undefined;
|
2020
2051
|
types?: string[] | undefined;
|
2052
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2021
2053
|
withOpportunity?: boolean | undefined;
|
2022
2054
|
createdAfter?: Date | null | undefined;
|
2023
2055
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -2076,6 +2108,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2076
2108
|
creatorTag?: string | undefined;
|
2077
2109
|
distributionChainIds?: number[] | undefined;
|
2078
2110
|
types?: string[] | undefined;
|
2111
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2079
2112
|
withOpportunity?: boolean | undefined;
|
2080
2113
|
createdAfter?: Date | null | undefined;
|
2081
2114
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -2131,6 +2164,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2131
2164
|
creatorTag?: string | undefined;
|
2132
2165
|
distributionChainIds?: number[] | undefined;
|
2133
2166
|
types?: string[] | undefined;
|
2167
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2134
2168
|
withOpportunity?: boolean | undefined;
|
2135
2169
|
createdAfter?: Date | null | undefined;
|
2136
2170
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -2186,6 +2220,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2186
2220
|
creatorTag?: string | undefined;
|
2187
2221
|
distributionChainIds?: number[] | undefined;
|
2188
2222
|
types?: string[] | undefined;
|
2223
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2189
2224
|
withOpportunity?: boolean | undefined;
|
2190
2225
|
createdAfter?: Date | null | undefined;
|
2191
2226
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -2240,6 +2275,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2240
2275
|
creatorTag?: string | undefined;
|
2241
2276
|
distributionChainIds?: number[] | undefined;
|
2242
2277
|
types?: string[] | undefined;
|
2278
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2243
2279
|
withOpportunity?: boolean | undefined;
|
2244
2280
|
createdAfter?: Date | null | undefined;
|
2245
2281
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -2293,6 +2329,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2293
2329
|
creatorTag?: string | undefined;
|
2294
2330
|
distributionChainIds?: number[] | undefined;
|
2295
2331
|
types?: string[] | undefined;
|
2332
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2296
2333
|
withOpportunity?: boolean | undefined;
|
2297
2334
|
createdAfter?: Date | null | undefined;
|
2298
2335
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -2536,6 +2573,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2536
2573
|
address: string;
|
2537
2574
|
id: string;
|
2538
2575
|
chainId: number;
|
2576
|
+
type: import("@package/databases").TokenType;
|
2539
2577
|
icon: string;
|
2540
2578
|
isNative: boolean;
|
2541
2579
|
isPoint: boolean;
|
@@ -2562,6 +2600,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2562
2600
|
address: string;
|
2563
2601
|
id: string;
|
2564
2602
|
chainId: number;
|
2603
|
+
type: import("@package/databases").TokenType;
|
2565
2604
|
icon: string;
|
2566
2605
|
isNative: boolean;
|
2567
2606
|
isPoint: boolean;
|
@@ -2659,6 +2698,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2659
2698
|
address: string;
|
2660
2699
|
id: string;
|
2661
2700
|
chainId: number;
|
2701
|
+
type: import("@package/databases").TokenType;
|
2662
2702
|
icon: string;
|
2663
2703
|
isNative: boolean;
|
2664
2704
|
isPoint: boolean;
|
@@ -2685,6 +2725,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2685
2725
|
address: string;
|
2686
2726
|
id: string;
|
2687
2727
|
chainId: number;
|
2728
|
+
type: import("@package/databases").TokenType;
|
2688
2729
|
icon: string;
|
2689
2730
|
isNative: boolean;
|
2690
2731
|
isPoint: boolean;
|
@@ -2783,6 +2824,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2783
2824
|
address: string;
|
2784
2825
|
id: string;
|
2785
2826
|
chainId: number;
|
2827
|
+
type: import("@package/databases").TokenType;
|
2786
2828
|
icon: string;
|
2787
2829
|
isNative: boolean;
|
2788
2830
|
isPoint: boolean;
|
@@ -2809,6 +2851,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2809
2851
|
address: string;
|
2810
2852
|
id: string;
|
2811
2853
|
chainId: number;
|
2854
|
+
type: import("@package/databases").TokenType;
|
2812
2855
|
icon: string;
|
2813
2856
|
isNative: boolean;
|
2814
2857
|
isPoint: boolean;
|
@@ -3170,6 +3213,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3170
3213
|
address: string;
|
3171
3214
|
id: string;
|
3172
3215
|
chainId: number;
|
3216
|
+
type: import("@package/databases").TokenType;
|
3173
3217
|
icon: string;
|
3174
3218
|
isNative: boolean;
|
3175
3219
|
isPoint: boolean;
|
@@ -3215,6 +3259,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3215
3259
|
address: string;
|
3216
3260
|
id: string;
|
3217
3261
|
chainId: number;
|
3262
|
+
type: import("@package/databases").TokenType;
|
3218
3263
|
icon: string;
|
3219
3264
|
isNative: boolean;
|
3220
3265
|
isPoint: boolean;
|
@@ -3262,6 +3307,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3262
3307
|
address: string;
|
3263
3308
|
id: string;
|
3264
3309
|
chainId: number;
|
3310
|
+
type: import("@package/databases").TokenType;
|
3265
3311
|
icon: string;
|
3266
3312
|
isNative: boolean;
|
3267
3313
|
isPoint: boolean;
|
@@ -3305,6 +3351,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3305
3351
|
address: string;
|
3306
3352
|
id: string;
|
3307
3353
|
chainId: number;
|
3354
|
+
type: import("@package/databases").TokenType;
|
3308
3355
|
icon: string;
|
3309
3356
|
isNative: boolean;
|
3310
3357
|
isPoint: boolean;
|
@@ -3347,6 +3394,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3347
3394
|
address: string;
|
3348
3395
|
id: string;
|
3349
3396
|
chainId: number;
|
3397
|
+
type: import("@package/databases").TokenType;
|
3350
3398
|
icon: string;
|
3351
3399
|
isNative: boolean;
|
3352
3400
|
isPoint: boolean;
|
@@ -3401,6 +3449,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3401
3449
|
address: string;
|
3402
3450
|
id: string;
|
3403
3451
|
chainId: number;
|
3452
|
+
type: import("@package/databases").TokenType;
|
3404
3453
|
icon: string;
|
3405
3454
|
isNative: boolean;
|
3406
3455
|
isPoint: boolean;
|
@@ -3462,7 +3511,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3462
3511
|
} & {
|
3463
3512
|
post: {
|
3464
3513
|
body: {
|
3465
|
-
|
3514
|
+
type?: "TOKEN" | "PRETGE" | "POINT" | undefined;
|
3466
3515
|
isTest?: boolean | undefined;
|
3467
3516
|
address: string;
|
3468
3517
|
chainId: number;
|
@@ -3483,6 +3532,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3483
3532
|
address: string;
|
3484
3533
|
id: string;
|
3485
3534
|
chainId: number;
|
3535
|
+
type: import("@package/databases").TokenType;
|
3486
3536
|
icon: string;
|
3487
3537
|
isNative: boolean;
|
3488
3538
|
isPoint: boolean;
|
@@ -3507,6 +3557,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3507
3557
|
patch: {
|
3508
3558
|
body: {
|
3509
3559
|
name?: string | undefined;
|
3560
|
+
type?: "TOKEN" | "PRETGE" | "POINT" | undefined;
|
3510
3561
|
icon?: string | undefined;
|
3511
3562
|
isPoint?: boolean | undefined;
|
3512
3563
|
isPreTGE?: boolean | undefined;
|
@@ -3530,6 +3581,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3530
3581
|
address: string;
|
3531
3582
|
id: string;
|
3532
3583
|
chainId: number;
|
3584
|
+
type: import("@package/databases").TokenType;
|
3533
3585
|
icon: string;
|
3534
3586
|
isNative: boolean;
|
3535
3587
|
isPoint: boolean;
|
@@ -3603,6 +3655,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3603
3655
|
address: string;
|
3604
3656
|
id: string;
|
3605
3657
|
chainId: number;
|
3658
|
+
type: import("@package/databases").TokenType;
|
3606
3659
|
icon: string;
|
3607
3660
|
isNative: boolean;
|
3608
3661
|
isPoint: boolean;
|
@@ -4957,6 +5010,7 @@ export declare const v4: Elysia<"/v4", {
|
|
4957
5010
|
address: string;
|
4958
5011
|
id: string;
|
4959
5012
|
chainId: number;
|
5013
|
+
type: import("@package/databases").TokenType;
|
4960
5014
|
icon: string;
|
4961
5015
|
isNative: boolean;
|
4962
5016
|
isPoint: boolean;
|
@@ -4982,6 +5036,7 @@ export declare const v4: Elysia<"/v4", {
|
|
4982
5036
|
address: string;
|
4983
5037
|
id: string;
|
4984
5038
|
chainId: number;
|
5039
|
+
type: import("@package/databases").TokenType;
|
4985
5040
|
icon: string;
|
4986
5041
|
isNative: boolean;
|
4987
5042
|
isPoint: boolean;
|
@@ -6994,6 +7049,7 @@ export declare const v4: Elysia<"/v4", {
|
|
6994
7049
|
address: string;
|
6995
7050
|
id: string;
|
6996
7051
|
chainId: number;
|
7052
|
+
type: import("@package/databases").TokenType;
|
6997
7053
|
icon: string;
|
6998
7054
|
isNative: boolean;
|
6999
7055
|
isPoint: boolean;
|
@@ -31,6 +31,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
31
31
|
address: string;
|
32
32
|
id: string;
|
33
33
|
chainId: number;
|
34
|
+
type: import("@package/databases").TokenType;
|
34
35
|
icon: string;
|
35
36
|
isNative: boolean;
|
36
37
|
isPoint: boolean;
|
@@ -76,6 +77,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
76
77
|
address: string;
|
77
78
|
id: string;
|
78
79
|
chainId: number;
|
80
|
+
type: import("@package/databases").TokenType;
|
79
81
|
icon: string;
|
80
82
|
isNative: boolean;
|
81
83
|
isPoint: boolean;
|
@@ -123,6 +125,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
123
125
|
address: string;
|
124
126
|
id: string;
|
125
127
|
chainId: number;
|
128
|
+
type: import("@package/databases").TokenType;
|
126
129
|
icon: string;
|
127
130
|
isNative: boolean;
|
128
131
|
isPoint: boolean;
|
@@ -166,6 +169,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
166
169
|
address: string;
|
167
170
|
id: string;
|
168
171
|
chainId: number;
|
172
|
+
type: import("@package/databases").TokenType;
|
169
173
|
icon: string;
|
170
174
|
isNative: boolean;
|
171
175
|
isPoint: boolean;
|
@@ -208,6 +212,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
208
212
|
address: string;
|
209
213
|
id: string;
|
210
214
|
chainId: number;
|
215
|
+
type: import("@package/databases").TokenType;
|
211
216
|
icon: string;
|
212
217
|
isNative: boolean;
|
213
218
|
isPoint: boolean;
|
@@ -262,6 +267,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
262
267
|
address: string;
|
263
268
|
id: string;
|
264
269
|
chainId: number;
|
270
|
+
type: import("@package/databases").TokenType;
|
265
271
|
icon: string;
|
266
272
|
isNative: boolean;
|
267
273
|
isPoint: boolean;
|
@@ -323,7 +329,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
323
329
|
} & {
|
324
330
|
post: {
|
325
331
|
body: {
|
326
|
-
|
332
|
+
type?: "TOKEN" | "PRETGE" | "POINT" | undefined;
|
327
333
|
isTest?: boolean | undefined;
|
328
334
|
address: string;
|
329
335
|
chainId: number;
|
@@ -344,6 +350,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
344
350
|
address: string;
|
345
351
|
id: string;
|
346
352
|
chainId: number;
|
353
|
+
type: import("@package/databases").TokenType;
|
347
354
|
icon: string;
|
348
355
|
isNative: boolean;
|
349
356
|
isPoint: boolean;
|
@@ -368,6 +375,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
368
375
|
patch: {
|
369
376
|
body: {
|
370
377
|
name?: string | undefined;
|
378
|
+
type?: "TOKEN" | "PRETGE" | "POINT" | undefined;
|
371
379
|
icon?: string | undefined;
|
372
380
|
isPoint?: boolean | undefined;
|
373
381
|
isPreTGE?: boolean | undefined;
|
@@ -391,6 +399,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
391
399
|
address: string;
|
392
400
|
id: string;
|
393
401
|
chainId: number;
|
402
|
+
type: import("@package/databases").TokenType;
|
394
403
|
icon: string;
|
395
404
|
isNative: boolean;
|
396
405
|
isPoint: boolean;
|
@@ -464,6 +473,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
464
473
|
address: string;
|
465
474
|
id: string;
|
466
475
|
chainId: number;
|
476
|
+
type: import("@package/databases").TokenType;
|
467
477
|
icon: string;
|
468
478
|
isNative: boolean;
|
469
479
|
isPoint: boolean;
|
@@ -27,6 +27,11 @@ export declare const TokenResourceDto: import("@sinclair/typebox").TObject<{
|
|
27
27
|
isPreTGE: import("@sinclair/typebox").TBoolean;
|
28
28
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
29
29
|
symbol: import("@sinclair/typebox").TString;
|
30
|
+
type: import("@sinclair/typebox").TEnum<{
|
31
|
+
readonly TOKEN: "TOKEN";
|
32
|
+
readonly PRETGE: "PRETGE";
|
33
|
+
readonly POINT: "POINT";
|
34
|
+
}>;
|
30
35
|
}>;
|
31
36
|
export declare const FindUniqueTokenDto: import("@sinclair/typebox").TObject<{
|
32
37
|
id: import("@sinclair/typebox").TString;
|
@@ -70,6 +75,11 @@ export declare const UpdateTokenDto: import("@sinclair/typebox").TObject<{
|
|
70
75
|
isTest: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
71
76
|
isPoint: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
72
77
|
isPreTGE: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
78
|
+
type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
79
|
+
readonly TOKEN: "TOKEN";
|
80
|
+
readonly PRETGE: "PRETGE";
|
81
|
+
readonly POINT: "POINT";
|
82
|
+
}>>;
|
73
83
|
verified: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
74
84
|
icon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
75
85
|
displaySymbol: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
@@ -81,7 +91,11 @@ export declare const CreateTokenDto: import("@sinclair/typebox").TObject<{
|
|
81
91
|
icon: import("@sinclair/typebox").TString;
|
82
92
|
verified: import("@sinclair/typebox").TBoolean;
|
83
93
|
isTest: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
84
|
-
|
94
|
+
type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
95
|
+
readonly TOKEN: "TOKEN";
|
96
|
+
readonly PRETGE: "PRETGE";
|
97
|
+
readonly POINT: "POINT";
|
98
|
+
}>>;
|
85
99
|
}>;
|
86
100
|
export declare const NotionWebhookAddTokenDto: import("@sinclair/typebox").TObject<{
|
87
101
|
data: import("@sinclair/typebox").TObject<{
|
@@ -121,5 +135,8 @@ export declare const NotionWebhookAddTokenDto: import("@sinclair/typebox").TObje
|
|
121
135
|
export type TokenModel = typeof TokenDto.static;
|
122
136
|
export type GetTokenQueryModel = typeof GetTokenQueryDto.static;
|
123
137
|
export type UpdateTokenModel = typeof UpdateTokenDto.static;
|
124
|
-
export type CreateTokenModel = typeof CreateTokenDto.static
|
138
|
+
export type CreateTokenModel = typeof CreateTokenDto.static & {
|
139
|
+
isPoint?: boolean;
|
140
|
+
isPreTGE?: boolean;
|
141
|
+
};
|
125
142
|
export type NotionWebhookModel = typeof NotionWebhookAddTokenDto.static;
|
@@ -36,6 +36,7 @@ export declare abstract class TokenRepository {
|
|
36
36
|
address: string;
|
37
37
|
id: string;
|
38
38
|
chainId: number;
|
39
|
+
type: import("@package/databases").TokenType;
|
39
40
|
icon: string;
|
40
41
|
isNative: boolean;
|
41
42
|
isPoint: boolean;
|
@@ -52,6 +53,7 @@ export declare abstract class TokenRepository {
|
|
52
53
|
address: string;
|
53
54
|
id: string;
|
54
55
|
chainId: number;
|
56
|
+
type: import("@package/databases").TokenType;
|
55
57
|
icon: string;
|
56
58
|
isNative: boolean;
|
57
59
|
isPoint: boolean;
|
@@ -68,6 +70,7 @@ export declare abstract class TokenRepository {
|
|
68
70
|
address: string;
|
69
71
|
id: string;
|
70
72
|
chainId: number;
|
73
|
+
type: import("@package/databases").TokenType;
|
71
74
|
icon: string;
|
72
75
|
isNative: boolean;
|
73
76
|
isPoint: boolean;
|
@@ -89,6 +92,7 @@ export declare abstract class TokenRepository {
|
|
89
92
|
address: string;
|
90
93
|
id: string;
|
91
94
|
chainId: number;
|
95
|
+
type: import("@package/databases").TokenType;
|
92
96
|
icon: string;
|
93
97
|
isNative: boolean;
|
94
98
|
isPoint: boolean;
|
@@ -127,6 +131,7 @@ export declare abstract class TokenRepository {
|
|
127
131
|
address: string;
|
128
132
|
id: string;
|
129
133
|
chainId: number;
|
134
|
+
type: import("@package/databases").TokenType;
|
130
135
|
icon: string;
|
131
136
|
isNative: boolean;
|
132
137
|
isPoint: boolean;
|