Skip to main content

CErc20

Functions

mint

function mint(
uint256 amount
) external returns (uint256)

Parameters

NameTypeDescription
amountuint256

underlying

function underlying() external returns (address)

ERC20CompoundPCVDeposit

Functions

constructor

function constructor(
address _core,
address _cToken
) public

Compound ERC20 PCV Deposit constructor

Parameters

NameTypeDescription
_coreaddressFei Core for reference
_cTokenaddressCompound cToken to deposit

deposit

function deposit() external

deposit ERC-20 tokens to Compound

_transferUnderlying

function _transferUnderlying(
address to,
uint256 amount
) internal

Parameters

NameTypeDescription
toaddress
amountuint256

balanceReportedIn

function balanceReportedIn() public returns (address)

display the related token of the balance reported