ERC20
This contract is an ERC20 token.
Name
FluzFluz
Symbol
FLUZ
Decimals
18
Total Supply
204,780,000 FLUZ
About
Stats
Public Functions
8
Event Types
2
Code Size
5,199 bytes
Events (2) keyboard_arrow_up
Functions
transfer keyboard_arrow_up
Modifiers help
canTransfer checks for the following:
One or more of the following:
-transfersAreLocked must not be true - OR
founder
must be equal to
the sender's address
Source Code
function transfer(address _to, uint256 _value) public canTransfer returns (bool success) {
if (balances[msg.sender] < _value) {
return false;
}
balances[msg.sender] -= _value;
balances[_to] += _value;
Transfer(msg.sender, _to, _value);
return true;
}
transferFrom keyboard_arrow_up
Modifiers help
canTransfer checks for the following:
One or more of the following:
-transfersAreLocked must not be true - OR
founder
must be equal to
the sender's address
Source Code
function transferFrom(address _from, address _to, uint256 _value) public canTransfer returns (bool success) {
if (balances[_from] < _value || allowed[_from][msg.sender] < _value) {
return false;
}
allowed[_from][msg.sender] -= _value;
balances[_from] -= _value;
balances[_to] += _value;
Transfer(_from, _to, _value);
return true;
}
balanceOf keyboard_arrow_up
approve keyboard_arrow_up
Source Code
function approve(address _spender, uint256 _value) public returns (bool success) {
allowed[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
return true;
}
allowance keyboard_arrow_up
launch keyboard_arrow_up
changeTransferLock keyboard_arrow_up
Modifiers help
onlyFounder checks for the following:
Source Code
function changeTransferLock(bool locked) public onlyFounder {
transfersAreLocked = locked;
}