validateWithdraw
Last updated
Last updated
This function confirms user has sufficient balance meeting withdrawal requirements, and ensures the status of asset:
isActive
notPaused
ensures that withdrawal amount is: , else revert
checks status flags of asset
To better understand getFlags, see: getFlags