code-423n4 / 2022-07-swivel-findings

0 stars 1 forks source link

Gas Optimizations #130

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

VaultTracker.sol, line 21 it should be consider to use following declaration order to pack uint8 and first address in the same slot

uint8 public immutable protocol; address public immutable admin; address public immutable cTokenAddr; address public immutable swivel; uint256 public immutable maturity; uint256 public maturityRate;

JeeberC4 commented 2 years ago

Warden submitted multiple Gas Optimizations. Will not be judged.