About Staking Protocol
The Staking Protocol represents a solution that allows the creation of Ethereum-based staking platform on demand. This means that a user/administrator must interact with the Staking Protocol to deploy a staking platform with a specific set of properties and rules. In this case, the rules dictate how and who can interact with the staking platform from a compliance standpoint, while the properties define the staking functionality.
The Staking Protocol consists of dozens of deployed smart contracts that are organized following the Multi-Facet Proxy (Diamond) Standard EIP-2535. Think of these smart contracts as templates containing various functions, that you can select arbitrarily to build your staking platform.
The simplified representation of the staking platform creation process is the following:
The selection of facets is essential for determining how your staking campaigns will operate on your staking platform. You can combine functions and storage layouts from different facets to create multiple unique staking campaigns on your platform, each with its own set of rules, reward distribution mechanisms, staking durations, and other configurations.
This highly modular approach allows:
- Selecting only the required functionality for your staking platform.
- Deploying the staking platform instantly without the need to write code and build a new solution from the ground up.
- Configuring the staking campaign flexibly.
At this stage, the following definitions must be introduced:
- Staking platform - A specific set of smart contracts(facets), each containing unique functions that are required to run staking campaign.
- Administrator - A company that manages their staking platform and the corresponding staking campaign.
- Eligible user - A user that can manage the staking campaign.
- User - A user that can only particpate in the staking campaign.
- Staking campaign - Each staking campaign follows the platform's rules, with an administrator configuring settings such as reward distribution, staking duration, and the assets to be staked.
In the diagram provided below you can see the process where users interact with the staking platform by staking their assets to the corresponding campaign: