Skip to content

sophon-org/farming-contracts

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published