@merkl/api 1.4.2 → 1.4.4
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 +53 -47
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/tokenTypeToProtocolAndAction.d.ts +2 -1
- package/dist/src/engine/implementations/Erc20/metadata.d.ts +2 -1
- package/dist/src/index.d.ts +625 -619
- package/dist/src/libs/computeFee.d.ts +228 -228
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +6 -3
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +27 -24
- package/dist/src/modules/v4/campaign/campaign.repository.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +11 -8
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +243 -243
- package/dist/src/modules/v4/campaignBatch/campaignBatch.controller.d.ts +2 -2
- package/dist/src/modules/v4/campaignBatch/campaignBatch.repository.d.ts +3 -3
- package/dist/src/modules/v4/campaignBatch/campaignBatch.service.d.ts +3 -3
- package/dist/src/modules/v4/campaignGroup/campaignGroup.repository.d.ts +4 -4
- package/dist/src/modules/v4/campaignGroup/campaignGroup.service.d.ts +4 -4
- package/dist/src/modules/v4/campaignStatus/campaignStatus.controller.d.ts +7 -7
- package/dist/src/modules/v4/campaignStatus/campaignStatus.repository.d.ts +21 -21
- package/dist/src/modules/v4/campaignStatus/campaignStatus.service.d.ts +19 -18
- package/dist/src/modules/v4/campaignToProcess/campaignToProcess.repository.d.ts +2 -1
- package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +1 -1
- package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +1 -1
- package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +1 -1
- package/dist/src/modules/v4/creator/creator.controller.d.ts +5 -2
- package/dist/src/modules/v4/creator/creator.repository.d.ts +1 -1
- package/dist/src/modules/v4/creator/creator.service.d.ts +5 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +9 -8
- package/dist/src/modules/v4/dynamicData/dynamicData.service.js.map +1 -1
- package/dist/src/modules/v4/explorer/explorer.repository.d.ts +2 -2
- package/dist/src/modules/v4/explorer/explorer.service.d.ts +3 -3
- package/dist/src/modules/v4/liquidity/implementations/AjnaPositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/BadgerPositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/ClammPositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/DolomitePositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/ERC20PositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/EulerPositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/node/node.repository.d.ts +3 -3
- package/dist/src/modules/v4/node/node.service.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +2 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +23 -23
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +38 -38
- package/dist/src/modules/v4/priceSource/priceSource.controller.d.ts +5 -5
- package/dist/src/modules/v4/priceSource/priceSource.repository.d.ts +12 -12
- package/dist/src/modules/v4/priceSource/priceSource.service.d.ts +12 -12
- package/dist/src/modules/v4/program/program.controller.d.ts +2 -2
- package/dist/src/modules/v4/program/program.repository.d.ts +2 -2
- package/dist/src/modules/v4/program/program.service.d.ts +2 -2
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +248 -248
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -1
- package/dist/src/modules/v4/reward/reward.repository.d.ts +5 -5
- package/dist/src/modules/v4/reward/reward.service.d.ts +14 -14
- package/dist/src/modules/v4/router.d.ts +44 -38
- package/dist/src/modules/v4/token/token.controller.d.ts +10 -9
- package/dist/src/modules/v4/token/token.repository.d.ts +5 -5
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +4 -4
- package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +2 -2
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +2 -2
- package/dist/src/modules/v4/user/user.controller.d.ts +4 -4
- package/dist/src/utils/parseDistributionType.d.ts +2 -1
- package/dist/src/utils/queries/allCampaigns.d.ts +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -1472,7 +1472,7 @@ declare const eden: {
|
|
1472
1472
|
poolAddress: string;
|
1473
1473
|
userAddress: string;
|
1474
1474
|
arrestTimestamp: bigint;
|
1475
|
-
arrestDetails: import("@prisma/client/runtime/
|
1475
|
+
arrestDetails: import("@prisma/client/runtime/library").JsonValue;
|
1476
1476
|
}[];
|
1477
1477
|
}>>;
|
1478
1478
|
post: (body: {
|
@@ -1493,7 +1493,7 @@ declare const eden: {
|
|
1493
1493
|
poolAddress: string;
|
1494
1494
|
userAddress: string;
|
1495
1495
|
arrestTimestamp: bigint;
|
1496
|
-
arrestDetails: import("@prisma/client/runtime/
|
1496
|
+
arrestDetails: import("@prisma/client/runtime/library").JsonValue;
|
1497
1497
|
};
|
1498
1498
|
422: {
|
1499
1499
|
type: "validation";
|
@@ -1653,7 +1653,7 @@ declare const eden: {
|
|
1653
1653
|
opportunityId: string;
|
1654
1654
|
startTimestamp: bigint;
|
1655
1655
|
endTimestamp: bigint;
|
1656
|
-
params: import("@prisma/client/runtime/
|
1656
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
1657
1657
|
description: string | null;
|
1658
1658
|
dailyRewards: number;
|
1659
1659
|
apr: number;
|
@@ -1709,7 +1709,7 @@ declare const eden: {
|
|
1709
1709
|
opportunityId: string;
|
1710
1710
|
startTimestamp: bigint;
|
1711
1711
|
endTimestamp: bigint;
|
1712
|
-
params: import("@prisma/client/runtime/
|
1712
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
1713
1713
|
description: string | null;
|
1714
1714
|
dailyRewards: number;
|
1715
1715
|
apr: number;
|
@@ -1920,14 +1920,14 @@ declare const eden: {
|
|
1920
1920
|
processingStarted: bigint;
|
1921
1921
|
status: import("@package/databases").RunStatus;
|
1922
1922
|
error: string;
|
1923
|
-
details: import("@prisma/client/runtime/
|
1923
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
1924
1924
|
}[] | {
|
1925
1925
|
campaignId: string;
|
1926
1926
|
computedUntil: bigint;
|
1927
1927
|
processingStarted: bigint;
|
1928
1928
|
status: import("@package/databases").RunStatus;
|
1929
1929
|
error: string;
|
1930
|
-
details: import("@prisma/client/runtime/
|
1930
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
1931
1931
|
};
|
1932
1932
|
422: {
|
1933
1933
|
type: "validation";
|
@@ -1951,7 +1951,7 @@ declare const eden: {
|
|
1951
1951
|
200: {
|
1952
1952
|
status: import("@package/databases").RunStatus;
|
1953
1953
|
error: string;
|
1954
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
1954
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
1955
1955
|
delay: number;
|
1956
1956
|
computedUntil: number;
|
1957
1957
|
processingStarted: number;
|
@@ -1980,7 +1980,7 @@ declare const eden: {
|
|
1980
1980
|
status: {
|
1981
1981
|
status: import("@package/databases").RunStatus;
|
1982
1982
|
error: string;
|
1983
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
1983
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
1984
1984
|
delay: number;
|
1985
1985
|
computedUntil: number;
|
1986
1986
|
processingStarted: number;
|
@@ -1991,7 +1991,7 @@ declare const eden: {
|
|
1991
1991
|
processingStarted: bigint;
|
1992
1992
|
status: import("@package/databases").RunStatus;
|
1993
1993
|
error: string;
|
1994
|
-
details: import("@prisma/client/runtime/
|
1994
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
1995
1995
|
}[];
|
1996
1996
|
Opportunity: {
|
1997
1997
|
identifier: string;
|
@@ -2040,7 +2040,7 @@ declare const eden: {
|
|
2040
2040
|
status: {
|
2041
2041
|
status: import("@package/databases").RunStatus;
|
2042
2042
|
error: string;
|
2043
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
2043
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
2044
2044
|
delay: number;
|
2045
2045
|
computedUntil: number;
|
2046
2046
|
processingStarted: number;
|
@@ -2051,7 +2051,7 @@ declare const eden: {
|
|
2051
2051
|
processingStarted: bigint;
|
2052
2052
|
status: import("@package/databases").RunStatus;
|
2053
2053
|
error: string;
|
2054
|
-
details: import("@prisma/client/runtime/
|
2054
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
2055
2055
|
}[];
|
2056
2056
|
Opportunity: {
|
2057
2057
|
identifier: string;
|
@@ -2773,7 +2773,10 @@ declare const eden: {
|
|
2773
2773
|
timestamp: bigint;
|
2774
2774
|
total: number;
|
2775
2775
|
}[];
|
2776
|
-
walletCount:
|
2776
|
+
walletCount: {
|
2777
|
+
timestamp: bigint;
|
2778
|
+
walletCount: number;
|
2779
|
+
}[];
|
2777
2780
|
tvlInflowPerDollar: number;
|
2778
2781
|
};
|
2779
2782
|
422: {
|
@@ -3439,7 +3442,7 @@ declare const eden: {
|
|
3439
3442
|
childCampaignIds?: string[] | undefined;
|
3440
3443
|
rootCampaignId?: string | undefined;
|
3441
3444
|
parentCampaignId?: string | undefined;
|
3442
|
-
params: import("@prisma/client/runtime/
|
3445
|
+
params: import("@prisma/client/runtime/library").JsonValue & (import("@package/sdk").BaseCampaignParameters | import("@package/sdk").CLAMMCampaignParameters | import("@package/sdk").ERC20_SNAPSHOTCampaignParameters | import("@package/sdk").MorphoCampaignParameters<import("@package/sdk").MorphoSubCampaignType> | ((import("@package/sdk").BaseCampaignParameters & ({
|
3443
3446
|
poolId: string;
|
3444
3447
|
poolManager: string;
|
3445
3448
|
lpFee: number;
|
@@ -3481,7 +3484,7 @@ declare const eden: {
|
|
3481
3484
|
campaignId: string;
|
3482
3485
|
campaignStatus: {
|
3483
3486
|
computedUntil: number;
|
3484
|
-
details: import("@prisma/client/runtime/
|
3487
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
3485
3488
|
error: string;
|
3486
3489
|
processingStarted: number;
|
3487
3490
|
status: import("@package/databases").RunStatus;
|
@@ -3685,7 +3688,7 @@ declare const eden: {
|
|
3685
3688
|
childCampaignIds?: string[] | undefined;
|
3686
3689
|
rootCampaignId?: string | undefined;
|
3687
3690
|
parentCampaignId?: string | undefined;
|
3688
|
-
params: import("@prisma/client/runtime/
|
3691
|
+
params: import("@prisma/client/runtime/library").JsonValue & (import("@package/sdk").BaseCampaignParameters | import("@package/sdk").CLAMMCampaignParameters | import("@package/sdk").ERC20_SNAPSHOTCampaignParameters | import("@package/sdk").MorphoCampaignParameters<import("@package/sdk").MorphoSubCampaignType> | ((import("@package/sdk").BaseCampaignParameters & ({
|
3689
3692
|
poolId: string;
|
3690
3693
|
poolManager: string;
|
3691
3694
|
lpFee: number;
|
@@ -3727,7 +3730,7 @@ declare const eden: {
|
|
3727
3730
|
campaignId: string;
|
3728
3731
|
campaignStatus: {
|
3729
3732
|
computedUntil: number;
|
3730
|
-
details: import("@prisma/client/runtime/
|
3733
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
3731
3734
|
error: string;
|
3732
3735
|
processingStarted: number;
|
3733
3736
|
status: import("@package/databases").RunStatus;
|
@@ -3922,7 +3925,7 @@ declare const eden: {
|
|
3922
3925
|
childCampaignIds?: string[] | undefined;
|
3923
3926
|
rootCampaignId?: string | undefined;
|
3924
3927
|
parentCampaignId?: string | undefined;
|
3925
|
-
params: import("@prisma/client/runtime/
|
3928
|
+
params: import("@prisma/client/runtime/library").JsonValue & (import("@package/sdk").BaseCampaignParameters | import("@package/sdk").CLAMMCampaignParameters | import("@package/sdk").ERC20_SNAPSHOTCampaignParameters | import("@package/sdk").MorphoCampaignParameters<import("@package/sdk").MorphoSubCampaignType> | ((import("@package/sdk").BaseCampaignParameters & ({
|
3926
3929
|
poolId: string;
|
3927
3930
|
poolManager: string;
|
3928
3931
|
lpFee: number;
|
@@ -3964,7 +3967,7 @@ declare const eden: {
|
|
3964
3967
|
campaignId: string;
|
3965
3968
|
campaignStatus: {
|
3966
3969
|
computedUntil: number;
|
3967
|
-
details: import("@prisma/client/runtime/
|
3970
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
3968
3971
|
error: string;
|
3969
3972
|
processingStarted: number;
|
3970
3973
|
status: import("@package/databases").RunStatus;
|
@@ -4947,7 +4950,7 @@ declare const eden: {
|
|
4947
4950
|
childCampaignIds?: string[] | undefined;
|
4948
4951
|
rootCampaignId?: string | undefined;
|
4949
4952
|
parentCampaignId?: string | undefined;
|
4950
|
-
params: import("@prisma/client/runtime/
|
4953
|
+
params: import("@prisma/client/runtime/library").JsonValue & (import("@package/sdk").BaseCampaignParameters | import("@package/sdk").CLAMMCampaignParameters | import("@package/sdk").ERC20_SNAPSHOTCampaignParameters | import("@package/sdk").MorphoCampaignParameters<import("@package/sdk").MorphoSubCampaignType> | ((import("@package/sdk").BaseCampaignParameters & ({
|
4951
4954
|
poolId: string;
|
4952
4955
|
poolManager: string;
|
4953
4956
|
lpFee: number;
|
@@ -4989,7 +4992,7 @@ declare const eden: {
|
|
4989
4992
|
campaignId: string;
|
4990
4993
|
campaignStatus: {
|
4991
4994
|
computedUntil: number;
|
4992
|
-
details: import("@prisma/client/runtime/
|
4995
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
4993
4996
|
error: string;
|
4994
4997
|
processingStarted: number;
|
4995
4998
|
status: import("@package/databases").RunStatus;
|
@@ -6128,7 +6131,7 @@ declare const eden: {
|
|
6128
6131
|
opportunityId: string;
|
6129
6132
|
startTimestamp: bigint;
|
6130
6133
|
endTimestamp: bigint;
|
6131
|
-
params: import("@prisma/client/runtime/
|
6134
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
6132
6135
|
description: string | null;
|
6133
6136
|
dailyRewards: number;
|
6134
6137
|
apr: number;
|
@@ -6450,7 +6453,10 @@ declare const eden: {
|
|
6450
6453
|
timestamp: bigint;
|
6451
6454
|
total: number;
|
6452
6455
|
}[];
|
6453
|
-
walletCount:
|
6456
|
+
walletCount: {
|
6457
|
+
timestamp: bigint;
|
6458
|
+
walletCount: number;
|
6459
|
+
}[];
|
6454
6460
|
tvlInflowPerDollar: number;
|
6455
6461
|
};
|
6456
6462
|
422: {
|
@@ -9160,7 +9166,7 @@ declare const eden: {
|
|
9160
9166
|
protected: boolean;
|
9161
9167
|
identifier: string;
|
9162
9168
|
method: import("@package/databases").PriceSourceMethod;
|
9163
|
-
args: import("@prisma/client/runtime/
|
9169
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
9164
9170
|
value: number | null;
|
9165
9171
|
updatedAt: number | null;
|
9166
9172
|
};
|
@@ -9192,7 +9198,7 @@ declare const eden: {
|
|
9192
9198
|
protected: boolean;
|
9193
9199
|
identifier: string;
|
9194
9200
|
method: import("@package/databases").PriceSourceMethod;
|
9195
|
-
args: import("@prisma/client/runtime/
|
9201
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
9196
9202
|
value: number | null;
|
9197
9203
|
updatedAt: number | null;
|
9198
9204
|
};
|
@@ -9219,7 +9225,7 @@ declare const eden: {
|
|
9219
9225
|
protected: boolean;
|
9220
9226
|
identifier: string;
|
9221
9227
|
method: import("@package/databases").PriceSourceMethod;
|
9222
|
-
args: import("@prisma/client/runtime/
|
9228
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
9223
9229
|
value: number | null;
|
9224
9230
|
updatedAt: number | null;
|
9225
9231
|
};
|
@@ -9245,7 +9251,7 @@ declare const eden: {
|
|
9245
9251
|
protected: boolean;
|
9246
9252
|
identifier: string;
|
9247
9253
|
method: import("@package/databases").PriceSourceMethod;
|
9248
|
-
args: import("@prisma/client/runtime/
|
9254
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
9249
9255
|
value: number | null;
|
9250
9256
|
updatedAt: number | null;
|
9251
9257
|
}[];
|
@@ -9289,7 +9295,7 @@ declare const eden: {
|
|
9289
9295
|
protected: boolean;
|
9290
9296
|
identifier: string;
|
9291
9297
|
method: import("@package/databases").PriceSourceMethod;
|
9292
|
-
args: import("@prisma/client/runtime/
|
9298
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
9293
9299
|
value: number | null;
|
9294
9300
|
updatedAt: number | null;
|
9295
9301
|
};
|
@@ -9653,13 +9659,12 @@ declare const eden: {
|
|
9653
9659
|
maxDeposit: string;
|
9654
9660
|
};
|
9655
9661
|
} | undefined;
|
9656
|
-
campaignType: CampaignType.
|
9662
|
+
campaignType: CampaignType.M0;
|
9657
9663
|
whitelist: string[];
|
9658
9664
|
blacklist: string[];
|
9659
9665
|
endTimestamp: number;
|
9660
9666
|
url?: string | undefined;
|
9661
|
-
|
9662
|
-
subCampaignType: import("@package/resources/enums").AjnaSubCampaignType;
|
9667
|
+
markets: string[];
|
9663
9668
|
forwarders: string[];
|
9664
9669
|
} | {
|
9665
9670
|
rewardToken: string;
|
@@ -9867,13 +9872,12 @@ declare const eden: {
|
|
9867
9872
|
maxDeposit: string;
|
9868
9873
|
};
|
9869
9874
|
} | undefined;
|
9870
|
-
campaignType: CampaignType.
|
9875
|
+
campaignType: CampaignType.AAVE_SUPPLY;
|
9871
9876
|
whitelist: string[];
|
9872
9877
|
blacklist: string[];
|
9873
9878
|
endTimestamp: number;
|
9874
9879
|
url?: string | undefined;
|
9875
|
-
|
9876
|
-
forwarders: string[];
|
9880
|
+
targetToken: string;
|
9877
9881
|
} | {
|
9878
9882
|
rewardToken: string;
|
9879
9883
|
amount: string;
|
@@ -10080,7 +10084,7 @@ declare const eden: {
|
|
10080
10084
|
maxDeposit: string;
|
10081
10085
|
};
|
10082
10086
|
} | undefined;
|
10083
|
-
campaignType: CampaignType.
|
10087
|
+
campaignType: CampaignType.AAVE_BORROW;
|
10084
10088
|
whitelist: string[];
|
10085
10089
|
blacklist: string[];
|
10086
10090
|
endTimestamp: number;
|
@@ -10292,12 +10296,14 @@ declare const eden: {
|
|
10292
10296
|
maxDeposit: string;
|
10293
10297
|
};
|
10294
10298
|
} | undefined;
|
10295
|
-
campaignType: CampaignType.
|
10299
|
+
campaignType: CampaignType.AJNA;
|
10296
10300
|
whitelist: string[];
|
10297
10301
|
blacklist: string[];
|
10298
10302
|
endTimestamp: number;
|
10299
10303
|
url?: string | undefined;
|
10300
|
-
|
10304
|
+
poolId: string;
|
10305
|
+
subCampaignType: import("@package/resources/enums").AjnaSubCampaignType;
|
10306
|
+
forwarders: string[];
|
10301
10307
|
} | {
|
10302
10308
|
rewardToken: string;
|
10303
10309
|
amount: string;
|
@@ -24723,7 +24729,7 @@ declare const eden: {
|
|
24723
24729
|
opportunityId: string;
|
24724
24730
|
startTimestamp: bigint;
|
24725
24731
|
endTimestamp: bigint;
|
24726
|
-
params: import("@prisma/client/runtime/
|
24732
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
24727
24733
|
description: string | null;
|
24728
24734
|
dailyRewards: number;
|
24729
24735
|
apr: number;
|
@@ -24837,7 +24843,7 @@ declare const eden: {
|
|
24837
24843
|
opportunityId: string;
|
24838
24844
|
startTimestamp: bigint;
|
24839
24845
|
endTimestamp: bigint;
|
24840
|
-
params: import("@prisma/client/runtime/
|
24846
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
24841
24847
|
description: string | null;
|
24842
24848
|
dailyRewards: number;
|
24843
24849
|
apr: number;
|
@@ -27322,7 +27328,7 @@ declare const eden: {
|
|
27322
27328
|
campaignId: string;
|
27323
27329
|
campaignStatus: {
|
27324
27330
|
computedUntil: number;
|
27325
|
-
details: import("@prisma/client/runtime/
|
27331
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
27326
27332
|
error: string;
|
27327
27333
|
processingStarted: number;
|
27328
27334
|
status: import("@package/databases").RunStatus;
|
@@ -27345,7 +27351,7 @@ declare const eden: {
|
|
27345
27351
|
id: string;
|
27346
27352
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
27347
27353
|
opportunityId: string;
|
27348
|
-
params: import("@prisma/client/runtime/
|
27354
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
27349
27355
|
program: ({
|
27350
27356
|
description: string;
|
27351
27357
|
icon: string;
|
@@ -27595,7 +27601,7 @@ declare const eden: {
|
|
27595
27601
|
campaignId: string;
|
27596
27602
|
campaignStatus: {
|
27597
27603
|
computedUntil: number;
|
27598
|
-
details: import("@prisma/client/runtime/
|
27604
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
27599
27605
|
error: string;
|
27600
27606
|
processingStarted: number;
|
27601
27607
|
status: import("@package/databases").RunStatus;
|
@@ -27618,7 +27624,7 @@ declare const eden: {
|
|
27618
27624
|
id: string;
|
27619
27625
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
27620
27626
|
opportunityId: string;
|
27621
|
-
params: import("@prisma/client/runtime/
|
27627
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
27622
27628
|
program: ({
|
27623
27629
|
description: string;
|
27624
27630
|
icon: string;
|
@@ -27878,7 +27884,7 @@ declare const eden: {
|
|
27878
27884
|
campaignStatus: {
|
27879
27885
|
status: import("@package/databases").RunStatus;
|
27880
27886
|
error: string;
|
27881
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
27887
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
27882
27888
|
delay: number;
|
27883
27889
|
computedUntil: number;
|
27884
27890
|
processingStarted: number;
|
@@ -27990,7 +27996,7 @@ declare const eden: {
|
|
27990
27996
|
campaignStatus: {
|
27991
27997
|
status: import("@package/databases").RunStatus;
|
27992
27998
|
error: string;
|
27993
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
27999
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
27994
28000
|
delay: number;
|
27995
28001
|
computedUntil: number;
|
27996
28002
|
processingStarted: number;
|
@@ -28198,7 +28204,7 @@ declare const eden: {
|
|
28198
28204
|
campaignId: string;
|
28199
28205
|
campaignStatus: {
|
28200
28206
|
computedUntil: number;
|
28201
|
-
details: import("@prisma/client/runtime/
|
28207
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
28202
28208
|
error: string;
|
28203
28209
|
processingStarted: number;
|
28204
28210
|
status: import("@package/databases").RunStatus;
|
@@ -28221,7 +28227,7 @@ declare const eden: {
|
|
28221
28227
|
id: string;
|
28222
28228
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
28223
28229
|
opportunityId: string;
|
28224
|
-
params: import("@prisma/client/runtime/
|
28230
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
28225
28231
|
program: ({
|
28226
28232
|
description: string;
|
28227
28233
|
icon: string;
|
@@ -28477,7 +28483,7 @@ declare const eden: {
|
|
28477
28483
|
forfeitingBoost: number | null;
|
28478
28484
|
lastRecordedNumberOfRecipients: number | null;
|
28479
28485
|
totalDistributedInUSD: number | null;
|
28480
|
-
tvl: import("@prisma/client/runtime/
|
28486
|
+
tvl: import("@prisma/client/runtime/library").JsonValue;
|
28481
28487
|
} | null;
|
28482
28488
|
422: {
|
28483
28489
|
type: "validation";
|
@@ -1,5 +1,6 @@
|
|
1
|
+
import { OpportunityAction } from "@package/databases/api";
|
1
2
|
import { Erc20SubType } from "../../../engine/implementations/Erc20/subTypes";
|
2
3
|
export declare const tokenTypeToProtocolAndAction: Record<Erc20SubType, {
|
3
4
|
protocol: "aave" | "aerodrome" | "ajna" | "akron" | "ambient" | "angles" | "arrakis" | "arthswap" | "aura" | "avalon" | "badger" | "balancer" | "base-swap" | "beefy" | "beraborrow" | "beratrax" | "bunni" | "camelot" | "cian" | "compound" | "concrete" | "cross_curve" | "crust" | "curve" | "curveNPool" | "dlend" | "dolomite" | "dragonswap" | "eigenlayer" | "ekubo" | "enzyme" | "equalizer" | "equilibria" | "euler" | "fenix" | "filament" | "fluid" | "fluidvault" | "frax" | "fraxlend" | "gamma" | "gammaswap" | "gearbox" | "hanji" | "holdstation" | "horiza" | "hourglass" | "hybra-pair" | "hyperdrive" | "hypurrfi" | "ichi" | "iguana" | "ion" | "ionic" | "ironclad" | "izumi" | "katana" | "kim" | "koi" | "kyo" | "lagoon" | "layerbank" | "lendle" | "lnd" | "maha" | "mangrove" | "maverick" | "mimswap" | "moonwell" | "morpho" | "neptune" | "oku" | "oxium" | "pancake-swap" | "pendle" | "pinto" | "poolside" | "puffer" | "punchswap" | "quickswap" | "ra" | "radiant" | "ramses" | "reactor_fusion" | "reserve" | "retro" | "rfx" | "sake" | "satlayer" | "satoshi" | "silo" | "sonex" | "sonicmarket" | "spectra" | "splice" | "stability" | "stabull" | "stryke" | "sturdy" | "summerfinance" | "superlend" | "supswap" | "sushi-swap" | "swap-x" | "swapr" | "syncswap" | "tako-tako" | "teller" | "tempest" | "termmax" | "thirdtrade" | "thruster" | "toros" | "trader-joe" | "uniswap" | "uranium" | "veda" | "velodrome" | "venus" | "vest" | "vicuna" | "voltage" | "woofi" | "xlend" | "yei" | "zero" | "zerolend" | "zk-swap" | "zkSwapThreePool" | undefined;
|
4
|
-
action:
|
5
|
+
action: OpportunityAction;
|
5
6
|
}>;
|
@@ -1,10 +1,11 @@
|
|
1
|
+
import type { OpportunityAction } from "@package/databases/api";
|
1
2
|
import type { Erc20LikeCampaignEnum } from "../../../engine/implementations/Erc20/subTypes";
|
2
3
|
import type { CampaignWithParams } from "../../../modules/v4/campaign/campaign.model";
|
3
4
|
import type { MetadataBuilder } from "../../metadata/interface";
|
4
5
|
type campaignType = Erc20LikeCampaignEnum;
|
5
6
|
export declare class Erc20Metadata implements MetadataBuilder<campaignType> {
|
6
7
|
build(campaign: Omit<CampaignWithParams<campaignType>, "manualOverrides" | "opportunityId" | "program">, opportunityIdentifier: string): Promise<import("../../metadata/interface").Metadata | {
|
7
|
-
action:
|
8
|
+
action: OpportunityAction;
|
8
9
|
name: string;
|
9
10
|
tokens: {
|
10
11
|
chainId: number;
|