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

revised fix: [OZ][N-04] Imprecise docstrings #55

Merged
merged 1 commit into from
Jun 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contracts/L1/L1MantleToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ contract L1MantleToken is
/// @dev Requirements:
/// - The caller must be the contract owner
/// - {_mintCapNumerator} must be less than or equal to {MINT_CAP_MAX_NUMERATOR}
/// @param _mintCapNumerator The new numerator of the mint cap
function setMintCapNumerator(uint256 _mintCapNumerator) public onlyOwner {
if (_mintCapNumerator > MINT_CAP_MAX_NUMERATOR) {
revert MantleToken_MintCapNumeratorTooLarge(_mintCapNumerator, MINT_CAP_MAX_NUMERATOR);
Expand Down
6 changes: 3 additions & 3 deletions contracts/Migration/MantleTokenMigrator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ contract MantleTokenMigrator {
address public treasury;

/// @dev The address of the owner of the contract
/// @notice The owner of the contract is initially the deployer of the contract but will be transferred
/// @notice The owner of the contract is initially the deployer of the contract but will be transferred
/// to a multisig wallet immediately after deployment
address public owner;

Expand Down Expand Up @@ -225,9 +225,9 @@ contract MantleTokenMigrator {
if (_treasury == address(0)) {
revert MantleTokenMigrator_InvalidTreasury(_treasury);
}

emit TreasuryChanged(treasury, _treasury);

treasury = _treasury;
}

Expand Down