ATokenYieldSource save gas with pre-approval #93
Labels
ATokenYieldSource
bug
Something isn't working
G (Gas Optimization)
IdleYieldSource
sponsor confirmed
Handle
cmichel
Vulnerability details
ATokenYieldSource
should approve the lending contract once during initialization with the max value.This saves gas on every
supplyTokenTo/_depositToAave
call as the approval can be removed from there.The text was updated successfully, but these errors were encountered: