ETH Price: $3,099.69 (+0.53%)
Gas: 5 Gwei

Token

BTCCToken (BTCC)
 

Overview

Max Total Supply

3,000,000,000 BTCC

Holders

523 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 BTCC

Value
$0.00
0xb236830e4011cc971f2bdf46ddacf3bb02b0a73e
Loading...
Loading
Loading...
Loading
Loading...
Loading

ICO Information

Project Sector : Exchange Services
ICO Start Date : Aug 21, 2018  
Hard Cap : 33,000 ETH
Soft Cap : 20,000 ETH
Token Distribution Date : Aug 21, 2018
ICO Price  : $0.20
Country : United Kingdom

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BTCCToken

Compiler Version
v0.4.23+commit.124ca40d

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.11;


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

  function div(uint256 a, uint256 b) internal constant 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 constant returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function add(uint256 a, uint256 b) internal constant 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;

  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() {
    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) onlyOwner {
    require(newOwner != address(0));
    owner = newOwner;
  }
}



contract ERC20Basic {
  uint256 public totalSupply;
  function balanceOf(address who) constant returns (uint256);
  function transfer(address to, uint256 value) returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) constant returns (uint256);
  function transferFrom(address from, address to, uint256 value) returns (bool);
  function approve(address spender, uint256 value) returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

  /**
  * @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) returns (bool) {
    // SafeMath.sub will throw if there is not enough balance.
    balances[msg.sender] = balances[msg.sender].sub(_value);
    balances[_to] = balances[_to].add(_value);
    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) constant returns (uint256 balance) {
    return balances[_owner];
  }

}

contract StandardToken is ERC20, BasicToken {

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

  /**
   * @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) returns (bool) {
    var _allowance = allowed[_from][msg.sender];

    // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
    // require (_value <= _allowance);

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

  /**
   * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) returns (bool) {

    // To change the approve amount you first have to reduce the addresses`
    //  allowance to zero by calling `approve(_spender, 0)` if it is not
    //  already 0 to mitigate the race condition described here:
    //  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    require((_value == 0) || (allowed[msg.sender][_spender] == 0));

    allowed[msg.sender][_spender] = _value;
    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) constant returns (uint256 remaining) {
    return allowed[_owner][_spender];
  }
}

contract BTCCToken is Ownable,StandardToken {

    uint public totalSupply = 3*10**27;
    string public constant name = "BTCCToken";
    string public constant symbol = "BTCC";
    uint8 public constant decimals = 18;

    function BTCCToken() {
        balances[msg.sender] = totalSupply;
        Transfer(address(0), msg.sender, totalSupply);
    }

    mapping (address => bool) stopTransfer;

    function setStopTransfer(address _to,bool stop) onlyOwner{
        stopTransfer[_to] = stop;
    }

    function getStopTransfer(address _to) constant public returns (bool) {
        return stopTransfer[_to];
    }

    function transfer(address _to, uint256 _value) public  returns (bool) {
        require(!stopTransfer[msg.sender]);
        bool result = super.transfer(_to, _value);
        return result;
    }
}

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":"_to","type":"address"},{"name":"stop","type":"bool"}],"name":"setStopTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","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":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":true,"inputs":[{"name":"_to","type":"address"}],"name":"getStopTransfer","outputs":[{"name":"","type":"bool"}],"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":"_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":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","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"}]

60806040526b09b18ab5df7180b6b800000060045534801561002057600080fd5b5060008054600160a060020a03191633600160a060020a031690811782556004548183526002602090815260408085208390558051928352519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a36107b4806100956000396000f3006080604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806318160ddd1461018b578063184188f2146101b257806323b872dd146101da578063313ce5671461020457806370a082311461022f5780638da5cb5b1461025057806395d89b4114610281578063a41a944514610296578063a9059cbb146102b7578063dd62ed3e146102db578063f2fde38b14610302575b600080fd5b3480156100d557600080fd5b506100de610323565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610118578181015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015f57600080fd5b50610177600160a060020a036004351660243561035a565b604080519115158252519081900360200190f35b34801561019757600080fd5b506101a06103fd565b60408051918252519081900360200190f35b3480156101be57600080fd5b506101d8600160a060020a03600435166024351515610403565b005b3480156101e657600080fd5b50610177600160a060020a0360043581169060243516604435610449565b34801561021057600080fd5b50610219610559565b6040805160ff9092168252519081900360200190f35b34801561023b57600080fd5b506101a0600160a060020a036004351661055e565b34801561025c57600080fd5b50610265610579565b60408051600160a060020a039092168252519081900360200190f35b34801561028d57600080fd5b506100de610588565b3480156102a257600080fd5b50610177600160a060020a03600435166105bf565b3480156102c357600080fd5b50610177600160a060020a03600435166024356105dd565b3480156102e757600080fd5b506101a0600160a060020a0360043581169060243516610617565b34801561030e57600080fd5b506101d8600160a060020a0360043516610642565b60408051808201909152600981527f42544343546f6b656e0000000000000000000000000000000000000000000000602082015281565b600081158061038c5750600160a060020a03338116600090815260036020908152604080832093871683529290522054155b151561039757600080fd5b600160a060020a03338116600081815260036020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350600192915050565b60045481565b60005433600160a060020a0390811691161461041e57600080fd5b600160a060020a03919091166000908152600560205260409020805460ff1916911515919091179055565b600160a060020a03808416600081815260036020908152604080832033909516835293815283822054928252600290529182205461048d908463ffffffff6106a116565b600160a060020a0380871660009081526002602052604080822093909355908616815220546104c2908463ffffffff6106b316565b600160a060020a0385166000908152600260205260409020556104eb818463ffffffff6106a116565b600160a060020a038087166000818152600360209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506001949350505050565b601281565b600160a060020a031660009081526002602052604090205490565b600054600160a060020a031681565b60408051808201909152600481527f4254434300000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a031660009081526005602052604090205460ff1690565b600160a060020a033316600090815260056020526040812054819060ff161561060557600080fd5b61060f84846106c9565b949350505050565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60005433600160a060020a0390811691161461065d57600080fd5b600160a060020a038116151561067257600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000828211156106ad57fe5b50900390565b6000828201838110156106c257fe5b9392505050565b600160a060020a0333166000908152600260205260408120546106f2908363ffffffff6106a116565b600160a060020a033381166000908152600260205260408082209390935590851681522054610727908363ffffffff6106b316565b600160a060020a038085166000818152600260209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3506001929150505600a165627a7a723058202bcd0e3d8c3d4513821396b2b7eb1b0ebfc971ee27601607a7b800858e9aa5bb0029

Deployed Bytecode

0x6080604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806318160ddd1461018b578063184188f2146101b257806323b872dd146101da578063313ce5671461020457806370a082311461022f5780638da5cb5b1461025057806395d89b4114610281578063a41a944514610296578063a9059cbb146102b7578063dd62ed3e146102db578063f2fde38b14610302575b600080fd5b3480156100d557600080fd5b506100de610323565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610118578181015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015f57600080fd5b50610177600160a060020a036004351660243561035a565b604080519115158252519081900360200190f35b34801561019757600080fd5b506101a06103fd565b60408051918252519081900360200190f35b3480156101be57600080fd5b506101d8600160a060020a03600435166024351515610403565b005b3480156101e657600080fd5b50610177600160a060020a0360043581169060243516604435610449565b34801561021057600080fd5b50610219610559565b6040805160ff9092168252519081900360200190f35b34801561023b57600080fd5b506101a0600160a060020a036004351661055e565b34801561025c57600080fd5b50610265610579565b60408051600160a060020a039092168252519081900360200190f35b34801561028d57600080fd5b506100de610588565b3480156102a257600080fd5b50610177600160a060020a03600435166105bf565b3480156102c357600080fd5b50610177600160a060020a03600435166024356105dd565b3480156102e757600080fd5b506101a0600160a060020a0360043581169060243516610617565b34801561030e57600080fd5b506101d8600160a060020a0360043516610642565b60408051808201909152600981527f42544343546f6b656e0000000000000000000000000000000000000000000000602082015281565b600081158061038c5750600160a060020a03338116600090815260036020908152604080832093871683529290522054155b151561039757600080fd5b600160a060020a03338116600081815260036020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350600192915050565b60045481565b60005433600160a060020a0390811691161461041e57600080fd5b600160a060020a03919091166000908152600560205260409020805460ff1916911515919091179055565b600160a060020a03808416600081815260036020908152604080832033909516835293815283822054928252600290529182205461048d908463ffffffff6106a116565b600160a060020a0380871660009081526002602052604080822093909355908616815220546104c2908463ffffffff6106b316565b600160a060020a0385166000908152600260205260409020556104eb818463ffffffff6106a116565b600160a060020a038087166000818152600360209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506001949350505050565b601281565b600160a060020a031660009081526002602052604090205490565b600054600160a060020a031681565b60408051808201909152600481527f4254434300000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a031660009081526005602052604090205460ff1690565b600160a060020a033316600090815260056020526040812054819060ff161561060557600080fd5b61060f84846106c9565b949350505050565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60005433600160a060020a0390811691161461065d57600080fd5b600160a060020a038116151561067257600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000828211156106ad57fe5b50900390565b6000828201838110156106c257fe5b9392505050565b600160a060020a0333166000908152600260205260408120546106f2908363ffffffff6106a116565b600160a060020a033381166000908152600260205260408082209390935590851681522054610727908363ffffffff6106b316565b600160a060020a038085166000818152600260209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3506001929150505600a165627a7a723058202bcd0e3d8c3d4513821396b2b7eb1b0ebfc971ee27601607a7b800858e9aa5bb0029

Swarm Source

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