Blockwell

BOX Token

ERC20

This contract is an ERC20 token.

Name BOX Token
Symbol BOX
Decimals 18
Total Supply 3,000,000,000 BOX

About link

ContentBox (BOX) is a cryptocurrency and operates on the Ethereum platform. ContentBox has a current supply of 3,000,000,000 with 1,718,736,327.0751143 in circulation. The last known price of ContentBox is 0.00140195 USD and is up 1.84 over the last 24 hours. It is currently trading on 4 active market(s) with $8,607.82 traded over the last 24 hours. More information can be found at https://contentbox.one/.

Stats

Public Functions 12
Event Types 4
Code Size 9,076 bytes

Events (4) 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

UpdatedLockingState Event

Parameters help
whom
string help
to
address help
value
uint256 help
date
uint256 help

TOTAL_SUPPLY Constant

uint help
3000000000e18

ALLOC_ECOSYSTEM Constant

uint help
900000000e18

ALLOC_FOUNDATION Constant

uint help
600000000e18

ALLOC_TEAM Constant

uint help
450000000e18

ALLOC_PARTNER Constant

uint help
300000000e18

ALLOC_SALE Constant

uint help
750000000e18

WALLET_ECOSYSTEM Constant

address help

WALLET_FOUNDATION Constant

address help

WALLET_TEAM Constant

address help

WALLET_PARTNER Constant

address help

WALLET_SALE Constant

address help

name Variable

string help

symbol Variable

string help

decimals Variable

uint help

totalSupply Variable

uint256 help

owner Variable

address help

contributors_locked Variable

mapping(address => uint256) help

investors_locked Variable

mapping(address => uint256) help

contributors_countdownDate Variable

mapping(address => uint256) help

investors_deliveryDate Variable

mapping(address => uint256) help

balances Variable

mapping(address => uint256) help
Internal Variable

allowed Variable

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

Functions Expand All Collapse All

transferOwnership keyboard_arrow_up

Parameters help

Name Type
newOwner
address help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transferOwnership(address newOwner) public onlyOwner {
  require(newOwner != address(0));
  OwnershipTransferred(owner, newOwner);
  owner = newOwner;
}

Parameters help

Name Type
_owner
address help

Properties

Visibility help public
Mutability help constant
Source Code
function balanceOf(address _owner) public constant returns (uint256 balance) {
  return balances[_owner];
}

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) {
  require(_to != address(0));
  require(_value > 0);

  balances[msg.sender] = balances[msg.sender].sub(_value);
  balances[_to] = balances[_to].add(_value);
  Transfer(msg.sender, _to, _value);
  return true;
}

Parameters help

Name Type
_owner
address help
_spender
address help

Properties

Visibility help public
Mutability help constant
Source Code
function allowance(address _owner, address _spender)
  public
  constant
  returns (uint256 remaining)
{
  return allowed[_owner][_spender];
}

Parameters help

Name Type
_from
address help
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transferFrom(
  address _from,
  address _to,
  uint256 _value
) public returns (bool) {
  require(_from != address(0));
  require(_to != address(0));

  uint256 _allowance = allowed[_from][msg.sender];

  balances[_from] = balances[_from].sub(_value);
  balances[_to] = balances[_to].add(_value);
  allowed[_from][msg.sender] = _allowance.sub(_value);
  Transfer(_from, _to, _value);
  return true;
}

Parameters help

Name Type
_spender
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function approve(address _spender, uint256 _value) public returns (bool) {
  allowed[msg.sender][_spender] = _value;
  Approval(msg.sender, _spender, _value);
  return true;
}

getLockedAmount_contributors keyboard_arrow_up

Parameters help

Name Type
_contributor
address help

Properties

Visibility help public
Mutability help constant
Source Code
function getLockedAmount_contributors(address _contributor)
  public
  constant
  returns (uint256)
{
  uint256 countdownDate = contributors_countdownDate[_contributor];
  uint256 lockedAmt = contributors_locked[_contributor];

  if (now <= countdownDate + (180 * 1 days)) {
    return lockedAmt;
  }
  if (now <= countdownDate + (180 * 2 days)) {
    return lockedAmt.mul(7).div(8);
  }
  if (now <= countdownDate + (180 * 3 days)) {
    return lockedAmt.mul(6).div(8);
  }
  if (now <= countdownDate + (180 * 4 days)) {
    return lockedAmt.mul(5).div(8);
  }
  if (now <= countdownDate + (180 * 5 days)) {
    return lockedAmt.mul(4).div(8);
  }
  if (now <= countdownDate + (180 * 6 days)) {
    return lockedAmt.mul(3).div(8);
  }
  if (now <= countdownDate + (180 * 7 days)) {
    return lockedAmt.mul(2).div(8);
  }
  if (now <= countdownDate + (180 * 8 days)) {
    return lockedAmt.mul(1).div(8);
  }

  return 0;
}

getLockedAmount_investors keyboard_arrow_up

Parameters help

Name Type
_investor
address help

Properties

Visibility help public
Mutability help constant
Source Code
function getLockedAmount_investors(address _investor)
  public
  constant
  returns (uint256)
{
  uint256 delieveryDate = investors_deliveryDate[_investor];
  uint256 lockedAmt = investors_locked[_investor];

  if (now <= delieveryDate) {
    return lockedAmt;
  }
  if (now <= delieveryDate + 90 days) {
    return lockedAmt.mul(2).div(3);
  }
  if (now <= delieveryDate + 180 days) {
    return lockedAmt.mul(1).div(3);
  }

  return 0;
}

setLockup_contributors keyboard_arrow_up

Parameters help

Name Type
_contributor
address help
_value
uint256 help
_countdownDate
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function setLockup_contributors(
  address _contributor,
  uint256 _value,
  uint256 _countdownDate
) public onlyOwner {
  require(_contributor != address(0));

  contributors_locked[_contributor] = _value;
  contributors_countdownDate[_contributor] = _countdownDate;
  UpdatedLockingState("contributor", _contributor, _value, _countdownDate);
}

setLockup_investors keyboard_arrow_up

Parameters help

Name Type
_investor
address help
_value
uint256 help
_delieveryDate
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function setLockup_investors(
  address _investor,
  uint256 _value,
  uint256 _delieveryDate
) public onlyOwner {
  require(_investor != address(0));

  investors_locked[_investor] = _value;
  investors_deliveryDate[_investor] = _delieveryDate;
  UpdatedLockingState("investor", _investor, _value, _delieveryDate);
}

Parameters help

Name Type
_to
address help
_value
uint help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transfer(address _to, uint256 _value)
  public
  canTransfer(msg.sender, _value)
  returns (bool success)
{
  return super.transfer(_to, _value);
}

Parameters help

Name Type
_from
address help
_to
address help
_value
uint help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transferFrom(
  address _from,
  address _to,
  uint256 _value
) public canTransfer(_from, _value) returns (bool success) {
  return super.transferFrom(_from, _to, _value);
}

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.