diff --git a/nest/src/AggregateToken.sol b/nest/src/AggregateToken.sol index 4baffab..a9ebfab 100644 --- a/nest/src/AggregateToken.sol +++ b/nest/src/AggregateToken.sol @@ -44,8 +44,6 @@ contract AggregateToken is ComponentToken, IAggregateToken, ERC1155Holder { // Constants - // Base that is used to divide all price inputs in order to represent e.g. 1.000001 as 1000001e12 - uint256 private constant _BASE = 1e18; /// @notice Role for the price updater of the AggregateToken bytes32 public constant PRICE_UPDATER_ROLE = keccak256("PRICE_UPDATER_ROLE"); diff --git a/nest/src/ComponentToken.sol b/nest/src/ComponentToken.sol index 5c7d19e..cb89485 100644 --- a/nest/src/ComponentToken.sol +++ b/nest/src/ComponentToken.sol @@ -74,7 +74,9 @@ abstract contract ComponentToken is bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE"); /// @notice Role for the upgrader of the ComponentToken bytes32 public constant UPGRADER_ROLE = keccak256("UPGRADER_ROLE"); - + /// @notice Base that is used to divide all price inputs in order to represent e.g. 1.000001 as 1000001e12 + uint256 internal constant _BASE = 1e18; + // Events /**