Next calls required of 2 pre-call operations included in block.
The yToken contract expects that underlying token info of tokenId is updated by calling PriceFeed.getPrice and updateInterest in the same block for next contract methods
exitMarket
Indicates contract that user is no longer want to use as collateral token, underlying under tokenId.
User could borrow some tokens from protocol. To do it, call borrow with tokenId of yToken token, related to borrow token market and amount of token you want to borrow.
When user come back with tokens to return debt, he should call, repay entrypoint with amount of token to return and tokenId of related to market yToken token.
The liquidation process occurs when another user repays part of the outstanding amount of the borrower and thus purchases his collateral at a discount. To do this, user call liquidate method. For more info about liquidations work go to Liquidation page. Params of call and usage described in related section.