@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
package/dist/src/index.d.ts
CHANGED
@@ -1516,6 +1516,7 @@ declare const app: Elysia<"", {
|
|
1516
1516
|
creatorTag?: string | undefined;
|
1517
1517
|
distributionChainIds?: number[] | undefined;
|
1518
1518
|
types?: string[] | undefined;
|
1519
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
1519
1520
|
withOpportunity?: boolean | undefined;
|
1520
1521
|
createdAfter?: Date | null | undefined;
|
1521
1522
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -1541,7 +1542,7 @@ declare const app: Elysia<"", {
|
|
1541
1542
|
breakdowns: {
|
1542
1543
|
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;
|
1543
1544
|
value: number;
|
1544
|
-
type: "
|
1545
|
+
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
1545
1546
|
identifier: string;
|
1546
1547
|
}[];
|
1547
1548
|
} | undefined;
|
@@ -1569,6 +1570,7 @@ declare const app: Elysia<"", {
|
|
1569
1570
|
address: string;
|
1570
1571
|
id: string;
|
1571
1572
|
chainId: number;
|
1573
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
1572
1574
|
icon: string;
|
1573
1575
|
isNative: boolean;
|
1574
1576
|
isPoint: boolean;
|
@@ -1591,6 +1593,7 @@ declare const app: Elysia<"", {
|
|
1591
1593
|
address: string;
|
1592
1594
|
id: string;
|
1593
1595
|
chainId: number;
|
1596
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
1594
1597
|
icon: string;
|
1595
1598
|
isNative: boolean;
|
1596
1599
|
isPoint: boolean;
|
@@ -1638,6 +1641,7 @@ declare const app: Elysia<"", {
|
|
1638
1641
|
address: string;
|
1639
1642
|
id: string;
|
1640
1643
|
chainId: number;
|
1644
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
1641
1645
|
icon: string;
|
1642
1646
|
isNative: boolean;
|
1643
1647
|
isPoint: boolean;
|
@@ -1720,6 +1724,7 @@ declare const app: Elysia<"", {
|
|
1720
1724
|
campaigns?: boolean | undefined;
|
1721
1725
|
point?: boolean | undefined;
|
1722
1726
|
test?: boolean | undefined;
|
1727
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
1723
1728
|
excludeSubCampaigns?: boolean | undefined;
|
1724
1729
|
};
|
1725
1730
|
headers: unknown;
|
@@ -1743,7 +1748,7 @@ declare const app: Elysia<"", {
|
|
1743
1748
|
breakdowns: {
|
1744
1749
|
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;
|
1745
1750
|
value: number;
|
1746
|
-
type: "
|
1751
|
+
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
1747
1752
|
identifier: string;
|
1748
1753
|
}[];
|
1749
1754
|
} | undefined;
|
@@ -1771,6 +1776,7 @@ declare const app: Elysia<"", {
|
|
1771
1776
|
address: string;
|
1772
1777
|
id: string;
|
1773
1778
|
chainId: number;
|
1779
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
1774
1780
|
icon: string;
|
1775
1781
|
isNative: boolean;
|
1776
1782
|
isPoint: boolean;
|
@@ -1793,6 +1799,7 @@ declare const app: Elysia<"", {
|
|
1793
1799
|
address: string;
|
1794
1800
|
id: string;
|
1795
1801
|
chainId: number;
|
1802
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
1796
1803
|
icon: string;
|
1797
1804
|
isNative: boolean;
|
1798
1805
|
isPoint: boolean;
|
@@ -1858,6 +1865,7 @@ declare const app: Elysia<"", {
|
|
1858
1865
|
campaigns?: boolean | undefined;
|
1859
1866
|
point?: boolean | undefined;
|
1860
1867
|
test?: boolean | undefined;
|
1868
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
1861
1869
|
excludeSubCampaigns?: boolean | undefined;
|
1862
1870
|
};
|
1863
1871
|
headers: unknown;
|
@@ -1881,7 +1889,7 @@ declare const app: Elysia<"", {
|
|
1881
1889
|
breakdowns: {
|
1882
1890
|
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;
|
1883
1891
|
value: number;
|
1884
|
-
type: "
|
1892
|
+
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
1885
1893
|
identifier: string;
|
1886
1894
|
}[];
|
1887
1895
|
} | undefined;
|
@@ -1909,6 +1917,7 @@ declare const app: Elysia<"", {
|
|
1909
1917
|
address: string;
|
1910
1918
|
id: string;
|
1911
1919
|
chainId: number;
|
1920
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
1912
1921
|
icon: string;
|
1913
1922
|
isNative: boolean;
|
1914
1923
|
isPoint: boolean;
|
@@ -1931,6 +1940,7 @@ declare const app: Elysia<"", {
|
|
1931
1940
|
address: string;
|
1932
1941
|
id: string;
|
1933
1942
|
chainId: number;
|
1943
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
1934
1944
|
icon: string;
|
1935
1945
|
isNative: boolean;
|
1936
1946
|
isPoint: boolean;
|
@@ -1978,6 +1988,7 @@ declare const app: Elysia<"", {
|
|
1978
1988
|
address: string;
|
1979
1989
|
id: string;
|
1980
1990
|
chainId: number;
|
1991
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
1981
1992
|
icon: string;
|
1982
1993
|
isNative: boolean;
|
1983
1994
|
isPoint: boolean;
|
@@ -2074,6 +2085,7 @@ declare const app: Elysia<"", {
|
|
2074
2085
|
tags?: string | undefined;
|
2075
2086
|
test?: boolean | undefined;
|
2076
2087
|
page?: number | undefined;
|
2088
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2077
2089
|
excludeSubCampaigns?: boolean | undefined;
|
2078
2090
|
minimumTvl?: number | undefined;
|
2079
2091
|
maximumTvl?: number | undefined;
|
@@ -2102,7 +2114,7 @@ declare const app: Elysia<"", {
|
|
2102
2114
|
breakdowns: {
|
2103
2115
|
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;
|
2104
2116
|
value: number;
|
2105
|
-
type: "
|
2117
|
+
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
2106
2118
|
identifier: string;
|
2107
2119
|
}[];
|
2108
2120
|
} | undefined;
|
@@ -2130,6 +2142,7 @@ declare const app: Elysia<"", {
|
|
2130
2142
|
address: string;
|
2131
2143
|
id: string;
|
2132
2144
|
chainId: number;
|
2145
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
2133
2146
|
icon: string;
|
2134
2147
|
isNative: boolean;
|
2135
2148
|
isPoint: boolean;
|
@@ -2152,6 +2165,7 @@ declare const app: Elysia<"", {
|
|
2152
2165
|
address: string;
|
2153
2166
|
id: string;
|
2154
2167
|
chainId: number;
|
2168
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
2155
2169
|
icon: string;
|
2156
2170
|
isNative: boolean;
|
2157
2171
|
isPoint: boolean;
|
@@ -2220,6 +2234,7 @@ declare const app: Elysia<"", {
|
|
2220
2234
|
tags?: string | undefined;
|
2221
2235
|
test?: boolean | undefined;
|
2222
2236
|
page?: number | undefined;
|
2237
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2223
2238
|
excludeSubCampaigns?: boolean | undefined;
|
2224
2239
|
minimumTvl?: number | undefined;
|
2225
2240
|
maximumTvl?: number | undefined;
|
@@ -2270,6 +2285,7 @@ declare const app: Elysia<"", {
|
|
2270
2285
|
tags?: string | undefined;
|
2271
2286
|
test?: boolean | undefined;
|
2272
2287
|
page?: number | undefined;
|
2288
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2273
2289
|
excludeSubCampaigns?: boolean | undefined;
|
2274
2290
|
minimumTvl?: number | undefined;
|
2275
2291
|
maximumTvl?: number | undefined;
|
@@ -2327,6 +2343,7 @@ declare const app: Elysia<"", {
|
|
2327
2343
|
tags?: string | undefined;
|
2328
2344
|
test?: boolean | undefined;
|
2329
2345
|
page?: number | undefined;
|
2346
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2330
2347
|
excludeSubCampaigns?: boolean | undefined;
|
2331
2348
|
minimumTvl?: number | undefined;
|
2332
2349
|
maximumTvl?: number | undefined;
|
@@ -2386,6 +2403,7 @@ declare const app: Elysia<"", {
|
|
2386
2403
|
tags?: string | undefined;
|
2387
2404
|
test?: boolean | undefined;
|
2388
2405
|
page?: number | undefined;
|
2406
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2389
2407
|
excludeSubCampaigns?: boolean | undefined;
|
2390
2408
|
minimumTvl?: number | undefined;
|
2391
2409
|
maximumTvl?: number | undefined;
|
@@ -2442,6 +2460,7 @@ declare const app: Elysia<"", {
|
|
2442
2460
|
tags?: string | undefined;
|
2443
2461
|
test?: boolean | undefined;
|
2444
2462
|
page?: number | undefined;
|
2463
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2445
2464
|
excludeSubCampaigns?: boolean | undefined;
|
2446
2465
|
minimumTvl?: number | undefined;
|
2447
2466
|
maximumTvl?: number | undefined;
|
@@ -2499,6 +2518,7 @@ declare const app: Elysia<"", {
|
|
2499
2518
|
tags?: string | undefined;
|
2500
2519
|
test?: boolean | undefined;
|
2501
2520
|
page?: number | undefined;
|
2521
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2502
2522
|
excludeSubCampaigns?: boolean | undefined;
|
2503
2523
|
minimumTvl?: number | undefined;
|
2504
2524
|
maximumTvl?: number | undefined;
|
@@ -2555,6 +2575,7 @@ declare const app: Elysia<"", {
|
|
2555
2575
|
address: string;
|
2556
2576
|
id: string;
|
2557
2577
|
chainId: number;
|
2578
|
+
type: import("@package/databases").TokenType;
|
2558
2579
|
icon: string;
|
2559
2580
|
isNative: boolean;
|
2560
2581
|
isPoint: boolean;
|
@@ -2581,6 +2602,7 @@ declare const app: Elysia<"", {
|
|
2581
2602
|
address: string;
|
2582
2603
|
id: string;
|
2583
2604
|
chainId: number;
|
2605
|
+
type: import("@package/databases").TokenType;
|
2584
2606
|
icon: string;
|
2585
2607
|
isNative: boolean;
|
2586
2608
|
isPoint: boolean;
|
@@ -2756,6 +2778,7 @@ declare const app: Elysia<"", {
|
|
2756
2778
|
address: string;
|
2757
2779
|
id: string;
|
2758
2780
|
chainId: number;
|
2781
|
+
type: import("@package/databases").TokenType;
|
2759
2782
|
icon: string;
|
2760
2783
|
isNative: boolean;
|
2761
2784
|
isPoint: boolean;
|
@@ -2782,6 +2805,7 @@ declare const app: Elysia<"", {
|
|
2782
2805
|
address: string;
|
2783
2806
|
id: string;
|
2784
2807
|
chainId: number;
|
2808
|
+
type: import("@package/databases").TokenType;
|
2785
2809
|
icon: string;
|
2786
2810
|
isNative: boolean;
|
2787
2811
|
isPoint: boolean;
|
@@ -2896,6 +2920,7 @@ declare const app: Elysia<"", {
|
|
2896
2920
|
address: string;
|
2897
2921
|
id: string;
|
2898
2922
|
chainId: number;
|
2923
|
+
type: import("@package/databases").TokenType;
|
2899
2924
|
icon: string;
|
2900
2925
|
isNative: boolean;
|
2901
2926
|
isPoint: boolean;
|
@@ -2922,6 +2947,7 @@ declare const app: Elysia<"", {
|
|
2922
2947
|
address: string;
|
2923
2948
|
id: string;
|
2924
2949
|
chainId: number;
|
2950
|
+
type: import("@package/databases").TokenType;
|
2925
2951
|
icon: string;
|
2926
2952
|
isNative: boolean;
|
2927
2953
|
isPoint: boolean;
|
@@ -3014,6 +3040,7 @@ declare const app: Elysia<"", {
|
|
3014
3040
|
address: string;
|
3015
3041
|
id: string;
|
3016
3042
|
chainId: number;
|
3043
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
3017
3044
|
icon: string;
|
3018
3045
|
isNative: boolean;
|
3019
3046
|
isPoint: boolean;
|
@@ -3264,6 +3291,7 @@ declare const app: Elysia<"", {
|
|
3264
3291
|
creatorTag?: string | undefined;
|
3265
3292
|
distributionChainIds?: number[] | undefined;
|
3266
3293
|
types?: string[] | undefined;
|
3294
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
3267
3295
|
withOpportunity?: boolean | undefined;
|
3268
3296
|
createdAfter?: Date | null | undefined;
|
3269
3297
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -3305,6 +3333,7 @@ declare const app: Elysia<"", {
|
|
3305
3333
|
address: string;
|
3306
3334
|
id: string;
|
3307
3335
|
chainId: number;
|
3336
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
3308
3337
|
icon: string;
|
3309
3338
|
isNative: boolean;
|
3310
3339
|
isPoint: boolean;
|
@@ -3376,6 +3405,7 @@ declare const app: Elysia<"", {
|
|
3376
3405
|
creatorTag?: string | undefined;
|
3377
3406
|
distributionChainIds?: number[] | undefined;
|
3378
3407
|
types?: string[] | undefined;
|
3408
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
3379
3409
|
withOpportunity?: boolean | undefined;
|
3380
3410
|
createdAfter?: Date | null | undefined;
|
3381
3411
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -3426,6 +3456,7 @@ declare const app: Elysia<"", {
|
|
3426
3456
|
creatorTag?: string | undefined;
|
3427
3457
|
distributionChainIds?: number[] | undefined;
|
3428
3458
|
types?: string[] | undefined;
|
3459
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
3429
3460
|
withOpportunity?: boolean | undefined;
|
3430
3461
|
createdAfter?: Date | null | undefined;
|
3431
3462
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -3481,6 +3512,7 @@ declare const app: Elysia<"", {
|
|
3481
3512
|
creatorTag?: string | undefined;
|
3482
3513
|
distributionChainIds?: number[] | undefined;
|
3483
3514
|
types?: string[] | undefined;
|
3515
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
3484
3516
|
withOpportunity?: boolean | undefined;
|
3485
3517
|
createdAfter?: Date | null | undefined;
|
3486
3518
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -3539,6 +3571,7 @@ declare const app: Elysia<"", {
|
|
3539
3571
|
creatorTag?: string | undefined;
|
3540
3572
|
distributionChainIds?: number[] | undefined;
|
3541
3573
|
types?: string[] | undefined;
|
3574
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
3542
3575
|
withOpportunity?: boolean | undefined;
|
3543
3576
|
createdAfter?: Date | null | undefined;
|
3544
3577
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -3594,6 +3627,7 @@ declare const app: Elysia<"", {
|
|
3594
3627
|
creatorTag?: string | undefined;
|
3595
3628
|
distributionChainIds?: number[] | undefined;
|
3596
3629
|
types?: string[] | undefined;
|
3630
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
3597
3631
|
withOpportunity?: boolean | undefined;
|
3598
3632
|
createdAfter?: Date | null | undefined;
|
3599
3633
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -3649,6 +3683,7 @@ declare const app: Elysia<"", {
|
|
3649
3683
|
creatorTag?: string | undefined;
|
3650
3684
|
distributionChainIds?: number[] | undefined;
|
3651
3685
|
types?: string[] | undefined;
|
3686
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
3652
3687
|
withOpportunity?: boolean | undefined;
|
3653
3688
|
createdAfter?: Date | null | undefined;
|
3654
3689
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -3703,6 +3738,7 @@ declare const app: Elysia<"", {
|
|
3703
3738
|
creatorTag?: string | undefined;
|
3704
3739
|
distributionChainIds?: number[] | undefined;
|
3705
3740
|
types?: string[] | undefined;
|
3741
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
3706
3742
|
withOpportunity?: boolean | undefined;
|
3707
3743
|
createdAfter?: Date | null | undefined;
|
3708
3744
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -3756,6 +3792,7 @@ declare const app: Elysia<"", {
|
|
3756
3792
|
creatorTag?: string | undefined;
|
3757
3793
|
distributionChainIds?: number[] | undefined;
|
3758
3794
|
types?: string[] | undefined;
|
3795
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
3759
3796
|
withOpportunity?: boolean | undefined;
|
3760
3797
|
createdAfter?: Date | null | undefined;
|
3761
3798
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -3999,6 +4036,7 @@ declare const app: Elysia<"", {
|
|
3999
4036
|
address: string;
|
4000
4037
|
id: string;
|
4001
4038
|
chainId: number;
|
4039
|
+
type: import("@package/databases").TokenType;
|
4002
4040
|
icon: string;
|
4003
4041
|
isNative: boolean;
|
4004
4042
|
isPoint: boolean;
|
@@ -4025,6 +4063,7 @@ declare const app: Elysia<"", {
|
|
4025
4063
|
address: string;
|
4026
4064
|
id: string;
|
4027
4065
|
chainId: number;
|
4066
|
+
type: import("@package/databases").TokenType;
|
4028
4067
|
icon: string;
|
4029
4068
|
isNative: boolean;
|
4030
4069
|
isPoint: boolean;
|
@@ -4122,6 +4161,7 @@ declare const app: Elysia<"", {
|
|
4122
4161
|
address: string;
|
4123
4162
|
id: string;
|
4124
4163
|
chainId: number;
|
4164
|
+
type: import("@package/databases").TokenType;
|
4125
4165
|
icon: string;
|
4126
4166
|
isNative: boolean;
|
4127
4167
|
isPoint: boolean;
|
@@ -4148,6 +4188,7 @@ declare const app: Elysia<"", {
|
|
4148
4188
|
address: string;
|
4149
4189
|
id: string;
|
4150
4190
|
chainId: number;
|
4191
|
+
type: import("@package/databases").TokenType;
|
4151
4192
|
icon: string;
|
4152
4193
|
isNative: boolean;
|
4153
4194
|
isPoint: boolean;
|
@@ -4246,6 +4287,7 @@ declare const app: Elysia<"", {
|
|
4246
4287
|
address: string;
|
4247
4288
|
id: string;
|
4248
4289
|
chainId: number;
|
4290
|
+
type: import("@package/databases").TokenType;
|
4249
4291
|
icon: string;
|
4250
4292
|
isNative: boolean;
|
4251
4293
|
isPoint: boolean;
|
@@ -4272,6 +4314,7 @@ declare const app: Elysia<"", {
|
|
4272
4314
|
address: string;
|
4273
4315
|
id: string;
|
4274
4316
|
chainId: number;
|
4317
|
+
type: import("@package/databases").TokenType;
|
4275
4318
|
icon: string;
|
4276
4319
|
isNative: boolean;
|
4277
4320
|
isPoint: boolean;
|
@@ -4633,6 +4676,7 @@ declare const app: Elysia<"", {
|
|
4633
4676
|
address: string;
|
4634
4677
|
id: string;
|
4635
4678
|
chainId: number;
|
4679
|
+
type: import("@package/databases").TokenType;
|
4636
4680
|
icon: string;
|
4637
4681
|
isNative: boolean;
|
4638
4682
|
isPoint: boolean;
|
@@ -4678,6 +4722,7 @@ declare const app: Elysia<"", {
|
|
4678
4722
|
address: string;
|
4679
4723
|
id: string;
|
4680
4724
|
chainId: number;
|
4725
|
+
type: import("@package/databases").TokenType;
|
4681
4726
|
icon: string;
|
4682
4727
|
isNative: boolean;
|
4683
4728
|
isPoint: boolean;
|
@@ -4725,6 +4770,7 @@ declare const app: Elysia<"", {
|
|
4725
4770
|
address: string;
|
4726
4771
|
id: string;
|
4727
4772
|
chainId: number;
|
4773
|
+
type: import("@package/databases").TokenType;
|
4728
4774
|
icon: string;
|
4729
4775
|
isNative: boolean;
|
4730
4776
|
isPoint: boolean;
|
@@ -4768,6 +4814,7 @@ declare const app: Elysia<"", {
|
|
4768
4814
|
address: string;
|
4769
4815
|
id: string;
|
4770
4816
|
chainId: number;
|
4817
|
+
type: import("@package/databases").TokenType;
|
4771
4818
|
icon: string;
|
4772
4819
|
isNative: boolean;
|
4773
4820
|
isPoint: boolean;
|
@@ -4810,6 +4857,7 @@ declare const app: Elysia<"", {
|
|
4810
4857
|
address: string;
|
4811
4858
|
id: string;
|
4812
4859
|
chainId: number;
|
4860
|
+
type: import("@package/databases").TokenType;
|
4813
4861
|
icon: string;
|
4814
4862
|
isNative: boolean;
|
4815
4863
|
isPoint: boolean;
|
@@ -4864,6 +4912,7 @@ declare const app: Elysia<"", {
|
|
4864
4912
|
address: string;
|
4865
4913
|
id: string;
|
4866
4914
|
chainId: number;
|
4915
|
+
type: import("@package/databases").TokenType;
|
4867
4916
|
icon: string;
|
4868
4917
|
isNative: boolean;
|
4869
4918
|
isPoint: boolean;
|
@@ -4925,7 +4974,7 @@ declare const app: Elysia<"", {
|
|
4925
4974
|
} & {
|
4926
4975
|
post: {
|
4927
4976
|
body: {
|
4928
|
-
|
4977
|
+
type?: "TOKEN" | "PRETGE" | "POINT" | undefined;
|
4929
4978
|
isTest?: boolean | undefined;
|
4930
4979
|
address: string;
|
4931
4980
|
chainId: number;
|
@@ -4946,6 +4995,7 @@ declare const app: Elysia<"", {
|
|
4946
4995
|
address: string;
|
4947
4996
|
id: string;
|
4948
4997
|
chainId: number;
|
4998
|
+
type: import("@package/databases").TokenType;
|
4949
4999
|
icon: string;
|
4950
5000
|
isNative: boolean;
|
4951
5001
|
isPoint: boolean;
|
@@ -4970,6 +5020,7 @@ declare const app: Elysia<"", {
|
|
4970
5020
|
patch: {
|
4971
5021
|
body: {
|
4972
5022
|
name?: string | undefined;
|
5023
|
+
type?: "TOKEN" | "PRETGE" | "POINT" | undefined;
|
4973
5024
|
icon?: string | undefined;
|
4974
5025
|
isPoint?: boolean | undefined;
|
4975
5026
|
isPreTGE?: boolean | undefined;
|
@@ -4993,6 +5044,7 @@ declare const app: Elysia<"", {
|
|
4993
5044
|
address: string;
|
4994
5045
|
id: string;
|
4995
5046
|
chainId: number;
|
5047
|
+
type: import("@package/databases").TokenType;
|
4996
5048
|
icon: string;
|
4997
5049
|
isNative: boolean;
|
4998
5050
|
isPoint: boolean;
|
@@ -5066,6 +5118,7 @@ declare const app: Elysia<"", {
|
|
5066
5118
|
address: string;
|
5067
5119
|
id: string;
|
5068
5120
|
chainId: number;
|
5121
|
+
type: import("@package/databases").TokenType;
|
5069
5122
|
icon: string;
|
5070
5123
|
isNative: boolean;
|
5071
5124
|
isPoint: boolean;
|
@@ -6420,6 +6473,7 @@ declare const app: Elysia<"", {
|
|
6420
6473
|
address: string;
|
6421
6474
|
id: string;
|
6422
6475
|
chainId: number;
|
6476
|
+
type: import("@package/databases").TokenType;
|
6423
6477
|
icon: string;
|
6424
6478
|
isNative: boolean;
|
6425
6479
|
isPoint: boolean;
|
@@ -6445,6 +6499,7 @@ declare const app: Elysia<"", {
|
|
6445
6499
|
address: string;
|
6446
6500
|
id: string;
|
6447
6501
|
chainId: number;
|
6502
|
+
type: import("@package/databases").TokenType;
|
6448
6503
|
icon: string;
|
6449
6504
|
isNative: boolean;
|
6450
6505
|
isPoint: boolean;
|
@@ -8457,6 +8512,7 @@ declare const app: Elysia<"", {
|
|
8457
8512
|
address: string;
|
8458
8513
|
id: string;
|
8459
8514
|
chainId: number;
|
8515
|
+
type: import("@package/databases").TokenType;
|
8460
8516
|
icon: string;
|
8461
8517
|
isNative: boolean;
|
8462
8518
|
isPoint: boolean;
|
@@ -76,6 +76,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
76
76
|
address: string;
|
77
77
|
id: string;
|
78
78
|
chainId: number;
|
79
|
+
type: import("@package/databases").TokenType;
|
79
80
|
icon: string;
|
80
81
|
isNative: boolean;
|
81
82
|
isPoint: boolean;
|
@@ -102,6 +103,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
102
103
|
address: string;
|
103
104
|
id: string;
|
104
105
|
chainId: number;
|
106
|
+
type: import("@package/databases").TokenType;
|
105
107
|
icon: string;
|
106
108
|
isNative: boolean;
|
107
109
|
isPoint: boolean;
|
@@ -194,6 +196,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
194
196
|
address: string;
|
195
197
|
id: string;
|
196
198
|
chainId: number;
|
199
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
197
200
|
icon: string;
|
198
201
|
isNative: boolean;
|
199
202
|
isPoint: boolean;
|
@@ -444,6 +447,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
444
447
|
creatorTag?: string | undefined;
|
445
448
|
distributionChainIds?: number[] | undefined;
|
446
449
|
types?: string[] | undefined;
|
450
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
447
451
|
withOpportunity?: boolean | undefined;
|
448
452
|
createdAfter?: Date | null | undefined;
|
449
453
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -485,6 +489,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
485
489
|
address: string;
|
486
490
|
id: string;
|
487
491
|
chainId: number;
|
492
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
488
493
|
icon: string;
|
489
494
|
isNative: boolean;
|
490
495
|
isPoint: boolean;
|
@@ -556,6 +561,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
556
561
|
creatorTag?: string | undefined;
|
557
562
|
distributionChainIds?: number[] | undefined;
|
558
563
|
types?: string[] | undefined;
|
564
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
559
565
|
withOpportunity?: boolean | undefined;
|
560
566
|
createdAfter?: Date | null | undefined;
|
561
567
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -606,6 +612,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
606
612
|
creatorTag?: string | undefined;
|
607
613
|
distributionChainIds?: number[] | undefined;
|
608
614
|
types?: string[] | undefined;
|
615
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
609
616
|
withOpportunity?: boolean | undefined;
|
610
617
|
createdAfter?: Date | null | undefined;
|
611
618
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -661,6 +668,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
661
668
|
creatorTag?: string | undefined;
|
662
669
|
distributionChainIds?: number[] | undefined;
|
663
670
|
types?: string[] | undefined;
|
671
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
664
672
|
withOpportunity?: boolean | undefined;
|
665
673
|
createdAfter?: Date | null | undefined;
|
666
674
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -719,6 +727,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
719
727
|
creatorTag?: string | undefined;
|
720
728
|
distributionChainIds?: number[] | undefined;
|
721
729
|
types?: string[] | undefined;
|
730
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
722
731
|
withOpportunity?: boolean | undefined;
|
723
732
|
createdAfter?: Date | null | undefined;
|
724
733
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -774,6 +783,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
774
783
|
creatorTag?: string | undefined;
|
775
784
|
distributionChainIds?: number[] | undefined;
|
776
785
|
types?: string[] | undefined;
|
786
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
777
787
|
withOpportunity?: boolean | undefined;
|
778
788
|
createdAfter?: Date | null | undefined;
|
779
789
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -829,6 +839,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
829
839
|
creatorTag?: string | undefined;
|
830
840
|
distributionChainIds?: number[] | undefined;
|
831
841
|
types?: string[] | undefined;
|
842
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
832
843
|
withOpportunity?: boolean | undefined;
|
833
844
|
createdAfter?: Date | null | undefined;
|
834
845
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -883,6 +894,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
883
894
|
creatorTag?: string | undefined;
|
884
895
|
distributionChainIds?: number[] | undefined;
|
885
896
|
types?: string[] | undefined;
|
897
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
886
898
|
withOpportunity?: boolean | undefined;
|
887
899
|
createdAfter?: Date | null | undefined;
|
888
900
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -936,6 +948,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
936
948
|
creatorTag?: string | undefined;
|
937
949
|
distributionChainIds?: number[] | undefined;
|
938
950
|
types?: string[] | undefined;
|
951
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
939
952
|
withOpportunity?: boolean | undefined;
|
940
953
|
createdAfter?: Date | null | undefined;
|
941
954
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -996,6 +1009,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
996
1009
|
creatorTag?: string | undefined;
|
997
1010
|
distributionChainIds?: number[] | undefined;
|
998
1011
|
types?: string[] | undefined;
|
1012
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
999
1013
|
withOpportunity?: boolean | undefined;
|
1000
1014
|
createdAfter?: Date | null | undefined;
|
1001
1015
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -80,6 +80,11 @@ export declare const CampaignResourceDto: import("@sinclair/typebox").TObject<{
|
|
80
80
|
isPreTGE: import("@sinclair/typebox").TBoolean;
|
81
81
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
82
82
|
symbol: import("@sinclair/typebox").TString;
|
83
|
+
type: import("@sinclair/typebox").TEnum<{
|
84
|
+
readonly TOKEN: "TOKEN";
|
85
|
+
readonly PRETGE: "PRETGE";
|
86
|
+
readonly POINT: "POINT";
|
87
|
+
}>;
|
83
88
|
}>;
|
84
89
|
distributionChain: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
85
90
|
id: import("@sinclair/typebox").TNumber;
|
@@ -186,6 +191,11 @@ export declare const FindCampaignDto: import("@sinclair/typebox").TObject<{
|
|
186
191
|
tokenSymbol: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
187
192
|
tokenAddress: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
188
193
|
test: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
194
|
+
tokenTypes: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TEnum<{
|
195
|
+
readonly TOKEN: "TOKEN";
|
196
|
+
readonly PRETGE: "PRETGE";
|
197
|
+
readonly POINT: "POINT";
|
198
|
+
}>>>;
|
189
199
|
point: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
190
200
|
opportunityId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
191
201
|
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|