Skip to content

Explorer: Add Total VTHO Generated to Account Overview #967

Description

@daithihearn

VTHO can be generated in the following ways:

  • Pre hayabusa block rewards (Authority Nodes)
  • Post hayabusa block rewards (Validator nodes)
  • Priority rewards (can possibly exclude this as not VTHO is minted)
  • Pre hayabusa VTHO generation for holding VET
  • Pre hayabusa Node holder rewards
  • Delegator rewards

There is no simple way to get the block reward. One approach for post Hayabusa could be to use the difference in VTHO totalSupply between the previous and current blocks. However per hayabusa this won't work as VTHO is generated by holding VET.

This could be a useful reference for the stargate rewards https://github.com/vechain/vechain-indexer/blob/main/packages/indexer/src/main/kotlin/org/vechain/indexer/validator/ValidatorBlockService.kt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions