-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
We need proof-of-staking for yu, should develop a tripod named pos for it.
This tripod has the following Writings:
- Staking
Callers stake their tokens on the chain. Must check if their account balance is sufficient.
Then
assets.SubBalance(caller_addr, token_amount)
staking.State.Set(Staking, caller_addr, token_amount)
- Unstaking
Callers unstake and withdraw their tokens.
- Delegate
- Undelegate
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels