Skip to content

Conversation

@0xahtle7
Copy link
Contributor

Adds aura minter owner , allows DAO to mint a max amount of 3m Aura tokens per year during the following 3 years.

@0xahtle7 0xahtle7 requested a review from phijfry October 30, 2025 12:58
@0xahtle7 0xahtle7 self-assigned this Oct 30, 2025

/// @notice Maximum total AURA that can be minted through this contract (9 million with 18 decimals)
/// @dev This represents the absolute cap across all epochs (3 years * 3M per year)
uint256 public constant MAX_TOTAL_CAP = 9_000_000 * 1e18;
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't need to cap the total amount mineable, we just want to cap that only 3M gets minted every 52 weeks.

uint256 currentEpochCap = currentEpoch * EPOCH_CAP;
uint256 totalAfterMinted = totalMinted + _amount;

require(totalAfterMinted <= currentEpochCap, "Exceeds epoch cap");
Copy link
Contributor

Choose a reason for hiding this comment

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

This logic allows for carry over, so for example if I don't mint anything in the first year the second year I can mint 6M. The preferred logic is that inflation is capped per 52 week period. So instead we should make sure that only 3M can be minted per epoch.

@0xahtle7 0xahtle7 force-pushed the feat/AuraMinterOwner branch from 1afd4a1 to 0725b22 Compare November 11, 2025 17:05
@0xahtle7
Copy link
Contributor Author

0xahtle7 commented Jan 1, 2026

no need anymore

@0xahtle7 0xahtle7 closed this Jan 1, 2026
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