@merkl/api 1.0.69 → 1.0.71
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/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/cache/declaration.d.ts +0 -133
- package/dist/src/cache/index.d.ts +0 -61
- package/dist/src/cache/redis.d.ts +0 -312
- package/dist/src/constants.d.ts +0 -86
- package/dist/src/eden/index.d.ts +0 -18747
- package/dist/src/eden/index.js +0 -2
- package/dist/src/engine/deprecated/dynamicData/implementations/Ajna.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/Badger.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/Clamm.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/Compound.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/CompoundV3.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/Dolomite.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/ERC721.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/ERCMultiToken.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/EigenLayer.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/Encompassing.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +0 -108
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20Snapshot.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/EventBased.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/Hyperdrive.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/Morpho.d.ts +0 -9
- package/dist/src/engine/deprecated/dynamicData/implementations/Radiant.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/Silo.d.ts +0 -9
- package/dist/src/engine/deprecated/dynamicData/implementations/UniswapV4.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/implementations/Vest.d.ts +0 -9
- package/dist/src/engine/deprecated/dynamicData/implementations/default.d.ts +0 -5
- package/dist/src/engine/deprecated/dynamicData/utils/fetchA51Strategies.d.ts +0 -18
- package/dist/src/engine/deprecated/dynamicData/utils/fetchClamInfo.d.ts +0 -2
- package/dist/src/engine/deprecated/dynamicData/utils/fetchLogs.d.ts +0 -14
- package/dist/src/engine/deprecated/dynamicData/utils/getCompV2ForksVaults.d.ts +0 -19
- package/dist/src/engine/deprecated/dynamicData/utils/getContractCreationBlock.d.ts +0 -2
- package/dist/src/engine/deprecated/dynamicData/utils/getDolomiteMarkets.d.ts +0 -8
- package/dist/src/engine/deprecated/dynamicData/utils/getEulerV2Vaults.d.ts +0 -7
- package/dist/src/engine/deprecated/dynamicData/utils/getFixedApr.d.ts +0 -8
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/GenericProcessor.d.ts +0 -103
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/eulerVaultNames.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/factoryFinder.d.ts +0 -5
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/getBlacklistedSupply.d.ts +0 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/getCrossCurveTokenPrice.d.ts +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/hardcoded.d.ts +0 -3
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/ownerFinder.d.ts +0 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/spliceTVL.d.ts +0 -8
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/treasuryFinder.d.ts +0 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AaveProcessor.d.ts +0 -30
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AnglesLiquid.d.ts +0 -35
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AssetProcessor.d.ts +0 -35
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AuraProcessor.d.ts +0 -107
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BEXRewardGaugeProcessor.d.ts +0 -85
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BalancerGaugeProcessor.d.ts +0 -75
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BalancerPoolProcessor.d.ts +0 -88
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BalancerV3PoolProcessor.d.ts +0 -44
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BeefyProcessor.d.ts +0 -48
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BunniV2Processor.d.ts +0 -45
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/CompoundProcessor.d.ts +0 -44
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/ERC4626Processor.d.ts +0 -34
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/EnzymeProcessor.d.ts +0 -40
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/EqualizerGaugeProcessor.d.ts +0 -28
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/EulerBorrowProcessor.d.ts +0 -36
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/EulerLendProcessor.d.ts +0 -35
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/FluidProcessor.d.ts +0 -39
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/FraxProcessor.d.ts +0 -33
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/GammaALMProcessor.d.ts +0 -30
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/GammaProcessor.d.ts +0 -43
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/GearboxProcessor.d.ts +0 -44
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/HanjiVaultProcessor.d.ts +0 -43
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/HoldStationProcessor.d.ts +0 -29
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/HourglassProcessor.d.ts +0 -36
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/MaverickBPProcessor.d.ts +0 -50
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/MetamorphoProcessor.d.ts +0 -33
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/NoLinkVaultProcessor.d.ts +0 -38
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/PendleProcessor.d.ts +0 -29
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/PendleYTProcessor.d.ts +0 -29
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/RadiantProcessor.d.ts +0 -32
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/RfxProcessor.d.ts +0 -40
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/Satlayer.d.ts +0 -34
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/SpectraProcessor.d.ts +0 -31
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/SpectraYTProcessor.d.ts +0 -31
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/SpliceProcessor.d.ts +0 -16
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/StabilityProcessor.d.ts +0 -29
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/SturdySiloProcessor.d.ts +0 -39
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/TempestVaultProcessor.d.ts +0 -52
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/TemplateProcessor.d.ts +0 -32
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/TorosProcessor.d.ts +0 -30
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/UniswapProcessor.d.ts +0 -44
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/VicunaProcessor.d.ts +0 -28
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/WoofiProcessor.d.ts +0 -32
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/ZkSwapThreePoolProcessor.d.ts +0 -53
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/curveNPoolProcessor.d.ts +0 -39
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/curveProcessor.d.ts +0 -49
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/processorMapping.d.ts +0 -4
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/stakedCurveProcessor.d.ts +0 -54
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/xU308Processor.d.ts +0 -38
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesPrices.d.ts +0 -5
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound1.d.ts +0 -4
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound2.d.ts +0 -3
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound3.d.ts +0 -3
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound4.d.ts +0 -3
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/tokenTypeStruct.d.ts +0 -7
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/tokenTypeToProtocolAndAction.d.ts +0 -7
- package/dist/src/engine/implementations/Ajna/metadata.d.ts +0 -19
- package/dist/src/engine/implementations/Ajna/tvl.d.ts +0 -7
- package/dist/src/engine/implementations/Ambient/metadata.d.ts +0 -19
- package/dist/src/engine/implementations/Ambient/tvl.d.ts +0 -7
- package/dist/src/engine/implementations/Badger/metadata.d.ts +0 -19
- package/dist/src/engine/implementations/Clamm/metadata.d.ts +0 -45
- package/dist/src/engine/implementations/Compound/metadata.d.ts +0 -18
- package/dist/src/engine/implementations/CompoundV3/metadata.d.ts +0 -18
- package/dist/src/engine/implementations/Default/metadata.d.ts +0 -13
- package/dist/src/engine/implementations/Dolomite/metadata.d.ts +0 -18
- package/dist/src/engine/implementations/EigenLayer/metadata.d.ts +0 -17
- package/dist/src/engine/implementations/EigenLayer/tvl.d.ts +0 -7
- package/dist/src/engine/implementations/Encompassing/metadata.d.ts +0 -16
- package/dist/src/engine/implementations/Erc20/metadata.d.ts +0 -18
- package/dist/src/engine/implementations/Erc20/subTypes/detect.d.ts +0 -8
- package/dist/src/engine/implementations/Erc20/subTypes/factories.d.ts +0 -5
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/aave/metadata.d.ts +0 -30
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/aave/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/bunni/metadata.d.ts +0 -18
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/bunni/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/euler/metadata.d.ts +0 -20
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/euler/tvl.d.ts +0 -5
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/gamma/metadata.d.ts +0 -18
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/gamma/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/gearbox/metadata.d.ts +0 -17
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/gearbox/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/hypurrfiIsolatedMarket/metadata.d.ts +0 -30
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/hypurrfiIsolatedMarket/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/lendleVaults/metadata.d.ts +0 -16
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/lendleVaults/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/metamorpho/metadata.d.ts +0 -18
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/metamorpho/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/metadata.d.ts +0 -17
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmax/metadata.d.ts +0 -17
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmax/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmaxVault/metadata.d.ts +0 -18
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmaxVault/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/metadata.d.ts +0 -31
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/mimswap/metadata.d.ts +0 -30
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/mimswap/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +0 -124
- package/dist/src/engine/implementations/Erc20/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20Snapshot/metadata.d.ts +0 -15
- package/dist/src/engine/implementations/Erc721/metadata.d.ts +0 -17
- package/dist/src/engine/implementations/ErcMultiToken/metadata.d.ts +0 -29
- package/dist/src/engine/implementations/EventBased/metadata.d.ts +0 -24
- package/dist/src/engine/implementations/FraxLend/metadataBorrow.d.ts +0 -24
- package/dist/src/engine/implementations/FraxLend/metadataCollateral.d.ts +0 -18
- package/dist/src/engine/implementations/FraxLend/tvlBorrow.d.ts +0 -7
- package/dist/src/engine/implementations/FraxLend/tvlCollateral.d.ts +0 -7
- package/dist/src/engine/implementations/Hyperdrive/metadata.d.ts +0 -20
- package/dist/src/engine/implementations/Invalid/metadata.d.ts +0 -11
- package/dist/src/engine/implementations/Ion/metadata.d.ts +0 -17
- package/dist/src/engine/implementations/JsonAirdrop/metadata.d.ts +0 -24
- package/dist/src/engine/implementations/Locker/metadata.d.ts +0 -24
- package/dist/src/engine/implementations/Locker/tvl.d.ts +0 -7
- package/dist/src/engine/implementations/Morpho/metadata.d.ts +0 -26
- package/dist/src/engine/implementations/MultiLog/metadata.d.ts +0 -8
- package/dist/src/engine/implementations/MultiLog/tvl.d.ts +0 -7
- package/dist/src/engine/implementations/Radiant/metadata.d.ts +0 -18
- package/dist/src/engine/implementations/Silo/metadata.d.ts +0 -18
- package/dist/src/engine/implementations/SymbioticVault/metadata.d.ts +0 -20
- package/dist/src/engine/implementations/SymbioticVault/tvl.d.ts +0 -7
- package/dist/src/engine/implementations/UniswapV4/metadata.d.ts +0 -20
- package/dist/src/engine/implementations/UniswapV4/tvl.d.ts +0 -7
- package/dist/src/engine/implementations/Vest/metadata.d.ts +0 -17
- package/dist/src/engine/implementations/morphoBorrow/metadata.d.ts +0 -21
- package/dist/src/engine/implementations/morphoBorrow/tvl.d.ts +0 -7
- package/dist/src/engine/implementations/morphoCollateral/metadata.d.ts +0 -21
- package/dist/src/engine/implementations/morphoCollateral/tvl.d.ts +0 -7
- package/dist/src/engine/implementations/morphoSupply/metadata.d.ts +0 -21
- package/dist/src/engine/implementations/morphoSupply/tvl.d.ts +0 -7
- package/dist/src/engine/metadata/factory.d.ts +0 -3
- package/dist/src/engine/tvl/factory.d.ts +0 -6
- package/dist/src/engine/tvl/logStates.d.ts +0 -21
- package/dist/src/errors/BadRequest.error.d.ts +0 -4
- package/dist/src/errors/Conflict.error.d.ts +0 -4
- package/dist/src/errors/HttpError.d.ts +0 -11
- package/dist/src/errors/InvalidParameter.error.d.ts +0 -4
- package/dist/src/errors/NotFound.error.d.ts +0 -8
- package/dist/src/errors/Opportunity.error.d.ts +0 -6
- package/dist/src/errors/UnableToFindPrice.error.d.ts +0 -4
- package/dist/src/errors/Unauthorized.error.d.ts +0 -4
- package/dist/src/errors/VoidString.error.d.ts +0 -4
- package/dist/src/errors/index.d.ts +0 -6
- package/dist/src/guards/BackOffice.guard.d.ts +0 -7
- package/dist/src/guards/Engine.guard.d.ts +0 -7
- package/dist/src/guards/TokenAuth.guard.d.ts +0 -7
- package/dist/src/guards/VerifyJwt.guard.d.ts +0 -10
- package/dist/src/hooks/checkQueryAddressValidity.d.ts +0 -26
- package/dist/src/hooks/checkQueryChainIdValidity.d.ts +0 -26
- package/dist/src/index.d.ts +0 -10007
- package/dist/src/jobs/pendings.d.ts +0 -1
- package/dist/src/jobs/prices.d.ts +0 -1
- package/dist/src/jobs/reward-breakdowns.d.ts +0 -1
- package/dist/src/jobs/rewards.d.ts +0 -1
- package/dist/src/jobs/set-dungeon-keeper.d.ts +0 -1
- package/dist/src/jobs/update-analytics.d.ts +0 -1
- package/dist/src/jobs/update-dynamic-data.d.ts +0 -1
- package/dist/src/jobs/update-euler-vaults.d.ts +0 -1
- package/dist/src/jobs/update-rpc-calls-cache.d.ts +0 -1
- package/dist/src/jobs/update-uniswap-v4-pools.d.ts +0 -1
- package/dist/src/jobs/update-v3-caches.d.ts +0 -12
- package/dist/src/libs/computeFee.d.ts +0 -4
- package/dist/src/libs/deprecated-merklv3/index.d.ts +0 -5
- package/dist/src/libs/getTokensList.d.ts +0 -23
- package/dist/src/libs/merklChainData.d.ts +0 -4
- package/dist/src/libs/parse/marketsWithCache.d.ts +0 -4
- package/dist/src/libs/positions/EigenLayer/index.d.ts +0 -6
- package/dist/src/libs/positions/ajna/index.d.ts +0 -6
- package/dist/src/libs/positions/badger/index.d.ts +0 -6
- package/dist/src/libs/positions/clamm/index.d.ts +0 -7
- package/dist/src/libs/positions/clamm/thegraph/fetchAlmPositions.d.ts +0 -5
- package/dist/src/libs/positions/clamm/thegraph/fetchAmmPositions.d.ts +0 -8
- package/dist/src/libs/positions/clamm/thegraph/fetchFarmedPositions.d.ts +0 -10
- package/dist/src/libs/positions/clamm/thegraph/index.d.ts +0 -40
- package/dist/src/libs/positions/compound/index.d.ts +0 -24
- package/dist/src/libs/positions/dolomite/index.d.ts +0 -17
- package/dist/src/libs/positions/erc20/index.d.ts +0 -5
- package/dist/src/libs/positions/euler/index.d.ts +0 -5
- package/dist/src/libs/positions/index.d.ts +0 -3
- package/dist/src/libs/positions/morpho/index.d.ts +0 -6
- package/dist/src/libs/positions/prepareFetch.d.ts +0 -22
- package/dist/src/libs/positions/silo/index.d.ts +0 -5
- package/dist/src/libs/positions/types.d.ts +0 -75
- package/dist/src/libs/staticCampaigns.d.ts +0 -7
- package/dist/src/libs/tokens/allowances.d.ts +0 -1
- package/dist/src/libs/tokens/balances.d.ts +0 -11
- package/dist/src/libs/tokens/tokenInfo.d.ts +0 -8
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +0 -284
- package/dist/src/modules/v4/accounting/accounting.model.d.ts +0 -32
- package/dist/src/modules/v4/accounting/accounting.repository.d.ts +0 -99
- package/dist/src/modules/v4/accounting/accounting.service.d.ts +0 -59
- package/dist/src/modules/v4/airflow/airflow.service.d.ts +0 -3
- package/dist/src/modules/v4/apr/apr.model.d.ts +0 -54
- package/dist/src/modules/v4/apr/apr.service.d.ts +0 -9
- package/dist/src/modules/v4/authentication/authentication.controller.d.ts +0 -74
- package/dist/src/modules/v4/authentication/authentication.model.d.ts +0 -10
- package/dist/src/modules/v4/authentication/authentication.service.d.ts +0 -10
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +0 -150
- package/dist/src/modules/v4/blacklist/blacklist.model.d.ts +0 -20
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +0 -21
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +0 -24
- package/dist/src/modules/v4/boost/boost.controller.d.ts +0 -110
- package/dist/src/modules/v4/boost/boost.model.d.ts +0 -12
- package/dist/src/modules/v4/boost/boost.service.d.ts +0 -11
- package/dist/src/modules/v4/bucket/bucket.model.d.ts +0 -10
- package/dist/src/modules/v4/bucket/bucket.service.d.ts +0 -14
- package/dist/src/modules/v4/cache/cache.model.d.ts +0 -13
- package/dist/src/modules/v4/cache/cache.repository.d.ts +0 -8
- package/dist/src/modules/v4/cache/cache.service.d.ts +0 -12
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +0 -901
- package/dist/src/modules/v4/campaign/campaign.convertor.d.ts +0 -9
- package/dist/src/modules/v4/campaign/campaign.formatter.d.ts +0 -6
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +0 -227
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +0 -999
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +0 -405
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +0 -566
- package/dist/src/modules/v4/chain/chain.controller.d.ts +0 -194
- package/dist/src/modules/v4/chain/chain.model.d.ts +0 -52
- package/dist/src/modules/v4/chain/chain.repository.d.ts +0 -104
- package/dist/src/modules/v4/chain/chain.service.d.ts +0 -83
- package/dist/src/modules/v4/chainInteraction/chainInteraction.service.d.ts +0 -2
- package/dist/src/modules/v4/claims/claims.controller.d.ts +0 -55
- package/dist/src/modules/v4/claims/claims.model.d.ts +0 -9
- package/dist/src/modules/v4/claims/claims.repository.d.ts +0 -5
- package/dist/src/modules/v4/claims/claims.service.d.ts +0 -9
- package/dist/src/modules/v4/coingecko/coingecko.model.d.ts +0 -0
- package/dist/src/modules/v4/coingecko/coingecko.repository.d.ts +0 -14
- package/dist/src/modules/v4/coingecko/coingecko.service.d.ts +0 -16
- package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +0 -164
- package/dist/src/modules/v4/computedValue/computedValue.model.d.ts +0 -27
- package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +0 -21
- package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +0 -22
- package/dist/src/modules/v4/creator/creator.controller.d.ts +0 -456
- package/dist/src/modules/v4/creator/creator.model.d.ts +0 -59
- package/dist/src/modules/v4/creator/creator.repository.d.ts +0 -97
- package/dist/src/modules/v4/creator/creator.service.d.ts +0 -192
- package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +0 -20
- package/dist/src/modules/v4/enso/enso.model.d.ts +0 -166
- package/dist/src/modules/v4/enso/enso.service.d.ts +0 -69
- package/dist/src/modules/v4/explorer/explorer.controller.d.ts +0 -58
- package/dist/src/modules/v4/explorer/explorer.model.d.ts +0 -16
- package/dist/src/modules/v4/explorer/explorer.repository.d.ts +0 -21
- package/dist/src/modules/v4/explorer/explorer.service.d.ts +0 -28
- package/dist/src/modules/v4/icon/icon.model.d.ts +0 -4
- package/dist/src/modules/v4/icon/icon.service.d.ts +0 -5
- package/dist/src/modules/v4/interaction/interaction.controller.d.ts +0 -128
- package/dist/src/modules/v4/interaction/interaction.model.d.ts +0 -110
- package/dist/src/modules/v4/interaction/interaction.service.d.ts +0 -38
- package/dist/src/modules/v4/kyberzap/kyberzap.model.d.ts +0 -114
- package/dist/src/modules/v4/kyberzap/kyberzap.service.d.ts +0 -34
- package/dist/src/modules/v4/liquidity/implementations/AjnaPositionFetcher.d.ts +0 -6
- package/dist/src/modules/v4/liquidity/implementations/BadgerPositionFetcher.d.ts +0 -6
- package/dist/src/modules/v4/liquidity/implementations/ClammPositionFetcher.d.ts +0 -6
- package/dist/src/modules/v4/liquidity/implementations/DolomitePositionFetcher.d.ts +0 -6
- package/dist/src/modules/v4/liquidity/implementations/ERC20PositionFetcher.d.ts +0 -6
- package/dist/src/modules/v4/liquidity/implementations/EulerPositionFetcher.d.ts +0 -6
- package/dist/src/modules/v4/liquidity/liquidity.controller.d.ts +0 -50
- package/dist/src/modules/v4/liquidity/liquidity.model.d.ts +0 -25
- package/dist/src/modules/v4/liquidity/liquidity.repository.d.ts +0 -14
- package/dist/src/modules/v4/liquidity/liquidity.service.d.ts +0 -5
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +0 -113
- package/dist/src/modules/v4/merklRoot/merklRoot.model.d.ts +0 -13
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +0 -23
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +0 -44
- package/dist/src/modules/v4/node/node.controller.d.ts +0 -65
- package/dist/src/modules/v4/node/node.model.d.ts +0 -21
- package/dist/src/modules/v4/node/node.repository.d.ts +0 -21
- package/dist/src/modules/v4/node/node.service.d.ts +0 -21
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +0 -1387
- package/dist/src/modules/v4/opportunity/opportunity.converter.d.ts +0 -127
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +0 -174
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +0 -499
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +0 -1052
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +0 -710
- package/dist/src/modules/v4/opportunity/transform-id.pipe.d.ts +0 -5
- package/dist/src/modules/v4/opportunity/validate-id.pipe.d.ts +0 -5
- package/dist/src/modules/v4/parse/parse.controller.d.ts +0 -64
- package/dist/src/modules/v4/parse/parse.model.d.ts +0 -10
- package/dist/src/modules/v4/payload/payload.controller.d.ts +0 -127
- package/dist/src/modules/v4/payload/payload.model.d.ts +0 -309
- package/dist/src/modules/v4/payload/payload.service.d.ts +0 -27
- package/dist/src/modules/v4/price/price.controller.d.ts +0 -228
- package/dist/src/modules/v4/price/price.model.d.ts +0 -36
- package/dist/src/modules/v4/price/price.repository.d.ts +0 -36
- package/dist/src/modules/v4/price/price.service.d.ts +0 -40
- package/dist/src/modules/v4/prisma/index.d.ts +0 -32
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +0 -1175
- package/dist/src/modules/v4/programPayload/programPayload.model.d.ts +0 -334
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +0 -3167
- package/dist/src/modules/v4/programPayload/programPayload.service.d.ts +0 -50
- package/dist/src/modules/v4/programPayload/subPayloads/hypurrFi.d.ts +0 -72
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +0 -290
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +0 -107
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +0 -89
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +0 -35
- package/dist/src/modules/v4/referral/referral.controller.d.ts +0 -104
- package/dist/src/modules/v4/referral/referral.model.d.ts +0 -10
- package/dist/src/modules/v4/referral/referral.service.d.ts +0 -216
- package/dist/src/modules/v4/reward/reward.controller.d.ts +0 -598
- package/dist/src/modules/v4/reward/reward.converter.d.ts +0 -14
- package/dist/src/modules/v4/reward/reward.model.d.ts +0 -260
- package/dist/src/modules/v4/reward/reward.repository.d.ts +0 -174
- package/dist/src/modules/v4/reward/reward.service.d.ts +0 -753
- package/dist/src/modules/v4/router.d.ts +0 -8439
- package/dist/src/modules/v4/status/status.controller.d.ts +0 -303
- package/dist/src/modules/v4/status/status.model.d.ts +0 -63
- package/dist/src/modules/v4/status/status.repository.d.ts +0 -104
- package/dist/src/modules/v4/status/status.service.d.ts +0 -89
- package/dist/src/modules/v4/token/token.controller.d.ts +0 -499
- package/dist/src/modules/v4/token/token.model.d.ts +0 -125
- package/dist/src/modules/v4/token/token.repository.d.ts +0 -138
- package/dist/src/modules/v4/token/token.service.d.ts +0 -361
- package/dist/src/modules/v4/tracer/tracer.service.d.ts +0 -3
- package/dist/src/modules/v4/turtle/turtle.controller.d.ts +0 -81
- package/dist/src/modules/v4/turtle/turtle.repository.d.ts +0 -14
- package/dist/src/modules/v4/turtle/turtle.service.d.ts +0 -17
- package/dist/src/modules/v4/tvl/tvl.model.d.ts +0 -35
- package/dist/src/modules/v4/tvl/tvl.service.d.ts +0 -9
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +0 -480
- package/dist/src/modules/v4/uniswap/uniswap.model.d.ts +0 -55
- package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +0 -24
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +0 -21
- package/dist/src/modules/v4/user/user.controller.d.ts +0 -445
- package/dist/src/modules/v4/user/user.model.d.ts +0 -85
- package/dist/src/modules/v4/user/user.repository.d.ts +0 -34
- package/dist/src/modules/v4/user/user.service.d.ts +0 -37
- package/dist/src/plugins/errorHandler.d.ts +0 -33
- package/dist/src/routes/v1/allowances.d.ts +0 -80
- package/dist/src/routes/v1/balances.d.ts +0 -63
- package/dist/src/routes/v1/prices.d.ts +0 -55
- package/dist/src/routes/v1/router.d.ts +0 -142
- package/dist/src/routes/v1/tokens.d.ts +0 -58
- package/dist/src/routes/v2/merkl.d.ts +0 -92
- package/dist/src/routes/v2/router.d.ts +0 -83
- package/dist/src/routes/v3/app.d.ts +0 -61
- package/dist/src/routes/v3/blacklist.d.ts +0 -58
- package/dist/src/routes/v3/campaign/delay.d.ts +0 -60
- package/dist/src/routes/v3/campaignClaims.d.ts +0 -61
- package/dist/src/routes/v3/campaignUnclaimed.d.ts +0 -60
- package/dist/src/routes/v3/campaigns.d.ts +0 -71
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +0 -67
- package/dist/src/routes/v3/campaignsRewardsReport.d.ts +0 -60
- package/dist/src/routes/v3/claims.d.ts +0 -61
- package/dist/src/routes/v3/compoundV2.d.ts +0 -55
- package/dist/src/routes/v3/createCampaign.d.ts +0 -60
- package/dist/src/routes/v3/dolomite.d.ts +0 -59
- package/dist/src/routes/v3/euler.d.ts +0 -114
- package/dist/src/routes/v3/fetch.d.ts +0 -59
- package/dist/src/routes/v3/health.d.ts +0 -54
- package/dist/src/routes/v3/lostyield.d.ts +0 -66
- package/dist/src/routes/v3/merkl.d.ts +0 -116
- package/dist/src/routes/v3/morphoMarkets.d.ts +0 -75
- package/dist/src/routes/v3/morphoVaults.d.ts +0 -65
- package/dist/src/routes/v3/multiChainPositions.d.ts +0 -58
- package/dist/src/routes/v3/opportunity.d.ts +0 -125
- package/dist/src/routes/v3/overview.d.ts +0 -91
- package/dist/src/routes/v3/parse.d.ts +0 -60
- package/dist/src/routes/v3/payload.d.ts +0 -71
- package/dist/src/routes/v3/poolInfo.d.ts +0 -62
- package/dist/src/routes/v3/positions.d.ts +0 -75
- package/dist/src/routes/v3/radiant.d.ts +0 -69
- package/dist/src/routes/v3/recipients.d.ts +0 -59
- package/dist/src/routes/v3/rewards.d.ts +0 -86
- package/dist/src/routes/v3/rewardsReport.d.ts +0 -69
- package/dist/src/routes/v3/router.d.ts +0 -1401
- package/dist/src/routes/v3/silo.d.ts +0 -66
- package/dist/src/routes/v3/token.d.ts +0 -64
- package/dist/src/routes/v3/twt/participants.d.ts +0 -52
- package/dist/src/routes/v3/uniswapv4.d.ts +0 -252
- package/dist/src/routes/v3/updates.d.ts +0 -66
- package/dist/src/routes/v3/userRewards.d.ts +0 -82
- package/dist/src/scripts/fill-coingecko-data.d.ts +0 -1
- package/dist/src/scripts/fill-descriptions.d.ts +0 -1
- package/dist/src/scripts/fill-unknown-tokens.d.ts +0 -1
- package/dist/src/scripts/reparse-opportunities.d.ts +0 -1
- package/dist/src/types/external/spectraAPI.d.ts +0 -88
- package/dist/src/types/index.d.ts +0 -17
- package/dist/src/utils/TailSampler.d.ts +0 -8
- package/dist/src/utils/bigintToString.d.ts +0 -1
- package/dist/src/utils/caseChanges.d.ts +0 -4
- package/dist/src/utils/decodeCalls.d.ts +0 -3
- package/dist/src/utils/encodeCalls.d.ts +0 -3
- package/dist/src/utils/error.d.ts +0 -70
- package/dist/src/utils/execute.d.ts +0 -22
- package/dist/src/utils/generateCardName.d.ts +0 -6
- package/dist/src/utils/generic.d.ts +0 -7
- package/dist/src/utils/hashArray.d.ts +0 -2
- package/dist/src/utils/lastBlockBefore.d.ts +0 -3
- package/dist/src/utils/logger.d.ts +0 -54
- package/dist/src/utils/pagination.d.ts +0 -11
- package/dist/src/utils/parseDistributionType.d.ts +0 -1
- package/dist/src/utils/pricer.d.ts +0 -57
- package/dist/src/utils/prices/chainlinkRead.d.ts +0 -4
- package/dist/src/utils/prices/curveVirtualPrice.d.ts +0 -4
- package/dist/src/utils/prices/getDQUICK.d.ts +0 -4
- package/dist/src/utils/prices/priceFetcherFactory.d.ts +0 -10
- package/dist/src/utils/prices/priceService.d.ts +0 -13
- package/dist/src/utils/prices/services/OnChainCallService.d.ts +0 -8
- package/dist/src/utils/prices/services/coinGeckoService.d.ts +0 -12
- package/dist/src/utils/prices/services/defillamaService.d.ts +0 -12
- package/dist/src/utils/prices/services/dexScreenerService.d.ts +0 -12
- package/dist/src/utils/prices/services/erc4626Service.d.ts +0 -9
- package/dist/src/utils/prices/services/getERC4626.d.ts +0 -4
- package/dist/src/utils/prices/services/indexCoopService.d.ts +0 -12
- package/dist/src/utils/prices/services/priceFetcher.d.ts +0 -8
- package/dist/src/utils/prices/services/uniswapV2PriceService.d.ts +0 -8
- package/dist/src/utils/prices/uniV2Price.d.ts +0 -7
- package/dist/src/utils/providers.d.ts +0 -128
- package/dist/src/utils/queries/allCampaigns.d.ts +0 -1
- package/dist/src/utils/sanitizeChain.d.ts +0 -2
- package/dist/src/utils/stryke.d.ts +0 -2
- package/dist/src/utils/throw.d.ts +0 -22
package/dist/src/eden/index.js
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.AJNA;
|
4
|
-
export declare class AjnaDynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<Campaign.AJNA>[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.BADGER;
|
4
|
-
export declare class BadgerDynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<Campaign.BADGER>[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.CLAMM;
|
4
|
-
export declare class ClammDynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<Campaign.CLAMM>[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.COMPOUND;
|
4
|
-
export declare class CompoundDynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<Campaign.COMPOUND>[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.COMPOUND_V3;
|
4
|
-
export declare class CompoundV3DynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<Campaign.COMPOUND_V3>[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.DOLOMITE;
|
4
|
-
export declare class DolomiteDynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<Campaign.DOLOMITE>[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.ERC721 | Campaign.ERC721FIXAPR;
|
4
|
-
export declare class ERC721DynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<campaignType>[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.ERC6909 | Campaign.ERC6909FIXAPR | Campaign.ERC1155 | Campaign.ERC1155FIXAPR;
|
4
|
-
export declare class ERCMultiTokenDynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<campaignType>[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.EIGENLAYER;
|
4
|
-
export declare class EigenLayerDynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<Campaign.EIGENLAYER>[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { Campaign, CampaignDynamicData, CampaignParameters, MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.ENCOMPASSING;
|
4
|
-
export declare class EncompassingDynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(_chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<Campaign.ENCOMPASSING>[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,108 +0,0 @@
|
|
1
|
-
import { type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import { type Erc20LikeCampaignEnum, Erc20SubType } from "../../../../engine/implementations/Erc20/subTypes";
|
3
|
-
import type { DynamicDataBuilder } from "../interface";
|
4
|
-
export declare class Erc20DynamicData implements DynamicDataBuilder<Erc20LikeCampaignEnum> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<Erc20LikeCampaignEnum>[]): Promise<({
|
6
|
-
apr: number;
|
7
|
-
totalSupplyTargetToken: any;
|
8
|
-
tvl: number;
|
9
|
-
displayTvl: number | undefined;
|
10
|
-
type: Erc20SubType;
|
11
|
-
typeInfo: any;
|
12
|
-
priceRewardToken: number;
|
13
|
-
amount: string;
|
14
|
-
campaignId: string;
|
15
|
-
campaignSubType: number;
|
16
|
-
campaignType: import("@angleprotocol/sdk/ts").Campaign.ERC20LOGPROCESSOR | import("@angleprotocol/sdk/ts").Campaign.ERC20_FIX_APR;
|
17
|
-
chainId: MerklChainId;
|
18
|
-
computeChainId: MerklChainId;
|
19
|
-
creator: string;
|
20
|
-
endTimestamp: number;
|
21
|
-
index: number;
|
22
|
-
mainParameter: string;
|
23
|
-
rewardToken: string;
|
24
|
-
startTimestamp: number;
|
25
|
-
lastEligibilityRatio?: number;
|
26
|
-
campaignParameters: import("@angleprotocol/sdk/ts").ERC20LogCampaignParameters;
|
27
|
-
} | {
|
28
|
-
apr: number;
|
29
|
-
totalSupplyTargetToken: any;
|
30
|
-
tvl: number;
|
31
|
-
displayTvl: number | undefined;
|
32
|
-
type: Erc20SubType;
|
33
|
-
typeInfo: any;
|
34
|
-
priceRewardToken: number;
|
35
|
-
amount: string;
|
36
|
-
campaignId: string;
|
37
|
-
campaignSubType: number;
|
38
|
-
campaignType: import("@angleprotocol/sdk/ts").Campaign.ERC20REBASELOGPROCESSOR | import("@angleprotocol/sdk/ts").Campaign.ERC20REBASEFIXAPR;
|
39
|
-
chainId: MerklChainId;
|
40
|
-
computeChainId: MerklChainId;
|
41
|
-
creator: string;
|
42
|
-
endTimestamp: number;
|
43
|
-
index: number;
|
44
|
-
mainParameter: string;
|
45
|
-
rewardToken: string;
|
46
|
-
startTimestamp: number;
|
47
|
-
lastEligibilityRatio?: number;
|
48
|
-
campaignParameters: import("@angleprotocol/sdk/ts").ERC20RebaseCampaignParameters;
|
49
|
-
} | {
|
50
|
-
apr: number;
|
51
|
-
totalSupplyTargetToken: any;
|
52
|
-
tvl: number;
|
53
|
-
displayTvl: number | undefined;
|
54
|
-
type: Erc20SubType;
|
55
|
-
typeInfo: any;
|
56
|
-
priceRewardToken: number;
|
57
|
-
amount: string;
|
58
|
-
campaignId: string;
|
59
|
-
campaignSubType: number;
|
60
|
-
campaignType: import("@angleprotocol/sdk/ts").Campaign.EULER;
|
61
|
-
chainId: MerklChainId;
|
62
|
-
computeChainId: MerklChainId;
|
63
|
-
creator: string;
|
64
|
-
endTimestamp: number;
|
65
|
-
index: number;
|
66
|
-
mainParameter: string;
|
67
|
-
rewardToken: string;
|
68
|
-
startTimestamp: number;
|
69
|
-
lastEligibilityRatio?: number;
|
70
|
-
campaignParameters: import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
71
|
-
addressAsset: string;
|
72
|
-
collateralAddress?: string;
|
73
|
-
decimalsAsset: number;
|
74
|
-
decimalsCollateral?: number;
|
75
|
-
decimalsTargetToken: number;
|
76
|
-
evkAddress: string;
|
77
|
-
nameCollateral?: string;
|
78
|
-
nameTargetToken: string;
|
79
|
-
subCampaignType: import("@angleprotocol/sdk/ts").EulerSubCampaignType;
|
80
|
-
symbolAsset: string;
|
81
|
-
symbolCollateral?: string;
|
82
|
-
symbolTargetToken: string;
|
83
|
-
targetToken: string;
|
84
|
-
};
|
85
|
-
} | {
|
86
|
-
apr: number;
|
87
|
-
totalSupplyTargetToken: any;
|
88
|
-
tvl: number;
|
89
|
-
displayTvl: number | undefined;
|
90
|
-
type: Erc20SubType;
|
91
|
-
typeInfo: any;
|
92
|
-
priceRewardToken: number;
|
93
|
-
amount: string;
|
94
|
-
campaignId: string;
|
95
|
-
campaignSubType: number;
|
96
|
-
campaignType: import("@angleprotocol/sdk/ts").Campaign.ERC20;
|
97
|
-
chainId: MerklChainId;
|
98
|
-
computeChainId: MerklChainId;
|
99
|
-
creator: string;
|
100
|
-
endTimestamp: number;
|
101
|
-
index: number;
|
102
|
-
mainParameter: string;
|
103
|
-
rewardToken: string;
|
104
|
-
startTimestamp: number;
|
105
|
-
lastEligibilityRatio?: number;
|
106
|
-
campaignParameters: import("@angleprotocol/sdk/ts").ERC20CampaignParameters;
|
107
|
-
})[]>;
|
108
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.ERC20_SNAPSHOT;
|
4
|
-
export declare class Erc20SnapshotDynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<Campaign.ERC20_SNAPSHOT>[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.EVENT_BASED;
|
4
|
-
export declare class EventBasedDynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<Campaign.EVENT_BASED>[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.HYPERDRIVELOGPROCESSOR | Campaign.HYPERDRIVELOGFIXPROCESSOR;
|
4
|
-
export declare class HyperdriveDynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<campaignType>[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import { utils } from "ethers";
|
3
|
-
import type { DynamicDataBuilder } from "../interface";
|
4
|
-
type campaignType = Campaign.MORPHO;
|
5
|
-
export declare const MORPHO_INTERFACE: utils.Interface;
|
6
|
-
export declare class MorphoDynamicData implements DynamicDataBuilder<campaignType> {
|
7
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<Campaign.MORPHO>[]>;
|
8
|
-
}
|
9
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.RADIANT;
|
4
|
-
export declare class RadiantDynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<Campaign.RADIANT>[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import { utils } from "ethers";
|
3
|
-
import type { DynamicDataBuilder } from "../interface";
|
4
|
-
export declare const SILO_INTERFACE: utils.Interface;
|
5
|
-
type campaignType = Campaign.SILO;
|
6
|
-
export declare class SiloDynamicData implements DynamicDataBuilder<campaignType> {
|
7
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<Campaign.SILO>[]>;
|
8
|
-
}
|
9
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignParameters, type MerklChainId, type UniswapV4CampaignDynamicData } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
type campaignType = Campaign.UNISWAP_V4;
|
4
|
-
export declare class UniswapV4DynamicData implements DynamicDataBuilder<campaignType> {
|
5
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<UniswapV4CampaignDynamicData[]>;
|
6
|
-
}
|
7
|
-
export {};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignDynamicData, type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
export declare const VEST_TREASURY = "0x7ccF5BbeC69c790D27dA3b5398B9e0d6D6EeC9F3";
|
4
|
-
export declare const VEST_TOKEN = "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4";
|
5
|
-
type campaignType = Campaign.VEST;
|
6
|
-
export declare class VestDynamicData implements DynamicDataBuilder<campaignType> {
|
7
|
-
build(chainId: MerklChainId, campaigns: CampaignParameters<campaignType>[]): Promise<CampaignDynamicData<Campaign.VEST>[]>;
|
8
|
-
}
|
9
|
-
export {};
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import type { CampaignParameters, Campaign as CampaignType, MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { DynamicDataBuilder } from "../interface";
|
3
|
-
export declare class DefaultDynamicData implements DynamicDataBuilder<CampaignType> {
|
4
|
-
build(_chainId: MerklChainId, campaigns: CampaignParameters<CampaignType>[]): Promise<(import("@angleprotocol/sdk/ts").M0Campaign | import("@angleprotocol/sdk/ts").EigenLayerCampaign | import("@angleprotocol/sdk/ts").ERC20LogCampaign | import("@angleprotocol/sdk/ts").ERC20FixAPRCampaign | import("@angleprotocol/sdk/ts").ERC20RebaseLogCampaign | import("@angleprotocol/sdk/ts").ERC20RebaseFixAPRCampaign | import("@angleprotocol/sdk/ts").EulerCampaign | import("@angleprotocol/sdk/ts").EventBasedCampaign | import("@angleprotocol/sdk/ts").HyperDriveLogCampaign | import("@angleprotocol/sdk/ts").HyperDriveLogFixCampaign | import("@angleprotocol/sdk/ts").MorphoBorrowCampaign | import("@angleprotocol/sdk/ts").MorphoBorrowFixAPRCampaign | import("@angleprotocol/sdk/ts").MorphoCollateralCampaign | import("@angleprotocol/sdk/ts").MorphoCollateralFixAPRCampaign | import("@angleprotocol/sdk/ts").MorphoSupplyCampaign | import("@angleprotocol/sdk/ts").MorphoSupplyFixAPRCampaign | import("@angleprotocol/sdk/ts").InvalidCampaign | import("@angleprotocol/sdk/ts").ERC20Campaign | import("@angleprotocol/sdk/ts").CLAMMCampaign | import("@angleprotocol/sdk/ts").ERC20_SNAPSHOTCampaign | import("@angleprotocol/sdk/ts").JSON_AIRDROPCampaign | import("@angleprotocol/sdk/ts").SILOCampaign | import("@angleprotocol/sdk/ts").RadiantCampaign | import("@angleprotocol/sdk/ts").DolomiteCampaign | import("@angleprotocol/sdk/ts").BadgerCampaign | import("@angleprotocol/sdk/ts").CompoundCampaign | import("@angleprotocol/sdk/ts").AjnaCampaign | import("@angleprotocol/sdk/ts").UniswapV4Campaign | import("@angleprotocol/sdk/ts").IonCampaign | import("@angleprotocol/sdk/ts").VestCampaign | import("@angleprotocol/sdk/ts").SyncswapVaultCampaign | import("@angleprotocol/sdk/ts").AmbientCampaign | import("@angleprotocol/sdk/ts").EncompassingCampaign | import("@angleprotocol/sdk/ts").MaverickBPCampaign | import("@angleprotocol/sdk/ts").ERC6909Campaign | import("@angleprotocol/sdk/ts").ERC6909FixAPRCampaign | import("@angleprotocol/sdk/ts").CompoundV3Campaign | import("@angleprotocol/sdk/ts").CompoundV3FixAPRCampaign | import("@angleprotocol/sdk/ts").ERC721Campaign | import("@angleprotocol/sdk/ts").ERC721FixAPRCampaign | import("@angleprotocol/sdk/ts").MultiLogCampaign | import("@angleprotocol/sdk/ts").LockerCampaign | import("@angleprotocol/sdk/ts").ConvexCampaign | import("@angleprotocol/sdk/ts").StakeDAOCampaign | import("@angleprotocol/sdk/ts").MappingCampaign | import("@angleprotocol/sdk/ts").FraxLendCampaign | import("@angleprotocol/sdk/ts").FraxLendFixAPRCampaign | import("@angleprotocol/sdk/ts").SymbioticVaultCampaign | import("@angleprotocol/sdk/ts").TargetTokenCampaign | import("@angleprotocol/sdk/ts").MorphoCampaign<import("@angleprotocol/sdk/ts").MorphoSubCampaignType>)[]>;
|
5
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
export declare type A51StrategiesType = {
|
3
|
-
pool: string;
|
4
|
-
vault: string;
|
5
|
-
id: string;
|
6
|
-
tickLower: number;
|
7
|
-
tickUpper: number;
|
8
|
-
};
|
9
|
-
export type A51StrategiesReturnType = {
|
10
|
-
[pool: string]: {
|
11
|
-
[vault: string]: {
|
12
|
-
id: string;
|
13
|
-
tickLower: number;
|
14
|
-
tickUpper: number;
|
15
|
-
}[];
|
16
|
-
};
|
17
|
-
};
|
18
|
-
export declare function fetchA51Strategies(chainId: MerklChainId, pools: string[]): Promise<A51StrategiesReturnType>;
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
export type LogType = {
|
3
|
-
data: string;
|
4
|
-
topics: ReadonlyArray<string>;
|
5
|
-
blockNumber: string;
|
6
|
-
address: string;
|
7
|
-
blockHash: string;
|
8
|
-
logIndex: string;
|
9
|
-
};
|
10
|
-
export declare function fetchLogs(chainId: MerklChainId, topics: string[], addresses: string[], fromBlock: number, toBlock: number): Promise<{
|
11
|
-
logs: LogType[];
|
12
|
-
block: number;
|
13
|
-
}>;
|
14
|
-
export declare function safeFetchLogs(chainId: MerklChainId, topics: string[], addresses: string[], fromBlock: number, toBlock: number): Promise<LogType[]>;
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
export type CompoundVaultType = {
|
3
|
-
address: string;
|
4
|
-
asset: string;
|
5
|
-
chainId: MerklChainId;
|
6
|
-
debtTokenAddress: string;
|
7
|
-
name: string;
|
8
|
-
};
|
9
|
-
export type CompoundVaultsType = {
|
10
|
-
[chainId_compFork: string]: {
|
11
|
-
address: string;
|
12
|
-
symbolCToken: string;
|
13
|
-
decimalsCToken: number;
|
14
|
-
underlying: string;
|
15
|
-
symbolUnderlying: string;
|
16
|
-
decimalsUnderlying: number;
|
17
|
-
}[];
|
18
|
-
};
|
19
|
-
export declare const getCompoundV2ForksVaultsWithCache: () => Promise<CompoundVaultsType>;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { DOLOMITE_MARGIN_MAPPING } from "@angleprotocol/sdk/ts";
|
2
|
-
export type DolomiteMarketT = {
|
3
|
-
index: number;
|
4
|
-
token: string;
|
5
|
-
symbol: string;
|
6
|
-
}[];
|
7
|
-
export declare const getDomiteMarkets: (chainId: keyof typeof DOLOMITE_MARGIN_MAPPING) => Promise<DolomiteMarketT>;
|
8
|
-
export declare const getDolomiteMarketWithCache: (chainId: keyof typeof DOLOMITE_MARGIN_MAPPING) => Promise<DolomiteMarketT>;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { EulerChainId, type EulerVaultType } from "@angleprotocol/sdk/ts";
|
2
|
-
export declare enum LoggedEntityType {
|
3
|
-
EULER = "EULER_VAULT",
|
4
|
-
UNISWAP_V4 = "UNISWAP_V4"
|
5
|
-
}
|
6
|
-
export declare function getEulerV2Vaults(chainId?: (typeof EulerChainId)[number]): Promise<EulerVaultType[]>;
|
7
|
-
export declare function updateEulerVaultsCollatInDatabase(chainId?: (typeof EulerChainId)[number]): Promise<void>;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import type { Campaign, CampaignParameters } from "@angleprotocol/sdk/ts";
|
2
|
-
export type BaseFixAPRConfig = {
|
3
|
-
apr: string;
|
4
|
-
targetTokenPricing: boolean;
|
5
|
-
rewardTokenPricing: boolean;
|
6
|
-
};
|
7
|
-
export type FixedAprCampaignType = Campaign.ERC20_FIX_APR | Campaign.HYPERDRIVELOGFIXPROCESSOR | Campaign.ERC6909FIXAPR | Campaign.ERC1155FIXAPR | Campaign.ERC721FIXAPR;
|
8
|
-
export declare function getFixedApr(campaignParameters: CampaignParameters<FixedAprCampaignType>, priceRewardToken: number, priceTargetToken: number): number;
|
@@ -1,103 +0,0 @@
|
|
1
|
-
import { type CallDto, type Campaign, type CampaignParameters } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { Erc20LikeCampaignEnum, Erc20SubType } from "../../../engine/implementations/Erc20/subTypes";
|
3
|
-
import type { Pricer } from "../../../utils/pricer";
|
4
|
-
import type { tokenTypeStruct } from "./tokenTypeStruct";
|
5
|
-
export declare enum Round {
|
6
|
-
one = "round1",
|
7
|
-
two = "round2",
|
8
|
-
three = "round3",
|
9
|
-
four = "round4"
|
10
|
-
}
|
11
|
-
export type callType = {
|
12
|
-
key: any;
|
13
|
-
call: any;
|
14
|
-
target: any;
|
15
|
-
metaData?: any;
|
16
|
-
optional?: boolean;
|
17
|
-
};
|
18
|
-
export type mandatoryCallKeys = {
|
19
|
-
type: Erc20SubType;
|
20
|
-
protocol: string;
|
21
|
-
tokenAddress: string;
|
22
|
-
blacklistedSupply: string;
|
23
|
-
totalSupply: string;
|
24
|
-
whitelistedSupply: string;
|
25
|
-
} & stakingKeys;
|
26
|
-
export type stakingKeys = {
|
27
|
-
lockNFT: string;
|
28
|
-
eip712DomainName: string;
|
29
|
-
stakingName: string;
|
30
|
-
stakingSymbol: string;
|
31
|
-
isStaking: string;
|
32
|
-
};
|
33
|
-
export type callKeys = mandatoryCallKeys & {
|
34
|
-
[key: string]: string;
|
35
|
-
};
|
36
|
-
export type dataRaw = {
|
37
|
-
protocol: string;
|
38
|
-
tokenAddress: string;
|
39
|
-
blacklistedSupply: string;
|
40
|
-
totalSupply: string;
|
41
|
-
whitelistedSupply: string;
|
42
|
-
} & stakingKeys;
|
43
|
-
export type dataType = {
|
44
|
-
protocol: string;
|
45
|
-
type: Erc20SubType;
|
46
|
-
tokenAddress: string;
|
47
|
-
totalSupply: number;
|
48
|
-
blacklistedSupply: number;
|
49
|
-
tvl: number;
|
50
|
-
cardName: string;
|
51
|
-
priceTargetToken: number;
|
52
|
-
whitelistedSupplyTargetToken: number;
|
53
|
-
tokensDisplay: Array<{
|
54
|
-
address: string;
|
55
|
-
symbol?: string;
|
56
|
-
}>;
|
57
|
-
};
|
58
|
-
/**
|
59
|
-
* Generic Processor to compute dynamic data of ERC20 tokens
|
60
|
-
*
|
61
|
-
* @params Input - Sets of value that will be passed from rounds to rounds in order to query the blockchain
|
62
|
-
* @params DataRaw - Raw data output from the view function calls
|
63
|
-
* @params Output - Final output of the processor
|
64
|
-
*/
|
65
|
-
export declare class GenericProcessor<Input extends callKeys, DataRaw extends dataRaw, Output extends dataType> {
|
66
|
-
rounds: {
|
67
|
-
round1: callType[];
|
68
|
-
round2: callType[];
|
69
|
-
round3: callType[];
|
70
|
-
round4: callType[];
|
71
|
-
};
|
72
|
-
stakingRounds: {
|
73
|
-
round1: callType[];
|
74
|
-
round2: callType[];
|
75
|
-
round3: callType[];
|
76
|
-
round4: callType[];
|
77
|
-
};
|
78
|
-
debug: boolean;
|
79
|
-
processingRound1(_typeInfo: DataRaw): void;
|
80
|
-
processingRound2(_typeInfo: DataRaw, _campaign?: CampaignParameters<Erc20LikeCampaignEnum>): void;
|
81
|
-
processingRound3(_typeInfo: DataRaw): void;
|
82
|
-
processingRound4(_typeInfo: DataRaw): void;
|
83
|
-
handleWhiteListBlacklistRound5(typeInfo: DataRaw, campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.ERC20LOGPROCESSOR> | CampaignParameters<Campaign.ERC20REBASELOGPROCESSOR> | CampaignParameters<Campaign.EULER>): {
|
84
|
-
whitelistedSupplyTargetToken: number;
|
85
|
-
totalSupply: number;
|
86
|
-
blacklistedSupply: number;
|
87
|
-
};
|
88
|
-
processingRound5(_index: number, type: Erc20SubType, typeInfo: DataRaw, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.ERC20LOGPROCESSOR> | CampaignParameters<Campaign.ERC20REBASELOGPROCESSOR> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<Output>;
|
89
|
-
computeRound1(type: Erc20SubType, typeInfo: DataRaw): tokenTypeStruct;
|
90
|
-
computeRound2(index: number, type: Erc20SubType, typeInfo: DataRaw, calls: string[], campaign?: CampaignParameters<Erc20LikeCampaignEnum>): tokenTypeStruct;
|
91
|
-
computeRound3(index: number, type: Erc20SubType, typeInfo: DataRaw, calls: string[]): tokenTypeStruct;
|
92
|
-
computeRound4(index: number, type: Erc20SubType, typeInfo: DataRaw, calls: string[], campaign: CampaignParameters<Erc20LikeCampaignEnum>): tokenTypeStruct;
|
93
|
-
computeRound5(index: number, type: Erc20SubType, typeInfo: DataRaw, calls: string[], campaign: CampaignParameters<Erc20LikeCampaignEnum>, pricer: Pricer): Promise<tokenTypeStruct>;
|
94
|
-
generateWhitelistCall(type: Erc20SubType, typeInfo: DataRaw, campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.ERC20LOGPROCESSOR> | CampaignParameters<Campaign.ERC20REBASELOGPROCESSOR> | CampaignParameters<Campaign.EULER>): CallDto[];
|
95
|
-
generateBlackListCall(type: Erc20SubType, typeInfo: DataRaw, campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.ERC20LOGPROCESSOR> | CampaignParameters<Campaign.ERC20REBASELOGPROCESSOR> | CampaignParameters<Campaign.EULER>): CallDto[];
|
96
|
-
decodeListedSupply(index: number, list: string[], calls: string[]): string;
|
97
|
-
decodeRound(round: callType[], index: number, calls: string[], type: Erc20SubType, data: DataRaw): void;
|
98
|
-
decodePreviousRound(round: Round, calls: string[], data: DataRaw, type: Erc20SubType, index: number): void;
|
99
|
-
decodePreviousStakingRound(round: Round, calls: string[], data: DataRaw, type: Erc20SubType, index: number): void;
|
100
|
-
encodeRound(round: callType[], callInfo: Input, type: Erc20SubType): CallDto[];
|
101
|
-
encodeNextRound(round: Round, type: Erc20SubType, data: DataRaw): CallDto[];
|
102
|
-
encodeStakingNextRound(round: Round, type: Erc20SubType, data: DataRaw): CallDto[];
|
103
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function fetchEulerVaultName(vaultAddress: string, chainId: number): Promise<string | null>;
|
package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/getCrossCurveTokenPrice.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export declare function getCrossCurveTokenPrice(address: string): Promise<number>;
|
package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AaveProcessor.d.ts
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
import type { Campaign, CampaignParameters } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { Erc20SubType } from "../../../../engine/implementations/Erc20/subTypes";
|
3
|
-
import type { Pricer } from "../../../../utils/pricer";
|
4
|
-
import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
|
5
|
-
type callType = {
|
6
|
-
key: keyof dataRawAave;
|
7
|
-
call: string;
|
8
|
-
target: keyof callKeysAave;
|
9
|
-
metaData?: keyof callKeysAave;
|
10
|
-
};
|
11
|
-
export type callKeysAave = mandatoryCallKeys & {
|
12
|
-
underlying: string;
|
13
|
-
symbolUnderlyingToken: string;
|
14
|
-
};
|
15
|
-
type dataRawAave = callKeysAave & {};
|
16
|
-
type dataTypeAave = dataType & {
|
17
|
-
underlying: string;
|
18
|
-
symbolUnderlyingToken: string;
|
19
|
-
priceTargetToken: number;
|
20
|
-
};
|
21
|
-
export declare class AaveProcessor extends GenericProcessor<callKeysAave, dataRawAave, dataTypeAave> {
|
22
|
-
rounds: {
|
23
|
-
round1: callType[];
|
24
|
-
round2: callType[];
|
25
|
-
round3: callType[];
|
26
|
-
round4: callType[];
|
27
|
-
};
|
28
|
-
processingRound5(_index: number, type: Erc20SubType, typeInfo: dataRawAave, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeAave>;
|
29
|
-
}
|
30
|
-
export {};
|
@@ -1,35 +0,0 @@
|
|
1
|
-
import { type Campaign, type CampaignParameters } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { Erc20SubType } from "../../../../engine/implementations/Erc20/subTypes";
|
3
|
-
import type { Pricer } from "../../../../utils/pricer";
|
4
|
-
import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
|
5
|
-
type callType = {
|
6
|
-
key: keyof dataRawAnglesLiquid;
|
7
|
-
call: string;
|
8
|
-
target: keyof callKeysAnglesLiquid;
|
9
|
-
metaData?: keyof callKeysAnglesLiquid;
|
10
|
-
};
|
11
|
-
type callKeysAnglesLiquid = mandatoryCallKeys & {
|
12
|
-
poolToken: string;
|
13
|
-
totalAssets: string;
|
14
|
-
};
|
15
|
-
type dataRawAnglesLiquid = callKeysAnglesLiquid & {};
|
16
|
-
type dataTypeAnglesLiquid = dataType & {
|
17
|
-
poolToken: string;
|
18
|
-
totalAssets: string;
|
19
|
-
symbolUnderlyingToken: string;
|
20
|
-
};
|
21
|
-
export declare class AnglesLiquidProcessor extends GenericProcessor<callKeysAnglesLiquid, dataRawAnglesLiquid, dataTypeAnglesLiquid> {
|
22
|
-
rounds: {
|
23
|
-
round1: callType[];
|
24
|
-
round2: callType[];
|
25
|
-
round3: callType[];
|
26
|
-
round4: callType[];
|
27
|
-
};
|
28
|
-
processingRound5(_index: number, type: Erc20SubType, typeInfo: dataRawAnglesLiquid, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeAnglesLiquid>;
|
29
|
-
computeRound1(type: Erc20SubType, typeInfo: dataRawAnglesLiquid): import("../tokenTypeStruct").tokenTypeStruct;
|
30
|
-
computeRound2(index: number, type: Erc20SubType, typeInfo: dataRawAnglesLiquid, calls: string[]): import("../tokenTypeStruct").tokenTypeStruct;
|
31
|
-
computeRound3(index: number, type: Erc20SubType, typeInfo: dataRawAnglesLiquid, calls: string[]): import("../tokenTypeStruct").tokenTypeStruct;
|
32
|
-
computeRound4(index: number, type: Erc20SubType, typeInfo: dataRawAnglesLiquid, calls: string[], campaign: CampaignParameters<Campaign.ERC20>): import("../tokenTypeStruct").tokenTypeStruct;
|
33
|
-
computeRound5(index: number, type: Erc20SubType, typeInfo: dataRawAnglesLiquid, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<import("../tokenTypeStruct").tokenTypeStruct>;
|
34
|
-
}
|
35
|
-
export {};
|