@merkl/api 0.10.81 → 0.10.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -1205,7 +1205,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1205
1205
  response: {
1206
1206
  200: (Omit<{
1207
1207
  chain: import("../../../database/api/.generated").Chain;
1208
- rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["getByRecipient"]>>;
1208
+ rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
1209
1209
  }, "rewards"> & {
1210
1210
  rewards: (Omit<{
1211
1211
  token: {
@@ -1315,7 +1315,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1315
1315
  response: {
1316
1316
  200: (Omit<{
1317
1317
  chain: import("../../../database/api/.generated").Chain;
1318
- rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["getByRecipient"]>>;
1318
+ rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
1319
1319
  }, "rewards"> & {
1320
1320
  rewards: (Omit<{
1321
1321
  token: {
@@ -1771,127 +1771,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1771
1771
  };
1772
1772
  } & {
1773
1773
  v4: {
1774
- campaignStatus: {
1775
- engine: {
1776
- post: {
1777
- body: {
1778
- status: {
1779
- value: "SUCCESS";
1780
- computedUntil: number;
1781
- } | {
1782
- value: "PROCESSING";
1783
- } | {
1784
- error: string;
1785
- details: string;
1786
- value: "SKIPPED";
1787
- } | {
1788
- error: string;
1789
- details: string;
1790
- value: "FAILED";
1791
- };
1792
- campaignId: string;
1793
- distributionChain: number;
1794
- };
1795
- params: Record<never, string>;
1796
- query: unknown;
1797
- headers: {
1798
- authorization: string;
1799
- };
1800
- response: {
1801
- 200: void;
1802
- };
1803
- };
1804
- };
1805
- };
1806
- } & {
1807
- campaignStatus: {
1808
- index: {
1809
- get: {
1810
- body: unknown;
1811
- params: Record<never, string>;
1812
- query: unknown;
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
- unique: {
1830
- get: {
1831
- body: unknown;
1832
- params: Record<never, string>;
1833
- query: {
1834
- identifier: string;
1835
- distributionChain: number;
1836
- };
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
- };
1847
- };
1848
- };
1849
- };
1850
- };
1851
- } & {
1852
- campaignStatus: {
1853
- computeChain: {
1774
+ dynamicData: {
1775
+ chainId: {
1854
1776
  ":chainId": {
1855
- get: {
1856
- body: unknown;
1857
- params: {
1858
- chainId: number;
1859
- };
1860
- query: unknown;
1861
- headers: unknown;
1862
- response: {
1863
- 200: {
1864
- campaignId: string;
1865
- computedUntil: bigint;
1866
- processingStarted: bigint;
1867
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1868
- error: string;
1869
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1870
- }[];
1777
+ token: {
1778
+ ":tokenAddress": {
1779
+ get: {
1780
+ body: unknown;
1781
+ params: {
1782
+ chainId: string;
1783
+ tokenAddress: string;
1784
+ };
1785
+ query: unknown;
1786
+ headers: unknown;
1787
+ response: {
1788
+ 200: {
1789
+ tvl: number;
1790
+ totalSupply: number;
1791
+ cardName: string;
1792
+ blacklistedSupply: number;
1793
+ priceTargetToken: number;
1794
+ };
1795
+ };
1796
+ };
1871
1797
  };
1872
1798
  };
1873
1799
  };
1874
1800
  };
1875
1801
  };
1876
- } & {
1877
- campaignStatus: {
1878
- overlaps: {
1879
- get: {
1880
- body: unknown;
1881
- params: Record<never, string>;
1882
- query: {
1883
- identifier: string;
1884
- distributionChain: number;
1885
- };
1886
- headers: {
1887
- authorization: string;
1888
- };
1889
- response: {
1890
- 200: boolean;
1891
- };
1892
- };
1893
- };
1894
- };
1895
1802
  };
1896
1803
  } & {
1897
1804
  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 RewardService)["getByRecipient"]>>;
1190
+ rewards: Awaited<ReturnType<(typeof 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 RewardService)["getByRecipient"]>>;
1300
+ rewards: Awaited<ReturnType<(typeof 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
- campaignStatus: {
1757
- engine: {
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
- get: {
1838
- body: unknown;
1839
- params: {
1840
- chainId: number;
1841
- };
1842
- query: unknown;
1843
- headers: unknown;
1844
- response: {
1845
- 200: {
1846
- campaignId: string;
1847
- computedUntil: bigint;
1848
- processingStarted: bigint;
1849
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1850
- error: string;
1851
- details: import("../../../database/api/.generated").Prisma.JsonValue;
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: {
@@ -1188,7 +1188,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1188
1188
  response: {
1189
1189
  200: (Omit<{
1190
1190
  chain: import("../../../database/api/.generated").Chain;
1191
- rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["getByRecipient"]>>;
1191
+ rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
1192
1192
  }, "rewards"> & {
1193
1193
  rewards: (Omit<{
1194
1194
  token: {
@@ -1298,7 +1298,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1298
1298
  response: {
1299
1299
  200: (Omit<{
1300
1300
  chain: import("../../../database/api/.generated").Chain;
1301
- rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["getByRecipient"]>>;
1301
+ rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
1302
1302
  }, "rewards"> & {
1303
1303
  rewards: (Omit<{
1304
1304
  token: {
@@ -1754,127 +1754,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1754
1754
  };
1755
1755
  } & {
1756
1756
  v4: {
1757
- campaignStatus: {
1758
- engine: {
1759
- post: {
1760
- body: {
1761
- status: {
1762
- value: "SUCCESS";
1763
- computedUntil: number;
1764
- } | {
1765
- value: "PROCESSING";
1766
- } | {
1767
- error: string;
1768
- details: string;
1769
- value: "SKIPPED";
1770
- } | {
1771
- error: string;
1772
- details: string;
1773
- value: "FAILED";
1774
- };
1775
- campaignId: string;
1776
- distributionChain: number;
1777
- };
1778
- params: Record<never, string>;
1779
- query: unknown;
1780
- headers: {
1781
- authorization: string;
1782
- };
1783
- response: {
1784
- 200: void;
1785
- };
1786
- };
1787
- };
1788
- };
1789
- } & {
1790
- campaignStatus: {
1791
- index: {
1792
- get: {
1793
- body: unknown;
1794
- params: Record<never, string>;
1795
- query: unknown;
1796
- headers: unknown;
1797
- response: {
1798
- 200: {
1799
- campaignId: string;
1800
- computedUntil: bigint;
1801
- processingStarted: bigint;
1802
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1803
- error: string;
1804
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1805
- }[];
1806
- };
1807
- };
1808
- };
1809
- };
1810
- } & {
1811
- campaignStatus: {
1812
- unique: {
1813
- get: {
1814
- body: unknown;
1815
- params: Record<never, string>;
1816
- query: {
1817
- identifier: string;
1818
- distributionChain: number;
1819
- };
1820
- headers: unknown;
1821
- response: {
1822
- 200: {
1823
- campaignId: string;
1824
- computedUntil: bigint;
1825
- processingStarted: bigint;
1826
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1827
- error: string;
1828
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1829
- };
1830
- };
1831
- };
1832
- };
1833
- };
1834
- } & {
1835
- campaignStatus: {
1836
- computeChain: {
1757
+ dynamicData: {
1758
+ chainId: {
1837
1759
  ":chainId": {
1838
- get: {
1839
- body: unknown;
1840
- params: {
1841
- chainId: number;
1842
- };
1843
- query: unknown;
1844
- headers: unknown;
1845
- response: {
1846
- 200: {
1847
- campaignId: string;
1848
- computedUntil: bigint;
1849
- processingStarted: bigint;
1850
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1851
- error: string;
1852
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1853
- }[];
1760
+ token: {
1761
+ ":tokenAddress": {
1762
+ get: {
1763
+ body: unknown;
1764
+ params: {
1765
+ chainId: string;
1766
+ tokenAddress: string;
1767
+ };
1768
+ query: unknown;
1769
+ headers: unknown;
1770
+ response: {
1771
+ 200: {
1772
+ tvl: number;
1773
+ totalSupply: number;
1774
+ cardName: string;
1775
+ blacklistedSupply: number;
1776
+ priceTargetToken: number;
1777
+ };
1778
+ };
1779
+ };
1854
1780
  };
1855
1781
  };
1856
1782
  };
1857
1783
  };
1858
1784
  };
1859
- } & {
1860
- campaignStatus: {
1861
- overlaps: {
1862
- get: {
1863
- body: unknown;
1864
- params: Record<never, string>;
1865
- query: {
1866
- identifier: string;
1867
- distributionChain: number;
1868
- };
1869
- headers: {
1870
- authorization: string;
1871
- };
1872
- response: {
1873
- 200: boolean;
1874
- };
1875
- };
1876
- };
1877
- };
1878
1785
  };
1879
1786
  } & {
1880
1787
  index: {
@@ -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 RewardService)["getByRecipient"]>>;
1193
+ rewards: Awaited<ReturnType<(typeof 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 RewardService)["getByRecipient"]>>;
1303
+ rewards: Awaited<ReturnType<(typeof 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: {
@@ -0,0 +1,2 @@
1
+ import { tokenType } from "../libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType";
2
+ export declare function decodeCall(calls: string[], index: number, key: string, type?: tokenType): any;