isConstant removed from readme and comments

This commit is contained in:
Jordi Baylina 2016-11-13 06:59:54 +01:00
parent 5e8a0fdfa2
commit 1a4fc655a6
2 changed files with 5 additions and 5 deletions

View File

@ -400,7 +400,7 @@ contract MiniMeToken is Controlled {
/// @notice Sets if the contract allows transfers or not
/// @param _transfersEnabled true to don't allow transfers false to allow transfer
/// @param _transfersEnabled false to don't allow transfers true to allow transfer
function enableTransfers(bool _transfersEnabled) onlyController {
transfersEnabled = _transfersEnabled;
}

View File

@ -38,9 +38,9 @@ To create and destroy tokens, these two functions are introduced:
### The Token's Controller can freeze transfers.
If isConstant == True, tokens cannot be transfered, however they can still be created or destroyed by the controller. The controller can also toggle this flag.
If transfersEnabled == false, tokens cannot be transfered by the users, however they can still be created or destroyed or transfered by the controller. The controller can also toggle this flag.
function setConstant(bool _isConstant) onlyOwner // Allows tokens to be transfered if false or frozen if true
function enableTransfers(bool _transfersEnabled) onlyOwner // Allows tokens to be transfered if true or frozen if false
## Applications