Let:
P - the price of one 1G$ in Supported Currency;
R - the amount of Supported Currency in the reserve;
S - total G$ coins in circulation.
Thenr - the reserve ratio - is defined as:
r=P⋅SR
In the beginning, r=1nd will be reduced daily according to theExpansion Rate. As can be seen from, givenR and r the system has two degrees of freedom, P and S that will be calculated as described below.
Equation 2: Buy/Sell Function & Current Price(Bancor Formula for Automated Market Making)
Equation 4: Mint G$ from Declining Reserve Ratio - Once a day the reserve ratio is reduced while all other parameters are unchanged.
The GoodDollar Reserve contract mints an amount of G$ to satisfy Equation 1 P=r⋅SR . If P and R do not change and the daily change in r=𝚫r and the corresponding change in S is 𝚫S, then rs=(r+Δr)(S+ΔS) and from here we can see that:
ΔS=S⋅r+Δr−Δr=S⋅rtrt−1−rt
From Equation 2 we get q=rt−1rt and thus: Srtrt−1−rt=Sq1−q
Equation 5: Mint G$ from Deposit Formula - The number of new tokens based on the daily interest deposited in the Reserve.
Z - Value deposited into the reserve
E - Newly minted tokens
The formula does not change the price or reserve ratio: E=PRrR+Z−P⋅S
Monetary Example
This is an illustrative example with no relation to real parameters.
10 Supporters have staked a total value of US$10 million in supported crypto to a third-party protocol
Protocol annual interest rate of 10%
Daily interest of US$2,736
G$ Price = US$1
GoodReserve = US$1,000,000
Supply of G$ = 1,250,000
G$ Market Capitalization = US$1,250,000
G$ Reserve Ratio = 80%
Daily Expansion Rate = 1%
Every day, G$ minting occurs via two methods: the decline in reserve ratio and from the deposit of interest to the GoodReserve.
Minting derived from deposite of daily interest to the GoodReserve
Deposit of US$2,736 to GoodReserve
Calculated as follows:
S⋅P=RrR
(1,250,000 +X)*1=(1,000,000 + 2736)/0.8
1,250,000 + X = 1,002,736/0.8
1,250,000 + X = 1,253,420
X = 3,420
3,420 G$ are minted
2,736 G$ are allocated back to the 10 supporters
684 G$ are distributed as basic income
Mint from Reserve Ratio Decline
Lower the Reserve Ratio from 80% to 79%
Calculated as follows:
S⋅P=RrR
(1,253,420+X)*1= 1,002,736/0.79
1,253,420 + X = 1,269,286
X = 15,866
15,866 G$ are distributed as UBI
In total, on that day 16,550 G$ were distributed as basic income to Claimers.