Governance updates (#113)

* Reward delay type corrected to XFL

* Fixed Governance Initial Reward Rate
This commit is contained in:
Dominique Blomsma
2023-09-25 22:35:40 +02:00
committed by GitHub
parent 40631c1a7c
commit 834442132b
2 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@
* Parameter Value: Initial Reward Rate <8 byte XFL fraction between 0 and 1, LE> * Parameter Value: Initial Reward Rate <8 byte XFL fraction between 0 and 1, LE>
* *
* Parameter Name: {'I', 'R', 'D'} * Parameter Name: {'I', 'R', 'D'}
* Parameter Value: Initial Reward Delay <8 byte LE int seconds between rewards> * Parameter Value: Initial Reward Delay <8 byte LE XFL seconds between rewards>
* ... * ...
* *
* Topics: * Topics:
@@ -53,7 +53,7 @@
* State Data: Current reward rate <8 byte LE XFL> (L1 table only) * State Data: Current reward rate <8 byte LE XFL> (L1 table only)
* *
* State Key: {0..0, 'R', 'D'} * State Key: {0..0, 'R', 'D'}
* State Data: Current reward delay <8 byte LE int> (L1 table only) * State Data: Current reward delay <8 byte LE XFL> (L1 table only)
* *
* State Key: {0..0, '\0 + seat id'} * State Key: {0..0, '\0 + seat id'}
* State Data: 20 byte account ID for the member who occupies this seat. If absent unoccupied. * State Data: 20 byte account ID for the member who occupies this seat. If absent unoccupied.

View File

@@ -49,8 +49,8 @@ namespace XahauGenesis
std::vector<std::pair<std::vector<uint8_t>, std::vector<uint8_t>>> const std::vector<std::pair<std::vector<uint8_t>, std::vector<uint8_t>>> const
GovernanceParameters GovernanceParameters
{ {
// 1.003274 -xfl-> 6089869970204910592 -le-> 0x00E461EE78908354 // 0.003333 -xfl-> 6038156834009797973 -le-> 0x55554025A6D7CB53
{{'I', 'R', 'R'}, {0x00U, 0xE4U, 0x61U, 0xEEU, 0x78U, 0x90U, 0x83U, 0x54U}}, {{'I', 'R', 'R'}, {0x55U, 0x55U, 0x40U, 0x25U, 0xA6U, 0xD7U, 0xCBU, 0x53U}},
// 2600000 -xfl-> 6199553087261802496 -le-> 0x00806AACAF3C0956 // 2600000 -xfl-> 6199553087261802496 -le-> 0x00806AACAF3C0956
{{'I', 'R', 'D'}, {0x00U, 0x80U, 0x6AU, 0xACU, 0xAFU, 0x3CU, 0x09U, 0x56U}} {{'I', 'R', 'D'}, {0x00U, 0x80U, 0x6AU, 0xACU, 0xAFU, 0x3CU, 0x09U, 0x56U}}