add comments

This commit is contained in:
mingda
2020-07-26 13:22:25 +08:00
parent 3bc7e2359e
commit dd33f183ae
2 changed files with 4 additions and 1 deletions

View File

@@ -12,6 +12,9 @@ interface ICloneFactory {
function clone(address prototype) external returns (address proxy);
}
// introduction of proxy mode design: https://docs.openzeppelin.com/upgrades/2.8/
// minimum implementation of transparent proxy: https://eips.ethereum.org/EIPS/eip-1167
contract CloneFactory is ICloneFactory {
function clone(address prototype) external override returns (address proxy) {
bytes20 targetBytes = bytes20(prototype);

View File

@@ -106,6 +106,6 @@ contract Storage is InitializableOwnable, ReentrancyGuard {
// ============ Version Control ============
function version() external pure returns (uint256) {
return 1;
return 100; // 1.0.0
}
}