diff --git a/contracts/TokenDelegator.sol b/contracts/TokenDelegator.sol index 20c679f..dcabfb0 100644 --- a/contracts/TokenDelegator.sol +++ b/contracts/TokenDelegator.sol @@ -9,7 +9,6 @@ contract InstaTokenDelegator is TokenDelegatorStorage, TokenEvents { address implementation_, uint initialSupply_, uint mintingAllowedAfter_, - uint changeImplementationAfter_, bool transferPaused_ ) { require(implementation_ != address(0), "TokenDelegator::constructor invalid address"); @@ -26,8 +25,6 @@ contract InstaTokenDelegator is TokenDelegatorStorage, TokenEvents { implementation = implementation_; - changeImplementationAfter = changeImplementationAfter_; - emit NewImplementation(address(0), implementation); } @@ -37,7 +34,6 @@ contract InstaTokenDelegator is TokenDelegatorStorage, TokenEvents { */ function _setImplementation(address implementation_) external isMaster { require(implementation_ != address(0), "TokenDelegator::_setImplementation: invalid implementation address"); - require(block.timestamp >= changeImplementationAfter, "TokenDelegator::_setImplementation: can change implementation changeImplementationAfter time only"); address oldImplementation = implementation; implementation = implementation_; diff --git a/contracts/TokenInterfaces.sol b/contracts/TokenInterfaces.sol index 8d8ae50..0c50c03 100644 --- a/contracts/TokenInterfaces.sol +++ b/contracts/TokenInterfaces.sol @@ -39,14 +39,12 @@ contract TokenEvents { } contract TokenDelegatorStorage { + /// @notice InstaIndex contract IndexInterface constant public instaIndex = IndexInterface(0x2971AdFa57b20E5a416aE5a708A8655A9c74f723); /// @notice Active brains of Token address public implementation; - /// @notice The timestamp after which implementation maybe change - uint public changeImplementationAfter; - /// @notice EIP-20 token name for this token string public name = ""; // TODO - Replace it