Token easyMINE Token

 

Overview [ERC-20]

Max Total Supply:
10,729,622.510517443314800192 EMT

Holders:
3,195

Transfers:
-

 
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
EasyMineToken

Compiler Version
v0.4.13+commit.fb4cb1a

Optimization Enabled:
Yes with 0 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-08-24
*/

pragma solidity ^0.4.13;

contract Token {
  /* This is a slight change to the ERC20 base standard.
     function totalSupply() constant returns (uint256 supply);
     is replaced with:
     uint256 public totalSupply;
     This automatically creates a getter function for the totalSupply.
     This is moved to the base contract since public getter functions are not
     currently recognised as an implementation of the matching abstract
     function by the compiler.
  */
  /// total amount of tokens
  uint256 public totalSupply;

  /// @param _owner The address from which the balance will be retrieved
  /// @return The balance
  function balanceOf(address _owner) constant returns (uint256 balance);

  /// @notice send `_value` token to `_to` from `msg.sender`
  /// @param _to The address of the recipient
  /// @param _value The amount of token to be transferred
  /// @return Whether the transfer was successful or not
  function transfer(address _to, uint256 _value) returns (bool success);

  /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`
  /// @param _from The address of the sender
  /// @param _to The address of the recipient
  /// @param _value The amount of token to be transferred
  /// @return Whether the transfer was successful or not
  function transferFrom(address _from, address _to, uint256 _value) returns (bool success);

  /// @notice `msg.sender` approves `_spender` to spend `_value` tokens
  /// @param _spender The address of the account able to transfer the tokens
  /// @param _value The amount of tokens to be approved for transfer
  /// @return Whether the approval was successful or not
  function approve(address _spender, uint256 _value) returns (bool success);

  /// @param _owner The address of the account owning tokens
  /// @param _spender The address of the account able to transfer the tokens
  /// @return Amount of remaining tokens allowed to spent
  function allowance(address _owner, address _spender) constant returns (uint256 remaining);

  event Transfer(address indexed _from, address indexed _to, uint256 _value);
  event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

contract StandardToken is Token {

  function transfer(address _to, uint256 _value) returns (bool success) {
    //Default assumes totalSupply can't be over max (2^256 - 1).
    //If your token leaves out totalSupply and can issue more tokens as time goes on, you need to check if it doesn't wrap.
    //Replace the if with this one instead.
    //if (balances[msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
    if (balances[msg.sender] >= _value && _value > 0) {
      balances[msg.sender] -= _value;
      balances[_to] += _value;
      Transfer(msg.sender, _to, _value);
      return true;
    } else { return false; }
  }

  function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
    //same as above. Replace this line with the following if you want to protect against wrapping uints.
    //if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
    if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0) {
      balances[_to] += _value;
      balances[_from] -= _value;
      allowed[_from][msg.sender] -= _value;
      Transfer(_from, _to, _value);
      return true;
    } else { return false; }
  }

  function balanceOf(address _owner) constant returns (uint256 balance) {
    return balances[_owner];
  }

  function approve(address _spender, uint256 _value) returns (bool success) {
    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
    return true;
  }

  function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
    return allowed[_owner][_spender];
  }

  mapping (address => uint256) balances;
  mapping (address => mapping (address => uint256)) allowed;
}

contract EasyMineToken is StandardToken {

  string public constant name = "easyMINE Token";
  string public constant symbol = "EMT";
  uint8 public constant decimals = 18;

  function EasyMineToken(address _icoAddress,
                         address _preIcoAddress,
                         address _easyMineWalletAddress,
                         address _bountyWalletAddress) {
    require(_icoAddress != 0x0);
    require(_preIcoAddress != 0x0);
    require(_easyMineWalletAddress != 0x0);
    require(_bountyWalletAddress != 0x0);

    totalSupply = 33000000 * 10**18;                     // 33.000.000 EMT

    uint256 icoTokens = 27000000 * 10**18;               // 27.000.000 EMT

    uint256 preIcoTokens = 2000000 * 10**18;             // 2.000.000 EMT

    uint256 easyMineTokens = 3000000 * 10**18;           // 1.500.000 EMT dev team +
                                                         // 500.000 EMT advisors +
                                                         // 1.000.000 EMT easyMINE corporation +
                                                         // = 3.000.000 EMT

    uint256 bountyTokens = 1000000 * 10**18;             // 1.000.000 EMT

    assert(icoTokens + preIcoTokens + easyMineTokens + bountyTokens == totalSupply);

    balances[_icoAddress] = icoTokens;
    Transfer(0, _icoAddress, icoTokens);

    balances[_preIcoAddress] = preIcoTokens;
    Transfer(0, _preIcoAddress, preIcoTokens);

    balances[_easyMineWalletAddress] = easyMineTokens;
    Transfer(0, _easyMineWalletAddress, easyMineTokens);

    balances[_bountyWalletAddress] = bountyTokens;
    Transfer(0, _bountyWalletAddress, bountyTokens);
  }

  function burn(uint256 _value) returns (bool success) {
    if (balances[msg.sender] >= _value && _value > 0) {
      balances[msg.sender] -= _value;
      totalSupply -= _value;
      Transfer(msg.sender, 0x0, _value);
      return true;
    } else {
      return false;
    }
  }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[{"name":"_icoAddress","type":"address"},{"name":"_preIcoAddress","type":"address"},{"name":"_easyMineWalletAddress","type":"address"},{"name":"_bountyWalletAddress","type":"address"}],"payable":false,"type":"constructor"},{"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"}]

6060604052341561000f57600080fd5b604051608080610895833981016040528080519190602001805191906020018051919060200180519150505b6000808080600160a060020a038816151561005557600080fd5b600160a060020a038716151561006a57600080fd5b600160a060020a038616151561007f57600080fd5b600160a060020a038516151561009457600080fd5b50506a1b4c0595a86aa1c1000000600055506a165578eecf9d0ffb00000090506a01a784379d99db420000006a027b46536c66c8e300000069d3c21bcecceda10000005b600160a060020a0388166000818152600160205260408082208790556000805160206108758339815191529087905190815260200160405180910390a3600160a060020a0387166000818152600160205260408082208690556000805160206108758339815191529086905190815260200160405180910390a3600160a060020a0386166000818152600160205260408082208590556000805160206108758339815191529085905190815260200160405180910390a3600160a060020a0385166000818152600160205260408082208490556000805160206108758339815191529084905190815260200160405180910390a35b50505050505050505b610690806101e56000396000f300606060405236156100885763ffffffff60e060020a60003504166306fdde03811461008d578063095ea7b31461011857806318160ddd1461014e57806323b872dd14610173578063313ce567146101af57806342966c68146101d857806370a082311461020257806395d89b4114610233578063a9059cbb146102be578063dd62ed3e146102f4575b600080fd5b341561009857600080fd5b6100a061032b565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100dd5780820151818401525b6020016100c4565b50505050905090810190601f16801561010a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012357600080fd5b61013a600160a060020a0360043516602435610356565b604051901515815260200160405180910390f35b341561015957600080fd5b6101616103c3565b60405190815260200160405180910390f35b341561017e57600080fd5b61013a600160a060020a03600435811690602435166044356103c9565b604051901515815260200160405180910390f35b34156101ba57600080fd5b6101c26104b0565b60405160ff909116815260200160405180910390f35b34156101e357600080fd5b61013a6004356104b5565b604051901515815260200160405180910390f35b341561020d57600080fd5b610161600160a060020a0360043516610540565b60405190815260200160405180910390f35b341561023e57600080fd5b6100a061055f565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100dd5780820151818401525b6020016100c4565b50505050905090810190601f16801561010a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102c957600080fd5b61013a600160a060020a036004351660243561057f565b604051901515815260200160405180910390f35b34156102ff57600080fd5b610161600160a060020a0360043581169060243516610617565b60405190815260200160405180910390f35b60408051908101604052600e8152609160020a6d32b0b9bca6a4a722902a37b5b2b702602082015281565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005481565b600160a060020a0383166000908152600160205260408120548290108015906104195750600160a060020a0380851660009081526002602090815260408083203390941683529290522054829010155b80156104255750600082115b156104a457600160a060020a03808416600081815260016020908152604080832080548801905588851680845281842080548990039055600283528184203390961684529490915290819020805486900390559091906000805160206106458339815191529085905190815260200160405180910390a35060016104a8565b5060005b5b9392505050565b601281565b600160a060020a0333166000908152600160205260408120548290108015906104de5750600082115b1561053657600160a060020a03331660008181526001602052604080822080548690039055815485900382559091906000805160206106458339815191529085905190815260200160405180910390a350600161053a565b5060005b5b919050565b600160a060020a0381166000908152600160205260409020545b919050565b604080519081016040526003815260ea60020a6211535502602082015281565b600160a060020a0333166000908152600160205260408120548290108015906105a85750600082115b1561060857600160a060020a033381166000818152600160205260408082208054879003905592861680825290839020805486019055916000805160206106458339815191529085905190815260200160405180910390a35060016103bd565b5060006103bd565b5b92915050565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058205cfe778b38d53d131b109f3cd4e720afb30b2e212c626c27047201d665d32fce0029ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000053ce47cbe7f2be0aecd086a70182a98c907d024d0000000000000000000000005f5cdcc7be5d8b2b159688c12448bc0c188eae8a00000000000000000000000078a06472d78bfef33270654319b6373d51cf05750000000000000000000000004884a6cbe6f457df020c88fcd49f0a9d46a97b3f

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000053ce47cbe7f2be0aecd086a70182a98c907d024d0000000000000000000000005f5cdcc7be5d8b2b159688c12448bc0c188eae8a00000000000000000000000078a06472d78bfef33270654319b6373d51cf05750000000000000000000000004884a6cbe6f457df020c88fcd49f0a9d46a97b3f

-----Decoded View---------------
Arg [0] : _icoAddress (address): 0x53CE47cbe7F2be0AEcD086a70182A98c907D024d
Arg [1] : _preIcoAddress (address): 0x5f5CDCc7BE5D8B2B159688c12448BC0c188eaE8a
Arg [2] : _easyMineWalletAddress (address): 0x78A06472d78bFEf33270654319B6373d51cF0575
Arg [3] : _bountyWalletAddress (address): 0x4884a6cBe6f457Df020c88fcd49f0a9d46a97B3f

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000053ce47cbe7f2be0aecd086a70182a98c907d024d
Arg [1] : 0000000000000000000000005f5cdcc7be5d8b2b159688c12448bc0c188eae8a
Arg [2] : 00000000000000000000000078a06472d78bfef33270654319b6373d51cf0575
Arg [3] : 0000000000000000000000004884a6cbe6f457df020c88fcd49f0a9d46a97b3f


Swarm Source

bzzr://5cfe778b38d53d131b109f3cd4e720afb30b2e212c626c27047201d665d32fce

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.