Blockwell

Lympo tokens

ERC20

This contract is an ERC20 token.

Name Lympo tokens
Symbol LYM
Decimals 18
Total Supply 1,000,000,000 LYM

About link description

Lympo (LYM) is a cryptocurrency and operates on the Ethereum platform. Lympo has a current supply of 999,999,999.017098 with 826,672,979.017098 in circulation. The last known price of Lympo is 0.01066292 USD and is down -5.90 over the last 24 hours. It is currently trading on 16 active market(s) with $237,292.97 traded over the last 24 hours. More information can be found at https://lympo.io/.

Stats

Public Functions 15
Event Types 3
Code Size 14,843 bytes

Library Use

Uses SafeMath for uint.

Events (3) keyboard_arrow_up

Approval Event

Parameters help
owner
address help
spender
address help
value
uint256 help

OwnershipTransferred Event

Parameters help
previousOwner
address help
newOwner
address help

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

name Constant

string help
Lympo tokens

symbol Constant

string help
LYM

decimals Constant

uint8 help
18

TOKENS_PRE_ICO Constant

uint help
265000000e18

TOKENS_ICO Constant

uint help
385000000e18

TEAM_RESERVE Constant

uint help
100000000e18

ECO_LOCK_13 Constant

uint help
73326000e18

START_TIME Constant

uint help
1519815600

LOCK_RELEASE_DATE_1_YEAR Constant

uint help

LOCK_RELEASE_DATE_2_YEARS Constant

uint help

ecosystemAddr Variable

address help

advisersAddr Variable

address help

reserveClaimed Variable

bool help

ecosystemPart1Claimed Variable

bool help

ecosystemPart2Claimed Variable

bool help

airdropAddress Variable

address help

airdropBalance Variable

uint help

_initialSupply Variable

uint help
Internal Variable

_balances Variable

mapping(address => uint256) help
Internal Variable

_allowed Variable

mapping(address => mapping(address => uint256)) help
Internal Variable

_totalSupply Variable

uint256 help
Internal Variable

_owner Variable

address help
Internal Variable

Functions Expand All Collapse All

owner keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
function owner() public view returns (address) {
  return _owner;
}

isOwner keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
function isOwner() public view returns (bool) {
  return msg.sender == _owner;
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
function totalSupply() public view returns (uint256) {
  return _totalSupply;
}

Parameters help

Name Type
owner
address help

Properties

Visibility help public
Mutability help view
Source Code
function balanceOf(address owner) public view returns (uint256) {
  return _balances[owner];
}

Parameters help

Name Type
owner
address help
spender
address help

Properties

Visibility help public
Mutability help view
Source Code
function allowance(address owner, address spender)
  public
  view
  returns (uint256)
{
  return _allowed[owner][spender];
}

Parameters help

Name Type
to
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transfer(address to, uint256 value) public returns (bool) {
  _transfer(msg.sender, to, value);
  return true;
}

Parameters help

Name Type
spender
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function approve(address spender, uint256 value) public returns (bool) {
  _approve(msg.sender, spender, value);
  return true;
}

Parameters help

Name Type
from
address help
to
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction
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;
}

Parameters help

Name Type
spender
address help
addedValue
uint256 help

Properties

Visibility help public
Mutability help transaction

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;
}

Parameters help

Name Type
spender
address help
subtractedValue
uint256 help

Properties

Visibility help public
Mutability help transaction

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;
}

claimTeamReserve keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyOwner checks for the following:
null
Source Code
function claimTeamReserve() public onlyOwner {
  require(now > LOCK_RELEASE_DATE_2_YEARS && !reserveClaimed);
  reserveClaimed = true;
  _transfer(address(this), owner(), TEAM_RESERVE);
}

claimEcoSystemReservePart1 keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function claimEcoSystemReservePart1() public {
  require(msg.sender == ecosystemAddr && !ecosystemPart1Claimed);
  require(now > LOCK_RELEASE_DATE_1_YEAR);
  ecosystemPart1Claimed = true;
  _transfer(address(this), ecosystemAddr, ECO_LOCK_13);
}

claimEcoSystemReservePart2 keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function claimEcoSystemReservePart2() public {
  require(msg.sender == ecosystemAddr && !ecosystemPart2Claimed);
  require(now > LOCK_RELEASE_DATE_2_YEARS);
  ecosystemPart2Claimed = true;
  _transfer(address(this), ecosystemAddr, ECO_LOCK_13);
}

recoverToken keyboard_arrow_up

Parameters help

Name Type
_token
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyOwner checks for the following:
null
Source Code
function recoverToken(address _token) public onlyOwner {
  require(now > LOCK_RELEASE_DATE_2_YEARS + 30 days);
  IERC20 token = IERC20(_token);
  uint256 balance = token.balanceOf(address(this));
  token.transfer(msg.sender, balance);
}

airdrop keyboard_arrow_up

Parameters help

Name Type
addresses
address[] help
values
uint[] help

Properties

Visibility help public
Mutability help transaction
Source Code
function airdrop(address[] memory addresses, uint256[] memory values) public {
  require(msg.sender == airdropAddress);

  for (uint256 i = 0; i < addresses.length; i++) {
    _transfer(msg.sender, addresses[i], values[i]);
  }
}

Internal Functions Expand All Collapse All

Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.

internal ERC20._transfer keyboard_arrow_up

Parameters help

Name Type
from
address help
to
address help
value
uint256 help

Properties

Visibility help internal
Mutability help transaction

Requirements help

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 ERC20._mint keyboard_arrow_up

Parameters help

Name Type
account
address help
value
uint256 help

Properties

Visibility help internal
Mutability help transaction

Requirements help

Source Code
function _mint(address account, uint256 value) internal {
  require(account != address(0));

  _totalSupply = _totalSupply.add(value);
  _balances[account] = _balances[account].add(value);
  emit Transfer(address(0), account, value);
}

internal ERC20._approve keyboard_arrow_up

Parameters help

Name Type
owner
address help
spender
address help
value
uint256 help

Properties

Visibility help internal
Mutability help transaction

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 Ownable.constructor keyboard_arrow_up

Parameters help

Name Type
owner
address help

Properties

Visibility help internal
Mutability help transaction
Source Code
constructor(address owner) internal {
  _owner = owner;
  emit OwnershipTransferred(address(0), _owner);
}