DA0-DA0 / dao-contracts

CosmWasm smart contracts for Interchain DAOs.
https://docs.daodao.zone
BSD 3-Clause "New" or "Revised" License
202 stars 132 forks source link

enable dao-rewards-distributor to keep historic emission update logs #839

Open bekauz opened 2 weeks ago

bekauz commented 2 weeks ago

followup to #835

currently the dao-rewards-distributor contract only tracks the latest emission schedule. this is limiting in cases where DAOs may want to update their emission schedules.

to implement that we should keep track of historic emission rate configs, along with their start dates. this way we can ensure that users can claim their earned rewards forever, and no emission rate updates will take that away from them.