Omniscia Glimpse 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 hardhat
CLI tool invoked via npx
:
npx hardhat compile
The hardhat
tool automatically selects Solidity version 0.8.0
according to the hardhat.config.js
file configuration.
The contracts of the project are declared with an open-ended pragma
declaration (^0.8.0
); we strongly recommend them to be explicitly locked at 0.8.0
, the same version utilized for our static analysis as well as optimizational review of the codebase and the version specified by the Hardhat configuration.
During compilation with the hardhat
pipeline, a fatal error was shown for the Ethereum version of the token whereby the locker
member of the contract as well as ILocker
interface is not defined in the codebase. We strongly urge the development team of Glimpse to render the token feature-complete by implementing the functionality of this feature.