Architecture & Value Flow
This page provides an overview of the GoodDollar smart contracts architecture and value flow within the system.
Last updated
This page provides an overview of the GoodDollar smart contracts architecture and value flow within the system.
Last updated
Supporter “stakes” crypto-asset to GoodStaking contract
Currently only accepting stakes in DAI
GoodStaking deposits crypto-asset to permissionless protocol
Currently integrated only with Compound
Permissionless protocol issues a “staking token”, cDAI
GoodStaking issues a non-transferable record to the Supporter’s wallet
Supporter can withdraw “stake” at any time
GoodStaking issues a non-transferable record to the Supporter’s wallet
Supporter can withdraw “stake” at any time
GoodDAO contract sends a daily request to GoodStaking to collect earned interest
GoodStaking sends interest to GoodReserve
GoodDAO triggers the GoodReserve to mint G$ and send newly minted G$ to the GoodDAO. G$ minted are used for interest yield-payouts (currently inactive) and pool of daily basic income
Interest pay-outs are sent back to GoodStaking (currently INACTIVE)
GoodDAO sends G$ for pool of daily basic income to the UBI Scheme Smart Contract, via the Fuse bridge
G$ in the UBI Scheme Smart Contract is divided between all “active” users/Claimers
Each Claimer has a 24-hour window to log-in and claim their share of the daily basic income pool