@merkl/api 1.1.61 → 1.1.62
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 +4 -3
- 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 -23
- package/dist/src/constants.d.ts +0 -25
- package/dist/src/eden/index.d.ts +0 -23868
- 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/Aave/metadata.d.ts +0 -35
- package/dist/src/engine/implementations/Aave/tvl.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/Ekubo/metadata.d.ts +0 -20
- package/dist/src/engine/implementations/Ekubo/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/ERC4626/metadata.d.ts +0 -31
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/ERC4626/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/aave/metadata.d.ts +0 -31
- 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 -18
- 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/ichi/metadata.d.ts +0 -31
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/ichi/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/layerbank/metadata.d.ts +0 -17
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/layerbank/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/rooster/metadata.d.ts +0 -18
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/rooster/tvl.d.ts +0 -6
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/spectra/metadata.d.ts +0 -18
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/spectra/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 -127
- 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/FluidVault/metadata.d.ts +0 -34
- package/dist/src/engine/implementations/FluidVault/tvl.d.ts +0 -7
- 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 -17
- 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/morphoBorrowSingleToken/metadata.d.ts +0 -21
- package/dist/src/engine/implementations/morphoCollateral/metadata.d.ts +0 -21
- package/dist/src/engine/implementations/morphoCollateral/tvl.d.ts +0 -16
- package/dist/src/engine/implementations/morphoCollateralSingleToken/metadata.d.ts +0 -21
- package/dist/src/engine/implementations/morphoCollateralSingleToken/tvl.d.ts +0 -8
- package/dist/src/engine/implementations/morphoSingleToken/tvl.d.ts +0 -9
- 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/implementations/morphoSupplySingleToken/metadata.d.ts +0 -21
- package/dist/src/engine/implementations/morphoVault/metadata.d.ts +0 -21
- package/dist/src/engine/implementations/morphoVault/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 -12569
- 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/jobs/workers/count-claims.worker.d.ts +0 -1
- 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 -65
- 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 -1741
- package/dist/src/modules/v4/campaign/campaign.convertor.d.ts +0 -10
- package/dist/src/modules/v4/campaign/campaign.formatter.d.ts +0 -6
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +0 -235
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +0 -1067
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +0 -453
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +0 -1714
- package/dist/src/modules/v4/chain/chain.controller.d.ts +0 -203
- package/dist/src/modules/v4/chain/chain.model.d.ts +0 -55
- package/dist/src/modules/v4/chain/chain.repository.d.ts +0 -116
- package/dist/src/modules/v4/chain/chain.service.d.ts +0 -97
- 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 -460
- package/dist/src/modules/v4/creator/creator.model.d.ts +0 -59
- package/dist/src/modules/v4/creator/creator.repository.d.ts +0 -99
- package/dist/src/modules/v4/creator/creator.service.d.ts +0 -196
- package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +0 -33
- 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 -115
- package/dist/src/modules/v4/merklRoot/merklRoot.model.d.ts +0 -13
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +0 -26
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +0 -47
- package/dist/src/modules/v4/node/node.controller.d.ts +0 -65
- package/dist/src/modules/v4/node/node.model.d.ts +0 -27
- package/dist/src/modules/v4/node/node.repository.d.ts +0 -31
- package/dist/src/modules/v4/node/node.service.d.ts +0 -27
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +0 -1566
- package/dist/src/modules/v4/opportunity/opportunity.converter.d.ts +0 -147
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +0 -178
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +0 -568
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +0 -1116
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +0 -723
- 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 -588
- package/dist/src/modules/v4/payload/payload.model.d.ts +0 -327
- package/dist/src/modules/v4/payload/payload.service.d.ts +0 -394
- package/dist/src/modules/v4/price/price.controller.d.ts +0 -267
- package/dist/src/modules/v4/price/price.model.d.ts +0 -38
- package/dist/src/modules/v4/price/price.repository.d.ts +0 -41
- package/dist/src/modules/v4/price/price.service.d.ts +0 -51
- package/dist/src/modules/v4/prisma/index.d.ts +0 -54
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +0 -1219
- package/dist/src/modules/v4/programPayload/programPayload.model.d.ts +0 -372
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +0 -5432
- package/dist/src/modules/v4/programPayload/programPayload.service.d.ts +0 -49
- package/dist/src/modules/v4/programPayload/subPayloads/bancor.d.ts +0 -28
- package/dist/src/modules/v4/programPayload/subPayloads/credix.d.ts +0 -83
- package/dist/src/modules/v4/programPayload/subPayloads/helpers.d.ts +0 -1
- package/dist/src/modules/v4/programPayload/subPayloads/hypurrFi.d.ts +0 -135
- package/dist/src/modules/v4/programPayload/subPayloads/nibiru.d.ts +0 -36
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +0 -292
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +0 -108
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +0 -91
- 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 -643
- package/dist/src/modules/v4/reward/reward.converter.d.ts +0 -14
- package/dist/src/modules/v4/reward/reward.model.d.ts +0 -276
- package/dist/src/modules/v4/reward/reward.repository.d.ts +0 -178
- package/dist/src/modules/v4/reward/reward.service.d.ts +0 -764
- package/dist/src/modules/v4/router.d.ts +0 -11097
- package/dist/src/modules/v4/status/status.controller.d.ts +0 -301
- package/dist/src/modules/v4/status/status.model.d.ts +0 -62
- package/dist/src/modules/v4/status/status.repository.d.ts +0 -104
- package/dist/src/modules/v4/status/status.service.d.ts +0 -88
- package/dist/src/modules/v4/token/token.controller.d.ts +0 -491
- package/dist/src/modules/v4/token/token.model.d.ts +0 -135
- package/dist/src/modules/v4/token/token.repository.d.ts +0 -134
- package/dist/src/modules/v4/token/token.service.d.ts +0 -348
- package/dist/src/modules/v4/ton/ton.controller.d.ts +0 -58
- package/dist/src/modules/v4/ton/ton.service.d.ts +0 -3
- package/dist/src/modules/v4/tracer/tracer.service.d.ts +0 -3
- package/dist/src/modules/v4/transaction/transaction.model.d.ts +0 -17
- 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 -367
- package/dist/src/modules/v4/uniswap/uniswap.model.d.ts +0 -69
- package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +0 -24
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +0 -133
- package/dist/src/modules/v4/user/user.controller.d.ts +0 -448
- package/dist/src/modules/v4/user/user.model.d.ts +0 -87
- package/dist/src/modules/v4/user/user.repository.d.ts +0 -35
- package/dist/src/modules/v4/user/user.service.d.ts +0 -38
- 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 -135
- 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 -1305
- 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 -146
- 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/getAPR.d.ts +0 -2
- 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 -2
- 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 -132
- 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
|
@@ -1,1714 +0,0 @@
|
|
|
1
|
-
import Elysia from "elysia";
|
|
2
|
-
export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
3
|
-
decorator: {};
|
|
4
|
-
store: {};
|
|
5
|
-
derive: {};
|
|
6
|
-
resolve: {};
|
|
7
|
-
}, {
|
|
8
|
-
typebox: {};
|
|
9
|
-
error: {};
|
|
10
|
-
}, {
|
|
11
|
-
schema: {};
|
|
12
|
-
standaloneSchema: {};
|
|
13
|
-
macro: {};
|
|
14
|
-
macroFn: {};
|
|
15
|
-
parser: {};
|
|
16
|
-
}, {
|
|
17
|
-
campaigns: {
|
|
18
|
-
"dry-run": {
|
|
19
|
-
tvl: {
|
|
20
|
-
campaign: {
|
|
21
|
-
":campaignId": {
|
|
22
|
-
get: {
|
|
23
|
-
body: unknown;
|
|
24
|
-
params: {
|
|
25
|
-
campaignId: string;
|
|
26
|
-
} & {} & {};
|
|
27
|
-
query: unknown;
|
|
28
|
-
headers: {
|
|
29
|
-
authorization: string;
|
|
30
|
-
};
|
|
31
|
-
response: {
|
|
32
|
-
200: {
|
|
33
|
-
campaignId: string;
|
|
34
|
-
apr: import("../apr/apr.model").AprRecord["model"];
|
|
35
|
-
tvl: import("../tvl/tvl.model").TvlRecord["model"];
|
|
36
|
-
dailyRewards: import("../reward/reward.model").DailyRewardsRecord["model"];
|
|
37
|
-
}[] | {
|
|
38
|
-
opportunityId: string;
|
|
39
|
-
apr: import("../apr/apr.model").AprRecord["model"];
|
|
40
|
-
tvl: import("../tvl/tvl.model").TvlRecord["model"];
|
|
41
|
-
dailyRewards: import("../reward/reward.model").DailyRewardsRecord["model"];
|
|
42
|
-
}[];
|
|
43
|
-
422: {
|
|
44
|
-
type: "validation";
|
|
45
|
-
on: string;
|
|
46
|
-
summary?: string;
|
|
47
|
-
message?: string;
|
|
48
|
-
found?: unknown;
|
|
49
|
-
property?: string;
|
|
50
|
-
expected?: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
} & {
|
|
59
|
-
"dry-run": {
|
|
60
|
-
tvl: {
|
|
61
|
-
opportunity: {
|
|
62
|
-
":opportunityId": {
|
|
63
|
-
get: {
|
|
64
|
-
body: unknown;
|
|
65
|
-
params: {
|
|
66
|
-
opportunityId: string;
|
|
67
|
-
} & {} & {};
|
|
68
|
-
query: unknown;
|
|
69
|
-
headers: {
|
|
70
|
-
authorization: string;
|
|
71
|
-
};
|
|
72
|
-
response: {
|
|
73
|
-
200: {
|
|
74
|
-
campaignId: string;
|
|
75
|
-
apr: import("../apr/apr.model").AprRecord["model"];
|
|
76
|
-
tvl: import("../tvl/tvl.model").TvlRecord["model"];
|
|
77
|
-
dailyRewards: import("../reward/reward.model").DailyRewardsRecord["model"];
|
|
78
|
-
}[] | {
|
|
79
|
-
opportunityId: string;
|
|
80
|
-
apr: import("../apr/apr.model").AprRecord["model"];
|
|
81
|
-
tvl: import("../tvl/tvl.model").TvlRecord["model"];
|
|
82
|
-
dailyRewards: import("../reward/reward.model").DailyRewardsRecord["model"];
|
|
83
|
-
}[];
|
|
84
|
-
422: {
|
|
85
|
-
type: "validation";
|
|
86
|
-
on: string;
|
|
87
|
-
summary?: string;
|
|
88
|
-
message?: string;
|
|
89
|
-
found?: unknown;
|
|
90
|
-
property?: string;
|
|
91
|
-
expected?: string;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
} & {
|
|
100
|
-
"dry-run": {
|
|
101
|
-
tvl: {
|
|
102
|
-
erc20: {
|
|
103
|
-
get: {
|
|
104
|
-
body: unknown;
|
|
105
|
-
params: {};
|
|
106
|
-
query: {
|
|
107
|
-
address: string;
|
|
108
|
-
chainId: number;
|
|
109
|
-
};
|
|
110
|
-
headers: {
|
|
111
|
-
authorization: string;
|
|
112
|
-
};
|
|
113
|
-
response: {
|
|
114
|
-
200: {
|
|
115
|
-
campaignId: string;
|
|
116
|
-
apr: import("../apr/apr.model").AprRecord["model"];
|
|
117
|
-
tvl: import("../tvl/tvl.model").TvlRecord["model"];
|
|
118
|
-
dailyRewards: import("../reward/reward.model").DailyRewardsRecord["model"];
|
|
119
|
-
}[] | {
|
|
120
|
-
opportunityId: string;
|
|
121
|
-
apr: import("../apr/apr.model").AprRecord["model"];
|
|
122
|
-
tvl: import("../tvl/tvl.model").TvlRecord["model"];
|
|
123
|
-
dailyRewards: import("../reward/reward.model").DailyRewardsRecord["model"];
|
|
124
|
-
}[];
|
|
125
|
-
422: {
|
|
126
|
-
type: "validation";
|
|
127
|
-
on: string;
|
|
128
|
-
summary?: string;
|
|
129
|
-
message?: string;
|
|
130
|
-
found?: unknown;
|
|
131
|
-
property?: string;
|
|
132
|
-
expected?: string;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
} & {
|
|
140
|
-
"dry-run": {
|
|
141
|
-
tvl: {
|
|
142
|
-
list: {
|
|
143
|
-
post: {
|
|
144
|
-
body: string[];
|
|
145
|
-
params: {};
|
|
146
|
-
query: unknown;
|
|
147
|
-
headers: {
|
|
148
|
-
authorization: string;
|
|
149
|
-
};
|
|
150
|
-
response: {
|
|
151
|
-
200: {
|
|
152
|
-
campaignId: string;
|
|
153
|
-
apr: import("../apr/apr.model").AprRecord["model"];
|
|
154
|
-
tvl: import("../tvl/tvl.model").TvlRecord["model"];
|
|
155
|
-
dailyRewards: import("../reward/reward.model").DailyRewardsRecord["model"];
|
|
156
|
-
}[] | {
|
|
157
|
-
opportunityId: string;
|
|
158
|
-
apr: import("../apr/apr.model").AprRecord["model"];
|
|
159
|
-
tvl: import("../tvl/tvl.model").TvlRecord["model"];
|
|
160
|
-
dailyRewards: import("../reward/reward.model").DailyRewardsRecord["model"];
|
|
161
|
-
}[];
|
|
162
|
-
422: {
|
|
163
|
-
type: "validation";
|
|
164
|
-
on: string;
|
|
165
|
-
summary?: string;
|
|
166
|
-
message?: string;
|
|
167
|
-
found?: unknown;
|
|
168
|
-
property?: string;
|
|
169
|
-
expected?: string;
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
};
|
|
176
|
-
} & {
|
|
177
|
-
"dry-run": {
|
|
178
|
-
tvl: {
|
|
179
|
-
post: {
|
|
180
|
-
body: {
|
|
181
|
-
campaignId?: string | undefined;
|
|
182
|
-
id?: string | undefined;
|
|
183
|
-
amount?: string | undefined;
|
|
184
|
-
subType?: number | undefined;
|
|
185
|
-
creatorAddress?: string | undefined;
|
|
186
|
-
rewardToken: string;
|
|
187
|
-
params: any;
|
|
188
|
-
startTimestamp: number;
|
|
189
|
-
type: string;
|
|
190
|
-
computeChainId: number;
|
|
191
|
-
distributionChainId: number;
|
|
192
|
-
endTimestamp: number;
|
|
193
|
-
};
|
|
194
|
-
params: {};
|
|
195
|
-
query: unknown;
|
|
196
|
-
headers: {
|
|
197
|
-
authorization: string;
|
|
198
|
-
};
|
|
199
|
-
response: {
|
|
200
|
-
200: {
|
|
201
|
-
campaignId: string;
|
|
202
|
-
apr: import("../apr/apr.model").AprRecord["model"];
|
|
203
|
-
tvl: import("../tvl/tvl.model").TvlRecord["model"];
|
|
204
|
-
dailyRewards: import("../reward/reward.model").DailyRewardsRecord["model"];
|
|
205
|
-
}[] | {
|
|
206
|
-
opportunityId: string;
|
|
207
|
-
apr: import("../apr/apr.model").AprRecord["model"];
|
|
208
|
-
tvl: import("../tvl/tvl.model").TvlRecord["model"];
|
|
209
|
-
dailyRewards: import("../reward/reward.model").DailyRewardsRecord["model"];
|
|
210
|
-
}[];
|
|
211
|
-
422: {
|
|
212
|
-
type: "validation";
|
|
213
|
-
on: string;
|
|
214
|
-
summary?: string;
|
|
215
|
-
message?: string;
|
|
216
|
-
found?: unknown;
|
|
217
|
-
property?: string;
|
|
218
|
-
expected?: string;
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
};
|
|
223
|
-
};
|
|
224
|
-
} & {
|
|
225
|
-
"dry-run": {
|
|
226
|
-
metadata: {
|
|
227
|
-
post: {
|
|
228
|
-
body: {
|
|
229
|
-
campaignId?: string | undefined;
|
|
230
|
-
id?: string | undefined;
|
|
231
|
-
amount?: string | undefined;
|
|
232
|
-
subType?: number | undefined;
|
|
233
|
-
creatorAddress?: string | undefined;
|
|
234
|
-
rewardToken: string;
|
|
235
|
-
params: any;
|
|
236
|
-
startTimestamp: number;
|
|
237
|
-
type: string;
|
|
238
|
-
computeChainId: number;
|
|
239
|
-
distributionChainId: number;
|
|
240
|
-
endTimestamp: number;
|
|
241
|
-
};
|
|
242
|
-
params: {};
|
|
243
|
-
query: unknown;
|
|
244
|
-
headers: {
|
|
245
|
-
authorization: string;
|
|
246
|
-
};
|
|
247
|
-
response: {
|
|
248
|
-
200: {
|
|
249
|
-
apr?: number | undefined;
|
|
250
|
-
rewardToken: {
|
|
251
|
-
symbol: string;
|
|
252
|
-
name: string | null;
|
|
253
|
-
decimals: number;
|
|
254
|
-
address: string;
|
|
255
|
-
id: string;
|
|
256
|
-
chainId: number;
|
|
257
|
-
type: import("@package/databases").TokenType;
|
|
258
|
-
icon: string;
|
|
259
|
-
isNative: boolean;
|
|
260
|
-
isTest: boolean;
|
|
261
|
-
verified: boolean;
|
|
262
|
-
} & {
|
|
263
|
-
price?: number | null | undefined;
|
|
264
|
-
isTokenWrapper?: boolean | undefined;
|
|
265
|
-
tokenWrapperAddress?: string | undefined;
|
|
266
|
-
};
|
|
267
|
-
campaignId: string;
|
|
268
|
-
description?: string | undefined;
|
|
269
|
-
creator?: {
|
|
270
|
-
address: string;
|
|
271
|
-
tags?: string[];
|
|
272
|
-
creatorId: string | null;
|
|
273
|
-
} | undefined;
|
|
274
|
-
id: string;
|
|
275
|
-
params: import("@prisma/client/runtime/client").JsonValue & ((import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
276
|
-
markets: string[];
|
|
277
|
-
decimalsLoanToken: string;
|
|
278
|
-
symbolLoanToken: string;
|
|
279
|
-
loanToken: string;
|
|
280
|
-
url?: string;
|
|
281
|
-
}) | import("@angleprotocol/sdk/ts").AaveCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
282
|
-
strategy: string;
|
|
283
|
-
underlyingToken: string;
|
|
284
|
-
symbolUnderlyingToken: string;
|
|
285
|
-
decimalsUnderlyingToken: number;
|
|
286
|
-
url?: string;
|
|
287
|
-
}) | import("@angleprotocol/sdk/ts").ERC20LogCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
288
|
-
decimalsTargetToken: number;
|
|
289
|
-
symbolTargetToken: string;
|
|
290
|
-
targetToken: string;
|
|
291
|
-
url?: string;
|
|
292
|
-
} & {
|
|
293
|
-
apr: string;
|
|
294
|
-
rewardTokenPricing: boolean;
|
|
295
|
-
targetTokenPricing: boolean;
|
|
296
|
-
}) | import("@angleprotocol/sdk/ts").ERC20RebaseCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
297
|
-
decimalsTargetToken: number;
|
|
298
|
-
symbolTargetToken: string;
|
|
299
|
-
targetToken: string;
|
|
300
|
-
url?: string;
|
|
301
|
-
} & {
|
|
302
|
-
apr: string;
|
|
303
|
-
rewardTokenPricing: boolean;
|
|
304
|
-
targetTokenPricing: boolean;
|
|
305
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
306
|
-
addressAsset: string;
|
|
307
|
-
collateralAddress?: string;
|
|
308
|
-
decimalsAsset: number;
|
|
309
|
-
decimalsCollateral?: number;
|
|
310
|
-
decimalsTargetToken: number;
|
|
311
|
-
evkAddress: string;
|
|
312
|
-
nameCollateral?: string;
|
|
313
|
-
nameTargetToken: string;
|
|
314
|
-
subCampaignType: import("@angleprotocol/sdk/ts").EulerSubCampaignType;
|
|
315
|
-
symbolAsset: string;
|
|
316
|
-
symbolCollateral?: string;
|
|
317
|
-
symbolTargetToken: string;
|
|
318
|
-
targetToken: string;
|
|
319
|
-
}) | import("@angleprotocol/sdk/ts").EventBasedCampaignParameters | import("@angleprotocol/sdk/ts").HyperDriveLogCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
320
|
-
tokenId: string;
|
|
321
|
-
decimalsTargetToken: number;
|
|
322
|
-
targetToken: string;
|
|
323
|
-
symbolTargetToken: string;
|
|
324
|
-
baseToken: string;
|
|
325
|
-
baseTokenDecimals: number;
|
|
326
|
-
baseTokenSymbol: string;
|
|
327
|
-
url?: string;
|
|
328
|
-
} & {
|
|
329
|
-
apr: string;
|
|
330
|
-
rewardTokenPricing: boolean;
|
|
331
|
-
targetTokenPricing: boolean;
|
|
332
|
-
}) | import("@angleprotocol/sdk/ts").MorphoBorrowCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
333
|
-
market: string;
|
|
334
|
-
decimalsLoanToken: number;
|
|
335
|
-
symbolLoanToken: string;
|
|
336
|
-
loanToken: string;
|
|
337
|
-
decimalsCollateralToken: number;
|
|
338
|
-
symbolCollateralToken: string;
|
|
339
|
-
collateralToken: string;
|
|
340
|
-
targetToken: string;
|
|
341
|
-
decimalsTargetToken: number;
|
|
342
|
-
symbolTargetToken: string;
|
|
343
|
-
LLTV: string;
|
|
344
|
-
} & {
|
|
345
|
-
apr: string;
|
|
346
|
-
rewardTokenPricing: boolean;
|
|
347
|
-
targetTokenPricing: boolean;
|
|
348
|
-
}) | import("@angleprotocol/sdk/ts").MorphoCollateralCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
349
|
-
market: string;
|
|
350
|
-
decimalsLoanToken: number;
|
|
351
|
-
symbolLoanToken: string;
|
|
352
|
-
loanToken: string;
|
|
353
|
-
decimalsCollateralToken: number;
|
|
354
|
-
symbolCollateralToken: string;
|
|
355
|
-
collateralToken: string;
|
|
356
|
-
targetToken: string;
|
|
357
|
-
decimalsTargetToken: number;
|
|
358
|
-
symbolTargetToken: string;
|
|
359
|
-
LLTV: string;
|
|
360
|
-
} & {
|
|
361
|
-
apr: string;
|
|
362
|
-
rewardTokenPricing: boolean;
|
|
363
|
-
targetTokenPricing: boolean;
|
|
364
|
-
}) | import("@angleprotocol/sdk/ts").MorphoSupplyCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
365
|
-
market: string;
|
|
366
|
-
decimalsLoanToken: number;
|
|
367
|
-
symbolLoanToken: string;
|
|
368
|
-
loanToken: string;
|
|
369
|
-
decimalsCollateralToken: number;
|
|
370
|
-
symbolCollateralToken: string;
|
|
371
|
-
collateralToken: string;
|
|
372
|
-
targetToken: string;
|
|
373
|
-
decimalsTargetToken: number;
|
|
374
|
-
symbolTargetToken: string;
|
|
375
|
-
LLTV: string;
|
|
376
|
-
} & {
|
|
377
|
-
apr: string;
|
|
378
|
-
rewardTokenPricing: boolean;
|
|
379
|
-
targetTokenPricing: boolean;
|
|
380
|
-
}) | import("@angleprotocol/sdk/ts").TargetTokenCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & ({
|
|
381
|
-
poolId: string;
|
|
382
|
-
poolManager: string;
|
|
383
|
-
lpFee: number;
|
|
384
|
-
currency0: string;
|
|
385
|
-
currency1: string;
|
|
386
|
-
decimalsCurrency0: number;
|
|
387
|
-
decimalsCurrency1: number;
|
|
388
|
-
symbolCurrency0: string;
|
|
389
|
-
symbolCurrency1: string;
|
|
390
|
-
isOutOfRangeIncentivized: boolean;
|
|
391
|
-
weightFees: number;
|
|
392
|
-
weightToken0: number;
|
|
393
|
-
weightToken1: number;
|
|
394
|
-
whitelist: string[];
|
|
395
|
-
blacklist: string[];
|
|
396
|
-
} & ({
|
|
397
|
-
lowerPriceTolerance?: number;
|
|
398
|
-
upperPriceTolerance?: number;
|
|
399
|
-
lowerPriceBond?: never;
|
|
400
|
-
upperPriceBond?: never;
|
|
401
|
-
} | {
|
|
402
|
-
lowerPriceBond?: number;
|
|
403
|
-
upperPriceBond?: number;
|
|
404
|
-
lowerPriceTolerance?: never;
|
|
405
|
-
upperPriceTolerance?: never;
|
|
406
|
-
}))) | import("@angleprotocol/sdk/ts").StakingVaultCampaignParameters | import("@angleprotocol/sdk/ts").MultiLogCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
407
|
-
subCampaignType: import("@angleprotocol/sdk/ts").AjnaSubCampaignType;
|
|
408
|
-
poolId: string;
|
|
409
|
-
collateralToken: string;
|
|
410
|
-
symbolCollateralToken: string;
|
|
411
|
-
decimalsCollateralToken: number;
|
|
412
|
-
quoteToken: string;
|
|
413
|
-
symbolQuoteToken: string;
|
|
414
|
-
decimalsQuoteToken: string;
|
|
415
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
416
|
-
poolId: string;
|
|
417
|
-
baseToken: string;
|
|
418
|
-
quoteToken: string;
|
|
419
|
-
poolIdx: number;
|
|
420
|
-
decimalsBaseToken: number;
|
|
421
|
-
decimalsQuoteToken: number;
|
|
422
|
-
symbolBaseToken: string;
|
|
423
|
-
symbolQuoteToken: string;
|
|
424
|
-
isOutOfRangeIncentivized: boolean;
|
|
425
|
-
weightFees: number;
|
|
426
|
-
weightToken0: number;
|
|
427
|
-
weightToken1: number;
|
|
428
|
-
whitelist: string[];
|
|
429
|
-
blacklist: string[];
|
|
430
|
-
url: string;
|
|
431
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
432
|
-
decimalsTargetToken: number;
|
|
433
|
-
symbolTargetToken: string;
|
|
434
|
-
targetToken: string;
|
|
435
|
-
url?: string;
|
|
436
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
437
|
-
amm: import("@angleprotocol/sdk/ts").AMM;
|
|
438
|
-
ammAlgo: import("@angleprotocol/sdk/ts").AMMAlgorithm;
|
|
439
|
-
decimalsToken0: number;
|
|
440
|
-
decimalsToken1: number;
|
|
441
|
-
isOutOfRangeIncentivized: boolean;
|
|
442
|
-
poolAddress: string;
|
|
443
|
-
poolFee: string;
|
|
444
|
-
symbolToken0: string;
|
|
445
|
-
symbolToken1: string;
|
|
446
|
-
token0: string;
|
|
447
|
-
token1: string;
|
|
448
|
-
url?: string;
|
|
449
|
-
weightFees: number;
|
|
450
|
-
weightToken0: number;
|
|
451
|
-
weightToken1: number;
|
|
452
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
453
|
-
subCampaignType: import("@angleprotocol/sdk/ts").CompoundSubCampaignType;
|
|
454
|
-
decimalsTargetToken: number;
|
|
455
|
-
compFork: import("@angleprotocol/sdk/ts").CompFork;
|
|
456
|
-
symbolTargetToken: string;
|
|
457
|
-
targetToken: string;
|
|
458
|
-
underlyingToken: string;
|
|
459
|
-
symbolUnderlyingToken: string;
|
|
460
|
-
decimalsUnderlyingToken: number;
|
|
461
|
-
}) | import("@angleprotocol/sdk/ts").CompoundV3CampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
462
|
-
decimalsTargetToken: number;
|
|
463
|
-
symbolTargetToken: string;
|
|
464
|
-
targetToken: string;
|
|
465
|
-
underlyingToken: string;
|
|
466
|
-
subCampaignType: import("@angleprotocol/sdk/ts").CompoundV3SubCampaignType;
|
|
467
|
-
url?: string;
|
|
468
|
-
} & {
|
|
469
|
-
apr: string;
|
|
470
|
-
rewardTokenPricing: boolean;
|
|
471
|
-
targetTokenPricing: boolean;
|
|
472
|
-
}) | import("@angleprotocol/sdk/ts").ConvexCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
473
|
-
subCampaignType: import("@angleprotocol/sdk/ts").DolomiteSubCampaignType;
|
|
474
|
-
marketIndex: number;
|
|
475
|
-
decimalsTargetToken: number;
|
|
476
|
-
symbolTargetToken: string;
|
|
477
|
-
targetToken: string;
|
|
478
|
-
}) | ((import("@angleprotocol/sdk/ts").BaseCampaignParameters & ({
|
|
479
|
-
poolId: string;
|
|
480
|
-
poolManager: string;
|
|
481
|
-
lpFee: number;
|
|
482
|
-
currency0: string;
|
|
483
|
-
currency1: string;
|
|
484
|
-
decimalsCurrency0: number;
|
|
485
|
-
decimalsCurrency1: number;
|
|
486
|
-
symbolCurrency0: string;
|
|
487
|
-
symbolCurrency1: string;
|
|
488
|
-
isOutOfRangeIncentivized: boolean;
|
|
489
|
-
weightFees: number;
|
|
490
|
-
weightToken0: number;
|
|
491
|
-
weightToken1: number;
|
|
492
|
-
whitelist: string[];
|
|
493
|
-
blacklist: string[];
|
|
494
|
-
} & ({
|
|
495
|
-
lowerPriceTolerance?: number;
|
|
496
|
-
upperPriceTolerance?: number;
|
|
497
|
-
lowerPriceBond?: never;
|
|
498
|
-
upperPriceBond?: never;
|
|
499
|
-
} | {
|
|
500
|
-
lowerPriceBond?: number;
|
|
501
|
-
upperPriceBond?: number;
|
|
502
|
-
lowerPriceTolerance?: never;
|
|
503
|
-
upperPriceTolerance?: never;
|
|
504
|
-
}))) & {
|
|
505
|
-
config: string;
|
|
506
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
507
|
-
rewardsUrl: string;
|
|
508
|
-
dataUrl?: string;
|
|
509
|
-
}) | import("@angleprotocol/sdk/ts").ERC20CampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & ({
|
|
510
|
-
decimalsTargetToken: number;
|
|
511
|
-
symbolTargetToken: string;
|
|
512
|
-
targetToken: string;
|
|
513
|
-
url?: string;
|
|
514
|
-
} & ({
|
|
515
|
-
usesBlockNumber: false;
|
|
516
|
-
snapshotTimestamp: number;
|
|
517
|
-
} | {
|
|
518
|
-
usesBlockNumber: true;
|
|
519
|
-
snapshotBlockNumber: number;
|
|
520
|
-
}))) | import("@angleprotocol/sdk/ts").ERC721CampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
521
|
-
decimalsTargetToken: number;
|
|
522
|
-
symbolTargetToken: string;
|
|
523
|
-
targetToken: string;
|
|
524
|
-
subCampaignType: import("@angleprotocol/sdk/ts").ERC721SubCampaignType;
|
|
525
|
-
extraContracts: string[];
|
|
526
|
-
symbolUnderlyingToken: string;
|
|
527
|
-
url?: string;
|
|
528
|
-
} & {
|
|
529
|
-
apr: string;
|
|
530
|
-
rewardTokenPricing: boolean;
|
|
531
|
-
targetTokenPricing: boolean;
|
|
532
|
-
}) | import("@angleprotocol/sdk/ts").ERC6909CampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
533
|
-
decimalsTargetToken: number;
|
|
534
|
-
symbolTargetToken: string;
|
|
535
|
-
targetToken: string;
|
|
536
|
-
tokenId: string;
|
|
537
|
-
url?: string;
|
|
538
|
-
} & {
|
|
539
|
-
apr: string;
|
|
540
|
-
rewardTokenPricing: boolean;
|
|
541
|
-
targetTokenPricing: boolean;
|
|
542
|
-
}) | import("@angleprotocol/sdk/ts").FraxLendCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
543
|
-
targetToken: string;
|
|
544
|
-
decimalsLoanToken: number;
|
|
545
|
-
symbolLoanToken: string;
|
|
546
|
-
loanToken: string;
|
|
547
|
-
decimalsCollateralToken: number;
|
|
548
|
-
symbolCollateralToken: string;
|
|
549
|
-
collateralToken: string;
|
|
550
|
-
decimalsTargetToken: number;
|
|
551
|
-
symbolTargetToken: string;
|
|
552
|
-
} & {
|
|
553
|
-
apr: string;
|
|
554
|
-
rewardTokenPricing: boolean;
|
|
555
|
-
targetTokenPricing: boolean;
|
|
556
|
-
}) | Omit<import("@angleprotocol/sdk/ts").BaseCampaignParameters, "whitelist" | "blacklist"> | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
557
|
-
poolId: string;
|
|
558
|
-
marketId: string;
|
|
559
|
-
decimalsBorrowToken: string;
|
|
560
|
-
symbolBorrowToken: string;
|
|
561
|
-
borrowToken: string;
|
|
562
|
-
decimalsCollateralToken: string;
|
|
563
|
-
symbolCollateralToken: string;
|
|
564
|
-
collateralToken: string;
|
|
565
|
-
symbolTargetToken: string;
|
|
566
|
-
decimalsTargetToken: number;
|
|
567
|
-
targetToken: string;
|
|
568
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
569
|
-
jsonUrl: string;
|
|
570
|
-
url?: string;
|
|
571
|
-
}) | import("@angleprotocol/sdk/ts").LockerCampaignParameters | import("@angleprotocol/sdk/ts").MappingCampaignParameters | import("@angleprotocol/sdk/ts").MaverickBPCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
572
|
-
nameTargetToken: string;
|
|
573
|
-
symbolTargetToken: string;
|
|
574
|
-
decimalsTargetToken: number;
|
|
575
|
-
underlyingToken: string;
|
|
576
|
-
symbolUnderlyingToken: string;
|
|
577
|
-
decimalsUnderlyingToken: number;
|
|
578
|
-
targetToken: string;
|
|
579
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
580
|
-
marketId: string;
|
|
581
|
-
decimalsLoanToken: string;
|
|
582
|
-
symbolLoanToken: string;
|
|
583
|
-
loanToken: string;
|
|
584
|
-
decimalsBorrowToken: string;
|
|
585
|
-
symbolBorrowToken: string;
|
|
586
|
-
borrowToken: string;
|
|
587
|
-
symbolTargetToken: string;
|
|
588
|
-
decimalsTargetToken: number;
|
|
589
|
-
targetToken: string;
|
|
590
|
-
LLTV: string;
|
|
591
|
-
}) | import("@angleprotocol/sdk/ts").EkuboPositionManagerCampaignParameters | import("@angleprotocol/sdk/ts").FluidVaultCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
592
|
-
capInUSD?: string;
|
|
593
|
-
decimalsTargetToken: number;
|
|
594
|
-
poolAddressProvider?: string;
|
|
595
|
-
pool: string;
|
|
596
|
-
symbolTargetToken: string;
|
|
597
|
-
targetToken: string;
|
|
598
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
599
|
-
decimalsTargetToken: number;
|
|
600
|
-
symbolTargetToken: string;
|
|
601
|
-
targetToken: string;
|
|
602
|
-
forwarders: (import("@angleprotocol/sdk/ts").BaseCampaignParameters["forwarders"][number] & Partial<{
|
|
603
|
-
siloAsset: string;
|
|
604
|
-
siloAssetSymbol: string;
|
|
605
|
-
}>)[];
|
|
606
|
-
}) | import("@angleprotocol/sdk/ts").StakeDAOCampaignParameters | import("@angleprotocol/sdk/ts").SymbioticVaultCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
607
|
-
url?: string;
|
|
608
|
-
token: string;
|
|
609
|
-
}));
|
|
610
|
-
amount: string;
|
|
611
|
-
startTimestamp: number;
|
|
612
|
-
type: string;
|
|
613
|
-
computeChainId: number;
|
|
614
|
-
distributionChainId: number;
|
|
615
|
-
endTimestamp: number;
|
|
616
|
-
campaignStatus?: import("../status/status.model").Status["model"] | undefined;
|
|
617
|
-
chain: {
|
|
618
|
-
name: string;
|
|
619
|
-
endOfDisputePeriod: number;
|
|
620
|
-
id: number;
|
|
621
|
-
icon: string;
|
|
622
|
-
liveCampaigns: number;
|
|
623
|
-
} & {};
|
|
624
|
-
Opportunity?: import("../opportunity/opportunity.model").OpportunityLight["model"] | undefined;
|
|
625
|
-
distributionType: import("@package/databases").DistributionType;
|
|
626
|
-
subType: number | null;
|
|
627
|
-
rewardTokenId: string;
|
|
628
|
-
opportunityId: string;
|
|
629
|
-
dailyRewards?: number | undefined;
|
|
630
|
-
creatorAddress: string;
|
|
631
|
-
createdAt: string;
|
|
632
|
-
rootCampaignId?: string | undefined;
|
|
633
|
-
parentCampaignId?: string | undefined;
|
|
634
|
-
distributionChain?: import("../chain/chain.model").Chain["model"] | undefined;
|
|
635
|
-
childCampaignIds?: string[] | undefined;
|
|
636
|
-
} | {
|
|
637
|
-
id: string;
|
|
638
|
-
chainId: number;
|
|
639
|
-
type: string;
|
|
640
|
-
identifier: string;
|
|
641
|
-
name: string;
|
|
642
|
-
status: "PAST" | "LIVE" | "SOON";
|
|
643
|
-
action: any;
|
|
644
|
-
tokens: ({
|
|
645
|
-
symbol: string;
|
|
646
|
-
name: string | null;
|
|
647
|
-
decimals: number;
|
|
648
|
-
address: string;
|
|
649
|
-
id: string;
|
|
650
|
-
chainId: number;
|
|
651
|
-
type: import("@package/databases").TokenType;
|
|
652
|
-
icon: string;
|
|
653
|
-
isNative: boolean;
|
|
654
|
-
isTest: boolean;
|
|
655
|
-
verified: boolean;
|
|
656
|
-
} & {
|
|
657
|
-
price?: number | null | undefined;
|
|
658
|
-
isTokenWrapper?: boolean | undefined;
|
|
659
|
-
tokenWrapperAddress?: string | undefined;
|
|
660
|
-
})[];
|
|
661
|
-
mainProtocol: "splice" | "curve" | "morpho" | "compound" | "pendle" | "silo" | "reserve" | "gamma" | "vest" | "zero" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quickswap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "mimswap" | "ichi" | "ekubo" | "radiant" | "aave" | "fraxlend" | "ironclad" | "euler" | "gearbox" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "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" | "fluidvault" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
|
662
|
-
description: string;
|
|
663
|
-
howToSteps: string[];
|
|
664
|
-
depositUrl: string | undefined;
|
|
665
|
-
explorerAddress: string | undefined;
|
|
666
|
-
tags: string[];
|
|
667
|
-
} | {
|
|
668
|
-
Tokens: {
|
|
669
|
-
symbol: string;
|
|
670
|
-
name: string | null;
|
|
671
|
-
decimals: number;
|
|
672
|
-
price: number | null;
|
|
673
|
-
address: string;
|
|
674
|
-
id: string;
|
|
675
|
-
chainId: number;
|
|
676
|
-
type: import("@package/databases").TokenType;
|
|
677
|
-
icon: string;
|
|
678
|
-
isNative: boolean;
|
|
679
|
-
isTest: boolean;
|
|
680
|
-
verified: boolean;
|
|
681
|
-
displaySymbol: string;
|
|
682
|
-
}[];
|
|
683
|
-
Protocols: {
|
|
684
|
-
name: string;
|
|
685
|
-
description: string;
|
|
686
|
-
id: string;
|
|
687
|
-
url: string;
|
|
688
|
-
icon: string;
|
|
689
|
-
tags: string[];
|
|
690
|
-
}[];
|
|
691
|
-
name: string;
|
|
692
|
-
apr: number;
|
|
693
|
-
tvl: number;
|
|
694
|
-
description: string;
|
|
695
|
-
id: string;
|
|
696
|
-
status: import("@package/databases").Status;
|
|
697
|
-
chainId: number;
|
|
698
|
-
action: import("@package/databases").OpportunityAction;
|
|
699
|
-
type: string;
|
|
700
|
-
depositUrl: string | null;
|
|
701
|
-
dailyRewards: number;
|
|
702
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
703
|
-
identifier: string;
|
|
704
|
-
howToSteps: string[];
|
|
705
|
-
explorerAddress: string | null;
|
|
706
|
-
mainProtocolId: string | null;
|
|
707
|
-
tags: string[];
|
|
708
|
-
lastCampaignCreatedAt: Date;
|
|
709
|
-
};
|
|
710
|
-
422: {
|
|
711
|
-
type: "validation";
|
|
712
|
-
on: string;
|
|
713
|
-
summary?: string;
|
|
714
|
-
message?: string;
|
|
715
|
-
found?: unknown;
|
|
716
|
-
property?: string;
|
|
717
|
-
expected?: string;
|
|
718
|
-
};
|
|
719
|
-
};
|
|
720
|
-
};
|
|
721
|
-
};
|
|
722
|
-
};
|
|
723
|
-
} & {
|
|
724
|
-
"dry-run": {
|
|
725
|
-
metadata: {
|
|
726
|
-
get: {
|
|
727
|
-
body: unknown;
|
|
728
|
-
params: {};
|
|
729
|
-
query: {
|
|
730
|
-
distributionChain?: number | undefined;
|
|
731
|
-
campaignId: string;
|
|
732
|
-
};
|
|
733
|
-
headers: {
|
|
734
|
-
authorization: string;
|
|
735
|
-
};
|
|
736
|
-
response: {
|
|
737
|
-
200: {
|
|
738
|
-
apr?: number | undefined;
|
|
739
|
-
rewardToken: {
|
|
740
|
-
symbol: string;
|
|
741
|
-
name: string | null;
|
|
742
|
-
decimals: number;
|
|
743
|
-
address: string;
|
|
744
|
-
id: string;
|
|
745
|
-
chainId: number;
|
|
746
|
-
type: import("@package/databases").TokenType;
|
|
747
|
-
icon: string;
|
|
748
|
-
isNative: boolean;
|
|
749
|
-
isTest: boolean;
|
|
750
|
-
verified: boolean;
|
|
751
|
-
} & {
|
|
752
|
-
price?: number | null | undefined;
|
|
753
|
-
isTokenWrapper?: boolean | undefined;
|
|
754
|
-
tokenWrapperAddress?: string | undefined;
|
|
755
|
-
};
|
|
756
|
-
campaignId: string;
|
|
757
|
-
description?: string | undefined;
|
|
758
|
-
creator?: {
|
|
759
|
-
address: string;
|
|
760
|
-
tags?: string[];
|
|
761
|
-
creatorId: string | null;
|
|
762
|
-
} | undefined;
|
|
763
|
-
id: string;
|
|
764
|
-
params: import("@prisma/client/runtime/client").JsonValue & ((import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
765
|
-
markets: string[];
|
|
766
|
-
decimalsLoanToken: string;
|
|
767
|
-
symbolLoanToken: string;
|
|
768
|
-
loanToken: string;
|
|
769
|
-
url?: string;
|
|
770
|
-
}) | import("@angleprotocol/sdk/ts").AaveCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
771
|
-
strategy: string;
|
|
772
|
-
underlyingToken: string;
|
|
773
|
-
symbolUnderlyingToken: string;
|
|
774
|
-
decimalsUnderlyingToken: number;
|
|
775
|
-
url?: string;
|
|
776
|
-
}) | import("@angleprotocol/sdk/ts").ERC20LogCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
777
|
-
decimalsTargetToken: number;
|
|
778
|
-
symbolTargetToken: string;
|
|
779
|
-
targetToken: string;
|
|
780
|
-
url?: string;
|
|
781
|
-
} & {
|
|
782
|
-
apr: string;
|
|
783
|
-
rewardTokenPricing: boolean;
|
|
784
|
-
targetTokenPricing: boolean;
|
|
785
|
-
}) | import("@angleprotocol/sdk/ts").ERC20RebaseCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
786
|
-
decimalsTargetToken: number;
|
|
787
|
-
symbolTargetToken: string;
|
|
788
|
-
targetToken: string;
|
|
789
|
-
url?: string;
|
|
790
|
-
} & {
|
|
791
|
-
apr: string;
|
|
792
|
-
rewardTokenPricing: boolean;
|
|
793
|
-
targetTokenPricing: boolean;
|
|
794
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
795
|
-
addressAsset: string;
|
|
796
|
-
collateralAddress?: string;
|
|
797
|
-
decimalsAsset: number;
|
|
798
|
-
decimalsCollateral?: number;
|
|
799
|
-
decimalsTargetToken: number;
|
|
800
|
-
evkAddress: string;
|
|
801
|
-
nameCollateral?: string;
|
|
802
|
-
nameTargetToken: string;
|
|
803
|
-
subCampaignType: import("@angleprotocol/sdk/ts").EulerSubCampaignType;
|
|
804
|
-
symbolAsset: string;
|
|
805
|
-
symbolCollateral?: string;
|
|
806
|
-
symbolTargetToken: string;
|
|
807
|
-
targetToken: string;
|
|
808
|
-
}) | import("@angleprotocol/sdk/ts").EventBasedCampaignParameters | import("@angleprotocol/sdk/ts").HyperDriveLogCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
809
|
-
tokenId: string;
|
|
810
|
-
decimalsTargetToken: number;
|
|
811
|
-
targetToken: string;
|
|
812
|
-
symbolTargetToken: string;
|
|
813
|
-
baseToken: string;
|
|
814
|
-
baseTokenDecimals: number;
|
|
815
|
-
baseTokenSymbol: string;
|
|
816
|
-
url?: string;
|
|
817
|
-
} & {
|
|
818
|
-
apr: string;
|
|
819
|
-
rewardTokenPricing: boolean;
|
|
820
|
-
targetTokenPricing: boolean;
|
|
821
|
-
}) | import("@angleprotocol/sdk/ts").MorphoBorrowCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
822
|
-
market: string;
|
|
823
|
-
decimalsLoanToken: number;
|
|
824
|
-
symbolLoanToken: string;
|
|
825
|
-
loanToken: string;
|
|
826
|
-
decimalsCollateralToken: number;
|
|
827
|
-
symbolCollateralToken: string;
|
|
828
|
-
collateralToken: string;
|
|
829
|
-
targetToken: string;
|
|
830
|
-
decimalsTargetToken: number;
|
|
831
|
-
symbolTargetToken: string;
|
|
832
|
-
LLTV: string;
|
|
833
|
-
} & {
|
|
834
|
-
apr: string;
|
|
835
|
-
rewardTokenPricing: boolean;
|
|
836
|
-
targetTokenPricing: boolean;
|
|
837
|
-
}) | import("@angleprotocol/sdk/ts").MorphoCollateralCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
838
|
-
market: string;
|
|
839
|
-
decimalsLoanToken: number;
|
|
840
|
-
symbolLoanToken: string;
|
|
841
|
-
loanToken: string;
|
|
842
|
-
decimalsCollateralToken: number;
|
|
843
|
-
symbolCollateralToken: string;
|
|
844
|
-
collateralToken: string;
|
|
845
|
-
targetToken: string;
|
|
846
|
-
decimalsTargetToken: number;
|
|
847
|
-
symbolTargetToken: string;
|
|
848
|
-
LLTV: string;
|
|
849
|
-
} & {
|
|
850
|
-
apr: string;
|
|
851
|
-
rewardTokenPricing: boolean;
|
|
852
|
-
targetTokenPricing: boolean;
|
|
853
|
-
}) | import("@angleprotocol/sdk/ts").MorphoSupplyCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
854
|
-
market: string;
|
|
855
|
-
decimalsLoanToken: number;
|
|
856
|
-
symbolLoanToken: string;
|
|
857
|
-
loanToken: string;
|
|
858
|
-
decimalsCollateralToken: number;
|
|
859
|
-
symbolCollateralToken: string;
|
|
860
|
-
collateralToken: string;
|
|
861
|
-
targetToken: string;
|
|
862
|
-
decimalsTargetToken: number;
|
|
863
|
-
symbolTargetToken: string;
|
|
864
|
-
LLTV: string;
|
|
865
|
-
} & {
|
|
866
|
-
apr: string;
|
|
867
|
-
rewardTokenPricing: boolean;
|
|
868
|
-
targetTokenPricing: boolean;
|
|
869
|
-
}) | import("@angleprotocol/sdk/ts").TargetTokenCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & ({
|
|
870
|
-
poolId: string;
|
|
871
|
-
poolManager: string;
|
|
872
|
-
lpFee: number;
|
|
873
|
-
currency0: string;
|
|
874
|
-
currency1: string;
|
|
875
|
-
decimalsCurrency0: number;
|
|
876
|
-
decimalsCurrency1: number;
|
|
877
|
-
symbolCurrency0: string;
|
|
878
|
-
symbolCurrency1: string;
|
|
879
|
-
isOutOfRangeIncentivized: boolean;
|
|
880
|
-
weightFees: number;
|
|
881
|
-
weightToken0: number;
|
|
882
|
-
weightToken1: number;
|
|
883
|
-
whitelist: string[];
|
|
884
|
-
blacklist: string[];
|
|
885
|
-
} & ({
|
|
886
|
-
lowerPriceTolerance?: number;
|
|
887
|
-
upperPriceTolerance?: number;
|
|
888
|
-
lowerPriceBond?: never;
|
|
889
|
-
upperPriceBond?: never;
|
|
890
|
-
} | {
|
|
891
|
-
lowerPriceBond?: number;
|
|
892
|
-
upperPriceBond?: number;
|
|
893
|
-
lowerPriceTolerance?: never;
|
|
894
|
-
upperPriceTolerance?: never;
|
|
895
|
-
}))) | import("@angleprotocol/sdk/ts").StakingVaultCampaignParameters | import("@angleprotocol/sdk/ts").MultiLogCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
896
|
-
subCampaignType: import("@angleprotocol/sdk/ts").AjnaSubCampaignType;
|
|
897
|
-
poolId: string;
|
|
898
|
-
collateralToken: string;
|
|
899
|
-
symbolCollateralToken: string;
|
|
900
|
-
decimalsCollateralToken: number;
|
|
901
|
-
quoteToken: string;
|
|
902
|
-
symbolQuoteToken: string;
|
|
903
|
-
decimalsQuoteToken: string;
|
|
904
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
905
|
-
poolId: string;
|
|
906
|
-
baseToken: string;
|
|
907
|
-
quoteToken: string;
|
|
908
|
-
poolIdx: number;
|
|
909
|
-
decimalsBaseToken: number;
|
|
910
|
-
decimalsQuoteToken: number;
|
|
911
|
-
symbolBaseToken: string;
|
|
912
|
-
symbolQuoteToken: string;
|
|
913
|
-
isOutOfRangeIncentivized: boolean;
|
|
914
|
-
weightFees: number;
|
|
915
|
-
weightToken0: number;
|
|
916
|
-
weightToken1: number;
|
|
917
|
-
whitelist: string[];
|
|
918
|
-
blacklist: string[];
|
|
919
|
-
url: string;
|
|
920
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
921
|
-
decimalsTargetToken: number;
|
|
922
|
-
symbolTargetToken: string;
|
|
923
|
-
targetToken: string;
|
|
924
|
-
url?: string;
|
|
925
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
926
|
-
amm: import("@angleprotocol/sdk/ts").AMM;
|
|
927
|
-
ammAlgo: import("@angleprotocol/sdk/ts").AMMAlgorithm;
|
|
928
|
-
decimalsToken0: number;
|
|
929
|
-
decimalsToken1: number;
|
|
930
|
-
isOutOfRangeIncentivized: boolean;
|
|
931
|
-
poolAddress: string;
|
|
932
|
-
poolFee: string;
|
|
933
|
-
symbolToken0: string;
|
|
934
|
-
symbolToken1: string;
|
|
935
|
-
token0: string;
|
|
936
|
-
token1: string;
|
|
937
|
-
url?: string;
|
|
938
|
-
weightFees: number;
|
|
939
|
-
weightToken0: number;
|
|
940
|
-
weightToken1: number;
|
|
941
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
942
|
-
subCampaignType: import("@angleprotocol/sdk/ts").CompoundSubCampaignType;
|
|
943
|
-
decimalsTargetToken: number;
|
|
944
|
-
compFork: import("@angleprotocol/sdk/ts").CompFork;
|
|
945
|
-
symbolTargetToken: string;
|
|
946
|
-
targetToken: string;
|
|
947
|
-
underlyingToken: string;
|
|
948
|
-
symbolUnderlyingToken: string;
|
|
949
|
-
decimalsUnderlyingToken: number;
|
|
950
|
-
}) | import("@angleprotocol/sdk/ts").CompoundV3CampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
951
|
-
decimalsTargetToken: number;
|
|
952
|
-
symbolTargetToken: string;
|
|
953
|
-
targetToken: string;
|
|
954
|
-
underlyingToken: string;
|
|
955
|
-
subCampaignType: import("@angleprotocol/sdk/ts").CompoundV3SubCampaignType;
|
|
956
|
-
url?: string;
|
|
957
|
-
} & {
|
|
958
|
-
apr: string;
|
|
959
|
-
rewardTokenPricing: boolean;
|
|
960
|
-
targetTokenPricing: boolean;
|
|
961
|
-
}) | import("@angleprotocol/sdk/ts").ConvexCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
962
|
-
subCampaignType: import("@angleprotocol/sdk/ts").DolomiteSubCampaignType;
|
|
963
|
-
marketIndex: number;
|
|
964
|
-
decimalsTargetToken: number;
|
|
965
|
-
symbolTargetToken: string;
|
|
966
|
-
targetToken: string;
|
|
967
|
-
}) | ((import("@angleprotocol/sdk/ts").BaseCampaignParameters & ({
|
|
968
|
-
poolId: string;
|
|
969
|
-
poolManager: string;
|
|
970
|
-
lpFee: number;
|
|
971
|
-
currency0: string;
|
|
972
|
-
currency1: string;
|
|
973
|
-
decimalsCurrency0: number;
|
|
974
|
-
decimalsCurrency1: number;
|
|
975
|
-
symbolCurrency0: string;
|
|
976
|
-
symbolCurrency1: string;
|
|
977
|
-
isOutOfRangeIncentivized: boolean;
|
|
978
|
-
weightFees: number;
|
|
979
|
-
weightToken0: number;
|
|
980
|
-
weightToken1: number;
|
|
981
|
-
whitelist: string[];
|
|
982
|
-
blacklist: string[];
|
|
983
|
-
} & ({
|
|
984
|
-
lowerPriceTolerance?: number;
|
|
985
|
-
upperPriceTolerance?: number;
|
|
986
|
-
lowerPriceBond?: never;
|
|
987
|
-
upperPriceBond?: never;
|
|
988
|
-
} | {
|
|
989
|
-
lowerPriceBond?: number;
|
|
990
|
-
upperPriceBond?: number;
|
|
991
|
-
lowerPriceTolerance?: never;
|
|
992
|
-
upperPriceTolerance?: never;
|
|
993
|
-
}))) & {
|
|
994
|
-
config: string;
|
|
995
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
996
|
-
rewardsUrl: string;
|
|
997
|
-
dataUrl?: string;
|
|
998
|
-
}) | import("@angleprotocol/sdk/ts").ERC20CampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & ({
|
|
999
|
-
decimalsTargetToken: number;
|
|
1000
|
-
symbolTargetToken: string;
|
|
1001
|
-
targetToken: string;
|
|
1002
|
-
url?: string;
|
|
1003
|
-
} & ({
|
|
1004
|
-
usesBlockNumber: false;
|
|
1005
|
-
snapshotTimestamp: number;
|
|
1006
|
-
} | {
|
|
1007
|
-
usesBlockNumber: true;
|
|
1008
|
-
snapshotBlockNumber: number;
|
|
1009
|
-
}))) | import("@angleprotocol/sdk/ts").ERC721CampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1010
|
-
decimalsTargetToken: number;
|
|
1011
|
-
symbolTargetToken: string;
|
|
1012
|
-
targetToken: string;
|
|
1013
|
-
subCampaignType: import("@angleprotocol/sdk/ts").ERC721SubCampaignType;
|
|
1014
|
-
extraContracts: string[];
|
|
1015
|
-
symbolUnderlyingToken: string;
|
|
1016
|
-
url?: string;
|
|
1017
|
-
} & {
|
|
1018
|
-
apr: string;
|
|
1019
|
-
rewardTokenPricing: boolean;
|
|
1020
|
-
targetTokenPricing: boolean;
|
|
1021
|
-
}) | import("@angleprotocol/sdk/ts").ERC6909CampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1022
|
-
decimalsTargetToken: number;
|
|
1023
|
-
symbolTargetToken: string;
|
|
1024
|
-
targetToken: string;
|
|
1025
|
-
tokenId: string;
|
|
1026
|
-
url?: string;
|
|
1027
|
-
} & {
|
|
1028
|
-
apr: string;
|
|
1029
|
-
rewardTokenPricing: boolean;
|
|
1030
|
-
targetTokenPricing: boolean;
|
|
1031
|
-
}) | import("@angleprotocol/sdk/ts").FraxLendCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1032
|
-
targetToken: string;
|
|
1033
|
-
decimalsLoanToken: number;
|
|
1034
|
-
symbolLoanToken: string;
|
|
1035
|
-
loanToken: string;
|
|
1036
|
-
decimalsCollateralToken: number;
|
|
1037
|
-
symbolCollateralToken: string;
|
|
1038
|
-
collateralToken: string;
|
|
1039
|
-
decimalsTargetToken: number;
|
|
1040
|
-
symbolTargetToken: string;
|
|
1041
|
-
} & {
|
|
1042
|
-
apr: string;
|
|
1043
|
-
rewardTokenPricing: boolean;
|
|
1044
|
-
targetTokenPricing: boolean;
|
|
1045
|
-
}) | Omit<import("@angleprotocol/sdk/ts").BaseCampaignParameters, "whitelist" | "blacklist"> | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1046
|
-
poolId: string;
|
|
1047
|
-
marketId: string;
|
|
1048
|
-
decimalsBorrowToken: string;
|
|
1049
|
-
symbolBorrowToken: string;
|
|
1050
|
-
borrowToken: string;
|
|
1051
|
-
decimalsCollateralToken: string;
|
|
1052
|
-
symbolCollateralToken: string;
|
|
1053
|
-
collateralToken: string;
|
|
1054
|
-
symbolTargetToken: string;
|
|
1055
|
-
decimalsTargetToken: number;
|
|
1056
|
-
targetToken: string;
|
|
1057
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1058
|
-
jsonUrl: string;
|
|
1059
|
-
url?: string;
|
|
1060
|
-
}) | import("@angleprotocol/sdk/ts").LockerCampaignParameters | import("@angleprotocol/sdk/ts").MappingCampaignParameters | import("@angleprotocol/sdk/ts").MaverickBPCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1061
|
-
nameTargetToken: string;
|
|
1062
|
-
symbolTargetToken: string;
|
|
1063
|
-
decimalsTargetToken: number;
|
|
1064
|
-
underlyingToken: string;
|
|
1065
|
-
symbolUnderlyingToken: string;
|
|
1066
|
-
decimalsUnderlyingToken: number;
|
|
1067
|
-
targetToken: string;
|
|
1068
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1069
|
-
marketId: string;
|
|
1070
|
-
decimalsLoanToken: string;
|
|
1071
|
-
symbolLoanToken: string;
|
|
1072
|
-
loanToken: string;
|
|
1073
|
-
decimalsBorrowToken: string;
|
|
1074
|
-
symbolBorrowToken: string;
|
|
1075
|
-
borrowToken: string;
|
|
1076
|
-
symbolTargetToken: string;
|
|
1077
|
-
decimalsTargetToken: number;
|
|
1078
|
-
targetToken: string;
|
|
1079
|
-
LLTV: string;
|
|
1080
|
-
}) | import("@angleprotocol/sdk/ts").EkuboPositionManagerCampaignParameters | import("@angleprotocol/sdk/ts").FluidVaultCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1081
|
-
capInUSD?: string;
|
|
1082
|
-
decimalsTargetToken: number;
|
|
1083
|
-
poolAddressProvider?: string;
|
|
1084
|
-
pool: string;
|
|
1085
|
-
symbolTargetToken: string;
|
|
1086
|
-
targetToken: string;
|
|
1087
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1088
|
-
decimalsTargetToken: number;
|
|
1089
|
-
symbolTargetToken: string;
|
|
1090
|
-
targetToken: string;
|
|
1091
|
-
forwarders: (import("@angleprotocol/sdk/ts").BaseCampaignParameters["forwarders"][number] & Partial<{
|
|
1092
|
-
siloAsset: string;
|
|
1093
|
-
siloAssetSymbol: string;
|
|
1094
|
-
}>)[];
|
|
1095
|
-
}) | import("@angleprotocol/sdk/ts").StakeDAOCampaignParameters | import("@angleprotocol/sdk/ts").SymbioticVaultCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1096
|
-
url?: string;
|
|
1097
|
-
token: string;
|
|
1098
|
-
}));
|
|
1099
|
-
amount: string;
|
|
1100
|
-
startTimestamp: number;
|
|
1101
|
-
type: string;
|
|
1102
|
-
computeChainId: number;
|
|
1103
|
-
distributionChainId: number;
|
|
1104
|
-
endTimestamp: number;
|
|
1105
|
-
campaignStatus?: import("../status/status.model").Status["model"] | undefined;
|
|
1106
|
-
chain: {
|
|
1107
|
-
name: string;
|
|
1108
|
-
endOfDisputePeriod: number;
|
|
1109
|
-
id: number;
|
|
1110
|
-
icon: string;
|
|
1111
|
-
liveCampaigns: number;
|
|
1112
|
-
} & {};
|
|
1113
|
-
Opportunity?: import("../opportunity/opportunity.model").OpportunityLight["model"] | undefined;
|
|
1114
|
-
distributionType: import("@package/databases").DistributionType;
|
|
1115
|
-
subType: number | null;
|
|
1116
|
-
rewardTokenId: string;
|
|
1117
|
-
opportunityId: string;
|
|
1118
|
-
dailyRewards?: number | undefined;
|
|
1119
|
-
creatorAddress: string;
|
|
1120
|
-
createdAt: string;
|
|
1121
|
-
rootCampaignId?: string | undefined;
|
|
1122
|
-
parentCampaignId?: string | undefined;
|
|
1123
|
-
distributionChain?: import("../chain/chain.model").Chain["model"] | undefined;
|
|
1124
|
-
childCampaignIds?: string[] | undefined;
|
|
1125
|
-
} | {
|
|
1126
|
-
id: string;
|
|
1127
|
-
chainId: number;
|
|
1128
|
-
type: string;
|
|
1129
|
-
identifier: string;
|
|
1130
|
-
name: string;
|
|
1131
|
-
status: "PAST" | "LIVE" | "SOON";
|
|
1132
|
-
action: any;
|
|
1133
|
-
tokens: ({
|
|
1134
|
-
symbol: string;
|
|
1135
|
-
name: string | null;
|
|
1136
|
-
decimals: number;
|
|
1137
|
-
address: string;
|
|
1138
|
-
id: string;
|
|
1139
|
-
chainId: number;
|
|
1140
|
-
type: import("@package/databases").TokenType;
|
|
1141
|
-
icon: string;
|
|
1142
|
-
isNative: boolean;
|
|
1143
|
-
isTest: boolean;
|
|
1144
|
-
verified: boolean;
|
|
1145
|
-
} & {
|
|
1146
|
-
price?: number | null | undefined;
|
|
1147
|
-
isTokenWrapper?: boolean | undefined;
|
|
1148
|
-
tokenWrapperAddress?: string | undefined;
|
|
1149
|
-
})[];
|
|
1150
|
-
mainProtocol: "splice" | "curve" | "morpho" | "compound" | "pendle" | "silo" | "reserve" | "gamma" | "vest" | "zero" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quickswap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "mimswap" | "ichi" | "ekubo" | "radiant" | "aave" | "fraxlend" | "ironclad" | "euler" | "gearbox" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "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" | "fluidvault" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
|
1151
|
-
description: string;
|
|
1152
|
-
howToSteps: string[];
|
|
1153
|
-
depositUrl: string | undefined;
|
|
1154
|
-
explorerAddress: string | undefined;
|
|
1155
|
-
tags: string[];
|
|
1156
|
-
} | {
|
|
1157
|
-
Tokens: {
|
|
1158
|
-
symbol: string;
|
|
1159
|
-
name: string | null;
|
|
1160
|
-
decimals: number;
|
|
1161
|
-
price: number | null;
|
|
1162
|
-
address: string;
|
|
1163
|
-
id: string;
|
|
1164
|
-
chainId: number;
|
|
1165
|
-
type: import("@package/databases").TokenType;
|
|
1166
|
-
icon: string;
|
|
1167
|
-
isNative: boolean;
|
|
1168
|
-
isTest: boolean;
|
|
1169
|
-
verified: boolean;
|
|
1170
|
-
displaySymbol: string;
|
|
1171
|
-
}[];
|
|
1172
|
-
Protocols: {
|
|
1173
|
-
name: string;
|
|
1174
|
-
description: string;
|
|
1175
|
-
id: string;
|
|
1176
|
-
url: string;
|
|
1177
|
-
icon: string;
|
|
1178
|
-
tags: string[];
|
|
1179
|
-
}[];
|
|
1180
|
-
name: string;
|
|
1181
|
-
apr: number;
|
|
1182
|
-
tvl: number;
|
|
1183
|
-
description: string;
|
|
1184
|
-
id: string;
|
|
1185
|
-
status: import("@package/databases").Status;
|
|
1186
|
-
chainId: number;
|
|
1187
|
-
action: import("@package/databases").OpportunityAction;
|
|
1188
|
-
type: string;
|
|
1189
|
-
depositUrl: string | null;
|
|
1190
|
-
dailyRewards: number;
|
|
1191
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
1192
|
-
identifier: string;
|
|
1193
|
-
howToSteps: string[];
|
|
1194
|
-
explorerAddress: string | null;
|
|
1195
|
-
mainProtocolId: string | null;
|
|
1196
|
-
tags: string[];
|
|
1197
|
-
lastCampaignCreatedAt: Date;
|
|
1198
|
-
};
|
|
1199
|
-
422: {
|
|
1200
|
-
type: "validation";
|
|
1201
|
-
on: string;
|
|
1202
|
-
summary?: string;
|
|
1203
|
-
message?: string;
|
|
1204
|
-
found?: unknown;
|
|
1205
|
-
property?: string;
|
|
1206
|
-
expected?: string;
|
|
1207
|
-
};
|
|
1208
|
-
};
|
|
1209
|
-
};
|
|
1210
|
-
};
|
|
1211
|
-
};
|
|
1212
|
-
} & {
|
|
1213
|
-
"dry-run": {
|
|
1214
|
-
metadata: {
|
|
1215
|
-
erc20: {
|
|
1216
|
-
get: {
|
|
1217
|
-
body: unknown;
|
|
1218
|
-
params: {};
|
|
1219
|
-
query: {
|
|
1220
|
-
address: string;
|
|
1221
|
-
chainId: number;
|
|
1222
|
-
};
|
|
1223
|
-
headers: {
|
|
1224
|
-
authorization: string;
|
|
1225
|
-
};
|
|
1226
|
-
response: {
|
|
1227
|
-
200: {
|
|
1228
|
-
apr?: number | undefined;
|
|
1229
|
-
rewardToken: {
|
|
1230
|
-
symbol: string;
|
|
1231
|
-
name: string | null;
|
|
1232
|
-
decimals: number;
|
|
1233
|
-
address: string;
|
|
1234
|
-
id: string;
|
|
1235
|
-
chainId: number;
|
|
1236
|
-
type: import("@package/databases").TokenType;
|
|
1237
|
-
icon: string;
|
|
1238
|
-
isNative: boolean;
|
|
1239
|
-
isTest: boolean;
|
|
1240
|
-
verified: boolean;
|
|
1241
|
-
} & {
|
|
1242
|
-
price?: number | null | undefined;
|
|
1243
|
-
isTokenWrapper?: boolean | undefined;
|
|
1244
|
-
tokenWrapperAddress?: string | undefined;
|
|
1245
|
-
};
|
|
1246
|
-
campaignId: string;
|
|
1247
|
-
description?: string | undefined;
|
|
1248
|
-
creator?: {
|
|
1249
|
-
address: string;
|
|
1250
|
-
tags?: string[];
|
|
1251
|
-
creatorId: string | null;
|
|
1252
|
-
} | undefined;
|
|
1253
|
-
id: string;
|
|
1254
|
-
params: import("@prisma/client/runtime/client").JsonValue & ((import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1255
|
-
markets: string[];
|
|
1256
|
-
decimalsLoanToken: string;
|
|
1257
|
-
symbolLoanToken: string;
|
|
1258
|
-
loanToken: string;
|
|
1259
|
-
url?: string;
|
|
1260
|
-
}) | import("@angleprotocol/sdk/ts").AaveCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1261
|
-
strategy: string;
|
|
1262
|
-
underlyingToken: string;
|
|
1263
|
-
symbolUnderlyingToken: string;
|
|
1264
|
-
decimalsUnderlyingToken: number;
|
|
1265
|
-
url?: string;
|
|
1266
|
-
}) | import("@angleprotocol/sdk/ts").ERC20LogCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1267
|
-
decimalsTargetToken: number;
|
|
1268
|
-
symbolTargetToken: string;
|
|
1269
|
-
targetToken: string;
|
|
1270
|
-
url?: string;
|
|
1271
|
-
} & {
|
|
1272
|
-
apr: string;
|
|
1273
|
-
rewardTokenPricing: boolean;
|
|
1274
|
-
targetTokenPricing: boolean;
|
|
1275
|
-
}) | import("@angleprotocol/sdk/ts").ERC20RebaseCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1276
|
-
decimalsTargetToken: number;
|
|
1277
|
-
symbolTargetToken: string;
|
|
1278
|
-
targetToken: string;
|
|
1279
|
-
url?: string;
|
|
1280
|
-
} & {
|
|
1281
|
-
apr: string;
|
|
1282
|
-
rewardTokenPricing: boolean;
|
|
1283
|
-
targetTokenPricing: boolean;
|
|
1284
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1285
|
-
addressAsset: string;
|
|
1286
|
-
collateralAddress?: string;
|
|
1287
|
-
decimalsAsset: number;
|
|
1288
|
-
decimalsCollateral?: number;
|
|
1289
|
-
decimalsTargetToken: number;
|
|
1290
|
-
evkAddress: string;
|
|
1291
|
-
nameCollateral?: string;
|
|
1292
|
-
nameTargetToken: string;
|
|
1293
|
-
subCampaignType: import("@angleprotocol/sdk/ts").EulerSubCampaignType;
|
|
1294
|
-
symbolAsset: string;
|
|
1295
|
-
symbolCollateral?: string;
|
|
1296
|
-
symbolTargetToken: string;
|
|
1297
|
-
targetToken: string;
|
|
1298
|
-
}) | import("@angleprotocol/sdk/ts").EventBasedCampaignParameters | import("@angleprotocol/sdk/ts").HyperDriveLogCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1299
|
-
tokenId: string;
|
|
1300
|
-
decimalsTargetToken: number;
|
|
1301
|
-
targetToken: string;
|
|
1302
|
-
symbolTargetToken: string;
|
|
1303
|
-
baseToken: string;
|
|
1304
|
-
baseTokenDecimals: number;
|
|
1305
|
-
baseTokenSymbol: string;
|
|
1306
|
-
url?: string;
|
|
1307
|
-
} & {
|
|
1308
|
-
apr: string;
|
|
1309
|
-
rewardTokenPricing: boolean;
|
|
1310
|
-
targetTokenPricing: boolean;
|
|
1311
|
-
}) | import("@angleprotocol/sdk/ts").MorphoBorrowCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1312
|
-
market: string;
|
|
1313
|
-
decimalsLoanToken: number;
|
|
1314
|
-
symbolLoanToken: string;
|
|
1315
|
-
loanToken: string;
|
|
1316
|
-
decimalsCollateralToken: number;
|
|
1317
|
-
symbolCollateralToken: string;
|
|
1318
|
-
collateralToken: string;
|
|
1319
|
-
targetToken: string;
|
|
1320
|
-
decimalsTargetToken: number;
|
|
1321
|
-
symbolTargetToken: string;
|
|
1322
|
-
LLTV: string;
|
|
1323
|
-
} & {
|
|
1324
|
-
apr: string;
|
|
1325
|
-
rewardTokenPricing: boolean;
|
|
1326
|
-
targetTokenPricing: boolean;
|
|
1327
|
-
}) | import("@angleprotocol/sdk/ts").MorphoCollateralCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1328
|
-
market: string;
|
|
1329
|
-
decimalsLoanToken: number;
|
|
1330
|
-
symbolLoanToken: string;
|
|
1331
|
-
loanToken: string;
|
|
1332
|
-
decimalsCollateralToken: number;
|
|
1333
|
-
symbolCollateralToken: string;
|
|
1334
|
-
collateralToken: string;
|
|
1335
|
-
targetToken: string;
|
|
1336
|
-
decimalsTargetToken: number;
|
|
1337
|
-
symbolTargetToken: string;
|
|
1338
|
-
LLTV: string;
|
|
1339
|
-
} & {
|
|
1340
|
-
apr: string;
|
|
1341
|
-
rewardTokenPricing: boolean;
|
|
1342
|
-
targetTokenPricing: boolean;
|
|
1343
|
-
}) | import("@angleprotocol/sdk/ts").MorphoSupplyCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1344
|
-
market: string;
|
|
1345
|
-
decimalsLoanToken: number;
|
|
1346
|
-
symbolLoanToken: string;
|
|
1347
|
-
loanToken: string;
|
|
1348
|
-
decimalsCollateralToken: number;
|
|
1349
|
-
symbolCollateralToken: string;
|
|
1350
|
-
collateralToken: string;
|
|
1351
|
-
targetToken: string;
|
|
1352
|
-
decimalsTargetToken: number;
|
|
1353
|
-
symbolTargetToken: string;
|
|
1354
|
-
LLTV: string;
|
|
1355
|
-
} & {
|
|
1356
|
-
apr: string;
|
|
1357
|
-
rewardTokenPricing: boolean;
|
|
1358
|
-
targetTokenPricing: boolean;
|
|
1359
|
-
}) | import("@angleprotocol/sdk/ts").TargetTokenCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & ({
|
|
1360
|
-
poolId: string;
|
|
1361
|
-
poolManager: string;
|
|
1362
|
-
lpFee: number;
|
|
1363
|
-
currency0: string;
|
|
1364
|
-
currency1: string;
|
|
1365
|
-
decimalsCurrency0: number;
|
|
1366
|
-
decimalsCurrency1: number;
|
|
1367
|
-
symbolCurrency0: string;
|
|
1368
|
-
symbolCurrency1: string;
|
|
1369
|
-
isOutOfRangeIncentivized: boolean;
|
|
1370
|
-
weightFees: number;
|
|
1371
|
-
weightToken0: number;
|
|
1372
|
-
weightToken1: number;
|
|
1373
|
-
whitelist: string[];
|
|
1374
|
-
blacklist: string[];
|
|
1375
|
-
} & ({
|
|
1376
|
-
lowerPriceTolerance?: number;
|
|
1377
|
-
upperPriceTolerance?: number;
|
|
1378
|
-
lowerPriceBond?: never;
|
|
1379
|
-
upperPriceBond?: never;
|
|
1380
|
-
} | {
|
|
1381
|
-
lowerPriceBond?: number;
|
|
1382
|
-
upperPriceBond?: number;
|
|
1383
|
-
lowerPriceTolerance?: never;
|
|
1384
|
-
upperPriceTolerance?: never;
|
|
1385
|
-
}))) | import("@angleprotocol/sdk/ts").StakingVaultCampaignParameters | import("@angleprotocol/sdk/ts").MultiLogCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1386
|
-
subCampaignType: import("@angleprotocol/sdk/ts").AjnaSubCampaignType;
|
|
1387
|
-
poolId: string;
|
|
1388
|
-
collateralToken: string;
|
|
1389
|
-
symbolCollateralToken: string;
|
|
1390
|
-
decimalsCollateralToken: number;
|
|
1391
|
-
quoteToken: string;
|
|
1392
|
-
symbolQuoteToken: string;
|
|
1393
|
-
decimalsQuoteToken: string;
|
|
1394
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1395
|
-
poolId: string;
|
|
1396
|
-
baseToken: string;
|
|
1397
|
-
quoteToken: string;
|
|
1398
|
-
poolIdx: number;
|
|
1399
|
-
decimalsBaseToken: number;
|
|
1400
|
-
decimalsQuoteToken: number;
|
|
1401
|
-
symbolBaseToken: string;
|
|
1402
|
-
symbolQuoteToken: string;
|
|
1403
|
-
isOutOfRangeIncentivized: boolean;
|
|
1404
|
-
weightFees: number;
|
|
1405
|
-
weightToken0: number;
|
|
1406
|
-
weightToken1: number;
|
|
1407
|
-
whitelist: string[];
|
|
1408
|
-
blacklist: string[];
|
|
1409
|
-
url: string;
|
|
1410
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1411
|
-
decimalsTargetToken: number;
|
|
1412
|
-
symbolTargetToken: string;
|
|
1413
|
-
targetToken: string;
|
|
1414
|
-
url?: string;
|
|
1415
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1416
|
-
amm: import("@angleprotocol/sdk/ts").AMM;
|
|
1417
|
-
ammAlgo: import("@angleprotocol/sdk/ts").AMMAlgorithm;
|
|
1418
|
-
decimalsToken0: number;
|
|
1419
|
-
decimalsToken1: number;
|
|
1420
|
-
isOutOfRangeIncentivized: boolean;
|
|
1421
|
-
poolAddress: string;
|
|
1422
|
-
poolFee: string;
|
|
1423
|
-
symbolToken0: string;
|
|
1424
|
-
symbolToken1: string;
|
|
1425
|
-
token0: string;
|
|
1426
|
-
token1: string;
|
|
1427
|
-
url?: string;
|
|
1428
|
-
weightFees: number;
|
|
1429
|
-
weightToken0: number;
|
|
1430
|
-
weightToken1: number;
|
|
1431
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1432
|
-
subCampaignType: import("@angleprotocol/sdk/ts").CompoundSubCampaignType;
|
|
1433
|
-
decimalsTargetToken: number;
|
|
1434
|
-
compFork: import("@angleprotocol/sdk/ts").CompFork;
|
|
1435
|
-
symbolTargetToken: string;
|
|
1436
|
-
targetToken: string;
|
|
1437
|
-
underlyingToken: string;
|
|
1438
|
-
symbolUnderlyingToken: string;
|
|
1439
|
-
decimalsUnderlyingToken: number;
|
|
1440
|
-
}) | import("@angleprotocol/sdk/ts").CompoundV3CampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1441
|
-
decimalsTargetToken: number;
|
|
1442
|
-
symbolTargetToken: string;
|
|
1443
|
-
targetToken: string;
|
|
1444
|
-
underlyingToken: string;
|
|
1445
|
-
subCampaignType: import("@angleprotocol/sdk/ts").CompoundV3SubCampaignType;
|
|
1446
|
-
url?: string;
|
|
1447
|
-
} & {
|
|
1448
|
-
apr: string;
|
|
1449
|
-
rewardTokenPricing: boolean;
|
|
1450
|
-
targetTokenPricing: boolean;
|
|
1451
|
-
}) | import("@angleprotocol/sdk/ts").ConvexCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1452
|
-
subCampaignType: import("@angleprotocol/sdk/ts").DolomiteSubCampaignType;
|
|
1453
|
-
marketIndex: number;
|
|
1454
|
-
decimalsTargetToken: number;
|
|
1455
|
-
symbolTargetToken: string;
|
|
1456
|
-
targetToken: string;
|
|
1457
|
-
}) | ((import("@angleprotocol/sdk/ts").BaseCampaignParameters & ({
|
|
1458
|
-
poolId: string;
|
|
1459
|
-
poolManager: string;
|
|
1460
|
-
lpFee: number;
|
|
1461
|
-
currency0: string;
|
|
1462
|
-
currency1: string;
|
|
1463
|
-
decimalsCurrency0: number;
|
|
1464
|
-
decimalsCurrency1: number;
|
|
1465
|
-
symbolCurrency0: string;
|
|
1466
|
-
symbolCurrency1: string;
|
|
1467
|
-
isOutOfRangeIncentivized: boolean;
|
|
1468
|
-
weightFees: number;
|
|
1469
|
-
weightToken0: number;
|
|
1470
|
-
weightToken1: number;
|
|
1471
|
-
whitelist: string[];
|
|
1472
|
-
blacklist: string[];
|
|
1473
|
-
} & ({
|
|
1474
|
-
lowerPriceTolerance?: number;
|
|
1475
|
-
upperPriceTolerance?: number;
|
|
1476
|
-
lowerPriceBond?: never;
|
|
1477
|
-
upperPriceBond?: never;
|
|
1478
|
-
} | {
|
|
1479
|
-
lowerPriceBond?: number;
|
|
1480
|
-
upperPriceBond?: number;
|
|
1481
|
-
lowerPriceTolerance?: never;
|
|
1482
|
-
upperPriceTolerance?: never;
|
|
1483
|
-
}))) & {
|
|
1484
|
-
config: string;
|
|
1485
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1486
|
-
rewardsUrl: string;
|
|
1487
|
-
dataUrl?: string;
|
|
1488
|
-
}) | import("@angleprotocol/sdk/ts").ERC20CampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & ({
|
|
1489
|
-
decimalsTargetToken: number;
|
|
1490
|
-
symbolTargetToken: string;
|
|
1491
|
-
targetToken: string;
|
|
1492
|
-
url?: string;
|
|
1493
|
-
} & ({
|
|
1494
|
-
usesBlockNumber: false;
|
|
1495
|
-
snapshotTimestamp: number;
|
|
1496
|
-
} | {
|
|
1497
|
-
usesBlockNumber: true;
|
|
1498
|
-
snapshotBlockNumber: number;
|
|
1499
|
-
}))) | import("@angleprotocol/sdk/ts").ERC721CampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1500
|
-
decimalsTargetToken: number;
|
|
1501
|
-
symbolTargetToken: string;
|
|
1502
|
-
targetToken: string;
|
|
1503
|
-
subCampaignType: import("@angleprotocol/sdk/ts").ERC721SubCampaignType;
|
|
1504
|
-
extraContracts: string[];
|
|
1505
|
-
symbolUnderlyingToken: string;
|
|
1506
|
-
url?: string;
|
|
1507
|
-
} & {
|
|
1508
|
-
apr: string;
|
|
1509
|
-
rewardTokenPricing: boolean;
|
|
1510
|
-
targetTokenPricing: boolean;
|
|
1511
|
-
}) | import("@angleprotocol/sdk/ts").ERC6909CampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1512
|
-
decimalsTargetToken: number;
|
|
1513
|
-
symbolTargetToken: string;
|
|
1514
|
-
targetToken: string;
|
|
1515
|
-
tokenId: string;
|
|
1516
|
-
url?: string;
|
|
1517
|
-
} & {
|
|
1518
|
-
apr: string;
|
|
1519
|
-
rewardTokenPricing: boolean;
|
|
1520
|
-
targetTokenPricing: boolean;
|
|
1521
|
-
}) | import("@angleprotocol/sdk/ts").FraxLendCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1522
|
-
targetToken: string;
|
|
1523
|
-
decimalsLoanToken: number;
|
|
1524
|
-
symbolLoanToken: string;
|
|
1525
|
-
loanToken: string;
|
|
1526
|
-
decimalsCollateralToken: number;
|
|
1527
|
-
symbolCollateralToken: string;
|
|
1528
|
-
collateralToken: string;
|
|
1529
|
-
decimalsTargetToken: number;
|
|
1530
|
-
symbolTargetToken: string;
|
|
1531
|
-
} & {
|
|
1532
|
-
apr: string;
|
|
1533
|
-
rewardTokenPricing: boolean;
|
|
1534
|
-
targetTokenPricing: boolean;
|
|
1535
|
-
}) | Omit<import("@angleprotocol/sdk/ts").BaseCampaignParameters, "whitelist" | "blacklist"> | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1536
|
-
poolId: string;
|
|
1537
|
-
marketId: string;
|
|
1538
|
-
decimalsBorrowToken: string;
|
|
1539
|
-
symbolBorrowToken: string;
|
|
1540
|
-
borrowToken: string;
|
|
1541
|
-
decimalsCollateralToken: string;
|
|
1542
|
-
symbolCollateralToken: string;
|
|
1543
|
-
collateralToken: string;
|
|
1544
|
-
symbolTargetToken: string;
|
|
1545
|
-
decimalsTargetToken: number;
|
|
1546
|
-
targetToken: string;
|
|
1547
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1548
|
-
jsonUrl: string;
|
|
1549
|
-
url?: string;
|
|
1550
|
-
}) | import("@angleprotocol/sdk/ts").LockerCampaignParameters | import("@angleprotocol/sdk/ts").MappingCampaignParameters | import("@angleprotocol/sdk/ts").MaverickBPCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1551
|
-
nameTargetToken: string;
|
|
1552
|
-
symbolTargetToken: string;
|
|
1553
|
-
decimalsTargetToken: number;
|
|
1554
|
-
underlyingToken: string;
|
|
1555
|
-
symbolUnderlyingToken: string;
|
|
1556
|
-
decimalsUnderlyingToken: number;
|
|
1557
|
-
targetToken: string;
|
|
1558
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1559
|
-
marketId: string;
|
|
1560
|
-
decimalsLoanToken: string;
|
|
1561
|
-
symbolLoanToken: string;
|
|
1562
|
-
loanToken: string;
|
|
1563
|
-
decimalsBorrowToken: string;
|
|
1564
|
-
symbolBorrowToken: string;
|
|
1565
|
-
borrowToken: string;
|
|
1566
|
-
symbolTargetToken: string;
|
|
1567
|
-
decimalsTargetToken: number;
|
|
1568
|
-
targetToken: string;
|
|
1569
|
-
LLTV: string;
|
|
1570
|
-
}) | import("@angleprotocol/sdk/ts").EkuboPositionManagerCampaignParameters | import("@angleprotocol/sdk/ts").FluidVaultCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1571
|
-
capInUSD?: string;
|
|
1572
|
-
decimalsTargetToken: number;
|
|
1573
|
-
poolAddressProvider?: string;
|
|
1574
|
-
pool: string;
|
|
1575
|
-
symbolTargetToken: string;
|
|
1576
|
-
targetToken: string;
|
|
1577
|
-
}) | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1578
|
-
decimalsTargetToken: number;
|
|
1579
|
-
symbolTargetToken: string;
|
|
1580
|
-
targetToken: string;
|
|
1581
|
-
forwarders: (import("@angleprotocol/sdk/ts").BaseCampaignParameters["forwarders"][number] & Partial<{
|
|
1582
|
-
siloAsset: string;
|
|
1583
|
-
siloAssetSymbol: string;
|
|
1584
|
-
}>)[];
|
|
1585
|
-
}) | import("@angleprotocol/sdk/ts").StakeDAOCampaignParameters | import("@angleprotocol/sdk/ts").SymbioticVaultCampaignParameters | (import("@angleprotocol/sdk/ts").BaseCampaignParameters & {
|
|
1586
|
-
url?: string;
|
|
1587
|
-
token: string;
|
|
1588
|
-
}));
|
|
1589
|
-
amount: string;
|
|
1590
|
-
startTimestamp: number;
|
|
1591
|
-
type: string;
|
|
1592
|
-
computeChainId: number;
|
|
1593
|
-
distributionChainId: number;
|
|
1594
|
-
endTimestamp: number;
|
|
1595
|
-
campaignStatus?: import("../status/status.model").Status["model"] | undefined;
|
|
1596
|
-
chain: {
|
|
1597
|
-
name: string;
|
|
1598
|
-
endOfDisputePeriod: number;
|
|
1599
|
-
id: number;
|
|
1600
|
-
icon: string;
|
|
1601
|
-
liveCampaigns: number;
|
|
1602
|
-
} & {};
|
|
1603
|
-
Opportunity?: import("../opportunity/opportunity.model").OpportunityLight["model"] | undefined;
|
|
1604
|
-
distributionType: import("@package/databases").DistributionType;
|
|
1605
|
-
subType: number | null;
|
|
1606
|
-
rewardTokenId: string;
|
|
1607
|
-
opportunityId: string;
|
|
1608
|
-
dailyRewards?: number | undefined;
|
|
1609
|
-
creatorAddress: string;
|
|
1610
|
-
createdAt: string;
|
|
1611
|
-
rootCampaignId?: string | undefined;
|
|
1612
|
-
parentCampaignId?: string | undefined;
|
|
1613
|
-
distributionChain?: import("../chain/chain.model").Chain["model"] | undefined;
|
|
1614
|
-
childCampaignIds?: string[] | undefined;
|
|
1615
|
-
} | {
|
|
1616
|
-
id: string;
|
|
1617
|
-
chainId: number;
|
|
1618
|
-
type: string;
|
|
1619
|
-
identifier: string;
|
|
1620
|
-
name: string;
|
|
1621
|
-
status: "PAST" | "LIVE" | "SOON";
|
|
1622
|
-
action: any;
|
|
1623
|
-
tokens: ({
|
|
1624
|
-
symbol: string;
|
|
1625
|
-
name: string | null;
|
|
1626
|
-
decimals: number;
|
|
1627
|
-
address: string;
|
|
1628
|
-
id: string;
|
|
1629
|
-
chainId: number;
|
|
1630
|
-
type: import("@package/databases").TokenType;
|
|
1631
|
-
icon: string;
|
|
1632
|
-
isNative: boolean;
|
|
1633
|
-
isTest: boolean;
|
|
1634
|
-
verified: boolean;
|
|
1635
|
-
} & {
|
|
1636
|
-
price?: number | null | undefined;
|
|
1637
|
-
isTokenWrapper?: boolean | undefined;
|
|
1638
|
-
tokenWrapperAddress?: string | undefined;
|
|
1639
|
-
})[];
|
|
1640
|
-
mainProtocol: "splice" | "curve" | "morpho" | "compound" | "pendle" | "silo" | "reserve" | "gamma" | "vest" | "zero" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quickswap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "mimswap" | "ichi" | "ekubo" | "radiant" | "aave" | "fraxlend" | "ironclad" | "euler" | "gearbox" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "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" | "fluidvault" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
|
1641
|
-
description: string;
|
|
1642
|
-
howToSteps: string[];
|
|
1643
|
-
depositUrl: string | undefined;
|
|
1644
|
-
explorerAddress: string | undefined;
|
|
1645
|
-
tags: string[];
|
|
1646
|
-
} | {
|
|
1647
|
-
Tokens: {
|
|
1648
|
-
symbol: string;
|
|
1649
|
-
name: string | null;
|
|
1650
|
-
decimals: number;
|
|
1651
|
-
price: number | null;
|
|
1652
|
-
address: string;
|
|
1653
|
-
id: string;
|
|
1654
|
-
chainId: number;
|
|
1655
|
-
type: import("@package/databases").TokenType;
|
|
1656
|
-
icon: string;
|
|
1657
|
-
isNative: boolean;
|
|
1658
|
-
isTest: boolean;
|
|
1659
|
-
verified: boolean;
|
|
1660
|
-
displaySymbol: string;
|
|
1661
|
-
}[];
|
|
1662
|
-
Protocols: {
|
|
1663
|
-
name: string;
|
|
1664
|
-
description: string;
|
|
1665
|
-
id: string;
|
|
1666
|
-
url: string;
|
|
1667
|
-
icon: string;
|
|
1668
|
-
tags: string[];
|
|
1669
|
-
}[];
|
|
1670
|
-
name: string;
|
|
1671
|
-
apr: number;
|
|
1672
|
-
tvl: number;
|
|
1673
|
-
description: string;
|
|
1674
|
-
id: string;
|
|
1675
|
-
status: import("@package/databases").Status;
|
|
1676
|
-
chainId: number;
|
|
1677
|
-
action: import("@package/databases").OpportunityAction;
|
|
1678
|
-
type: string;
|
|
1679
|
-
depositUrl: string | null;
|
|
1680
|
-
dailyRewards: number;
|
|
1681
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
1682
|
-
identifier: string;
|
|
1683
|
-
howToSteps: string[];
|
|
1684
|
-
explorerAddress: string | null;
|
|
1685
|
-
mainProtocolId: string | null;
|
|
1686
|
-
tags: string[];
|
|
1687
|
-
lastCampaignCreatedAt: Date;
|
|
1688
|
-
};
|
|
1689
|
-
422: {
|
|
1690
|
-
type: "validation";
|
|
1691
|
-
on: string;
|
|
1692
|
-
summary?: string;
|
|
1693
|
-
message?: string;
|
|
1694
|
-
found?: unknown;
|
|
1695
|
-
property?: string;
|
|
1696
|
-
expected?: string;
|
|
1697
|
-
};
|
|
1698
|
-
};
|
|
1699
|
-
};
|
|
1700
|
-
};
|
|
1701
|
-
};
|
|
1702
|
-
};
|
|
1703
|
-
};
|
|
1704
|
-
}, {
|
|
1705
|
-
derive: {};
|
|
1706
|
-
resolve: {};
|
|
1707
|
-
schema: {};
|
|
1708
|
-
standaloneSchema: {};
|
|
1709
|
-
}, {
|
|
1710
|
-
derive: {};
|
|
1711
|
-
resolve: {};
|
|
1712
|
-
schema: {};
|
|
1713
|
-
standaloneSchema: {};
|
|
1714
|
-
}>;
|