diff --git a/python/CHANGELOG b/python/CHANGELOG index aa8ceb3..95b2a5a 100644 --- a/python/CHANGELOG +++ b/python/CHANGELOG @@ -1,4 +1,6 @@ +- 0.4.1 + * Remove solidity compile warnings - 0.4.0 - * upgrade deps + * Upgrade deps - 0.2.6 * Add writer cli tool diff --git a/python/setup.cfg b/python/setup.cfg index 41206c1..22c28a7 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = eth-token-index -version = 0.4.0 +version = 0.4.1 description = Token symbol to address unique index author = Louis Holbrook author_email = dev@holbrook.no diff --git a/solidity/TokenUniqueSymbolIndex.sol b/solidity/TokenUniqueSymbolIndex.sol index 025165e..6abb34c 100644 --- a/solidity/TokenUniqueSymbolIndex.sol +++ b/solidity/TokenUniqueSymbolIndex.sol @@ -15,7 +15,7 @@ contract TokenUniqueSymbolIndex { event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); // EIP173 event AddressAdded(address indexed addedAccount, uint256 indexed accountIndex); // AccountsIndex - constructor() public { + constructor() { owner = msg.sender; tokens.push(address(0)); } @@ -70,6 +70,7 @@ contract TokenUniqueSymbolIndex { function transferOwnership(address _newOwner) public returns (bool) { require(msg.sender == owner); newOwner = _newOwner; + return true; } // Implements OwnedAccepter @@ -81,6 +82,7 @@ contract TokenUniqueSymbolIndex { owner = newOwner; newOwner = address(0); emit OwnershipTransferred(oldOwner, owner); + return true; } // Implements Writer