@gearbox-protocol/sdk 16.6.1 → 16.6.2
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/cjs/onchain/OnchainSDK.js +3 -3
- package/dist/cjs/onchain/index.js +49 -38
- package/dist/cjs/onchain/market/index.js +49 -38
- package/dist/cjs/onchain/market/oracle/PriceOracleBaseContract.js +3 -3
- package/dist/cjs/onchain/market/pricefeeds/AbstractPriceFeed.js +0 -5
- package/dist/cjs/onchain/market/pricefeeds/PriceFeedRegistry.js +127 -0
- package/dist/cjs/onchain/market/pricefeeds/{BalancerStablePriceFeed.js → feeds/BalancerStablePriceFeed.js} +4 -4
- package/dist/cjs/onchain/market/pricefeeds/{BalancerWeightedPriceFeed.js → feeds/BalancerWeightedPriceFeed.js} +4 -4
- package/dist/cjs/onchain/market/pricefeeds/{BoundedPriceFeed.js → feeds/BoundedPriceFeed.js} +4 -4
- package/dist/cjs/onchain/market/pricefeeds/{CompositePriceFeed.js → feeds/CompositePriceFeed.js} +4 -4
- package/dist/cjs/onchain/market/pricefeeds/{ConstantPriceFeed.js → feeds/ConstantPriceFeed.js} +3 -3
- package/dist/cjs/onchain/market/pricefeeds/{CurveCryptoPriceFeed.js → feeds/CurveCryptoPriceFeed.js} +4 -4
- package/dist/cjs/onchain/market/pricefeeds/{CurveStablePriceFeed.js → feeds/CurveStablePriceFeed.js} +4 -4
- package/dist/cjs/onchain/market/pricefeeds/{CurveUSDPriceFeed.js → feeds/CurveUSDPriceFeed.js} +4 -4
- package/dist/cjs/onchain/market/pricefeeds/{Erc4626PriceFeed.js → feeds/Erc4626PriceFeed.js} +4 -4
- package/dist/cjs/onchain/market/pricefeeds/{ExternalPriceFeed.js → feeds/ExternalPriceFeed.js} +4 -4
- package/dist/cjs/onchain/market/pricefeeds/{MellowLRTPriceFeed.js → feeds/MellowLRTPriceFeed.js} +4 -4
- package/dist/cjs/onchain/market/pricefeeds/{PendleTWAPPTPriceFeed.js → feeds/PendleTWAPPTPriceFeed.js} +4 -4
- package/dist/cjs/onchain/market/pricefeeds/{PythPriceFeed.js → feeds/PythPriceFeed.js} +3 -3
- package/dist/cjs/onchain/market/pricefeeds/{RedstonePriceFeed.js → feeds/RedstonePriceFeed.js} +6 -6
- package/dist/cjs/onchain/market/pricefeeds/{WstETHPriceFeed.js → feeds/WstETHPriceFeed.js} +4 -4
- package/dist/cjs/onchain/market/pricefeeds/{YearnPriceFeed.js → feeds/YearnPriceFeed.js} +4 -4
- package/dist/cjs/onchain/market/pricefeeds/{ZeroPriceFeed.js → feeds/ZeroPriceFeed.js} +4 -4
- package/dist/cjs/onchain/market/pricefeeds/feeds/index.js +35 -0
- package/dist/cjs/onchain/market/pricefeeds/index.js +51 -39
- package/dist/cjs/onchain/market/pricefeeds/updates/UpdatablePriceFeedRegistry.js +189 -0
- package/dist/cjs/onchain/market/pricefeeds/{getRawPriceUpdates.js → updates/getRawPriceUpdates.js} +2 -2
- package/dist/cjs/onchain/market/pricefeeds/updates/index.js +8 -0
- package/dist/cjs/onchain/market/pricefeeds/{isUpdatablePriceFeed.js → updates/isUpdatablePriceFeed.js} +1 -1
- package/dist/cjs/onchain/market/pricefeeds/updates/updatableDependencies.js +14 -0
- package/dist/cjs/permissionless/utils/price-update/get-price-update-tx.js +2 -2
- package/dist/cjs/permissionless/utils/price-update/get-updatable-feeds.js +2 -2
- package/dist/esm/onchain/OnchainSDK.js +3 -3
- package/dist/esm/onchain/index.js +25 -20
- package/dist/esm/onchain/market/index.js +25 -20
- package/dist/esm/onchain/market/oracle/PriceOracleBaseContract.js +1 -1
- package/dist/esm/onchain/market/pricefeeds/AbstractPriceFeed.js +0 -5
- package/dist/esm/onchain/market/pricefeeds/PriceFeedRegistry.js +126 -0
- package/dist/esm/onchain/market/pricefeeds/{BalancerStablePriceFeed.js → feeds/BalancerStablePriceFeed.js} +4 -4
- package/dist/esm/onchain/market/pricefeeds/{BalancerWeightedPriceFeed.js → feeds/BalancerWeightedPriceFeed.js} +4 -4
- package/dist/esm/onchain/market/pricefeeds/{BoundedPriceFeed.js → feeds/BoundedPriceFeed.js} +4 -4
- package/dist/esm/onchain/market/pricefeeds/{CompositePriceFeed.js → feeds/CompositePriceFeed.js} +4 -4
- package/dist/esm/onchain/market/pricefeeds/{ConstantPriceFeed.js → feeds/ConstantPriceFeed.js} +3 -3
- package/dist/esm/onchain/market/pricefeeds/{CurveCryptoPriceFeed.js → feeds/CurveCryptoPriceFeed.js} +4 -4
- package/dist/esm/onchain/market/pricefeeds/{CurveStablePriceFeed.js → feeds/CurveStablePriceFeed.js} +4 -4
- package/dist/esm/onchain/market/pricefeeds/{CurveUSDPriceFeed.js → feeds/CurveUSDPriceFeed.js} +4 -4
- package/dist/esm/onchain/market/pricefeeds/{Erc4626PriceFeed.js → feeds/Erc4626PriceFeed.js} +4 -4
- package/dist/esm/onchain/market/pricefeeds/{ExternalPriceFeed.js → feeds/ExternalPriceFeed.js} +4 -4
- package/dist/esm/onchain/market/pricefeeds/{MellowLRTPriceFeed.js → feeds/MellowLRTPriceFeed.js} +4 -4
- package/dist/esm/onchain/market/pricefeeds/{PendleTWAPPTPriceFeed.js → feeds/PendleTWAPPTPriceFeed.js} +4 -4
- package/dist/esm/onchain/market/pricefeeds/{PythPriceFeed.js → feeds/PythPriceFeed.js} +3 -3
- package/dist/esm/onchain/market/pricefeeds/{RedstonePriceFeed.js → feeds/RedstonePriceFeed.js} +6 -6
- package/dist/esm/onchain/market/pricefeeds/{WstETHPriceFeed.js → feeds/WstETHPriceFeed.js} +4 -4
- package/dist/esm/onchain/market/pricefeeds/{YearnPriceFeed.js → feeds/YearnPriceFeed.js} +4 -4
- package/dist/esm/onchain/market/pricefeeds/{ZeroPriceFeed.js → feeds/ZeroPriceFeed.js} +4 -4
- package/dist/esm/onchain/market/pricefeeds/feeds/index.js +18 -0
- package/dist/esm/onchain/market/pricefeeds/index.js +27 -21
- package/dist/esm/onchain/market/pricefeeds/updates/UpdatablePriceFeedRegistry.js +188 -0
- package/dist/esm/onchain/market/pricefeeds/{getRawPriceUpdates.js → updates/getRawPriceUpdates.js} +2 -2
- package/dist/esm/onchain/market/pricefeeds/updates/index.js +5 -1
- package/dist/esm/onchain/market/pricefeeds/{isUpdatablePriceFeed.js → updates/isUpdatablePriceFeed.js} +1 -1
- package/dist/esm/onchain/market/pricefeeds/updates/updatableDependencies.js +13 -0
- package/dist/esm/permissionless/utils/price-update/get-price-update-tx.js +1 -1
- package/dist/esm/permissionless/utils/price-update/get-updatable-feeds.js +1 -1
- package/dist/types/onchain/OnchainSDK.d.ts +2 -2
- package/dist/types/onchain/index.d.ts +27 -22
- package/dist/types/onchain/market/index.d.ts +27 -22
- package/dist/types/onchain/market/oracle/PriceOracleBaseContract.d.ts +2 -1
- package/dist/types/onchain/market/oracle/types.d.ts +2 -1
- package/dist/types/onchain/market/pricefeeds/AbstractPriceFeed.d.ts +1 -2
- package/dist/types/onchain/market/pricefeeds/PriceFeedRegistry.d.ts +60 -0
- package/dist/types/onchain/market/pricefeeds/feeds/BalancerStablePriceFeed.d.ts +12 -0
- package/dist/types/onchain/market/pricefeeds/{BalancerWeightedPriceFeed.d.ts → feeds/BalancerWeightedPriceFeed.d.ts} +7 -7
- package/dist/types/onchain/market/pricefeeds/feeds/BoundedPriceFeed.d.ts +15 -0
- package/dist/types/onchain/market/pricefeeds/{CompositePriceFeed.d.ts → feeds/CompositePriceFeed.d.ts} +6 -6
- package/dist/types/onchain/market/pricefeeds/{ConstantPriceFeed.d.ts → feeds/ConstantPriceFeed.d.ts} +6 -6
- package/dist/types/onchain/market/pricefeeds/feeds/CurveCryptoPriceFeed.d.ts +12 -0
- package/dist/types/onchain/market/pricefeeds/feeds/CurveStablePriceFeed.d.ts +12 -0
- package/dist/types/onchain/market/pricefeeds/feeds/CurveUSDPriceFeed.d.ts +12 -0
- package/dist/types/onchain/market/pricefeeds/feeds/Erc4626PriceFeed.d.ts +12 -0
- package/dist/types/onchain/market/pricefeeds/feeds/ExternalPriceFeed.d.ts +11 -0
- package/dist/types/onchain/market/pricefeeds/feeds/MellowLRTPriceFeed.d.ts +12 -0
- package/dist/types/onchain/market/pricefeeds/{PendleTWAPPTPriceFeed.d.ts → feeds/PendleTWAPPTPriceFeed.d.ts} +3 -3
- package/dist/types/onchain/market/pricefeeds/{PythPriceFeed.d.ts → feeds/PythPriceFeed.d.ts} +3 -3
- package/dist/types/onchain/market/pricefeeds/{RedstonePriceFeed.d.ts → feeds/RedstonePriceFeed.d.ts} +9 -9
- package/dist/types/onchain/market/pricefeeds/feeds/WstETHPriceFeed.d.ts +12 -0
- package/dist/types/onchain/market/pricefeeds/feeds/YearnPriceFeed.d.ts +12 -0
- package/dist/types/onchain/market/pricefeeds/feeds/ZeroPriceFeed.d.ts +11 -0
- package/dist/types/onchain/market/pricefeeds/feeds/index.d.ts +18 -0
- package/dist/types/onchain/market/pricefeeds/index.d.ts +28 -22
- package/dist/types/onchain/market/pricefeeds/types.d.ts +1 -31
- package/dist/types/onchain/market/pricefeeds/updates/RedstoneUpdater.d.ts +1 -1
- package/dist/types/onchain/market/pricefeeds/updates/UpdatablePriceFeedRegistry.d.ts +106 -0
- package/dist/types/onchain/market/pricefeeds/updates/getRawPriceUpdates.d.ts +6 -0
- package/dist/types/onchain/market/pricefeeds/updates/index.d.ts +7 -3
- package/dist/types/onchain/market/pricefeeds/updates/isUpdatablePriceFeed.d.ts +6 -0
- package/dist/types/onchain/market/pricefeeds/updates/types.d.ts +56 -2
- package/dist/types/onchain/market/pricefeeds/updates/updatableDependencies.d.ts +10 -0
- package/package.json +1 -1
- package/dist/cjs/onchain/market/pricefeeds/PriceFeedsRegister.js +0 -301
- package/dist/esm/onchain/market/pricefeeds/PriceFeedsRegister.js +0 -300
- package/dist/types/onchain/market/pricefeeds/BalancerStablePriceFeed.d.ts +0 -12
- package/dist/types/onchain/market/pricefeeds/BoundedPriceFeed.d.ts +0 -15
- package/dist/types/onchain/market/pricefeeds/CurveCryptoPriceFeed.d.ts +0 -12
- package/dist/types/onchain/market/pricefeeds/CurveStablePriceFeed.d.ts +0 -12
- package/dist/types/onchain/market/pricefeeds/CurveUSDPriceFeed.d.ts +0 -12
- package/dist/types/onchain/market/pricefeeds/Erc4626PriceFeed.d.ts +0 -12
- package/dist/types/onchain/market/pricefeeds/ExternalPriceFeed.d.ts +0 -11
- package/dist/types/onchain/market/pricefeeds/MellowLRTPriceFeed.d.ts +0 -12
- package/dist/types/onchain/market/pricefeeds/PriceFeedsRegister.d.ts +0 -180
- package/dist/types/onchain/market/pricefeeds/WstETHPriceFeed.d.ts +0 -12
- package/dist/types/onchain/market/pricefeeds/YearnPriceFeed.d.ts +0 -12
- package/dist/types/onchain/market/pricefeeds/ZeroPriceFeed.d.ts +0 -11
- package/dist/types/onchain/market/pricefeeds/getRawPriceUpdates.d.ts +0 -5
- package/dist/types/onchain/market/pricefeeds/isUpdatablePriceFeed.d.ts +0 -5
|
@@ -97,31 +97,36 @@ import { AdapterFactoryArgs, createAdapter } from "./adapters/createAdapter.js";
|
|
|
97
97
|
import { TokenTransfer } from "./adapters/transfers.js";
|
|
98
98
|
import { allTransfersAsTokenAmounts, classifyCurveOperation, curveAddLiquidityFromTransfers, curveRemoveLiquidityFromTransfers, fnSigToName, parsePosNegAmount, rewardsFromTransfers, swapFromTransfers, toNetTransfers } from "./adapters/transferHelpers.js";
|
|
99
99
|
import "./adapters/index.js";
|
|
100
|
-
import { IPriceFeedContract,
|
|
100
|
+
import { IPriceFeedContract, PriceFeedContractType, PriceFeedUsageType, PriceUpdate } from "./pricefeeds/types.js";
|
|
101
101
|
import { PriceFeedRef } from "./pricefeeds/PriceFeedRef.js";
|
|
102
102
|
import { AbstractPriceFeedContract, PartialPriceFeedInitError, PartialPriceFeedTreeNode, PriceFeedConstructorArgs } from "./pricefeeds/AbstractPriceFeed.js";
|
|
103
103
|
import { AbstractLPPriceFeedContract, isLPPriceFeed } from "./pricefeeds/AbstractLPPriceFeed.js";
|
|
104
|
-
import { BalancerStablePriceFeedContract } from "./pricefeeds/BalancerStablePriceFeed.js";
|
|
105
|
-
import { BalancerWeightedPriceFeedContract } from "./pricefeeds/BalancerWeightedPriceFeed.js";
|
|
106
|
-
import { BoundedPriceFeedContract } from "./pricefeeds/BoundedPriceFeed.js";
|
|
107
|
-
import { CompositePriceFeedContract } from "./pricefeeds/CompositePriceFeed.js";
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
104
|
+
import { BalancerStablePriceFeedContract } from "./pricefeeds/feeds/BalancerStablePriceFeed.js";
|
|
105
|
+
import { BalancerWeightedPriceFeedContract } from "./pricefeeds/feeds/BalancerWeightedPriceFeed.js";
|
|
106
|
+
import { BoundedPriceFeedContract } from "./pricefeeds/feeds/BoundedPriceFeed.js";
|
|
107
|
+
import { CompositePriceFeedContract } from "./pricefeeds/feeds/CompositePriceFeed.js";
|
|
108
|
+
import { ConstantPriceFeedContract } from "./pricefeeds/feeds/ConstantPriceFeed.js";
|
|
109
|
+
import { CurveCryptoPriceFeedContract } from "./pricefeeds/feeds/CurveCryptoPriceFeed.js";
|
|
110
|
+
import { CurveStablePriceFeedContract } from "./pricefeeds/feeds/CurveStablePriceFeed.js";
|
|
111
|
+
import { CurveUSDPriceFeedContract } from "./pricefeeds/feeds/CurveUSDPriceFeed.js";
|
|
112
|
+
import { Erc4626PriceFeedContract } from "./pricefeeds/feeds/Erc4626PriceFeed.js";
|
|
113
|
+
import { ExternalPriceFeedContract } from "./pricefeeds/feeds/ExternalPriceFeed.js";
|
|
114
|
+
import { MellowLRTPriceFeedContract } from "./pricefeeds/feeds/MellowLRTPriceFeed.js";
|
|
115
|
+
import { PendleTWAPPTPriceFeed } from "./pricefeeds/feeds/PendleTWAPPTPriceFeed.js";
|
|
116
|
+
import { PythPriceFeed } from "./pricefeeds/feeds/PythPriceFeed.js";
|
|
117
|
+
import { PriceUpdatesCache } from "./pricefeeds/updates/PriceUpdatesCache.js";
|
|
118
|
+
import { RedstoneOptions, RedstoneUpdater } from "./pricefeeds/updates/RedstoneUpdater.js";
|
|
119
|
+
import { IPriceUpdateTask, IPriceUpdater, IUpdatablePriceFeedContract, LatestUpdate, TimestampedCalldata, TimestampedCalldataWithPrice, UpdatablePriceFeedRegistryHooks, UpdatablePriceFeedRegistryOptions, UpdatePriceFeedsResult } from "./pricefeeds/updates/types.js";
|
|
120
|
+
import { RedstonePriceFeedContract } from "./pricefeeds/feeds/RedstonePriceFeed.js";
|
|
121
|
+
import { WstETHPriceFeedContract } from "./pricefeeds/feeds/WstETHPriceFeed.js";
|
|
122
|
+
import { YearnPriceFeedContract } from "./pricefeeds/feeds/YearnPriceFeed.js";
|
|
123
|
+
import { ZeroPriceFeedContract } from "./pricefeeds/feeds/ZeroPriceFeed.js";
|
|
124
|
+
import { PriceFeedRegistry } from "./pricefeeds/PriceFeedRegistry.js";
|
|
118
125
|
import { FetchRedstonePayloadsOptions, fetchRedstonePayloads } from "./pricefeeds/updates/fetchRedstonePayloads.js";
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import { YearnPriceFeedContract } from "./pricefeeds/YearnPriceFeed.js";
|
|
124
|
-
import { ZeroPriceFeedContract } from "./pricefeeds/ZeroPriceFeed.js";
|
|
126
|
+
import { getRawPriceUpdates } from "./pricefeeds/updates/getRawPriceUpdates.js";
|
|
127
|
+
import { isUpdatablePriceFeed } from "./pricefeeds/updates/isUpdatablePriceFeed.js";
|
|
128
|
+
import { UpdatablePriceFeedRegistry } from "./pricefeeds/updates/UpdatablePriceFeedRegistry.js";
|
|
129
|
+
import { updatableDependencies } from "./pricefeeds/updates/updatableDependencies.js";
|
|
125
130
|
import "./pricefeeds/index.js";
|
|
126
131
|
import { BalanceDelta, CreditAccountTokenQuota, ICreditConfiguratorContract, ICreditFacadeContract, ICreditManagerContract, LiquidationFees, MaxBorrowAmount, PartialLiquidationParams, PrepareUpdateQuotasProps, QuotaSlice } from "./credit/types.js";
|
|
127
132
|
import { CreditConfiguratorV310Contract, RampEvent } from "./credit/CreditConfiguratorV310Contract.js";
|
|
@@ -154,4 +159,4 @@ import "./zapper/index.js";
|
|
|
154
159
|
import { MarketRegister, MarketRegistryState, MarketRegistryStateHuman } from "./MarketRegister.js";
|
|
155
160
|
import { DEFAULT_QUOTA_BUFFER_BPS, MAX_LEVERAGE_BUFFER_BPS, OptimalRepaidAmountProps, PARTIAL_LIQUIDATION_BUFFER_BPS, QuotaMode, StrategyRateInputs, bpsToRay, calcBorrowApy, calcEffectiveBorrowApy, calcMaxLeverage, calcNetStrategyApy, calcPositionLeverage, calcQuotaRate, calcUtilization, calcUtilizationRaw, healthFactorBps, minSeizedAmount, optimalHFForPartialLiquidation, optimalRepaidAmount, rayToBps, usdToNumber } from "./math.js";
|
|
156
161
|
import { strategyName } from "./strategyName.js";
|
|
157
|
-
export { AbstractAdapterContract, AbstractAdapterContractOptions, AbstractLPPriceFeedContract, AbstractPriceFeedContract, AccountMigratorAdapterContract, AdapterContractStateHuman, AdapterContractType, AdapterFactoryArgs, AdapterProtocolOperation, AdapterType, BalanceDelta, BalancerStablePriceFeedContract, BalancerSwap, BalancerV3Pool, BalancerV3PoolStatus, BalancerV3RouterAdapterContract, BalancerV3WrapperAdapterContract, BalancerWeightedPriceFeedContract, BasicSwapCall, BoundedPriceFeedContract, CamelotPool, CamelotV3AdapterContract, CompositePriceFeedContract, CompressorZapperData, ConcreteAdapterContractOptions, ConvertFn, ConvexDeposit, ConvexDepositAndStake, ConvexStake, ConvexV1BaseRewardPoolAdapterContract, ConvexV1BoosterAdapterContract, ConvexWithdraw, ConvexWithdrawAndClaim, CreditAccountTokenQuota, CreditConfiguratorV310Contract, type abi as CreditFacadeV310Abi, abi as creditFacadeV310Abi, CreditFacadeV310BaseContract, CreditFacadeV310Contract, CreditManagerV310Contract, CreditSuite, Curve2AssetsAdapterContract, Curve3AssetsAdapterContract, Curve4AssetsAdapterContract, CurveAddLiquidity, CurveClaims, CurveCryptoPriceFeedContract, CurveExchange, CurveRemoveLiquidity, CurveRemoveLiquidityOneCoin, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, CurveV1AdapterStETHContract, CurveV1StableNGAdapterContract, CurveWithdrawal, DEFAULT_QUOTA_BUFFER_BPS, DEGEN_NFT_MIDAS, DEGEN_NFT_SECURITIZE, DStokenData, DaiUsdsAdapterContract, DelayedWithdrawalClaim, DelayedWithdrawalRequest, ERC4626AdapterContract, ERC4626ReferralAdapterContract, Erc4626PriceFeedContract, ExpectedBalanceDeltasProps, ExpectedOutput, ExternalPriceFeedContract,
|
|
162
|
+
export { AbstractAdapterContract, AbstractAdapterContractOptions, AbstractLPPriceFeedContract, AbstractPriceFeedContract, AccountMigratorAdapterContract, AdapterContractStateHuman, AdapterContractType, AdapterFactoryArgs, AdapterProtocolOperation, AdapterType, BalanceDelta, BalancerStablePriceFeedContract, BalancerSwap, BalancerV3Pool, BalancerV3PoolStatus, BalancerV3RouterAdapterContract, BalancerV3WrapperAdapterContract, BalancerWeightedPriceFeedContract, BasicSwapCall, BoundedPriceFeedContract, CamelotPool, CamelotV3AdapterContract, CompositePriceFeedContract, CompressorZapperData, ConcreteAdapterContractOptions, ConstantPriceFeedContract, ConvertFn, ConvexDeposit, ConvexDepositAndStake, ConvexStake, ConvexV1BaseRewardPoolAdapterContract, ConvexV1BoosterAdapterContract, ConvexWithdraw, ConvexWithdrawAndClaim, CreditAccountTokenQuota, CreditConfiguratorV310Contract, type abi as CreditFacadeV310Abi, abi as creditFacadeV310Abi, CreditFacadeV310BaseContract, CreditFacadeV310Contract, CreditManagerV310Contract, CreditSuite, Curve2AssetsAdapterContract, Curve3AssetsAdapterContract, Curve4AssetsAdapterContract, CurveAddLiquidity, CurveClaims, CurveCryptoPriceFeedContract, CurveExchange, CurveRemoveLiquidity, CurveRemoveLiquidityOneCoin, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, CurveV1AdapterStETHContract, CurveV1StableNGAdapterContract, CurveWithdrawal, DEFAULT_QUOTA_BUFFER_BPS, DEGEN_NFT_MIDAS, DEGEN_NFT_SECURITIZE, DStokenData, DaiUsdsAdapterContract, DelayedWithdrawalClaim, DelayedWithdrawalRequest, ERC4626AdapterContract, ERC4626ReferralAdapterContract, Erc4626PriceFeedContract, ExpectedBalanceDeltasProps, ExpectedOutput, ExternalPriceFeedContract, FetchRedstonePayloadsOptions, FluidDexAdapterContract, GaugeContract, GaugeParams, GetInvestorOptions, GetOpenAccountRequirementsProps, GetReward, IAdapterContract, ICreditConfiguratorContract, ICreditFacadeContract, ICreditManagerContract, IDegenNFT, IERC20ZapperContract, IETHZapperContract, IInterestRateModelContract, IPoolContract, IPriceFeedContract, IPriceOracleContract, type IPriceUpdateTask, type IPriceUpdater, IRWAFactory, IRateKeeperContract, type IUpdatablePriceFeedContract, IZapperContract, InfinifiGatewayAdapterContract, InfinifiUnwindingGatewayAdapterContract, InterestRateModelType, KelpLRTDepositPoolAdapterContract, KelpLRTWithdrawalManagerAdapterContract, type LatestUpdate, LegacyAdapterOperation, LidoSubmit, LidoV1AdapterContract, LinearInterestRateModelContract, LiquidationFees, MAX_LEVERAGE_BUFFER_BPS, MakerDeposit, MakerRedeem, MarketRegister, MarketRegistryState, MarketRegistryStateHuman, MarketSuite, MaxBorrowAmount, MellowClaimerAdapterContract, MellowDVVAdapterContract, MellowERC4626VaultAdapterContract, MellowLRTPriceFeedContract, MellowWrapperAdapterContract, MidasDegenNFT, MidasGatewayAdapterContract, MidasIssuanceVaultAdapterContract, MidasLiquidatorContract, MidasRedemptionVaultAdapterContract, OptimalRepaidAmountProps, PARTIAL_LIQUIDATION_BUFFER_BPS, PHANTOM_TOKEN_MIDAS_REDEMPTION, PHANTOM_TOKEN_SECURITIZE_REDEMPTION, ParsedZapperDeposit, ParsedZapperOperation, ParsedZapperRedeem, PartialLiquidationParams, PartialPriceFeedInitError, PartialPriceFeedTreeNode, PendlePair, PendlePairStatus, PendleRouterAdapterContract, PendleTWAPPTPriceFeed, PendleTokenType, PoolQuotaKeeperContract, PoolSuite, PoolV310Contract, PrepareUpdateQuotasProps, PriceFeedConstructorArgs, PriceFeedContractType, PriceFeedRef, PriceFeedRegistry, PriceFeedUsageType, PriceFeedsForAccountOptions, PriceFeedsForTokensOptions, PriceOracleV310Contract, PriceUpdate, PriceUpdatesCache, PythPriceFeed, QuotaMode, QuotaSlice, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWAFactoryData, RWAFactoryProtocol, RWAFactoryStateHuman, RWAInvestorData, RWARegistry, RWAState, RWAStateHuman, RWAUnderlyingData, RWA_COMPRESSOR_ADDRESS, RWA_LIQUIDATOR_MIDAS, RWA_LIQUIDATOR_SECURITIZE, RampEvent, RateKeeperType, RedstoneOptions, RedstonePriceFeedContract, RedstoneUpdater, SecuritizeCreditAccountData, SecuritizeDegenNFT, SecuritizeInvestorData, SecuritizeLiquidatorContract, SecuritizeOnRampAdapterContract, SecuritizeRWAFactory, SecuritizeRWAFactoryStateHuman, SecuritizeRedemptionGatewayAdapterContract, StakingRewardsAdapterContract, StrategyCollateralProps, StrategyRateInputs, Swap, type TimestampedCalldata, type TimestampedCalldataWithPrice, TokenAmount, TokenTransfer, TraderJoePool, TraderJoePoolVersion, TraderJoeRouterAdapterContract, Transfers, UniswapSwap, UniswapV2AdapterContract, UniswapV3AdapterContract, UniswapV4AdapterContract, UpdatablePriceFeedRegistry, type UpdatablePriceFeedRegistryHooks, type UpdatablePriceFeedRegistryOptions, type UpdatePriceFeedsResult, UpshiftVaultAdapterContract, VaultDeposit, VelodromeV2RouterAdapterContract, VersionedAbi, WithdrawCollateral, WstETHPriceFeedContract, WstETHUnwrap, WstETHV1AdapterContract, WstETHWrap, YearnPriceFeedContract, ZapperContract, ZapperData, ZeroPriceFeedContract, adapterActionAbi, adapterActionSelectors, adapterActionSignatures, adapterConstructorAbi, allTransfersAsTokenAmounts, bpsToRay, calcBorrowApy, calcEffectiveBorrowApy, calcMaxLeverage, calcNetStrategyApy, calcPositionLeverage, calcQuotaRate, calcUtilization, calcUtilizationRaw, classifyCurveOperation, collateralPriceInUnderlying, createAdapter, createPriceOracle, createZapper, curveAddLiquidityFromTransfers, curveRemoveLiquidityFromTransfers, dominantCollateral, erc4626ReferralAdapterAbi, expectedBalanceDeltas, fetchRedstonePayloads, fnSigToName, getAdapterActionAbi, getAdapterDeployParamsAbi, getAdapterType, getRawPriceUpdates, hasAdapterDeployParamsAbi, healthFactorBps, iBalancerV3RouterAbi, iBalancerV3RouterAdapterAbi, iBalancerV3WrapperAbi, iBalancerV3WrapperAdapterAbi, iBaseOnRampAbi, iBaseRewardPoolAbi, iBoosterAbi, iCamelotV3AdapterAbi, iCamelotV3RouterAbi, iConvexV1BaseRewardPoolAdapterAbi, iConvexV1BoosterAdapterAbi, iCurvePoolAbi, iCurvePoolStableNGAbi, iCurvePool_2Abi, iCurvePool_3Abi, iCurvePool_4Abi, iCurveV1StableNgAdapterAbi, iCurveV1_2AssetsAdapterAbi, iCurveV1_3AssetsAdapterAbi, iCurveV1_4AssetsAdapterAbi, iDaiUsdsAbi, iDaiUsdsAdapterAbi, iERC4626Abi, iERC4626ReferralAbi, iFluidDexAbi, iFluidDexAdapterAbi, iInfinifiGatewayAbi, iInfinifiGatewayAdapterAbi, iInfinifiUnwindingGatewayAbi, iInfinifiUnwindingGatewayAdapterAbi, iKelpLRTDepositPoolGatewayAbi, iKelpLRTWithdrawalManagerGatewayAbi, iKelpLrtDepositPoolAdapterAbi, iKelpLrtDepositPoolGatewayAbi, iKelpLrtWithdrawalManagerAdapterAbi, iKelpLrtWithdrawalManagerGatewayAbi, iLidoV1AdapterAbi, iMellow4626VaultAdapterAbi, iMellowClaimerAbi, iMellowClaimerAdapterAbi, iMellowWrapperAbi, iMellowWrapperAdapterAbi, iMidasGatewayAdapterV311Abi, iMidasGatewayV311Abi, iMidasIssuanceVaultAdapterV310Abi, iMidasIssuanceVaultV310Abi, iMidasRedemptionVaultAdapterV310Abi, iMidasRedemptionVaultGatewayV310Abi, iPendleRouterAbi, iPendleRouterAdapterAbi, iSecuritizeOnRampAbi, iSecuritizeOnRampAdapterV310Abi, iSecuritizeRedemptionGatewayAdapterV311Abi, iSecuritizeRedemptionGatewayV311Abi, iStakingRewardsAbi, iStakingRewardsAdapterAbi, iTraderJoeRouterAbi, iTraderJoeRouterAdapterAbi, iUniswapV2AdapterAbi, iUniswapV2Router02Abi, iUniswapV3Abi, iUniswapV3AdapterAbi, iUniswapV4AdapterAbi, iUniswapV4GatewayAbi, iUpshiftVaultAdapterAbi, iUpshiftVaultGatewayAbi, iVelodromeV2RouterAbi, iVelodromeV2RouterAdapterAbi, isLPPriceFeed, isRWAFactory, isStrategyCollateral, isUpdatablePriceFeed, iwstETHAbi, iwstEthv1AdapterAbi, lidoV1_WETHGatewayAbi, mellowDvvAdapterAbi, minSeizedAmount, optimalHFForPartialLiquidation, optimalRepaidAmount, parseAdapterAction, parseAdapterDeployParams, parsePosNegAmount, pickStrategyTargetCollateral, rayToBps, rewardsFromTransfers, strategyName, swapFromTransfers, toNetTransfers, updatableDependencies, usdToNumber };
|
|
@@ -8,8 +8,9 @@ import { DelegatedMulticall } from "../../utils/viem/executeDelegatedMulticalls.
|
|
|
8
8
|
import "../../utils/viem/index.js";
|
|
9
9
|
import { Asset, CreditAccountTokensSlice, PriceOracleData } from "../../base/types.js";
|
|
10
10
|
import { PriceOracleStateHuman } from "../../types/state-human.js";
|
|
11
|
-
import { IPriceFeedContract, PriceUpdate
|
|
11
|
+
import { IPriceFeedContract, PriceUpdate } from "../pricefeeds/types.js";
|
|
12
12
|
import { PriceFeedRef } from "../pricefeeds/PriceFeedRef.js";
|
|
13
|
+
import { UpdatePriceFeedsResult } from "../pricefeeds/updates/types.js";
|
|
13
14
|
import "../pricefeeds/index.js";
|
|
14
15
|
import PriceFeedAnswerMap from "./PriceFeedAnswerMap.js";
|
|
15
16
|
import { IPriceOracleContract, PriceFeedsForAccountOptions, PriceFeedsForTokensOptions } from "./types.js";
|
|
@@ -8,8 +8,9 @@ import { DelegatedMulticall } from "../../utils/viem/executeDelegatedMulticalls.
|
|
|
8
8
|
import "../../utils/viem/index.js";
|
|
9
9
|
import { Asset, CreditAccountTokensSlice, IBaseContract } from "../../base/types.js";
|
|
10
10
|
import { PriceOracleStateHuman } from "../../types/state-human.js";
|
|
11
|
-
import { IPriceFeedContract, PriceUpdate
|
|
11
|
+
import { IPriceFeedContract, PriceUpdate } from "../pricefeeds/types.js";
|
|
12
12
|
import { PriceFeedRef } from "../pricefeeds/PriceFeedRef.js";
|
|
13
|
+
import { UpdatePriceFeedsResult } from "../pricefeeds/updates/types.js";
|
|
13
14
|
import "../pricefeeds/index.js";
|
|
14
15
|
import PriceFeedAnswerMap from "./PriceFeedAnswerMap.js";
|
|
15
16
|
import "../../utils/index.js";
|
|
@@ -2,7 +2,7 @@ import { PriceFeedData } from "../../../model/opportunities.js";
|
|
|
2
2
|
import "../../../model/index.js";
|
|
3
3
|
import { PriceFeedAnswer, PriceFeedTreeNode } from "../../base/types.js";
|
|
4
4
|
import { PriceFeedStateHuman } from "../../types/state-human.js";
|
|
5
|
-
import { IPriceFeedContract,
|
|
5
|
+
import { IPriceFeedContract, PriceFeedContractType } from "./types.js";
|
|
6
6
|
import { PriceFeedRef } from "./PriceFeedRef.js";
|
|
7
7
|
import { ConstructOptions } from "../../base/Construct.js";
|
|
8
8
|
import "../../types/index.js";
|
|
@@ -36,7 +36,6 @@ declare abstract class AbstractPriceFeedContract<const abi extends Abi | readonl
|
|
|
36
36
|
updateAnswer(answer: PriceFeedAnswer): void;
|
|
37
37
|
get priceFeedType(): PriceFeedContractType;
|
|
38
38
|
stateHuman(raw?: boolean): UnionOmit<PriceFeedStateHuman, "stalenessPeriod">;
|
|
39
|
-
updatableDependencies(): IUpdatablePriceFeedContract[];
|
|
40
39
|
/**
|
|
41
40
|
* {@inheritDoc IPriceFeedContract.describe}
|
|
42
41
|
*/
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { PriceFeedTreeNode } from "../../base/types.js";
|
|
2
|
+
import { IPriceFeedContract } from "./types.js";
|
|
3
|
+
import { PartialPriceFeedTreeNode } from "./AbstractPriceFeed.js";
|
|
4
|
+
import { SDKConstruct } from "../../base/SDKConstruct.js";
|
|
5
|
+
import "../../base/index.js";
|
|
6
|
+
import { Address } from "viem";
|
|
7
|
+
//#region src/onchain/market/pricefeeds/PriceFeedRegistry.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* Chain-level cache of price feed contract instances.
|
|
10
|
+
*
|
|
11
|
+
* All {@link IPriceOracleContract}s across different markets share a single
|
|
12
|
+
* `PriceFeedRegistry`, avoiding duplicate contract wrappers for the same
|
|
13
|
+
* on-chain feed.
|
|
14
|
+
**/
|
|
15
|
+
declare class PriceFeedRegistry extends SDKConstruct {
|
|
16
|
+
#private;
|
|
17
|
+
/**
|
|
18
|
+
* Returns all price feeds known to sdk
|
|
19
|
+
*/
|
|
20
|
+
get feeds(): readonly IPriceFeedContract[];
|
|
21
|
+
/**
|
|
22
|
+
* Checks whether a price feed is already registered at the given address.
|
|
23
|
+
* @param address - On-chain address to look up.
|
|
24
|
+
**/
|
|
25
|
+
has(address: Address): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the cached price feed contract at the given address, if any.
|
|
28
|
+
* @param address - On-chain address to look up.
|
|
29
|
+
**/
|
|
30
|
+
get(address: Address): IPriceFeedContract | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Returns the cached price feed contract at the given address.
|
|
33
|
+
* @param address - On-chain address to look up.
|
|
34
|
+
* @throws If no feed is registered at that address.
|
|
35
|
+
**/
|
|
36
|
+
mustGet(address: Address): IPriceFeedContract;
|
|
37
|
+
/**
|
|
38
|
+
* Inserts or updates a price feed from a full tree node.
|
|
39
|
+
*
|
|
40
|
+
* If a fully loaded feed already exists at the same address, only the
|
|
41
|
+
* answer is refreshed. Otherwise a new contract wrapper is created and
|
|
42
|
+
* cached.
|
|
43
|
+
*
|
|
44
|
+
* @param data - Full price feed tree node from the compressor.
|
|
45
|
+
* @returns The cached (or newly created) feed instance.
|
|
46
|
+
* @throws If the created feed is only partially initialized.
|
|
47
|
+
**/
|
|
48
|
+
upsert(data: PriceFeedTreeNode): IPriceFeedContract;
|
|
49
|
+
/**
|
|
50
|
+
* Instantiates the appropriate price feed contract wrapper based on
|
|
51
|
+
* the `contractType` discriminator in the node's base params.
|
|
52
|
+
*
|
|
53
|
+
* @param data - Partial or full price feed tree node.
|
|
54
|
+
* @returns A new (uncached) feed contract instance.
|
|
55
|
+
* @throws If the contract type is unsupported and strict mode is enabled.
|
|
56
|
+
**/
|
|
57
|
+
create(data: PartialPriceFeedTreeNode): IPriceFeedContract;
|
|
58
|
+
}
|
|
59
|
+
//#endregion
|
|
60
|
+
export { PriceFeedRegistry };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
2
|
+
import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
|
|
3
|
+
import { bptStablePriceFeedAbi } from "../../../abi/oracles.js";
|
|
4
|
+
import "../../../abi/index.js";
|
|
5
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
6
|
+
//#region src/onchain/market/pricefeeds/feeds/BalancerStablePriceFeed.d.ts
|
|
7
|
+
type abi = typeof bptStablePriceFeedAbi;
|
|
8
|
+
declare class BalancerStablePriceFeedContract extends AbstractLPPriceFeedContract<abi> {
|
|
9
|
+
constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { BalancerStablePriceFeedContract };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BalancerWeightedPriceFeedStateHuman } from "
|
|
2
|
-
import { PartialPriceFeedTreeNode } from "
|
|
3
|
-
import { AbstractLPPriceFeedContract } from "
|
|
4
|
-
import { bptWeightedPriceFeedAbi } from "
|
|
5
|
-
import "
|
|
6
|
-
import { ConstructOptions } from "
|
|
1
|
+
import { BalancerWeightedPriceFeedStateHuman } from "../../../types/state-human.js";
|
|
2
|
+
import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
3
|
+
import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
|
|
4
|
+
import { bptWeightedPriceFeedAbi } from "../../../abi/oracles.js";
|
|
5
|
+
import "../../../abi/index.js";
|
|
6
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
7
7
|
import { Address, Hex, UnionOmit } from "viem";
|
|
8
|
-
//#region src/onchain/market/pricefeeds/BalancerWeightedPriceFeed.d.ts
|
|
8
|
+
//#region src/onchain/market/pricefeeds/feeds/BalancerWeightedPriceFeed.d.ts
|
|
9
9
|
type abi = typeof bptWeightedPriceFeedAbi;
|
|
10
10
|
declare class BalancerWeightedPriceFeedContract extends AbstractLPPriceFeedContract<abi> {
|
|
11
11
|
readonly vault: Address;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BoundedOracleStateHuman } from "../../../types/state-human.js";
|
|
2
|
+
import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
3
|
+
import { boundedPriceFeedAbi } from "../../../abi/oracles.js";
|
|
4
|
+
import "../../../abi/index.js";
|
|
5
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
6
|
+
import "../../../types/index.js";
|
|
7
|
+
//#region src/onchain/market/pricefeeds/feeds/BoundedPriceFeed.d.ts
|
|
8
|
+
type abi = typeof boundedPriceFeedAbi;
|
|
9
|
+
declare class BoundedPriceFeedContract extends AbstractPriceFeedContract<abi> {
|
|
10
|
+
readonly upperBound: bigint;
|
|
11
|
+
constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
|
|
12
|
+
stateHuman(raw?: boolean): Omit<BoundedOracleStateHuman, "stalenessPeriod">;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { BoundedPriceFeedContract };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PriceFeedRef } from "
|
|
2
|
-
import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "
|
|
3
|
-
import { compositePriceFeedAbi } from "
|
|
4
|
-
import "
|
|
5
|
-
import { ConstructOptions } from "
|
|
6
|
-
//#region src/onchain/market/pricefeeds/CompositePriceFeed.d.ts
|
|
1
|
+
import { PriceFeedRef } from "../PriceFeedRef.js";
|
|
2
|
+
import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
3
|
+
import { compositePriceFeedAbi } from "../../../abi/oracles.js";
|
|
4
|
+
import "../../../abi/index.js";
|
|
5
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
6
|
+
//#region src/onchain/market/pricefeeds/feeds/CompositePriceFeed.d.ts
|
|
7
7
|
type abi = typeof compositePriceFeedAbi;
|
|
8
8
|
declare class CompositePriceFeedContract extends AbstractPriceFeedContract<abi> {
|
|
9
9
|
constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
|
package/dist/types/onchain/market/pricefeeds/{ConstantPriceFeed.d.ts → feeds/ConstantPriceFeed.d.ts}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ConstantOracleStateHuman } from "
|
|
2
|
-
import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "
|
|
3
|
-
import { constantPriceFeedAbi } from "
|
|
4
|
-
import { ConstructOptions } from "
|
|
5
|
-
import "
|
|
6
|
-
//#region src/onchain/market/pricefeeds/ConstantPriceFeed.d.ts
|
|
1
|
+
import { ConstantOracleStateHuman } from "../../../types/state-human.js";
|
|
2
|
+
import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
3
|
+
import { constantPriceFeedAbi } from "../../../abi/oracles.js";
|
|
4
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
5
|
+
import "../../../types/index.js";
|
|
6
|
+
//#region src/onchain/market/pricefeeds/feeds/ConstantPriceFeed.d.ts
|
|
7
7
|
type abi = typeof constantPriceFeedAbi;
|
|
8
8
|
declare class ConstantPriceFeedContract extends AbstractPriceFeedContract<abi> {
|
|
9
9
|
readonly price: bigint;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
2
|
+
import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
|
|
3
|
+
import { curveCryptoLpPriceFeedAbi } from "../../../abi/oracles.js";
|
|
4
|
+
import "../../../abi/index.js";
|
|
5
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
6
|
+
//#region src/onchain/market/pricefeeds/feeds/CurveCryptoPriceFeed.d.ts
|
|
7
|
+
type abi = typeof curveCryptoLpPriceFeedAbi;
|
|
8
|
+
declare class CurveCryptoPriceFeedContract extends AbstractLPPriceFeedContract<abi> {
|
|
9
|
+
constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { CurveCryptoPriceFeedContract };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
2
|
+
import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
|
|
3
|
+
import { curveStableLpPriceFeedAbi } from "../../../abi/oracles.js";
|
|
4
|
+
import "../../../abi/index.js";
|
|
5
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
6
|
+
//#region src/onchain/market/pricefeeds/feeds/CurveStablePriceFeed.d.ts
|
|
7
|
+
type abi = typeof curveStableLpPriceFeedAbi;
|
|
8
|
+
declare class CurveStablePriceFeedContract extends AbstractLPPriceFeedContract<abi> {
|
|
9
|
+
constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { CurveStablePriceFeedContract };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
2
|
+
import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
|
|
3
|
+
import { curveUsdPriceFeedAbi } from "../../../abi/oracles.js";
|
|
4
|
+
import "../../../abi/index.js";
|
|
5
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
6
|
+
//#region src/onchain/market/pricefeeds/feeds/CurveUSDPriceFeed.d.ts
|
|
7
|
+
type abi = typeof curveUsdPriceFeedAbi;
|
|
8
|
+
declare class CurveUSDPriceFeedContract extends AbstractLPPriceFeedContract<abi> {
|
|
9
|
+
constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { CurveUSDPriceFeedContract };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
2
|
+
import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
|
|
3
|
+
import { erc4626PriceFeedAbi } from "../../../abi/oracles.js";
|
|
4
|
+
import "../../../abi/index.js";
|
|
5
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
6
|
+
//#region src/onchain/market/pricefeeds/feeds/Erc4626PriceFeed.d.ts
|
|
7
|
+
type abi = typeof erc4626PriceFeedAbi;
|
|
8
|
+
declare class Erc4626PriceFeedContract extends AbstractLPPriceFeedContract<abi> {
|
|
9
|
+
constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { Erc4626PriceFeedContract };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
2
|
+
import { chainlinkReadableAggregatorAbi } from "../../../abi/oracles.js";
|
|
3
|
+
import "../../../abi/index.js";
|
|
4
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
5
|
+
//#region src/onchain/market/pricefeeds/feeds/ExternalPriceFeed.d.ts
|
|
6
|
+
type abi = typeof chainlinkReadableAggregatorAbi;
|
|
7
|
+
declare class ExternalPriceFeedContract extends AbstractPriceFeedContract<abi> {
|
|
8
|
+
constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { ExternalPriceFeedContract };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
2
|
+
import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
|
|
3
|
+
import { mellowLrtPriceFeedAbi } from "../../../abi/oracles.js";
|
|
4
|
+
import "../../../abi/index.js";
|
|
5
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
6
|
+
//#region src/onchain/market/pricefeeds/feeds/MellowLRTPriceFeed.d.ts
|
|
7
|
+
type abi = typeof mellowLrtPriceFeedAbi;
|
|
8
|
+
declare class MellowLRTPriceFeedContract extends AbstractLPPriceFeedContract<abi> {
|
|
9
|
+
constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { MellowLRTPriceFeedContract };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "
|
|
2
|
-
import { ConstructOptions } from "
|
|
1
|
+
import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
2
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
3
3
|
import { Address } from "viem";
|
|
4
|
-
//#region src/onchain/market/pricefeeds/PendleTWAPPTPriceFeed.d.ts
|
|
4
|
+
//#region src/onchain/market/pricefeeds/feeds/PendleTWAPPTPriceFeed.d.ts
|
|
5
5
|
declare const abi: readonly [{
|
|
6
6
|
readonly type: "constructor";
|
|
7
7
|
readonly inputs: readonly [{
|
package/dist/types/onchain/market/pricefeeds/{PythPriceFeed.d.ts → feeds/PythPriceFeed.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "
|
|
2
|
-
import { ConstructOptions } from "
|
|
1
|
+
import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
2
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
3
3
|
import { Address, Hex } from "viem";
|
|
4
|
-
//#region src/onchain/market/pricefeeds/PythPriceFeed.d.ts
|
|
4
|
+
//#region src/onchain/market/pricefeeds/feeds/PythPriceFeed.d.ts
|
|
5
5
|
declare const abi: readonly [{
|
|
6
6
|
readonly type: "constructor";
|
|
7
7
|
readonly inputs: readonly [{
|
package/dist/types/onchain/market/pricefeeds/{RedstonePriceFeed.d.ts → feeds/RedstonePriceFeed.d.ts}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { RedstonePriceFeedStateHuman } from "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import "
|
|
6
|
-
import { RawTx } from "
|
|
7
|
-
import { ConstructOptions } from "
|
|
8
|
-
import "
|
|
1
|
+
import { RedstonePriceFeedStateHuman } from "../../../types/state-human.js";
|
|
2
|
+
import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
3
|
+
import { redstonePriceFeedAbi } from "../../../abi/oracles.js";
|
|
4
|
+
import "../../../abi/index.js";
|
|
5
|
+
import { IUpdatablePriceFeedContract } from "../updates/types.js";
|
|
6
|
+
import { RawTx } from "../../../types/transactions.js";
|
|
7
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
8
|
+
import "../../../types/index.js";
|
|
9
9
|
import { Address, Hex } from "viem";
|
|
10
|
-
//#region src/onchain/market/pricefeeds/RedstonePriceFeed.d.ts
|
|
10
|
+
//#region src/onchain/market/pricefeeds/feeds/RedstonePriceFeed.d.ts
|
|
11
11
|
type abi = typeof redstonePriceFeedAbi;
|
|
12
12
|
declare class RedstonePriceFeedContract extends AbstractPriceFeedContract<abi> implements IUpdatablePriceFeedContract {
|
|
13
13
|
readonly token: Address;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
2
|
+
import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
|
|
3
|
+
import { wstEthPriceFeedAbi } from "../../../abi/oracles.js";
|
|
4
|
+
import "../../../abi/index.js";
|
|
5
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
6
|
+
//#region src/onchain/market/pricefeeds/feeds/WstETHPriceFeed.d.ts
|
|
7
|
+
type abi = typeof wstEthPriceFeedAbi;
|
|
8
|
+
declare class WstETHPriceFeedContract extends AbstractLPPriceFeedContract<abi> {
|
|
9
|
+
constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { WstETHPriceFeedContract };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
2
|
+
import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
|
|
3
|
+
import { yearnPriceFeedAbi } from "../../../abi/oracles.js";
|
|
4
|
+
import "../../../abi/index.js";
|
|
5
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
6
|
+
//#region src/onchain/market/pricefeeds/feeds/YearnPriceFeed.d.ts
|
|
7
|
+
type abi = typeof yearnPriceFeedAbi;
|
|
8
|
+
declare class YearnPriceFeedContract extends AbstractLPPriceFeedContract<abi> {
|
|
9
|
+
constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { YearnPriceFeedContract };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
|
|
2
|
+
import { zeroPriceFeedAbi } from "../../../abi/oracles.js";
|
|
3
|
+
import "../../../abi/index.js";
|
|
4
|
+
import { ConstructOptions } from "../../../base/Construct.js";
|
|
5
|
+
//#region src/onchain/market/pricefeeds/feeds/ZeroPriceFeed.d.ts
|
|
6
|
+
type abi = typeof zeroPriceFeedAbi;
|
|
7
|
+
declare class ZeroPriceFeedContract extends AbstractPriceFeedContract<abi> {
|
|
8
|
+
constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { ZeroPriceFeedContract };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BalancerStablePriceFeedContract } from "./BalancerStablePriceFeed.js";
|
|
2
|
+
import { BalancerWeightedPriceFeedContract } from "./BalancerWeightedPriceFeed.js";
|
|
3
|
+
import { BoundedPriceFeedContract } from "./BoundedPriceFeed.js";
|
|
4
|
+
import { CompositePriceFeedContract } from "./CompositePriceFeed.js";
|
|
5
|
+
import { ConstantPriceFeedContract } from "./ConstantPriceFeed.js";
|
|
6
|
+
import { CurveCryptoPriceFeedContract } from "./CurveCryptoPriceFeed.js";
|
|
7
|
+
import { CurveStablePriceFeedContract } from "./CurveStablePriceFeed.js";
|
|
8
|
+
import { CurveUSDPriceFeedContract } from "./CurveUSDPriceFeed.js";
|
|
9
|
+
import { Erc4626PriceFeedContract } from "./Erc4626PriceFeed.js";
|
|
10
|
+
import { ExternalPriceFeedContract } from "./ExternalPriceFeed.js";
|
|
11
|
+
import { MellowLRTPriceFeedContract } from "./MellowLRTPriceFeed.js";
|
|
12
|
+
import { PendleTWAPPTPriceFeed } from "./PendleTWAPPTPriceFeed.js";
|
|
13
|
+
import { PythPriceFeed } from "./PythPriceFeed.js";
|
|
14
|
+
import { RedstonePriceFeedContract } from "./RedstonePriceFeed.js";
|
|
15
|
+
import { WstETHPriceFeedContract } from "./WstETHPriceFeed.js";
|
|
16
|
+
import { YearnPriceFeedContract } from "./YearnPriceFeed.js";
|
|
17
|
+
import { ZeroPriceFeedContract } from "./ZeroPriceFeed.js";
|
|
18
|
+
export { BalancerStablePriceFeedContract, BalancerWeightedPriceFeedContract, BoundedPriceFeedContract, CompositePriceFeedContract, ConstantPriceFeedContract, CurveCryptoPriceFeedContract, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, Erc4626PriceFeedContract, ExternalPriceFeedContract, MellowLRTPriceFeedContract, PendleTWAPPTPriceFeed, PythPriceFeed, RedstonePriceFeedContract, WstETHPriceFeedContract, YearnPriceFeedContract, ZeroPriceFeedContract };
|
|
@@ -1,27 +1,33 @@
|
|
|
1
|
-
import { IPriceFeedContract,
|
|
1
|
+
import { IPriceFeedContract, PriceFeedContractType, PriceFeedUsageType, PriceUpdate } from "./types.js";
|
|
2
2
|
import { PriceFeedRef } from "./PriceFeedRef.js";
|
|
3
3
|
import { AbstractPriceFeedContract, PartialPriceFeedInitError, PartialPriceFeedTreeNode, PriceFeedConstructorArgs } from "./AbstractPriceFeed.js";
|
|
4
4
|
import { AbstractLPPriceFeedContract, isLPPriceFeed } from "./AbstractLPPriceFeed.js";
|
|
5
|
-
import { BalancerStablePriceFeedContract } from "./BalancerStablePriceFeed.js";
|
|
6
|
-
import { BalancerWeightedPriceFeedContract } from "./BalancerWeightedPriceFeed.js";
|
|
7
|
-
import { BoundedPriceFeedContract } from "./BoundedPriceFeed.js";
|
|
8
|
-
import { CompositePriceFeedContract } from "./CompositePriceFeed.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
5
|
+
import { BalancerStablePriceFeedContract } from "./feeds/BalancerStablePriceFeed.js";
|
|
6
|
+
import { BalancerWeightedPriceFeedContract } from "./feeds/BalancerWeightedPriceFeed.js";
|
|
7
|
+
import { BoundedPriceFeedContract } from "./feeds/BoundedPriceFeed.js";
|
|
8
|
+
import { CompositePriceFeedContract } from "./feeds/CompositePriceFeed.js";
|
|
9
|
+
import { ConstantPriceFeedContract } from "./feeds/ConstantPriceFeed.js";
|
|
10
|
+
import { CurveCryptoPriceFeedContract } from "./feeds/CurveCryptoPriceFeed.js";
|
|
11
|
+
import { CurveStablePriceFeedContract } from "./feeds/CurveStablePriceFeed.js";
|
|
12
|
+
import { CurveUSDPriceFeedContract } from "./feeds/CurveUSDPriceFeed.js";
|
|
13
|
+
import { Erc4626PriceFeedContract } from "./feeds/Erc4626PriceFeed.js";
|
|
14
|
+
import { ExternalPriceFeedContract } from "./feeds/ExternalPriceFeed.js";
|
|
15
|
+
import { MellowLRTPriceFeedContract } from "./feeds/MellowLRTPriceFeed.js";
|
|
16
|
+
import { PendleTWAPPTPriceFeed } from "./feeds/PendleTWAPPTPriceFeed.js";
|
|
17
|
+
import { PythPriceFeed } from "./feeds/PythPriceFeed.js";
|
|
18
|
+
import { PriceUpdatesCache } from "./updates/PriceUpdatesCache.js";
|
|
19
|
+
import { RedstoneOptions, RedstoneUpdater } from "./updates/RedstoneUpdater.js";
|
|
20
|
+
import { IPriceUpdateTask, IPriceUpdater, IUpdatablePriceFeedContract, LatestUpdate, TimestampedCalldata, TimestampedCalldataWithPrice, UpdatablePriceFeedRegistryHooks, UpdatablePriceFeedRegistryOptions, UpdatePriceFeedsResult } from "./updates/types.js";
|
|
21
|
+
import { RedstonePriceFeedContract } from "./feeds/RedstonePriceFeed.js";
|
|
22
|
+
import { WstETHPriceFeedContract } from "./feeds/WstETHPriceFeed.js";
|
|
23
|
+
import { YearnPriceFeedContract } from "./feeds/YearnPriceFeed.js";
|
|
24
|
+
import { ZeroPriceFeedContract } from "./feeds/ZeroPriceFeed.js";
|
|
25
|
+
import "./feeds/index.js";
|
|
26
|
+
import { PriceFeedRegistry } from "./PriceFeedRegistry.js";
|
|
19
27
|
import { FetchRedstonePayloadsOptions, fetchRedstonePayloads } from "./updates/fetchRedstonePayloads.js";
|
|
28
|
+
import { getRawPriceUpdates } from "./updates/getRawPriceUpdates.js";
|
|
29
|
+
import { isUpdatablePriceFeed } from "./updates/isUpdatablePriceFeed.js";
|
|
30
|
+
import { UpdatablePriceFeedRegistry } from "./updates/UpdatablePriceFeedRegistry.js";
|
|
31
|
+
import { updatableDependencies } from "./updates/updatableDependencies.js";
|
|
20
32
|
import "./updates/index.js";
|
|
21
|
-
|
|
22
|
-
import { PythPriceFeed } from "./PythPriceFeed.js";
|
|
23
|
-
import { RedstonePriceFeedContract } from "./RedstonePriceFeed.js";
|
|
24
|
-
import { WstETHPriceFeedContract } from "./WstETHPriceFeed.js";
|
|
25
|
-
import { YearnPriceFeedContract } from "./YearnPriceFeed.js";
|
|
26
|
-
import { ZeroPriceFeedContract } from "./ZeroPriceFeed.js";
|
|
27
|
-
export { AbstractLPPriceFeedContract, AbstractPriceFeedContract, BalancerStablePriceFeedContract, BalancerWeightedPriceFeedContract, BoundedPriceFeedContract, CompositePriceFeedContract, CurveCryptoPriceFeedContract, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, Erc4626PriceFeedContract, ExternalPriceFeedContract, type FetchRedstonePayloadsOptions, IPriceFeedContract, IUpdatablePriceFeedContract, LatestUpdate, MellowLRTPriceFeedContract, PartialPriceFeedInitError, PartialPriceFeedTreeNode, PendleTWAPPTPriceFeed, PriceFeedConstructorArgs, PriceFeedContractType, PriceFeedRef, PriceFeedRegister, PriceFeedRegisterHooks, PriceFeedRegisterOptions, PriceFeedUsageType, PriceUpdate, PythPriceFeed, RedstonePriceFeedContract, type TimestampedCalldata, UpdatePriceFeedsResult, WstETHPriceFeedContract, YearnPriceFeedContract, ZeroPriceFeedContract, fetchRedstonePayloads, getRawPriceUpdates, isLPPriceFeed, isUpdatablePriceFeed };
|
|
33
|
+
export { AbstractLPPriceFeedContract, AbstractPriceFeedContract, BalancerStablePriceFeedContract, BalancerWeightedPriceFeedContract, BoundedPriceFeedContract, CompositePriceFeedContract, ConstantPriceFeedContract, CurveCryptoPriceFeedContract, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, Erc4626PriceFeedContract, ExternalPriceFeedContract, FetchRedstonePayloadsOptions, IPriceFeedContract, type IPriceUpdateTask, type IPriceUpdater, type IUpdatablePriceFeedContract, type LatestUpdate, MellowLRTPriceFeedContract, PartialPriceFeedInitError, PartialPriceFeedTreeNode, PendleTWAPPTPriceFeed, PriceFeedConstructorArgs, PriceFeedContractType, PriceFeedRef, PriceFeedRegistry, PriceFeedUsageType, PriceUpdate, PriceUpdatesCache, PythPriceFeed, RedstoneOptions, RedstonePriceFeedContract, RedstoneUpdater, type TimestampedCalldata, type TimestampedCalldataWithPrice, UpdatablePriceFeedRegistry, type UpdatablePriceFeedRegistryHooks, type UpdatablePriceFeedRegistryOptions, type UpdatePriceFeedsResult, WstETHPriceFeedContract, YearnPriceFeedContract, ZeroPriceFeedContract, fetchRedstonePayloads, getRawPriceUpdates, isLPPriceFeed, isUpdatablePriceFeed, updatableDependencies };
|
|
@@ -3,7 +3,6 @@ import "../../../model/index.js";
|
|
|
3
3
|
import { IBaseContract, PriceFeedAnswer } from "../../base/types.js";
|
|
4
4
|
import { PriceFeedStateHuman } from "../../types/state-human.js";
|
|
5
5
|
import { PriceFeedRef } from "./PriceFeedRef.js";
|
|
6
|
-
import { IPriceUpdateTx, RawTx } from "../../types/transactions.js";
|
|
7
6
|
import "../../types/index.js";
|
|
8
7
|
import "../../base/index.js";
|
|
9
8
|
import { Address, Hex, UnionOmit } from "viem";
|
|
@@ -74,11 +73,6 @@ interface IPriceFeedContract extends IBaseContract {
|
|
|
74
73
|
* @param raw - When `true`, includes raw/unformatted values.
|
|
75
74
|
**/
|
|
76
75
|
stateHuman: (raw?: boolean) => UnionOmit<PriceFeedStateHuman, "stalenessPeriod">;
|
|
77
|
-
/**
|
|
78
|
-
* Collects all updatable feeds in this feed's dependency tree,
|
|
79
|
-
* including this feed itself when it is updatable.
|
|
80
|
-
**/
|
|
81
|
-
updatableDependencies: () => IUpdatablePriceFeedContract[];
|
|
82
76
|
/**
|
|
83
77
|
* Describes this feed and the feeds it reads from the way the shared read
|
|
84
78
|
* model does.
|
|
@@ -88,30 +82,6 @@ interface IPriceFeedContract extends IBaseContract {
|
|
|
88
82
|
**/
|
|
89
83
|
describe: () => PriceFeedData;
|
|
90
84
|
}
|
|
91
|
-
/**
|
|
92
|
-
* Extended price feed interface for feeds whose price can be refreshed
|
|
93
|
-
* via an off-chain data push (e.g. Pyth or Redstone feeds).
|
|
94
|
-
**/
|
|
95
|
-
interface IUpdatablePriceFeedContract extends IPriceFeedContract {
|
|
96
|
-
/**
|
|
97
|
-
* Builds a raw transaction that pushes new price data to the on-chain feed.
|
|
98
|
-
* @param data - ABI-encoded update payload.
|
|
99
|
-
**/
|
|
100
|
-
createPriceUpdateTx: (data: `0x${string}`) => RawTx;
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* Result of generating price-feed update transactions.
|
|
104
|
-
**/
|
|
105
|
-
interface UpdatePriceFeedsResult {
|
|
106
|
-
/**
|
|
107
|
-
* Transactions that push fresh prices to updatable feeds.
|
|
108
|
-
**/
|
|
109
|
-
txs: IPriceUpdateTx[];
|
|
110
|
-
/**
|
|
111
|
-
* Latest timestamp among all fetched price updates (unix seconds).
|
|
112
|
-
**/
|
|
113
|
-
timestamp: number;
|
|
114
|
-
}
|
|
115
85
|
/**
|
|
116
86
|
* Pair: updatable price feed address and
|
|
117
87
|
* data can be passed to IUpdatablePriceFeed.updatePrice
|
|
@@ -127,4 +97,4 @@ interface PriceUpdate {
|
|
|
127
97
|
data: Hex;
|
|
128
98
|
}
|
|
129
99
|
//#endregion
|
|
130
|
-
export { IPriceFeedContract,
|
|
100
|
+
export { IPriceFeedContract, PriceFeedContractType, PriceFeedUsageType, PriceUpdate };
|