Rainbow Seeds (Unique Community Currency Maker)
Last updated
Last updated
[Creator Domain]
This tool is maintained by
Community Currency Creator Dashboard
Code Repository - link to open source code
Rainbow Seeds details haven't been copied into the wiki yet.
However, you can find them here.
Nitty gritty tech details: The proposed method for staking dSeeds (which are deferred SEEDS scheduled to be paid out over time from the harvest pool) has these steps:
Deferred SEEDS which currently exist as "locked balances" in the escrow.seeds
contract are converted to balances in the pool.seeds
contract.
Some or all of a beneficiary's pool balance is transferred to a Rainbow issuer account in the form of HPOOL tokens. One HPOOL token represents one SEEDS token in the beneficiary's pool account.
The Rainbow Seed token is created by the issuer. It is configured with two simultaneous staking relationships: a. Rainbow Seed is staked by HPOOL at 1:1 (or possibly more than 1 HPOOL per Rainbow), and b. Rainbow Seed is staked by liquid SEEDS at 0:1 (a placeholder for future redemptions) Both of these relationships are defined with the proportional unstaking feature. The Rainbow is also configured with an associated escrow account shared by both of these relationships.
The issuer issues a number of Rainbow Seeds (say 1000). This automatically transfers 1000 HPOOL tokens to the escrow account. The Rainbow Seeds appear in the issuer account where they can be given or sold to other users. Suppose user farmerbrown
receives 300 Rainbow Seeds.
After go-live, the Harvest protocol begins to make payments. Suppose on Summer Solstice, June 21st, there is a 2% payout. The 1000 HPOOL tokens in the escrow account automatically convert into 980 HPOOL tokens and 20 SEEDS.
The Rainbow tokens are useful for local transactions, but farmerbrown
needs some currency that can be traded outside his village. He redeems 150 Rainbow Seeds, which returns the stake to him. Before the Solstice, he would have received 150 HPOOL in redemption. However after the 2% harvest distribution he now receives 147 HPOOL and 3 SEEDS.\
If farmerbrown
holds onto the 147 HPOOL and another harvest comes around, new SEEDS will automatically appear in his account and the HPOOL balance will drop by the same amount.