From 836304dc7a32bffcb4191983bcadd11734c8b90f Mon Sep 17 00:00:00 2001 From: Jeremy Letang Date: Tue, 6 Aug 2024 16:50:17 +0100 Subject: [PATCH] chore: update AC codes Signed-off-by: Jeremy Letang --- protocol/0056-REWA-rewards_overview.md | 16 ++++++++-------- protocol/features.json | 8 ++++++++ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/protocol/0056-REWA-rewards_overview.md b/protocol/0056-REWA-rewards_overview.md index 9f1f7aec3..cc7300d95 100644 --- a/protocol/0056-REWA-rewards_overview.md +++ b/protocol/0056-REWA-rewards_overview.md @@ -1061,14 +1061,14 @@ At the end of epoch 2, 10000 VEGA rewards should be distributed to the `ETHUSDT` ### Average Position -- If an eligible party opens a position at the beginning of the epoch, and the mark price does **not** change during the epoch, their average notional position reward metric should be equal to the notional value of the position at the end of the epoch (0056-REWA-171). -- If an eligible party opens a position at the beginning of the epoch, and the price changes during the epoch, their average notional position reward metric should be set equal to the notional value of the position at the end of the epoch (0056-REWA-172). -- If an eligible party held an open position at the start of the epoch, and the mark price does **not** change during the epoch, their average notional position reward metric should be equal to the notional value of the position at the end of the epoch (0056-REWA-173). -- If an eligible party held an open position at the start of the epoch, and the mark price does change during the epoch, their average notional position reward metric should be equal to the notional value of the position at the end of the epoch (0056-REWA-174). -- If an eligible party opens a position half way through the epoch, their average notional position reward metric should be half the notional value of the position at the end of the epoch (0056-REWA-175). -- If an eligible party held an open position at the start of the epoch and closes it half-way through the epoch, their average notional position reward metric should be equal to half the notional value of the position at the point they closed their position (0056-REWA-176). -- If an eligible party held positions in multiple in-scope markets, their average notional position reward metric should be the sum of their time-weighted-average-notional-position in each market (0056-REWA-177). -- If a `window_length>1` is specified in the recurring transfer, an eligible parties average notional position reward metric should be the average of their reward metrics over the last `window_length` epochs (0056-REWA-178). +- If an eligible party opens a position at the beginning of the epoch, and the mark price does **not** change during the epoch, their average notional position reward metric should be equal to the notional value of the position at the end of the epoch (0056-REWA-192). +- If an eligible party opens a position at the beginning of the epoch, and the price changes during the epoch, their average notional position reward metric should be set equal to the notional value of the position at the end of the epoch (0056-REWA-193). +- If an eligible party held an open position at the start of the epoch, and the mark price does **not** change during the epoch, their average notional position reward metric should be equal to the notional value of the position at the end of the epoch (0056-REWA-194). +- If an eligible party held an open position at the start of the epoch, and the mark price does change during the epoch, their average notional position reward metric should be equal to the notional value of the position at the end of the epoch (0056-REWA-195). +- If an eligible party opens a position half way through the epoch, their average notional position reward metric should be half the notional value of the position at the end of the epoch (0056-REWA-196). +- If an eligible party held an open position at the start of the epoch and closes it half-way through the epoch, their average notional position reward metric should be equal to half the notional value of the position at the point they closed their position (0056-REWA-197). +- If an eligible party held positions in multiple in-scope markets, their average notional position reward metric should be the sum of their time-weighted-average-notional-position in each market (0056-REWA-198). +- If a `window_length>1` is specified in the recurring transfer, an eligible parties average notional position reward metric should be the average of their reward metrics over the last `window_length` epochs (0056-REWA-199). ### Relative returns diff --git a/protocol/features.json b/protocol/features.json index b6576db34..8c5948f80 100644 --- a/protocol/features.json +++ b/protocol/features.json @@ -129,6 +129,14 @@ "0056-REWA-189", "0056-REWA-190", "0056-REWA-191", + "0056-REWA-192", + "0056-REWA-193", + "0056-REWA-194", + "0056-REWA-195", + "0056-REWA-196", + "0056-REWA-197", + "0056-REWA-198", + "0056-REWA-199", "0085-RVST-015", "0085-RVST-016", "0085-RVST-017",