GYSR documentation
Search
⌃K
Comment on page

Pools

The GYSR Pool contract

What are they

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.

Architecture

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.
Modular pool architecture
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.

​