withdraw
Last updated
This function is called when the user wishes to withdraw their previously supplied asset. User redeems their aTokens for the underlying asset.
User gives aDAI, withdraws DAI
executeWithdraw
contains the core logics of the withdraw function
We will breakdown and examine the unique sections of logics within withdraw. Code delineated in orange are common functions and can be explored in that section.