Architecture & Value Flow
This page provides an overview of the GoodDollar V2 smart contracts architecture and value flow within the system.
Last updated
This page provides an overview of the GoodDollar V2 smart contracts architecture and value flow within the system.
Last updated
GoodDollar is a new kind of digital economy with a UBI distribution model. The protocol is able to sustainably generate a crypto token (G$) for onward distribution in two ways:
Through the addition of funds to the GoodDollar Reserve via interest earned on capital staked with third-party protocols, or the purchase of G$ from the GoodDollar Reserve.
Through reductions in the reserve ratio.
This is the money flow that underpins the generation of GoodDollar crypto UBI.
Supporter stakes crypto to the GoodDollar Trust.
The GoodDollar Trust stakes that money to a third-party DeFi protocol.
The third-party DeFi protocol issues a staking token (e.g. CDAI) to the GoodDollar Trust.
In return for staking, the supporter is entitled to be rewarded with a sum of G$. The staker can then either withdraw these rewards, or waive this entitlement.
The staker can withdraw his stake at any time.
Keeper (any player in the ecosystem who wants to do this work) activates the Fund Manager, to funnel interest back to the GoodDollar Trust:
The keeper is also rewarded with G$.
Fund Manager:
Collects interest from the different GoodStaking contracts and sends this to the GoodDollar Reserve.
Converts any extra tokens generated through staking to CDAI.
Swaps the interest payments into G$.
Sends the G$ over the Bridge to the Disco.
The DisCo then divides the G$ among all whitelisted wallets that have clicked “claim” on the app within the preceding 24 hours.