Bondtroller V 5 Storage
Methods
_borrowGuardianPaused
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
_mintGuardianPaused
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
accountAssets
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
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
Administrator for this contract
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
allMarkets
A list of all markets
Parameters
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | contract BToken | undefined |
borrowCapGuardian
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
borrowCaps
Parameters
Name | Type | Description |
---|---|---|
_0 | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
borrowGuardianPaused
Parameters
Name | Type | Description |
---|---|---|
_0 | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
closeFactorMantissa
Multiplier used to calculate the maximum repayAmount when liquidating a borrow
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
compAccrued
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
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
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 |
compContributorSpeeds
The portion of COMP that each contributor receives per block
Parameters
Name | Type | Description |
---|---|---|
_0 | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
compRate
The rate at which the flywheel distributes COMP, per block
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
compSpeeds
The portion of compRate that each market currently receives
Parameters
Name | Type | Description |
---|---|---|
_0 | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
compSupplierIndex
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
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
watermark that says that this is Bondtroller
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
lastContributorBlock
Last block at which a contributor's COMP rewards have been allocated
Parameters
Name | Type | Description |
---|---|---|
_0 | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
liquidationIncentiveMantissa
Multiplier representing the discount on collateral that a liquidator receives
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
markets
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
Max number of assets a single account can participate in (borrow or use as collateral)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
mintGuardianPaused
Parameters
Name | Type | Description |
---|---|---|
_0 | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
oracle
Oracle which gives the price of any given asset
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
pauseGuardian
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
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
transferGuardianPaused
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
Last updated