@1delta/margin-fetcher 0.0.14 → 0.0.15-0.1
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-2UAQOYNJ.js +3898 -0
- package/dist/_esm-2UAQOYNJ.js.map +1 -0
- package/dist/abis/aave-v2/YLDR.d.ts.map +1 -1
- package/dist/abis/aave-v3/AavePoolDataProviderLegacy.d.ts.map +1 -1
- 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/Comptroller.d.ts +1 -1600
- package/dist/abis/compound-v2/Comptroller.d.ts.map +1 -1
- package/dist/abis/compound-v2/VenusLens.d.ts +1007 -0
- package/dist/abis/{aave/AavePoolV3.d.ts.map → compound-v2/VenusLens.d.ts.map} +1 -1
- 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 +0 -20
- package/dist/abis/compound-v3/Comet.d.ts.map +1 -1
- package/dist/abis/morpho/lens.d.ts +127 -15
- package/dist/abis/morpho/lens.d.ts.map +1 -1
- package/dist/abis/multicall/Multicall.d.ts.map +1 -1
- package/dist/abis/oracle/ChainLinkAggregator.d.ts +5 -223
- package/dist/abis/oracle/ChainLinkAggregator.d.ts.map +1 -1
- package/dist/abis/oracle/ProxyOracle.d.ts +26 -0
- package/dist/abis/oracle/ProxyOracle.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/assets/index.d.ts +3 -8
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/liquidityThresholds.d.ts +10 -0
- package/dist/assets/liquidityThresholds.d.ts.map +1 -1
- package/dist/ccip-NAPFCFLK.js +5 -0
- package/dist/ccip-NAPFCFLK.js.map +1 -0
- package/dist/chunk-BYTNVMX7.js +369 -0
- package/dist/chunk-BYTNVMX7.js.map +1 -0
- package/dist/chunk-JJRW5HVN.js +4133 -0
- package/dist/chunk-JJRW5HVN.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 +2 -2
- package/dist/flash-liquidity/assets.d.ts.map +1 -1
- package/dist/flash-liquidity/fetchLiquidity.d.ts +3 -3
- package/dist/flash-liquidity/fetchLiquidity.d.ts.map +1 -1
- package/dist/flash-liquidity/index.d.ts +2 -2
- package/dist/flash-liquidity/types.d.ts +1 -0
- package/dist/flash-liquidity/types.d.ts.map +1 -1
- package/dist/flash-liquidity/utils.d.ts +3 -2
- package/dist/flash-liquidity/utils.d.ts.map +1 -1
- package/dist/index.d.ts +9 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23868 -6
- package/dist/index.js.map +1 -0
- package/dist/lending/aave-v2-type/misc.d.ts +3 -9
- package/dist/lending/aave-v2-type/misc.d.ts.map +1 -1
- package/dist/lending/aave-v2-type/publicCallBuild.d.ts +3 -4
- package/dist/lending/aave-v2-type/publicCallBuild.d.ts.map +1 -1
- package/dist/lending/aave-v2-type/publicCallParse.d.ts +4 -5
- package/dist/lending/aave-v2-type/publicCallParse.d.ts.map +1 -1
- package/dist/lending/aave-v3-type/publicCallBuild.d.ts +3 -3
- package/dist/lending/aave-v3-type/publicCallBuild.d.ts.map +1 -1
- package/dist/lending/aave-v3-type/publicCallParse.d.ts +5 -6
- package/dist/lending/aave-v3-type/publicCallParse.d.ts.map +1 -1
- package/dist/lending/addresses/aave.d.ts.map +1 -1
- package/dist/lending/addresses/aaveV2.d.ts.map +1 -1
- package/dist/lending/addresses/compoundV2.d.ts +13 -0
- package/dist/lending/addresses/compoundV2.d.ts.map +1 -0
- package/dist/lending/addresses/compoundV3.d.ts +2 -4
- package/dist/lending/addresses/compoundV3.d.ts.map +1 -1
- package/dist/lending/addresses/meridian.d.ts +3 -0
- package/dist/lending/addresses/meridian.d.ts.map +1 -1
- package/dist/lending/addresses/takotako.d.ts.map +1 -1
- package/dist/lending/compound-v2/getters/moonwell.d.ts +32 -0
- package/dist/lending/compound-v2/getters/moonwell.d.ts.map +1 -0
- package/dist/lending/compound-v2/getters/types.d.ts +12 -0
- package/dist/lending/compound-v2/getters/types.d.ts.map +1 -0
- package/dist/lending/compound-v2/getters/venus.d.ts +86 -0
- package/dist/lending/compound-v2/getters/venus.d.ts.map +1 -0
- package/dist/lending/compound-v2/publicCallBuild.d.ts +2 -0
- package/dist/lending/compound-v2/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/compound-v2/publicCallParse.d.ts +6 -0
- package/dist/lending/compound-v2/publicCallParse.d.ts.map +1 -0
- package/dist/lending/compound-v3/publicCallBuild.d.ts +1 -2
- package/dist/lending/compound-v3/publicCallBuild.d.ts.map +1 -1
- package/dist/lending/compound-v3/publicCallParse.d.ts +3 -4
- package/dist/lending/compound-v3/publicCallParse.d.ts.map +1 -1
- package/dist/lending/fetchLender.d.ts +5 -3
- package/dist/lending/fetchLender.d.ts.map +1 -1
- package/dist/lending/fetchLenderAll.d.ts +2 -2
- package/dist/lending/fetchLenderAll.d.ts.map +1 -1
- package/dist/lending/fetchLenderExt.d.ts +2 -2
- package/dist/lending/fetchLenderExt.d.ts.map +1 -1
- package/dist/lending/index.d.ts +6 -5
- package/dist/lending/index.d.ts.map +1 -1
- package/dist/lending/init/publicCallBuild.d.ts +1 -1
- package/dist/lending/init/publicCallBuild.d.ts.map +1 -1
- package/dist/lending/init/publicCallParse.d.ts +4 -4
- package/dist/lending/init/publicCallParse.d.ts.map +1 -1
- package/dist/lending/lista/getMarketsFromChain.d.ts +4 -0
- package/dist/lending/lista/getMarketsFromChain.d.ts.map +1 -0
- package/dist/lending/lista/getMarketsOnChain.d.ts +6 -0
- package/dist/lending/lista/getMarketsOnChain.d.ts.map +1 -0
- package/dist/lending/lista/publicCallBuild.d.ts +10 -0
- package/dist/lending/lista/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/meta/index.d.ts +20 -0
- package/dist/lending/meta/index.d.ts.map +1 -0
- package/dist/lending/morpho/convertPublic.d.ts +2 -2
- package/dist/lending/morpho/convertPublic.d.ts.map +1 -1
- package/dist/lending/morpho/fetchPublic.d.ts.map +1 -1
- package/dist/lending/morpho/getMarketsFromChain.d.ts +4 -0
- package/dist/lending/morpho/getMarketsFromChain.d.ts.map +1 -0
- package/dist/lending/morpho/index.d.ts +3 -0
- package/dist/lending/morpho/index.d.ts.map +1 -0
- package/dist/lending/morpho/publicCallBuild.d.ts +12 -2
- package/dist/lending/morpho/publicCallBuild.d.ts.map +1 -1
- package/dist/lending/morpho/utils/evmParser.d.ts +48 -0
- package/dist/lending/morpho/utils/evmParser.d.ts.map +1 -0
- package/dist/lending/morpho/utils/mathLib.d.ts +125 -0
- package/dist/lending/morpho/utils/mathLib.d.ts.map +1 -0
- package/dist/lending/morpho/utils/parsers.d.ts +10 -0
- package/dist/lending/morpho/utils/parsers.d.ts.map +1 -0
- package/dist/lending/user-data/aave-v2-type/userCallBuild.d.ts +3 -3
- package/dist/lending/user-data/aave-v2-type/userCallBuild.d.ts.map +1 -1
- package/dist/lending/user-data/aave-v2-type/userCallParse.d.ts +2 -2
- package/dist/lending/user-data/aave-v2-type/userCallParse.d.ts.map +1 -1
- package/dist/lending/user-data/aave-v3-type/userCallBuild.d.ts +3 -3
- package/dist/lending/user-data/aave-v3-type/userCallBuild.d.ts.map +1 -1
- package/dist/lending/user-data/aave-v3-type/userCallParse.d.ts +2 -2
- package/dist/lending/user-data/aave-v3-type/userCallParse.d.ts.map +1 -1
- package/dist/lending/user-data/aave-v3-type/userCallParseYldr.d.ts +2 -2
- package/dist/lending/user-data/aave-v3-type/userCallParseYldr.d.ts.map +1 -1
- package/dist/lending/user-data/abis.d.ts +179 -34
- package/dist/lending/user-data/abis.d.ts.map +1 -1
- 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 +4 -0
- package/dist/lending/user-data/compound-v2/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/compound-v2/userCallParse.d.ts +8 -0
- package/dist/lending/user-data/compound-v2/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/compound-v3/index.d.ts +2 -3
- package/dist/lending/user-data/compound-v3/index.d.ts.map +1 -1
- package/dist/lending/user-data/compound-v3/userCallBuild.d.ts +3 -3
- package/dist/lending/user-data/compound-v3/userCallBuild.d.ts.map +1 -1
- package/dist/lending/user-data/compound-v3/userCallParse.d.ts +2 -2
- package/dist/lending/user-data/compound-v3/userCallParse.d.ts.map +1 -1
- package/dist/lending/user-data/fetchUserData.d.ts +114 -5
- package/dist/lending/user-data/fetchUserData.d.ts.map +1 -1
- package/dist/lending/user-data/index.d.ts +2 -2
- package/dist/lending/user-data/index.d.ts.map +1 -1
- package/dist/lending/user-data/init/userCallBuild.d.ts +2 -2
- package/dist/lending/user-data/init/userCallBuild.d.ts.map +1 -1
- package/dist/lending/user-data/init/userCallParse.d.ts +2 -2
- package/dist/lending/user-data/init/userCallParse.d.ts.map +1 -1
- package/dist/lending/user-data/morpho/decoder.d.ts +20 -1
- package/dist/lending/user-data/morpho/decoder.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/lending/user-data/morpho/types.d.ts.map +1 -1
- package/dist/lending/user-data/morpho/userCallBuild.d.ts +6 -3
- package/dist/lending/user-data/morpho/userCallBuild.d.ts.map +1 -1
- package/dist/lending/user-data/morpho/userCallParse.d.ts +16 -2
- package/dist/lending/user-data/morpho/userCallParse.d.ts.map +1 -1
- package/dist/lending/user-data/utils/createGeneralUserState.d.ts +4 -1
- package/dist/lending/user-data/utils/createGeneralUserState.d.ts.map +1 -1
- package/dist/lending/user-data/utils/createMultiAccountStyleUserState.d.ts +1 -1
- package/dist/lending/user-data/utils/createMultiAccountStyleUserState.d.ts.map +1 -1
- package/dist/lending/user-data/utils/formatting/generalFormatters.d.ts +1 -1
- package/dist/lending/user-data/utils/formatting/generalFormatters.d.ts.map +1 -1
- package/dist/lending/user-data/utils/formatting/index.d.ts +1 -1
- package/dist/lending/user-data/utils/index.d.ts +4 -4
- package/dist/lending/user-data/utils/index.d.ts.map +1 -1
- package/dist/lending-pairs/computeLendingPairs.d.ts +10 -1
- package/dist/lending-pairs/computeLendingPairs.d.ts.map +1 -1
- package/dist/lending-pairs/index.d.ts +1 -1
- package/dist/lending-pairs/index.d.ts.map +1 -1
- 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/defillama/index.d.ts.map +1 -1
- package/dist/prices/index.d.ts +3 -2
- package/dist/prices/index.d.ts.map +1 -1
- package/dist/prices/main-prices/addresses/api3.d.ts.map +1 -1
- package/dist/prices/main-prices/addresses/chainlink.d.ts +0 -7
- package/dist/prices/main-prices/addresses/chainlink.d.ts.map +1 -1
- package/dist/prices/main-prices/fetchOracleData.d.ts +9 -3
- package/dist/prices/main-prices/fetchOracleData.d.ts.map +1 -1
- package/dist/prices/main-prices/index.d.ts +1 -1
- package/dist/prices/main-prices/index.d.ts.map +1 -1
- 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/types/apiReturnType.d.ts +4 -4
- package/dist/types/apiReturnType.d.ts.map +1 -1
- package/dist/{lending/types/index.d.ts → types/general.d.ts} +1 -1
- package/dist/types/general.d.ts.map +1 -0
- package/dist/types/index.d.ts +5 -41
- package/dist/types/index.d.ts.map +1 -1
- package/dist/{lending/aave-v2-type/types.d.ts → types/lender/aave-v2-types.d.ts} +5 -9
- package/dist/types/lender/aave-v2-types.d.ts.map +1 -0
- package/dist/{lending/aave-v3-type/types.d.ts → types/lender/aave-v3-types.d.ts} +5 -9
- package/dist/types/lender/aave-v3-types.d.ts.map +1 -0
- package/dist/types/lender/compound-v2-types.d.ts +41 -0
- package/dist/types/lender/compound-v2-types.d.ts.map +1 -0
- package/dist/{lending/compound-v3/types.d.ts → types/lender/compound-v3-types.d.ts} +5 -9
- package/dist/types/lender/compound-v3-types.d.ts.map +1 -0
- package/dist/{lending/init/types.d.ts → types/lender/init-types.d.ts} +5 -9
- package/dist/types/lender/init-types.d.ts.map +1 -0
- package/dist/{lending/morpho/types.d.ts → types/lender/morpho-types.d.ts} +12 -2
- package/dist/types/lender/morpho-types.d.ts.map +1 -0
- package/dist/{lending/user-data/types.d.ts → types/lenderTypes.d.ts} +30 -20
- 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 +1 -9
- package/dist/types/providers.d.ts.map +1 -1
- package/dist/utils/constants.d.ts +0 -23
- package/dist/utils/constants.d.ts.map +1 -1
- package/dist/utils/index.d.ts +6 -7
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/multicall.d.ts +2 -1
- package/dist/utils/multicall.d.ts.map +1 -1
- package/dist/utils/parsing.d.ts +6 -3
- package/dist/utils/parsing.d.ts.map +1 -1
- package/dist/yields/index.d.ts.map +1 -1
- package/dist/yields/yieldTypes.d.ts +76 -0
- package/dist/yields/yieldTypes.d.ts.map +1 -0
- package/package.json +16 -8
- package/dist/abis/aave/AToken.d.ts +0 -526
- package/dist/abis/aave/AToken.d.ts.map +0 -1
- package/dist/abis/aave/AToken.js +0 -686
- package/dist/abis/aave/AaveOracle.js +0 -66
- package/dist/abis/aave/AavePoolAndDataProvider.js +0 -2080
- package/dist/abis/aave/AavePoolV3.d.ts +0 -819
- package/dist/abis/aave/AavePoolV3.js +0 -1060
- package/dist/abis/aave/AavePoolV3Upgraded.js +0 -1474
- package/dist/abis/aave/AaveV3ProtocolDataProvider.js +0 -553
- package/dist/abis/aave/VariableDebtToken.js +0 -820
- package/dist/abis/aave-v2/ProtocolDataProvider.js +0 -312
- package/dist/abis/aave-v2/YLDR.js +0 -199
- package/dist/abis/aave-v3/AavePoolDataProviderLegacy.js +0 -460
- package/dist/abis/aave-v3/AavePoolLegacy.js +0 -1060
- package/dist/abis/aave-v3/YLDR.js +0 -46
- package/dist/abis/aurelius/Rewarder.js +0 -118
- package/dist/abis/compound-v2/CompoundLens.js +0 -851
- package/dist/abis/compound-v2/Comptroller.js +0 -2104
- package/dist/abis/compound-v3/Comet.js +0 -1829
- package/dist/abis/compound-v3/CometExt.js +0 -536
- package/dist/abis/compound-v3/CometLens.js +0 -194
- package/dist/abis/compound-v3/CometRewards.js +0 -330
- package/dist/abis/compound-v3/IrGetter.js +0 -31
- package/dist/abis/flashloan-united/flashAbi.js +0 -72
- package/dist/abis/init/Core.d.ts +0 -523
- package/dist/abis/init/Core.d.ts.map +0 -1
- package/dist/abis/init/Core.js +0 -681
- package/dist/abis/init/InitFlashAggregator.d.ts +0 -624
- package/dist/abis/init/InitFlashAggregator.d.ts.map +0 -1
- package/dist/abis/init/InitFlashAggregator.js +0 -795
- package/dist/abis/init/InitLens.js +0 -203
- package/dist/abis/init/PosManager.d.ts +0 -802
- package/dist/abis/init/PosManager.d.ts.map +0 -1
- package/dist/abis/init/PosManager.js +0 -1055
- package/dist/abis/lendle/IncentivesController.js +0 -525
- package/dist/abis/lendle/MultiFeeDistribution.js +0 -820
- package/dist/abis/meridian/PullRewardsIncentivesController.js +0 -98
- package/dist/abis/morpho/blue.js +0 -99
- package/dist/abis/morpho/lens.js +0 -31
- package/dist/abis/multicall/Multicall.js +0 -101
- package/dist/abis/oracle/AaveOracle.js +0 -66
- package/dist/abis/oracle/Api3Oracle.js +0 -62
- package/dist/abis/oracle/ChainLinkAggregator.js +0 -480
- package/dist/abis/oracle/RWADynamicOracle.js +0 -15
- package/dist/abis/oracle/UniswapV2Pair.js +0 -659
- package/dist/abis/uniswap/FeeOnTransferDetector.d.ts +0 -102
- package/dist/abis/uniswap/FeeOnTransferDetector.d.ts.map +0 -1
- package/dist/abis/uniswap/FeeOnTransferDetector.js +0 -133
- package/dist/abis/uniswap/UniswapV2Pair.d.ts +0 -513
- package/dist/abis/uniswap/UniswapV2Pair.d.ts.map +0 -1
- package/dist/abis/uniswap/UniswapV2Pair.js +0 -659
- package/dist/assets/index.js +0 -54
- package/dist/assets/liquidityThresholds.js +0 -51
- package/dist/flash-liquidity/assets.js +0 -45
- package/dist/flash-liquidity/fetchLiquidity.js +0 -235
- package/dist/flash-liquidity/index.js +0 -2
- package/dist/flash-liquidity/types.js +0 -8
- package/dist/flash-liquidity/utils.js +0 -17
- package/dist/lending/aave-v2-type/misc.js +0 -8
- package/dist/lending/aave-v2-type/publicCallBuild.js +0 -102
- package/dist/lending/aave-v2-type/publicCallParse.js +0 -257
- package/dist/lending/aave-v2-type/types.d.ts.map +0 -1
- package/dist/lending/aave-v2-type/types.js +0 -46
- package/dist/lending/aave-v3-type/publicCallBuild.js +0 -123
- package/dist/lending/aave-v3-type/publicCallParse.js +0 -307
- package/dist/lending/aave-v3-type/types.d.ts.map +0 -1
- package/dist/lending/aave-v3-type/types.js +0 -98
- package/dist/lending/addresses/aave.js +0 -10
- package/dist/lending/addresses/aaveV2.js +0 -6
- package/dist/lending/addresses/aurelius.js +0 -12
- package/dist/lending/addresses/compoundV3.js +0 -36
- package/dist/lending/addresses/contracts.d.ts +0 -5
- package/dist/lending/addresses/contracts.d.ts.map +0 -1
- package/dist/lending/addresses/contracts.js +0 -49
- package/dist/lending/addresses/hana.js +0 -6
- package/dist/lending/addresses/index.d.ts +0 -2
- package/dist/lending/addresses/index.d.ts.map +0 -1
- package/dist/lending/addresses/index.js +0 -1
- package/dist/lending/addresses/init.js +0 -33
- package/dist/lending/addresses/lendle.js +0 -12
- package/dist/lending/addresses/meridian.js +0 -12
- package/dist/lending/addresses/takotako.js +0 -12
- package/dist/lending/compound-v3/publicCallBuild.js +0 -63
- package/dist/lending/compound-v3/publicCallParse.js +0 -135
- package/dist/lending/compound-v3/types.d.ts.map +0 -1
- package/dist/lending/compound-v3/types.js +0 -6
- package/dist/lending/fetchLender.js +0 -104
- package/dist/lending/fetchLenderAll.js +0 -12
- package/dist/lending/fetchLenderExt.js +0 -42
- package/dist/lending/index.js +0 -5
- package/dist/lending/init/publicCallBuild.js +0 -21
- package/dist/lending/init/publicCallParse.js +0 -76
- package/dist/lending/init/types.d.ts.map +0 -1
- package/dist/lending/init/types.js +0 -6
- package/dist/lending/morpho/convertPublic.js +0 -119
- package/dist/lending/morpho/fetchPublic.js +0 -72
- package/dist/lending/morpho/publicCallBuild.js +0 -6
- package/dist/lending/morpho/types.d.ts.map +0 -1
- package/dist/lending/morpho/types.js +0 -1
- package/dist/lending/types/index.d.ts.map +0 -1
- package/dist/lending/types/index.js +0 -1
- package/dist/lending/user-data/aave-v2-type/userCallBuild.js +0 -87
- package/dist/lending/user-data/aave-v2-type/userCallParse.js +0 -239
- package/dist/lending/user-data/aave-v3-type/userCallBuild.js +0 -26
- package/dist/lending/user-data/aave-v3-type/userCallParse.js +0 -84
- package/dist/lending/user-data/aave-v3-type/userCallParseYldr.js +0 -81
- package/dist/lending/user-data/abis.js +0 -56
- package/dist/lending/user-data/compound-v3/addresses.d.ts +0 -10
- package/dist/lending/user-data/compound-v3/addresses.d.ts.map +0 -1
- package/dist/lending/user-data/compound-v3/addresses.js +0 -33
- package/dist/lending/user-data/compound-v3/index.js +0 -3
- package/dist/lending/user-data/compound-v3/userCallBuild.js +0 -44
- package/dist/lending/user-data/compound-v3/userCallParse.js +0 -103
- package/dist/lending/user-data/fetchUserData.js +0 -100
- package/dist/lending/user-data/index.js +0 -2
- package/dist/lending/user-data/init/userCallBuild.js +0 -20
- package/dist/lending/user-data/init/userCallParse.js +0 -88
- package/dist/lending/user-data/morpho/decoder.js +0 -52
- package/dist/lending/user-data/morpho/morphoLib.js +0 -21
- package/dist/lending/user-data/morpho/types.js +0 -13
- package/dist/lending/user-data/morpho/userCallBuild.js +0 -42
- package/dist/lending/user-data/morpho/userCallParse.js +0 -102
- package/dist/lending/user-data/morpho/userCallParseNoDeploy.d.ts +0 -11
- package/dist/lending/user-data/morpho/userCallParseNoDeploy.d.ts.map +0 -1
- package/dist/lending/user-data/morpho/userCallParseNoDeploy.js +0 -112
- package/dist/lending/user-data/types.d.ts.map +0 -1
- package/dist/lending/user-data/types.js +0 -38
- package/dist/lending/user-data/utils/createGeneralUserState.js +0 -105
- package/dist/lending/user-data/utils/createMultiAccountStyleUserState.js +0 -96
- package/dist/lending/user-data/utils/formatting/generalFormatters.js +0 -109
- package/dist/lending/user-data/utils/formatting/index.js +0 -1
- package/dist/lending/user-data/utils/index.js +0 -17
- package/dist/lending-pairs/computeLendingPairs.js +0 -259
- package/dist/lending-pairs/index.js +0 -1
- package/dist/prices/defillama/index.js +0 -269
- package/dist/prices/index.js +0 -2
- package/dist/prices/main-prices/addresses/aaveOracles.d.ts +0 -278
- package/dist/prices/main-prices/addresses/aaveOracles.d.ts.map +0 -1
- package/dist/prices/main-prices/addresses/aaveOracles.js +0 -277
- package/dist/prices/main-prices/addresses/api3.js +0 -9
- package/dist/prices/main-prices/addresses/chainlink.js +0 -744
- package/dist/prices/main-prices/fetchOracleData.js +0 -348
- package/dist/prices/main-prices/index.js +0 -1
- package/dist/types/apiReturnType.js +0 -1
- package/dist/types/index.js +0 -10
- package/dist/types/providers.js +0 -1
- package/dist/utils/constants.js +0 -97
- package/dist/utils/index.js +0 -106
- package/dist/utils/multicall.js +0 -30
- package/dist/utils/parsing.js +0 -66
- package/dist/yields/index.js +0 -164
- package/src/abis/aave/AToken.ts +0 -686
- package/src/abis/aave/AaveOracle.ts +0 -66
- package/src/abis/aave/AavePoolAndDataProvider.ts +0 -2080
- package/src/abis/aave/AavePoolV3.ts +0 -1060
- package/src/abis/aave/AavePoolV3Upgraded.ts +0 -1474
- package/src/abis/aave/AaveV3ProtocolDataProvider.ts +0 -553
- package/src/abis/aave/VariableDebtToken.ts +0 -820
- package/src/abis/aave-v2/ProtocolDataProvider.ts +0 -312
- package/src/abis/aave-v2/YLDR.ts +0 -199
- package/src/abis/aave-v3/AavePoolDataProviderLegacy.ts +0 -459
- package/src/abis/aave-v3/AavePoolLegacy.ts +0 -1060
- package/src/abis/aave-v3/YLDR.ts +0 -46
- package/src/abis/aurelius/Rewarder.ts +0 -118
- package/src/abis/compound-v2/CompoundLens.ts +0 -851
- package/src/abis/compound-v2/Comptroller.ts +0 -2104
- package/src/abis/compound-v3/Comet.ts +0 -1829
- package/src/abis/compound-v3/CometExt.ts +0 -536
- package/src/abis/compound-v3/CometLens.ts +0 -194
- package/src/abis/compound-v3/CometRewards.ts +0 -330
- package/src/abis/compound-v3/IrGetter.ts +0 -31
- package/src/abis/flashloan-united/flashAbi.ts +0 -72
- package/src/abis/init/Core.ts +0 -681
- package/src/abis/init/InitFlashAggregator.ts +0 -795
- package/src/abis/init/InitLens.ts +0 -203
- package/src/abis/init/PosManager.ts +0 -1055
- package/src/abis/lendle/IncentivesController.ts +0 -525
- package/src/abis/lendle/MultiFeeDistribution.ts +0 -820
- package/src/abis/meridian/PullRewardsIncentivesController.ts +0 -98
- package/src/abis/morpho/blue.ts +0 -99
- package/src/abis/morpho/lens.ts +0 -31
- package/src/abis/multicall/Multicall.ts +0 -101
- package/src/abis/oracle/AaveOracle.ts +0 -66
- package/src/abis/oracle/Api3Oracle.ts +0 -62
- package/src/abis/oracle/ChainLinkAggregator.ts +0 -480
- package/src/abis/oracle/RWADynamicOracle.ts +0 -15
- package/src/abis/oracle/UniswapV2Pair.ts +0 -659
- package/src/abis/uniswap/FeeOnTransferDetector.ts +0 -133
- package/src/abis/uniswap/UniswapV2Pair.ts +0 -659
- package/src/assets/index.ts +0 -101
- package/src/assets/liquidityThresholds.ts +0 -83
- package/src/flash-liquidity/assets.ts +0 -61
- package/src/flash-liquidity/fetchLiquidity.ts +0 -300
- package/src/flash-liquidity/index.ts +0 -2
- package/src/flash-liquidity/types.ts +0 -20
- package/src/flash-liquidity/utils.ts +0 -22
- package/src/index.ts +0 -7
- package/src/lending/aave-v2-type/misc.ts +0 -9
- package/src/lending/aave-v2-type/publicCallBuild.ts +0 -105
- package/src/lending/aave-v2-type/publicCallParse.ts +0 -305
- package/src/lending/aave-v2-type/types.ts +0 -100
- package/src/lending/aave-v3-type/publicCallBuild.ts +0 -148
- package/src/lending/aave-v3-type/publicCallParse.ts +0 -378
- package/src/lending/aave-v3-type/types.ts +0 -191
- package/src/lending/addresses/aave.ts +0 -12
- package/src/lending/addresses/aaveV2.ts +0 -8
- package/src/lending/addresses/aurelius.ts +0 -13
- package/src/lending/addresses/compoundV3.ts +0 -56
- package/src/lending/addresses/contracts.ts +0 -54
- package/src/lending/addresses/hana.ts +0 -7
- package/src/lending/addresses/index.ts +0 -1
- package/src/lending/addresses/init.ts +0 -37
- package/src/lending/addresses/lendle.ts +0 -13
- package/src/lending/addresses/meridian.ts +0 -13
- package/src/lending/addresses/takotako.ts +0 -14
- package/src/lending/compound-v3/publicCallBuild.ts +0 -74
- package/src/lending/compound-v3/publicCallParse.ts +0 -202
- package/src/lending/compound-v3/types.ts +0 -45
- package/src/lending/fetchLender.ts +0 -181
- package/src/lending/fetchLenderAll.ts +0 -30
- package/src/lending/fetchLenderExt.ts +0 -82
- package/src/lending/index.ts +0 -5
- package/src/lending/init/publicCallBuild.ts +0 -29
- package/src/lending/init/publicCallParse.ts +0 -93
- package/src/lending/init/types.ts +0 -53
- package/src/lending/morpho/convertPublic.ts +0 -153
- package/src/lending/morpho/fetchPublic.ts +0 -80
- package/src/lending/morpho/publicCallBuild.ts +0 -11
- package/src/lending/morpho/types.ts +0 -129
- package/src/lending/types/index.ts +0 -16
- package/src/lending/user-data/aave-v2-type/userCallBuild.ts +0 -118
- package/src/lending/user-data/aave-v2-type/userCallParse.ts +0 -343
- package/src/lending/user-data/aave-v3-type/userCallBuild.ts +0 -42
- package/src/lending/user-data/aave-v3-type/userCallParse.ts +0 -126
- package/src/lending/user-data/aave-v3-type/userCallParseYldr.ts +0 -124
- package/src/lending/user-data/abis.ts +0 -53
- package/src/lending/user-data/compound-v3/addresses.ts +0 -59
- package/src/lending/user-data/compound-v3/index.ts +0 -3
- package/src/lending/user-data/compound-v3/userCallBuild.ts +0 -53
- package/src/lending/user-data/compound-v3/userCallParse.ts +0 -126
- package/src/lending/user-data/fetchUserData.ts +0 -205
- package/src/lending/user-data/index.ts +0 -2
- package/src/lending/user-data/init/userCallBuild.ts +0 -26
- package/src/lending/user-data/init/userCallParse.ts +0 -115
- package/src/lending/user-data/morpho/decoder.ts +0 -71
- package/src/lending/user-data/morpho/morphoLib.ts +0 -61
- package/src/lending/user-data/morpho/types.ts +0 -12
- package/src/lending/user-data/morpho/userCallBuild.ts +0 -63
- package/src/lending/user-data/morpho/userCallParse.ts +0 -150
- package/src/lending/user-data/morpho/userCallParseNoDeploy.ts +0 -168
- package/src/lending/user-data/types.ts +0 -300
- package/src/lending/user-data/utils/createGeneralUserState.ts +0 -142
- package/src/lending/user-data/utils/createMultiAccountStyleUserState.ts +0 -113
- package/src/lending/user-data/utils/formatting/generalFormatters.ts +0 -121
- package/src/lending/user-data/utils/formatting/index.ts +0 -1
- package/src/lending/user-data/utils/index.ts +0 -19
- package/src/lending-pairs/computeLendingPairs.ts +0 -445
- package/src/lending-pairs/index.ts +0 -1
- package/src/prices/defillama/index.ts +0 -306
- package/src/prices/index.ts +0 -2
- package/src/prices/main-prices/addresses/aaveOracles.ts +0 -278
- package/src/prices/main-prices/addresses/api3.ts +0 -10
- package/src/prices/main-prices/addresses/chainlink.ts +0 -750
- package/src/prices/main-prices/fetchOracleData.ts +0 -496
- package/src/prices/main-prices/index.ts +0 -1
- package/src/types/apiReturnType.ts +0 -80
- package/src/types/index.ts +0 -38
- package/src/types/providers.ts +0 -26
- package/src/utils/constants.ts +0 -100
- package/src/utils/index.ts +0 -139
- package/src/utils/multicall.ts +0 -53
- package/src/utils/parsing.ts +0 -80
- package/src/yields/index.ts +0 -207
- package/test/index.test.ts +0 -112
- package/test/lenderData.test.ts +0 -13320
- package/test/mainPrices.test.ts +0 -23
- package/test/morpho.test.ts +0 -20
- package/test/userDataMorpho.test.ts +0 -79
- package/test/userdata.test.ts +0 -284
- package/test/utils.ts +0 -13
- package/tsconfig.json +0 -28
|
@@ -1,1615 +1,16 @@
|
|
|
1
1
|
export declare const ComptrollerAbi: readonly [{
|
|
2
|
-
readonly anonymous: false;
|
|
3
2
|
readonly inputs: readonly [{
|
|
4
|
-
readonly indexed: false;
|
|
5
|
-
readonly internalType: "string";
|
|
6
|
-
readonly name: "action";
|
|
7
|
-
readonly type: "string";
|
|
8
|
-
}, {
|
|
9
|
-
readonly indexed: false;
|
|
10
|
-
readonly internalType: "bool";
|
|
11
|
-
readonly name: "pauseState";
|
|
12
|
-
readonly type: "bool";
|
|
13
|
-
}];
|
|
14
|
-
readonly name: "ActionPaused";
|
|
15
|
-
readonly type: "event";
|
|
16
|
-
}, {
|
|
17
|
-
readonly anonymous: false;
|
|
18
|
-
readonly inputs: readonly [{
|
|
19
|
-
readonly indexed: true;
|
|
20
|
-
readonly internalType: "address";
|
|
21
|
-
readonly name: "user";
|
|
22
|
-
readonly type: "address";
|
|
23
|
-
}, {
|
|
24
|
-
readonly indexed: false;
|
|
25
|
-
readonly internalType: "uint256";
|
|
26
|
-
readonly name: "oldCompAccrued";
|
|
27
|
-
readonly type: "uint256";
|
|
28
|
-
}, {
|
|
29
|
-
readonly indexed: false;
|
|
30
|
-
readonly internalType: "uint256";
|
|
31
|
-
readonly name: "newCompAccrued";
|
|
32
|
-
readonly type: "uint256";
|
|
33
|
-
}];
|
|
34
|
-
readonly name: "CompAccruedAdjusted";
|
|
35
|
-
readonly type: "event";
|
|
36
|
-
}, {
|
|
37
|
-
readonly anonymous: false;
|
|
38
|
-
readonly inputs: readonly [{
|
|
39
|
-
readonly indexed: true;
|
|
40
|
-
readonly internalType: "contract CToken";
|
|
41
|
-
readonly name: "cToken";
|
|
42
|
-
readonly type: "address";
|
|
43
|
-
}, {
|
|
44
|
-
readonly indexed: false;
|
|
45
|
-
readonly internalType: "uint256";
|
|
46
|
-
readonly name: "newSpeed";
|
|
47
|
-
readonly type: "uint256";
|
|
48
|
-
}];
|
|
49
|
-
readonly name: "CompBorrowSpeedUpdated";
|
|
50
|
-
readonly type: "event";
|
|
51
|
-
}, {
|
|
52
|
-
readonly anonymous: false;
|
|
53
|
-
readonly inputs: readonly [{
|
|
54
|
-
readonly indexed: false;
|
|
55
|
-
readonly internalType: "address";
|
|
56
|
-
readonly name: "recipient";
|
|
57
|
-
readonly type: "address";
|
|
58
|
-
}, {
|
|
59
|
-
readonly indexed: false;
|
|
60
|
-
readonly internalType: "uint256";
|
|
61
|
-
readonly name: "amount";
|
|
62
|
-
readonly type: "uint256";
|
|
63
|
-
}];
|
|
64
|
-
readonly name: "CompGranted";
|
|
65
|
-
readonly type: "event";
|
|
66
|
-
}, {
|
|
67
|
-
readonly anonymous: false;
|
|
68
|
-
readonly inputs: readonly [{
|
|
69
|
-
readonly indexed: true;
|
|
70
|
-
readonly internalType: "address";
|
|
71
|
-
readonly name: "user";
|
|
72
|
-
readonly type: "address";
|
|
73
|
-
}, {
|
|
74
|
-
readonly indexed: false;
|
|
75
|
-
readonly internalType: "uint256";
|
|
76
|
-
readonly name: "oldCompReceivable";
|
|
77
|
-
readonly type: "uint256";
|
|
78
|
-
}, {
|
|
79
|
-
readonly indexed: false;
|
|
80
|
-
readonly internalType: "uint256";
|
|
81
|
-
readonly name: "newCompReceivable";
|
|
82
|
-
readonly type: "uint256";
|
|
83
|
-
}];
|
|
84
|
-
readonly name: "CompReceivableUpdated";
|
|
85
|
-
readonly type: "event";
|
|
86
|
-
}, {
|
|
87
|
-
readonly anonymous: false;
|
|
88
|
-
readonly inputs: readonly [{
|
|
89
|
-
readonly indexed: true;
|
|
90
|
-
readonly internalType: "contract CToken";
|
|
91
|
-
readonly name: "cToken";
|
|
92
|
-
readonly type: "address";
|
|
93
|
-
}, {
|
|
94
|
-
readonly indexed: false;
|
|
95
|
-
readonly internalType: "uint256";
|
|
96
|
-
readonly name: "newSpeed";
|
|
97
|
-
readonly type: "uint256";
|
|
98
|
-
}];
|
|
99
|
-
readonly name: "CompSupplySpeedUpdated";
|
|
100
|
-
readonly type: "event";
|
|
101
|
-
}, {
|
|
102
|
-
readonly anonymous: false;
|
|
103
|
-
readonly inputs: readonly [{
|
|
104
|
-
readonly indexed: true;
|
|
105
|
-
readonly internalType: "address";
|
|
106
|
-
readonly name: "contributor";
|
|
107
|
-
readonly type: "address";
|
|
108
|
-
}, {
|
|
109
|
-
readonly indexed: false;
|
|
110
|
-
readonly internalType: "uint256";
|
|
111
|
-
readonly name: "newSpeed";
|
|
112
|
-
readonly type: "uint256";
|
|
113
|
-
}];
|
|
114
|
-
readonly name: "ContributorCompSpeedUpdated";
|
|
115
|
-
readonly type: "event";
|
|
116
|
-
}, {
|
|
117
|
-
readonly anonymous: false;
|
|
118
|
-
readonly inputs: readonly [{
|
|
119
|
-
readonly indexed: true;
|
|
120
|
-
readonly internalType: "contract CToken";
|
|
121
|
-
readonly name: "cToken";
|
|
122
|
-
readonly type: "address";
|
|
123
|
-
}, {
|
|
124
|
-
readonly indexed: true;
|
|
125
|
-
readonly internalType: "address";
|
|
126
|
-
readonly name: "borrower";
|
|
127
|
-
readonly type: "address";
|
|
128
|
-
}, {
|
|
129
|
-
readonly indexed: false;
|
|
130
|
-
readonly internalType: "uint256";
|
|
131
|
-
readonly name: "compDelta";
|
|
132
|
-
readonly type: "uint256";
|
|
133
|
-
}, {
|
|
134
|
-
readonly indexed: false;
|
|
135
|
-
readonly internalType: "uint256";
|
|
136
|
-
readonly name: "compBorrowIndex";
|
|
137
|
-
readonly type: "uint256";
|
|
138
|
-
}];
|
|
139
|
-
readonly name: "DistributedBorrowerComp";
|
|
140
|
-
readonly type: "event";
|
|
141
|
-
}, {
|
|
142
|
-
readonly anonymous: false;
|
|
143
|
-
readonly inputs: readonly [{
|
|
144
|
-
readonly indexed: true;
|
|
145
|
-
readonly internalType: "contract CToken";
|
|
146
|
-
readonly name: "cToken";
|
|
147
|
-
readonly type: "address";
|
|
148
|
-
}, {
|
|
149
|
-
readonly indexed: true;
|
|
150
|
-
readonly internalType: "address";
|
|
151
|
-
readonly name: "supplier";
|
|
152
|
-
readonly type: "address";
|
|
153
|
-
}, {
|
|
154
|
-
readonly indexed: false;
|
|
155
|
-
readonly internalType: "uint256";
|
|
156
|
-
readonly name: "compDelta";
|
|
157
|
-
readonly type: "uint256";
|
|
158
|
-
}, {
|
|
159
|
-
readonly indexed: false;
|
|
160
|
-
readonly internalType: "uint256";
|
|
161
|
-
readonly name: "compSupplyIndex";
|
|
162
|
-
readonly type: "uint256";
|
|
163
|
-
}];
|
|
164
|
-
readonly name: "DistributedSupplierComp";
|
|
165
|
-
readonly type: "event";
|
|
166
|
-
}, {
|
|
167
|
-
readonly anonymous: false;
|
|
168
|
-
readonly inputs: readonly [{
|
|
169
|
-
readonly indexed: false;
|
|
170
|
-
readonly internalType: "uint256";
|
|
171
|
-
readonly name: "error";
|
|
172
|
-
readonly type: "uint256";
|
|
173
|
-
}, {
|
|
174
|
-
readonly indexed: false;
|
|
175
|
-
readonly internalType: "uint256";
|
|
176
|
-
readonly name: "info";
|
|
177
|
-
readonly type: "uint256";
|
|
178
|
-
}, {
|
|
179
|
-
readonly indexed: false;
|
|
180
|
-
readonly internalType: "uint256";
|
|
181
|
-
readonly name: "detail";
|
|
182
|
-
readonly type: "uint256";
|
|
183
|
-
}];
|
|
184
|
-
readonly name: "Failure";
|
|
185
|
-
readonly type: "event";
|
|
186
|
-
}, {
|
|
187
|
-
readonly anonymous: false;
|
|
188
|
-
readonly inputs: readonly [{
|
|
189
|
-
readonly indexed: false;
|
|
190
|
-
readonly internalType: "contract CToken";
|
|
191
|
-
readonly name: "cToken";
|
|
192
|
-
readonly type: "address";
|
|
193
|
-
}, {
|
|
194
|
-
readonly indexed: false;
|
|
195
|
-
readonly internalType: "address";
|
|
196
|
-
readonly name: "account";
|
|
197
|
-
readonly type: "address";
|
|
198
|
-
}];
|
|
199
|
-
readonly name: "MarketEntered";
|
|
200
|
-
readonly type: "event";
|
|
201
|
-
}, {
|
|
202
|
-
readonly anonymous: false;
|
|
203
|
-
readonly inputs: readonly [{
|
|
204
|
-
readonly indexed: false;
|
|
205
|
-
readonly internalType: "contract CToken";
|
|
206
|
-
readonly name: "cToken";
|
|
207
|
-
readonly type: "address";
|
|
208
|
-
}, {
|
|
209
|
-
readonly indexed: false;
|
|
210
3
|
readonly internalType: "address";
|
|
211
4
|
readonly name: "account";
|
|
212
5
|
readonly type: "address";
|
|
213
6
|
}];
|
|
214
|
-
readonly name: "
|
|
215
|
-
readonly type: "event";
|
|
216
|
-
}, {
|
|
217
|
-
readonly anonymous: false;
|
|
218
|
-
readonly inputs: readonly [{
|
|
219
|
-
readonly indexed: false;
|
|
220
|
-
readonly internalType: "contract CToken";
|
|
221
|
-
readonly name: "cToken";
|
|
222
|
-
readonly type: "address";
|
|
223
|
-
}];
|
|
224
|
-
readonly name: "MarketListed";
|
|
225
|
-
readonly type: "event";
|
|
226
|
-
}, {
|
|
227
|
-
readonly anonymous: false;
|
|
228
|
-
readonly inputs: readonly [{
|
|
229
|
-
readonly indexed: true;
|
|
230
|
-
readonly internalType: "contract CToken";
|
|
231
|
-
readonly name: "cToken";
|
|
232
|
-
readonly type: "address";
|
|
233
|
-
}, {
|
|
234
|
-
readonly indexed: false;
|
|
235
|
-
readonly internalType: "uint256";
|
|
236
|
-
readonly name: "newBorrowCap";
|
|
237
|
-
readonly type: "uint256";
|
|
238
|
-
}];
|
|
239
|
-
readonly name: "NewBorrowCap";
|
|
240
|
-
readonly type: "event";
|
|
241
|
-
}, {
|
|
242
|
-
readonly anonymous: false;
|
|
243
|
-
readonly inputs: readonly [{
|
|
244
|
-
readonly indexed: false;
|
|
245
|
-
readonly internalType: "address";
|
|
246
|
-
readonly name: "oldBorrowCapGuardian";
|
|
247
|
-
readonly type: "address";
|
|
248
|
-
}, {
|
|
249
|
-
readonly indexed: false;
|
|
250
|
-
readonly internalType: "address";
|
|
251
|
-
readonly name: "newBorrowCapGuardian";
|
|
252
|
-
readonly type: "address";
|
|
253
|
-
}];
|
|
254
|
-
readonly name: "NewBorrowCapGuardian";
|
|
255
|
-
readonly type: "event";
|
|
256
|
-
}, {
|
|
257
|
-
readonly anonymous: false;
|
|
258
|
-
readonly inputs: readonly [{
|
|
259
|
-
readonly indexed: false;
|
|
260
|
-
readonly internalType: "uint256";
|
|
261
|
-
readonly name: "oldCloseFactorMantissa";
|
|
262
|
-
readonly type: "uint256";
|
|
263
|
-
}, {
|
|
264
|
-
readonly indexed: false;
|
|
265
|
-
readonly internalType: "uint256";
|
|
266
|
-
readonly name: "newCloseFactorMantissa";
|
|
267
|
-
readonly type: "uint256";
|
|
268
|
-
}];
|
|
269
|
-
readonly name: "NewCloseFactor";
|
|
270
|
-
readonly type: "event";
|
|
271
|
-
}, {
|
|
272
|
-
readonly anonymous: false;
|
|
273
|
-
readonly inputs: readonly [{
|
|
274
|
-
readonly indexed: false;
|
|
275
|
-
readonly internalType: "contract CToken";
|
|
276
|
-
readonly name: "cToken";
|
|
277
|
-
readonly type: "address";
|
|
278
|
-
}, {
|
|
279
|
-
readonly indexed: false;
|
|
280
|
-
readonly internalType: "uint256";
|
|
281
|
-
readonly name: "oldCollateralFactorMantissa";
|
|
282
|
-
readonly type: "uint256";
|
|
283
|
-
}, {
|
|
284
|
-
readonly indexed: false;
|
|
285
|
-
readonly internalType: "uint256";
|
|
286
|
-
readonly name: "newCollateralFactorMantissa";
|
|
287
|
-
readonly type: "uint256";
|
|
288
|
-
}];
|
|
289
|
-
readonly name: "NewCollateralFactor";
|
|
290
|
-
readonly type: "event";
|
|
291
|
-
}, {
|
|
292
|
-
readonly anonymous: false;
|
|
293
|
-
readonly inputs: readonly [{
|
|
294
|
-
readonly indexed: false;
|
|
295
|
-
readonly internalType: "uint256";
|
|
296
|
-
readonly name: "oldLiquidationIncentiveMantissa";
|
|
297
|
-
readonly type: "uint256";
|
|
298
|
-
}, {
|
|
299
|
-
readonly indexed: false;
|
|
300
|
-
readonly internalType: "uint256";
|
|
301
|
-
readonly name: "newLiquidationIncentiveMantissa";
|
|
302
|
-
readonly type: "uint256";
|
|
303
|
-
}];
|
|
304
|
-
readonly name: "NewLiquidationIncentive";
|
|
305
|
-
readonly type: "event";
|
|
306
|
-
}, {
|
|
307
|
-
readonly anonymous: false;
|
|
308
|
-
readonly inputs: readonly [{
|
|
309
|
-
readonly indexed: false;
|
|
310
|
-
readonly internalType: "address";
|
|
311
|
-
readonly name: "oldPauseGuardian";
|
|
312
|
-
readonly type: "address";
|
|
313
|
-
}, {
|
|
314
|
-
readonly indexed: false;
|
|
315
|
-
readonly internalType: "address";
|
|
316
|
-
readonly name: "newPauseGuardian";
|
|
317
|
-
readonly type: "address";
|
|
318
|
-
}];
|
|
319
|
-
readonly name: "NewPauseGuardian";
|
|
320
|
-
readonly type: "event";
|
|
321
|
-
}, {
|
|
322
|
-
readonly anonymous: false;
|
|
323
|
-
readonly inputs: readonly [{
|
|
324
|
-
readonly indexed: false;
|
|
325
|
-
readonly internalType: "contract PriceOracle";
|
|
326
|
-
readonly name: "oldPriceOracle";
|
|
327
|
-
readonly type: "address";
|
|
328
|
-
}, {
|
|
329
|
-
readonly indexed: false;
|
|
330
|
-
readonly internalType: "contract PriceOracle";
|
|
331
|
-
readonly name: "newPriceOracle";
|
|
332
|
-
readonly type: "address";
|
|
333
|
-
}];
|
|
334
|
-
readonly name: "NewPriceOracle";
|
|
335
|
-
readonly type: "event";
|
|
336
|
-
}, {
|
|
337
|
-
readonly inputs: readonly [{
|
|
338
|
-
readonly internalType: "contract Unitroller";
|
|
339
|
-
readonly name: "unitroller";
|
|
340
|
-
readonly type: "address";
|
|
341
|
-
}];
|
|
342
|
-
readonly name: "_become";
|
|
343
|
-
readonly outputs: readonly [];
|
|
344
|
-
readonly stateMutability: "nonpayable";
|
|
345
|
-
readonly type: "function";
|
|
346
|
-
}, {
|
|
347
|
-
readonly inputs: readonly [];
|
|
348
|
-
readonly name: "_borrowGuardianPaused";
|
|
349
|
-
readonly outputs: readonly [{
|
|
350
|
-
readonly internalType: "bool";
|
|
351
|
-
readonly name: "";
|
|
352
|
-
readonly type: "bool";
|
|
353
|
-
}];
|
|
354
|
-
readonly stateMutability: "view";
|
|
355
|
-
readonly type: "function";
|
|
356
|
-
}, {
|
|
357
|
-
readonly inputs: readonly [{
|
|
358
|
-
readonly internalType: "address";
|
|
359
|
-
readonly name: "recipient";
|
|
360
|
-
readonly type: "address";
|
|
361
|
-
}, {
|
|
362
|
-
readonly internalType: "uint256";
|
|
363
|
-
readonly name: "amount";
|
|
364
|
-
readonly type: "uint256";
|
|
365
|
-
}];
|
|
366
|
-
readonly name: "_grantComp";
|
|
367
|
-
readonly outputs: readonly [];
|
|
368
|
-
readonly stateMutability: "nonpayable";
|
|
369
|
-
readonly type: "function";
|
|
370
|
-
}, {
|
|
371
|
-
readonly inputs: readonly [];
|
|
372
|
-
readonly name: "_mintGuardianPaused";
|
|
373
|
-
readonly outputs: readonly [{
|
|
374
|
-
readonly internalType: "bool";
|
|
375
|
-
readonly name: "";
|
|
376
|
-
readonly type: "bool";
|
|
377
|
-
}];
|
|
378
|
-
readonly stateMutability: "view";
|
|
379
|
-
readonly type: "function";
|
|
380
|
-
}, {
|
|
381
|
-
readonly inputs: readonly [{
|
|
382
|
-
readonly internalType: "address";
|
|
383
|
-
readonly name: "newBorrowCapGuardian";
|
|
384
|
-
readonly type: "address";
|
|
385
|
-
}];
|
|
386
|
-
readonly name: "_setBorrowCapGuardian";
|
|
387
|
-
readonly outputs: readonly [];
|
|
388
|
-
readonly stateMutability: "nonpayable";
|
|
389
|
-
readonly type: "function";
|
|
390
|
-
}, {
|
|
391
|
-
readonly inputs: readonly [{
|
|
392
|
-
readonly internalType: "contract CToken";
|
|
393
|
-
readonly name: "cToken";
|
|
394
|
-
readonly type: "address";
|
|
395
|
-
}, {
|
|
396
|
-
readonly internalType: "bool";
|
|
397
|
-
readonly name: "state";
|
|
398
|
-
readonly type: "bool";
|
|
399
|
-
}];
|
|
400
|
-
readonly name: "_setBorrowPaused";
|
|
401
|
-
readonly outputs: readonly [{
|
|
402
|
-
readonly internalType: "bool";
|
|
403
|
-
readonly name: "";
|
|
404
|
-
readonly type: "bool";
|
|
405
|
-
}];
|
|
406
|
-
readonly stateMutability: "nonpayable";
|
|
407
|
-
readonly type: "function";
|
|
408
|
-
}, {
|
|
409
|
-
readonly inputs: readonly [{
|
|
410
|
-
readonly internalType: "uint256";
|
|
411
|
-
readonly name: "newCloseFactorMantissa";
|
|
412
|
-
readonly type: "uint256";
|
|
413
|
-
}];
|
|
414
|
-
readonly name: "_setCloseFactor";
|
|
415
|
-
readonly outputs: readonly [{
|
|
416
|
-
readonly internalType: "uint256";
|
|
417
|
-
readonly name: "";
|
|
418
|
-
readonly type: "uint256";
|
|
419
|
-
}];
|
|
420
|
-
readonly stateMutability: "nonpayable";
|
|
421
|
-
readonly type: "function";
|
|
422
|
-
}, {
|
|
423
|
-
readonly inputs: readonly [{
|
|
424
|
-
readonly internalType: "contract CToken";
|
|
425
|
-
readonly name: "cToken";
|
|
426
|
-
readonly type: "address";
|
|
427
|
-
}, {
|
|
428
|
-
readonly internalType: "uint256";
|
|
429
|
-
readonly name: "newCollateralFactorMantissa";
|
|
430
|
-
readonly type: "uint256";
|
|
431
|
-
}];
|
|
432
|
-
readonly name: "_setCollateralFactor";
|
|
7
|
+
readonly name: "getAssetsIn";
|
|
433
8
|
readonly outputs: readonly [{
|
|
434
|
-
readonly internalType: "uint256";
|
|
435
|
-
readonly name: "";
|
|
436
|
-
readonly type: "uint256";
|
|
437
|
-
}];
|
|
438
|
-
readonly stateMutability: "nonpayable";
|
|
439
|
-
readonly type: "function";
|
|
440
|
-
}, {
|
|
441
|
-
readonly inputs: readonly [{
|
|
442
9
|
readonly internalType: "contract CToken[]";
|
|
443
|
-
readonly name: "cTokens";
|
|
444
|
-
readonly type: "address[]";
|
|
445
|
-
}, {
|
|
446
|
-
readonly internalType: "uint256[]";
|
|
447
|
-
readonly name: "supplySpeeds";
|
|
448
|
-
readonly type: "uint256[]";
|
|
449
|
-
}, {
|
|
450
|
-
readonly internalType: "uint256[]";
|
|
451
|
-
readonly name: "borrowSpeeds";
|
|
452
|
-
readonly type: "uint256[]";
|
|
453
|
-
}];
|
|
454
|
-
readonly name: "_setCompSpeeds";
|
|
455
|
-
readonly outputs: readonly [];
|
|
456
|
-
readonly stateMutability: "nonpayable";
|
|
457
|
-
readonly type: "function";
|
|
458
|
-
}, {
|
|
459
|
-
readonly inputs: readonly [{
|
|
460
|
-
readonly internalType: "address";
|
|
461
|
-
readonly name: "contributor";
|
|
462
|
-
readonly type: "address";
|
|
463
|
-
}, {
|
|
464
|
-
readonly internalType: "uint256";
|
|
465
|
-
readonly name: "compSpeed";
|
|
466
|
-
readonly type: "uint256";
|
|
467
|
-
}];
|
|
468
|
-
readonly name: "_setContributorCompSpeed";
|
|
469
|
-
readonly outputs: readonly [];
|
|
470
|
-
readonly stateMutability: "nonpayable";
|
|
471
|
-
readonly type: "function";
|
|
472
|
-
}, {
|
|
473
|
-
readonly inputs: readonly [{
|
|
474
|
-
readonly internalType: "uint256";
|
|
475
|
-
readonly name: "newLiquidationIncentiveMantissa";
|
|
476
|
-
readonly type: "uint256";
|
|
477
|
-
}];
|
|
478
|
-
readonly name: "_setLiquidationIncentive";
|
|
479
|
-
readonly outputs: readonly [{
|
|
480
|
-
readonly internalType: "uint256";
|
|
481
10
|
readonly name: "";
|
|
482
|
-
readonly type: "uint256";
|
|
483
|
-
}];
|
|
484
|
-
readonly stateMutability: "nonpayable";
|
|
485
|
-
readonly type: "function";
|
|
486
|
-
}, {
|
|
487
|
-
readonly inputs: readonly [{
|
|
488
|
-
readonly internalType: "contract CToken[]";
|
|
489
|
-
readonly name: "cTokens";
|
|
490
11
|
readonly type: "address[]";
|
|
491
|
-
}, {
|
|
492
|
-
readonly internalType: "uint256[]";
|
|
493
|
-
readonly name: "newBorrowCaps";
|
|
494
|
-
readonly type: "uint256[]";
|
|
495
|
-
}];
|
|
496
|
-
readonly name: "_setMarketBorrowCaps";
|
|
497
|
-
readonly outputs: readonly [];
|
|
498
|
-
readonly stateMutability: "nonpayable";
|
|
499
|
-
readonly type: "function";
|
|
500
|
-
}, {
|
|
501
|
-
readonly inputs: readonly [{
|
|
502
|
-
readonly internalType: "contract CToken";
|
|
503
|
-
readonly name: "cToken";
|
|
504
|
-
readonly type: "address";
|
|
505
|
-
}, {
|
|
506
|
-
readonly internalType: "bool";
|
|
507
|
-
readonly name: "state";
|
|
508
|
-
readonly type: "bool";
|
|
509
|
-
}];
|
|
510
|
-
readonly name: "_setMintPaused";
|
|
511
|
-
readonly outputs: readonly [{
|
|
512
|
-
readonly internalType: "bool";
|
|
513
|
-
readonly name: "";
|
|
514
|
-
readonly type: "bool";
|
|
515
|
-
}];
|
|
516
|
-
readonly stateMutability: "nonpayable";
|
|
517
|
-
readonly type: "function";
|
|
518
|
-
}, {
|
|
519
|
-
readonly inputs: readonly [{
|
|
520
|
-
readonly internalType: "address";
|
|
521
|
-
readonly name: "newPauseGuardian";
|
|
522
|
-
readonly type: "address";
|
|
523
|
-
}];
|
|
524
|
-
readonly name: "_setPauseGuardian";
|
|
525
|
-
readonly outputs: readonly [{
|
|
526
|
-
readonly internalType: "uint256";
|
|
527
|
-
readonly name: "";
|
|
528
|
-
readonly type: "uint256";
|
|
529
|
-
}];
|
|
530
|
-
readonly stateMutability: "nonpayable";
|
|
531
|
-
readonly type: "function";
|
|
532
|
-
}, {
|
|
533
|
-
readonly inputs: readonly [{
|
|
534
|
-
readonly internalType: "contract PriceOracle";
|
|
535
|
-
readonly name: "newOracle";
|
|
536
|
-
readonly type: "address";
|
|
537
|
-
}];
|
|
538
|
-
readonly name: "_setPriceOracle";
|
|
539
|
-
readonly outputs: readonly [{
|
|
540
|
-
readonly internalType: "uint256";
|
|
541
|
-
readonly name: "";
|
|
542
|
-
readonly type: "uint256";
|
|
543
|
-
}];
|
|
544
|
-
readonly stateMutability: "nonpayable";
|
|
545
|
-
readonly type: "function";
|
|
546
|
-
}, {
|
|
547
|
-
readonly inputs: readonly [{
|
|
548
|
-
readonly internalType: "bool";
|
|
549
|
-
readonly name: "state";
|
|
550
|
-
readonly type: "bool";
|
|
551
|
-
}];
|
|
552
|
-
readonly name: "_setSeizePaused";
|
|
553
|
-
readonly outputs: readonly [{
|
|
554
|
-
readonly internalType: "bool";
|
|
555
|
-
readonly name: "";
|
|
556
|
-
readonly type: "bool";
|
|
557
|
-
}];
|
|
558
|
-
readonly stateMutability: "nonpayable";
|
|
559
|
-
readonly type: "function";
|
|
560
|
-
}, {
|
|
561
|
-
readonly inputs: readonly [{
|
|
562
|
-
readonly internalType: "bool";
|
|
563
|
-
readonly name: "state";
|
|
564
|
-
readonly type: "bool";
|
|
565
|
-
}];
|
|
566
|
-
readonly name: "_setTransferPaused";
|
|
567
|
-
readonly outputs: readonly [{
|
|
568
|
-
readonly internalType: "bool";
|
|
569
|
-
readonly name: "";
|
|
570
|
-
readonly type: "bool";
|
|
571
|
-
}];
|
|
572
|
-
readonly stateMutability: "nonpayable";
|
|
573
|
-
readonly type: "function";
|
|
574
|
-
}, {
|
|
575
|
-
readonly inputs: readonly [{
|
|
576
|
-
readonly internalType: "contract CToken";
|
|
577
|
-
readonly name: "cToken";
|
|
578
|
-
readonly type: "address";
|
|
579
|
-
}];
|
|
580
|
-
readonly name: "_supportMarket";
|
|
581
|
-
readonly outputs: readonly [{
|
|
582
|
-
readonly internalType: "uint256";
|
|
583
|
-
readonly name: "";
|
|
584
|
-
readonly type: "uint256";
|
|
585
|
-
}];
|
|
586
|
-
readonly stateMutability: "nonpayable";
|
|
587
|
-
readonly type: "function";
|
|
588
|
-
}, {
|
|
589
|
-
readonly inputs: readonly [{
|
|
590
|
-
readonly internalType: "address";
|
|
591
|
-
readonly name: "";
|
|
592
|
-
readonly type: "address";
|
|
593
|
-
}, {
|
|
594
|
-
readonly internalType: "uint256";
|
|
595
|
-
readonly name: "";
|
|
596
|
-
readonly type: "uint256";
|
|
597
|
-
}];
|
|
598
|
-
readonly name: "accountAssets";
|
|
599
|
-
readonly outputs: readonly [{
|
|
600
|
-
readonly internalType: "contract CToken";
|
|
601
|
-
readonly name: "";
|
|
602
|
-
readonly type: "address";
|
|
603
|
-
}];
|
|
604
|
-
readonly stateMutability: "view";
|
|
605
|
-
readonly type: "function";
|
|
606
|
-
}, {
|
|
607
|
-
readonly inputs: readonly [];
|
|
608
|
-
readonly name: "admin";
|
|
609
|
-
readonly outputs: readonly [{
|
|
610
|
-
readonly internalType: "address";
|
|
611
|
-
readonly name: "";
|
|
612
|
-
readonly type: "address";
|
|
613
|
-
}];
|
|
614
|
-
readonly stateMutability: "view";
|
|
615
|
-
readonly type: "function";
|
|
616
|
-
}, {
|
|
617
|
-
readonly inputs: readonly [{
|
|
618
|
-
readonly internalType: "uint256";
|
|
619
|
-
readonly name: "";
|
|
620
|
-
readonly type: "uint256";
|
|
621
|
-
}];
|
|
622
|
-
readonly name: "allMarkets";
|
|
623
|
-
readonly outputs: readonly [{
|
|
624
|
-
readonly internalType: "contract CToken";
|
|
625
|
-
readonly name: "";
|
|
626
|
-
readonly type: "address";
|
|
627
|
-
}];
|
|
628
|
-
readonly stateMutability: "view";
|
|
629
|
-
readonly type: "function";
|
|
630
|
-
}, {
|
|
631
|
-
readonly inputs: readonly [{
|
|
632
|
-
readonly internalType: "address";
|
|
633
|
-
readonly name: "cToken";
|
|
634
|
-
readonly type: "address";
|
|
635
|
-
}, {
|
|
636
|
-
readonly internalType: "address";
|
|
637
|
-
readonly name: "borrower";
|
|
638
|
-
readonly type: "address";
|
|
639
|
-
}, {
|
|
640
|
-
readonly internalType: "uint256";
|
|
641
|
-
readonly name: "borrowAmount";
|
|
642
|
-
readonly type: "uint256";
|
|
643
|
-
}];
|
|
644
|
-
readonly name: "borrowAllowed";
|
|
645
|
-
readonly outputs: readonly [{
|
|
646
|
-
readonly internalType: "uint256";
|
|
647
|
-
readonly name: "";
|
|
648
|
-
readonly type: "uint256";
|
|
649
|
-
}];
|
|
650
|
-
readonly stateMutability: "nonpayable";
|
|
651
|
-
readonly type: "function";
|
|
652
|
-
}, {
|
|
653
|
-
readonly inputs: readonly [];
|
|
654
|
-
readonly name: "borrowCapGuardian";
|
|
655
|
-
readonly outputs: readonly [{
|
|
656
|
-
readonly internalType: "address";
|
|
657
|
-
readonly name: "";
|
|
658
|
-
readonly type: "address";
|
|
659
|
-
}];
|
|
660
|
-
readonly stateMutability: "view";
|
|
661
|
-
readonly type: "function";
|
|
662
|
-
}, {
|
|
663
|
-
readonly inputs: readonly [{
|
|
664
|
-
readonly internalType: "address";
|
|
665
|
-
readonly name: "";
|
|
666
|
-
readonly type: "address";
|
|
667
|
-
}];
|
|
668
|
-
readonly name: "borrowCaps";
|
|
669
|
-
readonly outputs: readonly [{
|
|
670
|
-
readonly internalType: "uint256";
|
|
671
|
-
readonly name: "";
|
|
672
|
-
readonly type: "uint256";
|
|
673
|
-
}];
|
|
674
|
-
readonly stateMutability: "view";
|
|
675
|
-
readonly type: "function";
|
|
676
|
-
}, {
|
|
677
|
-
readonly inputs: readonly [{
|
|
678
|
-
readonly internalType: "address";
|
|
679
|
-
readonly name: "";
|
|
680
|
-
readonly type: "address";
|
|
681
|
-
}];
|
|
682
|
-
readonly name: "borrowGuardianPaused";
|
|
683
|
-
readonly outputs: readonly [{
|
|
684
|
-
readonly internalType: "bool";
|
|
685
|
-
readonly name: "";
|
|
686
|
-
readonly type: "bool";
|
|
687
|
-
}];
|
|
688
|
-
readonly stateMutability: "view";
|
|
689
|
-
readonly type: "function";
|
|
690
|
-
}, {
|
|
691
|
-
readonly inputs: readonly [{
|
|
692
|
-
readonly internalType: "address";
|
|
693
|
-
readonly name: "cToken";
|
|
694
|
-
readonly type: "address";
|
|
695
|
-
}, {
|
|
696
|
-
readonly internalType: "address";
|
|
697
|
-
readonly name: "borrower";
|
|
698
|
-
readonly type: "address";
|
|
699
|
-
}, {
|
|
700
|
-
readonly internalType: "uint256";
|
|
701
|
-
readonly name: "borrowAmount";
|
|
702
|
-
readonly type: "uint256";
|
|
703
|
-
}];
|
|
704
|
-
readonly name: "borrowVerify";
|
|
705
|
-
readonly outputs: readonly [];
|
|
706
|
-
readonly stateMutability: "nonpayable";
|
|
707
|
-
readonly type: "function";
|
|
708
|
-
}, {
|
|
709
|
-
readonly inputs: readonly [{
|
|
710
|
-
readonly internalType: "address";
|
|
711
|
-
readonly name: "account";
|
|
712
|
-
readonly type: "address";
|
|
713
|
-
}, {
|
|
714
|
-
readonly internalType: "contract CToken";
|
|
715
|
-
readonly name: "cToken";
|
|
716
|
-
readonly type: "address";
|
|
717
|
-
}];
|
|
718
|
-
readonly name: "checkMembership";
|
|
719
|
-
readonly outputs: readonly [{
|
|
720
|
-
readonly internalType: "bool";
|
|
721
|
-
readonly name: "";
|
|
722
|
-
readonly type: "bool";
|
|
723
12
|
}];
|
|
724
13
|
readonly stateMutability: "view";
|
|
725
14
|
readonly type: "function";
|
|
726
|
-
}, {
|
|
727
|
-
readonly inputs: readonly [{
|
|
728
|
-
readonly internalType: "address";
|
|
729
|
-
readonly name: "holder";
|
|
730
|
-
readonly type: "address";
|
|
731
|
-
}, {
|
|
732
|
-
readonly internalType: "contract CToken[]";
|
|
733
|
-
readonly name: "cTokens";
|
|
734
|
-
readonly type: "address[]";
|
|
735
|
-
}];
|
|
736
|
-
readonly name: "claimComp";
|
|
737
|
-
readonly outputs: readonly [];
|
|
738
|
-
readonly stateMutability: "nonpayable";
|
|
739
|
-
readonly type: "function";
|
|
740
|
-
}, {
|
|
741
|
-
readonly inputs: readonly [{
|
|
742
|
-
readonly internalType: "address[]";
|
|
743
|
-
readonly name: "holders";
|
|
744
|
-
readonly type: "address[]";
|
|
745
|
-
}, {
|
|
746
|
-
readonly internalType: "contract CToken[]";
|
|
747
|
-
readonly name: "cTokens";
|
|
748
|
-
readonly type: "address[]";
|
|
749
|
-
}, {
|
|
750
|
-
readonly internalType: "bool";
|
|
751
|
-
readonly name: "borrowers";
|
|
752
|
-
readonly type: "bool";
|
|
753
|
-
}, {
|
|
754
|
-
readonly internalType: "bool";
|
|
755
|
-
readonly name: "suppliers";
|
|
756
|
-
readonly type: "bool";
|
|
757
|
-
}];
|
|
758
|
-
readonly name: "claimComp";
|
|
759
|
-
readonly outputs: readonly [];
|
|
760
|
-
readonly stateMutability: "nonpayable";
|
|
761
|
-
readonly type: "function";
|
|
762
|
-
}, {
|
|
763
|
-
readonly inputs: readonly [{
|
|
764
|
-
readonly internalType: "address";
|
|
765
|
-
readonly name: "holder";
|
|
766
|
-
readonly type: "address";
|
|
767
|
-
}];
|
|
768
|
-
readonly name: "claimComp";
|
|
769
|
-
readonly outputs: readonly [];
|
|
770
|
-
readonly stateMutability: "nonpayable";
|
|
771
|
-
readonly type: "function";
|
|
772
|
-
}, {
|
|
773
|
-
readonly inputs: readonly [];
|
|
774
|
-
readonly name: "closeFactorMantissa";
|
|
775
|
-
readonly outputs: readonly [{
|
|
776
|
-
readonly internalType: "uint256";
|
|
777
|
-
readonly name: "";
|
|
778
|
-
readonly type: "uint256";
|
|
779
|
-
}];
|
|
780
|
-
readonly stateMutability: "view";
|
|
781
|
-
readonly type: "function";
|
|
782
|
-
}, {
|
|
783
|
-
readonly inputs: readonly [{
|
|
784
|
-
readonly internalType: "address";
|
|
785
|
-
readonly name: "";
|
|
786
|
-
readonly type: "address";
|
|
787
|
-
}];
|
|
788
|
-
readonly name: "compAccrued";
|
|
789
|
-
readonly outputs: readonly [{
|
|
790
|
-
readonly internalType: "uint256";
|
|
791
|
-
readonly name: "";
|
|
792
|
-
readonly type: "uint256";
|
|
793
|
-
}];
|
|
794
|
-
readonly stateMutability: "view";
|
|
795
|
-
readonly type: "function";
|
|
796
|
-
}, {
|
|
797
|
-
readonly inputs: readonly [{
|
|
798
|
-
readonly internalType: "address";
|
|
799
|
-
readonly name: "";
|
|
800
|
-
readonly type: "address";
|
|
801
|
-
}];
|
|
802
|
-
readonly name: "compBorrowSpeeds";
|
|
803
|
-
readonly outputs: readonly [{
|
|
804
|
-
readonly internalType: "uint256";
|
|
805
|
-
readonly name: "";
|
|
806
|
-
readonly type: "uint256";
|
|
807
|
-
}];
|
|
808
|
-
readonly stateMutability: "view";
|
|
809
|
-
readonly type: "function";
|
|
810
|
-
}, {
|
|
811
|
-
readonly inputs: readonly [{
|
|
812
|
-
readonly internalType: "address";
|
|
813
|
-
readonly name: "";
|
|
814
|
-
readonly type: "address";
|
|
815
|
-
}];
|
|
816
|
-
readonly name: "compBorrowState";
|
|
817
|
-
readonly outputs: readonly [{
|
|
818
|
-
readonly internalType: "uint224";
|
|
819
|
-
readonly name: "index";
|
|
820
|
-
readonly type: "uint224";
|
|
821
|
-
}, {
|
|
822
|
-
readonly internalType: "uint32";
|
|
823
|
-
readonly name: "block";
|
|
824
|
-
readonly type: "uint32";
|
|
825
|
-
}];
|
|
826
|
-
readonly stateMutability: "view";
|
|
827
|
-
readonly type: "function";
|
|
828
|
-
}, {
|
|
829
|
-
readonly inputs: readonly [{
|
|
830
|
-
readonly internalType: "address";
|
|
831
|
-
readonly name: "";
|
|
832
|
-
readonly type: "address";
|
|
833
|
-
}, {
|
|
834
|
-
readonly internalType: "address";
|
|
835
|
-
readonly name: "";
|
|
836
|
-
readonly type: "address";
|
|
837
|
-
}];
|
|
838
|
-
readonly name: "compBorrowerIndex";
|
|
839
|
-
readonly outputs: readonly [{
|
|
840
|
-
readonly internalType: "uint256";
|
|
841
|
-
readonly name: "";
|
|
842
|
-
readonly type: "uint256";
|
|
843
|
-
}];
|
|
844
|
-
readonly stateMutability: "view";
|
|
845
|
-
readonly type: "function";
|
|
846
|
-
}, {
|
|
847
|
-
readonly inputs: readonly [{
|
|
848
|
-
readonly internalType: "address";
|
|
849
|
-
readonly name: "";
|
|
850
|
-
readonly type: "address";
|
|
851
|
-
}];
|
|
852
|
-
readonly name: "compContributorSpeeds";
|
|
853
|
-
readonly outputs: readonly [{
|
|
854
|
-
readonly internalType: "uint256";
|
|
855
|
-
readonly name: "";
|
|
856
|
-
readonly type: "uint256";
|
|
857
|
-
}];
|
|
858
|
-
readonly stateMutability: "view";
|
|
859
|
-
readonly type: "function";
|
|
860
|
-
}, {
|
|
861
|
-
readonly inputs: readonly [];
|
|
862
|
-
readonly name: "compInitialIndex";
|
|
863
|
-
readonly outputs: readonly [{
|
|
864
|
-
readonly internalType: "uint224";
|
|
865
|
-
readonly name: "";
|
|
866
|
-
readonly type: "uint224";
|
|
867
|
-
}];
|
|
868
|
-
readonly stateMutability: "view";
|
|
869
|
-
readonly type: "function";
|
|
870
|
-
}, {
|
|
871
|
-
readonly inputs: readonly [];
|
|
872
|
-
readonly name: "compRate";
|
|
873
|
-
readonly outputs: readonly [{
|
|
874
|
-
readonly internalType: "uint256";
|
|
875
|
-
readonly name: "";
|
|
876
|
-
readonly type: "uint256";
|
|
877
|
-
}];
|
|
878
|
-
readonly stateMutability: "view";
|
|
879
|
-
readonly type: "function";
|
|
880
|
-
}, {
|
|
881
|
-
readonly inputs: readonly [{
|
|
882
|
-
readonly internalType: "address";
|
|
883
|
-
readonly name: "";
|
|
884
|
-
readonly type: "address";
|
|
885
|
-
}];
|
|
886
|
-
readonly name: "compReceivable";
|
|
887
|
-
readonly outputs: readonly [{
|
|
888
|
-
readonly internalType: "uint256";
|
|
889
|
-
readonly name: "";
|
|
890
|
-
readonly type: "uint256";
|
|
891
|
-
}];
|
|
892
|
-
readonly stateMutability: "view";
|
|
893
|
-
readonly type: "function";
|
|
894
|
-
}, {
|
|
895
|
-
readonly inputs: readonly [{
|
|
896
|
-
readonly internalType: "address";
|
|
897
|
-
readonly name: "";
|
|
898
|
-
readonly type: "address";
|
|
899
|
-
}];
|
|
900
|
-
readonly name: "compSpeeds";
|
|
901
|
-
readonly outputs: readonly [{
|
|
902
|
-
readonly internalType: "uint256";
|
|
903
|
-
readonly name: "";
|
|
904
|
-
readonly type: "uint256";
|
|
905
|
-
}];
|
|
906
|
-
readonly stateMutability: "view";
|
|
907
|
-
readonly type: "function";
|
|
908
|
-
}, {
|
|
909
|
-
readonly inputs: readonly [{
|
|
910
|
-
readonly internalType: "address";
|
|
911
|
-
readonly name: "";
|
|
912
|
-
readonly type: "address";
|
|
913
|
-
}, {
|
|
914
|
-
readonly internalType: "address";
|
|
915
|
-
readonly name: "";
|
|
916
|
-
readonly type: "address";
|
|
917
|
-
}];
|
|
918
|
-
readonly name: "compSupplierIndex";
|
|
919
|
-
readonly outputs: readonly [{
|
|
920
|
-
readonly internalType: "uint256";
|
|
921
|
-
readonly name: "";
|
|
922
|
-
readonly type: "uint256";
|
|
923
|
-
}];
|
|
924
|
-
readonly stateMutability: "view";
|
|
925
|
-
readonly type: "function";
|
|
926
|
-
}, {
|
|
927
|
-
readonly inputs: readonly [{
|
|
928
|
-
readonly internalType: "address";
|
|
929
|
-
readonly name: "";
|
|
930
|
-
readonly type: "address";
|
|
931
|
-
}];
|
|
932
|
-
readonly name: "compSupplySpeeds";
|
|
933
|
-
readonly outputs: readonly [{
|
|
934
|
-
readonly internalType: "uint256";
|
|
935
|
-
readonly name: "";
|
|
936
|
-
readonly type: "uint256";
|
|
937
|
-
}];
|
|
938
|
-
readonly stateMutability: "view";
|
|
939
|
-
readonly type: "function";
|
|
940
|
-
}, {
|
|
941
|
-
readonly inputs: readonly [{
|
|
942
|
-
readonly internalType: "address";
|
|
943
|
-
readonly name: "";
|
|
944
|
-
readonly type: "address";
|
|
945
|
-
}];
|
|
946
|
-
readonly name: "compSupplyState";
|
|
947
|
-
readonly outputs: readonly [{
|
|
948
|
-
readonly internalType: "uint224";
|
|
949
|
-
readonly name: "index";
|
|
950
|
-
readonly type: "uint224";
|
|
951
|
-
}, {
|
|
952
|
-
readonly internalType: "uint32";
|
|
953
|
-
readonly name: "block";
|
|
954
|
-
readonly type: "uint32";
|
|
955
|
-
}];
|
|
956
|
-
readonly stateMutability: "view";
|
|
957
|
-
readonly type: "function";
|
|
958
|
-
}, {
|
|
959
|
-
readonly inputs: readonly [];
|
|
960
|
-
readonly name: "comptrollerImplementation";
|
|
961
|
-
readonly outputs: readonly [{
|
|
962
|
-
readonly internalType: "address";
|
|
963
|
-
readonly name: "";
|
|
964
|
-
readonly type: "address";
|
|
965
|
-
}];
|
|
966
|
-
readonly stateMutability: "view";
|
|
967
|
-
readonly type: "function";
|
|
968
|
-
}, {
|
|
969
|
-
readonly inputs: readonly [{
|
|
970
|
-
readonly internalType: "address[]";
|
|
971
|
-
readonly name: "cTokens";
|
|
972
|
-
readonly type: "address[]";
|
|
973
|
-
}];
|
|
974
|
-
readonly name: "enterMarkets";
|
|
975
|
-
readonly outputs: readonly [{
|
|
976
|
-
readonly internalType: "uint256[]";
|
|
977
|
-
readonly name: "";
|
|
978
|
-
readonly type: "uint256[]";
|
|
979
|
-
}];
|
|
980
|
-
readonly stateMutability: "nonpayable";
|
|
981
|
-
readonly type: "function";
|
|
982
|
-
}, {
|
|
983
|
-
readonly inputs: readonly [{
|
|
984
|
-
readonly internalType: "address";
|
|
985
|
-
readonly name: "cTokenAddress";
|
|
986
|
-
readonly type: "address";
|
|
987
|
-
}];
|
|
988
|
-
readonly name: "exitMarket";
|
|
989
|
-
readonly outputs: readonly [{
|
|
990
|
-
readonly internalType: "uint256";
|
|
991
|
-
readonly name: "";
|
|
992
|
-
readonly type: "uint256";
|
|
993
|
-
}];
|
|
994
|
-
readonly stateMutability: "nonpayable";
|
|
995
|
-
readonly type: "function";
|
|
996
|
-
}, {
|
|
997
|
-
readonly inputs: readonly [{
|
|
998
|
-
readonly internalType: "address[]";
|
|
999
|
-
readonly name: "affectedUsers";
|
|
1000
|
-
readonly type: "address[]";
|
|
1001
|
-
}, {
|
|
1002
|
-
readonly internalType: "uint256[]";
|
|
1003
|
-
readonly name: "amounts";
|
|
1004
|
-
readonly type: "uint256[]";
|
|
1005
|
-
}];
|
|
1006
|
-
readonly name: "fixBadAccruals";
|
|
1007
|
-
readonly outputs: readonly [];
|
|
1008
|
-
readonly stateMutability: "nonpayable";
|
|
1009
|
-
readonly type: "function";
|
|
1010
|
-
}, {
|
|
1011
|
-
readonly inputs: readonly [{
|
|
1012
|
-
readonly internalType: "address";
|
|
1013
|
-
readonly name: "account";
|
|
1014
|
-
readonly type: "address";
|
|
1015
|
-
}];
|
|
1016
|
-
readonly name: "getAccountLiquidity";
|
|
1017
|
-
readonly outputs: readonly [{
|
|
1018
|
-
readonly internalType: "uint256";
|
|
1019
|
-
readonly name: "";
|
|
1020
|
-
readonly type: "uint256";
|
|
1021
|
-
}, {
|
|
1022
|
-
readonly internalType: "uint256";
|
|
1023
|
-
readonly name: "";
|
|
1024
|
-
readonly type: "uint256";
|
|
1025
|
-
}, {
|
|
1026
|
-
readonly internalType: "uint256";
|
|
1027
|
-
readonly name: "";
|
|
1028
|
-
readonly type: "uint256";
|
|
1029
|
-
}];
|
|
1030
|
-
readonly stateMutability: "view";
|
|
1031
|
-
readonly type: "function";
|
|
1032
|
-
}, {
|
|
1033
|
-
readonly inputs: readonly [];
|
|
1034
|
-
readonly name: "getAllMarkets";
|
|
1035
|
-
readonly outputs: readonly [{
|
|
1036
|
-
readonly internalType: "contract CToken[]";
|
|
1037
|
-
readonly name: "";
|
|
1038
|
-
readonly type: "address[]";
|
|
1039
|
-
}];
|
|
1040
|
-
readonly stateMutability: "view";
|
|
1041
|
-
readonly type: "function";
|
|
1042
|
-
}, {
|
|
1043
|
-
readonly inputs: readonly [{
|
|
1044
|
-
readonly internalType: "address";
|
|
1045
|
-
readonly name: "account";
|
|
1046
|
-
readonly type: "address";
|
|
1047
|
-
}];
|
|
1048
|
-
readonly name: "getAssetsIn";
|
|
1049
|
-
readonly outputs: readonly [{
|
|
1050
|
-
readonly internalType: "contract CToken[]";
|
|
1051
|
-
readonly name: "";
|
|
1052
|
-
readonly type: "address[]";
|
|
1053
|
-
}];
|
|
1054
|
-
readonly stateMutability: "view";
|
|
1055
|
-
readonly type: "function";
|
|
1056
|
-
}, {
|
|
1057
|
-
readonly inputs: readonly [];
|
|
1058
|
-
readonly name: "getBlockNumber";
|
|
1059
|
-
readonly outputs: readonly [{
|
|
1060
|
-
readonly internalType: "uint256";
|
|
1061
|
-
readonly name: "";
|
|
1062
|
-
readonly type: "uint256";
|
|
1063
|
-
}];
|
|
1064
|
-
readonly stateMutability: "view";
|
|
1065
|
-
readonly type: "function";
|
|
1066
|
-
}, {
|
|
1067
|
-
readonly inputs: readonly [];
|
|
1068
|
-
readonly name: "getCompAddress";
|
|
1069
|
-
readonly outputs: readonly [{
|
|
1070
|
-
readonly internalType: "address";
|
|
1071
|
-
readonly name: "";
|
|
1072
|
-
readonly type: "address";
|
|
1073
|
-
}];
|
|
1074
|
-
readonly stateMutability: "view";
|
|
1075
|
-
readonly type: "function";
|
|
1076
|
-
}, {
|
|
1077
|
-
readonly inputs: readonly [{
|
|
1078
|
-
readonly internalType: "address";
|
|
1079
|
-
readonly name: "account";
|
|
1080
|
-
readonly type: "address";
|
|
1081
|
-
}, {
|
|
1082
|
-
readonly internalType: "address";
|
|
1083
|
-
readonly name: "cTokenModify";
|
|
1084
|
-
readonly type: "address";
|
|
1085
|
-
}, {
|
|
1086
|
-
readonly internalType: "uint256";
|
|
1087
|
-
readonly name: "redeemTokens";
|
|
1088
|
-
readonly type: "uint256";
|
|
1089
|
-
}, {
|
|
1090
|
-
readonly internalType: "uint256";
|
|
1091
|
-
readonly name: "borrowAmount";
|
|
1092
|
-
readonly type: "uint256";
|
|
1093
|
-
}];
|
|
1094
|
-
readonly name: "getHypotheticalAccountLiquidity";
|
|
1095
|
-
readonly outputs: readonly [{
|
|
1096
|
-
readonly internalType: "uint256";
|
|
1097
|
-
readonly name: "";
|
|
1098
|
-
readonly type: "uint256";
|
|
1099
|
-
}, {
|
|
1100
|
-
readonly internalType: "uint256";
|
|
1101
|
-
readonly name: "";
|
|
1102
|
-
readonly type: "uint256";
|
|
1103
|
-
}, {
|
|
1104
|
-
readonly internalType: "uint256";
|
|
1105
|
-
readonly name: "";
|
|
1106
|
-
readonly type: "uint256";
|
|
1107
|
-
}];
|
|
1108
|
-
readonly stateMutability: "view";
|
|
1109
|
-
readonly type: "function";
|
|
1110
|
-
}, {
|
|
1111
|
-
readonly inputs: readonly [];
|
|
1112
|
-
readonly name: "isComptroller";
|
|
1113
|
-
readonly outputs: readonly [{
|
|
1114
|
-
readonly internalType: "bool";
|
|
1115
|
-
readonly name: "";
|
|
1116
|
-
readonly type: "bool";
|
|
1117
|
-
}];
|
|
1118
|
-
readonly stateMutability: "view";
|
|
1119
|
-
readonly type: "function";
|
|
1120
|
-
}, {
|
|
1121
|
-
readonly inputs: readonly [{
|
|
1122
|
-
readonly internalType: "contract CToken";
|
|
1123
|
-
readonly name: "cToken";
|
|
1124
|
-
readonly type: "address";
|
|
1125
|
-
}];
|
|
1126
|
-
readonly name: "isDeprecated";
|
|
1127
|
-
readonly outputs: readonly [{
|
|
1128
|
-
readonly internalType: "bool";
|
|
1129
|
-
readonly name: "";
|
|
1130
|
-
readonly type: "bool";
|
|
1131
|
-
}];
|
|
1132
|
-
readonly stateMutability: "view";
|
|
1133
|
-
readonly type: "function";
|
|
1134
|
-
}, {
|
|
1135
|
-
readonly inputs: readonly [{
|
|
1136
|
-
readonly internalType: "address";
|
|
1137
|
-
readonly name: "";
|
|
1138
|
-
readonly type: "address";
|
|
1139
|
-
}];
|
|
1140
|
-
readonly name: "lastContributorBlock";
|
|
1141
|
-
readonly outputs: readonly [{
|
|
1142
|
-
readonly internalType: "uint256";
|
|
1143
|
-
readonly name: "";
|
|
1144
|
-
readonly type: "uint256";
|
|
1145
|
-
}];
|
|
1146
|
-
readonly stateMutability: "view";
|
|
1147
|
-
readonly type: "function";
|
|
1148
|
-
}, {
|
|
1149
|
-
readonly inputs: readonly [{
|
|
1150
|
-
readonly internalType: "address";
|
|
1151
|
-
readonly name: "cTokenBorrowed";
|
|
1152
|
-
readonly type: "address";
|
|
1153
|
-
}, {
|
|
1154
|
-
readonly internalType: "address";
|
|
1155
|
-
readonly name: "cTokenCollateral";
|
|
1156
|
-
readonly type: "address";
|
|
1157
|
-
}, {
|
|
1158
|
-
readonly internalType: "address";
|
|
1159
|
-
readonly name: "liquidator";
|
|
1160
|
-
readonly type: "address";
|
|
1161
|
-
}, {
|
|
1162
|
-
readonly internalType: "address";
|
|
1163
|
-
readonly name: "borrower";
|
|
1164
|
-
readonly type: "address";
|
|
1165
|
-
}, {
|
|
1166
|
-
readonly internalType: "uint256";
|
|
1167
|
-
readonly name: "repayAmount";
|
|
1168
|
-
readonly type: "uint256";
|
|
1169
|
-
}];
|
|
1170
|
-
readonly name: "liquidateBorrowAllowed";
|
|
1171
|
-
readonly outputs: readonly [{
|
|
1172
|
-
readonly internalType: "uint256";
|
|
1173
|
-
readonly name: "";
|
|
1174
|
-
readonly type: "uint256";
|
|
1175
|
-
}];
|
|
1176
|
-
readonly stateMutability: "nonpayable";
|
|
1177
|
-
readonly type: "function";
|
|
1178
|
-
}, {
|
|
1179
|
-
readonly inputs: readonly [{
|
|
1180
|
-
readonly internalType: "address";
|
|
1181
|
-
readonly name: "cTokenBorrowed";
|
|
1182
|
-
readonly type: "address";
|
|
1183
|
-
}, {
|
|
1184
|
-
readonly internalType: "address";
|
|
1185
|
-
readonly name: "cTokenCollateral";
|
|
1186
|
-
readonly type: "address";
|
|
1187
|
-
}, {
|
|
1188
|
-
readonly internalType: "address";
|
|
1189
|
-
readonly name: "liquidator";
|
|
1190
|
-
readonly type: "address";
|
|
1191
|
-
}, {
|
|
1192
|
-
readonly internalType: "address";
|
|
1193
|
-
readonly name: "borrower";
|
|
1194
|
-
readonly type: "address";
|
|
1195
|
-
}, {
|
|
1196
|
-
readonly internalType: "uint256";
|
|
1197
|
-
readonly name: "actualRepayAmount";
|
|
1198
|
-
readonly type: "uint256";
|
|
1199
|
-
}, {
|
|
1200
|
-
readonly internalType: "uint256";
|
|
1201
|
-
readonly name: "seizeTokens";
|
|
1202
|
-
readonly type: "uint256";
|
|
1203
|
-
}];
|
|
1204
|
-
readonly name: "liquidateBorrowVerify";
|
|
1205
|
-
readonly outputs: readonly [];
|
|
1206
|
-
readonly stateMutability: "nonpayable";
|
|
1207
|
-
readonly type: "function";
|
|
1208
|
-
}, {
|
|
1209
|
-
readonly inputs: readonly [{
|
|
1210
|
-
readonly internalType: "address";
|
|
1211
|
-
readonly name: "cTokenBorrowed";
|
|
1212
|
-
readonly type: "address";
|
|
1213
|
-
}, {
|
|
1214
|
-
readonly internalType: "address";
|
|
1215
|
-
readonly name: "cTokenCollateral";
|
|
1216
|
-
readonly type: "address";
|
|
1217
|
-
}, {
|
|
1218
|
-
readonly internalType: "uint256";
|
|
1219
|
-
readonly name: "actualRepayAmount";
|
|
1220
|
-
readonly type: "uint256";
|
|
1221
|
-
}];
|
|
1222
|
-
readonly name: "liquidateCalculateSeizeTokens";
|
|
1223
|
-
readonly outputs: readonly [{
|
|
1224
|
-
readonly internalType: "uint256";
|
|
1225
|
-
readonly name: "";
|
|
1226
|
-
readonly type: "uint256";
|
|
1227
|
-
}, {
|
|
1228
|
-
readonly internalType: "uint256";
|
|
1229
|
-
readonly name: "";
|
|
1230
|
-
readonly type: "uint256";
|
|
1231
|
-
}];
|
|
1232
|
-
readonly stateMutability: "view";
|
|
1233
|
-
readonly type: "function";
|
|
1234
|
-
}, {
|
|
1235
|
-
readonly inputs: readonly [];
|
|
1236
|
-
readonly name: "liquidationIncentiveMantissa";
|
|
1237
|
-
readonly outputs: readonly [{
|
|
1238
|
-
readonly internalType: "uint256";
|
|
1239
|
-
readonly name: "";
|
|
1240
|
-
readonly type: "uint256";
|
|
1241
|
-
}];
|
|
1242
|
-
readonly stateMutability: "view";
|
|
1243
|
-
readonly type: "function";
|
|
1244
|
-
}, {
|
|
1245
|
-
readonly inputs: readonly [{
|
|
1246
|
-
readonly internalType: "address";
|
|
1247
|
-
readonly name: "";
|
|
1248
|
-
readonly type: "address";
|
|
1249
|
-
}];
|
|
1250
|
-
readonly name: "markets";
|
|
1251
|
-
readonly outputs: readonly [{
|
|
1252
|
-
readonly internalType: "bool";
|
|
1253
|
-
readonly name: "isListed";
|
|
1254
|
-
readonly type: "bool";
|
|
1255
|
-
}, {
|
|
1256
|
-
readonly internalType: "uint256";
|
|
1257
|
-
readonly name: "collateralFactorMantissa";
|
|
1258
|
-
readonly type: "uint256";
|
|
1259
|
-
}, {
|
|
1260
|
-
readonly internalType: "bool";
|
|
1261
|
-
readonly name: "isComped";
|
|
1262
|
-
readonly type: "bool";
|
|
1263
|
-
}];
|
|
1264
|
-
readonly stateMutability: "view";
|
|
1265
|
-
readonly type: "function";
|
|
1266
|
-
}, {
|
|
1267
|
-
readonly inputs: readonly [];
|
|
1268
|
-
readonly name: "maxAssets";
|
|
1269
|
-
readonly outputs: readonly [{
|
|
1270
|
-
readonly internalType: "uint256";
|
|
1271
|
-
readonly name: "";
|
|
1272
|
-
readonly type: "uint256";
|
|
1273
|
-
}];
|
|
1274
|
-
readonly stateMutability: "view";
|
|
1275
|
-
readonly type: "function";
|
|
1276
|
-
}, {
|
|
1277
|
-
readonly inputs: readonly [{
|
|
1278
|
-
readonly internalType: "address";
|
|
1279
|
-
readonly name: "cToken";
|
|
1280
|
-
readonly type: "address";
|
|
1281
|
-
}, {
|
|
1282
|
-
readonly internalType: "address";
|
|
1283
|
-
readonly name: "minter";
|
|
1284
|
-
readonly type: "address";
|
|
1285
|
-
}, {
|
|
1286
|
-
readonly internalType: "uint256";
|
|
1287
|
-
readonly name: "mintAmount";
|
|
1288
|
-
readonly type: "uint256";
|
|
1289
|
-
}];
|
|
1290
|
-
readonly name: "mintAllowed";
|
|
1291
|
-
readonly outputs: readonly [{
|
|
1292
|
-
readonly internalType: "uint256";
|
|
1293
|
-
readonly name: "";
|
|
1294
|
-
readonly type: "uint256";
|
|
1295
|
-
}];
|
|
1296
|
-
readonly stateMutability: "nonpayable";
|
|
1297
|
-
readonly type: "function";
|
|
1298
|
-
}, {
|
|
1299
|
-
readonly inputs: readonly [{
|
|
1300
|
-
readonly internalType: "address";
|
|
1301
|
-
readonly name: "";
|
|
1302
|
-
readonly type: "address";
|
|
1303
|
-
}];
|
|
1304
|
-
readonly name: "mintGuardianPaused";
|
|
1305
|
-
readonly outputs: readonly [{
|
|
1306
|
-
readonly internalType: "bool";
|
|
1307
|
-
readonly name: "";
|
|
1308
|
-
readonly type: "bool";
|
|
1309
|
-
}];
|
|
1310
|
-
readonly stateMutability: "view";
|
|
1311
|
-
readonly type: "function";
|
|
1312
|
-
}, {
|
|
1313
|
-
readonly inputs: readonly [{
|
|
1314
|
-
readonly internalType: "address";
|
|
1315
|
-
readonly name: "cToken";
|
|
1316
|
-
readonly type: "address";
|
|
1317
|
-
}, {
|
|
1318
|
-
readonly internalType: "address";
|
|
1319
|
-
readonly name: "minter";
|
|
1320
|
-
readonly type: "address";
|
|
1321
|
-
}, {
|
|
1322
|
-
readonly internalType: "uint256";
|
|
1323
|
-
readonly name: "actualMintAmount";
|
|
1324
|
-
readonly type: "uint256";
|
|
1325
|
-
}, {
|
|
1326
|
-
readonly internalType: "uint256";
|
|
1327
|
-
readonly name: "mintTokens";
|
|
1328
|
-
readonly type: "uint256";
|
|
1329
|
-
}];
|
|
1330
|
-
readonly name: "mintVerify";
|
|
1331
|
-
readonly outputs: readonly [];
|
|
1332
|
-
readonly stateMutability: "nonpayable";
|
|
1333
|
-
readonly type: "function";
|
|
1334
|
-
}, {
|
|
1335
|
-
readonly inputs: readonly [];
|
|
1336
|
-
readonly name: "oracle";
|
|
1337
|
-
readonly outputs: readonly [{
|
|
1338
|
-
readonly internalType: "contract PriceOracle";
|
|
1339
|
-
readonly name: "";
|
|
1340
|
-
readonly type: "address";
|
|
1341
|
-
}];
|
|
1342
|
-
readonly stateMutability: "view";
|
|
1343
|
-
readonly type: "function";
|
|
1344
|
-
}, {
|
|
1345
|
-
readonly inputs: readonly [];
|
|
1346
|
-
readonly name: "pauseGuardian";
|
|
1347
|
-
readonly outputs: readonly [{
|
|
1348
|
-
readonly internalType: "address";
|
|
1349
|
-
readonly name: "";
|
|
1350
|
-
readonly type: "address";
|
|
1351
|
-
}];
|
|
1352
|
-
readonly stateMutability: "view";
|
|
1353
|
-
readonly type: "function";
|
|
1354
|
-
}, {
|
|
1355
|
-
readonly inputs: readonly [];
|
|
1356
|
-
readonly name: "pendingAdmin";
|
|
1357
|
-
readonly outputs: readonly [{
|
|
1358
|
-
readonly internalType: "address";
|
|
1359
|
-
readonly name: "";
|
|
1360
|
-
readonly type: "address";
|
|
1361
|
-
}];
|
|
1362
|
-
readonly stateMutability: "view";
|
|
1363
|
-
readonly type: "function";
|
|
1364
|
-
}, {
|
|
1365
|
-
readonly inputs: readonly [];
|
|
1366
|
-
readonly name: "pendingComptrollerImplementation";
|
|
1367
|
-
readonly outputs: readonly [{
|
|
1368
|
-
readonly internalType: "address";
|
|
1369
|
-
readonly name: "";
|
|
1370
|
-
readonly type: "address";
|
|
1371
|
-
}];
|
|
1372
|
-
readonly stateMutability: "view";
|
|
1373
|
-
readonly type: "function";
|
|
1374
|
-
}, {
|
|
1375
|
-
readonly inputs: readonly [];
|
|
1376
|
-
readonly name: "proposal65FixExecuted";
|
|
1377
|
-
readonly outputs: readonly [{
|
|
1378
|
-
readonly internalType: "bool";
|
|
1379
|
-
readonly name: "";
|
|
1380
|
-
readonly type: "bool";
|
|
1381
|
-
}];
|
|
1382
|
-
readonly stateMutability: "view";
|
|
1383
|
-
readonly type: "function";
|
|
1384
|
-
}, {
|
|
1385
|
-
readonly inputs: readonly [{
|
|
1386
|
-
readonly internalType: "address";
|
|
1387
|
-
readonly name: "cToken";
|
|
1388
|
-
readonly type: "address";
|
|
1389
|
-
}, {
|
|
1390
|
-
readonly internalType: "address";
|
|
1391
|
-
readonly name: "redeemer";
|
|
1392
|
-
readonly type: "address";
|
|
1393
|
-
}, {
|
|
1394
|
-
readonly internalType: "uint256";
|
|
1395
|
-
readonly name: "redeemTokens";
|
|
1396
|
-
readonly type: "uint256";
|
|
1397
|
-
}];
|
|
1398
|
-
readonly name: "redeemAllowed";
|
|
1399
|
-
readonly outputs: readonly [{
|
|
1400
|
-
readonly internalType: "uint256";
|
|
1401
|
-
readonly name: "";
|
|
1402
|
-
readonly type: "uint256";
|
|
1403
|
-
}];
|
|
1404
|
-
readonly stateMutability: "nonpayable";
|
|
1405
|
-
readonly type: "function";
|
|
1406
|
-
}, {
|
|
1407
|
-
readonly inputs: readonly [{
|
|
1408
|
-
readonly internalType: "address";
|
|
1409
|
-
readonly name: "cToken";
|
|
1410
|
-
readonly type: "address";
|
|
1411
|
-
}, {
|
|
1412
|
-
readonly internalType: "address";
|
|
1413
|
-
readonly name: "redeemer";
|
|
1414
|
-
readonly type: "address";
|
|
1415
|
-
}, {
|
|
1416
|
-
readonly internalType: "uint256";
|
|
1417
|
-
readonly name: "redeemAmount";
|
|
1418
|
-
readonly type: "uint256";
|
|
1419
|
-
}, {
|
|
1420
|
-
readonly internalType: "uint256";
|
|
1421
|
-
readonly name: "redeemTokens";
|
|
1422
|
-
readonly type: "uint256";
|
|
1423
|
-
}];
|
|
1424
|
-
readonly name: "redeemVerify";
|
|
1425
|
-
readonly outputs: readonly [];
|
|
1426
|
-
readonly stateMutability: "nonpayable";
|
|
1427
|
-
readonly type: "function";
|
|
1428
|
-
}, {
|
|
1429
|
-
readonly inputs: readonly [{
|
|
1430
|
-
readonly internalType: "address";
|
|
1431
|
-
readonly name: "cToken";
|
|
1432
|
-
readonly type: "address";
|
|
1433
|
-
}, {
|
|
1434
|
-
readonly internalType: "address";
|
|
1435
|
-
readonly name: "payer";
|
|
1436
|
-
readonly type: "address";
|
|
1437
|
-
}, {
|
|
1438
|
-
readonly internalType: "address";
|
|
1439
|
-
readonly name: "borrower";
|
|
1440
|
-
readonly type: "address";
|
|
1441
|
-
}, {
|
|
1442
|
-
readonly internalType: "uint256";
|
|
1443
|
-
readonly name: "repayAmount";
|
|
1444
|
-
readonly type: "uint256";
|
|
1445
|
-
}];
|
|
1446
|
-
readonly name: "repayBorrowAllowed";
|
|
1447
|
-
readonly outputs: readonly [{
|
|
1448
|
-
readonly internalType: "uint256";
|
|
1449
|
-
readonly name: "";
|
|
1450
|
-
readonly type: "uint256";
|
|
1451
|
-
}];
|
|
1452
|
-
readonly stateMutability: "nonpayable";
|
|
1453
|
-
readonly type: "function";
|
|
1454
|
-
}, {
|
|
1455
|
-
readonly inputs: readonly [{
|
|
1456
|
-
readonly internalType: "address";
|
|
1457
|
-
readonly name: "cToken";
|
|
1458
|
-
readonly type: "address";
|
|
1459
|
-
}, {
|
|
1460
|
-
readonly internalType: "address";
|
|
1461
|
-
readonly name: "payer";
|
|
1462
|
-
readonly type: "address";
|
|
1463
|
-
}, {
|
|
1464
|
-
readonly internalType: "address";
|
|
1465
|
-
readonly name: "borrower";
|
|
1466
|
-
readonly type: "address";
|
|
1467
|
-
}, {
|
|
1468
|
-
readonly internalType: "uint256";
|
|
1469
|
-
readonly name: "actualRepayAmount";
|
|
1470
|
-
readonly type: "uint256";
|
|
1471
|
-
}, {
|
|
1472
|
-
readonly internalType: "uint256";
|
|
1473
|
-
readonly name: "borrowerIndex";
|
|
1474
|
-
readonly type: "uint256";
|
|
1475
|
-
}];
|
|
1476
|
-
readonly name: "repayBorrowVerify";
|
|
1477
|
-
readonly outputs: readonly [];
|
|
1478
|
-
readonly stateMutability: "nonpayable";
|
|
1479
|
-
readonly type: "function";
|
|
1480
|
-
}, {
|
|
1481
|
-
readonly inputs: readonly [{
|
|
1482
|
-
readonly internalType: "address";
|
|
1483
|
-
readonly name: "cTokenCollateral";
|
|
1484
|
-
readonly type: "address";
|
|
1485
|
-
}, {
|
|
1486
|
-
readonly internalType: "address";
|
|
1487
|
-
readonly name: "cTokenBorrowed";
|
|
1488
|
-
readonly type: "address";
|
|
1489
|
-
}, {
|
|
1490
|
-
readonly internalType: "address";
|
|
1491
|
-
readonly name: "liquidator";
|
|
1492
|
-
readonly type: "address";
|
|
1493
|
-
}, {
|
|
1494
|
-
readonly internalType: "address";
|
|
1495
|
-
readonly name: "borrower";
|
|
1496
|
-
readonly type: "address";
|
|
1497
|
-
}, {
|
|
1498
|
-
readonly internalType: "uint256";
|
|
1499
|
-
readonly name: "seizeTokens";
|
|
1500
|
-
readonly type: "uint256";
|
|
1501
|
-
}];
|
|
1502
|
-
readonly name: "seizeAllowed";
|
|
1503
|
-
readonly outputs: readonly [{
|
|
1504
|
-
readonly internalType: "uint256";
|
|
1505
|
-
readonly name: "";
|
|
1506
|
-
readonly type: "uint256";
|
|
1507
|
-
}];
|
|
1508
|
-
readonly stateMutability: "nonpayable";
|
|
1509
|
-
readonly type: "function";
|
|
1510
|
-
}, {
|
|
1511
|
-
readonly inputs: readonly [];
|
|
1512
|
-
readonly name: "seizeGuardianPaused";
|
|
1513
|
-
readonly outputs: readonly [{
|
|
1514
|
-
readonly internalType: "bool";
|
|
1515
|
-
readonly name: "";
|
|
1516
|
-
readonly type: "bool";
|
|
1517
|
-
}];
|
|
1518
|
-
readonly stateMutability: "view";
|
|
1519
|
-
readonly type: "function";
|
|
1520
|
-
}, {
|
|
1521
|
-
readonly inputs: readonly [{
|
|
1522
|
-
readonly internalType: "address";
|
|
1523
|
-
readonly name: "cTokenCollateral";
|
|
1524
|
-
readonly type: "address";
|
|
1525
|
-
}, {
|
|
1526
|
-
readonly internalType: "address";
|
|
1527
|
-
readonly name: "cTokenBorrowed";
|
|
1528
|
-
readonly type: "address";
|
|
1529
|
-
}, {
|
|
1530
|
-
readonly internalType: "address";
|
|
1531
|
-
readonly name: "liquidator";
|
|
1532
|
-
readonly type: "address";
|
|
1533
|
-
}, {
|
|
1534
|
-
readonly internalType: "address";
|
|
1535
|
-
readonly name: "borrower";
|
|
1536
|
-
readonly type: "address";
|
|
1537
|
-
}, {
|
|
1538
|
-
readonly internalType: "uint256";
|
|
1539
|
-
readonly name: "seizeTokens";
|
|
1540
|
-
readonly type: "uint256";
|
|
1541
|
-
}];
|
|
1542
|
-
readonly name: "seizeVerify";
|
|
1543
|
-
readonly outputs: readonly [];
|
|
1544
|
-
readonly stateMutability: "nonpayable";
|
|
1545
|
-
readonly type: "function";
|
|
1546
|
-
}, {
|
|
1547
|
-
readonly inputs: readonly [{
|
|
1548
|
-
readonly internalType: "address";
|
|
1549
|
-
readonly name: "cToken";
|
|
1550
|
-
readonly type: "address";
|
|
1551
|
-
}, {
|
|
1552
|
-
readonly internalType: "address";
|
|
1553
|
-
readonly name: "src";
|
|
1554
|
-
readonly type: "address";
|
|
1555
|
-
}, {
|
|
1556
|
-
readonly internalType: "address";
|
|
1557
|
-
readonly name: "dst";
|
|
1558
|
-
readonly type: "address";
|
|
1559
|
-
}, {
|
|
1560
|
-
readonly internalType: "uint256";
|
|
1561
|
-
readonly name: "transferTokens";
|
|
1562
|
-
readonly type: "uint256";
|
|
1563
|
-
}];
|
|
1564
|
-
readonly name: "transferAllowed";
|
|
1565
|
-
readonly outputs: readonly [{
|
|
1566
|
-
readonly internalType: "uint256";
|
|
1567
|
-
readonly name: "";
|
|
1568
|
-
readonly type: "uint256";
|
|
1569
|
-
}];
|
|
1570
|
-
readonly stateMutability: "nonpayable";
|
|
1571
|
-
readonly type: "function";
|
|
1572
|
-
}, {
|
|
1573
|
-
readonly inputs: readonly [];
|
|
1574
|
-
readonly name: "transferGuardianPaused";
|
|
1575
|
-
readonly outputs: readonly [{
|
|
1576
|
-
readonly internalType: "bool";
|
|
1577
|
-
readonly name: "";
|
|
1578
|
-
readonly type: "bool";
|
|
1579
|
-
}];
|
|
1580
|
-
readonly stateMutability: "view";
|
|
1581
|
-
readonly type: "function";
|
|
1582
|
-
}, {
|
|
1583
|
-
readonly inputs: readonly [{
|
|
1584
|
-
readonly internalType: "address";
|
|
1585
|
-
readonly name: "cToken";
|
|
1586
|
-
readonly type: "address";
|
|
1587
|
-
}, {
|
|
1588
|
-
readonly internalType: "address";
|
|
1589
|
-
readonly name: "src";
|
|
1590
|
-
readonly type: "address";
|
|
1591
|
-
}, {
|
|
1592
|
-
readonly internalType: "address";
|
|
1593
|
-
readonly name: "dst";
|
|
1594
|
-
readonly type: "address";
|
|
1595
|
-
}, {
|
|
1596
|
-
readonly internalType: "uint256";
|
|
1597
|
-
readonly name: "transferTokens";
|
|
1598
|
-
readonly type: "uint256";
|
|
1599
|
-
}];
|
|
1600
|
-
readonly name: "transferVerify";
|
|
1601
|
-
readonly outputs: readonly [];
|
|
1602
|
-
readonly stateMutability: "nonpayable";
|
|
1603
|
-
readonly type: "function";
|
|
1604
|
-
}, {
|
|
1605
|
-
readonly inputs: readonly [{
|
|
1606
|
-
readonly internalType: "address";
|
|
1607
|
-
readonly name: "contributor";
|
|
1608
|
-
readonly type: "address";
|
|
1609
|
-
}];
|
|
1610
|
-
readonly name: "updateContributorRewards";
|
|
1611
|
-
readonly outputs: readonly [];
|
|
1612
|
-
readonly stateMutability: "nonpayable";
|
|
1613
|
-
readonly type: "function";
|
|
1614
15
|
}];
|
|
1615
16
|
//# sourceMappingURL=Comptroller.d.ts.map
|