masa-finance / roadmap

The protocol
0 stars 0 forks source link

feat: distribution of MASA token rewards across the chains #45

Open mudler opened 5 months ago

mudler commented 5 months ago

Depends on https://github.com/masa-finance/masa-oracle/issues/382

With https://github.com/masa-finance/masa-oracle/issues/382 we now have a way to calculate reward and store in the chain. We need now a mechanism to distribute the rewards in MASA tokens from our smart contracts.

Describe the solution you'd like

Whenever there is a new block in the on-chain ledger, we want to have a mechanism that distributes the rewards of MASA tokens across stakeholders.

The process can be carried over by validators, or ideally specific nodes that have this specific role (that might be just in our control?)

The utility and reward mechanism is calculated in https://github.com/masa-finance/masa-oracle/issues/382

Additional context

https://github.com/masa-finance/masa-oracle/issues/329

Blocked by https://github.com/masa-finance/masa-oracle/issues/380

TBD - this might be a spike card. Needs to be discussed

Acceptance criteria