The HomaLite module must implement automatic periodic updates to TotalStakingCurrency to simulate staking…
The HomaLite module must implement automatic periodic updates to TotalStakingCurrency to simulate staking…: a task in LegoFlow-SWE (Harbor dataset). Given an interest rate rate1 (e.g., 1%) and an update frequency of 100 blocks, the first time the block number is a multiple of 100 …
The task
Given an interest rate `rate1` (e.g., 1%) and an update frequency of `100` blocks, the first time the block number is a multiple of `100`, `TotalStakingCurrency` should become `current * (1 + rate1)`. This should continue every `100` blocks, progressively inflating the total and automatically adjusting the…
Part of Lego-X/LegoFlow-SWE.