@merkl/api 1.4.1 → 1.4.3
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 +45 -45
- 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 +284 -284
- 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 +2 -2
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +23 -23
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +7 -7
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +6 -6
- 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 +1 -1
- package/dist/src/modules/v4/creator/creator.repository.d.ts +1 -1
- package/dist/src/modules/v4/creator/creator.service.d.ts +1 -1
- 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/programPayload/subPayloads/aave.d.ts +35 -1
- package/dist/src/modules/v4/programPayload/subPayloads/aave.js.map +1 -1
- 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 +36 -36
- 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;
|
@@ -3439,7 +3439,7 @@ declare const eden: {
|
|
3439
3439
|
childCampaignIds?: string[] | undefined;
|
3440
3440
|
rootCampaignId?: string | undefined;
|
3441
3441
|
parentCampaignId?: string | undefined;
|
3442
|
-
params: import("@prisma/client/runtime/
|
3442
|
+
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
3443
|
poolId: string;
|
3444
3444
|
poolManager: string;
|
3445
3445
|
lpFee: number;
|
@@ -3481,7 +3481,7 @@ declare const eden: {
|
|
3481
3481
|
campaignId: string;
|
3482
3482
|
campaignStatus: {
|
3483
3483
|
computedUntil: number;
|
3484
|
-
details: import("@prisma/client/runtime/
|
3484
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
3485
3485
|
error: string;
|
3486
3486
|
processingStarted: number;
|
3487
3487
|
status: import("@package/databases").RunStatus;
|
@@ -3685,7 +3685,7 @@ declare const eden: {
|
|
3685
3685
|
childCampaignIds?: string[] | undefined;
|
3686
3686
|
rootCampaignId?: string | undefined;
|
3687
3687
|
parentCampaignId?: string | undefined;
|
3688
|
-
params: import("@prisma/client/runtime/
|
3688
|
+
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
3689
|
poolId: string;
|
3690
3690
|
poolManager: string;
|
3691
3691
|
lpFee: number;
|
@@ -3727,7 +3727,7 @@ declare const eden: {
|
|
3727
3727
|
campaignId: string;
|
3728
3728
|
campaignStatus: {
|
3729
3729
|
computedUntil: number;
|
3730
|
-
details: import("@prisma/client/runtime/
|
3730
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
3731
3731
|
error: string;
|
3732
3732
|
processingStarted: number;
|
3733
3733
|
status: import("@package/databases").RunStatus;
|
@@ -3922,7 +3922,7 @@ declare const eden: {
|
|
3922
3922
|
childCampaignIds?: string[] | undefined;
|
3923
3923
|
rootCampaignId?: string | undefined;
|
3924
3924
|
parentCampaignId?: string | undefined;
|
3925
|
-
params: import("@prisma/client/runtime/
|
3925
|
+
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
3926
|
poolId: string;
|
3927
3927
|
poolManager: string;
|
3928
3928
|
lpFee: number;
|
@@ -3964,7 +3964,7 @@ declare const eden: {
|
|
3964
3964
|
campaignId: string;
|
3965
3965
|
campaignStatus: {
|
3966
3966
|
computedUntil: number;
|
3967
|
-
details: import("@prisma/client/runtime/
|
3967
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
3968
3968
|
error: string;
|
3969
3969
|
processingStarted: number;
|
3970
3970
|
status: import("@package/databases").RunStatus;
|
@@ -4947,7 +4947,7 @@ declare const eden: {
|
|
4947
4947
|
childCampaignIds?: string[] | undefined;
|
4948
4948
|
rootCampaignId?: string | undefined;
|
4949
4949
|
parentCampaignId?: string | undefined;
|
4950
|
-
params: import("@prisma/client/runtime/
|
4950
|
+
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
4951
|
poolId: string;
|
4952
4952
|
poolManager: string;
|
4953
4953
|
lpFee: number;
|
@@ -4989,7 +4989,7 @@ declare const eden: {
|
|
4989
4989
|
campaignId: string;
|
4990
4990
|
campaignStatus: {
|
4991
4991
|
computedUntil: number;
|
4992
|
-
details: import("@prisma/client/runtime/
|
4992
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
4993
4993
|
error: string;
|
4994
4994
|
processingStarted: number;
|
4995
4995
|
status: import("@package/databases").RunStatus;
|
@@ -6128,7 +6128,7 @@ declare const eden: {
|
|
6128
6128
|
opportunityId: string;
|
6129
6129
|
startTimestamp: bigint;
|
6130
6130
|
endTimestamp: bigint;
|
6131
|
-
params: import("@prisma/client/runtime/
|
6131
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
6132
6132
|
description: string | null;
|
6133
6133
|
dailyRewards: number;
|
6134
6134
|
apr: number;
|
@@ -9160,7 +9160,7 @@ declare const eden: {
|
|
9160
9160
|
protected: boolean;
|
9161
9161
|
identifier: string;
|
9162
9162
|
method: import("@package/databases").PriceSourceMethod;
|
9163
|
-
args: import("@prisma/client/runtime/
|
9163
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
9164
9164
|
value: number | null;
|
9165
9165
|
updatedAt: number | null;
|
9166
9166
|
};
|
@@ -9192,7 +9192,7 @@ declare const eden: {
|
|
9192
9192
|
protected: boolean;
|
9193
9193
|
identifier: string;
|
9194
9194
|
method: import("@package/databases").PriceSourceMethod;
|
9195
|
-
args: import("@prisma/client/runtime/
|
9195
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
9196
9196
|
value: number | null;
|
9197
9197
|
updatedAt: number | null;
|
9198
9198
|
};
|
@@ -9219,7 +9219,7 @@ declare const eden: {
|
|
9219
9219
|
protected: boolean;
|
9220
9220
|
identifier: string;
|
9221
9221
|
method: import("@package/databases").PriceSourceMethod;
|
9222
|
-
args: import("@prisma/client/runtime/
|
9222
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
9223
9223
|
value: number | null;
|
9224
9224
|
updatedAt: number | null;
|
9225
9225
|
};
|
@@ -9245,7 +9245,7 @@ declare const eden: {
|
|
9245
9245
|
protected: boolean;
|
9246
9246
|
identifier: string;
|
9247
9247
|
method: import("@package/databases").PriceSourceMethod;
|
9248
|
-
args: import("@prisma/client/runtime/
|
9248
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
9249
9249
|
value: number | null;
|
9250
9250
|
updatedAt: number | null;
|
9251
9251
|
}[];
|
@@ -9289,7 +9289,7 @@ declare const eden: {
|
|
9289
9289
|
protected: boolean;
|
9290
9290
|
identifier: string;
|
9291
9291
|
method: import("@package/databases").PriceSourceMethod;
|
9292
|
-
args: import("@prisma/client/runtime/
|
9292
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
9293
9293
|
value: number | null;
|
9294
9294
|
updatedAt: number | null;
|
9295
9295
|
};
|
@@ -9653,13 +9653,12 @@ declare const eden: {
|
|
9653
9653
|
maxDeposit: string;
|
9654
9654
|
};
|
9655
9655
|
} | undefined;
|
9656
|
-
campaignType: CampaignType.
|
9656
|
+
campaignType: CampaignType.M0;
|
9657
9657
|
whitelist: string[];
|
9658
9658
|
blacklist: string[];
|
9659
9659
|
endTimestamp: number;
|
9660
9660
|
url?: string | undefined;
|
9661
|
-
|
9662
|
-
subCampaignType: import("@package/resources/enums").AjnaSubCampaignType;
|
9661
|
+
markets: string[];
|
9663
9662
|
forwarders: string[];
|
9664
9663
|
} | {
|
9665
9664
|
rewardToken: string;
|
@@ -9867,13 +9866,12 @@ declare const eden: {
|
|
9867
9866
|
maxDeposit: string;
|
9868
9867
|
};
|
9869
9868
|
} | undefined;
|
9870
|
-
campaignType: CampaignType.
|
9869
|
+
campaignType: CampaignType.AAVE_SUPPLY;
|
9871
9870
|
whitelist: string[];
|
9872
9871
|
blacklist: string[];
|
9873
9872
|
endTimestamp: number;
|
9874
9873
|
url?: string | undefined;
|
9875
|
-
|
9876
|
-
forwarders: string[];
|
9874
|
+
targetToken: string;
|
9877
9875
|
} | {
|
9878
9876
|
rewardToken: string;
|
9879
9877
|
amount: string;
|
@@ -10080,7 +10078,7 @@ declare const eden: {
|
|
10080
10078
|
maxDeposit: string;
|
10081
10079
|
};
|
10082
10080
|
} | undefined;
|
10083
|
-
campaignType: CampaignType.
|
10081
|
+
campaignType: CampaignType.AAVE_BORROW;
|
10084
10082
|
whitelist: string[];
|
10085
10083
|
blacklist: string[];
|
10086
10084
|
endTimestamp: number;
|
@@ -10292,12 +10290,14 @@ declare const eden: {
|
|
10292
10290
|
maxDeposit: string;
|
10293
10291
|
};
|
10294
10292
|
} | undefined;
|
10295
|
-
campaignType: CampaignType.
|
10293
|
+
campaignType: CampaignType.AJNA;
|
10296
10294
|
whitelist: string[];
|
10297
10295
|
blacklist: string[];
|
10298
10296
|
endTimestamp: number;
|
10299
10297
|
url?: string | undefined;
|
10300
|
-
|
10298
|
+
poolId: string;
|
10299
|
+
subCampaignType: import("@package/resources/enums").AjnaSubCampaignType;
|
10300
|
+
forwarders: string[];
|
10301
10301
|
} | {
|
10302
10302
|
rewardToken: string;
|
10303
10303
|
amount: string;
|
@@ -24723,7 +24723,7 @@ declare const eden: {
|
|
24723
24723
|
opportunityId: string;
|
24724
24724
|
startTimestamp: bigint;
|
24725
24725
|
endTimestamp: bigint;
|
24726
|
-
params: import("@prisma/client/runtime/
|
24726
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
24727
24727
|
description: string | null;
|
24728
24728
|
dailyRewards: number;
|
24729
24729
|
apr: number;
|
@@ -24837,7 +24837,7 @@ declare const eden: {
|
|
24837
24837
|
opportunityId: string;
|
24838
24838
|
startTimestamp: bigint;
|
24839
24839
|
endTimestamp: bigint;
|
24840
|
-
params: import("@prisma/client/runtime/
|
24840
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
24841
24841
|
description: string | null;
|
24842
24842
|
dailyRewards: number;
|
24843
24843
|
apr: number;
|
@@ -27322,7 +27322,7 @@ declare const eden: {
|
|
27322
27322
|
campaignId: string;
|
27323
27323
|
campaignStatus: {
|
27324
27324
|
computedUntil: number;
|
27325
|
-
details: import("@prisma/client/runtime/
|
27325
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
27326
27326
|
error: string;
|
27327
27327
|
processingStarted: number;
|
27328
27328
|
status: import("@package/databases").RunStatus;
|
@@ -27345,7 +27345,7 @@ declare const eden: {
|
|
27345
27345
|
id: string;
|
27346
27346
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
27347
27347
|
opportunityId: string;
|
27348
|
-
params: import("@prisma/client/runtime/
|
27348
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
27349
27349
|
program: ({
|
27350
27350
|
description: string;
|
27351
27351
|
icon: string;
|
@@ -27595,7 +27595,7 @@ declare const eden: {
|
|
27595
27595
|
campaignId: string;
|
27596
27596
|
campaignStatus: {
|
27597
27597
|
computedUntil: number;
|
27598
|
-
details: import("@prisma/client/runtime/
|
27598
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
27599
27599
|
error: string;
|
27600
27600
|
processingStarted: number;
|
27601
27601
|
status: import("@package/databases").RunStatus;
|
@@ -27618,7 +27618,7 @@ declare const eden: {
|
|
27618
27618
|
id: string;
|
27619
27619
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
27620
27620
|
opportunityId: string;
|
27621
|
-
params: import("@prisma/client/runtime/
|
27621
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
27622
27622
|
program: ({
|
27623
27623
|
description: string;
|
27624
27624
|
icon: string;
|
@@ -27878,7 +27878,7 @@ declare const eden: {
|
|
27878
27878
|
campaignStatus: {
|
27879
27879
|
status: import("@package/databases").RunStatus;
|
27880
27880
|
error: string;
|
27881
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
27881
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
27882
27882
|
delay: number;
|
27883
27883
|
computedUntil: number;
|
27884
27884
|
processingStarted: number;
|
@@ -27990,7 +27990,7 @@ declare const eden: {
|
|
27990
27990
|
campaignStatus: {
|
27991
27991
|
status: import("@package/databases").RunStatus;
|
27992
27992
|
error: string;
|
27993
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
27993
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
27994
27994
|
delay: number;
|
27995
27995
|
computedUntil: number;
|
27996
27996
|
processingStarted: number;
|
@@ -28198,7 +28198,7 @@ declare const eden: {
|
|
28198
28198
|
campaignId: string;
|
28199
28199
|
campaignStatus: {
|
28200
28200
|
computedUntil: number;
|
28201
|
-
details: import("@prisma/client/runtime/
|
28201
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
28202
28202
|
error: string;
|
28203
28203
|
processingStarted: number;
|
28204
28204
|
status: import("@package/databases").RunStatus;
|
@@ -28221,7 +28221,7 @@ declare const eden: {
|
|
28221
28221
|
id: string;
|
28222
28222
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
28223
28223
|
opportunityId: string;
|
28224
|
-
params: import("@prisma/client/runtime/
|
28224
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
28225
28225
|
program: ({
|
28226
28226
|
description: string;
|
28227
28227
|
icon: string;
|
@@ -28477,7 +28477,7 @@ declare const eden: {
|
|
28477
28477
|
forfeitingBoost: number | null;
|
28478
28478
|
lastRecordedNumberOfRecipients: number | null;
|
28479
28479
|
totalDistributedInUSD: number | null;
|
28480
|
-
tvl: import("@prisma/client/runtime/
|
28480
|
+
tvl: import("@prisma/client/runtime/library").JsonValue;
|
28481
28481
|
} | null;
|
28482
28482
|
422: {
|
28483
28483
|
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;
|