Sponsored Link:   PAVOCOIN - IoT blockchain for the AgTech ecosystem. Bringing together IoT, blockchain, and agriculture. Join now!
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 13 txns
 Latest 13 txns


TxHash Age From To Value [TxFee]
0x387867328b44272b3df240904a5881f337f56772ae132bf2ae379a54526a6db6100 days 12 hrs ago0x004e7c053b46ee0c30c26faf5348a06d81d50d97  IN   0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0 Ether0.000159796
0xc9bf31034f787660c7742d247f54ed5156f0fbe0e5db70c7e737e315c468fd53100 days 12 hrs ago0x004e7c053b46ee0c30c26faf5348a06d81d50d97  IN   0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0 Ether0.000181304
0xfdeed2cb2166fa79669106d35fc6f3d3031d14086ebba0ce14d2145e4ee65154103 days 23 hrs ago0xb8942433be61706432f32e77a78c4fe803fa1170  IN   0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0 Ether0.00012118
0x6575f67863aecb289e23344a4654ec90dae6a65f03d18fc23bfc9e00900c9a1b104 days 2 hrs ago0xb8942433be61706432f32e77a78c4fe803fa1170  IN   0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0 Ether0.00026739
0x5d13202f249608d1934637699ede1e89a1945c6737e1052e8f100fee12beb579105 days 7 hrs ago0xa74b2f9e303ba6214784fc8b0705291248a0adc5  IN   0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0.25 Ether0.003522624
0x388e025a584d477884b020f4ba7e700c0f4594da9020679662a42207e6e5dc75112 days 13 hrs ago0x40a2bdf789a8e3b9fc68d2f6a5bb670fcfc21bc4  IN   0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0.1 Ether0.00321334
0xc92a467a04ff3f221ecb5f21f6b82a6772ece8de742b2ecea6892eaae1145152123 days 20 hrs ago0x34ff6589b9123ba9bd41af1e2f00b7cc059b9b55  IN   0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0.25 Ether0.01083705
0x4c292f5536e182304c081da6e7510ae70e28ffc0a59036657543ff30c87233fc132 days 12 hrs ago0x004e7c053b46ee0c30c26faf5348a06d81d50d97  IN   0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0.01 Ether0.00135199
0x544f1c3a9bdb4dc82cbeb1f6876b789880f762c3063200b02681474942798ab5132 days 15 hrs ago0xfaed869a15df2cd277eca1e316e7e09fbf794691  IN   0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0.008774 Ether0.00330398
0xa387340b4072294ce76f952f21ae051207cecf265008967fb71c444bff0d395c132 days 17 hrs ago0xb8942433be61706432f32e77a78c4fe803fa1170  IN   0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0 Ether0.008820684
0xb7db1e395885748165f63275e59fce484884543121b4c29414011062e59f635f134 days 21 hrs ago0x4b6a3a60b56009faf702576306d0570ce813c97a  IN   0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0.1 Ether0.00971792
0x8a97fee1b2c1e029a9dd27d5caa36e34c001971244631f1458b25ee7582ef7da142 days 18 hrs ago0xb8942433be61706432f32e77a78c4fe803fa1170  IN   0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0 Ether0.01858998
0x78adb6956f3d211dbc1c3db9f7789f67f2c8a5672b81e423f547daa9fce62f93144 days 14 hrs ago0xb8942433be61706432f32e77a78c4fe803fa1170  IN    Contract Creation0 Ether0.03070726
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 7 Internal Transactions

ParentTxHash Block Age From To Value
0x5d13202f249608d1934637699ede1e89a1945c6737e1052e8f100fee12beb5795028152105 days 7 hrs ago0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0x8fda783054e372b44c0f43238ff9bf6df49b2b930.25 Ether
0x388e025a584d477884b020f4ba7e700c0f4594da9020679662a42207e6e5dc754985357112 days 13 hrs ago0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0x8fda783054e372b44c0f43238ff9bf6df49b2b930.1 Ether
0xc92a467a04ff3f221ecb5f21f6b82a6772ece8de742b2ecea6892eaae11451524919543123 days 20 hrs ago0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0x8fda783054e372b44c0f43238ff9bf6df49b2b930.25 Ether
0x4c292f5536e182304c081da6e7510ae70e28ffc0a59036657543ff30c87233fc4872358132 days 12 hrs ago0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0x8fda783054e372b44c0f43238ff9bf6df49b2b930.01 Ether
0x544f1c3a9bdb4dc82cbeb1f6876b789880f762c3063200b02681474942798ab54871748132 days 15 hrs ago0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0x8fda783054e372b44c0f43238ff9bf6df49b2b930.008774 Ether
0xb7db1e395885748165f63275e59fce484884543121b4c29414011062e59f635f4859374134 days 21 hrs ago0x300a0a820d8fb6e77850da5eaa8df64bbff5746d0x8fda783054e372b44c0f43238ff9bf6df49b2b930.1 Ether
0x8a97fee1b2c1e029a9dd27d5caa36e34c001971244631f1458b25ee7582ef7da4814519142 days 18 hrs ago0x300a0a820d8fb6e77850da5eaa8df64bbff5746d  Contract Creation0 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact match)
Contract Name: BoomrCoinCrowdsale
Compiler Version: v0.4.18+commit.9cf6e910
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18;

//*****************************************************
// BOOMR Coin contract
// For LibLob, Zach Spoor, by Michael Hanna
// ****************************************************

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  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;
  }

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

  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;


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


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() 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;
  }
}

/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is Ownable {
  event Pause();
  event Unpause();

  bool public paused = false;


  /**
   * @dev Modifier to make a function callable only when the contract is not paused.
   */
  modifier whenNotPaused() {
    require(!paused);
    _;
  }

  /**
   * @dev Modifier to make a function callable only when the contract is paused.
   */
  modifier whenPaused() {
    require(paused);
    _;
  }

  /**
   * @dev called by the owner to pause, triggers stopped state
   */
  function pause() onlyOwner whenNotPaused public {
    paused = true;
    Pause();
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause() onlyOwner whenPaused public {
    paused = false;
    Unpause();
  }
}

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

/**
 * @title Basic token
 * @dev Basic version of StandardToken, with no allowances.
 */
contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

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

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
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);
}

/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * @dev https://github.com/ethereum/EIPs/issues/20
 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
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];
  }

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

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

}

/**
 * @title Pausable token
 *
 * @dev StandardToken modified with pausable transfers.
 **/
contract PausableToken is StandardToken, Pausable {

  function transfer(address _to, uint256 _value) public whenNotPaused returns (bool) {
    return super.transfer(_to, _value);
  }

  function transferFrom(address _from, address _to, uint256 _value) public whenNotPaused returns (bool) {
    return super.transferFrom(_from, _to, _value);
  }

  function approve(address _spender, uint256 _value) public whenNotPaused returns (bool) {
    return super.approve(_spender, _value);
  }

  function increaseApproval(address _spender, uint _addedValue) public whenNotPaused returns (bool success) {
    return super.increaseApproval(_spender, _addedValue);
  }

  function decreaseApproval(address _spender, uint _subtractedValue) public whenNotPaused returns (bool success) {
    return super.decreaseApproval(_spender, _subtractedValue);
  }
}

/**
 * @title RefundVault
 * @dev This contract is used for storing funds while a crowdsale
 * is in progress. Supports refunding the money if crowdsale fails,
 * and forwarding it if crowdsale is successful.
 */
contract RefundVault is Ownable {
  using SafeMath for uint256;

  enum State { Active, Refunding, Closed }

  mapping (address => uint256) public deposited;
  address public wallet;
  State public state;

  event Closed();
  event RefundsEnabled();
  event Refunded(address indexed beneficiary, uint256 weiAmount);

  function RefundVault(address _wallet) public {
    require(_wallet != address(0));
    wallet = _wallet;
    state = State.Active;
  }

  function deposit(address investor) onlyOwner public payable {
    require(state == State.Active);
    deposited[investor] = deposited[investor].add(msg.value);
  }

  function close() onlyOwner public {
    require(state == State.Active);
    state = State.Closed;
    Closed();
    wallet.transfer(this.balance);
  }

  function enableRefunds() onlyOwner public {
    require(state == State.Active);
    state = State.Refunding;
    RefundsEnabled();
  }

  function refund(address investor) public {
    require(state == State.Refunding);
    uint256 depositedValue = deposited[investor];
    deposited[investor] = 0;
    investor.transfer(depositedValue);
    Refunded(investor, depositedValue);
  }
}

//*****************************************************
// *   BoomrCoinCrowdsale
// *   Info:
//     - Sale will be for 30% (150M of 500) of total tokens
//     - Funding during presale determines price
//     - Times are in UTC (seconds since Jan 1 1970)
//
//*****************************************************
contract BoomrCoinCrowdsale is Ownable{
  using SafeMath for uint256;

  //***************************************************
  //  Settings
  //***************************************************

  // minimum amount of funds to be raised in weis
  uint256 private minGoal = 0;

  // maximum amount of funds to be raised in weis
  uint256 private maxGoal = 0;

  // Tokens for presale
  uint256 private tokenLimitPresale    =  0;

  // Tokens for crowdsale
  uint256 private tokenLimitCrowdsale  = 0;

  // Presale discount for each phase
  uint256 private presaleDiscount    = 0;
  uint256 private crowdsaleDiscount1 = 0;
  uint256 private crowdsaleDiscount2 = 0;
  uint256 private crowdsaleDiscount3 = 0;
  uint256 private crowdsaleDiscount4 = 0;

  // durations for each phase
  uint256 private  presaleDuration    = 0;//604800; // One Week in seconds
  uint256 private  crowdsaleDuration1 = 0;//604800; // One Week in seconds
  uint256 private  crowdsaleDuration2 = 0;//604800; // One Week in seconds
  uint256 private  crowdsaleDuration3 = 0;//604800; // One Week in seconds
  uint256 private  crowdsaleDuration4 = 0;//604800; // One Week in seconds

  //***************************************************
  //  Info
  //***************************************************

  // Tokens Sold
  uint256 private tokenPresaleTotalSold  = 0;
  uint256 private tokenCrowdsaleTotalSold  = 0;

  // Backers
  uint256 private totalBackers  = 0;

  // amount of raised money in wei
  uint256 private weiRaised = 0;

  // prices for each phase
  uint256 private presaleTokenPrice    = 0;
  uint256 private baseTokenPrice = 0;
  uint256 private crowdsaleTokenPrice1 = 0;
  uint256 private crowdsaleTokenPrice2 = 0;
  uint256 private crowdsaleTokenPrice3 = 0;
  uint256 private crowdsaleTokenPrice4 = 0;

  // Count of token distributions by phase
  uint256 private presaleTokenSent     = 0;
  uint256 private crowdsaleTokenSold1  = 0;
  uint256 private crowdsaleTokenSold2  = 0;
  uint256 private crowdsaleTokenSold3  = 0;
  uint256 private crowdsaleTokenSold4  = 0;

  //***************************************************
  //  Vars
  //***************************************************

  // Finalization Flag
  bool private finalized = false;

  // Halted Flag
  bool private halted = false;

  uint256 public startTime;

  // The token being sold
  PausableToken public boomrToken;

  // Address where funds are collected
  address private wallet;

  // refund vault used to hold funds while crowdsale is running
  RefundVault private vault;

  // tracking for deposits
  mapping (address => uint256) public deposits;

  // tracking for purchasers
  mapping (address => uint256) public purchases;

  //***************************************************
  //  Events
  //***************************************************

  // Log event for crowdsale purchase
  event TokenPurchase(address indexed Purchaser, address indexed Beneficiary, uint256 ValueInWei, uint256 TokenAmount);

  // Log event for presale purchase
  event PresalePurchase(address indexed Purchaser, address indexed Beneficiary, uint256 ValueInWei);

  // Log event for distribution of tokens for presale purchasers
  event PresaleDistribution(address indexed Purchaser, address indexed Beneficiary, uint256 TokenAmount);

  // Finalization
  event Finalized();

  //***************************************************
  //  Constructor
  //***************************************************
  function BoomrCoinCrowdsale() public{

  }

  function StartCrowdsale(address _token, address _wallet, uint256 _startTime) public onlyOwner{
    require(_startTime >= now);
    require(_token != 0x0);
    require(_wallet != 0x0);

    // Set the start time
    startTime = _startTime;

    // Assign the token
    boomrToken = PausableToken(_token);

    // Wallet for funds
    wallet = _wallet;

    // Refund vault
    vault = new RefundVault(wallet);

    // minimum amount of funds to be raised in weis
    minGoal = 5000 * 10**18; // Approx 3.5M Dollars
    //minGoal = 1 * 10**18; // testing

    // maximum amount of funds to be raised in weis
    maxGoal = 28600 * 10**18; // Approx 20M Dollars
    //maxGoal = 16 * 10**18; // teesting

    // Tokens for presale
    tokenLimitPresale    =  30000000 * 10**18;
    //uint256 tokenLimitPresale    =  5 * 10**18;  // for testing

    // Tokens for crowdsale
    tokenLimitCrowdsale  = 120000000 * 10**18;
    //uint256 tokenLimitCrowdsale  = 5 * 10**18;

    // Presale discount for each phase
    presaleDiscount    = 25 * 10**16;  // 25%
    crowdsaleDiscount1 = 15 * 10**16;  // 15%
    crowdsaleDiscount2 = 10 * 10**16;  // 10%
    crowdsaleDiscount3 =  5 * 10**16;  //  5%
    crowdsaleDiscount4 =           0;  //  0%

    // durations for each phase
    presaleDuration    = 604800; // One Week in seconds
    crowdsaleDuration1 = 604800; // One Week in seconds
    crowdsaleDuration2 = 604800; // One Week in seconds
    crowdsaleDuration3 = 604800; // One Week in seconds
    crowdsaleDuration4 = 604800; // One Week in seconds

  }

  //***************************************************
  //  Runtime state checks
  //***************************************************

  function currentStateActive() public constant returns ( bool presaleWaitPhase,
                                                          bool presalePhase,
                                                          bool crowdsalePhase1,
                                                          bool crowdsalePhase2,
                                                          bool crowdsalePhase3,
                                                          bool crowdsalePhase4,
                                                          bool buyable,
                                                          bool distributable,
                                                          bool reachedMinimumEtherGoal,
                                                          bool reachedMaximumEtherGoal,
                                                          bool completed,
                                                          bool finalizedAndClosed,
                                                          bool stopped){

    return (  isPresaleWaitPhase(),
              isPresalePhase(),
              isCrowdsalePhase1(),
              isCrowdsalePhase2(),
              isCrowdsalePhase3(),
              isCrowdsalePhase4(),
              isBuyable(),
              isDistributable(),
              minGoalReached(),
              maxGoalReached(),
              isCompleted(),
              finalized,
              halted);
  }

  function currentStateSales() public constant returns (uint256 PresaleTokenPrice,
                                                        uint256 BaseTokenPrice,
                                                        uint256 CrowdsaleTokenPrice1,
                                                        uint256 CrowdsaleTokenPrice2,
                                                        uint256 CrowdsaleTokenPrice3,
                                                        uint256 CrowdsaleTokenPrice4,
                                                        uint256 TokenPresaleTotalSold,
                                                        uint256 TokenCrowdsaleTotalSold,
                                                        uint256 TotalBackers,
                                                        uint256 WeiRaised,
                                                        address Wallet,
                                                        uint256 GoalInWei,
                                                        uint256 RemainingTokens){

    return (  presaleTokenPrice,
              baseTokenPrice,
              crowdsaleTokenPrice1,
              crowdsaleTokenPrice2,
              crowdsaleTokenPrice3,
              crowdsaleTokenPrice4,
              tokenPresaleTotalSold,
              tokenCrowdsaleTotalSold,
              totalBackers,
              weiRaised,
              wallet,
              minGoal,
              getContractTokenBalance());

  }

  function currentTokenDistribution() public constant returns (uint256 PresalePhaseTokens,
                                                               uint256 CrowdsalePhase1Tokens,
                                                               uint256 CrowdsalePhase2Tokens,
                                                               uint256 CrowdsalePhase3Tokens,
                                                               uint256 CrowdsalePhase4Tokens){

    return (  presaleTokenSent,
              crowdsaleTokenSold1,
              crowdsaleTokenSold2,
              crowdsaleTokenSold3,
              crowdsaleTokenSold4);

  }

  function isPresaleWaitPhase() internal constant returns (bool){
    return startTime >= now;
  }

  function isPresalePhase() internal constant returns (bool){
    return startTime < now && (startTime + presaleDuration) >= now && !maxGoalReached();
  }

  function isCrowdsalePhase1() internal constant returns (bool){
    return (startTime + presaleDuration) < now && (startTime + presaleDuration + crowdsaleDuration1) >= now && !maxGoalReached();
  }

  function isCrowdsalePhase2() internal constant returns (bool){
    return (startTime + presaleDuration + crowdsaleDuration1) < now && (startTime + presaleDuration + crowdsaleDuration1 + crowdsaleDuration2) >= now && !maxGoalReached();
  }

  function isCrowdsalePhase3() internal constant returns (bool){
    return (startTime + presaleDuration + crowdsaleDuration1 + crowdsaleDuration2) < now && (startTime + presaleDuration + crowdsaleDuration1 + crowdsaleDuration2 + crowdsaleDuration3) >= now && !maxGoalReached();
  }

  function isCrowdsalePhase4() internal constant returns (bool){
    return (startTime + presaleDuration + crowdsaleDuration1 + crowdsaleDuration2 + crowdsaleDuration3) < now && (startTime + presaleDuration + crowdsaleDuration1 + crowdsaleDuration2 + crowdsaleDuration3 + crowdsaleDuration4) >= now && !maxGoalReached();
  }

  function isCompleted() internal constant returns (bool){
    return (startTime + presaleDuration + crowdsaleDuration1 + crowdsaleDuration2 + crowdsaleDuration3 + crowdsaleDuration4) < now || maxGoalReached();
  }

  function isDistributable() internal constant returns (bool){
    return (startTime + presaleDuration) < now;
  }

  function isBuyable() internal constant returns (bool){
    return isDistributable() && !isCompleted();
  }

  // Test if we reached the goals
  function minGoalReached() internal constant returns (bool) {
    return weiRaised >= minGoal;
  }

  function maxGoalReached() internal constant returns (bool) {
    return weiRaised >= maxGoal;
  }

  //***************************************************
  //  Contract's token balance
  //***************************************************
  function getContractTokenBalance() internal constant returns (uint256) {
    return boomrToken.balanceOf(this);
  }

  //***************************************************
  //  Emergency functions
  //***************************************************
  function halt() public onlyOwner{
    halted = true;
  }

  function unHalt() public onlyOwner{
    halted = false;
  }

  //***************************************************
  //  Update all the prices
  //***************************************************
  function updatePrices() internal {

    presaleTokenPrice = weiRaised.mul(1 ether).div(tokenLimitPresale);
    baseTokenPrice = (presaleTokenPrice * (1 ether)) / ((1 ether) - presaleDiscount);
    crowdsaleTokenPrice1 = baseTokenPrice - ((baseTokenPrice * crowdsaleDiscount1)/(1 ether));
    crowdsaleTokenPrice2 = baseTokenPrice - ((baseTokenPrice * crowdsaleDiscount2)/(1 ether));
    crowdsaleTokenPrice3 = baseTokenPrice - ((baseTokenPrice * crowdsaleDiscount3)/(1 ether));
    crowdsaleTokenPrice4 = baseTokenPrice - ((baseTokenPrice * crowdsaleDiscount4)/(1 ether));
  }

  //***************************************************
  //  Default presale and token purchase
  //***************************************************
  function () public payable{
    if(msg.value == 0 && isDistributable())
    {
      distributePresale(msg.sender);
    }else{
      require(!isPresaleWaitPhase() && !isCompleted());

      // Select purchase action
      if (isPresalePhase()){

        // Presale deposit
        depositPresale(msg.sender);

      }else{
        // Buy the tokens
        buyTokens(msg.sender);
      }
    }
  }

  //***************************************************
  //  Low level deposit
  //***************************************************
  function depositPresale(address beneficiary) public payable{
    internalDepositPresale(beneficiary, msg.value);
  }

  function internalDepositPresale(address beneficiary, uint256 deposit) internal{
    require(!halted);
    require(beneficiary != 0x0);
    require(deposit != 0);
    require(isPresalePhase());
    require(!maxGoalReached());

    // Amount invested
    uint256 weiAmount = deposit;

    // If real deposit from person then forward funds
    // otherwise it was from the manual routine for external
    // deposits that were made in fiat instead of ether
    if (msg.value > 0)
    {
      // Send funds to main wallet
      forwardFunds();
    }

    // Total innvested so far
    weiRaised = weiRaised.add(weiAmount);

    // Mark the deposits, add if they deposit more than once
    deposits[beneficiary] += weiAmount;
    totalBackers++;

    // Determine the current price
    updatePrices();

    // emit event for logging
    PresalePurchase(msg.sender, beneficiary, weiAmount);
  }

  //***************************************************
  //  Token distribution for presale purchasers
  //***************************************************
  function distributePresale(address beneficiary) public{
    require(!halted);
    require(isDistributable());
    require(deposits[beneficiary] > 0);
    require(beneficiary != 0x0);

    // Amount investesd
    uint256 weiDeposit = deposits[beneficiary];

    // prevent re-entrancy
    deposits[beneficiary] = 0;

    // tokens out
    uint256 tokensOut = weiDeposit.mul(1 ether).div(presaleTokenPrice);

    //trackTokens(tokensOut, index);
    tokenPresaleTotalSold += tokensOut;
    //presaleTokenSent += tokensOut;

    // transfer tokens
    boomrToken.transfer(beneficiary, tokensOut);

    // emit event for logging
    PresaleDistribution(msg.sender, beneficiary, tokensOut);
  }

  //***************************************************
  //  Low level purchase
  //***************************************************
  function buyTokens(address beneficiary) public payable{
    internalBuyTokens(beneficiary, msg.value);
  }

  function internalBuyTokens(address beneficiary, uint256 deposit) internal{
    require(!halted);
    require(beneficiary != 0x0);
    require(deposit != 0);
    require(isCrowdsalePhase1() || isCrowdsalePhase2() || isCrowdsalePhase3() || isCrowdsalePhase4());
    require(!maxGoalReached());

    uint256 price = 0;

    if (isCrowdsalePhase1()){
      price = crowdsaleTokenPrice1;
    }else if (isCrowdsalePhase2()){
      price = crowdsaleTokenPrice2;
    }else if (isCrowdsalePhase3()){
      price = crowdsaleTokenPrice3;
    }else if (isCrowdsalePhase4()){
      price = crowdsaleTokenPrice4;
    }else{
      price = baseTokenPrice;
    }

    // Amount of ether sent
    uint256 weiAmount = deposit;

    // calculate reward
    uint256 tokensOut = weiAmount.mul(1 ether).div(price);

    // make sure we are not over sold
    require(tokensOut + tokenCrowdsaleTotalSold < tokenLimitCrowdsale);

    // If real deposit from person then forward funds
    // otherwise it was from the manual routine for external
    // deposits that were made in fiat instead of ether
    if (msg.value > 0)
    {
      // Send funds to main wallet
      forwardFunds();
    }

    // Update raised
    weiRaised = weiRaised.add(weiAmount);

    // Track purchases
    purchases[beneficiary] += weiRaised;

    // track issued
    tokenCrowdsaleTotalSold += tokensOut;

    if (isCrowdsalePhase1()){
      crowdsaleTokenSold1 += tokensOut;
    }else if (isCrowdsalePhase2()){
      crowdsaleTokenSold2 += tokensOut;
    }else if (isCrowdsalePhase3()){
      crowdsaleTokenSold3 += tokensOut;
    }else if (isCrowdsalePhase4()){
      crowdsaleTokenSold4 += tokensOut;
    }

    // Send to buyers
    boomrToken.transfer(beneficiary, tokensOut);

    // Emit event for logging
    TokenPurchase(msg.sender, beneficiary, weiAmount, tokensOut);

    // Track the backers
    totalBackers++;
  }

  // For deposits that do not come thru the contract
  function externalDeposit(address beneficiary, uint256 amount) public onlyOwner{
      require(!isPresaleWaitPhase() && !isCompleted());

      // Select purchase action
      if (isPresalePhase()){

        // Presale deposit
        internalDepositPresale(beneficiary, amount);

      }else{
        // Buy the tokens
        internalBuyTokens(beneficiary, amount);
      }
  }

  // send ether to the fund collection wallet
  // override to create custom fund forwarding mechanisms
  function forwardFunds() internal {
    //wallet.transfer(msg.value);
    vault.deposit.value(msg.value)(msg.sender);
  }

    // if crowdsale is unsuccessful, investors can claim refunds here
  function claimRefund() public{
    require(!halted);
    require(finalized);
    require(!minGoalReached());

    vault.refund(msg.sender);
  }

  // Should be called after crowdsale ends, to do
  // some extra finalization work
  function finalize() public onlyOwner{
    require(!finalized);
    require(isCompleted());

    if (minGoalReached()) {
      vault.close();
    } else {
      vault.enableRefunds();
    }

    finalized = true;
    Finalized();
  }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"currentTokenDistribution","outputs":[{"name":"PresalePhaseTokens","type":"uint256"},{"name":"CrowdsalePhase1Tokens","type":"uint256"},{"name":"CrowdsalePhase2Tokens","type":"uint256"},{"name":"CrowdsalePhase3Tokens","type":"uint256"},{"name":"CrowdsalePhase4Tokens","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finalize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"depositPresale","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"currentStateSales","outputs":[{"name":"PresaleTokenPrice","type":"uint256"},{"name":"BaseTokenPrice","type":"uint256"},{"name":"CrowdsaleTokenPrice1","type":"uint256"},{"name":"CrowdsaleTokenPrice2","type":"uint256"},{"name":"CrowdsaleTokenPrice3","type":"uint256"},{"name":"CrowdsaleTokenPrice4","type":"uint256"},{"name":"TokenPresaleTotalSold","type":"uint256"},{"name":"TokenCrowdsaleTotalSold","type":"uint256"},{"name":"TotalBackers","type":"uint256"},{"name":"WeiRaised","type":"uint256"},{"name":"Wallet","type":"address"},{"name":"GoalInWei","type":"uint256"},{"name":"RemainingTokens","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"halt","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unHalt","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_wallet","type":"address"},{"name":"_startTime","type":"uint256"}],"name":"StartCrowdsale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"purchases","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"boomrToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"},{"name":"amount","type":"uint256"}],"name":"externalDeposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimRefund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"distributePresale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"currentStateActive","outputs":[{"name":"presaleWaitPhase","type":"bool"},{"name":"presalePhase","type":"bool"},{"name":"crowdsalePhase1","type":"bool"},{"name":"crowdsalePhase2","type":"bool"},{"name":"crowdsalePhase3","type":"bool"},{"name":"crowdsalePhase4","type":"bool"},{"name":"buyable","type":"bool"},{"name":"distributable","type":"bool"},{"name":"reachedMinimumEtherGoal","type":"bool"},{"name":"reachedMaximumEtherGoal","type":"bool"},{"name":"completed","type":"bool"},{"name":"finalizedAndClosed","type":"bool"},{"name":"stopped","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"buyTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"deposits","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"Purchaser","type":"address"},{"indexed":true,"name":"Beneficiary","type":"address"},{"indexed":false,"name":"ValueInWei","type":"uint256"},{"indexed":false,"name":"TokenAmount","type":"uint256"}],"name":"TokenPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"Purchaser","type":"address"},{"indexed":true,"name":"Beneficiary","type":"address"},{"indexed":false,"name":"ValueInWei","type":"uint256"}],"name":"PresalePurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"Purchaser","type":"address"},{"indexed":true,"name":"Beneficiary","type":"address"},{"indexed":false,"name":"TokenAmount","type":"uint256"}],"name":"PresaleDistribution","type":"event"},{"anonymous":false,"inputs":[],"name":"Finalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60606040526000600155600060025560006003556000600455600060055560006006556000600755600060085560006009556000600a556000600b556000600c556000600d556000600e556000600f5560006010556000601155600060125560006013556000601455600060155560006016556000601755600060185560006019556000601a556000601b556000601c556000601d556000601e60006101000a81548160ff0219169083151502179055506000601e60016101000a81548160ff02191690831515021790555034156100d657600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506129fe806101256000396000f3006060604052600436106200010f576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063233a74c914620001985780634bb278f314620001e05780634e6885f314620001f8578063560f5d4b14620002285780635ed7ca5b14620002d457806376865eea14620002ec57806378e97925146200030457806383c4cc461462000330578063842a77d3146200039457806385cc6fba14620003e45780638da5cb5b146200043c5780639bda86781462000494578063b5545a3c14620004d9578063c37e737914620004f1578063c8398947146200052d578063ec8ac4d814620005e1578063f2fde38b1462000611578063fc7e286d146200064d575b600034148015620001265750620001256200069d565b5b156200013d576200013733620006ad565b62000196565b620001476200097a565b1580156200015c57506200015a62000987565b155b15156200016857600080fd5b62000172620009b9565b1562000189576200018333620009ec565b62000195565b6200019433620009fb565b5b5b005b3415620001a457600080fd5b620001ae62000a0a565b604051808681526020018581526020018481526020018381526020018281526020019550505050505060405180910390f35b3415620001ec57600080fd5b620001f662000a32565b005b62000226600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050620009ec565b005b34156200023457600080fd5b6200023e62000c57565b604051808e81526020018d81526020018c81526020018b81526020018a81526020018981526020018881526020018781526020018681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281526020019d505050505050505050505050505060405180910390f35b3415620002e057600080fd5b620002ea62000ce2565b005b3415620002f857600080fd5b6200030262000d5b565b005b34156200031057600080fd5b6200031a62000dd4565b6040518082815260200191505060405180910390f35b34156200033c57600080fd5b62000392600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505062000dda565b005b3415620003a057600080fd5b620003ce600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505062001097565b6040518082815260200191505060405180910390f35b3415620003f057600080fd5b620003fa620010af565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156200044857600080fd5b62000452620010d5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3415620004a057600080fd5b620004d7600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050620010fa565b005b3415620004e557600080fd5b620004ef620011b4565b005b3415620004fd57600080fd5b6200052b600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050620006ad565b005b34156200053957600080fd5b62000543620012d8565b604051808e1515151581526020018d1515151581526020018c1515151581526020018b1515151581526020018a15151515815260200189151515158152602001881515151581526020018715151515815260200186151515158152602001851515151581526020018415151515815260200183151515158152602001821515151581526020019d505050505050505050505050505060405180910390f35b6200060f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050620009fb565b005b34156200061d57600080fd5b6200064b600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050620013a3565b005b34156200065957600080fd5b62000687600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050620014fa565b6040518082815260200191505060405180910390f35b600042600a54601f540110905090565b600080601e60019054906101000a900460ff16151515620006cd57600080fd5b620006d76200069d565b1515620006e357600080fd5b6000602360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115156200073257600080fd5b60008373ffffffffffffffffffffffffffffffffffffffff16141515156200075957600080fd5b602360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205491506000602360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506200081360135462000804670de0b6b3a7640000856200151290919063ffffffff16565b6200155190919063ffffffff16565b905080600f60008282540192505081905550602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1515620008f357600080fd5b6102c65a03f115156200090557600080fd5b50505060405180519050508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fa623e9bfc8580a469aeb2daf552365f3a310da91551d43bfe21fe74d3f3b7ef6836040518082815260200191505060405180910390a3505050565b600042601f541015905090565b600042600e54600d54600c54600b54600a54601f5401010101011080620009b45750620009b36200156d565b5b905090565b600042601f54108015620009d3575042600a54601f540110155b8015620009e75750620009e56200156d565b155b905090565b620009f881346200157c565b50565b62000a07813462001708565b50565b6000806000806000601954601a54601b54601c54601d54945094509450945094509091929394565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151562000a8e57600080fd5b601e60009054906101000a900460ff1615151562000aab57600080fd5b62000ab562000987565b151562000ac157600080fd5b62000acb62001b21565b1562000b7257602260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166343d726d66040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b151562000b5757600080fd5b6102c65a03f1151562000b6957600080fd5b50505062000c0e565b602260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638c52dc416040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b151562000bf857600080fd5b6102c65a03f1151562000c0a57600080fd5b5050505b6001601e60006101000a81548160ff0219169083151502179055507f6823b073d48d6e3a7d385eeb601452d680e74bb46afe3255a7d778f3a9b1768160405160405180910390a1565b6000806000806000806000806000806000806000601354601454601554601654601754601854600f54601054601154601254602160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660015462000cb962001b30565b9c509c509c509c509c509c509c509c509c509c509c509c509c50909192939495969798999a9b9c565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151562000d3e57600080fd5b6001601e60016101000a81548160ff021916908315150217905550565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151562000db757600080fd5b6000601e60016101000a81548160ff021916908315150217905550565b601f5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151562000e3657600080fd5b42811015151562000e4657600080fd5b60008373ffffffffffffffffffffffffffffffffffffffff161415151562000e6d57600080fd5b60008273ffffffffffffffffffffffffffffffffffffffff161415151562000e9457600080fd5b80601f8190555082602060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1662000f4a62001f4a565b808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050604051809103906000f080151562000f9757600080fd5b602260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555069010f0cf064dd5920000060018190555069060e68bb36b4abe000006002819055506a18d0bf423c03d8de0000006003819055506a6342fd08f00f63780000006004819055506703782dace9d90000600581905550670214e8348c4f000060068190555067016345785d8a000060078190555066b1a2bc2ec50000600881905550600060098190555062093a80600a8190555062093a80600b8190555062093a80600c8190555062093a80600d8190555062093a80600e81905550505050565b60246020528060005260406000206000915090505481565b602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156200115657600080fd5b620011606200097a565b1580156200117557506200117362000987565b155b15156200118157600080fd5b6200118b620009b9565b15620011a3576200119d82826200157c565b620011b0565b620011af828262001708565b5b5050565b601e60019054906101000a900460ff16151515620011d157600080fd5b601e60009054906101000a900460ff161515620011ed57600080fd5b620011f762001b21565b1515156200120457600080fd5b602260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa89401a336040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1515620012c157600080fd5b6102c65a03f11515620012d357600080fd5b505050565b6000806000806000806000806000806000806000620012f66200097a565b62001300620009b9565b6200130a62001c19565b6200131462001c54565b6200131e62001c97565b6200132862001ce2565b6200133262001d35565b6200133c6200069d565b6200134662001b21565b620013506200156d565b6200135a62000987565b601e60009054906101000a900460ff16601e60019054906101000a900460ff169c509c509c509c509c509c509c509c509c509c509c509c509c50909192939495969798999a9b9c565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515620013ff57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156200143c57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60236020528060005260406000206000915090505481565b60008060008414156200152957600091506200154a565b82840290508284828115156200153b57fe5b041415156200154657fe5b8091505b5092915050565b60008082848115156200156057fe5b0490508091505092915050565b60006002546012541015905090565b6000601e60019054906101000a900460ff161515156200159b57600080fd5b60008373ffffffffffffffffffffffffffffffffffffffff1614151515620015c257600080fd5b60008214151515620015d357600080fd5b620015dd620009b9565b1515620015e957600080fd5b620015f36200156d565b1515156200160057600080fd5b819050600034111562001618576200161762001d5a565b5b6200162f8160125462001e2f90919063ffffffff16565b60128190555080602360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506011600081548092919060010191905055506200169e62001e4e565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f09e1a1f76e2ee100a72f7e1147dd31df4dbc7c2945f9b8d81469b0b299143f7c836040518082815260200191505060405180910390a3505050565b6000806000601e60019054906101000a900460ff161515156200172a57600080fd5b60008573ffffffffffffffffffffffffffffffffffffffff16141515156200175157600080fd5b600084141515156200176257600080fd5b6200176c62001c19565b806200177e57506200177d62001c54565b5b806200179057506200178f62001c97565b5b80620017a25750620017a162001ce2565b5b1515620017ae57600080fd5b620017b86200156d565b151515620017c557600080fd5b60009250620017d362001c19565b15620017e45760155492506200183e565b620017ee62001c54565b15620017ff5760165492506200183d565b6200180962001c97565b156200181a5760175492506200183c565b6200182462001ce2565b15620018355760185492506200183b565b60145492505b5b5b5b839150620018728362001863670de0b6b3a7640000856200151290919063ffffffff16565b6200155190919063ffffffff16565b905060045460105482011015156200188957600080fd5b60003411156200189e576200189d62001d5a565b5b620018b58260125462001e2f90919063ffffffff16565b601281905550601254602460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550806010600082825401925050819055506200192462001c19565b15620019405780601a60008282540192505081905550620019b0565b6200194a62001c54565b15620019665780601b60008282540192505081905550620019af565b6200197062001c97565b156200198c5780601c60008282540192505081905550620019ae565b6200199662001ce2565b15620019ad5780601d600082825401925050819055505b5b5b5b602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb86836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b151562001a7e57600080fd5b6102c65a03f1151562001a9057600080fd5b50505060405180519050508473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f623b3804fa71d67900d064613da8f94b9617215ee90799290593e1745087ad188484604051808381526020018281526020019250505060405180910390a36011600081548092919060010191905055505050505050565b60006001546012541015905090565b6000602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151562001bf857600080fd5b6102c65a03f1151562001c0a57600080fd5b50505060405180519050905090565b600042600a54601f540110801562001c3b575042600b54600a54601f54010110155b801562001c4f575062001c4d6200156d565b155b905090565b600042600b54600a54601f54010110801562001c7e575042600c54600b54600a54601f5401010110155b801562001c92575062001c906200156d565b155b905090565b600042600c54600b54600a54601f5401010110801562001cc9575042600d54600c54600b54600a54601f540101010110155b801562001cdd575062001cdb6200156d565b155b905090565b600042600d54600c54600b54600a54601f540101010110801562001d1c575042600e54600d54600c54600b54600a54601f54010101010110155b801562001d30575062001d2e6200156d565b155b905090565b600062001d416200069d565b801562001d55575062001d5362000987565b155b905090565b602260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f340fa0134336040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019150506000604051808303818588803b151562001e1757600080fd5b6125ee5a03f1151562001e2957600080fd5b50505050565b600080828401905083811015151562001e4457fe5b8091505092915050565b62001e8360035462001e74670de0b6b3a76400006012546200151290919063ffffffff16565b6200155190919063ffffffff16565b601381905550600554670de0b6b3a764000003670de0b6b3a76400006013540281151562001ead57fe5b04601481905550670de0b6b3a76400006006546014540281151562001ece57fe5b0460145403601581905550670de0b6b3a76400006007546014540281151562001ef357fe5b0460145403601681905550670de0b6b3a76400006008546014540281151562001f1857fe5b0460145403601781905550670de0b6b3a76400006009546014540281151562001f3d57fe5b0460145403601881905550565b604051610a778062001f5c8339019056006060604052341561000f57600080fd5b604051602080610a7783398101604052808051906020019091905050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156100a757600080fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600260146101000a81548160ff0219169083600281111561010757fe5b02179055505061095b8061011c6000396000f300606060405260043610610099576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806343d726d61461009e578063521eb273146100b35780638c52dc41146101085780638da5cb5b1461011d578063c19d93fb14610172578063cb13cddb146101a9578063f2fde38b146101f6578063f340fa011461022f578063fa89401a1461025d575b600080fd5b34156100a957600080fd5b6100b1610296565b005b34156100be57600080fd5b6100c66103ef565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561011357600080fd5b61011b610415565b005b341561012857600080fd5b6101306104f6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561017d57600080fd5b61018561051b565b6040518082600281111561019557fe5b60ff16815260200191505060405180910390f35b34156101b457600080fd5b6101e0600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061052e565b6040518082815260200191505060405180910390f35b341561020157600080fd5b61022d600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610546565b005b61025b600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061069b565b005b341561026857600080fd5b610294600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506107c2565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156102f157600080fd5b600060028111156102fe57fe5b600260149054906101000a900460ff16600281111561031957fe5b14151561032557600080fd5b60028060146101000a81548160ff0219169083600281111561034357fe5b02179055507f1cdde67b72a90f19919ac732a437ac2f7a10fc128d28c2a6e525d89ce5cd9d3a60405160405180910390a1600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f1935050505015156103ed57600080fd5b565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561047057600080fd5b6000600281111561047d57fe5b600260149054906101000a900460ff16600281111561049857fe5b1415156104a457600080fd5b6001600260146101000a81548160ff021916908360028111156104c357fe5b02179055507f599d8e5a83cffb867d051598c4d70e805d59802d8081c1c7d6dffc5b6aca2b8960405160405180910390a1565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260149054906101000a900460ff1681565b60016020528060005260406000206000915090505481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105a157600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156105dd57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156106f657600080fd5b6000600281111561070357fe5b600260149054906101000a900460ff16600281111561071e57fe5b14151561072a57600080fd5b61077c34600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461091190919063ffffffff16565b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b6000600160028111156107d157fe5b600260149054906101000a900460ff1660028111156107ec57fe5b1415156107f857600080fd5b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156108bf57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff167fd7dee2702d63ad89917b6a4da9981c90c4d24f8c2bdfd64c604ecae57d8d0651826040518082815260200191505060405180910390a25050565b600080828401905083811015151561092557fe5b80915050929150505600a165627a7a723058209b12e54d0bd6ff403a3c0fb2279f16541929b1f94fb00ae485783270d8345ac70029a165627a7a72305820bb51e81b7134f8f11468424af2682e00aea4bf303c492ae4c60495a8e20d9ec90029

   Swarm Source:
bzzr://bb51e81b7134f8f11468424af2682e00aea4bf303c492ae4c60495a8e20d9ec9

 

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