Skip to content

Conversation

@leonprou
Copy link
Member

Reducing inflation in accordance with FRC02

@leonprou leonprou requested a review from gr8h June 17, 2024 12:32
function getInflation() public pure returns(uint256) {
return INFLATION;
function getInflation() public view returns(uint256) {
uint256 yearNumber = block.number / getBlocksPerYear();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could use .div function to be safe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants