Blockwell

Molecular Future

ERC20

This contract is an ERC20 token.

Name Molecular Future
Symbol MOF
Decimals 16
Total Supply 100,000,000 MOF

About link description

Molecular Future (MOF) is a cryptocurrency and operates on the Ethereum platform. Molecular Future has a current supply of 100,000,000 with 85,481,224.8 in circulation. The last known price of Molecular Future is 0.72031109 USD and is down -0.46 over the last 24 hours. It is currently trading on 8 active market(s) with $10,078,075.42 traded over the last 24 hours. More information can be found at http://www.molecular.cc/.

Stats

Public Functions 10
Event Types 2
Code Size 3,527 bytes

Events (2) keyboard_arrow_up

Approval Event

Parameters help
_owner
address help
_spender
address help
_value
uint256 help

Transfer Event

Parameters help
_from
address help
_to
address help
_value
uint256 help

standard Constant

string help
0.1

name Variable

string help

symbol Variable

string help

decimals Variable

uint8 help

totalSupply Variable

uint256 help

owner Variable

address help

balanceOf Variable

mapping(address => uint256) help

allowance Variable

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

Functions Expand All Collapse All

setOwner keyboard_arrow_up

Parameters help

Name Type
_owner
address help

Properties

Visibility help public
Mutability help transaction
Source Code
function setOwner(address _owner) public onlyOwner {
  owner = _owner;
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help pure
Source Code
function name() public pure returns (string _name) {
  _name;
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help pure
Source Code
function symbol() public pure returns (string _symbol) {
  _symbol;
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help pure
Source Code
function decimals() public pure returns (uint8 _decimals) {
  _decimals;
}

Parameters help

This function has no parameters.

Properties

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

Parameters help

Name Type
_owner
address help

Properties

Visibility help public
Mutability help pure
Source Code
function balanceOf(address _owner) public pure returns (uint256 balance) {
  _owner;
  balance;
}

Parameters help

Name Type
_owner
address help
_spender
address help

Properties

Visibility help public
Mutability help pure
Source Code
function allowance(address _owner, address _spender)
  public
  pure
  returns (uint256 remaining)
{
  _owner;
  _spender;
  remaining;
}

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)
  public
  validAddress(_to)
  returns (bool success)
{
  if (balanceOf[msg.sender] >= _value && _value > 0) {
    balanceOf[msg.sender] = sub(balanceOf[msg.sender], _value);
    balanceOf[_to] = add(balanceOf[_to], _value);
    Transfer(msg.sender, _to, _value);
    return true;
  } else {
    return false;
  }
}

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
) public validAddress(_from) validAddress(_to) returns (bool success) {
  if (balanceOf[_from] >= _value && _value > 0) {
    allowance[_from][msg.sender] = sub(allowance[_from][msg.sender], _value);
    balanceOf[_from] = sub(balanceOf[_from], _value);
    balanceOf[_to] = add(balanceOf[_to], _value);
    Transfer(_from, _to, _value);
    return true;
  } else {
    return false;
  }
}

Parameters help

Name Type
_spender
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
function approve(address _spender, uint256 _value)
  public
  validAddress(_spender)
  returns (bool success)
{
  require(_value == 0 || allowance[msg.sender][_spender] == 0);

  allowance[msg.sender][_spender] = _value;
  Approval(msg.sender, _spender, _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.

internal SafeMath.add keyboard_arrow_up

Parameters help

Name Type
_a
uint256 help
_b
uint256 help

Properties

Visibility help internal
Mutability help pure

Requirements help

Source Code
function add(uint256 _a, uint256 _b) internal pure returns (uint256) {
  uint256 c = _a + _b;
  assert(c >= _a);
  return c;
}

internal SafeMath.sub keyboard_arrow_up

Parameters help

Name Type
_a
uint256 help
_b
uint256 help

Properties

Visibility help internal
Mutability help pure

Requirements help

Source Code
function sub(uint256 _a, uint256 _b) internal pure returns (uint256) {
  assert(_a >= _b);
  return _a - _b;
}

internal SafeMath.mul keyboard_arrow_up

Parameters help

Name Type
_a
uint256 help
_b
uint256 help

Properties

Visibility help internal
Mutability help pure
Source Code
function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {
  uint256 c = _a * _b;
  assert(_a == 0 || c / _a == _b);
  return c;
}