Skip to content

Proof of Staking #41

@Lawliet-Chan

Description

@Lawliet-Chan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions