codeislight
codeislight
i was wondering in _transfer whether the bypass of updating the allowed.amount when approved amount is 2**160-1 is intended to save on gas, as i have tried to test in...
- moving memory variables out of loop - using BLOCK_TIMESTAMP_EXPIRATION in updateAmountAndExpiration - using unchecked in loops - using delete storage instead of resetting value to 0 - using >...
**Brief:** I was reviewing the contract, i noticed that there are couple of gas optimizations that are worth implementing: - functions are not utilizing the return variable area - unchecked...
MutliCall allows aave v3 users to perform multiple calls to Pool functions in a single transaction, thus saving on base gas fees. So it would make it easier for users...
the use of BLOCK_TIMESTAMP_EXPIRATION variable to improve on readability and adding unchecked blocks on for loops to save on ++i extra overflow checking.
move all the assembly calldata related code to Calldata library