Reduce emissions by 10% every year (#108)

* deprecate top balance

* stub dynamic emissions impl

* impl 90% curve

* scaffold emissions rate function

* emissions curve

* implement new supply curve

* remove comments

* update comment

* bump version

* test reset

* add tests for emissions reduction

* test

* fix test

* bump version
This commit is contained in:
Hardhat Chad
2025-03-23 13:46:15 -05:00
committed by GitHub
parent 68159ca443
commit b54c542925
7 changed files with 454 additions and 93 deletions

View File

@@ -88,7 +88,6 @@ pub fn process_initialize(accounts: &[AccountInfo<'_>], _data: &[u8]) -> Program
bus.id = i as u64;
bus.rewards = 0;
bus.theoretical_rewards = 0;
bus.top_balance = 0;
}
// Initialize config.