ETH Price: $3,375.56 (-2.38%)
Gas: 3.72 Gwei

Token

BitEye Token (BEY)
 

Overview

Max Total Supply

1,000,000,000 BEY

Holders

25,026 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
100 BEY

Value
$0.00
0x926c705bf54feab612c1036a57f5dca2d4e0bb5f
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:
BitEyeToken

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-07-25
*/

pragma solidity ^0.4.19;

contract SafeMath {
  function safeMul(uint a, uint b) internal pure returns (uint256) {
    uint c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function safeDiv(uint a, uint b) internal pure returns (uint256) {
    uint c = a / b;
    return c;
  }

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

  function safeAdd(uint a, uint b) internal pure returns (uint256) {
    uint c = a + b;
    assert(c >= a);
    return c;
  }
}

contract Ownable {
  address public owner;

  function Ownable() public {
    owner = msg.sender;
  }

  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }
  //transfer owner to another address
  function transferOwnership(address _newOwner) public onlyOwner {
    if (_newOwner != address(0)) {
      owner = _newOwner;
    }
  }
}

contract ERC20Token is SafeMath {
  string public name;
  string public symbol;
  uint256 public totalSupply;
  uint8 public decimals;

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

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

  modifier onlyPayloadSize(uint size) {   
    require(msg.data.length == size + 4);
    _;
  }

  /**
    @dev send coins
    throws on any error rather then return a false flag to minimize user errors

    @param _to      target address
    @param _value   transfer amount

    @return true if the transfer was successful, false if it wasn't
  */
  function transfer(address _to, uint256 _value)
      public
      onlyPayloadSize(2 * 32)
      returns (bool success)
  {
    balances[msg.sender] = safeSub(balances[msg.sender], _value);
    balances[_to] = safeAdd(balances[_to], _value);
    Transfer(msg.sender, _to, _value);
    return true;
  }

  /**
    @dev an account/contract attempts to get the coins
    throws on any error rather then return a false flag to minimize user errors

    @param _from    source address
    @param _to      target address
    @param _value   transfer amount

    @return true if the transfer was successful, false if it wasn't
  */
  function transferFrom(address _from, address _to, uint256 _value)
    public
    onlyPayloadSize(3 * 32)
    returns (bool success)
  {
    allowed[_from][msg.sender] = safeSub(allowed[_from][msg.sender], _value);
    balances[_from] = safeSub(balances[_from], _value);
    balances[_to] = safeAdd(balances[_to], _value);
    Transfer(_from, _to, _value);
    return true;
  }
  
  function approve(address _spender, uint256 _value)
    public
    onlyPayloadSize(2 * 32)
    returns (bool success)
  {
    // if the allowance isn't 0, it can only be updated to 0 to prevent an allowance change immediately after withdrawal
    require(_value == 0 || allowed[msg.sender][_spender] == 0);

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

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

  function balanceOf(address _holder) public constant returns (uint) {
    return balances[_holder];
  }
}

contract BitEyeToken is ERC20Token, Ownable {

  bool public distributed = false;

  function BitEyeToken() public {
    name = "BitEye Token";
    symbol = "BEY";
    decimals = 18;
    totalSupply = 1000000000 * 1e18;
  }

  function distribute(address _bitEyeExAddr, address _operationAddr, address _airdropAddr) public onlyOwner {
    require(!distributed);
    distributed = true;

    balances[_bitEyeExAddr] = 900000000 * 1e18;
    Transfer(address(0), _bitEyeExAddr, 900000000 * 1e18);

    balances[_operationAddr] = 50000000 * 1e18;
    Transfer(address(0), _operationAddr, 50000000 * 1e18);

    balances[_airdropAddr] = 50000000 * 1e18;
    Transfer(address(0), _airdropAddr, 50000000 * 1e18);
  }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_bitEyeExAddr","type":"address"},{"name":"_operationAddr","type":"address"},{"name":"_airdropAddr","type":"address"}],"name":"distribute","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"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":"success","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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_holder","type":"address"}],"name":"balanceOf","outputs":[{"name":"","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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[],"name":"distributed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","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"}]

60606040526006805460a060020a60ff0219169055341561001f57600080fd5b60068054600160a060020a03191633600160a060020a031617905560408051908101604052600c81527f42697445796520546f6b656e0000000000000000000000000000000000000000602082015260009080516100819291602001906100ec565b5060408051908101604052600381527f4245590000000000000000000000000000000000000000000000000000000000602082015260019080516100c99291602001906100ec565b506003805460ff191660121790556b033b2e3c9fd0803ce8000000600255610187565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061012d57805160ff191683800117855561015a565b8280016001018555821561015a579182015b8281111561015a57825182559160200191906001019061013f565b5061016692915061016a565b5090565b61018491905b808211156101665760008155600101610170565b90565b61091f806101966000396000f3006060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ed7f8b81146100c957806306fdde03146100f6578063095ea7b31461018057806318160ddd146101b657806323b872dd146101db578063313ce5671461020357806370a082311461022c5780638da5cb5b1461024b57806395d89b411461027a578063a9059cbb1461028d578063dd62ed3e146102af578063f2fde38b146102d4578063f84b903e146102f3575b600080fd5b34156100d457600080fd5b6100f4600160a060020a0360043581169060243581169060443516610306565b005b341561010157600080fd5b61010961045c565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561014557808201518382015260200161012d565b50505050905090810190601f1680156101725780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018b57600080fd5b6101a2600160a060020a03600435166024356104fa565b604051901515815260200160405180910390f35b34156101c157600080fd5b6101c96105b0565b60405190815260200160405180910390f35b34156101e657600080fd5b6101a2600160a060020a03600435811690602435166044356105b6565b341561020e57600080fd5b6102166106b8565b60405160ff909116815260200160405180910390f35b341561023757600080fd5b6101c9600160a060020a03600435166106c1565b341561025657600080fd5b61025e6106dc565b604051600160a060020a03909116815260200160405180910390f35b341561028557600080fd5b6101096106eb565b341561029857600080fd5b6101a2600160a060020a0360043516602435610756565b34156102ba57600080fd5b6101c9600160a060020a0360043581169060243516610809565b34156102df57600080fd5b6100f4600160a060020a0360043516610834565b34156102fe57600080fd5b6101a261088a565b60065433600160a060020a0390811691161461032157600080fd5b60065474010000000000000000000000000000000000000000900460ff161561034957600080fd5b6006805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055600160a060020a0383166000818152600460205260408082206b02e87669c308736a04000000908190556000805160206108d4833981519152915190815260200160405180910390a3600160a060020a0382166000818152600460205260408082206a295be96e64066972000000908190556000805160206108d4833981519152915190815260200160405180910390a3600160a060020a0381166000818152600460205260408082206a295be96e64066972000000908190556000805160206108d4833981519152915190815260200160405180910390a3505050565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104f25780601f106104c7576101008083540402835291602001916104f2565b820191906000526020600020905b8154815290600101906020018083116104d557829003601f168201915b505050505081565b600060403660441461050b57600080fd5b82158061053b5750600160a060020a03338116600090815260056020908152604080832093881683529290522054155b151561054657600080fd5b600160a060020a03338116600081815260056020908152604080832094891680845294909152908190208690557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259086905190815260200160405180910390a35060019392505050565b60025481565b60006060366064146105c757600080fd5b600160a060020a03808616600090815260056020908152604080832033909416835292905220546105f890846108ab565b600160a060020a03808716600081815260056020908152604080832033909516835293815283822094909455908152600490925290205461063990846108ab565b600160a060020a03808716600090815260046020526040808220939093559086168152205461066890846108bd565b600160a060020a03808616600081815260046020526040908190209390935591908716906000805160206108d48339815191529086905190815260200160405180910390a3506001949350505050565b60035460ff1681565b600160a060020a031660009081526004602052604090205490565b600654600160a060020a031681565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104f25780601f106104c7576101008083540402835291602001916104f2565b600060403660441461076757600080fd5b600160a060020a03331660009081526004602052604090205461078a90846108ab565b600160a060020a0333811660009081526004602052604080822093909355908616815220546107b990846108bd565b600160a060020a0380861660008181526004602052604090819020939093559133909116906000805160206108d48339815191529086905190815260200160405180910390a35060019392505050565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b60065433600160a060020a0390811691161461084f57600080fd5b600160a060020a03811615610887576006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b60065474010000000000000000000000000000000000000000900460ff1681565b6000828211156108b757fe5b50900390565b6000828201838110156108cc57fe5b93925050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820c5cfa5f8f3b518faba5437e4a557f7b301ffeab01e0f7cdf9cbafeb9182bdc510029

Deployed Bytecode

0x6060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ed7f8b81146100c957806306fdde03146100f6578063095ea7b31461018057806318160ddd146101b657806323b872dd146101db578063313ce5671461020357806370a082311461022c5780638da5cb5b1461024b57806395d89b411461027a578063a9059cbb1461028d578063dd62ed3e146102af578063f2fde38b146102d4578063f84b903e146102f3575b600080fd5b34156100d457600080fd5b6100f4600160a060020a0360043581169060243581169060443516610306565b005b341561010157600080fd5b61010961045c565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561014557808201518382015260200161012d565b50505050905090810190601f1680156101725780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018b57600080fd5b6101a2600160a060020a03600435166024356104fa565b604051901515815260200160405180910390f35b34156101c157600080fd5b6101c96105b0565b60405190815260200160405180910390f35b34156101e657600080fd5b6101a2600160a060020a03600435811690602435166044356105b6565b341561020e57600080fd5b6102166106b8565b60405160ff909116815260200160405180910390f35b341561023757600080fd5b6101c9600160a060020a03600435166106c1565b341561025657600080fd5b61025e6106dc565b604051600160a060020a03909116815260200160405180910390f35b341561028557600080fd5b6101096106eb565b341561029857600080fd5b6101a2600160a060020a0360043516602435610756565b34156102ba57600080fd5b6101c9600160a060020a0360043581169060243516610809565b34156102df57600080fd5b6100f4600160a060020a0360043516610834565b34156102fe57600080fd5b6101a261088a565b60065433600160a060020a0390811691161461032157600080fd5b60065474010000000000000000000000000000000000000000900460ff161561034957600080fd5b6006805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055600160a060020a0383166000818152600460205260408082206b02e87669c308736a04000000908190556000805160206108d4833981519152915190815260200160405180910390a3600160a060020a0382166000818152600460205260408082206a295be96e64066972000000908190556000805160206108d4833981519152915190815260200160405180910390a3600160a060020a0381166000818152600460205260408082206a295be96e64066972000000908190556000805160206108d4833981519152915190815260200160405180910390a3505050565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104f25780601f106104c7576101008083540402835291602001916104f2565b820191906000526020600020905b8154815290600101906020018083116104d557829003601f168201915b505050505081565b600060403660441461050b57600080fd5b82158061053b5750600160a060020a03338116600090815260056020908152604080832093881683529290522054155b151561054657600080fd5b600160a060020a03338116600081815260056020908152604080832094891680845294909152908190208690557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259086905190815260200160405180910390a35060019392505050565b60025481565b60006060366064146105c757600080fd5b600160a060020a03808616600090815260056020908152604080832033909416835292905220546105f890846108ab565b600160a060020a03808716600081815260056020908152604080832033909516835293815283822094909455908152600490925290205461063990846108ab565b600160a060020a03808716600090815260046020526040808220939093559086168152205461066890846108bd565b600160a060020a03808616600081815260046020526040908190209390935591908716906000805160206108d48339815191529086905190815260200160405180910390a3506001949350505050565b60035460ff1681565b600160a060020a031660009081526004602052604090205490565b600654600160a060020a031681565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104f25780601f106104c7576101008083540402835291602001916104f2565b600060403660441461076757600080fd5b600160a060020a03331660009081526004602052604090205461078a90846108ab565b600160a060020a0333811660009081526004602052604080822093909355908616815220546107b990846108bd565b600160a060020a0380861660008181526004602052604090819020939093559133909116906000805160206108d48339815191529086905190815260200160405180910390a35060019392505050565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b60065433600160a060020a0390811691161461084f57600080fd5b600160a060020a03811615610887576006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b60065474010000000000000000000000000000000000000000900460ff1681565b6000828211156108b757fe5b50900390565b6000828201838110156108cc57fe5b93925050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820c5cfa5f8f3b518faba5437e4a557f7b301ffeab01e0f7cdf9cbafeb9182bdc510029

Swarm Source

bzzr://c5cfa5f8f3b518faba5437e4a557f7b301ffeab01e0f7cdf9cbafeb9182bdc51
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.