Bondtroller V 5 Storage

Methods

_borrowGuardianPaused

function _borrowGuardianPaused() external view returns (bool)

Returns

NameTypeDescription

_0

bool

undefined

_mintGuardianPaused

function _mintGuardianPaused() external view returns (bool)

Returns

NameTypeDescription

_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

NameTypeDescription

_0

address

undefined

_1

uint256

undefined

Returns

NameTypeDescription

_0

contract BToken

undefined

accountMembership

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

Per-market mapping of "accounts in this asset"

Parameters

NameTypeDescription

_0

address

undefined

_1

address

undefined

Returns

NameTypeDescription

_0

bool

undefined

admin

function admin() external view returns (address)

Administrator for this contract

Returns

NameTypeDescription

_0

address

undefined

allMarkets

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

A list of all markets

Parameters

NameTypeDescription

_0

uint256

undefined

Returns

NameTypeDescription

_0

contract BToken

undefined

borrowCapGuardian

function borrowCapGuardian() external view returns (address)

Returns

NameTypeDescription

_0

address

undefined

borrowCaps

function borrowCaps(address) external view returns (uint256)

Parameters

NameTypeDescription

_0

address

undefined

Returns

NameTypeDescription

_0

uint256

undefined

borrowGuardianPaused

function borrowGuardianPaused(address) external view returns (bool)

Parameters

NameTypeDescription

_0

address

undefined

Returns

NameTypeDescription

_0

bool

undefined

closeFactorMantissa

function closeFactorMantissa() external view returns (uint256)

Multiplier used to calculate the maximum repayAmount when liquidating a borrow

Returns

NameTypeDescription

_0

uint256

undefined

compAccrued

function compAccrued(address) external view returns (uint256)

The COMP accrued but not yet transferred to each user

Parameters

NameTypeDescription

_0

address

undefined

Returns

NameTypeDescription

_0

uint256

undefined

compBorrowState

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

The COMP market borrow state for each market

Parameters

NameTypeDescription

_0

address

undefined

Returns

NameTypeDescription

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

NameTypeDescription

_0

address

undefined

_1

address

undefined

Returns

NameTypeDescription

_0

uint256

undefined

compContributorSpeeds

function compContributorSpeeds(address) external view returns (uint256)

The portion of COMP that each contributor receives per block

Parameters

NameTypeDescription

_0

address

undefined

Returns

NameTypeDescription

_0

uint256

undefined

compRate

function compRate() external view returns (uint256)

The rate at which the flywheel distributes COMP, per block

Returns

NameTypeDescription

_0

uint256

undefined

compSpeeds

function compSpeeds(address) external view returns (uint256)

The portion of compRate that each market currently receives

Parameters

NameTypeDescription

_0

address

undefined

Returns

NameTypeDescription

_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

NameTypeDescription

_0

address

undefined

_1

address

undefined

Returns

NameTypeDescription

_0

uint256

undefined

compSupplyState

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

The COMP market supply state for each market

Parameters

NameTypeDescription

_0

address

undefined

Returns

NameTypeDescription

index

uint224

undefined

block

uint32

undefined

isBondtroller

function isBondtroller() external view returns (bool)

watermark that says that this is Bondtroller

Returns

NameTypeDescription

_0

bool

undefined

lastContributorBlock

function lastContributorBlock(address) external view returns (uint256)

Last block at which a contributor's COMP rewards have been allocated

Parameters

NameTypeDescription

_0

address

undefined

Returns

NameTypeDescription

_0

uint256

undefined

liquidationIncentiveMantissa

function liquidationIncentiveMantissa() external view returns (uint256)

Multiplier representing the discount on collateral that a liquidator receives

Returns

NameTypeDescription

_0

uint256

undefined

markets

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

Official mapping of BTokens -> Market metadata

Parameters

NameTypeDescription

_0

address

undefined

Returns

NameTypeDescription

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

NameTypeDescription

_0

uint256

undefined

mintGuardianPaused

function mintGuardianPaused(address) external view returns (bool)

Parameters

NameTypeDescription

_0

address

undefined

Returns

NameTypeDescription

_0

bool

undefined

oracle

function oracle() external view returns (address)

Oracle which gives the price of any given asset

Returns

NameTypeDescription

_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

NameTypeDescription

_0

address

undefined

seizeGuardianPaused

function seizeGuardianPaused() external view returns (bool)

Returns

NameTypeDescription

_0

bool

undefined

transferGuardianPaused

function transferGuardianPaused() external view returns (bool)

Returns

NameTypeDescription

_0

bool

undefined

Last updated