Skip to content

Commit

Permalink
add param
Browse files Browse the repository at this point in the history
  • Loading branch information
afkbyte committed Jun 19, 2023
1 parent 8e23955 commit d515706
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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

0 comments on commit d515706

Please sign in to comment.