ERC20
This contract is an ERC20 token.
Name
LCX
Symbol
LCX
Decimals
18
Total Supply
950,000,000 LCX
About link description
LCX (LCX) is a cryptocurrency and operates on the Ethereum platform. LCX has a current supply of 950,000,000 with 654,274,878.0997604 in circulation. The last known price of LCX is 0.02254835 USD and is up 9.70 over the last 24 hours. It is currently trading on 48 active market(s) with $288,077.44 traded over the last 24 hours. More information can be found at https://www.lcx.com.
Stats
Public Functions
18
Event Types
3
Code Size
20,095 bytes
Library Use
Uses SafeMath for uint256.
State Variables (5) keyboard_arrow_up
Functions
owner keyboard_arrow_up
isOwner keyboard_arrow_up
renounceOwnership keyboard_arrow_up
transferOwnership keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
null
Source Code
function transferOwnership(address newOwner) public onlyOwner {
_transferOwnership(newOwner);
}
totalSupply keyboard_arrow_up
balanceOf keyboard_arrow_up
allowance keyboard_arrow_up
transfer keyboard_arrow_up
Source Code
function transfer(address to, uint256 value) public returns (bool) {
_transfer(msg.sender, to, value);
return true;
}
approve keyboard_arrow_up
Requirements help
Source Code
function approve(address spender, uint256 value) public returns (bool) {
_approve(msg.sender, spender, value);
return true;
}
transferFrom keyboard_arrow_up
Requirements help
Source Code
function transferFrom(
address from,
address to,
uint256 value
) public returns (bool) {
_transfer(from, to, value);
_approve(from, msg.sender, _allowed[from][msg.sender].sub(value));
return true;
}
increaseAllowance keyboard_arrow_up
Requirements help
Source Code
function increaseAllowance(address spender, uint256 addedValue)
public
returns (bool)
{
_approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue));
return true;
}
decreaseAllowance keyboard_arrow_up
Requirements help
Source Code
function decreaseAllowance(address spender, uint256 subtractedValue)
public
returns (bool)
{
_approve(
msg.sender,
spender,
_allowed[msg.sender][spender].sub(subtractedValue)
);
return true;
}
burn keyboard_arrow_up
burnFrom keyboard_arrow_up
Requirements help
Source Code
function burnFrom(address from, uint256 value) public {
_burnFrom(from, value);
}
setTokenVestingAddress keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
null
Source Code
function setTokenVestingAddress(TokenVesting tokenVestingAddress)
public
onlyOwner
returns (bool)
{
vestingContractAddress = tokenVestingAddress;
return true;
}
setDefaultVestingToken keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
null
Requirements help
UNKNOWN VALUE
must not be equal to
UNKNOWN VALUE
Source Code
function setDefaultVestingToken(address account, uint256 amount)
public
onlyOwner
returns (bool)
{
vestingContractAddress.setDefaultVesting(account, amount);
_transfer(msg.sender, address(vestingContractAddress), amount);
return true;
}
setVestingToken keyboard_arrow_up
Parameters help
Modifiers help
onlyOwner checks for the following:
null
Requirements help
UNKNOWN VALUE
must not be equal to
UNKNOWN VALUE
Source Code
function setVestingToken(
address account,
uint256 amount,
uint256 cliff,
uint256 duration,
uint256 startAt
) public onlyOwner returns (bool) {
vestingContractAddress.setVesting(account, amount, cliff, duration, startAt);
_transfer(msg.sender, address(vestingContractAddress), amount);
return true;
}
batchTransfer keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
null
Requirements help
Source Code
function batchTransfer(address[] memory accounts, uint256[] memory values)
public
onlyOwner
returns (bool)
{
require(accounts.length == values.length);
for (uint256 i = 0; i < accounts.length; i++) {
_transfer(msg.sender, accounts[i], values[i]);
}
return true;
}
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 lcxToken._transfer keyboard_arrow_up
Requirements help
UNKNOWN VALUE
must not be equal to
UNKNOWN VALUE
Source Code
function _transfer(
address from,
address to,
uint256 value
) internal {
require(to != address(0));
_balances[from] = _balances[from].sub(value);
_balances[to] = _balances[to].add(value);
emit Transfer(from, to, value);
}
internal lcxToken._burn keyboard_arrow_up
Requirements help
Source Code
function _burn(address account, uint256 value) internal {
require(account != address(0));
_totalSupply = _totalSupply.sub(value);
_balances[account] = _balances[account].sub(value);
emit Transfer(account, address(0), value);
}
internal lcxToken._approve keyboard_arrow_up
Requirements help
Source Code
function _approve(
address owner,
address spender,
uint256 value
) internal {
require(spender != address(0));
require(owner != address(0));
_allowed[owner][spender] = value;
emit Approval(owner, spender, value);
}
internal lcxToken._burnFrom keyboard_arrow_up
Requirements help
Source Code
function _burnFrom(address account, uint256 value) internal {
_burn(account, value);
_approve(account, msg.sender, _allowed[account][msg.sender].sub(value));
}
internal Ownable.constructor keyboard_arrow_up
internal Ownable._transferOwnership keyboard_arrow_up
Source Code
function _transferOwnership(address newOwner) internal {
require(newOwner != address(0));
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}