Omniscia Steer Protocol Audit

Compilation

Compilation

The project utilizes hardhat as its development pipeline tool, containing an array of tests and scripts coded in TypeScript.

To compile the project, the compile command needs to be issued via the npx CLI tool to hardhat:

npx hardhat compile

The hardhat tool automatically selects a Solidity version that is either 0.8.12 or 0.8.18 based on the versions specified within the hardhat.config.ts file.

The project contains discrepancies with regards to the Solidity version used as the pragma statements of the contracts are open-ended (^0.8.0).

We advise these contracts to be locked to the version they are expected to be compiled in. We considered this version to be 0.8.18, the same version utilized for our static analysis as well as optimizational review of the codebase.

During compilation with the hardhat pipeline, no errors were identified that relate to the syntax or bytecode size of the contracts.