Bondtroller V 2 Storage

Methods

_borrowGuardianPaused

function _borrowGuardianPaused() external view returns (bool)

Returns

Name
Type
Description

_0

bool

undefined

_mintGuardianPaused

function _mintGuardianPaused() external view returns (bool)

Returns

Name
Type
Description

_0

bool

undefined

accountAssets

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

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

Parameters

Name
Type
Description

_0

address

undefined

_1

uint256

undefined

Returns

Name
Type
Description

_0

contract BToken

undefined

accountMembership

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

Per-market mapping of "accounts in this asset"

Parameters

Name
Type
Description

_0

address

undefined

_1

address

undefined

Returns

Name
Type
Description

_0

bool

undefined

admin

function admin() external view returns (address)

Administrator for this contract

Returns

Name
Type
Description

_0

address

undefined

borrowGuardianPaused

function borrowGuardianPaused(address) external view returns (bool)

Parameters

Name
Type
Description

_0

address

undefined

Returns

Name
Type
Description

_0

bool

undefined

closeFactorMantissa

function closeFactorMantissa() external view returns (uint256)

Multiplier used to calculate the maximum repayAmount when liquidating a borrow

Returns

Name
Type
Description

_0

uint256

undefined

isBondtroller

function isBondtroller() external view returns (bool)

watermark that says that this is Bondtroller

Returns

Name
Type
Description

_0

bool

undefined

liquidationIncentiveMantissa

function liquidationIncentiveMantissa() external view returns (uint256)

Multiplier representing the discount on collateral that a liquidator receives

Returns

Name
Type
Description

_0

uint256

undefined

markets

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

Official mapping of BTokens -> Market metadata

Used e.g. to determine if a market is supported

Parameters

Name
Type
Description

_0

address

undefined

Returns

Name
Type
Description

isListed

bool

undefined

collateralFactorMantissa

uint256

undefined

isComped

bool

undefined

maxAssets

function maxAssets() external view returns (uint256)

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

Returns

Name
Type
Description

_0

uint256

undefined

mintGuardianPaused

function mintGuardianPaused(address) external view returns (bool)

Parameters

Name
Type
Description

_0

address

undefined

Returns

Name
Type
Description

_0

bool

undefined

oracle

function oracle() external view returns (address)

Oracle which gives the price of any given asset

Returns

Name
Type
Description

_0

address

undefined

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

Name
Type
Description

_0

address

undefined

seizeGuardianPaused

function seizeGuardianPaused() external view returns (bool)

Returns

Name
Type
Description

_0

bool

undefined

transferGuardianPaused

function transferGuardianPaused() external view returns (bool)

Returns

Name
Type
Description

_0

bool

undefined

Last updated