@merkl/api 1.4.85 → 1.4.86
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/cache/index.d.ts +0 -9
- package/dist/src/eden/index.d.ts +154 -140
- package/dist/src/engine/deprecated/dynamicData/implementations/Hyperdrive.d.ts +0 -15
- package/dist/src/engine/deprecated/dynamicData/utils/getContractCreationBlock.d.ts +0 -1
- package/dist/src/engine/deprecated/dynamicData/utils/getFixedApr.d.ts +0 -3
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/GenericProcessor.d.ts +0 -5
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/factoryFinder.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AaveProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AnglesLiquid.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AuraProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BEXRewardGaugeProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BalancerGaugeProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BalancerPoolProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BalancerV3PoolProcessor.d.ts +4 -5
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/CompoundProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/FluidProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/GearboxProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/HanjiVaultProcessor.d.ts +4 -5
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/HourglassProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/MetamorphoProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/RadiantProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/RfxProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/Satlayer.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/SpliceProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/StabilityProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/SturdySiloProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/TemplateProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/TorosProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/WoofiProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/curveNPoolProcessor.d.ts +4 -5
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/curveProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/stakedCurveProcessor.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/xU308Processor.d.ts +0 -1
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/penpiePRT/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/penpiePRT/metadata.js.map +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +2 -2
- package/dist/src/engine/implementations/StakingVaults/Equilibria/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/StakingVaults/Equilibria/metadata.js.map +1 -1
- package/dist/src/engine/implementations/clamm/utils.d.ts +0 -1
- package/dist/src/engine/implementations/deprecated_clamm/metadata.d.ts +0 -1
- package/dist/src/engine/implementations/uniswapv4/tvl.d.ts +0 -1
- package/dist/src/engine/tvl/logStates.d.ts +0 -2
- package/dist/src/index.d.ts +154 -172
- package/dist/src/jobs/pendings.d.ts +0 -1
- package/dist/src/jobs/reward-breakdowns.d.ts +0 -1
- package/dist/src/jobs/reward-breakdowns.js.map +1 -1
- package/dist/src/jobs/rewards.d.ts +0 -1
- package/dist/src/libs/positions/clamm/thegraph/fetchAmmPositions.d.ts +0 -1
- package/dist/src/libs/positions/clamm/thegraph/index.d.ts +0 -10
- package/dist/src/libs/positions/index.d.ts +1 -2
- package/dist/src/libs/positions/prepareFetch.d.ts +1 -3
- package/dist/src/libs/positions/types.d.ts +0 -7
- package/dist/src/modules/v4/apr/apr.model.d.ts +0 -2
- package/dist/src/modules/v4/bucket/bucket.service.d.ts +0 -7
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +6 -1
- package/dist/src/modules/v4/campaign/campaign.formatter.d.ts +0 -2
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +0 -3
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +0 -3
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +15 -0
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +12 -1
- package/dist/src/modules/v4/campaignBatch/campaignBatch.model.d.ts +0 -1
- package/dist/src/modules/v4/campaignBatch/campaignBatch.service.d.ts +0 -2
- package/dist/src/modules/v4/campaignStatus/campaignStatus.model.d.ts +0 -3
- package/dist/src/modules/v4/campaignStatus/campaignStatus.service.d.ts +2 -2
- package/dist/src/modules/v4/campaignToProcess/campaignToProcess.controller.d.ts +0 -1
- package/dist/src/modules/v4/carousel/carousel.controller.d.ts +18 -0
- package/dist/src/modules/v4/carousel/carousel.repository.d.ts +27 -0
- package/dist/src/modules/v4/carousel/carousel.service.d.ts +27 -0
- package/dist/src/modules/v4/chain/chain.controller.d.ts +0 -1
- package/dist/src/modules/v4/chain/chain.model.d.ts +0 -3
- package/dist/src/modules/v4/claims/claims.controller.d.ts +0 -1
- package/dist/src/modules/v4/claims/claims.service.d.ts +0 -1
- package/dist/src/modules/v4/clamm/clamm.controller.d.ts +0 -2
- package/dist/src/modules/v4/clamm/clamm.service.d.ts +0 -1
- package/dist/src/modules/v4/computedValue/computedValue.formatter.d.ts +0 -1
- package/dist/src/modules/v4/computedValue/computedValue.model.d.ts +0 -3
- package/dist/src/modules/v4/config/config.controller.d.ts +3 -0
- package/dist/src/modules/v4/creator/creator.controller.d.ts +0 -1
- package/dist/src/modules/v4/creator/creator.model.d.ts +0 -3
- package/dist/src/modules/v4/creator/creator.repository.d.ts +0 -1
- package/dist/src/modules/v4/creator/creator.service.d.ts +0 -1
- package/dist/src/modules/v4/enso/enso.service.d.ts +3 -0
- package/dist/src/modules/v4/euler/euler.controller.d.ts +0 -1
- package/dist/src/modules/v4/euler/euler.model.d.ts +0 -1
- package/dist/src/modules/v4/explorer/explorer.controller.d.ts +0 -1
- package/dist/src/modules/v4/github/github.model.d.ts +0 -2
- package/dist/src/modules/v4/interaction/interaction.controller.d.ts +3 -1
- package/dist/src/modules/v4/kyberzap/kyberzap.model.d.ts +0 -1
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +0 -1
- package/dist/src/modules/v4/node/node.model.d.ts +0 -1
- package/dist/src/modules/v4/node/node.service.d.ts +1 -3
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +6 -1
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +9 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +0 -7
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +33 -5
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +21 -9
- package/dist/src/modules/v4/payload/payload.controller.d.ts +9 -0
- package/dist/src/modules/v4/payload/payload.model.d.ts +2 -5
- package/dist/src/modules/v4/payload/payload.service.d.ts +12 -0
- package/dist/src/modules/v4/priceSource/priceSource.controller.d.ts +0 -1
- package/dist/src/modules/v4/priceSource/priceSource.model.d.ts +0 -2
- package/dist/src/modules/v4/priceSource/priceSource.service.d.ts +0 -1
- package/dist/src/modules/v4/prisma/index.d.ts +2 -6
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +5789 -5790
- package/dist/src/modules/v4/programPayload/programPayload.model.d.ts +2 -5
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +0 -94
- package/dist/src/modules/v4/programPayload/subPayloads/aave.d.ts +0 -5
- package/dist/src/modules/v4/programPayload/subPayloads/bancor.d.ts +0 -26
- package/dist/src/modules/v4/programPayload/subPayloads/credix.d.ts +0 -8
- package/dist/src/modules/v4/programPayload/subPayloads/drip.d.ts +0 -5
- package/dist/src/modules/v4/programPayload/subPayloads/hypurrFi.d.ts +0 -3
- package/dist/src/modules/v4/programPayload/subPayloads/nibiru.d.ts +0 -18
- package/dist/src/modules/v4/programPayload/subPayloads/tac.d.ts +0 -59
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +12 -1
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +0 -3
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +15 -1
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +9 -1
- package/dist/src/modules/v4/referral/referral.controller.d.ts +0 -1
- package/dist/src/modules/v4/referral/referral.model.d.ts +0 -1
- package/dist/src/modules/v4/reward/reward.controller.d.ts +0 -108
- package/dist/src/modules/v4/reward/reward.controller.js.map +1 -1
- package/dist/src/modules/v4/reward/reward.model.d.ts +0 -4
- package/dist/src/modules/v4/reward/reward.model.js.map +1 -1
- package/dist/src/modules/v4/reward/reward.repository.d.ts +12 -1
- package/dist/src/modules/v4/reward/reward.repository.js.map +1 -1
- package/dist/src/modules/v4/reward/reward.service.d.ts +69 -0
- package/dist/src/modules/v4/router.d.ts +5184 -5202
- package/dist/src/modules/v4/token/token.controller.d.ts +0 -1
- package/dist/src/modules/v4/token/token.model.d.ts +0 -4
- package/dist/src/modules/v4/token/token.repository.d.ts +2 -2
- package/dist/src/modules/v4/token/token.service.d.ts +2 -2
- package/dist/src/modules/v4/transaction/transaction.model.d.ts +0 -1
- package/dist/src/modules/v4/turtle/turtle.controller.d.ts +0 -1
- package/dist/src/modules/v4/turtle/turtle.service.d.ts +0 -2
- package/dist/src/modules/v4/tvl/tvl.model.d.ts +0 -1
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +6 -2
- package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +0 -1
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +3 -0
- package/dist/src/modules/v4/user/user.controller.d.ts +15 -0
- package/dist/src/modules/v4/user/user.model.d.ts +0 -3
- package/dist/src/modules/v4/user/user.repository.d.ts +0 -1
- package/dist/src/modules/v4/user/user.service.d.ts +0 -1
- package/dist/src/plugins/errorHandler.d.ts +0 -1
- package/dist/src/routes/v3/blacklist.d.ts +0 -1
- package/dist/src/utils/bigintToString.d.ts +0 -3
- package/dist/src/utils/execute.d.ts +0 -1
- package/dist/src/utils/pagination.d.ts +0 -1
- package/dist/src/utils/parseDistributionType.d.ts +20 -20
- package/package.json +1 -1
@@ -99,9 +99,6 @@ export declare abstract class OpportunityService {
|
|
99
99
|
mainProtocol: "aave" | "aerodrome" | "ajna" | "akron" | "ambient" | "angles" | "arrakis" | "arthswap" | "aura" | "avalon" | "badger" | "balancer" | "base-swap" | "beefy" | "beraborrow" | "beratrax" | "bunni" | "camelot" | "cian" | "compound" | "concrete" | "cross_curve" | "crust" | "curve" | "curveNPool" | "dlend" | "dolomite" | "dragonswap" | "eigenlayer" | "ekubo" | "elyx" | "enzyme" | "equalizer" | "equilibria" | "euler" | "fenix" | "filament" | "fluid" | "frax" | "fraxlend" | "gamma" | "gammaswap" | "gearbox" | "hanji" | "holdstation" | "horiza" | "hourglass" | "hybra-pair" | "hyperdrive" | "hypurrfi" | "ichi" | "iguana" | "ion" | "ionic" | "ironclad" | "izumi" | "katana" | "kim" | "koi" | "kyo" | "lagoon" | "layerbank" | "lendle" | "levva" | "lnd" | "maha" | "mangrove" | "maverick" | "mimswap" | "moonwell" | "morpho" | "neptune" | "oku" | "oxium" | "pancake-swap" | "pendle" | "penpie" | "pinto" | "poolside" | "puffer" | "punchswap" | "quickswap" | "ra" | "radiant" | "ramses" | "reactor_fusion" | "reserve" | "retro" | "rfx" | "sake" | "satlayer" | "satoshi" | "silo" | "snap" | "sonex" | "sonicmarket" | "spectra" | "splice" | "stability" | "stabull" | "steer" | "stryke" | "sturdy" | "summerfinance" | "superlend" | "supswap" | "sushi-swap" | "swap-x" | "swapr" | "syncswap" | "tako-tako" | "teller" | "tempest" | "termmax" | "thirdtrade" | "thruster" | "toros" | "trader-joe" | "uniswap" | "uranium" | "veda" | "velodrome" | "venus" | "vest" | "vicuna" | "voltage" | "woofi" | "xlend" | "yei" | "zero" | "zerolend" | "zk-swap" | "zkSwapThreePool" | undefined;
|
100
100
|
description: string;
|
101
101
|
howToSteps: string[];
|
102
|
-
// If creator has specified a deposit URL, use it
|
103
|
-
// Else if we have the specific logic to handle the deposit URL, use it
|
104
|
-
// Else if the protocol has a deposit URL, use it
|
105
102
|
depositUrl: string | undefined;
|
106
103
|
explorerAddress: string | undefined;
|
107
104
|
tags: string[];
|
@@ -113,6 +110,9 @@ export declare abstract class OpportunityService {
|
|
113
110
|
description: string;
|
114
111
|
url: string;
|
115
112
|
icon: string;
|
113
|
+
banner: string | null;
|
114
|
+
opportunityBannerLight: string | null;
|
115
|
+
opportunityBannerDark: string | null;
|
116
116
|
}[];
|
117
117
|
Tokens: {
|
118
118
|
id: string;
|
@@ -188,9 +188,6 @@ export declare abstract class OpportunityService {
|
|
188
188
|
mainProtocol: "aave" | "aerodrome" | "ajna" | "akron" | "ambient" | "angles" | "arrakis" | "arthswap" | "aura" | "avalon" | "badger" | "balancer" | "base-swap" | "beefy" | "beraborrow" | "beratrax" | "bunni" | "camelot" | "cian" | "compound" | "concrete" | "cross_curve" | "crust" | "curve" | "curveNPool" | "dlend" | "dolomite" | "dragonswap" | "eigenlayer" | "ekubo" | "elyx" | "enzyme" | "equalizer" | "equilibria" | "euler" | "fenix" | "filament" | "fluid" | "frax" | "fraxlend" | "gamma" | "gammaswap" | "gearbox" | "hanji" | "holdstation" | "horiza" | "hourglass" | "hybra-pair" | "hyperdrive" | "hypurrfi" | "ichi" | "iguana" | "ion" | "ionic" | "ironclad" | "izumi" | "katana" | "kim" | "koi" | "kyo" | "lagoon" | "layerbank" | "lendle" | "levva" | "lnd" | "maha" | "mangrove" | "maverick" | "mimswap" | "moonwell" | "morpho" | "neptune" | "oku" | "oxium" | "pancake-swap" | "pendle" | "penpie" | "pinto" | "poolside" | "puffer" | "punchswap" | "quickswap" | "ra" | "radiant" | "ramses" | "reactor_fusion" | "reserve" | "retro" | "rfx" | "sake" | "satlayer" | "satoshi" | "silo" | "snap" | "sonex" | "sonicmarket" | "spectra" | "splice" | "stability" | "stabull" | "steer" | "stryke" | "sturdy" | "summerfinance" | "superlend" | "supswap" | "sushi-swap" | "swap-x" | "swapr" | "syncswap" | "tako-tako" | "teller" | "tempest" | "termmax" | "thirdtrade" | "thruster" | "toros" | "trader-joe" | "uniswap" | "uranium" | "veda" | "velodrome" | "venus" | "vest" | "vicuna" | "voltage" | "woofi" | "xlend" | "yei" | "zero" | "zerolend" | "zk-swap" | "zkSwapThreePool" | undefined;
|
189
189
|
description: string;
|
190
190
|
howToSteps: string[];
|
191
|
-
// If creator has specified a deposit URL, use it
|
192
|
-
// Else if we have the specific logic to handle the deposit URL, use it
|
193
|
-
// Else if the protocol has a deposit URL, use it
|
194
191
|
depositUrl: string | undefined;
|
195
192
|
explorerAddress: string | undefined;
|
196
193
|
tags: string[];
|
@@ -202,6 +199,9 @@ export declare abstract class OpportunityService {
|
|
202
199
|
description: string;
|
203
200
|
url: string;
|
204
201
|
icon: string;
|
202
|
+
banner: string | null;
|
203
|
+
opportunityBannerLight: string | null;
|
204
|
+
opportunityBannerDark: string | null;
|
205
205
|
}[];
|
206
206
|
Tokens: {
|
207
207
|
id: string;
|
@@ -276,9 +276,6 @@ export declare abstract class OpportunityService {
|
|
276
276
|
mainProtocol: "aave" | "aerodrome" | "ajna" | "akron" | "ambient" | "angles" | "arrakis" | "arthswap" | "aura" | "avalon" | "badger" | "balancer" | "base-swap" | "beefy" | "beraborrow" | "beratrax" | "bunni" | "camelot" | "cian" | "compound" | "concrete" | "cross_curve" | "crust" | "curve" | "curveNPool" | "dlend" | "dolomite" | "dragonswap" | "eigenlayer" | "ekubo" | "elyx" | "enzyme" | "equalizer" | "equilibria" | "euler" | "fenix" | "filament" | "fluid" | "frax" | "fraxlend" | "gamma" | "gammaswap" | "gearbox" | "hanji" | "holdstation" | "horiza" | "hourglass" | "hybra-pair" | "hyperdrive" | "hypurrfi" | "ichi" | "iguana" | "ion" | "ionic" | "ironclad" | "izumi" | "katana" | "kim" | "koi" | "kyo" | "lagoon" | "layerbank" | "lendle" | "levva" | "lnd" | "maha" | "mangrove" | "maverick" | "mimswap" | "moonwell" | "morpho" | "neptune" | "oku" | "oxium" | "pancake-swap" | "pendle" | "penpie" | "pinto" | "poolside" | "puffer" | "punchswap" | "quickswap" | "ra" | "radiant" | "ramses" | "reactor_fusion" | "reserve" | "retro" | "rfx" | "sake" | "satlayer" | "satoshi" | "silo" | "snap" | "sonex" | "sonicmarket" | "spectra" | "splice" | "stability" | "stabull" | "steer" | "stryke" | "sturdy" | "summerfinance" | "superlend" | "supswap" | "sushi-swap" | "swap-x" | "swapr" | "syncswap" | "tako-tako" | "teller" | "tempest" | "termmax" | "thirdtrade" | "thruster" | "toros" | "trader-joe" | "uniswap" | "uranium" | "veda" | "velodrome" | "venus" | "vest" | "vicuna" | "voltage" | "woofi" | "xlend" | "yei" | "zero" | "zerolend" | "zk-swap" | "zkSwapThreePool" | undefined;
|
277
277
|
description: string;
|
278
278
|
howToSteps: string[];
|
279
|
-
// If creator has specified a deposit URL, use it
|
280
|
-
// Else if we have the specific logic to handle the deposit URL, use it
|
281
|
-
// Else if the protocol has a deposit URL, use it
|
282
279
|
depositUrl: string | undefined;
|
283
280
|
explorerAddress: string | undefined;
|
284
281
|
tags: string[];
|
@@ -290,6 +287,9 @@ export declare abstract class OpportunityService {
|
|
290
287
|
description: string;
|
291
288
|
url: string;
|
292
289
|
icon: string;
|
290
|
+
banner: string | null;
|
291
|
+
opportunityBannerLight: string | null;
|
292
|
+
opportunityBannerDark: string | null;
|
293
293
|
}[];
|
294
294
|
Tokens: {
|
295
295
|
id: string;
|
@@ -688,6 +688,9 @@ export declare abstract class OpportunityService {
|
|
688
688
|
description: string;
|
689
689
|
url: string;
|
690
690
|
icon: string;
|
691
|
+
banner: string | null;
|
692
|
+
opportunityBannerLight: string | null;
|
693
|
+
opportunityBannerDark: string | null;
|
691
694
|
} | undefined;
|
692
695
|
activePrograms: {
|
693
696
|
icon: string;
|
@@ -735,6 +738,9 @@ export declare abstract class OpportunityService {
|
|
735
738
|
description: string;
|
736
739
|
url: string;
|
737
740
|
icon: string;
|
741
|
+
banner: string | null;
|
742
|
+
opportunityBannerLight: string | null;
|
743
|
+
opportunityBannerDark: string | null;
|
738
744
|
} | undefined;
|
739
745
|
activePrograms: {
|
740
746
|
icon: string;
|
@@ -897,6 +903,9 @@ export declare abstract class OpportunityService {
|
|
897
903
|
description: string;
|
898
904
|
url: string;
|
899
905
|
icon: string;
|
906
|
+
banner: string | null;
|
907
|
+
opportunityBannerLight: string | null;
|
908
|
+
opportunityBannerDark: string | null;
|
900
909
|
} | undefined;
|
901
910
|
activePrograms: {
|
902
911
|
icon: string;
|
@@ -944,6 +953,9 @@ export declare abstract class OpportunityService {
|
|
944
953
|
description: string;
|
945
954
|
url: string;
|
946
955
|
icon: string;
|
956
|
+
banner: string | null;
|
957
|
+
opportunityBannerLight: string | null;
|
958
|
+
opportunityBannerDark: string | null;
|
947
959
|
} | undefined;
|
948
960
|
activePrograms: {
|
949
961
|
icon: string;
|
@@ -104,6 +104,9 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
104
104
|
description: string;
|
105
105
|
url: string;
|
106
106
|
icon: string;
|
107
|
+
banner: string | null;
|
108
|
+
opportunityBannerLight: string | null;
|
109
|
+
opportunityBannerDark: string | null;
|
107
110
|
}[];
|
108
111
|
Tokens: {
|
109
112
|
id: string;
|
@@ -238,6 +241,9 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
238
241
|
description: string;
|
239
242
|
url: string;
|
240
243
|
icon: string;
|
244
|
+
banner: string | null;
|
245
|
+
opportunityBannerLight: string | null;
|
246
|
+
opportunityBannerDark: string | null;
|
241
247
|
}[];
|
242
248
|
Tokens: {
|
243
249
|
id: string;
|
@@ -368,6 +374,9 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
368
374
|
description: string;
|
369
375
|
url: string;
|
370
376
|
icon: string;
|
377
|
+
banner: string | null;
|
378
|
+
opportunityBannerLight: string | null;
|
379
|
+
opportunityBannerDark: string | null;
|
371
380
|
}[];
|
372
381
|
Tokens: {
|
373
382
|
id: string;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import type { CampaignType, ChainId, CompFork, CompoundSubCampaignType, ComputeCurveMethod, ComputeScoreMethod, Forwarder, HookType, MorphoSubCampaignType } from "@package/resources/enums";
|
2
2
|
import type { ComputeCurveParameters, ComputeScoreParameters, ForwarderConfig, Hook } from "@package/resources/schemas";
|
3
3
|
import type { LockerEventSchema } from "@package/sdk";
|
4
|
-
// ─── DTOs ────────────────────────────────────────────────────────────────────
|
5
4
|
export declare const CampaignPayloadInputDto: import("@sinclair/typebox").TObject<{
|
6
5
|
campaign: import("@sinclair/typebox").TString;
|
7
6
|
program: import("@sinclair/typebox").TString;
|
@@ -80,7 +79,6 @@ export declare const SafeFileDto: import("@sinclair/typebox").TObject<{
|
|
80
79
|
}>>;
|
81
80
|
}>;
|
82
81
|
export declare const CampaignAmountsInputDto: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
83
|
-
// ─── Static Types ────────────────────────────────────────────────────────────
|
84
82
|
export type CampaignPayloadInputModel = typeof CampaignPayloadInputDto.static;
|
85
83
|
export type ProgramPayloadInputModel = typeof ProgramPayloadInputDto.static;
|
86
84
|
export type CampaignAmountsInputModel = typeof CampaignAmountsInputDto.static;
|
@@ -262,11 +260,10 @@ export type partialConfigLocker = {
|
|
262
260
|
computeScoreParameters: ComputeScoreParameters<ComputeScoreMethod> | string;
|
263
261
|
curveParameters: ComputeCurveParameters<ComputeCurveMethod>;
|
264
262
|
hasSlots: boolean;
|
265
|
-
lockEvent: LockerEventSchema;
|
266
|
-
unlockEvent: LockerEventSchema;
|
263
|
+
lockEvent: LockerEventSchema;
|
264
|
+
unlockEvent: LockerEventSchema;
|
267
265
|
};
|
268
266
|
export type partialConfig = partialConfigERC20 | partialConfigMorpho | partialConfigCLAMM | partialConfigIonic | partialConfigCompoundV3 | partialConfigMultiLog | partialConfigLocker | partialConfigAirdrop | partialConfigERC20FixedAPR;
|
269
|
-
// ---- Template below ----
|
270
267
|
export declare const safeTemplate: {
|
271
268
|
version: string;
|
272
269
|
chainId: string;
|
@@ -61,6 +61,9 @@ export declare class PayloadService {
|
|
61
61
|
description: string;
|
62
62
|
url: string;
|
63
63
|
icon: string;
|
64
|
+
banner: string | null;
|
65
|
+
opportunityBannerLight: string | null;
|
66
|
+
opportunityBannerDark: string | null;
|
64
67
|
}[];
|
65
68
|
Tokens: {
|
66
69
|
id: string;
|
@@ -165,6 +168,9 @@ export declare class PayloadService {
|
|
165
168
|
description: string;
|
166
169
|
url: string;
|
167
170
|
icon: string;
|
171
|
+
banner: string | null;
|
172
|
+
opportunityBannerLight: string | null;
|
173
|
+
opportunityBannerDark: string | null;
|
168
174
|
}[];
|
169
175
|
Tokens: {
|
170
176
|
id: string;
|
@@ -266,6 +272,9 @@ export declare class PayloadService {
|
|
266
272
|
description: string;
|
267
273
|
url: string;
|
268
274
|
icon: string;
|
275
|
+
banner: string | null;
|
276
|
+
opportunityBannerLight: string | null;
|
277
|
+
opportunityBannerDark: string | null;
|
269
278
|
}[];
|
270
279
|
Tokens: {
|
271
280
|
id: string;
|
@@ -367,6 +376,9 @@ export declare class PayloadService {
|
|
367
376
|
description: string;
|
368
377
|
url: string;
|
369
378
|
icon: string;
|
379
|
+
banner: string | null;
|
380
|
+
opportunityBannerLight: string | null;
|
381
|
+
opportunityBannerDark: string | null;
|
370
382
|
}[];
|
371
383
|
Tokens: {
|
372
384
|
id: string;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
// ─── DTOs ────────────────────────────────────────────────────────────────────
|
2
1
|
export declare const CreatePriceSourceDto: import("@sinclair/typebox").TObject<{
|
3
2
|
addressOrSymbol: import("@sinclair/typebox").TString;
|
4
3
|
chainId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
@@ -38,7 +37,6 @@ export declare const UpdatePriceSourceDto: import("@sinclair/typebox").TObject<{
|
|
38
37
|
export declare const PriceSourceUniqueDto: import("@sinclair/typebox").TObject<{
|
39
38
|
addressOrSymbol: import("@sinclair/typebox").TString;
|
40
39
|
}>;
|
41
|
-
// ─── Static Types ────────────────────────────────────────────────────────────
|
42
40
|
export type CreatePriceSourceModel = typeof CreatePriceSourceDto.static;
|
43
41
|
export type PriceSourceUniqueModel = typeof PriceSourceUniqueDto.static;
|
44
42
|
export type UpdatePriceSourceModel = typeof UpdatePriceSourceDto.static;
|
@@ -4,7 +4,6 @@ import type { CreatePriceSourceModel, UpdatePriceSourceModel } from "./priceSour
|
|
4
4
|
export declare class PriceSourceService {
|
5
5
|
/** Fetches a single price */
|
6
6
|
static fetchPrice(addressOrSymbol: string, allowedPriceDelay?: number): Promise<number | undefined>;
|
7
|
-
// ─── Price Sources ───────────────────────────────────────────────────
|
8
7
|
static findUnique(addressOrSymbol: string): Promise<{
|
9
8
|
id: number;
|
10
9
|
type: PriceSourceType;
|
@@ -18,9 +18,7 @@ type OptionalKeysAPI<Obj> = keyof {
|
|
18
18
|
* const user: User["modelAPI"] = {...}
|
19
19
|
* const userDbRaw: User["raw"] = {...}
|
20
20
|
*/
|
21
|
-
export type ResourceAPI<Schema extends keyof PrismaAPI, DbSpecificKeys extends keyof modelAPI<Schema> | undefined = undefined,
|
22
|
-
// biome-ignore lint/complexity/noBannedTypes: autocompletes incorrectly if 'any'
|
23
|
-
Override extends {} = {}> = {
|
21
|
+
export type ResourceAPI<Schema extends keyof PrismaAPI, DbSpecificKeys extends keyof modelAPI<Schema> | undefined = undefined, Override extends {} = {}> = {
|
24
22
|
model: {
|
25
23
|
[K in Exclude<keyof modelAPI<Schema> | keyof Override, DbSpecificKeys | OptionalKeysAPI<Override>>]: K extends keyof Override ? Override[K] : K extends DbSpecificKeys ? never : K extends keyof modelAPI<Schema> ? modelAPI<Schema>[K] : never;
|
26
24
|
} & {
|
@@ -41,9 +39,7 @@ type OperationsEngine<R extends keyof PrismaEngine> = PrismaEngine[R]["operation
|
|
41
39
|
type OptionalKeysEngine<Obj> = keyof {
|
42
40
|
[Key in keyof Obj as Omit<Obj, Key> extends Obj ? Key : never]: Obj[Key];
|
43
41
|
};
|
44
|
-
export type ResourceEngine<Schema extends keyof PrismaEngine, DbSpecificKeys extends keyof modelEngine<Schema> | undefined = undefined,
|
45
|
-
// biome-ignore lint/complexity/noBannedTypes: autocompletes incorrectly if 'any'
|
46
|
-
Override extends {} = {}> = {
|
42
|
+
export type ResourceEngine<Schema extends keyof PrismaEngine, DbSpecificKeys extends keyof modelEngine<Schema> | undefined = undefined, Override extends {} = {}> = {
|
47
43
|
model: {
|
48
44
|
[K in Exclude<keyof modelEngine<Schema> | keyof Override, DbSpecificKeys | OptionalKeysEngine<Override>>]: K extends keyof Override ? Override[K] : K extends DbSpecificKeys ? never : K extends keyof modelEngine<Schema> ? modelEngine<Schema>[K] : never;
|
49
45
|
} & {
|