Skip to content

Commit 039dd3f

Browse files
authored
Merge branch 'dev-3.0.0' into add-protocolVersion
2 parents 14e828a + 0b9e51d commit 039dd3f

File tree

62 files changed

+147
-148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+147
-148
lines changed

contracts/datastore/DataStoreFactory.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pragma solidity ^0.5.0;
22

3-
import "../proxy/DataStoreProxy.sol";
3+
import "./DataStoreProxy.sol";
44

55
contract DataStoreFactory {
66

contracts/proxy/DataStoreProxy.sol renamed to contracts/datastore/DataStoreProxy.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pragma solidity ^0.5.0;
22

3-
import "./OwnedProxy.sol";
4-
import "../datastore/DataStoreStorage.sol";
3+
import "../proxy/OwnedProxy.sol";
4+
import "./DataStoreStorage.sol";
55

66
/**
77
* @title DataStoreProxy Proxy

contracts/interfaces/token/IERC1643.sol

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ pragma solidity ^0.5.0;
66
interface IERC1643 {
77

88
// Document Management
9-
//function getDocument(bytes32 _name) external view returns (string memory, bytes32, uint256);
9+
//-- Included in interface but commented because getDocuement() & getAllDocuments() body is provided in the STGetter
10+
// function getDocument(bytes32 _name) external view returns (string memory, bytes32, uint256);
11+
// function getAllDocuments() external view returns (bytes32[] memory);
1012
function setDocument(bytes32 _name, string calldata _uri, bytes32 _documentHash) external;
1113
function removeDocument(bytes32 _name) external;
12-
//function getAllDocuments() external view returns (bytes32[] memory);
13-
14+
1415
// Document Events
1516
event DocumentRemoved(bytes32 indexed _name, string _uri, bytes32 _documentHash);
1617
event DocumentUpdated(bytes32 indexed _name, string _uri, bytes32 _documentHash);

contracts/libraries/VolumeRestrictionLib.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ pragma solidity ^0.5.0;
22

33
import "../interfaces/IDataStore.sol";
44
import "openzeppelin-solidity/contracts/math/SafeMath.sol";
5-
import "../storage/modules/TransferManager/VolumeRestrictionTMStorage.sol";
5+
import "../modules/TransferManager/VRTM/VolumeRestrictionTMStorage.sol";
66

77
library VolumeRestrictionLib {
88

contracts/mocks/MockCountTransferManager.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pragma solidity ^0.5.0;
22

3-
import "../modules/TransferManager/CountTransferManager.sol";
3+
import "../modules/TransferManager/CTM/CountTransferManager.sol";
44

55
/**
66
* @title Transfer Manager for limiting maximum number of token holders

contracts/mocks/MockFactory.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pragma solidity ^0.5.0;
22

3-
import "../modules/STO/DummySTOFactory.sol";
3+
import "../modules/STO/Dummy/DummySTOFactory.sol";
44

55
/**
66
* @title Mock Contract Not fit for production environment

contracts/mocks/TestSTOFactory.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pragma solidity ^0.5.0;
22

3-
import "../modules/STO/DummySTOFactory.sol";
3+
import "../modules/STO/Dummy/DummySTOFactory.sol";
44

55
contract TestSTOFactory is DummySTOFactory {
66
/**

contracts/modules/Checkpoint/ERC20DividendCheckpoint.sol renamed to contracts/modules/Checkpoint/ERC20/ERC20DividendCheckpoint.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
pragma solidity ^0.5.0;
22

3-
import "./DividendCheckpoint.sol";
4-
import "../../storage/modules/Checkpoint/ERC20DividendCheckpointStorage.sol";
5-
import "../../interfaces/IOwnable.sol";
3+
import "../DividendCheckpoint.sol";
4+
import "./ERC20DividendCheckpointStorage.sol";
5+
import "../../../interfaces/IOwnable.sol";
66
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
77

88
/**

contracts/modules/Checkpoint/ERC20DividendCheckpointFactory.sol renamed to contracts/modules/Checkpoint/ERC20/ERC20DividendCheckpointFactory.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
pragma solidity ^0.5.0;
22

3-
import "../../proxy/ERC20DividendCheckpointProxy.sol";
4-
import "../../libraries/Util.sol";
5-
import "../../interfaces/IBoot.sol";
6-
import "../UpgradableModuleFactory.sol";
3+
import "./ERC20DividendCheckpointProxy.sol";
4+
import "../../../libraries/Util.sol";
5+
import "../../../interfaces/IBoot.sol";
6+
import "../../UpgradableModuleFactory.sol";
77

88
/**
99
* @title Factory for deploying ERC20DividendCheckpoint module

contracts/proxy/ERC20DividendCheckpointProxy.sol renamed to contracts/modules/Checkpoint/ERC20/ERC20DividendCheckpointProxy.sol

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
pragma solidity ^0.5.0;
22

3-
import "./OwnedUpgradeabilityProxy.sol";
4-
import "../storage/modules/Checkpoint/ERC20DividendCheckpointStorage.sol";
5-
import "../storage/modules/Checkpoint/DividendCheckpointStorage.sol";
6-
import "../Pausable.sol";
7-
import "../storage/modules/ModuleStorage.sol";
3+
import "../../../proxy/OwnedUpgradeabilityProxy.sol";
4+
import "./ERC20DividendCheckpointStorage.sol";
5+
import "../../../storage/modules/Checkpoint/DividendCheckpointStorage.sol";
6+
import "../../../Pausable.sol";
7+
import "../../../storage/modules/ModuleStorage.sol";
88

99
/**
1010
* @title Transfer Manager module for core transfer validation functionality

0 commit comments

Comments
 (0)