Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 973 Bytes

README.md

File metadata and controls

45 lines (32 loc) · 973 Bytes

Sophon Farming Contracts

Contracts that enable deposits to farm points.

Prerequisites

Before running tests and coverage, ensure you have the following installed:

Installation

Install node modules:

yarn install

Running Tests

To run tests use the following command:

forge test

Coverage Report

Generate the report by running:

forge coverage --report lcov && \
lcov --remove lcov.info -o lcov.info \
'contracts/mocks/*' \
'contracts/farm/test/*' \
'test/*' \
&& genhtml -o report --branch-coverage lcov.info

Coverage file is lcov.info and in the report directory, the file index.html is the one to visualize the report.

The report excludes out of scope contracts.

License

UNLICENSED