mirror of https://github.com/vacp2p/minime.git
isConstant removed from readme and comments
This commit is contained in:
parent
5e8a0fdfa2
commit
1a4fc655a6
|
@ -400,7 +400,7 @@ contract MiniMeToken is Controlled {
|
||||||
|
|
||||||
|
|
||||||
/// @notice Sets if the contract allows transfers or not
|
/// @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 {
|
function enableTransfers(bool _transfersEnabled) onlyController {
|
||||||
transfersEnabled = _transfersEnabled;
|
transfersEnabled = _transfersEnabled;
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,9 +38,9 @@ To create and destroy tokens, these two functions are introduced:
|
||||||
|
|
||||||
### The Token's Controller can freeze transfers.
|
### 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
|
## Applications
|
||||||
|
|
Loading…
Reference in New Issue