From ea4970c59c823d9a979d12dad293cb08faf0e58d Mon Sep 17 00:00:00 2001 From: Mark Toda Date: Wed, 11 Sep 2024 17:24:55 -0400 Subject: [PATCH] fix: constants first --- packages/contracts-bedrock/semver-lock.json | 2 +- .../src/universal/OptimismMintableERC20.sol | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/contracts-bedrock/semver-lock.json b/packages/contracts-bedrock/semver-lock.json index 2e54eba40fbcd..50636174add60 100644 --- a/packages/contracts-bedrock/semver-lock.json +++ b/packages/contracts-bedrock/semver-lock.json @@ -219,4 +219,4 @@ "initCodeHash": "0x00b8b883597e67e5c3548e7ba4139ed720893c0acb217dd170bec520cefdfab5", "sourceCodeHash": "0xf63aff9c38f4c5e9cdbd1f910bc002e16008a592d26c0dcc67929e0024638edd" } -} \ No newline at end of file +} diff --git a/packages/contracts-bedrock/src/universal/OptimismMintableERC20.sol b/packages/contracts-bedrock/src/universal/OptimismMintableERC20.sol index de5f5e428da35..978a06325fdbd 100644 --- a/packages/contracts-bedrock/src/universal/OptimismMintableERC20.sol +++ b/packages/contracts-bedrock/src/universal/OptimismMintableERC20.sol @@ -14,15 +14,15 @@ import { ISemver } from "src/universal/interfaces/ISemver.sol"; /// Designed to be backwards compatible with the older StandardL2ERC20 token which was only /// meant for use on L2. contract OptimismMintableERC20 is IOptimismMintableERC20, ILegacyMintableERC20, ERC20Permit, ISemver { + /// @notice Address of permit2 on this network. + address public constant PERMIT2 = 0x000000000022D473030F116dDEE9F6B43aC78BA3; + /// @notice Address of the corresponding version of this token on the remote chain. address public immutable REMOTE_TOKEN; /// @notice Address of the StandardBridge on this network. address public immutable BRIDGE; - /// @notice Address of permit2 on this network.. - address public constant PERMIT2 = 0x000000000022D473030F116dDEE9F6B43aC78BA3; - /// @notice Decimals of the token uint8 private immutable DECIMALS;