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

TESTCOV: Sputnik DAO: Staking Token #126

Open
10 tasks
TrevorJTClarke opened this issue Feb 25, 2022 · 0 comments
Open
10 tasks

TESTCOV: Sputnik DAO: Staking Token #126

TrevorJTClarke opened this issue Feb 25, 2022 · 0 comments
Labels
C-Testing Unit testing / integration testing P-Medium Priority: Medium S-L3 Size: Medium 20-50 line code change

Comments

@TrevorJTClarke
Copy link
Contributor

Create test coverage for the following:

Staking Token

None

  • Confirming other policies means non token-staking works fine

New Staking Contract

  • Can deploy a new staking contract, configured to the right DAO owner, token & stake period
  • DAO Can propose and accept the staking contract proposal
  • Users can pre-pay storage & register to delegate tokens
  • Users can deposit tokens using FT transfers
  • Users can delegate to themselves within the staking contract
  • Users can delegate to a different user within the staking contract
  • Can check the amounts held within the staking contract
  • Users can undelegate tokens from a delegation
  • Users can withdraw any available tokens that aren't delegated in the staking contract
@TrevorJTClarke TrevorJTClarke added P-Medium Priority: Medium S-L3 Size: Medium 20-50 line code change C-Testing Unit testing / integration testing labels Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Testing Unit testing / integration testing P-Medium Priority: Medium S-L3 Size: Medium 20-50 line code change
Projects
Status: No status
Development

No branches or pull requests

1 participant