Staking pools distribute a chosen native Vite token as a reward to users staking another chosen native Vite token. The total reward rate is fixed, and staking users earn rewards proportional to the amount they stake.
Contract partly based on https://github.com/ltonetwork/uniswap-farming/blob/master/contracts/Farm.sol
Documentation and interfaces are still in progress.
See test.js
for some basic examples for calling the contract.
Contract has not been audited/verified, use with appropriate caution.