Pools
The GYSR Pool contract
Last updated
The GYSR Pool contract
Last updated
Each Pool is a standalone staking contract and incentive mechanism. These contracts allow users to deposit tokens as a stake and earn reward tokens in return over time.
There are two parts to every Pool, staking and rewards. GYSR v2 is built with a modular architecture that separates these two concepts to add more flexibility and make future development more efficient.
Each individual Pool will have a specific staking module and a reward module associated with it. During the configuration of a new Pool, different modules can be attached, resulting in a variety of incentive mechanics.
The Pool contract is the end userโs primary point of interaction. It handles all information flow and manages interactions with the underlying modules. The contract only exposes a few simple methods that the end user needs to be aware of.