@merkl/api 0.20.115 → 0.20.117
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/database/api/.generated/drizzle/schema.d.ts +17 -0
- package/dist/database/api/.generated/drizzle/schema.js +1 -0
- package/dist/database/api/.generated/drizzle/schema.ts +1 -0
- package/dist/database/api/.generated/edge.js +4 -3
- package/dist/database/api/.generated/index-browser.js +1 -0
- package/dist/database/api/.generated/index.d.ts +58 -1
- package/dist/database/api/.generated/index.js +4 -3
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +1 -0
- package/dist/database/api/.generated/wasm.js +1 -0
- package/dist/src/eden/index.d.ts +568 -18
- package/dist/src/engine/deprecated/dynamicData/implementations/ERC721.js +4 -2
- package/dist/src/engine/deprecated/dynamicData/implementations/ERCMultiToken.js +4 -2
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.js +4 -2
- package/dist/src/engine/deprecated/dynamicData/utils/getFixedApr.d.ts +0 -1
- package/dist/src/engine/deprecated/dynamicData/utils/getFixedApr.js +0 -8
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/NoLinkVaultProcessor.js +1 -1
- package/dist/src/index.d.ts +190 -6
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +29 -1
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +2 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +4 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +37 -3
- package/dist/src/modules/v4/campaign/campaign.service.js +4 -2
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +52 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.service.js +7 -7
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +96 -3
- package/dist/src/modules/v4/opportunity/opportunity.controller.js +2 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +10 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +39 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.js +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +135 -10
- package/dist/src/modules/v4/opportunity/opportunity.service.js +1 -1
- package/dist/src/modules/v4/reward/reward.model.d.ts +4 -0
- package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +14 -0
- package/dist/src/modules/v4/router.d.ts +190 -6
- package/dist/src/modules/v4/token/token.controller.d.ts +9 -0
- package/dist/src/modules/v4/token/token.model.d.ts +3 -0
- package/dist/src/modules/v4/token/token.model.js +3 -0
- package/dist/src/modules/v4/token/token.repository.d.ts +4 -0
- package/dist/src/modules/v4/token/token.service.d.ts +13 -0
- package/dist/src/modules/v4/token/token.service.js +1 -0
- package/dist/src/modules/v4/user/user.controller.d.ts +4 -0
- package/dist/src/utils/parseDistributionType.d.ts +1 -0
- package/dist/src/utils/parseDistributionType.js +16 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1,9 +1,11 @@
|
|
1
1
|
import { TokenService } from "@/modules/v4/token/token.service";
|
2
2
|
import { log } from "@/utils/logger";
|
3
|
+
import { parseDistributionType } from "@/utils/parseDistributionType";
|
3
4
|
import { Pricer } from "@/utils/pricer";
|
5
|
+
import { DistributionType } from "@db/api";
|
4
6
|
import { AragornEscrowInterface, BN2Number, ChainInteractionService, ERC20Interface, YEAR, } from "@sdk";
|
5
7
|
import { ERC721SubCampaignType } from "libs/sdk/src/types/merkl/campaignTypes/erc721";
|
6
|
-
import { getFixedApr
|
8
|
+
import { getFixedApr } from "../utils/getFixedApr";
|
7
9
|
export class ERC721DynamicData {
|
8
10
|
async build(chainId, campaigns) {
|
9
11
|
const pricer = await Pricer.load();
|
@@ -69,7 +71,7 @@ export class ERC721DynamicData {
|
|
69
71
|
if (rewardToken.isPoint) {
|
70
72
|
apr = apr / 365 / 100;
|
71
73
|
}
|
72
|
-
else if (
|
74
|
+
else if (parseDistributionType(campaign.campaignParameters) !== DistributionType.DUTCH_AUCTION) {
|
73
75
|
apr = getFixedApr(campaign, priceRewardToken, priceTargetToken);
|
74
76
|
}
|
75
77
|
dynamicData.push({
|
@@ -1,8 +1,10 @@
|
|
1
1
|
import { TokenService } from "@/modules/v4/token/token.service";
|
2
2
|
import { log } from "@/utils/logger";
|
3
|
+
import { parseDistributionType } from "@/utils/parseDistributionType";
|
3
4
|
import { Pricer } from "@/utils/pricer";
|
5
|
+
import { DistributionType } from "@db/api";
|
4
6
|
import { BN2Number, ChainInteractionService, CloberBookManagerInterface, CloberPoolInterface, ERC20Interface, ERC6909Interface, YEAR, } from "@sdk";
|
5
|
-
import { getFixedApr
|
7
|
+
import { getFixedApr } from "../utils/getFixedApr";
|
6
8
|
export class ERCMultiTokenDynamicData {
|
7
9
|
async build(chainId, campaigns) {
|
8
10
|
const pricer = await Pricer.load();
|
@@ -143,7 +145,7 @@ export class ERCMultiTokenDynamicData {
|
|
143
145
|
if (rewardToken.isPoint) {
|
144
146
|
apr = apr / 365 / 100;
|
145
147
|
}
|
146
|
-
else if (
|
148
|
+
else if (parseDistributionType(campaign.campaignParameters) !== DistributionType.DUTCH_AUCTION) {
|
147
149
|
apr = getFixedApr(campaign, priceRewardToken, priceTargetToken);
|
148
150
|
}
|
149
151
|
dynamicData.push({
|
@@ -8,9 +8,11 @@ import { ComputedValueService } from "@/modules/v4/computedValue/computedValue.s
|
|
8
8
|
import { TokenRepository } from "@/modules/v4/token/token.repository";
|
9
9
|
import { TokenService } from "@/modules/v4/token/token.service";
|
10
10
|
import { log } from "@/utils/logger";
|
11
|
+
import { parseDistributionType } from "@/utils/parseDistributionType";
|
11
12
|
import { Pricer } from "@/utils/pricer";
|
13
|
+
import { DistributionType } from "@db/api";
|
12
14
|
import { BN2Number, BalancerPoolInterface, BalancerV3StablePoolInterface, ChainId, ChainInteractionService, ERC20Interface, EnzymeInterface, FactoryInterface, LayerBankERC20Interface, MetamorphoInterface, YEAR, getEnv, } from "@sdk";
|
13
|
-
import { getFixedApr
|
15
|
+
import { getFixedApr } from "../utils/getFixedApr";
|
14
16
|
export class Erc20DynamicData {
|
15
17
|
async build(chainId, campaigns) {
|
16
18
|
const pricer = await Pricer.load();
|
@@ -155,7 +157,7 @@ export class Erc20DynamicData {
|
|
155
157
|
if (rewardToken.isPoint) {
|
156
158
|
apr = apr / 365 / 100;
|
157
159
|
}
|
158
|
-
else if (
|
160
|
+
else if (parseDistributionType(campaign.campaignParameters) !== DistributionType.DUTCH_AUCTION) {
|
159
161
|
apr = getFixedApr(campaign, priceRewardToken, priceTargetToken);
|
160
162
|
}
|
161
163
|
dynamicData.push({
|
@@ -5,5 +5,4 @@ export type BaseFixAPRConfig = {
|
|
5
5
|
rewardTokenPricing: boolean;
|
6
6
|
};
|
7
7
|
export type FixedAprCampaignType = Campaign.ERC20_FIX_APR | Campaign.HYPERDRIVELOGFIXPROCESSOR | Campaign.ERC6909FIXAPR | Campaign.ERC1155FIXAPR | Campaign.ERC721FIXAPR;
|
8
|
-
export declare function hasFixedAprConfig<T>(params: T): params is T & BaseFixAPRConfig;
|
9
8
|
export declare function getFixedApr(campaignParameters: CampaignParameters<FixedAprCampaignType>, priceRewardToken: number, priceTargetToken: number): number;
|
@@ -1,11 +1,3 @@
|
|
1
|
-
// Type guard to check if campaign parameters have fixed APR config
|
2
|
-
export function hasFixedAprConfig(params) {
|
3
|
-
return (typeof params === "object" &&
|
4
|
-
params !== null &&
|
5
|
-
"targetTokenPricing" in params &&
|
6
|
-
"rewardTokenPricing" in params &&
|
7
|
-
"apr" in params);
|
8
|
-
}
|
9
1
|
// TODO: Enhance APR display for non-dollar denominations when front-end is ready.
|
10
2
|
// This should handle cases where one or both token price are unavailable, showing the APR as a direct ratio
|
11
3
|
// (e.g., X reward tokens per Y target tokens) instead of dollar values.
|
package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/NoLinkVaultProcessor.js
CHANGED
@@ -61,7 +61,7 @@ export class NoLinkVaultProcessor extends GenericProcessor {
|
|
61
61
|
tvl,
|
62
62
|
blacklistedSupply,
|
63
63
|
cardName: generateCardName(type, typeInfo, campaign),
|
64
|
-
tokensDisplay: [{ symbol: typeInfo.
|
64
|
+
tokensDisplay: [{ symbol: typeInfo.tokenAddress, address: typeInfo.tokenAddress }],
|
65
65
|
};
|
66
66
|
}
|
67
67
|
computeRound1(type, typeInfo) {
|
package/dist/src/index.d.ts
CHANGED
@@ -184,6 +184,30 @@ declare const app: Elysia<"", false, {
|
|
184
184
|
};
|
185
185
|
response: {
|
186
186
|
200: {
|
187
|
+
Tokens: {
|
188
|
+
symbol: string;
|
189
|
+
id: string;
|
190
|
+
name: string | null;
|
191
|
+
icon: string;
|
192
|
+
address: string;
|
193
|
+
chainId: number;
|
194
|
+
decimals: number;
|
195
|
+
displaySymbol: string;
|
196
|
+
verified: boolean;
|
197
|
+
isTest: boolean;
|
198
|
+
isPoint: boolean;
|
199
|
+
isPreTGE: boolean;
|
200
|
+
isNative: boolean;
|
201
|
+
price: number | null;
|
202
|
+
}[];
|
203
|
+
Protocols: {
|
204
|
+
id: string;
|
205
|
+
name: string;
|
206
|
+
url: string;
|
207
|
+
description: string;
|
208
|
+
tags: string[];
|
209
|
+
icon: string;
|
210
|
+
}[];
|
187
211
|
id: string;
|
188
212
|
name: string;
|
189
213
|
type: string;
|
@@ -200,7 +224,7 @@ declare const app: Elysia<"", false, {
|
|
200
224
|
apr: number;
|
201
225
|
dailyRewards: number;
|
202
226
|
lastCampaignCreatedAt: Date;
|
203
|
-
}
|
227
|
+
};
|
204
228
|
};
|
205
229
|
};
|
206
230
|
};
|
@@ -262,6 +286,30 @@ declare const app: Elysia<"", false, {
|
|
262
286
|
};
|
263
287
|
response: {
|
264
288
|
200: {
|
289
|
+
Tokens: {
|
290
|
+
symbol: string;
|
291
|
+
id: string;
|
292
|
+
name: string | null;
|
293
|
+
icon: string;
|
294
|
+
address: string;
|
295
|
+
chainId: number;
|
296
|
+
decimals: number;
|
297
|
+
displaySymbol: string;
|
298
|
+
verified: boolean;
|
299
|
+
isTest: boolean;
|
300
|
+
isPoint: boolean;
|
301
|
+
isPreTGE: boolean;
|
302
|
+
isNative: boolean;
|
303
|
+
price: number | null;
|
304
|
+
}[];
|
305
|
+
Protocols: {
|
306
|
+
id: string;
|
307
|
+
name: string;
|
308
|
+
url: string;
|
309
|
+
description: string;
|
310
|
+
tags: string[];
|
311
|
+
icon: string;
|
312
|
+
}[];
|
265
313
|
id: string;
|
266
314
|
name: string;
|
267
315
|
type: string;
|
@@ -297,6 +345,7 @@ declare const app: Elysia<"", false, {
|
|
297
345
|
verified: boolean;
|
298
346
|
isTest: boolean;
|
299
347
|
isPoint: boolean;
|
348
|
+
isPreTGE: boolean;
|
300
349
|
isNative: boolean;
|
301
350
|
} & {
|
302
351
|
price?: number | null | undefined;
|
@@ -305,7 +354,7 @@ declare const app: Elysia<"", false, {
|
|
305
354
|
depositUrl: string | undefined;
|
306
355
|
explorerAddress: string | undefined;
|
307
356
|
tags: string[];
|
308
|
-
}
|
357
|
+
};
|
309
358
|
};
|
310
359
|
};
|
311
360
|
};
|
@@ -326,6 +375,30 @@ declare const app: Elysia<"", false, {
|
|
326
375
|
};
|
327
376
|
response: {
|
328
377
|
200: {
|
378
|
+
Tokens: {
|
379
|
+
symbol: string;
|
380
|
+
id: string;
|
381
|
+
name: string | null;
|
382
|
+
icon: string;
|
383
|
+
address: string;
|
384
|
+
chainId: number;
|
385
|
+
decimals: number;
|
386
|
+
displaySymbol: string;
|
387
|
+
verified: boolean;
|
388
|
+
isTest: boolean;
|
389
|
+
isPoint: boolean;
|
390
|
+
isPreTGE: boolean;
|
391
|
+
isNative: boolean;
|
392
|
+
price: number | null;
|
393
|
+
}[];
|
394
|
+
Protocols: {
|
395
|
+
id: string;
|
396
|
+
name: string;
|
397
|
+
url: string;
|
398
|
+
description: string;
|
399
|
+
tags: string[];
|
400
|
+
icon: string;
|
401
|
+
}[];
|
329
402
|
id: string;
|
330
403
|
name: string;
|
331
404
|
type: string;
|
@@ -361,6 +434,7 @@ declare const app: Elysia<"", false, {
|
|
361
434
|
verified: boolean;
|
362
435
|
isTest: boolean;
|
363
436
|
isPoint: boolean;
|
437
|
+
isPreTGE: boolean;
|
364
438
|
isNative: boolean;
|
365
439
|
} & {
|
366
440
|
price?: number | null | undefined;
|
@@ -369,7 +443,7 @@ declare const app: Elysia<"", false, {
|
|
369
443
|
depositUrl: string | undefined;
|
370
444
|
explorerAddress: string | undefined;
|
371
445
|
tags: string[];
|
372
|
-
}
|
446
|
+
};
|
373
447
|
};
|
374
448
|
};
|
375
449
|
};
|
@@ -451,6 +525,7 @@ declare const app: Elysia<"", false, {
|
|
451
525
|
verified: boolean;
|
452
526
|
isTest: boolean;
|
453
527
|
isPoint: boolean;
|
528
|
+
isPreTGE: boolean;
|
454
529
|
isNative: boolean;
|
455
530
|
price: number | null;
|
456
531
|
};
|
@@ -478,6 +553,7 @@ declare const app: Elysia<"", false, {
|
|
478
553
|
verified: boolean;
|
479
554
|
isTest: boolean;
|
480
555
|
isPoint: boolean;
|
556
|
+
isPreTGE: boolean;
|
481
557
|
isNative: boolean;
|
482
558
|
} & {
|
483
559
|
price?: number | null | undefined;
|
@@ -546,6 +622,7 @@ declare const app: Elysia<"", false, {
|
|
546
622
|
verified: boolean;
|
547
623
|
isTest: boolean;
|
548
624
|
isPoint: boolean;
|
625
|
+
isPreTGE: boolean;
|
549
626
|
isNative: boolean;
|
550
627
|
} & {
|
551
628
|
price?: number | null | undefined;
|
@@ -678,6 +755,8 @@ declare const app: Elysia<"", false, {
|
|
678
755
|
decimals: number;
|
679
756
|
verified: boolean;
|
680
757
|
isTest: boolean;
|
758
|
+
isPoint: boolean;
|
759
|
+
isPreTGE: boolean;
|
681
760
|
};
|
682
761
|
value: number;
|
683
762
|
campaignId: string;
|
@@ -700,6 +779,8 @@ declare const app: Elysia<"", false, {
|
|
700
779
|
decimals: number;
|
701
780
|
verified: boolean;
|
702
781
|
isTest: boolean;
|
782
|
+
isPoint: boolean;
|
783
|
+
isPreTGE: boolean;
|
703
784
|
}[];
|
704
785
|
tags: string[];
|
705
786
|
identifier: string;
|
@@ -811,6 +892,8 @@ declare const app: Elysia<"", false, {
|
|
811
892
|
decimals: number;
|
812
893
|
verified: boolean;
|
813
894
|
isTest: boolean;
|
895
|
+
isPoint: boolean;
|
896
|
+
isPreTGE: boolean;
|
814
897
|
};
|
815
898
|
value: number;
|
816
899
|
campaignId: string;
|
@@ -833,6 +916,8 @@ declare const app: Elysia<"", false, {
|
|
833
916
|
decimals: number;
|
834
917
|
verified: boolean;
|
835
918
|
isTest: boolean;
|
919
|
+
isPoint: boolean;
|
920
|
+
isPreTGE: boolean;
|
836
921
|
}[];
|
837
922
|
tags: string[];
|
838
923
|
identifier: string;
|
@@ -896,6 +981,8 @@ declare const app: Elysia<"", false, {
|
|
896
981
|
decimals: number;
|
897
982
|
verified: boolean;
|
898
983
|
isTest: boolean;
|
984
|
+
isPoint: boolean;
|
985
|
+
isPreTGE: boolean;
|
899
986
|
};
|
900
987
|
}[];
|
901
988
|
}[];
|
@@ -978,6 +1065,8 @@ declare const app: Elysia<"", false, {
|
|
978
1065
|
decimals: number;
|
979
1066
|
verified: boolean;
|
980
1067
|
isTest: boolean;
|
1068
|
+
isPoint: boolean;
|
1069
|
+
isPreTGE: boolean;
|
981
1070
|
};
|
982
1071
|
value: number;
|
983
1072
|
campaignId: string;
|
@@ -1000,6 +1089,8 @@ declare const app: Elysia<"", false, {
|
|
1000
1089
|
decimals: number;
|
1001
1090
|
verified: boolean;
|
1002
1091
|
isTest: boolean;
|
1092
|
+
isPoint: boolean;
|
1093
|
+
isPreTGE: boolean;
|
1003
1094
|
}[];
|
1004
1095
|
tags: string[];
|
1005
1096
|
identifier: string;
|
@@ -1063,6 +1154,8 @@ declare const app: Elysia<"", false, {
|
|
1063
1154
|
decimals: number;
|
1064
1155
|
verified: boolean;
|
1065
1156
|
isTest: boolean;
|
1157
|
+
isPoint: boolean;
|
1158
|
+
isPreTGE: boolean;
|
1066
1159
|
};
|
1067
1160
|
}[];
|
1068
1161
|
};
|
@@ -1239,6 +1332,30 @@ declare const app: Elysia<"", false, {
|
|
1239
1332
|
};
|
1240
1333
|
response: {
|
1241
1334
|
200: {
|
1335
|
+
Tokens: {
|
1336
|
+
symbol: string;
|
1337
|
+
id: string;
|
1338
|
+
name: string | null;
|
1339
|
+
icon: string;
|
1340
|
+
address: string;
|
1341
|
+
chainId: number;
|
1342
|
+
decimals: number;
|
1343
|
+
displaySymbol: string;
|
1344
|
+
verified: boolean;
|
1345
|
+
isTest: boolean;
|
1346
|
+
isPoint: boolean;
|
1347
|
+
isPreTGE: boolean;
|
1348
|
+
isNative: boolean;
|
1349
|
+
price: number | null;
|
1350
|
+
}[];
|
1351
|
+
Protocols: {
|
1352
|
+
id: string;
|
1353
|
+
name: string;
|
1354
|
+
url: string;
|
1355
|
+
description: string;
|
1356
|
+
tags: string[];
|
1357
|
+
icon: string;
|
1358
|
+
}[];
|
1242
1359
|
id: string;
|
1243
1360
|
name: string;
|
1244
1361
|
type: string;
|
@@ -1274,6 +1391,7 @@ declare const app: Elysia<"", false, {
|
|
1274
1391
|
verified: boolean;
|
1275
1392
|
isTest: boolean;
|
1276
1393
|
isPoint: boolean;
|
1394
|
+
isPreTGE: boolean;
|
1277
1395
|
isNative: boolean;
|
1278
1396
|
} & {
|
1279
1397
|
price?: number | null | undefined;
|
@@ -1282,7 +1400,7 @@ declare const app: Elysia<"", false, {
|
|
1282
1400
|
depositUrl: string | undefined;
|
1283
1401
|
explorerAddress: string | undefined;
|
1284
1402
|
tags: string[];
|
1285
|
-
} |
|
1403
|
+
} | undefined;
|
1286
1404
|
};
|
1287
1405
|
};
|
1288
1406
|
};
|
@@ -1444,6 +1562,7 @@ declare const app: Elysia<"", false, {
|
|
1444
1562
|
verified: boolean;
|
1445
1563
|
isTest: boolean;
|
1446
1564
|
isPoint: boolean;
|
1565
|
+
isPreTGE: boolean;
|
1447
1566
|
isNative: boolean;
|
1448
1567
|
} & {
|
1449
1568
|
price?: number | null | undefined;
|
@@ -1530,6 +1649,7 @@ declare const app: Elysia<"", false, {
|
|
1530
1649
|
verified: boolean;
|
1531
1650
|
isTest: boolean;
|
1532
1651
|
isPoint: boolean;
|
1652
|
+
isPreTGE: boolean;
|
1533
1653
|
isNative: boolean;
|
1534
1654
|
} & {
|
1535
1655
|
price?: number | null | undefined;
|
@@ -1717,6 +1837,7 @@ declare const app: Elysia<"", false, {
|
|
1717
1837
|
verified: boolean;
|
1718
1838
|
isTest: boolean;
|
1719
1839
|
isPoint: boolean;
|
1840
|
+
isPreTGE: boolean;
|
1720
1841
|
isNative: boolean;
|
1721
1842
|
} & {
|
1722
1843
|
price?: number | null | undefined;
|
@@ -2078,6 +2199,30 @@ declare const app: Elysia<"", false, {
|
|
2078
2199
|
};
|
2079
2200
|
response: {
|
2080
2201
|
200: {
|
2202
|
+
Tokens: {
|
2203
|
+
symbol: string;
|
2204
|
+
id: string;
|
2205
|
+
name: string | null;
|
2206
|
+
icon: string;
|
2207
|
+
address: string;
|
2208
|
+
chainId: number;
|
2209
|
+
decimals: number;
|
2210
|
+
displaySymbol: string;
|
2211
|
+
verified: boolean;
|
2212
|
+
isTest: boolean;
|
2213
|
+
isPoint: boolean;
|
2214
|
+
isPreTGE: boolean;
|
2215
|
+
isNative: boolean;
|
2216
|
+
price: number | null;
|
2217
|
+
}[];
|
2218
|
+
Protocols: {
|
2219
|
+
id: string;
|
2220
|
+
name: string;
|
2221
|
+
url: string;
|
2222
|
+
description: string;
|
2223
|
+
tags: string[];
|
2224
|
+
icon: string;
|
2225
|
+
}[];
|
2081
2226
|
id: string;
|
2082
2227
|
name: string;
|
2083
2228
|
type: string;
|
@@ -2113,6 +2258,7 @@ declare const app: Elysia<"", false, {
|
|
2113
2258
|
verified: boolean;
|
2114
2259
|
isTest: boolean;
|
2115
2260
|
isPoint: boolean;
|
2261
|
+
isPreTGE: boolean;
|
2116
2262
|
isNative: boolean;
|
2117
2263
|
} & {
|
2118
2264
|
price?: number | null | undefined;
|
@@ -2121,7 +2267,7 @@ declare const app: Elysia<"", false, {
|
|
2121
2267
|
depositUrl: string | undefined;
|
2122
2268
|
explorerAddress: string | undefined;
|
2123
2269
|
tags: string[];
|
2124
|
-
} |
|
2270
|
+
} | undefined;
|
2125
2271
|
};
|
2126
2272
|
};
|
2127
2273
|
};
|
@@ -2141,6 +2287,30 @@ declare const app: Elysia<"", false, {
|
|
2141
2287
|
};
|
2142
2288
|
response: {
|
2143
2289
|
200: {
|
2290
|
+
Tokens: {
|
2291
|
+
symbol: string;
|
2292
|
+
id: string;
|
2293
|
+
name: string | null;
|
2294
|
+
icon: string;
|
2295
|
+
address: string;
|
2296
|
+
chainId: number;
|
2297
|
+
decimals: number;
|
2298
|
+
displaySymbol: string;
|
2299
|
+
verified: boolean;
|
2300
|
+
isTest: boolean;
|
2301
|
+
isPoint: boolean;
|
2302
|
+
isPreTGE: boolean;
|
2303
|
+
isNative: boolean;
|
2304
|
+
price: number | null;
|
2305
|
+
}[];
|
2306
|
+
Protocols: {
|
2307
|
+
id: string;
|
2308
|
+
name: string;
|
2309
|
+
url: string;
|
2310
|
+
description: string;
|
2311
|
+
tags: string[];
|
2312
|
+
icon: string;
|
2313
|
+
}[];
|
2144
2314
|
id: string;
|
2145
2315
|
name: string;
|
2146
2316
|
type: string;
|
@@ -2176,6 +2346,7 @@ declare const app: Elysia<"", false, {
|
|
2176
2346
|
verified: boolean;
|
2177
2347
|
isTest: boolean;
|
2178
2348
|
isPoint: boolean;
|
2349
|
+
isPreTGE: boolean;
|
2179
2350
|
isNative: boolean;
|
2180
2351
|
} & {
|
2181
2352
|
price?: number | null | undefined;
|
@@ -2184,7 +2355,7 @@ declare const app: Elysia<"", false, {
|
|
2184
2355
|
depositUrl: string | undefined;
|
2185
2356
|
explorerAddress: string | undefined;
|
2186
2357
|
tags: string[];
|
2187
|
-
} |
|
2358
|
+
} | undefined;
|
2188
2359
|
};
|
2189
2360
|
};
|
2190
2361
|
};
|
@@ -2447,6 +2618,7 @@ declare const app: Elysia<"", false, {
|
|
2447
2618
|
verified: boolean;
|
2448
2619
|
isTest: boolean;
|
2449
2620
|
isPoint: boolean;
|
2621
|
+
isPreTGE: boolean;
|
2450
2622
|
isNative: boolean;
|
2451
2623
|
price?: number | null | undefined;
|
2452
2624
|
} | undefined;
|
@@ -2480,6 +2652,7 @@ declare const app: Elysia<"", false, {
|
|
2480
2652
|
verified: boolean;
|
2481
2653
|
isTest: boolean;
|
2482
2654
|
isPoint: boolean;
|
2655
|
+
isPreTGE: boolean;
|
2483
2656
|
isNative: boolean;
|
2484
2657
|
price?: number | null | undefined;
|
2485
2658
|
} | undefined;
|
@@ -2513,6 +2686,7 @@ declare const app: Elysia<"", false, {
|
|
2513
2686
|
verified: boolean;
|
2514
2687
|
isTest: boolean;
|
2515
2688
|
isPoint: boolean;
|
2689
|
+
isPreTGE: boolean;
|
2516
2690
|
isNative: boolean;
|
2517
2691
|
price: number | null;
|
2518
2692
|
}[];
|
@@ -2545,6 +2719,7 @@ declare const app: Elysia<"", false, {
|
|
2545
2719
|
verified: boolean;
|
2546
2720
|
isTest: boolean;
|
2547
2721
|
isPoint: boolean;
|
2722
|
+
isPreTGE: boolean;
|
2548
2723
|
isNative: boolean;
|
2549
2724
|
} & {
|
2550
2725
|
price?: number | null | undefined;
|
@@ -2588,6 +2763,7 @@ declare const app: Elysia<"", false, {
|
|
2588
2763
|
verified: boolean;
|
2589
2764
|
isTest: boolean;
|
2590
2765
|
isPoint: boolean;
|
2766
|
+
isPreTGE: boolean;
|
2591
2767
|
isNative: boolean;
|
2592
2768
|
} & {
|
2593
2769
|
price?: number | null | undefined;
|
@@ -2650,6 +2826,7 @@ declare const app: Elysia<"", false, {
|
|
2650
2826
|
verified: boolean;
|
2651
2827
|
isTest: boolean;
|
2652
2828
|
isPoint: boolean;
|
2829
|
+
isPreTGE: boolean;
|
2653
2830
|
isNative: boolean;
|
2654
2831
|
price: number | null;
|
2655
2832
|
};
|
@@ -2666,6 +2843,7 @@ declare const app: Elysia<"", false, {
|
|
2666
2843
|
verified?: boolean | undefined;
|
2667
2844
|
isTest?: boolean | undefined;
|
2668
2845
|
isPoint?: boolean | undefined;
|
2846
|
+
isPreTGE?: boolean | undefined;
|
2669
2847
|
};
|
2670
2848
|
params: {
|
2671
2849
|
id: string;
|
@@ -2687,6 +2865,7 @@ declare const app: Elysia<"", false, {
|
|
2687
2865
|
verified: boolean;
|
2688
2866
|
isTest: boolean;
|
2689
2867
|
isPoint: boolean;
|
2868
|
+
isPreTGE: boolean;
|
2690
2869
|
isNative: boolean;
|
2691
2870
|
price: number | null;
|
2692
2871
|
};
|
@@ -2750,6 +2929,7 @@ declare const app: Elysia<"", false, {
|
|
2750
2929
|
verified: boolean;
|
2751
2930
|
isTest: boolean;
|
2752
2931
|
isPoint: boolean;
|
2932
|
+
isPreTGE: boolean;
|
2753
2933
|
isNative: boolean;
|
2754
2934
|
price: number | null;
|
2755
2935
|
};
|
@@ -3686,6 +3866,7 @@ declare const app: Elysia<"", false, {
|
|
3686
3866
|
verified: boolean;
|
3687
3867
|
isTest: boolean;
|
3688
3868
|
isPoint: boolean;
|
3869
|
+
isPreTGE: boolean;
|
3689
3870
|
isNative: boolean;
|
3690
3871
|
price: number | null;
|
3691
3872
|
};
|
@@ -3709,6 +3890,7 @@ declare const app: Elysia<"", false, {
|
|
3709
3890
|
verified: boolean;
|
3710
3891
|
isTest: boolean;
|
3711
3892
|
isPoint: boolean;
|
3893
|
+
isPreTGE: boolean;
|
3712
3894
|
isNative: boolean;
|
3713
3895
|
price: number | null;
|
3714
3896
|
}[];
|
@@ -3807,6 +3989,7 @@ declare const app: Elysia<"", false, {
|
|
3807
3989
|
verified: boolean;
|
3808
3990
|
isTest: boolean;
|
3809
3991
|
isPoint: boolean;
|
3992
|
+
isPreTGE: boolean;
|
3810
3993
|
isNative: boolean;
|
3811
3994
|
price: number | null;
|
3812
3995
|
};
|
@@ -3830,6 +4013,7 @@ declare const app: Elysia<"", false, {
|
|
3830
4013
|
verified: boolean;
|
3831
4014
|
isTest: boolean;
|
3832
4015
|
isPoint: boolean;
|
4016
|
+
isPreTGE: boolean;
|
3833
4017
|
isNative: boolean;
|
3834
4018
|
price: number | null;
|
3835
4019
|
}[];
|
@@ -38,6 +38,30 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
38
38
|
};
|
39
39
|
response: {
|
40
40
|
200: {
|
41
|
+
Tokens: {
|
42
|
+
symbol: string;
|
43
|
+
id: string;
|
44
|
+
name: string | null;
|
45
|
+
icon: string;
|
46
|
+
address: string;
|
47
|
+
chainId: number;
|
48
|
+
decimals: number;
|
49
|
+
displaySymbol: string;
|
50
|
+
verified: boolean;
|
51
|
+
isTest: boolean;
|
52
|
+
isPoint: boolean;
|
53
|
+
isPreTGE: boolean;
|
54
|
+
isNative: boolean;
|
55
|
+
price: number | null;
|
56
|
+
}[];
|
57
|
+
Protocols: {
|
58
|
+
id: string;
|
59
|
+
name: string;
|
60
|
+
url: string;
|
61
|
+
description: string;
|
62
|
+
tags: string[];
|
63
|
+
icon: string;
|
64
|
+
}[];
|
41
65
|
id: string;
|
42
66
|
name: string;
|
43
67
|
type: string;
|
@@ -73,6 +97,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
73
97
|
verified: boolean;
|
74
98
|
isTest: boolean;
|
75
99
|
isPoint: boolean;
|
100
|
+
isPreTGE: boolean;
|
76
101
|
isNative: boolean;
|
77
102
|
} & {
|
78
103
|
price?: number | null | undefined;
|
@@ -81,7 +106,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
81
106
|
depositUrl: string | undefined;
|
82
107
|
explorerAddress: string | undefined;
|
83
108
|
tags: string[];
|
84
|
-
} |
|
109
|
+
} | undefined;
|
85
110
|
};
|
86
111
|
};
|
87
112
|
};
|
@@ -243,6 +268,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
243
268
|
verified: boolean;
|
244
269
|
isTest: boolean;
|
245
270
|
isPoint: boolean;
|
271
|
+
isPreTGE: boolean;
|
246
272
|
isNative: boolean;
|
247
273
|
} & {
|
248
274
|
price?: number | null | undefined;
|
@@ -329,6 +355,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
329
355
|
verified: boolean;
|
330
356
|
isTest: boolean;
|
331
357
|
isPoint: boolean;
|
358
|
+
isPreTGE: boolean;
|
332
359
|
isNative: boolean;
|
333
360
|
} & {
|
334
361
|
price?: number | null | undefined;
|
@@ -516,6 +543,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
516
543
|
verified: boolean;
|
517
544
|
isTest: boolean;
|
518
545
|
isPoint: boolean;
|
546
|
+
isPreTGE: boolean;
|
519
547
|
isNative: boolean;
|
520
548
|
} & {
|
521
549
|
price?: number | null | undefined;
|
@@ -63,6 +63,8 @@ export declare const CampaignResourceDto: import("@sinclair/typebox").TObject<{
|
|
63
63
|
icon: import("@sinclair/typebox").TString;
|
64
64
|
verified: import("@sinclair/typebox").TBoolean;
|
65
65
|
isTest: import("@sinclair/typebox").TBoolean;
|
66
|
+
isPoint: import("@sinclair/typebox").TBoolean;
|
67
|
+
isPreTGE: import("@sinclair/typebox").TBoolean;
|
66
68
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
67
69
|
symbol: import("@sinclair/typebox").TString;
|
68
70
|
}>;
|