@1delta/margin-fetcher 0.0.246 → 0.0.250
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/_esm-QP3LOJYU.js +3898 -0
- package/dist/_esm-QP3LOJYU.js.map +1 -0
- package/dist/abis/aave/AaveOracle.d.ts +50 -0
- package/dist/abis/aave/AaveOracle.d.ts.map +1 -0
- package/dist/abis/aave/AavePoolAndDataProvider.d.ts +1618 -0
- package/dist/abis/aave/AavePoolAndDataProvider.d.ts.map +1 -0
- package/dist/abis/aave/AavePoolV3Upgraded.d.ts +1134 -0
- package/dist/abis/aave/AavePoolV3Upgraded.d.ts.map +1 -0
- package/dist/abis/aave/AaveV3ProtocolDataProvider.d.ts +420 -0
- package/dist/abis/aave/AaveV3ProtocolDataProvider.d.ts.map +1 -0
- package/dist/abis/aave/VariableDebtToken.d.ts +635 -0
- package/dist/abis/aave/VariableDebtToken.d.ts.map +1 -0
- package/dist/abis/aave-v2/ProtocolDataProvider.d.ts +238 -0
- package/dist/abis/aave-v2/ProtocolDataProvider.d.ts.map +1 -0
- package/dist/abis/aave-v2/YLDR.d.ts +209 -0
- package/dist/abis/aave-v2/YLDR.d.ts.map +1 -0
- package/dist/abis/aave-v3/AavePoolDataProviderLegacy.d.ts +406 -0
- package/dist/abis/aave-v3/AavePoolDataProviderLegacy.d.ts.map +1 -0
- package/dist/abis/aave-v3/AavePoolLegacy.d.ts +819 -0
- package/dist/abis/aave-v3/AavePoolLegacy.d.ts.map +1 -0
- package/dist/abis/aave-v3/YLDR.d.ts +36 -0
- package/dist/abis/aave-v3/YLDR.d.ts.map +1 -0
- package/dist/abis/aurelius/Rewarder.d.ts +90 -0
- package/dist/abis/aurelius/Rewarder.d.ts.map +1 -0
- package/dist/abis/compound-v2/BenqiLens.d.ts +253 -0
- package/dist/abis/compound-v2/BenqiLens.d.ts.map +1 -0
- package/dist/abis/compound-v2/CollateralToken.d.ts +58 -0
- package/dist/abis/compound-v2/CollateralToken.d.ts.map +1 -0
- package/dist/abis/compound-v2/CompoundLens.d.ts +656 -0
- package/dist/abis/compound-v2/CompoundLens.d.ts.map +1 -0
- package/dist/abis/compound-v2/Comptroller.d.ts +16 -0
- package/dist/abis/compound-v2/Comptroller.d.ts.map +1 -0
- package/dist/abis/compound-v2/CreamLens.d.ts +158 -0
- package/dist/abis/compound-v2/CreamLens.d.ts.map +1 -0
- package/dist/abis/compound-v2/SegmentLens.d.ts +89 -0
- package/dist/abis/compound-v2/SegmentLens.d.ts.map +1 -0
- package/dist/abis/compound-v2/SumerLens.d.ts +331 -0
- package/dist/abis/compound-v2/SumerLens.d.ts.map +1 -0
- package/dist/abis/compound-v2/TakaraMarketState.d.ts +73 -0
- package/dist/abis/compound-v2/TakaraMarketState.d.ts.map +1 -0
- package/dist/abis/compound-v2/TectonicLens.d.ts +125 -0
- package/dist/abis/compound-v2/TectonicLens.d.ts.map +1 -0
- package/dist/abis/compound-v2/VenusLens.d.ts +1007 -0
- package/dist/abis/compound-v2/VenusLens.d.ts.map +1 -0
- package/dist/abis/compound-v2/VenusLensLegacy.d.ts +109 -0
- package/dist/abis/compound-v2/VenusLensLegacy.d.ts.map +1 -0
- package/dist/abis/compound-v3/Comet.d.ts +1382 -0
- package/dist/abis/compound-v3/Comet.d.ts.map +1 -0
- package/dist/abis/compound-v3/CometExt.d.ts +411 -0
- package/dist/abis/compound-v3/CometExt.d.ts.map +1 -0
- package/dist/abis/compound-v3/CometLens.d.ts +152 -0
- package/dist/abis/compound-v3/CometLens.d.ts.map +1 -0
- package/dist/abis/compound-v3/CometRewards.d.ts +253 -0
- package/dist/abis/compound-v3/CometRewards.d.ts.map +1 -0
- package/dist/abis/compound-v3/IrGetter.d.ts +24 -0
- package/dist/abis/compound-v3/IrGetter.d.ts.map +1 -0
- package/dist/abis/euler/accountLens.d.ts +191 -0
- package/dist/abis/euler/accountLens.d.ts.map +1 -0
- package/dist/abis/euler/eVault.d.ts +206 -0
- package/dist/abis/euler/eVault.d.ts.map +1 -0
- package/dist/abis/euler/evc.d.ts +81 -0
- package/dist/abis/euler/evc.d.ts.map +1 -0
- package/dist/abis/euler/genericFactory.d.ts +26 -0
- package/dist/abis/euler/genericFactory.d.ts.map +1 -0
- package/dist/abis/euler/index.d.ts +8 -0
- package/dist/abis/euler/index.d.ts.map +1 -0
- package/dist/abis/euler/orchestrator.d.ts +176 -0
- package/dist/abis/euler/orchestrator.d.ts.map +1 -0
- package/dist/abis/euler/payments.d.ts +140 -0
- package/dist/abis/euler/payments.d.ts.map +1 -0
- package/dist/abis/euler/priceLens.d.ts +58 -0
- package/dist/abis/euler/priceLens.d.ts.map +1 -0
- package/dist/abis/euler/vaultLens.d.ts +336 -0
- package/dist/abis/euler/vaultLens.d.ts.map +1 -0
- package/dist/abis/flashloan-united/flashAbi.d.ts +54 -0
- package/dist/abis/flashloan-united/flashAbi.d.ts.map +1 -0
- package/dist/abis/init/InitLens.d.ts +158 -0
- package/dist/abis/init/InitLens.d.ts.map +1 -0
- package/dist/abis/lendle/IncentivesController.d.ts +404 -0
- package/dist/abis/lendle/IncentivesController.d.ts.map +1 -0
- package/dist/abis/lendle/MultiFeeDistribution.d.ts +624 -0
- package/dist/abis/lendle/MultiFeeDistribution.d.ts.map +1 -0
- package/dist/abis/meridian/PullRewardsIncentivesController.d.ts +74 -0
- package/dist/abis/meridian/PullRewardsIncentivesController.d.ts.map +1 -0
- package/dist/abis/multicall/Multicall.d.ts +80 -0
- package/dist/abis/multicall/Multicall.d.ts.map +1 -0
- package/dist/abis/oracle/AaveOracle.d.ts +50 -0
- package/dist/abis/oracle/AaveOracle.d.ts.map +1 -0
- package/dist/abis/oracle/Api3Oracle.d.ts +48 -0
- package/dist/abis/oracle/Api3Oracle.d.ts.map +1 -0
- package/dist/abis/oracle/ChainLinkAggregator.d.ts +154 -0
- package/dist/abis/oracle/ChainLinkAggregator.d.ts.map +1 -0
- package/dist/abis/oracle/ProxyOracle.d.ts +26 -0
- package/dist/abis/oracle/ProxyOracle.d.ts.map +1 -0
- package/dist/abis/oracle/RWADynamicOracle.d.ts +12 -0
- package/dist/abis/oracle/RWADynamicOracle.d.ts.map +1 -0
- package/dist/abis/oracle/UniV3.d.ts +12 -0
- package/dist/abis/oracle/UniV3.d.ts.map +1 -0
- package/dist/abis/oracle/UniswapV2Pair.d.ts +513 -0
- package/dist/abis/oracle/UniswapV2Pair.d.ts.map +1 -0
- package/dist/abis/silo-v2/InterestRateModelV2.d.ts +52 -0
- package/dist/abis/silo-v2/InterestRateModelV2.d.ts.map +1 -0
- package/dist/abis/silo-v2/Silo.d.ts +101 -0
- package/dist/abis/silo-v2/Silo.d.ts.map +1 -0
- package/dist/abis/silo-v2/SiloConfig.d.ts +78 -0
- package/dist/abis/silo-v2/SiloConfig.d.ts.map +1 -0
- package/dist/abis/silo-v2/SiloLens.d.ts +50 -0
- package/dist/abis/silo-v2/SiloLens.d.ts.map +1 -0
- package/dist/abis/silo-v2/index.d.ts +4 -0
- package/dist/abis/silo-v2/index.d.ts.map +1 -0
- package/dist/assets/index.d.ts +21 -0
- package/dist/assets/index.d.ts.map +1 -0
- package/dist/assets/liquidityThresholds.d.ts +39 -0
- package/dist/assets/liquidityThresholds.d.ts.map +1 -0
- package/dist/ccip-SQXTDOS7.js +5 -0
- package/dist/ccip-SQXTDOS7.js.map +1 -0
- package/dist/chunk-BYTNVMX7.js +369 -0
- package/dist/chunk-BYTNVMX7.js.map +1 -0
- package/dist/chunk-KQ6K6D2V.js +4149 -0
- package/dist/chunk-KQ6K6D2V.js.map +1 -0
- package/dist/chunk-PR4QN5HX.js +39 -0
- package/dist/chunk-PR4QN5HX.js.map +1 -0
- package/dist/flash-liquidity/assets.d.ts +21 -0
- package/dist/flash-liquidity/assets.d.ts.map +1 -0
- package/dist/flash-liquidity/fetchLiquidity.d.ts +4 -0
- package/dist/flash-liquidity/fetchLiquidity.d.ts.map +1 -0
- package/dist/flash-liquidity/index.d.ts +3 -0
- package/dist/flash-liquidity/index.d.ts.map +1 -0
- package/dist/flash-liquidity/types.d.ts +24 -0
- package/dist/flash-liquidity/types.d.ts.map +1 -0
- package/dist/flash-liquidity/utils.d.ts +12 -0
- package/dist/flash-liquidity/utils.d.ts.map +1 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +34664 -0
- package/dist/index.js.map +1 -0
- package/dist/lending/index.d.ts +8 -0
- package/dist/lending/index.d.ts.map +1 -0
- package/dist/lending/margin/base/borrow.d.ts +24 -0
- package/dist/lending/margin/base/borrow.d.ts.map +1 -0
- package/dist/lending/margin/base/deposit.d.ts +24 -0
- package/dist/lending/margin/base/deposit.d.ts.map +1 -0
- package/dist/lending/margin/base/index.d.ts +10 -0
- package/dist/lending/margin/base/index.d.ts.map +1 -0
- package/dist/lending/margin/base/repay.d.ts +24 -0
- package/dist/lending/margin/base/repay.d.ts.map +1 -0
- package/dist/lending/margin/base/standard/borrow.d.ts +10 -0
- package/dist/lending/margin/base/standard/borrow.d.ts.map +1 -0
- package/dist/lending/margin/base/standard/deposit.d.ts +10 -0
- package/dist/lending/margin/base/standard/deposit.d.ts.map +1 -0
- package/dist/lending/margin/base/standard/repay.d.ts +10 -0
- package/dist/lending/margin/base/standard/repay.d.ts.map +1 -0
- package/dist/lending/margin/base/standard/withdraw.d.ts +10 -0
- package/dist/lending/margin/base/standard/withdraw.d.ts.map +1 -0
- package/dist/lending/margin/base/sumer/borrow.d.ts +12 -0
- package/dist/lending/margin/base/sumer/borrow.d.ts.map +1 -0
- package/dist/lending/margin/base/sumer/deposit.d.ts +11 -0
- package/dist/lending/margin/base/sumer/deposit.d.ts.map +1 -0
- package/dist/lending/margin/base/sumer/index.d.ts +7 -0
- package/dist/lending/margin/base/sumer/index.d.ts.map +1 -0
- package/dist/lending/margin/base/sumer/repay.d.ts +12 -0
- package/dist/lending/margin/base/sumer/repay.d.ts.map +1 -0
- package/dist/lending/margin/base/sumer/types.d.ts +27 -0
- package/dist/lending/margin/base/sumer/types.d.ts.map +1 -0
- package/dist/lending/margin/base/sumer/waterfall.d.ts +30 -0
- package/dist/lending/margin/base/sumer/waterfall.d.ts.map +1 -0
- package/dist/lending/margin/base/sumer/withdraw.d.ts +10 -0
- package/dist/lending/margin/base/sumer/withdraw.d.ts.map +1 -0
- package/dist/lending/margin/base/utils.d.ts +21 -0
- package/dist/lending/margin/base/utils.d.ts.map +1 -0
- package/dist/lending/margin/base/withdraw.d.ts +23 -0
- package/dist/lending/margin/base/withdraw.d.ts.map +1 -0
- package/dist/lending/margin/base/yield/getIntrinsicYieldChange.d.ts +22 -0
- package/dist/lending/margin/base/yield/getIntrinsicYieldChange.d.ts.map +1 -0
- package/dist/lending/margin/base/yield/getOrganicYieldChange.d.ts +22 -0
- package/dist/lending/margin/base/yield/getOrganicYieldChange.d.ts.map +1 -0
- package/dist/lending/margin/base/yield/getRewardYieldChange.d.ts +24 -0
- package/dist/lending/margin/base/yield/getRewardYieldChange.d.ts.map +1 -0
- package/dist/lending/margin/base/yield/index.d.ts +4 -0
- package/dist/lending/margin/base/yield/index.d.ts.map +1 -0
- package/dist/lending/margin/e-mode/index.d.ts +33 -0
- package/dist/lending/margin/e-mode/index.d.ts.map +1 -0
- package/dist/lending/margin/loop/compute/computeCloseDeltas.d.ts +8 -0
- package/dist/lending/margin/loop/compute/computeCloseDeltas.d.ts.map +1 -0
- package/dist/lending/margin/loop/compute/computeCollateralSwapDeltas.d.ts +8 -0
- package/dist/lending/margin/loop/compute/computeCollateralSwapDeltas.d.ts.map +1 -0
- package/dist/lending/margin/loop/compute/computeDebtSwapDeltas.d.ts +8 -0
- package/dist/lending/margin/loop/compute/computeDebtSwapDeltas.d.ts.map +1 -0
- package/dist/lending/margin/loop/compute/computeOpenDeltas.d.ts +8 -0
- package/dist/lending/margin/loop/compute/computeOpenDeltas.d.ts.map +1 -0
- package/dist/lending/margin/loop/compute/computeZapDeltas.d.ts +8 -0
- package/dist/lending/margin/loop/compute/computeZapDeltas.d.ts.map +1 -0
- package/dist/lending/margin/loop/compute/index.d.ts +6 -0
- package/dist/lending/margin/loop/compute/index.d.ts.map +1 -0
- package/dist/lending/margin/loop/index.d.ts +6 -0
- package/dist/lending/margin/loop/index.d.ts.map +1 -0
- package/dist/lending/margin/loop/ranges/getMaxAmountClose.d.ts +19 -0
- package/dist/lending/margin/loop/ranges/getMaxAmountClose.d.ts.map +1 -0
- package/dist/lending/margin/loop/ranges/getMaxAmountCollateralSwap.d.ts +18 -0
- package/dist/lending/margin/loop/ranges/getMaxAmountCollateralSwap.d.ts.map +1 -0
- package/dist/lending/margin/loop/ranges/getMaxAmountCollateralSwap.test.d.ts +2 -0
- package/dist/lending/margin/loop/ranges/getMaxAmountCollateralSwap.test.d.ts.map +1 -0
- package/dist/lending/margin/loop/ranges/getMaxAmountDebtSwap.d.ts +20 -0
- package/dist/lending/margin/loop/ranges/getMaxAmountDebtSwap.d.ts.map +1 -0
- package/dist/lending/margin/loop/ranges/getMaxAmountOpen.d.ts +30 -0
- package/dist/lending/margin/loop/ranges/getMaxAmountOpen.d.ts.map +1 -0
- package/dist/lending/margin/loop/ranges/index.d.ts +5 -0
- package/dist/lending/margin/loop/ranges/index.d.ts.map +1 -0
- package/dist/lending/margin/loop/types.d.ts +32 -0
- package/dist/lending/margin/loop/types.d.ts.map +1 -0
- package/dist/lending/margin/loop/utils.d.ts +15 -0
- package/dist/lending/margin/loop/utils.d.ts.map +1 -0
- package/dist/lending/margin/loop/yield/getIntrinsicYieldChange.d.ts +6 -0
- package/dist/lending/margin/loop/yield/getIntrinsicYieldChange.d.ts.map +1 -0
- package/dist/lending/margin/loop/yield/getOraganicYieldChange.d.ts +6 -0
- package/dist/lending/margin/loop/yield/getOraganicYieldChange.d.ts.map +1 -0
- package/dist/lending/margin/loop/yield/getRewardYieldChange.d.ts +22 -0
- package/dist/lending/margin/loop/yield/getRewardYieldChange.d.ts.map +1 -0
- package/dist/lending/margin/loop/yield/index.d.ts +4 -0
- package/dist/lending/margin/loop/yield/index.d.ts.map +1 -0
- package/dist/lending/public-data/aave-v2-type/misc.d.ts +8 -0
- package/dist/lending/public-data/aave-v2-type/misc.d.ts.map +1 -0
- package/dist/lending/public-data/aave-v2-type/publicCallBuild.d.ts +6 -0
- package/dist/lending/public-data/aave-v2-type/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/public-data/aave-v2-type/publicCallParse.d.ts +7 -0
- package/dist/lending/public-data/aave-v2-type/publicCallParse.d.ts.map +1 -0
- package/dist/lending/public-data/aave-v3-type/publicCallBuild.d.ts +4 -0
- package/dist/lending/public-data/aave-v3-type/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/public-data/aave-v3-type/publicCallParse.d.ts +8 -0
- package/dist/lending/public-data/aave-v3-type/publicCallParse.d.ts.map +1 -0
- package/dist/lending/public-data/aave-v4-type/fetcher/normalize.d.ts +231 -0
- package/dist/lending/public-data/aave-v4-type/fetcher/normalize.d.ts.map +1 -0
- package/dist/lending/public-data/aave-v4-type/fetcher/types.d.ts +128 -0
- package/dist/lending/public-data/aave-v4-type/fetcher/types.d.ts.map +1 -0
- package/dist/lending/public-data/aave-v4-type/publicCallBuild.d.ts +51 -0
- package/dist/lending/public-data/aave-v4-type/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/public-data/aave-v4-type/publicCallParse.d.ts +18 -0
- package/dist/lending/public-data/aave-v4-type/publicCallParse.d.ts.map +1 -0
- package/dist/lending/public-data/addresses/aave.d.ts +10 -0
- package/dist/lending/public-data/addresses/aave.d.ts.map +1 -0
- package/dist/lending/public-data/addresses/aaveV2.d.ts +6 -0
- package/dist/lending/public-data/addresses/aaveV2.d.ts.map +1 -0
- package/dist/lending/public-data/addresses/aurelius.d.ts +12 -0
- package/dist/lending/public-data/addresses/aurelius.d.ts.map +1 -0
- package/dist/lending/public-data/addresses/compoundV2.d.ts +17 -0
- package/dist/lending/public-data/addresses/compoundV2.d.ts.map +1 -0
- package/dist/lending/public-data/addresses/compoundV3.d.ts +8 -0
- package/dist/lending/public-data/addresses/compoundV3.d.ts.map +1 -0
- package/dist/lending/public-data/addresses/hana.d.ts +6 -0
- package/dist/lending/public-data/addresses/hana.d.ts.map +1 -0
- package/dist/lending/public-data/addresses/init.d.ts +5 -0
- package/dist/lending/public-data/addresses/init.d.ts.map +1 -0
- package/dist/lending/public-data/addresses/lendle.d.ts +12 -0
- package/dist/lending/public-data/addresses/lendle.d.ts.map +1 -0
- package/dist/lending/public-data/addresses/meridian.d.ts +15 -0
- package/dist/lending/public-data/addresses/meridian.d.ts.map +1 -0
- package/dist/lending/public-data/addresses/takotako.d.ts +12 -0
- package/dist/lending/public-data/addresses/takotako.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/convert/benqi.d.ts +52 -0
- package/dist/lending/public-data/compound-v2/convert/benqi.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/convert/standard.d.ts +50 -0
- package/dist/lending/public-data/compound-v2/convert/standard.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/convert/sumer.d.ts +54 -0
- package/dist/lending/public-data/compound-v2/convert/sumer.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/convert/takara.d.ts +48 -0
- package/dist/lending/public-data/compound-v2/convert/takara.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/convert/tectonic.d.ts +50 -0
- package/dist/lending/public-data/compound-v2/convert/tectonic.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/convert/types.d.ts +30 -0
- package/dist/lending/public-data/compound-v2/convert/types.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/getters/benqi.d.ts +62 -0
- package/dist/lending/public-data/compound-v2/getters/benqi.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/getters/lodestar.d.ts +106 -0
- package/dist/lending/public-data/compound-v2/getters/lodestar.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/getters/moonwell.d.ts +32 -0
- package/dist/lending/public-data/compound-v2/getters/moonwell.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/getters/sumer.d.ts +103 -0
- package/dist/lending/public-data/compound-v2/getters/sumer.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/getters/takara.d.ts +33 -0
- package/dist/lending/public-data/compound-v2/getters/takara.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/getters/tectonic.d.ts +42 -0
- package/dist/lending/public-data/compound-v2/getters/tectonic.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/getters/types.d.ts +12 -0
- package/dist/lending/public-data/compound-v2/getters/types.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/getters/venus.d.ts +86 -0
- package/dist/lending/public-data/compound-v2/getters/venus.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/publicCallBuild.d.ts +461 -0
- package/dist/lending/public-data/compound-v2/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v2/publicCallParse.d.ts +6 -0
- package/dist/lending/public-data/compound-v2/publicCallParse.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v3/publicCallBuild.d.ts +2 -0
- package/dist/lending/public-data/compound-v3/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/public-data/compound-v3/publicCallParse.d.ts +10 -0
- package/dist/lending/public-data/compound-v3/publicCallParse.d.ts.map +1 -0
- package/dist/lending/public-data/euler/fetcher/cluster.d.ts +21 -0
- package/dist/lending/public-data/euler/fetcher/cluster.d.ts.map +1 -0
- package/dist/lending/public-data/euler/fetcher/normalize.d.ts +174 -0
- package/dist/lending/public-data/euler/fetcher/normalize.d.ts.map +1 -0
- package/dist/lending/public-data/euler/fetcher/types.d.ts +113 -0
- package/dist/lending/public-data/euler/fetcher/types.d.ts.map +1 -0
- package/dist/lending/public-data/euler/publicCallBuild.d.ts +335 -0
- package/dist/lending/public-data/euler/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/public-data/euler/publicCallParse.d.ts +9 -0
- package/dist/lending/public-data/euler/publicCallParse.d.ts.map +1 -0
- package/dist/lending/public-data/fetchLender.d.ts +11 -0
- package/dist/lending/public-data/fetchLender.d.ts.map +1 -0
- package/dist/lending/public-data/fetchLenderAll.d.ts +8 -0
- package/dist/lending/public-data/fetchLenderAll.d.ts.map +1 -0
- package/dist/lending/public-data/fetchLenderExt.d.ts +8 -0
- package/dist/lending/public-data/fetchLenderExt.d.ts.map +1 -0
- package/dist/lending/public-data/fluid/index.d.ts +3 -0
- package/dist/lending/public-data/fluid/index.d.ts.map +1 -0
- package/dist/lending/public-data/fluid/publicCallBuild.d.ts +49 -0
- package/dist/lending/public-data/fluid/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/public-data/fluid/publicCallParse.d.ts +18 -0
- package/dist/lending/public-data/fluid/publicCallParse.d.ts.map +1 -0
- package/dist/lending/public-data/gearbox/index.d.ts +3 -0
- package/dist/lending/public-data/gearbox/index.d.ts.map +1 -0
- package/dist/lending/public-data/gearbox/publicCallBuild.d.ts +27 -0
- package/dist/lending/public-data/gearbox/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/public-data/gearbox/publicCallParse.d.ts +35 -0
- package/dist/lending/public-data/gearbox/publicCallParse.d.ts.map +1 -0
- package/dist/lending/public-data/init/publicCallBuild.d.ts +7 -0
- package/dist/lending/public-data/init/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/public-data/init/publicCallParse.d.ts +10 -0
- package/dist/lending/public-data/init/publicCallParse.d.ts.map +1 -0
- package/dist/lending/public-data/lista/getMarketsFromChain.d.ts +4 -0
- package/dist/lending/public-data/lista/getMarketsFromChain.d.ts.map +1 -0
- package/dist/lending/public-data/lista/getMarketsOnChain.d.ts +6 -0
- package/dist/lending/public-data/lista/getMarketsOnChain.d.ts.map +1 -0
- package/dist/lending/public-data/lista/publicCallBuild.d.ts +9 -0
- package/dist/lending/public-data/lista/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/public-data/morpho/convertPublic.d.ts +7 -0
- package/dist/lending/public-data/morpho/convertPublic.d.ts.map +1 -0
- package/dist/lending/public-data/morpho/fetchMorphoGoldsky.d.ts +105 -0
- package/dist/lending/public-data/morpho/fetchMorphoGoldsky.d.ts.map +1 -0
- package/dist/lending/public-data/morpho/fetchPublic.d.ts +3 -0
- package/dist/lending/public-data/morpho/fetchPublic.d.ts.map +1 -0
- package/dist/lending/public-data/morpho/getMarketsFromChain.d.ts +4 -0
- package/dist/lending/public-data/morpho/getMarketsFromChain.d.ts.map +1 -0
- package/dist/lending/public-data/morpho/index.d.ts +3 -0
- package/dist/lending/public-data/morpho/index.d.ts.map +1 -0
- package/dist/lending/public-data/morpho/publicCallBuild.d.ts +16 -0
- package/dist/lending/public-data/morpho/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/public-data/morpho/utils/evmParser.d.ts +50 -0
- package/dist/lending/public-data/morpho/utils/evmParser.d.ts.map +1 -0
- package/dist/lending/public-data/morpho/utils/mathLib.d.ts +135 -0
- package/dist/lending/public-data/morpho/utils/mathLib.d.ts.map +1 -0
- package/dist/lending/public-data/morpho/utils/parsers.d.ts +10 -0
- package/dist/lending/public-data/morpho/utils/parsers.d.ts.map +1 -0
- package/dist/lending/public-data/silo-v2/convertPublic.d.ts +28 -0
- package/dist/lending/public-data/silo-v2/convertPublic.d.ts.map +1 -0
- package/dist/lending/public-data/silo-v2/fetchPublic.d.ts +85 -0
- package/dist/lending/public-data/silo-v2/fetchPublic.d.ts.map +1 -0
- package/dist/lending/public-data/silo-v2/irmRates.d.ts +38 -0
- package/dist/lending/public-data/silo-v2/irmRates.d.ts.map +1 -0
- package/dist/lending/public-data/silo-v2/publicCallBuild.d.ts +25 -0
- package/dist/lending/public-data/silo-v2/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/public-data/silo-v2/publicCallParse.d.ts +25 -0
- package/dist/lending/public-data/silo-v2/publicCallParse.d.ts.map +1 -0
- package/dist/lending/public-data/silo-v3/convertPublic.d.ts +9 -0
- package/dist/lending/public-data/silo-v3/convertPublic.d.ts.map +1 -0
- package/dist/lending/public-data/silo-v3/publicCallBuild.d.ts +22 -0
- package/dist/lending/public-data/silo-v3/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/public-data/silo-v3/publicCallParse.d.ts +9 -0
- package/dist/lending/public-data/silo-v3/publicCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/aave-v2-type/userCallBuild.d.ts +3 -0
- package/dist/lending/user-data/aave-v2-type/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/aave-v2-type/userCallParse.d.ts +3 -0
- package/dist/lending/user-data/aave-v2-type/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/aave-v3-type/userCallBuild.d.ts +3 -0
- package/dist/lending/user-data/aave-v3-type/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/aave-v3-type/userCallParse.d.ts +3 -0
- package/dist/lending/user-data/aave-v3-type/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/aave-v3-type/userCallParseYldr.d.ts +4 -0
- package/dist/lending/user-data/aave-v3-type/userCallParseYldr.d.ts.map +1 -0
- package/dist/lending/user-data/aave-v4-type/createAaveV4UserState.d.ts +23 -0
- package/dist/lending/user-data/aave-v4-type/createAaveV4UserState.d.ts.map +1 -0
- package/dist/lending/user-data/aave-v4-type/userCallBuild.d.ts +26 -0
- package/dist/lending/user-data/aave-v4-type/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/aave-v4-type/userCallParse.d.ts +26 -0
- package/dist/lending/user-data/aave-v4-type/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/abis.d.ts +3 -0
- package/dist/lending/user-data/abis.d.ts.map +1 -0
- package/dist/lending/user-data/compound-v2/index.d.ts +3 -0
- package/dist/lending/user-data/compound-v2/index.d.ts.map +1 -0
- package/dist/lending/user-data/compound-v2/userCallBuild.d.ts +3 -0
- package/dist/lending/user-data/compound-v2/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/compound-v2/userCallParse.d.ts +3 -0
- package/dist/lending/user-data/compound-v2/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/compound-v3/index.d.ts +3 -0
- package/dist/lending/user-data/compound-v3/index.d.ts.map +1 -0
- package/dist/lending/user-data/compound-v3/userCallBuild.d.ts +3 -0
- package/dist/lending/user-data/compound-v3/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/compound-v3/userCallParse.d.ts +24 -0
- package/dist/lending/user-data/compound-v3/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/euler/userCallBuild.d.ts +53 -0
- package/dist/lending/user-data/euler/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/euler/userCallParse.d.ts +18 -0
- package/dist/lending/user-data/euler/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/fetch-balances/e2e.d.ts +43 -0
- package/dist/lending/user-data/fetch-balances/e2e.d.ts.map +1 -0
- package/dist/lending/user-data/fetch-balances/index.d.ts +5 -0
- package/dist/lending/user-data/fetch-balances/index.d.ts.map +1 -0
- package/dist/lending/user-data/fetch-balances/parse.d.ts +14 -0
- package/dist/lending/user-data/fetch-balances/parse.d.ts.map +1 -0
- package/dist/lending/user-data/fetch-balances/prepare.d.ts +3 -0
- package/dist/lending/user-data/fetch-balances/prepare.d.ts.map +1 -0
- package/dist/lending/user-data/fetch-balances/types.d.ts +93 -0
- package/dist/lending/user-data/fetch-balances/types.d.ts.map +1 -0
- package/dist/lending/user-data/fluid/index.d.ts +3 -0
- package/dist/lending/user-data/fluid/index.d.ts.map +1 -0
- package/dist/lending/user-data/fluid/userCallBuild.d.ts +21 -0
- package/dist/lending/user-data/fluid/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/fluid/userCallParse.d.ts +19 -0
- package/dist/lending/user-data/fluid/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/gearbox/index.d.ts +3 -0
- package/dist/lending/user-data/gearbox/index.d.ts.map +1 -0
- package/dist/lending/user-data/gearbox/userCallBuild.d.ts +22 -0
- package/dist/lending/user-data/gearbox/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/gearbox/userCallParse.d.ts +29 -0
- package/dist/lending/user-data/gearbox/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/index.d.ts +6 -0
- package/dist/lending/user-data/index.d.ts.map +1 -0
- package/dist/lending/user-data/init/userCallBuild.d.ts +4 -0
- package/dist/lending/user-data/init/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/init/userCallParse.d.ts +3 -0
- package/dist/lending/user-data/init/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/morpho/decoder.d.ts +40 -0
- package/dist/lending/user-data/morpho/decoder.d.ts.map +1 -0
- package/dist/lending/user-data/morpho/index.d.ts +4 -0
- package/dist/lending/user-data/morpho/index.d.ts.map +1 -0
- package/dist/lending/user-data/morpho/morphoLib.d.ts +5 -0
- package/dist/lending/user-data/morpho/morphoLib.d.ts.map +1 -0
- package/dist/lending/user-data/morpho/types.d.ts +12 -0
- package/dist/lending/user-data/morpho/types.d.ts.map +1 -0
- package/dist/lending/user-data/morpho/userCallBuild.d.ts +8 -0
- package/dist/lending/user-data/morpho/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/morpho/userCallParse.d.ts +14 -0
- package/dist/lending/user-data/morpho/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/silo-v2/userCallBuild.d.ts +21 -0
- package/dist/lending/user-data/silo-v2/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/silo-v2/userCallParse.d.ts +23 -0
- package/dist/lending/user-data/silo-v2/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/silo-v3/userCallBuild.d.ts +5 -0
- package/dist/lending/user-data/silo-v3/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/silo-v3/userCallParse.d.ts +30 -0
- package/dist/lending/user-data/silo-v3/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/summary/buildPortfolioTotals.d.ts +19 -0
- package/dist/lending/user-data/summary/buildPortfolioTotals.d.ts.map +1 -0
- package/dist/lending/user-data/summary/buildSummaries.d.ts +28 -0
- package/dist/lending/user-data/summary/buildSummaries.d.ts.map +1 -0
- package/dist/lending/user-data/summary/index.d.ts +5 -0
- package/dist/lending/user-data/summary/index.d.ts.map +1 -0
- package/dist/lending/user-data/summary/types.d.ts +104 -0
- package/dist/lending/user-data/summary/types.d.ts.map +1 -0
- package/dist/lending/user-data/summary/utils.d.ts +57 -0
- package/dist/lending/user-data/summary/utils.d.ts.map +1 -0
- package/dist/lending/user-data/utils/createEulerMultiAccountTypeUserState.d.ts +54 -0
- package/dist/lending/user-data/utils/createEulerMultiAccountTypeUserState.d.ts.map +1 -0
- package/dist/lending/user-data/utils/createGeneralUserState.d.ts +6 -0
- package/dist/lending/user-data/utils/createGeneralUserState.d.ts.map +1 -0
- package/dist/lending/user-data/utils/createMultiAccountStyleUserState.d.ts +9 -0
- package/dist/lending/user-data/utils/createMultiAccountStyleUserState.d.ts.map +1 -0
- package/dist/lending/user-data/utils/createSumerUserState.d.ts +6 -0
- package/dist/lending/user-data/utils/createSumerUserState.d.ts.map +1 -0
- package/dist/lending/user-data/utils/formatting/generalFormatters.d.ts +55 -0
- package/dist/lending/user-data/utils/formatting/generalFormatters.d.ts.map +1 -0
- package/dist/lending/user-data/utils/formatting/index.d.ts +2 -0
- package/dist/lending/user-data/utils/formatting/index.d.ts.map +1 -0
- package/dist/lending/user-data/utils/getBalanceForMarketUid.d.ts +5 -0
- package/dist/lending/user-data/utils/getBalanceForMarketUid.d.ts.map +1 -0
- package/dist/lending/user-data/utils/index.d.ts +12 -0
- package/dist/lending/user-data/utils/index.d.ts.map +1 -0
- package/dist/lending/user-data/utils/oraclePrice.d.ts +11 -0
- package/dist/lending/user-data/utils/oraclePrice.d.ts.map +1 -0
- package/dist/lending/user-data/utils/types.d.ts +155 -0
- package/dist/lending/user-data/utils/types.d.ts.map +1 -0
- package/dist/lending/user-data/with-permissions/e2e.d.ts +10 -0
- package/dist/lending/user-data/with-permissions/e2e.d.ts.map +1 -0
- package/dist/lending/user-data/with-permissions/evaluate.d.ts +32 -0
- package/dist/lending/user-data/with-permissions/evaluate.d.ts.map +1 -0
- package/dist/lending/user-data/with-permissions/index.d.ts +6 -0
- package/dist/lending/user-data/with-permissions/index.d.ts.map +1 -0
- package/dist/lending/user-data/with-permissions/parse.d.ts +9 -0
- package/dist/lending/user-data/with-permissions/parse.d.ts.map +1 -0
- package/dist/lending/user-data/with-permissions/prepare.d.ts +14 -0
- package/dist/lending/user-data/with-permissions/prepare.d.ts.map +1 -0
- package/dist/lending/user-data/with-permissions/types.d.ts +77 -0
- package/dist/lending/user-data/with-permissions/types.d.ts.map +1 -0
- package/dist/lending-pools/computeLenderDataFromPools.d.ts +10 -0
- package/dist/lending-pools/computeLenderDataFromPools.d.ts.map +1 -0
- package/dist/lending-pools/computeLendingPools.d.ts +23 -0
- package/dist/lending-pools/computeLendingPools.d.ts.map +1 -0
- package/dist/lending-pools/index.d.ts +3 -0
- package/dist/lending-pools/index.d.ts.map +1 -0
- package/dist/prices/index.d.ts +3 -0
- package/dist/prices/index.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchOraclePrices.d.ts +64 -0
- package/dist/prices/oracle-prices/fetchOraclePrices.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchers/aave.d.ts +91 -0
- package/dist/prices/oracle-prices/fetchers/aave.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchers/aaveV4.d.ts +31 -0
- package/dist/prices/oracle-prices/fetchers/aaveV4.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchers/compoundV2.d.ts +68 -0
- package/dist/prices/oracle-prices/fetchers/compoundV2.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchers/compoundV3.d.ts +85 -0
- package/dist/prices/oracle-prices/fetchers/compoundV3.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchers/euler.d.ts +417 -0
- package/dist/prices/oracle-prices/fetchers/euler.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchers/fluid.d.ts +1131 -0
- package/dist/prices/oracle-prices/fetchers/fluid.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchers/gearbox.d.ts +597 -0
- package/dist/prices/oracle-prices/fetchers/gearbox.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchers/index.d.ts +12 -0
- package/dist/prices/oracle-prices/fetchers/index.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchers/lista.d.ts +91 -0
- package/dist/prices/oracle-prices/fetchers/lista.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchers/morpho.d.ts +95 -0
- package/dist/prices/oracle-prices/fetchers/morpho.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchers/siloV2.d.ts +108 -0
- package/dist/prices/oracle-prices/fetchers/siloV2.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchers/siloV2Graphql.d.ts +54 -0
- package/dist/prices/oracle-prices/fetchers/siloV2Graphql.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchers/siloV3.d.ts +52 -0
- package/dist/prices/oracle-prices/fetchers/siloV3.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchers/siloV3Graphql.d.ts +30 -0
- package/dist/prices/oracle-prices/fetchers/siloV3Graphql.d.ts.map +1 -0
- package/dist/prices/oracle-prices/index.d.ts +11 -0
- package/dist/prices/oracle-prices/index.d.ts.map +1 -0
- package/dist/prices/oracle-prices/selectAssetGroupPrices.d.ts +10 -0
- package/dist/prices/oracle-prices/selectAssetGroupPrices.d.ts.map +1 -0
- package/dist/prices/oracle-prices/types.d.ts +341 -0
- package/dist/prices/oracle-prices/types.d.ts.map +1 -0
- package/dist/prices/pendle/fetchPendlePrices.d.ts +47 -0
- package/dist/prices/pendle/fetchPendlePrices.d.ts.map +1 -0
- package/dist/prices/pendle/index.d.ts +2 -0
- package/dist/prices/pendle/index.d.ts.map +1 -0
- package/dist/secp256k1-XP7IUONI.js +2208 -0
- package/dist/secp256k1-XP7IUONI.js.map +1 -0
- package/dist/token/fetchTokenBalance.d.ts +50 -0
- package/dist/token/fetchTokenBalance.d.ts.map +1 -0
- package/dist/token/fetchTokenMetadata.d.ts +11 -0
- package/dist/token/fetchTokenMetadata.d.ts.map +1 -0
- package/dist/token/index.d.ts +4 -0
- package/dist/token/index.d.ts.map +1 -0
- package/dist/token/types.d.ts +32 -0
- package/dist/token/types.d.ts.map +1 -0
- package/dist/types/apiReturnType.d.ts +77 -0
- package/dist/types/apiReturnType.d.ts.map +1 -0
- package/dist/types/general.d.ts +18 -0
- package/dist/types/general.d.ts.map +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/lender/aave-v2-types.d.ts +89 -0
- package/dist/types/lender/aave-v2-types.d.ts.map +1 -0
- package/dist/types/lender/aave-v3-types.d.ts +168 -0
- package/dist/types/lender/aave-v3-types.d.ts.map +1 -0
- package/dist/types/lender/compound-v2-types.d.ts +52 -0
- package/dist/types/lender/compound-v2-types.d.ts.map +1 -0
- package/dist/types/lender/compound-v3-types.d.ts +31 -0
- package/dist/types/lender/compound-v3-types.d.ts.map +1 -0
- package/dist/types/lender/init-types.d.ts +52 -0
- package/dist/types/lender/init-types.d.ts.map +1 -0
- package/dist/types/lender/morpho-types.d.ts +139 -0
- package/dist/types/lender/morpho-types.d.ts.map +1 -0
- package/dist/types/lenderTypes.d.ts +268 -0
- package/dist/types/lenderTypes.d.ts.map +1 -0
- package/dist/types/misc.d.ts +47 -0
- package/dist/types/misc.d.ts.map +1 -0
- package/dist/types/providers.d.ts +15 -0
- package/dist/types/providers.d.ts.map +1 -0
- package/dist/utils/constants.d.ts +8 -0
- package/dist/utils/constants.d.ts.map +1 -0
- package/dist/utils/index.d.ts +13 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/marketName.d.ts +2 -0
- package/dist/utils/marketName.d.ts.map +1 -0
- package/dist/utils/marketUid.d.ts +9 -0
- package/dist/utils/marketUid.d.ts.map +1 -0
- package/dist/utils/multicall.d.ts +16 -0
- package/dist/utils/multicall.d.ts.map +1 -0
- package/dist/utils/parsing.d.ts +24 -0
- package/dist/utils/parsing.d.ts.map +1 -0
- package/dist/utils/rpcCall.d.ts +65 -0
- package/dist/utils/rpcCall.d.ts.map +1 -0
- package/dist/utils/rpcParse.d.ts +19 -0
- package/dist/utils/rpcParse.d.ts.map +1 -0
- package/dist/vaults/fluid/fetchPublic.d.ts +21 -0
- package/dist/vaults/fluid/fetchPublic.d.ts.map +1 -0
- package/dist/vaults/fluid/index.d.ts +5 -0
- package/dist/vaults/fluid/index.d.ts.map +1 -0
- package/dist/vaults/fluid/publicCallBuild.d.ts +16 -0
- package/dist/vaults/fluid/publicCallBuild.d.ts.map +1 -0
- package/dist/vaults/fluid/publicCallParse.d.ts +15 -0
- package/dist/vaults/fluid/publicCallParse.d.ts.map +1 -0
- package/dist/vaults/fluid/types.d.ts +66 -0
- package/dist/vaults/fluid/types.d.ts.map +1 -0
- package/dist/vaults/gearbox/fetchPublic.d.ts +23 -0
- package/dist/vaults/gearbox/fetchPublic.d.ts.map +1 -0
- package/dist/vaults/gearbox/index.d.ts +5 -0
- package/dist/vaults/gearbox/index.d.ts.map +1 -0
- package/dist/vaults/gearbox/publicCallBuild.d.ts +19 -0
- package/dist/vaults/gearbox/publicCallBuild.d.ts.map +1 -0
- package/dist/vaults/gearbox/publicCallParse.d.ts +23 -0
- package/dist/vaults/gearbox/publicCallParse.d.ts.map +1 -0
- package/dist/vaults/gearbox/types.d.ts +70 -0
- package/dist/vaults/gearbox/types.d.ts.map +1 -0
- package/dist/vaults/index.d.ts +5 -0
- package/dist/vaults/index.d.ts.map +1 -0
- package/dist/vaults/morpho/fetchFromApi.d.ts +14 -0
- package/dist/vaults/morpho/fetchFromApi.d.ts.map +1 -0
- package/dist/vaults/morpho/fetchFromSubgraph.d.ts +12 -0
- package/dist/vaults/morpho/fetchFromSubgraph.d.ts.map +1 -0
- package/dist/vaults/morpho/fetchPublic.d.ts +24 -0
- package/dist/vaults/morpho/fetchPublic.d.ts.map +1 -0
- package/dist/vaults/morpho/index.d.ts +5 -0
- package/dist/vaults/morpho/index.d.ts.map +1 -0
- package/dist/vaults/morpho/types.d.ts +82 -0
- package/dist/vaults/morpho/types.d.ts.map +1 -0
- package/dist/vaults/silo/fetchPublic.d.ts +22 -0
- package/dist/vaults/silo/fetchPublic.d.ts.map +1 -0
- package/dist/vaults/silo/index.d.ts +3 -0
- package/dist/vaults/silo/index.d.ts.map +1 -0
- package/dist/vaults/silo/types.d.ts +84 -0
- package/dist/vaults/silo/types.d.ts.map +1 -0
- package/dist/yields/fetchGeneralYields.d.ts +4 -0
- package/dist/yields/fetchGeneralYields.d.ts.map +1 -0
- package/dist/yields/helpers.d.ts +8 -0
- package/dist/yields/helpers.d.ts.map +1 -0
- package/dist/yields/index.d.ts +6 -0
- package/dist/yields/index.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/angle.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/angle.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/avant.d.ts +5 -0
- package/dist/yields/intrinsic/fetchers/avant.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/cap.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/cap.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/coinbase.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/coinbase.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/ethena.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/ethena.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/etherfi.d.ts +8 -0
- package/dist/yields/intrinsic/fetchers/etherfi.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/falcon.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/falcon.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/gmx.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/gmx.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/hyperbeat.d.ts +4 -0
- package/dist/yields/intrinsic/fetchers/hyperbeat.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/hyperlend.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/hyperlend.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/hyperliquid.d.ts +4 -0
- package/dist/yields/intrinsic/fetchers/hyperliquid.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/infinifi.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/infinifi.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/jito.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/jito.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/kelp.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/kelp.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/lido.d.ts +4 -0
- package/dist/yields/intrinsic/fetchers/lido.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/mantle.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/mantle.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/maple.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/maple.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/midas.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/midas.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/morphoVaults.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/morphoVaults.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/ondo.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/ondo.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/pendle.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/pendle.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/puffer.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/puffer.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/renzo.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/renzo.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/reserve.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/reserve.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/reservoir.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/reservoir.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/resolv.d.ts +4 -0
- package/dist/yields/intrinsic/fetchers/resolv.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/rocketpool.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/rocketpool.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/savax.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/savax.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/sky.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/sky.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/stS.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/stS.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/stader.d.ts +4 -0
- package/dist/yields/intrinsic/fetchers/stader.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/stakewise.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/stakewise.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/superreturn.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/superreturn.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/swell.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/swell.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/theo.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/theo.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/trufin.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/trufin.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/usdai.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/usdai.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/usdx.d.ts +4 -0
- package/dist/yields/intrinsic/fetchers/usdx.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/usual.d.ts +4 -0
- package/dist/yields/intrinsic/fetchers/usual.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/yearnKatana.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/yearnKatana.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/yieldfi.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/yieldfi.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/yieldnest.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/yieldnest.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/yoProtocol.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/yoProtocol.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/yuzu.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/yuzu.d.ts.map +1 -0
- package/dist/yields/intrinsic/index.d.ts +5 -0
- package/dist/yields/intrinsic/index.d.ts.map +1 -0
- package/dist/yields/rewards/fetchLenderRewards.d.ts +9 -0
- package/dist/yields/rewards/fetchLenderRewards.d.ts.map +1 -0
- package/dist/yields/rewards/index.d.ts +5 -0
- package/dist/yields/rewards/index.d.ts.map +1 -0
- package/dist/yields/rewards/merkl.d.ts +22 -0
- package/dist/yields/rewards/merkl.d.ts.map +1 -0
- package/dist/yields/rewards/types.d.ts +68 -0
- package/dist/yields/rewards/types.d.ts.map +1 -0
- package/dist/yields/types.d.ts +44 -0
- package/dist/yields/types.d.ts.map +1 -0
- package/dist/yields/yieldTypes.d.ts +76 -0
- package/dist/yields/yieldTypes.d.ts.map +1 -0
- package/package.json +5 -5
|
@@ -0,0 +1,1131 @@
|
|
|
1
|
+
import type { FetcherResult, OraclePriceEntry, ParseContext } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Meta shape — one entry per non-skipped vault returned by the resolver.
|
|
4
|
+
*
|
|
5
|
+
* All meta for every vault on the chain is packed into a single
|
|
6
|
+
* `FetcherResult` because the whole list comes back from one multicall
|
|
7
|
+
* (`getVaultsEntireData()` is a chain-wide dump).
|
|
8
|
+
*/
|
|
9
|
+
export interface FluidQueryMeta {
|
|
10
|
+
vaults: Array<{
|
|
11
|
+
vaultId: number;
|
|
12
|
+
lender: string;
|
|
13
|
+
collateral: string;
|
|
14
|
+
loan: string;
|
|
15
|
+
colDec: number;
|
|
16
|
+
loanDec: number;
|
|
17
|
+
rawPrice: string;
|
|
18
|
+
}>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Build multicall calls for Fluid oracle prices.
|
|
22
|
+
*
|
|
23
|
+
* Single call: `VaultResolver.getVaultsEntireData()` returns every vault
|
|
24
|
+
* plus its embedded oracle price (`configs.oraclePriceOperate`). No need
|
|
25
|
+
* to hit per-vault oracle contracts — the resolver already did it.
|
|
26
|
+
*
|
|
27
|
+
* Meta is built lazily in `parse` from the resolver response (we don't
|
|
28
|
+
* have vault data at call-building time, and pre-fetching metadata just
|
|
29
|
+
* to construct meta would double the RPC load).
|
|
30
|
+
*/
|
|
31
|
+
export declare function getFluidCalls(chainId: string): FetcherResult<FluidQueryMeta>[];
|
|
32
|
+
/**
|
|
33
|
+
* Parse Fluid oracle results into per-vault price entries.
|
|
34
|
+
*
|
|
35
|
+
* Emits two entries per non-smart vault:
|
|
36
|
+
* - loan asset — `staticBase: true`, priceUSD pulled from `context.usdPrices`
|
|
37
|
+
* - col asset — priceUSD = `priceColInDebt × loanUSD`
|
|
38
|
+
*
|
|
39
|
+
* Smart vaults (T2/T3/T4) are skipped — their col/debt sides are DEX LP
|
|
40
|
+
* shares that need a separate pricing path.
|
|
41
|
+
*/
|
|
42
|
+
export declare function parseFluidResults(data: any[], _meta: FluidQueryMeta, context: ParseContext): OraclePriceEntry[];
|
|
43
|
+
export declare function getFluidAbi(): readonly [{
|
|
44
|
+
readonly inputs: readonly [{
|
|
45
|
+
readonly name: "vault_";
|
|
46
|
+
readonly type: "address";
|
|
47
|
+
}];
|
|
48
|
+
readonly name: "getVaultEntireData";
|
|
49
|
+
readonly outputs: readonly [{
|
|
50
|
+
readonly components: readonly [{
|
|
51
|
+
readonly name: "vault";
|
|
52
|
+
readonly type: "address";
|
|
53
|
+
}, {
|
|
54
|
+
readonly name: "isSmartCol";
|
|
55
|
+
readonly type: "bool";
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "isSmartDebt";
|
|
58
|
+
readonly type: "bool";
|
|
59
|
+
}, {
|
|
60
|
+
readonly components: readonly [{
|
|
61
|
+
readonly name: "liquidity";
|
|
62
|
+
readonly type: "address";
|
|
63
|
+
}, {
|
|
64
|
+
readonly name: "factory";
|
|
65
|
+
readonly type: "address";
|
|
66
|
+
}, {
|
|
67
|
+
readonly name: "operateImplementation";
|
|
68
|
+
readonly type: "address";
|
|
69
|
+
}, {
|
|
70
|
+
readonly name: "adminImplementation";
|
|
71
|
+
readonly type: "address";
|
|
72
|
+
}, {
|
|
73
|
+
readonly name: "secondaryImplementation";
|
|
74
|
+
readonly type: "address";
|
|
75
|
+
}, {
|
|
76
|
+
readonly name: "deployer";
|
|
77
|
+
readonly type: "address";
|
|
78
|
+
}, {
|
|
79
|
+
readonly name: "supply";
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
}, {
|
|
82
|
+
readonly name: "borrow";
|
|
83
|
+
readonly type: "address";
|
|
84
|
+
}, {
|
|
85
|
+
readonly components: readonly [{
|
|
86
|
+
readonly name: "token0";
|
|
87
|
+
readonly type: "address";
|
|
88
|
+
}, {
|
|
89
|
+
readonly name: "token1";
|
|
90
|
+
readonly type: "address";
|
|
91
|
+
}];
|
|
92
|
+
readonly name: "supplyToken";
|
|
93
|
+
readonly type: "tuple";
|
|
94
|
+
}, {
|
|
95
|
+
readonly components: readonly [{
|
|
96
|
+
readonly name: "token0";
|
|
97
|
+
readonly type: "address";
|
|
98
|
+
}, {
|
|
99
|
+
readonly name: "token1";
|
|
100
|
+
readonly type: "address";
|
|
101
|
+
}];
|
|
102
|
+
readonly name: "borrowToken";
|
|
103
|
+
readonly type: "tuple";
|
|
104
|
+
}, {
|
|
105
|
+
readonly name: "vaultId";
|
|
106
|
+
readonly type: "uint256";
|
|
107
|
+
}, {
|
|
108
|
+
readonly name: "vaultType";
|
|
109
|
+
readonly type: "uint256";
|
|
110
|
+
}, {
|
|
111
|
+
readonly name: "supplyExchangePriceSlot";
|
|
112
|
+
readonly type: "bytes32";
|
|
113
|
+
}, {
|
|
114
|
+
readonly name: "borrowExchangePriceSlot";
|
|
115
|
+
readonly type: "bytes32";
|
|
116
|
+
}, {
|
|
117
|
+
readonly name: "userSupplySlot";
|
|
118
|
+
readonly type: "bytes32";
|
|
119
|
+
}, {
|
|
120
|
+
readonly name: "userBorrowSlot";
|
|
121
|
+
readonly type: "bytes32";
|
|
122
|
+
}];
|
|
123
|
+
readonly name: "constantVariables";
|
|
124
|
+
readonly type: "tuple";
|
|
125
|
+
}, {
|
|
126
|
+
readonly components: readonly [{
|
|
127
|
+
readonly name: "supplyRateMagnifier";
|
|
128
|
+
readonly type: "uint16";
|
|
129
|
+
}, {
|
|
130
|
+
readonly name: "borrowRateMagnifier";
|
|
131
|
+
readonly type: "uint16";
|
|
132
|
+
}, {
|
|
133
|
+
readonly name: "collateralFactor";
|
|
134
|
+
readonly type: "uint16";
|
|
135
|
+
}, {
|
|
136
|
+
readonly name: "liquidationThreshold";
|
|
137
|
+
readonly type: "uint16";
|
|
138
|
+
}, {
|
|
139
|
+
readonly name: "liquidationMaxLimit";
|
|
140
|
+
readonly type: "uint16";
|
|
141
|
+
}, {
|
|
142
|
+
readonly name: "withdrawalGap";
|
|
143
|
+
readonly type: "uint16";
|
|
144
|
+
}, {
|
|
145
|
+
readonly name: "liquidationPenalty";
|
|
146
|
+
readonly type: "uint16";
|
|
147
|
+
}, {
|
|
148
|
+
readonly name: "borrowFee";
|
|
149
|
+
readonly type: "uint16";
|
|
150
|
+
}, {
|
|
151
|
+
readonly name: "oracle";
|
|
152
|
+
readonly type: "address";
|
|
153
|
+
}, {
|
|
154
|
+
readonly name: "oraclePriceOperate";
|
|
155
|
+
readonly type: "uint256";
|
|
156
|
+
}, {
|
|
157
|
+
readonly name: "oraclePriceLiquidate";
|
|
158
|
+
readonly type: "uint256";
|
|
159
|
+
}, {
|
|
160
|
+
readonly name: "rebalancer";
|
|
161
|
+
readonly type: "address";
|
|
162
|
+
}, {
|
|
163
|
+
readonly name: "lastUpdateTimestamp";
|
|
164
|
+
readonly type: "uint256";
|
|
165
|
+
}];
|
|
166
|
+
readonly name: "configs";
|
|
167
|
+
readonly type: "tuple";
|
|
168
|
+
}, {
|
|
169
|
+
readonly components: readonly [{
|
|
170
|
+
readonly name: "lastStoredLiquiditySupplyExchangePrice";
|
|
171
|
+
readonly type: "uint256";
|
|
172
|
+
}, {
|
|
173
|
+
readonly name: "lastStoredLiquidityBorrowExchangePrice";
|
|
174
|
+
readonly type: "uint256";
|
|
175
|
+
}, {
|
|
176
|
+
readonly name: "lastStoredVaultSupplyExchangePrice";
|
|
177
|
+
readonly type: "uint256";
|
|
178
|
+
}, {
|
|
179
|
+
readonly name: "lastStoredVaultBorrowExchangePrice";
|
|
180
|
+
readonly type: "uint256";
|
|
181
|
+
}, {
|
|
182
|
+
readonly name: "liquiditySupplyExchangePrice";
|
|
183
|
+
readonly type: "uint256";
|
|
184
|
+
}, {
|
|
185
|
+
readonly name: "liquidityBorrowExchangePrice";
|
|
186
|
+
readonly type: "uint256";
|
|
187
|
+
}, {
|
|
188
|
+
readonly name: "vaultSupplyExchangePrice";
|
|
189
|
+
readonly type: "uint256";
|
|
190
|
+
}, {
|
|
191
|
+
readonly name: "vaultBorrowExchangePrice";
|
|
192
|
+
readonly type: "uint256";
|
|
193
|
+
}, {
|
|
194
|
+
readonly name: "supplyRateLiquidity";
|
|
195
|
+
readonly type: "uint256";
|
|
196
|
+
}, {
|
|
197
|
+
readonly name: "borrowRateLiquidity";
|
|
198
|
+
readonly type: "uint256";
|
|
199
|
+
}, {
|
|
200
|
+
readonly name: "supplyRateVault";
|
|
201
|
+
readonly type: "int256";
|
|
202
|
+
}, {
|
|
203
|
+
readonly name: "borrowRateVault";
|
|
204
|
+
readonly type: "int256";
|
|
205
|
+
}, {
|
|
206
|
+
readonly name: "rewardsOrFeeRateSupply";
|
|
207
|
+
readonly type: "int256";
|
|
208
|
+
}, {
|
|
209
|
+
readonly name: "rewardsOrFeeRateBorrow";
|
|
210
|
+
readonly type: "int256";
|
|
211
|
+
}];
|
|
212
|
+
readonly name: "exchangePricesAndRates";
|
|
213
|
+
readonly type: "tuple";
|
|
214
|
+
}, {
|
|
215
|
+
readonly components: readonly [{
|
|
216
|
+
readonly name: "totalSupplyVault";
|
|
217
|
+
readonly type: "uint256";
|
|
218
|
+
}, {
|
|
219
|
+
readonly name: "totalBorrowVault";
|
|
220
|
+
readonly type: "uint256";
|
|
221
|
+
}, {
|
|
222
|
+
readonly name: "totalSupplyLiquidityOrDex";
|
|
223
|
+
readonly type: "uint256";
|
|
224
|
+
}, {
|
|
225
|
+
readonly name: "totalBorrowLiquidityOrDex";
|
|
226
|
+
readonly type: "uint256";
|
|
227
|
+
}, {
|
|
228
|
+
readonly name: "absorbedSupply";
|
|
229
|
+
readonly type: "uint256";
|
|
230
|
+
}, {
|
|
231
|
+
readonly name: "absorbedBorrow";
|
|
232
|
+
readonly type: "uint256";
|
|
233
|
+
}];
|
|
234
|
+
readonly name: "totalSupplyAndBorrow";
|
|
235
|
+
readonly type: "tuple";
|
|
236
|
+
}, {
|
|
237
|
+
readonly components: readonly [{
|
|
238
|
+
readonly name: "withdrawLimit";
|
|
239
|
+
readonly type: "uint256";
|
|
240
|
+
}, {
|
|
241
|
+
readonly name: "withdrawableUntilLimit";
|
|
242
|
+
readonly type: "uint256";
|
|
243
|
+
}, {
|
|
244
|
+
readonly name: "withdrawable";
|
|
245
|
+
readonly type: "uint256";
|
|
246
|
+
}, {
|
|
247
|
+
readonly name: "borrowLimit";
|
|
248
|
+
readonly type: "uint256";
|
|
249
|
+
}, {
|
|
250
|
+
readonly name: "borrowableUntilLimit";
|
|
251
|
+
readonly type: "uint256";
|
|
252
|
+
}, {
|
|
253
|
+
readonly name: "borrowable";
|
|
254
|
+
readonly type: "uint256";
|
|
255
|
+
}, {
|
|
256
|
+
readonly name: "borrowLimitUtilization";
|
|
257
|
+
readonly type: "uint256";
|
|
258
|
+
}, {
|
|
259
|
+
readonly name: "minimumBorrowing";
|
|
260
|
+
readonly type: "uint256";
|
|
261
|
+
}];
|
|
262
|
+
readonly name: "limitsAndAvailability";
|
|
263
|
+
readonly type: "tuple";
|
|
264
|
+
}, {
|
|
265
|
+
readonly components: readonly [{
|
|
266
|
+
readonly name: "totalPositions";
|
|
267
|
+
readonly type: "uint256";
|
|
268
|
+
}, {
|
|
269
|
+
readonly name: "topTick";
|
|
270
|
+
readonly type: "int256";
|
|
271
|
+
}, {
|
|
272
|
+
readonly name: "currentBranch";
|
|
273
|
+
readonly type: "uint256";
|
|
274
|
+
}, {
|
|
275
|
+
readonly name: "totalBranch";
|
|
276
|
+
readonly type: "uint256";
|
|
277
|
+
}, {
|
|
278
|
+
readonly name: "totalBorrow";
|
|
279
|
+
readonly type: "uint256";
|
|
280
|
+
}, {
|
|
281
|
+
readonly name: "totalSupply";
|
|
282
|
+
readonly type: "uint256";
|
|
283
|
+
}, {
|
|
284
|
+
readonly components: readonly [{
|
|
285
|
+
readonly name: "status";
|
|
286
|
+
readonly type: "uint256";
|
|
287
|
+
}, {
|
|
288
|
+
readonly name: "minimaTick";
|
|
289
|
+
readonly type: "int256";
|
|
290
|
+
}, {
|
|
291
|
+
readonly name: "debtFactor";
|
|
292
|
+
readonly type: "uint256";
|
|
293
|
+
}, {
|
|
294
|
+
readonly name: "partials";
|
|
295
|
+
readonly type: "uint256";
|
|
296
|
+
}, {
|
|
297
|
+
readonly name: "debtLiquidity";
|
|
298
|
+
readonly type: "uint256";
|
|
299
|
+
}, {
|
|
300
|
+
readonly name: "baseBranchId";
|
|
301
|
+
readonly type: "uint256";
|
|
302
|
+
}, {
|
|
303
|
+
readonly name: "baseBranchMinima";
|
|
304
|
+
readonly type: "int256";
|
|
305
|
+
}];
|
|
306
|
+
readonly name: "currentBranchState";
|
|
307
|
+
readonly type: "tuple";
|
|
308
|
+
}];
|
|
309
|
+
readonly name: "vaultState";
|
|
310
|
+
readonly type: "tuple";
|
|
311
|
+
}, {
|
|
312
|
+
readonly components: readonly [{
|
|
313
|
+
readonly name: "modeWithInterest";
|
|
314
|
+
readonly type: "bool";
|
|
315
|
+
}, {
|
|
316
|
+
readonly name: "supply";
|
|
317
|
+
readonly type: "uint256";
|
|
318
|
+
}, {
|
|
319
|
+
readonly name: "withdrawalLimit";
|
|
320
|
+
readonly type: "uint256";
|
|
321
|
+
}, {
|
|
322
|
+
readonly name: "lastUpdateTimestamp";
|
|
323
|
+
readonly type: "uint256";
|
|
324
|
+
}, {
|
|
325
|
+
readonly name: "expandPercent";
|
|
326
|
+
readonly type: "uint256";
|
|
327
|
+
}, {
|
|
328
|
+
readonly name: "expandDuration";
|
|
329
|
+
readonly type: "uint256";
|
|
330
|
+
}, {
|
|
331
|
+
readonly name: "baseWithdrawalLimit";
|
|
332
|
+
readonly type: "uint256";
|
|
333
|
+
}, {
|
|
334
|
+
readonly name: "withdrawableUntilLimit";
|
|
335
|
+
readonly type: "uint256";
|
|
336
|
+
}, {
|
|
337
|
+
readonly name: "withdrawable";
|
|
338
|
+
readonly type: "uint256";
|
|
339
|
+
}, {
|
|
340
|
+
readonly name: "decayEndTimestamp";
|
|
341
|
+
readonly type: "uint256";
|
|
342
|
+
}, {
|
|
343
|
+
readonly name: "decayAmount";
|
|
344
|
+
readonly type: "uint256";
|
|
345
|
+
}];
|
|
346
|
+
readonly name: "liquidityUserSupplyData";
|
|
347
|
+
readonly type: "tuple";
|
|
348
|
+
}, {
|
|
349
|
+
readonly components: readonly [{
|
|
350
|
+
readonly name: "modeWithInterest";
|
|
351
|
+
readonly type: "bool";
|
|
352
|
+
}, {
|
|
353
|
+
readonly name: "borrow";
|
|
354
|
+
readonly type: "uint256";
|
|
355
|
+
}, {
|
|
356
|
+
readonly name: "borrowLimit";
|
|
357
|
+
readonly type: "uint256";
|
|
358
|
+
}, {
|
|
359
|
+
readonly name: "lastUpdateTimestamp";
|
|
360
|
+
readonly type: "uint256";
|
|
361
|
+
}, {
|
|
362
|
+
readonly name: "expandPercent";
|
|
363
|
+
readonly type: "uint256";
|
|
364
|
+
}, {
|
|
365
|
+
readonly name: "expandDuration";
|
|
366
|
+
readonly type: "uint256";
|
|
367
|
+
}, {
|
|
368
|
+
readonly name: "baseBorrowLimit";
|
|
369
|
+
readonly type: "uint256";
|
|
370
|
+
}, {
|
|
371
|
+
readonly name: "maxBorrowLimit";
|
|
372
|
+
readonly type: "uint256";
|
|
373
|
+
}, {
|
|
374
|
+
readonly name: "borrowableUntilLimit";
|
|
375
|
+
readonly type: "uint256";
|
|
376
|
+
}, {
|
|
377
|
+
readonly name: "borrowable";
|
|
378
|
+
readonly type: "uint256";
|
|
379
|
+
}, {
|
|
380
|
+
readonly name: "borrowLimitUtilization";
|
|
381
|
+
readonly type: "uint256";
|
|
382
|
+
}];
|
|
383
|
+
readonly name: "liquidityUserBorrowData";
|
|
384
|
+
readonly type: "tuple";
|
|
385
|
+
}];
|
|
386
|
+
readonly name: "vaultData_";
|
|
387
|
+
readonly type: "tuple";
|
|
388
|
+
}];
|
|
389
|
+
readonly stateMutability: "view";
|
|
390
|
+
readonly type: "function";
|
|
391
|
+
}, {
|
|
392
|
+
readonly inputs: readonly [];
|
|
393
|
+
readonly name: "getVaultsEntireData";
|
|
394
|
+
readonly outputs: readonly [{
|
|
395
|
+
readonly components: readonly [{
|
|
396
|
+
readonly name: "vault";
|
|
397
|
+
readonly type: "address";
|
|
398
|
+
}, {
|
|
399
|
+
readonly name: "isSmartCol";
|
|
400
|
+
readonly type: "bool";
|
|
401
|
+
}, {
|
|
402
|
+
readonly name: "isSmartDebt";
|
|
403
|
+
readonly type: "bool";
|
|
404
|
+
}, {
|
|
405
|
+
readonly components: readonly [{
|
|
406
|
+
readonly name: "liquidity";
|
|
407
|
+
readonly type: "address";
|
|
408
|
+
}, {
|
|
409
|
+
readonly name: "factory";
|
|
410
|
+
readonly type: "address";
|
|
411
|
+
}, {
|
|
412
|
+
readonly name: "operateImplementation";
|
|
413
|
+
readonly type: "address";
|
|
414
|
+
}, {
|
|
415
|
+
readonly name: "adminImplementation";
|
|
416
|
+
readonly type: "address";
|
|
417
|
+
}, {
|
|
418
|
+
readonly name: "secondaryImplementation";
|
|
419
|
+
readonly type: "address";
|
|
420
|
+
}, {
|
|
421
|
+
readonly name: "deployer";
|
|
422
|
+
readonly type: "address";
|
|
423
|
+
}, {
|
|
424
|
+
readonly name: "supply";
|
|
425
|
+
readonly type: "address";
|
|
426
|
+
}, {
|
|
427
|
+
readonly name: "borrow";
|
|
428
|
+
readonly type: "address";
|
|
429
|
+
}, {
|
|
430
|
+
readonly components: readonly [{
|
|
431
|
+
readonly name: "token0";
|
|
432
|
+
readonly type: "address";
|
|
433
|
+
}, {
|
|
434
|
+
readonly name: "token1";
|
|
435
|
+
readonly type: "address";
|
|
436
|
+
}];
|
|
437
|
+
readonly name: "supplyToken";
|
|
438
|
+
readonly type: "tuple";
|
|
439
|
+
}, {
|
|
440
|
+
readonly components: readonly [{
|
|
441
|
+
readonly name: "token0";
|
|
442
|
+
readonly type: "address";
|
|
443
|
+
}, {
|
|
444
|
+
readonly name: "token1";
|
|
445
|
+
readonly type: "address";
|
|
446
|
+
}];
|
|
447
|
+
readonly name: "borrowToken";
|
|
448
|
+
readonly type: "tuple";
|
|
449
|
+
}, {
|
|
450
|
+
readonly name: "vaultId";
|
|
451
|
+
readonly type: "uint256";
|
|
452
|
+
}, {
|
|
453
|
+
readonly name: "vaultType";
|
|
454
|
+
readonly type: "uint256";
|
|
455
|
+
}, {
|
|
456
|
+
readonly name: "supplyExchangePriceSlot";
|
|
457
|
+
readonly type: "bytes32";
|
|
458
|
+
}, {
|
|
459
|
+
readonly name: "borrowExchangePriceSlot";
|
|
460
|
+
readonly type: "bytes32";
|
|
461
|
+
}, {
|
|
462
|
+
readonly name: "userSupplySlot";
|
|
463
|
+
readonly type: "bytes32";
|
|
464
|
+
}, {
|
|
465
|
+
readonly name: "userBorrowSlot";
|
|
466
|
+
readonly type: "bytes32";
|
|
467
|
+
}];
|
|
468
|
+
readonly name: "constantVariables";
|
|
469
|
+
readonly type: "tuple";
|
|
470
|
+
}, {
|
|
471
|
+
readonly components: readonly [{
|
|
472
|
+
readonly name: "supplyRateMagnifier";
|
|
473
|
+
readonly type: "uint16";
|
|
474
|
+
}, {
|
|
475
|
+
readonly name: "borrowRateMagnifier";
|
|
476
|
+
readonly type: "uint16";
|
|
477
|
+
}, {
|
|
478
|
+
readonly name: "collateralFactor";
|
|
479
|
+
readonly type: "uint16";
|
|
480
|
+
}, {
|
|
481
|
+
readonly name: "liquidationThreshold";
|
|
482
|
+
readonly type: "uint16";
|
|
483
|
+
}, {
|
|
484
|
+
readonly name: "liquidationMaxLimit";
|
|
485
|
+
readonly type: "uint16";
|
|
486
|
+
}, {
|
|
487
|
+
readonly name: "withdrawalGap";
|
|
488
|
+
readonly type: "uint16";
|
|
489
|
+
}, {
|
|
490
|
+
readonly name: "liquidationPenalty";
|
|
491
|
+
readonly type: "uint16";
|
|
492
|
+
}, {
|
|
493
|
+
readonly name: "borrowFee";
|
|
494
|
+
readonly type: "uint16";
|
|
495
|
+
}, {
|
|
496
|
+
readonly name: "oracle";
|
|
497
|
+
readonly type: "address";
|
|
498
|
+
}, {
|
|
499
|
+
readonly name: "oraclePriceOperate";
|
|
500
|
+
readonly type: "uint256";
|
|
501
|
+
}, {
|
|
502
|
+
readonly name: "oraclePriceLiquidate";
|
|
503
|
+
readonly type: "uint256";
|
|
504
|
+
}, {
|
|
505
|
+
readonly name: "rebalancer";
|
|
506
|
+
readonly type: "address";
|
|
507
|
+
}, {
|
|
508
|
+
readonly name: "lastUpdateTimestamp";
|
|
509
|
+
readonly type: "uint256";
|
|
510
|
+
}];
|
|
511
|
+
readonly name: "configs";
|
|
512
|
+
readonly type: "tuple";
|
|
513
|
+
}, {
|
|
514
|
+
readonly components: readonly [{
|
|
515
|
+
readonly name: "lastStoredLiquiditySupplyExchangePrice";
|
|
516
|
+
readonly type: "uint256";
|
|
517
|
+
}, {
|
|
518
|
+
readonly name: "lastStoredLiquidityBorrowExchangePrice";
|
|
519
|
+
readonly type: "uint256";
|
|
520
|
+
}, {
|
|
521
|
+
readonly name: "lastStoredVaultSupplyExchangePrice";
|
|
522
|
+
readonly type: "uint256";
|
|
523
|
+
}, {
|
|
524
|
+
readonly name: "lastStoredVaultBorrowExchangePrice";
|
|
525
|
+
readonly type: "uint256";
|
|
526
|
+
}, {
|
|
527
|
+
readonly name: "liquiditySupplyExchangePrice";
|
|
528
|
+
readonly type: "uint256";
|
|
529
|
+
}, {
|
|
530
|
+
readonly name: "liquidityBorrowExchangePrice";
|
|
531
|
+
readonly type: "uint256";
|
|
532
|
+
}, {
|
|
533
|
+
readonly name: "vaultSupplyExchangePrice";
|
|
534
|
+
readonly type: "uint256";
|
|
535
|
+
}, {
|
|
536
|
+
readonly name: "vaultBorrowExchangePrice";
|
|
537
|
+
readonly type: "uint256";
|
|
538
|
+
}, {
|
|
539
|
+
readonly name: "supplyRateLiquidity";
|
|
540
|
+
readonly type: "uint256";
|
|
541
|
+
}, {
|
|
542
|
+
readonly name: "borrowRateLiquidity";
|
|
543
|
+
readonly type: "uint256";
|
|
544
|
+
}, {
|
|
545
|
+
readonly name: "supplyRateVault";
|
|
546
|
+
readonly type: "int256";
|
|
547
|
+
}, {
|
|
548
|
+
readonly name: "borrowRateVault";
|
|
549
|
+
readonly type: "int256";
|
|
550
|
+
}, {
|
|
551
|
+
readonly name: "rewardsOrFeeRateSupply";
|
|
552
|
+
readonly type: "int256";
|
|
553
|
+
}, {
|
|
554
|
+
readonly name: "rewardsOrFeeRateBorrow";
|
|
555
|
+
readonly type: "int256";
|
|
556
|
+
}];
|
|
557
|
+
readonly name: "exchangePricesAndRates";
|
|
558
|
+
readonly type: "tuple";
|
|
559
|
+
}, {
|
|
560
|
+
readonly components: readonly [{
|
|
561
|
+
readonly name: "totalSupplyVault";
|
|
562
|
+
readonly type: "uint256";
|
|
563
|
+
}, {
|
|
564
|
+
readonly name: "totalBorrowVault";
|
|
565
|
+
readonly type: "uint256";
|
|
566
|
+
}, {
|
|
567
|
+
readonly name: "totalSupplyLiquidityOrDex";
|
|
568
|
+
readonly type: "uint256";
|
|
569
|
+
}, {
|
|
570
|
+
readonly name: "totalBorrowLiquidityOrDex";
|
|
571
|
+
readonly type: "uint256";
|
|
572
|
+
}, {
|
|
573
|
+
readonly name: "absorbedSupply";
|
|
574
|
+
readonly type: "uint256";
|
|
575
|
+
}, {
|
|
576
|
+
readonly name: "absorbedBorrow";
|
|
577
|
+
readonly type: "uint256";
|
|
578
|
+
}];
|
|
579
|
+
readonly name: "totalSupplyAndBorrow";
|
|
580
|
+
readonly type: "tuple";
|
|
581
|
+
}, {
|
|
582
|
+
readonly components: readonly [{
|
|
583
|
+
readonly name: "withdrawLimit";
|
|
584
|
+
readonly type: "uint256";
|
|
585
|
+
}, {
|
|
586
|
+
readonly name: "withdrawableUntilLimit";
|
|
587
|
+
readonly type: "uint256";
|
|
588
|
+
}, {
|
|
589
|
+
readonly name: "withdrawable";
|
|
590
|
+
readonly type: "uint256";
|
|
591
|
+
}, {
|
|
592
|
+
readonly name: "borrowLimit";
|
|
593
|
+
readonly type: "uint256";
|
|
594
|
+
}, {
|
|
595
|
+
readonly name: "borrowableUntilLimit";
|
|
596
|
+
readonly type: "uint256";
|
|
597
|
+
}, {
|
|
598
|
+
readonly name: "borrowable";
|
|
599
|
+
readonly type: "uint256";
|
|
600
|
+
}, {
|
|
601
|
+
readonly name: "borrowLimitUtilization";
|
|
602
|
+
readonly type: "uint256";
|
|
603
|
+
}, {
|
|
604
|
+
readonly name: "minimumBorrowing";
|
|
605
|
+
readonly type: "uint256";
|
|
606
|
+
}];
|
|
607
|
+
readonly name: "limitsAndAvailability";
|
|
608
|
+
readonly type: "tuple";
|
|
609
|
+
}, {
|
|
610
|
+
readonly components: readonly [{
|
|
611
|
+
readonly name: "totalPositions";
|
|
612
|
+
readonly type: "uint256";
|
|
613
|
+
}, {
|
|
614
|
+
readonly name: "topTick";
|
|
615
|
+
readonly type: "int256";
|
|
616
|
+
}, {
|
|
617
|
+
readonly name: "currentBranch";
|
|
618
|
+
readonly type: "uint256";
|
|
619
|
+
}, {
|
|
620
|
+
readonly name: "totalBranch";
|
|
621
|
+
readonly type: "uint256";
|
|
622
|
+
}, {
|
|
623
|
+
readonly name: "totalBorrow";
|
|
624
|
+
readonly type: "uint256";
|
|
625
|
+
}, {
|
|
626
|
+
readonly name: "totalSupply";
|
|
627
|
+
readonly type: "uint256";
|
|
628
|
+
}, {
|
|
629
|
+
readonly components: readonly [{
|
|
630
|
+
readonly name: "status";
|
|
631
|
+
readonly type: "uint256";
|
|
632
|
+
}, {
|
|
633
|
+
readonly name: "minimaTick";
|
|
634
|
+
readonly type: "int256";
|
|
635
|
+
}, {
|
|
636
|
+
readonly name: "debtFactor";
|
|
637
|
+
readonly type: "uint256";
|
|
638
|
+
}, {
|
|
639
|
+
readonly name: "partials";
|
|
640
|
+
readonly type: "uint256";
|
|
641
|
+
}, {
|
|
642
|
+
readonly name: "debtLiquidity";
|
|
643
|
+
readonly type: "uint256";
|
|
644
|
+
}, {
|
|
645
|
+
readonly name: "baseBranchId";
|
|
646
|
+
readonly type: "uint256";
|
|
647
|
+
}, {
|
|
648
|
+
readonly name: "baseBranchMinima";
|
|
649
|
+
readonly type: "int256";
|
|
650
|
+
}];
|
|
651
|
+
readonly name: "currentBranchState";
|
|
652
|
+
readonly type: "tuple";
|
|
653
|
+
}];
|
|
654
|
+
readonly name: "vaultState";
|
|
655
|
+
readonly type: "tuple";
|
|
656
|
+
}, {
|
|
657
|
+
readonly components: readonly [{
|
|
658
|
+
readonly name: "modeWithInterest";
|
|
659
|
+
readonly type: "bool";
|
|
660
|
+
}, {
|
|
661
|
+
readonly name: "supply";
|
|
662
|
+
readonly type: "uint256";
|
|
663
|
+
}, {
|
|
664
|
+
readonly name: "withdrawalLimit";
|
|
665
|
+
readonly type: "uint256";
|
|
666
|
+
}, {
|
|
667
|
+
readonly name: "lastUpdateTimestamp";
|
|
668
|
+
readonly type: "uint256";
|
|
669
|
+
}, {
|
|
670
|
+
readonly name: "expandPercent";
|
|
671
|
+
readonly type: "uint256";
|
|
672
|
+
}, {
|
|
673
|
+
readonly name: "expandDuration";
|
|
674
|
+
readonly type: "uint256";
|
|
675
|
+
}, {
|
|
676
|
+
readonly name: "baseWithdrawalLimit";
|
|
677
|
+
readonly type: "uint256";
|
|
678
|
+
}, {
|
|
679
|
+
readonly name: "withdrawableUntilLimit";
|
|
680
|
+
readonly type: "uint256";
|
|
681
|
+
}, {
|
|
682
|
+
readonly name: "withdrawable";
|
|
683
|
+
readonly type: "uint256";
|
|
684
|
+
}, {
|
|
685
|
+
readonly name: "decayEndTimestamp";
|
|
686
|
+
readonly type: "uint256";
|
|
687
|
+
}, {
|
|
688
|
+
readonly name: "decayAmount";
|
|
689
|
+
readonly type: "uint256";
|
|
690
|
+
}];
|
|
691
|
+
readonly name: "liquidityUserSupplyData";
|
|
692
|
+
readonly type: "tuple";
|
|
693
|
+
}, {
|
|
694
|
+
readonly components: readonly [{
|
|
695
|
+
readonly name: "modeWithInterest";
|
|
696
|
+
readonly type: "bool";
|
|
697
|
+
}, {
|
|
698
|
+
readonly name: "borrow";
|
|
699
|
+
readonly type: "uint256";
|
|
700
|
+
}, {
|
|
701
|
+
readonly name: "borrowLimit";
|
|
702
|
+
readonly type: "uint256";
|
|
703
|
+
}, {
|
|
704
|
+
readonly name: "lastUpdateTimestamp";
|
|
705
|
+
readonly type: "uint256";
|
|
706
|
+
}, {
|
|
707
|
+
readonly name: "expandPercent";
|
|
708
|
+
readonly type: "uint256";
|
|
709
|
+
}, {
|
|
710
|
+
readonly name: "expandDuration";
|
|
711
|
+
readonly type: "uint256";
|
|
712
|
+
}, {
|
|
713
|
+
readonly name: "baseBorrowLimit";
|
|
714
|
+
readonly type: "uint256";
|
|
715
|
+
}, {
|
|
716
|
+
readonly name: "maxBorrowLimit";
|
|
717
|
+
readonly type: "uint256";
|
|
718
|
+
}, {
|
|
719
|
+
readonly name: "borrowableUntilLimit";
|
|
720
|
+
readonly type: "uint256";
|
|
721
|
+
}, {
|
|
722
|
+
readonly name: "borrowable";
|
|
723
|
+
readonly type: "uint256";
|
|
724
|
+
}, {
|
|
725
|
+
readonly name: "borrowLimitUtilization";
|
|
726
|
+
readonly type: "uint256";
|
|
727
|
+
}];
|
|
728
|
+
readonly name: "liquidityUserBorrowData";
|
|
729
|
+
readonly type: "tuple";
|
|
730
|
+
}];
|
|
731
|
+
readonly name: "vaultsData_";
|
|
732
|
+
readonly type: "tuple[]";
|
|
733
|
+
}];
|
|
734
|
+
readonly stateMutability: "view";
|
|
735
|
+
readonly type: "function";
|
|
736
|
+
}, {
|
|
737
|
+
readonly inputs: readonly [{
|
|
738
|
+
readonly name: "user_";
|
|
739
|
+
readonly type: "address";
|
|
740
|
+
}];
|
|
741
|
+
readonly name: "positionsByUser";
|
|
742
|
+
readonly outputs: readonly [{
|
|
743
|
+
readonly components: readonly [{
|
|
744
|
+
readonly name: "nftId";
|
|
745
|
+
readonly type: "uint256";
|
|
746
|
+
}, {
|
|
747
|
+
readonly name: "owner";
|
|
748
|
+
readonly type: "address";
|
|
749
|
+
}, {
|
|
750
|
+
readonly name: "isLiquidated";
|
|
751
|
+
readonly type: "bool";
|
|
752
|
+
}, {
|
|
753
|
+
readonly name: "isSupplyPosition";
|
|
754
|
+
readonly type: "bool";
|
|
755
|
+
}, {
|
|
756
|
+
readonly name: "tick";
|
|
757
|
+
readonly type: "int256";
|
|
758
|
+
}, {
|
|
759
|
+
readonly name: "tickId";
|
|
760
|
+
readonly type: "uint256";
|
|
761
|
+
}, {
|
|
762
|
+
readonly name: "beforeSupply";
|
|
763
|
+
readonly type: "uint256";
|
|
764
|
+
}, {
|
|
765
|
+
readonly name: "beforeBorrow";
|
|
766
|
+
readonly type: "uint256";
|
|
767
|
+
}, {
|
|
768
|
+
readonly name: "beforeDustBorrow";
|
|
769
|
+
readonly type: "uint256";
|
|
770
|
+
}, {
|
|
771
|
+
readonly name: "supply";
|
|
772
|
+
readonly type: "uint256";
|
|
773
|
+
}, {
|
|
774
|
+
readonly name: "borrow";
|
|
775
|
+
readonly type: "uint256";
|
|
776
|
+
}, {
|
|
777
|
+
readonly name: "dustBorrow";
|
|
778
|
+
readonly type: "uint256";
|
|
779
|
+
}];
|
|
780
|
+
readonly name: "userPositions_";
|
|
781
|
+
readonly type: "tuple[]";
|
|
782
|
+
}, {
|
|
783
|
+
readonly components: readonly [{
|
|
784
|
+
readonly name: "vault";
|
|
785
|
+
readonly type: "address";
|
|
786
|
+
}, {
|
|
787
|
+
readonly name: "isSmartCol";
|
|
788
|
+
readonly type: "bool";
|
|
789
|
+
}, {
|
|
790
|
+
readonly name: "isSmartDebt";
|
|
791
|
+
readonly type: "bool";
|
|
792
|
+
}, {
|
|
793
|
+
readonly components: readonly [{
|
|
794
|
+
readonly name: "liquidity";
|
|
795
|
+
readonly type: "address";
|
|
796
|
+
}, {
|
|
797
|
+
readonly name: "factory";
|
|
798
|
+
readonly type: "address";
|
|
799
|
+
}, {
|
|
800
|
+
readonly name: "operateImplementation";
|
|
801
|
+
readonly type: "address";
|
|
802
|
+
}, {
|
|
803
|
+
readonly name: "adminImplementation";
|
|
804
|
+
readonly type: "address";
|
|
805
|
+
}, {
|
|
806
|
+
readonly name: "secondaryImplementation";
|
|
807
|
+
readonly type: "address";
|
|
808
|
+
}, {
|
|
809
|
+
readonly name: "deployer";
|
|
810
|
+
readonly type: "address";
|
|
811
|
+
}, {
|
|
812
|
+
readonly name: "supply";
|
|
813
|
+
readonly type: "address";
|
|
814
|
+
}, {
|
|
815
|
+
readonly name: "borrow";
|
|
816
|
+
readonly type: "address";
|
|
817
|
+
}, {
|
|
818
|
+
readonly components: readonly [{
|
|
819
|
+
readonly name: "token0";
|
|
820
|
+
readonly type: "address";
|
|
821
|
+
}, {
|
|
822
|
+
readonly name: "token1";
|
|
823
|
+
readonly type: "address";
|
|
824
|
+
}];
|
|
825
|
+
readonly name: "supplyToken";
|
|
826
|
+
readonly type: "tuple";
|
|
827
|
+
}, {
|
|
828
|
+
readonly components: readonly [{
|
|
829
|
+
readonly name: "token0";
|
|
830
|
+
readonly type: "address";
|
|
831
|
+
}, {
|
|
832
|
+
readonly name: "token1";
|
|
833
|
+
readonly type: "address";
|
|
834
|
+
}];
|
|
835
|
+
readonly name: "borrowToken";
|
|
836
|
+
readonly type: "tuple";
|
|
837
|
+
}, {
|
|
838
|
+
readonly name: "vaultId";
|
|
839
|
+
readonly type: "uint256";
|
|
840
|
+
}, {
|
|
841
|
+
readonly name: "vaultType";
|
|
842
|
+
readonly type: "uint256";
|
|
843
|
+
}, {
|
|
844
|
+
readonly name: "supplyExchangePriceSlot";
|
|
845
|
+
readonly type: "bytes32";
|
|
846
|
+
}, {
|
|
847
|
+
readonly name: "borrowExchangePriceSlot";
|
|
848
|
+
readonly type: "bytes32";
|
|
849
|
+
}, {
|
|
850
|
+
readonly name: "userSupplySlot";
|
|
851
|
+
readonly type: "bytes32";
|
|
852
|
+
}, {
|
|
853
|
+
readonly name: "userBorrowSlot";
|
|
854
|
+
readonly type: "bytes32";
|
|
855
|
+
}];
|
|
856
|
+
readonly name: "constantVariables";
|
|
857
|
+
readonly type: "tuple";
|
|
858
|
+
}, {
|
|
859
|
+
readonly components: readonly [{
|
|
860
|
+
readonly name: "supplyRateMagnifier";
|
|
861
|
+
readonly type: "uint16";
|
|
862
|
+
}, {
|
|
863
|
+
readonly name: "borrowRateMagnifier";
|
|
864
|
+
readonly type: "uint16";
|
|
865
|
+
}, {
|
|
866
|
+
readonly name: "collateralFactor";
|
|
867
|
+
readonly type: "uint16";
|
|
868
|
+
}, {
|
|
869
|
+
readonly name: "liquidationThreshold";
|
|
870
|
+
readonly type: "uint16";
|
|
871
|
+
}, {
|
|
872
|
+
readonly name: "liquidationMaxLimit";
|
|
873
|
+
readonly type: "uint16";
|
|
874
|
+
}, {
|
|
875
|
+
readonly name: "withdrawalGap";
|
|
876
|
+
readonly type: "uint16";
|
|
877
|
+
}, {
|
|
878
|
+
readonly name: "liquidationPenalty";
|
|
879
|
+
readonly type: "uint16";
|
|
880
|
+
}, {
|
|
881
|
+
readonly name: "borrowFee";
|
|
882
|
+
readonly type: "uint16";
|
|
883
|
+
}, {
|
|
884
|
+
readonly name: "oracle";
|
|
885
|
+
readonly type: "address";
|
|
886
|
+
}, {
|
|
887
|
+
readonly name: "oraclePriceOperate";
|
|
888
|
+
readonly type: "uint256";
|
|
889
|
+
}, {
|
|
890
|
+
readonly name: "oraclePriceLiquidate";
|
|
891
|
+
readonly type: "uint256";
|
|
892
|
+
}, {
|
|
893
|
+
readonly name: "rebalancer";
|
|
894
|
+
readonly type: "address";
|
|
895
|
+
}, {
|
|
896
|
+
readonly name: "lastUpdateTimestamp";
|
|
897
|
+
readonly type: "uint256";
|
|
898
|
+
}];
|
|
899
|
+
readonly name: "configs";
|
|
900
|
+
readonly type: "tuple";
|
|
901
|
+
}, {
|
|
902
|
+
readonly components: readonly [{
|
|
903
|
+
readonly name: "lastStoredLiquiditySupplyExchangePrice";
|
|
904
|
+
readonly type: "uint256";
|
|
905
|
+
}, {
|
|
906
|
+
readonly name: "lastStoredLiquidityBorrowExchangePrice";
|
|
907
|
+
readonly type: "uint256";
|
|
908
|
+
}, {
|
|
909
|
+
readonly name: "lastStoredVaultSupplyExchangePrice";
|
|
910
|
+
readonly type: "uint256";
|
|
911
|
+
}, {
|
|
912
|
+
readonly name: "lastStoredVaultBorrowExchangePrice";
|
|
913
|
+
readonly type: "uint256";
|
|
914
|
+
}, {
|
|
915
|
+
readonly name: "liquiditySupplyExchangePrice";
|
|
916
|
+
readonly type: "uint256";
|
|
917
|
+
}, {
|
|
918
|
+
readonly name: "liquidityBorrowExchangePrice";
|
|
919
|
+
readonly type: "uint256";
|
|
920
|
+
}, {
|
|
921
|
+
readonly name: "vaultSupplyExchangePrice";
|
|
922
|
+
readonly type: "uint256";
|
|
923
|
+
}, {
|
|
924
|
+
readonly name: "vaultBorrowExchangePrice";
|
|
925
|
+
readonly type: "uint256";
|
|
926
|
+
}, {
|
|
927
|
+
readonly name: "supplyRateLiquidity";
|
|
928
|
+
readonly type: "uint256";
|
|
929
|
+
}, {
|
|
930
|
+
readonly name: "borrowRateLiquidity";
|
|
931
|
+
readonly type: "uint256";
|
|
932
|
+
}, {
|
|
933
|
+
readonly name: "supplyRateVault";
|
|
934
|
+
readonly type: "int256";
|
|
935
|
+
}, {
|
|
936
|
+
readonly name: "borrowRateVault";
|
|
937
|
+
readonly type: "int256";
|
|
938
|
+
}, {
|
|
939
|
+
readonly name: "rewardsOrFeeRateSupply";
|
|
940
|
+
readonly type: "int256";
|
|
941
|
+
}, {
|
|
942
|
+
readonly name: "rewardsOrFeeRateBorrow";
|
|
943
|
+
readonly type: "int256";
|
|
944
|
+
}];
|
|
945
|
+
readonly name: "exchangePricesAndRates";
|
|
946
|
+
readonly type: "tuple";
|
|
947
|
+
}, {
|
|
948
|
+
readonly components: readonly [{
|
|
949
|
+
readonly name: "totalSupplyVault";
|
|
950
|
+
readonly type: "uint256";
|
|
951
|
+
}, {
|
|
952
|
+
readonly name: "totalBorrowVault";
|
|
953
|
+
readonly type: "uint256";
|
|
954
|
+
}, {
|
|
955
|
+
readonly name: "totalSupplyLiquidityOrDex";
|
|
956
|
+
readonly type: "uint256";
|
|
957
|
+
}, {
|
|
958
|
+
readonly name: "totalBorrowLiquidityOrDex";
|
|
959
|
+
readonly type: "uint256";
|
|
960
|
+
}, {
|
|
961
|
+
readonly name: "absorbedSupply";
|
|
962
|
+
readonly type: "uint256";
|
|
963
|
+
}, {
|
|
964
|
+
readonly name: "absorbedBorrow";
|
|
965
|
+
readonly type: "uint256";
|
|
966
|
+
}];
|
|
967
|
+
readonly name: "totalSupplyAndBorrow";
|
|
968
|
+
readonly type: "tuple";
|
|
969
|
+
}, {
|
|
970
|
+
readonly components: readonly [{
|
|
971
|
+
readonly name: "withdrawLimit";
|
|
972
|
+
readonly type: "uint256";
|
|
973
|
+
}, {
|
|
974
|
+
readonly name: "withdrawableUntilLimit";
|
|
975
|
+
readonly type: "uint256";
|
|
976
|
+
}, {
|
|
977
|
+
readonly name: "withdrawable";
|
|
978
|
+
readonly type: "uint256";
|
|
979
|
+
}, {
|
|
980
|
+
readonly name: "borrowLimit";
|
|
981
|
+
readonly type: "uint256";
|
|
982
|
+
}, {
|
|
983
|
+
readonly name: "borrowableUntilLimit";
|
|
984
|
+
readonly type: "uint256";
|
|
985
|
+
}, {
|
|
986
|
+
readonly name: "borrowable";
|
|
987
|
+
readonly type: "uint256";
|
|
988
|
+
}, {
|
|
989
|
+
readonly name: "borrowLimitUtilization";
|
|
990
|
+
readonly type: "uint256";
|
|
991
|
+
}, {
|
|
992
|
+
readonly name: "minimumBorrowing";
|
|
993
|
+
readonly type: "uint256";
|
|
994
|
+
}];
|
|
995
|
+
readonly name: "limitsAndAvailability";
|
|
996
|
+
readonly type: "tuple";
|
|
997
|
+
}, {
|
|
998
|
+
readonly components: readonly [{
|
|
999
|
+
readonly name: "totalPositions";
|
|
1000
|
+
readonly type: "uint256";
|
|
1001
|
+
}, {
|
|
1002
|
+
readonly name: "topTick";
|
|
1003
|
+
readonly type: "int256";
|
|
1004
|
+
}, {
|
|
1005
|
+
readonly name: "currentBranch";
|
|
1006
|
+
readonly type: "uint256";
|
|
1007
|
+
}, {
|
|
1008
|
+
readonly name: "totalBranch";
|
|
1009
|
+
readonly type: "uint256";
|
|
1010
|
+
}, {
|
|
1011
|
+
readonly name: "totalBorrow";
|
|
1012
|
+
readonly type: "uint256";
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly name: "totalSupply";
|
|
1015
|
+
readonly type: "uint256";
|
|
1016
|
+
}, {
|
|
1017
|
+
readonly components: readonly [{
|
|
1018
|
+
readonly name: "status";
|
|
1019
|
+
readonly type: "uint256";
|
|
1020
|
+
}, {
|
|
1021
|
+
readonly name: "minimaTick";
|
|
1022
|
+
readonly type: "int256";
|
|
1023
|
+
}, {
|
|
1024
|
+
readonly name: "debtFactor";
|
|
1025
|
+
readonly type: "uint256";
|
|
1026
|
+
}, {
|
|
1027
|
+
readonly name: "partials";
|
|
1028
|
+
readonly type: "uint256";
|
|
1029
|
+
}, {
|
|
1030
|
+
readonly name: "debtLiquidity";
|
|
1031
|
+
readonly type: "uint256";
|
|
1032
|
+
}, {
|
|
1033
|
+
readonly name: "baseBranchId";
|
|
1034
|
+
readonly type: "uint256";
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly name: "baseBranchMinima";
|
|
1037
|
+
readonly type: "int256";
|
|
1038
|
+
}];
|
|
1039
|
+
readonly name: "currentBranchState";
|
|
1040
|
+
readonly type: "tuple";
|
|
1041
|
+
}];
|
|
1042
|
+
readonly name: "vaultState";
|
|
1043
|
+
readonly type: "tuple";
|
|
1044
|
+
}, {
|
|
1045
|
+
readonly components: readonly [{
|
|
1046
|
+
readonly name: "modeWithInterest";
|
|
1047
|
+
readonly type: "bool";
|
|
1048
|
+
}, {
|
|
1049
|
+
readonly name: "supply";
|
|
1050
|
+
readonly type: "uint256";
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly name: "withdrawalLimit";
|
|
1053
|
+
readonly type: "uint256";
|
|
1054
|
+
}, {
|
|
1055
|
+
readonly name: "lastUpdateTimestamp";
|
|
1056
|
+
readonly type: "uint256";
|
|
1057
|
+
}, {
|
|
1058
|
+
readonly name: "expandPercent";
|
|
1059
|
+
readonly type: "uint256";
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly name: "expandDuration";
|
|
1062
|
+
readonly type: "uint256";
|
|
1063
|
+
}, {
|
|
1064
|
+
readonly name: "baseWithdrawalLimit";
|
|
1065
|
+
readonly type: "uint256";
|
|
1066
|
+
}, {
|
|
1067
|
+
readonly name: "withdrawableUntilLimit";
|
|
1068
|
+
readonly type: "uint256";
|
|
1069
|
+
}, {
|
|
1070
|
+
readonly name: "withdrawable";
|
|
1071
|
+
readonly type: "uint256";
|
|
1072
|
+
}, {
|
|
1073
|
+
readonly name: "decayEndTimestamp";
|
|
1074
|
+
readonly type: "uint256";
|
|
1075
|
+
}, {
|
|
1076
|
+
readonly name: "decayAmount";
|
|
1077
|
+
readonly type: "uint256";
|
|
1078
|
+
}];
|
|
1079
|
+
readonly name: "liquidityUserSupplyData";
|
|
1080
|
+
readonly type: "tuple";
|
|
1081
|
+
}, {
|
|
1082
|
+
readonly components: readonly [{
|
|
1083
|
+
readonly name: "modeWithInterest";
|
|
1084
|
+
readonly type: "bool";
|
|
1085
|
+
}, {
|
|
1086
|
+
readonly name: "borrow";
|
|
1087
|
+
readonly type: "uint256";
|
|
1088
|
+
}, {
|
|
1089
|
+
readonly name: "borrowLimit";
|
|
1090
|
+
readonly type: "uint256";
|
|
1091
|
+
}, {
|
|
1092
|
+
readonly name: "lastUpdateTimestamp";
|
|
1093
|
+
readonly type: "uint256";
|
|
1094
|
+
}, {
|
|
1095
|
+
readonly name: "expandPercent";
|
|
1096
|
+
readonly type: "uint256";
|
|
1097
|
+
}, {
|
|
1098
|
+
readonly name: "expandDuration";
|
|
1099
|
+
readonly type: "uint256";
|
|
1100
|
+
}, {
|
|
1101
|
+
readonly name: "baseBorrowLimit";
|
|
1102
|
+
readonly type: "uint256";
|
|
1103
|
+
}, {
|
|
1104
|
+
readonly name: "maxBorrowLimit";
|
|
1105
|
+
readonly type: "uint256";
|
|
1106
|
+
}, {
|
|
1107
|
+
readonly name: "borrowableUntilLimit";
|
|
1108
|
+
readonly type: "uint256";
|
|
1109
|
+
}, {
|
|
1110
|
+
readonly name: "borrowable";
|
|
1111
|
+
readonly type: "uint256";
|
|
1112
|
+
}, {
|
|
1113
|
+
readonly name: "borrowLimitUtilization";
|
|
1114
|
+
readonly type: "uint256";
|
|
1115
|
+
}];
|
|
1116
|
+
readonly name: "liquidityUserBorrowData";
|
|
1117
|
+
readonly type: "tuple";
|
|
1118
|
+
}];
|
|
1119
|
+
readonly name: "vaultsData_";
|
|
1120
|
+
readonly type: "tuple[]";
|
|
1121
|
+
}];
|
|
1122
|
+
readonly stateMutability: "view";
|
|
1123
|
+
readonly type: "function";
|
|
1124
|
+
}];
|
|
1125
|
+
/** Fluid Oracle Fetcher module */
|
|
1126
|
+
export declare const fluidFetcher: {
|
|
1127
|
+
getCalls: typeof getFluidCalls;
|
|
1128
|
+
parse: typeof parseFluidResults;
|
|
1129
|
+
getAbi: typeof getFluidAbi;
|
|
1130
|
+
};
|
|
1131
|
+
//# sourceMappingURL=fluid.d.ts.map
|