Gas Optimizations #18
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
G (Gas Optimization)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
No need to use safeMath, also tou could do an unchecked operation
https://github.com/pooltogether/aave-v3-yield-source/blob/e63d1b0e396a5bce89f093630c282ca1c6627e44/contracts/AaveV3YieldSource.sol#L262-L263
Consider change it to;
Or:
Also since _beforeBalance is always equal or less than _afterBalance we could do;
The text was updated successfully, but these errors were encountered: