Bondtroller V 4 Storage

Methods

_borrowGuardianPaused

function _borrowGuardianPaused() external view returns (bool)

Returns

_mintGuardianPaused

function _mintGuardianPaused() external view returns (bool)

Returns

accountAssets

function accountAssets(address, uint256) external view returns (contract BToken)

Per-account mapping of "assets you are in", capped by maxAssets

Parameters

Returns

accountMembership

function accountMembership(address, address) external view returns (bool)

Per-market mapping of "accounts in this asset"

Parameters

Returns

admin

function admin() external view returns (address)

Administrator for this contract

Returns

allMarkets

function allMarkets(uint256) external view returns (contract BToken)

A list of all markets

Parameters

Returns

borrowCapGuardian

function borrowCapGuardian() external view returns (address)

Returns

borrowCaps

function borrowCaps(address) external view returns (uint256)

Parameters

Returns

borrowGuardianPaused

function borrowGuardianPaused(address) external view returns (bool)

Parameters

Returns

closeFactorMantissa

function closeFactorMantissa() external view returns (uint256)

Multiplier used to calculate the maximum repayAmount when liquidating a borrow

Returns

compAccrued

function compAccrued(address) external view returns (uint256)

The COMP accrued but not yet transferred to each user

Parameters

Returns

compBorrowState

function compBorrowState(address) external view returns (uint224 index, uint32 block)

The COMP market borrow state for each market

Parameters

Returns

compBorrowerIndex

function compBorrowerIndex(address, address) external view returns (uint256)

The COMP borrow index for each market for each borrower as of the last time they accrued COMP

Parameters

Returns

compRate

function compRate() external view returns (uint256)

The rate at which the flywheel distributes COMP, per block

Returns

compSpeeds

function compSpeeds(address) external view returns (uint256)

The portion of compRate that each market currently receives

Parameters

Returns

compSupplierIndex

function compSupplierIndex(address, address) external view returns (uint256)

The COMP borrow index for each market for each supplier as of the last time they accrued COMP

Parameters

Returns

compSupplyState

function compSupplyState(address) external view returns (uint224 index, uint32 block)

The COMP market supply state for each market

Parameters

Returns

isBondtroller

function isBondtroller() external view returns (bool)

watermark that says that this is Bondtroller

Returns

liquidationIncentiveMantissa

function liquidationIncentiveMantissa() external view returns (uint256)

Multiplier representing the discount on collateral that a liquidator receives

Returns

markets

function markets(address) external view returns (bool isListed, uint256 collateralFactorMantissa, bool isComped)

Official mapping of BTokens -> Market metadata

Parameters

Returns

maxAssets

function maxAssets() external view returns (uint256)

Max number of assets a single account can participate in (borrow or use as collateral)

Returns

mintGuardianPaused

function mintGuardianPaused(address) external view returns (bool)

Parameters

Returns

oracle

function oracle() external view returns (address)

Oracle which gives the price of any given asset

Returns

pauseGuardian

function pauseGuardian() external view returns (address)

The Pause Guardian can pause certain actions as a safety mechanism. Actions which allow users to remove their own assets cannot be paused. Liquidation / seizing / transfer can only be paused globally, not by market.

Returns

seizeGuardianPaused

function seizeGuardianPaused() external view returns (bool)

Returns

transferGuardianPaused

function transferGuardianPaused() external view returns (bool)

Returns

Last updated