40,000 USDC
View results
Submission Details
Severity: gas

Use `assembly` to compute `keccack256` hash

Summary

Computing keccack256 hash using assembly is gas-efficient

There are 2 instances of this issue:

File: src/EscrowFactory.sol
70: keccak256(
71: abi.encodePacked(
72: bytes1(0xff),
73: deployer,
74: salt,
75: keccak256(
76: abi.encodePacked(
77: byteCode, abi.encode(price, tokenContract, buyer, seller, arbiter, arbiterFee)
78: )
79: )
80: )
81: )

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.