code-423n4 / 2022-12-tigris-findings

8 stars 4 forks source link

Gas Optimizations #538

Closed code423n4 closed 1 year ago

code423n4 commented 1 year ago

See the markdown file with the details of this report here.

GalloDaSballo commented 1 year ago

[G-01] Avoid contract existence checks by using solidity version 0.8.10 or later

100 each

200

[G-02] Packing and storing state variables

Roughly 2k (one less Cold Sload)

contracts/TradingExtension.sol:

4k gas (2 less Cold Sload)

Rest is minor

6200

c4-sponsor commented 1 year ago

GainsGoblin marked the issue as sponsor confirmed

c4-judge commented 1 year ago

GalloDaSballo marked the issue as grade-c