code-423n4 / 2022-06-putty-findings

5 stars 0 forks source link

QA Report #317

Open code423n4 opened 2 years ago

code423n4 commented 2 years ago

1. Use local variable for expression re-used multiple times

// recommendation example 
uint tempOrderHash = uint256(orderHash)

2. 10_000 days can be saved in a constant varible

3. Use bytes.concat instead of `abi.encodePacked

4. No method to rescue stucked tokens

5 .Unused imported library