forked from CMTA/CMTAT
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVersionModule.sol
More file actions
30 lines (27 loc) · 871 Bytes
/
VersionModule.sol
File metadata and controls
30 lines (27 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//SPDX-License-Identifier: MPL-2.0
pragma solidity ^0.8.20;
/* ==== Tokenization === */
import {IERC3643Version} from "../../../interfaces/tokenization/IERC3643Partial.sol";
/**
* @title Version module
* @dev
*
* Retrieve the current contract version
*/
abstract contract VersionModule is IERC3643Version {
/* ============ State Variables ============ */
/**
* @dev
* Get the current version of the smart contract
*/
string private constant VERSION = "3.2.0";
/*//////////////////////////////////////////////////////////////
PUBLIC/EXTERNAL FUNCTIONS
//////////////////////////////////////////////////////////////*/
/**
* @inheritdoc IERC3643Version
*/
function version() public view virtual override(IERC3643Version) returns (string memory version_) {
return VERSION;
}
}