We redeveloped the Rarity 2 contract to achieve a two main things:
Ensure that gold can be deflationary, which reduces its supply relative to demand over time thereby defending its value.
Allowing governance of the variable parameters of the gold smart contract formula, with a view to optimising the game economy.
Note that for trading purposes, you need to wrap your $RG on the web UI into Wrapped Rarity gold, with the symbol $WG.
The Rarity Gold Supply Formula
The formula is written simply as follows:
A * ((level - 1) ^ 2) + B * (level - 1) + C + D / (level - 1).
The variables A, B, C & D adjust the gold supply. Their values will be set through governance by $RGV token holders initially with a voting mechanism as is typical in many other projects but ultimately aiming at DAO owners.
Examples of Economic Models Possible
The values assigned to the variable parameters could be used for the following economic outcomes:
Exponential increase: B, C, D = 0; A = 1000;
Linear increase: A, C, D = 0; B = 1000;
Static: A, B, D = 0; C = 1000;
Hyperbolic decrease: A, B, C = 0; D = 1000;
Standard(as it is in rarity): A = 500; B = 500; C, D = 0.
$RG has been set at hyperbolic decrease at the outset. This is represented in a graph as follows: