Omniscia Tokemak 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 Solidity version 0.6.11
based on the version specified within the hardhat.config.ts
file and the pragma
versions specified in the subset of contracts in scope of the audit.
The project contains discrepancies with regards to the Solidity version used as the BaseController
contract's pragma
statement is open-ended (>=0.6.11 <=0.6.12
).
We advise the pragma
statement to be locked to 0.6.11
(=0.6.11
), 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.