@merkl/api 0.10.81 → 0.10.83

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. package/dist/src/cache/declaration.d.ts +5 -0
  2. package/dist/src/eden/index.d.ts +66 -307
  3. package/dist/src/index.d.ts +24 -117
  4. package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicDataRefacto.d.ts +3 -0
  5. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +16 -1
  6. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AaveProcessor.d.ts +30 -0
  7. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AssetProcessor.d.ts +35 -0
  8. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AuraProcessor.d.ts +61 -0
  9. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerGaugeProcessor.d.ts +49 -0
  10. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerPoolProcessor.d.ts +53 -0
  11. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BeefyProcessor.d.ts +48 -0
  12. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/CompoundProcessor.d.ts +44 -0
  13. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EnzymeProcessor.d.ts +40 -0
  14. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerBorrowProcessor.d.ts +37 -0
  15. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerLendProcessor.d.ts +37 -0
  16. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FluidProcessor.d.ts +39 -0
  17. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FraxProcessor.d.ts +33 -0
  18. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GearboxProcessor.d.ts +40 -0
  19. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/MetamorphoProcessor.d.ts +31 -0
  20. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleProcessor.d.ts +27 -0
  21. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/RadiantProcessor.d.ts +32 -0
  22. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SpliceProcessor.d.ts +16 -0
  23. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SturdySiloProcessor.d.ts +39 -0
  24. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TorosProcessor.d.ts +29 -0
  25. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/curveProcessor.d.ts +47 -0
  26. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/genericProcessor.d.ts +61 -0
  27. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.d.ts +6 -0
  28. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/templateProcessor.d.ts +32 -0
  29. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/uniswapProcessor.d.ts +42 -0
  30. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPricesRefactoFinal.d.ts +4 -0
  31. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.d.ts +3 -0
  32. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2RefactoFinal.d.ts +3 -0
  33. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3RefactoFinal.d.ts +3 -0
  34. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4RefactoFinal.d.ts +4 -0
  35. package/dist/src/libs/campaigns/campaignsDynamicDataRefacto.d.ts +3 -0
  36. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +0 -12
  37. package/dist/src/modules/v4/reward/reward.repository.d.ts +1 -0
  38. package/dist/src/modules/v4/reward/reward.service.d.ts +126 -109
  39. package/dist/src/modules/v4/router.d.ts +24 -117
  40. package/dist/src/modules/v4/testdynamicData/dynamicData.controller.d.ts +50 -0
  41. package/dist/src/modules/v4/testdynamicData/dynamicData.model.d.ts +5 -0
  42. package/dist/src/modules/v4/testdynamicData/dynamicData.repository.d.ts +0 -0
  43. package/dist/src/modules/v4/testdynamicData/dynamicData.service.d.ts +12 -0
  44. package/dist/src/modules/v4/testdynamicData/index.d.ts +3 -0
  45. package/dist/src/modules/v4/token/token.repository.d.ts +1 -1
  46. package/dist/src/modules/v4/user/user.controller.d.ts +2 -2
  47. package/dist/src/routes/v3/ERC20Campaigns.d.ts +24 -117
  48. package/dist/src/routes/v3/blacklist.d.ts +24 -117
  49. package/dist/src/routes/v3/campaigns.d.ts +24 -117
  50. package/dist/src/routes/v3/campaignsInfo.d.ts +24 -117
  51. package/dist/src/routes/v3/multiChainPositions.d.ts +24 -117
  52. package/dist/src/routes/v3/opportunity.d.ts +24 -117
  53. package/dist/src/routes/v3/positions.d.ts +24 -117
  54. package/dist/src/routes/v3/rewards.d.ts +24 -117
  55. package/dist/src/routes/v3/updates.d.ts +24 -117
  56. package/dist/src/routes/v3/userRewards.d.ts +24 -117
  57. package/dist/src/utils/decodeCalls.d.ts +2 -0
  58. package/dist/src/utils/encodeCalls.d.ts +3 -0
  59. package/dist/src/utils/generateCardName.d.ts +3 -0
  60. package/dist/src/utils/interfaces.d.ts +39 -0
  61. package/dist/tsconfig.package.tsbuildinfo +1 -1
  62. package/package.json +1 -1
@@ -1190,7 +1190,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1190
1190
  response: {
1191
1191
  200: (Omit<{
1192
1192
  chain: import("../../../database/api/.generated").Chain;
1193
- rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["getByRecipient"]>>;
1193
+ rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
1194
1194
  }, "rewards"> & {
1195
1195
  rewards: (Omit<{
1196
1196
  token: {
@@ -1300,7 +1300,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1300
1300
  response: {
1301
1301
  200: (Omit<{
1302
1302
  chain: import("../../../database/api/.generated").Chain;
1303
- rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["getByRecipient"]>>;
1303
+ rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
1304
1304
  }, "rewards"> & {
1305
1305
  rewards: (Omit<{
1306
1306
  token: {
@@ -1756,127 +1756,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1756
1756
  };
1757
1757
  } & {
1758
1758
  v4: {
1759
- campaignStatus: {
1760
- engine: {
1761
- post: {
1762
- body: {
1763
- status: {
1764
- value: "SUCCESS";
1765
- computedUntil: number;
1766
- } | {
1767
- value: "PROCESSING";
1768
- } | {
1769
- error: string;
1770
- details: string;
1771
- value: "SKIPPED";
1772
- } | {
1773
- error: string;
1774
- details: string;
1775
- value: "FAILED";
1776
- };
1777
- campaignId: string;
1778
- distributionChain: number;
1779
- };
1780
- params: Record<never, string>;
1781
- query: unknown;
1782
- headers: {
1783
- authorization: string;
1784
- };
1785
- response: {
1786
- 200: void;
1787
- };
1788
- };
1789
- };
1790
- };
1791
- } & {
1792
- campaignStatus: {
1793
- index: {
1794
- get: {
1795
- body: unknown;
1796
- params: Record<never, string>;
1797
- query: unknown;
1798
- headers: unknown;
1799
- response: {
1800
- 200: {
1801
- campaignId: string;
1802
- computedUntil: bigint;
1803
- processingStarted: bigint;
1804
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1805
- error: string;
1806
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1807
- }[];
1808
- };
1809
- };
1810
- };
1811
- };
1812
- } & {
1813
- campaignStatus: {
1814
- unique: {
1815
- get: {
1816
- body: unknown;
1817
- params: Record<never, string>;
1818
- query: {
1819
- identifier: string;
1820
- distributionChain: number;
1821
- };
1822
- headers: unknown;
1823
- response: {
1824
- 200: {
1825
- campaignId: string;
1826
- computedUntil: bigint;
1827
- processingStarted: bigint;
1828
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1829
- error: string;
1830
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1831
- };
1832
- };
1833
- };
1834
- };
1835
- };
1836
- } & {
1837
- campaignStatus: {
1838
- computeChain: {
1759
+ dynamicData: {
1760
+ chainId: {
1839
1761
  ":chainId": {
1840
- get: {
1841
- body: unknown;
1842
- params: {
1843
- chainId: number;
1844
- };
1845
- query: unknown;
1846
- headers: unknown;
1847
- response: {
1848
- 200: {
1849
- campaignId: string;
1850
- computedUntil: bigint;
1851
- processingStarted: bigint;
1852
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1853
- error: string;
1854
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1855
- }[];
1762
+ token: {
1763
+ ":tokenAddress": {
1764
+ get: {
1765
+ body: unknown;
1766
+ params: {
1767
+ chainId: string;
1768
+ tokenAddress: string;
1769
+ };
1770
+ query: unknown;
1771
+ headers: unknown;
1772
+ response: {
1773
+ 200: {
1774
+ tvl: number;
1775
+ totalSupply: number;
1776
+ cardName: string;
1777
+ blacklistedSupply: number;
1778
+ priceTargetToken: number;
1779
+ };
1780
+ };
1781
+ };
1856
1782
  };
1857
1783
  };
1858
1784
  };
1859
1785
  };
1860
1786
  };
1861
- } & {
1862
- campaignStatus: {
1863
- overlaps: {
1864
- get: {
1865
- body: unknown;
1866
- params: Record<never, string>;
1867
- query: {
1868
- identifier: string;
1869
- distributionChain: number;
1870
- };
1871
- headers: {
1872
- authorization: string;
1873
- };
1874
- response: {
1875
- 200: boolean;
1876
- };
1877
- };
1878
- };
1879
- };
1880
1787
  };
1881
1788
  } & {
1882
1789
  index: {
@@ -1181,7 +1181,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1181
1181
  response: {
1182
1182
  200: (Omit<{
1183
1183
  chain: import("../../../database/api/.generated").Chain;
1184
- rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["getByRecipient"]>>;
1184
+ rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
1185
1185
  }, "rewards"> & {
1186
1186
  rewards: (Omit<{
1187
1187
  token: {
@@ -1291,7 +1291,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1291
1291
  response: {
1292
1292
  200: (Omit<{
1293
1293
  chain: import("../../../database/api/.generated").Chain;
1294
- rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["getByRecipient"]>>;
1294
+ rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
1295
1295
  }, "rewards"> & {
1296
1296
  rewards: (Omit<{
1297
1297
  token: {
@@ -1747,127 +1747,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1747
1747
  };
1748
1748
  } & {
1749
1749
  v4: {
1750
- campaignStatus: {
1751
- engine: {
1752
- post: {
1753
- body: {
1754
- status: {
1755
- value: "SUCCESS";
1756
- computedUntil: number;
1757
- } | {
1758
- value: "PROCESSING";
1759
- } | {
1760
- error: string;
1761
- details: string;
1762
- value: "SKIPPED";
1763
- } | {
1764
- error: string;
1765
- details: string;
1766
- value: "FAILED";
1767
- };
1768
- campaignId: string;
1769
- distributionChain: number;
1770
- };
1771
- params: Record<never, string>;
1772
- query: unknown;
1773
- headers: {
1774
- authorization: string;
1775
- };
1776
- response: {
1777
- 200: void;
1778
- };
1779
- };
1780
- };
1781
- };
1782
- } & {
1783
- campaignStatus: {
1784
- index: {
1785
- get: {
1786
- body: unknown;
1787
- params: Record<never, string>;
1788
- query: unknown;
1789
- headers: unknown;
1790
- response: {
1791
- 200: {
1792
- campaignId: string;
1793
- computedUntil: bigint;
1794
- processingStarted: bigint;
1795
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1796
- error: string;
1797
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1798
- }[];
1799
- };
1800
- };
1801
- };
1802
- };
1803
- } & {
1804
- campaignStatus: {
1805
- unique: {
1806
- get: {
1807
- body: unknown;
1808
- params: Record<never, string>;
1809
- query: {
1810
- identifier: string;
1811
- distributionChain: number;
1812
- };
1813
- headers: unknown;
1814
- response: {
1815
- 200: {
1816
- campaignId: string;
1817
- computedUntil: bigint;
1818
- processingStarted: bigint;
1819
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1820
- error: string;
1821
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1822
- };
1823
- };
1824
- };
1825
- };
1826
- };
1827
- } & {
1828
- campaignStatus: {
1829
- computeChain: {
1750
+ dynamicData: {
1751
+ chainId: {
1830
1752
  ":chainId": {
1831
- get: {
1832
- body: unknown;
1833
- params: {
1834
- chainId: number;
1835
- };
1836
- query: unknown;
1837
- headers: unknown;
1838
- response: {
1839
- 200: {
1840
- campaignId: string;
1841
- computedUntil: bigint;
1842
- processingStarted: bigint;
1843
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1844
- error: string;
1845
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1846
- }[];
1753
+ token: {
1754
+ ":tokenAddress": {
1755
+ get: {
1756
+ body: unknown;
1757
+ params: {
1758
+ chainId: string;
1759
+ tokenAddress: string;
1760
+ };
1761
+ query: unknown;
1762
+ headers: unknown;
1763
+ response: {
1764
+ 200: {
1765
+ tvl: number;
1766
+ totalSupply: number;
1767
+ cardName: string;
1768
+ blacklistedSupply: number;
1769
+ priceTargetToken: number;
1770
+ };
1771
+ };
1772
+ };
1847
1773
  };
1848
1774
  };
1849
1775
  };
1850
1776
  };
1851
1777
  };
1852
- } & {
1853
- campaignStatus: {
1854
- overlaps: {
1855
- get: {
1856
- body: unknown;
1857
- params: Record<never, string>;
1858
- query: {
1859
- identifier: string;
1860
- distributionChain: number;
1861
- };
1862
- headers: {
1863
- authorization: string;
1864
- };
1865
- response: {
1866
- 200: boolean;
1867
- };
1868
- };
1869
- };
1870
- };
1871
1778
  };
1872
1779
  } & {
1873
1780
  index: {
@@ -1186,7 +1186,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1186
1186
  response: {
1187
1187
  200: (Omit<{
1188
1188
  chain: import("../../../database/api/.generated").Chain;
1189
- rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["getByRecipient"]>>;
1189
+ rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
1190
1190
  }, "rewards"> & {
1191
1191
  rewards: (Omit<{
1192
1192
  token: {
@@ -1296,7 +1296,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1296
1296
  response: {
1297
1297
  200: (Omit<{
1298
1298
  chain: import("../../../database/api/.generated").Chain;
1299
- rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["getByRecipient"]>>;
1299
+ rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
1300
1300
  }, "rewards"> & {
1301
1301
  rewards: (Omit<{
1302
1302
  token: {
@@ -1752,127 +1752,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1752
1752
  };
1753
1753
  } & {
1754
1754
  v4: {
1755
- campaignStatus: {
1756
- engine: {
1757
- post: {
1758
- body: {
1759
- status: {
1760
- value: "SUCCESS";
1761
- computedUntil: number;
1762
- } | {
1763
- value: "PROCESSING";
1764
- } | {
1765
- error: string;
1766
- details: string;
1767
- value: "SKIPPED";
1768
- } | {
1769
- error: string;
1770
- details: string;
1771
- value: "FAILED";
1772
- };
1773
- campaignId: string;
1774
- distributionChain: number;
1775
- };
1776
- params: Record<never, string>;
1777
- query: unknown;
1778
- headers: {
1779
- authorization: string;
1780
- };
1781
- response: {
1782
- 200: void;
1783
- };
1784
- };
1785
- };
1786
- };
1787
- } & {
1788
- campaignStatus: {
1789
- index: {
1790
- get: {
1791
- body: unknown;
1792
- params: Record<never, string>;
1793
- query: unknown;
1794
- headers: unknown;
1795
- response: {
1796
- 200: {
1797
- campaignId: string;
1798
- computedUntil: bigint;
1799
- processingStarted: bigint;
1800
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1801
- error: string;
1802
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1803
- }[];
1804
- };
1805
- };
1806
- };
1807
- };
1808
- } & {
1809
- campaignStatus: {
1810
- unique: {
1811
- get: {
1812
- body: unknown;
1813
- params: Record<never, string>;
1814
- query: {
1815
- identifier: string;
1816
- distributionChain: number;
1817
- };
1818
- headers: unknown;
1819
- response: {
1820
- 200: {
1821
- campaignId: string;
1822
- computedUntil: bigint;
1823
- processingStarted: bigint;
1824
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1825
- error: string;
1826
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1827
- };
1828
- };
1829
- };
1830
- };
1831
- };
1832
- } & {
1833
- campaignStatus: {
1834
- computeChain: {
1755
+ dynamicData: {
1756
+ chainId: {
1835
1757
  ":chainId": {
1836
- get: {
1837
- body: unknown;
1838
- params: {
1839
- chainId: number;
1840
- };
1841
- query: unknown;
1842
- headers: unknown;
1843
- response: {
1844
- 200: {
1845
- campaignId: string;
1846
- computedUntil: bigint;
1847
- processingStarted: bigint;
1848
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1849
- error: string;
1850
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1851
- }[];
1758
+ token: {
1759
+ ":tokenAddress": {
1760
+ get: {
1761
+ body: unknown;
1762
+ params: {
1763
+ chainId: string;
1764
+ tokenAddress: string;
1765
+ };
1766
+ query: unknown;
1767
+ headers: unknown;
1768
+ response: {
1769
+ 200: {
1770
+ tvl: number;
1771
+ totalSupply: number;
1772
+ cardName: string;
1773
+ blacklistedSupply: number;
1774
+ priceTargetToken: number;
1775
+ };
1776
+ };
1777
+ };
1852
1778
  };
1853
1779
  };
1854
1780
  };
1855
1781
  };
1856
1782
  };
1857
- } & {
1858
- campaignStatus: {
1859
- overlaps: {
1860
- get: {
1861
- body: unknown;
1862
- params: Record<never, string>;
1863
- query: {
1864
- identifier: string;
1865
- distributionChain: number;
1866
- };
1867
- headers: {
1868
- authorization: string;
1869
- };
1870
- response: {
1871
- 200: boolean;
1872
- };
1873
- };
1874
- };
1875
- };
1876
1783
  };
1877
1784
  } & {
1878
1785
  index: {
@@ -1204,7 +1204,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1204
1204
  response: {
1205
1205
  200: (Omit<{
1206
1206
  chain: import("../../../database/api/.generated").Chain;
1207
- rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["getByRecipient"]>>;
1207
+ rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
1208
1208
  }, "rewards"> & {
1209
1209
  rewards: (Omit<{
1210
1210
  token: {
@@ -1314,7 +1314,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1314
1314
  response: {
1315
1315
  200: (Omit<{
1316
1316
  chain: import("../../../database/api/.generated").Chain;
1317
- rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["getByRecipient"]>>;
1317
+ rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
1318
1318
  }, "rewards"> & {
1319
1319
  rewards: (Omit<{
1320
1320
  token: {
@@ -1770,127 +1770,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1770
1770
  };
1771
1771
  } & {
1772
1772
  v4: {
1773
- campaignStatus: {
1774
- engine: {
1775
- post: {
1776
- body: {
1777
- status: {
1778
- value: "SUCCESS";
1779
- computedUntil: number;
1780
- } | {
1781
- value: "PROCESSING";
1782
- } | {
1783
- error: string;
1784
- details: string;
1785
- value: "SKIPPED";
1786
- } | {
1787
- error: string;
1788
- details: string;
1789
- value: "FAILED";
1790
- };
1791
- campaignId: string;
1792
- distributionChain: number;
1793
- };
1794
- params: Record<never, string>;
1795
- query: unknown;
1796
- headers: {
1797
- authorization: string;
1798
- };
1799
- response: {
1800
- 200: void;
1801
- };
1802
- };
1803
- };
1804
- };
1805
- } & {
1806
- campaignStatus: {
1807
- index: {
1808
- get: {
1809
- body: unknown;
1810
- params: Record<never, string>;
1811
- query: unknown;
1812
- headers: unknown;
1813
- response: {
1814
- 200: {
1815
- campaignId: string;
1816
- computedUntil: bigint;
1817
- processingStarted: bigint;
1818
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1819
- error: string;
1820
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1821
- }[];
1822
- };
1823
- };
1824
- };
1825
- };
1826
- } & {
1827
- campaignStatus: {
1828
- unique: {
1829
- get: {
1830
- body: unknown;
1831
- params: Record<never, string>;
1832
- query: {
1833
- identifier: string;
1834
- distributionChain: number;
1835
- };
1836
- headers: unknown;
1837
- response: {
1838
- 200: {
1839
- campaignId: string;
1840
- computedUntil: bigint;
1841
- processingStarted: bigint;
1842
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1843
- error: string;
1844
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1845
- };
1846
- };
1847
- };
1848
- };
1849
- };
1850
- } & {
1851
- campaignStatus: {
1852
- computeChain: {
1773
+ dynamicData: {
1774
+ chainId: {
1853
1775
  ":chainId": {
1854
- get: {
1855
- body: unknown;
1856
- params: {
1857
- chainId: number;
1858
- };
1859
- query: unknown;
1860
- headers: unknown;
1861
- response: {
1862
- 200: {
1863
- campaignId: string;
1864
- computedUntil: bigint;
1865
- processingStarted: bigint;
1866
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1867
- error: string;
1868
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1869
- }[];
1776
+ token: {
1777
+ ":tokenAddress": {
1778
+ get: {
1779
+ body: unknown;
1780
+ params: {
1781
+ chainId: string;
1782
+ tokenAddress: string;
1783
+ };
1784
+ query: unknown;
1785
+ headers: unknown;
1786
+ response: {
1787
+ 200: {
1788
+ tvl: number;
1789
+ totalSupply: number;
1790
+ cardName: string;
1791
+ blacklistedSupply: number;
1792
+ priceTargetToken: number;
1793
+ };
1794
+ };
1795
+ };
1870
1796
  };
1871
1797
  };
1872
1798
  };
1873
1799
  };
1874
1800
  };
1875
- } & {
1876
- campaignStatus: {
1877
- overlaps: {
1878
- get: {
1879
- body: unknown;
1880
- params: Record<never, string>;
1881
- query: {
1882
- identifier: string;
1883
- distributionChain: number;
1884
- };
1885
- headers: {
1886
- authorization: string;
1887
- };
1888
- response: {
1889
- 200: boolean;
1890
- };
1891
- };
1892
- };
1893
- };
1894
1801
  };
1895
1802
  } & {
1896
1803
  index: {