Sponsored Link:   SHIFT.cash - 1st ever car title loan platform on blockchain. Join NOW.
This is the OLD Ethbits (ETB) Token contract which has since been replaced with 0x1b9743f556d65e757c4c650b4555baf354cb8bd3
Contract Overview | Ethbits_Old
ETH Balance: 0 Ether
ETH USD Value: $0
No Of Transactions: 2280 txns
  Latest 25 txns from a total Of 2280 transactions View All

TxHash Age From To Value [TxFee]
0x3cb5c51c6cf5b23fc50f2fbf7805c674e1257e6fc6781a3b1072b8740479b0a814 days 55 mins ago0x35538f5742ff739e3622f29db1134a166e20c5f5  IN   Ethbits_Old0 Ether0.001099623
0x3861f335359466f49953c8a76f4d329eef02cb8031feaacb361319c3c2d5d3a415 days 16 hrs ago0x848c37b561d051d9f0208056ba66ff92c39fc00a  IN   Ethbits_Old0 Ether0.000493394
0xd1d4c3950ff779f0052f06df9d3ad888d2519c18590fd3103ab70954a5945fb215 days 16 hrs ago0x0c7a2eb5b17325de8a68cafbe123e8e89ff07a1e  IN   Ethbits_Old0 Ether0.000493394
0x5f2315108a0b7e8be8fdda836af263a283935ba4e778b69fe4b3844e3ccbfb4415 days 17 hrs ago0x607fa5a08ef2da0434d44967970f75d15118d694  IN   Ethbits_Old0 Ether0.000493394
0x60cfa0b1190eedea52f73812ebdc0d5ccac5645f5cabeaa0c7e5201423742c4615 days 17 hrs ago0xffd0831645bce8012a14025823eab1f93d042bc4  IN   Ethbits_Old0 Ether0.000493394
0xf809e4693a3fb909bc5d7d1a514e16da3e9d40704010360442e03915182edd8815 days 17 hrs ago0xffd0831645bce8012a14025823eab1f93d042bc4  IN   Ethbits_Old0 Ether0.000822404
0x5df94ad8cac103fa8e26d81a1775b992ee1257151c266f402dac34cc2f67307715 days 18 hrs ago0x86b80dad872ec3226174218c5b20a1c3a99a5383  IN   Ethbits_Old0 Ether0.000493394
0x50db8804b3b37686a320505ad640f457a0291abc6ec4590d635031282ac1912015 days 18 hrs ago0x12d63d55f304e9d3a500e2d2cd5e4951ba5fa770  IN   Ethbits_Old0 Ether0.000493394
0x9f8f4ba4c9f6fca81effdf9d386e28ea527f546b6dd02c08c715e30a18417a1f15 days 18 hrs ago0x077a1da04bddd9e05d3ddaf516a7b021a96ef14d  IN   Ethbits_Old0 Ether0.000493394
0x4b4d0052b8334665c8ae149f4b23bcf89d0916ee55cb37204d127cdc167c6cd315 days 18 hrs ago0xd626035d6825e6528ffb0bd50a9f6218b2f21f7f  IN   Ethbits_Old0 Ether0.000493394
0x620ddb36fee8afb6484b32e6d34abf28d2e5ddb91ae9d7ac5a2ca148f8e9ee0715 days 18 hrs ago0x4f0319eb97021993ec862200809f2859423d7495  IN   Ethbits_Old0 Ether0.000493394
0xc2b127b008ca0032f441147186787f7ce5e15e42eaca2c01b5f633d8acd3e3d815 days 19 hrs ago0x323eda27a89e7839765852c7d0433cc4dcd0de89  IN   Ethbits_Old0 Ether0.000493394
0x7ed0ceb80a04e944fbcd1d23658613724ac89d89b2db5172fd27c0ece082fee316 days 19 hrs ago0x63b56909257c89953e888c9a4fa83816d3d24dc2  IN   Ethbits_Old0 Ether0.000493394
0x10066b3b9df9499257aa86e03b24d4ab86a6cca1e16d7a558a88112ffae7144316 days 20 hrs ago0xb84e7087d87123fed0f08e6ccddbf411545f8e89  IN   Ethbits_Old0 Ether0.000493394
0x684224980c2e986883607ff4f2ef42cd0af9de970c83dbdd1631f9c503530f8b16 days 21 hrs ago0x3d0c9f864751fd73158210caba258d0eea22ccb1  IN   Ethbits_Old0 Ether0.000493394
0x6ac230393312b6c50c639cc71c51ce4f00646a92c6c0e37dc041baef3abda37816 days 22 hrs ago0x16c1bf5f5c3b18841fdf3bbe907572028fec37b2  IN   Ethbits_Old0 Ether0.000493394
0xcff422c8030d541e32df0932353257786fab184a2af3f22f6ba6357ffddaade018 days 17 hrs ago0x462dd9c4395735e6c43037bb70c077672bdcae1e  IN   Ethbits_Old0 Ether0.000785967
0x0bde5c1de75aeb68e34e0ba1184498a78ffdd8a9486adfa50e1f9dc9e4c9544c19 days 16 hrs ago0xa2740ddcccccd8b45c3e872a568158f04f087b64  IN   Ethbits_Old0 Ether0.00037363
0xfc86942b07254f6c43df89a26ecbb28f9bbf74e9d3a1f216deb2aba5dfbc1ac938 days 10 hrs ago0x382335fbb8bd62cdd660836f0fdfcc61de832656  IN   Ethbits_Old0 Ether0.000182348
0xa6721479a02174f6ab1d26a414ed0dec612851a9b2a38d91082f8eecd1c4a26946 days 14 hrs ago0x04528fb91840ce4bcfc7390919a455d530da8ecb  IN   Ethbits_Old0 Ether0.000784623
0x6e65c5675cdca712f9baef6378f30b95fd3b9a6886360410791d273e602be58353 days 19 hrs ago0xff1ad1d2178df86c30807ea3957565c4a878ee05  IN   Ethbits_Old0 Ether0.000785967
0x13438e1c51cd0756431deea86cd522519b49f518622a0de23e5426cf4e5a160254 days 10 hrs ago0x382335fbb8bd62cdd660836f0fdfcc61de832656  IN   Ethbits_Old0 Ether0.001094247
0xba19e2344b6638cad437129a47456b9a80de52876520f6f4c71602952253e99261 days 12 hrs ago0x06595e2fa93082f8f0337c5767305a442eeb9ef6  IN   Ethbits_Old0 Ether0.000364184
0xe4d90e8a06a59cc597270af4ce0cc9ecd3258cd8f14c6df261bf7a62941eae4461 days 12 hrs ago0x89efb6e0c5eb2b5f1321a81493dac135ee9d7567  IN   Ethbits_Old0 Ether0.00112281
0x487cb34657596a1cf24cfd773553a255505bbf52b25c5d850e00c213f4a03ebb73 days 19 hrs ago0x7841ba79b70b9afc8e8981e8bf5acc5a35ecb067  IN   Ethbits_Old0 Ether0.00105
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Contract Name: CrowdsaleToken
Compiler Version: v0.4.8+commit.60cc1668
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
/*
 * 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 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"}]

  Contract Creation Code Switch To Opcodes View
60606040526004805460a060020a60ff02191690556006805460ff191690553462000000576040516200164d3803806200164d83398101604090815281516020830151918301516060840151918401939290920191905b5b60038054600160a060020a03191633600160a060020a03161790555b60038054600160a060020a03338116600160a060020a031992831617928390556008805490921692169190911790558351600b8054600082905290916020601f6002600019600186161561010002019094169390930483018190047f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db99081019390918901908390106200011257805160ff191683800117855562000142565b8280016001018555821562000142579182015b828111156200014257825182559160200191906001019062000125565b5b50620001669291505b808211156200016257600081556001016200014c565b5090565b505082600c9080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001b657805160ff1916838001178555620001e6565b82800160010185558215620001e6579182015b82811115620001e6578251825591602001919060010190620001c9565b5b506200020a9291505b808211156200016257600081556001016200014c565b5090565b50506000828155600d829055600160a060020a03331681526001602052604090208290555b505050505b61140980620002446000396000f300606060405236156101645763ffffffff60e060020a60003504166302f652a3811461016957806305d2035b1461018957806306fdde03146101aa578063095ea7b31461023757806318160ddd1461026757806323b872dd1461028657806329ff4f53146102bc578063313ce567146102d757806340c10f19146102f657806342c1867b14610314578063432146751461034157806345977d03146103615780635d302ba1146103735780635de4ccb01461038e5780635f412d4f146103b7578063600440cb146103c657806370a08231146103ef5780638444b3911461041a578063867c2857146104485780638da5cb5b1461047557806395d89b411461049e578063961325211461052b5780639738968c1461054c578063a9059cbb1461056d578063c752ff621461059d578063d1f276d3146105bc578063d7e7088a146105e5578063dd62ed3e14610600578063f2fde38b14610631578063ffeb7d751461064c575b610000565b3461000057610187600160a060020a03600435166024351515610667565b005b34610000576101966106c8565b604080519115158252519081900360200190f35b34610000576101b76106d1565b6040805160208082528351818301528351919283929083019185019080838382156101fd575b8051825260208311156101fd57601f1990920191602091820191016101dd565b505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610196600160a060020a036004351660243561075f565b604080519115158252519081900360200190f35b34610000576102746107ca565b60408051918252519081900360200190f35b3461000057610196600160a060020a03600435811690602435166044356107d0565b604080519115158252519081900360200190f35b3461000057610187600160a060020a0360043516610827565b005b346100005761027461087e565b60408051918252519081900360200190f35b3461000057610187600160a060020a0360043516602435610884565b005b3461000057610196600160a060020a0360043516610a0b565b604080519115158252519081900360200190f35b3461000057610187600160a060020a03600435166024351515610a20565b005b3461000057610187600435610a76565b005b3461000057610187600160a060020a0360043516610cf9565b005b346100005761039b610d18565b60408051600160a060020a039092168252519081900360200190f35b3461000057610187610d27565b005b346100005761039b610d5b565b60408051600160a060020a039092168252519081900360200190f35b3461000057610274600160a060020a0360043516610d6a565b60408051918252519081900360200190f35b3461000057610427610d89565b6040518082600481116100005760ff16815260200191505060405180910390f35b3461000057610196600160a060020a0360043516610dd6565b604080519115158252519081900360200190f35b346100005761039b610deb565b60408051600160a060020a039092168252519081900360200190f35b34610000576101b7610dfa565b6040805160208082528351818301528351919283929083019185019080838382156101fd575b8051825260208311156101fd57601f1990920191602091820191016101dd565b505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610196610e88565b604080519115158252519081900360200190f35b3461000057610196610e98565b604080519115158252519081900360200190f35b3461000057610196600160a060020a0360043516602435610ea9565b604080519115158252519081900360200190f35b3461000057610274610efe565b60408051918252519081900360200190f35b346100005761039b610f04565b60408051600160a060020a039092168252519081900360200190f35b3461000057610187600160a060020a0360043516610f13565b005b3461000057610274600160a060020a03600435811690602435166110cb565b60408051918252519081900360200190f35b3461000057610187600160a060020a03600435166110f8565b005b3461000057610187600160a060020a0360043516611143565b005b60035433600160a060020a0390811691161461068257610000565b60045460009060a060020a900460ff161561069c57610000565b600160a060020a0383166000908152600560205260409020805460ff19168315151790555b5b505b5050565b60065460ff1681565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107575780601f1061072c57610100808354040283529160200191610757565b820191906000526020600020905b81548152906001019060200180831161073a57829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60005481565b600454600090849060a060020a900460ff16151561080f57600160a060020a03811660009081526005602052604090205460ff16151561080f57610000565b5b61081b858585611192565b91505b5b509392505050565b60035433600160a060020a0390811691161461084257610000565b60045460009060a060020a900460ff161561085c57610000565b60048054600160a060020a031916600160a060020a0384161790555b5b505b50565b600d5481565b600160a060020a03331660009081526007602052604090205460ff1615156108ab57610000565b60065460ff16156108bb57610000565b60005473f49005661e34f8d09fe78f1b196cf084a3bd30336366098d4f9091836000604051602001526040518363ffffffff1660e060020a028152600401808381526020018281526020019250505060206040518083038186803b156100005760325a03f4156100005750506040805180516000908155600160a060020a0386168152600160209081528382205492810191909152825160e060020a6366098d4f028152600481019290925260248201859052915173f49005661e34f8d09fe78f1b196cf084a3bd303393506366098d4f92604480840193919291829003018186803b156100005760325a03f415610000575050604080518051600160a060020a0386166000818152600160209081528582209390935586845293519094507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35b5b5b5050565b60076020526000908152604090205460ff1681565b60035433600160a060020a03908116911614610a3b57610000565b60065460ff1615610a4b57610000565b600160a060020a0382166000908152600760205260409020805460ff19168215151790555b5b5b5050565b6000610a80610d89565b905060038160048111610000571480610aa157506004816004811161000057145b1515610aac57610000565b811515610ab857610000565b600160a060020a0333166000908152600160209081526040808320548151830193909352805160e060020a63f4f3bdc10281526004810193909352602483018590525173f49005661e34f8d09fe78f1b196cf084a3bd30339263f4f3bdc1926044808301939192829003018186803b156100005760325a03f415610000575050604080518051600160a060020a03331660009081526001602090815284822092909255805492820152825160e060020a63f4f3bdc1028152600481019290925260248201869052915173f49005661e34f8d09fe78f1b196cf084a3bd3033935063f4f3bdc192604480840193919291829003018186803b156100005760325a03f4156100005750506040805180516000908155600a54602092830191909152825160e060020a6366098d4f028152600481019190915260248101869052915173f49005661e34f8d09fe78f1b196cf084a3bd303393506366098d4f926044808201939291829003018186803b156100005760325a03f415610000575050604080518051600a556009547f753e88e5000000000000000000000000000000000000000000000000000000008252600160a060020a0333811660048401526024830187905292519216925063753e88e591604480830192600092919082900301818387803b156100005760325a03f115610000575050600954604080518581529051600160a060020a03928316935033909216917f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac9181900360200190a35b5050565b60088054600160a060020a031916600160a060020a0383161790555b50565b600954600160a060020a031681565b60045433600160a060020a03908116911614610d4257610000565b6006805460ff19166001179055610d57611295565b5b5b565b600854600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b6000610d93610e98565b1515610da157506001610dd0565b600954600160a060020a03161515610dbb57506002610dd0565b600a541515610dcc57506003610dd0565b5060045b5b5b5b90565b60056020526000908152604090205460ff1681565b600354600160a060020a031681565b600c805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107575780601f1061072c57610100808354040283529160200191610757565b820191906000526020600020905b81548152906001019060200180831161073a57829003601f168201915b505050505081565b60045460a060020a900460ff1681565b60045460a060020a900460ff165b90565b600454600090339060a060020a900460ff161515610ee857600160a060020a03811660009081526005602052604090205460ff161515610ee857610000565b5b610ef384846112d8565b91505b5b5092915050565b600a5481565b600454600160a060020a031681565b610f1b610e98565b1515610f2657610000565b600160a060020a0381161515610f3b57610000565b60085433600160a060020a03908116911614610f5657610000565b6004610f60610d89565b60048111610000571415610f7357610000565b60098054600160a060020a031916600160a060020a038381169190911791829055604080516000602091820181905282517f61d3d7a6000000000000000000000000000000000000000000000000000000008152925194909316936361d3d7a6936004808501948390030190829087803b156100005760325a03f115610000575050604051511515905061100657610000565b6000805460095460408051602090810185905281517f4b2ba0dd00000000000000000000000000000000000000000000000000000000815291519394600160a060020a0390931693634b2ba0dd936004808501948390030190829087803b156100005760325a03f1156100005750506040515191909114905061108857610000565b60095460408051600160a060020a039092168252517f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc9181900360200190a15b50565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60035433600160a060020a0390811691161461111357610000565b600160a060020a0381161561087b5760038054600160a060020a031916600160a060020a0383161790555b5b5b50565b600160a060020a038116151561115857610000565b60085433600160a060020a03908116911614610cf957610000565b60088054600160a060020a031916600160a060020a0383161790555b50565b600160a060020a0380841660009081526002602090815260408083203385168452825280832054938616835260019091528120549091906111d3908461138c565b600160a060020a03808616600090815260016020526040808220939093559087168152205461120290846113b4565b600160a060020a03861660009081526001602052604090205561122581846113b4565b600160a060020a038087166000818152600260209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600191505b509392505050565b60045433600160a060020a039081169116146112b057610000565b6004805474ff0000000000000000000000000000000000000000191660a060020a1790555b5b565b600160a060020a0333166000908152600160205260408120546112fb90836113b4565b600160a060020a03338116600090815260016020526040808220939093559085168152205461132a908361138c565b600160a060020a038085166000818152600160209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b92915050565b60008282016113a98482108015906113a45750838210155b6113cd565b8091505b5092915050565b60006113c2838311156113cd565b508082035b92915050565b80151561087b57610000565b5b505600a165627a7a72305820b146a721cc045585f26f76e93dac84879cd5344fbb8e3a0e1ee3b45dbd46724f0029000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000007457468626974730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034554420000000000000000000000000000000000000000000000000000000000

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

-----Decoded View---------------
Found 8 constructor arguments :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [5] : 4574686269747300000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 4554420000000000000000000000000000000000000000000000000000000000


   Library Used
SafeMathLib : 0xf49005661e34f8d09fe78f1b196cf084a3bd3033

   Swarm Source:
bzzr://b146a721cc045585f26f76e93dac84879cd5344fbb8e3a0e1ee3b45dbd46724f

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.