Skip to content

Commit

Permalink
feat: address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiajia-Cui committed Aug 22, 2024
1 parent 5e52c51 commit 776bd56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion protocol/0013-ACCT-accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
A party only has control over balances in the "general" and "LOCKED_FOR_STAKING" account for each asset.
[Parties](./0017-PART-party.md) are identified by Vega public keys. Each party that makes a deposit on one of the asset bridges, currently only [Ethereum ERC20 bridge](./0031-ETHB-ethereum_bridge_spec.md) will have a general account for the relevant [asset](./0040-ASSF-asset_framework.md) created.

Each party that has locked and vesting rewards will have a "LOCKED_FOR_STAKING" account for the relevant [asset] created, party can transfer the tokens in and out of this LOCKED_FOR_STAKING account. The balance in this account should count towards the tokens [associated](./0059-STKG-simple_staking_and_delegating.md) with the Vega key for staking purposes and can be staked to specific validators, earning staking rewards for that key.
Each party that has locked and vesting rewards will have an option to create a "LOCKED_FOR_STAKING" account for the relevant [asset], the rewards will be transfered to this account once created. Party can transfer the tokens in and out of this LOCKED_FOR_STAKING account. The balance in this account should count towards the tokens [associated](./0059-STKG-simple_staking_and_delegating.md) with the Vega key for staking purposes and can be staked to specific validators, earning staking rewards for that key.

In order to submit [orders](./0014-ORDT-order_types.md) a non-zero general account balance is needed; Vega will transfer appropriate amount to the [margin account](./0011-MARA-check_order_allocate_margin.md) for the party and the market.

Expand Down
8 changes: 4 additions & 4 deletions protocol/0056-REWA-rewards_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,11 @@ Run for another epoch with no fee generated. Expect no transfer to be made to th

### Locked Reward

When a party earns locked rewards (in governance token), they are transferred into the party's locked rewards account and locked for the appropriate period before vesting.
Sum of rewards in vesting account and locked account should count toward the party's staking balance and they can be [staked](0059-STKG-simple_staking_and_delegating.md).
When a party earns locked rewards (in governance token), they are transferred into the party's vesting account account but locked for the appropriate period before vesting.
The rewards in the vesting account (both locked and unlocked) should count toward the party's staking balance and they can be [staked](0059-STKG-simple_staking_and_delegating.md).

- When a party receives a governance token reward that is locked, the [Locked_FOR_REWARD] balance for the party is incremented by the corresponding amount. (<a name="0056-REWA-200" href="#0056-REWA-200">0056-REWA-200</a>).
- Balance of the governance asset in the [Locked_FOR_REWARD] account counts towards the party's staking balance and can be nominated to a validator and earn staking rewards. (<a name="0056-REWA-202" href="#0056-REWA-202">0056-REWA-202</a>).
- When a party receives a governance token reward that is locked, the [LOCKED_FOR_STAKING] balance for the party is incremented by the corresponding amount. (<a name="0056-REWA-200" href="#0056-REWA-200">0056-REWA-200</a>).
- Total balance of the governance asset in the [LOCKED_FOR_STAKING] account counts towards the party's staking balance and can be nominated to a validator and earn staking rewards. (<a name="0056-REWA-202" href="#0056-REWA-202">0056-REWA-202</a>).

### Distributing fees paid rewards (<a name="0056-REWA-010" href="#0056-REWA-010">0056-REWA-010</a>)

Expand Down

0 comments on commit 776bd56

Please sign in to comment.