ERC20
This contract is an ERC20 token.
Name
Kin
Symbol
KIN
Decimals
18
Total Supply
10,000,000,000,000 KIN
About
Stats
Public Functions
10
Event Types
7
Code Size
30,431 bytes
Library Use
Uses SafeMath for uint256.
Events (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) onlyOwner returns (bool success) {
return ERC20(_tokenAddress).transfer(owner, _amount);
}
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Source Code
function transfer(address _to, uint256 _value) public onlyAfterMinting returns (bool) {
return super.transfer(_to, _value);
}
transferFrom keyboard_arrow_up
Source Code
function transferFrom(address _from, address _to, uint256 _value) public onlyAfterMinting returns (bool) {
return super.transferFrom(_from, _to, _value);
}
approve keyboard_arrow_up
Source Code
function approve(address _spender, uint256 _value) public onlyAfterMinting returns (bool) {
return super.approve(_spender, _value);
}
allowance keyboard_arrow_up
mint keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
onlyDuringMinting checks for the following:
isMinting must be true
Source Code
function mint(address _to, uint256 _amount) external onlyOwner onlyDuringMinting {
totalSupply = totalSupply.add(_amount);
balances[_to] = balances[_to].add(_amount);
Transfer(0x0, _to, _amount);
}