@merkl/api 1.0.78 → 1.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/cache/declaration.d.ts +133 -0
- package/dist/src/cache/index.d.ts +61 -0
- package/dist/src/cache/redis.d.ts +23 -0
- package/dist/src/constants.d.ts +86 -0
- package/dist/src/eden/index.d.ts +19038 -0
- package/dist/src/eden/index.js +2 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/Ajna.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/Badger.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/Clamm.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/Compound.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/CompoundV3.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/Dolomite.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/ERC721.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/ERCMultiToken.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/EigenLayer.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/Encompassing.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +108 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20Snapshot.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/EventBased.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/Hyperdrive.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/Morpho.d.ts +9 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/Radiant.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/Silo.d.ts +9 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/UniswapV4.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/Vest.d.ts +9 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/default.d.ts +5 -0
- package/dist/src/engine/deprecated/dynamicData/utils/fetchA51Strategies.d.ts +18 -0
- package/dist/src/engine/deprecated/dynamicData/utils/fetchClamInfo.d.ts +2 -0
- package/dist/src/engine/deprecated/dynamicData/utils/fetchLogs.d.ts +14 -0
- package/dist/src/engine/deprecated/dynamicData/utils/getCompV2ForksVaults.d.ts +19 -0
- package/dist/src/engine/deprecated/dynamicData/utils/getContractCreationBlock.d.ts +2 -0
- package/dist/src/engine/deprecated/dynamicData/utils/getDolomiteMarkets.d.ts +8 -0
- package/dist/src/engine/deprecated/dynamicData/utils/getEulerV2Vaults.d.ts +7 -0
- package/dist/src/engine/deprecated/dynamicData/utils/getFixedApr.d.ts +8 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/GenericProcessor.d.ts +103 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/eulerVaultNames.d.ts +1 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/factoryFinder.d.ts +5 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/getBlacklistedSupply.d.ts +2 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/getCrossCurveTokenPrice.d.ts +1 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/hardcoded.d.ts +3 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/ownerFinder.d.ts +2 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/spliceTVL.d.ts +8 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/treasuryFinder.d.ts +2 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AaveProcessor.d.ts +30 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AnglesLiquid.d.ts +35 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AssetProcessor.d.ts +35 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/AuraProcessor.d.ts +107 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BEXRewardGaugeProcessor.d.ts +85 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BalancerGaugeProcessor.d.ts +75 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BalancerPoolProcessor.d.ts +88 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BalancerV3PoolProcessor.d.ts +44 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BeefyProcessor.d.ts +48 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/BunniV2Processor.d.ts +45 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/CompoundProcessor.d.ts +44 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/ERC4626Processor.d.ts +34 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/EnzymeProcessor.d.ts +40 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/EqualizerGaugeProcessor.d.ts +28 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/EulerBorrowProcessor.d.ts +36 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/EulerLendProcessor.d.ts +35 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/FluidProcessor.d.ts +39 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/FraxProcessor.d.ts +33 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/GammaALMProcessor.d.ts +30 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/GammaProcessor.d.ts +43 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/GearboxProcessor.d.ts +44 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/HanjiVaultProcessor.d.ts +43 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/HoldStationProcessor.d.ts +29 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/HourglassProcessor.d.ts +36 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/MaverickBPProcessor.d.ts +50 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/MetamorphoProcessor.d.ts +33 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/NoLinkVaultProcessor.d.ts +38 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/PendleProcessor.d.ts +29 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/PendleYTProcessor.d.ts +29 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/RadiantProcessor.d.ts +32 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/RfxProcessor.d.ts +40 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/Satlayer.d.ts +34 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/SpectraProcessor.d.ts +31 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/SpectraYTProcessor.d.ts +31 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/SpliceProcessor.d.ts +16 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/StabilityProcessor.d.ts +29 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/SturdySiloProcessor.d.ts +39 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/TempestVaultProcessor.d.ts +52 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/TemplateProcessor.d.ts +32 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/TorosProcessor.d.ts +30 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/UniswapProcessor.d.ts +44 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/VicunaProcessor.d.ts +28 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/WoofiProcessor.d.ts +32 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/ZkSwapThreePoolProcessor.d.ts +53 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/curveNPoolProcessor.d.ts +39 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/curveProcessor.d.ts +49 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/processorMapping.d.ts +4 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/stakedCurveProcessor.d.ts +54 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/xU308Processor.d.ts +38 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesPrices.d.ts +5 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound1.d.ts +4 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound2.d.ts +3 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound3.d.ts +3 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound4.d.ts +3 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/tokenTypeStruct.d.ts +7 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/tokenTypeToProtocolAndAction.d.ts +7 -0
- package/dist/src/engine/implementations/Aave/metadata.d.ts +35 -0
- package/dist/src/engine/implementations/Aave/tvl.d.ts +7 -0
- package/dist/src/engine/implementations/Ajna/metadata.d.ts +19 -0
- package/dist/src/engine/implementations/Ajna/tvl.d.ts +7 -0
- package/dist/src/engine/implementations/Ambient/metadata.d.ts +19 -0
- package/dist/src/engine/implementations/Ambient/tvl.d.ts +7 -0
- package/dist/src/engine/implementations/Badger/metadata.d.ts +19 -0
- package/dist/src/engine/implementations/Clamm/metadata.d.ts +45 -0
- package/dist/src/engine/implementations/Compound/metadata.d.ts +18 -0
- package/dist/src/engine/implementations/CompoundV3/metadata.d.ts +18 -0
- package/dist/src/engine/implementations/Default/metadata.d.ts +13 -0
- package/dist/src/engine/implementations/Dolomite/metadata.d.ts +18 -0
- package/dist/src/engine/implementations/EigenLayer/metadata.d.ts +17 -0
- package/dist/src/engine/implementations/EigenLayer/tvl.d.ts +7 -0
- package/dist/src/engine/implementations/Encompassing/metadata.d.ts +16 -0
- package/dist/src/engine/implementations/Erc20/metadata.d.ts +18 -0
- package/dist/src/engine/implementations/Erc20/subTypes/detect.d.ts +8 -0
- package/dist/src/engine/implementations/Erc20/subTypes/factories.d.ts +5 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/aave/metadata.d.ts +30 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/aave/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/bunni/metadata.d.ts +18 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/bunni/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/euler/metadata.d.ts +20 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/euler/tvl.d.ts +5 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/gamma/metadata.d.ts +18 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/gamma/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/gearbox/metadata.d.ts +17 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/gearbox/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/hypurrfiIsolatedMarket/metadata.d.ts +30 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/hypurrfiIsolatedMarket/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/lendleVaults/metadata.d.ts +16 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/lendleVaults/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/metamorpho/metadata.d.ts +18 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/metamorpho/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/metadata.d.ts +17 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/rooster/metadata.d.ts +18 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/rooster/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/spectra/metadata.d.ts +18 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/spectra/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmax/metadata.d.ts +17 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmax/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmaxVault/metadata.d.ts +18 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmaxVault/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/metadata.d.ts +31 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/mimswap/metadata.d.ts +30 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/mimswap/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +125 -0
- package/dist/src/engine/implementations/Erc20/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20Snapshot/metadata.d.ts +15 -0
- package/dist/src/engine/implementations/Erc721/metadata.d.ts +17 -0
- package/dist/src/engine/implementations/ErcMultiToken/metadata.d.ts +29 -0
- package/dist/src/engine/implementations/EventBased/metadata.d.ts +24 -0
- package/dist/src/engine/implementations/FraxLend/metadataBorrow.d.ts +24 -0
- package/dist/src/engine/implementations/FraxLend/metadataCollateral.d.ts +18 -0
- package/dist/src/engine/implementations/FraxLend/tvlBorrow.d.ts +7 -0
- package/dist/src/engine/implementations/FraxLend/tvlCollateral.d.ts +7 -0
- package/dist/src/engine/implementations/Hyperdrive/metadata.d.ts +20 -0
- package/dist/src/engine/implementations/Invalid/metadata.d.ts +11 -0
- package/dist/src/engine/implementations/Ion/metadata.d.ts +17 -0
- package/dist/src/engine/implementations/JsonAirdrop/metadata.d.ts +24 -0
- package/dist/src/engine/implementations/Locker/metadata.d.ts +24 -0
- package/dist/src/engine/implementations/Locker/tvl.d.ts +7 -0
- package/dist/src/engine/implementations/Morpho/metadata.d.ts +26 -0
- package/dist/src/engine/implementations/MultiLog/metadata.d.ts +8 -0
- package/dist/src/engine/implementations/MultiLog/tvl.d.ts +7 -0
- package/dist/src/engine/implementations/Radiant/metadata.d.ts +18 -0
- package/dist/src/engine/implementations/Silo/metadata.d.ts +18 -0
- package/dist/src/engine/implementations/SymbioticVault/metadata.d.ts +20 -0
- package/dist/src/engine/implementations/SymbioticVault/tvl.d.ts +7 -0
- package/dist/src/engine/implementations/UniswapV4/metadata.d.ts +20 -0
- package/dist/src/engine/implementations/UniswapV4/tvl.d.ts +7 -0
- package/dist/src/engine/implementations/Vest/metadata.d.ts +17 -0
- package/dist/src/engine/implementations/morphoBorrow/metadata.d.ts +21 -0
- package/dist/src/engine/implementations/morphoBorrow/tvl.d.ts +7 -0
- package/dist/src/engine/implementations/morphoBorrowSingleToken/metadata.d.ts +21 -0
- package/dist/src/engine/implementations/morphoCollateral/metadata.d.ts +21 -0
- package/dist/src/engine/implementations/morphoCollateral/tvl.d.ts +16 -0
- package/dist/src/engine/implementations/morphoCollateralSingleToken/metadata.d.ts +21 -0
- package/dist/src/engine/implementations/morphoCollateralSingleToken/tvl.d.ts +8 -0
- package/dist/src/engine/implementations/morphoSingleToken/tvl.d.ts +9 -0
- package/dist/src/engine/implementations/morphoSupply/metadata.d.ts +21 -0
- package/dist/src/engine/implementations/morphoSupply/tvl.d.ts +7 -0
- package/dist/src/engine/implementations/morphoSupplySingleToken/metadata.d.ts +21 -0
- package/dist/src/engine/implementations/morphoVault/metadata.d.ts +21 -0
- package/dist/src/engine/implementations/morphoVault/tvl.d.ts +7 -0
- package/dist/src/engine/metadata/factory.d.ts +3 -0
- package/dist/src/engine/tvl/factory.d.ts +6 -0
- package/dist/src/engine/tvl/logStates.d.ts +21 -0
- package/dist/src/errors/BadRequest.error.d.ts +4 -0
- package/dist/src/errors/Conflict.error.d.ts +4 -0
- package/dist/src/errors/HttpError.d.ts +11 -0
- package/dist/src/errors/InvalidParameter.error.d.ts +4 -0
- package/dist/src/errors/NotFound.error.d.ts +8 -0
- package/dist/src/errors/Opportunity.error.d.ts +6 -0
- package/dist/src/errors/UnableToFindPrice.error.d.ts +4 -0
- package/dist/src/errors/Unauthorized.error.d.ts +4 -0
- package/dist/src/errors/VoidString.error.d.ts +4 -0
- package/dist/src/errors/index.d.ts +6 -0
- package/dist/src/guards/BackOffice.guard.d.ts +7 -0
- package/dist/src/guards/Engine.guard.d.ts +7 -0
- package/dist/src/guards/TokenAuth.guard.d.ts +7 -0
- package/dist/src/guards/VerifyJwt.guard.d.ts +10 -0
- package/dist/src/hooks/checkQueryAddressValidity.d.ts +26 -0
- package/dist/src/hooks/checkQueryChainIdValidity.d.ts +26 -0
- package/dist/src/index.d.ts +10138 -0
- package/dist/src/jobs/pendings.d.ts +1 -0
- package/dist/src/jobs/prices.d.ts +1 -0
- package/dist/src/jobs/reward-breakdowns.d.ts +1 -0
- package/dist/src/jobs/rewards.d.ts +1 -0
- package/dist/src/jobs/set-dungeon-keeper.d.ts +1 -0
- package/dist/src/jobs/update-analytics.d.ts +1 -0
- package/dist/src/jobs/update-dynamic-data.d.ts +1 -0
- package/dist/src/jobs/update-euler-vaults.d.ts +1 -0
- package/dist/src/jobs/update-rpc-calls-cache.d.ts +1 -0
- package/dist/src/jobs/update-uniswap-v4-pools.d.ts +1 -0
- package/dist/src/jobs/update-v3-caches.d.ts +12 -0
- package/dist/src/libs/computeFee.d.ts +4 -0
- package/dist/src/libs/deprecated-merklv3/index.d.ts +5 -0
- package/dist/src/libs/getTokensList.d.ts +23 -0
- package/dist/src/libs/merklChainData.d.ts +4 -0
- package/dist/src/libs/parse/marketsWithCache.d.ts +4 -0
- package/dist/src/libs/positions/EigenLayer/index.d.ts +6 -0
- package/dist/src/libs/positions/ajna/index.d.ts +6 -0
- package/dist/src/libs/positions/badger/index.d.ts +6 -0
- package/dist/src/libs/positions/clamm/index.d.ts +7 -0
- package/dist/src/libs/positions/clamm/thegraph/fetchAlmPositions.d.ts +5 -0
- package/dist/src/libs/positions/clamm/thegraph/fetchAmmPositions.d.ts +8 -0
- package/dist/src/libs/positions/clamm/thegraph/fetchFarmedPositions.d.ts +10 -0
- package/dist/src/libs/positions/clamm/thegraph/index.d.ts +40 -0
- package/dist/src/libs/positions/compound/index.d.ts +24 -0
- package/dist/src/libs/positions/dolomite/index.d.ts +17 -0
- package/dist/src/libs/positions/erc20/index.d.ts +5 -0
- package/dist/src/libs/positions/euler/index.d.ts +5 -0
- package/dist/src/libs/positions/index.d.ts +3 -0
- package/dist/src/libs/positions/morpho/index.d.ts +6 -0
- package/dist/src/libs/positions/prepareFetch.d.ts +22 -0
- package/dist/src/libs/positions/silo/index.d.ts +5 -0
- package/dist/src/libs/positions/types.d.ts +75 -0
- package/dist/src/libs/staticCampaigns.d.ts +7 -0
- package/dist/src/libs/tokens/allowances.d.ts +1 -0
- package/dist/src/libs/tokens/balances.d.ts +11 -0
- package/dist/src/libs/tokens/tokenInfo.d.ts +8 -0
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +284 -0
- package/dist/src/modules/v4/accounting/accounting.model.d.ts +32 -0
- package/dist/src/modules/v4/accounting/accounting.repository.d.ts +99 -0
- package/dist/src/modules/v4/accounting/accounting.service.d.ts +59 -0
- package/dist/src/modules/v4/airflow/airflow.service.d.ts +3 -0
- package/dist/src/modules/v4/apr/apr.model.d.ts +54 -0
- package/dist/src/modules/v4/apr/apr.service.d.ts +9 -0
- package/dist/src/modules/v4/authentication/authentication.controller.d.ts +74 -0
- package/dist/src/modules/v4/authentication/authentication.model.d.ts +10 -0
- package/dist/src/modules/v4/authentication/authentication.service.d.ts +10 -0
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +150 -0
- package/dist/src/modules/v4/blacklist/blacklist.model.d.ts +20 -0
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +21 -0
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +24 -0
- package/dist/src/modules/v4/boost/boost.controller.d.ts +110 -0
- package/dist/src/modules/v4/boost/boost.model.d.ts +12 -0
- package/dist/src/modules/v4/boost/boost.service.d.ts +11 -0
- package/dist/src/modules/v4/bucket/bucket.model.d.ts +10 -0
- package/dist/src/modules/v4/bucket/bucket.service.d.ts +14 -0
- package/dist/src/modules/v4/cache/cache.model.d.ts +13 -0
- package/dist/src/modules/v4/cache/cache.repository.d.ts +8 -0
- package/dist/src/modules/v4/cache/cache.service.d.ts +12 -0
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +1008 -0
- package/dist/src/modules/v4/campaign/campaign.convertor.d.ts +9 -0
- package/dist/src/modules/v4/campaign/campaign.formatter.d.ts +6 -0
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +227 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +999 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +405 -0
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +566 -0
- package/dist/src/modules/v4/chain/chain.controller.d.ts +194 -0
- package/dist/src/modules/v4/chain/chain.model.d.ts +52 -0
- package/dist/src/modules/v4/chain/chain.repository.d.ts +104 -0
- package/dist/src/modules/v4/chain/chain.service.d.ts +83 -0
- package/dist/src/modules/v4/chainInteraction/chainInteraction.service.d.ts +2 -0
- package/dist/src/modules/v4/claims/claims.controller.d.ts +55 -0
- package/dist/src/modules/v4/claims/claims.model.d.ts +9 -0
- package/dist/src/modules/v4/claims/claims.repository.d.ts +5 -0
- package/dist/src/modules/v4/claims/claims.service.d.ts +9 -0
- package/dist/src/modules/v4/coingecko/coingecko.model.d.ts +0 -0
- package/dist/src/modules/v4/coingecko/coingecko.repository.d.ts +14 -0
- package/dist/src/modules/v4/coingecko/coingecko.service.d.ts +16 -0
- package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +164 -0
- package/dist/src/modules/v4/computedValue/computedValue.model.d.ts +27 -0
- package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +21 -0
- package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +22 -0
- package/dist/src/modules/v4/creator/creator.controller.d.ts +456 -0
- package/dist/src/modules/v4/creator/creator.model.d.ts +59 -0
- package/dist/src/modules/v4/creator/creator.repository.d.ts +97 -0
- package/dist/src/modules/v4/creator/creator.service.d.ts +192 -0
- package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +20 -0
- package/dist/src/modules/v4/enso/enso.model.d.ts +166 -0
- package/dist/src/modules/v4/enso/enso.service.d.ts +69 -0
- package/dist/src/modules/v4/explorer/explorer.controller.d.ts +58 -0
- package/dist/src/modules/v4/explorer/explorer.model.d.ts +16 -0
- package/dist/src/modules/v4/explorer/explorer.repository.d.ts +21 -0
- package/dist/src/modules/v4/explorer/explorer.service.d.ts +28 -0
- package/dist/src/modules/v4/icon/icon.model.d.ts +4 -0
- package/dist/src/modules/v4/icon/icon.service.d.ts +5 -0
- package/dist/src/modules/v4/interaction/interaction.controller.d.ts +128 -0
- package/dist/src/modules/v4/interaction/interaction.model.d.ts +110 -0
- package/dist/src/modules/v4/interaction/interaction.service.d.ts +38 -0
- package/dist/src/modules/v4/kyberzap/kyberzap.model.d.ts +114 -0
- package/dist/src/modules/v4/kyberzap/kyberzap.service.d.ts +34 -0
- package/dist/src/modules/v4/liquidity/implementations/AjnaPositionFetcher.d.ts +6 -0
- package/dist/src/modules/v4/liquidity/implementations/BadgerPositionFetcher.d.ts +6 -0
- package/dist/src/modules/v4/liquidity/implementations/ClammPositionFetcher.d.ts +6 -0
- package/dist/src/modules/v4/liquidity/implementations/DolomitePositionFetcher.d.ts +6 -0
- package/dist/src/modules/v4/liquidity/implementations/ERC20PositionFetcher.d.ts +6 -0
- package/dist/src/modules/v4/liquidity/implementations/EulerPositionFetcher.d.ts +6 -0
- package/dist/src/modules/v4/liquidity/liquidity.controller.d.ts +50 -0
- package/dist/src/modules/v4/liquidity/liquidity.model.d.ts +25 -0
- package/dist/src/modules/v4/liquidity/liquidity.repository.d.ts +14 -0
- package/dist/src/modules/v4/liquidity/liquidity.service.d.ts +5 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +113 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.model.d.ts +13 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +23 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +44 -0
- package/dist/src/modules/v4/node/node.controller.d.ts +65 -0
- package/dist/src/modules/v4/node/node.model.d.ts +27 -0
- package/dist/src/modules/v4/node/node.repository.d.ts +31 -0
- package/dist/src/modules/v4/node/node.service.d.ts +27 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +1381 -0
- package/dist/src/modules/v4/opportunity/opportunity.converter.d.ts +131 -0
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +174 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +499 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +1052 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +704 -0
- package/dist/src/modules/v4/opportunity/transform-id.pipe.d.ts +5 -0
- package/dist/src/modules/v4/opportunity/validate-id.pipe.d.ts +5 -0
- package/dist/src/modules/v4/parse/parse.controller.d.ts +64 -0
- package/dist/src/modules/v4/parse/parse.model.d.ts +10 -0
- package/dist/src/modules/v4/payload/payload.controller.d.ts +127 -0
- package/dist/src/modules/v4/payload/payload.model.d.ts +309 -0
- package/dist/src/modules/v4/payload/payload.service.d.ts +27 -0
- package/dist/src/modules/v4/price/price.controller.d.ts +267 -0
- package/dist/src/modules/v4/price/price.model.d.ts +38 -0
- package/dist/src/modules/v4/price/price.repository.d.ts +41 -0
- package/dist/src/modules/v4/price/price.service.d.ts +51 -0
- package/dist/src/modules/v4/prisma/index.d.ts +54 -0
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +1190 -0
- package/dist/src/modules/v4/programPayload/programPayload.model.d.ts +334 -0
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +3237 -0
- package/dist/src/modules/v4/programPayload/programPayload.service.d.ts +50 -0
- package/dist/src/modules/v4/programPayload/subPayloads/hypurrFi.d.ts +72 -0
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +290 -0
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +107 -0
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +89 -0
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +35 -0
- package/dist/src/modules/v4/referral/referral.controller.d.ts +104 -0
- package/dist/src/modules/v4/referral/referral.model.d.ts +10 -0
- package/dist/src/modules/v4/referral/referral.service.d.ts +216 -0
- package/dist/src/modules/v4/reward/reward.controller.d.ts +598 -0
- package/dist/src/modules/v4/reward/reward.converter.d.ts +14 -0
- package/dist/src/modules/v4/reward/reward.model.d.ts +260 -0
- package/dist/src/modules/v4/reward/reward.repository.d.ts +174 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +753 -0
- package/dist/src/modules/v4/router.d.ts +8568 -0
- package/dist/src/modules/v4/status/status.controller.d.ts +303 -0
- package/dist/src/modules/v4/status/status.model.d.ts +63 -0
- package/dist/src/modules/v4/status/status.repository.d.ts +104 -0
- package/dist/src/modules/v4/status/status.service.d.ts +89 -0
- package/dist/src/modules/v4/token/token.controller.d.ts +499 -0
- package/dist/src/modules/v4/token/token.model.d.ts +125 -0
- package/dist/src/modules/v4/token/token.repository.d.ts +138 -0
- package/dist/src/modules/v4/token/token.service.d.ts +361 -0
- package/dist/src/modules/v4/tracer/tracer.service.d.ts +3 -0
- package/dist/src/modules/v4/turtle/turtle.controller.d.ts +81 -0
- package/dist/src/modules/v4/turtle/turtle.repository.d.ts +14 -0
- package/dist/src/modules/v4/turtle/turtle.service.d.ts +17 -0
- package/dist/src/modules/v4/tvl/tvl.model.d.ts +35 -0
- package/dist/src/modules/v4/tvl/tvl.service.d.ts +9 -0
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +480 -0
- package/dist/src/modules/v4/uniswap/uniswap.model.d.ts +55 -0
- package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +24 -0
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +21 -0
- package/dist/src/modules/v4/user/user.controller.d.ts +445 -0
- package/dist/src/modules/v4/user/user.model.d.ts +85 -0
- package/dist/src/modules/v4/user/user.repository.d.ts +34 -0
- package/dist/src/modules/v4/user/user.service.d.ts +37 -0
- package/dist/src/plugins/errorHandler.d.ts +33 -0
- package/dist/src/routes/v1/allowances.d.ts +80 -0
- package/dist/src/routes/v1/balances.d.ts +63 -0
- package/dist/src/routes/v1/prices.d.ts +55 -0
- package/dist/src/routes/v1/router.d.ts +142 -0
- package/dist/src/routes/v1/tokens.d.ts +58 -0
- package/dist/src/routes/v2/merkl.d.ts +92 -0
- package/dist/src/routes/v2/router.d.ts +83 -0
- package/dist/src/routes/v3/app.d.ts +61 -0
- package/dist/src/routes/v3/blacklist.d.ts +58 -0
- package/dist/src/routes/v3/campaign/delay.d.ts +60 -0
- package/dist/src/routes/v3/campaignClaims.d.ts +61 -0
- package/dist/src/routes/v3/campaignUnclaimed.d.ts +60 -0
- package/dist/src/routes/v3/campaigns.d.ts +71 -0
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +67 -0
- package/dist/src/routes/v3/campaignsRewardsReport.d.ts +60 -0
- package/dist/src/routes/v3/claims.d.ts +61 -0
- package/dist/src/routes/v3/compoundV2.d.ts +55 -0
- package/dist/src/routes/v3/createCampaign.d.ts +60 -0
- package/dist/src/routes/v3/dolomite.d.ts +59 -0
- package/dist/src/routes/v3/euler.d.ts +114 -0
- package/dist/src/routes/v3/fetch.d.ts +59 -0
- package/dist/src/routes/v3/health.d.ts +54 -0
- package/dist/src/routes/v3/lostyield.d.ts +66 -0
- package/dist/src/routes/v3/merkl.d.ts +116 -0
- package/dist/src/routes/v3/morphoMarkets.d.ts +75 -0
- package/dist/src/routes/v3/morphoVaults.d.ts +65 -0
- package/dist/src/routes/v3/multiChainPositions.d.ts +58 -0
- package/dist/src/routes/v3/opportunity.d.ts +127 -0
- package/dist/src/routes/v3/overview.d.ts +91 -0
- package/dist/src/routes/v3/parse.d.ts +60 -0
- package/dist/src/routes/v3/payload.d.ts +71 -0
- package/dist/src/routes/v3/poolInfo.d.ts +62 -0
- package/dist/src/routes/v3/positions.d.ts +75 -0
- package/dist/src/routes/v3/radiant.d.ts +69 -0
- package/dist/src/routes/v3/recipients.d.ts +59 -0
- package/dist/src/routes/v3/rewards.d.ts +86 -0
- package/dist/src/routes/v3/rewardsReport.d.ts +69 -0
- package/dist/src/routes/v3/router.d.ts +1403 -0
- package/dist/src/routes/v3/silo.d.ts +66 -0
- package/dist/src/routes/v3/token.d.ts +64 -0
- package/dist/src/routes/v3/twt/participants.d.ts +52 -0
- package/dist/src/routes/v3/uniswapv4.d.ts +252 -0
- package/dist/src/routes/v3/updates.d.ts +66 -0
- package/dist/src/routes/v3/userRewards.d.ts +82 -0
- package/dist/src/scripts/fill-coingecko-data.d.ts +1 -0
- package/dist/src/scripts/fill-descriptions.d.ts +1 -0
- package/dist/src/scripts/fill-unknown-tokens.d.ts +1 -0
- package/dist/src/scripts/reparse-opportunities.d.ts +1 -0
- package/dist/src/types/external/spectraAPI.d.ts +88 -0
- package/dist/src/types/index.d.ts +17 -0
- package/dist/src/utils/TailSampler.d.ts +8 -0
- package/dist/src/utils/bigintToString.d.ts +1 -0
- package/dist/src/utils/caseChanges.d.ts +4 -0
- package/dist/src/utils/decodeCalls.d.ts +3 -0
- package/dist/src/utils/encodeCalls.d.ts +3 -0
- package/dist/src/utils/error.d.ts +70 -0
- package/dist/src/utils/execute.d.ts +22 -0
- package/dist/src/utils/generateCardName.d.ts +6 -0
- package/dist/src/utils/generic.d.ts +7 -0
- package/dist/src/utils/hashArray.d.ts +2 -0
- package/dist/src/utils/lastBlockBefore.d.ts +3 -0
- package/dist/src/utils/logger.d.ts +54 -0
- package/dist/src/utils/pagination.d.ts +11 -0
- package/dist/src/utils/parseDistributionType.d.ts +1 -0
- package/dist/src/utils/pricer.d.ts +57 -0
- package/dist/src/utils/prices/chainlinkRead.d.ts +4 -0
- package/dist/src/utils/prices/curveVirtualPrice.d.ts +4 -0
- package/dist/src/utils/prices/getDQUICK.d.ts +4 -0
- package/dist/src/utils/prices/priceFetcherFactory.d.ts +10 -0
- package/dist/src/utils/prices/priceService.d.ts +13 -0
- package/dist/src/utils/prices/services/OnChainCallService.d.ts +8 -0
- package/dist/src/utils/prices/services/coinGeckoService.d.ts +12 -0
- package/dist/src/utils/prices/services/defillamaService.d.ts +12 -0
- package/dist/src/utils/prices/services/dexScreenerService.d.ts +12 -0
- package/dist/src/utils/prices/services/erc4626Service.d.ts +9 -0
- package/dist/src/utils/prices/services/getERC4626.d.ts +4 -0
- package/dist/src/utils/prices/services/indexCoopService.d.ts +12 -0
- package/dist/src/utils/prices/services/priceFetcher.d.ts +8 -0
- package/dist/src/utils/prices/services/uniswapV2PriceService.d.ts +8 -0
- package/dist/src/utils/prices/uniV2Price.d.ts +7 -0
- package/dist/src/utils/providers.d.ts +128 -0
- package/dist/src/utils/queries/allCampaigns.d.ts +1 -0
- package/dist/src/utils/sanitizeChain.d.ts +2 -0
- package/dist/src/utils/stryke.d.ts +2 -0
- package/dist/src/utils/throw.d.ts +22 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -0,0 +1,1008 @@
|
|
1
|
+
import Elysia from "elysia";
|
2
|
+
export declare const CampaignController: 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
|
+
engine: {
|
19
|
+
post: {
|
20
|
+
body: {
|
21
|
+
subType?: number | undefined;
|
22
|
+
rootCampaignId?: string | undefined;
|
23
|
+
parentCampaignId?: string | undefined;
|
24
|
+
identifier?: string | undefined;
|
25
|
+
tags?: string[] | undefined;
|
26
|
+
campaignId: string;
|
27
|
+
creator: string;
|
28
|
+
params: string;
|
29
|
+
amount: string;
|
30
|
+
chainId: number;
|
31
|
+
startTimestamp: string;
|
32
|
+
rewardTokenAddress: string;
|
33
|
+
type: number;
|
34
|
+
computeChainId: number;
|
35
|
+
endTimestamp: string;
|
36
|
+
opportunityIdentifier: string;
|
37
|
+
};
|
38
|
+
params: {};
|
39
|
+
query: unknown;
|
40
|
+
headers: {
|
41
|
+
authorization: string;
|
42
|
+
};
|
43
|
+
response: {
|
44
|
+
200: {
|
45
|
+
campaignId: string;
|
46
|
+
description: string | null;
|
47
|
+
id: string;
|
48
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
49
|
+
amount: string;
|
50
|
+
startTimestamp: bigint;
|
51
|
+
type: string;
|
52
|
+
computeChainId: number;
|
53
|
+
distributionChainId: number;
|
54
|
+
endTimestamp: bigint;
|
55
|
+
distributionType: import("@package/databases").DistributionType;
|
56
|
+
subType: number | null;
|
57
|
+
rewardTokenId: string;
|
58
|
+
opportunityId: string;
|
59
|
+
creatorAddress: string;
|
60
|
+
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
61
|
+
createdAt: Date;
|
62
|
+
rootCampaignId: string | null;
|
63
|
+
parentCampaignId: string | null;
|
64
|
+
} | {
|
65
|
+
id: string;
|
66
|
+
chainId: number;
|
67
|
+
type: string;
|
68
|
+
identifier: string;
|
69
|
+
name: string;
|
70
|
+
status: "PAST" | "LIVE" | "SOON";
|
71
|
+
action: any;
|
72
|
+
tokens: ({
|
73
|
+
symbol: string;
|
74
|
+
name: string | null;
|
75
|
+
decimals: number;
|
76
|
+
address: string;
|
77
|
+
id: string;
|
78
|
+
chainId: number;
|
79
|
+
icon: string;
|
80
|
+
isNative: boolean;
|
81
|
+
isPoint: boolean;
|
82
|
+
isPreTGE: boolean;
|
83
|
+
isTest: boolean;
|
84
|
+
verified: boolean;
|
85
|
+
} & {
|
86
|
+
price?: number | null | undefined;
|
87
|
+
isTokenWrapper?: boolean | undefined;
|
88
|
+
tokenWrapperAddress?: string | undefined;
|
89
|
+
})[];
|
90
|
+
mainProtocol: "splice" | "curve" | "morpho" | "compound" | "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" | "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" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
91
|
+
description: string;
|
92
|
+
howToSteps: string[];
|
93
|
+
depositUrl: string | undefined;
|
94
|
+
explorerAddress: string | undefined;
|
95
|
+
tags: string[];
|
96
|
+
} | {
|
97
|
+
Tokens: {
|
98
|
+
symbol: string;
|
99
|
+
name: string | null;
|
100
|
+
decimals: number;
|
101
|
+
price: number | null;
|
102
|
+
address: string;
|
103
|
+
id: string;
|
104
|
+
chainId: number;
|
105
|
+
icon: string;
|
106
|
+
isNative: boolean;
|
107
|
+
isPoint: boolean;
|
108
|
+
isPreTGE: boolean;
|
109
|
+
isTest: boolean;
|
110
|
+
verified: boolean;
|
111
|
+
displaySymbol: string;
|
112
|
+
}[];
|
113
|
+
Protocols: {
|
114
|
+
name: string;
|
115
|
+
description: string;
|
116
|
+
id: string;
|
117
|
+
url: string;
|
118
|
+
icon: string;
|
119
|
+
tags: string[];
|
120
|
+
}[];
|
121
|
+
name: string;
|
122
|
+
apr: number;
|
123
|
+
tvl: number;
|
124
|
+
description: string;
|
125
|
+
id: string;
|
126
|
+
status: import("@package/databases").Status;
|
127
|
+
chainId: number;
|
128
|
+
action: import("@package/databases").OpportunityAction;
|
129
|
+
type: string;
|
130
|
+
depositUrl: string | null;
|
131
|
+
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
132
|
+
identifier: string;
|
133
|
+
howToSteps: string[];
|
134
|
+
explorerAddress: string | null;
|
135
|
+
mainProtocolId: string | null;
|
136
|
+
dailyRewards: number;
|
137
|
+
tags: string[];
|
138
|
+
lastCampaignCreatedAt: Date;
|
139
|
+
} | undefined;
|
140
|
+
422: {
|
141
|
+
type: "validation";
|
142
|
+
on: string;
|
143
|
+
summary?: string;
|
144
|
+
message?: string;
|
145
|
+
found?: unknown;
|
146
|
+
property?: string;
|
147
|
+
expected?: string;
|
148
|
+
};
|
149
|
+
};
|
150
|
+
};
|
151
|
+
};
|
152
|
+
} & {
|
153
|
+
":id": {
|
154
|
+
get: {
|
155
|
+
body: unknown;
|
156
|
+
params: {
|
157
|
+
id: string;
|
158
|
+
};
|
159
|
+
query: unknown;
|
160
|
+
headers: unknown;
|
161
|
+
response: {
|
162
|
+
200: {
|
163
|
+
description?: string | undefined;
|
164
|
+
creator?: {
|
165
|
+
tags?: string[] | undefined;
|
166
|
+
creatorId?: string | null | undefined;
|
167
|
+
address: string;
|
168
|
+
} | undefined;
|
169
|
+
campaignStatus?: {
|
170
|
+
error?: string | undefined;
|
171
|
+
details?: any;
|
172
|
+
status: string;
|
173
|
+
computedUntil: string | number;
|
174
|
+
processingStarted: string | number;
|
175
|
+
} | undefined;
|
176
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
177
|
+
rootCampaignId?: string | undefined;
|
178
|
+
parentCampaignId?: string | undefined;
|
179
|
+
distributionChain?: {
|
180
|
+
explorers?: {
|
181
|
+
chainId: number;
|
182
|
+
type: "ETHERSCAN" | "BLOCKSCOUT";
|
183
|
+
url: string;
|
184
|
+
}[] | undefined;
|
185
|
+
name: string;
|
186
|
+
id: number;
|
187
|
+
icon: string;
|
188
|
+
} | undefined;
|
189
|
+
rewardToken: {
|
190
|
+
price?: number | null | undefined;
|
191
|
+
symbol: string;
|
192
|
+
name: string | null;
|
193
|
+
decimals: number;
|
194
|
+
address: string;
|
195
|
+
id: string;
|
196
|
+
chainId: number;
|
197
|
+
icon: string;
|
198
|
+
isNative: boolean;
|
199
|
+
isPoint: boolean;
|
200
|
+
isPreTGE: boolean;
|
201
|
+
isTest: boolean;
|
202
|
+
verified: boolean;
|
203
|
+
};
|
204
|
+
campaignId: string;
|
205
|
+
id: string;
|
206
|
+
params: any;
|
207
|
+
amount: string;
|
208
|
+
startTimestamp: string | number;
|
209
|
+
type: string;
|
210
|
+
computeChainId: number;
|
211
|
+
distributionChainId: number;
|
212
|
+
endTimestamp: string | number;
|
213
|
+
chain: {
|
214
|
+
explorers?: {
|
215
|
+
chainId: number;
|
216
|
+
type: "ETHERSCAN" | "BLOCKSCOUT";
|
217
|
+
url: string;
|
218
|
+
}[] | undefined;
|
219
|
+
name: string;
|
220
|
+
id: number;
|
221
|
+
icon: string;
|
222
|
+
};
|
223
|
+
subType: number | null;
|
224
|
+
creatorAddress: string;
|
225
|
+
createdAt: string;
|
226
|
+
};
|
227
|
+
422: {
|
228
|
+
type: "validation";
|
229
|
+
on: string;
|
230
|
+
summary?: string;
|
231
|
+
message?: string;
|
232
|
+
found?: unknown;
|
233
|
+
property?: string;
|
234
|
+
expected?: string;
|
235
|
+
};
|
236
|
+
};
|
237
|
+
};
|
238
|
+
};
|
239
|
+
} & {
|
240
|
+
":id": {
|
241
|
+
metrics: {
|
242
|
+
get: {
|
243
|
+
body: unknown;
|
244
|
+
params: {
|
245
|
+
id: string;
|
246
|
+
};
|
247
|
+
query: unknown;
|
248
|
+
headers: unknown;
|
249
|
+
response: {
|
250
|
+
200: {
|
251
|
+
tvlRecords: {
|
252
|
+
timestamp: bigint;
|
253
|
+
total: number;
|
254
|
+
}[];
|
255
|
+
aprRecords: {
|
256
|
+
timestamp: bigint;
|
257
|
+
apr: number;
|
258
|
+
}[];
|
259
|
+
dailyRewardsRecords: {
|
260
|
+
timestamp: bigint;
|
261
|
+
total: number;
|
262
|
+
}[];
|
263
|
+
walletCount: {
|
264
|
+
timestamp: bigint;
|
265
|
+
walletCount: number;
|
266
|
+
}[];
|
267
|
+
tvlInflowPerDollar: number;
|
268
|
+
};
|
269
|
+
422: {
|
270
|
+
type: "validation";
|
271
|
+
on: string;
|
272
|
+
summary?: string;
|
273
|
+
message?: string;
|
274
|
+
found?: unknown;
|
275
|
+
property?: string;
|
276
|
+
expected?: string;
|
277
|
+
};
|
278
|
+
};
|
279
|
+
};
|
280
|
+
};
|
281
|
+
};
|
282
|
+
} & {
|
283
|
+
"campaigns-to-process": {
|
284
|
+
engine: {
|
285
|
+
post: {
|
286
|
+
body: unknown;
|
287
|
+
params: {};
|
288
|
+
query: {
|
289
|
+
chainId: number;
|
290
|
+
};
|
291
|
+
headers: {
|
292
|
+
authorization: string;
|
293
|
+
};
|
294
|
+
response: {
|
295
|
+
200: {
|
296
|
+
campaignId: string;
|
297
|
+
};
|
298
|
+
422: {
|
299
|
+
type: "validation";
|
300
|
+
on: string;
|
301
|
+
summary?: string;
|
302
|
+
message?: string;
|
303
|
+
found?: unknown;
|
304
|
+
property?: string;
|
305
|
+
expected?: string;
|
306
|
+
};
|
307
|
+
};
|
308
|
+
};
|
309
|
+
};
|
310
|
+
};
|
311
|
+
} & {
|
312
|
+
"campaigns-to-process": {
|
313
|
+
get: {
|
314
|
+
body: unknown;
|
315
|
+
params: {};
|
316
|
+
query: {
|
317
|
+
chainId: number;
|
318
|
+
};
|
319
|
+
headers: unknown;
|
320
|
+
response: {
|
321
|
+
200: {
|
322
|
+
campaignId: string;
|
323
|
+
endTimestamp: bigint;
|
324
|
+
CampaignStatus: {
|
325
|
+
status: import("@package/databases").RunStatus;
|
326
|
+
computedUntil: bigint;
|
327
|
+
processingStarted: bigint;
|
328
|
+
}[];
|
329
|
+
}[];
|
330
|
+
422: {
|
331
|
+
type: "validation";
|
332
|
+
on: string;
|
333
|
+
summary?: string;
|
334
|
+
message?: string;
|
335
|
+
found?: unknown;
|
336
|
+
property?: string;
|
337
|
+
expected?: string;
|
338
|
+
};
|
339
|
+
};
|
340
|
+
};
|
341
|
+
};
|
342
|
+
} & {
|
343
|
+
"campaigns-to-process": {
|
344
|
+
count: {
|
345
|
+
get: {
|
346
|
+
body: unknown;
|
347
|
+
params: {};
|
348
|
+
query: {
|
349
|
+
chainId: number;
|
350
|
+
};
|
351
|
+
headers: unknown;
|
352
|
+
response: {
|
353
|
+
200: number;
|
354
|
+
422: {
|
355
|
+
type: "validation";
|
356
|
+
on: string;
|
357
|
+
summary?: string;
|
358
|
+
message?: string;
|
359
|
+
found?: unknown;
|
360
|
+
property?: string;
|
361
|
+
expected?: string;
|
362
|
+
};
|
363
|
+
};
|
364
|
+
};
|
365
|
+
};
|
366
|
+
};
|
367
|
+
} & {
|
368
|
+
"campaigns-to-process": {
|
369
|
+
next: {
|
370
|
+
get: {
|
371
|
+
body: unknown;
|
372
|
+
params: {};
|
373
|
+
query: {
|
374
|
+
chainId: number;
|
375
|
+
};
|
376
|
+
headers: unknown;
|
377
|
+
response: {
|
378
|
+
200: {
|
379
|
+
campaignId: string;
|
380
|
+
};
|
381
|
+
422: {
|
382
|
+
type: "validation";
|
383
|
+
on: string;
|
384
|
+
summary?: string;
|
385
|
+
message?: string;
|
386
|
+
found?: unknown;
|
387
|
+
property?: string;
|
388
|
+
expected?: string;
|
389
|
+
};
|
390
|
+
};
|
391
|
+
};
|
392
|
+
};
|
393
|
+
};
|
394
|
+
} & {
|
395
|
+
tx: {
|
396
|
+
get: {
|
397
|
+
body: unknown;
|
398
|
+
params: {};
|
399
|
+
query: {
|
400
|
+
chainId: number;
|
401
|
+
hash: string;
|
402
|
+
};
|
403
|
+
headers: unknown;
|
404
|
+
response: {
|
405
|
+
200: string[];
|
406
|
+
422: {
|
407
|
+
type: "validation";
|
408
|
+
on: string;
|
409
|
+
summary?: string;
|
410
|
+
message?: string;
|
411
|
+
found?: unknown;
|
412
|
+
property?: string;
|
413
|
+
expected?: string;
|
414
|
+
};
|
415
|
+
};
|
416
|
+
};
|
417
|
+
};
|
418
|
+
} & {
|
419
|
+
get: {
|
420
|
+
body: unknown;
|
421
|
+
params: {};
|
422
|
+
query: {
|
423
|
+
campaignId?: string | undefined;
|
424
|
+
id?: string | undefined;
|
425
|
+
tokenAddress?: string | undefined;
|
426
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
427
|
+
chainId?: number | undefined;
|
428
|
+
startTimestamp?: string | undefined;
|
429
|
+
items?: number | undefined;
|
430
|
+
point?: boolean | undefined;
|
431
|
+
tokenSymbol?: string | undefined;
|
432
|
+
type?: string | undefined;
|
433
|
+
endTimestamp?: string | undefined;
|
434
|
+
subType?: number | undefined;
|
435
|
+
opportunityId?: string | undefined;
|
436
|
+
creatorAddress?: string | undefined;
|
437
|
+
rootCampaignId?: string | undefined;
|
438
|
+
parentCampaignId?: string | undefined;
|
439
|
+
mainProtocolId?: string | undefined;
|
440
|
+
creatorId?: string | undefined;
|
441
|
+
mainParameter?: string | undefined;
|
442
|
+
test?: boolean | undefined;
|
443
|
+
page?: number | undefined;
|
444
|
+
creatorTag?: string | undefined;
|
445
|
+
distributionChainIds?: number[] | undefined;
|
446
|
+
types?: string[] | undefined;
|
447
|
+
withOpportunity?: boolean | undefined;
|
448
|
+
createdAfter?: Date | null | undefined;
|
449
|
+
excludeSubCampaigns?: boolean | undefined;
|
450
|
+
};
|
451
|
+
headers: unknown;
|
452
|
+
response: {
|
453
|
+
200: {
|
454
|
+
description?: string | undefined;
|
455
|
+
creator?: {
|
456
|
+
tags?: string[] | undefined;
|
457
|
+
creatorId?: string | null | undefined;
|
458
|
+
address: string;
|
459
|
+
} | undefined;
|
460
|
+
campaignStatus?: {
|
461
|
+
error?: string | undefined;
|
462
|
+
details?: any;
|
463
|
+
status: string;
|
464
|
+
computedUntil: string | number;
|
465
|
+
processingStarted: string | number;
|
466
|
+
} | undefined;
|
467
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
468
|
+
rootCampaignId?: string | undefined;
|
469
|
+
parentCampaignId?: string | undefined;
|
470
|
+
distributionChain?: {
|
471
|
+
explorers?: {
|
472
|
+
chainId: number;
|
473
|
+
type: "ETHERSCAN" | "BLOCKSCOUT";
|
474
|
+
url: string;
|
475
|
+
}[] | undefined;
|
476
|
+
name: string;
|
477
|
+
id: number;
|
478
|
+
icon: string;
|
479
|
+
} | undefined;
|
480
|
+
rewardToken: {
|
481
|
+
price?: number | null | undefined;
|
482
|
+
symbol: string;
|
483
|
+
name: string | null;
|
484
|
+
decimals: number;
|
485
|
+
address: string;
|
486
|
+
id: string;
|
487
|
+
chainId: number;
|
488
|
+
icon: string;
|
489
|
+
isNative: boolean;
|
490
|
+
isPoint: boolean;
|
491
|
+
isPreTGE: boolean;
|
492
|
+
isTest: boolean;
|
493
|
+
verified: boolean;
|
494
|
+
};
|
495
|
+
campaignId: string;
|
496
|
+
id: string;
|
497
|
+
params: any;
|
498
|
+
amount: string;
|
499
|
+
startTimestamp: string | number;
|
500
|
+
type: string;
|
501
|
+
computeChainId: number;
|
502
|
+
distributionChainId: number;
|
503
|
+
endTimestamp: string | number;
|
504
|
+
chain: {
|
505
|
+
explorers?: {
|
506
|
+
chainId: number;
|
507
|
+
type: "ETHERSCAN" | "BLOCKSCOUT";
|
508
|
+
url: string;
|
509
|
+
}[] | undefined;
|
510
|
+
name: string;
|
511
|
+
id: number;
|
512
|
+
icon: string;
|
513
|
+
};
|
514
|
+
subType: number | null;
|
515
|
+
creatorAddress: string;
|
516
|
+
createdAt: string;
|
517
|
+
}[];
|
518
|
+
422: {
|
519
|
+
type: "validation";
|
520
|
+
on: string;
|
521
|
+
summary?: string;
|
522
|
+
message?: string;
|
523
|
+
found?: unknown;
|
524
|
+
property?: string;
|
525
|
+
expected?: string;
|
526
|
+
};
|
527
|
+
};
|
528
|
+
};
|
529
|
+
} & {
|
530
|
+
count: {
|
531
|
+
get: {
|
532
|
+
body: unknown;
|
533
|
+
params: {};
|
534
|
+
query: {
|
535
|
+
campaignId?: string | undefined;
|
536
|
+
id?: string | undefined;
|
537
|
+
tokenAddress?: string | undefined;
|
538
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
539
|
+
chainId?: number | undefined;
|
540
|
+
startTimestamp?: string | undefined;
|
541
|
+
items?: number | undefined;
|
542
|
+
point?: boolean | undefined;
|
543
|
+
tokenSymbol?: string | undefined;
|
544
|
+
type?: string | undefined;
|
545
|
+
endTimestamp?: string | undefined;
|
546
|
+
subType?: number | undefined;
|
547
|
+
opportunityId?: string | undefined;
|
548
|
+
creatorAddress?: string | undefined;
|
549
|
+
rootCampaignId?: string | undefined;
|
550
|
+
parentCampaignId?: string | undefined;
|
551
|
+
mainProtocolId?: string | undefined;
|
552
|
+
creatorId?: string | undefined;
|
553
|
+
mainParameter?: string | undefined;
|
554
|
+
test?: boolean | undefined;
|
555
|
+
page?: number | undefined;
|
556
|
+
creatorTag?: string | undefined;
|
557
|
+
distributionChainIds?: number[] | undefined;
|
558
|
+
types?: string[] | undefined;
|
559
|
+
withOpportunity?: boolean | undefined;
|
560
|
+
createdAfter?: Date | null | undefined;
|
561
|
+
excludeSubCampaigns?: boolean | undefined;
|
562
|
+
};
|
563
|
+
headers: unknown;
|
564
|
+
response: {
|
565
|
+
200: number;
|
566
|
+
422: {
|
567
|
+
type: "validation";
|
568
|
+
on: string;
|
569
|
+
summary?: string;
|
570
|
+
message?: string;
|
571
|
+
found?: unknown;
|
572
|
+
property?: string;
|
573
|
+
expected?: string;
|
574
|
+
};
|
575
|
+
};
|
576
|
+
};
|
577
|
+
};
|
578
|
+
} & {
|
579
|
+
count: {
|
580
|
+
"by-types": {
|
581
|
+
get: {
|
582
|
+
body: unknown;
|
583
|
+
params: {};
|
584
|
+
query: {
|
585
|
+
campaignId?: string | undefined;
|
586
|
+
id?: string | undefined;
|
587
|
+
tokenAddress?: string | undefined;
|
588
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
589
|
+
chainId?: number | undefined;
|
590
|
+
startTimestamp?: string | undefined;
|
591
|
+
items?: number | undefined;
|
592
|
+
point?: boolean | undefined;
|
593
|
+
tokenSymbol?: string | undefined;
|
594
|
+
type?: string | undefined;
|
595
|
+
endTimestamp?: string | undefined;
|
596
|
+
subType?: number | undefined;
|
597
|
+
opportunityId?: string | undefined;
|
598
|
+
creatorAddress?: string | undefined;
|
599
|
+
rootCampaignId?: string | undefined;
|
600
|
+
parentCampaignId?: string | undefined;
|
601
|
+
mainProtocolId?: string | undefined;
|
602
|
+
creatorId?: string | undefined;
|
603
|
+
mainParameter?: string | undefined;
|
604
|
+
test?: boolean | undefined;
|
605
|
+
page?: number | undefined;
|
606
|
+
creatorTag?: string | undefined;
|
607
|
+
distributionChainIds?: number[] | undefined;
|
608
|
+
types?: string[] | undefined;
|
609
|
+
withOpportunity?: boolean | undefined;
|
610
|
+
createdAfter?: Date | null | undefined;
|
611
|
+
excludeSubCampaigns?: boolean | undefined;
|
612
|
+
};
|
613
|
+
headers: {
|
614
|
+
authorization: string;
|
615
|
+
};
|
616
|
+
response: {
|
617
|
+
200: {
|
618
|
+
[x: string]: number;
|
619
|
+
};
|
620
|
+
422: {
|
621
|
+
type: "validation";
|
622
|
+
on: string;
|
623
|
+
summary?: string;
|
624
|
+
message?: string;
|
625
|
+
found?: unknown;
|
626
|
+
property?: string;
|
627
|
+
expected?: string;
|
628
|
+
};
|
629
|
+
};
|
630
|
+
};
|
631
|
+
};
|
632
|
+
};
|
633
|
+
} & {
|
634
|
+
count: {
|
635
|
+
"by-protocols": {
|
636
|
+
get: {
|
637
|
+
body: unknown;
|
638
|
+
params: {};
|
639
|
+
query: {
|
640
|
+
campaignId?: string | undefined;
|
641
|
+
id?: string | undefined;
|
642
|
+
tokenAddress?: string | undefined;
|
643
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
644
|
+
chainId?: number | undefined;
|
645
|
+
startTimestamp?: string | undefined;
|
646
|
+
items?: number | undefined;
|
647
|
+
point?: boolean | undefined;
|
648
|
+
tokenSymbol?: string | undefined;
|
649
|
+
type?: string | undefined;
|
650
|
+
endTimestamp?: string | undefined;
|
651
|
+
subType?: number | undefined;
|
652
|
+
opportunityId?: string | undefined;
|
653
|
+
creatorAddress?: string | undefined;
|
654
|
+
rootCampaignId?: string | undefined;
|
655
|
+
parentCampaignId?: string | undefined;
|
656
|
+
mainProtocolId?: string | undefined;
|
657
|
+
creatorId?: string | undefined;
|
658
|
+
mainParameter?: string | undefined;
|
659
|
+
test?: boolean | undefined;
|
660
|
+
page?: number | undefined;
|
661
|
+
creatorTag?: string | undefined;
|
662
|
+
distributionChainIds?: number[] | undefined;
|
663
|
+
types?: string[] | undefined;
|
664
|
+
withOpportunity?: boolean | undefined;
|
665
|
+
createdAfter?: Date | null | undefined;
|
666
|
+
excludeSubCampaigns?: boolean | undefined;
|
667
|
+
};
|
668
|
+
headers: {
|
669
|
+
authorization: string;
|
670
|
+
};
|
671
|
+
response: {
|
672
|
+
200: {
|
673
|
+
[x: string]: number;
|
674
|
+
};
|
675
|
+
422: {
|
676
|
+
type: "validation";
|
677
|
+
on: string;
|
678
|
+
summary?: string;
|
679
|
+
message?: string;
|
680
|
+
found?: unknown;
|
681
|
+
property?: string;
|
682
|
+
expected?: string;
|
683
|
+
};
|
684
|
+
};
|
685
|
+
};
|
686
|
+
};
|
687
|
+
};
|
688
|
+
} & {
|
689
|
+
opportunity: {
|
690
|
+
patch: {
|
691
|
+
body: {
|
692
|
+
opportunityIdentifier?: string | undefined;
|
693
|
+
campaignId: string;
|
694
|
+
distributionChain: number;
|
695
|
+
};
|
696
|
+
params: {};
|
697
|
+
query: {
|
698
|
+
campaignId?: string | undefined;
|
699
|
+
id?: string | undefined;
|
700
|
+
tokenAddress?: string | undefined;
|
701
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
702
|
+
chainId?: number | undefined;
|
703
|
+
startTimestamp?: string | undefined;
|
704
|
+
items?: number | undefined;
|
705
|
+
point?: boolean | undefined;
|
706
|
+
tokenSymbol?: string | undefined;
|
707
|
+
type?: string | undefined;
|
708
|
+
endTimestamp?: string | undefined;
|
709
|
+
subType?: number | undefined;
|
710
|
+
opportunityId?: string | undefined;
|
711
|
+
creatorAddress?: string | undefined;
|
712
|
+
rootCampaignId?: string | undefined;
|
713
|
+
parentCampaignId?: string | undefined;
|
714
|
+
mainProtocolId?: string | undefined;
|
715
|
+
creatorId?: string | undefined;
|
716
|
+
mainParameter?: string | undefined;
|
717
|
+
test?: boolean | undefined;
|
718
|
+
page?: number | undefined;
|
719
|
+
creatorTag?: string | undefined;
|
720
|
+
distributionChainIds?: number[] | undefined;
|
721
|
+
types?: string[] | undefined;
|
722
|
+
withOpportunity?: boolean | undefined;
|
723
|
+
createdAfter?: Date | null | undefined;
|
724
|
+
excludeSubCampaigns?: boolean | undefined;
|
725
|
+
};
|
726
|
+
headers: {
|
727
|
+
authorization: string;
|
728
|
+
};
|
729
|
+
response: {
|
730
|
+
200: string;
|
731
|
+
422: {
|
732
|
+
type: "validation";
|
733
|
+
on: string;
|
734
|
+
summary?: string;
|
735
|
+
message?: string;
|
736
|
+
found?: unknown;
|
737
|
+
property?: string;
|
738
|
+
expected?: string;
|
739
|
+
};
|
740
|
+
};
|
741
|
+
};
|
742
|
+
};
|
743
|
+
} & {
|
744
|
+
creator: {
|
745
|
+
patch: {
|
746
|
+
body: {
|
747
|
+
campaignId: string;
|
748
|
+
creatorAddress: string;
|
749
|
+
distributionChain: number;
|
750
|
+
};
|
751
|
+
params: {};
|
752
|
+
query: {
|
753
|
+
campaignId?: string | undefined;
|
754
|
+
id?: string | undefined;
|
755
|
+
tokenAddress?: string | undefined;
|
756
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
757
|
+
chainId?: number | undefined;
|
758
|
+
startTimestamp?: string | undefined;
|
759
|
+
items?: number | undefined;
|
760
|
+
point?: boolean | undefined;
|
761
|
+
tokenSymbol?: string | undefined;
|
762
|
+
type?: string | undefined;
|
763
|
+
endTimestamp?: string | undefined;
|
764
|
+
subType?: number | undefined;
|
765
|
+
opportunityId?: string | undefined;
|
766
|
+
creatorAddress?: string | undefined;
|
767
|
+
rootCampaignId?: string | undefined;
|
768
|
+
parentCampaignId?: string | undefined;
|
769
|
+
mainProtocolId?: string | undefined;
|
770
|
+
creatorId?: string | undefined;
|
771
|
+
mainParameter?: string | undefined;
|
772
|
+
test?: boolean | undefined;
|
773
|
+
page?: number | undefined;
|
774
|
+
creatorTag?: string | undefined;
|
775
|
+
distributionChainIds?: number[] | undefined;
|
776
|
+
types?: string[] | undefined;
|
777
|
+
withOpportunity?: boolean | undefined;
|
778
|
+
createdAfter?: Date | null | undefined;
|
779
|
+
excludeSubCampaigns?: boolean | undefined;
|
780
|
+
};
|
781
|
+
headers: {
|
782
|
+
authorization: string;
|
783
|
+
};
|
784
|
+
response: {
|
785
|
+
200: void;
|
786
|
+
422: {
|
787
|
+
type: "validation";
|
788
|
+
on: string;
|
789
|
+
summary?: string;
|
790
|
+
message?: string;
|
791
|
+
found?: unknown;
|
792
|
+
property?: string;
|
793
|
+
expected?: string;
|
794
|
+
};
|
795
|
+
};
|
796
|
+
};
|
797
|
+
};
|
798
|
+
} & {
|
799
|
+
"remove-override": {
|
800
|
+
patch: {
|
801
|
+
body: {
|
802
|
+
campaignId: string;
|
803
|
+
field: "opportunityId" | "creatorAddress";
|
804
|
+
distributionChain: number;
|
805
|
+
};
|
806
|
+
params: {};
|
807
|
+
query: {
|
808
|
+
campaignId?: string | undefined;
|
809
|
+
id?: string | undefined;
|
810
|
+
tokenAddress?: string | undefined;
|
811
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
812
|
+
chainId?: number | undefined;
|
813
|
+
startTimestamp?: string | undefined;
|
814
|
+
items?: number | undefined;
|
815
|
+
point?: boolean | undefined;
|
816
|
+
tokenSymbol?: string | undefined;
|
817
|
+
type?: string | undefined;
|
818
|
+
endTimestamp?: string | undefined;
|
819
|
+
subType?: number | undefined;
|
820
|
+
opportunityId?: string | undefined;
|
821
|
+
creatorAddress?: string | undefined;
|
822
|
+
rootCampaignId?: string | undefined;
|
823
|
+
parentCampaignId?: string | undefined;
|
824
|
+
mainProtocolId?: string | undefined;
|
825
|
+
creatorId?: string | undefined;
|
826
|
+
mainParameter?: string | undefined;
|
827
|
+
test?: boolean | undefined;
|
828
|
+
page?: number | undefined;
|
829
|
+
creatorTag?: string | undefined;
|
830
|
+
distributionChainIds?: number[] | undefined;
|
831
|
+
types?: string[] | undefined;
|
832
|
+
withOpportunity?: boolean | undefined;
|
833
|
+
createdAfter?: Date | null | undefined;
|
834
|
+
excludeSubCampaigns?: boolean | undefined;
|
835
|
+
};
|
836
|
+
headers: {
|
837
|
+
authorization: string;
|
838
|
+
};
|
839
|
+
response: {
|
840
|
+
200: void;
|
841
|
+
422: {
|
842
|
+
type: "validation";
|
843
|
+
on: string;
|
844
|
+
summary?: string;
|
845
|
+
message?: string;
|
846
|
+
found?: unknown;
|
847
|
+
property?: string;
|
848
|
+
expected?: string;
|
849
|
+
};
|
850
|
+
};
|
851
|
+
};
|
852
|
+
};
|
853
|
+
} & {
|
854
|
+
tvls: {
|
855
|
+
":opportunityId": {
|
856
|
+
put: {
|
857
|
+
body: unknown;
|
858
|
+
params: {
|
859
|
+
opportunityId: string;
|
860
|
+
};
|
861
|
+
query: {
|
862
|
+
campaignId?: string | undefined;
|
863
|
+
id?: string | undefined;
|
864
|
+
tokenAddress?: string | undefined;
|
865
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
866
|
+
chainId?: number | undefined;
|
867
|
+
startTimestamp?: string | undefined;
|
868
|
+
items?: number | undefined;
|
869
|
+
point?: boolean | undefined;
|
870
|
+
tokenSymbol?: string | undefined;
|
871
|
+
type?: string | undefined;
|
872
|
+
endTimestamp?: string | undefined;
|
873
|
+
subType?: number | undefined;
|
874
|
+
opportunityId?: string | undefined;
|
875
|
+
creatorAddress?: string | undefined;
|
876
|
+
rootCampaignId?: string | undefined;
|
877
|
+
parentCampaignId?: string | undefined;
|
878
|
+
mainProtocolId?: string | undefined;
|
879
|
+
creatorId?: string | undefined;
|
880
|
+
mainParameter?: string | undefined;
|
881
|
+
test?: boolean | undefined;
|
882
|
+
page?: number | undefined;
|
883
|
+
creatorTag?: string | undefined;
|
884
|
+
distributionChainIds?: number[] | undefined;
|
885
|
+
types?: string[] | undefined;
|
886
|
+
withOpportunity?: boolean | undefined;
|
887
|
+
createdAfter?: Date | null | undefined;
|
888
|
+
excludeSubCampaigns?: boolean | undefined;
|
889
|
+
};
|
890
|
+
headers: {
|
891
|
+
authorization: string;
|
892
|
+
};
|
893
|
+
response: {
|
894
|
+
200: unknown[];
|
895
|
+
422: {
|
896
|
+
type: "validation";
|
897
|
+
on: string;
|
898
|
+
summary?: string;
|
899
|
+
message?: string;
|
900
|
+
found?: unknown;
|
901
|
+
property?: string;
|
902
|
+
expected?: string;
|
903
|
+
};
|
904
|
+
};
|
905
|
+
};
|
906
|
+
};
|
907
|
+
};
|
908
|
+
};
|
909
|
+
campaignscount: {
|
910
|
+
"by-chains": {
|
911
|
+
get: {
|
912
|
+
body: unknown;
|
913
|
+
params: {};
|
914
|
+
query: {
|
915
|
+
campaignId?: string | undefined;
|
916
|
+
id?: string | undefined;
|
917
|
+
tokenAddress?: string | undefined;
|
918
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
919
|
+
chainId?: number | undefined;
|
920
|
+
startTimestamp?: string | undefined;
|
921
|
+
items?: number | undefined;
|
922
|
+
point?: boolean | undefined;
|
923
|
+
tokenSymbol?: string | undefined;
|
924
|
+
type?: string | undefined;
|
925
|
+
endTimestamp?: string | undefined;
|
926
|
+
subType?: number | undefined;
|
927
|
+
opportunityId?: string | undefined;
|
928
|
+
creatorAddress?: string | undefined;
|
929
|
+
rootCampaignId?: string | undefined;
|
930
|
+
parentCampaignId?: string | undefined;
|
931
|
+
mainProtocolId?: string | undefined;
|
932
|
+
creatorId?: string | undefined;
|
933
|
+
mainParameter?: string | undefined;
|
934
|
+
test?: boolean | undefined;
|
935
|
+
page?: number | undefined;
|
936
|
+
creatorTag?: string | undefined;
|
937
|
+
distributionChainIds?: number[] | undefined;
|
938
|
+
types?: string[] | undefined;
|
939
|
+
withOpportunity?: boolean | undefined;
|
940
|
+
createdAfter?: Date | null | undefined;
|
941
|
+
excludeSubCampaigns?: boolean | undefined;
|
942
|
+
};
|
943
|
+
headers: {
|
944
|
+
authorization: string;
|
945
|
+
};
|
946
|
+
response: {
|
947
|
+
200: {
|
948
|
+
[x: string]: number;
|
949
|
+
};
|
950
|
+
422: {
|
951
|
+
type: "validation";
|
952
|
+
on: string;
|
953
|
+
summary?: string;
|
954
|
+
message?: string;
|
955
|
+
found?: unknown;
|
956
|
+
property?: string;
|
957
|
+
expected?: string;
|
958
|
+
};
|
959
|
+
};
|
960
|
+
};
|
961
|
+
};
|
962
|
+
};
|
963
|
+
}, {
|
964
|
+
derive: {};
|
965
|
+
resolve: {};
|
966
|
+
schema: {};
|
967
|
+
standaloneSchema: {};
|
968
|
+
}, {
|
969
|
+
derive: {};
|
970
|
+
resolve: {};
|
971
|
+
schema: {
|
972
|
+
body: unknown;
|
973
|
+
headers: unknown;
|
974
|
+
query: {
|
975
|
+
campaignId?: string | undefined;
|
976
|
+
id?: string | undefined;
|
977
|
+
tokenAddress?: string | undefined;
|
978
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
979
|
+
chainId?: number | undefined;
|
980
|
+
startTimestamp?: string | undefined;
|
981
|
+
items?: number | undefined;
|
982
|
+
point?: boolean | undefined;
|
983
|
+
tokenSymbol?: string | undefined;
|
984
|
+
type?: string | undefined;
|
985
|
+
endTimestamp?: string | undefined;
|
986
|
+
subType?: number | undefined;
|
987
|
+
opportunityId?: string | undefined;
|
988
|
+
creatorAddress?: string | undefined;
|
989
|
+
rootCampaignId?: string | undefined;
|
990
|
+
parentCampaignId?: string | undefined;
|
991
|
+
mainProtocolId?: string | undefined;
|
992
|
+
creatorId?: string | undefined;
|
993
|
+
mainParameter?: string | undefined;
|
994
|
+
test?: boolean | undefined;
|
995
|
+
page?: number | undefined;
|
996
|
+
creatorTag?: string | undefined;
|
997
|
+
distributionChainIds?: number[] | undefined;
|
998
|
+
types?: string[] | undefined;
|
999
|
+
withOpportunity?: boolean | undefined;
|
1000
|
+
createdAfter?: Date | null | undefined;
|
1001
|
+
excludeSubCampaigns?: boolean | undefined;
|
1002
|
+
};
|
1003
|
+
params: {};
|
1004
|
+
cookie: unknown;
|
1005
|
+
response: {};
|
1006
|
+
};
|
1007
|
+
standaloneSchema: {};
|
1008
|
+
}>;
|