github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/src/universal/ISemver.sol (about) 1 // SPDX-License-Identifier: MIT 2 pragma solidity ^0.8.0; 3 4 /// @title ISemver 5 /// @notice ISemver is a simple contract for ensuring that contracts are 6 /// versioned using semantic versioning. 7 interface ISemver { 8 /// @notice Getter for the semantic version of the contract. This is not 9 /// meant to be used onchain but instead meant to be used by offchain 10 /// tooling. 11 /// @return Semver contract version as a string. 12 function version() external view returns (string memory); 13 }