ETH Price: $3,163.25 (-8.86%)
Gas: 4 Gwei

Token

Ethbits (ETB)
 

Overview

Max Total Supply

279,188.147783857331 ETB

Holders

1,474 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 12 Decimals)

Balance
10,028 ETB

Value
$0.00
0xDF6595ae523Fc06fc75f77ED4e444D6382a9E860
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
CrowdsaleToken

Compiler Version
v0.4.8+commit.60cc1668

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2017-05-03
*/

/*
 * ERC20 interface
 * see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 {
  uint public totalSupply;
  function balanceOf(address who) constant returns (uint);
  function allowance(address owner, address spender) constant returns (uint);

  function transfer(address to, uint value) returns (bool ok);
  function transferFrom(address from, address to, uint value) returns (bool ok);
  function approve(address spender, uint value) returns (bool ok);
  event Transfer(address indexed from, address indexed to, uint value);
  event Approval(address indexed owner, address indexed spender, uint value);
}



/**
 * Math operations with safety checks
 */
contract SafeMath {
  function safeMul(uint a, uint b) internal returns (uint) {
    uint c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function safeDiv(uint a, uint b) internal returns (uint) {
    assert(b > 0);
    uint c = a / b;
    assert(a == b * c + a % b);
    return c;
  }

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

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

  function max64(uint64 a, uint64 b) internal constant returns (uint64) {
    return a >= b ? a : b;
  }

  function min64(uint64 a, uint64 b) internal constant returns (uint64) {
    return a < b ? a : b;
  }

  function max256(uint256 a, uint256 b) internal constant returns (uint256) {
    return a >= b ? a : b;
  }

  function min256(uint256 a, uint256 b) internal constant returns (uint256) {
    return a < b ? a : b;
  }

  function assert(bool assertion) internal {
    if (!assertion) {
      throw;
    }
  }
}



/**
 * Standard ERC20 token
 *
 * https://github.com/ethereum/EIPs/issues/20
 * Based on code by FirstBlood:
 * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract StandardToken is ERC20, SafeMath {

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

  function transfer(address _to, uint _value) returns (bool success) {
    balances[msg.sender] = safeSub(balances[msg.sender], _value);
    balances[_to] = safeAdd(balances[_to], _value);
    Transfer(msg.sender, _to, _value);
    return true;
  }

  function transferFrom(address _from, address _to, uint _value) returns (bool success) {
    var _allowance = allowed[_from][msg.sender];

    // Check is not needed because safeSub(_allowance, _value) will already throw if this condition is not met
    // if (_value > _allowance) throw;

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

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

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

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

}





/**
 * Upgrade agent interface inspired by Lunyr.
 *
 * Upgrade agent transfers tokens to a new contract.
 * Upgrade agent itself can be the token contract, or just a middle man contract doing the heavy lifting.
 */
contract UpgradeAgent {

  uint public originalSupply;

  /** Interface marker */
  function isUpgradeAgent() public constant returns (bool) {
    return true;
  }

  function upgradeFrom(address _from, uint256 _value) public;

}


/**
 * Safe unsigned safe math.
 *
 * https://blog.aragon.one/library-driven-development-in-solidity-2bebcaf88736#.750gwtwli
 *
 * Originally from https://raw.githubusercontent.com/AragonOne/zeppelin-solidity/master/contracts/SafeMathLib.sol
 *
 * Maintained here until merged to mainline zeppelin-solidity.
 *
 */
library SafeMathLib {

  function times(uint a, uint b) returns (uint) {
    uint c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function minus(uint a, uint b) returns (uint) {
    assert(b <= a);
    return a - b;
  }

  function plus(uint a, uint b) returns (uint) {
    uint c = a + b;
    assert(c>=a && c>=b);
    return c;
  }

  function assert(bool assertion) private {
    if (!assertion) throw;
  }
}


/**
 * A token upgrade mechanism where users can opt-in amount of tokens to the next smart contract revision.
 *
 * First envisioned by Golem and Lunyr projects.
 */
contract UpgradeableToken is StandardToken {

  using SafeMathLib for uint;

  /** Contract / person who can set the upgrade path. This can be the same as team multisig wallet, as what it is with its default value. */
  address public upgradeMaster;

  /** The next contract where the tokens will be migrated. */
  UpgradeAgent public upgradeAgent;

  /** How many tokens we have upgraded by now. */
  uint256 public totalUpgraded;

  /**
   * Upgrade states.
   *
   * - NotAllowed: The child contract has not reached a condition where the upgrade can bgun
   * - WaitingForAgent: Token allows upgrade, but we don't have a new agent yet
   * - ReadyToUpgrade: The agent is set, but not a single token has been upgraded yet
   * - Upgrading: Upgrade agent is set and the balance holders can upgrade their tokens
   *
   */
  enum UpgradeState {Unknown, NotAllowed, WaitingForAgent, ReadyToUpgrade, Upgrading}

  event Upgrade(address indexed _from, address indexed _to, uint256 _value);
  event UpgradeAgentSet(address agent);

  /**
   * Do not allow construction without upgrade master set.
   */
  function UpgradeAgentEnabledToken(address _upgradeMaster) {
    upgradeMaster = _upgradeMaster;
  }

  /**
   * Allow the token holder to upgrade some of their tokens to a new contract.
   */
  function upgrade(uint256 value) public {

      UpgradeState state = getUpgradeState();
      if(!(state == UpgradeState.ReadyToUpgrade || state == UpgradeState.Upgrading)) {
        // Called in a bad state
        throw;
      }

      // Validate input value.
      if (value == 0) throw;

      balances[msg.sender] = balances[msg.sender].minus(value);

      // Take tokens out from circulation
      totalSupply = totalSupply.minus(value);
      totalUpgraded = totalUpgraded.plus(value);

      // Upgrade agent reissues the tokens
      upgradeAgent.upgradeFrom(msg.sender, value);
      Upgrade(msg.sender, upgradeAgent, value);
  }

  /**
   * Set an upgrade agent that handles
   */
  function setUpgradeAgent(address agent) external {

      if(!canUpgrade()) {
        // The token is not yet in a state that we could think upgrading
        throw;
      }

      if (agent == 0x0) throw;
      // Only a master can designate the next agent
      if (msg.sender != upgradeMaster) throw;
      // Upgrade has already begun for an agent
      if (getUpgradeState() == UpgradeState.Upgrading) throw;

      upgradeAgent = UpgradeAgent(agent);

      // Bad interface
      if(!upgradeAgent.isUpgradeAgent()) throw;

      // Make sure that token supplies match in source and target
      if (upgradeAgent.originalSupply() != totalSupply) throw;

      UpgradeAgentSet(upgradeAgent);
  }

  /**
   * Get the state of the token upgrade.
   */
  function getUpgradeState() public constant returns(UpgradeState) {
    if(!canUpgrade()) return UpgradeState.NotAllowed;
    else if(address(upgradeAgent) == 0x00) return UpgradeState.WaitingForAgent;
    else if(totalUpgraded == 0) return UpgradeState.ReadyToUpgrade;
    else return UpgradeState.Upgrading;
  }

  /**
   * Change the upgrade master.
   *
   * This allows us to set a new owner for the upgrade mechanism.
   */
  function setUpgradeMaster(address master) external {
      if (master == 0x0) throw;
      if (msg.sender != upgradeMaster) throw;
      upgradeMaster = master;
  }

  /**
   * Child contract can enable to provide the condition when the upgrade can begun.
   */
  function canUpgrade() public constant returns(bool) {
     return true;
  }

}




/*
 * Ownable
 *
 * Base contract with an owner.
 * Provides onlyOwner modifier, which prevents function from running if it is called by anyone other than the owner.
 */
contract Ownable {
  address public owner;

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

  modifier onlyOwner() {
    if (msg.sender != owner) {
      throw;
    }
    _;
  }

  function transferOwnership(address newOwner) onlyOwner {
    if (newOwner != address(0)) {
      owner = newOwner;
    }
  }

}




/**
 * Define interface for releasing the token transfer after a successful crowdsale.
 */
contract ReleasableToken is ERC20, Ownable {

  /* The finalizer contract that allows unlift the transfer limits on this token */
  address public releaseAgent;

  /** A crowdsale contract can release us to the wild if ICO success. If false we are are in transfer lock up period.*/
  bool public released = false;

  /** Map of agents that are allowed to transfer tokens regardless of the lock down period. These are crowdsale contracts and possible the team multisig itself. */
  mapping (address => bool) public transferAgents;

  /**
   * Limit token transfer until the crowdsale is over.
   *
   */
  modifier canTransfer(address _sender) {

    if(!released) {
        if(!transferAgents[_sender]) {
            throw;
        }
    }

    _;
  }

  /**
   * Set the contract that can call release and make the token transferable.
   *
   * Design choice. Allow reset the release agent to fix fat finger mistakes.
   */
  function setReleaseAgent(address addr) onlyOwner inReleaseState(false) public {

    // We don't do interface check here as we might want to a normal wallet address to act as a release agent
    releaseAgent = addr;
  }

  /**
   * Owner can allow a particular address (a crowdsale contract) to transfer tokens despite the lock up period.
   */
  function setTransferAgent(address addr, bool state) onlyOwner inReleaseState(false) public {
    transferAgents[addr] = state;
  }

  /**
   * One way function to release the tokens to the wild.
   *
   * Can be called only from the release agent that is the final ICO contract. It is only called if the crowdsale has been success (first milestone reached).
   */
  function releaseTokenTransfer() public onlyReleaseAgent {
    released = true;
  }

  /** The function can be called only before or after the tokens have been releasesd */
  modifier inReleaseState(bool releaseState) {
    if(releaseState != released) {
        throw;
    }
    _;
  }

  /** The function can be called only by a whitelisted release agent. */
  modifier onlyReleaseAgent() {
    if(msg.sender != releaseAgent) {
        throw;
    }
    _;
  }

  function transfer(address _to, uint _value) canTransfer(msg.sender) returns (bool success) {
    // Call StandardToken.transfer()
   return super.transfer(_to, _value);
  }

  function transferFrom(address _from, address _to, uint _value) canTransfer(_from) returns (bool success) {
    // Call StandardToken.transferForm()
    return super.transferFrom(_from, _to, _value);
  }

}







/**
 * A token that can increase its supply by another contract.
 *
 * This allows uncapped crowdsale by dynamically increasing the supply when money pours in.
 * Only mint agents, contracts whitelisted by owner, can mint new tokens.
 *
 */
contract MintableToken is StandardToken, Ownable {

  using SafeMathLib for uint;

  bool public mintingFinished = false;

  /** List of agents that are allowed to create new tokens */
  mapping (address => bool) public mintAgents;

  /**
   * Create new tokens and allocate them to an address..
   *
   * Only callably by a crowdsale contract (mint agent).
   */
  function mint(address receiver, uint amount) onlyMintAgent canMint public {
    totalSupply = totalSupply.plus(amount);
    balances[receiver] = balances[receiver].plus(amount);
    Transfer(0, receiver, amount);
  }

  /**
   * Owner can allow a crowdsale contract to mint new tokens.
   */
  function setMintAgent(address addr, bool state) onlyOwner canMint public {
    mintAgents[addr] = state;
  }

  modifier onlyMintAgent() {
    // Only crowdsale contracts are allowed to mint new tokens
    if(!mintAgents[msg.sender]) {
        throw;
    }
    _;
  }

  /** Make sure we are not done yet. */
  modifier canMint() {
    if(mintingFinished) throw;
    _;
  }
}




/**
 * A crowdsaled token.
 *
 * An ERC-20 token designed specifically for crowdsales with investor protection and further development path.
 *
 * - The token transfer() is disabled until the crowdsale is over
 * - The token contract gives an opt-in upgrade path to a new contract
 * - The same token can be part of several crowdsales through approve() mechanism
 * - The token can be capped (supply set in the constructor) or uncapped (crowdsale contract can mint new tokens)
 *
 */
contract CrowdsaleToken is ReleasableToken, MintableToken, UpgradeableToken {

  string public name;

  string public symbol;

  uint public decimals;

  /**
   * Construct the token.
   *
   * This token must be created through a team multisig wallet, so that it is owned by that wallet.
   */
  function CrowdsaleToken(string _name, string _symbol, uint _initialSupply, uint _decimals) {

    // Create from team multisig
    owner = msg.sender;

    // Initially set the upgrade master same as owner
    upgradeMaster = owner;

    name = _name;
    symbol = _symbol;

    totalSupply = _initialSupply;

    decimals = _decimals;

    // Create initially all balance on the team multisig
    balances[msg.sender] = totalSupply;
  }

  /**
   * When token is released to be transferable, enforce no new tokens can be created.
   */
  function releaseTokenTransfer() public onlyReleaseAgent {
    mintingFinished = true;
    super.releaseTokenTransfer();
  }

  /**
   * Allow upgrade agent functionality kick in only if the crowdsale was success.
   */
  function canUpgrade() public constant returns(bool) {
    return released;
  }

}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"state","type":"bool"}],"name":"setTransferAgent","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"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":false,"inputs":[{"name":"addr","type":"address"}],"name":"setReleaseAgent","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"receiver","type":"address"},{"name":"amount","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"mintAgents","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"state","type":"bool"}],"name":"setMintAgent","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"upgrade","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_upgradeMaster","type":"address"}],"name":"UpgradeAgentEnabledToken","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"upgradeAgent","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"releaseTokenTransfer","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"upgradeMaster","outputs":[{"name":"","type":"address"}],"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":"getUpgradeState","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"transferAgents","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"released","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"canUpgrade","outputs":[{"name":"","type":"bool"}],"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":"totalUpgraded","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"releaseAgent","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"agent","type":"address"}],"name":"setUpgradeAgent","outputs":[],"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"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"master","type":"address"}],"name":"setUpgradeMaster","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_initialSupply","type":"uint256"},{"name":"_decimals","type":"uint256"}],"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":"Upgrade","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"agent","type":"address"}],"name":"UpgradeAgentSet","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"}]

60606040526004805460a060020a60ff02191690556006805460ff191690553462000000576040516200164d3803806200164d83398101604090815281516020830151918301516060840151918401939290920191905b5b60038054600160a060020a03191633600160a060020a03161790555b60038054600160a060020a03338116600160a060020a031992831617928390556008805490921692169190911790558351600b8054600082905290916020601f6002600019600186161561010002019094169390930483018190047f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db99081019390918901908390106200011257805160ff191683800117855562000142565b8280016001018555821562000142579182015b828111156200014257825182559160200191906001019062000125565b5b50620001669291505b808211156200016257600081556001016200014c565b5090565b505082600c9080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001b657805160ff1916838001178555620001e6565b82800160010185558215620001e6579182015b82811115620001e6578251825591602001919060010190620001c9565b5b506200020a9291505b808211156200016257600081556001016200014c565b5090565b50506000828155600d829055600160a060020a03331681526001602052604090208290555b505050505b61140980620002446000396000f300606060405236156101645763ffffffff60e060020a60003504166302f652a3811461016957806305d2035b1461018957806306fdde03146101aa578063095ea7b31461023757806318160ddd1461026757806323b872dd1461028657806329ff4f53146102bc578063313ce567146102d757806340c10f19146102f657806342c1867b14610314578063432146751461034157806345977d03146103615780635d302ba1146103735780635de4ccb01461038e5780635f412d4f146103b7578063600440cb146103c657806370a08231146103ef5780638444b3911461041a578063867c2857146104485780638da5cb5b1461047557806395d89b411461049e578063961325211461052b5780639738968c1461054c578063a9059cbb1461056d578063c752ff621461059d578063d1f276d3146105bc578063d7e7088a146105e5578063dd62ed3e14610600578063f2fde38b14610631578063ffeb7d751461064c575b610000565b3461000057610187600160a060020a03600435166024351515610667565b005b34610000576101966106c8565b604080519115158252519081900360200190f35b34610000576101b76106d1565b6040805160208082528351818301528351919283929083019185019080838382156101fd575b8051825260208311156101fd57601f1990920191602091820191016101dd565b505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610196600160a060020a036004351660243561075f565b604080519115158252519081900360200190f35b34610000576102746107ca565b60408051918252519081900360200190f35b3461000057610196600160a060020a03600435811690602435166044356107d0565b604080519115158252519081900360200190f35b3461000057610187600160a060020a0360043516610827565b005b346100005761027461087e565b60408051918252519081900360200190f35b3461000057610187600160a060020a0360043516602435610884565b005b3461000057610196600160a060020a0360043516610a0b565b604080519115158252519081900360200190f35b3461000057610187600160a060020a03600435166024351515610a20565b005b3461000057610187600435610a76565b005b3461000057610187600160a060020a0360043516610cf9565b005b346100005761039b610d18565b60408051600160a060020a039092168252519081900360200190f35b3461000057610187610d27565b005b346100005761039b610d5b565b60408051600160a060020a039092168252519081900360200190f35b3461000057610274600160a060020a0360043516610d6a565b60408051918252519081900360200190f35b3461000057610427610d89565b6040518082600481116100005760ff16815260200191505060405180910390f35b3461000057610196600160a060020a0360043516610dd6565b604080519115158252519081900360200190f35b346100005761039b610deb565b60408051600160a060020a039092168252519081900360200190f35b34610000576101b7610dfa565b6040805160208082528351818301528351919283929083019185019080838382156101fd575b8051825260208311156101fd57601f1990920191602091820191016101dd565b505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610196610e88565b604080519115158252519081900360200190f35b3461000057610196610e98565b604080519115158252519081900360200190f35b3461000057610196600160a060020a0360043516602435610ea9565b604080519115158252519081900360200190f35b3461000057610274610efe565b60408051918252519081900360200190f35b346100005761039b610f04565b60408051600160a060020a039092168252519081900360200190f35b3461000057610187600160a060020a0360043516610f13565b005b3461000057610274600160a060020a03600435811690602435166110cb565b60408051918252519081900360200190f35b3461000057610187600160a060020a03600435166110f8565b005b3461000057610187600160a060020a0360043516611143565b005b60035433600160a060020a0390811691161461068257610000565b60045460009060a060020a900460ff161561069c57610000565b600160a060020a0383166000908152600560205260409020805460ff19168315151790555b5b505b5050565b60065460ff1681565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107575780601f1061072c57610100808354040283529160200191610757565b820191906000526020600020905b81548152906001019060200180831161073a57829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60005481565b600454600090849060a060020a900460ff16151561080f57600160a060020a03811660009081526005602052604090205460ff16151561080f57610000565b5b61081b858585611192565b91505b5b509392505050565b60035433600160a060020a0390811691161461084257610000565b60045460009060a060020a900460ff161561085c57610000565b60048054600160a060020a031916600160a060020a0384161790555b5b505b50565b600d5481565b600160a060020a03331660009081526007602052604090205460ff1615156108ab57610000565b60065460ff16156108bb57610000565b60005473f49005661e34f8d09fe78f1b196cf084a3bd30336366098d4f9091836000604051602001526040518363ffffffff1660e060020a028152600401808381526020018281526020019250505060206040518083038186803b156100005760325a03f4156100005750506040805180516000908155600160a060020a0386168152600160209081528382205492810191909152825160e060020a6366098d4f028152600481019290925260248201859052915173f49005661e34f8d09fe78f1b196cf084a3bd303393506366098d4f92604480840193919291829003018186803b156100005760325a03f415610000575050604080518051600160a060020a0386166000818152600160209081528582209390935586845293519094507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35b5b5b5050565b60076020526000908152604090205460ff1681565b60035433600160a060020a03908116911614610a3b57610000565b60065460ff1615610a4b57610000565b600160a060020a0382166000908152600760205260409020805460ff19168215151790555b5b5b5050565b6000610a80610d89565b905060038160048111610000571480610aa157506004816004811161000057145b1515610aac57610000565b811515610ab857610000565b600160a060020a0333166000908152600160209081526040808320548151830193909352805160e060020a63f4f3bdc10281526004810193909352602483018590525173f49005661e34f8d09fe78f1b196cf084a3bd30339263f4f3bdc1926044808301939192829003018186803b156100005760325a03f415610000575050604080518051600160a060020a03331660009081526001602090815284822092909255805492820152825160e060020a63f4f3bdc1028152600481019290925260248201869052915173f49005661e34f8d09fe78f1b196cf084a3bd3033935063f4f3bdc192604480840193919291829003018186803b156100005760325a03f4156100005750506040805180516000908155600a54602092830191909152825160e060020a6366098d4f028152600481019190915260248101869052915173f49005661e34f8d09fe78f1b196cf084a3bd303393506366098d4f926044808201939291829003018186803b156100005760325a03f415610000575050604080518051600a556009547f753e88e5000000000000000000000000000000000000000000000000000000008252600160a060020a0333811660048401526024830187905292519216925063753e88e591604480830192600092919082900301818387803b156100005760325a03f115610000575050600954604080518581529051600160a060020a03928316935033909216917f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac9181900360200190a35b5050565b60088054600160a060020a031916600160a060020a0383161790555b50565b600954600160a060020a031681565b60045433600160a060020a03908116911614610d4257610000565b6006805460ff19166001179055610d57611295565b5b5b565b600854600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b6000610d93610e98565b1515610da157506001610dd0565b600954600160a060020a03161515610dbb57506002610dd0565b600a541515610dcc57506003610dd0565b5060045b5b5b5b90565b60056020526000908152604090205460ff1681565b600354600160a060020a031681565b600c805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107575780601f1061072c57610100808354040283529160200191610757565b820191906000526020600020905b81548152906001019060200180831161073a57829003601f168201915b505050505081565b60045460a060020a900460ff1681565b60045460a060020a900460ff165b90565b600454600090339060a060020a900460ff161515610ee857600160a060020a03811660009081526005602052604090205460ff161515610ee857610000565b5b610ef384846112d8565b91505b5b5092915050565b600a5481565b600454600160a060020a031681565b610f1b610e98565b1515610f2657610000565b600160a060020a0381161515610f3b57610000565b60085433600160a060020a03908116911614610f5657610000565b6004610f60610d89565b60048111610000571415610f7357610000565b60098054600160a060020a031916600160a060020a038381169190911791829055604080516000602091820181905282517f61d3d7a6000000000000000000000000000000000000000000000000000000008152925194909316936361d3d7a6936004808501948390030190829087803b156100005760325a03f115610000575050604051511515905061100657610000565b6000805460095460408051602090810185905281517f4b2ba0dd00000000000000000000000000000000000000000000000000000000815291519394600160a060020a0390931693634b2ba0dd936004808501948390030190829087803b156100005760325a03f1156100005750506040515191909114905061108857610000565b60095460408051600160a060020a039092168252517f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc9181900360200190a15b50565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60035433600160a060020a0390811691161461111357610000565b600160a060020a0381161561087b5760038054600160a060020a031916600160a060020a0383161790555b5b5b50565b600160a060020a038116151561115857610000565b60085433600160a060020a03908116911614610cf957610000565b60088054600160a060020a031916600160a060020a0383161790555b50565b600160a060020a0380841660009081526002602090815260408083203385168452825280832054938616835260019091528120549091906111d3908461138c565b600160a060020a03808616600090815260016020526040808220939093559087168152205461120290846113b4565b600160a060020a03861660009081526001602052604090205561122581846113b4565b600160a060020a038087166000818152600260209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600191505b509392505050565b60045433600160a060020a039081169116146112b057610000565b6004805474ff0000000000000000000000000000000000000000191660a060020a1790555b5b565b600160a060020a0333166000908152600160205260408120546112fb90836113b4565b600160a060020a03338116600090815260016020526040808220939093559085168152205461132a908361138c565b600160a060020a038085166000818152600160209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b92915050565b60008282016113a98482108015906113a45750838210155b6113cd565b8091505b5092915050565b60006113c2838311156113cd565b508082035b92915050565b80151561087b57610000565b5b505600a165627a7a72305820b146a721cc045585f26f76e93dac84879cd5344fbb8e3a0e1ee3b45dbd46724f0029000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000007457468626974730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034554420000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x606060405236156101645763ffffffff60e060020a60003504166302f652a3811461016957806305d2035b1461018957806306fdde03146101aa578063095ea7b31461023757806318160ddd1461026757806323b872dd1461028657806329ff4f53146102bc578063313ce567146102d757806340c10f19146102f657806342c1867b14610314578063432146751461034157806345977d03146103615780635d302ba1146103735780635de4ccb01461038e5780635f412d4f146103b7578063600440cb146103c657806370a08231146103ef5780638444b3911461041a578063867c2857146104485780638da5cb5b1461047557806395d89b411461049e578063961325211461052b5780639738968c1461054c578063a9059cbb1461056d578063c752ff621461059d578063d1f276d3146105bc578063d7e7088a146105e5578063dd62ed3e14610600578063f2fde38b14610631578063ffeb7d751461064c575b610000565b3461000057610187600160a060020a03600435166024351515610667565b005b34610000576101966106c8565b604080519115158252519081900360200190f35b34610000576101b76106d1565b6040805160208082528351818301528351919283929083019185019080838382156101fd575b8051825260208311156101fd57601f1990920191602091820191016101dd565b505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610196600160a060020a036004351660243561075f565b604080519115158252519081900360200190f35b34610000576102746107ca565b60408051918252519081900360200190f35b3461000057610196600160a060020a03600435811690602435166044356107d0565b604080519115158252519081900360200190f35b3461000057610187600160a060020a0360043516610827565b005b346100005761027461087e565b60408051918252519081900360200190f35b3461000057610187600160a060020a0360043516602435610884565b005b3461000057610196600160a060020a0360043516610a0b565b604080519115158252519081900360200190f35b3461000057610187600160a060020a03600435166024351515610a20565b005b3461000057610187600435610a76565b005b3461000057610187600160a060020a0360043516610cf9565b005b346100005761039b610d18565b60408051600160a060020a039092168252519081900360200190f35b3461000057610187610d27565b005b346100005761039b610d5b565b60408051600160a060020a039092168252519081900360200190f35b3461000057610274600160a060020a0360043516610d6a565b60408051918252519081900360200190f35b3461000057610427610d89565b6040518082600481116100005760ff16815260200191505060405180910390f35b3461000057610196600160a060020a0360043516610dd6565b604080519115158252519081900360200190f35b346100005761039b610deb565b60408051600160a060020a039092168252519081900360200190f35b34610000576101b7610dfa565b6040805160208082528351818301528351919283929083019185019080838382156101fd575b8051825260208311156101fd57601f1990920191602091820191016101dd565b505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610196610e88565b604080519115158252519081900360200190f35b3461000057610196610e98565b604080519115158252519081900360200190f35b3461000057610196600160a060020a0360043516602435610ea9565b604080519115158252519081900360200190f35b3461000057610274610efe565b60408051918252519081900360200190f35b346100005761039b610f04565b60408051600160a060020a039092168252519081900360200190f35b3461000057610187600160a060020a0360043516610f13565b005b3461000057610274600160a060020a03600435811690602435166110cb565b60408051918252519081900360200190f35b3461000057610187600160a060020a03600435166110f8565b005b3461000057610187600160a060020a0360043516611143565b005b60035433600160a060020a0390811691161461068257610000565b60045460009060a060020a900460ff161561069c57610000565b600160a060020a0383166000908152600560205260409020805460ff19168315151790555b5b505b5050565b60065460ff1681565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107575780601f1061072c57610100808354040283529160200191610757565b820191906000526020600020905b81548152906001019060200180831161073a57829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60005481565b600454600090849060a060020a900460ff16151561080f57600160a060020a03811660009081526005602052604090205460ff16151561080f57610000565b5b61081b858585611192565b91505b5b509392505050565b60035433600160a060020a0390811691161461084257610000565b60045460009060a060020a900460ff161561085c57610000565b60048054600160a060020a031916600160a060020a0384161790555b5b505b50565b600d5481565b600160a060020a03331660009081526007602052604090205460ff1615156108ab57610000565b60065460ff16156108bb57610000565b60005473f49005661e34f8d09fe78f1b196cf084a3bd30336366098d4f9091836000604051602001526040518363ffffffff1660e060020a028152600401808381526020018281526020019250505060206040518083038186803b156100005760325a03f4156100005750506040805180516000908155600160a060020a0386168152600160209081528382205492810191909152825160e060020a6366098d4f028152600481019290925260248201859052915173f49005661e34f8d09fe78f1b196cf084a3bd303393506366098d4f92604480840193919291829003018186803b156100005760325a03f415610000575050604080518051600160a060020a0386166000818152600160209081528582209390935586845293519094507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35b5b5b5050565b60076020526000908152604090205460ff1681565b60035433600160a060020a03908116911614610a3b57610000565b60065460ff1615610a4b57610000565b600160a060020a0382166000908152600760205260409020805460ff19168215151790555b5b5b5050565b6000610a80610d89565b905060038160048111610000571480610aa157506004816004811161000057145b1515610aac57610000565b811515610ab857610000565b600160a060020a0333166000908152600160209081526040808320548151830193909352805160e060020a63f4f3bdc10281526004810193909352602483018590525173f49005661e34f8d09fe78f1b196cf084a3bd30339263f4f3bdc1926044808301939192829003018186803b156100005760325a03f415610000575050604080518051600160a060020a03331660009081526001602090815284822092909255805492820152825160e060020a63f4f3bdc1028152600481019290925260248201869052915173f49005661e34f8d09fe78f1b196cf084a3bd3033935063f4f3bdc192604480840193919291829003018186803b156100005760325a03f4156100005750506040805180516000908155600a54602092830191909152825160e060020a6366098d4f028152600481019190915260248101869052915173f49005661e34f8d09fe78f1b196cf084a3bd303393506366098d4f926044808201939291829003018186803b156100005760325a03f415610000575050604080518051600a556009547f753e88e5000000000000000000000000000000000000000000000000000000008252600160a060020a0333811660048401526024830187905292519216925063753e88e591604480830192600092919082900301818387803b156100005760325a03f115610000575050600954604080518581529051600160a060020a03928316935033909216917f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac9181900360200190a35b5050565b60088054600160a060020a031916600160a060020a0383161790555b50565b600954600160a060020a031681565b60045433600160a060020a03908116911614610d4257610000565b6006805460ff19166001179055610d57611295565b5b5b565b600854600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b6000610d93610e98565b1515610da157506001610dd0565b600954600160a060020a03161515610dbb57506002610dd0565b600a541515610dcc57506003610dd0565b5060045b5b5b5b90565b60056020526000908152604090205460ff1681565b600354600160a060020a031681565b600c805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107575780601f1061072c57610100808354040283529160200191610757565b820191906000526020600020905b81548152906001019060200180831161073a57829003601f168201915b505050505081565b60045460a060020a900460ff1681565b60045460a060020a900460ff165b90565b600454600090339060a060020a900460ff161515610ee857600160a060020a03811660009081526005602052604090205460ff161515610ee857610000565b5b610ef384846112d8565b91505b5b5092915050565b600a5481565b600454600160a060020a031681565b610f1b610e98565b1515610f2657610000565b600160a060020a0381161515610f3b57610000565b60085433600160a060020a03908116911614610f5657610000565b6004610f60610d89565b60048111610000571415610f7357610000565b60098054600160a060020a031916600160a060020a038381169190911791829055604080516000602091820181905282517f61d3d7a6000000000000000000000000000000000000000000000000000000008152925194909316936361d3d7a6936004808501948390030190829087803b156100005760325a03f115610000575050604051511515905061100657610000565b6000805460095460408051602090810185905281517f4b2ba0dd00000000000000000000000000000000000000000000000000000000815291519394600160a060020a0390931693634b2ba0dd936004808501948390030190829087803b156100005760325a03f1156100005750506040515191909114905061108857610000565b60095460408051600160a060020a039092168252517f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc9181900360200190a15b50565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60035433600160a060020a0390811691161461111357610000565b600160a060020a0381161561087b5760038054600160a060020a031916600160a060020a0383161790555b5b5b50565b600160a060020a038116151561115857610000565b60085433600160a060020a03908116911614610cf957610000565b60088054600160a060020a031916600160a060020a0383161790555b50565b600160a060020a0380841660009081526002602090815260408083203385168452825280832054938616835260019091528120549091906111d3908461138c565b600160a060020a03808616600090815260016020526040808220939093559087168152205461120290846113b4565b600160a060020a03861660009081526001602052604090205561122581846113b4565b600160a060020a038087166000818152600260209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600191505b509392505050565b60045433600160a060020a039081169116146112b057610000565b6004805474ff0000000000000000000000000000000000000000191660a060020a1790555b5b565b600160a060020a0333166000908152600160205260408120546112fb90836113b4565b600160a060020a03338116600090815260016020526040808220939093559085168152205461132a908361138c565b600160a060020a038085166000818152600160209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b92915050565b60008282016113a98482108015906113a45750838210155b6113cd565b8091505b5092915050565b60006113c2838311156113cd565b508082035b92915050565b80151561087b57610000565b5b505600a165627a7a72305820b146a721cc045585f26f76e93dac84879cd5344fbb8e3a0e1ee3b45dbd46724f0029

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000007457468626974730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034554420000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Ethbits
Arg [1] : _symbol (string): ETB
Arg [2] : _initialSupply (uint256): 0
Arg [3] : _decimals (uint256): 12

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [5] : 4574686269747300000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 4554420000000000000000000000000000000000000000000000000000000000


Libraries Used


Swarm Source

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