ETH Price: $3,248.33 (-1.22%)

Token

Bitcoin Royal (BCR)
 

Overview

Max Total Supply

7,200,000 BCR

Holders

1,965

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
540 BCR

Value
$0.00
0xdc359dd57e7c73ee18a755c84baed63cbb783d44
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:
CrowdsaleTokenExt

Compiler Version
v0.4.11+commit.68ef5810

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

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

// Created using ICO Wizard https://github.com/oraclesorg/ico-wizard by Oracles Network 
pragma solidity ^0.4.11;


/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
  uint256 public totalSupply;
  function balanceOf(address who) public constant returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}



/**
 * @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;


  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);


  /**
   * @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 public {
    require(newOwner != address(0));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}
// Temporarily have SafeMath here until all contracts have been migrated to SafeMathLib version from OpenZeppelin




/**
 * 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;
  }

}
/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */



/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */










/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) public constant returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}




/**
 * Standard ERC20 token with Short Hand Attack and approve() race condition mitigation.
 *
 * Based on code by FirstBlood:
 * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract StandardToken is ERC20, SafeMath {

  /* Token supply got increased and a new owner received these tokens */
  event Minted(address receiver, uint amount);

  /* Actual balances of token holders */
  mapping(address => uint) balances;

  /* approve() allowances */
  mapping (address => mapping (address => uint)) allowed;

  /* Interface declaration */
  function isToken() public constant returns (bool weAre) {
    return true;
  }

  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) {
    uint _allowance = allowed[_from][msg.sender];

    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) {

    // 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
    if ((_value != 0) && (allowed[msg.sender][_spender] != 0)) throw;

    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];
  }

}

/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */





/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */



/**
 * 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;

}


/**
 * 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 {

  /** 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}

  /**
   * Somebody has upgraded some of his tokens.
   */
  event Upgrade(address indexed _from, address indexed _to, uint256 _value);

  /**
   * New upgrade agent available.
   */
  event UpgradeAgentSet(address agent);

  /**
   * Do not allow construction without upgrade master set.
   */
  function UpgradeableToken(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] = safeSub(balances[msg.sender], value);

      // Take tokens out from circulation
      totalSupply = safeSub(totalSupply, value);
      totalUpgraded = safeAdd(totalUpgraded, 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) public {
      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;
  }

}

/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */







/**
 * 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);
  }

}

/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */




/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */



/**
 * 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 SafeMathLibExt {

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

  function divides(uint a, uint b) returns (uint) {
    assert(b > 0);
    uint c = a / b;
    assert(a == b * 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);
    return c;
  }

}




/**
 * 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 MintableTokenExt is StandardToken, Ownable {

  using SafeMathLibExt for uint;

  bool public mintingFinished = false;

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

  event MintingAgentChanged(address addr, bool state  );

  /** inPercentageUnit is percents of tokens multiplied to 10 up to percents decimals.
  * For example, for reserved tokens in percents 2.54%
  * inPercentageUnit = 254
  * inPercentageDecimals = 2
  */
  struct ReservedTokensData {
    uint inTokens;
    uint inPercentageUnit;
    uint inPercentageDecimals;
  }

  mapping (address => ReservedTokensData) public reservedTokensList;
  address[] public reservedTokensDestinations;
  uint public reservedTokensDestinationsLen = 0;

  function setReservedTokensList(address addr, uint inTokens, uint inPercentageUnit, uint inPercentageDecimals) onlyOwner {
    reservedTokensDestinations.push(addr);
    reservedTokensDestinationsLen++;
    reservedTokensList[addr] = ReservedTokensData({inTokens:inTokens, inPercentageUnit:inPercentageUnit, inPercentageDecimals: inPercentageDecimals});
  }

  function getReservedTokensListValInTokens(address addr) constant returns (uint inTokens) {
    return reservedTokensList[addr].inTokens;
  }

  function getReservedTokensListValInPercentageUnit(address addr) constant returns (uint inPercentageUnit) {
    return reservedTokensList[addr].inPercentageUnit;
  }

  function getReservedTokensListValInPercentageDecimals(address addr) constant returns (uint inPercentageDecimals) {
    return reservedTokensList[addr].inPercentageDecimals;
  }

  function setReservedTokensListMultiple(address[] addrs, uint[] inTokens, uint[] inPercentageUnit, uint[] inPercentageDecimals) onlyOwner {
    for (uint iterator = 0; iterator < addrs.length; iterator++) {
      setReservedTokensList(addrs[iterator], inTokens[iterator], inPercentageUnit[iterator], inPercentageDecimals[iterator]);
    }
  }

  /**
   * 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);

    // This will make the mint transaction apper in EtherScan.io
    // We can remove this after there is a standardized minting event
    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;
    MintingAgentChanged(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 CrowdsaleTokenExt is ReleasableToken, MintableTokenExt, UpgradeableToken {

  /** Name and symbol were updated. */
  event UpdatedTokenInformation(string newName, string newSymbol);

  string public name;

  string public symbol;

  uint public decimals;

  /* Minimum ammount of tokens every buyer can buy. */
  uint public minCap;

  /**
   * Construct the token.
   *
   * This token must be created through a team multisig wallet, so that it is owned by that wallet.
   *
   * @param _name Token name
   * @param _symbol Token symbol - should be all caps
   * @param _initialSupply How many tokens we start with
   * @param _decimals Number of decimal places
   * @param _mintable Are new tokens created over the crowdsale or do we distribute only the initial supply? Note that when the token becomes transferable the minting always ends.
   */
  function CrowdsaleTokenExt(string _name, string _symbol, uint _initialSupply, uint _decimals, bool _mintable, uint _globalMinCap)
    UpgradeableToken(msg.sender) {

    // Create any address, can be transferred
    // to team multisig via changeOwner(),
    // also remember to call setUpgradeMaster()
    owner = msg.sender;

    name = _name;
    symbol = _symbol;

    totalSupply = _initialSupply;

    decimals = _decimals;

    minCap = _globalMinCap;

    // Create initially all balance on the team multisig
    balances[owner] = totalSupply;

    if(totalSupply > 0) {
      Minted(owner, totalSupply);
    }

    // No more new supply allowed after the token creation
    if(!_mintable) {
      mintingFinished = true;
      if(totalSupply == 0) {
        throw; // Cannot create a token without supply and no minting
      }
    }
  }

  /**
   * 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 && super.canUpgrade();
  }

  /**
   * Owner can update token information here.
   *
   * It is often useful to conceal the actual token association, until
   * the token operations, like central issuance or reissuance have been completed.
   *
   * This function allows the token owner to rename the token after the operations
   * have been completed and then point the audience to use the token contract.
   */
  function setTokenInformation(string _name, string _symbol) onlyOwner {
    name = _name;
    symbol = _symbol;

    UpdatedTokenInformation(name, symbol);
  }

}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"inTokens","type":"uint256"},{"name":"inPercentageUnit","type":"uint256"},{"name":"inPercentageDecimals","type":"uint256"}],"name":"setReservedTokensList","outputs":[],"payable":false,"type":"function"},{"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":"addr","type":"address"}],"name":"getReservedTokensListValInPercentageDecimals","outputs":[{"name":"inPercentageDecimals","type":"uint256"}],"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":true,"inputs":[{"name":"addr","type":"address"}],"name":"getReservedTokensListValInTokens","outputs":[{"name":"inTokens","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"minCap","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":"_name","type":"string"},{"name":"_symbol","type":"string"}],"name":"setTokenInformation","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"reservedTokensList","outputs":[{"name":"inTokens","type":"uint256"},{"name":"inPercentageUnit","type":"uint256"},{"name":"inPercentageDecimals","type":"uint256"}],"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":"","type":"uint256"}],"name":"reservedTokensDestinations","outputs":[{"name":"","type":"address"}],"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":"addr","type":"address"}],"name":"getReservedTokensListValInPercentageUnit","outputs":[{"name":"inPercentageUnit","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"reservedTokensDestinationsLen","outputs":[{"name":"","type":"uint256"}],"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":true,"inputs":[],"name":"isToken","outputs":[{"name":"weAre","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"addrs","type":"address[]"},{"name":"inTokens","type":"uint256[]"},{"name":"inPercentageUnit","type":"uint256[]"},{"name":"inPercentageDecimals","type":"uint256[]"}],"name":"setReservedTokensListMultiple","outputs":[],"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"},{"name":"_mintable","type":"bool"},{"name":"_globalMinCap","type":"uint256"}],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newName","type":"string"},{"indexed":false,"name":"newSymbol","type":"string"}],"name":"UpdatedTokenInformation","type":"event"},{"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":false,"name":"addr","type":"address"},{"indexed":false,"name":"state","type":"bool"}],"name":"MintingAgentChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"receiver","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Minted","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"},{"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"}]

60606040526004805460a060020a60ff02191690556006805460ff191690556000600a5534156200002c57fe5b60405162001ebb38038062001ebb83398101604090815281516020830151918301516060840151608085015160a086015193860195949094019391929091905b335b5b60038054600160a060020a03191633600160a060020a03161790555b600b8054600160a060020a031916600160a060020a0383161790555b5060038054600160a060020a03191633600160a060020a03161790558551620000d890600e9060208901906200019f565b508451620000ee90600f9060208801906200019f565b50600084815560108490556011829055600354600160a060020a031681526001602052604081208590558411156200016c5760035460005460408051600160a060020a039093168352602083019190915280517f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe9281900390910190a15b81151562000191576006805460ff191660011790556000541515620001915760006000fd5b5b5b50505050505062000249565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001e257805160ff191683800117855562000212565b8280016001018555821562000212579182015b8281111562000212578251825591602001919060010190620001f5565b5b506200022192915062000225565b5090565b6200024691905b808211156200022157600081556001016200022c565b5090565b90565b611c6280620002596000396000f300606060405236156101ea5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416625ef4ec81146101ec57806302f652a31461021357806305d2035b1461023657806306fdde031461025a578063095ea7b3146102ea5780630f7c932a1461031d57806318160ddd1461034b57806323b872dd1461036d57806329ff4f53146103a6578063313ce567146103c4578063338f43a0146103e65780633fa615b01461041457806340c10f191461043657806342c1867b14610457578063432146751461048757806345977d03146104aa5780634eee966f146104bf57806351ed17a4146105545780635de4ccb01461058e5780635f412d4f146105ba578063600440cb146105cc57806370a08231146105f85780637386f0a7146106265780638444b39114610655578063867c2857146106895780638da5cb5b146106b957806395d89b41146106e557806396132521146107755780639738968c14610799578063a9059cbb146107bd578063aef37284146107f0578063c33105171461081e578063c752ff6214610840578063d1f276d314610862578063d7e7088a1461088e578063dd62ed3e146108ac578063eefa597b146108e0578063f05834d614610904578063f2fde38b14610a01578063ffeb7d7514610a1f575bfe5b34156101f457fe5b610211600160a060020a0360043516602435604435606435610a3d565b005b341561021b57fe5b610211600160a060020a03600435166024351515610aed565b005b341561023e57fe5b610246610b50565b604080519115158252519081900360200190f35b341561026257fe5b61026a610b59565b6040805160208082528351818301528351919283929083019185019080838382156102b0575b8051825260208311156102b057601f199092019160209182019101610290565b505050905090810190601f1680156102dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102f257fe5b610246600160a060020a0360043516602435610be7565b604080519115158252519081900360200190f35b341561032557fe5b610339600160a060020a0360043516610c8e565b60408051918252519081900360200190f35b341561035357fe5b610339610cb0565b60408051918252519081900360200190f35b341561037557fe5b610246600160a060020a0360043581169060243516604435610cb6565b604080519115158252519081900360200190f35b34156103ae57fe5b610211600160a060020a0360043516610d0e565b005b34156103cc57fe5b610339610d74565b60408051918252519081900360200190f35b34156103ee57fe5b610339600160a060020a0360043516610d7a565b60408051918252519081900360200190f35b341561041c57fe5b610339610d99565b60408051918252519081900360200190f35b341561043e57fe5b610211600160a060020a0360043516602435610d9f565b005b341561045f57fe5b610246600160a060020a0360043516610f65565b604080519115158252519081900360200190f35b341561048f57fe5b610211600160a060020a03600435166024351515610f7a565b005b34156104b257fe5b61021160043561100e565b005b34156104c757fe5b610211600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284375050604080516020601f89358b0180359182018390048302840183019094528083529799988101979196509182019450925082915084018382808284375094965061117e95505050505050565b005b341561055c57fe5b610570600160a060020a03600435166112f2565b60408051938452602084019290925282820152519081900360600190f35b341561059657fe5b61059e611313565b60408051600160a060020a039092168252519081900360200190f35b34156105c257fe5b610211611322565b005b34156105d457fe5b61059e611357565b60408051600160a060020a039092168252519081900360200190f35b341561060057fe5b610339600160a060020a0360043516611366565b60408051918252519081900360200190f35b341561062e57fe5b61059e600435611385565b60408051600160a060020a039092168252519081900360200190f35b341561065d57fe5b6106656113b7565b6040518082600481111561067557fe5b60ff16815260200191505060405180910390f35b341561069157fe5b610246600160a060020a0360043516611404565b604080519115158252519081900360200190f35b34156106c157fe5b61059e611419565b60408051600160a060020a039092168252519081900360200190f35b34156106ed57fe5b61026a611428565b6040805160208082528351818301528351919283929083019185019080838382156102b0575b8051825260208311156102b057601f199092019160209182019101610290565b505050905090810190601f1680156102dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561077d57fe5b6102466114b6565b604080519115158252519081900360200190f35b34156107a157fe5b6102466114c6565b604080519115158252519081900360200190f35b34156107c557fe5b610246600160a060020a03600435166024356114ec565b604080519115158252519081900360200190f35b34156107f857fe5b610339600160a060020a0360043516611542565b60408051918252519081900360200190f35b341561082657fe5b610339611564565b60408051918252519081900360200190f35b341561084857fe5b61033961156a565b60408051918252519081900360200190f35b341561086a57fe5b61059e611570565b60408051600160a060020a039092168252519081900360200190f35b341561089657fe5b610211600160a060020a036004351661157f565b005b34156108b457fe5b610339600160a060020a036004358116906024351661175c565b60408051918252519081900360200190f35b34156108e857fe5b610246611789565b604080519115158252519081900360200190f35b341561090c57fe5b610211600480803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843750506040805187358901803560208181028481018201909552818452989a998901989297509082019550935083925085019084908082843750506040805187358901803560208181028481018201909552818452989a998901989297509082019550935083925085019084908082843750506040805187358901803560208181028481018201909552818452989a99890198929750908201955093508392508501908490808284375094965061178f95505050505050565b005b3415610a0957fe5b610211600160a060020a0360043516611835565b005b3415610a2757fe5b610211600160a060020a03600435166118ce565b005b60035433600160a060020a03908116911614610a595760006000fd5b6009805460018101610a6b8382611b6c565b916000526020600020900160005b8154600160a060020a038089166101009390930a83810291021990911617909155600a805460019081019091556040805160608101825287815260208082018881528284018881526000968752600890925292909420905181559051918101919091559051600290910155505b5b50505050565b60035433600160a060020a03908116911614610b095760006000fd5b60045460009060a060020a900460ff1615610b245760006000fd5b600160a060020a0383166000908152600560205260409020805460ff19168315151790555b5b505b5050565b60065460ff1681565b600e805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610bdf5780601f10610bb457610100808354040283529160200191610bdf565b820191906000526020600020905b815481529060010190602001808311610bc257829003601f168201915b505050505081565b60008115801590610c1c5750600160a060020a0333811660009081526002602090815260408083209387168352929052205415155b15610c275760006000fd5b600160a060020a03338116600081815260026020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060015b92915050565b600160a060020a0381166000908152600860205260409020600201545b919050565b60005481565b600454600090849060a060020a900460ff161515610cf657600160a060020a03811660009081526005602052604090205460ff161515610cf65760006000fd5b5b610d0285858561192c565b91505b5b509392505050565b60035433600160a060020a03908116911614610d2a5760006000fd5b60045460009060a060020a900460ff1615610d455760006000fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790555b5b505b50565b60105481565b600160a060020a0381166000908152600860205260409020545b919050565b60115481565b600160a060020a03331660009081526007602052604090205460ff161515610dc75760006000fd5b60065460ff1615610dd85760006000fd5b600054738e4ca825993d0d9172068fa57ee97c14baa485a86366098d4f9091836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808381526020018281526020019250505060206040518083038186803b1515610e5457fe5b6102c65a03f41515610e6257fe5b50506040805180516000908155600160a060020a038616815260016020908152838220549281019190915282517f66098d4f0000000000000000000000000000000000000000000000000000000081526004810192909252602482018590529151738e4ca825993d0d9172068fa57ee97c14baa485a893506366098d4f92604480840193919291829003018186803b1515610ef957fe5b6102c65a03f41515610f0757fe5b5050604080518051600160a060020a0386166000818152600160209081528582209390935586845293519094507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35b5b5b5050565b60076020526000908152604090205460ff1681565b60035433600160a060020a03908116911614610f965760006000fd5b60065460ff1615610fa75760006000fd5b600160a060020a038216600081815260076020908152604091829020805460ff191685151590811790915582519384529083015280517f4b0adf6c802794c7dde28a08a4e07131abcff3bf9603cd71f14f90bec7865efa9281900390910190a15b5b5b5050565b60006110186113b7565b905060035b81600481111561102957fe5b1480611041575060045b81600481111561103f57fe5b145b151561104d5760006000fd5b81151561105a5760006000fd5b600160a060020a03331660009081526001602052604090205461107d9083611a2f565b600160a060020a033316600090815260016020526040812091909155546110a49083611a2f565b600055600d546110b49083611a46565b600d55600c54604080517f753e88e5000000000000000000000000000000000000000000000000000000008152600160a060020a033381166004830152602482018690529151919092169163753e88e591604480830192600092919082900301818387803b151561112157fe5b6102c65a03f1151561112f57fe5b5050600c54604080518581529051600160a060020a03928316935033909216917f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac9181900360200190a35b5050565b60035433600160a060020a0390811691161461119a5760006000fd5b81516111ad90600e906020850190611b96565b5080516111c190600f906020840190611b96565b5060408051818152600e8054600260001961010060018416150201909116049282018390527fd131ab1e6f279deea74e13a18477e13e2107deb6dc8ae955648948be5841fb46929091600f91819060208201906060830190869080156112685780601f1061123d57610100808354040283529160200191611268565b820191906000526020600020905b81548152906001019060200180831161124b57829003601f168201915b50508381038252845460026000196101006001841615020190911604808252602090910190859080156112dc5780601f106112b1576101008083540402835291602001916112dc565b820191906000526020600020905b8154815290600101906020018083116112bf57829003601f168201915b505094505050505060405180910390a15b5b5050565b60086020526000908152604090208054600182015460029092015490919083565b600c54600160a060020a031681565b60045433600160a060020a0390811691161461133e5760006000fd5b6006805460ff19166001179055611353611a6e565b5b5b565b600b54600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b600980548290811061139357fe5b906000526020600020900160005b915054906101000a9004600160a060020a031681565b60006113c16114c6565b15156113cf575060016113fe565b600c54600160a060020a031615156113e9575060026113fe565b600d5415156113fa575060036113fe565b5060045b5b5b5b90565b60056020526000908152604090205460ff1681565b600354600160a060020a031681565b600f805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610bdf5780601f10610bb457610100808354040283529160200191610bdf565b820191906000526020600020905b815481529060010190602001808311610bc257829003601f168201915b505050505081565b60045460a060020a900460ff1681565b60045460009060a060020a900460ff1680156114e557506114e5611789565b5b90505b90565b600454600090339060a060020a900460ff16151561152c57600160a060020a03811660009081526005602052604090205460ff16151561152c5760006000fd5b5b6115378484611ab8565b91505b5b5092915050565b600160a060020a0381166000908152600860205260409020600101545b919050565b600a5481565b600d5481565b600454600160a060020a031681565b6115876114c6565b15156115935760006000fd5b600160a060020a03811615156115a95760006000fd5b600b5433600160a060020a039081169116146115c55760006000fd5b60045b6115d06113b7565b60048111156115db57fe5b14156115e75760006000fd5b600c805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055604080516000602091820181905282517f61d3d7a6000000000000000000000000000000000000000000000000000000008152925194909316936361d3d7a6936004808501948390030190829087803b151561166d57fe5b6102c65a03f1151561167b57fe5b5050604051511515905061168f5760006000fd5b60008054600c5460408051602090810185905281517f4b2ba0dd00000000000000000000000000000000000000000000000000000000815291519394600160a060020a0390931693634b2ba0dd936004808501948390030190829087803b15156116f557fe5b6102c65a03f1151561170357fe5b5050604051519190911490506117195760006000fd5b600c5460408051600160a060020a039092168252517f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc9181900360200190a15b50565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60015b90565b60035460009033600160a060020a039081169116146117ae5760006000fd5b5060005b845181101561182c5761182385828151811015156117cc57fe5b9060200190602002015185838151811015156117e457fe5b9060200190602002015185848151811015156117fc57fe5b90602001906020020151858581518110151561181457fe5b90602001906020020151610a3d565b5b6001016117b2565b5b5b5050505050565b60035433600160a060020a039081169116146118515760006000fd5b600160a060020a03811615156118675760006000fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600160a060020a03811615156118e45760006000fd5b600b5433600160a060020a039081169116146119005760006000fd5b600b805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b600160a060020a03808416600090815260026020908152604080832033851684528252808320549386168352600190915281205490919061196d9084611a46565b600160a060020a03808616600090815260016020526040808220939093559087168152205461199c9084611a2f565b600160a060020a0386166000908152600160205260409020556119bf8184611a2f565b600160a060020a038087166000818152600260209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600191505b509392505050565b600082821115611a3b57fe5b508082035b92915050565b6000828201838110801590611a5b5750828110155b1515611a6357fe5b8091505b5092915050565b60045433600160a060020a03908116911614611a8a5760006000fd5b6004805474ff0000000000000000000000000000000000000000191660a060020a1790555b5b565b60015b90565b600160a060020a033316600090815260016020526040812054611adb9083611a2f565b600160a060020a033381166000908152600160205260408082209390935590851681522054611b0a9083611a46565b600160a060020a038085166000818152600160209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b92915050565b815481835581811511610b4957600083815260209020610b49918101908301611c15565b5b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611bd757805160ff1916838001178555611c04565b82800160010185558215611c04579182015b82811115611c04578251825591602001919060010190611be9565b5b50611c11929150611c15565b5090565b6113fe91905b80821115611c115760008155600101611c1b565b5090565b905600a165627a7a7230582015fb059edc114536aba656beeba2ab2b54ecb4fb2f8f71ff878115dc73a11251002900000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000004563918244f40000000000000000000000000000000000000000000000000000000000000000000d426974636f696e20526f79616c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034243520000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x606060405236156101ea5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416625ef4ec81146101ec57806302f652a31461021357806305d2035b1461023657806306fdde031461025a578063095ea7b3146102ea5780630f7c932a1461031d57806318160ddd1461034b57806323b872dd1461036d57806329ff4f53146103a6578063313ce567146103c4578063338f43a0146103e65780633fa615b01461041457806340c10f191461043657806342c1867b14610457578063432146751461048757806345977d03146104aa5780634eee966f146104bf57806351ed17a4146105545780635de4ccb01461058e5780635f412d4f146105ba578063600440cb146105cc57806370a08231146105f85780637386f0a7146106265780638444b39114610655578063867c2857146106895780638da5cb5b146106b957806395d89b41146106e557806396132521146107755780639738968c14610799578063a9059cbb146107bd578063aef37284146107f0578063c33105171461081e578063c752ff6214610840578063d1f276d314610862578063d7e7088a1461088e578063dd62ed3e146108ac578063eefa597b146108e0578063f05834d614610904578063f2fde38b14610a01578063ffeb7d7514610a1f575bfe5b34156101f457fe5b610211600160a060020a0360043516602435604435606435610a3d565b005b341561021b57fe5b610211600160a060020a03600435166024351515610aed565b005b341561023e57fe5b610246610b50565b604080519115158252519081900360200190f35b341561026257fe5b61026a610b59565b6040805160208082528351818301528351919283929083019185019080838382156102b0575b8051825260208311156102b057601f199092019160209182019101610290565b505050905090810190601f1680156102dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102f257fe5b610246600160a060020a0360043516602435610be7565b604080519115158252519081900360200190f35b341561032557fe5b610339600160a060020a0360043516610c8e565b60408051918252519081900360200190f35b341561035357fe5b610339610cb0565b60408051918252519081900360200190f35b341561037557fe5b610246600160a060020a0360043581169060243516604435610cb6565b604080519115158252519081900360200190f35b34156103ae57fe5b610211600160a060020a0360043516610d0e565b005b34156103cc57fe5b610339610d74565b60408051918252519081900360200190f35b34156103ee57fe5b610339600160a060020a0360043516610d7a565b60408051918252519081900360200190f35b341561041c57fe5b610339610d99565b60408051918252519081900360200190f35b341561043e57fe5b610211600160a060020a0360043516602435610d9f565b005b341561045f57fe5b610246600160a060020a0360043516610f65565b604080519115158252519081900360200190f35b341561048f57fe5b610211600160a060020a03600435166024351515610f7a565b005b34156104b257fe5b61021160043561100e565b005b34156104c757fe5b610211600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284375050604080516020601f89358b0180359182018390048302840183019094528083529799988101979196509182019450925082915084018382808284375094965061117e95505050505050565b005b341561055c57fe5b610570600160a060020a03600435166112f2565b60408051938452602084019290925282820152519081900360600190f35b341561059657fe5b61059e611313565b60408051600160a060020a039092168252519081900360200190f35b34156105c257fe5b610211611322565b005b34156105d457fe5b61059e611357565b60408051600160a060020a039092168252519081900360200190f35b341561060057fe5b610339600160a060020a0360043516611366565b60408051918252519081900360200190f35b341561062e57fe5b61059e600435611385565b60408051600160a060020a039092168252519081900360200190f35b341561065d57fe5b6106656113b7565b6040518082600481111561067557fe5b60ff16815260200191505060405180910390f35b341561069157fe5b610246600160a060020a0360043516611404565b604080519115158252519081900360200190f35b34156106c157fe5b61059e611419565b60408051600160a060020a039092168252519081900360200190f35b34156106ed57fe5b61026a611428565b6040805160208082528351818301528351919283929083019185019080838382156102b0575b8051825260208311156102b057601f199092019160209182019101610290565b505050905090810190601f1680156102dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561077d57fe5b6102466114b6565b604080519115158252519081900360200190f35b34156107a157fe5b6102466114c6565b604080519115158252519081900360200190f35b34156107c557fe5b610246600160a060020a03600435166024356114ec565b604080519115158252519081900360200190f35b34156107f857fe5b610339600160a060020a0360043516611542565b60408051918252519081900360200190f35b341561082657fe5b610339611564565b60408051918252519081900360200190f35b341561084857fe5b61033961156a565b60408051918252519081900360200190f35b341561086a57fe5b61059e611570565b60408051600160a060020a039092168252519081900360200190f35b341561089657fe5b610211600160a060020a036004351661157f565b005b34156108b457fe5b610339600160a060020a036004358116906024351661175c565b60408051918252519081900360200190f35b34156108e857fe5b610246611789565b604080519115158252519081900360200190f35b341561090c57fe5b610211600480803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843750506040805187358901803560208181028481018201909552818452989a998901989297509082019550935083925085019084908082843750506040805187358901803560208181028481018201909552818452989a998901989297509082019550935083925085019084908082843750506040805187358901803560208181028481018201909552818452989a99890198929750908201955093508392508501908490808284375094965061178f95505050505050565b005b3415610a0957fe5b610211600160a060020a0360043516611835565b005b3415610a2757fe5b610211600160a060020a03600435166118ce565b005b60035433600160a060020a03908116911614610a595760006000fd5b6009805460018101610a6b8382611b6c565b916000526020600020900160005b8154600160a060020a038089166101009390930a83810291021990911617909155600a805460019081019091556040805160608101825287815260208082018881528284018881526000968752600890925292909420905181559051918101919091559051600290910155505b5b50505050565b60035433600160a060020a03908116911614610b095760006000fd5b60045460009060a060020a900460ff1615610b245760006000fd5b600160a060020a0383166000908152600560205260409020805460ff19168315151790555b5b505b5050565b60065460ff1681565b600e805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610bdf5780601f10610bb457610100808354040283529160200191610bdf565b820191906000526020600020905b815481529060010190602001808311610bc257829003601f168201915b505050505081565b60008115801590610c1c5750600160a060020a0333811660009081526002602090815260408083209387168352929052205415155b15610c275760006000fd5b600160a060020a03338116600081815260026020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060015b92915050565b600160a060020a0381166000908152600860205260409020600201545b919050565b60005481565b600454600090849060a060020a900460ff161515610cf657600160a060020a03811660009081526005602052604090205460ff161515610cf65760006000fd5b5b610d0285858561192c565b91505b5b509392505050565b60035433600160a060020a03908116911614610d2a5760006000fd5b60045460009060a060020a900460ff1615610d455760006000fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790555b5b505b50565b60105481565b600160a060020a0381166000908152600860205260409020545b919050565b60115481565b600160a060020a03331660009081526007602052604090205460ff161515610dc75760006000fd5b60065460ff1615610dd85760006000fd5b600054738e4ca825993d0d9172068fa57ee97c14baa485a86366098d4f9091836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808381526020018281526020019250505060206040518083038186803b1515610e5457fe5b6102c65a03f41515610e6257fe5b50506040805180516000908155600160a060020a038616815260016020908152838220549281019190915282517f66098d4f0000000000000000000000000000000000000000000000000000000081526004810192909252602482018590529151738e4ca825993d0d9172068fa57ee97c14baa485a893506366098d4f92604480840193919291829003018186803b1515610ef957fe5b6102c65a03f41515610f0757fe5b5050604080518051600160a060020a0386166000818152600160209081528582209390935586845293519094507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35b5b5b5050565b60076020526000908152604090205460ff1681565b60035433600160a060020a03908116911614610f965760006000fd5b60065460ff1615610fa75760006000fd5b600160a060020a038216600081815260076020908152604091829020805460ff191685151590811790915582519384529083015280517f4b0adf6c802794c7dde28a08a4e07131abcff3bf9603cd71f14f90bec7865efa9281900390910190a15b5b5b5050565b60006110186113b7565b905060035b81600481111561102957fe5b1480611041575060045b81600481111561103f57fe5b145b151561104d5760006000fd5b81151561105a5760006000fd5b600160a060020a03331660009081526001602052604090205461107d9083611a2f565b600160a060020a033316600090815260016020526040812091909155546110a49083611a2f565b600055600d546110b49083611a46565b600d55600c54604080517f753e88e5000000000000000000000000000000000000000000000000000000008152600160a060020a033381166004830152602482018690529151919092169163753e88e591604480830192600092919082900301818387803b151561112157fe5b6102c65a03f1151561112f57fe5b5050600c54604080518581529051600160a060020a03928316935033909216917f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac9181900360200190a35b5050565b60035433600160a060020a0390811691161461119a5760006000fd5b81516111ad90600e906020850190611b96565b5080516111c190600f906020840190611b96565b5060408051818152600e8054600260001961010060018416150201909116049282018390527fd131ab1e6f279deea74e13a18477e13e2107deb6dc8ae955648948be5841fb46929091600f91819060208201906060830190869080156112685780601f1061123d57610100808354040283529160200191611268565b820191906000526020600020905b81548152906001019060200180831161124b57829003601f168201915b50508381038252845460026000196101006001841615020190911604808252602090910190859080156112dc5780601f106112b1576101008083540402835291602001916112dc565b820191906000526020600020905b8154815290600101906020018083116112bf57829003601f168201915b505094505050505060405180910390a15b5b5050565b60086020526000908152604090208054600182015460029092015490919083565b600c54600160a060020a031681565b60045433600160a060020a0390811691161461133e5760006000fd5b6006805460ff19166001179055611353611a6e565b5b5b565b600b54600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b600980548290811061139357fe5b906000526020600020900160005b915054906101000a9004600160a060020a031681565b60006113c16114c6565b15156113cf575060016113fe565b600c54600160a060020a031615156113e9575060026113fe565b600d5415156113fa575060036113fe565b5060045b5b5b5b90565b60056020526000908152604090205460ff1681565b600354600160a060020a031681565b600f805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610bdf5780601f10610bb457610100808354040283529160200191610bdf565b820191906000526020600020905b815481529060010190602001808311610bc257829003601f168201915b505050505081565b60045460a060020a900460ff1681565b60045460009060a060020a900460ff1680156114e557506114e5611789565b5b90505b90565b600454600090339060a060020a900460ff16151561152c57600160a060020a03811660009081526005602052604090205460ff16151561152c5760006000fd5b5b6115378484611ab8565b91505b5b5092915050565b600160a060020a0381166000908152600860205260409020600101545b919050565b600a5481565b600d5481565b600454600160a060020a031681565b6115876114c6565b15156115935760006000fd5b600160a060020a03811615156115a95760006000fd5b600b5433600160a060020a039081169116146115c55760006000fd5b60045b6115d06113b7565b60048111156115db57fe5b14156115e75760006000fd5b600c805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055604080516000602091820181905282517f61d3d7a6000000000000000000000000000000000000000000000000000000008152925194909316936361d3d7a6936004808501948390030190829087803b151561166d57fe5b6102c65a03f1151561167b57fe5b5050604051511515905061168f5760006000fd5b60008054600c5460408051602090810185905281517f4b2ba0dd00000000000000000000000000000000000000000000000000000000815291519394600160a060020a0390931693634b2ba0dd936004808501948390030190829087803b15156116f557fe5b6102c65a03f1151561170357fe5b5050604051519190911490506117195760006000fd5b600c5460408051600160a060020a039092168252517f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc9181900360200190a15b50565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60015b90565b60035460009033600160a060020a039081169116146117ae5760006000fd5b5060005b845181101561182c5761182385828151811015156117cc57fe5b9060200190602002015185838151811015156117e457fe5b9060200190602002015185848151811015156117fc57fe5b90602001906020020151858581518110151561181457fe5b90602001906020020151610a3d565b5b6001016117b2565b5b5b5050505050565b60035433600160a060020a039081169116146118515760006000fd5b600160a060020a03811615156118675760006000fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600160a060020a03811615156118e45760006000fd5b600b5433600160a060020a039081169116146119005760006000fd5b600b805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b600160a060020a03808416600090815260026020908152604080832033851684528252808320549386168352600190915281205490919061196d9084611a46565b600160a060020a03808616600090815260016020526040808220939093559087168152205461199c9084611a2f565b600160a060020a0386166000908152600160205260409020556119bf8184611a2f565b600160a060020a038087166000818152600260209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600191505b509392505050565b600082821115611a3b57fe5b508082035b92915050565b6000828201838110801590611a5b5750828110155b1515611a6357fe5b8091505b5092915050565b60045433600160a060020a03908116911614611a8a5760006000fd5b6004805474ff0000000000000000000000000000000000000000191660a060020a1790555b5b565b60015b90565b600160a060020a033316600090815260016020526040812054611adb9083611a2f565b600160a060020a033381166000908152600160205260408082209390935590851681522054611b0a9083611a46565b600160a060020a038085166000818152600160209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b92915050565b815481835581811511610b4957600083815260209020610b49918101908301611c15565b5b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611bd757805160ff1916838001178555611c04565b82800160010185558215611c04579182015b82811115611c04578251825591602001919060010190611be9565b5b50611c11929150611c15565b5090565b6113fe91905b80821115611c115760008155600101611c1b565b5090565b905600a165627a7a7230582015fb059edc114536aba656beeba2ab2b54ecb4fb2f8f71ff878115dc73a112510029

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

00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000004563918244f40000000000000000000000000000000000000000000000000000000000000000000d426974636f696e20526f79616c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034243520000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Bitcoin Royal
Arg [1] : _symbol (string): BCR
Arg [2] : _initialSupply (uint256): 0
Arg [3] : _decimals (uint256): 18
Arg [4] : _mintable (bool): True
Arg [5] : _globalMinCap (uint256): 5000000000000000000

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 0000000000000000000000000000000000000000000000004563918244f40000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [7] : 426974636f696e20526f79616c00000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 4243520000000000000000000000000000000000000000000000000000000000


Libraries Used


Swarm Source

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