- FreeFund.sol
- GenesisNFTLock.sol
- GenesisNFTmirror.sol
- InvestmentFund.sol
- StakingGenesisNFT.sol
- StakingWlth.sol
- Wlth.sol
- GenesisNFTVesting.sol
- SimpleVesting.sol
- StakingGenesisNFTVesting.sol
- WhitelistedVesting.sol
This repository contains Common Wealth platform smart contracts, testing and deployment scripts. It includes actual smart contract description along with actual deployment addresses. Based on Hardhat development environment, backed by slither, linter, prettier tooling. It is recommended to use yarn for executing commands due to package.json definitions.
To install necessary dependencies use the following command:
npm iIn order to download proper compiler and compile run command below:
npx hardhat compileTo perform code analysis execute command:
yarn static-analyzeThere are unit, component and integration tests included for Common Wealth smart contracts. You can run all tests at once by running the following command:
yarn testIt is also recommended to check and fix the code formatting using prettier:
yarn check-styleFor complete code validation use this command:
yarn validate-allIn order to check the code coverage, please rune the commend:
npm run coverage