@merkl/api 1.0.5 → 1.0.8
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 +692 -8972
- 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/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 +2 -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/index.d.ts +290 -72
- 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 +23 -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 +3 -3
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +3 -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 +183 -0
- package/dist/src/modules/v4/creator/creator.model.d.ts +1 -1
- package/dist/src/modules/v4/creator/creator.service.d.ts +131 -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 +64 -44
- package/dist/src/modules/v4/opportunity/opportunity.converter.d.ts +2 -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 +42 -30
- 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 +1 -1
- package/dist/src/modules/v4/router.d.ts +278 -66
- 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 +2 -2
- package/dist/src/modules/v4/token/token.model.d.ts +2 -1
- package/dist/src/modules/v4/token/token.service.d.ts +3 -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/poolInfo.d.ts +8 -2
- package/dist/src/routes/v3/router.d.ts +7 -1
- 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 +9 -82
- package/LICENSE +0 -201
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AMM, type ChainId, type MerklAPIType } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { CampaignsCacheUpdaterReturnType } from "
|
3
|
-
import type { MerklChainData } from "
|
2
|
+
import type { CampaignsCacheUpdaterReturnType } from "../../jobs/update-v3-caches.js";
|
3
|
+
import type { MerklChainData } from "../../types";
|
4
4
|
export declare function getClamsInfo(chainIds?: number[] | readonly ChainId[], AMMs?: Lowercase<keyof typeof AMM>[], user?: string, onlyLive?: boolean): Promise<MerklAPIType>;
|
5
5
|
export declare function campaignsToOldFormat(campaignData: CampaignsCacheUpdaterReturnType, merklChainData: MerklChainData): MerklAPIType[number];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { UncachedResult } from "
|
2
|
+
import type { UncachedResult } from "../../../utils/execute";
|
3
3
|
import type { EigenLayerFetchedCampaign, PositionType } from "../types";
|
4
4
|
export declare function getEigenLayerUserPositions(user: string, _chainId: MerklChainId, campaigns: {
|
5
5
|
[mainparameter: string]: EigenLayerFetchedCampaign;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { UncachedResult } from "
|
2
|
+
import type { UncachedResult } from "../../../utils/execute";
|
3
3
|
import type { AjnaFetchedCampaign, PositionType } from "../types";
|
4
4
|
export declare function getAjnaUserPositions(user: string, _chainId: MerklChainId, campaigns: {
|
5
5
|
[mainparameter: string]: AjnaFetchedCampaign;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { UncachedResult } from "
|
2
|
+
import type { UncachedResult } from "../../../utils/execute";
|
3
3
|
import type { BadgerFetchedCampaign, PositionType } from "../types";
|
4
4
|
export declare function getBadgerUserPositions(user: string, _chainId: MerklChainId, campaigns: {
|
5
5
|
[mainparameter: string]: BadgerFetchedCampaign;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type Forwarder, type ForwarderParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { UncachedResult } from "
|
2
|
+
import type { UncachedResult } from "../../../utils/execute";
|
3
3
|
type FetchedCampaign = {
|
4
4
|
rewardToken: string;
|
5
5
|
symbolRewardToken: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { UncachedResult } from "
|
2
|
+
import type { UncachedResult } from "../../../utils/execute";
|
3
3
|
import type { DolomitePositionFetchingDataType } from "../prepareFetch";
|
4
4
|
export type DolomitePositionType = {
|
5
5
|
[mainParameter: string]: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { UncachedResult } from "
|
2
|
+
import type { UncachedResult } from "../../../utils/execute";
|
3
3
|
export declare function getERC20UserPositions(user: string, _chainId: MerklChainId, tokens: {
|
4
4
|
[marketAddress: string]: string[];
|
5
5
|
}): Promise<UncachedResult<any>>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { UncachedResult } from "
|
2
|
+
import type { UncachedResult } from "../../../utils/execute";
|
3
3
|
export declare function getEulerUserPositions(user: string, _chainId: MerklChainId, tokens: {
|
4
4
|
[marketAddress: string]: string[];
|
5
5
|
}): Promise<UncachedResult<any>>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { UncachedResult } from "
|
2
|
+
import type { UncachedResult } from "../../../utils/execute";
|
3
3
|
import type { MorphoFetchedCampaign, PositionType } from "../types";
|
4
4
|
export declare function getMorphoUserPositions(user: string, _chainId: MerklChainId, campaigns: {
|
5
5
|
[mainparameter: string]: MorphoFetchedCampaign;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { UncachedResult } from "
|
2
|
+
import type { UncachedResult } from "../../../utils/execute";
|
3
3
|
export declare function getSiloUserPositions(user: string, _chainId: MerklChainId, mainParameters: {
|
4
4
|
[key: string]: any;
|
5
5
|
}): Promise<UncachedResult<any>>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { GetTransactionsQueryModel } from "
|
1
|
+
import type { GetTransactionsQueryModel } from "../../../modules/v4/accounting/accounting.model";
|
2
2
|
export declare class AccountingRepository {
|
3
3
|
static findMany(query: GetTransactionsQueryModel): Promise<{
|
4
4
|
id: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { GetTransactionsQueryModel } from "
|
2
|
+
import type { GetTransactionsQueryModel } from "../../../modules/v4/accounting/accounting.model";
|
3
3
|
export declare class AccountingService {
|
4
4
|
static hashId(chainId: ChainId, fromTokenId: string, toTokenId: string, timestamp: number): string;
|
5
5
|
static getTokenId(chainId: number, address: string): string;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import type { Resource } from "
|
1
|
+
import { DistributionType } from "@package/databases/api";
|
2
|
+
import type { Resource } from "../../../modules/v4/prisma";
|
3
3
|
/**
|
4
4
|
* Apr Record
|
5
5
|
* @description Describes one apr snapshot for an opportunity
|
@@ -24,6 +24,13 @@ export declare const AprBreakdownResourceDto: import("@sinclair/typebox").TObjec
|
|
24
24
|
readonly PROTOCOL: "PROTOCOL";
|
25
25
|
}>;
|
26
26
|
value: import("@sinclair/typebox").TNumber;
|
27
|
+
distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
28
|
+
readonly DUTCH_AUCTION: "DUTCH_AUCTION";
|
29
|
+
readonly FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE: "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE";
|
30
|
+
readonly FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE: "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE";
|
31
|
+
readonly FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT: "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT";
|
32
|
+
readonly FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT: "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT";
|
33
|
+
}>>;
|
27
34
|
}>;
|
28
35
|
export declare const AprRecordResourceDto: import("@sinclair/typebox").TObject<{
|
29
36
|
cumulated: import("@sinclair/typebox").TNumber;
|
@@ -36,5 +43,12 @@ export declare const AprRecordResourceDto: import("@sinclair/typebox").TObject<{
|
|
36
43
|
readonly PROTOCOL: "PROTOCOL";
|
37
44
|
}>;
|
38
45
|
value: import("@sinclair/typebox").TNumber;
|
46
|
+
distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
47
|
+
readonly DUTCH_AUCTION: "DUTCH_AUCTION";
|
48
|
+
readonly FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE: "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE";
|
49
|
+
readonly FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE: "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE";
|
50
|
+
readonly FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT: "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT";
|
51
|
+
readonly FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT: "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT";
|
52
|
+
}>>;
|
39
53
|
}>>;
|
40
54
|
}>;
|
@@ -85,7 +85,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
85
85
|
} & {
|
86
86
|
price?: number | null | undefined;
|
87
87
|
})[];
|
88
|
-
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;
|
88
|
+
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" | "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;
|
89
89
|
description: string;
|
90
90
|
howToSteps: string[];
|
91
91
|
depositUrl: string | undefined;
|
@@ -204,7 +204,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
204
204
|
} & {
|
205
205
|
price?: number | null | undefined;
|
206
206
|
})[];
|
207
|
-
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;
|
207
|
+
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" | "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;
|
208
208
|
description: string;
|
209
209
|
howToSteps: string[];
|
210
210
|
depositUrl: string | undefined;
|
@@ -462,6 +462,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
462
462
|
creatorId?: string | null | undefined;
|
463
463
|
address: string;
|
464
464
|
} | undefined;
|
465
|
+
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;
|
465
466
|
rootCampaignId?: string | undefined;
|
466
467
|
parentCampaignId?: string | undefined;
|
467
468
|
campaignStatus?: {
|
@@ -491,6 +492,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
491
492
|
id: string;
|
492
493
|
chainId: number;
|
493
494
|
icon: string;
|
495
|
+
isNative: boolean;
|
494
496
|
isPoint: boolean;
|
495
497
|
isPreTGE: boolean;
|
496
498
|
isTest: boolean;
|
@@ -505,6 +507,11 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
505
507
|
computeChainId: number;
|
506
508
|
distributionChainId: number;
|
507
509
|
endTimestamp: string | number;
|
510
|
+
opportunityId: string;
|
511
|
+
creatorAddress: string;
|
512
|
+
subType: number | null;
|
513
|
+
rewardTokenId: string;
|
514
|
+
createdAt: string;
|
508
515
|
chain: {
|
509
516
|
explorers?: {
|
510
517
|
chainId: number;
|
@@ -515,11 +522,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
515
522
|
id: number;
|
516
523
|
icon: string;
|
517
524
|
};
|
518
|
-
opportunityId: string;
|
519
|
-
creatorAddress: string;
|
520
|
-
subType: number | null;
|
521
|
-
rewardTokenId: string;
|
522
|
-
createdAt: string;
|
523
525
|
}[];
|
524
526
|
422: {
|
525
527
|
type: "validation";
|
@@ -549,6 +551,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
549
551
|
creatorId?: string | null | undefined;
|
550
552
|
address: string;
|
551
553
|
} | undefined;
|
554
|
+
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;
|
552
555
|
rootCampaignId?: string | undefined;
|
553
556
|
parentCampaignId?: string | undefined;
|
554
557
|
campaignStatus?: {
|
@@ -578,6 +581,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
578
581
|
id: string;
|
579
582
|
chainId: number;
|
580
583
|
icon: string;
|
584
|
+
isNative: boolean;
|
581
585
|
isPoint: boolean;
|
582
586
|
isPreTGE: boolean;
|
583
587
|
isTest: boolean;
|
@@ -592,6 +596,11 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
592
596
|
computeChainId: number;
|
593
597
|
distributionChainId: number;
|
594
598
|
endTimestamp: string | number;
|
599
|
+
opportunityId: string;
|
600
|
+
creatorAddress: string;
|
601
|
+
subType: number | null;
|
602
|
+
rewardTokenId: string;
|
603
|
+
createdAt: string;
|
595
604
|
chain: {
|
596
605
|
explorers?: {
|
597
606
|
chainId: number;
|
@@ -602,11 +611,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
602
611
|
id: number;
|
603
612
|
icon: string;
|
604
613
|
};
|
605
|
-
opportunityId: string;
|
606
|
-
creatorAddress: string;
|
607
|
-
subType: number | null;
|
608
|
-
rewardTokenId: string;
|
609
|
-
createdAt: string;
|
610
614
|
};
|
611
615
|
422: {
|
612
616
|
type: "validation";
|
@@ -843,6 +847,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
843
847
|
creatorId?: string | null | undefined;
|
844
848
|
address: string;
|
845
849
|
} | undefined;
|
850
|
+
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;
|
846
851
|
rootCampaignId?: string | undefined;
|
847
852
|
parentCampaignId?: string | undefined;
|
848
853
|
campaignStatus?: {
|
@@ -872,6 +877,7 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
872
877
|
id: string;
|
873
878
|
chainId: number;
|
874
879
|
icon: string;
|
880
|
+
isNative: boolean;
|
875
881
|
isPoint: boolean;
|
876
882
|
isPreTGE: boolean;
|
877
883
|
isTest: boolean;
|
@@ -886,6 +892,11 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
886
892
|
computeChainId: number;
|
887
893
|
distributionChainId: number;
|
888
894
|
endTimestamp: string | number;
|
895
|
+
opportunityId: string;
|
896
|
+
creatorAddress: string;
|
897
|
+
subType: number | null;
|
898
|
+
rewardTokenId: string;
|
899
|
+
createdAt: string;
|
889
900
|
chain: {
|
890
901
|
explorers?: {
|
891
902
|
chainId: number;
|
@@ -896,11 +907,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
896
907
|
id: number;
|
897
908
|
icon: string;
|
898
909
|
};
|
899
|
-
opportunityId: string;
|
900
|
-
creatorAddress: string;
|
901
|
-
subType: number | null;
|
902
|
-
rewardTokenId: string;
|
903
|
-
createdAt: string;
|
904
910
|
}[];
|
905
911
|
422: {
|
906
912
|
type: "validation";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { CampaignParameters, Campaign as CampaignType } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { Resource } from "
|
3
|
-
import { type Token } from "
|
2
|
+
import type { Resource } from "../../../modules/v4/prisma";
|
3
|
+
import { type Token } from "../../../modules/v4/token/token.model";
|
4
4
|
import { type Chain } from "../chain/chain.model";
|
5
5
|
import { type Status as StatusModel } from "../status/status.model";
|
6
6
|
/**
|
@@ -74,6 +74,7 @@ export declare const CampaignResourceDto: import("@sinclair/typebox").TObject<{
|
|
74
74
|
decimals: import("@sinclair/typebox").TNumber;
|
75
75
|
icon: import("@sinclair/typebox").TString;
|
76
76
|
verified: import("@sinclair/typebox").TBoolean;
|
77
|
+
isNative: import("@sinclair/typebox").TBoolean;
|
77
78
|
isTest: import("@sinclair/typebox").TBoolean;
|
78
79
|
isPoint: import("@sinclair/typebox").TBoolean;
|
79
80
|
isPreTGE: import("@sinclair/typebox").TBoolean;
|
@@ -93,6 +94,13 @@ export declare const CampaignResourceDto: import("@sinclair/typebox").TObject<{
|
|
93
94
|
chainId: import("@sinclair/typebox").TNumber;
|
94
95
|
}>>>;
|
95
96
|
}>>;
|
97
|
+
distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
98
|
+
readonly DUTCH_AUCTION: "DUTCH_AUCTION";
|
99
|
+
readonly FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE: "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE";
|
100
|
+
readonly FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE: "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE";
|
101
|
+
readonly FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT: "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT";
|
102
|
+
readonly FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT: "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT";
|
103
|
+
}>>;
|
96
104
|
campaignStatus: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
97
105
|
campaignId: import("@sinclair/typebox").TString;
|
98
106
|
computedUntil: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber]>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type ChainId } from "@angleprotocol/sdk/ts";
|
2
2
|
import { type CampaignManualOverride } from "@package/databases/api";
|
3
|
-
import type { Campaign, CampaignUnique, CampaignWithParams, GetCampaignQueryModel } from "
|
3
|
+
import type { Campaign, CampaignUnique, CampaignWithParams, GetCampaignQueryModel } from "../../../modules/v4/campaign/campaign.model";
|
4
4
|
export declare abstract class CampaignRepository {
|
5
5
|
static transformQueryToPrismaFilters(query: GetCampaignQueryModel): {
|
6
6
|
where: {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type CampaignParameters, Campaign as CampaignType, type ChainId } from "@angleprotocol/sdk/ts";
|
2
2
|
import type { CampaignManualOverride } from "@package/databases/api";
|
3
|
-
import type { CampaignConfigMinimalModel, CampaignUnique, CampaignWithParams, CreateCampaignModel, GetCampaignQueryModel, TransactionModel, UpdateCampaignCreatorModel, UpdateCampaignModel, UpdateMetaDataCampaignModel } from "
|
3
|
+
import type { CampaignConfigMinimalModel, CampaignUnique, CampaignWithParams, CreateCampaignModel, GetCampaignQueryModel, TransactionModel, UpdateCampaignCreatorModel, UpdateCampaignModel, UpdateMetaDataCampaignModel } from "../../../modules/v4/campaign/campaign.model";
|
4
4
|
import type { GetCampaignComputedValueModel } from "../computedValue/computedValue.model";
|
5
5
|
import { CampaignRepository } from "./campaign.repository";
|
6
6
|
export declare abstract class CampaignService {
|
@@ -232,7 +232,7 @@ export declare abstract class CampaignService {
|
|
232
232
|
} & {
|
233
233
|
price?: number | null | undefined;
|
234
234
|
})[];
|
235
|
-
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;
|
235
|
+
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" | "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;
|
236
236
|
description: string;
|
237
237
|
howToSteps: string[];
|
238
238
|
depositUrl: string | undefined;
|
@@ -327,7 +327,7 @@ export declare abstract class CampaignService {
|
|
327
327
|
} & {
|
328
328
|
price?: number | null | undefined;
|
329
329
|
})[];
|
330
|
-
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;
|
330
|
+
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" | "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;
|
331
331
|
description: string;
|
332
332
|
howToSteps: string[];
|
333
333
|
depositUrl: string | undefined;
|
@@ -239,7 +239,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
239
239
|
} & {
|
240
240
|
price?: number | null | undefined;
|
241
241
|
})[];
|
242
|
-
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;
|
242
|
+
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" | "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;
|
243
243
|
description: string;
|
244
244
|
howToSteps: string[];
|
245
245
|
depositUrl: string | undefined;
|
@@ -360,7 +360,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
360
360
|
} & {
|
361
361
|
price?: number | null | undefined;
|
362
362
|
})[];
|
363
|
-
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;
|
363
|
+
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" | "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;
|
364
364
|
description: string;
|
365
365
|
howToSteps: string[];
|
366
366
|
depositUrl: string | undefined;
|
@@ -482,7 +482,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
482
482
|
} & {
|
483
483
|
price?: number | null | undefined;
|
484
484
|
})[];
|
485
|
-
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;
|
485
|
+
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" | "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;
|
486
486
|
description: string;
|
487
487
|
howToSteps: string[];
|
488
488
|
depositUrl: string | undefined;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { ChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { Token } from "
|
3
|
-
import type { UserUniqueModel } from "
|
2
|
+
import type { Token } from "../../../modules/v4/token/token.model";
|
3
|
+
import type { UserUniqueModel } from "../../../modules/v4/user/user.model";
|
4
4
|
import type { ClaimModel } from "./claims.model";
|
5
5
|
export declare abstract class ClaimService {
|
6
6
|
static getHistoricalClaims(params: UserUniqueModel, chainFilter?: ChainId[]): Promise<(ClaimModel & {
|