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