ERC20
This contract is an ERC20 token.
Name
Kryll
Symbol
KRL
Decimals
18
Total Supply
49,417,348 KRL
About link
Kryll (KRL) is a cryptocurrency and operates on the Ethereum platform. Kryll has a current supply of 49,417,348 with 31,688,781 in circulation. The last known price of Kryll is 0.22571556 USD and is down -0.30 over the last 24 hours. It is currently trading on 6 active market(s) with $44,100.01 traded over the last 24 hours. More information can be found at https://kryll.io/.
Stats
Public Functions
16
Event Types
5
Code Size
19,539 bytes
Events (5) keyboard_arrow_up
Constants (8) keyboard_arrow_up
State Variables (17) keyboard_arrow_up
Functions
transferOwnership keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function transferOwnership(address newOwner) public onlyOwner {
require(newOwner != address(0));
emit OwnershipTransferred(owner, newOwner);
owner = newOwner;
}
totalSupply keyboard_arrow_up
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
allowance keyboard_arrow_up
transferFrom keyboard_arrow_up
approve keyboard_arrow_up
Modifiers help
canTransfert checks for the following:
Source Code
function approve(address _spender, uint256 _value)
public
canTransfert
returns (bool)
{
return super.approve(_spender, _value);
}
increaseApproval keyboard_arrow_up
Modifiers help
canTransfert checks for the following:
Source Code
function increaseApproval(address _spender, uint256 _addedValue)
public
canTransfert
returns (bool success)
{
return super.increaseApproval(_spender, _addedValue);
}
decreaseApproval keyboard_arrow_up
Modifiers help
canTransfert checks for the following:
Source Code
function decreaseApproval(address _spender, uint256 _subtractedValue)
public
canTransfert
returns (bool success)
{
return super.decreaseApproval(_spender, _subtractedValue);
}
allowTransfert keyboard_arrow_up
restrictTransfert keyboard_arrow_up
Parameters help
This function has no parameters.
Modifiers help
onlyOwner checks for the following:
whenTransferable checks for the following:
transferable must be true
Source Code
function restrictTransfert() public onlyOwner whenTransferable {
transferable = false;
emit UnTransferable();
}
whitelist keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function whitelist(address _address) public onlyOwner {
require(_address != 0x0);
whitelisted[_address] = true;
}
restrict keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function restrict(address _address) public onlyOwner {
require(_address != 0x0);
whitelisted[_address] = false;
}
reset keyboard_arrow_up
Parameters help
Modifiers help
onlyOwner checks for the following:
Requirements help
Source Code
function reset(
address _saleAddrss,
address _teamAddrss,
address _advisorsAddrss,
address _securityAddrss,
address _pressAddrss,
address _usrAcqAddrss,
address _bountyAddrss
) public onlyOwner {
require(!initialDistributionDone);
team_address = _teamAddrss;
advisors_address = _advisorsAddrss;
security_address = _securityAddrss;
press_address = _pressAddrss;
user_acq_address = _usrAcqAddrss;
bounty_address = _bountyAddrss;
sale_address = _saleAddrss;
}
distribute keyboard_arrow_up
Parameters help
This function has no parameters.
Modifiers help
onlyOwner checks for the following:
Requirements help
Source Code
function distribute() public onlyOwner {
// Initialisation check
require(!initialDistributionDone);
require(
sale_address != 0x0 &&
team_address != 0x0 &&
advisors_address != 0x0 &&
security_address != 0x0 &&
press_address != 0x0 &&
user_acq_address != 0 &&
bounty_address != 0x0
);
// Compute total supply
totalSupply_ = SALE
.add(TEAM)
.add(ADVISORS)
.add(SECURITY)
.add(PRESS_MARKETING)
.add(USER_ACQUISITION)
.add(BOUNTY);
// Distribute KRL Token
balances[owner] = totalSupply_;
emit Transfer(0x0, owner, totalSupply_);
transfer(team_address, TEAM);
transfer(advisors_address, ADVISORS);
transfer(security_address, SECURITY);
transfer(press_address, PRESS_MARKETING);
transfer(user_acq_address, USER_ACQUISITION);
transfer(bounty_address, BOUNTY);
transfer(sale_address, SALE);
initialDistributionDone = true;
whitelist(sale_address); // Auto whitelist sale address
whitelist(team_address); // Auto whitelist team address (vesting transfert)
}
setName keyboard_arrow_up
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.