diff --git a/contracts/core/SetToken.sol b/contracts/core/SetToken.sol index ba2586a6b..8eef33d10 100644 --- a/contracts/core/SetToken.sol +++ b/contracts/core/SetToken.sol @@ -236,10 +236,10 @@ contract SetToken is } /* - * Checks to make sure token is component of Set + * Validates address is member of Set's components * * @param _tokenAddress Address of token being checked - * @return bool True if token is component of Set + * @return bool Whether token is member of Set's components */ function tokenIsComponent( address _tokenAddress diff --git a/contracts/core/interfaces/ISetToken.sol b/contracts/core/interfaces/ISetToken.sol index 004e4223e..0577f4683 100644 --- a/contracts/core/interfaces/ISetToken.sol +++ b/contracts/core/interfaces/ISetToken.sol @@ -84,7 +84,8 @@ interface ISetToken { external; /** - * @dev Transfer token for a specified address + * Transfer token for a specified address + * * @param to The address to transfer to. * @param value The amount to be transferred. */ @@ -93,4 +94,17 @@ interface ISetToken { uint256 value ) public; + + /* + * Validates address is member of Set's components + * + * @param _tokenAddress Address of token being checked + * @return bool Whether token is member of Set's components + */ + function tokenIsComponent( + address _tokenAddress + ) + public + view + returns (bool); }