code-423n4 / 2023-09-ondo-findings

7 stars 5 forks source link

Gas Optimizations #504

Open c4-submissions opened 1 year ago

c4-submissions commented 1 year ago

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

c4-pre-sort commented 1 year ago

raymondfam marked the issue as sufficient quality report

c4-judge commented 1 year ago

kirk-baird marked the issue as grade-a

c3phas commented 1 year ago

G-7: Multiplication/division by two should use bit shifting -- values are dynamic here, we can't be sure it's two G-11: Avoid contract existence checks by using low level calls - Invalid (we are already using version >0.8.10) G-16: Should use arguments instead of state variables -- OOS G-18 : With assembly, call can be optimized - OOS

c4-judge commented 1 year ago

kirk-baird marked the issue as grade-b