V2 Fringe Finance Smart Contract Documentation
  • bToken
    • BErc20
    • BErc20Interface
    • BErc20Storage
    • BLendingToken
    • BToken
    • BTokenInterface
    • BTokenStorage
  • bondtroller
    • Bondtroller
    • BondtrollerV1Storage
    • BondtrollerV2Storage
    • BondtrollerV3Storage
    • BondtrollerV4Storage
    • BondtrollerV5Storage
  • interestRateModel
    • BaseJumpRateModelV2
    • InterestRateModel
    • JumpRateModelV3
  • interfaces
    • EIP20Interface
    • EIP20NonStandardInterface
    • IBErc20Token
    • IBLendingToken
    • IBPrimaryLendingPlatform
    • IComptroller
    • IPRJ
    • IPriceOracle
    • IPriceProviderAggregator
    • IPrimaryLendingPlatform
    • IPrimaryLendingPlatformLeverage
    • IPrimaryLendingPlatformLiquidation
    • ISimplePriceOracle
    • IUSDCTest
    • IWETH
    • IWstETH
  • mock
    • MockToken
    • MockWstETH
    • PRJ
    • WETH9
  • priceOracle
    • PriceOracle
    • PriceProviderAggregator
    • PriceProviderAggregatorPyth
    • priceproviders
      • ChainlinkPriceProvider
      • ChainlinkPriceProviderL2
      • ERC4626PriceProvider
      • LPPriceProvider
      • MutePriceProvider
      • PriceProvider
      • PythPriceProvider
      • UniswapV2PriceProvider
      • UniswapV2PriceProviderMock
      • UniswapV3PriceProvider
      • wstETHPriceProvider
      • wstETHPriceProviderL2
      • chainlink
        • AggregatorV3Interface
      • mute
        • IMuteSwitchPairDynamic
      • pyth
        • IPyth
        • PythStructs
      • uniswapV2
        • IUniswapV2Factory
        • IUniswapV2Pair
        • IUniswapV2Router02
        • SafeMath
        • UniswapV2Library
      • uniswapV3
        • v3-core
          • interfaces
            • IERC20Minimal
            • IUniswapV3Factory
            • IUniswapV3Pool
            • IUniswapV3PoolDeployer
            • pool
              • IUniswapV3PoolActions
              • IUniswapV3PoolDerivedState
              • IUniswapV3PoolEvents
              • IUniswapV3PoolImmutables
              • IUniswapV3PoolOwnerActions
              • IUniswapV3PoolState
          • libraries
            • TickMath
        • v3-periphery
          • libraries
            • OracleLibrary
  • primaryLendingPlatform
    • PrimaryLendingPlatformAtomicRepaymentCore
    • PrimaryLendingPlatformLeverageCore
    • PrimaryLendingPlatformLiquidationCore
    • PrimaryLendingPlatformModerator
    • PrimaryLendingPlatformProxyAdmin
    • PrimaryLendingPlatformV2Core
    • PrimaryLendingPlatformWrappedTokenGatewayCore
    • zksync
      • PrimaryLendingPlatformAtomicRepaymentZksync
      • PrimaryLendingPlatformLeverageZksync
      • PrimaryLendingPlatformLiquidationZksync
      • PrimaryLendingPlatformV2Zksync
      • PrimaryLendingPlatformWrappedTokenGatewayZksync
  • util
    • Asset
    • BondtrollerErrorReporter
    • CarefulMath
    • Errors
    • Exponential
    • ExponentialNoError
    • HomoraMath
    • TokenErrorReporter
  • paraswap
    • interfaces
      • IParaSwapAugustus
      • IParaSwapAugustusRegistry
Powered by GitBook
On this page
  • Overview
  • Structs info
  • Market
  • State variables info
  • accountMembership (0x9ace3ada)
  • markets (0x8e8f294b)
  • pauseGuardian (0x24a3d622)
  • _mintGuardianPaused (0x3c94786f)
  • _borrowGuardianPaused (0xe6653f3d)
  • transferGuardianPaused (0x87f76303)
  • seizeGuardianPaused (0xac0b0bb7)
  • mintGuardianPaused (0x731f0c2b)
  • borrowGuardianPaused (0x6d154ea5)
  1. bondtroller

BondtrollerV2Storage

Overview

License: MIT

contract BondtrollerV2Storage is BondtrollerV1Storage

Structs info

Market

struct Market {
	bool isListed;
	uint256 collateralFactorMantissa;
	bool isComped;
}

State variables info

accountMembership (0x9ace3ada)

mapping(address => mapping(address => bool)) accountMembership

Per-market mapping of "accounts in this asset"

markets (0x8e8f294b)

mapping(address => struct BondtrollerV2Storage.Market) markets

Official mapping of BTokens -> Market metadata

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

pauseGuardian (0x24a3d622)

address 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.

_mintGuardianPaused (0x3c94786f)

bool _mintGuardianPaused

_borrowGuardianPaused (0xe6653f3d)

bool _borrowGuardianPaused

transferGuardianPaused (0x87f76303)

bool transferGuardianPaused

seizeGuardianPaused (0xac0b0bb7)

bool seizeGuardianPaused

mintGuardianPaused (0x731f0c2b)

mapping(address => bool) mintGuardianPaused

borrowGuardianPaused (0x6d154ea5)

mapping(address => bool) borrowGuardianPaused
PreviousBondtrollerV1StorageNextBondtrollerV3Storage

Last updated 7 months ago