Bondtroller V 4 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

allMarkets

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

A list of all markets

Parameters

Name
Type
Description

_0

uint256

undefined

Returns

Name
Type
Description

_0

contract BToken

undefined

borrowCapGuardian

function borrowCapGuardian() external view returns (address)

Returns

Name
Type
Description

_0

address

undefined

borrowCaps

function borrowCaps(address) external view returns (uint256)

Parameters

Name
Type
Description

_0

address

undefined

Returns

Name
Type
Description

_0

uint256

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

compAccrued

function compAccrued(address) external view returns (uint256)

The COMP accrued but not yet transferred to each user

Parameters

Name
Type
Description

_0

address

undefined

Returns

Name
Type
Description

_0

uint256

undefined

compBorrowState

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

The COMP market borrow state for each market

Parameters

Name
Type
Description

_0

address

undefined

Returns

Name
Type
Description

index

uint224

undefined

block

uint32

undefined

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

Name
Type
Description

_0

address

undefined

_1

address

undefined

Returns

Name
Type
Description

_0

uint256

undefined

compRate

function compRate() external view returns (uint256)

The rate at which the flywheel distributes COMP, per block

Returns

Name
Type
Description

_0

uint256

undefined

compSpeeds

function compSpeeds(address) external view returns (uint256)

The portion of compRate that each market currently receives

Parameters

Name
Type
Description

_0

address

undefined

Returns

Name
Type
Description

_0

uint256

undefined

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

Name
Type
Description

_0

address

undefined

_1

address

undefined

Returns

Name
Type
Description

_0

uint256

undefined

compSupplyState

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

The COMP market supply state for each market

Parameters

Name
Type
Description

_0

address

undefined

Returns

Name
Type
Description

index

uint224

undefined

block

uint32

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

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