compound-protocol
compound-protocol copied to clipboard
use unchecked math in Comp token refresh
I noticed Comp token got a refresh and uses ^0.8.0 solidity. This will automatically do 'safemath' checks, which cost more gas. Since Comp token was already doing unchecked math in many cases, it makes sense to wrap these statements. For example this cannot underflow.