Since the function getPoolId
is used in multiple locations within the code, it is better to optimize the function in terms of gas cost. For performing the keccak256
hash operation, it is more efficient to use inline assembly. This approach saves nearly ~150 gas.
Remix
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.