<uint256 borrows, uint256 interestIndex>
that describes the interest rate index and the borrowing balance when the account was last updated. The current interest rate index of the money market is also stored globally.function
mint() payable
cToken.operatorSend(minter,market,amount,0x0,0x1)
cToken.mint(market,amount,minter,"")
cToken.operatorSend(minter,market,amount,0x0,0x1)
function
redeem(uint256 ftokens)
function
redeem(uint256 ftokens)
function
redeem(uint256 ftokens, address receiver)
function
redeem(uint256 ftokens)
function
borrow(uint256 ctokens)
function
redeem(uint256 ftokens)
function
borrow(uint256 ctokens, address receiver)
function
borrow(uint256 ctokens)
function
repay() payable
cToken.operatorSend(borrower,market,amount,0x0,0x0)
cToken.mint(market,amount,borrower, "")
cToken.operatorSend(borrower,market,amount,0x0,0x0)
function
liquidate(address borrower) external
sender
will receive the borrower
collateral ftoken assets