Bondtroller V 2 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 |
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 |
isBondtroller
watermark that says that this is Bondtroller
Returns
Name | Type | Description |
---|---|---|
_0 | bool | 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
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
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