@merkl/api 1.0.5 → 1.0.10
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 +754 -8976
- package/dist/src/eden/index.js +0 -2
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +1 -1
- package/dist/src/engine/deprecated/dynamicData/implementations/default.d.ts +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/GenericProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/factoryFinder.d.ts +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/hardcoded.d.ts +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/ownerFinder.d.ts +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/treasuryFinder.d.ts +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AaveProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AnglesLiquid.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AssetProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AuraProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BEXRewardGaugeProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BalancerGaugeProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BalancerPoolProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BalancerV3PoolProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BeefyProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BunniV2Processor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/CompoundProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/ERC4626Processor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/EnzymeProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/EqualizerGaugeProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/EulerBorrowProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/EulerLendProcessor.d.ts +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/FluidProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/FraxProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/GammaALMProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/GammaProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/GearboxProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/HanjiVaultProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/HoldStationProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/HourglassProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/MaverickBPProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/MetamorphoProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/NoLinkVaultProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/PendleProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/PendleYTProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/RadiantProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/RfxProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/Satlayer.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/SpectraProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/SpectraYTProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/SpliceProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/StabilityProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/SturdySiloProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/TempestVaultProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/TemplateProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/TorosProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/UniswapProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/VicunaProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/WoofiProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/ZkSwapThreePoolProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/curveNPoolProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/curveProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/processorMapping.d.ts +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/stakedCurveProcessor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/xU308Processor.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesPrices.d.ts +2 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound1.d.ts +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound2.d.ts +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound3.d.ts +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound4.d.ts +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/tokenTypeStruct.d.ts +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/tokenTypeToProtocolAndAction.d.ts +2 -2
- package/dist/src/engine/implementations/Ajna/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/Ajna/tvl.d.ts +1 -1
- package/dist/src/engine/implementations/Ambient/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/Ambient/tvl.d.ts +1 -1
- package/dist/src/engine/implementations/Badger/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/Clamm/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/Compound/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/CompoundV3/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/Default/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/Dolomite/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/EigenLayer/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/EigenLayer/tvl.d.ts +1 -1
- package/dist/src/engine/implementations/Encompassing/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/Erc20/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/Erc20/subTypes/detect.d.ts +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/factories.d.ts +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/aave/metadata.d.ts +4 -4
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/aave/tvl.d.ts +2 -2
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/euler/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/euler/tvl.d.ts +3 -3
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/gearbox/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/gearbox/tvl.d.ts +2 -2
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/hypurrfiIsolatedMarket/metadata.d.ts +4 -4
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/hypurrfiIsolatedMarket/tvl.d.ts +2 -2
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/lendleVaults/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/lendleVaults/tvl.d.ts +2 -2
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/metamorpho/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/metamorpho/tvl.d.ts +2 -2
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/tvl.d.ts +2 -2
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmax/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmax/tvl.d.ts +2 -2
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmaxVault/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmaxVault/tvl.d.ts +2 -2
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/metadata.d.ts +4 -4
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/mimswap/metadata.d.ts +30 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/mimswap/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/tvl.d.ts +2 -2
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +3 -1
- package/dist/src/engine/implementations/Erc20/tvl.d.ts +2 -2
- package/dist/src/engine/implementations/Erc20Snapshot/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/Erc721/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/ErcMultiToken/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/EventBased/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/FraxLend/metadataBorrow.d.ts +5 -5
- package/dist/src/engine/implementations/FraxLend/metadataCollateral.d.ts +2 -2
- package/dist/src/engine/implementations/Hyperdrive/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/Invalid/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/Ion/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/JsonAirdrop/metadata.d.ts +4 -4
- package/dist/src/engine/implementations/Locker/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/Locker/tvl.d.ts +1 -1
- package/dist/src/engine/implementations/Morpho/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/MultiLog/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/MultiLog/tvl.d.ts +1 -1
- package/dist/src/engine/implementations/Radiant/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/Silo/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/UniswapV4/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/UniswapV4/tvl.d.ts +1 -1
- package/dist/src/engine/implementations/Vest/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/morphoBorrow/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/morphoCollateral/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/morphoCollateral/tvl.d.ts +1 -1
- package/dist/src/engine/implementations/morphoSupply/metadata.d.ts +3 -3
- package/dist/src/engine/tvl/factory.d.ts +1 -1
- package/dist/src/index.d.ts +322 -75
- package/dist/src/libs/deprecated-merklv3/index.d.ts +2 -2
- package/dist/src/libs/positions/EigenLayer/index.d.ts +1 -1
- package/dist/src/libs/positions/ajna/index.d.ts +1 -1
- package/dist/src/libs/positions/badger/index.d.ts +1 -1
- package/dist/src/libs/positions/compound/index.d.ts +1 -1
- package/dist/src/libs/positions/dolomite/index.d.ts +1 -1
- package/dist/src/libs/positions/erc20/index.d.ts +1 -1
- package/dist/src/libs/positions/euler/index.d.ts +1 -1
- package/dist/src/libs/positions/morpho/index.d.ts +1 -1
- package/dist/src/libs/positions/silo/index.d.ts +1 -1
- package/dist/src/libs/tokens/balances.d.ts +1 -1
- package/dist/src/libs/tokens/tokenInfo.d.ts +1 -1
- package/dist/src/modules/v4/accounting/accounting.repository.d.ts +1 -1
- package/dist/src/modules/v4/accounting/accounting.service.d.ts +1 -1
- package/dist/src/modules/v4/apr/apr.model.d.ts +16 -2
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +27 -17
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +10 -2
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +17 -3
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +9 -3
- package/dist/src/modules/v4/chain/chain.model.d.ts +1 -1
- package/dist/src/modules/v4/claims/claims.service.d.ts +2 -2
- package/dist/src/modules/v4/creator/creator.controller.d.ts +187 -0
- package/dist/src/modules/v4/creator/creator.model.d.ts +1 -1
- package/dist/src/modules/v4/creator/creator.service.d.ts +135 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.model.d.ts +1 -1
- package/dist/src/modules/v4/enso/enso.service.d.ts +2 -2
- package/dist/src/modules/v4/interaction/interaction.model.d.ts +1 -1
- package/dist/src/modules/v4/interaction/interaction.service.d.ts +1 -1
- package/dist/src/modules/v4/kyberzap/kyberzap.service.d.ts +1 -1
- package/dist/src/modules/v4/liquidity/implementations/AjnaPositionFetcher.d.ts +1 -1
- package/dist/src/modules/v4/liquidity/implementations/BadgerPositionFetcher.d.ts +1 -1
- package/dist/src/modules/v4/liquidity/implementations/ClammPositionFetcher.d.ts +1 -1
- package/dist/src/modules/v4/liquidity/implementations/DolomitePositionFetcher.d.ts +1 -1
- package/dist/src/modules/v4/liquidity/implementations/ERC20PositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/EulerPositionFetcher.d.ts +1 -1
- package/dist/src/modules/v4/liquidity/liquidity.model.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +68 -44
- package/dist/src/modules/v4/opportunity/opportunity.converter.d.ts +4 -2
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +67 -27
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +4 -4
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +62 -30
- package/dist/src/modules/v4/payload/payload.controller.d.ts +1 -1
- package/dist/src/modules/v4/payload/payload.service.d.ts +1 -1
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +3 -1
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +18 -2
- package/dist/src/modules/v4/programPayload/programPayload.service.d.ts +2 -0
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +3 -0
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +5 -2
- package/dist/src/modules/v4/reward/reward.model.d.ts +18 -7
- package/dist/src/modules/v4/reward/reward.service.d.ts +5 -1
- package/dist/src/modules/v4/router.d.ts +308 -68
- package/dist/src/modules/v4/status/status.model.d.ts +2 -2
- package/dist/src/modules/v4/status/status.repository.d.ts +1 -1
- package/dist/src/modules/v4/status/status.service.d.ts +2 -2
- package/dist/src/modules/v4/token/token.controller.d.ts +10 -2
- package/dist/src/modules/v4/token/token.model.d.ts +4 -1
- package/dist/src/modules/v4/token/token.service.d.ts +21 -3
- package/dist/src/modules/v4/tvl/tvl.model.d.ts +1 -1
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +2 -2
- package/dist/src/modules/v4/user/user.controller.d.ts +1 -1
- package/dist/src/modules/v4/user/user.model.d.ts +1 -1
- package/dist/src/plugins/error-handling.plugin.d.ts +1 -1
- package/dist/src/routes/v1/allowances.d.ts +2 -2
- package/dist/src/routes/v3/opportunity.d.ts +1 -0
- package/dist/src/routes/v3/payload.d.ts +1 -1
- package/dist/src/routes/v3/poolInfo.d.ts +8 -2
- package/dist/src/routes/v3/router.d.ts +9 -2
- package/dist/src/utils/decodeCalls.d.ts +1 -1
- package/dist/src/utils/encodeCalls.d.ts +1 -1
- package/dist/src/utils/error.d.ts +1 -1
- package/dist/src/utils/generateCardName.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -80
- package/LICENSE +0 -201
@@ -49,6 +49,9 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
49
49
|
200: ({
|
50
50
|
depositUrl?: string | undefined;
|
51
51
|
protocol?: {
|
52
|
+
dailyRewards?: number | undefined;
|
53
|
+
numberOfLiveCampaigns?: number | undefined;
|
54
|
+
opportunityLiveTags?: string[] | undefined;
|
52
55
|
name: string;
|
53
56
|
description: string;
|
54
57
|
id: string;
|
@@ -62,6 +65,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
62
65
|
timestamp: string | bigint;
|
63
66
|
cumulated: number;
|
64
67
|
breakdowns: {
|
68
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
65
69
|
value: number;
|
66
70
|
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
67
71
|
identifier: string;
|
@@ -77,10 +81,10 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
77
81
|
}[];
|
78
82
|
} | undefined;
|
79
83
|
rewardsRecord?: {
|
80
|
-
id: string;
|
81
84
|
timestamp: string | bigint;
|
82
85
|
total: number;
|
83
86
|
breakdowns: {
|
87
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
84
88
|
token: {
|
85
89
|
price?: number | null | undefined;
|
86
90
|
symbol: string;
|
@@ -90,16 +94,15 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
90
94
|
id: string;
|
91
95
|
chainId: number;
|
92
96
|
icon: string;
|
97
|
+
isNative: boolean;
|
93
98
|
isPoint: boolean;
|
94
99
|
isPreTGE: boolean;
|
95
100
|
isTest: boolean;
|
96
101
|
verified: boolean;
|
97
102
|
};
|
98
103
|
campaignId: string;
|
99
|
-
id: string;
|
100
104
|
value: number;
|
101
105
|
amount: string | bigint;
|
102
|
-
dailyRewardsRecordId: string;
|
103
106
|
}[];
|
104
107
|
} | undefined;
|
105
108
|
name: string;
|
@@ -113,6 +116,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
113
116
|
id: string;
|
114
117
|
chainId: number;
|
115
118
|
icon: string;
|
119
|
+
isNative: boolean;
|
116
120
|
isPoint: boolean;
|
117
121
|
isPreTGE: boolean;
|
118
122
|
isTest: boolean;
|
@@ -125,6 +129,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
125
129
|
chainId: number;
|
126
130
|
action: string;
|
127
131
|
type: string;
|
132
|
+
howToSteps: string[];
|
133
|
+
identifier: string;
|
134
|
+
dailyRewards: number;
|
135
|
+
tags: string[];
|
136
|
+
lastCampaignCreatedAt: string;
|
128
137
|
chain: {
|
129
138
|
explorers?: {
|
130
139
|
chainId: number;
|
@@ -135,11 +144,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
135
144
|
id: number;
|
136
145
|
icon: string;
|
137
146
|
};
|
138
|
-
howToSteps: string[];
|
139
|
-
identifier: string;
|
140
|
-
dailyRewards: number;
|
141
|
-
tags: string[];
|
142
|
-
lastCampaignCreatedAt: string;
|
143
147
|
} | null)[];
|
144
148
|
422: {
|
145
149
|
type: "validation";
|
@@ -330,6 +334,9 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
330
334
|
200: {
|
331
335
|
depositUrl?: string | undefined;
|
332
336
|
protocol?: {
|
337
|
+
dailyRewards?: number | undefined;
|
338
|
+
numberOfLiveCampaigns?: number | undefined;
|
339
|
+
opportunityLiveTags?: string[] | undefined;
|
333
340
|
name: string;
|
334
341
|
description: string;
|
335
342
|
id: string;
|
@@ -343,6 +350,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
343
350
|
timestamp: string | bigint;
|
344
351
|
cumulated: number;
|
345
352
|
breakdowns: {
|
353
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
346
354
|
value: number;
|
347
355
|
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
348
356
|
identifier: string;
|
@@ -358,10 +366,10 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
358
366
|
}[];
|
359
367
|
} | undefined;
|
360
368
|
rewardsRecord?: {
|
361
|
-
id: string;
|
362
369
|
timestamp: string | bigint;
|
363
370
|
total: number;
|
364
371
|
breakdowns: {
|
372
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
365
373
|
token: {
|
366
374
|
price?: number | null | undefined;
|
367
375
|
symbol: string;
|
@@ -371,16 +379,15 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
371
379
|
id: string;
|
372
380
|
chainId: number;
|
373
381
|
icon: string;
|
382
|
+
isNative: boolean;
|
374
383
|
isPoint: boolean;
|
375
384
|
isPreTGE: boolean;
|
376
385
|
isTest: boolean;
|
377
386
|
verified: boolean;
|
378
387
|
};
|
379
388
|
campaignId: string;
|
380
|
-
id: string;
|
381
389
|
value: number;
|
382
390
|
amount: string | bigint;
|
383
|
-
dailyRewardsRecordId: string;
|
384
391
|
}[];
|
385
392
|
} | undefined;
|
386
393
|
name: string;
|
@@ -394,6 +401,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
394
401
|
id: string;
|
395
402
|
chainId: number;
|
396
403
|
icon: string;
|
404
|
+
isNative: boolean;
|
397
405
|
isPoint: boolean;
|
398
406
|
isPreTGE: boolean;
|
399
407
|
isTest: boolean;
|
@@ -406,6 +414,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
406
414
|
chainId: number;
|
407
415
|
action: string;
|
408
416
|
type: string;
|
417
|
+
howToSteps: string[];
|
418
|
+
identifier: string;
|
419
|
+
dailyRewards: number;
|
420
|
+
tags: string[];
|
421
|
+
lastCampaignCreatedAt: string;
|
409
422
|
chain: {
|
410
423
|
explorers?: {
|
411
424
|
chainId: number;
|
@@ -416,11 +429,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
416
429
|
id: number;
|
417
430
|
icon: string;
|
418
431
|
};
|
419
|
-
howToSteps: string[];
|
420
|
-
identifier: string;
|
421
|
-
dailyRewards: number;
|
422
|
-
tags: string[];
|
423
|
-
lastCampaignCreatedAt: string;
|
424
432
|
};
|
425
433
|
readonly 500: {
|
426
434
|
info: string;
|
@@ -482,6 +490,9 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
482
490
|
200: {
|
483
491
|
depositUrl?: string | undefined;
|
484
492
|
protocol?: {
|
493
|
+
dailyRewards?: number | undefined;
|
494
|
+
numberOfLiveCampaigns?: number | undefined;
|
495
|
+
opportunityLiveTags?: string[] | undefined;
|
485
496
|
name: string;
|
486
497
|
description: string;
|
487
498
|
id: string;
|
@@ -495,6 +506,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
495
506
|
timestamp: string | bigint;
|
496
507
|
cumulated: number;
|
497
508
|
breakdowns: {
|
509
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
498
510
|
value: number;
|
499
511
|
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
500
512
|
identifier: string;
|
@@ -510,10 +522,10 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
510
522
|
}[];
|
511
523
|
} | undefined;
|
512
524
|
rewardsRecord?: {
|
513
|
-
id: string;
|
514
525
|
timestamp: string | bigint;
|
515
526
|
total: number;
|
516
527
|
breakdowns: {
|
528
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
517
529
|
token: {
|
518
530
|
price?: number | null | undefined;
|
519
531
|
symbol: string;
|
@@ -523,16 +535,15 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
523
535
|
id: string;
|
524
536
|
chainId: number;
|
525
537
|
icon: string;
|
538
|
+
isNative: boolean;
|
526
539
|
isPoint: boolean;
|
527
540
|
isPreTGE: boolean;
|
528
541
|
isTest: boolean;
|
529
542
|
verified: boolean;
|
530
543
|
};
|
531
544
|
campaignId: string;
|
532
|
-
id: string;
|
533
545
|
value: number;
|
534
546
|
amount: string | bigint;
|
535
|
-
dailyRewardsRecordId: string;
|
536
547
|
}[];
|
537
548
|
} | undefined;
|
538
549
|
name: string;
|
@@ -546,6 +557,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
546
557
|
id: string;
|
547
558
|
chainId: number;
|
548
559
|
icon: string;
|
560
|
+
isNative: boolean;
|
549
561
|
isPoint: boolean;
|
550
562
|
isPreTGE: boolean;
|
551
563
|
isTest: boolean;
|
@@ -563,6 +575,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
563
575
|
creatorId?: string | null | undefined;
|
564
576
|
address: string;
|
565
577
|
} | undefined;
|
578
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
566
579
|
rootCampaignId?: string | undefined;
|
567
580
|
parentCampaignId?: string | undefined;
|
568
581
|
campaignStatus?: {
|
@@ -592,6 +605,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
592
605
|
id: string;
|
593
606
|
chainId: number;
|
594
607
|
icon: string;
|
608
|
+
isNative: boolean;
|
595
609
|
isPoint: boolean;
|
596
610
|
isPreTGE: boolean;
|
597
611
|
isTest: boolean;
|
@@ -606,6 +620,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
606
620
|
computeChainId: number;
|
607
621
|
distributionChainId: number;
|
608
622
|
endTimestamp: string | number;
|
623
|
+
opportunityId: string;
|
624
|
+
creatorAddress: string;
|
625
|
+
subType: number | null;
|
626
|
+
rewardTokenId: string;
|
627
|
+
createdAt: string;
|
609
628
|
chain: {
|
610
629
|
explorers?: {
|
611
630
|
chainId: number;
|
@@ -616,14 +635,14 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
616
635
|
id: number;
|
617
636
|
icon: string;
|
618
637
|
};
|
619
|
-
opportunityId: string;
|
620
|
-
creatorAddress: string;
|
621
|
-
subType: number | null;
|
622
|
-
rewardTokenId: string;
|
623
|
-
createdAt: string;
|
624
638
|
}[];
|
625
639
|
action: string;
|
626
640
|
type: string;
|
641
|
+
howToSteps: string[];
|
642
|
+
identifier: string;
|
643
|
+
dailyRewards: number;
|
644
|
+
tags: string[];
|
645
|
+
lastCampaignCreatedAt: string;
|
627
646
|
chain: {
|
628
647
|
explorers?: {
|
629
648
|
chainId: number;
|
@@ -634,11 +653,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
634
653
|
id: number;
|
635
654
|
icon: string;
|
636
655
|
};
|
637
|
-
howToSteps: string[];
|
638
|
-
identifier: string;
|
639
|
-
dailyRewards: number;
|
640
|
-
tags: string[];
|
641
|
-
lastCampaignCreatedAt: string;
|
642
656
|
}[];
|
643
657
|
readonly 500: {
|
644
658
|
info: string;
|
@@ -681,6 +695,9 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
681
695
|
200: {
|
682
696
|
depositUrl?: string | undefined;
|
683
697
|
protocol?: {
|
698
|
+
dailyRewards?: number | undefined;
|
699
|
+
numberOfLiveCampaigns?: number | undefined;
|
700
|
+
opportunityLiveTags?: string[] | undefined;
|
684
701
|
name: string;
|
685
702
|
description: string;
|
686
703
|
id: string;
|
@@ -694,6 +711,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
694
711
|
timestamp: string | bigint;
|
695
712
|
cumulated: number;
|
696
713
|
breakdowns: {
|
714
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
697
715
|
value: number;
|
698
716
|
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
699
717
|
identifier: string;
|
@@ -709,10 +727,10 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
709
727
|
}[];
|
710
728
|
} | undefined;
|
711
729
|
rewardsRecord?: {
|
712
|
-
id: string;
|
713
730
|
timestamp: string | bigint;
|
714
731
|
total: number;
|
715
732
|
breakdowns: {
|
733
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
716
734
|
token: {
|
717
735
|
price?: number | null | undefined;
|
718
736
|
symbol: string;
|
@@ -722,16 +740,15 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
722
740
|
id: string;
|
723
741
|
chainId: number;
|
724
742
|
icon: string;
|
743
|
+
isNative: boolean;
|
725
744
|
isPoint: boolean;
|
726
745
|
isPreTGE: boolean;
|
727
746
|
isTest: boolean;
|
728
747
|
verified: boolean;
|
729
748
|
};
|
730
749
|
campaignId: string;
|
731
|
-
id: string;
|
732
750
|
value: number;
|
733
751
|
amount: string | bigint;
|
734
|
-
dailyRewardsRecordId: string;
|
735
752
|
}[];
|
736
753
|
} | undefined;
|
737
754
|
name: string;
|
@@ -745,6 +762,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
745
762
|
id: string;
|
746
763
|
chainId: number;
|
747
764
|
icon: string;
|
765
|
+
isNative: boolean;
|
748
766
|
isPoint: boolean;
|
749
767
|
isPreTGE: boolean;
|
750
768
|
isTest: boolean;
|
@@ -762,6 +780,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
762
780
|
creatorId?: string | null | undefined;
|
763
781
|
address: string;
|
764
782
|
} | undefined;
|
783
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
765
784
|
rootCampaignId?: string | undefined;
|
766
785
|
parentCampaignId?: string | undefined;
|
767
786
|
campaignStatus?: {
|
@@ -791,6 +810,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
791
810
|
id: string;
|
792
811
|
chainId: number;
|
793
812
|
icon: string;
|
813
|
+
isNative: boolean;
|
794
814
|
isPoint: boolean;
|
795
815
|
isPreTGE: boolean;
|
796
816
|
isTest: boolean;
|
@@ -805,6 +825,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
805
825
|
computeChainId: number;
|
806
826
|
distributionChainId: number;
|
807
827
|
endTimestamp: string | number;
|
828
|
+
opportunityId: string;
|
829
|
+
creatorAddress: string;
|
830
|
+
subType: number | null;
|
831
|
+
rewardTokenId: string;
|
832
|
+
createdAt: string;
|
808
833
|
chain: {
|
809
834
|
explorers?: {
|
810
835
|
chainId: number;
|
@@ -815,14 +840,14 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
815
840
|
id: number;
|
816
841
|
icon: string;
|
817
842
|
};
|
818
|
-
opportunityId: string;
|
819
|
-
creatorAddress: string;
|
820
|
-
subType: number | null;
|
821
|
-
rewardTokenId: string;
|
822
|
-
createdAt: string;
|
823
843
|
}[];
|
824
844
|
action: string;
|
825
845
|
type: string;
|
846
|
+
howToSteps: string[];
|
847
|
+
identifier: string;
|
848
|
+
dailyRewards: number;
|
849
|
+
tags: string[];
|
850
|
+
lastCampaignCreatedAt: string;
|
826
851
|
chain: {
|
827
852
|
explorers?: {
|
828
853
|
chainId: number;
|
@@ -833,11 +858,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
833
858
|
id: number;
|
834
859
|
icon: string;
|
835
860
|
};
|
836
|
-
howToSteps: string[];
|
837
|
-
identifier: string;
|
838
|
-
dailyRewards: number;
|
839
|
-
tags: string[];
|
840
|
-
lastCampaignCreatedAt: string;
|
841
861
|
};
|
842
862
|
readonly 500: {
|
843
863
|
info: string;
|
@@ -1149,8 +1169,10 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
1149
1169
|
verified: boolean;
|
1150
1170
|
} & {
|
1151
1171
|
price?: number | null | undefined;
|
1172
|
+
isTokenWrapper?: boolean | undefined;
|
1173
|
+
tokenWrapperAddress?: string | undefined;
|
1152
1174
|
})[];
|
1153
|
-
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" | "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;
|
1175
|
+
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;
|
1154
1176
|
description: string;
|
1155
1177
|
howToSteps: string[];
|
1156
1178
|
depositUrl: string | undefined;
|
@@ -1348,8 +1370,10 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
1348
1370
|
verified: boolean;
|
1349
1371
|
} & {
|
1350
1372
|
price?: number | null | undefined;
|
1373
|
+
isTokenWrapper?: boolean | undefined;
|
1374
|
+
tokenWrapperAddress?: string | undefined;
|
1351
1375
|
})[];
|
1352
|
-
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" | "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;
|
1376
|
+
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;
|
1353
1377
|
description: string;
|
1354
1378
|
howToSteps: string[];
|
1355
1379
|
depositUrl: string | undefined;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type CampaignParameters, Campaign as CampaignType, type Opportunity as OpportunityV3 } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { CampaignWithParams } from "
|
3
|
-
import { OpportunityService } from "
|
2
|
+
import type { CampaignWithParams } from "../../../modules/v4/campaign/campaign.model";
|
3
|
+
import { OpportunityService } from "../../../modules/v4/opportunity/opportunity.service";
|
4
4
|
export declare abstract class OpportunityConvertorService {
|
5
5
|
#private;
|
6
6
|
static convertV4CampaignToV3<C extends CampaignType>(campaignType: C, campaign: Exclude<Awaited<ReturnType<(typeof OpportunityService)["findMany"]>>[number]["campaigns"], undefined>[number] | Omit<CampaignWithParams<C>, "manualOverrides">, opportunityIdentifier: string): CampaignParameters<C>;
|
@@ -58,6 +58,7 @@ export declare abstract class OpportunityConvertorService {
|
|
58
58
|
[id: `50_${string}`]: OpportunityV3;
|
59
59
|
[id: `51_${string}`]: OpportunityV3;
|
60
60
|
[id: `52_${string}`]: OpportunityV3;
|
61
|
+
[id: `53_${string}`]: OpportunityV3;
|
61
62
|
}>;
|
62
63
|
static logKeyAndTTLV3Opportunities(showCampaigns: boolean, test: boolean | undefined, identifier: string | undefined, chainId: string | undefined): Promise<void>;
|
63
64
|
static wrapV3Opportunities(showCampaigns: boolean, test: boolean | undefined, identifier: string | undefined, chainId: string | undefined): Promise<{
|
@@ -113,5 +114,6 @@ export declare abstract class OpportunityConvertorService {
|
|
113
114
|
[id: `50_${string}`]: OpportunityV3;
|
114
115
|
[id: `51_${string}`]: OpportunityV3;
|
115
116
|
[id: `52_${string}`]: OpportunityV3;
|
117
|
+
[id: `53_${string}`]: OpportunityV3;
|
116
118
|
}>;
|
117
119
|
}
|