ETH Price: $3,322.49 (+3.16%)

Token

BiNeuro (BNR)
 

Overview

Max Total Supply

850,000,000 BNR

Holders

523

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 3 Decimals)

Balance
1,799,734.196 BNR

Value
$0.00
0x562be72b1e0143023d8cde39ceffa7f6d387d2bc
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:
BineuroToken

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.19;

library SafeMath { //standard library for uint
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0 || b == 0){
        return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    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;
  }

  function pow(uint256 a, uint256 b) internal pure returns (uint256){ //power function
    if (b == 0){
      return 1;
    }
    uint256 c = a**b;
    assert (c >= a);
    return c;
  }
}

contract Ownable { //standard contract to identify owner

  address public owner;

  address public newOwner;

  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }

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

  function transferOwnership(address _newOwner) public onlyOwner {
    require(_newOwner != address(0));
    newOwner = _newOwner;
  }

  function acceptOwnership() public {
    if (msg.sender == newOwner) {
      owner = newOwner;
    }
  }
}

contract BineuroToken is Ownable { //ERC - 20 token contract
  using SafeMath for uint;
  // Triggered when tokens are transferred.
  event Transfer(address indexed _from, address indexed _to, uint256 _value);

  // Triggered whenever approve(address _spender, uint256 _value) is called.
  event Approval(address indexed _owner, address indexed _spender, uint256 _value);

  string public constant symbol = "BNR";
  string public constant name = "BiNeuro";
  uint8 public constant decimals = 3;
  uint256 _totalSupply = (uint256)(850000000).mul((uint256)(10).pow(decimals));

  function getOwner()public view returns(address) {
    return owner;
  }

  // Balances for each account
  mapping(address => uint256) balances;

  // Owner of account approves the transfer of an amount to another account
  mapping(address => mapping (address => uint256)) allowed;

  function totalSupply() public view returns (uint256) { //standard ERC-20 function
    return _totalSupply;
  }

  function balanceOf(address _address) public view returns (uint256 balance) {//standard ERC-20 function
    return balances[_address];
  }

  //standard ERC-20 function
  function transfer(address _to, uint256 _amount) public returns (bool success) {
    require(this != _to);
    balances[msg.sender] = balances[msg.sender].sub(_amount);
    balances[_to] = balances[_to].add(_amount);
    emit Transfer(msg.sender,_to,_amount);
    return true;
  }
  
  address public crowdsaleContract;

  //connect to crowdsaleContract, can be use once
  function setCrowdsaleContract (address _address) public{
    require(crowdsaleContract == address(0));
    crowdsaleContract = _address;
  }

  function transferFrom(address _from, address _to, uint256 _amount) public returns(bool success){
    balances[_from] = balances[_from].sub(_amount);
    allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_amount);
    balances[_to] = balances[_to].add(_amount);
    emit Transfer(_from,_to,_amount);
    return true;
  }

  //standard ERC-20 function
  function approve(address _spender, uint256 _amount)public returns (bool success) { 
    allowed[msg.sender][_spender] = _amount;
    emit Approval(msg.sender, _spender, _amount);
    return true;
  }

  //standard ERC-20 function
  function allowance(address _owner, address _spender)public constant returns (uint256 remaining) {
    return allowed[_owner][_spender];
  }

  //Constructor
  function BineuroToken() public {
    owner = 0xCe390a89734B2222Ff01c9ac4fD370581DeD82E0;
    // owner = msg.sender;
    
    balances[this] = _totalSupply;
  }

  uint public crowdsaleBalance = 52845528455;

  function sendCrowdsaleTokens(address _address, uint256 _value)  public {
    require(msg.sender == crowdsaleContract);
    crowdsaleBalance = crowdsaleBalance.sub(_value);
    balances[this] = balances[this].sub(_value);
    balances[_address] = balances[_address].add(_value);
    emit Transfer(this,_address,_value);
  }

  function burnTokens(address _address1, address _address2, address _address3, uint _tokensSold) public {
    require(msg.sender == crowdsaleContract);

    balances[this] = balances[this].sub(_tokensSold.mul((uint)(23))/100);
    balances[_address1] = balances[_address1].add(_tokensSold.mul((uint)(75))/1000);
    balances[_address2] = balances[_address2].add(_tokensSold.mul((uint)(75))/1000);
    balances[_address3] = balances[_address2].add(_tokensSold.mul((uint)(8))/100);

    emit Transfer(this,_address1,_tokensSold.mul((uint)(75))/1000);
    emit Transfer(this,_address2,_tokensSold.mul((uint)(75))/1000);
    emit Transfer(this,_address3,_tokensSold.mul((uint)(8))/100);

    _totalSupply = _totalSupply.sub(balances[this]);
    emit Transfer(this,0,balances[this]);

    balances[this] = 0;
  }
}

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":"_amount","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":"_amount","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":"crowdsaleContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"crowdsaleBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_address1","type":"address"},{"name":"_address2","type":"address"},{"name":"_address3","type":"address"},{"name":"_tokensSold","type":"uint256"}],"name":"burnTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_address","type":"address"}],"name":"setCrowdsaleContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getOwner","outputs":[{"name":"","type":"address"}],"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":"_address","type":"address"},{"name":"_value","type":"uint256"}],"name":"sendCrowdsaleTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"newOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","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"}]

6060604052610038610020600a6003640100000000610c0d61009f82021704565b6332a9f88090640100000000610bd96100cb82021704565b600255640c4dd6c587600655341561004f57600080fd5b60008054600160a060020a03338116600160a060020a03199283161790911673ce390a89734b2222ff01c9ac4fd370581ded82e017825560025430909116825260036020526040909120556100ff565b6000808215156100b257600191506100c4565b5081830a838110156100c057fe5b8091505b5092915050565b6000808315806100d9575082155b156100e757600091506100c4565b508282028284828115156100f757fe5b04146100c057fe5b610c7a8061010e6000396000f3006060604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461010b578063095ea7b31461019557806318160ddd146101cb57806323b872dd146101f0578063313ce56714610218578063316163951461024157806342ae0a16146102705780635646435b146102835780636596cff3146102b357806370a08231146102d257806379ba5097146102f1578063893d20e8146103045780638da5cb5b1461031757806395d89b411461032a5780639c1f020a1461033d578063a9059cbb1461035f578063d4ee1d9014610381578063dd62ed3e14610394578063f2fde38b146103b9575b600080fd5b341561011657600080fd5b61011e6103d8565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561015a578082015183820152602001610142565b50505050905090810190601f1680156101875780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101a057600080fd5b6101b7600160a060020a036004351660243561040f565b604051901515815260200160405180910390f35b34156101d657600080fd5b6101de61047b565b60405190815260200160405180910390f35b34156101fb57600080fd5b6101b7600160a060020a0360043581169060243516604435610481565b341561022357600080fd5b61022b610582565b60405160ff909116815260200160405180910390f35b341561024c57600080fd5b610254610587565b604051600160a060020a03909116815260200160405180910390f35b341561027b57600080fd5b6101de610596565b341561028e57600080fd5b6102b1600160a060020a036004358116906024358116906044351660643561059c565b005b34156102be57600080fd5b6102b1600160a060020a036004351661086d565b34156102dd57600080fd5b6101de600160a060020a03600435166108b2565b34156102fc57600080fd5b6102b16108cd565b341561030f57600080fd5b610254610916565b341561032257600080fd5b610254610925565b341561033557600080fd5b61011e610934565b341561034857600080fd5b6102b1600160a060020a036004351660243561096b565b341561036a57600080fd5b6101b7600160a060020a0360043516602435610a44565b341561038c57600080fd5b610254610b14565b341561039f57600080fd5b6101de600160a060020a0360043581169060243516610b23565b34156103c457600080fd5b6102b1600160a060020a0360043516610b4e565b60408051908101604052600781527f42694e6575726f00000000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260046020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60025490565b600160a060020a0383166000908152600360205260408120546104aa908363ffffffff610bad16565b600160a060020a03808616600090815260036020908152604080832094909455600481528382203390931682529190915220546104ed908363ffffffff610bad16565b600160a060020a0380861660009081526004602090815260408083203385168452825280832094909455918616815260039091522054610533908363ffffffff610bbf16565b600160a060020a0380851660008181526003602052604090819020939093559190861690600080516020610c2f8339815191529085905190815260200160405180910390a35060019392505050565b600381565b600554600160a060020a031681565b60065481565b60055433600160a060020a039081169116146105b757600080fd5b6105fd60646105cd83601763ffffffff610bd916565b8115156105d657fe5b600160a060020a03301660009081526003602052604090205491900463ffffffff610bad16565b600160a060020a03301660009081526003602052604090205561065d6103e861062d83604b63ffffffff610bd916565b81151561063657fe5b600160a060020a03871660009081526003602052604090205491900463ffffffff610bbf16565b600160a060020a0385166000908152600360205260409020556106bd6103e861068d83604b63ffffffff610bd916565b81151561069657fe5b600160a060020a03861660009081526003602052604090205491900463ffffffff610bbf16565b600160a060020a0384166000908152600360205260409020556106ec606461068d83600863ffffffff610bd916565b600160a060020a03808416600090815260036020526040902091909155848116903016600080516020610c2f8339815191526103e861073285604b63ffffffff610bd916565b81151561073b57fe5b0460405190815260200160405180910390a3600160a060020a03808416903016600080516020610c2f8339815191526103e861077e85604b63ffffffff610bd916565b81151561078757fe5b0460405190815260200160405180910390a3600160a060020a03808316903016600080516020610c2f83398151915260646107c985600863ffffffff610bd916565b8115156107d257fe5b0460405190815260200160405180910390a3600160a060020a03301660009081526003602052604090205460025461080f9163ffffffff610bad16565b600255600160a060020a03301660008181526003602052604080822054919291600080516020610c2f833981519152915190815260200160405180910390a3505050600160a060020a03301660009081526003602052604081205550565b600554600160a060020a03161561088357600080fd5b6005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a031660009081526003602052604090205490565b60015433600160a060020a0390811691161415610914576001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b565b600054600160a060020a031690565b600054600160a060020a031681565b60408051908101604052600381527f424e520000000000000000000000000000000000000000000000000000000000602082015281565b60055433600160a060020a0390811691161461098657600080fd5b600654610999908263ffffffff610bad16565b600655600160a060020a0330166000908152600360205260409020546109c5908263ffffffff610bad16565b600160a060020a0330811660009081526003602052604080822093909355908416815220546109fa908263ffffffff610bbf16565b600160a060020a038084166000818152600360205260409081902093909355913090911690600080516020610c2f8339815191529084905190815260200160405180910390a35050565b600082600160a060020a031630600160a060020a031614151515610a6757600080fd5b600160a060020a033316600090815260036020526040902054610a90908363ffffffff610bad16565b600160a060020a033381166000908152600360205260408082209390935590851681522054610ac5908363ffffffff610bbf16565b600160a060020a038085166000818152600360205260409081902093909355913390911690600080516020610c2f8339815191529085905190815260200160405180910390a350600192915050565b600154600160a060020a031681565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b60005433600160a060020a03908116911614610b6957600080fd5b600160a060020a0381161515610b7e57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600082821115610bb957fe5b50900390565b600082820183811015610bce57fe5b8091505b5092915050565b600080831580610be7575082155b15610bf55760009150610bd2565b50828202828482811515610c0557fe5b0414610bce57fe5b600080821515610c205760019150610bd2565b5081830a83811015610bce57fe00ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582096c1102b0b14b3f1b4079d39fbcbfa959898dd175fcb40e1f971cb8075aab6580029

Deployed Bytecode

0x6060604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461010b578063095ea7b31461019557806318160ddd146101cb57806323b872dd146101f0578063313ce56714610218578063316163951461024157806342ae0a16146102705780635646435b146102835780636596cff3146102b357806370a08231146102d257806379ba5097146102f1578063893d20e8146103045780638da5cb5b1461031757806395d89b411461032a5780639c1f020a1461033d578063a9059cbb1461035f578063d4ee1d9014610381578063dd62ed3e14610394578063f2fde38b146103b9575b600080fd5b341561011657600080fd5b61011e6103d8565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561015a578082015183820152602001610142565b50505050905090810190601f1680156101875780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101a057600080fd5b6101b7600160a060020a036004351660243561040f565b604051901515815260200160405180910390f35b34156101d657600080fd5b6101de61047b565b60405190815260200160405180910390f35b34156101fb57600080fd5b6101b7600160a060020a0360043581169060243516604435610481565b341561022357600080fd5b61022b610582565b60405160ff909116815260200160405180910390f35b341561024c57600080fd5b610254610587565b604051600160a060020a03909116815260200160405180910390f35b341561027b57600080fd5b6101de610596565b341561028e57600080fd5b6102b1600160a060020a036004358116906024358116906044351660643561059c565b005b34156102be57600080fd5b6102b1600160a060020a036004351661086d565b34156102dd57600080fd5b6101de600160a060020a03600435166108b2565b34156102fc57600080fd5b6102b16108cd565b341561030f57600080fd5b610254610916565b341561032257600080fd5b610254610925565b341561033557600080fd5b61011e610934565b341561034857600080fd5b6102b1600160a060020a036004351660243561096b565b341561036a57600080fd5b6101b7600160a060020a0360043516602435610a44565b341561038c57600080fd5b610254610b14565b341561039f57600080fd5b6101de600160a060020a0360043581169060243516610b23565b34156103c457600080fd5b6102b1600160a060020a0360043516610b4e565b60408051908101604052600781527f42694e6575726f00000000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260046020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60025490565b600160a060020a0383166000908152600360205260408120546104aa908363ffffffff610bad16565b600160a060020a03808616600090815260036020908152604080832094909455600481528382203390931682529190915220546104ed908363ffffffff610bad16565b600160a060020a0380861660009081526004602090815260408083203385168452825280832094909455918616815260039091522054610533908363ffffffff610bbf16565b600160a060020a0380851660008181526003602052604090819020939093559190861690600080516020610c2f8339815191529085905190815260200160405180910390a35060019392505050565b600381565b600554600160a060020a031681565b60065481565b60055433600160a060020a039081169116146105b757600080fd5b6105fd60646105cd83601763ffffffff610bd916565b8115156105d657fe5b600160a060020a03301660009081526003602052604090205491900463ffffffff610bad16565b600160a060020a03301660009081526003602052604090205561065d6103e861062d83604b63ffffffff610bd916565b81151561063657fe5b600160a060020a03871660009081526003602052604090205491900463ffffffff610bbf16565b600160a060020a0385166000908152600360205260409020556106bd6103e861068d83604b63ffffffff610bd916565b81151561069657fe5b600160a060020a03861660009081526003602052604090205491900463ffffffff610bbf16565b600160a060020a0384166000908152600360205260409020556106ec606461068d83600863ffffffff610bd916565b600160a060020a03808416600090815260036020526040902091909155848116903016600080516020610c2f8339815191526103e861073285604b63ffffffff610bd916565b81151561073b57fe5b0460405190815260200160405180910390a3600160a060020a03808416903016600080516020610c2f8339815191526103e861077e85604b63ffffffff610bd916565b81151561078757fe5b0460405190815260200160405180910390a3600160a060020a03808316903016600080516020610c2f83398151915260646107c985600863ffffffff610bd916565b8115156107d257fe5b0460405190815260200160405180910390a3600160a060020a03301660009081526003602052604090205460025461080f9163ffffffff610bad16565b600255600160a060020a03301660008181526003602052604080822054919291600080516020610c2f833981519152915190815260200160405180910390a3505050600160a060020a03301660009081526003602052604081205550565b600554600160a060020a03161561088357600080fd5b6005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a031660009081526003602052604090205490565b60015433600160a060020a0390811691161415610914576001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b565b600054600160a060020a031690565b600054600160a060020a031681565b60408051908101604052600381527f424e520000000000000000000000000000000000000000000000000000000000602082015281565b60055433600160a060020a0390811691161461098657600080fd5b600654610999908263ffffffff610bad16565b600655600160a060020a0330166000908152600360205260409020546109c5908263ffffffff610bad16565b600160a060020a0330811660009081526003602052604080822093909355908416815220546109fa908263ffffffff610bbf16565b600160a060020a038084166000818152600360205260409081902093909355913090911690600080516020610c2f8339815191529084905190815260200160405180910390a35050565b600082600160a060020a031630600160a060020a031614151515610a6757600080fd5b600160a060020a033316600090815260036020526040902054610a90908363ffffffff610bad16565b600160a060020a033381166000908152600360205260408082209390935590851681522054610ac5908363ffffffff610bbf16565b600160a060020a038085166000818152600360205260409081902093909355913390911690600080516020610c2f8339815191529085905190815260200160405180910390a350600192915050565b600154600160a060020a031681565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b60005433600160a060020a03908116911614610b6957600080fd5b600160a060020a0381161515610b7e57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600082821115610bb957fe5b50900390565b600082820183811015610bce57fe5b8091505b5092915050565b600080831580610be7575082155b15610bf55760009150610bd2565b50828202828482811515610c0557fe5b0414610bce57fe5b600080821515610c205760019150610bd2565b5081830a83811015610bce57fe00ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582096c1102b0b14b3f1b4079d39fbcbfa959898dd175fcb40e1f971cb8075aab6580029

Swarm Source

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