@merkl/api 1.0.22 → 1.0.24

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.
@@ -671,6 +671,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
671
671
  endTimestamp?: string | undefined;
672
672
  opportunityId?: string | undefined;
673
673
  creatorAddress?: string | undefined;
674
+ mainProtocolId?: string | undefined;
674
675
  subType?: number | undefined;
675
676
  rootCampaignId?: string | undefined;
676
677
  parentCampaignId?: string | undefined;
@@ -1774,128 +1775,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
1774
1775
  };
1775
1776
  };
1776
1777
  };
1777
- } & {
1778
- reparse: {
1779
- ":id": {
1780
- put: {
1781
- body: unknown;
1782
- params: {
1783
- id: string;
1784
- };
1785
- query: unknown;
1786
- headers: {
1787
- authorization: string;
1788
- };
1789
- response: {
1790
- 200: {
1791
- campaignId: string;
1792
- description: string | null;
1793
- id: string;
1794
- params: import("@prisma/client/runtime/library").JsonValue;
1795
- amount: string;
1796
- startTimestamp: bigint;
1797
- type: string;
1798
- computeChainId: number;
1799
- distributionChainId: number;
1800
- endTimestamp: bigint;
1801
- opportunityId: string;
1802
- creatorAddress: string;
1803
- distributionType: import("@package/databases").DistributionType;
1804
- subType: number | null;
1805
- rewardTokenId: string;
1806
- manualOverrides: import("@package/databases").CampaignManualOverride[];
1807
- createdAt: Date;
1808
- rootCampaignId: string | null;
1809
- parentCampaignId: string | null;
1810
- } | {
1811
- id: string;
1812
- chainId: number;
1813
- type: string;
1814
- identifier: string;
1815
- name: string;
1816
- status: "PAST" | "LIVE" | "SOON";
1817
- action: any;
1818
- tokens: ({
1819
- symbol: string;
1820
- name: string | null;
1821
- decimals: number;
1822
- address: string;
1823
- id: string;
1824
- chainId: number;
1825
- icon: string;
1826
- isNative: boolean;
1827
- isPoint: boolean;
1828
- isPreTGE: boolean;
1829
- isTest: boolean;
1830
- verified: boolean;
1831
- } & {
1832
- price?: number | null | undefined;
1833
- isTokenWrapper?: boolean | undefined;
1834
- tokenWrapperAddress?: string | undefined;
1835
- })[];
1836
- mainProtocol: "splice" | "curve" | "morpho" | "compound" | "reserve" | "gamma" | "vest" | "zero" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quickswap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "mimswap" | "ichi" | "radiant" | "aave" | "fraxlend" | "ironclad" | "euler" | "gearbox" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "hypurrfi" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
1837
- description: string;
1838
- howToSteps: string[];
1839
- depositUrl: string | undefined;
1840
- explorerAddress: string | undefined;
1841
- tags: string[];
1842
- } | {
1843
- Tokens: {
1844
- symbol: string;
1845
- name: string | null;
1846
- decimals: number;
1847
- price: number | null;
1848
- address: string;
1849
- id: string;
1850
- chainId: number;
1851
- icon: string;
1852
- isNative: boolean;
1853
- isPoint: boolean;
1854
- isPreTGE: boolean;
1855
- isTest: boolean;
1856
- verified: boolean;
1857
- displaySymbol: string;
1858
- }[];
1859
- Protocols: {
1860
- name: string;
1861
- description: string;
1862
- id: string;
1863
- url: string;
1864
- icon: string;
1865
- tags: string[];
1866
- }[];
1867
- name: string;
1868
- apr: number;
1869
- tvl: number;
1870
- description: string;
1871
- id: string;
1872
- status: import("@package/databases").Status;
1873
- chainId: number;
1874
- action: import("@package/databases").OpportunityAction;
1875
- type: string;
1876
- depositUrl: string | null;
1877
- explorerAddress: string | null;
1878
- howToSteps: string[];
1879
- mainProtocolId: string | null;
1880
- manualOverrides: import("@package/databases").OpportunityManualOverride[];
1881
- identifier: string;
1882
- dailyRewards: number;
1883
- tags: string[];
1884
- lastCampaignCreatedAt: Date;
1885
- } | undefined;
1886
- 422: {
1887
- type: "validation";
1888
- on: string;
1889
- summary?: string;
1890
- message?: string;
1891
- found?: unknown;
1892
- property?: string;
1893
- expected?: string;
1894
- };
1895
- };
1896
- };
1897
- };
1898
- };
1899
1778
  } & {
1900
1779
  opportunity: {
1901
1780
  patch: {
@@ -2069,6 +1948,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
2069
1948
  endTimestamp?: string | undefined;
2070
1949
  opportunityId?: string | undefined;
2071
1950
  creatorAddress?: string | undefined;
1951
+ mainProtocolId?: string | undefined;
2072
1952
  subType?: number | undefined;
2073
1953
  rootCampaignId?: string | undefined;
2074
1954
  parentCampaignId?: string | undefined;
@@ -2454,6 +2334,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
2454
2334
  endTimestamp?: string | undefined;
2455
2335
  opportunityId?: string | undefined;
2456
2336
  creatorAddress?: string | undefined;
2337
+ mainProtocolId?: string | undefined;
2457
2338
  subType?: number | undefined;
2458
2339
  rootCampaignId?: string | undefined;
2459
2340
  parentCampaignId?: string | undefined;
@@ -2569,6 +2450,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
2569
2450
  endTimestamp?: string | undefined;
2570
2451
  opportunityId?: string | undefined;
2571
2452
  creatorAddress?: string | undefined;
2453
+ mainProtocolId?: string | undefined;
2572
2454
  subType?: number | undefined;
2573
2455
  rootCampaignId?: string | undefined;
2574
2456
  parentCampaignId?: string | undefined;
@@ -11307,6 +11189,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
11307
11189
  endTimestamp?: string | undefined;
11308
11190
  opportunityId?: string | undefined;
11309
11191
  creatorAddress?: string | undefined;
11192
+ mainProtocolId?: string | undefined;
11310
11193
  subType?: number | undefined;
11311
11194
  rootCampaignId?: string | undefined;
11312
11195
  parentCampaignId?: string | undefined;
@@ -11986,123 +11869,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
11986
11869
  };
11987
11870
  }>>;
11988
11871
  };
11989
- reparse: ((params: {
11990
- id: string | number;
11991
- }) => {
11992
- put: (body: unknown, options: {
11993
- headers: {
11994
- authorization: string;
11995
- };
11996
- query?: Record<string, unknown> | undefined;
11997
- fetch?: RequestInit | undefined;
11998
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
11999
- 200: {
12000
- campaignId: string;
12001
- description: string | null;
12002
- id: string;
12003
- params: import("@prisma/client/runtime/library").JsonValue;
12004
- amount: string;
12005
- startTimestamp: bigint;
12006
- type: string;
12007
- computeChainId: number;
12008
- distributionChainId: number;
12009
- endTimestamp: bigint;
12010
- opportunityId: string;
12011
- creatorAddress: string;
12012
- distributionType: import("@package/databases").DistributionType;
12013
- subType: number | null;
12014
- rewardTokenId: string;
12015
- manualOverrides: import("@package/databases").CampaignManualOverride[];
12016
- createdAt: Date;
12017
- rootCampaignId: string | null;
12018
- parentCampaignId: string | null;
12019
- } | {
12020
- id: string;
12021
- chainId: number;
12022
- type: string;
12023
- identifier: string;
12024
- name: string;
12025
- status: "PAST" | "LIVE" | "SOON";
12026
- action: any;
12027
- tokens: ({
12028
- symbol: string;
12029
- name: string | null;
12030
- decimals: number;
12031
- address: string;
12032
- id: string;
12033
- chainId: number;
12034
- icon: string;
12035
- isNative: boolean;
12036
- isPoint: boolean;
12037
- isPreTGE: boolean;
12038
- isTest: boolean;
12039
- verified: boolean;
12040
- } & {
12041
- price?: number | null | undefined;
12042
- isTokenWrapper?: boolean | undefined;
12043
- tokenWrapperAddress?: string | undefined;
12044
- })[];
12045
- mainProtocol: "splice" | "curve" | "morpho" | "compound" | "reserve" | "gamma" | "vest" | "zero" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quickswap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "mimswap" | "ichi" | "radiant" | "aave" | "fraxlend" | "ironclad" | "euler" | "gearbox" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "hypurrfi" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
12046
- description: string;
12047
- howToSteps: string[];
12048
- depositUrl: string | undefined;
12049
- explorerAddress: string | undefined;
12050
- tags: string[];
12051
- } | {
12052
- Tokens: {
12053
- symbol: string;
12054
- name: string | null;
12055
- decimals: number;
12056
- price: number | null;
12057
- address: string;
12058
- id: string;
12059
- chainId: number;
12060
- icon: string;
12061
- isNative: boolean;
12062
- isPoint: boolean;
12063
- isPreTGE: boolean;
12064
- isTest: boolean;
12065
- verified: boolean;
12066
- displaySymbol: string;
12067
- }[];
12068
- Protocols: {
12069
- name: string;
12070
- description: string;
12071
- id: string;
12072
- url: string;
12073
- icon: string;
12074
- tags: string[];
12075
- }[];
12076
- name: string;
12077
- apr: number;
12078
- tvl: number;
12079
- description: string;
12080
- id: string;
12081
- status: import("@package/databases").Status;
12082
- chainId: number;
12083
- action: import("@package/databases").OpportunityAction;
12084
- type: string;
12085
- depositUrl: string | null;
12086
- explorerAddress: string | null;
12087
- howToSteps: string[];
12088
- mainProtocolId: string | null;
12089
- manualOverrides: import("@package/databases").OpportunityManualOverride[];
12090
- identifier: string;
12091
- dailyRewards: number;
12092
- tags: string[];
12093
- lastCampaignCreatedAt: Date;
12094
- } | undefined;
12095
- 422: {
12096
- type: "validation";
12097
- on: string;
12098
- summary?: string;
12099
- message?: string;
12100
- found?: unknown;
12101
- property?: string;
12102
- expected?: string;
12103
- };
12104
- }>>;
12105
- }) & {};
12106
11872
  opportunity: {
12107
11873
  patch: (body: {
12108
11874
  opportunityIdentifier?: string | undefined;
@@ -12257,6 +12023,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
12257
12023
  endTimestamp?: string | undefined;
12258
12024
  opportunityId?: string | undefined;
12259
12025
  creatorAddress?: string | undefined;
12026
+ mainProtocolId?: string | undefined;
12260
12027
  subType?: number | undefined;
12261
12028
  rootCampaignId?: string | undefined;
12262
12029
  parentCampaignId?: string | undefined;
@@ -12490,6 +12257,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
12490
12257
  endTimestamp?: string | undefined;
12491
12258
  opportunityId?: string | undefined;
12492
12259
  creatorAddress?: string | undefined;
12260
+ mainProtocolId?: string | undefined;
12493
12261
  subType?: number | undefined;
12494
12262
  rootCampaignId?: string | undefined;
12495
12263
  parentCampaignId?: string | undefined;
@@ -672,6 +672,7 @@ declare const app: Elysia<"", {
672
672
  endTimestamp?: string | undefined;
673
673
  opportunityId?: string | undefined;
674
674
  creatorAddress?: string | undefined;
675
+ mainProtocolId?: string | undefined;
675
676
  subType?: number | undefined;
676
677
  rootCampaignId?: string | undefined;
677
678
  parentCampaignId?: string | undefined;
@@ -1775,128 +1776,6 @@ declare const app: Elysia<"", {
1775
1776
  };
1776
1777
  };
1777
1778
  };
1778
- } & {
1779
- reparse: {
1780
- ":id": {
1781
- put: {
1782
- body: unknown;
1783
- params: {
1784
- id: string;
1785
- };
1786
- query: unknown;
1787
- headers: {
1788
- authorization: string;
1789
- };
1790
- response: {
1791
- 200: {
1792
- campaignId: string;
1793
- description: string | null;
1794
- id: string;
1795
- params: import("@prisma/client/runtime/library").JsonValue;
1796
- amount: string;
1797
- startTimestamp: bigint;
1798
- type: string;
1799
- computeChainId: number;
1800
- distributionChainId: number;
1801
- endTimestamp: bigint;
1802
- opportunityId: string;
1803
- creatorAddress: string;
1804
- distributionType: import("@package/databases").DistributionType;
1805
- subType: number | null;
1806
- rewardTokenId: string;
1807
- manualOverrides: import("@package/databases").CampaignManualOverride[];
1808
- createdAt: Date;
1809
- rootCampaignId: string | null;
1810
- parentCampaignId: string | null;
1811
- } | {
1812
- id: string;
1813
- chainId: number;
1814
- type: string;
1815
- identifier: string;
1816
- name: string;
1817
- status: "PAST" | "LIVE" | "SOON";
1818
- action: any;
1819
- tokens: ({
1820
- symbol: string;
1821
- name: string | null;
1822
- decimals: number;
1823
- address: string;
1824
- id: string;
1825
- chainId: number;
1826
- icon: string;
1827
- isNative: boolean;
1828
- isPoint: boolean;
1829
- isPreTGE: boolean;
1830
- isTest: boolean;
1831
- verified: boolean;
1832
- } & {
1833
- price?: number | null | undefined;
1834
- isTokenWrapper?: boolean | undefined;
1835
- tokenWrapperAddress?: string | undefined;
1836
- })[];
1837
- mainProtocol: "splice" | "curve" | "morpho" | "compound" | "reserve" | "gamma" | "vest" | "zero" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quickswap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "mimswap" | "ichi" | "radiant" | "aave" | "fraxlend" | "ironclad" | "euler" | "gearbox" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "hypurrfi" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
1838
- description: string;
1839
- howToSteps: string[];
1840
- depositUrl: string | undefined;
1841
- explorerAddress: string | undefined;
1842
- tags: string[];
1843
- } | {
1844
- Tokens: {
1845
- symbol: string;
1846
- name: string | null;
1847
- decimals: number;
1848
- price: number | null;
1849
- address: string;
1850
- id: string;
1851
- chainId: number;
1852
- icon: string;
1853
- isNative: boolean;
1854
- isPoint: boolean;
1855
- isPreTGE: boolean;
1856
- isTest: boolean;
1857
- verified: boolean;
1858
- displaySymbol: string;
1859
- }[];
1860
- Protocols: {
1861
- name: string;
1862
- description: string;
1863
- id: string;
1864
- url: string;
1865
- icon: string;
1866
- tags: string[];
1867
- }[];
1868
- name: string;
1869
- apr: number;
1870
- tvl: number;
1871
- description: string;
1872
- id: string;
1873
- status: import("@package/databases").Status;
1874
- chainId: number;
1875
- action: import("@package/databases").OpportunityAction;
1876
- type: string;
1877
- depositUrl: string | null;
1878
- explorerAddress: string | null;
1879
- howToSteps: string[];
1880
- mainProtocolId: string | null;
1881
- manualOverrides: import("@package/databases").OpportunityManualOverride[];
1882
- identifier: string;
1883
- dailyRewards: number;
1884
- tags: string[];
1885
- lastCampaignCreatedAt: Date;
1886
- } | undefined;
1887
- 422: {
1888
- type: "validation";
1889
- on: string;
1890
- summary?: string;
1891
- message?: string;
1892
- found?: unknown;
1893
- property?: string;
1894
- expected?: string;
1895
- };
1896
- };
1897
- };
1898
- };
1899
- };
1900
1779
  } & {
1901
1780
  opportunity: {
1902
1781
  patch: {
@@ -2070,6 +1949,7 @@ declare const app: Elysia<"", {
2070
1949
  endTimestamp?: string | undefined;
2071
1950
  opportunityId?: string | undefined;
2072
1951
  creatorAddress?: string | undefined;
1952
+ mainProtocolId?: string | undefined;
2073
1953
  subType?: number | undefined;
2074
1954
  rootCampaignId?: string | undefined;
2075
1955
  parentCampaignId?: string | undefined;
@@ -2455,6 +2335,7 @@ declare const app: Elysia<"", {
2455
2335
  endTimestamp?: string | undefined;
2456
2336
  opportunityId?: string | undefined;
2457
2337
  creatorAddress?: string | undefined;
2338
+ mainProtocolId?: string | undefined;
2458
2339
  subType?: number | undefined;
2459
2340
  rootCampaignId?: string | undefined;
2460
2341
  parentCampaignId?: string | undefined;
@@ -2570,6 +2451,7 @@ declare const app: Elysia<"", {
2570
2451
  endTimestamp?: string | undefined;
2571
2452
  opportunityId?: string | undefined;
2572
2453
  creatorAddress?: string | undefined;
2454
+ mainProtocolId?: string | undefined;
2573
2455
  subType?: number | undefined;
2574
2456
  rootCampaignId?: string | undefined;
2575
2457
  parentCampaignId?: string | undefined;
@@ -149,128 +149,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
149
149
  };
150
150
  };
151
151
  };
152
- } & {
153
- reparse: {
154
- ":id": {
155
- put: {
156
- body: unknown;
157
- params: {
158
- id: string;
159
- };
160
- query: unknown;
161
- headers: {
162
- authorization: string;
163
- };
164
- response: {
165
- 200: {
166
- campaignId: string;
167
- description: string | null;
168
- id: string;
169
- params: import("@prisma/client/runtime/library").JsonValue;
170
- amount: string;
171
- startTimestamp: bigint;
172
- type: string;
173
- computeChainId: number;
174
- distributionChainId: number;
175
- endTimestamp: bigint;
176
- opportunityId: string;
177
- creatorAddress: string;
178
- distributionType: import("@package/databases").DistributionType;
179
- subType: number | null;
180
- rewardTokenId: string;
181
- manualOverrides: import("@package/databases").CampaignManualOverride[];
182
- createdAt: Date;
183
- rootCampaignId: string | null;
184
- parentCampaignId: string | null;
185
- } | {
186
- id: string;
187
- chainId: number;
188
- type: string;
189
- identifier: string;
190
- name: string;
191
- status: "PAST" | "LIVE" | "SOON";
192
- action: any;
193
- tokens: ({
194
- symbol: string;
195
- name: string | null;
196
- decimals: number;
197
- address: string;
198
- id: string;
199
- chainId: number;
200
- icon: string;
201
- isNative: boolean;
202
- isPoint: boolean;
203
- isPreTGE: boolean;
204
- isTest: boolean;
205
- verified: boolean;
206
- } & {
207
- price?: number | null | undefined;
208
- isTokenWrapper?: boolean | undefined;
209
- tokenWrapperAddress?: string | undefined;
210
- })[];
211
- mainProtocol: "splice" | "curve" | "morpho" | "compound" | "reserve" | "gamma" | "vest" | "zero" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quickswap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "mimswap" | "ichi" | "radiant" | "aave" | "fraxlend" | "ironclad" | "euler" | "gearbox" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "hypurrfi" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
212
- description: string;
213
- howToSteps: string[];
214
- depositUrl: string | undefined;
215
- explorerAddress: string | undefined;
216
- tags: string[];
217
- } | {
218
- Tokens: {
219
- symbol: string;
220
- name: string | null;
221
- decimals: number;
222
- price: number | null;
223
- address: string;
224
- id: string;
225
- chainId: number;
226
- icon: string;
227
- isNative: boolean;
228
- isPoint: boolean;
229
- isPreTGE: boolean;
230
- isTest: boolean;
231
- verified: boolean;
232
- displaySymbol: string;
233
- }[];
234
- Protocols: {
235
- name: string;
236
- description: string;
237
- id: string;
238
- url: string;
239
- icon: string;
240
- tags: string[];
241
- }[];
242
- name: string;
243
- apr: number;
244
- tvl: number;
245
- description: string;
246
- id: string;
247
- status: import("@package/databases").Status;
248
- chainId: number;
249
- action: import("@package/databases").OpportunityAction;
250
- type: string;
251
- depositUrl: string | null;
252
- explorerAddress: string | null;
253
- howToSteps: string[];
254
- mainProtocolId: string | null;
255
- manualOverrides: import("@package/databases").OpportunityManualOverride[];
256
- identifier: string;
257
- dailyRewards: number;
258
- tags: string[];
259
- lastCampaignCreatedAt: Date;
260
- } | undefined;
261
- 422: {
262
- type: "validation";
263
- on: string;
264
- summary?: string;
265
- message?: string;
266
- found?: unknown;
267
- property?: string;
268
- expected?: string;
269
- };
270
- };
271
- };
272
- };
273
- };
274
152
  } & {
275
153
  opportunity: {
276
154
  patch: {
@@ -444,6 +322,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
444
322
  endTimestamp?: string | undefined;
445
323
  opportunityId?: string | undefined;
446
324
  creatorAddress?: string | undefined;
325
+ mainProtocolId?: string | undefined;
447
326
  subType?: number | undefined;
448
327
  rootCampaignId?: string | undefined;
449
328
  parentCampaignId?: string | undefined;
@@ -829,6 +708,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
829
708
  endTimestamp?: string | undefined;
830
709
  opportunityId?: string | undefined;
831
710
  creatorAddress?: string | undefined;
711
+ mainProtocolId?: string | undefined;
832
712
  subType?: number | undefined;
833
713
  rootCampaignId?: string | undefined;
834
714
  parentCampaignId?: string | undefined;
@@ -944,6 +824,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
944
824
  endTimestamp?: string | undefined;
945
825
  opportunityId?: string | undefined;
946
826
  creatorAddress?: string | undefined;
827
+ mainProtocolId?: string | undefined;
947
828
  subType?: number | undefined;
948
829
  rootCampaignId?: string | undefined;
949
830
  parentCampaignId?: string | undefined;
@@ -201,6 +201,7 @@ export declare const GetCampaignQueryDto: import("@sinclair/typebox").TObject<{
201
201
  createdAfter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>>;
202
202
  rootCampaignId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
203
203
  parentCampaignId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
204
+ mainProtocolId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
204
205
  page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
205
206
  items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
206
207
  }>;