@merkl/api 0.10.81 → 0.10.82
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/cache/declaration.d.ts +5 -0
- package/dist/src/eden/index.d.ts +66 -307
- package/dist/src/index.d.ts +24 -117
- package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicDataRefacto.d.ts +3 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +16 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AaveProcessor.d.ts +30 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AssetProcessor.d.ts +35 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AuraProcessor.d.ts +61 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerGaugeProcessor.d.ts +49 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerPoolProcessor.d.ts +53 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BeefyProcessor.d.ts +48 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/CompoundProcessor.d.ts +44 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EnzymeProcessor.d.ts +40 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerBorrowProcessor.d.ts +37 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerLendProcessor.d.ts +37 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FluidProcessor.d.ts +39 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FraxProcessor.d.ts +33 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GearboxProcessor.d.ts +40 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/MetamorphoProcessor.d.ts +31 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleProcessor.d.ts +27 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/RadiantProcessor.d.ts +32 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SpliceProcessor.d.ts +16 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SturdySiloProcessor.d.ts +39 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TorosProcessor.d.ts +29 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/curveProcessor.d.ts +47 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/genericProcessor.d.ts +61 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.d.ts +6 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/templateProcessor.d.ts +32 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/uniswapProcessor.d.ts +42 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPricesRefactoFinal.d.ts +4 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.d.ts +3 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2RefactoFinal.d.ts +3 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3RefactoFinal.d.ts +3 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4RefactoFinal.d.ts +4 -0
- package/dist/src/libs/campaigns/campaignsDynamicDataRefacto.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +0 -12
- package/dist/src/modules/v4/reward/reward.repository.d.ts +1 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +126 -109
- package/dist/src/modules/v4/router.d.ts +24 -117
- package/dist/src/modules/v4/testdynamicData/dynamicData.controller.d.ts +50 -0
- package/dist/src/modules/v4/testdynamicData/dynamicData.model.d.ts +5 -0
- package/dist/src/modules/v4/testdynamicData/dynamicData.repository.d.ts +0 -0
- package/dist/src/modules/v4/testdynamicData/dynamicData.service.d.ts +12 -0
- package/dist/src/modules/v4/testdynamicData/index.d.ts +3 -0
- package/dist/src/modules/v4/token/token.repository.d.ts +1 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +2 -2
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +24 -117
- package/dist/src/routes/v3/blacklist.d.ts +24 -117
- package/dist/src/routes/v3/campaigns.d.ts +24 -117
- package/dist/src/routes/v3/campaignsInfo.d.ts +24 -117
- package/dist/src/routes/v3/multiChainPositions.d.ts +24 -117
- package/dist/src/routes/v3/opportunity.d.ts +24 -117
- package/dist/src/routes/v3/positions.d.ts +24 -117
- package/dist/src/routes/v3/rewards.d.ts +24 -117
- package/dist/src/routes/v3/updates.d.ts +24 -117
- package/dist/src/routes/v3/userRewards.d.ts +24 -117
- package/dist/src/utils/decodeCalls.d.ts +2 -0
- package/dist/src/utils/encodeCalls.d.ts +3 -0
- package/dist/src/utils/generateCardName.d.ts +3 -0
- package/dist/src/utils/interfaces.d.ts +39 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1163,7 +1163,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1163
1163
|
response: {
|
1164
1164
|
200: (Omit<{
|
1165
1165
|
chain: import("../../../database/api/.generated").Chain;
|
1166
|
-
rewards: Awaited<ReturnType<typeof import("./reward").RewardService["
|
1166
|
+
rewards: Awaited<ReturnType<typeof import("./reward").RewardService["format"]>>;
|
1167
1167
|
}, "rewards"> & {
|
1168
1168
|
rewards: (Omit<{
|
1169
1169
|
token: {
|
@@ -1273,7 +1273,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1273
1273
|
response: {
|
1274
1274
|
200: (Omit<{
|
1275
1275
|
chain: import("../../../database/api/.generated").Chain;
|
1276
|
-
rewards: Awaited<ReturnType<typeof import("./reward").RewardService["
|
1276
|
+
rewards: Awaited<ReturnType<typeof import("./reward").RewardService["format"]>>;
|
1277
1277
|
}, "rewards"> & {
|
1278
1278
|
rewards: (Omit<{
|
1279
1279
|
token: {
|
@@ -1729,127 +1729,34 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1729
1729
|
};
|
1730
1730
|
} & {
|
1731
1731
|
v4: {
|
1732
|
-
|
1733
|
-
|
1734
|
-
post: {
|
1735
|
-
body: {
|
1736
|
-
status: {
|
1737
|
-
value: "SUCCESS";
|
1738
|
-
computedUntil: number;
|
1739
|
-
} | {
|
1740
|
-
value: "PROCESSING";
|
1741
|
-
} | {
|
1742
|
-
error: string;
|
1743
|
-
details: string;
|
1744
|
-
value: "SKIPPED";
|
1745
|
-
} | {
|
1746
|
-
error: string;
|
1747
|
-
details: string;
|
1748
|
-
value: "FAILED";
|
1749
|
-
};
|
1750
|
-
campaignId: string;
|
1751
|
-
distributionChain: number;
|
1752
|
-
};
|
1753
|
-
params: Record<never, string>;
|
1754
|
-
query: unknown;
|
1755
|
-
headers: {
|
1756
|
-
authorization: string;
|
1757
|
-
};
|
1758
|
-
response: {
|
1759
|
-
200: void;
|
1760
|
-
};
|
1761
|
-
};
|
1762
|
-
};
|
1763
|
-
};
|
1764
|
-
} & {
|
1765
|
-
campaignStatus: {
|
1766
|
-
index: {
|
1767
|
-
get: {
|
1768
|
-
body: unknown;
|
1769
|
-
params: Record<never, string>;
|
1770
|
-
query: unknown;
|
1771
|
-
headers: unknown;
|
1772
|
-
response: {
|
1773
|
-
200: {
|
1774
|
-
campaignId: string;
|
1775
|
-
computedUntil: bigint;
|
1776
|
-
processingStarted: bigint;
|
1777
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
1778
|
-
error: string;
|
1779
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
1780
|
-
}[];
|
1781
|
-
};
|
1782
|
-
};
|
1783
|
-
};
|
1784
|
-
};
|
1785
|
-
} & {
|
1786
|
-
campaignStatus: {
|
1787
|
-
unique: {
|
1788
|
-
get: {
|
1789
|
-
body: unknown;
|
1790
|
-
params: Record<never, string>;
|
1791
|
-
query: {
|
1792
|
-
identifier: string;
|
1793
|
-
distributionChain: number;
|
1794
|
-
};
|
1795
|
-
headers: unknown;
|
1796
|
-
response: {
|
1797
|
-
200: {
|
1798
|
-
campaignId: string;
|
1799
|
-
computedUntil: bigint;
|
1800
|
-
processingStarted: bigint;
|
1801
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
1802
|
-
error: string;
|
1803
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
1804
|
-
};
|
1805
|
-
};
|
1806
|
-
};
|
1807
|
-
};
|
1808
|
-
};
|
1809
|
-
} & {
|
1810
|
-
campaignStatus: {
|
1811
|
-
computeChain: {
|
1732
|
+
dynamicData: {
|
1733
|
+
chainId: {
|
1812
1734
|
":chainId": {
|
1813
|
-
|
1814
|
-
|
1815
|
-
|
1816
|
-
|
1817
|
-
|
1818
|
-
|
1819
|
-
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1823
|
-
|
1824
|
-
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
|
1735
|
+
token: {
|
1736
|
+
":tokenAddress": {
|
1737
|
+
get: {
|
1738
|
+
body: unknown;
|
1739
|
+
params: {
|
1740
|
+
chainId: string;
|
1741
|
+
tokenAddress: string;
|
1742
|
+
};
|
1743
|
+
query: unknown;
|
1744
|
+
headers: unknown;
|
1745
|
+
response: {
|
1746
|
+
200: {
|
1747
|
+
tvl: number;
|
1748
|
+
totalSupply: number;
|
1749
|
+
cardName: string;
|
1750
|
+
blacklistedSupply: number;
|
1751
|
+
priceTargetToken: number;
|
1752
|
+
};
|
1753
|
+
};
|
1754
|
+
};
|
1829
1755
|
};
|
1830
1756
|
};
|
1831
1757
|
};
|
1832
1758
|
};
|
1833
1759
|
};
|
1834
|
-
} & {
|
1835
|
-
campaignStatus: {
|
1836
|
-
overlaps: {
|
1837
|
-
get: {
|
1838
|
-
body: unknown;
|
1839
|
-
params: Record<never, string>;
|
1840
|
-
query: {
|
1841
|
-
identifier: string;
|
1842
|
-
distributionChain: number;
|
1843
|
-
};
|
1844
|
-
headers: {
|
1845
|
-
authorization: string;
|
1846
|
-
};
|
1847
|
-
response: {
|
1848
|
-
200: boolean;
|
1849
|
-
};
|
1850
|
-
};
|
1851
|
-
};
|
1852
|
-
};
|
1853
1760
|
};
|
1854
1761
|
}, {
|
1855
1762
|
derive: {};
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import Elysia from "elysia";
|
2
|
+
export declare const DynamicDataController: Elysia<"/dynamicData", false, {
|
3
|
+
decorator: {};
|
4
|
+
store: {};
|
5
|
+
derive: {};
|
6
|
+
resolve: {};
|
7
|
+
}, {
|
8
|
+
type: {};
|
9
|
+
error: {};
|
10
|
+
}, {
|
11
|
+
schema: {};
|
12
|
+
macro: {};
|
13
|
+
}, {
|
14
|
+
dynamicData: {
|
15
|
+
chainId: {
|
16
|
+
":chainId": {
|
17
|
+
token: {
|
18
|
+
":tokenAddress": {
|
19
|
+
get: {
|
20
|
+
body: unknown;
|
21
|
+
params: {
|
22
|
+
chainId: string;
|
23
|
+
tokenAddress: string;
|
24
|
+
};
|
25
|
+
query: unknown;
|
26
|
+
headers: unknown;
|
27
|
+
response: {
|
28
|
+
200: {
|
29
|
+
tvl: number;
|
30
|
+
totalSupply: number;
|
31
|
+
cardName: string;
|
32
|
+
blacklistedSupply: number;
|
33
|
+
priceTargetToken: number;
|
34
|
+
};
|
35
|
+
};
|
36
|
+
};
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
40
|
+
};
|
41
|
+
};
|
42
|
+
}, {
|
43
|
+
derive: {};
|
44
|
+
resolve: {};
|
45
|
+
schema: {};
|
46
|
+
}, {
|
47
|
+
derive: {};
|
48
|
+
resolve: {};
|
49
|
+
schema: {};
|
50
|
+
}>;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export declare const DynamicDataSourceIdentifier: import("@sinclair/typebox").TObject<{
|
2
|
+
chainId: import("@sinclair/typebox").TString;
|
3
|
+
tokenAddress: import("@sinclair/typebox").TString;
|
4
|
+
}>;
|
5
|
+
export type PriceSourceIdentifierModel = typeof DynamicDataSourceIdentifier.static;
|
File without changes
|
@@ -0,0 +1,12 @@
|
|
1
|
+
type output = {
|
2
|
+
tvl: number;
|
3
|
+
totalSupply: number;
|
4
|
+
cardName: string;
|
5
|
+
blacklistedSupply: number;
|
6
|
+
priceTargetToken: number;
|
7
|
+
};
|
8
|
+
export declare class DynamicDataService {
|
9
|
+
/** Fetches a single price */
|
10
|
+
static queryERC20DynamicData(chainId: string, tokenAddress: string): Promise<output>;
|
11
|
+
}
|
12
|
+
export {};
|
@@ -64,7 +64,7 @@ export declare const UserController: Elysia<"/users", false, {
|
|
64
64
|
response: {
|
65
65
|
200: (Omit<{
|
66
66
|
chain: import("../../../../database/api/.generated").Chain;
|
67
|
-
rewards: Awaited<ReturnType<(typeof RewardService)["
|
67
|
+
rewards: Awaited<ReturnType<(typeof RewardService)["format"]>>;
|
68
68
|
}, "rewards"> & {
|
69
69
|
rewards: (Omit<{
|
70
70
|
token: {
|
@@ -174,7 +174,7 @@ export declare const UserController: Elysia<"/users", false, {
|
|
174
174
|
response: {
|
175
175
|
200: (Omit<{
|
176
176
|
chain: import("../../../../database/api/.generated").Chain;
|
177
|
-
rewards: Awaited<ReturnType<(typeof RewardService)["
|
177
|
+
rewards: Awaited<ReturnType<(typeof RewardService)["format"]>>;
|
178
178
|
}, "rewards"> & {
|
179
179
|
rewards: (Omit<{
|
180
180
|
token: {
|
@@ -1189,7 +1189,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1189
1189
|
response: {
|
1190
1190
|
200: (Omit<{
|
1191
1191
|
chain: import("../../../database/api/.generated").Chain;
|
1192
|
-
rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["
|
1192
|
+
rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
|
1193
1193
|
}, "rewards"> & {
|
1194
1194
|
rewards: (Omit<{
|
1195
1195
|
token: {
|
@@ -1299,7 +1299,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1299
1299
|
response: {
|
1300
1300
|
200: (Omit<{
|
1301
1301
|
chain: import("../../../database/api/.generated").Chain;
|
1302
|
-
rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["
|
1302
|
+
rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
|
1303
1303
|
}, "rewards"> & {
|
1304
1304
|
rewards: (Omit<{
|
1305
1305
|
token: {
|
@@ -1755,127 +1755,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1755
1755
|
};
|
1756
1756
|
} & {
|
1757
1757
|
v4: {
|
1758
|
-
|
1759
|
-
|
1760
|
-
post: {
|
1761
|
-
body: {
|
1762
|
-
status: {
|
1763
|
-
value: "SUCCESS";
|
1764
|
-
computedUntil: number;
|
1765
|
-
} | {
|
1766
|
-
value: "PROCESSING";
|
1767
|
-
} | {
|
1768
|
-
error: string;
|
1769
|
-
details: string;
|
1770
|
-
value: "SKIPPED";
|
1771
|
-
} | {
|
1772
|
-
error: string;
|
1773
|
-
details: string;
|
1774
|
-
value: "FAILED";
|
1775
|
-
};
|
1776
|
-
campaignId: string;
|
1777
|
-
distributionChain: number;
|
1778
|
-
};
|
1779
|
-
params: Record<never, string>;
|
1780
|
-
query: unknown;
|
1781
|
-
headers: {
|
1782
|
-
authorization: string;
|
1783
|
-
};
|
1784
|
-
response: {
|
1785
|
-
200: void;
|
1786
|
-
};
|
1787
|
-
};
|
1788
|
-
};
|
1789
|
-
};
|
1790
|
-
} & {
|
1791
|
-
campaignStatus: {
|
1792
|
-
index: {
|
1793
|
-
get: {
|
1794
|
-
body: unknown;
|
1795
|
-
params: Record<never, string>;
|
1796
|
-
query: unknown;
|
1797
|
-
headers: unknown;
|
1798
|
-
response: {
|
1799
|
-
200: {
|
1800
|
-
campaignId: string;
|
1801
|
-
computedUntil: bigint;
|
1802
|
-
processingStarted: bigint;
|
1803
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
1804
|
-
error: string;
|
1805
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
1806
|
-
}[];
|
1807
|
-
};
|
1808
|
-
};
|
1809
|
-
};
|
1810
|
-
};
|
1811
|
-
} & {
|
1812
|
-
campaignStatus: {
|
1813
|
-
unique: {
|
1814
|
-
get: {
|
1815
|
-
body: unknown;
|
1816
|
-
params: Record<never, string>;
|
1817
|
-
query: {
|
1818
|
-
identifier: string;
|
1819
|
-
distributionChain: number;
|
1820
|
-
};
|
1821
|
-
headers: unknown;
|
1822
|
-
response: {
|
1823
|
-
200: {
|
1824
|
-
campaignId: string;
|
1825
|
-
computedUntil: bigint;
|
1826
|
-
processingStarted: bigint;
|
1827
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
1828
|
-
error: string;
|
1829
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
1830
|
-
};
|
1831
|
-
};
|
1832
|
-
};
|
1833
|
-
};
|
1834
|
-
};
|
1835
|
-
} & {
|
1836
|
-
campaignStatus: {
|
1837
|
-
computeChain: {
|
1758
|
+
dynamicData: {
|
1759
|
+
chainId: {
|
1838
1760
|
":chainId": {
|
1839
|
-
|
1840
|
-
|
1841
|
-
|
1842
|
-
|
1843
|
-
|
1844
|
-
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1848
|
-
|
1849
|
-
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1854
|
-
|
1761
|
+
token: {
|
1762
|
+
":tokenAddress": {
|
1763
|
+
get: {
|
1764
|
+
body: unknown;
|
1765
|
+
params: {
|
1766
|
+
chainId: string;
|
1767
|
+
tokenAddress: string;
|
1768
|
+
};
|
1769
|
+
query: unknown;
|
1770
|
+
headers: unknown;
|
1771
|
+
response: {
|
1772
|
+
200: {
|
1773
|
+
tvl: number;
|
1774
|
+
totalSupply: number;
|
1775
|
+
cardName: string;
|
1776
|
+
blacklistedSupply: number;
|
1777
|
+
priceTargetToken: number;
|
1778
|
+
};
|
1779
|
+
};
|
1780
|
+
};
|
1855
1781
|
};
|
1856
1782
|
};
|
1857
1783
|
};
|
1858
1784
|
};
|
1859
1785
|
};
|
1860
|
-
} & {
|
1861
|
-
campaignStatus: {
|
1862
|
-
overlaps: {
|
1863
|
-
get: {
|
1864
|
-
body: unknown;
|
1865
|
-
params: Record<never, string>;
|
1866
|
-
query: {
|
1867
|
-
identifier: string;
|
1868
|
-
distributionChain: number;
|
1869
|
-
};
|
1870
|
-
headers: {
|
1871
|
-
authorization: string;
|
1872
|
-
};
|
1873
|
-
response: {
|
1874
|
-
200: boolean;
|
1875
|
-
};
|
1876
|
-
};
|
1877
|
-
};
|
1878
|
-
};
|
1879
1786
|
};
|
1880
1787
|
} & {
|
1881
1788
|
index: {
|
@@ -1187,7 +1187,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1187
1187
|
response: {
|
1188
1188
|
200: (Omit<{
|
1189
1189
|
chain: import("../../../database/api/.generated").Chain;
|
1190
|
-
rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["
|
1190
|
+
rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
|
1191
1191
|
}, "rewards"> & {
|
1192
1192
|
rewards: (Omit<{
|
1193
1193
|
token: {
|
@@ -1297,7 +1297,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1297
1297
|
response: {
|
1298
1298
|
200: (Omit<{
|
1299
1299
|
chain: import("../../../database/api/.generated").Chain;
|
1300
|
-
rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["
|
1300
|
+
rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
|
1301
1301
|
}, "rewards"> & {
|
1302
1302
|
rewards: (Omit<{
|
1303
1303
|
token: {
|
@@ -1753,127 +1753,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1753
1753
|
};
|
1754
1754
|
} & {
|
1755
1755
|
v4: {
|
1756
|
-
|
1757
|
-
|
1758
|
-
post: {
|
1759
|
-
body: {
|
1760
|
-
status: {
|
1761
|
-
value: "SUCCESS";
|
1762
|
-
computedUntil: number;
|
1763
|
-
} | {
|
1764
|
-
value: "PROCESSING";
|
1765
|
-
} | {
|
1766
|
-
error: string;
|
1767
|
-
details: string;
|
1768
|
-
value: "SKIPPED";
|
1769
|
-
} | {
|
1770
|
-
error: string;
|
1771
|
-
details: string;
|
1772
|
-
value: "FAILED";
|
1773
|
-
};
|
1774
|
-
campaignId: string;
|
1775
|
-
distributionChain: number;
|
1776
|
-
};
|
1777
|
-
params: Record<never, string>;
|
1778
|
-
query: unknown;
|
1779
|
-
headers: {
|
1780
|
-
authorization: string;
|
1781
|
-
};
|
1782
|
-
response: {
|
1783
|
-
200: void;
|
1784
|
-
};
|
1785
|
-
};
|
1786
|
-
};
|
1787
|
-
};
|
1788
|
-
} & {
|
1789
|
-
campaignStatus: {
|
1790
|
-
index: {
|
1791
|
-
get: {
|
1792
|
-
body: unknown;
|
1793
|
-
params: Record<never, string>;
|
1794
|
-
query: unknown;
|
1795
|
-
headers: unknown;
|
1796
|
-
response: {
|
1797
|
-
200: {
|
1798
|
-
campaignId: string;
|
1799
|
-
computedUntil: bigint;
|
1800
|
-
processingStarted: bigint;
|
1801
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
1802
|
-
error: string;
|
1803
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
1804
|
-
}[];
|
1805
|
-
};
|
1806
|
-
};
|
1807
|
-
};
|
1808
|
-
};
|
1809
|
-
} & {
|
1810
|
-
campaignStatus: {
|
1811
|
-
unique: {
|
1812
|
-
get: {
|
1813
|
-
body: unknown;
|
1814
|
-
params: Record<never, string>;
|
1815
|
-
query: {
|
1816
|
-
identifier: string;
|
1817
|
-
distributionChain: number;
|
1818
|
-
};
|
1819
|
-
headers: unknown;
|
1820
|
-
response: {
|
1821
|
-
200: {
|
1822
|
-
campaignId: string;
|
1823
|
-
computedUntil: bigint;
|
1824
|
-
processingStarted: bigint;
|
1825
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
1826
|
-
error: string;
|
1827
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
1828
|
-
};
|
1829
|
-
};
|
1830
|
-
};
|
1831
|
-
};
|
1832
|
-
};
|
1833
|
-
} & {
|
1834
|
-
campaignStatus: {
|
1835
|
-
computeChain: {
|
1756
|
+
dynamicData: {
|
1757
|
+
chainId: {
|
1836
1758
|
":chainId": {
|
1837
|
-
|
1838
|
-
|
1839
|
-
|
1840
|
-
|
1841
|
-
|
1842
|
-
|
1843
|
-
|
1844
|
-
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1848
|
-
|
1849
|
-
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1759
|
+
token: {
|
1760
|
+
":tokenAddress": {
|
1761
|
+
get: {
|
1762
|
+
body: unknown;
|
1763
|
+
params: {
|
1764
|
+
chainId: string;
|
1765
|
+
tokenAddress: string;
|
1766
|
+
};
|
1767
|
+
query: unknown;
|
1768
|
+
headers: unknown;
|
1769
|
+
response: {
|
1770
|
+
200: {
|
1771
|
+
tvl: number;
|
1772
|
+
totalSupply: number;
|
1773
|
+
cardName: string;
|
1774
|
+
blacklistedSupply: number;
|
1775
|
+
priceTargetToken: number;
|
1776
|
+
};
|
1777
|
+
};
|
1778
|
+
};
|
1853
1779
|
};
|
1854
1780
|
};
|
1855
1781
|
};
|
1856
1782
|
};
|
1857
1783
|
};
|
1858
|
-
} & {
|
1859
|
-
campaignStatus: {
|
1860
|
-
overlaps: {
|
1861
|
-
get: {
|
1862
|
-
body: unknown;
|
1863
|
-
params: Record<never, string>;
|
1864
|
-
query: {
|
1865
|
-
identifier: string;
|
1866
|
-
distributionChain: number;
|
1867
|
-
};
|
1868
|
-
headers: {
|
1869
|
-
authorization: string;
|
1870
|
-
};
|
1871
|
-
response: {
|
1872
|
-
200: boolean;
|
1873
|
-
};
|
1874
|
-
};
|
1875
|
-
};
|
1876
|
-
};
|
1877
1784
|
};
|
1878
1785
|
} & {
|
1879
1786
|
index: {
|