ETH Price: $1,927.07 (-1.99%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer53477772018-03-30 7:58:412893 days ago1522396721IN
0x235Dcf36...34A42E90b
0.15 ETH0.0015958441
Transfer53476222018-03-30 7:23:422893 days ago1522394622IN
0x235Dcf36...34A42E90b
0.15 ETH0.0015958441
Transfer53432932018-03-29 13:52:222894 days ago1522331542IN
0x235Dcf36...34A42E90b
1 ETH0.0085535259
Transfer53431812018-03-29 13:26:312894 days ago1522329991IN
0x235Dcf36...34A42E90b
1 ETH0.0018130335
Transfer53319722018-03-27 15:55:232896 days ago1522166123IN
0x235Dcf36...34A42E90b
10 ETH0.000259952
Transfer53308182018-03-27 11:12:242896 days ago1522149144IN
0x235Dcf36...34A42E90b
0.8 ETH0.000289952
Transfer53306102018-03-27 10:22:542896 days ago1522146174IN
0x235Dcf36...34A42E90b
0.8 ETH0.00010362
Transfer53244392018-03-26 9:27:552897 days ago1522056475IN
0x235Dcf36...34A42E90b
0.15 ETH0.0076836753
Transfer53216012018-03-25 22:11:402897 days ago1522015900IN
0x235Dcf36...34A42E90b
0.3 ETH0.002211327
Transfer53215982018-03-25 22:10:342897 days ago1522015834IN
0x235Dcf36...34A42E90b
0.3 ETH0.001401327
Transfer53215902018-03-25 22:08:362897 days ago1522015716IN
0x235Dcf36...34A42E90b
0.3 ETH0.00137727
Transfer53215832018-03-25 22:06:552897 days ago1522015615IN
0x235Dcf36...34A42E90b
0.3 ETH0.0001266
Transfer53118442018-03-24 7:30:472899 days ago1521876647IN
0x235Dcf36...34A42E90b
0.22815 ETH0.0059439741
Transfer53004842018-03-22 9:53:402901 days ago1521712420IN
0x235Dcf36...34A42E90b
0.445 ETH0.0059439741
Transfer52983032018-03-22 1:17:552901 days ago1521681475IN
0x235Dcf36...34A42E90b
0.1521 ETH0.0043492530
Transfer52982922018-03-22 1:15:122901 days ago1521681312IN
0x235Dcf36...34A42E90b
0.1521 ETH0.0015540330
Transfer52922702018-03-21 0:48:512902 days ago1521593331IN
0x235Dcf36...34A42E90b
1 ETH0.0000211
Transfer52922542018-03-21 0:45:462902 days ago1521593146IN
0x235Dcf36...34A42E90b
1 ETH0.0000211
Transfer52907582018-03-20 18:48:282903 days ago1521571708IN
0x235Dcf36...34A42E90b
0.445 ETH0.0001055
Bitcoin Invest52862362018-03-20 0:30:392903 days ago1521505839IN
0x235Dcf36...34A42E90b
0 ETH0.0054746441
Bitcoin Invest52862302018-03-20 0:29:512903 days ago1521505791IN
0x235Dcf36...34A42E90b
0 ETH0.005469441
Bitcoin Invest52862282018-03-20 0:29:182903 days ago1521505758IN
0x235Dcf36...34A42E90b
0 ETH0.0054746441
Bitcoin Invest52862242018-03-20 0:28:282903 days ago1521505708IN
0x235Dcf36...34A42E90b
0 ETH0.0054720241
Bitcoin Invest52862202018-03-20 0:27:392903 days ago1521505659IN
0x235Dcf36...34A42E90b
0 ETH0.0054746441
Bitcoin Invest52862172018-03-20 0:26:542903 days ago1521505614IN
0x235Dcf36...34A42E90b
0 ETH0.0054746441
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer53432932018-03-29 13:52:222894 days ago1522331542
0x235Dcf36...34A42E90b
1 ETH
Transfer53319722018-03-27 15:55:232896 days ago1522166123
0x235Dcf36...34A42E90b
10 ETH
Transfer53308182018-03-27 11:12:242896 days ago1522149144
0x235Dcf36...34A42E90b
0.8 ETH
Transfer53244392018-03-26 9:27:552897 days ago1522056475
0x235Dcf36...34A42E90b
0.15 ETH
Transfer53118442018-03-24 7:30:472899 days ago1521876647
0x235Dcf36...34A42E90b
0.22815 ETH
Transfer53004842018-03-22 9:53:402901 days ago1521712420
0x235Dcf36...34A42E90b
0.445 ETH
Transfer52983032018-03-22 1:17:552901 days ago1521681475
0x235Dcf36...34A42E90b
0.1521 ETH
Transfer52647882018-03-16 9:26:292907 days ago1521192389
0x235Dcf36...34A42E90b
0.263 ETH
Transfer52645782018-03-16 8:38:572907 days ago1521189537
0x235Dcf36...34A42E90b
0.34 ETH
Transfer52528822018-03-14 8:43:072909 days ago1521016987
0x235Dcf36...34A42E90b
0.21 ETH
Transfer52478282018-03-13 12:07:132910 days ago1520942833
0x235Dcf36...34A42E90b
0.25 ETH
Transfer52476812018-03-13 11:30:532910 days ago1520940653
0x235Dcf36...34A42E90b
0.2 ETH
Transfer52457092018-03-13 3:24:482910 days ago1520911488
0x235Dcf36...34A42E90b
5.5 ETH
Transfer52369222018-03-11 15:44:202912 days ago1520783060
0x235Dcf36...34A42E90b
0.6 ETH
Transfer52353742018-03-11 9:28:402912 days ago1520760520
0x235Dcf36...34A42E90b
1.18 ETH
Transfer52322962018-03-10 21:00:002912 days ago1520715600
0x235Dcf36...34A42E90b
0.3 ETH
Transfer52301122018-03-10 11:59:462913 days ago1520683186
0x235Dcf36...34A42E90b
41.9 ETH
Transfer52228862018-03-09 6:25:392914 days ago1520576739
0x235Dcf36...34A42E90b
0.445 ETH
Transfer52176002018-03-08 8:53:422915 days ago1520499222
0x235Dcf36...34A42E90b
0.272 ETH
Transfer52128812018-03-07 13:44:302916 days ago1520430270
0x235Dcf36...34A42E90b
0.9 ETH
Transfer52125192018-03-07 12:17:072916 days ago1520425027
0x235Dcf36...34A42E90b
1.99825955 ETH
Transfer52060862018-03-06 10:03:382917 days ago1520330618
0x235Dcf36...34A42E90b
0.16 ETH
Transfer52023342018-03-05 18:43:582918 days ago1520275438
0x235Dcf36...34A42E90b
0.9 ETH
Transfer51778102018-03-01 15:01:282922 days ago1519916488
0x235Dcf36...34A42E90b
0.136 ETH
Transfer51778042018-03-01 15:00:052922 days ago1519916405
0x235Dcf36...34A42E90b
0.965 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WaWlletTokenCrowdsale

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.4.18;

library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

  /**
  * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}

contract FinalizeAgent {

  function isFinalizeAgent() public pure 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 view returns (bool);

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

}

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

}

contract Haltable is Ownable {
  bool public halted;

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

  modifier stopNonOwnersInEmergency {
    if (halted && msg.sender != owner) revert();
    _;
  }

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

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

}

contract CrowdsaleBase is Haltable {

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

  using SafeMath 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;

  /* Calculate incoming funds from presale contracts and addresses */
  uint public presaleWeiRaised = 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;

  /** 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 newRequireCustomerId, bool newRequiredSignedAddress, address newSignerAddress);

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

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

  State public testState;

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

    owner = msg.sender;

    token = FractionalERC20(_token);

    setPricingStrategy(_pricingStrategy);

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

    if(_start == 0) {
        revert();
    }

    startsAt = _start;

    if(_end == 0) {
        revert();
    }

    endsAt = _end;

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

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

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

  /**
   * 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'
   *
   * @return tokenAmount How mony tokens were bought
   */
  function investInternal(address receiver, uint128 customerId) stopInEmergency internal returns(uint tokensBought) {

    // 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]) {
        revert();
      }
    } else if(getState() == State.Funding) {
      // Retail participants can only come in when the crowdsale is running
      // pass
    } else {
      // Unwanted state
      revert();
    }

    uint weiAmount = msg.value;

    // Account presale sales separately, so that they do not count against pricing tranches
    uint tokenAmount = pricingStrategy.calculatePrice(weiAmount, weiRaised - presaleWeiRaised, tokensSold, msg.sender, token.decimals());

    // Dust transaction
    require(tokenAmount != 0);
	
	// set minimum investment
	if(tokenAmount < 50) revert(); 

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

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

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

    if(pricingStrategy.isPresalePurchase(receiver)) {
        presaleWeiRaised = presaleWeiRaised.add(weiAmount);
    }

    // Check that we did not bust the cap
    require(!isBreakingCap(weiAmount, tokenAmount, weiRaised, tokensSold));

    assignTokens(receiver, tokenAmount);

    // Pocket the money, or fail the crowdsale if we for some reason cannot send the money to our multisig
    if(!multisigWallet.send(weiAmount)) revert();

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

    return tokenAmount;
  }

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

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

    // 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) public onlyOwner {
    finalizeAgent = addr;

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

  /**
   * 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) public onlyOwner {

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

    if(startsAt > time) {
      revert(); // Prevent human mistakes
    }

    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) public onlyOwner {
    pricingStrategy = _pricingStrategy;

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

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

    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) revert();
    loadedRefund = loadedRefund.add(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) revert();
    investedAmountOf[msg.sender] = 0;
    weiRefunded = weiRefunded.add(weiValue);
    Refund(msg.sender, weiValue);
    if (!msg.sender.send(weiValue)) revert();
  }

  /**
   * @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) public onlyOwner {
    ownerTestValue = val;
  }

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


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

  //
  // Modifiers
  //

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


  //
  // 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) public view returns (bool limitBroken);

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

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

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

contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) public view 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);
}

contract FractionalERC20 is ERC20 {

  uint public decimals;

}

contract PricingStrategy {

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

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

  /**
   * @dev Pricing tells if this is a presale purchase or not.
     posible purchaser Address of the purchaser
     @return False by default, true if a presale purchaser
   */
  function isPresalePurchase(address /*purchaser*/) public pure returns (bool) {
    return false;
  }

  /**
   * 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 in the main token sale - this number excludes presale
   * @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 view returns (uint tokenAmount);
}

contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

  uint256 totalSupply_;

  /**
  * @dev total number of tokens in existence
  */
  function totalSupply() public view returns (uint256) {
    return totalSupply_;
  }

  /**
  * @dev transfer token for a specified address
  * @param _to The address to transfer to.
  * @param _value The amount to be transferred.
  */
  function transfer(address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));
    require(_value <= balances[msg.sender]);

    // SafeMath.sub will throw if there is not enough balance.
    balances[msg.sender] = balances[msg.sender].sub(_value);
    balances[_to] = balances[_to].add(_value);
    Transfer(msg.sender, _to, _value);
    return true;
  }

  /**
  * @dev Gets the balance of the specified address.
  * @param _owner The address to query the the balance of.
  * @return An uint256 representing the amount owned by the passed address.
  */
  function balanceOf(address _owner) public view returns (uint256 balance) {
    return balances[_owner];
  }

}

contract StandardToken is ERC20, BasicToken {

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


  /**
   * @dev Transfer tokens from one address to another
   * @param _from address The address which you want to send tokens from
   * @param _to address The address which you want to transfer to
   * @param _value uint256 the amount of tokens to be transferred
   */
  function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));
    require(_value <= balances[_from]);
    require(_value <= allowed[_from][msg.sender]);

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

  /**
   * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
   *
   * Beware that changing an allowance with this method brings the risk that someone may use both the old
   * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
   * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
   * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) public returns (bool) {
    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
    return true;
  }

  /**
   * @dev Function to check the amount of tokens that an owner allowed to a spender.
   * @param _owner address The address which owns the funds.
   * @param _spender address The address which will spend the funds.
   * @return A uint256 specifying the amount of tokens still available for the spender.
   */
  function allowance(address _owner, address _spender) public view returns (uint256) {
    return allowed[_owner][_spender];
  }

  /**
   * @dev Increase the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To increment
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _addedValue The amount of tokens to increase the allowance by.
   */
  function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
    allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

  /**
   * @dev Decrease the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To decrement
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _subtractedValue The amount of tokens to decrease the allowance by.
   */
  function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
    uint oldValue = allowed[msg.sender][_spender];
    if (_subtractedValue > oldValue) {
      allowed[msg.sender][_spender] = 0;
    } else {
      allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
    }
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

}

contract StandardTokenExt is StandardToken {

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

contract MintableToken is StandardTokenExt, Ownable {

  using SafeMath 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);
  event Minted(address receiver, uint amount);

  /**
   * 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_.add(amount);
    balances[receiver] = balances[receiver].add(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]) {
        revert();
    }
    _;
  }

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

contract WINCrowdsale is CrowdsaleBase {

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

  function WINCrowdsale(address _token, PricingStrategy _pricingStrategy, address _multisigWallet, uint _start, uint _end, uint _minimumFundingGoal) CrowdsaleBase(_token, _pricingStrategy, _multisigWallet, _start, _end, _minimumFundingGoal) public {
  }

  /**
   * 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 = fullTokens * weiPrice; // This can be also 0, we give out tokens for free

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

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

    assignTokens(receiver, tokenAmount);

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

  
  
  /**
   * bitcoin invest 
   *
   * Send WIN token to bitcoin investors during the ICO session
   * This function mints the tokens and updates the money raised based BTC/ETH ratio 
   *
   * Each investor has it own bitcoin investment address, investor count is updated
   *
   *
   * @param fullTokens tokens as full tokens - decimal places added internally
   * @param weiPrice Price of a single full token in wei
   *
   */
  function bitcoinInvest(address receiver, uint fullTokens, uint weiPrice) public onlyOwner {

	
	// 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]) {
        revert();
      }
    } else if(getState() == State.Funding) {
      // Retail participants can only come in when the crowdsale is running
      // pass
    } else {
      // Unwanted state
      revert();
    }
	
    uint tokenAmount = fullTokens * 10**token.decimals();
    uint weiAmount = fullTokens * weiPrice; // This can be also 0, we give out tokens for free


	// Dust transaction
    require(tokenAmount != 0);

	// increase investors count
	investorCount++;
   
    // Update investor
    investedAmountOf[receiver] = investedAmountOf[receiver].add(weiAmount);
    tokenAmountOf[receiver] = tokenAmountOf[receiver].add(tokenAmount);

	//Update Totals
    weiRaised = weiRaised.add(weiAmount);
    tokensSold = tokensSold.add(tokenAmount);
	
	
    // Check that we did not bust the cap
    require(!isBreakingCap(weiAmount, tokenAmount, weiRaised, tokensSold));

    assignTokens(receiver, tokenAmount);

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

	
  }
  
  

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

 
  /**
   * Set policy do we need to have server-side customer ids for the investments.
   *
   */
  function setRequireCustomerId(bool value) public 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) public onlyOwner {
    requiredSignedAddress = value;
    signerAddress = _signerAddress;
    InvestmentPolicyChanged(requireCustomerId, requiredSignedAddress, signerAddress);
  }

}

contract WaWlletTokenCrowdsale is WINCrowdsale {

  /* Maximum amount of tokens this crowdsale can sell. */
  uint public maximumSellableTokens;

  function WaWlletTokenCrowdsale(address _token, PricingStrategy _pricingStrategy, address _multisigWallet, uint _start, uint _end, uint _minimumFundingGoal, uint _maximumSellableTokens) WINCrowdsale(_token, _pricingStrategy, _multisigWallet, _start, _end, _minimumFundingGoal) public {
    maximumSellableTokens = _maximumSellableTokens;
  }

  /**
   * 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) public view returns (bool /*limitBroke*/) {
    return tokensSoldTotal > maximumSellableTokens;
  }

  function isCrowdsaleFull() public view returns (bool) {
    return tokensSold >= maximumSellableTokens;
  }

  /**
   * Dynamically create tokens and assign them to the investor.
   */
  function assignTokens(address receiver, uint tokenAmount) internal {
    MintableToken mintableToken = MintableToken(token);
    mintableToken.mint(receiver, tokenAmount);
  }
  
  /**
   * Dynamically create tokens and assign them to the investor.
   */
  /**
   * Allow direct contributions to this crowdsale.
   */
  function () public payable {
        invest(msg.sender);
  }
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"ownerTestValue","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"requireCustomerId","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"invest","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"isPricingSane","outputs":[{"name":"sane","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"endsAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"doFinalize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"minimumFundingGoal","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getState","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"setFinalizeAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"investedAmountOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"receiver","type":"address"},{"name":"fullTokens","type":"uint256"},{"name":"weiPrice","type":"uint256"}],"name":"bitcoinInvest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"finalizeAgent","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"receiver","type":"address"},{"name":"fullTokens","type":"uint256"},{"name":"weiPrice","type":"uint256"}],"name":"preallocate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"maximumSellableTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isCrowdsale","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"_pricingStrategy","type":"address"}],"name":"setPricingStrategy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"tokensSold","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"testState","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"refund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"signerAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"weiRefunded","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"halt","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"MAX_INVESTMENTS_BEFORE_MULTISIG_CHANGE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"time","type":"uint256"}],"name":"setEndsAt","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"pricingStrategy","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"loadedRefund","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isMinimumGoalReached","outputs":[{"name":"reached","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"bool"}],"name":"setRequireCustomerId","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"loadRefund","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"val","type":"uint256"}],"name":"setOwnerTestValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"multisigWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"tokenAmountOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"tokensSoldTotal","type":"uint256"}],"name":"isBreakingCap","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isFinalizerSane","outputs":[{"name":"sane","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startsAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"finalized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"halted","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"earlyParticipantWhitelist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unhalt","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"requiredSignedAddress","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isCrowdsaleFull","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"investorCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"status","type":"bool"}],"name":"setEarlyParicipantWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"bool"},{"name":"_signerAddress","type":"address"}],"name":"setRequireSignedAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"setMultisig","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"presaleWeiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":"_maximumSellableTokens","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","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":"newRequireCustomerId","type":"bool"},{"indexed":false,"name":"newRequiredSignedAddress","type":"bool"},{"indexed":false,"name":"newSignerAddress","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":"newEndsAt","type":"uint256"}],"name":"EndsAtChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

6060604052600560015560006009556000600a556000600b556000600c556000600d556000600e5534156200003357600080fd5b60405160e080620033f083398101604052808051906020019091908051906020019091908051906020019091908051906020019091908051906020019091908051906020019091908051906020019091905050868686868686858585858585336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200017285620002606401000000000262001aeb176401000000009004565b83600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415620001fa57600080fd5b60008314156200020957600080fd5b8260078190555060008214156200021f57600080fd5b816008819055506008546007541015156200023957600080fd5b806006819055505050505050505050505050508060158190555050505050505050620003b7565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515620002bc57600080fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166304bbc2556000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156200038c57600080fd5b6102c65a03f115156200039e57600080fd5b505050604051805190501515620003b457600080fd5b50565b61302980620003c76000396000f30060606040526004361061025c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630226401d1461026757806303ca0eed1461029057806303f9c793146102bd578063062b01ce146102eb5780630a09284a146103185780630dd2d96c1461034157806313f4e977146103565780631865c57d1461037f57806319b667da146103b65780631aae3460146103ef5780631f9eba171461043c57806321d5c0f61461048757806332013ac3146104dc5780633ad075ea146105275780634042b66f146105505780634551dd591461057957806350c67734146105a6578063518ab2a8146105df5780635795069714610608578063590e1ae31461063f5780635b7633d0146106545780635da89ac0146106a95780635ed7ca5b146106d25780636203f09f146106e75780636e50eb3f1461071057806378b99c2414610733578063797d9437146107885780637c2e08a3146107b15780637f7d711e146107de57806387612102146108035780638d51faec1461080d5780638da5cb5b146108305780639075becf1461088557806397b150ca146108da5780639d3c663f14610927578063a7ba44c31461097d578063af468682146109aa578063b3f05b97146109d3578063b9b8af0b14610a00578063cb16e6d014610a2d578063cb3e64fd14610a7e578063d222dc0414610a93578063d5d0902114610ac0578063d7e64c0014610aed578063eac2493214610b16578063ed68ff2c14610b5a578063f2fde38b14610b9e578063f3283fba14610bd7578063f7c00e2f14610c10578063fc0c546a14610c39575b61026533610c8e565b005b341561027257600080fd5b61027a610cd1565b6040518082815260200191505060405180910390f35b341561029b57600080fd5b6102a3610cd7565b604051808215151515815260200191505060405180910390f35b6102e9600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610c8e565b005b34156102f657600080fd5b6102fe610cea565b604051808215151515815260200191505060405180910390f35b341561032357600080fd5b61032b610dd1565b6040518082815260200191505060405180910390f35b341561034c57600080fd5b610354610dd7565b005b341561036157600080fd5b610369610f8d565b6040518082815260200191505060405180910390f35b341561038a57600080fd5b610392610f93565b604051808260078111156103a257fe5b60ff16815260200191505060405180910390f35b34156103c157600080fd5b6103ed600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061122f565b005b34156103fa57600080fd5b610426600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611382565b6040518082815260200191505060405180910390f35b341561044757600080fd5b610485600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001909190505061139a565b005b341561049257600080fd5b61049a61179e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104e757600080fd5b610525600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919080359060200190919050506117c4565b005b341561053257600080fd5b61053a611ad6565b6040518082815260200191505060405180910390f35b341561055b57600080fd5b610563611adc565b6040518082815260200191505060405180910390f35b341561058457600080fd5b61058c611ae2565b604051808215151515815260200191505060405180910390f35b34156105b157600080fd5b6105dd600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611aeb565b005b34156105ea57600080fd5b6105f2611c3e565b6040518082815260200191505060405180910390f35b341561061357600080fd5b61061b611c44565b6040518082600781111561062b57fe5b60ff16815260200191505060405180910390f35b341561064a57600080fd5b610652611c57565b005b341561065f57600080fd5b610667611de5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156106b457600080fd5b6106bc611e0b565b6040518082815260200191505060405180910390f35b34156106dd57600080fd5b6106e5611e11565b005b34156106f257600080fd5b6106fa611e89565b6040518082815260200191505060405180910390f35b341561071b57600080fd5b6107316004808035906020019091905050611e8f565b005b341561073e57600080fd5b610746611f49565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561079357600080fd5b61079b611f6f565b6040518082815260200191505060405180910390f35b34156107bc57600080fd5b6107c4611f75565b604051808215151515815260200191505060405180910390f35b34156107e957600080fd5b61080160048080351515906020019091905050611f84565b005b61080b6120b7565b005b341561081857600080fd5b61082e6004808035906020019091905050612110565b005b341561083b57600080fd5b610843612175565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561089057600080fd5b61089861219a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156108e557600080fd5b610911600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506121c0565b6040518082815260200191505060405180910390f35b341561093257600080fd5b61096360048080359060200190919080359060200190919080359060200190919080359060200190919050506121d8565b604051808215151515815260200191505060405180910390f35b341561098857600080fd5b6109906121e9565b604051808215151515815260200191505060405180910390f35b34156109b557600080fd5b6109bd612299565b6040518082815260200191505060405180910390f35b34156109de57600080fd5b6109e661229f565b604051808215151515815260200191505060405180910390f35b3415610a0b57600080fd5b610a136122b2565b604051808215151515815260200191505060405180910390f35b3415610a3857600080fd5b610a64600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506122c5565b604051808215151515815260200191505060405180910390f35b3415610a8957600080fd5b610a916122e5565b005b3415610a9e57600080fd5b610aa6612377565b604051808215151515815260200191505060405180910390f35b3415610acb57600080fd5b610ad361238a565b604051808215151515815260200191505060405180910390f35b3415610af857600080fd5b610b00612399565b6040518082815260200191505060405180910390f35b3415610b2157600080fd5b610b58600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035151590602001909190505061239f565b005b3415610b6557600080fd5b610b9c6004808035151590602001909190803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506124c4565b005b3415610ba957600080fd5b610bd5600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050612639565b005b3415610be257600080fd5b610c0e600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061278e565b005b3415610c1b57600080fd5b610c2361283e565b6040518082815260200191505060405180910390f35b3415610c4457600080fd5b610c4c612844565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b601460019054906101000a900460ff1615610ca857600080fd5b601460029054906101000a900460ff1615610cc257600080fd5b610ccd81600061286a565b5050565b60135481565b601460019054906101000a900460ff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e768288306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610db157600080fd5b6102c65a03f11515610dc257600080fd5b50505060405180519050905090565b60085481565b6004806007811115610de557fe5b610ded610f93565b6007811115610df857fe5b141515610e0457600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e5f57600080fd5b600060149054906101000a900460ff1615610e7957600080fd5b600f60009054906101000a900460ff1615610e9357600080fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515610f6f57600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630bf318a36040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b1515610f5a57600080fd5b6102c65a03f11515610f6b57600080fd5b5050505b6001600f60006101000a81548160ff02191690831515021790555050565b60065481565b6000600f60009054906101000a900460ff1615610fb3576006905061122c565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610ffd576001905061122c565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166382771c8e6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561108b57600080fd5b6102c65a03f1151561109c57600080fd5b5050506040518051905015156110b5576001905061122c565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e768288306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561117a57600080fd5b6102c65a03f1151561118b57600080fd5b5050506040518051905015156111a4576001905061122c565b6007544210156111b7576002905061122c565b60085442111580156111ce57506111cc61238a565b155b156111dc576003905061122c565b6111e4611f75565b156111f2576004905061122c565b6111fa611f75565b15801561120957506000600a54115b80156112195750600a54600d5410155b15611227576007905061122c565b600590505b90565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561128a57600080fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663614cb9046000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561135957600080fd5b6102c65a03f1151561136a57600080fd5b50505060405180519050151561137f57600080fd5b50565b60106020528060005260406000206000915090505481565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156113f857600080fd5b6002600781111561140557fe5b61140d610f93565b600781111561141857fe5b141561147b57601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561147657600080fd5b6114ac565b6003600781111561148857fe5b611490610f93565b600781111561149b57fe5b14156114a6576114ab565b600080fd5b5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561153a57600080fd5b6102c65a03f1151561154b57600080fd5b50505060405180519050600a0a8402915082840290506000821415151561157157600080fd5b600c600081548092919060010191905055506115d581601060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612efd90919063ffffffff16565b601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061166a82601160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612efd90919063ffffffff16565b601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506116c281600a54612efd90919063ffffffff16565b600a819055506116dd82600954612efd90919063ffffffff16565b6009819055506116f38183600a546009546121d8565b1515156116ff57600080fd5b6117098583612f1b565b7f0396f60aaad038749091d273dc13aaabc63db6e2271c7bad442d5cf25cc433508582846000604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001838152602001826fffffffffffffffffffffffffffffffff16815260200194505050505060405180910390a15050505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561182257600080fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156118b057600080fd5b6102c65a03f115156118c157600080fd5b50505060405180519050600a0a8402915082840290506118ec81600a54612efd90919063ffffffff16565b600a8190555061190782600954612efd90919063ffffffff16565b60098190555061195f81601060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612efd90919063ffffffff16565b601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506119f482601160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612efd90919063ffffffff16565b601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611a418583612f1b565b7f0396f60aaad038749091d273dc13aaabc63db6e2271c7bad442d5cf25cc433508582846000604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001838152602001826fffffffffffffffffffffffffffffffff16815260200194505050505060405180910390a15050505050565b60155481565b600a5481565b60006001905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611b4657600080fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166304bbc2556000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515611c1557600080fd5b6102c65a03f11515611c2657600080fd5b505050604051805190501515611c3b57600080fd5b50565b60095481565b601460009054906101000a900460ff1681565b60006007806007811115611c6757fe5b611c6f610f93565b6007811115611c7a57fe5b141515611c8657600080fd5b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205491506000821415611cd657600080fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611d3082600e54612efd90919063ffffffff16565b600e819055507fbb28353e4598c3b9199101a66e0989549b659a59a54d2c27fbb183f1932c8e6d3383604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a13373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501515611de157600080fd5b5050565b601460039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611e6c57600080fd5b6001600060146101000a81548160ff021916908315150217905550565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611eea57600080fd5b80421115611ef757600080fd5b806007541115611f0657600080fd5b806008819055507fd34bb772c4ae9baa99db852f622773b31c7827e8ee818449fef20d30980bd3106008546040518082815260200191505060405180910390a150565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d5481565b6000600654600a541015905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611fdf57600080fd5b80601460016101000a81548160ff0219169083151502179055507f48d826081348f5f00e8a33c9ae8ce89ed4c6e88400b585a478bc203d9e8177d3601460019054906101000a900460ff16601460029054906101000a900460ff16601460039054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518084151515158152602001831515151581526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060405180910390a150565b60058060078111156120c557fe5b6120cd610f93565b60078111156120d857fe5b1415156120e457600080fd5b60003414156120f257600080fd5b61210734600d54612efd90919063ffffffff16565b600d8190555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561216b57600080fd5b8060138190555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60116020528060005260406000206000915090505481565b600060155482119050949350505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166382771c8e6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561227957600080fd5b6102c65a03f1151561228a57600080fd5b50505060405180519050905090565b60075481565b600f60009054906101000a900460ff1681565b600060149054906101000a900460ff1681565b60126020528060005260406000206000915054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561234057600080fd5b600060149054906101000a900460ff16151561235b57600080fd5b60008060146101000a81548160ff021916908315150217905550565b601460029054906101000a900460ff1681565b60006015546009541015905090565b600c5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156123fa57600080fd5b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fa54714518c5d275fdcd3d2a461e4858e4e8cb04fb93cd0bca9d6d34115f264408282604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001821515151581526020019250505060405180910390a15050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561251f57600080fd5b81601460026101000a81548160ff02191690831515021790555080601460036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f48d826081348f5f00e8a33c9ae8ce89ed4c6e88400b585a478bc203d9e8177d3601460019054906101000a900460ff16601460029054906101000a900460ff16601460039054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518084151515158152602001831515151581526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060405180910390a15050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561269457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156126d057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156127e957600080fd5b600154600c5411156127fa57600080fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060008060149054906101000a900460ff161561288857600080fd5b6002600781111561289557fe5b61289d610f93565b60078111156128a857fe5b141561290b57601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561290657600080fd5b61293c565b6003600781111561291857fe5b612920610f93565b600781111561292b57fe5b14156129365761293b565b600080fd5b5b349150600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318a4155e83600b54600a540360095433600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515612a1757600080fd5b6102c65a03f11515612a2857600080fd5b505050604051805190506000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200195505050505050602060405180830381600087803b1515612ad457600080fd5b6102c65a03f11515612ae557600080fd5b50505060405180519050905060008114151515612b0157600080fd5b6032811015612b0f57600080fd5b6000601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415612b6a57600c600081548092919060010191905055505b612bbc82601060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612efd90919063ffffffff16565b601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612c5181601160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612efd90919063ffffffff16565b601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612ca982600a54612efd90919063ffffffff16565b600a81905550612cc481600954612efd90919063ffffffff16565b600981905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f14ae17d866000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515612d8f57600080fd5b6102c65a03f11515612da057600080fd5b5050506040518051905015612dcb57612dc482600b54612efd90919063ffffffff16565b600b819055505b612ddb8282600a546009546121d8565b151515612de757600080fd5b612df18582612f1b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501515612e5357600080fd5b7f0396f60aaad038749091d273dc13aaabc63db6e2271c7bad442d5cf25cc4335085838387604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001838152602001826fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200194505050505060405180910390a1809250505092915050565b6000808284019050838110151515612f1157fe5b8091505092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166340c10f1984846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1515612fe457600080fd5b6102c65a03f11515612ff557600080fd5b5050505050505600a165627a7a7230582095f15ce996801624498c9bdbc1d85bc6bb9e1ddbb01916987f2be6603524f15b0029000000000000000000000000899338b84d25ac505a332adce7402d697d947494000000000000000000000000fa4ab3ca2cfd096d2e275b79752d17011f6b8c9c000000000000000000000000b9a4774f9e98d417a61e889477cf726549f0c260000000000000000000000000000000000000000000000000000000005a6e7210000000000000000000000000000000000000000000000000000000005abd8c100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002386f26fc10000

Deployed Bytecode

0x60606040526004361061025c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630226401d1461026757806303ca0eed1461029057806303f9c793146102bd578063062b01ce146102eb5780630a09284a146103185780630dd2d96c1461034157806313f4e977146103565780631865c57d1461037f57806319b667da146103b65780631aae3460146103ef5780631f9eba171461043c57806321d5c0f61461048757806332013ac3146104dc5780633ad075ea146105275780634042b66f146105505780634551dd591461057957806350c67734146105a6578063518ab2a8146105df5780635795069714610608578063590e1ae31461063f5780635b7633d0146106545780635da89ac0146106a95780635ed7ca5b146106d25780636203f09f146106e75780636e50eb3f1461071057806378b99c2414610733578063797d9437146107885780637c2e08a3146107b15780637f7d711e146107de57806387612102146108035780638d51faec1461080d5780638da5cb5b146108305780639075becf1461088557806397b150ca146108da5780639d3c663f14610927578063a7ba44c31461097d578063af468682146109aa578063b3f05b97146109d3578063b9b8af0b14610a00578063cb16e6d014610a2d578063cb3e64fd14610a7e578063d222dc0414610a93578063d5d0902114610ac0578063d7e64c0014610aed578063eac2493214610b16578063ed68ff2c14610b5a578063f2fde38b14610b9e578063f3283fba14610bd7578063f7c00e2f14610c10578063fc0c546a14610c39575b61026533610c8e565b005b341561027257600080fd5b61027a610cd1565b6040518082815260200191505060405180910390f35b341561029b57600080fd5b6102a3610cd7565b604051808215151515815260200191505060405180910390f35b6102e9600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610c8e565b005b34156102f657600080fd5b6102fe610cea565b604051808215151515815260200191505060405180910390f35b341561032357600080fd5b61032b610dd1565b6040518082815260200191505060405180910390f35b341561034c57600080fd5b610354610dd7565b005b341561036157600080fd5b610369610f8d565b6040518082815260200191505060405180910390f35b341561038a57600080fd5b610392610f93565b604051808260078111156103a257fe5b60ff16815260200191505060405180910390f35b34156103c157600080fd5b6103ed600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061122f565b005b34156103fa57600080fd5b610426600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611382565b6040518082815260200191505060405180910390f35b341561044757600080fd5b610485600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001909190505061139a565b005b341561049257600080fd5b61049a61179e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104e757600080fd5b610525600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919080359060200190919050506117c4565b005b341561053257600080fd5b61053a611ad6565b6040518082815260200191505060405180910390f35b341561055b57600080fd5b610563611adc565b6040518082815260200191505060405180910390f35b341561058457600080fd5b61058c611ae2565b604051808215151515815260200191505060405180910390f35b34156105b157600080fd5b6105dd600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611aeb565b005b34156105ea57600080fd5b6105f2611c3e565b6040518082815260200191505060405180910390f35b341561061357600080fd5b61061b611c44565b6040518082600781111561062b57fe5b60ff16815260200191505060405180910390f35b341561064a57600080fd5b610652611c57565b005b341561065f57600080fd5b610667611de5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156106b457600080fd5b6106bc611e0b565b6040518082815260200191505060405180910390f35b34156106dd57600080fd5b6106e5611e11565b005b34156106f257600080fd5b6106fa611e89565b6040518082815260200191505060405180910390f35b341561071b57600080fd5b6107316004808035906020019091905050611e8f565b005b341561073e57600080fd5b610746611f49565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561079357600080fd5b61079b611f6f565b6040518082815260200191505060405180910390f35b34156107bc57600080fd5b6107c4611f75565b604051808215151515815260200191505060405180910390f35b34156107e957600080fd5b61080160048080351515906020019091905050611f84565b005b61080b6120b7565b005b341561081857600080fd5b61082e6004808035906020019091905050612110565b005b341561083b57600080fd5b610843612175565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561089057600080fd5b61089861219a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156108e557600080fd5b610911600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506121c0565b6040518082815260200191505060405180910390f35b341561093257600080fd5b61096360048080359060200190919080359060200190919080359060200190919080359060200190919050506121d8565b604051808215151515815260200191505060405180910390f35b341561098857600080fd5b6109906121e9565b604051808215151515815260200191505060405180910390f35b34156109b557600080fd5b6109bd612299565b6040518082815260200191505060405180910390f35b34156109de57600080fd5b6109e661229f565b604051808215151515815260200191505060405180910390f35b3415610a0b57600080fd5b610a136122b2565b604051808215151515815260200191505060405180910390f35b3415610a3857600080fd5b610a64600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506122c5565b604051808215151515815260200191505060405180910390f35b3415610a8957600080fd5b610a916122e5565b005b3415610a9e57600080fd5b610aa6612377565b604051808215151515815260200191505060405180910390f35b3415610acb57600080fd5b610ad361238a565b604051808215151515815260200191505060405180910390f35b3415610af857600080fd5b610b00612399565b6040518082815260200191505060405180910390f35b3415610b2157600080fd5b610b58600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035151590602001909190505061239f565b005b3415610b6557600080fd5b610b9c6004808035151590602001909190803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506124c4565b005b3415610ba957600080fd5b610bd5600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050612639565b005b3415610be257600080fd5b610c0e600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061278e565b005b3415610c1b57600080fd5b610c2361283e565b6040518082815260200191505060405180910390f35b3415610c4457600080fd5b610c4c612844565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b601460019054906101000a900460ff1615610ca857600080fd5b601460029054906101000a900460ff1615610cc257600080fd5b610ccd81600061286a565b5050565b60135481565b601460019054906101000a900460ff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e768288306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610db157600080fd5b6102c65a03f11515610dc257600080fd5b50505060405180519050905090565b60085481565b6004806007811115610de557fe5b610ded610f93565b6007811115610df857fe5b141515610e0457600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e5f57600080fd5b600060149054906101000a900460ff1615610e7957600080fd5b600f60009054906101000a900460ff1615610e9357600080fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515610f6f57600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630bf318a36040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b1515610f5a57600080fd5b6102c65a03f11515610f6b57600080fd5b5050505b6001600f60006101000a81548160ff02191690831515021790555050565b60065481565b6000600f60009054906101000a900460ff1615610fb3576006905061122c565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610ffd576001905061122c565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166382771c8e6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561108b57600080fd5b6102c65a03f1151561109c57600080fd5b5050506040518051905015156110b5576001905061122c565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e768288306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561117a57600080fd5b6102c65a03f1151561118b57600080fd5b5050506040518051905015156111a4576001905061122c565b6007544210156111b7576002905061122c565b60085442111580156111ce57506111cc61238a565b155b156111dc576003905061122c565b6111e4611f75565b156111f2576004905061122c565b6111fa611f75565b15801561120957506000600a54115b80156112195750600a54600d5410155b15611227576007905061122c565b600590505b90565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561128a57600080fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663614cb9046000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561135957600080fd5b6102c65a03f1151561136a57600080fd5b50505060405180519050151561137f57600080fd5b50565b60106020528060005260406000206000915090505481565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156113f857600080fd5b6002600781111561140557fe5b61140d610f93565b600781111561141857fe5b141561147b57601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561147657600080fd5b6114ac565b6003600781111561148857fe5b611490610f93565b600781111561149b57fe5b14156114a6576114ab565b600080fd5b5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561153a57600080fd5b6102c65a03f1151561154b57600080fd5b50505060405180519050600a0a8402915082840290506000821415151561157157600080fd5b600c600081548092919060010191905055506115d581601060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612efd90919063ffffffff16565b601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061166a82601160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612efd90919063ffffffff16565b601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506116c281600a54612efd90919063ffffffff16565b600a819055506116dd82600954612efd90919063ffffffff16565b6009819055506116f38183600a546009546121d8565b1515156116ff57600080fd5b6117098583612f1b565b7f0396f60aaad038749091d273dc13aaabc63db6e2271c7bad442d5cf25cc433508582846000604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001838152602001826fffffffffffffffffffffffffffffffff16815260200194505050505060405180910390a15050505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561182257600080fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156118b057600080fd5b6102c65a03f115156118c157600080fd5b50505060405180519050600a0a8402915082840290506118ec81600a54612efd90919063ffffffff16565b600a8190555061190782600954612efd90919063ffffffff16565b60098190555061195f81601060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612efd90919063ffffffff16565b601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506119f482601160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612efd90919063ffffffff16565b601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611a418583612f1b565b7f0396f60aaad038749091d273dc13aaabc63db6e2271c7bad442d5cf25cc433508582846000604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001838152602001826fffffffffffffffffffffffffffffffff16815260200194505050505060405180910390a15050505050565b60155481565b600a5481565b60006001905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611b4657600080fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166304bbc2556000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515611c1557600080fd5b6102c65a03f11515611c2657600080fd5b505050604051805190501515611c3b57600080fd5b50565b60095481565b601460009054906101000a900460ff1681565b60006007806007811115611c6757fe5b611c6f610f93565b6007811115611c7a57fe5b141515611c8657600080fd5b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205491506000821415611cd657600080fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611d3082600e54612efd90919063ffffffff16565b600e819055507fbb28353e4598c3b9199101a66e0989549b659a59a54d2c27fbb183f1932c8e6d3383604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a13373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501515611de157600080fd5b5050565b601460039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611e6c57600080fd5b6001600060146101000a81548160ff021916908315150217905550565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611eea57600080fd5b80421115611ef757600080fd5b806007541115611f0657600080fd5b806008819055507fd34bb772c4ae9baa99db852f622773b31c7827e8ee818449fef20d30980bd3106008546040518082815260200191505060405180910390a150565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d5481565b6000600654600a541015905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611fdf57600080fd5b80601460016101000a81548160ff0219169083151502179055507f48d826081348f5f00e8a33c9ae8ce89ed4c6e88400b585a478bc203d9e8177d3601460019054906101000a900460ff16601460029054906101000a900460ff16601460039054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518084151515158152602001831515151581526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060405180910390a150565b60058060078111156120c557fe5b6120cd610f93565b60078111156120d857fe5b1415156120e457600080fd5b60003414156120f257600080fd5b61210734600d54612efd90919063ffffffff16565b600d8190555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561216b57600080fd5b8060138190555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60116020528060005260406000206000915090505481565b600060155482119050949350505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166382771c8e6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561227957600080fd5b6102c65a03f1151561228a57600080fd5b50505060405180519050905090565b60075481565b600f60009054906101000a900460ff1681565b600060149054906101000a900460ff1681565b60126020528060005260406000206000915054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561234057600080fd5b600060149054906101000a900460ff16151561235b57600080fd5b60008060146101000a81548160ff021916908315150217905550565b601460029054906101000a900460ff1681565b60006015546009541015905090565b600c5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156123fa57600080fd5b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fa54714518c5d275fdcd3d2a461e4858e4e8cb04fb93cd0bca9d6d34115f264408282604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001821515151581526020019250505060405180910390a15050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561251f57600080fd5b81601460026101000a81548160ff02191690831515021790555080601460036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f48d826081348f5f00e8a33c9ae8ce89ed4c6e88400b585a478bc203d9e8177d3601460019054906101000a900460ff16601460029054906101000a900460ff16601460039054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518084151515158152602001831515151581526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060405180910390a15050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561269457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156126d057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156127e957600080fd5b600154600c5411156127fa57600080fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060008060149054906101000a900460ff161561288857600080fd5b6002600781111561289557fe5b61289d610f93565b60078111156128a857fe5b141561290b57601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561290657600080fd5b61293c565b6003600781111561291857fe5b612920610f93565b600781111561292b57fe5b14156129365761293b565b600080fd5b5b349150600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318a4155e83600b54600a540360095433600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515612a1757600080fd5b6102c65a03f11515612a2857600080fd5b505050604051805190506000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200195505050505050602060405180830381600087803b1515612ad457600080fd5b6102c65a03f11515612ae557600080fd5b50505060405180519050905060008114151515612b0157600080fd5b6032811015612b0f57600080fd5b6000601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415612b6a57600c600081548092919060010191905055505b612bbc82601060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612efd90919063ffffffff16565b601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612c5181601160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612efd90919063ffffffff16565b601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612ca982600a54612efd90919063ffffffff16565b600a81905550612cc481600954612efd90919063ffffffff16565b600981905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f14ae17d866000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515612d8f57600080fd5b6102c65a03f11515612da057600080fd5b5050506040518051905015612dcb57612dc482600b54612efd90919063ffffffff16565b600b819055505b612ddb8282600a546009546121d8565b151515612de757600080fd5b612df18582612f1b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501515612e5357600080fd5b7f0396f60aaad038749091d273dc13aaabc63db6e2271c7bad442d5cf25cc4335085838387604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001838152602001826fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200194505050505060405180910390a1809250505092915050565b6000808284019050838110151515612f1157fe5b8091505092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166340c10f1984846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1515612fe457600080fd5b6102c65a03f11515612ff557600080fd5b5050505050505600a165627a7a7230582095f15ce996801624498c9bdbc1d85bc6bb9e1ddbb01916987f2be6603524f15b0029

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

000000000000000000000000899338b84d25ac505a332adce7402d697d947494000000000000000000000000fa4ab3ca2cfd096d2e275b79752d17011f6b8c9c000000000000000000000000b9a4774f9e98d417a61e889477cf726549f0c260000000000000000000000000000000000000000000000000000000005a6e7210000000000000000000000000000000000000000000000000000000005abd8c100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002386f26fc10000

-----Decoded View---------------
Arg [0] : _token (address): 0x899338b84D25aC505a332aDCE7402d697D947494
Arg [1] : _pricingStrategy (address): 0xfa4AB3ca2CFD096d2e275b79752D17011F6b8C9c
Arg [2] : _multisigWallet (address): 0xB9a4774f9e98D417a61E889477cF726549F0c260
Arg [3] : _start (uint256): 1517187600
Arg [4] : _end (uint256): 1522371600
Arg [5] : _minimumFundingGoal (uint256): 0
Arg [6] : _maximumSellableTokens (uint256): 10000000000000000

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000899338b84d25ac505a332adce7402d697d947494
Arg [1] : 000000000000000000000000fa4ab3ca2cfd096d2e275b79752d17011f6b8c9c
Arg [2] : 000000000000000000000000b9a4774f9e98d417a61e889477cf726549f0c260
Arg [3] : 000000000000000000000000000000000000000000000000000000005a6e7210
Arg [4] : 000000000000000000000000000000000000000000000000000000005abd8c10
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 000000000000000000000000000000000000000000000000002386f26fc10000


Swarm Source

bzzr://95f15ce996801624498c9bdbc1d85bc6bb9e1ddbb01916987f2be6603524f15b

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.