Skip to content

h2odata/h2o-vl-psdn

Repository files navigation

Rewards distribution contract

This contract will be responsible for distributing rewards on users who lock their tokens into it. The owner of the contract will set the rewards epochs and amount and in the end of each epoch the contract will distribute these rewards to the addresses that were lock on that epoch based on the amount of tokens they locked.

How to test:

Build:
foundry build

Run tests on ethereum fork:
foundry test --fork-url https://mainnet.infura.io/v3/<YOUR INFURA KEY>

How to generate npm package with contract abis and factories:

Install dependencies:
npm ci

Generate package:
npm run package:generate

Build package:
npm run package:build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published