Colu Local Network
ERC20
This contract is an ERC20 token.
Name
Colu Local Network
Symbol
CLN
Decimals
18
Total Supply
1,540,701,334 CLN
About
Stats
Public Functions
13
Event Types
8
Code Size
12,757 bytes
Library Use
Uses SafeMath for uint256.
Events (8) keyboard_arrow_up
State Variables (7) keyboard_arrow_up
Functions
requestOwnershipTransfer keyboard_arrow_up
acceptOwnership keyboard_arrow_up
Parameters help
This function has no parameters.
Modifiers help
onlyOwnerCandidate checks for the following:
Source Code
function acceptOwnership() external onlyOwnerCandidate {
address previousOwner = owner;
owner = newOwnerCandidate;
newOwnerCandidate = address(0);
OwnershipTransferred(previousOwner, owner);
}
transferAnyERC20Token keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function transferAnyERC20Token(address _tokenAddress, uint256 _amount)
public
onlyOwner
returns (bool success)
{
return ERC20(_tokenAddress).transfer(owner, _amount);
}
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
transferFrom keyboard_arrow_up
approve keyboard_arrow_up
allowance keyboard_arrow_up
approve keyboard_arrow_up
Modifiers help
transferable checks for the following:
One or more of the following:
-isTransferable must be true - OR
owner
must be equal to
the sender's address
Source Code
function approve(address _spender, uint256 _value)
public
transferable
returns (bool)
{
return super.approve(_spender, _value);
}
transfer keyboard_arrow_up
Modifiers help
transferable checks for the following:
One or more of the following:
-isTransferable must be true - OR
owner
must be equal to
the sender's address
Source Code
function transfer(address _to, uint256 _value)
public
transferable
returns (bool)
{
return super.transfer(_to, _value);
}
transferFrom keyboard_arrow_up
Modifiers help
transferable checks for the following:
One or more of the following:
-isTransferable must be true - OR
owner
must be equal to
the sender's address
Source Code
function transferFrom(
address _from,
address _to,
uint256 _value
) public transferable returns (bool) {
return super.transferFrom(_from, _to, _value);
}
transferAndCall keyboard_arrow_up
Modifiers help
transferable checks for the following:
One or more of the following:
-isTransferable must be true - OR
owner
must be equal to
the sender's address
Source Code
function transferAndCall(
address _to,
uint256 _value,
bytes _data
) public transferable returns (bool success) {
return super.transferAndCall(_to, _value, _data);
}
Internal Functions
Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.
internal Standard677Token.contractFallback keyboard_arrow_up
Source Code
function contractFallback(
address _to,
uint256 _value,
bytes _data
) private returns (bool) {
ERC223Receiver receiver = ERC223Receiver(_to);
require(receiver.tokenFallback(msg.sender, _value, _data));
return true;
}
internal Standard677Token.isContract keyboard_arrow_up
Source Code
function isContract(address _addr) private constant returns (bool is_contract) {
// retrieve the size of the code on target address, this needs assembly
uint256 length;
assembly {
length := extcodesize(_addr)
}
return length > 0;
}