@merkl/api 0.10.127 → 0.10.128
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/package.json +4 -2
- package/dist/src/backgroundJobs/jobs/campaignsCacheUpdater.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/health.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/opportunityUpdater.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/priceUpdater.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/sync.d.ts +2 -1
- package/dist/src/eden/index.d.ts +129 -116
- package/dist/src/hooks/checkQueryAddressValidity.d.ts +1 -0
- package/dist/src/hooks/checkQueryChainIdValidity.d.ts +1 -0
- package/dist/src/index.d.ts +81 -76
- package/dist/src/internal/controllers/endingCampaigns.d.ts +2 -1
- package/dist/src/internal/controllers/unclaimed.d.ts +2 -1
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +3 -2
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +5 -4
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +7 -6
- package/dist/src/modules/v4/chain/chain.controller.d.ts +4 -3
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +1 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +3 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +10 -10
- package/dist/src/modules/v4/participate/participate.controller.d.ts +5 -4
- package/dist/src/modules/v4/price/price.controller.d.ts +6 -5
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +8 -5
- package/dist/src/modules/v4/reward/reward.controller.d.ts +20 -13
- package/dist/src/modules/v4/router.d.ts +79 -70
- package/dist/src/modules/v4/status/status.controller.d.ts +6 -5
- package/dist/src/modules/v4/token/token.controller.d.ts +6 -6
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +2 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +8 -5
- package/dist/src/plugins/error-handling.plugin.d.ts +1 -0
- package/dist/src/plugins/logger.plugin.d.ts +1 -0
- package/dist/src/routes/v1/allowances.d.ts +3 -2
- package/dist/src/routes/v1/balances.d.ts +3 -2
- package/dist/src/routes/v1/prices.d.ts +2 -1
- package/dist/src/routes/v1/tokens.d.ts +2 -1
- package/dist/src/routes/v2/merkl.d.ts +2 -1
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +84 -78
- package/dist/src/routes/v3/app.d.ts +3 -2
- package/dist/src/routes/v3/blacklist.d.ts +82 -77
- package/dist/src/routes/v3/campaign/delay.d.ts +6 -1
- package/dist/src/routes/v3/campaignClaims.d.ts +2 -1
- package/dist/src/routes/v3/campaignReport.d.ts +2 -1
- package/dist/src/routes/v3/campaignUnclaimed.d.ts +3 -2
- package/dist/src/routes/v3/campaigns.d.ts +84 -78
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +2 -1
- package/dist/src/routes/v3/campaignsInfo.d.ts +87 -78
- package/dist/src/routes/v3/campaignsRewardsReport.d.ts +2 -1
- package/dist/src/routes/v3/claims.d.ts +2 -1
- package/dist/src/routes/v3/compoundV2.d.ts +12 -2
- package/dist/src/routes/v3/createCampaign.d.ts +2 -1
- package/dist/src/routes/v3/dolomite.d.ts +2 -1
- package/dist/src/routes/v3/euler.d.ts +2 -1
- package/dist/src/routes/v3/exports/campaigns.d.ts +2 -1
- package/dist/src/routes/v3/fetch.d.ts +2 -1
- package/dist/src/routes/v3/health.d.ts +2 -1
- package/dist/src/routes/v3/lostyield.d.ts +2 -1
- package/dist/src/routes/v3/merkl.d.ts +2 -1
- package/dist/src/routes/v3/morphoMarkets.d.ts +2 -1
- package/dist/src/routes/v3/morphoVaults.d.ts +2 -1
- package/dist/src/routes/v3/multiChainPositions.d.ts +84 -78
- package/dist/src/routes/v3/opportunity.d.ts +86 -96
- package/dist/src/routes/v3/overview.d.ts +22 -4
- package/dist/src/routes/v3/parse.d.ts +2 -1
- package/dist/src/routes/v3/payload.d.ts +2 -1
- package/dist/src/routes/v3/poolInfo.d.ts +2 -1
- package/dist/src/routes/v3/positions.d.ts +85 -79
- package/dist/src/routes/v3/radiant.d.ts +2 -1
- package/dist/src/routes/v3/recipients.d.ts +2 -1
- package/dist/src/routes/v3/rewards.d.ts +111 -78
- package/dist/src/routes/v3/rewardsReport.d.ts +2 -1
- package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -1
- package/dist/src/routes/v3/silo.d.ts +2 -1
- package/dist/src/routes/v3/token.d.ts +3 -2
- package/dist/src/routes/v3/tokenUnclaimed.d.ts +2 -1
- package/dist/src/routes/v3/twt/participants.d.ts +2 -1
- package/dist/src/routes/v3/updates.d.ts +91 -78
- package/dist/src/routes/v3/userRewards.d.ts +83 -78
- package/dist/src/utils/error.d.ts +1 -0
- package/dist/src/utils/validation.d.ts +3 -3
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +4 -2
- package/dist/src/utils/trace.d.ts +0 -26
@@ -10,12 +10,13 @@ export declare const uniswapV4Controller: Elysia<"", false, {
|
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
|
+
macroFn: {};
|
13
14
|
}, {
|
14
15
|
uniswapV4: {
|
15
16
|
pools: {
|
16
17
|
get: {
|
17
18
|
body: unknown;
|
18
|
-
params:
|
19
|
+
params: {};
|
19
20
|
query: {
|
20
21
|
chainId: number;
|
21
22
|
};
|
@@ -11,12 +11,13 @@ export declare const UserController: Elysia<"/users", false, {
|
|
11
11
|
}, {
|
12
12
|
schema: {};
|
13
13
|
macro: {};
|
14
|
+
macroFn: {};
|
14
15
|
}, {
|
15
16
|
users: {
|
16
17
|
index: {
|
17
18
|
get: {
|
18
19
|
body: unknown;
|
19
|
-
params:
|
20
|
+
params: {};
|
20
21
|
query: {
|
21
22
|
items?: number | undefined;
|
22
23
|
tags?: string[] | undefined;
|
@@ -38,7 +39,7 @@ export declare const UserController: Elysia<"/users", false, {
|
|
38
39
|
tags: {
|
39
40
|
get: {
|
40
41
|
body: unknown;
|
41
|
-
params:
|
42
|
+
params: {};
|
42
43
|
query: unknown;
|
43
44
|
headers: {
|
44
45
|
authorization: string;
|
@@ -57,7 +58,9 @@ export declare const UserController: Elysia<"/users", false, {
|
|
57
58
|
":address": {
|
58
59
|
get: {
|
59
60
|
body: unknown;
|
60
|
-
params:
|
61
|
+
params: {
|
62
|
+
address: string;
|
63
|
+
};
|
61
64
|
query: unknown;
|
62
65
|
headers: unknown;
|
63
66
|
response: {
|
@@ -295,7 +298,7 @@ export declare const UserController: Elysia<"/users", false, {
|
|
295
298
|
tags: string[];
|
296
299
|
address: string;
|
297
300
|
};
|
298
|
-
params:
|
301
|
+
params: {};
|
299
302
|
query: unknown;
|
300
303
|
headers: {
|
301
304
|
authorization: string;
|
@@ -314,7 +317,7 @@ export declare const UserController: Elysia<"/users", false, {
|
|
314
317
|
sync: {
|
315
318
|
post: {
|
316
319
|
body: unknown;
|
317
|
-
params:
|
320
|
+
params: {};
|
318
321
|
query: unknown;
|
319
322
|
headers: {
|
320
323
|
authorization: string;
|
@@ -32,11 +32,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
32
32
|
}, {
|
33
33
|
schema: {};
|
34
34
|
macro: {};
|
35
|
+
macroFn: {};
|
35
36
|
}, {
|
36
37
|
index: {
|
37
38
|
get: {
|
38
39
|
body: unknown;
|
39
|
-
params:
|
40
|
+
params: {};
|
40
41
|
query: {
|
41
42
|
additionalTokenAddresses?: string[] | undefined;
|
42
43
|
chainId: number;
|
@@ -45,7 +46,7 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
45
46
|
headers: unknown;
|
46
47
|
response: {
|
47
48
|
200: {
|
48
|
-
[
|
49
|
+
[x: string]: {
|
49
50
|
symbol: string;
|
50
51
|
balance: string;
|
51
52
|
decimals: number;
|
@@ -15,11 +15,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
15
15
|
}, {
|
16
16
|
schema: {};
|
17
17
|
macro: {};
|
18
|
+
macroFn: {};
|
18
19
|
}, {
|
19
20
|
index: {
|
20
21
|
get: {
|
21
22
|
body: unknown;
|
22
|
-
params:
|
23
|
+
params: {};
|
23
24
|
query: {
|
24
25
|
additionalTokenAddresses?: string[] | undefined;
|
25
26
|
chainId: number;
|
@@ -28,7 +29,7 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
28
29
|
headers: unknown;
|
29
30
|
response: {
|
30
31
|
200: {
|
31
|
-
[
|
32
|
+
[x: string]: {
|
32
33
|
symbol: string;
|
33
34
|
balance: string;
|
34
35
|
decimals: number;
|
@@ -14,11 +14,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
14
14
|
}, {
|
15
15
|
schema: {};
|
16
16
|
macro: {};
|
17
|
+
macroFn: {};
|
17
18
|
}, {
|
18
19
|
index: {
|
19
20
|
get: {
|
20
21
|
body: unknown;
|
21
|
-
params:
|
22
|
+
params: {};
|
22
23
|
query: {};
|
23
24
|
headers: unknown;
|
24
25
|
response: {
|
@@ -19,11 +19,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
19
19
|
}, {
|
20
20
|
schema: {};
|
21
21
|
macro: {};
|
22
|
+
macroFn: {};
|
22
23
|
}, {
|
23
24
|
index: {
|
24
25
|
get: {
|
25
26
|
body: unknown;
|
26
|
-
params:
|
27
|
+
params: {};
|
27
28
|
query: {};
|
28
29
|
headers: unknown;
|
29
30
|
response: {
|
@@ -20,11 +20,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
20
20
|
}, {
|
21
21
|
schema: {};
|
22
22
|
macro: {};
|
23
|
+
macroFn: {};
|
23
24
|
}, {
|
24
25
|
index: {
|
25
26
|
get: {
|
26
27
|
body: unknown;
|
27
|
-
params:
|
28
|
+
params: {};
|
28
29
|
query: {
|
29
30
|
user?: string | undefined;
|
30
31
|
onlyLive?: string | undefined;
|