BErc20

Overview

License: MIT

abstract contract BErc20 is BToken, BErc20Interface

Author: Compound CTokens which wrap an EIP-20 underlying

Functions info

initialize (0x1a31d465)

function initialize(
    address underlying_,
    Bondtroller comptroller_,
    InterestRateModel interestRateModel_,
    uint256 initialExchangeRateMantissa_,
    string memory name_,
    string memory symbol_,
    uint8 decimals_
) public

Initializes the new money market.

Parameters:

sweepToken (0x1be19560)

function sweepToken(EIP20NonStandardInterface token) external override

A public function to sweep accidental ERC-20 transfers to this contract. Tokens are sent to admin (timelock).

Parameters:

_addReserves (0x3e941010)

function _addReserves(uint256 addAmount) external override returns (uint256)

The sender adds to reserves.

Parameters:

Return values:

Last updated