Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Locked Staking #169

Draft
wants to merge 30 commits into
base: main
Choose a base branch
from
Draft

Feat: Locked Staking #169

wants to merge 30 commits into from

Conversation

0x3bfc
Copy link
Contributor

@0x3bfc 0x3bfc commented Aug 4, 2022

This is an Initial implementation of locked staking. This PR introduces:

  • A staking strategy factory contract
    The factory creates an instance by creating a new storage contract and proxying all the logic to the template contract (logic contract). Moreover it allows the factory admins to extend any staking based future strategy by deploying a new template, then publish it on the factory.
  • A Locked staking strategy template
    The template allows user to stake automatically prior creating the new instance. This means that users can't have multiple locked stakes within the same contract, however to do that user has to create a new instance. Moreover the new created instance only owned by the user's wallet. Also the lockup period is variable so it can managed by the frontend.

@0x3bfc 0x3bfc changed the title Featlocked Staking Feat: Locked Staking Aug 4, 2022
@0x3bfc 0x3bfc marked this pull request as ready for review August 12, 2022 08:50
@0x3bfc 0x3bfc self-assigned this Aug 12, 2022
@0x3bfc 0x3bfc added the feature label Aug 12, 2022
@alexandermendes alexandermendes marked this pull request as draft August 29, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant