0g-chain/x/validator-vesting/spec/README.md
Denali Marsh 2d7f5c4080
[R4R] Better docs (#541)
* update sidebar order

* update event backticks

* fix broken links

* fix spelling
2020-06-03 14:54:31 -04:00

1.1 KiB

validator-vesting

  1. Concepts
  2. State
  3. BeginBlock

Abstract

x/validator-vesting is an implementation of a Cosmos SDK sub-module that defines a new type of vesting account, ValidatorVestingAccount. This account implements the Cosmos SDK VestingAccount interface and extends it to add conditions to the vesting balance. In this implementation, in order to receive the vesting balance, the validator vesting account specifies a validator that must sign a given SigningThreshold of blocks during each vesting period in order for coins to successfully vest.

Dependencies

This module uses the Cosmos SDK x/auth module and x/auth/vesting sub-module definitions of Account and VestingAccount. The actual state of a ValidatorVestingAccount is stored in the x/auth keeper, while this module merely stores a list of addresses that correspond to validator vesting accounts for fast iteration.