@merkl/api 1.0.66 → 1.0.68
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 +424 -422
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +2 -1
- package/dist/src/index.d.ts +210 -209
- 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 +41 -41
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +179 -193
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +49 -62
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +44 -44
- package/dist/src/modules/v4/creator/creator.controller.d.ts +12 -12
- package/dist/src/modules/v4/creator/creator.repository.d.ts +6 -6
- package/dist/src/modules/v4/creator/creator.service.d.ts +12 -12
- package/dist/src/modules/v4/node/node.controller.d.ts +2 -1
- package/dist/src/modules/v4/node/node.repository.d.ts +1 -18
- package/dist/src/modules/v4/node/node.service.d.ts +1 -18
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +80 -80
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +3 -3
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +13 -13
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +192 -192
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +54 -54
- package/dist/src/modules/v4/price/price.controller.d.ts +4 -4
- package/dist/src/modules/v4/price/price.repository.d.ts +5 -5
- package/dist/src/modules/v4/price/price.service.d.ts +4 -4
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +23 -1
- package/dist/src/modules/v4/programPayload/subPayloads/hypurrFi.d.ts +9 -1
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +6 -6
- package/dist/src/modules/v4/reward/reward.repository.d.ts +11 -11
- package/dist/src/modules/v4/reward/reward.service.d.ts +67 -67
- package/dist/src/modules/v4/router.d.ts +210 -209
- package/dist/src/modules/v4/status/status.controller.d.ts +14 -14
- package/dist/src/modules/v4/status/status.repository.d.ts +20 -20
- package/dist/src/modules/v4/status/status.service.d.ts +16 -16
- package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +2 -10
- package/dist/src/modules/v4/user/user.controller.d.ts +11 -11
- package/dist/src/utils/queries/allCampaigns.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -27,7 +27,7 @@ export declare const BlacklistController: Elysia<"/blacklists", {
|
|
27
27
|
chainId: number;
|
28
28
|
userAddress: string;
|
29
29
|
arrestTimestamp: bigint;
|
30
|
-
arrestDetails: import("@prisma/client/runtime/
|
30
|
+
arrestDetails: import("@prisma/client/runtime/client").JsonValue;
|
31
31
|
}[];
|
32
32
|
};
|
33
33
|
};
|
@@ -94,7 +94,7 @@ export declare const BlacklistController: Elysia<"/blacklists", {
|
|
94
94
|
chainId: number;
|
95
95
|
userAddress: string;
|
96
96
|
arrestTimestamp: bigint;
|
97
|
-
arrestDetails: import("@prisma/client/runtime/
|
97
|
+
arrestDetails: import("@prisma/client/runtime/client").JsonValue;
|
98
98
|
};
|
99
99
|
422: {
|
100
100
|
type: "validation";
|
@@ -6,7 +6,7 @@ export declare class BlacklistRepository {
|
|
6
6
|
chainId: number;
|
7
7
|
userAddress: string;
|
8
8
|
arrestTimestamp: bigint;
|
9
|
-
arrestDetails: import("@prisma/client/runtime/
|
9
|
+
arrestDetails: import("@prisma/client/runtime/client").JsonValue;
|
10
10
|
}[]>;
|
11
11
|
static check(address: string): Promise<boolean>;
|
12
12
|
static remove(address: string): Promise<boolean>;
|
@@ -16,6 +16,6 @@ export declare class BlacklistRepository {
|
|
16
16
|
chainId: number;
|
17
17
|
userAddress: string;
|
18
18
|
arrestTimestamp: bigint;
|
19
|
-
arrestDetails: import("@prisma/client/runtime/
|
19
|
+
arrestDetails: import("@prisma/client/runtime/client").JsonValue;
|
20
20
|
}>;
|
21
21
|
}
|
@@ -8,7 +8,7 @@ export declare class BlacklistService {
|
|
8
8
|
chainId: number;
|
9
9
|
userAddress: string;
|
10
10
|
arrestTimestamp: bigint;
|
11
|
-
arrestDetails: import("@prisma/client/runtime/
|
11
|
+
arrestDetails: import("@prisma/client/runtime/client").JsonValue;
|
12
12
|
}[]>;
|
13
13
|
static findMapping(): Promise<unknown>;
|
14
14
|
static isBlacklisted(address: string): Promise<boolean>;
|
@@ -19,6 +19,6 @@ export declare class BlacklistService {
|
|
19
19
|
chainId: number;
|
20
20
|
userAddress: string;
|
21
21
|
arrestTimestamp: bigint;
|
22
|
-
arrestDetails: import("@prisma/client/runtime/
|
22
|
+
arrestDetails: import("@prisma/client/runtime/client").JsonValue;
|
23
23
|
}>;
|
24
24
|
}
|
@@ -45,18 +45,18 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
45
45
|
campaignId: string;
|
46
46
|
description: string | null;
|
47
47
|
id: string;
|
48
|
-
params: import("@prisma/client/runtime/
|
48
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
49
49
|
amount: string;
|
50
50
|
startTimestamp: bigint;
|
51
51
|
type: string;
|
52
52
|
computeChainId: number;
|
53
53
|
distributionChainId: number;
|
54
54
|
endTimestamp: bigint;
|
55
|
-
opportunityId: string;
|
56
|
-
creatorAddress: string;
|
57
55
|
distributionType: import("@package/databases").DistributionType;
|
58
56
|
subType: number | null;
|
59
57
|
rewardTokenId: string;
|
58
|
+
opportunityId: string;
|
59
|
+
creatorAddress: string;
|
60
60
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
61
61
|
createdAt: Date;
|
62
62
|
rootCampaignId: string | null;
|
@@ -94,6 +94,14 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
94
94
|
explorerAddress: string | undefined;
|
95
95
|
tags: string[];
|
96
96
|
} | {
|
97
|
+
Protocols: {
|
98
|
+
name: string;
|
99
|
+
description: string;
|
100
|
+
id: string;
|
101
|
+
url: string;
|
102
|
+
icon: string;
|
103
|
+
tags: string[];
|
104
|
+
}[];
|
97
105
|
Tokens: {
|
98
106
|
symbol: string;
|
99
107
|
name: string | null;
|
@@ -110,14 +118,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
110
118
|
verified: boolean;
|
111
119
|
displaySymbol: string;
|
112
120
|
}[];
|
113
|
-
Protocols: {
|
114
|
-
name: string;
|
115
|
-
description: string;
|
116
|
-
id: string;
|
117
|
-
url: string;
|
118
|
-
icon: string;
|
119
|
-
tags: string[];
|
120
|
-
}[];
|
121
121
|
name: string;
|
122
122
|
apr: number;
|
123
123
|
tvl: number;
|
@@ -128,11 +128,11 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
128
128
|
action: import("@package/databases").OpportunityAction;
|
129
129
|
type: string;
|
130
130
|
depositUrl: string | null;
|
131
|
-
explorerAddress: string | null;
|
132
|
-
howToSteps: string[];
|
133
|
-
mainProtocolId: string | null;
|
134
131
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
135
132
|
identifier: string;
|
133
|
+
howToSteps: string[];
|
134
|
+
explorerAddress: string | null;
|
135
|
+
mainProtocolId: string | null;
|
136
136
|
dailyRewards: number;
|
137
137
|
tags: string[];
|
138
138
|
lastCampaignCreatedAt: Date;
|
@@ -168,9 +168,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
168
168
|
creatorId?: string | null | undefined;
|
169
169
|
address: string;
|
170
170
|
} | undefined;
|
171
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
172
|
-
rootCampaignId?: string | undefined;
|
173
|
-
parentCampaignId?: string | undefined;
|
174
171
|
campaignStatus?: {
|
175
172
|
error?: string | undefined;
|
176
173
|
details?: any;
|
@@ -178,6 +175,9 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
178
175
|
computedUntil: string | number;
|
179
176
|
processingStarted: string | number;
|
180
177
|
} | undefined;
|
178
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
179
|
+
rootCampaignId?: string | undefined;
|
180
|
+
parentCampaignId?: string | undefined;
|
181
181
|
distributionChain?: {
|
182
182
|
explorers?: {
|
183
183
|
chainId: number;
|
@@ -212,9 +212,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
212
212
|
computeChainId: number;
|
213
213
|
distributionChainId: number;
|
214
214
|
endTimestamp: string | number;
|
215
|
-
creatorAddress: string;
|
216
|
-
subType: number | null;
|
217
|
-
createdAt: string;
|
218
215
|
chain: {
|
219
216
|
explorers?: {
|
220
217
|
chainId: number;
|
@@ -225,6 +222,9 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
225
222
|
id: number;
|
226
223
|
icon: string;
|
227
224
|
};
|
225
|
+
subType: number | null;
|
226
|
+
creatorAddress: string;
|
227
|
+
createdAt: string;
|
228
228
|
};
|
229
229
|
422: {
|
230
230
|
type: "validation";
|
@@ -447,16 +447,16 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
447
447
|
tokenSymbol?: string | undefined;
|
448
448
|
type?: string | undefined;
|
449
449
|
endTimestamp?: string | undefined;
|
450
|
+
subType?: number | undefined;
|
450
451
|
opportunityId?: string | undefined;
|
451
452
|
creatorAddress?: string | undefined;
|
452
|
-
mainProtocolId?: string | undefined;
|
453
|
-
subType?: number | undefined;
|
454
453
|
rootCampaignId?: string | undefined;
|
455
454
|
parentCampaignId?: string | undefined;
|
455
|
+
mainProtocolId?: string | undefined;
|
456
456
|
creatorId?: string | undefined;
|
457
|
-
mainParameter?: string | undefined;
|
458
457
|
test?: boolean | undefined;
|
459
458
|
page?: number | undefined;
|
459
|
+
mainParameter?: string | undefined;
|
460
460
|
creatorTag?: string | undefined;
|
461
461
|
distributionChainIds?: number[] | undefined;
|
462
462
|
types?: string[] | undefined;
|
@@ -473,9 +473,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
473
473
|
creatorId?: string | null | undefined;
|
474
474
|
address: string;
|
475
475
|
} | undefined;
|
476
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
477
|
-
rootCampaignId?: string | undefined;
|
478
|
-
parentCampaignId?: string | undefined;
|
479
476
|
campaignStatus?: {
|
480
477
|
error?: string | undefined;
|
481
478
|
details?: any;
|
@@ -483,6 +480,9 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
483
480
|
computedUntil: string | number;
|
484
481
|
processingStarted: string | number;
|
485
482
|
} | undefined;
|
483
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
484
|
+
rootCampaignId?: string | undefined;
|
485
|
+
parentCampaignId?: string | undefined;
|
486
486
|
distributionChain?: {
|
487
487
|
explorers?: {
|
488
488
|
chainId: number;
|
@@ -517,9 +517,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
517
517
|
computeChainId: number;
|
518
518
|
distributionChainId: number;
|
519
519
|
endTimestamp: string | number;
|
520
|
-
creatorAddress: string;
|
521
|
-
subType: number | null;
|
522
|
-
createdAt: string;
|
523
520
|
chain: {
|
524
521
|
explorers?: {
|
525
522
|
chainId: number;
|
@@ -530,6 +527,9 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
530
527
|
id: number;
|
531
528
|
icon: string;
|
532
529
|
};
|
530
|
+
subType: number | null;
|
531
|
+
creatorAddress: string;
|
532
|
+
createdAt: string;
|
533
533
|
}[];
|
534
534
|
422: {
|
535
535
|
type: "validation";
|
@@ -561,16 +561,16 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
561
561
|
tokenSymbol?: string | undefined;
|
562
562
|
type?: string | undefined;
|
563
563
|
endTimestamp?: string | undefined;
|
564
|
+
subType?: number | undefined;
|
564
565
|
opportunityId?: string | undefined;
|
565
566
|
creatorAddress?: string | undefined;
|
566
|
-
mainProtocolId?: string | undefined;
|
567
|
-
subType?: number | undefined;
|
568
567
|
rootCampaignId?: string | undefined;
|
569
568
|
parentCampaignId?: string | undefined;
|
569
|
+
mainProtocolId?: string | undefined;
|
570
570
|
creatorId?: string | undefined;
|
571
|
-
mainParameter?: string | undefined;
|
572
571
|
test?: boolean | undefined;
|
573
572
|
page?: number | undefined;
|
573
|
+
mainParameter?: string | undefined;
|
574
574
|
creatorTag?: string | undefined;
|
575
575
|
distributionChainIds?: number[] | undefined;
|
576
576
|
types?: string[] | undefined;
|
@@ -612,16 +612,16 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
612
612
|
tokenSymbol?: string | undefined;
|
613
613
|
type?: string | undefined;
|
614
614
|
endTimestamp?: string | undefined;
|
615
|
+
subType?: number | undefined;
|
615
616
|
opportunityId?: string | undefined;
|
616
617
|
creatorAddress?: string | undefined;
|
617
|
-
mainProtocolId?: string | undefined;
|
618
|
-
subType?: number | undefined;
|
619
618
|
rootCampaignId?: string | undefined;
|
620
619
|
parentCampaignId?: string | undefined;
|
620
|
+
mainProtocolId?: string | undefined;
|
621
621
|
creatorId?: string | undefined;
|
622
|
-
mainParameter?: string | undefined;
|
623
622
|
test?: boolean | undefined;
|
624
623
|
page?: number | undefined;
|
624
|
+
mainParameter?: string | undefined;
|
625
625
|
creatorTag?: string | undefined;
|
626
626
|
distributionChainIds?: number[] | undefined;
|
627
627
|
types?: string[] | undefined;
|
@@ -668,16 +668,16 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
668
668
|
tokenSymbol?: string | undefined;
|
669
669
|
type?: string | undefined;
|
670
670
|
endTimestamp?: string | undefined;
|
671
|
+
subType?: number | undefined;
|
671
672
|
opportunityId?: string | undefined;
|
672
673
|
creatorAddress?: string | undefined;
|
673
|
-
mainProtocolId?: string | undefined;
|
674
|
-
subType?: number | undefined;
|
675
674
|
rootCampaignId?: string | undefined;
|
676
675
|
parentCampaignId?: string | undefined;
|
676
|
+
mainProtocolId?: string | undefined;
|
677
677
|
creatorId?: string | undefined;
|
678
|
-
mainParameter?: string | undefined;
|
679
678
|
test?: boolean | undefined;
|
680
679
|
page?: number | undefined;
|
680
|
+
mainParameter?: string | undefined;
|
681
681
|
creatorTag?: string | undefined;
|
682
682
|
distributionChainIds?: number[] | undefined;
|
683
683
|
types?: string[] | undefined;
|
@@ -725,16 +725,16 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
725
725
|
tokenSymbol?: string | undefined;
|
726
726
|
type?: string | undefined;
|
727
727
|
endTimestamp?: string | undefined;
|
728
|
+
subType?: number | undefined;
|
728
729
|
opportunityId?: string | undefined;
|
729
730
|
creatorAddress?: string | undefined;
|
730
|
-
mainProtocolId?: string | undefined;
|
731
|
-
subType?: number | undefined;
|
732
731
|
rootCampaignId?: string | undefined;
|
733
732
|
parentCampaignId?: string | undefined;
|
733
|
+
mainProtocolId?: string | undefined;
|
734
734
|
creatorId?: string | undefined;
|
735
|
-
mainParameter?: string | undefined;
|
736
735
|
test?: boolean | undefined;
|
737
736
|
page?: number | undefined;
|
737
|
+
mainParameter?: string | undefined;
|
738
738
|
creatorTag?: string | undefined;
|
739
739
|
distributionChainIds?: number[] | undefined;
|
740
740
|
types?: string[] | undefined;
|