open-dex/contracts/base/PeripheryImmutableState.sol
2024-08-24 12:08:46 +03:00

19 lines
593 B
Solidity

// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.8.26;
import '../interfaces/IPeripheryImmutableState.sol';
/// @title Immutable state
/// @notice Immutable state used by periphery contracts
abstract contract PeripheryImmutableState is IPeripheryImmutableState {
/// @inheritdoc IPeripheryImmutableState
address public immutable override factory;
/// @inheritdoc IPeripheryImmutableState
address public immutable override WETH9;
constructor(address _factory, address _WETH9) {
factory = _factory;
WETH9 = _WETH9;
}
}