@merkl/api 0.10.78
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/LICENSE +201 -0
- package/README.md +125 -0
- package/dist/database/api/.generated/default.d.ts +1 -0
- package/dist/database/api/.generated/edge.d.ts +1 -0
- package/dist/database/api/.generated/index.d.ts +36404 -0
- package/dist/database/api/.generated/libquery_engine-debian-openssl-1.1.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-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/api/.generated/package.json +84 -0
- package/dist/database/api/.generated/runtime/index-browser.d.ts +365 -0
- package/dist/database/api/.generated/runtime/library.d.ts +3273 -0
- package/dist/database/api/.generated/schema.prisma +366 -0
- package/dist/database/api/.generated/wasm.d.ts +1 -0
- package/dist/database/api/seeder/resources/protocol.d.ts +353 -0
- package/dist/database/engine/.generated/default.d.ts +1 -0
- package/dist/database/engine/.generated/edge.d.ts +1 -0
- package/dist/database/engine/.generated/index.d.ts +16342 -0
- package/dist/database/engine/.generated/libquery_engine-debian-openssl-1.1.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-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/engine/.generated/package.json +84 -0
- package/dist/database/engine/.generated/runtime/index-browser.d.ts +365 -0
- package/dist/database/engine/.generated/runtime/library.d.ts +3273 -0
- package/dist/database/engine/.generated/schema.prisma +205 -0
- package/dist/database/engine/.generated/wasm.d.ts +1 -0
- package/dist/src/backgroundJobs/index.d.ts +1 -0
- package/dist/src/backgroundJobs/jobs/campaignsCacheUpdater.d.ts +45 -0
- package/dist/src/backgroundJobs/jobs/health.d.ts +40 -0
- package/dist/src/backgroundJobs/jobs/opportunityUpdater.d.ts +37 -0
- package/dist/src/backgroundJobs/jobs/priceUpdater.d.ts +35 -0
- package/dist/src/backgroundJobs/jobs/sync.d.ts +39 -0
- package/dist/src/cache/declaration.d.ts +153 -0
- package/dist/src/cache/index.d.ts +52 -0
- package/dist/src/cache/redis.d.ts +311 -0
- package/dist/src/constants.d.ts +349 -0
- package/dist/src/eden/index.d.ts +4882 -0
- package/dist/src/eden/index.js +4 -0
- package/dist/src/entities/campaign.d.ts +58 -0
- package/dist/src/entities/opportunity.d.ts +17 -0
- package/dist/src/errors/BadRequest.error.d.ts +4 -0
- package/dist/src/errors/Conflict.error.d.ts +4 -0
- package/dist/src/errors/HttpError.d.ts +6 -0
- package/dist/src/errors/NotFound.error.d.ts +4 -0
- package/dist/src/errors/Opportunity.error.d.ts +6 -0
- package/dist/src/errors/Unauthorized.error.d.ts +4 -0
- package/dist/src/errors/index.d.ts +5 -0
- package/dist/src/guards/BackOffice.guard.d.ts +7 -0
- package/dist/src/guards/Engine.guard.d.ts +7 -0
- package/dist/src/guards/TokenAuth.guard.d.ts +7 -0
- package/dist/src/hooks/checkQueryAddressValidity.d.ts +21 -0
- package/dist/src/hooks/checkQueryChainIdValidity.d.ts +21 -0
- package/dist/src/index.d.ts +1889 -0
- package/dist/src/internal/controllers/endingCampaigns.d.ts +42 -0
- package/dist/src/internal/controllers/unclaimed.d.ts +43 -0
- package/dist/src/internal/index.d.ts +1 -0
- package/dist/src/libs/campaigns/campaignTypes/AjnaDynamicData.d.ts +5 -0
- package/dist/src/libs/campaigns/campaignTypes/BadgerDynamicData.d.ts +5 -0
- package/dist/src/libs/campaigns/campaignTypes/CLAMMDynamicData.d.ts +3 -0
- package/dist/src/libs/campaigns/campaignTypes/CompoundDynamicData.d.ts +3 -0
- package/dist/src/libs/campaigns/campaignTypes/DolomiteDynamicData.d.ts +5 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicData.d.ts +3 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/eulerVaultNames.d.ts +1 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/factoryFinder.d.ts +5 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/getBlacklistedSupply.d.ts +1 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/metamorphoTvl.d.ts +1 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/spliceTVL.d.ts +7 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +45 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPrices.d.ts +4 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1.d.ts +23 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2.d.ts +7 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3.d.ts +6 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4.d.ts +4 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20_SNAPSHOTDynamicData.d.ts +5 -0
- package/dist/src/libs/campaigns/campaignTypes/EulerDynamicData.d.ts +3 -0
- package/dist/src/libs/campaigns/campaignTypes/JSON_AIRDROPDynamicData.d.ts +5 -0
- package/dist/src/libs/campaigns/campaignTypes/MORPHODynamicData.d.ts +5 -0
- package/dist/src/libs/campaigns/campaignTypes/RadiantDynamicData.d.ts +3 -0
- package/dist/src/libs/campaigns/campaignTypes/SILODynamicData.d.ts +7 -0
- package/dist/src/libs/campaigns/campaignsDynamicData.d.ts +3 -0
- package/dist/src/libs/campaigns/getCampaigns.d.ts +1 -0
- package/dist/src/libs/campaigns/getRewards.d.ts +29 -0
- package/dist/src/libs/campaigns/utils/fetchA51Strategies.d.ts +18 -0
- package/dist/src/libs/campaigns/utils/fetchClamInfo.d.ts +2 -0
- package/dist/src/libs/campaigns/utils/fetchLogs.d.ts +10 -0
- package/dist/src/libs/campaigns/utils/getCompV2ForksVaults.d.ts +19 -0
- package/dist/src/libs/campaigns/utils/getContractCreationBlock.d.ts +2 -0
- package/dist/src/libs/campaigns/utils/getDolomiteMarkets.d.ts +7 -0
- package/dist/src/libs/campaigns/utils/getEulerV2Vaults.d.ts +16 -0
- package/dist/src/libs/campaigns/utils/getLastEligibilityRatio.d.ts +2 -0
- package/dist/src/libs/computeFee.d.ts +4 -0
- package/dist/src/libs/custom/twtParticipants.d.ts +6 -0
- package/dist/src/libs/deprecated-merklv3/index.d.ts +5 -0
- package/dist/src/libs/getTokensList.d.ts +27 -0
- package/dist/src/libs/merklChainData.d.ts +4 -0
- package/dist/src/libs/parse/marketsWithCache.d.ts +4 -0
- package/dist/src/libs/positions/ajna/index.d.ts +41 -0
- package/dist/src/libs/positions/badger/index.d.ts +27 -0
- package/dist/src/libs/positions/clamm/index.d.ts +8 -0
- package/dist/src/libs/positions/clamm/thegraph/fetchAlmPositions.d.ts +5 -0
- package/dist/src/libs/positions/clamm/thegraph/fetchAmmPositions.d.ts +8 -0
- package/dist/src/libs/positions/clamm/thegraph/fetchFarmedPositions.d.ts +11 -0
- package/dist/src/libs/positions/clamm/thegraph/index.d.ts +37 -0
- package/dist/src/libs/positions/compound/index.d.ts +26 -0
- package/dist/src/libs/positions/dolomite/index.d.ts +17 -0
- package/dist/src/libs/positions/erc20/index.d.ts +5 -0
- package/dist/src/libs/positions/euler/index.d.ts +5 -0
- package/dist/src/libs/positions/index.d.ts +3 -0
- package/dist/src/libs/positions/morpho/index.d.ts +40 -0
- package/dist/src/libs/positions/prepareFetch.d.ts +22 -0
- package/dist/src/libs/positions/silo/index.d.ts +5 -0
- package/dist/src/libs/positions/types.d.ts +20 -0
- package/dist/src/libs/reports/campaignReport.d.ts +9 -0
- package/dist/src/libs/reports/mainParameterRewards.d.ts +3 -0
- package/dist/src/libs/rewards/userRewards.d.ts +2 -0
- package/dist/src/libs/staticCampaigns.d.ts +2 -0
- package/dist/src/libs/tokens/balances.d.ts +11 -0
- package/dist/src/libs/tokens/tokenInfo.d.ts +8 -0
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +206 -0
- package/dist/src/modules/v4/accounting/accounting.model.d.ts +32 -0
- package/dist/src/modules/v4/accounting/accounting.repository.d.ts +99 -0
- package/dist/src/modules/v4/accounting/accounting.service.d.ts +44 -0
- package/dist/src/modules/v4/accounting/index.d.ts +3 -0
- package/dist/src/modules/v4/apr/apr.controller.d.ts +0 -0
- package/dist/src/modules/v4/apr/apr.model.d.ts +15 -0
- package/dist/src/modules/v4/apr/apr.repository.d.ts +0 -0
- package/dist/src/modules/v4/apr/apr.service.d.ts +6 -0
- package/dist/src/modules/v4/apr/index.d.ts +2 -0
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +122 -0
- package/dist/src/modules/v4/blacklist/blacklist.model.d.ts +15 -0
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +24 -0
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +24 -0
- package/dist/src/modules/v4/blacklist/index.d.ts +3 -0
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +139 -0
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +85 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +110 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +180 -0
- package/dist/src/modules/v4/campaign/index.d.ts +3 -0
- package/dist/src/modules/v4/chain/chain.controller.d.ts +91 -0
- package/dist/src/modules/v4/chain/chain.model.d.ts +19 -0
- package/dist/src/modules/v4/chain/chain.repository.d.ts +66 -0
- package/dist/src/modules/v4/chain/chain.service.d.ts +42 -0
- package/dist/src/modules/v4/chain/index.d.ts +3 -0
- package/dist/src/modules/v4/enso/enso.model.d.ts +130 -0
- package/dist/src/modules/v4/enso/enso.service.d.ts +47 -0
- package/dist/src/modules/v4/explorer/explorer.repository.d.ts +8 -0
- package/dist/src/modules/v4/explorer/explorer.service.d.ts +8 -0
- package/dist/src/modules/v4/explorer/index.d.ts +1 -0
- package/dist/src/modules/v4/index.d.ts +4 -0
- package/dist/src/modules/v4/merklRoot/index.d.ts +3 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +44 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.model.d.ts +6 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +21 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +34 -0
- package/dist/src/modules/v4/opportunity/index.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +349 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +113 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +432 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +413 -0
- package/dist/src/modules/v4/opportunity/subservices/getAjnaMetadata.service.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/subservices/getBadgerMetadata.service.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/subservices/getClammMetadata.service.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/subservices/getCompoundMetadata.service.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/subservices/getDolomiteMetadata.service.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/subservices/getErc20Metadata.service.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/subservices/getErc20SnapshotMetadata.service.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/subservices/getEulerMetadata.service.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/subservices/getJsonAirDropMetadata.service.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/subservices/getMorphoMetadata.service.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/subservices/getRadiantMetadata.service.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/subservices/getSiloMetadata.service.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/transform-id.pipe.d.ts +5 -0
- package/dist/src/modules/v4/opportunity/validate-id.pipe.d.ts +5 -0
- package/dist/src/modules/v4/participate/participate.controller.d.ts +120 -0
- package/dist/src/modules/v4/participate/participate.model.d.ts +51 -0
- package/dist/src/modules/v4/participate/participate.service.d.ts +8 -0
- package/dist/src/modules/v4/price/index.d.ts +3 -0
- package/dist/src/modules/v4/price/price.controller.d.ts +169 -0
- package/dist/src/modules/v4/price/price.model.d.ts +32 -0
- package/dist/src/modules/v4/price/price.repository.d.ts +33 -0
- package/dist/src/modules/v4/price/price.service.d.ts +33 -0
- package/dist/src/modules/v4/prisma/index.d.ts +32 -0
- package/dist/src/modules/v4/protocol/index.d.ts +3 -0
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +87 -0
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +27 -0
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +37 -0
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +10 -0
- package/dist/src/modules/v4/reward/index.d.ts +3 -0
- package/dist/src/modules/v4/reward/reward.controller.d.ts +158 -0
- package/dist/src/modules/v4/reward/reward.model.d.ts +158 -0
- package/dist/src/modules/v4/reward/reward.repository.d.ts +158 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +523 -0
- package/dist/src/modules/v4/reward/rewardConvertor.service.d.ts +14 -0
- package/dist/src/modules/v4/router.d.ts +1865 -0
- package/dist/src/modules/v4/status/index.d.ts +3 -0
- package/dist/src/modules/v4/status/status.controller.d.ts +143 -0
- package/dist/src/modules/v4/status/status.model.d.ts +23 -0
- package/dist/src/modules/v4/status/status.repository.d.ts +68 -0
- package/dist/src/modules/v4/status/status.service.d.ts +38 -0
- package/dist/src/modules/v4/token/index.d.ts +3 -0
- package/dist/src/modules/v4/token/token.controller.d.ts +131 -0
- package/dist/src/modules/v4/token/token.model.d.ts +35 -0
- package/dist/src/modules/v4/token/token.repository.d.ts +59 -0
- package/dist/src/modules/v4/token/token.service.d.ts +165 -0
- package/dist/src/modules/v4/tvl/index.d.ts +2 -0
- package/dist/src/modules/v4/tvl/tvl.controller.d.ts +0 -0
- package/dist/src/modules/v4/tvl/tvl.model.d.ts +15 -0
- package/dist/src/modules/v4/tvl/tvl.repository.d.ts +0 -0
- package/dist/src/modules/v4/tvl/tvl.service.d.ts +6 -0
- package/dist/src/modules/v4/uniswapV4/index.d.ts +4 -0
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +52 -0
- package/dist/src/modules/v4/uniswapV4/uniswapV4.model.d.ts +15 -0
- package/dist/src/modules/v4/uniswapV4/uniswapV4.repository.d.ts +2 -0
- package/dist/src/modules/v4/uniswapV4/uniswapV4.service.d.ts +20 -0
- package/dist/src/modules/v4/user/index.d.ts +3 -0
- package/dist/src/modules/v4/user/user.controller.d.ts +325 -0
- package/dist/src/modules/v4/user/user.model.d.ts +25 -0
- package/dist/src/modules/v4/user/user.repository.d.ts +19 -0
- package/dist/src/modules/v4/user/user.service.d.ts +19 -0
- package/dist/src/plugins/error-handling.plugin.d.ts +28 -0
- package/dist/src/plugins/logger.plugin.d.ts +21 -0
- package/dist/src/routes/v1/allowances.d.ts +66 -0
- package/dist/src/routes/v1/balances.d.ts +49 -0
- package/dist/src/routes/v1/prices.d.ts +41 -0
- package/dist/src/routes/v1/tokens.d.ts +44 -0
- package/dist/src/routes/v2/merkl.d.ts +54 -0
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +1910 -0
- package/dist/src/routes/v3/app.d.ts +39 -0
- package/dist/src/routes/v3/blacklist.d.ts +1910 -0
- package/dist/src/routes/v3/campaign/delay.d.ts +41 -0
- package/dist/src/routes/v3/campaignClaims.d.ts +43 -0
- package/dist/src/routes/v3/campaignReport.d.ts +42 -0
- package/dist/src/routes/v3/campaignUnclaimed.d.ts +43 -0
- package/dist/src/routes/v3/campaigns.d.ts +1915 -0
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +42 -0
- package/dist/src/routes/v3/campaignsInfo.d.ts +1902 -0
- package/dist/src/routes/v3/campaignsRewardsReport.d.ts +43 -0
- package/dist/src/routes/v3/claims.d.ts +45 -0
- package/dist/src/routes/v3/compoundV2.d.ts +40 -0
- package/dist/src/routes/v3/createCampaign.d.ts +46 -0
- package/dist/src/routes/v3/dolomite.d.ts +40 -0
- package/dist/src/routes/v3/euler.d.ts +40 -0
- package/dist/src/routes/v3/exports/campaigns.d.ts +42 -0
- package/dist/src/routes/v3/fetch.d.ts +45 -0
- package/dist/src/routes/v3/health.d.ts +39 -0
- package/dist/src/routes/v3/lostyield.d.ts +52 -0
- package/dist/src/routes/v3/merkl.d.ts +87 -0
- package/dist/src/routes/v3/morphoMarkets.d.ts +61 -0
- package/dist/src/routes/v3/morphoVaults.d.ts +51 -0
- package/dist/src/routes/v3/multiChainPositions.d.ts +1909 -0
- package/dist/src/routes/v3/opportunity.d.ts +1946 -0
- package/dist/src/routes/v3/overview.d.ts +60 -0
- package/dist/src/routes/v3/parse.d.ts +46 -0
- package/dist/src/routes/v3/payload.d.ts +57 -0
- package/dist/src/routes/v3/poolInfo.d.ts +42 -0
- package/dist/src/routes/v3/positions.d.ts +1927 -0
- package/dist/src/routes/v3/radiant.d.ts +55 -0
- package/dist/src/routes/v3/recipients.d.ts +38 -0
- package/dist/src/routes/v3/rewards.d.ts +1910 -0
- package/dist/src/routes/v3/rewardsReport.d.ts +48 -0
- package/dist/src/routes/v3/rootForTimestamp.d.ts +52 -0
- package/dist/src/routes/v3/silo.d.ts +52 -0
- package/dist/src/routes/v3/token.d.ts +50 -0
- package/dist/src/routes/v3/tokenUnclaimed.d.ts +43 -0
- package/dist/src/routes/v3/twt/participants.d.ts +40 -0
- package/dist/src/routes/v3/updates.d.ts +1907 -0
- package/dist/src/routes/v3/userRewards.d.ts +1931 -0
- package/dist/src/types/index.d.ts +46 -0
- package/dist/src/types/parameters/Action.d.ts +4 -0
- package/dist/src/types/parameters/Chain.d.ts +4 -0
- package/dist/src/types/parameters/ChainCampaignId.d.ts +4 -0
- package/dist/src/types/parameters/MainParameter.d.ts +4 -0
- package/dist/src/types/parameters/OpportunityId.d.ts +4 -0
- package/dist/src/types/parameters/Timestamp.d.ts +4 -0
- package/dist/src/types/parameters/Type.d.ts +4 -0
- package/dist/src/types/parameters/index.d.ts +36 -0
- package/dist/src/types/returnTypes.d.ts +27 -0
- package/dist/src/types/utils.d.ts +5 -0
- package/dist/src/utils/addString.d.ts +2 -0
- package/dist/src/utils/bigintToString.d.ts +1 -0
- package/dist/src/utils/crypto.d.ts +1 -0
- package/dist/src/utils/error.d.ts +53 -0
- package/dist/src/utils/execute.d.ts +32 -0
- package/dist/src/utils/generic.d.ts +24 -0
- package/dist/src/utils/hashArray.d.ts +1 -0
- package/dist/src/utils/lastBlockBefore.d.ts +3 -0
- package/dist/src/utils/logger.d.ts +24 -0
- package/dist/src/utils/pricer.d.ts +52 -0
- package/dist/src/utils/prices/chainlinkRead.d.ts +4 -0
- package/dist/src/utils/prices/curveVirtualPrice.d.ts +4 -0
- package/dist/src/utils/prices/getDQUICK.d.ts +4 -0
- package/dist/src/utils/prices/priceFetcherFactory.d.ts +10 -0
- package/dist/src/utils/prices/priceService.d.ts +13 -0
- package/dist/src/utils/prices/services/coinGeckoService.d.ts +12 -0
- package/dist/src/utils/prices/services/defillamaService.d.ts +12 -0
- package/dist/src/utils/prices/services/dexScreenerService.d.ts +12 -0
- package/dist/src/utils/prices/services/erc4626Service.d.ts +9 -0
- package/dist/src/utils/prices/services/getERC4626.d.ts +4 -0
- package/dist/src/utils/prices/services/indexCoopService.d.ts +12 -0
- package/dist/src/utils/prices/services/priceFetcher.d.ts +8 -0
- package/dist/src/utils/prices/uniV2Price.d.ts +7 -0
- package/dist/src/utils/prisma.d.ts +16 -0
- package/dist/src/utils/providers.d.ts +13 -0
- package/dist/src/utils/queries/activeCampaigns.d.ts +3 -0
- package/dist/src/utils/queries/allCampaigns.d.ts +6 -0
- package/dist/src/utils/queries/campaignsForMainParameter.d.ts +2 -0
- package/dist/src/utils/queries/claimsOverTime.d.ts +8 -0
- package/dist/src/utils/queries/endingCampaigns.d.ts +10 -0
- package/dist/src/utils/queries/futureCampaigns.d.ts +3 -0
- package/dist/src/utils/queries/mainParameterCampaigns.d.ts +5 -0
- package/dist/src/utils/queries/rewardsAmount.d.ts +10 -0
- package/dist/src/utils/queries/unclaimed.d.ts +11 -0
- package/dist/src/utils/rateLimit.d.ts +63 -0
- package/dist/src/utils/stryke.d.ts +2 -0
- package/dist/src/utils/throw.d.ts +4 -0
- package/dist/src/utils/trace.d.ts +26 -0
- package/dist/src/utils/validation.d.ts +5 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -0
- package/package.json +91 -0
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
generator client {
|
|
2
|
+
provider = "prisma-client-js"
|
|
3
|
+
binaryTargets = ["native", "linux-arm64-openssl-1.1.x", "linux-musl-arm64-openssl-3.0.x"]
|
|
4
|
+
output = ".generated/"
|
|
5
|
+
previewFeatures = ["fullTextSearch"]
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
datasource db {
|
|
9
|
+
provider = "postgresql"
|
|
10
|
+
url = env("DATABASE_API_URL")
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// @TODO Identifier is a poor naming, it should be campaignId
|
|
14
|
+
model Campaign {
|
|
15
|
+
id String @id
|
|
16
|
+
ComputeChain Chain @relation("compute", fields: [computeChainId], references: [id])
|
|
17
|
+
computeChainId Int
|
|
18
|
+
DistributionChain Chain @relation("distribution", fields: [distributionChainId], references: [id])
|
|
19
|
+
distributionChainId Int
|
|
20
|
+
identifier String // campaignId
|
|
21
|
+
campaignId String @default("")
|
|
22
|
+
type CampaignType
|
|
23
|
+
subType Int?
|
|
24
|
+
RewardToken Token @relation(fields: [rewardTokenId], references: [id])
|
|
25
|
+
rewardTokenId String
|
|
26
|
+
amount String
|
|
27
|
+
Opportunity Opportunity @relation(fields: [opportunityId], references: [id])
|
|
28
|
+
opportunityId String
|
|
29
|
+
startTimestamp BigInt
|
|
30
|
+
endTimestamp BigInt
|
|
31
|
+
params Json
|
|
32
|
+
RewardBreakdown RewardBreakdown[]
|
|
33
|
+
DailyRewardsBreakdown DailyRewardsBreakdown[]
|
|
34
|
+
Creator User @relation(fields: [creatorAddress], references: [address])
|
|
35
|
+
creatorAddress String @db.Char(42)
|
|
36
|
+
CampaignStatus CampaignStatus[]
|
|
37
|
+
|
|
38
|
+
@@unique([distributionChainId, identifier])
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
model Chain {
|
|
42
|
+
id Int @id
|
|
43
|
+
name String
|
|
44
|
+
icon String
|
|
45
|
+
Explorer Explorer[]
|
|
46
|
+
Campaigns Campaign[] @relation("compute")
|
|
47
|
+
Distribution Campaign[] @relation("distribution")
|
|
48
|
+
Token Token[]
|
|
49
|
+
Opportunity Opportunity[]
|
|
50
|
+
MerklRoot MerklRoot[]
|
|
51
|
+
Blacklist Blacklist[]
|
|
52
|
+
Dump Dump[]
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
model Explorer {
|
|
56
|
+
id String @id
|
|
57
|
+
type ExplorerType
|
|
58
|
+
Chain Chain @relation(fields: [chainId], references: [id])
|
|
59
|
+
url String
|
|
60
|
+
chainId Int
|
|
61
|
+
|
|
62
|
+
@@unique([type, chainId])
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
model Opportunity {
|
|
66
|
+
id String @id
|
|
67
|
+
Chain Chain @relation(fields: [chainId], references: [id]) // compute
|
|
68
|
+
chainId Int // compute
|
|
69
|
+
type CampaignType
|
|
70
|
+
identifier String // eg. 0xUniswapPool - formerly mainParameter
|
|
71
|
+
name String
|
|
72
|
+
status Status
|
|
73
|
+
action OpportunityAction
|
|
74
|
+
Tokens Token[]
|
|
75
|
+
Campaigns Campaign[]
|
|
76
|
+
Protocols Protocol[]
|
|
77
|
+
MainProtocol Protocol? @relation(name: "main", fields: [mainProtocolId], references: [id])
|
|
78
|
+
mainProtocolId String?
|
|
79
|
+
tvl Float @default(0)
|
|
80
|
+
TvlRecords TVLRecord[]
|
|
81
|
+
apr Float @default(0)
|
|
82
|
+
AprRecords AprRecord[]
|
|
83
|
+
dailyRewards Float @default(0)
|
|
84
|
+
DailyRewardsRecords DailyRewardsRecord[]
|
|
85
|
+
tags String[] @default([])
|
|
86
|
+
|
|
87
|
+
@@unique([chainId, type, identifier])
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
model Protocol {
|
|
91
|
+
id String @id
|
|
92
|
+
tags ProtocolTag[]
|
|
93
|
+
name String
|
|
94
|
+
description String @default("")
|
|
95
|
+
url String
|
|
96
|
+
icon String
|
|
97
|
+
MainOpportunities Opportunity[] @relation(name: "main")
|
|
98
|
+
Opportunities Opportunity[]
|
|
99
|
+
RewardBreakdown RewardBreakdown[]
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
model Token {
|
|
103
|
+
id String @id()
|
|
104
|
+
name String?
|
|
105
|
+
Chain Chain @relation(fields: [chainId], references: [id])
|
|
106
|
+
chainId Int
|
|
107
|
+
address String @db.Char(42)
|
|
108
|
+
decimals Int
|
|
109
|
+
symbol String
|
|
110
|
+
icon String
|
|
111
|
+
verified Boolean @default(false)
|
|
112
|
+
price Float?
|
|
113
|
+
Opportunity Opportunity[]
|
|
114
|
+
Campaigns Campaign[]
|
|
115
|
+
Reward Reward[]
|
|
116
|
+
DumpTo Dump[] @relation("to")
|
|
117
|
+
DumpFrom Dump[] @relation("from")
|
|
118
|
+
|
|
119
|
+
@@unique([chainId, address])
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
model AprRecord {
|
|
123
|
+
id String @id
|
|
124
|
+
timestamp BigInt
|
|
125
|
+
cummulated Float
|
|
126
|
+
cumulated Float @default(0)
|
|
127
|
+
AprBreakdown AprBreakdown[]
|
|
128
|
+
Opportunity Opportunity @relation(fields: [opportunityId], references: [id])
|
|
129
|
+
opportunityId String
|
|
130
|
+
|
|
131
|
+
@@unique([opportunityId, timestamp])
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
model AprBreakdown {
|
|
135
|
+
id Int @id @default(autoincrement())
|
|
136
|
+
identifier String
|
|
137
|
+
type AprType
|
|
138
|
+
value Float
|
|
139
|
+
AprRecord AprRecord @relation(fields: [aprRecordId], references: [id])
|
|
140
|
+
aprRecordId String
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
model TVLRecord {
|
|
144
|
+
id String @id
|
|
145
|
+
timestamp BigInt
|
|
146
|
+
total Float
|
|
147
|
+
TvlBreakdown TVLBreakdown[]
|
|
148
|
+
|
|
149
|
+
Opportunity Opportunity @relation(fields: [opportunityId], references: [id])
|
|
150
|
+
opportunityId String
|
|
151
|
+
|
|
152
|
+
@@unique([opportunityId, timestamp])
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
model TVLBreakdown {
|
|
156
|
+
id Int @id @default(autoincrement())
|
|
157
|
+
identifier String
|
|
158
|
+
type TvlType
|
|
159
|
+
value Float
|
|
160
|
+
|
|
161
|
+
TvlRecord TVLRecord @relation(fields: [tvlRecordId], references: [id])
|
|
162
|
+
tvlRecordId String
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
model DailyRewardsRecord {
|
|
166
|
+
id String @id
|
|
167
|
+
timestamp BigInt
|
|
168
|
+
total Float
|
|
169
|
+
DailyRewardsBreakdown DailyRewardsBreakdown[]
|
|
170
|
+
|
|
171
|
+
Opportunity Opportunity @relation(fields: [opportunityId], references: [id])
|
|
172
|
+
opportunityId String
|
|
173
|
+
|
|
174
|
+
@@unique([opportunityId, timestamp])
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
model DailyRewardsBreakdown {
|
|
178
|
+
id Int @id @default(autoincrement())
|
|
179
|
+
value Float
|
|
180
|
+
campaignId String
|
|
181
|
+
Campaign Campaign @relation(fields: [campaignId], references: [id])
|
|
182
|
+
DailyRewardsRecord DailyRewardsRecord @relation(fields: [dailyRewardsRecordId], references: [id])
|
|
183
|
+
dailyRewardsRecordId String
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
model User {
|
|
187
|
+
address String @id @db.Char(42)
|
|
188
|
+
Rewards Reward[]
|
|
189
|
+
Blacklist Blacklist[]
|
|
190
|
+
CampaignsCreated Campaign[]
|
|
191
|
+
tags String[]
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
model Reward {
|
|
195
|
+
id String @id
|
|
196
|
+
MerklRoot MerklRoot @relation(fields: [root], references: [root])
|
|
197
|
+
root String
|
|
198
|
+
User User @relation(fields: [recipient], references: [address])
|
|
199
|
+
recipient String @db.Char(42)
|
|
200
|
+
RewardToken Token @relation(fields: [rewardTokenId], references: [id])
|
|
201
|
+
rewardTokenId String
|
|
202
|
+
proofs String[]
|
|
203
|
+
Breakdown RewardBreakdown[]
|
|
204
|
+
|
|
205
|
+
@@unique([root, recipient, rewardTokenId])
|
|
206
|
+
@@index([root])
|
|
207
|
+
@@index([root, recipient])
|
|
208
|
+
@@index([root, rewardTokenId])
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
model RewardBreakdown {
|
|
212
|
+
id Int @id @default(autoincrement())
|
|
213
|
+
Protocol Protocol? @relation(fields: [protocolId], references: [id])
|
|
214
|
+
protocolId String?
|
|
215
|
+
reason String
|
|
216
|
+
amount String
|
|
217
|
+
claimed String
|
|
218
|
+
pending String
|
|
219
|
+
auxiliaryData1 String?
|
|
220
|
+
auxiliaryData2 String?
|
|
221
|
+
Reward Reward @relation(fields: [rewardId], references: [id], onDelete: Cascade)
|
|
222
|
+
rewardId String
|
|
223
|
+
campaignId String
|
|
224
|
+
Campaign Campaign @relation(fields: [campaignId], references: [id])
|
|
225
|
+
|
|
226
|
+
@@unique([rewardId, campaignId, reason])
|
|
227
|
+
@@index([rewardId])
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
model MerklRoot {
|
|
231
|
+
root String @id
|
|
232
|
+
Chain Chain @relation(fields: [chainId], references: [id])
|
|
233
|
+
chainId Int
|
|
234
|
+
epoch Int
|
|
235
|
+
timestamp BigInt
|
|
236
|
+
Rewards Reward[]
|
|
237
|
+
|
|
238
|
+
@@index([chainId])
|
|
239
|
+
@@index([epoch])
|
|
240
|
+
@@index([root])
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
model PriceSource {
|
|
244
|
+
id Int @id @default(autoincrement())
|
|
245
|
+
symbol String @unique() // Price Id
|
|
246
|
+
method PriceSourceMethod
|
|
247
|
+
args Json?
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
// priceId -> number
|
|
251
|
+
|
|
252
|
+
model Blacklist {
|
|
253
|
+
id String @id
|
|
254
|
+
Chain Chain @relation(fields: [chainId], references: [id])
|
|
255
|
+
chainId Int
|
|
256
|
+
poolAddress String @db.Char(42)
|
|
257
|
+
User User @relation(fields: [userAddress], references: [address])
|
|
258
|
+
userAddress String @db.Char(42)
|
|
259
|
+
arrestTimestamp BigInt
|
|
260
|
+
arrestDetails Json
|
|
261
|
+
|
|
262
|
+
@@unique([chainId, userAddress, poolAddress])
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
model Dump {
|
|
266
|
+
id String @id
|
|
267
|
+
Chain Chain @relation(fields: [chainId], references: [id])
|
|
268
|
+
chainId Int
|
|
269
|
+
FromToken Token @relation(name: "from", fields: [fromTokenId], references: [id])
|
|
270
|
+
fromTokenId String
|
|
271
|
+
ToToken Token @relation(name: "to", fields: [toTokenId], references: [id])
|
|
272
|
+
toTokenId String
|
|
273
|
+
multisig String @db.Char(42)
|
|
274
|
+
recipient String @db.Char(42)
|
|
275
|
+
amountIn String @default("0")
|
|
276
|
+
amountOut String @default("0")
|
|
277
|
+
datetime DateTime
|
|
278
|
+
timestamp Int
|
|
279
|
+
|
|
280
|
+
@@unique([chainId, fromTokenId, toTokenId, timestamp])
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
model CampaignStatus {
|
|
284
|
+
campaignId String @id
|
|
285
|
+
Campaign Campaign @relation(fields: [campaignId], references: [id])
|
|
286
|
+
computedUntil BigInt @default(0)
|
|
287
|
+
processingStarted BigInt @default(0)
|
|
288
|
+
status RunStatus @default(SUCCESS)
|
|
289
|
+
error String @default("")
|
|
290
|
+
details Json @default("{}")
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
// enums
|
|
294
|
+
|
|
295
|
+
enum RunStatus {
|
|
296
|
+
PROCESSING
|
|
297
|
+
SUCCESS
|
|
298
|
+
FAILED
|
|
299
|
+
SKIPPED
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
enum CampaignType {
|
|
303
|
+
INVALID
|
|
304
|
+
ERC20
|
|
305
|
+
CLAMM
|
|
306
|
+
ERC20_SNAPSHOT
|
|
307
|
+
JSON_AIRDROP
|
|
308
|
+
SILO
|
|
309
|
+
RADIANT
|
|
310
|
+
MORPHO
|
|
311
|
+
DOLOMITE
|
|
312
|
+
BADGER
|
|
313
|
+
COMPOUND
|
|
314
|
+
AJNA
|
|
315
|
+
EULER
|
|
316
|
+
UNISWAP_V4
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
enum ProtocolTag {
|
|
320
|
+
AMM
|
|
321
|
+
ALM
|
|
322
|
+
DEX
|
|
323
|
+
LENDING
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
enum OpportunityAction {
|
|
327
|
+
POOL
|
|
328
|
+
HOLD
|
|
329
|
+
DROP
|
|
330
|
+
LEND
|
|
331
|
+
BORROW
|
|
332
|
+
INVALID
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
enum Status {
|
|
336
|
+
NONE
|
|
337
|
+
PAST
|
|
338
|
+
LIVE
|
|
339
|
+
SOON
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
enum ExplorerType {
|
|
343
|
+
ETHERSCAN
|
|
344
|
+
BLOCKSCOUT
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
enum AprType {
|
|
348
|
+
CAMPAIGN
|
|
349
|
+
TOKEN
|
|
350
|
+
PROTOCOL
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
enum TvlType {
|
|
354
|
+
TOKEN
|
|
355
|
+
PROTOCOL
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
enum PriceSourceMethod {
|
|
359
|
+
COINGECKO
|
|
360
|
+
CONSTANT
|
|
361
|
+
EQUAL_TO
|
|
362
|
+
ERC4626
|
|
363
|
+
DEXSCREENER
|
|
364
|
+
INDEXCOOP
|
|
365
|
+
DEFILLAMA
|
|
366
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './index'
|
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly arthswap: {
|
|
3
|
+
readonly id: "arthswap";
|
|
4
|
+
readonly name: "ArthSwap";
|
|
5
|
+
readonly tags: ["ALM"];
|
|
6
|
+
readonly icon: string;
|
|
7
|
+
readonly url: "";
|
|
8
|
+
};
|
|
9
|
+
readonly baseswap: {
|
|
10
|
+
readonly id: "baseswap";
|
|
11
|
+
readonly name: "BaseSwap";
|
|
12
|
+
readonly tags: ["ALM"];
|
|
13
|
+
readonly icon: string;
|
|
14
|
+
readonly url: "";
|
|
15
|
+
};
|
|
16
|
+
readonly camelot: {
|
|
17
|
+
readonly id: "camelot";
|
|
18
|
+
readonly name: "Camelot";
|
|
19
|
+
readonly tags: ["ALM"];
|
|
20
|
+
readonly icon: string;
|
|
21
|
+
readonly url: "";
|
|
22
|
+
};
|
|
23
|
+
readonly crust: {
|
|
24
|
+
readonly id: "crust";
|
|
25
|
+
readonly name: "Crust";
|
|
26
|
+
readonly tags: ["ALM"];
|
|
27
|
+
readonly icon: string;
|
|
28
|
+
readonly url: "";
|
|
29
|
+
};
|
|
30
|
+
readonly fenix: {
|
|
31
|
+
readonly id: "fenix";
|
|
32
|
+
readonly name: "Fenix";
|
|
33
|
+
readonly tags: ["ALM"];
|
|
34
|
+
readonly icon: string;
|
|
35
|
+
readonly url: "";
|
|
36
|
+
};
|
|
37
|
+
readonly horiza: {
|
|
38
|
+
readonly id: "horiza";
|
|
39
|
+
readonly name: "Horiza";
|
|
40
|
+
readonly tags: ["ALM"];
|
|
41
|
+
readonly icon: string;
|
|
42
|
+
readonly url: "";
|
|
43
|
+
};
|
|
44
|
+
readonly izumi: {
|
|
45
|
+
readonly id: "izumi";
|
|
46
|
+
readonly name: "Izumi";
|
|
47
|
+
readonly tags: ["ALM"];
|
|
48
|
+
readonly icon: string;
|
|
49
|
+
readonly url: "";
|
|
50
|
+
};
|
|
51
|
+
readonly kim: {
|
|
52
|
+
readonly id: "kim";
|
|
53
|
+
readonly name: "Kim";
|
|
54
|
+
readonly tags: ["ALM"];
|
|
55
|
+
readonly icon: string;
|
|
56
|
+
readonly url: "";
|
|
57
|
+
};
|
|
58
|
+
readonly "pancakeswap-v3": {
|
|
59
|
+
readonly id: "pancakeswap-v3";
|
|
60
|
+
readonly name: "PancakeSwapV3";
|
|
61
|
+
readonly tags: ["ALM"];
|
|
62
|
+
readonly icon: string;
|
|
63
|
+
readonly url: "";
|
|
64
|
+
};
|
|
65
|
+
readonly "quickswap-algebra": {
|
|
66
|
+
readonly id: "quickswap-algebra";
|
|
67
|
+
readonly name: "QuickswapAlgebra";
|
|
68
|
+
readonly tags: ["ALM"];
|
|
69
|
+
readonly icon: string;
|
|
70
|
+
readonly url: "";
|
|
71
|
+
};
|
|
72
|
+
readonly "quickswap-uni": {
|
|
73
|
+
readonly id: "quickswap-uni";
|
|
74
|
+
readonly name: "QuickswapUni";
|
|
75
|
+
readonly tags: ["ALM"];
|
|
76
|
+
readonly icon: string;
|
|
77
|
+
readonly url: "";
|
|
78
|
+
};
|
|
79
|
+
readonly ramses: {
|
|
80
|
+
readonly id: "ramses";
|
|
81
|
+
readonly name: "Ramses";
|
|
82
|
+
readonly tags: ["ALM"];
|
|
83
|
+
readonly icon: string;
|
|
84
|
+
readonly url: "";
|
|
85
|
+
};
|
|
86
|
+
readonly retro: {
|
|
87
|
+
readonly id: "retro";
|
|
88
|
+
readonly name: "Retro";
|
|
89
|
+
readonly tags: ["ALM"];
|
|
90
|
+
readonly icon: string;
|
|
91
|
+
readonly url: "";
|
|
92
|
+
};
|
|
93
|
+
readonly stryke: {
|
|
94
|
+
readonly id: "stryke";
|
|
95
|
+
readonly name: "Stryke";
|
|
96
|
+
readonly tags: ["ALM"];
|
|
97
|
+
readonly icon: string;
|
|
98
|
+
readonly url: "";
|
|
99
|
+
};
|
|
100
|
+
readonly "stryke-pcs": {
|
|
101
|
+
readonly id: "stryke-pcs";
|
|
102
|
+
readonly name: "StrykePCS";
|
|
103
|
+
readonly tags: ["ALM"];
|
|
104
|
+
readonly icon: string;
|
|
105
|
+
readonly url: "";
|
|
106
|
+
};
|
|
107
|
+
readonly "stryke-sushi": {
|
|
108
|
+
readonly id: "stryke-sushi";
|
|
109
|
+
readonly name: "StrykeSushi";
|
|
110
|
+
readonly tags: ["ALM"];
|
|
111
|
+
readonly icon: string;
|
|
112
|
+
readonly url: "";
|
|
113
|
+
};
|
|
114
|
+
readonly "sushiswap-v3": {
|
|
115
|
+
readonly id: "sushiswap-v3";
|
|
116
|
+
readonly name: "SushiSwapV3";
|
|
117
|
+
readonly tags: ["ALM"];
|
|
118
|
+
readonly icon: string;
|
|
119
|
+
readonly url: "";
|
|
120
|
+
};
|
|
121
|
+
readonly swapr: {
|
|
122
|
+
readonly id: "swapr";
|
|
123
|
+
readonly name: "Swapr";
|
|
124
|
+
readonly tags: ["ALM"];
|
|
125
|
+
readonly icon: string;
|
|
126
|
+
readonly url: "";
|
|
127
|
+
};
|
|
128
|
+
readonly thruster: {
|
|
129
|
+
readonly id: "thruster";
|
|
130
|
+
readonly name: "Thruster";
|
|
131
|
+
readonly tags: ["ALM"];
|
|
132
|
+
readonly icon: string;
|
|
133
|
+
readonly url: "";
|
|
134
|
+
};
|
|
135
|
+
readonly "uniswap-v3": {
|
|
136
|
+
readonly id: "uniswap-v3";
|
|
137
|
+
readonly name: "UniswapV3";
|
|
138
|
+
readonly tags: ["ALM"];
|
|
139
|
+
readonly icon: string;
|
|
140
|
+
readonly url: "";
|
|
141
|
+
};
|
|
142
|
+
readonly voltage: {
|
|
143
|
+
readonly id: "voltage";
|
|
144
|
+
readonly name: "Voltage";
|
|
145
|
+
readonly tags: ["ALM"];
|
|
146
|
+
readonly icon: string;
|
|
147
|
+
readonly url: "";
|
|
148
|
+
};
|
|
149
|
+
readonly zero: {
|
|
150
|
+
readonly id: "zero";
|
|
151
|
+
readonly name: "Zero";
|
|
152
|
+
readonly tags: ["ALM"];
|
|
153
|
+
readonly icon: string;
|
|
154
|
+
readonly url: "";
|
|
155
|
+
};
|
|
156
|
+
readonly koi: {
|
|
157
|
+
readonly id: "koi";
|
|
158
|
+
readonly name: "Koi";
|
|
159
|
+
readonly tags: ["ALM", "DEX"];
|
|
160
|
+
readonly icon: string;
|
|
161
|
+
readonly url: "";
|
|
162
|
+
};
|
|
163
|
+
readonly "uniswap-v2": {
|
|
164
|
+
readonly id: "uniswap-v2";
|
|
165
|
+
readonly name: "UniswapV2";
|
|
166
|
+
readonly tags: ["DEX"];
|
|
167
|
+
readonly icon: string;
|
|
168
|
+
readonly url: "";
|
|
169
|
+
};
|
|
170
|
+
readonly velodrome: {
|
|
171
|
+
readonly id: "velodrome";
|
|
172
|
+
readonly name: "Velodrome";
|
|
173
|
+
readonly tags: ["DEX"];
|
|
174
|
+
readonly icon: string;
|
|
175
|
+
readonly url: "";
|
|
176
|
+
};
|
|
177
|
+
readonly aerodrome: {
|
|
178
|
+
readonly id: "aerodrome";
|
|
179
|
+
readonly name: "Aerodrome";
|
|
180
|
+
readonly tags: ["DEX"];
|
|
181
|
+
readonly icon: string;
|
|
182
|
+
readonly url: "";
|
|
183
|
+
};
|
|
184
|
+
readonly balancer: {
|
|
185
|
+
readonly id: "balancer";
|
|
186
|
+
readonly name: "Balancer";
|
|
187
|
+
readonly tags: ["DEX"];
|
|
188
|
+
readonly icon: string;
|
|
189
|
+
readonly url: "";
|
|
190
|
+
};
|
|
191
|
+
readonly curve: {
|
|
192
|
+
readonly id: "curve";
|
|
193
|
+
readonly name: "Curve";
|
|
194
|
+
readonly tags: ["DEX"];
|
|
195
|
+
readonly icon: string;
|
|
196
|
+
readonly url: "";
|
|
197
|
+
};
|
|
198
|
+
readonly aura: {
|
|
199
|
+
readonly id: "aura";
|
|
200
|
+
readonly name: "Aura";
|
|
201
|
+
readonly tags: ["DEX"];
|
|
202
|
+
readonly icon: string;
|
|
203
|
+
readonly url: "";
|
|
204
|
+
};
|
|
205
|
+
readonly akron: {
|
|
206
|
+
readonly id: "akron";
|
|
207
|
+
readonly name: "Akron";
|
|
208
|
+
readonly tags: ["DEX"];
|
|
209
|
+
readonly icon: string;
|
|
210
|
+
readonly url: "";
|
|
211
|
+
};
|
|
212
|
+
readonly beefy: {
|
|
213
|
+
readonly id: "beefy";
|
|
214
|
+
readonly name: "Beefy Vaults";
|
|
215
|
+
readonly tags: ["DEX"];
|
|
216
|
+
readonly icon: string;
|
|
217
|
+
readonly url: "";
|
|
218
|
+
};
|
|
219
|
+
readonly dragonswap: {
|
|
220
|
+
readonly id: "dragonswap";
|
|
221
|
+
readonly name: "DragonSwap";
|
|
222
|
+
readonly tags: ["DEX"];
|
|
223
|
+
readonly icon: string;
|
|
224
|
+
readonly url: "";
|
|
225
|
+
};
|
|
226
|
+
readonly poolside: {
|
|
227
|
+
readonly id: "poolside";
|
|
228
|
+
readonly name: "Poolside";
|
|
229
|
+
readonly tags: ["DEX"];
|
|
230
|
+
readonly icon: string;
|
|
231
|
+
readonly url: "";
|
|
232
|
+
};
|
|
233
|
+
readonly radiant: {
|
|
234
|
+
readonly id: "radiant";
|
|
235
|
+
readonly name: "Radiant";
|
|
236
|
+
readonly tags: ["DEX", "LENDING"];
|
|
237
|
+
readonly icon: string;
|
|
238
|
+
readonly url: "";
|
|
239
|
+
};
|
|
240
|
+
readonly aave: {
|
|
241
|
+
readonly id: "aave";
|
|
242
|
+
readonly name: "Aave";
|
|
243
|
+
readonly tags: ["LENDING"];
|
|
244
|
+
readonly icon: string;
|
|
245
|
+
readonly url: "";
|
|
246
|
+
};
|
|
247
|
+
readonly euler: {
|
|
248
|
+
readonly id: "euler";
|
|
249
|
+
readonly name: "Euler";
|
|
250
|
+
readonly tags: ["LENDING"];
|
|
251
|
+
readonly icon: string;
|
|
252
|
+
readonly url: "";
|
|
253
|
+
};
|
|
254
|
+
readonly gearbox: {
|
|
255
|
+
readonly id: "gearbox";
|
|
256
|
+
readonly name: "Gearbox";
|
|
257
|
+
readonly tags: ["LENDING"];
|
|
258
|
+
readonly icon: string;
|
|
259
|
+
readonly url: "";
|
|
260
|
+
};
|
|
261
|
+
readonly compound: {
|
|
262
|
+
readonly id: "compound";
|
|
263
|
+
readonly name: "Compound";
|
|
264
|
+
readonly tags: ["LENDING"];
|
|
265
|
+
readonly icon: string;
|
|
266
|
+
readonly url: "";
|
|
267
|
+
};
|
|
268
|
+
readonly sturdy: {
|
|
269
|
+
readonly id: "sturdy";
|
|
270
|
+
readonly name: "Sturdy";
|
|
271
|
+
readonly tags: ["LENDING"];
|
|
272
|
+
readonly icon: string;
|
|
273
|
+
readonly url: "";
|
|
274
|
+
};
|
|
275
|
+
readonly frax: {
|
|
276
|
+
readonly id: "frax";
|
|
277
|
+
readonly name: "Frax";
|
|
278
|
+
readonly tags: ["LENDING"];
|
|
279
|
+
readonly icon: string;
|
|
280
|
+
readonly url: "";
|
|
281
|
+
};
|
|
282
|
+
readonly ionic: {
|
|
283
|
+
readonly id: "ionic";
|
|
284
|
+
readonly name: "Ionic";
|
|
285
|
+
readonly tags: ["LENDING"];
|
|
286
|
+
readonly icon: string;
|
|
287
|
+
readonly url: "";
|
|
288
|
+
};
|
|
289
|
+
readonly moonwell: {
|
|
290
|
+
readonly id: "moonwell";
|
|
291
|
+
readonly name: "Moonwell";
|
|
292
|
+
readonly tags: ["LENDING"];
|
|
293
|
+
readonly icon: string;
|
|
294
|
+
readonly url: "";
|
|
295
|
+
};
|
|
296
|
+
readonly fluid: {
|
|
297
|
+
readonly id: "fluid";
|
|
298
|
+
readonly name: "Fluid";
|
|
299
|
+
readonly tags: ["LENDING"];
|
|
300
|
+
readonly icon: string;
|
|
301
|
+
readonly url: "";
|
|
302
|
+
};
|
|
303
|
+
readonly silo: {
|
|
304
|
+
readonly id: "silo";
|
|
305
|
+
readonly name: "Silo";
|
|
306
|
+
readonly tags: ["LENDING"];
|
|
307
|
+
readonly icon: string;
|
|
308
|
+
readonly url: "";
|
|
309
|
+
};
|
|
310
|
+
readonly morpho: {
|
|
311
|
+
readonly id: "morpho";
|
|
312
|
+
readonly name: "Morpho";
|
|
313
|
+
readonly icon: string;
|
|
314
|
+
readonly url: "";
|
|
315
|
+
};
|
|
316
|
+
readonly coumpound: {
|
|
317
|
+
readonly id: "coumpound";
|
|
318
|
+
readonly name: "Compound";
|
|
319
|
+
readonly icon: string;
|
|
320
|
+
readonly url: "";
|
|
321
|
+
};
|
|
322
|
+
readonly dolomite: {
|
|
323
|
+
readonly id: "dolomite";
|
|
324
|
+
readonly name: "Dolomite";
|
|
325
|
+
readonly icon: string;
|
|
326
|
+
readonly url: "";
|
|
327
|
+
};
|
|
328
|
+
readonly badger: {
|
|
329
|
+
readonly id: "badger";
|
|
330
|
+
readonly name: "Badger";
|
|
331
|
+
readonly icon: string;
|
|
332
|
+
readonly url: "";
|
|
333
|
+
};
|
|
334
|
+
readonly ajna: {
|
|
335
|
+
readonly id: "ajna";
|
|
336
|
+
readonly name: "Ajna";
|
|
337
|
+
readonly icon: string;
|
|
338
|
+
readonly url: "";
|
|
339
|
+
};
|
|
340
|
+
readonly layerbank: {
|
|
341
|
+
readonly id: "layerbank";
|
|
342
|
+
readonly name: "LayerBank";
|
|
343
|
+
readonly icon: string;
|
|
344
|
+
readonly url: "";
|
|
345
|
+
};
|
|
346
|
+
readonly "supswap-v3": {
|
|
347
|
+
readonly id: "supswap-v3";
|
|
348
|
+
readonly name: "Supswap";
|
|
349
|
+
readonly icon: string;
|
|
350
|
+
readonly url: "";
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './index'
|