Platform: Code4rena
Start Date: 28/04/2022
Pot Size: $50,000 USDC
Total HM: 7
Participants: 43
Period: 5 days
Judge: gzeon
Total Solo HM: 2
Id: 115
League: ETH
Rank: 43/43
Findings: 1
Award: $51.04
🌟 Selected for report: 0
🚀 Solo Findings: 0
51.0404 USDC - $51.04
Details: Apply the following changes to avoid using && and improve gas usage:
Change L35 of ABDKMath64x64.sol to
require(x >= -0x8000000000000000); require(x <= 0x7FFFFFFFFFFFFFFF);
Change L83, L107, L120, L133, L207, L288 and L413 of ABDKMath64x64.sol to
require(result >= MIN_64x64); require(result <= MAX_64x64);
Change L147-L150 of ABDKMath64x64.sol to
require(y >= -0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF); require(y <= 0x1000000000000000000000000000000000000000000000000);