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

@@ -15,8 +15,8 @@ pub struct Config {
/// The minimum accepted difficulty.
pub min_difficulty: u64,
/// Buffer for possible future use.
pub _buffer: [u8; 8],
/// The target emissions rate in ORE/min.
pub target_emmissions_rate: u64,
}
account!(OreAccount, Config);