@merkl/api 0.10.126 → 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 +237 -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 +117 -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/campaign/campaign.service.d.ts +8 -0
- 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 +46 -10
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +57 -6
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +48 -0
- 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/reward/reward.model.d.ts +4 -1
- package/dist/src/modules/v4/router.d.ts +115 -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 +120 -78
- package/dist/src/routes/v3/app.d.ts +3 -2
- package/dist/src/routes/v3/blacklist.d.ts +118 -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 +120 -78
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +2 -1
- package/dist/src/routes/v3/campaignsInfo.d.ts +123 -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 +120 -78
- package/dist/src/routes/v3/opportunity.d.ts +122 -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 +121 -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 +147 -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 +127 -78
- package/dist/src/routes/v3/userRewards.d.ts +119 -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
@@ -1,5 +1,4 @@
|
|
1
1
|
import { type Elysia } from "elysia";
|
2
|
-
import type { OverviewReturnType } from "../../types/returnTypes";
|
3
2
|
export declare const query: import("@sinclair/typebox").TObject<{
|
4
3
|
chainId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("elysia").TSchema[]>>;
|
5
4
|
}>;
|
@@ -34,17 +33,36 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
34
33
|
}, {
|
35
34
|
schema: {};
|
36
35
|
macro: {};
|
36
|
+
macroFn: {};
|
37
37
|
}, {
|
38
38
|
index: {
|
39
39
|
get: {
|
40
40
|
body: unknown;
|
41
|
-
params:
|
41
|
+
params: {};
|
42
42
|
query: {
|
43
|
-
chainId?:
|
43
|
+
chainId?: undefined;
|
44
44
|
};
|
45
45
|
headers: unknown;
|
46
46
|
response: {
|
47
|
-
200:
|
47
|
+
200: {
|
48
|
+
disputes: {
|
49
|
+
[chainId: number]: {
|
50
|
+
root: string;
|
51
|
+
endOfDisputePeriod: number;
|
52
|
+
disputeLive: boolean;
|
53
|
+
treeRoot: string;
|
54
|
+
lastTreeRoot: string;
|
55
|
+
};
|
56
|
+
};
|
57
|
+
rewardTokens: {
|
58
|
+
[chainId: number]: {
|
59
|
+
token: string;
|
60
|
+
minimumAmountPerEpoch: number;
|
61
|
+
decimals: number;
|
62
|
+
symbol: string;
|
63
|
+
}[];
|
64
|
+
};
|
65
|
+
};
|
48
66
|
};
|
49
67
|
};
|
50
68
|
};
|
@@ -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
|
index?: number | undefined;
|
25
26
|
chainId: 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
|
signature?: any;
|
25
26
|
config: string;
|
@@ -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
|
chainId: number;
|
24
25
|
poolAddress: string;
|