@merkl/api 0.10.115 → 0.10.116
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/database/api/.generated/index.d.ts +1 -1
- package/dist/database/engine/.generated/index.d.ts +1 -1
- package/dist/src/eden/index.d.ts +72 -11
- package/dist/src/index.d.ts +28 -3
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +3 -1
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +3 -1
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +4 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.model.d.ts +2 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +2 -1
- package/dist/src/modules/v4/reward/reward.controller.d.ts +21 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +1 -1
- package/dist/src/modules/v4/router.d.ts +28 -3
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +28 -3
- package/dist/src/routes/v3/blacklist.d.ts +28 -3
- package/dist/src/routes/v3/campaigns.d.ts +28 -3
- package/dist/src/routes/v3/campaignsInfo.d.ts +28 -3
- package/dist/src/routes/v3/multiChainPositions.d.ts +28 -3
- package/dist/src/routes/v3/opportunity.d.ts +28 -3
- package/dist/src/routes/v3/positions.d.ts +28 -3
- package/dist/src/routes/v3/rewards.d.ts +28 -3
- package/dist/src/routes/v3/updates.d.ts +28 -3
- package/dist/src/routes/v3/userRewards.d.ts +28 -3
- package/dist/src/utils/bigintToString.d.ts +1 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +2 -2
@@ -940,6 +940,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
940
940
|
};
|
941
941
|
};
|
942
942
|
};
|
943
|
+
} & {
|
944
|
+
rewards: {
|
945
|
+
count: {
|
946
|
+
chains: {
|
947
|
+
get: {
|
948
|
+
body: unknown;
|
949
|
+
params: Record<never, string>;
|
950
|
+
query: unknown;
|
951
|
+
headers: {
|
952
|
+
authorization: string;
|
953
|
+
};
|
954
|
+
response: {
|
955
|
+
200: Record<string, {
|
956
|
+
breakdown: number;
|
957
|
+
rewards: Record<string, number>;
|
958
|
+
}>;
|
959
|
+
};
|
960
|
+
};
|
961
|
+
};
|
962
|
+
};
|
963
|
+
};
|
943
964
|
};
|
944
965
|
} & {
|
945
966
|
v4: {
|
@@ -1226,7 +1247,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1226
1247
|
query: unknown;
|
1227
1248
|
headers: unknown;
|
1228
1249
|
response: {
|
1229
|
-
200:
|
1250
|
+
200: {
|
1251
|
+
[address: string]: boolean;
|
1252
|
+
};
|
1230
1253
|
};
|
1231
1254
|
};
|
1232
1255
|
};
|
@@ -1926,11 +1949,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1926
1949
|
get: {
|
1927
1950
|
body: unknown;
|
1928
1951
|
params: {
|
1929
|
-
chainId:
|
1952
|
+
chainId: number;
|
1930
1953
|
tokenAddress: string;
|
1931
1954
|
};
|
1932
1955
|
query: unknown;
|
1933
|
-
headers:
|
1956
|
+
headers: {
|
1957
|
+
authorization: string;
|
1958
|
+
};
|
1934
1959
|
response: {
|
1935
1960
|
200: {
|
1936
1961
|
tvl: number;
|
@@ -941,6 +941,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
941
941
|
};
|
942
942
|
};
|
943
943
|
};
|
944
|
+
} & {
|
945
|
+
rewards: {
|
946
|
+
count: {
|
947
|
+
chains: {
|
948
|
+
get: {
|
949
|
+
body: unknown;
|
950
|
+
params: Record<never, string>;
|
951
|
+
query: unknown;
|
952
|
+
headers: {
|
953
|
+
authorization: string;
|
954
|
+
};
|
955
|
+
response: {
|
956
|
+
200: Record<string, {
|
957
|
+
breakdown: number;
|
958
|
+
rewards: Record<string, number>;
|
959
|
+
}>;
|
960
|
+
};
|
961
|
+
};
|
962
|
+
};
|
963
|
+
};
|
964
|
+
};
|
944
965
|
};
|
945
966
|
} & {
|
946
967
|
v4: {
|
@@ -1227,7 +1248,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1227
1248
|
query: unknown;
|
1228
1249
|
headers: unknown;
|
1229
1250
|
response: {
|
1230
|
-
200:
|
1251
|
+
200: {
|
1252
|
+
[address: string]: boolean;
|
1253
|
+
};
|
1231
1254
|
};
|
1232
1255
|
};
|
1233
1256
|
};
|
@@ -1927,11 +1950,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1927
1950
|
get: {
|
1928
1951
|
body: unknown;
|
1929
1952
|
params: {
|
1930
|
-
chainId:
|
1953
|
+
chainId: number;
|
1931
1954
|
tokenAddress: string;
|
1932
1955
|
};
|
1933
1956
|
query: unknown;
|
1934
|
-
headers:
|
1957
|
+
headers: {
|
1958
|
+
authorization: string;
|
1959
|
+
};
|
1935
1960
|
response: {
|
1936
1961
|
200: {
|
1937
1962
|
tvl: number;
|
@@ -923,6 +923,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
923
923
|
};
|
924
924
|
};
|
925
925
|
};
|
926
|
+
} & {
|
927
|
+
rewards: {
|
928
|
+
count: {
|
929
|
+
chains: {
|
930
|
+
get: {
|
931
|
+
body: unknown;
|
932
|
+
params: Record<never, string>;
|
933
|
+
query: unknown;
|
934
|
+
headers: {
|
935
|
+
authorization: string;
|
936
|
+
};
|
937
|
+
response: {
|
938
|
+
200: Record<string, {
|
939
|
+
breakdown: number;
|
940
|
+
rewards: Record<string, number>;
|
941
|
+
}>;
|
942
|
+
};
|
943
|
+
};
|
944
|
+
};
|
945
|
+
};
|
946
|
+
};
|
926
947
|
};
|
927
948
|
} & {
|
928
949
|
v4: {
|
@@ -1209,7 +1230,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1209
1230
|
query: unknown;
|
1210
1231
|
headers: unknown;
|
1211
1232
|
response: {
|
1212
|
-
200:
|
1233
|
+
200: {
|
1234
|
+
[address: string]: boolean;
|
1235
|
+
};
|
1213
1236
|
};
|
1214
1237
|
};
|
1215
1238
|
};
|
@@ -1909,11 +1932,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1909
1932
|
get: {
|
1910
1933
|
body: unknown;
|
1911
1934
|
params: {
|
1912
|
-
chainId:
|
1935
|
+
chainId: number;
|
1913
1936
|
tokenAddress: string;
|
1914
1937
|
};
|
1915
1938
|
query: unknown;
|
1916
|
-
headers:
|
1939
|
+
headers: {
|
1940
|
+
authorization: string;
|
1941
|
+
};
|
1917
1942
|
response: {
|
1918
1943
|
200: {
|
1919
1944
|
tvl: number;
|
@@ -924,6 +924,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
924
924
|
};
|
925
925
|
};
|
926
926
|
};
|
927
|
+
} & {
|
928
|
+
rewards: {
|
929
|
+
count: {
|
930
|
+
chains: {
|
931
|
+
get: {
|
932
|
+
body: unknown;
|
933
|
+
params: Record<never, string>;
|
934
|
+
query: unknown;
|
935
|
+
headers: {
|
936
|
+
authorization: string;
|
937
|
+
};
|
938
|
+
response: {
|
939
|
+
200: Record<string, {
|
940
|
+
breakdown: number;
|
941
|
+
rewards: Record<string, number>;
|
942
|
+
}>;
|
943
|
+
};
|
944
|
+
};
|
945
|
+
};
|
946
|
+
};
|
947
|
+
};
|
927
948
|
};
|
928
949
|
} & {
|
929
950
|
v4: {
|
@@ -1210,7 +1231,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1210
1231
|
query: unknown;
|
1211
1232
|
headers: unknown;
|
1212
1233
|
response: {
|
1213
|
-
200:
|
1234
|
+
200: {
|
1235
|
+
[address: string]: boolean;
|
1236
|
+
};
|
1214
1237
|
};
|
1215
1238
|
};
|
1216
1239
|
};
|
@@ -1910,11 +1933,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1910
1933
|
get: {
|
1911
1934
|
body: unknown;
|
1912
1935
|
params: {
|
1913
|
-
chainId:
|
1936
|
+
chainId: number;
|
1914
1937
|
tokenAddress: string;
|
1915
1938
|
};
|
1916
1939
|
query: unknown;
|
1917
|
-
headers:
|
1940
|
+
headers: {
|
1941
|
+
authorization: string;
|
1942
|
+
};
|
1918
1943
|
response: {
|
1919
1944
|
200: {
|
1920
1945
|
tvl: number;
|
@@ -926,6 +926,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
926
926
|
};
|
927
927
|
};
|
928
928
|
};
|
929
|
+
} & {
|
930
|
+
rewards: {
|
931
|
+
count: {
|
932
|
+
chains: {
|
933
|
+
get: {
|
934
|
+
body: unknown;
|
935
|
+
params: Record<never, string>;
|
936
|
+
query: unknown;
|
937
|
+
headers: {
|
938
|
+
authorization: string;
|
939
|
+
};
|
940
|
+
response: {
|
941
|
+
200: Record<string, {
|
942
|
+
breakdown: number;
|
943
|
+
rewards: Record<string, number>;
|
944
|
+
}>;
|
945
|
+
};
|
946
|
+
};
|
947
|
+
};
|
948
|
+
};
|
949
|
+
};
|
929
950
|
};
|
930
951
|
} & {
|
931
952
|
v4: {
|
@@ -1212,7 +1233,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1212
1233
|
query: unknown;
|
1213
1234
|
headers: unknown;
|
1214
1235
|
response: {
|
1215
|
-
200:
|
1236
|
+
200: {
|
1237
|
+
[address: string]: boolean;
|
1238
|
+
};
|
1216
1239
|
};
|
1217
1240
|
};
|
1218
1241
|
};
|
@@ -1912,11 +1935,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1912
1935
|
get: {
|
1913
1936
|
body: unknown;
|
1914
1937
|
params: {
|
1915
|
-
chainId:
|
1938
|
+
chainId: number;
|
1916
1939
|
tokenAddress: string;
|
1917
1940
|
};
|
1918
1941
|
query: unknown;
|
1919
|
-
headers:
|
1942
|
+
headers: {
|
1943
|
+
authorization: string;
|
1944
|
+
};
|
1920
1945
|
response: {
|
1921
1946
|
200: {
|
1922
1947
|
tvl: number;
|
@@ -1 +1 @@
|
|
1
|
-
export default function bigintToString(obj:
|
1
|
+
export default function bigintToString(obj: unknown | unknown[]): unknown | unknown[];
|