@merkl/api 1.0.93 → 1.0.95
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 +56 -8
- package/dist/src/index.d.ts +28 -4
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +2 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +5 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +3 -0
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +6 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +8 -4
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +14 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +11 -1
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +1 -0
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +12 -2
- package/dist/src/modules/v4/programPayload/programPayload.service.d.ts +1 -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 +28 -4
- package/dist/src/modules/v4/token/token.controller.d.ts +9 -0
- 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
@@ -29,7 +29,14 @@ export declare enum program {
|
|
29
29
|
Stability = "Stability",
|
30
30
|
Test = "Test",
|
31
31
|
Tanssi = "Tanssi",
|
32
|
-
Nibiru = "Nibiru"
|
32
|
+
Nibiru = "Nibiru",
|
33
|
+
Saga = "Saga"
|
34
|
+
}
|
35
|
+
export declare enum SagaCampaigns {
|
36
|
+
Uniswap_SAGA_USDC_Saga = "Uniswap SAGA/USDC Saga 0xc2C5f2C94759b2829C9Fd86b8d34d33DDc4D29e4",
|
37
|
+
Uniswap_SAGA_WETH_Saga = "Uniswap SAGA/WETH Saga 0x387b99A979C79f827f0cA8a752893472dc34b7EC",
|
38
|
+
Uniswap_WETH_USDC_Saga = "Uniswap WETH/USDC Saga 0xbBf2219c49eFdE9C64Cd5f94a952c90e4E5B6E41",
|
39
|
+
Uniswap_USDT_USDC_Saga = "Uniswap USDT/USDC Saga 0x99429757dDEB5432b52982B0fCF6ED94620c358D"
|
33
40
|
}
|
34
41
|
export declare enum TanssiCampaigns {
|
35
42
|
Tanssi_Restaking_Vault_ETH_Tanssi = "Tanssi Restaking Vault ETH 0x7b276aAD6D2ebfD7e270C5a2697ac79182D9550E",
|
@@ -2702,6 +2709,9 @@ declare const EtherlinkInterfaceCampaigns: {
|
|
2702
2709
|
declare const SwapxInterfaceCampaigns: {
|
2703
2710
|
[key in swapxCampaigns]: partialConfig;
|
2704
2711
|
};
|
2712
|
+
declare const SagaCampaignsInterface: {
|
2713
|
+
[key in SagaCampaigns]: partialConfig;
|
2714
|
+
};
|
2705
2715
|
declare const CeloInterfaceCampaigns: {
|
2706
2716
|
[key in celoCampaigns]: partialConfig;
|
2707
2717
|
};
|
@@ -3492,6 +3502,6 @@ declare const stabilityCampaignsInterface: {
|
|
3492
3502
|
[key in stabilityCampaigns]: partialConfig;
|
3493
3503
|
};
|
3494
3504
|
export declare const MerklInterfaceCampaigns: {
|
3495
|
-
[key in program]: typeof PufferInterfaceCampaigns | typeof ZkSyncInterfaceCampaigns | typeof ModeInterfaceCampaigns | typeof VicunaInterfaceCampaigns | typeof SonicmarketInterfaceCampaigns | typeof ReserveInterfaceCampaigns | typeof BeetsInterfaceCampaigns | typeof CeloInterfaceCampaigns | typeof EtherlinkInterfaceCampaigns | typeof SwapxInterfaceCampaigns | typeof AnglesInterfaceCampaigns | typeof RoninInterfaceCampaigns | typeof TACInterfaceCampaigns | typeof HypurrFiSubPayloads | typeof WorldChainInterfaceCampaigns | typeof StableJackInterfaceCampaigns | typeof CornInterfaceCampaigns | typeof GauntletCompoundInterfaceCampaigns | typeof YieldNetCampaigns | typeof TermMaxInterfaceCampaigns | typeof MorphoUnichainInterfaceCampaigns | typeof katanaCampaignsInterface | typeof LiskInterfaceCampaigns | typeof TestCampaigns | typeof stabilityCampaignsInterface | typeof TanssiCampaignsInterface | typeof NibiruSubPayloads;
|
3505
|
+
[key in program]: typeof PufferInterfaceCampaigns | typeof ZkSyncInterfaceCampaigns | typeof ModeInterfaceCampaigns | typeof VicunaInterfaceCampaigns | typeof SonicmarketInterfaceCampaigns | typeof ReserveInterfaceCampaigns | typeof BeetsInterfaceCampaigns | typeof CeloInterfaceCampaigns | typeof EtherlinkInterfaceCampaigns | typeof SwapxInterfaceCampaigns | typeof AnglesInterfaceCampaigns | typeof RoninInterfaceCampaigns | typeof TACInterfaceCampaigns | typeof HypurrFiSubPayloads | typeof WorldChainInterfaceCampaigns | typeof StableJackInterfaceCampaigns | typeof CornInterfaceCampaigns | typeof GauntletCompoundInterfaceCampaigns | typeof YieldNetCampaigns | typeof TermMaxInterfaceCampaigns | typeof MorphoUnichainInterfaceCampaigns | typeof katanaCampaignsInterface | typeof LiskInterfaceCampaigns | typeof TestCampaigns | typeof stabilityCampaignsInterface | typeof TanssiCampaignsInterface | typeof NibiruSubPayloads | typeof SagaCampaignsInterface;
|
3496
3506
|
};
|
3497
3507
|
export {};
|
@@ -13,6 +13,7 @@ export declare abstract class RewardRepository {
|
|
13
13
|
address: string;
|
14
14
|
id: string;
|
15
15
|
chainId: number;
|
16
|
+
type: import("@package/databases").TokenType;
|
16
17
|
icon: string;
|
17
18
|
isNative: boolean;
|
18
19
|
isPoint: boolean;
|
@@ -38,6 +39,7 @@ export declare abstract class RewardRepository {
|
|
38
39
|
address: string;
|
39
40
|
id: string;
|
40
41
|
chainId: number;
|
42
|
+
type: import("@package/databases").TokenType;
|
41
43
|
icon: string;
|
42
44
|
isNative: boolean;
|
43
45
|
isPoint: boolean;
|
@@ -56,6 +56,7 @@ export declare abstract class RewardService {
|
|
56
56
|
address: string;
|
57
57
|
id: string;
|
58
58
|
chainId: number;
|
59
|
+
type: import("@package/databases").TokenType;
|
59
60
|
icon: string;
|
60
61
|
isNative: boolean;
|
61
62
|
isPoint: boolean;
|
@@ -77,6 +78,7 @@ export declare abstract class RewardService {
|
|
77
78
|
address: string;
|
78
79
|
id: string;
|
79
80
|
chainId: number;
|
81
|
+
type: import("@package/databases").TokenType;
|
80
82
|
icon: string;
|
81
83
|
isNative: boolean;
|
82
84
|
isPoint: boolean;
|
@@ -144,6 +146,7 @@ export declare abstract class RewardService {
|
|
144
146
|
address: string;
|
145
147
|
id: string;
|
146
148
|
chainId: number;
|
149
|
+
type: import("@package/databases").TokenType;
|
147
150
|
icon: string;
|
148
151
|
isNative: boolean;
|
149
152
|
isPoint: boolean;
|
@@ -207,6 +210,7 @@ export declare abstract class RewardService {
|
|
207
210
|
address: string;
|
208
211
|
id: string;
|
209
212
|
chainId: number;
|
213
|
+
type: import("@package/databases").TokenType;
|
210
214
|
icon: string;
|
211
215
|
isNative: boolean;
|
212
216
|
isPoint: boolean;
|
@@ -232,6 +236,7 @@ export declare abstract class RewardService {
|
|
232
236
|
address: string;
|
233
237
|
id: string;
|
234
238
|
chainId: number;
|
239
|
+
type: import("@package/databases").TokenType;
|
235
240
|
icon: string;
|
236
241
|
isNative: boolean;
|
237
242
|
isPoint: boolean;
|
@@ -298,6 +303,7 @@ export declare abstract class RewardService {
|
|
298
303
|
address: string;
|
299
304
|
id: string;
|
300
305
|
chainId: number;
|
306
|
+
type: import("@package/databases").TokenType;
|
301
307
|
icon: string;
|
302
308
|
isNative: boolean;
|
303
309
|
isPoint: boolean;
|
@@ -323,6 +329,7 @@ export declare abstract class RewardService {
|
|
323
329
|
address: string;
|
324
330
|
id: string;
|
325
331
|
chainId: number;
|
332
|
+
type: import("@package/databases").TokenType;
|
326
333
|
icon: string;
|
327
334
|
isNative: boolean;
|
328
335
|
isPoint: boolean;
|
@@ -420,6 +427,7 @@ export declare abstract class RewardService {
|
|
420
427
|
address: string;
|
421
428
|
id: string;
|
422
429
|
chainId: number;
|
430
|
+
type: import("@package/databases").TokenType;
|
423
431
|
icon: string;
|
424
432
|
isNative: boolean;
|
425
433
|
isPoint: boolean;
|
@@ -445,6 +453,7 @@ export declare abstract class RewardService {
|
|
445
453
|
address: string;
|
446
454
|
id: string;
|
447
455
|
chainId: number;
|
456
|
+
type: import("@package/databases").TokenType;
|
448
457
|
icon: string;
|
449
458
|
isNative: boolean;
|
450
459
|
isPoint: boolean;
|
@@ -523,6 +532,7 @@ export declare abstract class RewardService {
|
|
523
532
|
address: string;
|
524
533
|
id: string;
|
525
534
|
chainId: number;
|
535
|
+
type: import("@package/databases").TokenType;
|
526
536
|
icon: string;
|
527
537
|
isNative: boolean;
|
528
538
|
isPoint: boolean;
|
@@ -548,6 +558,7 @@ export declare abstract class RewardService {
|
|
548
558
|
address: string;
|
549
559
|
id: string;
|
550
560
|
chainId: number;
|
561
|
+
type: import("@package/databases").TokenType;
|
551
562
|
icon: string;
|
552
563
|
isNative: boolean;
|
553
564
|
isPoint: boolean;
|
@@ -624,6 +635,7 @@ export declare abstract class RewardService {
|
|
624
635
|
address: string;
|
625
636
|
id: string;
|
626
637
|
chainId: number;
|
638
|
+
type: import("@package/databases").TokenType;
|
627
639
|
icon: string;
|
628
640
|
isNative: boolean;
|
629
641
|
isPoint: boolean;
|
@@ -649,6 +661,7 @@ export declare abstract class RewardService {
|
|
649
661
|
address: string;
|
650
662
|
id: string;
|
651
663
|
chainId: number;
|
664
|
+
type: import("@package/databases").TokenType;
|
652
665
|
icon: string;
|
653
666
|
isNative: boolean;
|
654
667
|
isPoint: boolean;
|
@@ -78,7 +78,7 @@ export declare const v4: Elysia<"/v4", {
|
|
78
78
|
breakdowns: {
|
79
79
|
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
80
|
value: number;
|
81
|
-
type: "
|
81
|
+
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
82
82
|
identifier: string;
|
83
83
|
}[];
|
84
84
|
} | undefined;
|
@@ -280,7 +280,7 @@ export declare const v4: Elysia<"/v4", {
|
|
280
280
|
breakdowns: {
|
281
281
|
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
282
|
value: number;
|
283
|
-
type: "
|
283
|
+
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
284
284
|
identifier: string;
|
285
285
|
}[];
|
286
286
|
} | undefined;
|
@@ -418,7 +418,7 @@ export declare const v4: Elysia<"/v4", {
|
|
418
418
|
breakdowns: {
|
419
419
|
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
420
|
value: number;
|
421
|
-
type: "
|
421
|
+
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
422
422
|
identifier: string;
|
423
423
|
}[];
|
424
424
|
} | undefined;
|
@@ -639,7 +639,7 @@ export declare const v4: Elysia<"/v4", {
|
|
639
639
|
breakdowns: {
|
640
640
|
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
641
|
value: number;
|
642
|
-
type: "
|
642
|
+
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
643
643
|
identifier: string;
|
644
644
|
}[];
|
645
645
|
} | undefined;
|
@@ -1092,6 +1092,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1092
1092
|
address: string;
|
1093
1093
|
id: string;
|
1094
1094
|
chainId: number;
|
1095
|
+
type: import("@package/databases").TokenType;
|
1095
1096
|
icon: string;
|
1096
1097
|
isNative: boolean;
|
1097
1098
|
isPoint: boolean;
|
@@ -1118,6 +1119,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1118
1119
|
address: string;
|
1119
1120
|
id: string;
|
1120
1121
|
chainId: number;
|
1122
|
+
type: import("@package/databases").TokenType;
|
1121
1123
|
icon: string;
|
1122
1124
|
isNative: boolean;
|
1123
1125
|
isPoint: boolean;
|
@@ -1293,6 +1295,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1293
1295
|
address: string;
|
1294
1296
|
id: string;
|
1295
1297
|
chainId: number;
|
1298
|
+
type: import("@package/databases").TokenType;
|
1296
1299
|
icon: string;
|
1297
1300
|
isNative: boolean;
|
1298
1301
|
isPoint: boolean;
|
@@ -1319,6 +1322,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1319
1322
|
address: string;
|
1320
1323
|
id: string;
|
1321
1324
|
chainId: number;
|
1325
|
+
type: import("@package/databases").TokenType;
|
1322
1326
|
icon: string;
|
1323
1327
|
isNative: boolean;
|
1324
1328
|
isPoint: boolean;
|
@@ -1433,6 +1437,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1433
1437
|
address: string;
|
1434
1438
|
id: string;
|
1435
1439
|
chainId: number;
|
1440
|
+
type: import("@package/databases").TokenType;
|
1436
1441
|
icon: string;
|
1437
1442
|
isNative: boolean;
|
1438
1443
|
isPoint: boolean;
|
@@ -1459,6 +1464,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1459
1464
|
address: string;
|
1460
1465
|
id: string;
|
1461
1466
|
chainId: number;
|
1467
|
+
type: import("@package/databases").TokenType;
|
1462
1468
|
icon: string;
|
1463
1469
|
isNative: boolean;
|
1464
1470
|
isPoint: boolean;
|
@@ -2536,6 +2542,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2536
2542
|
address: string;
|
2537
2543
|
id: string;
|
2538
2544
|
chainId: number;
|
2545
|
+
type: import("@package/databases").TokenType;
|
2539
2546
|
icon: string;
|
2540
2547
|
isNative: boolean;
|
2541
2548
|
isPoint: boolean;
|
@@ -2562,6 +2569,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2562
2569
|
address: string;
|
2563
2570
|
id: string;
|
2564
2571
|
chainId: number;
|
2572
|
+
type: import("@package/databases").TokenType;
|
2565
2573
|
icon: string;
|
2566
2574
|
isNative: boolean;
|
2567
2575
|
isPoint: boolean;
|
@@ -2659,6 +2667,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2659
2667
|
address: string;
|
2660
2668
|
id: string;
|
2661
2669
|
chainId: number;
|
2670
|
+
type: import("@package/databases").TokenType;
|
2662
2671
|
icon: string;
|
2663
2672
|
isNative: boolean;
|
2664
2673
|
isPoint: boolean;
|
@@ -2685,6 +2694,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2685
2694
|
address: string;
|
2686
2695
|
id: string;
|
2687
2696
|
chainId: number;
|
2697
|
+
type: import("@package/databases").TokenType;
|
2688
2698
|
icon: string;
|
2689
2699
|
isNative: boolean;
|
2690
2700
|
isPoint: boolean;
|
@@ -2783,6 +2793,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2783
2793
|
address: string;
|
2784
2794
|
id: string;
|
2785
2795
|
chainId: number;
|
2796
|
+
type: import("@package/databases").TokenType;
|
2786
2797
|
icon: string;
|
2787
2798
|
isNative: boolean;
|
2788
2799
|
isPoint: boolean;
|
@@ -2809,6 +2820,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2809
2820
|
address: string;
|
2810
2821
|
id: string;
|
2811
2822
|
chainId: number;
|
2823
|
+
type: import("@package/databases").TokenType;
|
2812
2824
|
icon: string;
|
2813
2825
|
isNative: boolean;
|
2814
2826
|
isPoint: boolean;
|
@@ -3170,6 +3182,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3170
3182
|
address: string;
|
3171
3183
|
id: string;
|
3172
3184
|
chainId: number;
|
3185
|
+
type: import("@package/databases").TokenType;
|
3173
3186
|
icon: string;
|
3174
3187
|
isNative: boolean;
|
3175
3188
|
isPoint: boolean;
|
@@ -3215,6 +3228,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3215
3228
|
address: string;
|
3216
3229
|
id: string;
|
3217
3230
|
chainId: number;
|
3231
|
+
type: import("@package/databases").TokenType;
|
3218
3232
|
icon: string;
|
3219
3233
|
isNative: boolean;
|
3220
3234
|
isPoint: boolean;
|
@@ -3262,6 +3276,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3262
3276
|
address: string;
|
3263
3277
|
id: string;
|
3264
3278
|
chainId: number;
|
3279
|
+
type: import("@package/databases").TokenType;
|
3265
3280
|
icon: string;
|
3266
3281
|
isNative: boolean;
|
3267
3282
|
isPoint: boolean;
|
@@ -3305,6 +3320,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3305
3320
|
address: string;
|
3306
3321
|
id: string;
|
3307
3322
|
chainId: number;
|
3323
|
+
type: import("@package/databases").TokenType;
|
3308
3324
|
icon: string;
|
3309
3325
|
isNative: boolean;
|
3310
3326
|
isPoint: boolean;
|
@@ -3347,6 +3363,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3347
3363
|
address: string;
|
3348
3364
|
id: string;
|
3349
3365
|
chainId: number;
|
3366
|
+
type: import("@package/databases").TokenType;
|
3350
3367
|
icon: string;
|
3351
3368
|
isNative: boolean;
|
3352
3369
|
isPoint: boolean;
|
@@ -3401,6 +3418,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3401
3418
|
address: string;
|
3402
3419
|
id: string;
|
3403
3420
|
chainId: number;
|
3421
|
+
type: import("@package/databases").TokenType;
|
3404
3422
|
icon: string;
|
3405
3423
|
isNative: boolean;
|
3406
3424
|
isPoint: boolean;
|
@@ -3483,6 +3501,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3483
3501
|
address: string;
|
3484
3502
|
id: string;
|
3485
3503
|
chainId: number;
|
3504
|
+
type: import("@package/databases").TokenType;
|
3486
3505
|
icon: string;
|
3487
3506
|
isNative: boolean;
|
3488
3507
|
isPoint: boolean;
|
@@ -3530,6 +3549,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3530
3549
|
address: string;
|
3531
3550
|
id: string;
|
3532
3551
|
chainId: number;
|
3552
|
+
type: import("@package/databases").TokenType;
|
3533
3553
|
icon: string;
|
3534
3554
|
isNative: boolean;
|
3535
3555
|
isPoint: boolean;
|
@@ -3603,6 +3623,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3603
3623
|
address: string;
|
3604
3624
|
id: string;
|
3605
3625
|
chainId: number;
|
3626
|
+
type: import("@package/databases").TokenType;
|
3606
3627
|
icon: string;
|
3607
3628
|
isNative: boolean;
|
3608
3629
|
isPoint: boolean;
|
@@ -4957,6 +4978,7 @@ export declare const v4: Elysia<"/v4", {
|
|
4957
4978
|
address: string;
|
4958
4979
|
id: string;
|
4959
4980
|
chainId: number;
|
4981
|
+
type: import("@package/databases").TokenType;
|
4960
4982
|
icon: string;
|
4961
4983
|
isNative: boolean;
|
4962
4984
|
isPoint: boolean;
|
@@ -4982,6 +5004,7 @@ export declare const v4: Elysia<"/v4", {
|
|
4982
5004
|
address: string;
|
4983
5005
|
id: string;
|
4984
5006
|
chainId: number;
|
5007
|
+
type: import("@package/databases").TokenType;
|
4985
5008
|
icon: string;
|
4986
5009
|
isNative: boolean;
|
4987
5010
|
isPoint: boolean;
|
@@ -6994,6 +7017,7 @@ export declare const v4: Elysia<"/v4", {
|
|
6994
7017
|
address: string;
|
6995
7018
|
id: string;
|
6996
7019
|
chainId: number;
|
7020
|
+
type: import("@package/databases").TokenType;
|
6997
7021
|
icon: string;
|
6998
7022
|
isNative: boolean;
|
6999
7023
|
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;
|
@@ -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;
|
@@ -391,6 +398,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
391
398
|
address: string;
|
392
399
|
id: string;
|
393
400
|
chainId: number;
|
401
|
+
type: import("@package/databases").TokenType;
|
394
402
|
icon: string;
|
395
403
|
isNative: boolean;
|
396
404
|
isPoint: boolean;
|
@@ -464,6 +472,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
464
472
|
address: string;
|
465
473
|
id: string;
|
466
474
|
chainId: number;
|
475
|
+
type: import("@package/databases").TokenType;
|
467
476
|
icon: string;
|
468
477
|
isNative: boolean;
|
469
478
|
isPoint: boolean;
|
@@ -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;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { type Campaign, type CampaignParameters, type ChainId } from "@angleprotocol/sdk/ts";
|
2
|
+
import { TokenType } from "@package/databases";
|
2
3
|
import { Prisma } from "@package/databases/api";
|
3
4
|
import type { Pricer } from "../../../utils/pricer";
|
4
5
|
import type { CreateTokenModel, NotionWebhookModel } from "./token.model";
|
@@ -24,6 +25,7 @@ export declare abstract class TokenService {
|
|
24
25
|
address: string;
|
25
26
|
id: string;
|
26
27
|
chainId: number;
|
28
|
+
type: TokenType;
|
27
29
|
icon: string;
|
28
30
|
isNative: boolean;
|
29
31
|
isPoint: boolean;
|
@@ -49,6 +51,7 @@ export declare abstract class TokenService {
|
|
49
51
|
address: string;
|
50
52
|
id: string;
|
51
53
|
chainId: number;
|
54
|
+
type: TokenType;
|
52
55
|
icon: string;
|
53
56
|
isNative: boolean;
|
54
57
|
isPoint: boolean;
|
@@ -71,6 +74,7 @@ export declare abstract class TokenService {
|
|
71
74
|
address: string;
|
72
75
|
id: string;
|
73
76
|
chainId: number;
|
77
|
+
type: TokenType;
|
74
78
|
icon: string;
|
75
79
|
isNative: boolean;
|
76
80
|
isPoint: boolean;
|
@@ -116,6 +120,7 @@ export declare abstract class TokenService {
|
|
116
120
|
address: string;
|
117
121
|
id: string;
|
118
122
|
chainId: number;
|
123
|
+
type: TokenType;
|
119
124
|
icon: string;
|
120
125
|
isNative: boolean;
|
121
126
|
isPoint: boolean;
|
@@ -139,6 +144,7 @@ export declare abstract class TokenService {
|
|
139
144
|
address: string;
|
140
145
|
id: string;
|
141
146
|
chainId: number;
|
147
|
+
type: TokenType;
|
142
148
|
icon: string;
|
143
149
|
isNative: boolean;
|
144
150
|
isPoint: boolean;
|
@@ -169,6 +175,7 @@ export declare abstract class TokenService {
|
|
169
175
|
address: string;
|
170
176
|
id: string;
|
171
177
|
chainId: number;
|
178
|
+
type: TokenType;
|
172
179
|
icon: string;
|
173
180
|
isNative: boolean;
|
174
181
|
isPoint: boolean;
|
@@ -192,6 +199,7 @@ export declare abstract class TokenService {
|
|
192
199
|
address: string;
|
193
200
|
id: string;
|
194
201
|
chainId: number;
|
202
|
+
type: TokenType;
|
195
203
|
icon: string;
|
196
204
|
isNative: boolean;
|
197
205
|
isPoint: boolean;
|
@@ -211,6 +219,7 @@ export declare abstract class TokenService {
|
|
211
219
|
address: string;
|
212
220
|
id: string;
|
213
221
|
chainId: number;
|
222
|
+
type: TokenType;
|
214
223
|
icon: string;
|
215
224
|
isNative: boolean;
|
216
225
|
isPoint: boolean;
|
@@ -254,6 +263,7 @@ export declare abstract class TokenService {
|
|
254
263
|
address: string;
|
255
264
|
id: string;
|
256
265
|
chainId: number;
|
266
|
+
type: TokenType;
|
257
267
|
icon: string;
|
258
268
|
isNative: boolean;
|
259
269
|
isPoint: boolean;
|
@@ -278,6 +288,7 @@ export declare abstract class TokenService {
|
|
278
288
|
address: string;
|
279
289
|
id: string;
|
280
290
|
chainId: number;
|
291
|
+
type: TokenType;
|
281
292
|
icon: string;
|
282
293
|
isNative: boolean;
|
283
294
|
isPoint: boolean;
|
@@ -297,6 +308,7 @@ export declare abstract class TokenService {
|
|
297
308
|
address: string;
|
298
309
|
id: string;
|
299
310
|
chainId: number;
|
311
|
+
type: TokenType;
|
300
312
|
icon: string;
|
301
313
|
isNative: boolean;
|
302
314
|
isPoint: boolean;
|
@@ -313,6 +325,7 @@ export declare abstract class TokenService {
|
|
313
325
|
address: string;
|
314
326
|
id: string;
|
315
327
|
chainId: number;
|
328
|
+
type: TokenType;
|
316
329
|
icon: string;
|
317
330
|
isNative: boolean;
|
318
331
|
isPoint: boolean;
|
@@ -329,6 +342,7 @@ export declare abstract class TokenService {
|
|
329
342
|
address: string;
|
330
343
|
id: string;
|
331
344
|
chainId: number;
|
345
|
+
type: TokenType;
|
332
346
|
icon: string;
|
333
347
|
isNative: boolean;
|
334
348
|
isPoint: boolean;
|
@@ -350,6 +364,7 @@ export declare abstract class TokenService {
|
|
350
364
|
address: string;
|
351
365
|
id: string;
|
352
366
|
chainId: number;
|
367
|
+
type: TokenType;
|
353
368
|
icon: string;
|
354
369
|
isNative: boolean;
|
355
370
|
isPoint: boolean;
|
@@ -199,6 +199,7 @@ export declare const UserController: Elysia<"/users", {
|
|
199
199
|
address: string;
|
200
200
|
id: string;
|
201
201
|
chainId: number;
|
202
|
+
type: import("@package/databases").TokenType;
|
202
203
|
icon: string;
|
203
204
|
isNative: boolean;
|
204
205
|
isPoint: boolean;
|
@@ -224,6 +225,7 @@ export declare const UserController: Elysia<"/users", {
|
|
224
225
|
address: string;
|
225
226
|
id: string;
|
226
227
|
chainId: number;
|
228
|
+
type: import("@package/databases").TokenType;
|
227
229
|
icon: string;
|
228
230
|
isNative: boolean;
|
229
231
|
isPoint: boolean;
|