CErc20
Functions
mint
function mint(
uint256 amount
) external returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
amount | uint256 |
underlying
function underlying() external returns (address)
ERC20CompoundPCVDeposit
Functions
constructor
function constructor(
address _core,
address _cToken
) public
Compound ERC20 PCV Deposit constructor
Parameters
Name | Type | Description |
---|---|---|
_core | address | Fei Core for reference |
_cToken | address | Compound cToken to deposit |
deposit
function deposit() external
deposit ERC-20 tokens to Compound
_transferUnderlying
function _transferUnderlying(
address to,
uint256 amount
) internal
Parameters
Name | Type | Description |
---|---|---|
to | address | |
amount | uint256 |
balanceReportedIn
function balanceReportedIn() public returns (address)
display the related token of the balance reported