@merkl/api 1.0.21 → 1.0.23
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.
- package/dist/src/eden/index.d.ts +13 -239
- package/dist/src/index.d.ts +7 -122
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +3 -122
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +1 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +4 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +0 -97
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +1 -0
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +75 -2
- package/dist/src/modules/v4/reward/reward.controller.d.ts +3 -0
- package/dist/src/modules/v4/reward/reward.model.d.ts +1 -0
- package/dist/src/modules/v4/reward/reward.repository.d.ts +5 -5
- package/dist/src/modules/v4/router.d.ts +7 -122
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -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;
|
@@ -4184,6 +4066,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
4184
4066
|
body: unknown;
|
4185
4067
|
params: {};
|
4186
4068
|
query: {
|
4069
|
+
recipient?: string | undefined;
|
4187
4070
|
items?: number | undefined;
|
4188
4071
|
page?: number | undefined;
|
4189
4072
|
campaignIds?: string[] | undefined;
|
@@ -4217,6 +4100,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
4217
4100
|
body: unknown;
|
4218
4101
|
params: {};
|
4219
4102
|
query: {
|
4103
|
+
recipient?: string | undefined;
|
4220
4104
|
items?: number | undefined;
|
4221
4105
|
page?: number | undefined;
|
4222
4106
|
campaignIds?: string[] | undefined;
|
@@ -4249,6 +4133,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
4249
4133
|
body: unknown;
|
4250
4134
|
params: {};
|
4251
4135
|
query: {
|
4136
|
+
recipient?: string | undefined;
|
4252
4137
|
items?: number | undefined;
|
4253
4138
|
page?: number | undefined;
|
4254
4139
|
campaignIds?: string[] | undefined;
|
@@ -11304,6 +11189,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
11304
11189
|
endTimestamp?: string | undefined;
|
11305
11190
|
opportunityId?: string | undefined;
|
11306
11191
|
creatorAddress?: string | undefined;
|
11192
|
+
mainProtocolId?: string | undefined;
|
11307
11193
|
subType?: number | undefined;
|
11308
11194
|
rootCampaignId?: string | undefined;
|
11309
11195
|
parentCampaignId?: string | undefined;
|
@@ -11983,123 +11869,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
11983
11869
|
};
|
11984
11870
|
}>>;
|
11985
11871
|
};
|
11986
|
-
reparse: ((params: {
|
11987
|
-
id: string | number;
|
11988
|
-
}) => {
|
11989
|
-
put: (body: unknown, options: {
|
11990
|
-
headers: {
|
11991
|
-
authorization: string;
|
11992
|
-
};
|
11993
|
-
query?: Record<string, unknown> | undefined;
|
11994
|
-
fetch?: RequestInit | undefined;
|
11995
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
11996
|
-
200: {
|
11997
|
-
campaignId: string;
|
11998
|
-
description: string | null;
|
11999
|
-
id: string;
|
12000
|
-
params: import("@prisma/client/runtime/library").JsonValue;
|
12001
|
-
amount: string;
|
12002
|
-
startTimestamp: bigint;
|
12003
|
-
type: string;
|
12004
|
-
computeChainId: number;
|
12005
|
-
distributionChainId: number;
|
12006
|
-
endTimestamp: bigint;
|
12007
|
-
opportunityId: string;
|
12008
|
-
creatorAddress: string;
|
12009
|
-
distributionType: import("@package/databases").DistributionType;
|
12010
|
-
subType: number | null;
|
12011
|
-
rewardTokenId: string;
|
12012
|
-
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
12013
|
-
createdAt: Date;
|
12014
|
-
rootCampaignId: string | null;
|
12015
|
-
parentCampaignId: string | null;
|
12016
|
-
} | {
|
12017
|
-
id: string;
|
12018
|
-
chainId: number;
|
12019
|
-
type: string;
|
12020
|
-
identifier: string;
|
12021
|
-
name: string;
|
12022
|
-
status: "PAST" | "LIVE" | "SOON";
|
12023
|
-
action: any;
|
12024
|
-
tokens: ({
|
12025
|
-
symbol: string;
|
12026
|
-
name: string | null;
|
12027
|
-
decimals: number;
|
12028
|
-
address: string;
|
12029
|
-
id: string;
|
12030
|
-
chainId: number;
|
12031
|
-
icon: string;
|
12032
|
-
isNative: boolean;
|
12033
|
-
isPoint: boolean;
|
12034
|
-
isPreTGE: boolean;
|
12035
|
-
isTest: boolean;
|
12036
|
-
verified: boolean;
|
12037
|
-
} & {
|
12038
|
-
price?: number | null | undefined;
|
12039
|
-
isTokenWrapper?: boolean | undefined;
|
12040
|
-
tokenWrapperAddress?: string | undefined;
|
12041
|
-
})[];
|
12042
|
-
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;
|
12043
|
-
description: string;
|
12044
|
-
howToSteps: string[];
|
12045
|
-
depositUrl: string | undefined;
|
12046
|
-
explorerAddress: string | undefined;
|
12047
|
-
tags: string[];
|
12048
|
-
} | {
|
12049
|
-
Tokens: {
|
12050
|
-
symbol: string;
|
12051
|
-
name: string | null;
|
12052
|
-
decimals: number;
|
12053
|
-
price: number | null;
|
12054
|
-
address: string;
|
12055
|
-
id: string;
|
12056
|
-
chainId: number;
|
12057
|
-
icon: string;
|
12058
|
-
isNative: boolean;
|
12059
|
-
isPoint: boolean;
|
12060
|
-
isPreTGE: boolean;
|
12061
|
-
isTest: boolean;
|
12062
|
-
verified: boolean;
|
12063
|
-
displaySymbol: string;
|
12064
|
-
}[];
|
12065
|
-
Protocols: {
|
12066
|
-
name: string;
|
12067
|
-
description: string;
|
12068
|
-
id: string;
|
12069
|
-
url: string;
|
12070
|
-
icon: string;
|
12071
|
-
tags: string[];
|
12072
|
-
}[];
|
12073
|
-
name: string;
|
12074
|
-
apr: number;
|
12075
|
-
tvl: number;
|
12076
|
-
description: string;
|
12077
|
-
id: string;
|
12078
|
-
status: import("@package/databases").Status;
|
12079
|
-
chainId: number;
|
12080
|
-
action: import("@package/databases").OpportunityAction;
|
12081
|
-
type: string;
|
12082
|
-
depositUrl: string | null;
|
12083
|
-
explorerAddress: string | null;
|
12084
|
-
howToSteps: string[];
|
12085
|
-
mainProtocolId: string | null;
|
12086
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
12087
|
-
identifier: string;
|
12088
|
-
dailyRewards: number;
|
12089
|
-
tags: string[];
|
12090
|
-
lastCampaignCreatedAt: Date;
|
12091
|
-
} | undefined;
|
12092
|
-
422: {
|
12093
|
-
type: "validation";
|
12094
|
-
on: string;
|
12095
|
-
summary?: string;
|
12096
|
-
message?: string;
|
12097
|
-
found?: unknown;
|
12098
|
-
property?: string;
|
12099
|
-
expected?: string;
|
12100
|
-
};
|
12101
|
-
}>>;
|
12102
|
-
}) & {};
|
12103
11872
|
opportunity: {
|
12104
11873
|
patch: (body: {
|
12105
11874
|
opportunityIdentifier?: string | undefined;
|
@@ -12254,6 +12023,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
12254
12023
|
endTimestamp?: string | undefined;
|
12255
12024
|
opportunityId?: string | undefined;
|
12256
12025
|
creatorAddress?: string | undefined;
|
12026
|
+
mainProtocolId?: string | undefined;
|
12257
12027
|
subType?: number | undefined;
|
12258
12028
|
rootCampaignId?: string | undefined;
|
12259
12029
|
parentCampaignId?: string | undefined;
|
@@ -12487,6 +12257,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
12487
12257
|
endTimestamp?: string | undefined;
|
12488
12258
|
opportunityId?: string | undefined;
|
12489
12259
|
creatorAddress?: string | undefined;
|
12260
|
+
mainProtocolId?: string | undefined;
|
12490
12261
|
subType?: number | undefined;
|
12491
12262
|
rootCampaignId?: string | undefined;
|
12492
12263
|
parentCampaignId?: string | undefined;
|
@@ -14018,6 +13789,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
14018
13789
|
get: (options: {
|
14019
13790
|
headers?: Record<string, unknown> | undefined;
|
14020
13791
|
query: {
|
13792
|
+
recipient?: string | undefined;
|
14021
13793
|
items?: number | undefined;
|
14022
13794
|
page?: number | undefined;
|
14023
13795
|
campaignIds?: string[] | undefined;
|
@@ -14046,6 +13818,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
14046
13818
|
get: (options: {
|
14047
13819
|
headers?: Record<string, unknown> | undefined;
|
14048
13820
|
query: {
|
13821
|
+
recipient?: string | undefined;
|
14049
13822
|
items?: number | undefined;
|
14050
13823
|
page?: number | undefined;
|
14051
13824
|
campaignIds?: string[] | undefined;
|
@@ -14073,6 +13846,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
14073
13846
|
get: (options: {
|
14074
13847
|
headers?: Record<string, unknown> | undefined;
|
14075
13848
|
query: {
|
13849
|
+
recipient?: string | undefined;
|
14076
13850
|
items?: number | undefined;
|
14077
13851
|
page?: number | undefined;
|
14078
13852
|
campaignIds?: string[] | undefined;
|
package/dist/src/index.d.ts
CHANGED
@@ -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;
|
@@ -4185,6 +4067,7 @@ declare const app: Elysia<"", {
|
|
4185
4067
|
body: unknown;
|
4186
4068
|
params: {};
|
4187
4069
|
query: {
|
4070
|
+
recipient?: string | undefined;
|
4188
4071
|
items?: number | undefined;
|
4189
4072
|
page?: number | undefined;
|
4190
4073
|
campaignIds?: string[] | undefined;
|
@@ -4218,6 +4101,7 @@ declare const app: Elysia<"", {
|
|
4218
4101
|
body: unknown;
|
4219
4102
|
params: {};
|
4220
4103
|
query: {
|
4104
|
+
recipient?: string | undefined;
|
4221
4105
|
items?: number | undefined;
|
4222
4106
|
page?: number | undefined;
|
4223
4107
|
campaignIds?: string[] | undefined;
|
@@ -4250,6 +4134,7 @@ declare const app: Elysia<"", {
|
|
4250
4134
|
body: unknown;
|
4251
4135
|
params: {};
|
4252
4136
|
query: {
|
4137
|
+
recipient?: string | undefined;
|
4253
4138
|
items?: number | undefined;
|
4254
4139
|
page?: number | undefined;
|
4255
4140
|
campaignIds?: string[] | undefined;
|