@merkl/api 1.4.2 → 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/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
|
@@ -42,7 +42,7 @@ export declare abstract class ProtocolRepository {
|
|
|
42
42
|
opportunityId: string;
|
|
43
43
|
startTimestamp: bigint;
|
|
44
44
|
endTimestamp: bigint;
|
|
45
|
-
params: import("@prisma/client/runtime/
|
|
45
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
46
46
|
description: string | null;
|
|
47
47
|
dailyRewards: number;
|
|
48
48
|
apr: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Prisma } from "@package/databases/api";
|
|
1
|
+
import { type Prisma, TokenType } from "@package/databases/api";
|
|
2
2
|
import { type ChainId } from "@package/sdk";
|
|
3
3
|
import type { AddressListModel, BreakdownForCampaignsRaw, CampaignIdWithoutPageModel, CreateManyBreakdownModel, CreateManyRewardModel, GetCampaignLeaderboardModel, GetTokenLeaderboardModel } from "./reward.model";
|
|
4
4
|
export declare abstract class RewardRepository {
|
|
@@ -15,7 +15,7 @@ export declare abstract class RewardRepository {
|
|
|
15
15
|
processingStarted: bigint;
|
|
16
16
|
status: import("@package/databases").RunStatus;
|
|
17
17
|
error: string;
|
|
18
|
-
details: import("@prisma/client/runtime/
|
|
18
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
19
19
|
}[];
|
|
20
20
|
Opportunity: {
|
|
21
21
|
ActivePrograms: {
|
|
@@ -59,7 +59,7 @@ export declare abstract class RewardRepository {
|
|
|
59
59
|
icon: string;
|
|
60
60
|
verified: boolean;
|
|
61
61
|
isTest: boolean;
|
|
62
|
-
type:
|
|
62
|
+
type: TokenType;
|
|
63
63
|
isNative: boolean;
|
|
64
64
|
price: number | null;
|
|
65
65
|
updatedAt: number | null;
|
|
@@ -100,7 +100,7 @@ export declare abstract class RewardRepository {
|
|
|
100
100
|
opportunityId: string;
|
|
101
101
|
startTimestamp: bigint;
|
|
102
102
|
endTimestamp: bigint;
|
|
103
|
-
params: import("@prisma/client/runtime/
|
|
103
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
104
104
|
description: string | null;
|
|
105
105
|
dailyRewards: number;
|
|
106
106
|
apr: number;
|
|
@@ -132,7 +132,7 @@ export declare abstract class RewardRepository {
|
|
|
132
132
|
icon: string;
|
|
133
133
|
verified: boolean;
|
|
134
134
|
isTest: boolean;
|
|
135
|
-
type:
|
|
135
|
+
type: TokenType;
|
|
136
136
|
isNative: boolean;
|
|
137
137
|
price: number | null;
|
|
138
138
|
updatedAt: number | null;
|
|
@@ -61,7 +61,7 @@ export declare abstract class RewardService {
|
|
|
61
61
|
campaignStatus: {
|
|
62
62
|
status: import("@package/databases").RunStatus;
|
|
63
63
|
error: string;
|
|
64
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
64
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
65
65
|
delay: number;
|
|
66
66
|
computedUntil: number;
|
|
67
67
|
processingStarted: number;
|
|
@@ -173,7 +173,7 @@ export declare abstract class RewardService {
|
|
|
173
173
|
campaignStatus: {
|
|
174
174
|
status: import("@package/databases").RunStatus;
|
|
175
175
|
error: string;
|
|
176
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
176
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
177
177
|
delay: number;
|
|
178
178
|
computedUntil: number;
|
|
179
179
|
processingStarted: number;
|
|
@@ -265,7 +265,7 @@ export declare abstract class RewardService {
|
|
|
265
265
|
processingStarted: bigint;
|
|
266
266
|
status: import("@package/databases").RunStatus;
|
|
267
267
|
error: string;
|
|
268
|
-
details: import("@prisma/client/runtime/
|
|
268
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
269
269
|
}[];
|
|
270
270
|
Opportunity: {
|
|
271
271
|
ActivePrograms: {
|
|
@@ -350,7 +350,7 @@ export declare abstract class RewardService {
|
|
|
350
350
|
opportunityId: string;
|
|
351
351
|
startTimestamp: bigint;
|
|
352
352
|
endTimestamp: bigint;
|
|
353
|
-
params: import("@prisma/client/runtime/
|
|
353
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
354
354
|
description: string | null;
|
|
355
355
|
dailyRewards: number;
|
|
356
356
|
apr: number;
|
|
@@ -453,7 +453,7 @@ export declare abstract class RewardService {
|
|
|
453
453
|
campaignStatus: {
|
|
454
454
|
status: import("@package/databases").RunStatus;
|
|
455
455
|
error: string;
|
|
456
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
456
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
457
457
|
delay: number;
|
|
458
458
|
computedUntil: number;
|
|
459
459
|
processingStarted: number;
|
|
@@ -565,7 +565,7 @@ export declare abstract class RewardService {
|
|
|
565
565
|
campaignStatus: {
|
|
566
566
|
status: import("@package/databases").RunStatus;
|
|
567
567
|
error: string;
|
|
568
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
568
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
569
569
|
delay: number;
|
|
570
570
|
computedUntil: number;
|
|
571
571
|
processingStarted: number;
|
|
@@ -773,7 +773,7 @@ export declare abstract class RewardService {
|
|
|
773
773
|
campaignId: string;
|
|
774
774
|
campaignStatus: {
|
|
775
775
|
computedUntil: number;
|
|
776
|
-
details: import("@prisma/client/runtime/
|
|
776
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
777
777
|
error: string;
|
|
778
778
|
processingStarted: number;
|
|
779
779
|
status: import("@package/databases").RunStatus;
|
|
@@ -796,7 +796,7 @@ export declare abstract class RewardService {
|
|
|
796
796
|
id: string;
|
|
797
797
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
798
798
|
opportunityId: string;
|
|
799
|
-
params: import("@prisma/client/runtime/
|
|
799
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
800
800
|
program: ({
|
|
801
801
|
description: string;
|
|
802
802
|
icon: string;
|
|
@@ -915,7 +915,7 @@ export declare abstract class RewardService {
|
|
|
915
915
|
campaignStatus: {
|
|
916
916
|
status: import("@package/databases").RunStatus;
|
|
917
917
|
error: string;
|
|
918
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
918
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
919
919
|
delay: number;
|
|
920
920
|
computedUntil: number;
|
|
921
921
|
processingStarted: number;
|
|
@@ -1027,7 +1027,7 @@ export declare abstract class RewardService {
|
|
|
1027
1027
|
campaignStatus: {
|
|
1028
1028
|
status: import("@package/databases").RunStatus;
|
|
1029
1029
|
error: string;
|
|
1030
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
1030
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
1031
1031
|
delay: number;
|
|
1032
1032
|
computedUntil: number;
|
|
1033
1033
|
processingStarted: number;
|
|
@@ -1117,7 +1117,7 @@ export declare abstract class RewardService {
|
|
|
1117
1117
|
campaignStatus: {
|
|
1118
1118
|
status: import("@package/databases").RunStatus;
|
|
1119
1119
|
error: string;
|
|
1120
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
1120
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
1121
1121
|
delay: number;
|
|
1122
1122
|
computedUntil: number;
|
|
1123
1123
|
processingStarted: number;
|
|
@@ -1137,7 +1137,7 @@ export declare abstract class RewardService {
|
|
|
1137
1137
|
processingStarted: bigint;
|
|
1138
1138
|
status: import("@package/databases").RunStatus;
|
|
1139
1139
|
error: string;
|
|
1140
|
-
details: import("@prisma/client/runtime/
|
|
1140
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
1141
1141
|
}[];
|
|
1142
1142
|
Opportunity: {
|
|
1143
1143
|
ActivePrograms: {
|
|
@@ -1222,7 +1222,7 @@ export declare abstract class RewardService {
|
|
|
1222
1222
|
opportunityId: string;
|
|
1223
1223
|
startTimestamp: bigint;
|
|
1224
1224
|
endTimestamp: bigint;
|
|
1225
|
-
params: import("@prisma/client/runtime/
|
|
1225
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
1226
1226
|
description: string | null;
|
|
1227
1227
|
dailyRewards: number;
|
|
1228
1228
|
apr: number;
|
|
@@ -1307,7 +1307,7 @@ export declare abstract class RewardService {
|
|
|
1307
1307
|
campaignStatus: {
|
|
1308
1308
|
status: import("@package/databases").RunStatus;
|
|
1309
1309
|
error: string;
|
|
1310
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
1310
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
1311
1311
|
delay: number;
|
|
1312
1312
|
computedUntil: number;
|
|
1313
1313
|
processingStarted: number;
|
|
@@ -2993,7 +2993,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
2993
2993
|
childCampaignIds?: string[] | undefined;
|
|
2994
2994
|
rootCampaignId?: string | undefined;
|
|
2995
2995
|
parentCampaignId?: string | undefined;
|
|
2996
|
-
params: import("@prisma/client/runtime/
|
|
2996
|
+
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 & ({
|
|
2997
2997
|
poolId: string;
|
|
2998
2998
|
poolManager: string;
|
|
2999
2999
|
lpFee: number;
|
|
@@ -3035,7 +3035,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
3035
3035
|
campaignId: string;
|
|
3036
3036
|
campaignStatus: {
|
|
3037
3037
|
computedUntil: number;
|
|
3038
|
-
details: import("@prisma/client/runtime/
|
|
3038
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
3039
3039
|
error: string;
|
|
3040
3040
|
processingStarted: number;
|
|
3041
3041
|
status: import("@package/databases").RunStatus;
|
|
@@ -5602,7 +5602,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
5602
5602
|
childCampaignIds?: string[] | undefined;
|
|
5603
5603
|
rootCampaignId?: string | undefined;
|
|
5604
5604
|
parentCampaignId?: string | undefined;
|
|
5605
|
-
params: import("@prisma/client/runtime/
|
|
5605
|
+
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 & ({
|
|
5606
5606
|
poolId: string;
|
|
5607
5607
|
poolManager: string;
|
|
5608
5608
|
lpFee: number;
|
|
@@ -5644,7 +5644,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
5644
5644
|
campaignId: string;
|
|
5645
5645
|
campaignStatus: {
|
|
5646
5646
|
computedUntil: number;
|
|
5647
|
-
details: import("@prisma/client/runtime/
|
|
5647
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
5648
5648
|
error: string;
|
|
5649
5649
|
processingStarted: number;
|
|
5650
5650
|
status: import("@package/databases").RunStatus;
|
|
@@ -5955,7 +5955,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
5955
5955
|
childCampaignIds?: string[] | undefined;
|
|
5956
5956
|
rootCampaignId?: string | undefined;
|
|
5957
5957
|
parentCampaignId?: string | undefined;
|
|
5958
|
-
params: import("@prisma/client/runtime/
|
|
5958
|
+
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 & ({
|
|
5959
5959
|
poolId: string;
|
|
5960
5960
|
poolManager: string;
|
|
5961
5961
|
lpFee: number;
|
|
@@ -5997,7 +5997,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
5997
5997
|
campaignId: string;
|
|
5998
5998
|
campaignStatus: {
|
|
5999
5999
|
computedUntil: number;
|
|
6000
|
-
details: import("@prisma/client/runtime/
|
|
6000
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
6001
6001
|
error: string;
|
|
6002
6002
|
processingStarted: number;
|
|
6003
6003
|
status: import("@package/databases").RunStatus;
|
|
@@ -6199,7 +6199,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
6199
6199
|
childCampaignIds?: string[] | undefined;
|
|
6200
6200
|
rootCampaignId?: string | undefined;
|
|
6201
6201
|
parentCampaignId?: string | undefined;
|
|
6202
|
-
params: import("@prisma/client/runtime/
|
|
6202
|
+
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 & ({
|
|
6203
6203
|
poolId: string;
|
|
6204
6204
|
poolManager: string;
|
|
6205
6205
|
lpFee: number;
|
|
@@ -6241,7 +6241,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
6241
6241
|
campaignId: string;
|
|
6242
6242
|
campaignStatus: {
|
|
6243
6243
|
computedUntil: number;
|
|
6244
|
-
details: import("@prisma/client/runtime/
|
|
6244
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
6245
6245
|
error: string;
|
|
6246
6246
|
processingStarted: number;
|
|
6247
6247
|
status: import("@package/databases").RunStatus;
|
|
@@ -7933,7 +7933,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
7933
7933
|
protected: boolean;
|
|
7934
7934
|
identifier: string;
|
|
7935
7935
|
method: import("@package/databases").PriceSourceMethod;
|
|
7936
|
-
args: import("@prisma/client/runtime/
|
|
7936
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
|
7937
7937
|
value: number | null;
|
|
7938
7938
|
updatedAt: number | null;
|
|
7939
7939
|
};
|
|
@@ -7964,7 +7964,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
7964
7964
|
protected: boolean;
|
|
7965
7965
|
identifier: string;
|
|
7966
7966
|
method: import("@package/databases").PriceSourceMethod;
|
|
7967
|
-
args: import("@prisma/client/runtime/
|
|
7967
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
|
7968
7968
|
value: number | null;
|
|
7969
7969
|
updatedAt: number | null;
|
|
7970
7970
|
}[];
|
|
@@ -8019,7 +8019,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8019
8019
|
protected: boolean;
|
|
8020
8020
|
identifier: string;
|
|
8021
8021
|
method: import("@package/databases").PriceSourceMethod;
|
|
8022
|
-
args: import("@prisma/client/runtime/
|
|
8022
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
|
8023
8023
|
value: number | null;
|
|
8024
8024
|
updatedAt: number | null;
|
|
8025
8025
|
};
|
|
@@ -8061,7 +8061,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8061
8061
|
protected: boolean;
|
|
8062
8062
|
identifier: string;
|
|
8063
8063
|
method: import("@package/databases").PriceSourceMethod;
|
|
8064
|
-
args: import("@prisma/client/runtime/
|
|
8064
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
|
8065
8065
|
value: number | null;
|
|
8066
8066
|
updatedAt: number | null;
|
|
8067
8067
|
};
|
|
@@ -8097,7 +8097,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8097
8097
|
protected: boolean;
|
|
8098
8098
|
identifier: string;
|
|
8099
8099
|
method: import("@package/databases").PriceSourceMethod;
|
|
8100
|
-
args: import("@prisma/client/runtime/
|
|
8100
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
|
8101
8101
|
value: number | null;
|
|
8102
8102
|
updatedAt: number | null;
|
|
8103
8103
|
};
|
|
@@ -8156,7 +8156,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8156
8156
|
poolAddress: string;
|
|
8157
8157
|
userAddress: string;
|
|
8158
8158
|
arrestTimestamp: bigint;
|
|
8159
|
-
arrestDetails: import("@prisma/client/runtime/
|
|
8159
|
+
arrestDetails: import("@prisma/client/runtime/library").JsonValue;
|
|
8160
8160
|
}[];
|
|
8161
8161
|
};
|
|
8162
8162
|
};
|
|
@@ -8223,7 +8223,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8223
8223
|
poolAddress: string;
|
|
8224
8224
|
userAddress: string;
|
|
8225
8225
|
arrestTimestamp: bigint;
|
|
8226
|
-
arrestDetails: import("@prisma/client/runtime/
|
|
8226
|
+
arrestDetails: import("@prisma/client/runtime/library").JsonValue;
|
|
8227
8227
|
};
|
|
8228
8228
|
422: {
|
|
8229
8229
|
type: "validation";
|
|
@@ -8488,7 +8488,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8488
8488
|
campaignStatus: {
|
|
8489
8489
|
status: import("@package/databases").RunStatus;
|
|
8490
8490
|
error: string;
|
|
8491
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
8491
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
8492
8492
|
delay: number;
|
|
8493
8493
|
computedUntil: number;
|
|
8494
8494
|
processingStarted: number;
|
|
@@ -8600,7 +8600,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8600
8600
|
campaignStatus: {
|
|
8601
8601
|
status: import("@package/databases").RunStatus;
|
|
8602
8602
|
error: string;
|
|
8603
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
8603
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
8604
8604
|
delay: number;
|
|
8605
8605
|
computedUntil: number;
|
|
8606
8606
|
processingStarted: number;
|
|
@@ -8808,7 +8808,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8808
8808
|
campaignId: string;
|
|
8809
8809
|
campaignStatus: {
|
|
8810
8810
|
computedUntil: number;
|
|
8811
|
-
details: import("@prisma/client/runtime/
|
|
8811
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
8812
8812
|
error: string;
|
|
8813
8813
|
processingStarted: number;
|
|
8814
8814
|
status: import("@package/databases").RunStatus;
|
|
@@ -8831,7 +8831,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8831
8831
|
id: string;
|
|
8832
8832
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
8833
8833
|
opportunityId: string;
|
|
8834
|
-
params: import("@prisma/client/runtime/
|
|
8834
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
8835
8835
|
program: ({
|
|
8836
8836
|
description: string;
|
|
8837
8837
|
icon: string;
|
|
@@ -9711,7 +9711,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
9711
9711
|
200: {
|
|
9712
9712
|
status: import("@package/databases").RunStatus;
|
|
9713
9713
|
error: string;
|
|
9714
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
9714
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
9715
9715
|
delay: number;
|
|
9716
9716
|
computedUntil: number;
|
|
9717
9717
|
processingStarted: number;
|
|
@@ -9743,14 +9743,14 @@ export declare const v4: Elysia<"/v4", {
|
|
|
9743
9743
|
processingStarted: bigint;
|
|
9744
9744
|
status: import("@package/databases").RunStatus;
|
|
9745
9745
|
error: string;
|
|
9746
|
-
details: import("@prisma/client/runtime/
|
|
9746
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
9747
9747
|
}[] | {
|
|
9748
9748
|
campaignId: string;
|
|
9749
9749
|
computedUntil: bigint;
|
|
9750
9750
|
processingStarted: bigint;
|
|
9751
9751
|
status: import("@package/databases").RunStatus;
|
|
9752
9752
|
error: string;
|
|
9753
|
-
details: import("@prisma/client/runtime/
|
|
9753
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
9754
9754
|
};
|
|
9755
9755
|
422: {
|
|
9756
9756
|
type: "validation";
|
|
@@ -9780,7 +9780,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
9780
9780
|
status: {
|
|
9781
9781
|
status: import("@package/databases").RunStatus;
|
|
9782
9782
|
error: string;
|
|
9783
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
9783
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
9784
9784
|
delay: number;
|
|
9785
9785
|
computedUntil: number;
|
|
9786
9786
|
processingStarted: number;
|
|
@@ -9791,7 +9791,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
9791
9791
|
processingStarted: bigint;
|
|
9792
9792
|
status: import("@package/databases").RunStatus;
|
|
9793
9793
|
error: string;
|
|
9794
|
-
details: import("@prisma/client/runtime/
|
|
9794
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
9795
9795
|
}[];
|
|
9796
9796
|
Opportunity: {
|
|
9797
9797
|
identifier: string;
|
|
@@ -9845,7 +9845,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
9845
9845
|
status: {
|
|
9846
9846
|
status: import("@package/databases").RunStatus;
|
|
9847
9847
|
error: string;
|
|
9848
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
9848
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
9849
9849
|
delay: number;
|
|
9850
9850
|
computedUntil: number;
|
|
9851
9851
|
processingStarted: number;
|
|
@@ -9856,7 +9856,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
9856
9856
|
processingStarted: bigint;
|
|
9857
9857
|
status: import("@package/databases").RunStatus;
|
|
9858
9858
|
error: string;
|
|
9859
|
-
details: import("@prisma/client/runtime/
|
|
9859
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
9860
9860
|
}[];
|
|
9861
9861
|
Opportunity: {
|
|
9862
9862
|
identifier: string;
|
|
@@ -25701,7 +25701,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
25701
25701
|
forfeitingBoost: number | null;
|
|
25702
25702
|
lastRecordedNumberOfRecipients: number | null;
|
|
25703
25703
|
totalDistributedInUSD: number | null;
|
|
25704
|
-
tvl: import("@prisma/client/runtime/
|
|
25704
|
+
tvl: import("@prisma/client/runtime/library").JsonValue;
|
|
25705
25705
|
} | null;
|
|
25706
25706
|
422: {
|
|
25707
25707
|
type: "validation";
|
|
@@ -26287,7 +26287,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
26287
26287
|
opportunityId: string;
|
|
26288
26288
|
startTimestamp: bigint;
|
|
26289
26289
|
endTimestamp: bigint;
|
|
26290
|
-
params: import("@prisma/client/runtime/
|
|
26290
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
26291
26291
|
description: string | null;
|
|
26292
26292
|
dailyRewards: number;
|
|
26293
26293
|
apr: number;
|
|
@@ -26638,7 +26638,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
26638
26638
|
campaignId: string;
|
|
26639
26639
|
campaignStatus: {
|
|
26640
26640
|
computedUntil: number;
|
|
26641
|
-
details: import("@prisma/client/runtime/
|
|
26641
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
26642
26642
|
error: string;
|
|
26643
26643
|
processingStarted: number;
|
|
26644
26644
|
status: import("@package/databases").RunStatus;
|
|
@@ -26661,7 +26661,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
26661
26661
|
id: string;
|
|
26662
26662
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
26663
26663
|
opportunityId: string;
|
|
26664
|
-
params: import("@prisma/client/runtime/
|
|
26664
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
26665
26665
|
program: ({
|
|
26666
26666
|
description: string;
|
|
26667
26667
|
icon: string;
|
|
@@ -26916,7 +26916,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
26916
26916
|
campaignId: string;
|
|
26917
26917
|
campaignStatus: {
|
|
26918
26918
|
computedUntil: number;
|
|
26919
|
-
details: import("@prisma/client/runtime/
|
|
26919
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
26920
26920
|
error: string;
|
|
26921
26921
|
processingStarted: number;
|
|
26922
26922
|
status: import("@package/databases").RunStatus;
|
|
@@ -26939,7 +26939,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
26939
26939
|
id: string;
|
|
26940
26940
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
26941
26941
|
opportunityId: string;
|
|
26942
|
-
params: import("@prisma/client/runtime/
|
|
26942
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
26943
26943
|
program: ({
|
|
26944
26944
|
description: string;
|
|
26945
26945
|
icon: string;
|
|
@@ -28915,7 +28915,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
28915
28915
|
opportunityId: string;
|
|
28916
28916
|
startTimestamp: bigint;
|
|
28917
28917
|
endTimestamp: bigint;
|
|
28918
|
-
params: import("@prisma/client/runtime/
|
|
28918
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
28919
28919
|
description: string | null;
|
|
28920
28920
|
dailyRewards: number;
|
|
28921
28921
|
apr: number;
|
|
@@ -28974,7 +28974,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
28974
28974
|
opportunityId: string;
|
|
28975
28975
|
startTimestamp: bigint;
|
|
28976
28976
|
endTimestamp: bigint;
|
|
28977
|
-
params: import("@prisma/client/runtime/
|
|
28977
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
28978
28978
|
description: string | null;
|
|
28979
28979
|
dailyRewards: number;
|
|
28980
28980
|
apr: number;
|
|
@@ -29224,7 +29224,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
29224
29224
|
opportunityId: string;
|
|
29225
29225
|
startTimestamp: bigint;
|
|
29226
29226
|
endTimestamp: bigint;
|
|
29227
|
-
params: import("@prisma/client/runtime/
|
|
29227
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
29228
29228
|
description: string | null;
|
|
29229
29229
|
dailyRewards: number;
|
|
29230
29230
|
apr: number;
|
|
@@ -29289,7 +29289,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
29289
29289
|
opportunityId: string;
|
|
29290
29290
|
startTimestamp: bigint;
|
|
29291
29291
|
endTimestamp: bigint;
|
|
29292
|
-
params: import("@prisma/client/runtime/
|
|
29292
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
29293
29293
|
description: string | null;
|
|
29294
29294
|
dailyRewards: number;
|
|
29295
29295
|
apr: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TokenType } from "@package/databases/api";
|
|
1
2
|
import Elysia from "elysia";
|
|
2
3
|
// ─── Tokens Controller ───────────────────────────────────────────────────────
|
|
3
4
|
export declare const TokenController: Elysia<"/tokens", {
|
|
@@ -40,7 +41,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
|
40
41
|
isTest: boolean;
|
|
41
42
|
name: string | null;
|
|
42
43
|
symbol: string;
|
|
43
|
-
type:
|
|
44
|
+
type: TokenType;
|
|
44
45
|
verified: boolean;
|
|
45
46
|
} | undefined;
|
|
46
47
|
422: {
|
|
@@ -86,7 +87,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
|
86
87
|
isTest: boolean;
|
|
87
88
|
name: string | null;
|
|
88
89
|
symbol: string;
|
|
89
|
-
type:
|
|
90
|
+
type: TokenType;
|
|
90
91
|
verified: boolean;
|
|
91
92
|
} | undefined;
|
|
92
93
|
422: {
|
|
@@ -126,7 +127,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
|
126
127
|
icon: string;
|
|
127
128
|
verified: boolean;
|
|
128
129
|
isTest: boolean;
|
|
129
|
-
type:
|
|
130
|
+
type: TokenType;
|
|
130
131
|
isNative: boolean;
|
|
131
132
|
price: number | null;
|
|
132
133
|
updatedAt: number | null;
|
|
@@ -172,7 +173,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
|
172
173
|
icon: string;
|
|
173
174
|
verified: boolean;
|
|
174
175
|
isTest: boolean;
|
|
175
|
-
type:
|
|
176
|
+
type: TokenType;
|
|
176
177
|
isNative: boolean;
|
|
177
178
|
price: number | null;
|
|
178
179
|
updatedAt: number | null;
|
|
@@ -218,7 +219,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
|
218
219
|
isTest: boolean;
|
|
219
220
|
name: string | null;
|
|
220
221
|
symbol: string;
|
|
221
|
-
type:
|
|
222
|
+
type: TokenType;
|
|
222
223
|
verified: boolean;
|
|
223
224
|
} & {
|
|
224
225
|
price?: number | null | undefined;
|
|
@@ -273,7 +274,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
|
273
274
|
isTest: boolean;
|
|
274
275
|
name: string | null;
|
|
275
276
|
symbol: string;
|
|
276
|
-
type:
|
|
277
|
+
type: TokenType;
|
|
277
278
|
verified: boolean;
|
|
278
279
|
} & {
|
|
279
280
|
price?: number | null | undefined;
|
|
@@ -356,7 +357,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
|
356
357
|
icon: string;
|
|
357
358
|
verified: boolean;
|
|
358
359
|
isTest: boolean;
|
|
359
|
-
type:
|
|
360
|
+
type: TokenType;
|
|
360
361
|
isNative: boolean;
|
|
361
362
|
price: number | null;
|
|
362
363
|
updatedAt: number | null;
|
|
@@ -403,7 +404,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
|
403
404
|
icon: string;
|
|
404
405
|
verified: boolean;
|
|
405
406
|
isTest: boolean;
|
|
406
|
-
type:
|
|
407
|
+
type: TokenType;
|
|
407
408
|
isNative: boolean;
|
|
408
409
|
price: number | null;
|
|
409
410
|
updatedAt: number | null;
|
|
@@ -477,7 +478,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
|
477
478
|
icon: string;
|
|
478
479
|
verified: boolean;
|
|
479
480
|
isTest: boolean;
|
|
480
|
-
type:
|
|
481
|
+
type: TokenType;
|
|
481
482
|
isNative: boolean;
|
|
482
483
|
price: number | null;
|
|
483
484
|
updatedAt: number | null;
|
|
@@ -40,7 +40,7 @@ export declare abstract class TokenRepository {
|
|
|
40
40
|
icon: string;
|
|
41
41
|
verified: boolean;
|
|
42
42
|
isTest: boolean;
|
|
43
|
-
type:
|
|
43
|
+
type: TokenType;
|
|
44
44
|
isNative: boolean;
|
|
45
45
|
price: number | null;
|
|
46
46
|
updatedAt: number | null;
|
|
@@ -57,7 +57,7 @@ export declare abstract class TokenRepository {
|
|
|
57
57
|
icon: string;
|
|
58
58
|
verified: boolean;
|
|
59
59
|
isTest: boolean;
|
|
60
|
-
type:
|
|
60
|
+
type: TokenType;
|
|
61
61
|
isNative: boolean;
|
|
62
62
|
price: number | null;
|
|
63
63
|
updatedAt: number | null;
|
|
@@ -74,7 +74,7 @@ export declare abstract class TokenRepository {
|
|
|
74
74
|
icon: string;
|
|
75
75
|
verified: boolean;
|
|
76
76
|
isTest: boolean;
|
|
77
|
-
type:
|
|
77
|
+
type: TokenType;
|
|
78
78
|
isNative: boolean;
|
|
79
79
|
price: number | null;
|
|
80
80
|
updatedAt: number | null;
|
|
@@ -96,7 +96,7 @@ export declare abstract class TokenRepository {
|
|
|
96
96
|
icon: string;
|
|
97
97
|
verified: boolean;
|
|
98
98
|
isTest: boolean;
|
|
99
|
-
type:
|
|
99
|
+
type: TokenType;
|
|
100
100
|
isNative: boolean;
|
|
101
101
|
price: number | null;
|
|
102
102
|
updatedAt: number | null;
|
|
@@ -142,7 +142,7 @@ export declare abstract class TokenRepository {
|
|
|
142
142
|
icon: string;
|
|
143
143
|
verified: boolean;
|
|
144
144
|
isTest: boolean;
|
|
145
|
-
type:
|
|
145
|
+
type: TokenType;
|
|
146
146
|
isNative: boolean;
|
|
147
147
|
price: number | null;
|
|
148
148
|
updatedAt: number | null;
|