@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
|
@@ -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;
|
|
@@ -3403,7 +3403,10 @@ export declare const v4: Elysia<"/v4", {
|
|
|
3403
3403
|
timestamp: bigint;
|
|
3404
3404
|
total: number;
|
|
3405
3405
|
}[];
|
|
3406
|
-
walletCount:
|
|
3406
|
+
walletCount: {
|
|
3407
|
+
timestamp: bigint;
|
|
3408
|
+
walletCount: number;
|
|
3409
|
+
}[];
|
|
3407
3410
|
tvlInflowPerDollar: number;
|
|
3408
3411
|
};
|
|
3409
3412
|
422: {
|
|
@@ -5602,7 +5605,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
5602
5605
|
childCampaignIds?: string[] | undefined;
|
|
5603
5606
|
rootCampaignId?: string | undefined;
|
|
5604
5607
|
parentCampaignId?: string | undefined;
|
|
5605
|
-
params: import("@prisma/client/runtime/
|
|
5608
|
+
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
5609
|
poolId: string;
|
|
5607
5610
|
poolManager: string;
|
|
5608
5611
|
lpFee: number;
|
|
@@ -5644,7 +5647,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
5644
5647
|
campaignId: string;
|
|
5645
5648
|
campaignStatus: {
|
|
5646
5649
|
computedUntil: number;
|
|
5647
|
-
details: import("@prisma/client/runtime/
|
|
5650
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
5648
5651
|
error: string;
|
|
5649
5652
|
processingStarted: number;
|
|
5650
5653
|
status: import("@package/databases").RunStatus;
|
|
@@ -5955,7 +5958,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
5955
5958
|
childCampaignIds?: string[] | undefined;
|
|
5956
5959
|
rootCampaignId?: string | undefined;
|
|
5957
5960
|
parentCampaignId?: string | undefined;
|
|
5958
|
-
params: import("@prisma/client/runtime/
|
|
5961
|
+
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
5962
|
poolId: string;
|
|
5960
5963
|
poolManager: string;
|
|
5961
5964
|
lpFee: number;
|
|
@@ -5997,7 +6000,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
5997
6000
|
campaignId: string;
|
|
5998
6001
|
campaignStatus: {
|
|
5999
6002
|
computedUntil: number;
|
|
6000
|
-
details: import("@prisma/client/runtime/
|
|
6003
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
6001
6004
|
error: string;
|
|
6002
6005
|
processingStarted: number;
|
|
6003
6006
|
status: import("@package/databases").RunStatus;
|
|
@@ -6199,7 +6202,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
6199
6202
|
childCampaignIds?: string[] | undefined;
|
|
6200
6203
|
rootCampaignId?: string | undefined;
|
|
6201
6204
|
parentCampaignId?: string | undefined;
|
|
6202
|
-
params: import("@prisma/client/runtime/
|
|
6205
|
+
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
6206
|
poolId: string;
|
|
6204
6207
|
poolManager: string;
|
|
6205
6208
|
lpFee: number;
|
|
@@ -6241,7 +6244,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
6241
6244
|
campaignId: string;
|
|
6242
6245
|
campaignStatus: {
|
|
6243
6246
|
computedUntil: number;
|
|
6244
|
-
details: import("@prisma/client/runtime/
|
|
6247
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
6245
6248
|
error: string;
|
|
6246
6249
|
processingStarted: number;
|
|
6247
6250
|
status: import("@package/databases").RunStatus;
|
|
@@ -7933,7 +7936,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
7933
7936
|
protected: boolean;
|
|
7934
7937
|
identifier: string;
|
|
7935
7938
|
method: import("@package/databases").PriceSourceMethod;
|
|
7936
|
-
args: import("@prisma/client/runtime/
|
|
7939
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
|
7937
7940
|
value: number | null;
|
|
7938
7941
|
updatedAt: number | null;
|
|
7939
7942
|
};
|
|
@@ -7964,7 +7967,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
7964
7967
|
protected: boolean;
|
|
7965
7968
|
identifier: string;
|
|
7966
7969
|
method: import("@package/databases").PriceSourceMethod;
|
|
7967
|
-
args: import("@prisma/client/runtime/
|
|
7970
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
|
7968
7971
|
value: number | null;
|
|
7969
7972
|
updatedAt: number | null;
|
|
7970
7973
|
}[];
|
|
@@ -8019,7 +8022,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8019
8022
|
protected: boolean;
|
|
8020
8023
|
identifier: string;
|
|
8021
8024
|
method: import("@package/databases").PriceSourceMethod;
|
|
8022
|
-
args: import("@prisma/client/runtime/
|
|
8025
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
|
8023
8026
|
value: number | null;
|
|
8024
8027
|
updatedAt: number | null;
|
|
8025
8028
|
};
|
|
@@ -8061,7 +8064,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8061
8064
|
protected: boolean;
|
|
8062
8065
|
identifier: string;
|
|
8063
8066
|
method: import("@package/databases").PriceSourceMethod;
|
|
8064
|
-
args: import("@prisma/client/runtime/
|
|
8067
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
|
8065
8068
|
value: number | null;
|
|
8066
8069
|
updatedAt: number | null;
|
|
8067
8070
|
};
|
|
@@ -8097,7 +8100,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8097
8100
|
protected: boolean;
|
|
8098
8101
|
identifier: string;
|
|
8099
8102
|
method: import("@package/databases").PriceSourceMethod;
|
|
8100
|
-
args: import("@prisma/client/runtime/
|
|
8103
|
+
args: import("@prisma/client/runtime/library").JsonValue;
|
|
8101
8104
|
value: number | null;
|
|
8102
8105
|
updatedAt: number | null;
|
|
8103
8106
|
};
|
|
@@ -8156,7 +8159,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8156
8159
|
poolAddress: string;
|
|
8157
8160
|
userAddress: string;
|
|
8158
8161
|
arrestTimestamp: bigint;
|
|
8159
|
-
arrestDetails: import("@prisma/client/runtime/
|
|
8162
|
+
arrestDetails: import("@prisma/client/runtime/library").JsonValue;
|
|
8160
8163
|
}[];
|
|
8161
8164
|
};
|
|
8162
8165
|
};
|
|
@@ -8223,7 +8226,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8223
8226
|
poolAddress: string;
|
|
8224
8227
|
userAddress: string;
|
|
8225
8228
|
arrestTimestamp: bigint;
|
|
8226
|
-
arrestDetails: import("@prisma/client/runtime/
|
|
8229
|
+
arrestDetails: import("@prisma/client/runtime/library").JsonValue;
|
|
8227
8230
|
};
|
|
8228
8231
|
422: {
|
|
8229
8232
|
type: "validation";
|
|
@@ -8488,7 +8491,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8488
8491
|
campaignStatus: {
|
|
8489
8492
|
status: import("@package/databases").RunStatus;
|
|
8490
8493
|
error: string;
|
|
8491
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
8494
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
8492
8495
|
delay: number;
|
|
8493
8496
|
computedUntil: number;
|
|
8494
8497
|
processingStarted: number;
|
|
@@ -8600,7 +8603,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8600
8603
|
campaignStatus: {
|
|
8601
8604
|
status: import("@package/databases").RunStatus;
|
|
8602
8605
|
error: string;
|
|
8603
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
8606
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
8604
8607
|
delay: number;
|
|
8605
8608
|
computedUntil: number;
|
|
8606
8609
|
processingStarted: number;
|
|
@@ -8808,7 +8811,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8808
8811
|
campaignId: string;
|
|
8809
8812
|
campaignStatus: {
|
|
8810
8813
|
computedUntil: number;
|
|
8811
|
-
details: import("@prisma/client/runtime/
|
|
8814
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
8812
8815
|
error: string;
|
|
8813
8816
|
processingStarted: number;
|
|
8814
8817
|
status: import("@package/databases").RunStatus;
|
|
@@ -8831,7 +8834,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8831
8834
|
id: string;
|
|
8832
8835
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
8833
8836
|
opportunityId: string;
|
|
8834
|
-
params: import("@prisma/client/runtime/
|
|
8837
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
8835
8838
|
program: ({
|
|
8836
8839
|
description: string;
|
|
8837
8840
|
icon: string;
|
|
@@ -9711,7 +9714,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
9711
9714
|
200: {
|
|
9712
9715
|
status: import("@package/databases").RunStatus;
|
|
9713
9716
|
error: string;
|
|
9714
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
9717
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
9715
9718
|
delay: number;
|
|
9716
9719
|
computedUntil: number;
|
|
9717
9720
|
processingStarted: number;
|
|
@@ -9743,14 +9746,14 @@ export declare const v4: Elysia<"/v4", {
|
|
|
9743
9746
|
processingStarted: bigint;
|
|
9744
9747
|
status: import("@package/databases").RunStatus;
|
|
9745
9748
|
error: string;
|
|
9746
|
-
details: import("@prisma/client/runtime/
|
|
9749
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
9747
9750
|
}[] | {
|
|
9748
9751
|
campaignId: string;
|
|
9749
9752
|
computedUntil: bigint;
|
|
9750
9753
|
processingStarted: bigint;
|
|
9751
9754
|
status: import("@package/databases").RunStatus;
|
|
9752
9755
|
error: string;
|
|
9753
|
-
details: import("@prisma/client/runtime/
|
|
9756
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
9754
9757
|
};
|
|
9755
9758
|
422: {
|
|
9756
9759
|
type: "validation";
|
|
@@ -9780,7 +9783,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
9780
9783
|
status: {
|
|
9781
9784
|
status: import("@package/databases").RunStatus;
|
|
9782
9785
|
error: string;
|
|
9783
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
9786
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
9784
9787
|
delay: number;
|
|
9785
9788
|
computedUntil: number;
|
|
9786
9789
|
processingStarted: number;
|
|
@@ -9791,7 +9794,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
9791
9794
|
processingStarted: bigint;
|
|
9792
9795
|
status: import("@package/databases").RunStatus;
|
|
9793
9796
|
error: string;
|
|
9794
|
-
details: import("@prisma/client/runtime/
|
|
9797
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
9795
9798
|
}[];
|
|
9796
9799
|
Opportunity: {
|
|
9797
9800
|
identifier: string;
|
|
@@ -9845,7 +9848,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
9845
9848
|
status: {
|
|
9846
9849
|
status: import("@package/databases").RunStatus;
|
|
9847
9850
|
error: string;
|
|
9848
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
9851
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
9849
9852
|
delay: number;
|
|
9850
9853
|
computedUntil: number;
|
|
9851
9854
|
processingStarted: number;
|
|
@@ -9856,7 +9859,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
9856
9859
|
processingStarted: bigint;
|
|
9857
9860
|
status: import("@package/databases").RunStatus;
|
|
9858
9861
|
error: string;
|
|
9859
|
-
details: import("@prisma/client/runtime/
|
|
9862
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
9860
9863
|
}[];
|
|
9861
9864
|
Opportunity: {
|
|
9862
9865
|
identifier: string;
|
|
@@ -25701,7 +25704,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
25701
25704
|
forfeitingBoost: number | null;
|
|
25702
25705
|
lastRecordedNumberOfRecipients: number | null;
|
|
25703
25706
|
totalDistributedInUSD: number | null;
|
|
25704
|
-
tvl: import("@prisma/client/runtime/
|
|
25707
|
+
tvl: import("@prisma/client/runtime/library").JsonValue;
|
|
25705
25708
|
} | null;
|
|
25706
25709
|
422: {
|
|
25707
25710
|
type: "validation";
|
|
@@ -26287,7 +26290,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
26287
26290
|
opportunityId: string;
|
|
26288
26291
|
startTimestamp: bigint;
|
|
26289
26292
|
endTimestamp: bigint;
|
|
26290
|
-
params: import("@prisma/client/runtime/
|
|
26293
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
26291
26294
|
description: string | null;
|
|
26292
26295
|
dailyRewards: number;
|
|
26293
26296
|
apr: number;
|
|
@@ -26336,7 +26339,10 @@ export declare const v4: Elysia<"/v4", {
|
|
|
26336
26339
|
timestamp: bigint;
|
|
26337
26340
|
total: number;
|
|
26338
26341
|
}[];
|
|
26339
|
-
walletCount:
|
|
26342
|
+
walletCount: {
|
|
26343
|
+
timestamp: bigint;
|
|
26344
|
+
walletCount: number;
|
|
26345
|
+
}[];
|
|
26340
26346
|
tvlInflowPerDollar: number;
|
|
26341
26347
|
};
|
|
26342
26348
|
422: {
|
|
@@ -26638,7 +26644,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
26638
26644
|
campaignId: string;
|
|
26639
26645
|
campaignStatus: {
|
|
26640
26646
|
computedUntil: number;
|
|
26641
|
-
details: import("@prisma/client/runtime/
|
|
26647
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
26642
26648
|
error: string;
|
|
26643
26649
|
processingStarted: number;
|
|
26644
26650
|
status: import("@package/databases").RunStatus;
|
|
@@ -26661,7 +26667,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
26661
26667
|
id: string;
|
|
26662
26668
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
26663
26669
|
opportunityId: string;
|
|
26664
|
-
params: import("@prisma/client/runtime/
|
|
26670
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
26665
26671
|
program: ({
|
|
26666
26672
|
description: string;
|
|
26667
26673
|
icon: string;
|
|
@@ -26916,7 +26922,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
26916
26922
|
campaignId: string;
|
|
26917
26923
|
campaignStatus: {
|
|
26918
26924
|
computedUntil: number;
|
|
26919
|
-
details: import("@prisma/client/runtime/
|
|
26925
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
26920
26926
|
error: string;
|
|
26921
26927
|
processingStarted: number;
|
|
26922
26928
|
status: import("@package/databases").RunStatus;
|
|
@@ -26939,7 +26945,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
26939
26945
|
id: string;
|
|
26940
26946
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
26941
26947
|
opportunityId: string;
|
|
26942
|
-
params: import("@prisma/client/runtime/
|
|
26948
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
26943
26949
|
program: ({
|
|
26944
26950
|
description: string;
|
|
26945
26951
|
icon: string;
|
|
@@ -28915,7 +28921,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
28915
28921
|
opportunityId: string;
|
|
28916
28922
|
startTimestamp: bigint;
|
|
28917
28923
|
endTimestamp: bigint;
|
|
28918
|
-
params: import("@prisma/client/runtime/
|
|
28924
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
28919
28925
|
description: string | null;
|
|
28920
28926
|
dailyRewards: number;
|
|
28921
28927
|
apr: number;
|
|
@@ -28974,7 +28980,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
28974
28980
|
opportunityId: string;
|
|
28975
28981
|
startTimestamp: bigint;
|
|
28976
28982
|
endTimestamp: bigint;
|
|
28977
|
-
params: import("@prisma/client/runtime/
|
|
28983
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
28978
28984
|
description: string | null;
|
|
28979
28985
|
dailyRewards: number;
|
|
28980
28986
|
apr: number;
|
|
@@ -29224,7 +29230,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
29224
29230
|
opportunityId: string;
|
|
29225
29231
|
startTimestamp: bigint;
|
|
29226
29232
|
endTimestamp: bigint;
|
|
29227
|
-
params: import("@prisma/client/runtime/
|
|
29233
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
29228
29234
|
description: string | null;
|
|
29229
29235
|
dailyRewards: number;
|
|
29230
29236
|
apr: number;
|
|
@@ -29289,7 +29295,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
29289
29295
|
opportunityId: string;
|
|
29290
29296
|
startTimestamp: bigint;
|
|
29291
29297
|
endTimestamp: bigint;
|
|
29292
|
-
params: import("@prisma/client/runtime/
|
|
29298
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
29293
29299
|
description: string | null;
|
|
29294
29300
|
dailyRewards: number;
|
|
29295
29301
|
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;
|