issues
search
near-daos
/
sputnik-dao-contract
Smart contracts for https://app.astrodao.com
https://astrodao.com/
MIT License
108
stars
76
forks
source link
TESTCOV: Sputnik DAO: Staking Token
#126
Open
TrevorJTClarke
opened
2 years ago
TrevorJTClarke
commented
2 years ago
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
Create test coverage for the following:
Staking Token
None
New Staking Contract