build
hardhat compile
console
hardhat console
verify
yarn hint && yarn test
deploy
hardhat deploy --write true --network
etherscan-verify
hardhat etherscan-verify --network
test:integration
FORK_MAINNET=true yarn hardhat test --network hardhat
test
yarn hardhat test --network hardhat test/unit_test.js
lint
yarn solhint 'contracts/SushiYieldSource.sol' && yarn prettier -c './**/*.js'
format
yarn prettier --write contracts/*.sol && yarn prettier --write test/*.js
hint
solhint "contracts/SushiYieldSource.sol"
coverage
FORK_MAINNET=true yarn hardhat coverage --testfiles "test/*.js"
coverage:file
yarn hardhat coverage --testfiles
start-fork
FORK_MAINNET=true hardhat node --no-reset
fork-run
hardhat run --network localhost