CEther
Functions
mint
function mint() external
EthCompoundPCVDeposit
Functions
constructor
function constructor(
address _core,
address _cToken
) public
Compound ETH PCV Deposit constructor
Parameters
Name | Type | Description |
---|---|---|
_core | address | Fei Core for reference |
_cToken | address | Compound cToken to deposit |
receive
function receive() external
deposit
function deposit() external
deposit ETH 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