From 66879f5503a438515ec93b4e9d95de5ae1762264 Mon Sep 17 00:00:00 2001 From: Satyam Agrawal Date: Fri, 31 May 2019 12:49:03 +0530 Subject: [PATCH] cleanup (#686) --- contracts/tokens/SecurityToken.sol | 8 -------- 1 file changed, 8 deletions(-) diff --git a/contracts/tokens/SecurityToken.sol b/contracts/tokens/SecurityToken.sol index fcb76e528..20878638a 100644 --- a/contracts/tokens/SecurityToken.sol +++ b/contracts/tokens/SecurityToken.sol @@ -164,14 +164,6 @@ contract SecurityToken is ERC20, ReentrancyGuard, SecurityTokenStorage, IERC1594 require(isModule(msg.sender, _type)); } - /** - * @dev Throws if called by any account other than the STFactory. - */ - modifier onlyTokenFactory() { - require(msg.sender == tokenFactory); - _; - } - modifier checkGranularity(uint256 _value) { require(_value % granularity == 0, "Invalid granularity"); _;