@merkl/api 1.0.42 → 1.0.44
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 +1590 -1518
- package/dist/src/index.d.ts +842 -848
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +2 -2
- package/dist/src/modules/v4/accounting/accounting.model.d.ts +4 -4
- package/dist/src/modules/v4/accounting/accounting.repository.d.ts +1 -1
- package/dist/src/modules/v4/accounting/accounting.service.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +303 -315
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +83 -2
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +90 -7
- package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +2 -0
- package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +2 -0
- package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +2 -0
- package/dist/src/modules/v4/creator/creator.controller.d.ts +2 -2
- package/dist/src/modules/v4/creator/creator.model.d.ts +2 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +6 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +627 -627
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -2
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +36 -4
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +4 -4
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +2 -2
- package/dist/src/modules/v4/reward/reward.controller.d.ts +18 -18
- package/dist/src/modules/v4/reward/reward.model.d.ts +6 -6
- package/dist/src/modules/v4/router.d.ts +842 -848
- package/dist/src/modules/v4/token/token.controller.d.ts +4 -4
- package/dist/src/modules/v4/token/token.model.d.ts +2 -2
- package/dist/src/modules/v4/token/token.repository.d.ts +16 -0
- package/dist/src/modules/v4/token/token.service.d.ts +1 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +2 -2
- package/dist/src/modules/v4/user/user.model.d.ts +2 -2
- package/dist/src/utils/pagination.d.ts +11 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -399,8 +399,8 @@ export declare const GetOpportunitiesQueryDto: import("@sinclair/typebox").TObje
|
|
399
399
|
order: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRegExp>;
|
400
400
|
mainProtocolId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
401
401
|
excludeSubCampaigns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
402
|
-
page: import("@sinclair/typebox").
|
403
|
-
items: import("@sinclair/typebox").
|
402
|
+
page: import("@sinclair/typebox").TNumber;
|
403
|
+
items: import("@sinclair/typebox").TNumber;
|
404
404
|
}>;
|
405
405
|
export declare const FindOpportunityDto: import("@sinclair/typebox").TObject<{
|
406
406
|
test: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
@@ -23,13 +23,22 @@ export declare enum program {
|
|
23
23
|
YieldNest = "YieldNest",
|
24
24
|
TermMax = "TermMax",
|
25
25
|
MorphoUnichain = "MorphoUnichain",
|
26
|
-
Katana = "Katana"
|
26
|
+
Katana = "Katana",
|
27
|
+
Lisk = "Lisk",
|
28
|
+
Stability = "Stability"
|
29
|
+
}
|
30
|
+
export declare enum stabilityCampaigns {
|
31
|
+
metaUSD = "metaUSD 0x1111111199558661Bf7Ff27b4F1623dC6b91Aa3e",
|
32
|
+
metaS = "metaS 0x4444444420D9De54d69b3997b7D6A31d2BF63F32"
|
27
33
|
}
|
28
34
|
export declare enum yieldNestCampaigns {
|
29
35
|
Ethereum_veYND = "Ethereum_veYND",
|
30
36
|
Ink_Curve_ynETHx_ETH = "Ink Curve ynETHx/ETH 0x4daAcF1af85AB4728FCB63901EFc2E984b006D37",
|
31
37
|
Ethereum_YND_WL = "Ethereum YND TEMP Locker and veYND"
|
32
38
|
}
|
39
|
+
export declare enum liskCampaigns {
|
40
|
+
Velodrome_WETH_wstETH_Lisk = "Velodrome WETH/wstETH Lisk 0x9C69E0B64A63aA7daA0B5dc61Df3Cc77ea05BcB3"
|
41
|
+
}
|
33
42
|
export declare enum KatanaCampaigns {
|
34
43
|
Ethereum_kpdUSDC = "Ethereum kpdUSDC 0x7B5A0182E400b241b317e781a4e9dEdFc1429822 9.589041096",
|
35
44
|
Ethereum_kpdUSDT = "Ethereum kpdUSDT 0x48c03B6FfD0008460F8657Db1037C7e09dEedfcb 9.589041096",
|
@@ -219,7 +228,10 @@ export declare enum celoCampaigns {
|
|
219
228
|
UniswapV3_USDT_cJPY_Celo = "UniswapV3 USDT/cGPY Celo 0x04fEAE0d4a3D0051397Ee09314dAD768a37Fb539",
|
220
229
|
UniswapV3_USDT_cCHF_Celo = "UniswapV3 USDT/cCHF Celo 0x1aa2f83357150F811B1010c00020AbE1462feB01",
|
221
230
|
UniswapV3_CHAR_WETH_Celo = "UniswapV3 CHAR/WETH Celo 0x8aB8D851C6B31D8a4d42Fd7d3e47B20861B025F2",
|
222
|
-
UniswapV3_CHAR_ETHIX_Celo = "UniswapV3 CHAR/ETHIX Celo 0xa0572147474e6c64e2e3b4af5fc4587bce492647"
|
231
|
+
UniswapV3_CHAR_ETHIX_Celo = "UniswapV3 CHAR/ETHIX Celo 0xa0572147474e6c64e2e3b4af5fc4587bce492647",
|
232
|
+
UniswapV3_USDT_vEUR_Celo = "UniswapV3 USDT/vEUR Celo 0xf9fE40A3aD409856818af8EB8912A4d79c6cb1d2",
|
233
|
+
UniswapV3_USDT_vGBP_Celo = "UniswapV3 USDT/vGBP Celo 0x8C7545d227140fabB2709eA41E1A927F4e65b946",
|
234
|
+
UniswapV3_USDT_vCHF_Celo = "UniswapV3 USDT/vCHF Celo 0x899f68521196b4db5E3525e8CE1695Efa9b05533"
|
223
235
|
}
|
224
236
|
export declare enum beetsCampaigns {
|
225
237
|
Staked_Sonic_Symphony_Beets = "Staked Sonic Symphony Beets 0x374641076B68371e69D03C417DAc3E5F236c32FA",
|
@@ -369,7 +381,8 @@ export declare enum pufferCampaigns {
|
|
369
381
|
xpufETH_zircuit = "0x9346A5043C590133FE900aec643D9622EDddBA57",
|
370
382
|
tac_puf_eth = "0x78f314241df1ac151bFD0413EEB51979515f6Abd",
|
371
383
|
pufETH_TermMax = "0xE8a7A6dD9218202996D9cF825426Ab283b3396eD",
|
372
|
-
pufETH_TermMax_Vault = "0xdC4d99aB6c69943b4E17431357AbC5b54B4C2F56"
|
384
|
+
pufETH_TermMax_Vault = "0xdC4d99aB6c69943b4E17431357AbC5b54B4C2F56",
|
385
|
+
pancakeswapv3_puffer_wbnb = "0xDA7630A141dBB6382DDb6409AeA7331da543B0Bb"
|
373
386
|
}
|
374
387
|
export declare enum zkSyncCampaigns {
|
375
388
|
Izumi_Finance_Zk_Weth = "Izumi Finance ZK/WETH 0xd62bc9f19bd94fde9c41df4b6eb6419ea6b8e25c",
|
@@ -546,6 +559,22 @@ export declare enum modeCampaigns {
|
|
546
559
|
Bedrock_Ionic_Supply_ionuniBTC_Mode = "Bedrock Ionic Supply uniBTC 0xa48750877a83f7dec11f722178c317b54a44d142",
|
547
560
|
Bedrock_Ironclad_Supply_uniBTC_Mode = "Bedrock Ironclad Supply uniBTC 0x0F041cf2ae959f39215EFfB50d681Df55D4d90B1"
|
548
561
|
}
|
562
|
+
declare const LiskInterfaceCampaigns: {
|
563
|
+
"Velodrome WETH/wstETH Lisk 0x9C69E0B64A63aA7daA0B5dc61Df3Cc77ea05BcB3": {
|
564
|
+
campaignType: Campaign;
|
565
|
+
computeChainId: ChainId;
|
566
|
+
hooks: never[];
|
567
|
+
poolAddress: string;
|
568
|
+
whitelist: never[];
|
569
|
+
blacklist: never[];
|
570
|
+
url: string;
|
571
|
+
forwarders: never[];
|
572
|
+
isOutOfRangeIncentivized: boolean;
|
573
|
+
weightFees: number;
|
574
|
+
weightToken0: number;
|
575
|
+
weightToken1: number;
|
576
|
+
};
|
577
|
+
};
|
549
578
|
declare const MorphoUnichainInterfaceCampaigns: {
|
550
579
|
"Morpho Supply WETH market wstETH collateral 0x665c97ec413f4371e1c30c71153757e9b9144dfbe4284a3e910f85dedba6527d": {
|
551
580
|
campaignType: Campaign;
|
@@ -2482,7 +2511,10 @@ declare const katanaCampaignsInterface: {
|
|
2482
2511
|
apr: string;
|
2483
2512
|
};
|
2484
2513
|
};
|
2514
|
+
declare const stabilityCampaignsInterface: {
|
2515
|
+
[key in stabilityCampaigns]: partialConfig;
|
2516
|
+
};
|
2485
2517
|
export declare const MerklInterfaceCampaigns: {
|
2486
|
-
[key in program]: typeof PufferInterfaceCampaigns | typeof ZkSyncInterfaceCampaigns | typeof ModeInterfaceCampaigns | typeof VicunaInterfaceCampaigns | typeof SonicmarketInterfaceCampaigns | typeof ReserveInterfaceCampaigns | typeof BeetsInterfaceCampaigns | typeof CeloInterfaceCampaigns | typeof EtherlinkInterfaceCampaigns | typeof SwapxInterfaceCampaigns | typeof AnglesInterfaceCampaigns | typeof RoninInterfaceCampaigns | typeof TACInterfaceCampaigns | typeof HypurrFiSubPayloads | typeof WorldChainInterfaceCampaigns | typeof StableJackInterfaceCampaigns | typeof CornInterfaceCampaigns | typeof GauntletCompoundInterfaceCampaigns | typeof YieldNetCampaigns | typeof TermMaxInterfaceCampaigns | typeof MorphoUnichainInterfaceCampaigns | typeof katanaCampaignsInterface;
|
2518
|
+
[key in program]: typeof PufferInterfaceCampaigns | typeof ZkSyncInterfaceCampaigns | typeof ModeInterfaceCampaigns | typeof VicunaInterfaceCampaigns | typeof SonicmarketInterfaceCampaigns | typeof ReserveInterfaceCampaigns | typeof BeetsInterfaceCampaigns | typeof CeloInterfaceCampaigns | typeof EtherlinkInterfaceCampaigns | typeof SwapxInterfaceCampaigns | typeof AnglesInterfaceCampaigns | typeof RoninInterfaceCampaigns | typeof TACInterfaceCampaigns | typeof HypurrFiSubPayloads | typeof WorldChainInterfaceCampaigns | typeof StableJackInterfaceCampaigns | typeof CornInterfaceCampaigns | typeof GauntletCompoundInterfaceCampaigns | typeof YieldNetCampaigns | typeof TermMaxInterfaceCampaigns | typeof MorphoUnichainInterfaceCampaigns | typeof katanaCampaignsInterface | typeof LiskInterfaceCampaigns | typeof stabilityCampaignsInterface;
|
2487
2519
|
};
|
2488
2520
|
export {};
|
@@ -22,11 +22,11 @@ export declare const ProtocolController: Elysia<"/protocols", {
|
|
22
22
|
name?: string | undefined;
|
23
23
|
ids?: string[] | undefined;
|
24
24
|
id?: string | undefined;
|
25
|
-
items?: number | undefined;
|
26
25
|
tags?: string[] | undefined;
|
27
|
-
page?: number | undefined;
|
28
26
|
test?: boolean | undefined;
|
29
27
|
opportunityTag?: string | undefined;
|
28
|
+
items: number;
|
29
|
+
page: number;
|
30
30
|
};
|
31
31
|
headers: unknown;
|
32
32
|
response: {
|
@@ -61,11 +61,11 @@ export declare const ProtocolController: Elysia<"/protocols", {
|
|
61
61
|
name?: string | undefined;
|
62
62
|
ids?: string[] | undefined;
|
63
63
|
id?: string | undefined;
|
64
|
-
items?: number | undefined;
|
65
64
|
tags?: string[] | undefined;
|
66
|
-
page?: number | undefined;
|
67
65
|
test?: boolean | undefined;
|
68
66
|
opportunityTag?: string | undefined;
|
67
|
+
items: number;
|
68
|
+
page: number;
|
69
69
|
};
|
70
70
|
headers: unknown;
|
71
71
|
response: {
|
@@ -29,8 +29,8 @@ export declare const GetProtocolsQueryDto: import("@sinclair/typebox").TObject<{
|
|
29
29
|
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
30
30
|
tags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
31
31
|
opportunityTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
32
|
-
page: import("@sinclair/typebox").
|
33
|
-
items: import("@sinclair/typebox").
|
32
|
+
page: import("@sinclair/typebox").TNumber;
|
33
|
+
items: import("@sinclair/typebox").TNumber;
|
34
34
|
}>;
|
35
35
|
export declare const GetProtocolParamsDto: import("@sinclair/typebox").TObject<{
|
36
36
|
id: import("@sinclair/typebox").TString;
|
@@ -19,10 +19,10 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
19
19
|
body: unknown;
|
20
20
|
params: {};
|
21
21
|
query: {
|
22
|
-
items?: number | undefined;
|
23
|
-
page?: number | undefined;
|
24
22
|
campaignId: string;
|
25
23
|
chainId: number;
|
24
|
+
items: number;
|
25
|
+
page: number;
|
26
26
|
};
|
27
27
|
headers: unknown;
|
28
28
|
response: {
|
@@ -44,10 +44,10 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
44
44
|
body: unknown;
|
45
45
|
params: {};
|
46
46
|
query: {
|
47
|
-
items?: number | undefined;
|
48
|
-
page?: number | undefined;
|
49
47
|
campaignId: string;
|
50
48
|
chainId: number;
|
49
|
+
items: number;
|
50
|
+
page: number;
|
51
51
|
};
|
52
52
|
headers: unknown;
|
53
53
|
response: {
|
@@ -73,10 +73,10 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
73
73
|
body: unknown;
|
74
74
|
params: {};
|
75
75
|
query: {
|
76
|
-
items?: number | undefined;
|
77
|
-
page?: number | undefined;
|
78
76
|
campaignId: string;
|
79
77
|
chainId: number;
|
78
|
+
items: number;
|
79
|
+
page: number;
|
80
80
|
};
|
81
81
|
headers: unknown;
|
82
82
|
response: {
|
@@ -106,8 +106,8 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
106
106
|
campaignId: string;
|
107
107
|
};
|
108
108
|
query: {
|
109
|
-
items
|
110
|
-
page
|
109
|
+
items: number;
|
110
|
+
page: number;
|
111
111
|
};
|
112
112
|
headers: unknown;
|
113
113
|
response: {
|
@@ -142,8 +142,8 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
142
142
|
campaignId: string;
|
143
143
|
};
|
144
144
|
query: {
|
145
|
-
items
|
146
|
-
page
|
145
|
+
items: number;
|
146
|
+
page: number;
|
147
147
|
};
|
148
148
|
headers: unknown;
|
149
149
|
response: {
|
@@ -177,8 +177,8 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
177
177
|
campaignId: string;
|
178
178
|
};
|
179
179
|
query: {
|
180
|
-
items
|
181
|
-
page
|
180
|
+
items: number;
|
181
|
+
page: number;
|
182
182
|
};
|
183
183
|
headers: unknown;
|
184
184
|
response: {
|
@@ -206,11 +206,11 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
206
206
|
params: {};
|
207
207
|
query: {
|
208
208
|
recipient?: string | undefined;
|
209
|
-
items?: number | undefined;
|
210
|
-
page?: number | undefined;
|
211
209
|
campaignIds?: string[] | undefined;
|
212
210
|
address: string;
|
213
211
|
chainId: number;
|
212
|
+
items: number;
|
213
|
+
page: number;
|
214
214
|
};
|
215
215
|
headers: unknown;
|
216
216
|
response: {
|
@@ -240,11 +240,11 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
240
240
|
params: {};
|
241
241
|
query: {
|
242
242
|
recipient?: string | undefined;
|
243
|
-
items?: number | undefined;
|
244
|
-
page?: number | undefined;
|
245
243
|
campaignIds?: string[] | undefined;
|
246
244
|
address: string;
|
247
245
|
chainId: number;
|
246
|
+
items: number;
|
247
|
+
page: number;
|
248
248
|
};
|
249
249
|
headers: unknown;
|
250
250
|
response: {
|
@@ -273,11 +273,11 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
273
273
|
params: {};
|
274
274
|
query: {
|
275
275
|
recipient?: string | undefined;
|
276
|
-
items?: number | undefined;
|
277
|
-
page?: number | undefined;
|
278
276
|
campaignIds?: string[] | undefined;
|
279
277
|
address: string;
|
280
278
|
chainId: number;
|
279
|
+
items: number;
|
280
|
+
page: number;
|
281
281
|
};
|
282
282
|
headers: unknown;
|
283
283
|
response: {
|
@@ -177,20 +177,20 @@ export declare const CampaignIdWithoutPageDto: import("@sinclair/typebox").TObje
|
|
177
177
|
export declare const CampaignIdDto: import("@sinclair/typebox").TObject<{
|
178
178
|
chainId: import("@sinclair/typebox").TNumber;
|
179
179
|
campaignId: import("@sinclair/typebox").TString;
|
180
|
-
page: import("@sinclair/typebox").
|
181
|
-
items: import("@sinclair/typebox").
|
180
|
+
page: import("@sinclair/typebox").TNumber;
|
181
|
+
items: import("@sinclair/typebox").TNumber;
|
182
182
|
}>;
|
183
183
|
export declare const TokenIdDto: import("@sinclair/typebox").TObject<{
|
184
184
|
chainId: import("@sinclair/typebox").TNumber;
|
185
185
|
address: import("@sinclair/typebox").TString;
|
186
186
|
recipient: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
187
187
|
campaignIds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
188
|
-
page: import("@sinclair/typebox").
|
189
|
-
items: import("@sinclair/typebox").
|
188
|
+
page: import("@sinclair/typebox").TNumber;
|
189
|
+
items: import("@sinclair/typebox").TNumber;
|
190
190
|
}>;
|
191
191
|
export declare const CampaignRewardsDto: import("@sinclair/typebox").TObject<{
|
192
|
-
page: import("@sinclair/typebox").
|
193
|
-
items: import("@sinclair/typebox").
|
192
|
+
page: import("@sinclair/typebox").TNumber;
|
193
|
+
items: import("@sinclair/typebox").TNumber;
|
194
194
|
}>;
|
195
195
|
export declare const UserRewardV3Dto: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
196
196
|
symbol: import("@sinclair/typebox").TString;
|