Skip to content

Commit

Permalink
chore: reorder state variables
Browse files Browse the repository at this point in the history
  • Loading branch information
CheyenneAtapour committed Jul 17, 2024
1 parent 1268d85 commit 790bcef
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ import {IRouter} from "../../interfaces/IRouter.sol";
/// - Implementation of Initializable to allow upgrades
/// - Move of allowlist and router definition to initialization stage
contract UpgradeableBurnMintTokenPool is Initializable, UpgradeableBurnMintTokenPoolAbstract, ITypeAndVersion {
error Unauthorized(address caller);

string public constant override typeAndVersion = "BurnMintTokenPool 1.4.0";

error Unauthorized(address caller);
/// @notice The address of the rate limiter admin.
/// @dev Can be address(0) if none is configured.
address internal s_rateLimitAdmin;

/// @dev Constructor
/// @param token The bridgeable token that is managed by this pool.
Expand All @@ -33,10 +37,6 @@ contract UpgradeableBurnMintTokenPool is Initializable, UpgradeableBurnMintToken
bool allowlistEnabled
) UpgradeableTokenPool(IBurnMintERC20(token), armProxy, allowlistEnabled) {}

/// @notice The address of the rate limiter admin.
/// @dev Can be address(0) if none is configured.
address internal s_rateLimitAdmin;

/// @dev Initializer
/// @dev The address passed as `owner` must accept ownership after initialization.
/// @dev The `allowlist` is only effective if pool is set to access-controlled mode
Expand Down

0 comments on commit 790bcef

Please sign in to comment.