ETH Price: $3,348.73 (+0.42%)

Token

EMAN Token (EMAN)
 

Overview

Max Total Supply

7,700,000,000 EMAN

Holders

4,502

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
2.8888 EMAN

Value
$0.00
0x575dfbaa37554c15b31ffdecc7ff517ee17e9a33
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
EMANToken

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2019-03-03
*/

pragma solidity ^0.4.24;

/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
  uint256 public totalSupply;
  uint256 public maxEMAN;
  function balanceOf(address who) public view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}
/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;
  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  constructor() public {
    owner = msg.sender;
  }
  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }
  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    require(newOwner != address(0));
    emit OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }
}

/**
 * @title Basic token
 * @dev Basic version of StandardToken, with no allowances.
 */
contract BasicToken is ERC20Basic,Ownable {
  using SafeMath for uint256;
  bool public transfersEnabled;
  mapping(address => uint256) balances;
  mapping (address => mapping (address => uint256)) internal allowed;

  /**
  * @dev transfer token for a specified address
  * @param _to The address to transfer to.
  * @param _value The amount to be transferred.
  */
  function transfer(address _to, uint256 _value) public  returns (bool) {
    require(transfersEnabled);
    require(_to != address(0));
    require(_value >= 0);
    require(_value <= balances[msg.sender]);

    // SafeMath.sub will throw if there is not enough balance.
    balances[msg.sender] = balances[msg.sender].sub(_value);
    balances[_to] = balances[_to].add(_value);
    emit Transfer(msg.sender, _to, _value);
    return true;
  }

  /**
  * @dev Gets the balance of the specified address.
  * @param _owner The address to query the the balance of.
  * @return An uint256 representing the amount owned by the passed address.
  */
  function balanceOf(address _owner) public view returns (uint256 balance) {
    return balances[_owner];
  }

  /**
   * @dev Transfer tokens from one address to another
   * @param _from address The address which you want to send tokens from
   * @param _to address The address which you want to transfer to
   * @param _value uint256 the amount of tokens to be transferred
   */
  function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
    require(transfersEnabled);
    require(_to != address(0));
    require(_value <= balances[_from]);
    require(_value <= allowed[_from][msg.sender]);

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

  /**
   * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
   *
   * Beware that changing an allowance with this method brings the risk that someone may use both the old
   * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
   * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
   * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) public returns (bool) {
    allowed[msg.sender][_spender] = _value;
    emit Approval(msg.sender, _spender, _value);
    return true;
  }

  /**
   * @dev Function to check the amount of tokens that an owner allowed to a spender.
   * @param _owner address The address which owns the funds.
   * @param _spender address The address which will spend the funds.
   * @return A uint256 specifying the amount of tokens still available for the spender.
   */
  function allowance(address _owner, address _spender) public view returns (uint256) {
    return allowed[_owner][_spender];
  }

  function enableTransfers(bool _transfersEnabled) public onlyOwner {
      transfersEnabled = _transfersEnabled;
  }
}

contract DetailedERC20 is  BasicToken {
  string public name;
  string public symbol;
  uint8 public decimals;
  constructor(uint256 _totalSupply,string _name, string _symbol, uint8 _decimals) public {
    name = _name;
    symbol = _symbol;
    decimals = _decimals;
    totalSupply = _totalSupply;
    maxEMAN = _totalSupply;
    balances[owner] = _totalSupply;
  }
}

/**
 * @title Burnable Token
 * @dev Token that can be irreversibly burned (destroyed).
 */
contract BurnableToken is BasicToken {

    event Burn(address indexed burner, uint256 value);

    /**
     * @dev Burns a specific amount of tokens.
     * @param _value The amount of token to be burned.
     */
    function burn(uint256 _value) public {
        require(transfersEnabled);
        require(_value <= balances[msg.sender]);
        // no need to require value <= totalSupply, since that would imply the
        // sender's balance is greater than the totalSupply, which *should* be an assertion failure
        address burner = msg.sender;
        balances[burner] = balances[burner].sub(_value);
        totalSupply = totalSupply.sub(_value);
        emit Burn(burner, _value);
    }
}

contract EMANToken is  BurnableToken, DetailedERC20 {
    uint8 constant DECIMALS = 18;
    string constant NAME = "EMAN Token";
    string constant SYM = "EMAN";
    uint256 constant MAXEMAN = 77 * 10**8 * 10**18;
    constructor() DetailedERC20 (MAXEMAN,NAME, SYM, DECIMALS) public {}
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"transfersEnabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_transfersEnabled","type":"bool"}],"name":"enableTransfers","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"maxEMAN","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

608060405234801561001057600080fd5b50604080518082018252600a81527f454d414e20546f6b656e0000000000000000000000000000000000000000000060208083019182528351808501909452600484527f454d414e000000000000000000000000000000000000000000000000000000009084015260028054600160a060020a0319163317905581516b18e14a6c682bdb6e9400000093916012916100aa916005916100fc565b5081516100be9060069060208501906100fc565b506007805460ff191660ff92909216919091179055505060008181556001829055600254600160a060020a0316815260036020526040902055610197565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061013d57805160ff191683800117855561016a565b8280016001018555821561016a579182015b8281111561016a57825182559160200191906001019061014f565b5061017692915061017a565b5090565b61019491905b808211156101765760008155600101610180565b90565b6109ad806101a66000396000f3006080604052600436106100da5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100df578063095ea7b31461016957806318160ddd146101a157806323b872dd146101c8578063313ce567146101f257806342966c681461021d57806370a08231146102375780638da5cb5b1461025857806395d89b4114610289578063a9059cbb1461029e578063bef97c87146102c2578063dd62ed3e146102d7578063f2fde38b146102fe578063f41e60c51461031f578063f56e043414610339575b600080fd5b3480156100eb57600080fd5b506100f461034e565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561012e578181015183820152602001610116565b50505050905090810190601f16801561015b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561017557600080fd5b5061018d600160a060020a03600435166024356103dc565b604080519115158252519081900360200190f35b3480156101ad57600080fd5b506101b6610442565b60408051918252519081900360200190f35b3480156101d457600080fd5b5061018d600160a060020a0360043581169060243516604435610448565b3480156101fe57600080fd5b506102076105da565b6040805160ff9092168252519081900360200190f35b34801561022957600080fd5b506102356004356105e3565b005b34801561024357600080fd5b506101b6600160a060020a03600435166106ae565b34801561026457600080fd5b5061026d6106c9565b60408051600160a060020a039092168252519081900360200190f35b34801561029557600080fd5b506100f46106d8565b3480156102aa57600080fd5b5061018d600160a060020a0360043516602435610733565b3480156102ce57600080fd5b5061018d61083d565b3480156102e357600080fd5b506101b6600160a060020a036004358116906024351661084d565b34801561030a57600080fd5b50610235600160a060020a0360043516610878565b34801561032b57600080fd5b50610235600435151561090d565b34801561034557600080fd5b506101b6610953565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103d45780601f106103a9576101008083540402835291602001916103d4565b820191906000526020600020905b8154815290600101906020018083116103b757829003601f168201915b505050505081565b336000818152600460209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60005481565b60025460009060a060020a900460ff16151561046357600080fd5b600160a060020a038316151561047857600080fd5b600160a060020a03841660009081526003602052604090205482111561049d57600080fd5b600160a060020a03841660009081526004602090815260408083203384529091529020548211156104cd57600080fd5b600160a060020a0384166000908152600360205260409020546104f6908363ffffffff61095916565b600160a060020a03808616600090815260036020526040808220939093559085168152205461052b908363ffffffff61096b16565b600160a060020a03808516600090815260036020908152604080832094909455918716815260048252828120338252909152205461056f908363ffffffff61095916565b600160a060020a03808616600081815260046020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60075460ff1681565b60025460009060a060020a900460ff1615156105fe57600080fd5b3360009081526003602052604090205482111561061a57600080fd5b503360008181526003602052604090205461063b908363ffffffff61095916565b600160a060020a03821660009081526003602052604081209190915554610668908363ffffffff61095916565b600055604080518381529051600160a060020a038316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b600160a060020a031660009081526003602052604090205490565b600254600160a060020a031681565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103d45780601f106103a9576101008083540402835291602001916103d4565b60025460009060a060020a900460ff16151561074e57600080fd5b600160a060020a038316151561076357600080fd5b600082101561077157600080fd5b3360009081526003602052604090205482111561078d57600080fd5b336000908152600360205260409020546107ad908363ffffffff61095916565b3360009081526003602052604080822092909255600160a060020a038516815220546107df908363ffffffff61096b16565b600160a060020a0384166000818152600360209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60025460a060020a900460ff1681565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b600254600160a060020a0316331461088f57600080fd5b600160a060020a03811615156108a457600080fd5b600254604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600254600160a060020a0316331461092457600080fd5b6002805491151560a060020a0274ff000000000000000000000000000000000000000019909216919091179055565b60015481565b60008282111561096557fe5b50900390565b60008282018381101561097a57fe5b93925050505600a165627a7a72305820a0b85c2d36c129f8cb9934e8e047e6a1c38d5dd8a0e89745e88e234188d8be700029

Deployed Bytecode

0x6080604052600436106100da5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100df578063095ea7b31461016957806318160ddd146101a157806323b872dd146101c8578063313ce567146101f257806342966c681461021d57806370a08231146102375780638da5cb5b1461025857806395d89b4114610289578063a9059cbb1461029e578063bef97c87146102c2578063dd62ed3e146102d7578063f2fde38b146102fe578063f41e60c51461031f578063f56e043414610339575b600080fd5b3480156100eb57600080fd5b506100f461034e565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561012e578181015183820152602001610116565b50505050905090810190601f16801561015b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561017557600080fd5b5061018d600160a060020a03600435166024356103dc565b604080519115158252519081900360200190f35b3480156101ad57600080fd5b506101b6610442565b60408051918252519081900360200190f35b3480156101d457600080fd5b5061018d600160a060020a0360043581169060243516604435610448565b3480156101fe57600080fd5b506102076105da565b6040805160ff9092168252519081900360200190f35b34801561022957600080fd5b506102356004356105e3565b005b34801561024357600080fd5b506101b6600160a060020a03600435166106ae565b34801561026457600080fd5b5061026d6106c9565b60408051600160a060020a039092168252519081900360200190f35b34801561029557600080fd5b506100f46106d8565b3480156102aa57600080fd5b5061018d600160a060020a0360043516602435610733565b3480156102ce57600080fd5b5061018d61083d565b3480156102e357600080fd5b506101b6600160a060020a036004358116906024351661084d565b34801561030a57600080fd5b50610235600160a060020a0360043516610878565b34801561032b57600080fd5b50610235600435151561090d565b34801561034557600080fd5b506101b6610953565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103d45780601f106103a9576101008083540402835291602001916103d4565b820191906000526020600020905b8154815290600101906020018083116103b757829003601f168201915b505050505081565b336000818152600460209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60005481565b60025460009060a060020a900460ff16151561046357600080fd5b600160a060020a038316151561047857600080fd5b600160a060020a03841660009081526003602052604090205482111561049d57600080fd5b600160a060020a03841660009081526004602090815260408083203384529091529020548211156104cd57600080fd5b600160a060020a0384166000908152600360205260409020546104f6908363ffffffff61095916565b600160a060020a03808616600090815260036020526040808220939093559085168152205461052b908363ffffffff61096b16565b600160a060020a03808516600090815260036020908152604080832094909455918716815260048252828120338252909152205461056f908363ffffffff61095916565b600160a060020a03808616600081815260046020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60075460ff1681565b60025460009060a060020a900460ff1615156105fe57600080fd5b3360009081526003602052604090205482111561061a57600080fd5b503360008181526003602052604090205461063b908363ffffffff61095916565b600160a060020a03821660009081526003602052604081209190915554610668908363ffffffff61095916565b600055604080518381529051600160a060020a038316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b600160a060020a031660009081526003602052604090205490565b600254600160a060020a031681565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103d45780601f106103a9576101008083540402835291602001916103d4565b60025460009060a060020a900460ff16151561074e57600080fd5b600160a060020a038316151561076357600080fd5b600082101561077157600080fd5b3360009081526003602052604090205482111561078d57600080fd5b336000908152600360205260409020546107ad908363ffffffff61095916565b3360009081526003602052604080822092909255600160a060020a038516815220546107df908363ffffffff61096b16565b600160a060020a0384166000818152600360209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60025460a060020a900460ff1681565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b600254600160a060020a0316331461088f57600080fd5b600160a060020a03811615156108a457600080fd5b600254604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600254600160a060020a0316331461092457600080fd5b6002805491151560a060020a0274ff000000000000000000000000000000000000000019909216919091179055565b60015481565b60008282111561096557fe5b50900390565b60008282018381101561097a57fe5b93925050505600a165627a7a72305820a0b85c2d36c129f8cb9934e8e047e6a1c38d5dd8a0e89745e88e234188d8be700029

Swarm Source

bzzr://a0b85c2d36c129f8cb9934e8e047e6a1c38d5dd8a0e89745e88e234188d8be70
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.