@merkl/api 1.8.34 → 1.8.36
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 +259 -259
- package/dist/src/engine/implementations/ErcMultiToken/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/StabullStaking/metadata.d.ts +1 -1
- package/dist/src/jobs/reward-breakdowns.js.map +1 -1
- package/dist/src/jobs/rewards.js.map +1 -1
- package/dist/src/jobs/utils/etl.d.ts +8 -12
- package/dist/src/jobs/utils/etl.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +95 -95
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +5 -1
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.js.map +1 -1
- package/dist/src/modules/v4/template/template.controller.js.map +1 -1
- package/dist/src/utils/getAPR.d.ts +634 -634
- package/dist/src/utils/parseDistributionType.d.ts +908 -908
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
|
@@ -1370,8 +1370,8 @@ declare const eden: {
|
|
|
1370
1370
|
campaignId: string;
|
|
1371
1371
|
computedUntil: bigint;
|
|
1372
1372
|
processingStarted: bigint;
|
|
1373
|
-
status: import("@package/databases").RunStatus;
|
|
1374
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
1373
|
+
status: import("@package/databases/api").RunStatus;
|
|
1374
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
1375
1375
|
preComputeProcessingStarted: bigint;
|
|
1376
1376
|
error: string;
|
|
1377
1377
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -1379,8 +1379,8 @@ declare const eden: {
|
|
|
1379
1379
|
campaignId: string;
|
|
1380
1380
|
computedUntil: bigint;
|
|
1381
1381
|
processingStarted: bigint;
|
|
1382
|
-
status: import("@package/databases").RunStatus;
|
|
1383
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
1382
|
+
status: import("@package/databases/api").RunStatus;
|
|
1383
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
1384
1384
|
preComputeProcessingStarted: bigint;
|
|
1385
1385
|
error: string;
|
|
1386
1386
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -1406,8 +1406,8 @@ declare const eden: {
|
|
|
1406
1406
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
1407
1407
|
200: {
|
|
1408
1408
|
campaignId: string;
|
|
1409
|
-
status: import("@package/databases").RunStatus;
|
|
1410
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
1409
|
+
status: import("@package/databases/api").RunStatus;
|
|
1410
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
1411
1411
|
error: string;
|
|
1412
1412
|
details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
|
|
1413
1413
|
delay: number;
|
|
@@ -1439,8 +1439,8 @@ declare const eden: {
|
|
|
1439
1439
|
200: {
|
|
1440
1440
|
status: {
|
|
1441
1441
|
campaignId: string;
|
|
1442
|
-
status: import("@package/databases").RunStatus;
|
|
1443
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
1442
|
+
status: import("@package/databases/api").RunStatus;
|
|
1443
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
1444
1444
|
error: string;
|
|
1445
1445
|
details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
|
|
1446
1446
|
delay: number;
|
|
@@ -1453,8 +1453,8 @@ declare const eden: {
|
|
|
1453
1453
|
campaignId: string;
|
|
1454
1454
|
computedUntil: bigint;
|
|
1455
1455
|
processingStarted: bigint;
|
|
1456
|
-
status: import("@package/databases").RunStatus;
|
|
1457
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
1456
|
+
status: import("@package/databases/api").RunStatus;
|
|
1457
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
1458
1458
|
preComputeProcessingStarted: bigint;
|
|
1459
1459
|
error: string;
|
|
1460
1460
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -1572,8 +1572,8 @@ declare const eden: {
|
|
|
1572
1572
|
delayed: {
|
|
1573
1573
|
status: {
|
|
1574
1574
|
campaignId: string;
|
|
1575
|
-
status: import("@package/databases").RunStatus;
|
|
1576
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
1575
|
+
status: import("@package/databases/api").RunStatus;
|
|
1576
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
1577
1577
|
error: string;
|
|
1578
1578
|
details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
|
|
1579
1579
|
delay: number;
|
|
@@ -1586,8 +1586,8 @@ declare const eden: {
|
|
|
1586
1586
|
campaignId: string;
|
|
1587
1587
|
computedUntil: bigint;
|
|
1588
1588
|
processingStarted: bigint;
|
|
1589
|
-
status: import("@package/databases").RunStatus;
|
|
1590
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
1589
|
+
status: import("@package/databases/api").RunStatus;
|
|
1590
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
1591
1591
|
preComputeProcessingStarted: bigint;
|
|
1592
1592
|
error: string;
|
|
1593
1593
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -1721,8 +1721,8 @@ declare const eden: {
|
|
|
1721
1721
|
campaignId: string;
|
|
1722
1722
|
computedUntil: bigint;
|
|
1723
1723
|
processingStarted: bigint;
|
|
1724
|
-
status: import("@package/databases").RunStatus;
|
|
1725
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
1724
|
+
status: import("@package/databases/api").RunStatus;
|
|
1725
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
1726
1726
|
preComputeProcessingStarted: bigint;
|
|
1727
1727
|
error: string;
|
|
1728
1728
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -1754,8 +1754,8 @@ declare const eden: {
|
|
|
1754
1754
|
campaignId: string;
|
|
1755
1755
|
computedUntil: bigint;
|
|
1756
1756
|
processingStarted: bigint;
|
|
1757
|
-
status: import("@package/databases").RunStatus;
|
|
1758
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
1757
|
+
status: import("@package/databases/api").RunStatus;
|
|
1758
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
1759
1759
|
preComputeProcessingStarted: bigint;
|
|
1760
1760
|
error: string;
|
|
1761
1761
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -2108,8 +2108,8 @@ declare const eden: {
|
|
|
2108
2108
|
name: string;
|
|
2109
2109
|
description: string;
|
|
2110
2110
|
howToSteps: string[];
|
|
2111
|
-
status: import("@package/databases").Status;
|
|
2112
|
-
action: import("@package/databases").OpportunityAction;
|
|
2111
|
+
status: import("@package/databases/api").Status;
|
|
2112
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
2113
2113
|
tvl: number;
|
|
2114
2114
|
apr: number;
|
|
2115
2115
|
maxApr: number | null;
|
|
@@ -3101,9 +3101,9 @@ declare const eden: {
|
|
|
3101
3101
|
computedUntil: bigint;
|
|
3102
3102
|
error: string;
|
|
3103
3103
|
preComputeProcessingStarted: bigint;
|
|
3104
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
3104
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
3105
3105
|
processingStarted: bigint;
|
|
3106
|
-
status: import("@package/databases").RunStatus;
|
|
3106
|
+
status: import("@package/databases/api").RunStatus;
|
|
3107
3107
|
}[];
|
|
3108
3108
|
campaignId: string;
|
|
3109
3109
|
createdAt: Date;
|
|
@@ -3467,7 +3467,7 @@ declare const eden: {
|
|
|
3467
3467
|
AprBreakdown: {
|
|
3468
3468
|
identifier: string;
|
|
3469
3469
|
timestamp: bigint;
|
|
3470
|
-
type: import("@package/databases").AprType;
|
|
3470
|
+
type: import("@package/databases/api").AprType;
|
|
3471
3471
|
value: number;
|
|
3472
3472
|
}[];
|
|
3473
3473
|
} & {
|
|
@@ -3482,7 +3482,7 @@ declare const eden: {
|
|
|
3482
3482
|
distributionChainId: number;
|
|
3483
3483
|
campaignId: string;
|
|
3484
3484
|
type: string;
|
|
3485
|
-
distributionType: import("@package/databases").DistributionType;
|
|
3485
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
3486
3486
|
subType: number | null;
|
|
3487
3487
|
rewardTokenId: string;
|
|
3488
3488
|
amount: string;
|
|
@@ -3495,7 +3495,7 @@ declare const eden: {
|
|
|
3495
3495
|
dailyRewards: number;
|
|
3496
3496
|
apr: number;
|
|
3497
3497
|
creatorAddress: string;
|
|
3498
|
-
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
3498
|
+
manualOverrides: import("@package/databases/api").CampaignManualOverride[];
|
|
3499
3499
|
createdAt: Date;
|
|
3500
3500
|
rootCampaignId: string | null;
|
|
3501
3501
|
parentCampaignId: string | null;
|
|
@@ -3517,8 +3517,8 @@ declare const eden: {
|
|
|
3517
3517
|
campaignId: string;
|
|
3518
3518
|
computedUntil: bigint;
|
|
3519
3519
|
processingStarted: bigint;
|
|
3520
|
-
status: import("@package/databases").RunStatus;
|
|
3521
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
3520
|
+
status: import("@package/databases/api").RunStatus;
|
|
3521
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
3522
3522
|
preComputeProcessingStarted: bigint;
|
|
3523
3523
|
error: string;
|
|
3524
3524
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -3534,7 +3534,7 @@ declare const eden: {
|
|
|
3534
3534
|
icon: string;
|
|
3535
3535
|
verified: boolean;
|
|
3536
3536
|
isTest: boolean;
|
|
3537
|
-
type: import("@package/databases").TokenType;
|
|
3537
|
+
type: import("@package/databases/api").TokenType;
|
|
3538
3538
|
isNative: boolean;
|
|
3539
3539
|
price: number | null;
|
|
3540
3540
|
updatedAt: number | null;
|
|
@@ -3542,7 +3542,7 @@ declare const eden: {
|
|
|
3542
3542
|
};
|
|
3543
3543
|
amount: string;
|
|
3544
3544
|
campaignId: string;
|
|
3545
|
-
distributionType: import("@package/databases").DistributionType;
|
|
3545
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
3546
3546
|
endTimestamp: bigint;
|
|
3547
3547
|
startTimestamp: bigint;
|
|
3548
3548
|
};
|
|
@@ -3582,7 +3582,7 @@ declare const eden: {
|
|
|
3582
3582
|
icon: string;
|
|
3583
3583
|
verified: boolean;
|
|
3584
3584
|
isTest: boolean;
|
|
3585
|
-
type: import("@package/databases").TokenType;
|
|
3585
|
+
type: import("@package/databases/api").TokenType;
|
|
3586
3586
|
isNative: boolean;
|
|
3587
3587
|
price: number | null;
|
|
3588
3588
|
updatedAt: number | null;
|
|
@@ -3620,7 +3620,7 @@ declare const eden: {
|
|
|
3620
3620
|
icon: string;
|
|
3621
3621
|
verified: boolean;
|
|
3622
3622
|
isTest: boolean;
|
|
3623
|
-
type: import("@package/databases").TokenType;
|
|
3623
|
+
type: import("@package/databases/api").TokenType;
|
|
3624
3624
|
isNative: boolean;
|
|
3625
3625
|
price: number | null;
|
|
3626
3626
|
updatedAt: number | null;
|
|
@@ -3629,7 +3629,7 @@ declare const eden: {
|
|
|
3629
3629
|
TvlRecords: ({
|
|
3630
3630
|
TvlBreakdown: {
|
|
3631
3631
|
identifier: string;
|
|
3632
|
-
type: import("@package/databases").TvlType;
|
|
3632
|
+
type: import("@package/databases/api").TvlType;
|
|
3633
3633
|
value: number;
|
|
3634
3634
|
}[];
|
|
3635
3635
|
} & {
|
|
@@ -3648,8 +3648,8 @@ declare const eden: {
|
|
|
3648
3648
|
howToSteps: string[];
|
|
3649
3649
|
depositUrl: string | null;
|
|
3650
3650
|
explorerAddress: string | null;
|
|
3651
|
-
status: import("@package/databases").Status;
|
|
3652
|
-
action: import("@package/databases").OpportunityAction;
|
|
3651
|
+
status: import("@package/databases/api").Status;
|
|
3652
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
3653
3653
|
mainProtocolId: string | null;
|
|
3654
3654
|
tvl: number;
|
|
3655
3655
|
apr: number;
|
|
@@ -3658,7 +3658,7 @@ declare const eden: {
|
|
|
3658
3658
|
dailyRewards: number;
|
|
3659
3659
|
tags: string[];
|
|
3660
3660
|
lastCampaignCreatedAt: Date;
|
|
3661
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
3661
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
3662
3662
|
liveCampaigns: number;
|
|
3663
3663
|
hidden: boolean;
|
|
3664
3664
|
});
|
|
@@ -3715,7 +3715,7 @@ declare const eden: {
|
|
|
3715
3715
|
AprBreakdown: {
|
|
3716
3716
|
identifier: string;
|
|
3717
3717
|
timestamp: bigint;
|
|
3718
|
-
type: import("@package/databases").AprType;
|
|
3718
|
+
type: import("@package/databases/api").AprType;
|
|
3719
3719
|
value: number;
|
|
3720
3720
|
}[];
|
|
3721
3721
|
} & {
|
|
@@ -3730,7 +3730,7 @@ declare const eden: {
|
|
|
3730
3730
|
distributionChainId: number;
|
|
3731
3731
|
campaignId: string;
|
|
3732
3732
|
type: string;
|
|
3733
|
-
distributionType: import("@package/databases").DistributionType;
|
|
3733
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
3734
3734
|
subType: number | null;
|
|
3735
3735
|
rewardTokenId: string;
|
|
3736
3736
|
amount: string;
|
|
@@ -3743,7 +3743,7 @@ declare const eden: {
|
|
|
3743
3743
|
dailyRewards: number;
|
|
3744
3744
|
apr: number;
|
|
3745
3745
|
creatorAddress: string;
|
|
3746
|
-
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
3746
|
+
manualOverrides: import("@package/databases/api").CampaignManualOverride[];
|
|
3747
3747
|
createdAt: Date;
|
|
3748
3748
|
rootCampaignId: string | null;
|
|
3749
3749
|
parentCampaignId: string | null;
|
|
@@ -3765,8 +3765,8 @@ declare const eden: {
|
|
|
3765
3765
|
campaignId: string;
|
|
3766
3766
|
computedUntil: bigint;
|
|
3767
3767
|
processingStarted: bigint;
|
|
3768
|
-
status: import("@package/databases").RunStatus;
|
|
3769
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
3768
|
+
status: import("@package/databases/api").RunStatus;
|
|
3769
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
3770
3770
|
preComputeProcessingStarted: bigint;
|
|
3771
3771
|
error: string;
|
|
3772
3772
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -3782,7 +3782,7 @@ declare const eden: {
|
|
|
3782
3782
|
icon: string;
|
|
3783
3783
|
verified: boolean;
|
|
3784
3784
|
isTest: boolean;
|
|
3785
|
-
type: import("@package/databases").TokenType;
|
|
3785
|
+
type: import("@package/databases/api").TokenType;
|
|
3786
3786
|
isNative: boolean;
|
|
3787
3787
|
price: number | null;
|
|
3788
3788
|
updatedAt: number | null;
|
|
@@ -3790,7 +3790,7 @@ declare const eden: {
|
|
|
3790
3790
|
};
|
|
3791
3791
|
amount: string;
|
|
3792
3792
|
campaignId: string;
|
|
3793
|
-
distributionType: import("@package/databases").DistributionType;
|
|
3793
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
3794
3794
|
endTimestamp: bigint;
|
|
3795
3795
|
startTimestamp: bigint;
|
|
3796
3796
|
};
|
|
@@ -3830,7 +3830,7 @@ declare const eden: {
|
|
|
3830
3830
|
icon: string;
|
|
3831
3831
|
verified: boolean;
|
|
3832
3832
|
isTest: boolean;
|
|
3833
|
-
type: import("@package/databases").TokenType;
|
|
3833
|
+
type: import("@package/databases/api").TokenType;
|
|
3834
3834
|
isNative: boolean;
|
|
3835
3835
|
price: number | null;
|
|
3836
3836
|
updatedAt: number | null;
|
|
@@ -3868,7 +3868,7 @@ declare const eden: {
|
|
|
3868
3868
|
icon: string;
|
|
3869
3869
|
verified: boolean;
|
|
3870
3870
|
isTest: boolean;
|
|
3871
|
-
type: import("@package/databases").TokenType;
|
|
3871
|
+
type: import("@package/databases/api").TokenType;
|
|
3872
3872
|
isNative: boolean;
|
|
3873
3873
|
price: number | null;
|
|
3874
3874
|
updatedAt: number | null;
|
|
@@ -3877,7 +3877,7 @@ declare const eden: {
|
|
|
3877
3877
|
TvlRecords: ({
|
|
3878
3878
|
TvlBreakdown: {
|
|
3879
3879
|
identifier: string;
|
|
3880
|
-
type: import("@package/databases").TvlType;
|
|
3880
|
+
type: import("@package/databases/api").TvlType;
|
|
3881
3881
|
value: number;
|
|
3882
3882
|
}[];
|
|
3883
3883
|
} & {
|
|
@@ -3896,8 +3896,8 @@ declare const eden: {
|
|
|
3896
3896
|
howToSteps: string[];
|
|
3897
3897
|
depositUrl: string | null;
|
|
3898
3898
|
explorerAddress: string | null;
|
|
3899
|
-
status: import("@package/databases").Status;
|
|
3900
|
-
action: import("@package/databases").OpportunityAction;
|
|
3899
|
+
status: import("@package/databases/api").Status;
|
|
3900
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
3901
3901
|
mainProtocolId: string | null;
|
|
3902
3902
|
tvl: number;
|
|
3903
3903
|
apr: number;
|
|
@@ -3906,7 +3906,7 @@ declare const eden: {
|
|
|
3906
3906
|
dailyRewards: number;
|
|
3907
3907
|
tags: string[];
|
|
3908
3908
|
lastCampaignCreatedAt: Date;
|
|
3909
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
3909
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
3910
3910
|
liveCampaigns: number;
|
|
3911
3911
|
hidden: boolean;
|
|
3912
3912
|
});
|
|
@@ -3962,7 +3962,7 @@ declare const eden: {
|
|
|
3962
3962
|
AprBreakdown: {
|
|
3963
3963
|
identifier: string;
|
|
3964
3964
|
timestamp: bigint;
|
|
3965
|
-
type: import("@package/databases").AprType;
|
|
3965
|
+
type: import("@package/databases/api").AprType;
|
|
3966
3966
|
value: number;
|
|
3967
3967
|
}[];
|
|
3968
3968
|
} & {
|
|
@@ -3977,7 +3977,7 @@ declare const eden: {
|
|
|
3977
3977
|
distributionChainId: number;
|
|
3978
3978
|
campaignId: string;
|
|
3979
3979
|
type: string;
|
|
3980
|
-
distributionType: import("@package/databases").DistributionType;
|
|
3980
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
3981
3981
|
subType: number | null;
|
|
3982
3982
|
rewardTokenId: string;
|
|
3983
3983
|
amount: string;
|
|
@@ -3990,7 +3990,7 @@ declare const eden: {
|
|
|
3990
3990
|
dailyRewards: number;
|
|
3991
3991
|
apr: number;
|
|
3992
3992
|
creatorAddress: string;
|
|
3993
|
-
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
3993
|
+
manualOverrides: import("@package/databases/api").CampaignManualOverride[];
|
|
3994
3994
|
createdAt: Date;
|
|
3995
3995
|
rootCampaignId: string | null;
|
|
3996
3996
|
parentCampaignId: string | null;
|
|
@@ -4012,8 +4012,8 @@ declare const eden: {
|
|
|
4012
4012
|
campaignId: string;
|
|
4013
4013
|
computedUntil: bigint;
|
|
4014
4014
|
processingStarted: bigint;
|
|
4015
|
-
status: import("@package/databases").RunStatus;
|
|
4016
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
4015
|
+
status: import("@package/databases/api").RunStatus;
|
|
4016
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
4017
4017
|
preComputeProcessingStarted: bigint;
|
|
4018
4018
|
error: string;
|
|
4019
4019
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -4029,7 +4029,7 @@ declare const eden: {
|
|
|
4029
4029
|
icon: string;
|
|
4030
4030
|
verified: boolean;
|
|
4031
4031
|
isTest: boolean;
|
|
4032
|
-
type: import("@package/databases").TokenType;
|
|
4032
|
+
type: import("@package/databases/api").TokenType;
|
|
4033
4033
|
isNative: boolean;
|
|
4034
4034
|
price: number | null;
|
|
4035
4035
|
updatedAt: number | null;
|
|
@@ -4037,7 +4037,7 @@ declare const eden: {
|
|
|
4037
4037
|
};
|
|
4038
4038
|
amount: string;
|
|
4039
4039
|
campaignId: string;
|
|
4040
|
-
distributionType: import("@package/databases").DistributionType;
|
|
4040
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
4041
4041
|
endTimestamp: bigint;
|
|
4042
4042
|
startTimestamp: bigint;
|
|
4043
4043
|
};
|
|
@@ -4077,7 +4077,7 @@ declare const eden: {
|
|
|
4077
4077
|
icon: string;
|
|
4078
4078
|
verified: boolean;
|
|
4079
4079
|
isTest: boolean;
|
|
4080
|
-
type: import("@package/databases").TokenType;
|
|
4080
|
+
type: import("@package/databases/api").TokenType;
|
|
4081
4081
|
isNative: boolean;
|
|
4082
4082
|
price: number | null;
|
|
4083
4083
|
updatedAt: number | null;
|
|
@@ -4115,7 +4115,7 @@ declare const eden: {
|
|
|
4115
4115
|
icon: string;
|
|
4116
4116
|
verified: boolean;
|
|
4117
4117
|
isTest: boolean;
|
|
4118
|
-
type: import("@package/databases").TokenType;
|
|
4118
|
+
type: import("@package/databases/api").TokenType;
|
|
4119
4119
|
isNative: boolean;
|
|
4120
4120
|
price: number | null;
|
|
4121
4121
|
updatedAt: number | null;
|
|
@@ -4124,7 +4124,7 @@ declare const eden: {
|
|
|
4124
4124
|
TvlRecords: ({
|
|
4125
4125
|
TvlBreakdown: {
|
|
4126
4126
|
identifier: string;
|
|
4127
|
-
type: import("@package/databases").TvlType;
|
|
4127
|
+
type: import("@package/databases/api").TvlType;
|
|
4128
4128
|
value: number;
|
|
4129
4129
|
}[];
|
|
4130
4130
|
} & {
|
|
@@ -4143,8 +4143,8 @@ declare const eden: {
|
|
|
4143
4143
|
howToSteps: string[];
|
|
4144
4144
|
depositUrl: string | null;
|
|
4145
4145
|
explorerAddress: string | null;
|
|
4146
|
-
status: import("@package/databases").Status;
|
|
4147
|
-
action: import("@package/databases").OpportunityAction;
|
|
4146
|
+
status: import("@package/databases/api").Status;
|
|
4147
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
4148
4148
|
mainProtocolId: string | null;
|
|
4149
4149
|
tvl: number;
|
|
4150
4150
|
apr: number;
|
|
@@ -4153,7 +4153,7 @@ declare const eden: {
|
|
|
4153
4153
|
dailyRewards: number;
|
|
4154
4154
|
tags: string[];
|
|
4155
4155
|
lastCampaignCreatedAt: Date;
|
|
4156
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
4156
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
4157
4157
|
liveCampaigns: number;
|
|
4158
4158
|
hidden: boolean;
|
|
4159
4159
|
});
|
|
@@ -4209,7 +4209,7 @@ declare const eden: {
|
|
|
4209
4209
|
AprBreakdown: {
|
|
4210
4210
|
identifier: string;
|
|
4211
4211
|
timestamp: bigint;
|
|
4212
|
-
type: import("@package/databases").AprType;
|
|
4212
|
+
type: import("@package/databases/api").AprType;
|
|
4213
4213
|
value: number;
|
|
4214
4214
|
}[];
|
|
4215
4215
|
} & {
|
|
@@ -4224,7 +4224,7 @@ declare const eden: {
|
|
|
4224
4224
|
distributionChainId: number;
|
|
4225
4225
|
campaignId: string;
|
|
4226
4226
|
type: string;
|
|
4227
|
-
distributionType: import("@package/databases").DistributionType;
|
|
4227
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
4228
4228
|
subType: number | null;
|
|
4229
4229
|
rewardTokenId: string;
|
|
4230
4230
|
amount: string;
|
|
@@ -4237,7 +4237,7 @@ declare const eden: {
|
|
|
4237
4237
|
dailyRewards: number;
|
|
4238
4238
|
apr: number;
|
|
4239
4239
|
creatorAddress: string;
|
|
4240
|
-
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
4240
|
+
manualOverrides: import("@package/databases/api").CampaignManualOverride[];
|
|
4241
4241
|
createdAt: Date;
|
|
4242
4242
|
rootCampaignId: string | null;
|
|
4243
4243
|
parentCampaignId: string | null;
|
|
@@ -4259,8 +4259,8 @@ declare const eden: {
|
|
|
4259
4259
|
campaignId: string;
|
|
4260
4260
|
computedUntil: bigint;
|
|
4261
4261
|
processingStarted: bigint;
|
|
4262
|
-
status: import("@package/databases").RunStatus;
|
|
4263
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
4262
|
+
status: import("@package/databases/api").RunStatus;
|
|
4263
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
4264
4264
|
preComputeProcessingStarted: bigint;
|
|
4265
4265
|
error: string;
|
|
4266
4266
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -4276,7 +4276,7 @@ declare const eden: {
|
|
|
4276
4276
|
icon: string;
|
|
4277
4277
|
verified: boolean;
|
|
4278
4278
|
isTest: boolean;
|
|
4279
|
-
type: import("@package/databases").TokenType;
|
|
4279
|
+
type: import("@package/databases/api").TokenType;
|
|
4280
4280
|
isNative: boolean;
|
|
4281
4281
|
price: number | null;
|
|
4282
4282
|
updatedAt: number | null;
|
|
@@ -4284,7 +4284,7 @@ declare const eden: {
|
|
|
4284
4284
|
};
|
|
4285
4285
|
amount: string;
|
|
4286
4286
|
campaignId: string;
|
|
4287
|
-
distributionType: import("@package/databases").DistributionType;
|
|
4287
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
4288
4288
|
endTimestamp: bigint;
|
|
4289
4289
|
startTimestamp: bigint;
|
|
4290
4290
|
};
|
|
@@ -4324,7 +4324,7 @@ declare const eden: {
|
|
|
4324
4324
|
icon: string;
|
|
4325
4325
|
verified: boolean;
|
|
4326
4326
|
isTest: boolean;
|
|
4327
|
-
type: import("@package/databases").TokenType;
|
|
4327
|
+
type: import("@package/databases/api").TokenType;
|
|
4328
4328
|
isNative: boolean;
|
|
4329
4329
|
price: number | null;
|
|
4330
4330
|
updatedAt: number | null;
|
|
@@ -4362,7 +4362,7 @@ declare const eden: {
|
|
|
4362
4362
|
icon: string;
|
|
4363
4363
|
verified: boolean;
|
|
4364
4364
|
isTest: boolean;
|
|
4365
|
-
type: import("@package/databases").TokenType;
|
|
4365
|
+
type: import("@package/databases/api").TokenType;
|
|
4366
4366
|
isNative: boolean;
|
|
4367
4367
|
price: number | null;
|
|
4368
4368
|
updatedAt: number | null;
|
|
@@ -4371,7 +4371,7 @@ declare const eden: {
|
|
|
4371
4371
|
TvlRecords: ({
|
|
4372
4372
|
TvlBreakdown: {
|
|
4373
4373
|
identifier: string;
|
|
4374
|
-
type: import("@package/databases").TvlType;
|
|
4374
|
+
type: import("@package/databases/api").TvlType;
|
|
4375
4375
|
value: number;
|
|
4376
4376
|
}[];
|
|
4377
4377
|
} & {
|
|
@@ -4390,8 +4390,8 @@ declare const eden: {
|
|
|
4390
4390
|
howToSteps: string[];
|
|
4391
4391
|
depositUrl: string | null;
|
|
4392
4392
|
explorerAddress: string | null;
|
|
4393
|
-
status: import("@package/databases").Status;
|
|
4394
|
-
action: import("@package/databases").OpportunityAction;
|
|
4393
|
+
status: import("@package/databases/api").Status;
|
|
4394
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
4395
4395
|
mainProtocolId: string | null;
|
|
4396
4396
|
tvl: number;
|
|
4397
4397
|
apr: number;
|
|
@@ -4400,7 +4400,7 @@ declare const eden: {
|
|
|
4400
4400
|
dailyRewards: number;
|
|
4401
4401
|
tags: string[];
|
|
4402
4402
|
lastCampaignCreatedAt: Date;
|
|
4403
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
4403
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
4404
4404
|
liveCampaigns: number;
|
|
4405
4405
|
hidden: boolean;
|
|
4406
4406
|
});
|
|
@@ -4459,7 +4459,7 @@ declare const eden: {
|
|
|
4459
4459
|
breakdowns: ({
|
|
4460
4460
|
identifier: string;
|
|
4461
4461
|
timestamp: bigint;
|
|
4462
|
-
type: import("@package/databases").AprType;
|
|
4462
|
+
type: import("@package/databases/api").AprType;
|
|
4463
4463
|
value: number;
|
|
4464
4464
|
} & {
|
|
4465
4465
|
campaignId?: string | undefined;
|
|
@@ -4471,7 +4471,7 @@ declare const eden: {
|
|
|
4471
4471
|
tvl: {
|
|
4472
4472
|
breakdowns: ({
|
|
4473
4473
|
identifier: string;
|
|
4474
|
-
type: import("@package/databases").TvlType;
|
|
4474
|
+
type: import("@package/databases/api").TvlType;
|
|
4475
4475
|
value: number;
|
|
4476
4476
|
} & {})[];
|
|
4477
4477
|
timestamp: bigint;
|
|
@@ -4513,7 +4513,7 @@ declare const eden: {
|
|
|
4513
4513
|
breakdowns: ({
|
|
4514
4514
|
identifier: string;
|
|
4515
4515
|
timestamp: bigint;
|
|
4516
|
-
type: import("@package/databases").AprType;
|
|
4516
|
+
type: import("@package/databases/api").AprType;
|
|
4517
4517
|
value: number;
|
|
4518
4518
|
} & {
|
|
4519
4519
|
campaignId?: string | undefined;
|
|
@@ -4525,7 +4525,7 @@ declare const eden: {
|
|
|
4525
4525
|
tvl: {
|
|
4526
4526
|
breakdowns: ({
|
|
4527
4527
|
identifier: string;
|
|
4528
|
-
type: import("@package/databases").TvlType;
|
|
4528
|
+
type: import("@package/databases/api").TvlType;
|
|
4529
4529
|
value: number;
|
|
4530
4530
|
} & {})[];
|
|
4531
4531
|
timestamp: bigint;
|
|
@@ -4590,7 +4590,7 @@ declare const eden: {
|
|
|
4590
4590
|
breakdowns: ({
|
|
4591
4591
|
identifier: string;
|
|
4592
4592
|
timestamp: bigint;
|
|
4593
|
-
type: import("@package/databases").AprType;
|
|
4593
|
+
type: import("@package/databases/api").AprType;
|
|
4594
4594
|
value: number;
|
|
4595
4595
|
} & {
|
|
4596
4596
|
campaignId?: string | undefined;
|
|
@@ -4602,7 +4602,7 @@ declare const eden: {
|
|
|
4602
4602
|
tvl: {
|
|
4603
4603
|
breakdowns: ({
|
|
4604
4604
|
identifier: string;
|
|
4605
|
-
type: import("@package/databases").TvlType;
|
|
4605
|
+
type: import("@package/databases/api").TvlType;
|
|
4606
4606
|
value: number;
|
|
4607
4607
|
} & {})[];
|
|
4608
4608
|
timestamp: bigint;
|
|
@@ -4644,7 +4644,7 @@ declare const eden: {
|
|
|
4644
4644
|
breakdowns: ({
|
|
4645
4645
|
identifier: string;
|
|
4646
4646
|
timestamp: bigint;
|
|
4647
|
-
type: import("@package/databases").AprType;
|
|
4647
|
+
type: import("@package/databases/api").AprType;
|
|
4648
4648
|
value: number;
|
|
4649
4649
|
} & {
|
|
4650
4650
|
campaignId?: string | undefined;
|
|
@@ -4656,7 +4656,7 @@ declare const eden: {
|
|
|
4656
4656
|
tvl: {
|
|
4657
4657
|
breakdowns: ({
|
|
4658
4658
|
identifier: string;
|
|
4659
|
-
type: import("@package/databases").TvlType;
|
|
4659
|
+
type: import("@package/databases/api").TvlType;
|
|
4660
4660
|
value: number;
|
|
4661
4661
|
} & {})[];
|
|
4662
4662
|
timestamp: bigint;
|
|
@@ -4718,7 +4718,7 @@ declare const eden: {
|
|
|
4718
4718
|
breakdowns: ({
|
|
4719
4719
|
identifier: string;
|
|
4720
4720
|
timestamp: bigint;
|
|
4721
|
-
type: import("@package/databases").AprType;
|
|
4721
|
+
type: import("@package/databases/api").AprType;
|
|
4722
4722
|
value: number;
|
|
4723
4723
|
} & {
|
|
4724
4724
|
campaignId?: string | undefined;
|
|
@@ -4730,7 +4730,7 @@ declare const eden: {
|
|
|
4730
4730
|
tvl: {
|
|
4731
4731
|
breakdowns: ({
|
|
4732
4732
|
identifier: string;
|
|
4733
|
-
type: import("@package/databases").TvlType;
|
|
4733
|
+
type: import("@package/databases/api").TvlType;
|
|
4734
4734
|
value: number;
|
|
4735
4735
|
} & {})[];
|
|
4736
4736
|
timestamp: bigint;
|
|
@@ -4772,7 +4772,7 @@ declare const eden: {
|
|
|
4772
4772
|
breakdowns: ({
|
|
4773
4773
|
identifier: string;
|
|
4774
4774
|
timestamp: bigint;
|
|
4775
|
-
type: import("@package/databases").AprType;
|
|
4775
|
+
type: import("@package/databases/api").AprType;
|
|
4776
4776
|
value: number;
|
|
4777
4777
|
} & {
|
|
4778
4778
|
campaignId?: string | undefined;
|
|
@@ -4784,7 +4784,7 @@ declare const eden: {
|
|
|
4784
4784
|
tvl: {
|
|
4785
4785
|
breakdowns: ({
|
|
4786
4786
|
identifier: string;
|
|
4787
|
-
type: import("@package/databases").TvlType;
|
|
4787
|
+
type: import("@package/databases/api").TvlType;
|
|
4788
4788
|
value: number;
|
|
4789
4789
|
} & {})[];
|
|
4790
4790
|
timestamp: bigint;
|
|
@@ -4848,7 +4848,7 @@ declare const eden: {
|
|
|
4848
4848
|
breakdowns: ({
|
|
4849
4849
|
identifier: string;
|
|
4850
4850
|
timestamp: bigint;
|
|
4851
|
-
type: import("@package/databases").AprType;
|
|
4851
|
+
type: import("@package/databases/api").AprType;
|
|
4852
4852
|
value: number;
|
|
4853
4853
|
} & {
|
|
4854
4854
|
campaignId?: string | undefined;
|
|
@@ -4860,7 +4860,7 @@ declare const eden: {
|
|
|
4860
4860
|
tvl: {
|
|
4861
4861
|
breakdowns: ({
|
|
4862
4862
|
identifier: string;
|
|
4863
|
-
type: import("@package/databases").TvlType;
|
|
4863
|
+
type: import("@package/databases/api").TvlType;
|
|
4864
4864
|
value: number;
|
|
4865
4865
|
} & {})[];
|
|
4866
4866
|
timestamp: bigint;
|
|
@@ -4902,7 +4902,7 @@ declare const eden: {
|
|
|
4902
4902
|
breakdowns: ({
|
|
4903
4903
|
identifier: string;
|
|
4904
4904
|
timestamp: bigint;
|
|
4905
|
-
type: import("@package/databases").AprType;
|
|
4905
|
+
type: import("@package/databases/api").AprType;
|
|
4906
4906
|
value: number;
|
|
4907
4907
|
} & {
|
|
4908
4908
|
campaignId?: string | undefined;
|
|
@@ -4914,7 +4914,7 @@ declare const eden: {
|
|
|
4914
4914
|
tvl: {
|
|
4915
4915
|
breakdowns: ({
|
|
4916
4916
|
identifier: string;
|
|
4917
|
-
type: import("@package/databases").TvlType;
|
|
4917
|
+
type: import("@package/databases/api").TvlType;
|
|
4918
4918
|
value: number;
|
|
4919
4919
|
} & {})[];
|
|
4920
4920
|
timestamp: bigint;
|
|
@@ -4988,8 +4988,8 @@ declare const eden: {
|
|
|
4988
4988
|
name: string;
|
|
4989
4989
|
description: string;
|
|
4990
4990
|
howToSteps: string[];
|
|
4991
|
-
status: import("@package/databases").Status;
|
|
4992
|
-
action: import("@package/databases").OpportunityAction;
|
|
4991
|
+
status: import("@package/databases/api").Status;
|
|
4992
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
4993
4993
|
tvl: number;
|
|
4994
4994
|
apr: number;
|
|
4995
4995
|
maxApr: number | null;
|
|
@@ -5119,8 +5119,8 @@ declare const eden: {
|
|
|
5119
5119
|
name: string;
|
|
5120
5120
|
description: string;
|
|
5121
5121
|
howToSteps: string[];
|
|
5122
|
-
status: import("@package/databases").Status;
|
|
5123
|
-
action: import("@package/databases").OpportunityAction;
|
|
5122
|
+
status: import("@package/databases/api").Status;
|
|
5123
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
5124
5124
|
tvl: number;
|
|
5125
5125
|
apr: number;
|
|
5126
5126
|
maxApr: number | null;
|
|
@@ -5261,7 +5261,7 @@ declare const eden: {
|
|
|
5261
5261
|
breakdowns: ({
|
|
5262
5262
|
identifier: string;
|
|
5263
5263
|
timestamp: bigint;
|
|
5264
|
-
type: import("@package/databases").AprType;
|
|
5264
|
+
type: import("@package/databases/api").AprType;
|
|
5265
5265
|
value: number;
|
|
5266
5266
|
} & {
|
|
5267
5267
|
campaignId?: string | undefined;
|
|
@@ -5273,7 +5273,7 @@ declare const eden: {
|
|
|
5273
5273
|
tvl: {
|
|
5274
5274
|
breakdowns: ({
|
|
5275
5275
|
identifier: string;
|
|
5276
|
-
type: import("@package/databases").TvlType;
|
|
5276
|
+
type: import("@package/databases/api").TvlType;
|
|
5277
5277
|
value: number;
|
|
5278
5278
|
} & {})[];
|
|
5279
5279
|
timestamp: bigint;
|
|
@@ -5315,7 +5315,7 @@ declare const eden: {
|
|
|
5315
5315
|
breakdowns: ({
|
|
5316
5316
|
identifier: string;
|
|
5317
5317
|
timestamp: bigint;
|
|
5318
|
-
type: import("@package/databases").AprType;
|
|
5318
|
+
type: import("@package/databases/api").AprType;
|
|
5319
5319
|
value: number;
|
|
5320
5320
|
} & {
|
|
5321
5321
|
campaignId?: string | undefined;
|
|
@@ -5327,7 +5327,7 @@ declare const eden: {
|
|
|
5327
5327
|
tvl: {
|
|
5328
5328
|
breakdowns: ({
|
|
5329
5329
|
identifier: string;
|
|
5330
|
-
type: import("@package/databases").TvlType;
|
|
5330
|
+
type: import("@package/databases/api").TvlType;
|
|
5331
5331
|
value: number;
|
|
5332
5332
|
} & {})[];
|
|
5333
5333
|
timestamp: bigint;
|
|
@@ -5413,9 +5413,9 @@ declare const eden: {
|
|
|
5413
5413
|
computedUntil: bigint;
|
|
5414
5414
|
error: string;
|
|
5415
5415
|
preComputeProcessingStarted: bigint;
|
|
5416
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
5416
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
5417
5417
|
processingStarted: bigint;
|
|
5418
|
-
status: import("@package/databases").RunStatus;
|
|
5418
|
+
status: import("@package/databases/api").RunStatus;
|
|
5419
5419
|
}[];
|
|
5420
5420
|
campaignId: string;
|
|
5421
5421
|
createdAt: Date;
|
|
@@ -6029,7 +6029,7 @@ declare const eden: {
|
|
|
6029
6029
|
amount: string | null;
|
|
6030
6030
|
campaignsCount: number | null;
|
|
6031
6031
|
maxApr: number | null;
|
|
6032
|
-
relationType: import("@package/databases").CarouselType;
|
|
6032
|
+
relationType: import("@package/databases/api").CarouselType;
|
|
6033
6033
|
programId: string | null;
|
|
6034
6034
|
opportunityId: string | null;
|
|
6035
6035
|
chainId: number | null;
|
|
@@ -6064,7 +6064,7 @@ declare const eden: {
|
|
|
6064
6064
|
amount: string | null;
|
|
6065
6065
|
campaignsCount: number | null;
|
|
6066
6066
|
maxApr: number | null;
|
|
6067
|
-
relationType: import("@package/databases").CarouselType;
|
|
6067
|
+
relationType: import("@package/databases/api").CarouselType;
|
|
6068
6068
|
programId: string | null;
|
|
6069
6069
|
opportunityId: string | null;
|
|
6070
6070
|
chainId: number | null;
|
|
@@ -6090,7 +6090,7 @@ declare const eden: {
|
|
|
6090
6090
|
Chain: ({
|
|
6091
6091
|
Explorer: {
|
|
6092
6092
|
id: string;
|
|
6093
|
-
type: import("@package/databases").ExplorerType;
|
|
6093
|
+
type: import("@package/databases/api").ExplorerType;
|
|
6094
6094
|
url: string;
|
|
6095
6095
|
chainId: number;
|
|
6096
6096
|
}[];
|
|
@@ -6151,7 +6151,7 @@ declare const eden: {
|
|
|
6151
6151
|
icon: string;
|
|
6152
6152
|
verified: boolean;
|
|
6153
6153
|
isTest: boolean;
|
|
6154
|
-
type: import("@package/databases").TokenType;
|
|
6154
|
+
type: import("@package/databases/api").TokenType;
|
|
6155
6155
|
isNative: boolean;
|
|
6156
6156
|
price: number | null;
|
|
6157
6157
|
updatedAt: number | null;
|
|
@@ -6167,8 +6167,8 @@ declare const eden: {
|
|
|
6167
6167
|
howToSteps: string[];
|
|
6168
6168
|
depositUrl: string | null;
|
|
6169
6169
|
explorerAddress: string | null;
|
|
6170
|
-
status: import("@package/databases").Status;
|
|
6171
|
-
action: import("@package/databases").OpportunityAction;
|
|
6170
|
+
status: import("@package/databases/api").Status;
|
|
6171
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
6172
6172
|
mainProtocolId: string | null;
|
|
6173
6173
|
tvl: number;
|
|
6174
6174
|
apr: number;
|
|
@@ -6177,7 +6177,7 @@ declare const eden: {
|
|
|
6177
6177
|
dailyRewards: number;
|
|
6178
6178
|
tags: string[];
|
|
6179
6179
|
lastCampaignCreatedAt: Date;
|
|
6180
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
6180
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
6181
6181
|
liveCampaigns: number;
|
|
6182
6182
|
hidden: boolean;
|
|
6183
6183
|
}) | null;
|
|
@@ -6231,7 +6231,7 @@ declare const eden: {
|
|
|
6231
6231
|
icon: string;
|
|
6232
6232
|
verified: boolean;
|
|
6233
6233
|
isTest: boolean;
|
|
6234
|
-
type: import("@package/databases").TokenType;
|
|
6234
|
+
type: import("@package/databases/api").TokenType;
|
|
6235
6235
|
isNative: boolean;
|
|
6236
6236
|
price: number | null;
|
|
6237
6237
|
updatedAt: number | null;
|
|
@@ -6247,8 +6247,8 @@ declare const eden: {
|
|
|
6247
6247
|
howToSteps: string[];
|
|
6248
6248
|
depositUrl: string | null;
|
|
6249
6249
|
explorerAddress: string | null;
|
|
6250
|
-
status: import("@package/databases").Status;
|
|
6251
|
-
action: import("@package/databases").OpportunityAction;
|
|
6250
|
+
status: import("@package/databases/api").Status;
|
|
6251
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
6252
6252
|
mainProtocolId: string | null;
|
|
6253
6253
|
tvl: number;
|
|
6254
6254
|
apr: number;
|
|
@@ -6257,7 +6257,7 @@ declare const eden: {
|
|
|
6257
6257
|
dailyRewards: number;
|
|
6258
6258
|
tags: string[];
|
|
6259
6259
|
lastCampaignCreatedAt: Date;
|
|
6260
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
6260
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
6261
6261
|
liveCampaigns: number;
|
|
6262
6262
|
hidden: boolean;
|
|
6263
6263
|
})[];
|
|
@@ -6291,7 +6291,7 @@ declare const eden: {
|
|
|
6291
6291
|
amount: string | null;
|
|
6292
6292
|
campaignsCount: number | null;
|
|
6293
6293
|
maxApr: number | null;
|
|
6294
|
-
relationType: import("@package/databases").CarouselType;
|
|
6294
|
+
relationType: import("@package/databases/api").CarouselType;
|
|
6295
6295
|
programId: string | null;
|
|
6296
6296
|
opportunityId: string | null;
|
|
6297
6297
|
chainId: number | null;
|
|
@@ -6721,7 +6721,7 @@ declare const eden: {
|
|
|
6721
6721
|
Chain: ({
|
|
6722
6722
|
Explorer: {
|
|
6723
6723
|
id: string;
|
|
6724
|
-
type: import("@package/databases").ExplorerType;
|
|
6724
|
+
type: import("@package/databases/api").ExplorerType;
|
|
6725
6725
|
url: string;
|
|
6726
6726
|
chainId: number;
|
|
6727
6727
|
}[];
|
|
@@ -6782,7 +6782,7 @@ declare const eden: {
|
|
|
6782
6782
|
icon: string;
|
|
6783
6783
|
verified: boolean;
|
|
6784
6784
|
isTest: boolean;
|
|
6785
|
-
type: import("@package/databases").TokenType;
|
|
6785
|
+
type: import("@package/databases/api").TokenType;
|
|
6786
6786
|
isNative: boolean;
|
|
6787
6787
|
price: number | null;
|
|
6788
6788
|
updatedAt: number | null;
|
|
@@ -6798,8 +6798,8 @@ declare const eden: {
|
|
|
6798
6798
|
howToSteps: string[];
|
|
6799
6799
|
depositUrl: string | null;
|
|
6800
6800
|
explorerAddress: string | null;
|
|
6801
|
-
status: import("@package/databases").Status;
|
|
6802
|
-
action: import("@package/databases").OpportunityAction;
|
|
6801
|
+
status: import("@package/databases/api").Status;
|
|
6802
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
6803
6803
|
mainProtocolId: string | null;
|
|
6804
6804
|
tvl: number;
|
|
6805
6805
|
apr: number;
|
|
@@ -6808,7 +6808,7 @@ declare const eden: {
|
|
|
6808
6808
|
dailyRewards: number;
|
|
6809
6809
|
tags: string[];
|
|
6810
6810
|
lastCampaignCreatedAt: Date;
|
|
6811
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
6811
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
6812
6812
|
liveCampaigns: number;
|
|
6813
6813
|
hidden: boolean;
|
|
6814
6814
|
}) | null;
|
|
@@ -6862,7 +6862,7 @@ declare const eden: {
|
|
|
6862
6862
|
icon: string;
|
|
6863
6863
|
verified: boolean;
|
|
6864
6864
|
isTest: boolean;
|
|
6865
|
-
type: import("@package/databases").TokenType;
|
|
6865
|
+
type: import("@package/databases/api").TokenType;
|
|
6866
6866
|
isNative: boolean;
|
|
6867
6867
|
price: number | null;
|
|
6868
6868
|
updatedAt: number | null;
|
|
@@ -6878,8 +6878,8 @@ declare const eden: {
|
|
|
6878
6878
|
howToSteps: string[];
|
|
6879
6879
|
depositUrl: string | null;
|
|
6880
6880
|
explorerAddress: string | null;
|
|
6881
|
-
status: import("@package/databases").Status;
|
|
6882
|
-
action: import("@package/databases").OpportunityAction;
|
|
6881
|
+
status: import("@package/databases/api").Status;
|
|
6882
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
6883
6883
|
mainProtocolId: string | null;
|
|
6884
6884
|
tvl: number;
|
|
6885
6885
|
apr: number;
|
|
@@ -6888,7 +6888,7 @@ declare const eden: {
|
|
|
6888
6888
|
dailyRewards: number;
|
|
6889
6889
|
tags: string[];
|
|
6890
6890
|
lastCampaignCreatedAt: Date;
|
|
6891
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
6891
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
6892
6892
|
liveCampaigns: number;
|
|
6893
6893
|
hidden: boolean;
|
|
6894
6894
|
})[];
|
|
@@ -6922,7 +6922,7 @@ declare const eden: {
|
|
|
6922
6922
|
amount: string | null;
|
|
6923
6923
|
campaignsCount: number | null;
|
|
6924
6924
|
maxApr: number | null;
|
|
6925
|
-
relationType: import("@package/databases").CarouselType;
|
|
6925
|
+
relationType: import("@package/databases/api").CarouselType;
|
|
6926
6926
|
programId: string | null;
|
|
6927
6927
|
opportunityId: string | null;
|
|
6928
6928
|
chainId: number | null;
|
|
@@ -7361,7 +7361,7 @@ declare const eden: {
|
|
|
7361
7361
|
amount: string | null;
|
|
7362
7362
|
campaignsCount: number | null;
|
|
7363
7363
|
maxApr: number | null;
|
|
7364
|
-
relationType: import("@package/databases").CarouselType;
|
|
7364
|
+
relationType: import("@package/databases/api").CarouselType;
|
|
7365
7365
|
programId: string | null;
|
|
7366
7366
|
opportunityId: string | null;
|
|
7367
7367
|
chainId: number | null;
|
|
@@ -8196,7 +8196,7 @@ declare const eden: {
|
|
|
8196
8196
|
AprBreakdown: {
|
|
8197
8197
|
identifier: string;
|
|
8198
8198
|
timestamp: bigint;
|
|
8199
|
-
type: import("@package/databases").AprType;
|
|
8199
|
+
type: import("@package/databases/api").AprType;
|
|
8200
8200
|
value: number;
|
|
8201
8201
|
}[];
|
|
8202
8202
|
} & {
|
|
@@ -8211,7 +8211,7 @@ declare const eden: {
|
|
|
8211
8211
|
distributionChainId: number;
|
|
8212
8212
|
campaignId: string;
|
|
8213
8213
|
type: string;
|
|
8214
|
-
distributionType: import("@package/databases").DistributionType;
|
|
8214
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
8215
8215
|
subType: number | null;
|
|
8216
8216
|
rewardTokenId: string;
|
|
8217
8217
|
amount: string;
|
|
@@ -8224,7 +8224,7 @@ declare const eden: {
|
|
|
8224
8224
|
dailyRewards: number;
|
|
8225
8225
|
apr: number;
|
|
8226
8226
|
creatorAddress: string;
|
|
8227
|
-
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
8227
|
+
manualOverrides: import("@package/databases/api").CampaignManualOverride[];
|
|
8228
8228
|
createdAt: Date;
|
|
8229
8229
|
rootCampaignId: string | null;
|
|
8230
8230
|
parentCampaignId: string | null;
|
|
@@ -8246,8 +8246,8 @@ declare const eden: {
|
|
|
8246
8246
|
campaignId: string;
|
|
8247
8247
|
computedUntil: bigint;
|
|
8248
8248
|
processingStarted: bigint;
|
|
8249
|
-
status: import("@package/databases").RunStatus;
|
|
8250
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
8249
|
+
status: import("@package/databases/api").RunStatus;
|
|
8250
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
8251
8251
|
preComputeProcessingStarted: bigint;
|
|
8252
8252
|
error: string;
|
|
8253
8253
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -8263,7 +8263,7 @@ declare const eden: {
|
|
|
8263
8263
|
icon: string;
|
|
8264
8264
|
verified: boolean;
|
|
8265
8265
|
isTest: boolean;
|
|
8266
|
-
type: import("@package/databases").TokenType;
|
|
8266
|
+
type: import("@package/databases/api").TokenType;
|
|
8267
8267
|
isNative: boolean;
|
|
8268
8268
|
price: number | null;
|
|
8269
8269
|
updatedAt: number | null;
|
|
@@ -8271,7 +8271,7 @@ declare const eden: {
|
|
|
8271
8271
|
};
|
|
8272
8272
|
amount: string;
|
|
8273
8273
|
campaignId: string;
|
|
8274
|
-
distributionType: import("@package/databases").DistributionType;
|
|
8274
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
8275
8275
|
endTimestamp: bigint;
|
|
8276
8276
|
startTimestamp: bigint;
|
|
8277
8277
|
};
|
|
@@ -8311,7 +8311,7 @@ declare const eden: {
|
|
|
8311
8311
|
icon: string;
|
|
8312
8312
|
verified: boolean;
|
|
8313
8313
|
isTest: boolean;
|
|
8314
|
-
type: import("@package/databases").TokenType;
|
|
8314
|
+
type: import("@package/databases/api").TokenType;
|
|
8315
8315
|
isNative: boolean;
|
|
8316
8316
|
price: number | null;
|
|
8317
8317
|
updatedAt: number | null;
|
|
@@ -8349,7 +8349,7 @@ declare const eden: {
|
|
|
8349
8349
|
icon: string;
|
|
8350
8350
|
verified: boolean;
|
|
8351
8351
|
isTest: boolean;
|
|
8352
|
-
type: import("@package/databases").TokenType;
|
|
8352
|
+
type: import("@package/databases/api").TokenType;
|
|
8353
8353
|
isNative: boolean;
|
|
8354
8354
|
price: number | null;
|
|
8355
8355
|
updatedAt: number | null;
|
|
@@ -8358,7 +8358,7 @@ declare const eden: {
|
|
|
8358
8358
|
TvlRecords: ({
|
|
8359
8359
|
TvlBreakdown: {
|
|
8360
8360
|
identifier: string;
|
|
8361
|
-
type: import("@package/databases").TvlType;
|
|
8361
|
+
type: import("@package/databases/api").TvlType;
|
|
8362
8362
|
value: number;
|
|
8363
8363
|
}[];
|
|
8364
8364
|
} & {
|
|
@@ -8377,8 +8377,8 @@ declare const eden: {
|
|
|
8377
8377
|
howToSteps: string[];
|
|
8378
8378
|
depositUrl: string | null;
|
|
8379
8379
|
explorerAddress: string | null;
|
|
8380
|
-
status: import("@package/databases").Status;
|
|
8381
|
-
action: import("@package/databases").OpportunityAction;
|
|
8380
|
+
status: import("@package/databases/api").Status;
|
|
8381
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
8382
8382
|
mainProtocolId: string | null;
|
|
8383
8383
|
tvl: number;
|
|
8384
8384
|
apr: number;
|
|
@@ -8387,7 +8387,7 @@ declare const eden: {
|
|
|
8387
8387
|
dailyRewards: number;
|
|
8388
8388
|
tags: string[];
|
|
8389
8389
|
lastCampaignCreatedAt: Date;
|
|
8390
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
8390
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
8391
8391
|
liveCampaigns: number;
|
|
8392
8392
|
hidden: boolean;
|
|
8393
8393
|
});
|
|
@@ -8423,7 +8423,7 @@ declare const eden: {
|
|
|
8423
8423
|
breakdowns: ({
|
|
8424
8424
|
identifier: string;
|
|
8425
8425
|
timestamp: bigint;
|
|
8426
|
-
type: import("@package/databases").AprType;
|
|
8426
|
+
type: import("@package/databases/api").AprType;
|
|
8427
8427
|
value: number;
|
|
8428
8428
|
} & {
|
|
8429
8429
|
campaignId?: string | undefined;
|
|
@@ -8435,7 +8435,7 @@ declare const eden: {
|
|
|
8435
8435
|
tvl: {
|
|
8436
8436
|
breakdowns: ({
|
|
8437
8437
|
identifier: string;
|
|
8438
|
-
type: import("@package/databases").TvlType;
|
|
8438
|
+
type: import("@package/databases/api").TvlType;
|
|
8439
8439
|
value: number;
|
|
8440
8440
|
} & {})[];
|
|
8441
8441
|
timestamp: bigint;
|
|
@@ -8477,7 +8477,7 @@ declare const eden: {
|
|
|
8477
8477
|
breakdowns: ({
|
|
8478
8478
|
identifier: string;
|
|
8479
8479
|
timestamp: bigint;
|
|
8480
|
-
type: import("@package/databases").AprType;
|
|
8480
|
+
type: import("@package/databases/api").AprType;
|
|
8481
8481
|
value: number;
|
|
8482
8482
|
} & {
|
|
8483
8483
|
campaignId?: string | undefined;
|
|
@@ -8489,7 +8489,7 @@ declare const eden: {
|
|
|
8489
8489
|
tvl: {
|
|
8490
8490
|
breakdowns: ({
|
|
8491
8491
|
identifier: string;
|
|
8492
|
-
type: import("@package/databases").TvlType;
|
|
8492
|
+
type: import("@package/databases/api").TvlType;
|
|
8493
8493
|
value: number;
|
|
8494
8494
|
} & {})[];
|
|
8495
8495
|
timestamp: bigint;
|
|
@@ -8634,8 +8634,8 @@ declare const eden: {
|
|
|
8634
8634
|
howToSteps: string[];
|
|
8635
8635
|
depositUrl: string | null;
|
|
8636
8636
|
explorerAddress: string | null;
|
|
8637
|
-
status: import("@package/databases").Status;
|
|
8638
|
-
action: import("@package/databases").OpportunityAction;
|
|
8637
|
+
status: import("@package/databases/api").Status;
|
|
8638
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
8639
8639
|
mainProtocolId: string | null;
|
|
8640
8640
|
tvl: number;
|
|
8641
8641
|
apr: number;
|
|
@@ -8644,7 +8644,7 @@ declare const eden: {
|
|
|
8644
8644
|
dailyRewards: number;
|
|
8645
8645
|
tags: string[];
|
|
8646
8646
|
lastCampaignCreatedAt: Date;
|
|
8647
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
8647
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
8648
8648
|
liveCampaigns: number;
|
|
8649
8649
|
hidden: boolean;
|
|
8650
8650
|
};
|
|
@@ -8654,7 +8654,7 @@ declare const eden: {
|
|
|
8654
8654
|
distributionChainId: number;
|
|
8655
8655
|
campaignId: string;
|
|
8656
8656
|
type: string;
|
|
8657
|
-
distributionType: import("@package/databases").DistributionType;
|
|
8657
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
8658
8658
|
subType: number | null;
|
|
8659
8659
|
rewardTokenId: string;
|
|
8660
8660
|
amount: string;
|
|
@@ -8667,7 +8667,7 @@ declare const eden: {
|
|
|
8667
8667
|
dailyRewards: number;
|
|
8668
8668
|
apr: number;
|
|
8669
8669
|
creatorAddress: string;
|
|
8670
|
-
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
8670
|
+
manualOverrides: import("@package/databases/api").CampaignManualOverride[];
|
|
8671
8671
|
createdAt: Date;
|
|
8672
8672
|
rootCampaignId: string | null;
|
|
8673
8673
|
parentCampaignId: string | null;
|
|
@@ -10344,7 +10344,7 @@ declare const eden: {
|
|
|
10344
10344
|
AprBreakdown: {
|
|
10345
10345
|
identifier: string;
|
|
10346
10346
|
timestamp: bigint;
|
|
10347
|
-
type: import("@package/databases").AprType;
|
|
10347
|
+
type: import("@package/databases/api").AprType;
|
|
10348
10348
|
value: number;
|
|
10349
10349
|
}[];
|
|
10350
10350
|
} & {
|
|
@@ -10359,7 +10359,7 @@ declare const eden: {
|
|
|
10359
10359
|
distributionChainId: number;
|
|
10360
10360
|
campaignId: string;
|
|
10361
10361
|
type: string;
|
|
10362
|
-
distributionType: import("@package/databases").DistributionType;
|
|
10362
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
10363
10363
|
subType: number | null;
|
|
10364
10364
|
rewardTokenId: string;
|
|
10365
10365
|
amount: string;
|
|
@@ -10372,7 +10372,7 @@ declare const eden: {
|
|
|
10372
10372
|
dailyRewards: number;
|
|
10373
10373
|
apr: number;
|
|
10374
10374
|
creatorAddress: string;
|
|
10375
|
-
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
10375
|
+
manualOverrides: import("@package/databases/api").CampaignManualOverride[];
|
|
10376
10376
|
createdAt: Date;
|
|
10377
10377
|
rootCampaignId: string | null;
|
|
10378
10378
|
parentCampaignId: string | null;
|
|
@@ -10394,8 +10394,8 @@ declare const eden: {
|
|
|
10394
10394
|
campaignId: string;
|
|
10395
10395
|
computedUntil: bigint;
|
|
10396
10396
|
processingStarted: bigint;
|
|
10397
|
-
status: import("@package/databases").RunStatus;
|
|
10398
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
10397
|
+
status: import("@package/databases/api").RunStatus;
|
|
10398
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
10399
10399
|
preComputeProcessingStarted: bigint;
|
|
10400
10400
|
error: string;
|
|
10401
10401
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -10411,7 +10411,7 @@ declare const eden: {
|
|
|
10411
10411
|
icon: string;
|
|
10412
10412
|
verified: boolean;
|
|
10413
10413
|
isTest: boolean;
|
|
10414
|
-
type: import("@package/databases").TokenType;
|
|
10414
|
+
type: import("@package/databases/api").TokenType;
|
|
10415
10415
|
isNative: boolean;
|
|
10416
10416
|
price: number | null;
|
|
10417
10417
|
updatedAt: number | null;
|
|
@@ -10419,7 +10419,7 @@ declare const eden: {
|
|
|
10419
10419
|
};
|
|
10420
10420
|
amount: string;
|
|
10421
10421
|
campaignId: string;
|
|
10422
|
-
distributionType: import("@package/databases").DistributionType;
|
|
10422
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
10423
10423
|
endTimestamp: bigint;
|
|
10424
10424
|
startTimestamp: bigint;
|
|
10425
10425
|
};
|
|
@@ -10459,7 +10459,7 @@ declare const eden: {
|
|
|
10459
10459
|
icon: string;
|
|
10460
10460
|
verified: boolean;
|
|
10461
10461
|
isTest: boolean;
|
|
10462
|
-
type: import("@package/databases").TokenType;
|
|
10462
|
+
type: import("@package/databases/api").TokenType;
|
|
10463
10463
|
isNative: boolean;
|
|
10464
10464
|
price: number | null;
|
|
10465
10465
|
updatedAt: number | null;
|
|
@@ -10497,7 +10497,7 @@ declare const eden: {
|
|
|
10497
10497
|
icon: string;
|
|
10498
10498
|
verified: boolean;
|
|
10499
10499
|
isTest: boolean;
|
|
10500
|
-
type: import("@package/databases").TokenType;
|
|
10500
|
+
type: import("@package/databases/api").TokenType;
|
|
10501
10501
|
isNative: boolean;
|
|
10502
10502
|
price: number | null;
|
|
10503
10503
|
updatedAt: number | null;
|
|
@@ -10506,7 +10506,7 @@ declare const eden: {
|
|
|
10506
10506
|
TvlRecords: ({
|
|
10507
10507
|
TvlBreakdown: {
|
|
10508
10508
|
identifier: string;
|
|
10509
|
-
type: import("@package/databases").TvlType;
|
|
10509
|
+
type: import("@package/databases/api").TvlType;
|
|
10510
10510
|
value: number;
|
|
10511
10511
|
}[];
|
|
10512
10512
|
} & {
|
|
@@ -10525,8 +10525,8 @@ declare const eden: {
|
|
|
10525
10525
|
howToSteps: string[];
|
|
10526
10526
|
depositUrl: string | null;
|
|
10527
10527
|
explorerAddress: string | null;
|
|
10528
|
-
status: import("@package/databases").Status;
|
|
10529
|
-
action: import("@package/databases").OpportunityAction;
|
|
10528
|
+
status: import("@package/databases/api").Status;
|
|
10529
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
10530
10530
|
mainProtocolId: string | null;
|
|
10531
10531
|
tvl: number;
|
|
10532
10532
|
apr: number;
|
|
@@ -10535,7 +10535,7 @@ declare const eden: {
|
|
|
10535
10535
|
dailyRewards: number;
|
|
10536
10536
|
tags: string[];
|
|
10537
10537
|
lastCampaignCreatedAt: Date;
|
|
10538
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
10538
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
10539
10539
|
liveCampaigns: number;
|
|
10540
10540
|
hidden: boolean;
|
|
10541
10541
|
});
|
|
@@ -10567,8 +10567,8 @@ declare const eden: {
|
|
|
10567
10567
|
howToSteps: string[];
|
|
10568
10568
|
depositUrl: string | null;
|
|
10569
10569
|
explorerAddress: string | null;
|
|
10570
|
-
status: import("@package/databases").Status;
|
|
10571
|
-
action: import("@package/databases").OpportunityAction;
|
|
10570
|
+
status: import("@package/databases/api").Status;
|
|
10571
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
10572
10572
|
mainProtocolId: string | null;
|
|
10573
10573
|
tvl: number;
|
|
10574
10574
|
apr: number;
|
|
@@ -10577,7 +10577,7 @@ declare const eden: {
|
|
|
10577
10577
|
dailyRewards: number;
|
|
10578
10578
|
tags: string[];
|
|
10579
10579
|
lastCampaignCreatedAt: Date;
|
|
10580
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
10580
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
10581
10581
|
liveCampaigns: number;
|
|
10582
10582
|
hidden: boolean;
|
|
10583
10583
|
};
|
|
@@ -10793,8 +10793,8 @@ declare const eden: {
|
|
|
10793
10793
|
howToSteps: string[];
|
|
10794
10794
|
depositUrl: string | null;
|
|
10795
10795
|
explorerAddress: string | null;
|
|
10796
|
-
status: import("@package/databases").Status;
|
|
10797
|
-
action: import("@package/databases").OpportunityAction;
|
|
10796
|
+
status: import("@package/databases/api").Status;
|
|
10797
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
10798
10798
|
mainProtocolId: string | null;
|
|
10799
10799
|
tvl: number;
|
|
10800
10800
|
apr: number;
|
|
@@ -10803,7 +10803,7 @@ declare const eden: {
|
|
|
10803
10803
|
dailyRewards: number;
|
|
10804
10804
|
tags: string[];
|
|
10805
10805
|
lastCampaignCreatedAt: Date;
|
|
10806
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
10806
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
10807
10807
|
liveCampaigns: number;
|
|
10808
10808
|
hidden: boolean;
|
|
10809
10809
|
};
|
|
@@ -10850,8 +10850,8 @@ declare const eden: {
|
|
|
10850
10850
|
howToSteps: string[];
|
|
10851
10851
|
depositUrl: string | null;
|
|
10852
10852
|
explorerAddress: string | null;
|
|
10853
|
-
status: import("@package/databases").Status;
|
|
10854
|
-
action: import("@package/databases").OpportunityAction;
|
|
10853
|
+
status: import("@package/databases/api").Status;
|
|
10854
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
10855
10855
|
mainProtocolId: string | null;
|
|
10856
10856
|
tvl: number;
|
|
10857
10857
|
apr: number;
|
|
@@ -10860,7 +10860,7 @@ declare const eden: {
|
|
|
10860
10860
|
dailyRewards: number;
|
|
10861
10861
|
tags: string[];
|
|
10862
10862
|
lastCampaignCreatedAt: Date;
|
|
10863
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
10863
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
10864
10864
|
liveCampaigns: number;
|
|
10865
10865
|
hidden: boolean;
|
|
10866
10866
|
};
|
|
@@ -10910,7 +10910,7 @@ declare const eden: {
|
|
|
10910
10910
|
AprBreakdown: {
|
|
10911
10911
|
identifier: string;
|
|
10912
10912
|
timestamp: bigint;
|
|
10913
|
-
type: import("@package/databases").AprType;
|
|
10913
|
+
type: import("@package/databases/api").AprType;
|
|
10914
10914
|
value: number;
|
|
10915
10915
|
}[];
|
|
10916
10916
|
} & {
|
|
@@ -10925,7 +10925,7 @@ declare const eden: {
|
|
|
10925
10925
|
distributionChainId: number;
|
|
10926
10926
|
campaignId: string;
|
|
10927
10927
|
type: string;
|
|
10928
|
-
distributionType: import("@package/databases").DistributionType;
|
|
10928
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
10929
10929
|
subType: number | null;
|
|
10930
10930
|
rewardTokenId: string;
|
|
10931
10931
|
amount: string;
|
|
@@ -10938,7 +10938,7 @@ declare const eden: {
|
|
|
10938
10938
|
dailyRewards: number;
|
|
10939
10939
|
apr: number;
|
|
10940
10940
|
creatorAddress: string;
|
|
10941
|
-
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
10941
|
+
manualOverrides: import("@package/databases/api").CampaignManualOverride[];
|
|
10942
10942
|
createdAt: Date;
|
|
10943
10943
|
rootCampaignId: string | null;
|
|
10944
10944
|
parentCampaignId: string | null;
|
|
@@ -10960,8 +10960,8 @@ declare const eden: {
|
|
|
10960
10960
|
campaignId: string;
|
|
10961
10961
|
computedUntil: bigint;
|
|
10962
10962
|
processingStarted: bigint;
|
|
10963
|
-
status: import("@package/databases").RunStatus;
|
|
10964
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
10963
|
+
status: import("@package/databases/api").RunStatus;
|
|
10964
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
10965
10965
|
preComputeProcessingStarted: bigint;
|
|
10966
10966
|
error: string;
|
|
10967
10967
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -10977,7 +10977,7 @@ declare const eden: {
|
|
|
10977
10977
|
icon: string;
|
|
10978
10978
|
verified: boolean;
|
|
10979
10979
|
isTest: boolean;
|
|
10980
|
-
type: import("@package/databases").TokenType;
|
|
10980
|
+
type: import("@package/databases/api").TokenType;
|
|
10981
10981
|
isNative: boolean;
|
|
10982
10982
|
price: number | null;
|
|
10983
10983
|
updatedAt: number | null;
|
|
@@ -10985,7 +10985,7 @@ declare const eden: {
|
|
|
10985
10985
|
};
|
|
10986
10986
|
amount: string;
|
|
10987
10987
|
campaignId: string;
|
|
10988
|
-
distributionType: import("@package/databases").DistributionType;
|
|
10988
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
10989
10989
|
endTimestamp: bigint;
|
|
10990
10990
|
startTimestamp: bigint;
|
|
10991
10991
|
};
|
|
@@ -11025,7 +11025,7 @@ declare const eden: {
|
|
|
11025
11025
|
icon: string;
|
|
11026
11026
|
verified: boolean;
|
|
11027
11027
|
isTest: boolean;
|
|
11028
|
-
type: import("@package/databases").TokenType;
|
|
11028
|
+
type: import("@package/databases/api").TokenType;
|
|
11029
11029
|
isNative: boolean;
|
|
11030
11030
|
price: number | null;
|
|
11031
11031
|
updatedAt: number | null;
|
|
@@ -11063,7 +11063,7 @@ declare const eden: {
|
|
|
11063
11063
|
icon: string;
|
|
11064
11064
|
verified: boolean;
|
|
11065
11065
|
isTest: boolean;
|
|
11066
|
-
type: import("@package/databases").TokenType;
|
|
11066
|
+
type: import("@package/databases/api").TokenType;
|
|
11067
11067
|
isNative: boolean;
|
|
11068
11068
|
price: number | null;
|
|
11069
11069
|
updatedAt: number | null;
|
|
@@ -11072,7 +11072,7 @@ declare const eden: {
|
|
|
11072
11072
|
TvlRecords: ({
|
|
11073
11073
|
TvlBreakdown: {
|
|
11074
11074
|
identifier: string;
|
|
11075
|
-
type: import("@package/databases").TvlType;
|
|
11075
|
+
type: import("@package/databases/api").TvlType;
|
|
11076
11076
|
value: number;
|
|
11077
11077
|
}[];
|
|
11078
11078
|
} & {
|
|
@@ -11091,8 +11091,8 @@ declare const eden: {
|
|
|
11091
11091
|
howToSteps: string[];
|
|
11092
11092
|
depositUrl: string | null;
|
|
11093
11093
|
explorerAddress: string | null;
|
|
11094
|
-
status: import("@package/databases").Status;
|
|
11095
|
-
action: import("@package/databases").OpportunityAction;
|
|
11094
|
+
status: import("@package/databases/api").Status;
|
|
11095
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
11096
11096
|
mainProtocolId: string | null;
|
|
11097
11097
|
tvl: number;
|
|
11098
11098
|
apr: number;
|
|
@@ -11101,7 +11101,7 @@ declare const eden: {
|
|
|
11101
11101
|
dailyRewards: number;
|
|
11102
11102
|
tags: string[];
|
|
11103
11103
|
lastCampaignCreatedAt: Date;
|
|
11104
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
11104
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
11105
11105
|
liveCampaigns: number;
|
|
11106
11106
|
hidden: boolean;
|
|
11107
11107
|
});
|
|
@@ -11135,8 +11135,8 @@ declare const eden: {
|
|
|
11135
11135
|
howToSteps: string[];
|
|
11136
11136
|
depositUrl: string | null;
|
|
11137
11137
|
explorerAddress: string | null;
|
|
11138
|
-
status: import("@package/databases").Status;
|
|
11139
|
-
action: import("@package/databases").OpportunityAction;
|
|
11138
|
+
status: import("@package/databases/api").Status;
|
|
11139
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
11140
11140
|
mainProtocolId: string | null;
|
|
11141
11141
|
tvl: number;
|
|
11142
11142
|
apr: number;
|
|
@@ -11145,7 +11145,7 @@ declare const eden: {
|
|
|
11145
11145
|
dailyRewards: number;
|
|
11146
11146
|
tags: string[];
|
|
11147
11147
|
lastCampaignCreatedAt: Date;
|
|
11148
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
11148
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
11149
11149
|
liveCampaigns: number;
|
|
11150
11150
|
hidden: boolean;
|
|
11151
11151
|
};
|
|
@@ -11176,8 +11176,8 @@ declare const eden: {
|
|
|
11176
11176
|
howToSteps: string[];
|
|
11177
11177
|
depositUrl: string | null;
|
|
11178
11178
|
explorerAddress: string | null;
|
|
11179
|
-
status: import("@package/databases").Status;
|
|
11180
|
-
action: import("@package/databases").OpportunityAction;
|
|
11179
|
+
status: import("@package/databases/api").Status;
|
|
11180
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
11181
11181
|
mainProtocolId: string | null;
|
|
11182
11182
|
tvl: number;
|
|
11183
11183
|
apr: number;
|
|
@@ -11186,7 +11186,7 @@ declare const eden: {
|
|
|
11186
11186
|
dailyRewards: number;
|
|
11187
11187
|
tags: string[];
|
|
11188
11188
|
lastCampaignCreatedAt: Date;
|
|
11189
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
11189
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
11190
11190
|
liveCampaigns: number;
|
|
11191
11191
|
hidden: boolean;
|
|
11192
11192
|
};
|
|
@@ -12429,7 +12429,7 @@ declare const eden: {
|
|
|
12429
12429
|
AprBreakdown: {
|
|
12430
12430
|
identifier: string;
|
|
12431
12431
|
timestamp: bigint;
|
|
12432
|
-
type: import("@package/databases").AprType;
|
|
12432
|
+
type: import("@package/databases/api").AprType;
|
|
12433
12433
|
value: number;
|
|
12434
12434
|
}[];
|
|
12435
12435
|
} & {
|
|
@@ -12444,7 +12444,7 @@ declare const eden: {
|
|
|
12444
12444
|
distributionChainId: number;
|
|
12445
12445
|
campaignId: string;
|
|
12446
12446
|
type: string;
|
|
12447
|
-
distributionType: import("@package/databases").DistributionType;
|
|
12447
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
12448
12448
|
subType: number | null;
|
|
12449
12449
|
rewardTokenId: string;
|
|
12450
12450
|
amount: string;
|
|
@@ -12457,7 +12457,7 @@ declare const eden: {
|
|
|
12457
12457
|
dailyRewards: number;
|
|
12458
12458
|
apr: number;
|
|
12459
12459
|
creatorAddress: string;
|
|
12460
|
-
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
12460
|
+
manualOverrides: import("@package/databases/api").CampaignManualOverride[];
|
|
12461
12461
|
createdAt: Date;
|
|
12462
12462
|
rootCampaignId: string | null;
|
|
12463
12463
|
parentCampaignId: string | null;
|
|
@@ -12479,8 +12479,8 @@ declare const eden: {
|
|
|
12479
12479
|
campaignId: string;
|
|
12480
12480
|
computedUntil: bigint;
|
|
12481
12481
|
processingStarted: bigint;
|
|
12482
|
-
status: import("@package/databases").RunStatus;
|
|
12483
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
12482
|
+
status: import("@package/databases/api").RunStatus;
|
|
12483
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
12484
12484
|
preComputeProcessingStarted: bigint;
|
|
12485
12485
|
error: string;
|
|
12486
12486
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -12496,7 +12496,7 @@ declare const eden: {
|
|
|
12496
12496
|
icon: string;
|
|
12497
12497
|
verified: boolean;
|
|
12498
12498
|
isTest: boolean;
|
|
12499
|
-
type: import("@package/databases").TokenType;
|
|
12499
|
+
type: import("@package/databases/api").TokenType;
|
|
12500
12500
|
isNative: boolean;
|
|
12501
12501
|
price: number | null;
|
|
12502
12502
|
updatedAt: number | null;
|
|
@@ -12504,7 +12504,7 @@ declare const eden: {
|
|
|
12504
12504
|
};
|
|
12505
12505
|
amount: string;
|
|
12506
12506
|
campaignId: string;
|
|
12507
|
-
distributionType: import("@package/databases").DistributionType;
|
|
12507
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
12508
12508
|
endTimestamp: bigint;
|
|
12509
12509
|
startTimestamp: bigint;
|
|
12510
12510
|
};
|
|
@@ -12544,7 +12544,7 @@ declare const eden: {
|
|
|
12544
12544
|
icon: string;
|
|
12545
12545
|
verified: boolean;
|
|
12546
12546
|
isTest: boolean;
|
|
12547
|
-
type: import("@package/databases").TokenType;
|
|
12547
|
+
type: import("@package/databases/api").TokenType;
|
|
12548
12548
|
isNative: boolean;
|
|
12549
12549
|
price: number | null;
|
|
12550
12550
|
updatedAt: number | null;
|
|
@@ -12582,7 +12582,7 @@ declare const eden: {
|
|
|
12582
12582
|
icon: string;
|
|
12583
12583
|
verified: boolean;
|
|
12584
12584
|
isTest: boolean;
|
|
12585
|
-
type: import("@package/databases").TokenType;
|
|
12585
|
+
type: import("@package/databases/api").TokenType;
|
|
12586
12586
|
isNative: boolean;
|
|
12587
12587
|
price: number | null;
|
|
12588
12588
|
updatedAt: number | null;
|
|
@@ -12591,7 +12591,7 @@ declare const eden: {
|
|
|
12591
12591
|
TvlRecords: ({
|
|
12592
12592
|
TvlBreakdown: {
|
|
12593
12593
|
identifier: string;
|
|
12594
|
-
type: import("@package/databases").TvlType;
|
|
12594
|
+
type: import("@package/databases/api").TvlType;
|
|
12595
12595
|
value: number;
|
|
12596
12596
|
}[];
|
|
12597
12597
|
} & {
|
|
@@ -12610,8 +12610,8 @@ declare const eden: {
|
|
|
12610
12610
|
howToSteps: string[];
|
|
12611
12611
|
depositUrl: string | null;
|
|
12612
12612
|
explorerAddress: string | null;
|
|
12613
|
-
status: import("@package/databases").Status;
|
|
12614
|
-
action: import("@package/databases").OpportunityAction;
|
|
12613
|
+
status: import("@package/databases/api").Status;
|
|
12614
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
12615
12615
|
mainProtocolId: string | null;
|
|
12616
12616
|
tvl: number;
|
|
12617
12617
|
apr: number;
|
|
@@ -12620,14 +12620,14 @@ declare const eden: {
|
|
|
12620
12620
|
dailyRewards: number;
|
|
12621
12621
|
tags: string[];
|
|
12622
12622
|
lastCampaignCreatedAt: Date;
|
|
12623
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
12623
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
12624
12624
|
liveCampaigns: number;
|
|
12625
12625
|
hidden: boolean;
|
|
12626
12626
|
});
|
|
12627
12627
|
tvl: {
|
|
12628
12628
|
breakdowns: ({
|
|
12629
12629
|
identifier: string;
|
|
12630
|
-
type: import("@package/databases").TvlType;
|
|
12630
|
+
type: import("@package/databases/api").TvlType;
|
|
12631
12631
|
value: number;
|
|
12632
12632
|
} & {})[];
|
|
12633
12633
|
timestamp: bigint;
|
|
@@ -12717,7 +12717,7 @@ declare const eden: {
|
|
|
12717
12717
|
AprBreakdown: {
|
|
12718
12718
|
identifier: string;
|
|
12719
12719
|
timestamp: bigint;
|
|
12720
|
-
type: import("@package/databases").AprType;
|
|
12720
|
+
type: import("@package/databases/api").AprType;
|
|
12721
12721
|
value: number;
|
|
12722
12722
|
}[];
|
|
12723
12723
|
} & {
|
|
@@ -12732,7 +12732,7 @@ declare const eden: {
|
|
|
12732
12732
|
distributionChainId: number;
|
|
12733
12733
|
campaignId: string;
|
|
12734
12734
|
type: string;
|
|
12735
|
-
distributionType: import("@package/databases").DistributionType;
|
|
12735
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
12736
12736
|
subType: number | null;
|
|
12737
12737
|
rewardTokenId: string;
|
|
12738
12738
|
amount: string;
|
|
@@ -12745,7 +12745,7 @@ declare const eden: {
|
|
|
12745
12745
|
dailyRewards: number;
|
|
12746
12746
|
apr: number;
|
|
12747
12747
|
creatorAddress: string;
|
|
12748
|
-
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
12748
|
+
manualOverrides: import("@package/databases/api").CampaignManualOverride[];
|
|
12749
12749
|
createdAt: Date;
|
|
12750
12750
|
rootCampaignId: string | null;
|
|
12751
12751
|
parentCampaignId: string | null;
|
|
@@ -12767,8 +12767,8 @@ declare const eden: {
|
|
|
12767
12767
|
campaignId: string;
|
|
12768
12768
|
computedUntil: bigint;
|
|
12769
12769
|
processingStarted: bigint;
|
|
12770
|
-
status: import("@package/databases").RunStatus;
|
|
12771
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
12770
|
+
status: import("@package/databases/api").RunStatus;
|
|
12771
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
12772
12772
|
preComputeProcessingStarted: bigint;
|
|
12773
12773
|
error: string;
|
|
12774
12774
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -12784,7 +12784,7 @@ declare const eden: {
|
|
|
12784
12784
|
icon: string;
|
|
12785
12785
|
verified: boolean;
|
|
12786
12786
|
isTest: boolean;
|
|
12787
|
-
type: import("@package/databases").TokenType;
|
|
12787
|
+
type: import("@package/databases/api").TokenType;
|
|
12788
12788
|
isNative: boolean;
|
|
12789
12789
|
price: number | null;
|
|
12790
12790
|
updatedAt: number | null;
|
|
@@ -12792,7 +12792,7 @@ declare const eden: {
|
|
|
12792
12792
|
};
|
|
12793
12793
|
amount: string;
|
|
12794
12794
|
campaignId: string;
|
|
12795
|
-
distributionType: import("@package/databases").DistributionType;
|
|
12795
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
12796
12796
|
endTimestamp: bigint;
|
|
12797
12797
|
startTimestamp: bigint;
|
|
12798
12798
|
};
|
|
@@ -12832,7 +12832,7 @@ declare const eden: {
|
|
|
12832
12832
|
icon: string;
|
|
12833
12833
|
verified: boolean;
|
|
12834
12834
|
isTest: boolean;
|
|
12835
|
-
type: import("@package/databases").TokenType;
|
|
12835
|
+
type: import("@package/databases/api").TokenType;
|
|
12836
12836
|
isNative: boolean;
|
|
12837
12837
|
price: number | null;
|
|
12838
12838
|
updatedAt: number | null;
|
|
@@ -12870,7 +12870,7 @@ declare const eden: {
|
|
|
12870
12870
|
icon: string;
|
|
12871
12871
|
verified: boolean;
|
|
12872
12872
|
isTest: boolean;
|
|
12873
|
-
type: import("@package/databases").TokenType;
|
|
12873
|
+
type: import("@package/databases/api").TokenType;
|
|
12874
12874
|
isNative: boolean;
|
|
12875
12875
|
price: number | null;
|
|
12876
12876
|
updatedAt: number | null;
|
|
@@ -12879,7 +12879,7 @@ declare const eden: {
|
|
|
12879
12879
|
TvlRecords: ({
|
|
12880
12880
|
TvlBreakdown: {
|
|
12881
12881
|
identifier: string;
|
|
12882
|
-
type: import("@package/databases").TvlType;
|
|
12882
|
+
type: import("@package/databases/api").TvlType;
|
|
12883
12883
|
value: number;
|
|
12884
12884
|
}[];
|
|
12885
12885
|
} & {
|
|
@@ -12898,8 +12898,8 @@ declare const eden: {
|
|
|
12898
12898
|
howToSteps: string[];
|
|
12899
12899
|
depositUrl: string | null;
|
|
12900
12900
|
explorerAddress: string | null;
|
|
12901
|
-
status: import("@package/databases").Status;
|
|
12902
|
-
action: import("@package/databases").OpportunityAction;
|
|
12901
|
+
status: import("@package/databases/api").Status;
|
|
12902
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
12903
12903
|
mainProtocolId: string | null;
|
|
12904
12904
|
tvl: number;
|
|
12905
12905
|
apr: number;
|
|
@@ -12908,14 +12908,14 @@ declare const eden: {
|
|
|
12908
12908
|
dailyRewards: number;
|
|
12909
12909
|
tags: string[];
|
|
12910
12910
|
lastCampaignCreatedAt: Date;
|
|
12911
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
12911
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
12912
12912
|
liveCampaigns: number;
|
|
12913
12913
|
hidden: boolean;
|
|
12914
12914
|
});
|
|
12915
12915
|
tvl: {
|
|
12916
12916
|
breakdowns: ({
|
|
12917
12917
|
identifier: string;
|
|
12918
|
-
type: import("@package/databases").TvlType;
|
|
12918
|
+
type: import("@package/databases/api").TvlType;
|
|
12919
12919
|
value: number;
|
|
12920
12920
|
} & {})[];
|
|
12921
12921
|
timestamp: bigint;
|
|
@@ -13051,7 +13051,7 @@ declare const eden: {
|
|
|
13051
13051
|
AprBreakdown: {
|
|
13052
13052
|
identifier: string;
|
|
13053
13053
|
timestamp: bigint;
|
|
13054
|
-
type: import("@package/databases").AprType;
|
|
13054
|
+
type: import("@package/databases/api").AprType;
|
|
13055
13055
|
value: number;
|
|
13056
13056
|
}[];
|
|
13057
13057
|
} & {
|
|
@@ -13066,7 +13066,7 @@ declare const eden: {
|
|
|
13066
13066
|
distributionChainId: number;
|
|
13067
13067
|
campaignId: string;
|
|
13068
13068
|
type: string;
|
|
13069
|
-
distributionType: import("@package/databases").DistributionType;
|
|
13069
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
13070
13070
|
subType: number | null;
|
|
13071
13071
|
rewardTokenId: string;
|
|
13072
13072
|
amount: string;
|
|
@@ -13079,7 +13079,7 @@ declare const eden: {
|
|
|
13079
13079
|
dailyRewards: number;
|
|
13080
13080
|
apr: number;
|
|
13081
13081
|
creatorAddress: string;
|
|
13082
|
-
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
13082
|
+
manualOverrides: import("@package/databases/api").CampaignManualOverride[];
|
|
13083
13083
|
createdAt: Date;
|
|
13084
13084
|
rootCampaignId: string | null;
|
|
13085
13085
|
parentCampaignId: string | null;
|
|
@@ -13101,8 +13101,8 @@ declare const eden: {
|
|
|
13101
13101
|
campaignId: string;
|
|
13102
13102
|
computedUntil: bigint;
|
|
13103
13103
|
processingStarted: bigint;
|
|
13104
|
-
status: import("@package/databases").RunStatus;
|
|
13105
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
13104
|
+
status: import("@package/databases/api").RunStatus;
|
|
13105
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
13106
13106
|
preComputeProcessingStarted: bigint;
|
|
13107
13107
|
error: string;
|
|
13108
13108
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
@@ -13118,7 +13118,7 @@ declare const eden: {
|
|
|
13118
13118
|
icon: string;
|
|
13119
13119
|
verified: boolean;
|
|
13120
13120
|
isTest: boolean;
|
|
13121
|
-
type: import("@package/databases").TokenType;
|
|
13121
|
+
type: import("@package/databases/api").TokenType;
|
|
13122
13122
|
isNative: boolean;
|
|
13123
13123
|
price: number | null;
|
|
13124
13124
|
updatedAt: number | null;
|
|
@@ -13126,7 +13126,7 @@ declare const eden: {
|
|
|
13126
13126
|
};
|
|
13127
13127
|
amount: string;
|
|
13128
13128
|
campaignId: string;
|
|
13129
|
-
distributionType: import("@package/databases").DistributionType;
|
|
13129
|
+
distributionType: import("@package/databases/api").DistributionType;
|
|
13130
13130
|
endTimestamp: bigint;
|
|
13131
13131
|
startTimestamp: bigint;
|
|
13132
13132
|
};
|
|
@@ -13166,7 +13166,7 @@ declare const eden: {
|
|
|
13166
13166
|
icon: string;
|
|
13167
13167
|
verified: boolean;
|
|
13168
13168
|
isTest: boolean;
|
|
13169
|
-
type: import("@package/databases").TokenType;
|
|
13169
|
+
type: import("@package/databases/api").TokenType;
|
|
13170
13170
|
isNative: boolean;
|
|
13171
13171
|
price: number | null;
|
|
13172
13172
|
updatedAt: number | null;
|
|
@@ -13204,7 +13204,7 @@ declare const eden: {
|
|
|
13204
13204
|
icon: string;
|
|
13205
13205
|
verified: boolean;
|
|
13206
13206
|
isTest: boolean;
|
|
13207
|
-
type: import("@package/databases").TokenType;
|
|
13207
|
+
type: import("@package/databases/api").TokenType;
|
|
13208
13208
|
isNative: boolean;
|
|
13209
13209
|
price: number | null;
|
|
13210
13210
|
updatedAt: number | null;
|
|
@@ -13213,7 +13213,7 @@ declare const eden: {
|
|
|
13213
13213
|
TvlRecords: ({
|
|
13214
13214
|
TvlBreakdown: {
|
|
13215
13215
|
identifier: string;
|
|
13216
|
-
type: import("@package/databases").TvlType;
|
|
13216
|
+
type: import("@package/databases/api").TvlType;
|
|
13217
13217
|
value: number;
|
|
13218
13218
|
}[];
|
|
13219
13219
|
} & {
|
|
@@ -13232,8 +13232,8 @@ declare const eden: {
|
|
|
13232
13232
|
howToSteps: string[];
|
|
13233
13233
|
depositUrl: string | null;
|
|
13234
13234
|
explorerAddress: string | null;
|
|
13235
|
-
status: import("@package/databases").Status;
|
|
13236
|
-
action: import("@package/databases").OpportunityAction;
|
|
13235
|
+
status: import("@package/databases/api").Status;
|
|
13236
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
13237
13237
|
mainProtocolId: string | null;
|
|
13238
13238
|
tvl: number;
|
|
13239
13239
|
apr: number;
|
|
@@ -13242,14 +13242,14 @@ declare const eden: {
|
|
|
13242
13242
|
dailyRewards: number;
|
|
13243
13243
|
tags: string[];
|
|
13244
13244
|
lastCampaignCreatedAt: Date;
|
|
13245
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
13245
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
13246
13246
|
liveCampaigns: number;
|
|
13247
13247
|
hidden: boolean;
|
|
13248
13248
|
});
|
|
13249
13249
|
tvl: {
|
|
13250
13250
|
breakdowns: ({
|
|
13251
13251
|
identifier: string;
|
|
13252
|
-
type: import("@package/databases").TvlType;
|
|
13252
|
+
type: import("@package/databases/api").TvlType;
|
|
13253
13253
|
value: number;
|
|
13254
13254
|
} & {})[];
|
|
13255
13255
|
timestamp: bigint;
|
|
@@ -13303,10 +13303,10 @@ declare const eden: {
|
|
|
13303
13303
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
13304
13304
|
200: {
|
|
13305
13305
|
id: number;
|
|
13306
|
-
type: import("@package/databases").PriceSourceType;
|
|
13306
|
+
type: import("@package/databases/api").PriceSourceType;
|
|
13307
13307
|
protected: boolean;
|
|
13308
13308
|
identifier: string;
|
|
13309
|
-
method: import("@package/databases").PriceSourceMethod;
|
|
13309
|
+
method: import("@package/databases/api").PriceSourceMethod;
|
|
13310
13310
|
args: import("@prisma/client/runtime/client").JsonValue;
|
|
13311
13311
|
value: number | null;
|
|
13312
13312
|
updatedAt: number | null;
|
|
@@ -13336,10 +13336,10 @@ declare const eden: {
|
|
|
13336
13336
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
13337
13337
|
200: {
|
|
13338
13338
|
id: number;
|
|
13339
|
-
type: import("@package/databases").PriceSourceType;
|
|
13339
|
+
type: import("@package/databases/api").PriceSourceType;
|
|
13340
13340
|
protected: boolean;
|
|
13341
13341
|
identifier: string;
|
|
13342
|
-
method: import("@package/databases").PriceSourceMethod;
|
|
13342
|
+
method: import("@package/databases/api").PriceSourceMethod;
|
|
13343
13343
|
args: import("@prisma/client/runtime/client").JsonValue;
|
|
13344
13344
|
value: number | null;
|
|
13345
13345
|
updatedAt: number | null;
|
|
@@ -13363,10 +13363,10 @@ declare const eden: {
|
|
|
13363
13363
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
13364
13364
|
200: {
|
|
13365
13365
|
id: number;
|
|
13366
|
-
type: import("@package/databases").PriceSourceType;
|
|
13366
|
+
type: import("@package/databases/api").PriceSourceType;
|
|
13367
13367
|
protected: boolean;
|
|
13368
13368
|
identifier: string;
|
|
13369
|
-
method: import("@package/databases").PriceSourceMethod;
|
|
13369
|
+
method: import("@package/databases/api").PriceSourceMethod;
|
|
13370
13370
|
args: import("@prisma/client/runtime/client").JsonValue;
|
|
13371
13371
|
value: number | null;
|
|
13372
13372
|
updatedAt: number | null;
|
|
@@ -13389,10 +13389,10 @@ declare const eden: {
|
|
|
13389
13389
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
13390
13390
|
200: {
|
|
13391
13391
|
id: number;
|
|
13392
|
-
type: import("@package/databases").PriceSourceType;
|
|
13392
|
+
type: import("@package/databases/api").PriceSourceType;
|
|
13393
13393
|
protected: boolean;
|
|
13394
13394
|
identifier: string;
|
|
13395
|
-
method: import("@package/databases").PriceSourceMethod;
|
|
13395
|
+
method: import("@package/databases/api").PriceSourceMethod;
|
|
13396
13396
|
args: import("@prisma/client/runtime/client").JsonValue;
|
|
13397
13397
|
value: number | null;
|
|
13398
13398
|
updatedAt: number | null;
|
|
@@ -13443,10 +13443,10 @@ declare const eden: {
|
|
|
13443
13443
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
13444
13444
|
200: {
|
|
13445
13445
|
id: number;
|
|
13446
|
-
type: import("@package/databases").PriceSourceType;
|
|
13446
|
+
type: import("@package/databases/api").PriceSourceType;
|
|
13447
13447
|
protected: boolean;
|
|
13448
13448
|
identifier: string;
|
|
13449
|
-
method: import("@package/databases").PriceSourceMethod;
|
|
13449
|
+
method: import("@package/databases/api").PriceSourceMethod;
|
|
13450
13450
|
args: import("@prisma/client/runtime/client").JsonValue;
|
|
13451
13451
|
value: number | null;
|
|
13452
13452
|
updatedAt: number | null;
|
|
@@ -15410,7 +15410,7 @@ declare const eden: {
|
|
|
15410
15410
|
baseConfig: import("@prisma/client/runtime/client").JsonValue;
|
|
15411
15411
|
completionConfig: import("@prisma/client/runtime/client").JsonValue;
|
|
15412
15412
|
protocolId: string | null;
|
|
15413
|
-
action: import("@package/databases").OpportunityAction | null;
|
|
15413
|
+
action: import("@package/databases/api").OpportunityAction | null;
|
|
15414
15414
|
};
|
|
15415
15415
|
422: {
|
|
15416
15416
|
type: "validation";
|
|
@@ -17646,7 +17646,7 @@ declare const eden: {
|
|
|
17646
17646
|
icon: string;
|
|
17647
17647
|
verified: boolean;
|
|
17648
17648
|
isTest: boolean;
|
|
17649
|
-
type: import("@package/databases").TokenType;
|
|
17649
|
+
type: import("@package/databases/api").TokenType;
|
|
17650
17650
|
isNative: boolean;
|
|
17651
17651
|
price: number | null;
|
|
17652
17652
|
updatedAt: number | null;
|
|
@@ -17661,8 +17661,8 @@ declare const eden: {
|
|
|
17661
17661
|
pending: string;
|
|
17662
17662
|
campaignStatus: {
|
|
17663
17663
|
campaignId: string;
|
|
17664
|
-
status: import("@package/databases").RunStatus;
|
|
17665
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
17664
|
+
status: import("@package/databases/api").RunStatus;
|
|
17665
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
17666
17666
|
error: string;
|
|
17667
17667
|
details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
|
|
17668
17668
|
delay: number;
|
|
@@ -17722,7 +17722,7 @@ declare const eden: {
|
|
|
17722
17722
|
icon: string;
|
|
17723
17723
|
verified: boolean;
|
|
17724
17724
|
isTest: boolean;
|
|
17725
|
-
type: import("@package/databases").TokenType;
|
|
17725
|
+
type: import("@package/databases/api").TokenType;
|
|
17726
17726
|
isNative: boolean;
|
|
17727
17727
|
price: number | null;
|
|
17728
17728
|
updatedAt: number | null;
|
|
@@ -17738,8 +17738,8 @@ declare const eden: {
|
|
|
17738
17738
|
howToSteps: string[];
|
|
17739
17739
|
depositUrl: string | null;
|
|
17740
17740
|
explorerAddress: string | null;
|
|
17741
|
-
status: import("@package/databases").Status;
|
|
17742
|
-
action: import("@package/databases").OpportunityAction;
|
|
17741
|
+
status: import("@package/databases/api").Status;
|
|
17742
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
17743
17743
|
mainProtocolId: string | null;
|
|
17744
17744
|
tvl: number;
|
|
17745
17745
|
apr: number;
|
|
@@ -17748,7 +17748,7 @@ declare const eden: {
|
|
|
17748
17748
|
dailyRewards: number;
|
|
17749
17749
|
tags: string[];
|
|
17750
17750
|
lastCampaignCreatedAt: Date;
|
|
17751
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
17751
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
17752
17752
|
liveCampaigns: number;
|
|
17753
17753
|
hidden: boolean;
|
|
17754
17754
|
};
|
|
@@ -17774,7 +17774,7 @@ declare const eden: {
|
|
|
17774
17774
|
icon: string;
|
|
17775
17775
|
verified: boolean;
|
|
17776
17776
|
isTest: boolean;
|
|
17777
|
-
type: import("@package/databases").TokenType;
|
|
17777
|
+
type: import("@package/databases/api").TokenType;
|
|
17778
17778
|
isNative: boolean;
|
|
17779
17779
|
price: number | null;
|
|
17780
17780
|
updatedAt: number | null;
|
|
@@ -17789,8 +17789,8 @@ declare const eden: {
|
|
|
17789
17789
|
pending: string;
|
|
17790
17790
|
campaignStatus: {
|
|
17791
17791
|
campaignId: string;
|
|
17792
|
-
status: import("@package/databases").RunStatus;
|
|
17793
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
17792
|
+
status: import("@package/databases/api").RunStatus;
|
|
17793
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
17794
17794
|
error: string;
|
|
17795
17795
|
details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
|
|
17796
17796
|
delay: number;
|
|
@@ -17850,7 +17850,7 @@ declare const eden: {
|
|
|
17850
17850
|
icon: string;
|
|
17851
17851
|
verified: boolean;
|
|
17852
17852
|
isTest: boolean;
|
|
17853
|
-
type: import("@package/databases").TokenType;
|
|
17853
|
+
type: import("@package/databases/api").TokenType;
|
|
17854
17854
|
isNative: boolean;
|
|
17855
17855
|
price: number | null;
|
|
17856
17856
|
updatedAt: number | null;
|
|
@@ -17866,8 +17866,8 @@ declare const eden: {
|
|
|
17866
17866
|
howToSteps: string[];
|
|
17867
17867
|
depositUrl: string | null;
|
|
17868
17868
|
explorerAddress: string | null;
|
|
17869
|
-
status: import("@package/databases").Status;
|
|
17870
|
-
action: import("@package/databases").OpportunityAction;
|
|
17869
|
+
status: import("@package/databases/api").Status;
|
|
17870
|
+
action: import("@package/databases/api").OpportunityAction;
|
|
17871
17871
|
mainProtocolId: string | null;
|
|
17872
17872
|
tvl: number;
|
|
17873
17873
|
apr: number;
|
|
@@ -17876,7 +17876,7 @@ declare const eden: {
|
|
|
17876
17876
|
dailyRewards: number;
|
|
17877
17877
|
tags: string[];
|
|
17878
17878
|
lastCampaignCreatedAt: Date;
|
|
17879
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
17879
|
+
manualOverrides: import("@package/databases/api").OpportunityManualOverride[];
|
|
17880
17880
|
liveCampaigns: number;
|
|
17881
17881
|
hidden: boolean;
|
|
17882
17882
|
};
|
|
@@ -18048,9 +18048,9 @@ declare const eden: {
|
|
|
18048
18048
|
details: import("@prisma/client/runtime/client").JsonValue;
|
|
18049
18049
|
error: string;
|
|
18050
18050
|
preComputeProcessingStarted: number;
|
|
18051
|
-
preComputeStatus: import("@package/databases").RunStatus;
|
|
18051
|
+
preComputeStatus: import("@package/databases/api").RunStatus;
|
|
18052
18052
|
processingStarted: number;
|
|
18053
|
-
status: import("@package/databases").RunStatus;
|
|
18053
|
+
status: import("@package/databases/api").RunStatus;
|
|
18054
18054
|
} & {
|
|
18055
18055
|
delay?: number | undefined;
|
|
18056
18056
|
})[] | undefined;
|
|
@@ -18375,7 +18375,7 @@ declare const eden: {
|
|
|
18375
18375
|
breakdowns: ({
|
|
18376
18376
|
identifier: string;
|
|
18377
18377
|
timestamp: bigint;
|
|
18378
|
-
type: import("@package/databases").AprType;
|
|
18378
|
+
type: import("@package/databases/api").AprType;
|
|
18379
18379
|
value: number;
|
|
18380
18380
|
} & {
|
|
18381
18381
|
campaignId?: string | undefined;
|
|
@@ -18387,7 +18387,7 @@ declare const eden: {
|
|
|
18387
18387
|
tvl: {
|
|
18388
18388
|
breakdowns: ({
|
|
18389
18389
|
identifier: string;
|
|
18390
|
-
type: import("@package/databases").TvlType;
|
|
18390
|
+
type: import("@package/databases/api").TvlType;
|
|
18391
18391
|
value: number;
|
|
18392
18392
|
} & {})[];
|
|
18393
18393
|
timestamp: bigint;
|
|
@@ -18429,7 +18429,7 @@ declare const eden: {
|
|
|
18429
18429
|
breakdowns: ({
|
|
18430
18430
|
identifier: string;
|
|
18431
18431
|
timestamp: bigint;
|
|
18432
|
-
type: import("@package/databases").AprType;
|
|
18432
|
+
type: import("@package/databases/api").AprType;
|
|
18433
18433
|
value: number;
|
|
18434
18434
|
} & {
|
|
18435
18435
|
campaignId?: string | undefined;
|
|
@@ -18441,7 +18441,7 @@ declare const eden: {
|
|
|
18441
18441
|
tvl: {
|
|
18442
18442
|
breakdowns: ({
|
|
18443
18443
|
identifier: string;
|
|
18444
|
-
type: import("@package/databases").TvlType;
|
|
18444
|
+
type: import("@package/databases/api").TvlType;
|
|
18445
18445
|
value: number;
|
|
18446
18446
|
} & {})[];
|
|
18447
18447
|
timestamp: bigint;
|