Skip to content

Commit

Permalink
fix: structure
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomariscal committed Dec 4, 2024
1 parent 726d0bf commit 31d626f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l2-contracts/src/ZkCappedMinterV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ contract ZkCappedMinterV2 is AccessControl {
/// @notice The cumulative number of tokens that have been minted by the ZkCappedMinter.
uint256 public minted = 0;

bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

/// @notice Error for when the cap is exceeded.
error ZkCappedMinterV2__CapExceeded(address minter, uint256 amount);

/// @notice Error for when the account is unauthorized.
error ZkCappedMinterV2__Unauthorized(address account);

bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

/// @notice Constructor for a new ZkCappedMinter contract
/// @param _token The token contract where tokens will be minted.
/// @param _admin The address that will be granted the admin role.
Expand Down

0 comments on commit 31d626f

Please sign in to comment.