Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [OZ][L-01] Misleading comments #50

Merged
merged 1 commit into from
Jun 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions contracts/L1/L1MantleToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ contract L1MantleToken is
/// - Only allows minting below an inflation cap at a specified time interval
/// - The max mint amount is computed as follows:
/// - maxMintAmount = (mintCapNumerator * totalSupply()) / MINT_CAP_DENOMINATOR
/// - The specified time interval at which mints can occur is initially set to 1 year
/// - The specified time interval at which mints can occur is 1 year (365 days)
/// - the parameter {amount} must be less than or equal to {maxMintAmount} as computed above
/// - the {blockTimestamp} of the block in which this function is called must be greater than or equal to {nextMint}
/// @param _recipient The address to mint tokens to
Expand All @@ -114,7 +114,7 @@ contract L1MantleToken is
}

/// @notice Allows the owner to set the mintCapNumerator
/// @dev emits a {MintCapNumeratorSet} event
/// @dev emits a {MintCapNumeratorChanged} event
/// @dev Requirements:
/// - The caller must be the contract owner
/// - parameter {_mintCapNumerator} must be less than or equal to {MINT_CAP_MAX_NUMERATOR}
Expand Down