@merkl/api 0.10.127 → 0.10.128
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/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 BlacklistController: Elysia<"/blacklists", false, {
|
|
|
10
10
|
}, {
|
|
11
11
|
schema: {};
|
|
12
12
|
macro: {};
|
|
13
|
+
macroFn: {};
|
|
13
14
|
}, {
|
|
14
15
|
blacklists: {
|
|
15
16
|
index: {
|
|
16
17
|
get: {
|
|
17
18
|
body: unknown;
|
|
18
|
-
params:
|
|
19
|
+
params: {};
|
|
19
20
|
query: unknown;
|
|
20
21
|
headers: unknown;
|
|
21
22
|
response: {
|
|
@@ -36,12 +37,12 @@ export declare const BlacklistController: Elysia<"/blacklists", false, {
|
|
|
36
37
|
all: {
|
|
37
38
|
get: {
|
|
38
39
|
body: unknown;
|
|
39
|
-
params:
|
|
40
|
+
params: {};
|
|
40
41
|
query: unknown;
|
|
41
42
|
headers: unknown;
|
|
42
43
|
response: {
|
|
43
44
|
200: {
|
|
44
|
-
[
|
|
45
|
+
[x: string]: boolean;
|
|
45
46
|
};
|
|
46
47
|
};
|
|
47
48
|
};
|
|
@@ -75,7 +76,7 @@ export declare const BlacklistController: Elysia<"/blacklists", false, {
|
|
|
75
76
|
poolAddress: string;
|
|
76
77
|
userAddress: string;
|
|
77
78
|
};
|
|
78
|
-
params:
|
|
79
|
+
params: {};
|
|
79
80
|
query: unknown;
|
|
80
81
|
headers: {
|
|
81
82
|
authorization: string;
|
|
@@ -10,6 +10,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
|
10
10
|
}, {
|
|
11
11
|
schema: {};
|
|
12
12
|
macro: {};
|
|
13
|
+
macroFn: {};
|
|
13
14
|
}, {
|
|
14
15
|
campaigns: {
|
|
15
16
|
index: {
|
|
@@ -29,7 +30,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
|
29
30
|
rewardTokenAddress: string;
|
|
30
31
|
opportunityIdentifier: string;
|
|
31
32
|
};
|
|
32
|
-
params:
|
|
33
|
+
params: {};
|
|
33
34
|
query: unknown;
|
|
34
35
|
headers: {
|
|
35
36
|
authorization: string;
|
|
@@ -57,7 +58,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
|
57
58
|
index: {
|
|
58
59
|
get: {
|
|
59
60
|
body: unknown;
|
|
60
|
-
params:
|
|
61
|
+
params: {};
|
|
61
62
|
query: {
|
|
62
63
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
|
63
64
|
items?: number | undefined;
|
|
@@ -117,7 +118,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
|
117
118
|
count: {
|
|
118
119
|
get: {
|
|
119
120
|
body: unknown;
|
|
120
|
-
params:
|
|
121
|
+
params: {};
|
|
121
122
|
query: {
|
|
122
123
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
|
123
124
|
items?: number | undefined;
|
|
@@ -143,7 +144,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
|
143
144
|
index: {
|
|
144
145
|
get: {
|
|
145
146
|
body: unknown;
|
|
146
|
-
params:
|
|
147
|
+
params: {};
|
|
147
148
|
query: {
|
|
148
149
|
chainId: number;
|
|
149
150
|
};
|
|
@@ -165,7 +166,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
|
165
166
|
count: {
|
|
166
167
|
get: {
|
|
167
168
|
body: unknown;
|
|
168
|
-
params:
|
|
169
|
+
params: {};
|
|
169
170
|
query: {
|
|
170
171
|
chainId: number;
|
|
171
172
|
};
|
|
@@ -181,7 +182,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
|
181
182
|
index: {
|
|
182
183
|
post: {
|
|
183
184
|
body: unknown;
|
|
184
|
-
params:
|
|
185
|
+
params: {};
|
|
185
186
|
query: {
|
|
186
187
|
chainId: number;
|
|
187
188
|
};
|
|
@@ -10,6 +10,7 @@ export declare const ChainController: Elysia<"/chains", false, {
|
|
|
10
10
|
}, {
|
|
11
11
|
schema: {};
|
|
12
12
|
macro: {};
|
|
13
|
+
macroFn: {};
|
|
13
14
|
}, {
|
|
14
15
|
chains: {
|
|
15
16
|
":chainId": {
|
|
@@ -39,7 +40,7 @@ export declare const ChainController: Elysia<"/chains", false, {
|
|
|
39
40
|
index: {
|
|
40
41
|
get: {
|
|
41
42
|
body: unknown;
|
|
42
|
-
params:
|
|
43
|
+
params: {};
|
|
43
44
|
query: {
|
|
44
45
|
search?: string | undefined;
|
|
45
46
|
};
|
|
@@ -63,7 +64,7 @@ export declare const ChainController: Elysia<"/chains", false, {
|
|
|
63
64
|
count: {
|
|
64
65
|
get: {
|
|
65
66
|
body: unknown;
|
|
66
|
-
params:
|
|
67
|
+
params: {};
|
|
67
68
|
query: {
|
|
68
69
|
search?: string | undefined;
|
|
69
70
|
};
|
|
@@ -81,7 +82,7 @@ export declare const ChainController: Elysia<"/chains", false, {
|
|
|
81
82
|
url: string;
|
|
82
83
|
chainId: number;
|
|
83
84
|
};
|
|
84
|
-
params:
|
|
85
|
+
params: {};
|
|
85
86
|
query: unknown;
|
|
86
87
|
headers: {
|
|
87
88
|
authorization: string;
|
|
@@ -10,12 +10,13 @@ export declare const MerklRootController: Elysia<"/roots", false, {
|
|
|
10
10
|
}, {
|
|
11
11
|
schema: {};
|
|
12
12
|
macro: {};
|
|
13
|
+
macroFn: {};
|
|
13
14
|
}, {
|
|
14
15
|
roots: {
|
|
15
16
|
timestamps: {
|
|
16
17
|
get: {
|
|
17
18
|
body: unknown;
|
|
18
|
-
params:
|
|
19
|
+
params: {};
|
|
19
20
|
query: {
|
|
20
21
|
chainId: number;
|
|
21
22
|
fromTimestamp: string;
|
|
@@ -38,7 +39,7 @@ export declare const MerklRootController: Elysia<"/roots", false, {
|
|
|
38
39
|
index: {
|
|
39
40
|
get: {
|
|
40
41
|
body: unknown;
|
|
41
|
-
params:
|
|
42
|
+
params: {};
|
|
42
43
|
query: unknown;
|
|
43
44
|
headers: unknown;
|
|
44
45
|
response: {
|
|
@@ -10,6 +10,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
|
|
|
10
10
|
}, {
|
|
11
11
|
schema: {};
|
|
12
12
|
macro: {};
|
|
13
|
+
macroFn: {};
|
|
13
14
|
}, {
|
|
14
15
|
opportunities: {
|
|
15
16
|
index: {
|
|
@@ -28,7 +29,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
|
|
|
28
29
|
protocols: string[];
|
|
29
30
|
mainProtocol: string;
|
|
30
31
|
};
|
|
31
|
-
params:
|
|
32
|
+
params: {};
|
|
32
33
|
query: unknown;
|
|
33
34
|
headers: {
|
|
34
35
|
authorization: string;
|
|
@@ -149,7 +150,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
|
|
|
149
150
|
query: unknown;
|
|
150
151
|
headers: unknown;
|
|
151
152
|
response: {
|
|
152
|
-
200:
|
|
153
|
+
200: {
|
|
153
154
|
aprRecord: {
|
|
154
155
|
cumulated: number;
|
|
155
156
|
timestamp: bigint;
|
|
@@ -231,7 +232,6 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
|
|
|
231
232
|
tvl: number;
|
|
232
233
|
apr: number;
|
|
233
234
|
dailyRewards: number;
|
|
234
|
-
} & {
|
|
235
235
|
campaigns: ({
|
|
236
236
|
params: any;
|
|
237
237
|
chain: {
|
|
@@ -268,7 +268,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
|
|
|
268
268
|
opportunityId: string;
|
|
269
269
|
creatorAddress: string;
|
|
270
270
|
} | null)[];
|
|
271
|
-
}
|
|
271
|
+
} | null | undefined;
|
|
272
272
|
};
|
|
273
273
|
};
|
|
274
274
|
};
|
|
@@ -279,9 +279,9 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
|
|
|
279
279
|
index: {
|
|
280
280
|
get: {
|
|
281
281
|
body: unknown;
|
|
282
|
-
params:
|
|
282
|
+
params: {};
|
|
283
283
|
query: {
|
|
284
|
-
sort?:
|
|
284
|
+
sort?: undefined;
|
|
285
285
|
name?: string | undefined;
|
|
286
286
|
tokens?: string | undefined;
|
|
287
287
|
status?: string | undefined;
|
|
@@ -291,7 +291,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
|
|
|
291
291
|
page?: number | undefined;
|
|
292
292
|
action?: string | undefined;
|
|
293
293
|
mainProtocolId?: string | undefined;
|
|
294
|
-
order?:
|
|
294
|
+
order?: undefined;
|
|
295
295
|
};
|
|
296
296
|
headers: unknown;
|
|
297
297
|
response: {
|
|
@@ -387,9 +387,9 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
|
|
|
387
387
|
count: {
|
|
388
388
|
get: {
|
|
389
389
|
body: unknown;
|
|
390
|
-
params:
|
|
390
|
+
params: {};
|
|
391
391
|
query: {
|
|
392
|
-
sort?:
|
|
392
|
+
sort?: undefined;
|
|
393
393
|
name?: string | undefined;
|
|
394
394
|
tokens?: string | undefined;
|
|
395
395
|
status?: string | undefined;
|
|
@@ -399,7 +399,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
|
|
|
399
399
|
page?: number | undefined;
|
|
400
400
|
action?: string | undefined;
|
|
401
401
|
mainProtocolId?: string | undefined;
|
|
402
|
-
order?:
|
|
402
|
+
order?: undefined;
|
|
403
403
|
};
|
|
404
404
|
headers: unknown;
|
|
405
405
|
response: {
|
|
@@ -10,12 +10,13 @@ export declare const ParticipateController: Elysia<"/participate", false, {
|
|
|
10
10
|
}, {
|
|
11
11
|
schema: {};
|
|
12
12
|
macro: {};
|
|
13
|
+
macroFn: {};
|
|
13
14
|
}, {
|
|
14
15
|
participate: {
|
|
15
16
|
targets: {
|
|
16
17
|
get: {
|
|
17
18
|
body: unknown;
|
|
18
|
-
params:
|
|
19
|
+
params: {};
|
|
19
20
|
query: {
|
|
20
21
|
identifier?: string | undefined;
|
|
21
22
|
chainId: number;
|
|
@@ -33,7 +34,7 @@ export declare const ParticipateController: Elysia<"/participate", false, {
|
|
|
33
34
|
protocols: {
|
|
34
35
|
get: {
|
|
35
36
|
body: unknown;
|
|
36
|
-
params:
|
|
37
|
+
params: {};
|
|
37
38
|
query: {
|
|
38
39
|
chainId?: number | undefined;
|
|
39
40
|
};
|
|
@@ -55,7 +56,7 @@ export declare const ParticipateController: Elysia<"/participate", false, {
|
|
|
55
56
|
quote: {
|
|
56
57
|
get: {
|
|
57
58
|
body: unknown;
|
|
58
|
-
params:
|
|
59
|
+
params: {};
|
|
59
60
|
query: {
|
|
60
61
|
identifier: string;
|
|
61
62
|
chainId: number;
|
|
@@ -81,7 +82,7 @@ export declare const ParticipateController: Elysia<"/participate", false, {
|
|
|
81
82
|
transaction: {
|
|
82
83
|
get: {
|
|
83
84
|
body: unknown;
|
|
84
|
-
params:
|
|
85
|
+
params: {};
|
|
85
86
|
query: {
|
|
86
87
|
identifier: string;
|
|
87
88
|
chainId: number;
|
|
@@ -10,17 +10,18 @@ export declare const PriceController: Elysia<"/prices", false, {
|
|
|
10
10
|
}, {
|
|
11
11
|
schema: {};
|
|
12
12
|
macro: {};
|
|
13
|
+
macroFn: {};
|
|
13
14
|
}, {
|
|
14
15
|
prices: {
|
|
15
16
|
index: {
|
|
16
17
|
get: {
|
|
17
18
|
body: unknown;
|
|
18
|
-
params:
|
|
19
|
+
params: {};
|
|
19
20
|
query: unknown;
|
|
20
21
|
headers: unknown;
|
|
21
22
|
response: {
|
|
22
23
|
200: {
|
|
23
|
-
[
|
|
24
|
+
[x: string]: number;
|
|
24
25
|
};
|
|
25
26
|
};
|
|
26
27
|
};
|
|
@@ -29,7 +30,7 @@ export declare const PriceController: Elysia<"/prices", false, {
|
|
|
29
30
|
array: {
|
|
30
31
|
get: {
|
|
31
32
|
body: unknown;
|
|
32
|
-
params:
|
|
33
|
+
params: {};
|
|
33
34
|
query: unknown;
|
|
34
35
|
headers: unknown;
|
|
35
36
|
response: {
|
|
@@ -61,7 +62,7 @@ export declare const PriceController: Elysia<"/prices", false, {
|
|
|
61
62
|
index: {
|
|
62
63
|
get: {
|
|
63
64
|
body: unknown;
|
|
64
|
-
params:
|
|
65
|
+
params: {};
|
|
65
66
|
query: unknown;
|
|
66
67
|
headers: unknown;
|
|
67
68
|
response: {
|
|
@@ -107,7 +108,7 @@ export declare const PriceController: Elysia<"/prices", false, {
|
|
|
107
108
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
|
108
109
|
args: {};
|
|
109
110
|
};
|
|
110
|
-
params:
|
|
111
|
+
params: {};
|
|
111
112
|
query: unknown;
|
|
112
113
|
headers: {
|
|
113
114
|
authorization: string;
|
|
@@ -10,22 +10,25 @@ export declare const ProtocolController: Elysia<"/protocols", false, {
|
|
|
10
10
|
}, {
|
|
11
11
|
schema: {};
|
|
12
12
|
macro: {};
|
|
13
|
+
macroFn: {};
|
|
13
14
|
}, {
|
|
14
15
|
protocols: {
|
|
15
16
|
":id": {
|
|
16
17
|
get: {
|
|
17
18
|
body: unknown;
|
|
18
|
-
params:
|
|
19
|
+
params: {
|
|
20
|
+
id: string;
|
|
21
|
+
};
|
|
19
22
|
query: unknown;
|
|
20
23
|
headers: unknown;
|
|
21
24
|
response: {
|
|
22
|
-
200:
|
|
25
|
+
200: {
|
|
23
26
|
name: string;
|
|
24
27
|
url: string;
|
|
25
28
|
description: string;
|
|
26
29
|
tags: import("../../../../database/api/.generated").$Enums.ProtocolTag[];
|
|
27
30
|
icon: string;
|
|
28
|
-
}
|
|
31
|
+
} | null;
|
|
29
32
|
};
|
|
30
33
|
};
|
|
31
34
|
};
|
|
@@ -35,7 +38,7 @@ export declare const ProtocolController: Elysia<"/protocols", false, {
|
|
|
35
38
|
index: {
|
|
36
39
|
get: {
|
|
37
40
|
body: unknown;
|
|
38
|
-
params:
|
|
41
|
+
params: {};
|
|
39
42
|
query: {
|
|
40
43
|
name?: string | undefined;
|
|
41
44
|
id?: string[] | undefined;
|
|
@@ -61,7 +64,7 @@ export declare const ProtocolController: Elysia<"/protocols", false, {
|
|
|
61
64
|
count: {
|
|
62
65
|
get: {
|
|
63
66
|
body: unknown;
|
|
64
|
-
params:
|
|
67
|
+
params: {};
|
|
65
68
|
query: {
|
|
66
69
|
name?: string | undefined;
|
|
67
70
|
id?: string[] | undefined;
|
|
@@ -10,12 +10,13 @@ export declare const RewardController: Elysia<"/rewards", false, {
|
|
|
10
10
|
}, {
|
|
11
11
|
schema: {};
|
|
12
12
|
macro: {};
|
|
13
|
+
macroFn: {};
|
|
13
14
|
}, {
|
|
14
15
|
rewards: {
|
|
15
16
|
index: {
|
|
16
17
|
get: {
|
|
17
18
|
body: unknown;
|
|
18
|
-
params:
|
|
19
|
+
params: {};
|
|
19
20
|
query: {
|
|
20
21
|
items?: number | undefined;
|
|
21
22
|
page?: number | undefined;
|
|
@@ -34,7 +35,7 @@ export declare const RewardController: Elysia<"/rewards", false, {
|
|
|
34
35
|
total: {
|
|
35
36
|
get: {
|
|
36
37
|
body: unknown;
|
|
37
|
-
params:
|
|
38
|
+
params: {};
|
|
38
39
|
query: {
|
|
39
40
|
items?: number | undefined;
|
|
40
41
|
page?: number | undefined;
|
|
@@ -62,13 +63,15 @@ export declare const RewardController: Elysia<"/rewards", false, {
|
|
|
62
63
|
proofs: string[];
|
|
63
64
|
rewardToken: string;
|
|
64
65
|
}[];
|
|
65
|
-
params:
|
|
66
|
+
params: {};
|
|
66
67
|
query: unknown;
|
|
67
68
|
headers: {
|
|
68
69
|
authorization: string;
|
|
69
70
|
};
|
|
70
71
|
response: {
|
|
71
|
-
200:
|
|
72
|
+
200: {
|
|
73
|
+
count: number;
|
|
74
|
+
};
|
|
72
75
|
};
|
|
73
76
|
};
|
|
74
77
|
};
|
|
@@ -94,13 +97,15 @@ export declare const RewardController: Elysia<"/rewards", false, {
|
|
|
94
97
|
claimed: string;
|
|
95
98
|
}[];
|
|
96
99
|
}[];
|
|
97
|
-
params:
|
|
100
|
+
params: {};
|
|
98
101
|
query: unknown;
|
|
99
102
|
headers: {
|
|
100
103
|
authorization: string;
|
|
101
104
|
};
|
|
102
105
|
response: {
|
|
103
|
-
200:
|
|
106
|
+
200: {
|
|
107
|
+
count: number;
|
|
108
|
+
} | undefined;
|
|
104
109
|
};
|
|
105
110
|
};
|
|
106
111
|
};
|
|
@@ -130,7 +135,7 @@ export declare const RewardController: Elysia<"/rewards", false, {
|
|
|
130
135
|
recipient: string;
|
|
131
136
|
}[];
|
|
132
137
|
};
|
|
133
|
-
params:
|
|
138
|
+
params: {};
|
|
134
139
|
query: unknown;
|
|
135
140
|
headers: {
|
|
136
141
|
authorization: string;
|
|
@@ -146,7 +151,7 @@ export declare const RewardController: Elysia<"/rewards", false, {
|
|
|
146
151
|
count: {
|
|
147
152
|
get: {
|
|
148
153
|
body: unknown;
|
|
149
|
-
params:
|
|
154
|
+
params: {};
|
|
150
155
|
query: {
|
|
151
156
|
items?: number | undefined;
|
|
152
157
|
page?: number | undefined;
|
|
@@ -168,16 +173,18 @@ export declare const RewardController: Elysia<"/rewards", false, {
|
|
|
168
173
|
chains: {
|
|
169
174
|
get: {
|
|
170
175
|
body: unknown;
|
|
171
|
-
params:
|
|
176
|
+
params: {};
|
|
172
177
|
query: unknown;
|
|
173
178
|
headers: {
|
|
174
179
|
authorization: string;
|
|
175
180
|
};
|
|
176
181
|
response: {
|
|
177
|
-
200:
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
182
|
+
200: {
|
|
183
|
+
[x: string]: {
|
|
184
|
+
breakdown: number;
|
|
185
|
+
rewards: Record<string, number>;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
181
188
|
};
|
|
182
189
|
};
|
|
183
190
|
};
|