Blockwell

Everex

ERC20

This contract is an ERC20 token.

Name Everex
Symbol EVX
Decimals 4
Total Supply 25,000,000 EVX

About link description

Everex (EVX) is a cryptocurrency and operates on the Ethereum platform. Everex has a current supply of 25,000,000 with 22,700,000 in circulation. The last known price of Everex is 0.32725363 USD and is up 6.18 over the last 24 hours. It is currently trading on 12 active market(s) with $250,626.10 traded over the last 24 hours. More information can be found at https://www.everex.io/.

Stats

Public Functions 19
Event Types 5
Code Size 13,824 bytes

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

Pause Event

Parameters help

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

Unpause Event

Parameters help

version Constant

string help
1.1

name Constant

string help
Everex

symbol Constant

string help
EVX

decimals Constant

uint256 help
4

totalSupply Variable

uint256 help

paused Variable

bool help

owner Variable

address help

moderator Variable

address help

newModerator Variable

address help

newOwner Variable

address help

frozen Variable

mapping(address => bool) help
Internal Variable

allowed Variable

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

balances Variable

mapping(address => uint256) help
Internal Variable

Functions Expand All Collapse All

Parameters help

Name Type
otherOwner
address help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transferOwnership(address otherOwner) onlyOwner {
  require(otherOwner != address(0));
  newOwner = otherOwner;
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function approveOwnership() {
  require(msg.sender == newOwner);
  OwnershipTransferred(owner, newOwner);
  owner = newOwner;
  newOwner = address(0);
}

Parameters help

Name Type
otherModerator
address help

Properties

Visibility help public
Mutability help transaction
Source Code
function transferModeratorship(address otherModerator) onlyModerator {
  newModerator = otherModerator;
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function approveModeratorship() {
  require(msg.sender == newModerator);
  moderator = newModerator;
  newModerator = address(0);
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function removeModeratorship() onlyOwner {
  moderator = address(0);
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help constant
Source Code
function hasModerator() constant returns (bool) {
  return (moderator != address(0));
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyOwnerOrModerator checks for the following:
One or more of the following:
Source Code
function pause() onlyOwnerOrModerator whenNotPaused {
  paused = true;
  Pause();
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyOwnerOrModerator checks for the following:
One or more of the following:
Source Code
function unpause() onlyOwnerOrModerator whenPaused {
  paused = false;
  Unpause();
}

Parameters help

Name Type
_owner
address help

Properties

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

Parameters help

Name Type
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
function transfer(address _to, uint256 _value) whenNotPaused returns (bool) {
  require(!isFrozen(msg.sender));
  require(!isFrozen(_to));
  return super.transfer(_to, _value);
}

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)
  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

Modifiers help

Source Code
function transferFrom(
  address _from,
  address _to,
  uint256 _value
) whenNotPaused returns (bool) {
  require(!isFrozen(msg.sender));
  require(!isFrozen(_from));
  require(!isFrozen(_to));
  return super.transferFrom(_from, _to, _value);
}

Parameters help

Name Type
_spender
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

One or more of the following:
Source Code
function approve(address _spender, uint256 _value) returns (bool) {
  // To change the approve amount you first have to reduce the addresses`
  //  allowance to zero by calling `approve(_spender, 0)` if it is not
  //  already 0 to mitigate the race condition described here:
  //  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
  require((_value == 0) || (allowed[msg.sender][_spender] == 0));

  allowed[msg.sender][_spender] = _value;
  Approval(msg.sender, _spender, _value);
  return true;
}

Parameters help

Name Type
_spender
address help
_addedValue
uint help

Properties

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

Parameters help

Name Type
_spender
address help
_subtractedValue
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function decreaseApproval(address _spender, uint256 _subtractedValue)
  returns (bool success)
{
  uint256 oldValue = allowed[msg.sender][_spender];
  if (_subtractedValue > oldValue) {
    allowed[msg.sender][_spender] = 0;
  } else {
    allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
  }
  Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
  return true;
}

Parameters help

Name Type
_addr
address help

Properties

Visibility help public
Mutability help constant
Source Code
function isFrozen(address _addr) constant returns (bool) {
  return frozen[_addr] && hasModerator();
}

Parameters help

Name Type
_addr
address help

Properties

Visibility help public
Mutability help transaction
Source Code
function freeze(address _addr) onlyModerator {
  frozen[_addr] = true;
}

Parameters help

Name Type
_addr
address help

Properties

Visibility help public
Mutability help transaction
Source Code
function unfreeze(address _addr) onlyModerator {
  frozen[_addr] = false;
}

Parameters help

Name Type
_from
address help
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function moderatorTransferFrom(
  address _from,
  address _to,
  uint256 _value
) onlyModerator returns (bool) {
  balances[_to] = balances[_to].add(_value);
  balances[_from] = balances[_from].sub(_value);
  Transfer(_from, _to, _value);
  return true;
}

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.