This repository contains a modified version of the flagship StakingRewards.sol contract developed by Synthetix.
$ yarn
$ yarn compile
This task will compile all smart contracts in the contracts
directory.
ABI files will be automatically exported in artifacts
directory.
$ yarn test
$ yarn coverage
The report will be printed in the console and a static website containing full report will be generated in coverage
directory.
$ yarn prettier
$ npx hardhat verify --network mainnet $CONTRACT_ADDRESS $CONSTRUCTOR_ARGUMENTS