Blockwell

XMAX

ERC20

This contract is an ERC20 token.

Name XMAX
Symbol XMX
Decimals 8
Total Supply 30,000,000,000 XMX

About link

XMax (XMX) is a cryptocurrency and operates on the Ethereum platform. XMax has a current supply of 30,000,000,000 with 12,880,911,811.06187 in circulation. The last known price of XMax is 0.00024678 USD and is up 0.18 over the last 24 hours. It is currently trading on 9 active market(s) with $134,667.46 traded over the last 24 hours. More information can be found at https://www.xmx.com.

Stats

Public Functions 13
Event Types 6
Code Size 7,753 bytes

Events (6) keyboard_arrow_up

Approval Event

Parameters help
owner
address help
agent
address help
value
uint256 help

Freezed Event

Parameters help
freezedAddr
address help

Mint Event

Parameters help
to
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

UnFreezed Event

Parameters help
unfreezedAddr
address help

name Variable

string help

symbol Variable

string help

decimals Variable

uint8 help

name Variable

string help

symbol Variable

string help

decimals Variable

uint8 help

owner Variable

address help

_allowances Variable

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

_totalSupply Variable

uint256 help
Internal Variable

_balances Variable

mapping(address => uint256) help
Internal Variable

_freezeList Variable

mapping(address => bool) 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));
  emit OwnershipTransferred(owner, newOwner);
  owner = newOwner;
}

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
addr
address help

Properties

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

Parameters help

Name Type
to
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function transfer(address to, uint256 value)
  public
  whenNotFreezed
  returns (bool)
{
  return super.transfer(to, value);
}

Parameters help

Name Type
owner
address help
agent
address help

Properties

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

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 whenNotFreezed returns (bool) {
  return super.transferFrom(from, to, value);
}

Parameters help

Name Type
agent
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function approve(address agent, uint256 value)
  public
  whenNotFreezed
  returns (bool)
{
  return super.approve(agent, value);
}

increaseApproval keyboard_arrow_up

Parameters help

Name Type
agent
address help
value
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function increaseApproval(address agent, uint256 value)
  public
  whenNotFreezed
  returns (bool success)
{
  return super.increaseApproval(agent, value);
}

decreaseApproval keyboard_arrow_up

Parameters help

Name Type
agent
address help
value
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function decreaseApproval(address agent, uint256 value)
  public
  whenNotFreezed
  returns (bool success)
{
  return super.decreaseApproval(agent, value);
}

mint keyboard_arrow_up

Parameters help

Name Type
addr
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function mint(address addr, uint256 value) public onlyOwner returns (bool) {
  _totalSupply = _totalSupply.add(value);
  _balances[addr] = _balances[addr].add(value);

  emit Mint(addr, value);
  emit Transfer(address(0), addr, value);

  return true;
}

freeze keyboard_arrow_up

Parameters help

Name Type
addr
address help

Properties

Visibility help public
Mutability help transaction
Source Code
function freeze(address addr) public onlyOwner whenNotFreezed returns (bool) {
  require(true != _freezeList[addr]);

  _freezeList[addr] = true;

  emit Freezed(addr);
  return true;
}

unfreeze keyboard_arrow_up

Parameters help

Name Type
addr
address help

Properties

Visibility help public
Mutability help transaction
Source Code
function unfreeze(address addr) public onlyOwner whenFreezed returns (bool) {
  require(true == _freezeList[addr]);

  _freezeList[addr] = false;

  emit UnFreezed(addr);
  return true;
}

isFreezing keyboard_arrow_up

Parameters help

Name Type
addr
address help

Properties

Visibility help public
Mutability help view
Source Code
function isFreezing(address addr) public view returns (bool) {
  if (true == _freezeList[addr]) {
    return true;
  } else {
    return false;
  }
}

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.