Omniscia Parabola Finance Audit
Compilation
Compilation
The project utilizes hardhat
as its development pipeline tool, containing an array of tests and scripts coded in JavaScript.
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.12
based on the version specified within the hardhat.config.js
file.
The project contains discrepancies with regards to the Solidity version used, however, they are solely contained in dependencies and can be safely ignored.
The pragma
statements are locked to 0.6.12
, the same version utilized for our static analysis as well as optimizational review of the codebase.
Initial compilation attempts on the codebase failed due to the absence of the OwnerPausable
contract that was mandated by certain contracts.
To alleviate this, we identified the dependency as being a contract from the original Saddle Finance codebase and thus ported the contract to the codebase on this commit hash.
During compilation with the hardhat
pipeline after the fixes, no errors were identified that relate to the syntax or bytecode size of the contracts.