Contract Overview | DentCrowdSale
Balance: 0 Ether
Ether Value: $0
Transactions: 3085 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xf9e42ad2e8a5a1ed07f5c3d7dfc2ca415db0fde6at txn 0xcff535c3cb1fefa0294b4ddca3cbcfc356daf1918b7160213f3161ba59504652
Token Balance:
 Latest 25 transactions from a total of 3085 transactions

TxHash Age From To Value [TxFee]
0x9ca47a0456a5433e69e129fc282c265708a9735f67c70b43c75f0226be65cbd8469 days 3 hrs ago0xe121443d78019ab37cda3d3e868fd2c487ec2a42  IN   DentCrowdSale0 Ether0.03
0x37ccb8f5c10484bc535ca8df93e1e882b150b74fa2b34b12563a39ebfb4adc03469 days 4 hrs ago0xe121443d78019ab37cda3d3e868fd2c487ec2a42  IN   DentCrowdSale0 Ether0.006
0x5712e3fbb39eb7d80c62fab12336e0c7d39929d2d6315974b293a826248e4fc2480 days 16 hrs ago0x65b98c6742f46cd583ce40194bd70b1458f4f431  IN   DentCrowdSale12.3 Ether0.000000000015
0x9b13d5818feb76b8f4e8e0eb3109dff7ae2149df85c23499bdb1e6f1140326dd480 days 18 hrs ago0x74749a8078fe86612be8025c50e44bec1f512fd0  IN   DentCrowdSale1.1 Ether0.005
0x4ebe99e5860e2073acb53381f09516a410e91be17573d140a297fc93f588e3ad480 days 18 hrs ago0xb664d371b8dc939362f295a5ec896e046c793068  IN   DentCrowdSale1 Ether0.0105
0x9a0fc4a8e751a9b6905905c455b6b7da2f3f5e0a799c75b723eb1f23a9a7daef480 days 18 hrs ago0x74749a8078fe86612be8025c50e44bec1f512fd0  IN   DentCrowdSale1.1 Ether0.005
0x0192fc6454cf7fda9e9b8a8567e96c325da917dbef6f6b3d24d1036d97d7d644480 days 19 hrs ago0xb71ef5b1b0d4927c958cae3c9cf9187c127af773  IN   DentCrowdSale2 Ether0.00525
0x9c701ec8341c8451d67f7b017151ff0cf8ed99ea214f568c7ec71eeb63af25ec480 days 19 hrs ago0xcaef39dd8627133e21cae0ad8075dee83434fbc3  IN   DentCrowdSale0.25 Ether0.000525
0x1f0eb8d27197a75cd04149c9a3f732181ffabc194a57a19e89bed80416fc3328480 days 19 hrs ago0x63395017d30662a0d441943febeeb86153adcd06  IN   DentCrowdSale1 Ether0.000525
0x6220dbc34549269ef541050dcd5454219e73a7487f1cc24f9b30842022ebf7ec480 days 19 hrs ago0xe4408556b1a90d071fa46df54d0d2bed0e9c83a6  IN   DentCrowdSale0.040625 Ether0.002543715
0xa2eeb65a4aa867dd86db87460e6c951abaf482357f5074958191708ee55d43a5480 days 19 hrs ago0x4d796267b95a6d4ca6aa308b08487483e2d8f639  IN   DentCrowdSale2.29210857 Ether0.00716196
0xa84c019857f1d77a59858bd18c586eb27e8e2319cdfa9cc784982f8a1057935e480 days 19 hrs ago0x1c530ab1d7f4c22b61ca6941805e54255d163262  IN   DentCrowdSale0.2 Ether0.002506686
0xa8e5bcea09ab41ea78e3158a5f934bcfc3048e9ffd0a01da8117d1b26160c17d480 days 19 hrs ago0xa3b6fdabb17ea70073cb451a2cce791823003210  IN   DentCrowdSale0.06 Ether0.000525
0x476683fc2b7c51064cd2b4cfe23af09c71f2a0eca1c26b31832b353cf15db024480 days 19 hrs ago0xe2f1815ec92d065a9f175edad4c2aca398b82b51  IN   DentCrowdSale0.569 Ether0.003561201
0x778085cebff6d2ee0a1d251a400896daaa241ea737537e7f317c9ae8a2cabc5e480 days 19 hrs ago0xb71c480019f74627994c054c961d5ec58ab4ee25  IN   DentCrowdSale0.499 Ether0.00525
0x02927463122a8bcfcf174c10e4bbed78f182fb59ae422ed648450283639d61ad480 days 19 hrs ago0xa9746fb21b9770f5fe7af9d62e165cd648dc8495  IN   DentCrowdSale5 Ether0.003561201
0x75b084bb8732004bb7cbb0c6fcf3a286269ab3eba7018a8832bd147dd1224c84480 days 19 hrs ago0x0f4357152befc88155adfd189d15e68066dd1015  IN   DentCrowdSale5 Ether0.003561201
0x4ea948fa2d5826f54c0076d6d66fec1c53f8f4905094ec69790890ddfe1611a2480 days 19 hrs ago0xcdbe91378a1ef964761c2d24e2688cf54d8e48c7  IN   DentCrowdSale1 Ether0.003561201
0xe198e4d7964a7e2b0aa2457fb6d23768c38f5a906e5bc4ac6a309b0f82ba1426480 days 19 hrs ago0xe4408556b1a90d071fa46df54d0d2bed0e9c83a6  IN   DentCrowdSale0.044375 Ether0.000375
0x2ea4790b6b25873d48d8693a80a452fc03a25bcb95ded2e4720c5c1a03f570d6480 days 19 hrs ago0xe4408556b1a90d071fa46df54d0d2bed0e9c83a6  IN   DentCrowdSale0.04475 Ether0.000375
0x2b2dadeb4f256d6532aa1813d362ef36a9ebddf933cb4f7bca56b2d24b362a4d480 days 19 hrs ago0xa3b6fdabb17ea70073cb451a2cce791823003210  IN   DentCrowdSale0.15 Ether0.002506686
0x1417a37a421b144509fdc235d8c37d55fbd402836024c43a1aa622e67295a53c480 days 19 hrs ago0x57311928e2fda6896e420647bb70bbac451da4a2  IN   DentCrowdSale2 Ether0.003561201
0x0783c0e3a4d3c03c0fcd8057c2f111d239af8a18d1a7b6a0982f5186c206253d480 days 19 hrs ago0x8ea4d844a6db359b90f89358f7db7ff0194ed57f  IN   DentCrowdSale1 Ether0.003561201
0xecc4cf45372e415f4fef1a696c2dd0c1045b40e1e3b7d1a8ee62d09de1d31d9c480 days 19 hrs ago0x381843f260cf43d8e32bdc88eeecdb20bf09a589  IN   DentCrowdSale1.11 Ether0.004239525
0x41739063873df10424b692ec5c5fc40e34acd48efd61e776052909a05092610f480 days 19 hrs ago0x88f7ad29f247b18e35ab374870cb9a73bcca02d1  IN   DentCrowdSale1.1 Ether0.002506686
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here To View More View All
ParentTxHash Block Age From To Value
0x6220dbc34549269ef541050dcd5454219e73a7487f1cc24f9b30842022ebf7ec4078276480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a490.040625 Ether
0xa2eeb65a4aa867dd86db87460e6c951abaf482357f5074958191708ee55d43a54078273480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a492.29210857 Ether
0xa84c019857f1d77a59858bd18c586eb27e8e2319cdfa9cc784982f8a1057935e4078272480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a490.2 Ether
0x476683fc2b7c51064cd2b4cfe23af09c71f2a0eca1c26b31832b353cf15db0244078269480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a490.569 Ether
0x02927463122a8bcfcf174c10e4bbed78f182fb59ae422ed648450283639d61ad4078265480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a495 Ether
0x75b084bb8732004bb7cbb0c6fcf3a286269ab3eba7018a8832bd147dd1224c844078264480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a495 Ether
0x4ea948fa2d5826f54c0076d6d66fec1c53f8f4905094ec69790890ddfe1611a24078263480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a491 Ether
0x2b2dadeb4f256d6532aa1813d362ef36a9ebddf933cb4f7bca56b2d24b362a4d4078257480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a490.15 Ether
0x1417a37a421b144509fdc235d8c37d55fbd402836024c43a1aa622e67295a53c4078257480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a492 Ether
0x0783c0e3a4d3c03c0fcd8057c2f111d239af8a18d1a7b6a0982f5186c206253d4078257480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a491 Ether
0xecc4cf45372e415f4fef1a696c2dd0c1045b40e1e3b7d1a8ee62d09de1d31d9c4078257480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a491.11 Ether
0x41739063873df10424b692ec5c5fc40e34acd48efd61e776052909a05092610f4078254480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a491.1 Ether
0x1dcadc5173ded296a9466704110a5ffa88b78b236e3180cf7dd9c37c9d6e658d4078254480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a490.15 Ether
0x41a324d33bfc14dedabe32f8af03e6a44ef798eb58566865402517c6dc566e624078253480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a490.51 Ether
0x8ca210f7858ed5192fb694fd0b9112b3e1a57bee88486043265913137058809f4078251480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a491.803204438 Ether
0xfb92287d372ae16541a5468f1c2e545e55e81bd4b23c75e86d04e6cd3d1b6b144078251480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a490.2 Ether
0x5b8323fa308dcb136a4d8cbe604a96559bf1a33e5f343a0803f3e7789db34a084078244480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a496 Ether
0x5bb7d1c794be2f845d8312093f6e6005249cde5515ce11548637ead8a66da0de4078242480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a492 Ether
0xe1ef851c5e5cde3b7d7cf052f68bee2fd7dfd0ac7ad3f7b9ee6fb86543a67cfe4078241480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a491 Ether
0x8f455be3e83c74aa0dad9e63947b745aa33234cac47c3a996fe399915adec6a54078225480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a490.3003 Ether
0x6f6c43be189d540ddaf641182875dba641a184ee2f00203c0d71e7db1d073b404078225480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a492.03546155 Ether
0x89afc86994f7f1c7c3c0eafc7ff9c0afc44a26337657ec909b9151c13ddbeff14078219480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a490.7 Ether
0x97426269af195caaee8d8158200f67b437dd538ef6a5cb995549f8e69fae5c564078218480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a493 Ether
0x5e8bf0ffc65425e08a2e48bdacb84ed669f0b7ebab3a2dda0209b8b468e9b2264078218480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a499.0909090909 Ether
0x65a454778f0e2cd2b7a4b0493956a23cdaba74600a0958ed0612c31acdd547bd4078209480 days 19 hrs ago0x44ad644576eeebffcd9ad89728d2a6c415cf8fb50x3b505511a928c04423df358b8f1fa7d231fb2a490.2 Ether
[ Download CSV Export  ] 
Contract Name: AllocatedCrowdsale
Compiler Text: v0.4.8+commit.60cc1668
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

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

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




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

}


/*
 * Haltable
 *
 * Abstract contract that allows children to implement an
 * emergency stop mechanism. Differs from Pausable by causing a throw when in halt mode.
 *
 *
 * Originally envisioned in FirstBlood ICO contract.
 */
contract Haltable is Ownable {
  bool public halted;

  modifier stopInEmergency {
    if (halted) throw;
    _;
  }

  modifier onlyInEmergency {
    if (!halted) throw;
    _;
  }

  // called by the owner on emergency, triggers stopped state
  function halt() external onlyOwner {
    halted = true;
  }

  // called by the owner on end of emergency, returns to normal state
  function unhalt() external onlyOwner onlyInEmergency {
    halted = false;
  }

}


/**
 * Interface for defining crowdsale pricing.
 */
contract PricingStrategy {

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

  /** Self check if all references are correctly set.
   *
   * Checks that pricing strategy matches crowdsale parameters.
   */
  function isSane(address crowdsale) public constant returns (bool) {
    return true;
  }

  /**
   * When somebody tries to buy tokens for X eth, calculate how many tokens they get.
   *
   *
   * @param value - What is the value of the transaction send in as wei
   * @param tokensSold - how much tokens have been sold this far
   * @param weiRaised - how much money has been raised this far
   * @param msgSender - who is the investor of this transaction
   * @param decimals - how many decimal units the token has
   * @return Amount of tokens the investor receives
   */
  function calculatePrice(uint value, uint weiRaised, uint tokensSold, address msgSender, uint decimals) public constant returns (uint tokenAmount);
}


/**
 * Finalize agent defines what happens at the end of succeseful crowdsale.
 *
 * - Allocate tokens for founders, bounties and community
 * - Make tokens transferable
 * - etc.
 */
contract FinalizeAgent {

  function isFinalizeAgent() public constant returns(bool) {
    return true;
  }

  /** Return true if we can run finalizeCrowdsale() properly.
   *
   * This is a safety check function that doesn't allow crowdsale to begin
   * unless the finalizer has been set up properly.
   */
  function isSane() public constant returns (bool);

  /** Called once by crowdsale finalize() if the sale was success. */
  function finalizeCrowdsale();

}




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


/**
 * A token that defines fractional units as decimals.
 */
contract FractionalERC20 is ERC20 {

  uint public decimals;

}



/**
 * Abstract base contract for token sales.
 *
 * Handle
 * - start and end dates
 * - accepting investments
 * - minimum funding goal and refund
 * - various statistics during the crowdfund
 * - different pricing strategies
 * - different investment policies (require server side customer id, allow only whitelisted addresses)
 *
 */
contract Crowdsale is Haltable {

  /* Max investment count when we are still allowed to change the multisig address */
  uint public MAX_INVESTMENTS_BEFORE_MULTISIG_CHANGE = 5;

  using SafeMathLib for uint;

  /* The token we are selling */
  FractionalERC20 public token;

  /* How we are going to price our offering */
  PricingStrategy public pricingStrategy;

  /* Post-success callback */
  FinalizeAgent public finalizeAgent;

  /* tokens will be transfered from this address */
  address public multisigWallet;

  /* if the funding goal is not reached, investors may withdraw their funds */
  uint public minimumFundingGoal;

  /* the UNIX timestamp start date of the crowdsale */
  uint public startsAt;

  /* the UNIX timestamp end date of the crowdsale */
  uint public endsAt;

  /* the number of tokens already sold through this contract*/
  uint public tokensSold = 0;

  /* How many wei of funding we have raised */
  uint public weiRaised = 0;

  /* How many distinct addresses have invested */
  uint public investorCount = 0;

  /* How much wei we have returned back to the contract after a failed crowdfund. */
  uint public loadedRefund = 0;

  /* How much wei we have given back to investors.*/
  uint public weiRefunded = 0;

  /* Has this crowdsale been finalized */
  bool public finalized;

  /* Do we need to have unique contributor id for each customer */
  bool public requireCustomerId;

  /**
    * Do we verify that contributor has been cleared on the server side (accredited investors only).
    * This method was first used in FirstBlood crowdsale to ensure all contributors have accepted terms on sale (on the web).
    */
  bool public requiredSignedAddress;

  /* Server side address that signed allowed contributors (Ethereum addresses) that can participate the crowdsale */
  address public signerAddress;

  /** How much ETH each address has invested to this crowdsale */
  mapping (address => uint256) public investedAmountOf;

  /** How much tokens this crowdsale has credited for each investor address */
  mapping (address => uint256) public tokenAmountOf;

  /** Addresses that are allowed to invest even before ICO offical opens. For testing, for ICO partners, etc. */
  mapping (address => bool) public earlyParticipantWhitelist;

  /** This is for manul testing for the interaction from owner wallet. You can set it to any value and inspect this in blockchain explorer to see that crowdsale interaction works. */
  uint public ownerTestValue;

  /** State machine
   *
   * - Preparing: All contract initialization calls and variables have not been set yet
   * - Prefunding: We have not passed start time yet
   * - Funding: Active crowdsale
   * - Success: Minimum funding goal reached
   * - Failure: Minimum funding goal not reached before ending time
   * - Finalized: The finalized has been called and succesfully executed
   * - Refunding: Refunds are loaded on the contract for reclaim.
   */
  enum State{Unknown, Preparing, PreFunding, Funding, Success, Failure, Finalized, Refunding}

  // A new investment was made
  event Invested(address investor, uint weiAmount, uint tokenAmount, uint128 customerId);

  // Refund was processed for a contributor
  event Refund(address investor, uint weiAmount);

  // The rules were changed what kind of investments we accept
  event InvestmentPolicyChanged(bool requireCustomerId, bool requiredSignedAddress, address signerAddress);

  // Address early participation whitelist status changed
  event Whitelisted(address addr, bool status);

  // Crowdsale end time has been changed
  event EndsAtChanged(uint endsAt);

  function Crowdsale(address _token, PricingStrategy _pricingStrategy, address _multisigWallet, uint _start, uint _end, uint _minimumFundingGoal) {

    owner = msg.sender;

    token = FractionalERC20(_token);

    setPricingStrategy(_pricingStrategy);

    multisigWallet = _multisigWallet;
    if(multisigWallet == 0) {
        throw;
    }

    if(_start == 0) {
        throw;
    }

    startsAt = _start;

    if(_end == 0) {
        throw;
    }

    endsAt = _end;

    // Don't mess the dates
    if(startsAt >= endsAt) {
        throw;
    }

    // Minimum funding goal can be zero
    minimumFundingGoal = _minimumFundingGoal;
  }

  /**
   * Don't expect to just send in money and get tokens.
   */
  function() payable {
    throw;
  }

  /**
   * Make an investment.
   *
   * Crowdsale must be running for one to invest.
   * We must have not pressed the emergency brake.
   *
   * @param receiver The Ethereum address who receives the tokens
   * @param customerId (optional) UUID v4 to track the successful payments on the server side
   *
   */
  function investInternal(address receiver, uint128 customerId) stopInEmergency private {

    // Determine if it's a good time to accept investment from this participant
    if(getState() == State.PreFunding) {
      // Are we whitelisted for early deposit
      if(!earlyParticipantWhitelist[receiver]) {
        throw;
      }
    } else if(getState() == State.Funding) {
      // Retail participants can only come in when the crowdsale is running
      // pass
    } else {
      // Unwanted state
      throw;
    }

    uint weiAmount = msg.value;
    uint tokenAmount = pricingStrategy.calculatePrice(weiAmount, weiRaised, tokensSold, msg.sender, token.decimals());

    if(tokenAmount == 0) {
      // Dust transaction
      throw;
    }

    if(investedAmountOf[receiver] == 0) {
       // A new investor
       investorCount++;
    }

    // Update investor
    investedAmountOf[receiver] = investedAmountOf[receiver].plus(weiAmount);
    tokenAmountOf[receiver] = tokenAmountOf[receiver].plus(tokenAmount);

    // Update totals
    weiRaised = weiRaised.plus(weiAmount);
    tokensSold = tokensSold.plus(tokenAmount);


    // Check that we did not bust the cap
    if(isBreakingCap(weiAmount, tokenAmount, weiRaised, tokensSold)) {
      throw;
    }

    assignTokens(receiver, tokenAmount);

    // Pocket the money
    if(!multisigWallet.send(weiAmount)) throw;

    // Tell us invest was success
    Invested(receiver, weiAmount, tokenAmount, customerId);

  }

  /**
   * Preallocate tokens for the early investors.
   *
   * Preallocated tokens have been sold before the actual crowdsale opens.
   * This function mints the tokens and moves the crowdsale needle.
   *
   * Investor count is not handled; it is assumed this goes for multiple investors
   * and the token distribution happens outside the smart contract flow.
   *
   * No money is exchanged, as the crowdsale team already have received the payment.
   *
   * @param fullTokens tokens as full tokens - decimal places added internally
   * @param weiPrice Price of a single full token in wei
   *
   */
  function preallocate(address receiver, uint fullTokens, uint weiPrice) public onlyOwner {

    uint tokenAmount = fullTokens * 10**token.decimals();
    uint weiAmount = weiPrice * fullTokens; // This can be also 0, we give out tokens for free

    weiRaised = weiRaised.plus(weiAmount);
    tokensSold = tokensSold.plus(tokenAmount);

    investedAmountOf[receiver] = investedAmountOf[receiver].plus(weiAmount);
    tokenAmountOf[receiver] = tokenAmountOf[receiver].plus(tokenAmount);

    assignTokens(receiver, tokenAmount);

    // Tell us invest was success
    Invested(receiver, weiAmount, tokenAmount, 0);
  }

  /**
   * Allow anonymous contributions to this crowdsale.
   */
  function investWithSignedAddress(address addr, uint128 customerId, uint8 v, bytes32 r, bytes32 s) public payable {
     bytes32 hash = sha256(addr);
     if (ecrecover(hash, v, r, s) != signerAddress) throw;
     if(customerId == 0) throw;  // UUIDv4 sanity check
     investInternal(addr, customerId);
  }

  /**
   * Track who is the customer making the payment so we can send thank you email.
   */
  function investWithCustomerId(address addr, uint128 customerId) public payable {
    if(requiredSignedAddress) throw; // Crowdsale allows only server-side signed participants
    if(customerId == 0) throw;  // UUIDv4 sanity check
    investInternal(addr, customerId);
  }

  /**
   * Allow anonymous contributions to this crowdsale.
   */
  function invest(address addr) public payable {
    if(requireCustomerId) throw; // Crowdsale needs to track partipants for thank you email
    if(requiredSignedAddress) throw; // Crowdsale allows only server-side signed participants
    investInternal(addr, 0);
  }

  /**
   * Invest to tokens, recognize the payer and clear his address.
   *
   */
  function buyWithSignedAddress(uint128 customerId, uint8 v, bytes32 r, bytes32 s) public payable {
    investWithSignedAddress(msg.sender, customerId, v, r, s);
  }

  /**
   * Invest to tokens, recognize the payer.
   *
   */
  function buyWithCustomerId(uint128 customerId) public payable {
    investWithCustomerId(msg.sender, customerId);
  }

  /**
   * The basic entry point to participate the crowdsale process.
   *
   * Pay for funding, get invested tokens back in the sender address.
   */
  function buy() public payable {
    invest(msg.sender);
  }

  /**
   * Finalize a succcesful crowdsale.
   *
   * The owner can triggre a call the contract that provides post-crowdsale actions, like releasing the tokens.
   */
  function finalize() public inState(State.Success) onlyOwner stopInEmergency {

    // Already finalized
    if(finalized) {
      throw;
    }

    // Finalizing is optional. We only call it if we are given a finalizing agent.
    if(address(finalizeAgent) != 0) {
      finalizeAgent.finalizeCrowdsale();
    }

    finalized = true;
  }

  /**
   * Allow to (re)set finalize agent.
   *
   * Design choice: no state restrictions on setting this, so that we can fix fat finger mistakes.
   */
  function setFinalizeAgent(FinalizeAgent addr) onlyOwner {
    finalizeAgent = addr;

    // Don't allow setting bad agent
    if(!finalizeAgent.isFinalizeAgent()) {
      throw;
    }
  }

  /**
   * Set policy do we need to have server-side customer ids for the investments.
   *
   */
  function setRequireCustomerId(bool value) onlyOwner {
    requireCustomerId = value;
    InvestmentPolicyChanged(requireCustomerId, requiredSignedAddress, signerAddress);
  }

  /**
   * Set policy if all investors must be cleared on the server side first.
   *
   * This is e.g. for the accredited investor clearing.
   *
   */
  function setRequireSignedAddress(bool value, address _signerAddress) onlyOwner {
    requiredSignedAddress = value;
    signerAddress = _signerAddress;
    InvestmentPolicyChanged(requireCustomerId, requiredSignedAddress, signerAddress);
  }

  /**
   * Allow addresses to do early participation.
   *
   * TODO: Fix spelling error in the name
   */
  function setEarlyParicipantWhitelist(address addr, bool status) onlyOwner {
    earlyParticipantWhitelist[addr] = status;
    Whitelisted(addr, status);
  }

  /**
   * Allow crowdsale owner to close early or extend the crowdsale.
   *
   * This is useful e.g. for a manual soft cap implementation:
   * - after X amount is reached determine manual closing
   *
   * This may put the crowdsale to an invalid state,
   * but we trust owners know what they are doing.
   *
   */
  function setEndsAt(uint time) onlyOwner {

    if(now > time) {
      throw; // Don't change past
    }

    endsAt = time;
    EndsAtChanged(endsAt);
  }

  /**
   * Allow to (re)set pricing strategy.
   *
   * Design choice: no state restrictions on the set, so that we can fix fat finger mistakes.
   */
  function setPricingStrategy(PricingStrategy _pricingStrategy) onlyOwner {
    pricingStrategy = _pricingStrategy;

    // Don't allow setting bad agent
    if(!pricingStrategy.isPricingStrategy()) {
      throw;
    }
  }

  /**
   * Allow to change the team multisig address in the case of emergency.
   *
   * This allows to save a deployed crowdsale wallet in the case the crowdsale has not yet begun
   * (we have done only few test transactions). After the crowdsale is going
   * then multisig address stays locked for the safety reasons.
   */
  function setMultisig(address addr) public onlyOwner {

    // Change
    if(investorCount > MAX_INVESTMENTS_BEFORE_MULTISIG_CHANGE) {
      throw;
    }

    multisigWallet = addr;
  }

  /**
   * Allow load refunds back on the contract for the refunding.
   *
   * The team can transfer the funds back on the smart contract in the case the minimum goal was not reached..
   */
  function loadRefund() public payable inState(State.Failure) {
    if(msg.value == 0) throw;
    loadedRefund = loadedRefund.plus(msg.value);
  }

  /**
   * Investors can claim refund.
   *
   * Note that any refunds from proxy buyers should be handled separately,
   * and not through this contract.
   */
  function refund() public inState(State.Refunding) {
    uint256 weiValue = investedAmountOf[msg.sender];
    if (weiValue == 0) throw;
    investedAmountOf[msg.sender] = 0;
    weiRefunded = weiRefunded.plus(weiValue);
    Refund(msg.sender, weiValue);
    if (!msg.sender.send(weiValue)) throw;
  }

  /**
   * @return true if the crowdsale has raised enough money to be a successful.
   */
  function isMinimumGoalReached() public constant returns (bool reached) {
    return weiRaised >= minimumFundingGoal;
  }

  /**
   * Check if the contract relationship looks good.
   */
  function isFinalizerSane() public constant returns (bool sane) {
    return finalizeAgent.isSane();
  }

  /**
   * Check if the contract relationship looks good.
   */
  function isPricingSane() public constant returns (bool sane) {
    return pricingStrategy.isSane(address(this));
  }

  /**
   * Crowdfund state machine management.
   *
   * We make it a function and do not assign the result to a variable, so there is no chance of the variable being stale.
   */
  function getState() public constant returns (State) {
    if(finalized) return State.Finalized;
    else if (address(finalizeAgent) == 0) return State.Preparing;
    else if (!finalizeAgent.isSane()) return State.Preparing;
    else if (!pricingStrategy.isSane(address(this))) return State.Preparing;
    else if (block.timestamp < startsAt) return State.PreFunding;
    else if (block.timestamp <= endsAt && !isCrowdsaleFull()) return State.Funding;
    else if (isMinimumGoalReached()) return State.Success;
    else if (!isMinimumGoalReached() && weiRaised > 0 && loadedRefund >= weiRaised) return State.Refunding;
    else return State.Failure;
  }

  /** This is for manual testing of multisig wallet interaction */
  function setOwnerTestValue(uint val) onlyOwner {
    ownerTestValue = val;
  }

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

  //
  // Modifiers
  //

  /** Modified allowing execution only if the crowdsale is currently running.  */
  modifier inState(State state) {
    if(getState() != state) throw;
    _;
  }


  //
  // Abstract functions
  //

  /**
   * Check if the current invested breaks our cap rules.
   *
   *
   * The child contract must define their own cap setting rules.
   * We allow a lot of flexibility through different capping strategies (ETH, token count)
   * Called from invest().
   *
   * @param weiAmount The amount of wei the investor tries to invest in the current transaction
   * @param tokenAmount The amount of tokens we try to give to the investor in the current transaction
   * @param weiRaisedTotal What would be our total raised balance after this transaction
   * @param tokensSoldTotal What would be our total sold tokens count after this transaction
   *
   * @return true if taking this investment would break our cap rules
   */
  function isBreakingCap(uint weiAmount, uint tokenAmount, uint weiRaisedTotal, uint tokensSoldTotal) constant returns (bool limitBroken);

  /**
   * Check if the current crowdsale is full and we can no longer sell any tokens.
   */
  function isCrowdsaleFull() public constant returns (bool);

  /**
   * Create new tokens or transfer issued tokens to the investor depending on the cap model.
   */
  function assignTokens(address receiver, uint tokenAmount) private;
}


/**
 * A crowdsale that is selling tokens from a preallocated pool
 *
 *
 * - Tokens have precreated supply "premined"
 *
 * - Token owner must transfer sellable tokens to the crowdsale contract using ERC20.approve()
 *
 */
contract AllocatedCrowdsale is Crowdsale {

  /* The party who holds the full token pool and has approve()'ed tokens for this crowdsale */
  address public beneficiary;

  function AllocatedCrowdsale(address _token, PricingStrategy _pricingStrategy, address _multisigWallet, uint _start, uint _end, uint _minimumFundingGoal, address _beneficiary) Crowdsale(_token, _pricingStrategy, _multisigWallet, _start, _end, _minimumFundingGoal) Crowdsale(_token, _pricingStrategy, _multisigWallet, _start, _end, _minimumFundingGoal) {
    beneficiary = _beneficiary;
  }

  /**
   * Called from invest() to confirm if the curret investment does not break our cap rule.
   */
  function isBreakingCap(uint weiAmount, uint tokenAmount, uint weiRaisedTotal, uint tokensSoldTotal) constant returns (bool limitBroken) {
    if(tokenAmount > getTokensLeft()) {
      return true;
    } else {
      return false;
    }
  }

  /**
   * We are sold out when our approve pool becomes empty.
   */
  function isCrowdsaleFull() public constant returns (bool) {
    return getTokensLeft() == 0;
  }

  /**
   * Get the amount of unsold tokens allocated to this contract;
   */
  function getTokensLeft() public constant returns (uint) {
    return token.allowance(owner, this);
  }

  /**
   * Transfer tokens from approve() pool to the buyer.
   *
   * Use approve() given to this crowdsale to distribute the tokens.
   */
  function assignTokens(address receiver, uint tokenAmount) private {
    if(!token.transferFrom(beneficiary, receiver, tokenAmount)) throw;
  }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"ownerTestValue","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"requireCustomerId","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"invest","outputs":[],"payable":true,"type":"function"},{"constant":true,"inputs":[],"name":"isPricingSane","outputs":[{"name":"sane","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"endsAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"minimumFundingGoal","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getState","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"setFinalizeAgent","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"customerId","type":"uint128"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"}],"name":"investWithSignedAddress","outputs":[],"payable":true,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"investedAmountOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"finalizeAgent","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"receiver","type":"address"},{"name":"fullTokens","type":"uint256"},{"name":"weiPrice","type":"uint256"}],"name":"preallocate","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"beneficiary","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"isCrowdsale","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"finalize","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_pricingStrategy","type":"address"}],"name":"setPricingStrategy","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"tokensSold","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"refund","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"signerAddress","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"weiRefunded","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"halt","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"MAX_INVESTMENTS_BEFORE_MULTISIG_CHANGE","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"time","type":"uint256"}],"name":"setEndsAt","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"pricingStrategy","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"loadedRefund","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"isMinimumGoalReached","outputs":[{"name":"reached","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"value","type":"bool"}],"name":"setRequireCustomerId","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"loadRefund","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"val","type":"uint256"}],"name":"setOwnerTestValue","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"multisigWallet","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"tokenAmountOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"customerId","type":"uint128"}],"name":"buyWithCustomerId","outputs":[],"payable":true,"type":"function"},{"constant":true,"inputs":[{"name":"weiAmount","type":"uint256"},{"name":"tokenAmount","type":"uint256"},{"name":"weiRaisedTotal","type":"uint256"},{"name":"tokensSoldTotal","type":"uint256"}],"name":"isBreakingCap","outputs":[{"name":"limitBroken","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[],"payable":true,"type":"function"},{"constant":true,"inputs":[],"name":"isFinalizerSane","outputs":[{"name":"sane","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"startsAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"finalized","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"halted","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"earlyParticipantWhitelist","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"unhalt","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"requiredSignedAddress","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"isCrowdsaleFull","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"investorCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getTokensLeft","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"status","type":"bool"}],"name":"setEarlyParicipantWhitelist","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"value","type":"bool"},{"name":"_signerAddress","type":"address"}],"name":"setRequireSignedAddress","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"customerId","type":"uint128"}],"name":"investWithCustomerId","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"setMultisig","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"customerId","type":"uint128"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"}],"name":"buyWithSignedAddress","outputs":[],"payable":true,"type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"inputs":[{"name":"_token","type":"address"},{"name":"_pricingStrategy","type":"address"},{"name":"_multisigWallet","type":"address"},{"name":"_start","type":"uint256"},{"name":"_end","type":"uint256"},{"name":"_minimumFundingGoal","type":"uint256"},{"name":"_beneficiary","type":"address"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"investor","type":"address"},{"indexed":false,"name":"weiAmount","type":"uint256"},{"indexed":false,"name":"tokenAmount","type":"uint256"},{"indexed":false,"name":"customerId","type":"uint128"}],"name":"Invested","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"investor","type":"address"},{"indexed":false,"name":"weiAmount","type":"uint256"}],"name":"Refund","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"requireCustomerId","type":"bool"},{"indexed":false,"name":"requiredSignedAddress","type":"bool"},{"indexed":false,"name":"signerAddress","type":"address"}],"name":"InvestmentPolicyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"status","type":"bool"}],"name":"Whitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"endsAt","type":"uint256"}],"name":"EndsAtChanged","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604052600560015560006009556000600a556000600b556000600c556000600d5534620000005760405160e0806200218383398101604090815281516020830151918301516060840151608085015160a086015160c09096015193959293919290915b8686868686865b5b60008054600160a060020a03191633600160a060020a03161790555b60008054600160a060020a03338116600160a060020a0319928316179092556002805492891692909116919091179055620000d185640100000000620011496200016c82021704565b60058054600160a060020a031916600160a060020a038681169190911791829055161515620001005762000000565b8215156200010e5762000000565b6007839055811515620001215762000000565b6008829055600754829010620001375762000000565b60068190555b505060138054600160a060020a031916600160a060020a038716179055505050505b5050505050505062000225565b60005433600160a060020a03908116911614620001895762000000565b60038054600160a060020a031916600160a060020a038381169190911791829055604080516000602091820181905282517f04bbc255000000000000000000000000000000000000000000000000000000008152925194909316936304bbc255936004808501948390030190829087803b15620000005760325a03f115620000005750506040515115159050620002205762000000565b5b5b50565b611f4e80620002356000396000f300606060405236156102615763ffffffff60e060020a6000350416630226401d811461026e57806303ca0eed1461028d57806303f9c793146102ae578063062b01ce146102c45780630a09284a146102e557806313f4e977146103045780631865c57d1461032357806319b667da146103515780631a49803b1461036c5780631aae34601461039a57806321d5c0f6146103c557806332013ac3146103ee57806338af3eed1461040f5780634042b66f146104385780634551dd59146104575780634bb278f31461047857806350c6773414610487578063518ab2a8146104a2578063590e1ae3146104c15780635b7633d0146104d05780635da89ac0146104f95780635ed7ca5b146105185780636203f09f146105275780636e50eb3f1461054657806378b99c2414610558578063797d9437146105815780637c2e08a3146105a05780637f7d711e146105c157806387612102146105d55780638d51faec146105df5780638da5cb5b146105f15780639075becf1461061a57806397b150ca1461064357806399e9376c1461066e5780639d3c663f14610684578063a6f2ae3a146106b1578063a7ba44c3146106bb578063af468682146106dc578063b3f05b97146106fb578063b9b8af0b1461071c578063cb16e6d01461073d578063cb3e64fd1461076a578063d222dc0414610779578063d5d090211461079a578063d7e64c00146107bb578063de5f9866146107da578063eac24932146107f9578063ed68ff2c14610819578063ef86944314610839578063f2fde38b1461085b578063f3283fba14610876578063f486972614610891578063fc0c546a146108b3575b61026c5b610000565b565b005b346100005761027b6108dc565b60408051918252519081900360200190f35b346100005761029a6108e2565b604080519115158252519081900360200190f35b61026c600160a060020a03600435166108f0565b005b346100005761029a61092a565b604080519115158252519081900360200190f35b346100005761027b610996565b60408051918252519081900360200190f35b346100005761027b61099c565b60408051918252519081900360200190f35b34610000576103306109a2565b6040518082600781116100005760ff16815260200191505060405180910390f35b346100005761026c600160a060020a0360043516610b51565b005b61026c600160a060020a03600435166001608060020a036024351660ff60443516606435608435610c05565b005b346100005761027b600160a060020a0360043516610d10565b60408051918252519081900360200190f35b34610000576103d2610d22565b60408051600160a060020a039092168252519081900360200190f35b346100005761026c600160a060020a0360043516602435604435610d31565b005b34610000576103d2611047565b60408051600160a060020a039092168252519081900360200190f35b346100005761027b611056565b60408051918252519081900360200190f35b346100005761029a61105c565b604080519115158252519081900360200190f35b346100005761026c611062565b005b346100005761026c600160a060020a0360043516611149565b005b346100005761027b6111fc565b60408051918252519081900360200190f35b346100005761026c611202565b005b34610000576103d261134d565b60408051600160a060020a039092168252519081900360200190f35b346100005761027b611363565b60408051918252519081900360200190f35b346100005761026c611369565b005b346100005761027b6113ac565b60408051918252519081900360200190f35b346100005761026c6004356113b2565b005b34610000576103d2611417565b60408051600160a060020a039092168252519081900360200190f35b346100005761027b611426565b60408051918252519081900360200190f35b346100005761029a61142c565b604080519115158252519081900360200190f35b346100005761026c6004351515611438565b005b61026c6114d2565b005b346100005761026c600435611574565b005b34610000576103d2611599565b60408051600160a060020a039092168252519081900360200190f35b34610000576103d26115a8565b60408051600160a060020a039092168252519081900360200190f35b346100005761027b600160a060020a03600435166115b7565b60408051918252519081900360200190f35b61026c6001608060020a03600435166115c9565b005b346100005761029a6004356024356044356064356115d7565b604080519115158252519081900360200190f35b61026c6115fd565b005b346100005761029a611609565b604080519115158252519081900360200190f35b346100005761027b61167a565b60408051918252519081900360200190f35b346100005761029a611680565b604080519115158252519081900360200190f35b346100005761029a611689565b604080519115158252519081900360200190f35b346100005761029a600160a060020a0360043516611699565b604080519115158252519081900360200190f35b346100005761026c6116ae565b005b346100005761029a611704565b604080519115158252519081900360200190f35b346100005761029a611713565b604080519115158252519081900360200190f35b346100005761027b611724565b60408051918252519081900360200190f35b346100005761027b61172a565b60408051918252519081900360200190f35b346100005761026c600160a060020a036004351660243515156117b7565b005b346100005761026c6004351515600160a060020a0360243516611838565b005b61026c600160a060020a03600435166001608060020a03602435166118f6565b005b346100005761026c600160a060020a0360043516611930565b005b346100005761026c600160a060020a036004351661197b565b005b61026c6001608060020a036004351660ff602435166044356064356119c7565b005b34610000576103d26119db565b60408051600160a060020a039092168252519081900360200190f35b60125481565b600e54610100900460ff1681565b600e54610100900460ff161561090557610000565b600e5462010000900460ff161561091b57610000565b6109268160006119ea565b5b50565b6003546040805160006020918201819052825160e360020a6311ced051028152600160a060020a033081166004830152935191949390931692638e76828892602480830193919282900301818787803b156100005760325a03f115610000575050604051519150505b90565b60085481565b60065481565b600e5460009060ff16156109b857506006610993565b600454600160a060020a031615156109d257506001610993565b600460009054906101000a9004600160a060020a0316600160a060020a03166382771c8e6000604051602001526040518163ffffffff1660e060020a028152600401809050602060405180830381600087803b156100005760325a03f1156100005750506040515115159050610a4a57506001610993565b6003546040805160006020918201819052825160e360020a6311ced051028152600160a060020a03308116600483015293519390941693638e768288936024808301949391928390030190829087803b156100005760325a03f1156100005750506040515115159050610abf57506001610993565b600754421015610ad157506002610993565b6008544211158015610ae85750610ae6611713565b155b15610af557506003610993565b610afd61142c565b15610b0a57506004610993565b610b1261142c565b158015610b2157506000600a54115b8015610b315750600a54600c5410155b15610b3e57506007610993565b506005610993565b5b5b5b5b5b5b5b5b90565b60005433600160a060020a03908116911614610b6c57610000565b60048054600160a060020a031916600160a060020a0383811691909117808355604080516000602091820181905282517f614cb9040000000000000000000000000000000000000000000000000000000081529251939094169463614cb9049483820194929383900390910190829087803b156100005760325a03f115610000575050604051511515905061092657610000565b5b5b50565b60006002866000604051602001526040518082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506020604051808303816000866161da5a03f115610000575050604080518051600e54600083815260208085018652938501819052845183815260ff8a16818601528086018990526060810188905294519295506301000000909104600160a060020a0316936001936080808301949193601f198301938390039091019190866161da5a03f115610000575050604051601f190151600160a060020a031614610ce857610000565b6001608060020a0385161515610cfd57610000565b610d0786866119ea565b5b505050505050565b600f6020526000908152604090205481565b600454600160a060020a031681565b60008054819033600160a060020a03908116911614610d4f57610000565b600254604080516000602091820181905282517f313ce5670000000000000000000000000000000000000000000000000000000081529251600160a060020a039094169363313ce5679360048082019493918390030190829087803b156100005760325a03f1156100005750505060405180519050600a0a840291508383029050600a54732c29d32dc358c09adf6e3fa5c3537668ae23113b6366098d4f9091836000604051602001526040518363ffffffff1660e060020a028152600401808381526020018281526020019250505060206040518083038186803b156100005760325a03f415610000575050604080518051600a556009546000602092830152825160e060020a6366098d4f0281526004810191909152602481018690529151732c29d32dc358c09adf6e3fa5c3537668ae23113b93506366098d4f926044808201939291829003018186803b156100005760325a03f415610000575050604080518051600955600160a060020a0388166000908152600f60209081528382205492810191909152825160e060020a6366098d4f0281526004810192909252602482018590529151732c29d32dc358c09adf6e3fa5c3537668ae23113b93506366098d4f92604480840193919291829003018186803b156100005760325a03f415610000575050604080518051600160a060020a0389166000908152600f602090815284822092909255601082528381205492820152825160e060020a6366098d4f0281526004810192909252602482018690529151732c29d32dc358c09adf6e3fa5c3537668ae23113b93506366098d4f92604480840193919291829003018186803b156100005760325a03f4156100005750506040805151600160a060020a03881660009081526010602052919091205550610fee8583611e83565b60408051600160a060020a0387168152602081018390528082018490526000606082015290517f0396f60aaad038749091d273dc13aaabc63db6e2271c7bad442d5cf25cc433509181900360800190a15b5b5050505050565b601354600160a060020a031681565b600a5481565b60015b90565b60048061106d6109a2565b60078111610000571461107f57610000565b60005433600160a060020a0390811691161461109a57610000565b60005460a060020a900460ff16156110b157610000565b600e5460ff16156110c157610000565b600454600160a060020a0316156111355760048054604080517f0bf318a30000000000000000000000000000000000000000000000000000000081529051600160a060020a0390921692630bf318a392828201926000929082900301818387803b156100005760325a03f115610000575050505b600e805460ff191660011790555b5b5b5b50565b60005433600160a060020a0390811691161461116457610000565b60038054600160a060020a031916600160a060020a038381169190911791829055604080516000602091820181905282517f04bbc255000000000000000000000000000000000000000000000000000000008152925194909316936304bbc255936004808501948390030190829087803b156100005760325a03f115610000575050604051511515905061092657610000565b5b5b50565b60095481565b600060078061120f6109a2565b60078111610000571461122157610000565b600160a060020a0333166000908152600f6020526040902054915081151561124857610000565b600160a060020a0333166000908152600f60209081526040808320839055600d548151830193909352805160e060020a6366098d4f02815260048101939093526024830185905251732c29d32dc358c09adf6e3fa5c3537668ae23113b926366098d4f926044808301939192829003018186803b156100005760325a03f415610000575050604080518051600d55600160a060020a03331681526020810185905281517fbb28353e4598c3b9199101a66e0989549b659a59a54d2c27fbb183f1932c8e6d93509081900390910190a1604051600160a060020a0333169083156108fc029084906000818181858888f19350505050151561134757610000565b5b5b5050565b600e5463010000009004600160a060020a031681565b600d5481565b60005433600160a060020a0390811691161461138457610000565b6000805474ff0000000000000000000000000000000000000000191660a060020a1790555b5b565b60015481565b60005433600160a060020a039081169116146113cd57610000565b804211156113da57610000565b60088190556040805182815290517fd34bb772c4ae9baa99db852f622773b31c7827e8ee818449fef20d30980bd3109181900360200190a15b5b50565b600354600160a060020a031681565b600c5481565b600654600a5410155b90565b60005433600160a060020a0390811691161461145357610000565b600e805461ff001916610100831515810291909117918290556040805160ff928404831615158152620100008404909216151560208301526301000000909204600160a060020a03168183015290517f48d826081348f5f00e8a33c9ae8ce89ed4c6e88400b585a478bc203d9e8177d3916060908290030190a15b5b50565b6005806114dd6109a2565b6007811161000057146114ef57610000565b3415156114fb57610000565b600c54732c29d32dc358c09adf6e3fa5c3537668ae23113b6366098d4f9091346000604051602001526040518363ffffffff1660e060020a028152600401808381526020018281526020019250505060206040518083038186803b156100005760325a03f41561000057505060405151600c55505b5b50565b60005433600160a060020a0390811691161461158f57610000565b60128190555b5b50565b600054600160a060020a031681565b600554600160a060020a031681565b60106020526000908152604090205481565b61092633826118f6565b5b50565b60006115e161172a565b8411156115f0575060016115f4565b5060005b5b949350505050565b61026a336108f0565b5b565b6000600460009054906101000a9004600160a060020a0316600160a060020a03166382771c8e6000604051602001526040518163ffffffff1660e060020a028152600401809050602060405180830381600087803b156100005760325a03f115610000575050604051519150505b90565b60075481565b600e5460ff1681565b60005460a060020a900460ff1681565b60116020526000908152604090205460ff1681565b60005433600160a060020a039081169116146116c957610000565b60005460a060020a900460ff1615156116e157610000565b6000805474ff0000000000000000000000000000000000000000191690555b5b5b565b600e5462010000900460ff1681565b600061171d61172a565b1590505b90565b600b5481565b6002546000805460408051602090810184905281517fdd62ed3e000000000000000000000000000000000000000000000000000000008152600160a060020a039384166004820152308416602482015291519394929092169263dd62ed3e9260448084019391929182900301818787803b156100005760325a03f115610000575050604051519150505b90565b60005433600160a060020a039081169116146117d257610000565b600160a060020a038216600081815260116020908152604091829020805460ff191685151590811790915582519384529083015280517fa54714518c5d275fdcd3d2a461e4858e4e8cb04fb93cd0bca9d6d34115f264409281900390910190a15b5b5050565b60005433600160a060020a0390811691161461185357610000565b600e805462ff000019166201000084151581029190911776ffffffffffffffffffffffffffffffffffffffff00000019166301000000600160a060020a03858116820292909217938490556040805160ff6101008704811615158252948604909416151560208501529304168183015290517f48d826081348f5f00e8a33c9ae8ce89ed4c6e88400b585a478bc203d9e8177d3916060908290030190a15b5b5050565b600e5462010000900460ff161561190c57610000565b6001608060020a038116151561192157610000565b61134782826119ea565b5b5050565b60005433600160a060020a0390811691161461194b57610000565b600160a060020a038116156109265760008054600160a060020a031916600160a060020a0383161790555b5b5b50565b60005433600160a060020a0390811691161461199657610000565b600154600b5411156119a757610000565b60058054600160a060020a031916600160a060020a0383161790555b5b50565b6119d43385858585610c05565b5b50505050565b600254600160a060020a031681565b60008054819060a060020a900460ff1615611a0457610000565b6002611a0e6109a2565b60078111610000571415611a4857600160a060020a03841660009081526011602052604090205460ff161515611a4357610000565b611a6a565b6003611a526109a2565b6007811161000057141561026557611a6a565b610000565b5b349150600360009054906101000a9004600160a060020a0316600160a060020a03166318a4155e83600a5460095433600260009054906101000a9004600160a060020a0316600160a060020a031663313ce5676000604051602001526040518163ffffffff1660e060020a028152600401809050602060405180830381600087803b156100005760325a03f11561000057505050604051805190506000604051602001526040518663ffffffff1660e060020a0281526004018086815260200185815260200184815260200183600160a060020a0316600160a060020a0316815260200182815260200195505050505050602060405180830381600087803b156100005760325a03f11561000057505060405151915050801515611b8e57610000565b600160a060020a0384166000908152600f60205260409020541515611bb757600b805460010190555b600160a060020a0384166000908152600f60209081526040808320548151830193909352805160e060020a6366098d4f02815260048101939093526024830185905251732c29d32dc358c09adf6e3fa5c3537668ae23113b926366098d4f926044808301939192829003018186803b156100005760325a03f415610000575050604080518051600160a060020a0388166000908152600f602090815284822092909255601082528381205492820152825160e060020a6366098d4f0281526004810192909252602482018590529151732c29d32dc358c09adf6e3fa5c3537668ae23113b93506366098d4f92604480840193919291829003018186803b156100005760325a03f415610000575050604080518051600160a060020a03881660009081526010602090815284822092909255600a5492820152825160e060020a6366098d4f0281526004810192909252602482018690529151732c29d32dc358c09adf6e3fa5c3537668ae23113b93506366098d4f92604480840193919291829003018186803b156100005760325a03f415610000575050604080518051600a556009546000602092830152825160e060020a6366098d4f0281526004810191909152602481018590529151732c29d32dc358c09adf6e3fa5c3537668ae23113b93506366098d4f926044808201939291829003018186803b156100005760325a03f415610000575050604051516009819055600a54611ddb925084918491906115d7565b15611de557610000565b611def8482611e83565b600554604051600160a060020a039091169083156108fc029084906000818181858888f193505050501515611e2357610000565b60408051600160a060020a0386168152602081018490528082018390526001608060020a038516606082015290517f0396f60aaad038749091d273dc13aaabc63db6e2271c7bad442d5cf25cc433509181900360800190a15b5b50505050565b600254601354604080516000602091820181905282517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a039485166004820152878516602482015260448101879052925193909416936323b872dd936064808501949192918390030190829087803b156100005760325a03f115610000575050604051511515905061134757610000565b5b50505600a165627a7a7230582099f0def677c2104910e2fb452320a08e884ca66080692bb383117479ebe85f5400290000000000000000000000003597bfd533a99c9aa083587b074434e61eb0a25800000000000000000000000068bbb2461d7c4c30902621e5b6e6e3e45890c1ff0000000000000000000000003b505511a928c04423df358b8f1fa7d231fb2a490000000000000000000000000000000000000000000000000000000059661d50000000000000000000000000000000000000000000000000000000005978925000000000000000000000000000000000000000000000032d26d12e980b600000000000000000000000000000f9e42ad2e8a5a1ed07f5c3d7dfc2ca415db0fde6

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

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000003597bfd533a99c9aa083587b074434e61eb0a258
Arg [1] : 00000000000000000000000068bbb2461d7c4c30902621e5b6e6e3e45890c1ff
Arg [2] : 0000000000000000000000003b505511a928c04423df358b8f1fa7d231fb2a49
Arg [3] : 0000000000000000000000000000000000000000000000000000000059661d50
Arg [4] : 0000000000000000000000000000000000000000000000000000000059789250
Arg [5] : 00000000000000000000000000000000000000000000032d26d12e980b600000
Arg [6] : 000000000000000000000000f9e42ad2e8a5a1ed07f5c3d7dfc2ca415db0fde6


   Library Used
SafeMathLib : 0x2c29d32dc358c09adf6e3fa5c3537668ae23113b

   Swarm Source:
bzzr://99f0def677c2104910e2fb452320a08e884ca66080692bb383117479ebe85f54

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.