Skip to content

Commit

Permalink
remove shadow declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
SatyamSB committed Jun 13, 2019
1 parent 7438bbe commit 1182699
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion contracts/interfaces/ISTFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ interface ISTFactory {
* @notice Used to set a new token logic contract
* @param _version Version of upgraded module
* @param _logicContract Address of deployed module logic contract referenced from proxy
* @param _initializationData Initialization data that used to intialize value in the securityToken
* @param _upgradeData Data to be passed in call to upgradeToAndCall when a token upgrades its module
*/
function setLogicContract(string calldata _version, address _logicContract, bytes calldata _upgradeData) external;
function setLogicContract(string calldata _version, address _logicContract, bytes calldata _initializationData, bytes calldata _upgradeData) external;

/**
* @notice Used to upgrade a token
Expand Down
6 changes: 3 additions & 3 deletions contracts/interfaces/ISecurityToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -733,15 +733,15 @@ interface ISecurityToken {
/**
* @return the address of the owner.
*/
function owner() external view returns (address owner);
function owner() external view returns (address ownerAddress);

function controller() external view returns(address controller);
function controller() external view returns(address controllerAddress);

function moduleRegistry() external view returns(address moduleRegistryAddress);

function securityTokenRegistry() external view returns(address securityTokenRegistryAddress);

function polyToken() external view returns(address polyToken);
function polyToken() external view returns(address polyTokenAddress);

function tokenFactory() external view returns(address tokenFactoryAddress);

Expand Down
1 change: 1 addition & 0 deletions contracts/tokens/STFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ contract STFactory is ISTFactory, Ownable {
* @notice Used to set a new token logic contract
* @param _version Version of upgraded module
* @param _logicContract Address of deployed module logic contract referenced from proxy
* @param _initializationData Initialization data that used to intialize value in the securityToken
* @param _upgradeData Data to be passed in call to upgradeToAndCall when a token upgrades its module
*/
function setLogicContract(string calldata _version, address _logicContract, bytes calldata _initializationData, bytes calldata _upgradeData) external onlyOwner {
Expand Down
2 changes: 1 addition & 1 deletion contracts/tokens/STGetter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ contract STGetter is OZStorage, SecurityTokenStorage {
* @notice Return all partitions
* @return List of partitions
*/
function partitionsOf(address /*_tokenHolder*/) external view returns (bytes32[] memory) {
function partitionsOf(address /*_tokenHolder*/) external pure returns (bytes32[] memory) {
bytes32[] memory result = new bytes32[](2);
result[0] = UNLOCKED;
result[1] = LOCKED;
Expand Down

0 comments on commit 1182699

Please sign in to comment.