@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
package/dist/src/eden/index.d.ts
CHANGED
@@ -53,6 +53,18 @@ declare const eden: {
|
|
53
53
|
value: number;
|
54
54
|
campaignId: string;
|
55
55
|
dailyRewardsRecordId: string;
|
56
|
+
token: {
|
57
|
+
symbol: string;
|
58
|
+
name: string | null;
|
59
|
+
id: string;
|
60
|
+
chainId: number;
|
61
|
+
address: string;
|
62
|
+
icon: string;
|
63
|
+
decimals: number;
|
64
|
+
verified: boolean;
|
65
|
+
price: number | null;
|
66
|
+
};
|
67
|
+
amount: bigint;
|
56
68
|
}[];
|
57
69
|
};
|
58
70
|
id: string;
|
@@ -98,7 +110,7 @@ declare const eden: {
|
|
98
110
|
query?: Record<string, unknown> | undefined;
|
99
111
|
fetch?: RequestInit | undefined;
|
100
112
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
101
|
-
200:
|
113
|
+
200: {
|
102
114
|
aprRecord: {
|
103
115
|
cumulated: number;
|
104
116
|
timestamp: bigint;
|
@@ -131,6 +143,18 @@ declare const eden: {
|
|
131
143
|
value: number;
|
132
144
|
campaignId: string;
|
133
145
|
dailyRewardsRecordId: string;
|
146
|
+
token: {
|
147
|
+
symbol: string;
|
148
|
+
name: string | null;
|
149
|
+
id: string;
|
150
|
+
chainId: number;
|
151
|
+
address: string;
|
152
|
+
icon: string;
|
153
|
+
decimals: number;
|
154
|
+
verified: boolean;
|
155
|
+
price: number | null;
|
156
|
+
};
|
157
|
+
amount: bigint;
|
134
158
|
}[];
|
135
159
|
};
|
136
160
|
id: string;
|
@@ -168,7 +192,6 @@ declare const eden: {
|
|
168
192
|
tvl: number;
|
169
193
|
apr: number;
|
170
194
|
dailyRewards: number;
|
171
|
-
} & {
|
172
195
|
campaigns: ({
|
173
196
|
params: any;
|
174
197
|
chain: {
|
@@ -205,7 +228,7 @@ declare const eden: {
|
|
205
228
|
opportunityId: string;
|
206
229
|
creatorAddress: string;
|
207
230
|
} | null)[];
|
208
|
-
}
|
231
|
+
} | null | undefined;
|
209
232
|
}>>;
|
210
233
|
};
|
211
234
|
}) & {
|
@@ -235,7 +258,7 @@ declare const eden: {
|
|
235
258
|
get: (options: {
|
236
259
|
headers?: Record<string, unknown> | undefined;
|
237
260
|
query: {
|
238
|
-
sort?:
|
261
|
+
sort?: undefined;
|
239
262
|
name?: string | undefined;
|
240
263
|
tokens?: string | undefined;
|
241
264
|
status?: string | undefined;
|
@@ -245,7 +268,7 @@ declare const eden: {
|
|
245
268
|
page?: number | undefined;
|
246
269
|
action?: string | undefined;
|
247
270
|
mainProtocolId?: string | undefined;
|
248
|
-
order?:
|
271
|
+
order?: undefined;
|
249
272
|
};
|
250
273
|
fetch?: RequestInit | undefined;
|
251
274
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -282,6 +305,18 @@ declare const eden: {
|
|
282
305
|
value: number;
|
283
306
|
campaignId: string;
|
284
307
|
dailyRewardsRecordId: string;
|
308
|
+
token: {
|
309
|
+
symbol: string;
|
310
|
+
name: string | null;
|
311
|
+
id: string;
|
312
|
+
chainId: number;
|
313
|
+
address: string;
|
314
|
+
icon: string;
|
315
|
+
decimals: number;
|
316
|
+
verified: boolean;
|
317
|
+
price: number | null;
|
318
|
+
};
|
319
|
+
amount: bigint;
|
285
320
|
}[];
|
286
321
|
};
|
287
322
|
id: string;
|
@@ -326,7 +361,7 @@ declare const eden: {
|
|
326
361
|
get: (options: {
|
327
362
|
headers?: Record<string, unknown> | undefined;
|
328
363
|
query: {
|
329
|
-
sort?:
|
364
|
+
sort?: undefined;
|
330
365
|
name?: string | undefined;
|
331
366
|
tokens?: string | undefined;
|
332
367
|
status?: string | undefined;
|
@@ -336,7 +371,7 @@ declare const eden: {
|
|
336
371
|
page?: number | undefined;
|
337
372
|
action?: string | undefined;
|
338
373
|
mainProtocolId?: string | undefined;
|
339
|
-
order?:
|
374
|
+
order?: undefined;
|
340
375
|
};
|
341
376
|
fetch?: RequestInit | undefined;
|
342
377
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -511,13 +546,13 @@ declare const eden: {
|
|
511
546
|
query?: Record<string, unknown> | undefined;
|
512
547
|
fetch?: RequestInit | undefined;
|
513
548
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
514
|
-
200:
|
549
|
+
200: {
|
515
550
|
name: string;
|
516
551
|
url: string;
|
517
552
|
description: string;
|
518
553
|
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
519
554
|
icon: string;
|
520
|
-
}
|
555
|
+
} | null;
|
521
556
|
}>>;
|
522
557
|
}) & {
|
523
558
|
index: {
|
@@ -565,7 +600,7 @@ declare const eden: {
|
|
565
600
|
query?: Record<string, unknown> | undefined;
|
566
601
|
fetch?: RequestInit | undefined;
|
567
602
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
568
|
-
200:
|
603
|
+
200: {
|
569
604
|
symbol: string;
|
570
605
|
name: string | null;
|
571
606
|
id: string;
|
@@ -574,9 +609,8 @@ declare const eden: {
|
|
574
609
|
icon: string;
|
575
610
|
decimals: number;
|
576
611
|
verified: boolean;
|
577
|
-
} & {
|
578
612
|
price?: number | null | undefined;
|
579
|
-
}
|
613
|
+
} | undefined;
|
580
614
|
}>>;
|
581
615
|
}) & {
|
582
616
|
balances: {
|
@@ -694,7 +728,9 @@ declare const eden: {
|
|
694
728
|
query?: Record<string, unknown> | undefined;
|
695
729
|
fetch?: RequestInit | undefined;
|
696
730
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
697
|
-
200:
|
731
|
+
200: {
|
732
|
+
count: number;
|
733
|
+
};
|
698
734
|
}>>;
|
699
735
|
breakdowns: {
|
700
736
|
post: (body: {
|
@@ -719,7 +755,9 @@ declare const eden: {
|
|
719
755
|
query?: Record<string, unknown> | undefined;
|
720
756
|
fetch?: RequestInit | undefined;
|
721
757
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
722
|
-
200:
|
758
|
+
200: {
|
759
|
+
count: number;
|
760
|
+
} | undefined;
|
723
761
|
}>>;
|
724
762
|
};
|
725
763
|
};
|
@@ -776,10 +814,12 @@ declare const eden: {
|
|
776
814
|
query?: Record<string, unknown> | undefined;
|
777
815
|
fetch?: RequestInit | undefined;
|
778
816
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
779
|
-
200:
|
780
|
-
|
781
|
-
|
782
|
-
|
817
|
+
200: {
|
818
|
+
[x: string]: {
|
819
|
+
breakdown: number;
|
820
|
+
rewards: Record<string, number>;
|
821
|
+
};
|
822
|
+
};
|
783
823
|
}>>;
|
784
824
|
};
|
785
825
|
};
|
@@ -866,7 +906,7 @@ declare const eden: {
|
|
866
906
|
fetch?: RequestInit | undefined;
|
867
907
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
868
908
|
200: {
|
869
|
-
[
|
909
|
+
[x: string]: number;
|
870
910
|
};
|
871
911
|
}>>;
|
872
912
|
};
|
@@ -1016,7 +1056,7 @@ declare const eden: {
|
|
1016
1056
|
fetch?: RequestInit | undefined;
|
1017
1057
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1018
1058
|
200: {
|
1019
|
-
[
|
1059
|
+
[x: string]: boolean;
|
1020
1060
|
};
|
1021
1061
|
}>>;
|
1022
1062
|
};
|
@@ -1765,11 +1805,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1765
1805
|
}, {
|
1766
1806
|
schema: {};
|
1767
1807
|
macro: {};
|
1808
|
+
macroFn: {};
|
1768
1809
|
}, false & {
|
1769
1810
|
index: {
|
1770
1811
|
get: {
|
1771
1812
|
body: unknown;
|
1772
|
-
params:
|
1813
|
+
params: {};
|
1773
1814
|
query: unknown;
|
1774
1815
|
headers: unknown;
|
1775
1816
|
response: {
|
@@ -1798,7 +1839,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1798
1839
|
protocols: string[];
|
1799
1840
|
mainProtocol: string;
|
1800
1841
|
};
|
1801
|
-
params:
|
1842
|
+
params: {};
|
1802
1843
|
query: unknown;
|
1803
1844
|
headers: {
|
1804
1845
|
authorization: string;
|
@@ -1853,6 +1894,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1853
1894
|
value: number;
|
1854
1895
|
campaignId: string;
|
1855
1896
|
dailyRewardsRecordId: string;
|
1897
|
+
token: {
|
1898
|
+
symbol: string;
|
1899
|
+
name: string | null;
|
1900
|
+
id: string;
|
1901
|
+
chainId: number;
|
1902
|
+
address: string;
|
1903
|
+
icon: string;
|
1904
|
+
decimals: number;
|
1905
|
+
verified: boolean;
|
1906
|
+
price: number | null;
|
1907
|
+
};
|
1908
|
+
amount: bigint;
|
1856
1909
|
}[];
|
1857
1910
|
};
|
1858
1911
|
id: string;
|
@@ -1907,7 +1960,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1907
1960
|
query: unknown;
|
1908
1961
|
headers: unknown;
|
1909
1962
|
response: {
|
1910
|
-
200:
|
1963
|
+
200: {
|
1911
1964
|
aprRecord: {
|
1912
1965
|
cumulated: number;
|
1913
1966
|
timestamp: bigint;
|
@@ -1940,6 +1993,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1940
1993
|
value: number;
|
1941
1994
|
campaignId: string;
|
1942
1995
|
dailyRewardsRecordId: string;
|
1996
|
+
token: {
|
1997
|
+
symbol: string;
|
1998
|
+
name: string | null;
|
1999
|
+
id: string;
|
2000
|
+
chainId: number;
|
2001
|
+
address: string;
|
2002
|
+
icon: string;
|
2003
|
+
decimals: number;
|
2004
|
+
verified: boolean;
|
2005
|
+
price: number | null;
|
2006
|
+
};
|
2007
|
+
amount: bigint;
|
1943
2008
|
}[];
|
1944
2009
|
};
|
1945
2010
|
id: string;
|
@@ -1977,7 +2042,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1977
2042
|
tvl: number;
|
1978
2043
|
apr: number;
|
1979
2044
|
dailyRewards: number;
|
1980
|
-
} & {
|
1981
2045
|
campaigns: ({
|
1982
2046
|
params: any;
|
1983
2047
|
chain: {
|
@@ -2014,7 +2078,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2014
2078
|
opportunityId: string;
|
2015
2079
|
creatorAddress: string;
|
2016
2080
|
} | null)[];
|
2017
|
-
}
|
2081
|
+
} | null | undefined;
|
2018
2082
|
};
|
2019
2083
|
};
|
2020
2084
|
};
|
@@ -2025,9 +2089,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2025
2089
|
index: {
|
2026
2090
|
get: {
|
2027
2091
|
body: unknown;
|
2028
|
-
params:
|
2092
|
+
params: {};
|
2029
2093
|
query: {
|
2030
|
-
sort?:
|
2094
|
+
sort?: undefined;
|
2031
2095
|
name?: string | undefined;
|
2032
2096
|
tokens?: string | undefined;
|
2033
2097
|
status?: string | undefined;
|
@@ -2037,7 +2101,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2037
2101
|
page?: number | undefined;
|
2038
2102
|
action?: string | undefined;
|
2039
2103
|
mainProtocolId?: string | undefined;
|
2040
|
-
order?:
|
2104
|
+
order?: undefined;
|
2041
2105
|
};
|
2042
2106
|
headers: unknown;
|
2043
2107
|
response: {
|
@@ -2074,6 +2138,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2074
2138
|
value: number;
|
2075
2139
|
campaignId: string;
|
2076
2140
|
dailyRewardsRecordId: string;
|
2141
|
+
token: {
|
2142
|
+
symbol: string;
|
2143
|
+
name: string | null;
|
2144
|
+
id: string;
|
2145
|
+
chainId: number;
|
2146
|
+
address: string;
|
2147
|
+
icon: string;
|
2148
|
+
decimals: number;
|
2149
|
+
verified: boolean;
|
2150
|
+
price: number | null;
|
2151
|
+
};
|
2152
|
+
amount: bigint;
|
2077
2153
|
}[];
|
2078
2154
|
};
|
2079
2155
|
id: string;
|
@@ -2121,9 +2197,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2121
2197
|
count: {
|
2122
2198
|
get: {
|
2123
2199
|
body: unknown;
|
2124
|
-
params:
|
2200
|
+
params: {};
|
2125
2201
|
query: {
|
2126
|
-
sort?:
|
2202
|
+
sort?: undefined;
|
2127
2203
|
name?: string | undefined;
|
2128
2204
|
tokens?: string | undefined;
|
2129
2205
|
status?: string | undefined;
|
@@ -2133,7 +2209,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2133
2209
|
page?: number | undefined;
|
2134
2210
|
action?: string | undefined;
|
2135
2211
|
mainProtocolId?: string | undefined;
|
2136
|
-
order?:
|
2212
|
+
order?: undefined;
|
2137
2213
|
};
|
2138
2214
|
headers: unknown;
|
2139
2215
|
response: {
|
@@ -2163,7 +2239,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2163
2239
|
rewardTokenAddress: string;
|
2164
2240
|
opportunityIdentifier: string;
|
2165
2241
|
};
|
2166
|
-
params:
|
2242
|
+
params: {};
|
2167
2243
|
query: unknown;
|
2168
2244
|
headers: {
|
2169
2245
|
authorization: string;
|
@@ -2191,7 +2267,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2191
2267
|
index: {
|
2192
2268
|
get: {
|
2193
2269
|
body: unknown;
|
2194
|
-
params:
|
2270
|
+
params: {};
|
2195
2271
|
query: {
|
2196
2272
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
2197
2273
|
items?: number | undefined;
|
@@ -2251,7 +2327,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2251
2327
|
count: {
|
2252
2328
|
get: {
|
2253
2329
|
body: unknown;
|
2254
|
-
params:
|
2330
|
+
params: {};
|
2255
2331
|
query: {
|
2256
2332
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
2257
2333
|
items?: number | undefined;
|
@@ -2277,7 +2353,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2277
2353
|
index: {
|
2278
2354
|
get: {
|
2279
2355
|
body: unknown;
|
2280
|
-
params:
|
2356
|
+
params: {};
|
2281
2357
|
query: {
|
2282
2358
|
chainId: number;
|
2283
2359
|
};
|
@@ -2299,7 +2375,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2299
2375
|
count: {
|
2300
2376
|
get: {
|
2301
2377
|
body: unknown;
|
2302
|
-
params:
|
2378
|
+
params: {};
|
2303
2379
|
query: {
|
2304
2380
|
chainId: number;
|
2305
2381
|
};
|
@@ -2315,7 +2391,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2315
2391
|
index: {
|
2316
2392
|
post: {
|
2317
2393
|
body: unknown;
|
2318
|
-
params:
|
2394
|
+
params: {};
|
2319
2395
|
query: {
|
2320
2396
|
chainId: number;
|
2321
2397
|
};
|
@@ -2336,17 +2412,19 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2336
2412
|
":id": {
|
2337
2413
|
get: {
|
2338
2414
|
body: unknown;
|
2339
|
-
params:
|
2415
|
+
params: {
|
2416
|
+
id: string;
|
2417
|
+
};
|
2340
2418
|
query: unknown;
|
2341
2419
|
headers: unknown;
|
2342
2420
|
response: {
|
2343
|
-
200:
|
2421
|
+
200: {
|
2344
2422
|
name: string;
|
2345
2423
|
url: string;
|
2346
2424
|
description: string;
|
2347
2425
|
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
2348
2426
|
icon: string;
|
2349
|
-
}
|
2427
|
+
} | null;
|
2350
2428
|
};
|
2351
2429
|
};
|
2352
2430
|
};
|
@@ -2356,7 +2434,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2356
2434
|
index: {
|
2357
2435
|
get: {
|
2358
2436
|
body: unknown;
|
2359
|
-
params:
|
2437
|
+
params: {};
|
2360
2438
|
query: {
|
2361
2439
|
name?: string | undefined;
|
2362
2440
|
id?: string[] | undefined;
|
@@ -2382,7 +2460,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2382
2460
|
count: {
|
2383
2461
|
get: {
|
2384
2462
|
body: unknown;
|
2385
|
-
params:
|
2463
|
+
params: {};
|
2386
2464
|
query: {
|
2387
2465
|
name?: string | undefined;
|
2388
2466
|
id?: string[] | undefined;
|
@@ -2410,7 +2488,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2410
2488
|
query: unknown;
|
2411
2489
|
headers: unknown;
|
2412
2490
|
response: {
|
2413
|
-
200:
|
2491
|
+
200: {
|
2414
2492
|
symbol: string;
|
2415
2493
|
name: string | null;
|
2416
2494
|
id: string;
|
@@ -2419,9 +2497,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2419
2497
|
icon: string;
|
2420
2498
|
decimals: number;
|
2421
2499
|
verified: boolean;
|
2422
|
-
} & {
|
2423
2500
|
price?: number | null | undefined;
|
2424
|
-
}
|
2501
|
+
} | undefined;
|
2425
2502
|
};
|
2426
2503
|
};
|
2427
2504
|
};
|
@@ -2431,7 +2508,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2431
2508
|
balances: {
|
2432
2509
|
get: {
|
2433
2510
|
body: unknown;
|
2434
|
-
params:
|
2511
|
+
params: {};
|
2435
2512
|
query: {
|
2436
2513
|
tokenAddress?: string | undefined;
|
2437
2514
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -2463,7 +2540,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2463
2540
|
index: {
|
2464
2541
|
get: {
|
2465
2542
|
body: unknown;
|
2466
|
-
params:
|
2543
|
+
params: {};
|
2467
2544
|
query: {
|
2468
2545
|
symbol?: string | undefined;
|
2469
2546
|
name?: string | undefined;
|
@@ -2494,7 +2571,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2494
2571
|
count: {
|
2495
2572
|
get: {
|
2496
2573
|
body: unknown;
|
2497
|
-
params:
|
2574
|
+
params: {};
|
2498
2575
|
query: {
|
2499
2576
|
symbol?: string | undefined;
|
2500
2577
|
name?: string | undefined;
|
@@ -2516,7 +2593,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2516
2593
|
index: {
|
2517
2594
|
get: {
|
2518
2595
|
body: unknown;
|
2519
|
-
params:
|
2596
|
+
params: {};
|
2520
2597
|
query: {
|
2521
2598
|
items?: number | undefined;
|
2522
2599
|
page?: number | undefined;
|
@@ -2535,7 +2612,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2535
2612
|
total: {
|
2536
2613
|
get: {
|
2537
2614
|
body: unknown;
|
2538
|
-
params:
|
2615
|
+
params: {};
|
2539
2616
|
query: {
|
2540
2617
|
items?: number | undefined;
|
2541
2618
|
page?: number | undefined;
|
@@ -2563,13 +2640,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2563
2640
|
proofs: string[];
|
2564
2641
|
rewardToken: string;
|
2565
2642
|
}[];
|
2566
|
-
params:
|
2643
|
+
params: {};
|
2567
2644
|
query: unknown;
|
2568
2645
|
headers: {
|
2569
2646
|
authorization: string;
|
2570
2647
|
};
|
2571
2648
|
response: {
|
2572
|
-
200:
|
2649
|
+
200: {
|
2650
|
+
count: number;
|
2651
|
+
};
|
2573
2652
|
};
|
2574
2653
|
};
|
2575
2654
|
};
|
@@ -2595,13 +2674,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2595
2674
|
claimed: string;
|
2596
2675
|
}[];
|
2597
2676
|
}[];
|
2598
|
-
params:
|
2677
|
+
params: {};
|
2599
2678
|
query: unknown;
|
2600
2679
|
headers: {
|
2601
2680
|
authorization: string;
|
2602
2681
|
};
|
2603
2682
|
response: {
|
2604
|
-
200:
|
2683
|
+
200: {
|
2684
|
+
count: number;
|
2685
|
+
} | undefined;
|
2605
2686
|
};
|
2606
2687
|
};
|
2607
2688
|
};
|
@@ -2631,7 +2712,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2631
2712
|
recipient: string;
|
2632
2713
|
}[];
|
2633
2714
|
};
|
2634
|
-
params:
|
2715
|
+
params: {};
|
2635
2716
|
query: unknown;
|
2636
2717
|
headers: {
|
2637
2718
|
authorization: string;
|
@@ -2647,7 +2728,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2647
2728
|
count: {
|
2648
2729
|
get: {
|
2649
2730
|
body: unknown;
|
2650
|
-
params:
|
2731
|
+
params: {};
|
2651
2732
|
query: {
|
2652
2733
|
items?: number | undefined;
|
2653
2734
|
page?: number | undefined;
|
@@ -2669,16 +2750,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2669
2750
|
chains: {
|
2670
2751
|
get: {
|
2671
2752
|
body: unknown;
|
2672
|
-
params:
|
2753
|
+
params: {};
|
2673
2754
|
query: unknown;
|
2674
2755
|
headers: {
|
2675
2756
|
authorization: string;
|
2676
2757
|
};
|
2677
2758
|
response: {
|
2678
|
-
200:
|
2679
|
-
|
2680
|
-
|
2681
|
-
|
2759
|
+
200: {
|
2760
|
+
[x: string]: {
|
2761
|
+
breakdown: number;
|
2762
|
+
rewards: Record<string, number>;
|
2763
|
+
};
|
2764
|
+
};
|
2682
2765
|
};
|
2683
2766
|
};
|
2684
2767
|
};
|
@@ -2715,7 +2798,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2715
2798
|
index: {
|
2716
2799
|
get: {
|
2717
2800
|
body: unknown;
|
2718
|
-
params:
|
2801
|
+
params: {};
|
2719
2802
|
query: {
|
2720
2803
|
search?: string | undefined;
|
2721
2804
|
};
|
@@ -2739,7 +2822,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2739
2822
|
count: {
|
2740
2823
|
get: {
|
2741
2824
|
body: unknown;
|
2742
|
-
params:
|
2825
|
+
params: {};
|
2743
2826
|
query: {
|
2744
2827
|
search?: string | undefined;
|
2745
2828
|
};
|
@@ -2757,7 +2840,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2757
2840
|
url: string;
|
2758
2841
|
chainId: number;
|
2759
2842
|
};
|
2760
|
-
params:
|
2843
|
+
params: {};
|
2761
2844
|
query: unknown;
|
2762
2845
|
headers: {
|
2763
2846
|
authorization: string;
|
@@ -2780,12 +2863,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2780
2863
|
index: {
|
2781
2864
|
get: {
|
2782
2865
|
body: unknown;
|
2783
|
-
params:
|
2866
|
+
params: {};
|
2784
2867
|
query: unknown;
|
2785
2868
|
headers: unknown;
|
2786
2869
|
response: {
|
2787
2870
|
200: {
|
2788
|
-
[
|
2871
|
+
[x: string]: number;
|
2789
2872
|
};
|
2790
2873
|
};
|
2791
2874
|
};
|
@@ -2794,7 +2877,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2794
2877
|
array: {
|
2795
2878
|
get: {
|
2796
2879
|
body: unknown;
|
2797
|
-
params:
|
2880
|
+
params: {};
|
2798
2881
|
query: unknown;
|
2799
2882
|
headers: unknown;
|
2800
2883
|
response: {
|
@@ -2826,7 +2909,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2826
2909
|
index: {
|
2827
2910
|
get: {
|
2828
2911
|
body: unknown;
|
2829
|
-
params:
|
2912
|
+
params: {};
|
2830
2913
|
query: unknown;
|
2831
2914
|
headers: unknown;
|
2832
2915
|
response: {
|
@@ -2872,7 +2955,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2872
2955
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
2873
2956
|
args: {};
|
2874
2957
|
};
|
2875
|
-
params:
|
2958
|
+
params: {};
|
2876
2959
|
query: unknown;
|
2877
2960
|
headers: {
|
2878
2961
|
authorization: string;
|
@@ -2945,7 +3028,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2945
3028
|
index: {
|
2946
3029
|
get: {
|
2947
3030
|
body: unknown;
|
2948
|
-
params:
|
3031
|
+
params: {};
|
2949
3032
|
query: unknown;
|
2950
3033
|
headers: unknown;
|
2951
3034
|
response: {
|
@@ -2966,12 +3049,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2966
3049
|
all: {
|
2967
3050
|
get: {
|
2968
3051
|
body: unknown;
|
2969
|
-
params:
|
3052
|
+
params: {};
|
2970
3053
|
query: unknown;
|
2971
3054
|
headers: unknown;
|
2972
3055
|
response: {
|
2973
3056
|
200: {
|
2974
|
-
[
|
3057
|
+
[x: string]: boolean;
|
2975
3058
|
};
|
2976
3059
|
};
|
2977
3060
|
};
|
@@ -3005,7 +3088,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3005
3088
|
poolAddress: string;
|
3006
3089
|
userAddress: string;
|
3007
3090
|
};
|
3008
|
-
params:
|
3091
|
+
params: {};
|
3009
3092
|
query: unknown;
|
3010
3093
|
headers: {
|
3011
3094
|
authorization: string;
|
@@ -3050,7 +3133,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3050
3133
|
index: {
|
3051
3134
|
get: {
|
3052
3135
|
body: unknown;
|
3053
|
-
params:
|
3136
|
+
params: {};
|
3054
3137
|
query: {
|
3055
3138
|
items?: number | undefined;
|
3056
3139
|
tags?: string[] | undefined;
|
@@ -3072,7 +3155,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3072
3155
|
tags: {
|
3073
3156
|
get: {
|
3074
3157
|
body: unknown;
|
3075
|
-
params:
|
3158
|
+
params: {};
|
3076
3159
|
query: unknown;
|
3077
3160
|
headers: {
|
3078
3161
|
authorization: string;
|
@@ -3091,7 +3174,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3091
3174
|
":address": {
|
3092
3175
|
get: {
|
3093
3176
|
body: unknown;
|
3094
|
-
params:
|
3177
|
+
params: {
|
3178
|
+
address: string;
|
3179
|
+
};
|
3095
3180
|
query: unknown;
|
3096
3181
|
headers: unknown;
|
3097
3182
|
response: {
|
@@ -3329,7 +3414,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3329
3414
|
tags: string[];
|
3330
3415
|
address: string;
|
3331
3416
|
};
|
3332
|
-
params:
|
3417
|
+
params: {};
|
3333
3418
|
query: unknown;
|
3334
3419
|
headers: {
|
3335
3420
|
authorization: string;
|
@@ -3348,7 +3433,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3348
3433
|
sync: {
|
3349
3434
|
post: {
|
3350
3435
|
body: unknown;
|
3351
|
-
params:
|
3436
|
+
params: {};
|
3352
3437
|
query: unknown;
|
3353
3438
|
headers: {
|
3354
3439
|
authorization: string;
|
@@ -3391,7 +3476,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3391
3476
|
timestamps: {
|
3392
3477
|
get: {
|
3393
3478
|
body: unknown;
|
3394
|
-
params:
|
3479
|
+
params: {};
|
3395
3480
|
query: {
|
3396
3481
|
chainId: number;
|
3397
3482
|
fromTimestamp: string;
|
@@ -3414,7 +3499,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3414
3499
|
index: {
|
3415
3500
|
get: {
|
3416
3501
|
body: unknown;
|
3417
|
-
params:
|
3502
|
+
params: {};
|
3418
3503
|
query: unknown;
|
3419
3504
|
headers: unknown;
|
3420
3505
|
response: {
|
@@ -3434,7 +3519,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3434
3519
|
targets: {
|
3435
3520
|
get: {
|
3436
3521
|
body: unknown;
|
3437
|
-
params:
|
3522
|
+
params: {};
|
3438
3523
|
query: {
|
3439
3524
|
identifier?: string | undefined;
|
3440
3525
|
chainId: number;
|
@@ -3452,7 +3537,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3452
3537
|
protocols: {
|
3453
3538
|
get: {
|
3454
3539
|
body: unknown;
|
3455
|
-
params:
|
3540
|
+
params: {};
|
3456
3541
|
query: {
|
3457
3542
|
chainId?: number | undefined;
|
3458
3543
|
};
|
@@ -3474,7 +3559,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3474
3559
|
quote: {
|
3475
3560
|
get: {
|
3476
3561
|
body: unknown;
|
3477
|
-
params:
|
3562
|
+
params: {};
|
3478
3563
|
query: {
|
3479
3564
|
identifier: string;
|
3480
3565
|
chainId: number;
|
@@ -3500,7 +3585,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3500
3585
|
transaction: {
|
3501
3586
|
get: {
|
3502
3587
|
body: unknown;
|
3503
|
-
params:
|
3588
|
+
params: {};
|
3504
3589
|
query: {
|
3505
3590
|
identifier: string;
|
3506
3591
|
chainId: number;
|
@@ -3535,7 +3620,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3535
3620
|
index: {
|
3536
3621
|
get: {
|
3537
3622
|
body: unknown;
|
3538
|
-
params:
|
3623
|
+
params: {};
|
3539
3624
|
query: {
|
3540
3625
|
items?: number | undefined;
|
3541
3626
|
page?: number | undefined;
|
@@ -3563,7 +3648,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3563
3648
|
revenues: {
|
3564
3649
|
get: {
|
3565
3650
|
body: unknown;
|
3566
|
-
params:
|
3651
|
+
params: {};
|
3567
3652
|
query: unknown;
|
3568
3653
|
headers: {
|
3569
3654
|
authorization: string;
|
@@ -3772,7 +3857,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3772
3857
|
campaignId: string;
|
3773
3858
|
distributionChain: number;
|
3774
3859
|
};
|
3775
|
-
params:
|
3860
|
+
params: {};
|
3776
3861
|
query: unknown;
|
3777
3862
|
headers: {
|
3778
3863
|
authorization: string;
|
@@ -3788,7 +3873,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3788
3873
|
index: {
|
3789
3874
|
get: {
|
3790
3875
|
body: unknown;
|
3791
|
-
params:
|
3876
|
+
params: {};
|
3792
3877
|
query: unknown;
|
3793
3878
|
headers: unknown;
|
3794
3879
|
response: {
|
@@ -3809,7 +3894,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3809
3894
|
status: {
|
3810
3895
|
get: {
|
3811
3896
|
body: unknown;
|
3812
|
-
params:
|
3897
|
+
params: {};
|
3813
3898
|
query: {
|
3814
3899
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
3815
3900
|
};
|
@@ -3848,7 +3933,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3848
3933
|
unique: {
|
3849
3934
|
get: {
|
3850
3935
|
body: unknown;
|
3851
|
-
params:
|
3936
|
+
params: {};
|
3852
3937
|
query: {
|
3853
3938
|
campaignId: string;
|
3854
3939
|
distributionChain: number;
|
@@ -3898,7 +3983,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3898
3983
|
overlaps: {
|
3899
3984
|
get: {
|
3900
3985
|
body: unknown;
|
3901
|
-
params:
|
3986
|
+
params: {};
|
3902
3987
|
query: {
|
3903
3988
|
campaignId: string;
|
3904
3989
|
distributionChain: number;
|
@@ -3919,11 +4004,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3919
4004
|
resolve: {};
|
3920
4005
|
schema: {};
|
3921
4006
|
}, {
|
3922
|
-
derive: {
|
3923
|
-
readonly tracer: import("dd-trace").Tracer;
|
3924
|
-
readonly span: import("dd-trace").Span;
|
3925
|
-
readonly trace: <R, T extends () => R>(handler: T) => R;
|
3926
|
-
};
|
4007
|
+
derive: {};
|
3927
4008
|
resolve: {};
|
3928
4009
|
schema: {};
|
3929
4010
|
}>, config?: import("@elysiajs/eden").Treaty.Config) => {
|
@@ -3979,6 +4060,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3979
4060
|
value: number;
|
3980
4061
|
campaignId: string;
|
3981
4062
|
dailyRewardsRecordId: string;
|
4063
|
+
token: {
|
4064
|
+
symbol: string;
|
4065
|
+
name: string | null;
|
4066
|
+
id: string;
|
4067
|
+
chainId: number;
|
4068
|
+
address: string;
|
4069
|
+
icon: string;
|
4070
|
+
decimals: number;
|
4071
|
+
verified: boolean;
|
4072
|
+
price: number | null;
|
4073
|
+
};
|
4074
|
+
amount: bigint;
|
3982
4075
|
}[];
|
3983
4076
|
};
|
3984
4077
|
id: string;
|
@@ -4024,7 +4117,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4024
4117
|
query?: Record<string, unknown> | undefined;
|
4025
4118
|
fetch?: RequestInit | undefined;
|
4026
4119
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4027
|
-
200:
|
4120
|
+
200: {
|
4028
4121
|
aprRecord: {
|
4029
4122
|
cumulated: number;
|
4030
4123
|
timestamp: bigint;
|
@@ -4057,6 +4150,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4057
4150
|
value: number;
|
4058
4151
|
campaignId: string;
|
4059
4152
|
dailyRewardsRecordId: string;
|
4153
|
+
token: {
|
4154
|
+
symbol: string;
|
4155
|
+
name: string | null;
|
4156
|
+
id: string;
|
4157
|
+
chainId: number;
|
4158
|
+
address: string;
|
4159
|
+
icon: string;
|
4160
|
+
decimals: number;
|
4161
|
+
verified: boolean;
|
4162
|
+
price: number | null;
|
4163
|
+
};
|
4164
|
+
amount: bigint;
|
4060
4165
|
}[];
|
4061
4166
|
};
|
4062
4167
|
id: string;
|
@@ -4094,7 +4199,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4094
4199
|
tvl: number;
|
4095
4200
|
apr: number;
|
4096
4201
|
dailyRewards: number;
|
4097
|
-
} & {
|
4098
4202
|
campaigns: ({
|
4099
4203
|
params: any;
|
4100
4204
|
chain: {
|
@@ -4131,7 +4235,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4131
4235
|
opportunityId: string;
|
4132
4236
|
creatorAddress: string;
|
4133
4237
|
} | null)[];
|
4134
|
-
}
|
4238
|
+
} | null | undefined;
|
4135
4239
|
}>>;
|
4136
4240
|
};
|
4137
4241
|
}) & {
|
@@ -4161,7 +4265,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4161
4265
|
get: (options: {
|
4162
4266
|
headers?: Record<string, unknown> | undefined;
|
4163
4267
|
query: {
|
4164
|
-
sort?:
|
4268
|
+
sort?: undefined;
|
4165
4269
|
name?: string | undefined;
|
4166
4270
|
tokens?: string | undefined;
|
4167
4271
|
status?: string | undefined;
|
@@ -4171,7 +4275,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4171
4275
|
page?: number | undefined;
|
4172
4276
|
action?: string | undefined;
|
4173
4277
|
mainProtocolId?: string | undefined;
|
4174
|
-
order?:
|
4278
|
+
order?: undefined;
|
4175
4279
|
};
|
4176
4280
|
fetch?: RequestInit | undefined;
|
4177
4281
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -4208,6 +4312,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4208
4312
|
value: number;
|
4209
4313
|
campaignId: string;
|
4210
4314
|
dailyRewardsRecordId: string;
|
4315
|
+
token: {
|
4316
|
+
symbol: string;
|
4317
|
+
name: string | null;
|
4318
|
+
id: string;
|
4319
|
+
chainId: number;
|
4320
|
+
address: string;
|
4321
|
+
icon: string;
|
4322
|
+
decimals: number;
|
4323
|
+
verified: boolean;
|
4324
|
+
price: number | null;
|
4325
|
+
};
|
4326
|
+
amount: bigint;
|
4211
4327
|
}[];
|
4212
4328
|
};
|
4213
4329
|
id: string;
|
@@ -4252,7 +4368,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4252
4368
|
get: (options: {
|
4253
4369
|
headers?: Record<string, unknown> | undefined;
|
4254
4370
|
query: {
|
4255
|
-
sort?:
|
4371
|
+
sort?: undefined;
|
4256
4372
|
name?: string | undefined;
|
4257
4373
|
tokens?: string | undefined;
|
4258
4374
|
status?: string | undefined;
|
@@ -4262,7 +4378,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4262
4378
|
page?: number | undefined;
|
4263
4379
|
action?: string | undefined;
|
4264
4380
|
mainProtocolId?: string | undefined;
|
4265
|
-
order?:
|
4381
|
+
order?: undefined;
|
4266
4382
|
};
|
4267
4383
|
fetch?: RequestInit | undefined;
|
4268
4384
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -4437,13 +4553,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4437
4553
|
query?: Record<string, unknown> | undefined;
|
4438
4554
|
fetch?: RequestInit | undefined;
|
4439
4555
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4440
|
-
200:
|
4556
|
+
200: {
|
4441
4557
|
name: string;
|
4442
4558
|
url: string;
|
4443
4559
|
description: string;
|
4444
4560
|
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
4445
4561
|
icon: string;
|
4446
|
-
}
|
4562
|
+
} | null;
|
4447
4563
|
}>>;
|
4448
4564
|
}) & {
|
4449
4565
|
index: {
|
@@ -4491,7 +4607,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4491
4607
|
query?: Record<string, unknown> | undefined;
|
4492
4608
|
fetch?: RequestInit | undefined;
|
4493
4609
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4494
|
-
200:
|
4610
|
+
200: {
|
4495
4611
|
symbol: string;
|
4496
4612
|
name: string | null;
|
4497
4613
|
id: string;
|
@@ -4500,9 +4616,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4500
4616
|
icon: string;
|
4501
4617
|
decimals: number;
|
4502
4618
|
verified: boolean;
|
4503
|
-
} & {
|
4504
4619
|
price?: number | null | undefined;
|
4505
|
-
}
|
4620
|
+
} | undefined;
|
4506
4621
|
}>>;
|
4507
4622
|
}) & {
|
4508
4623
|
balances: {
|
@@ -4620,7 +4735,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4620
4735
|
query?: Record<string, unknown> | undefined;
|
4621
4736
|
fetch?: RequestInit | undefined;
|
4622
4737
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4623
|
-
200:
|
4738
|
+
200: {
|
4739
|
+
count: number;
|
4740
|
+
};
|
4624
4741
|
}>>;
|
4625
4742
|
breakdowns: {
|
4626
4743
|
post: (body: {
|
@@ -4645,7 +4762,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4645
4762
|
query?: Record<string, unknown> | undefined;
|
4646
4763
|
fetch?: RequestInit | undefined;
|
4647
4764
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4648
|
-
200:
|
4765
|
+
200: {
|
4766
|
+
count: number;
|
4767
|
+
} | undefined;
|
4649
4768
|
}>>;
|
4650
4769
|
};
|
4651
4770
|
};
|
@@ -4702,10 +4821,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4702
4821
|
query?: Record<string, unknown> | undefined;
|
4703
4822
|
fetch?: RequestInit | undefined;
|
4704
4823
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4705
|
-
200:
|
4706
|
-
|
4707
|
-
|
4708
|
-
|
4824
|
+
200: {
|
4825
|
+
[x: string]: {
|
4826
|
+
breakdown: number;
|
4827
|
+
rewards: Record<string, number>;
|
4828
|
+
};
|
4829
|
+
};
|
4709
4830
|
}>>;
|
4710
4831
|
};
|
4711
4832
|
};
|
@@ -4792,7 +4913,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4792
4913
|
fetch?: RequestInit | undefined;
|
4793
4914
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4794
4915
|
200: {
|
4795
|
-
[
|
4916
|
+
[x: string]: number;
|
4796
4917
|
};
|
4797
4918
|
}>>;
|
4798
4919
|
};
|
@@ -4942,7 +5063,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4942
5063
|
fetch?: RequestInit | undefined;
|
4943
5064
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4944
5065
|
200: {
|
4945
|
-
[
|
5066
|
+
[x: string]: boolean;
|
4946
5067
|
};
|
4947
5068
|
}>>;
|
4948
5069
|
};
|