Omniscia SaucerSwap Audit

Oracle Code Style Findings

Oracle Code Style Findings

OEL-01C: Repetitive Value Literal

TypeSeverityLocation
Code StyleOracle.sol:L138, L139

Description:

The linked value literal is repeated across the codebase multiple times.

Example:

contracts/libraries/Oracle.sol
138uint256 aAdjusted = a > time ? a : a + 2 ** 32;

Recommendation:

We advise it to be set to a constant variable instead optimizing the legibility of the codebase.

Alleviation (3248d1d2fdfa6e1e270ff27db8eefb13dcb55c40):

The SaucerSwap team evaluated this exhibit and opted to acknowledge it.