Contract 0xd4cda8971eb41037de00a9d8bb855f5af343919c

Contract Overview

Balance:
0 Ether
TxHash Block Age From To Value [TxFee]
0xdde052625c794749e3e2be9d499905379680df6de942b49498a7a0722605d6a73092870333 days 12 hrs ago0x8fd94be56237ea9d854b23b78615775121dd1e82 IN  0xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether0.00025824
0x21a1c801106e527706ea38671c3a53948fb53df7c1286e8cdfd30cf95136ec523092856333 days 12 hrs ago0x8fd94be56237ea9d854b23b78615775121dd1e82 IN  0xd4cda8971eb41037de00a9d8bb855f5af343919c1 Ether0.000121867
0xe41ed1636435f10dbe224557a976cabab7dce389f7b9e909497134ec9641e2d43092818333 days 12 hrs ago0x8fd94be56237ea9d854b23b78615775121dd1e82 IN  0xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether0.000031257
0x45221b5afe6e7cf78474c7d8d8695233a38744d7675796654365e775cfc43e9a3092779333 days 12 hrs ago0x8fd94be56237ea9d854b23b78615775121dd1e82 IN  Contract Creation0 Ether0.001805778
[ Download CSV Export 

Latest 25 internal transaction, Click here to view more Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0xdde052625c794749e3e2be9d499905379680df6de942b49498a7a0722605d6a73092870333 days 12 hrs ago0xd4cda8971eb41037de00a9d8bb855f5af343919c0x95846d4457dd079ba7ecb78ea43e420226b813a40 Ether
0xdde052625c794749e3e2be9d499905379680df6de942b49498a7a0722605d6a73092870333 days 12 hrs ago0xd4cda8971eb41037de00a9d8bb855f5af343919c0xa654b076c4a3549bf234f4dcf278f36b2cd604a30 Ether
0xdde052625c794749e3e2be9d499905379680df6de942b49498a7a0722605d6a73092870333 days 12 hrs ago0xd4cda8971eb41037de00a9d8bb855f5af343919c0x95846d4457dd079ba7ecb78ea43e420226b813a40 Ether
0xdde052625c794749e3e2be9d499905379680df6de942b49498a7a0722605d6a73092870333 days 12 hrs ago0xd4cda8971eb41037de00a9d8bb855f5af343919c0xa654b076c4a3549bf234f4dcf278f36b2cd604a30 Ether
0xdde052625c794749e3e2be9d499905379680df6de942b49498a7a0722605d6a73092870333 days 12 hrs ago0xd4cda8971eb41037de00a9d8bb855f5af343919c0x95846d4457dd079ba7ecb78ea43e420226b813a40 Ether
0xdde052625c794749e3e2be9d499905379680df6de942b49498a7a0722605d6a73092870333 days 12 hrs ago0xd4cda8971eb41037de00a9d8bb855f5af343919c0x95846d4457dd079ba7ecb78ea43e420226b813a40 Ether
0xdde052625c794749e3e2be9d499905379680df6de942b49498a7a0722605d6a73092870333 days 12 hrs ago0xd4cda8971eb41037de00a9d8bb855f5af343919c0x95846d4457dd079ba7ecb78ea43e420226b813a40 Ether
0xdde052625c794749e3e2be9d499905379680df6de942b49498a7a0722605d6a73092870333 days 12 hrs ago0xd4cda8971eb41037de00a9d8bb855f5af343919c0x95846d4457dd079ba7ecb78ea43e420226b813a40 Ether
0x21a1c801106e527706ea38671c3a53948fb53df7c1286e8cdfd30cf95136ec523092856333 days 12 hrs ago0xd4cda8971eb41037de00a9d8bb855f5af343919c0x95846d4457dd079ba7ecb78ea43e420226b813a40 Ether
0x21a1c801106e527706ea38671c3a53948fb53df7c1286e8cdfd30cf95136ec523092856333 days 12 hrs ago0xd4cda8971eb41037de00a9d8bb855f5af343919c0x8fd94be56237ea9d854b23b78615775121dd1e821 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
0xa09c5e0f269683c32d6fc6699ef3bec3528caff4f2c28e0dcc92da721a5a61e63092832333 days 12 hrs ago0x0af3ef328e84d30b26025af5b11e9b596aa35c040xd4cda8971eb41037de00a9d8bb855f5af343919c0 Ether
[ Download CSV Export 

Contract Source Code Verified (Exact Match)

Contract Name:
ITO

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes

Runs (Optimizer):
200

Contract Source Code

pragma solidity ^0.4.18;


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

  /**
   * @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 AddressesFilterFeature is Ownable {

  mapping(address => bool) public allowedAddresses;

  function addAllowedAddress(address allowedAddress) public onlyOwner {
    allowedAddresses[allowedAddress] = true;
  }

  function removeAllowedAddress(address allowedAddress) public onlyOwner {
    allowedAddresses[allowedAddress] = false;
  }

}

contract ValueBonusFeature is Ownable {

  using SafeMath for uint;

  uint percentRate = 1000;

  struct ValueBonus {
    uint from;
    uint bonus;
  }

  ValueBonus[] public valueBonuses;

  function addValueBonus(uint from, uint bonus) public onlyOwner {
    valueBonuses.push(ValueBonus(from, bonus));
  }

  function getValueBonusTokens(uint tokens, uint invested) public view returns(uint) {
    uint valueBonus = getValueBonus(invested);
    if(valueBonus == 0) {
      return 0;
    }
    return tokens.mul(valueBonus).div(percentRate);
  }

  function getValueBonus(uint value) public view returns(uint) {
    uint bonus = 0;
    for(uint i = 0; i < valueBonuses.length; i++) {
      if(value >= valueBonuses[i].from) {
        bonus = valueBonuses[i].bonus;
      } else {
        return bonus;
      }
    }
    return bonus;
  }

}

contract WalletProvider is Ownable {

  address public wallet;

  function setWallet(address newWallet) public onlyOwner {
    wallet = newWallet;
  }

}

contract WalletsPercents is Ownable {

  address[] public wallets;

  mapping (address => uint) percents;

  function addWallet(address wallet, uint percent) public onlyOwner {
    wallets.push(wallet);
    percents[wallet] = percent;
  }
 
  function cleanWallets() public onlyOwner {
    wallets.length = 0;
  }


}

contract PercentRateProvider {

  uint public percentRate = 100;

}




contract PercentRateFeature is Ownable, PercentRateProvider {

  function setPercentRate(uint newPercentRate) public onlyOwner {
    percentRate = newPercentRate;
  }

}


contract InvestedProvider is Ownable {

  uint public invested;

}

contract ReceivingContractCallback {

  function tokenFallback(address _from, uint _value) public;

}

contract RetrieveTokensFeature is Ownable {

  function retrieveTokens(address to, address anotherToken) public onlyOwner {
    ERC20 alienToken = ERC20(anotherToken);
    alienToken.transfer(to, alienToken.balanceOf(this));
  }

}

contract StagedCrowdsale is Ownable {

  using SafeMath for uint;

  struct Milestone {
    uint period;
    uint bonus;
  }

  uint public totalPeriod;

  Milestone[] public milestones;

  function milestonesCount() public view returns(uint) {
    return milestones.length;
  }

  function addMilestone(uint period, uint bonus) public onlyOwner {
    require(period > 0);
    milestones.push(Milestone(period, bonus));
    totalPeriod = totalPeriod.add(period);
  }

  function removeMilestone(uint8 number) public onlyOwner {
    require(number < milestones.length);
    Milestone storage milestone = milestones[number];
    totalPeriod = totalPeriod.sub(milestone.period);

    delete milestones[number];

    for (uint i = number; i < milestones.length - 1; i++) {
      milestones[i] = milestones[i+1];
    }

    milestones.length--;
  }

  function changeMilestone(uint8 number, uint period, uint bonus) public onlyOwner {
    require(number < milestones.length);
    Milestone storage milestone = milestones[number];

    totalPeriod = totalPeriod.sub(milestone.period);

    milestone.period = period;
    milestone.bonus = bonus;

    totalPeriod = totalPeriod.add(period);
  }

  function insertMilestone(uint8 numberAfter, uint period, uint bonus) public onlyOwner {
    require(numberAfter < milestones.length);

    totalPeriod = totalPeriod.add(period);

    milestones.length++;

    for (uint i = milestones.length - 2; i > numberAfter; i--) {
      milestones[i + 1] = milestones[i];
    }

    milestones[numberAfter + 1] = Milestone(period, bonus);
  }

  function clearMilestones() public onlyOwner {
    require(milestones.length > 0);
    for (uint i = 0; i < milestones.length; i++) {
      delete milestones[i];
    }
    milestones.length -= milestones.length;
    totalPeriod = 0;
  }

  function lastSaleDate(uint start) public view returns(uint) {
    return start + totalPeriod * 1 days;
  }

  function currentMilestone(uint start) public view returns(uint) {
    uint previousDate = start;
    for(uint i=0; i < milestones.length; i++) {
      if(now >= previousDate && now < previousDate + milestones[i].period * 1 days) {
        return i;
      }
      previousDate = previousDate.add(milestones[i].period * 1 days);
    }
    revert();
  }

}


contract TokenProvider is Ownable {

  MintableToken public token;

  function setToken(address newToken) public onlyOwner {
    token = MintableToken(newToken);
  }

}

contract MintableToken is AddressesFilterFeature, StandardToken {

  event Mint(address indexed to, uint256 amount);

  event MintFinished();

  bool public mintingFinished = false;

  address public saleAgent;

  mapping (address => uint) public initialBalances;

  uint public vestingPercent;

  uint public constant percentRate = 100;

  modifier notLocked(address _from, uint _value) {
    if(!(_from == owner || _from == saleAgent || allowedAddresses[_from])) {
      require(mintingFinished);
      if((vestingPercent <= percentRate) && (vestingPercent != 0)) {
        uint minLockedBalance = initialBalances[_from].mul(vestingPercent).div(percentRate);
        require(minLockedBalance <= balances[_from].sub(_value));
      }
    }
    _;
  }

  function setVestingPercent(uint newVestingPercent) public {
    require(msg.sender == saleAgent || msg.sender == owner);
    vestingPercent = newVestingPercent;
  }

  function setSaleAgent(address newSaleAgnet) public {
    require(msg.sender == saleAgent || msg.sender == owner);
    saleAgent = newSaleAgnet;
  }

  function mint(address _to, uint256 _amount) public returns (bool) {
    require((msg.sender == saleAgent || msg.sender == owner) && !mintingFinished);
    
    totalSupply = totalSupply.add(_amount);
    balances[_to] = balances[_to].add(_amount);

    initialBalances[_to] = balances[_to];

    Mint(_to, _amount);
    Transfer(address(0), _to, _amount);
    return true;
  }

  /**
   * @dev Function to stop minting new tokens.
   * @return True if the operation was successful.
   */
  function finishMinting() public returns (bool) {
    require((msg.sender == saleAgent || msg.sender == owner) && !mintingFinished);
    mintingFinished = true;
    MintFinished();
    return true;
  }

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

  function transferFrom(address from, address to, uint256 value) public notLocked(from, value) returns (bool) {
    return super.transferFrom(from, to, value);
  }

}

contract Token is MintableToken {

  string public constant name = "Worldopoly";

  string public constant symbol = "WPT";

  uint32 public constant decimals = 18;

  mapping(address => bool)  public registeredCallbacks;

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

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

  function registerCallback(address callback) public onlyOwner {
    registeredCallbacks[callback] = true;
  }

  function deregisterCallback(address callback) public onlyOwner {
    registeredCallbacks[callback] = false;
  }

  function processCallback(bool result, address from, address to, uint value) internal returns(bool) {
    if (result && registeredCallbacks[to]) {
      ReceivingContractCallback targetCallback = ReceivingContractCallback(to);
      targetCallback.tokenFallback(from, value);
    }
    return result;
  }

}

contract MintTokensInterface is TokenProvider {

  function mintTokens(address to, uint tokens) internal;

}

contract MintTokensFeature is MintTokensInterface {

  function mintTokens(address to, uint tokens) internal {
    token.mint(to, tokens);
  }

}

contract CommonSale is PercentRateFeature, InvestedProvider, WalletProvider, RetrieveTokensFeature, MintTokensFeature {

  using SafeMath for uint;

  address public directMintAgent;

  uint public price;

  uint public start;

  uint public minInvestedLimit;

  uint public hardcap;

  modifier isUnderHardcap() {
    require(invested <= hardcap);
    _;
  }

  function setHardcap(uint newHardcap) public onlyOwner {
    hardcap = newHardcap;
  }

  modifier onlyDirectMintAgentOrOwner() {
    require(directMintAgent == msg.sender || owner == msg.sender);
    _;
  }

  modifier minInvestLimited(uint value) {
    require(value >= minInvestedLimit);
    _;
  }

  function setStart(uint newStart) public onlyOwner {
    start = newStart;
  }

  function setMinInvestedLimit(uint newMinInvestedLimit) public onlyOwner {
    minInvestedLimit = newMinInvestedLimit;
  }

  function setDirectMintAgent(address newDirectMintAgent) public onlyOwner {
    directMintAgent = newDirectMintAgent;
  }

  function setPrice(uint newPrice) public onlyDirectMintAgentOrOwner {
    price = newPrice;
  }

  function calculateTokens(uint _invested) internal returns(uint);

  function mintTokensExternal(address to, uint tokens) public onlyDirectMintAgentOrOwner {
    mintTokens(to, tokens);
  }

  function endSaleDate() public view returns(uint);

  function mintTokensByETHExternal(address to, uint _invested) public onlyDirectMintAgentOrOwner returns(uint) {
    updateInvested(_invested);
    return mintTokensByETH(to, _invested);
  }

  function mintTokensByETH(address to, uint _invested) internal isUnderHardcap returns(uint) {
    uint tokens = calculateTokens(_invested);
    mintTokens(to, tokens);
    return tokens;
  }

  function transferToWallet(uint value) internal {
    wallet.transfer(value);
  }

  function updateInvested(uint value) internal {
    invested = invested.add(value);
  }

  function fallback() internal minInvestLimited(msg.value) returns(uint) {
    require(now >= start && now < endSaleDate());
    transferToWallet(msg.value);
    updateInvested(msg.value);
    return mintTokensByETH(msg.sender, msg.value);
  }

  function () public payable {
    fallback();
  }

}

contract AssembledCommonSale is ValueBonusFeature, CommonSale {

}



contract DevFeeFeature is CommonSale {

  using SafeMath for uint;

  uint public constant devLimit = 19500000000000000000;

  uint public devBalance;

  address public constant devWallet = 0xEA15Adb66DC92a4BbCcC8Bf32fd25E2e86a2A770;

  function transferToWallet(uint value) internal {
    uint toDev = devLimit - devBalance;
    if(toDev > 0) {
      if(toDev > value) {
        toDev = value;
      } else { 
        wallet.transfer(value.sub(toDev));
      }
      devWallet.transfer(toDev);
      devBalance = devBalance.add(toDev);
    } else {
      wallet.transfer(value);
    }
  }

}

contract ERC20Cutted {
    
  function balanceOf(address who) public constant returns (uint256);
  
  function transfer(address to, uint256 value) public returns (bool);
  
}

contract ExtendedWalletsMintTokensFeature is MintTokensInterface, WalletsPercents {

  using SafeMath for uint;

  uint public percentRate = 1000;

  function mintExtendedTokens() public onlyOwner {
    uint summaryTokensPercent = 0;
    for(uint i = 0; i < wallets.length; i++) {
      summaryTokensPercent = summaryTokensPercent.add(percents[wallets[i]]);
    }
    uint mintedTokens = token.totalSupply();
    uint allTokens = mintedTokens.mul(percentRate).div(percentRate.sub(summaryTokensPercent));
    for(uint k = 0; k < wallets.length; k++) {
      mintTokens(wallets[k], allTokens.mul(percents[wallets[k]]).div(percentRate));
    }

  }

}

contract ByteBallWallet is Ownable {
    
    address public target = 0x7E5f0D4070a55EbCf0a8A7D6F7abCEf96312C129;
    
    uint public locked;
    
    address public token;
    
    function setToken(address _token) public onlyOwner {
        token = _token;
    }
    
    function setLocked(uint _locked) public onlyOwner {
        locked = _locked;
    }
    
    function setTarget(address _target) public onlyOwner {
        target = _target;
    }
    
    function retreiveTokens() public {
        require(now > locked);
        ERC20Basic(token).transfer(target, ERC20Basic(token).balanceOf(this));
    }
    
}

contract ITO is ExtendedWalletsMintTokensFeature, AssembledCommonSale {

  uint public period;

  uint public firstBonusPercent;

  uint public firstBonusLimitPercent;
  
  ByteBallWallet public bbwallet = new ByteBallWallet();

  function setFirstBonusPercent(uint newFirstBonusPercent) public onlyOwner {
    firstBonusPercent = newFirstBonusPercent;
  }

  function setFirstBonusLimitPercent(uint newFirstBonusLimitPercent) public onlyOwner {
    firstBonusLimitPercent = newFirstBonusLimitPercent;
  }

  function calculateTokens(uint _invested) internal returns(uint) {
    uint tokens = _invested.mul(price).div(1 ether);
    uint valueBonusTokens = getValueBonusTokens(tokens, _invested);
    if(invested < hardcap.mul(firstBonusLimitPercent).div(percentRate)) {
      tokens = tokens.add(tokens.mul(firstBonusPercent).div(percentRate));
    }
    return tokens.add(valueBonusTokens);
  }

  function setPeriod(uint newPeriod) public onlyOwner {
    period = newPeriod;
  }

  function endSaleDate() public view returns(uint) {
    return start.add(period * 1 days);
  }

  function finish() public onlyOwner {
     mintExtendedTokens();
     bbwallet.setToken(token);
     mintTokens(address(bbwallet),5000000000000000000000000);
     bbwallet.transferOwnership(owner);
     token.finishMinting();
  }

}


contract NextSaleAgentFeature is Ownable {

  address public nextSaleAgent;

  function setNextSaleAgent(address newNextSaleAgent) public onlyOwner {
    nextSaleAgent = newNextSaleAgent;
  }

}


contract PreITO is DevFeeFeature, NextSaleAgentFeature, StagedCrowdsale, AssembledCommonSale {

  function calculateTokens(uint _invested) internal returns(uint) {
    uint milestoneIndex = currentMilestone(start);
    Milestone storage milestone = milestones[milestoneIndex];
    uint tokens = _invested.mul(price).div(1 ether);
    uint valueBonusTokens = getValueBonusTokens(tokens, _invested);
    if(milestone.bonus > 0) {
      tokens = tokens.add(tokens.mul(milestone.bonus).div(percentRate));
    }
    return tokens.add(valueBonusTokens);
  }

  function endSaleDate() public view returns(uint) {
    return lastSaleDate(start);
  }

  function finish() public onlyOwner {
    token.setSaleAgent(nextSaleAgent);
  }

}


contract Configurator is Ownable {

  Token public token;

  PreITO public preITO;

  ITO public ito;

  function deploy() public onlyOwner {

    address manager = 0xB8A4799a4E2f10e4b30b6C6E9F762833C13eCDF4;

    token = new Token();

    preITO = new PreITO();
    ito = new ITO();

    commonConfigure(preITO);
    commonConfigure(ito);

    preITO.setWallet(0x28D1e6eeBf60b5eb747E2Ee7a185472Ae073Ab7e);
    preITO.setStart(1524441600);
    preITO.addMilestone(10, 200);
    preITO.addMilestone(10, 150);
    preITO.addMilestone(10, 100);
    preITO.setHardcap(6282000000000000000000);

    token.setSaleAgent(preITO);
    token.setVestingPercent(0);

    ito.setWallet(0x029fa7ef4E852Bb53CcbafA2308eE728320A5B8d);
    ito.setStart(1527206400);
    ito.setPeriod(44);
    ito.setFirstBonusPercent(50);
    ito.setFirstBonusLimitPercent(200);
    ito.setHardcap(37697000000000000000000);

    ito.addWallet(0xd4Dde5011e330f8bFB246ce60d163AA5900ba71E, 150);
    ito.addWallet(0x752A9D3d59b8DFbd0798C70c59CAf4A95b5D896e, 50);
    ito.addWallet(0xae3182c9B850843773714dC5384A38116F6ec135, 50);

    preITO.setNextSaleAgent(ito);

    token.transferOwnership(manager);
    preITO.transferOwnership(manager);
    ito.transferOwnership(manager);
  }

  function commonConfigure(AssembledCommonSale sale) internal {
    sale.setPercentRate(1000);
    sale.setMinInvestedLimit(20000000000000000);
    sale.setPrice(3184000000000000000000);
    sale.addValueBonus(3000000000000000000, 10);
    sale.addValueBonus(6000000000000000000, 15);
    sale.addValueBonus(9000000000000000000, 20);
    sale.addValueBonus(12000000000000000000, 25);
    sale.addValueBonus(15000000000000000000, 30);
    sale.addValueBonus(21000000000000000000, 40);
    sale.addValueBonus(30000000000000000000, 50);
    sale.addValueBonus(48000000000000000000, 60);
    sale.addValueBonus(75000000000000000000, 70);
    sale.addValueBonus(120000000000000000000, 80);
    sale.addValueBonus(150000000000000000000, 90);
    sale.addValueBonus(225000000000000000000, 100);
    sale.addValueBonus(300000000000000000000, 110);
    sale.addValueBonus(450000000000000000000, 120);
    sale.addValueBonus(600000000000000000000, 130);
    sale.addValueBonus(900000000000000000000, 150);
    sale.setToken(token);
  }

}

Contract ABI

[{"constant":false,"inputs":[{"name":"wallet","type":"address"},{"name":"percent","type":"uint256"}],"name":"addWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newPeriod","type":"uint256"}],"name":"setPeriod","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newToken","type":"address"}],"name":"setToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"bbwallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newPercentRate","type":"uint256"}],"name":"setPercentRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokens","type":"uint256"},{"name":"invested","type":"uint256"}],"name":"getValueBonusTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"anotherToken","type":"address"}],"name":"retrieveTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"directMintAgent","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"firstBonusLimitPercent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newDirectMintAgent","type":"address"}],"name":"setDirectMintAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"wallets","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"mintExtendedTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"percentRate","outputs":[{"name":"","type":"uint256"}],"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":"newFirstBonusLimitPercent","type":"uint256"}],"name":"setFirstBonusLimitPercent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newFirstBonusPercent","type":"uint256"}],"name":"setFirstBonusPercent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"mintTokensExternal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"price","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newMinInvestedLimit","type":"uint256"}],"name":"setMinInvestedLimit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"valueBonuses","outputs":[{"name":"from","type":"uint256"},{"name":"bonus","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hardcap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"uint256"},{"name":"bonus","type":"uint256"}],"name":"addValueBonus","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"start","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"firstBonusPercent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"_invested","type":"uint256"}],"name":"mintTokensByETHExternal","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"invested","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"value","type":"uint256"}],"name":"getValueBonus","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finish","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"minInvestedLimit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"endSaleDate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newWallet","type":"address"}],"name":"setWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newHardcap","type":"uint256"}],"name":"setHardcap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"period","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newStart","type":"uint256"}],"name":"setStart","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"cleanWallets","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

Contract Creation Code

60606040526103e860015560646003556103e860095561001d610068565b604051809103906000f080151561003357600080fd5b60128054600160a060020a0319908116600160a060020a03938416179091556000805490911633909216919091179055610078565b60405161047f8061135c83390190565b6112d5806100876000396000f3006060604052600436106101c95763ffffffff60e060020a6000350416630a2a9a0181146101d45780630f3a9f65146101f8578063144fa6d71461020e5780633a96df811461022d578063480b890d1461025c578063521eb2731461027257806354717ea9146102855780636341ca0b146102b05780636abc3fe4146102d557806370e32ae7146102e8578063769ffb7d146102fb5780637ad71f721461031a5780637e00d77a146103305780638090114f146103435780638da5cb5b146103565780638e66ca5f1461036957806391b7f5ed1461037f57806395af7006146103955780639bf6eb60146103ab578063a035b1fe146103cd578063a34d9270146103e0578063af78facf146103f6578063b071cbe614610424578063b8a4db8114610437578063be9a655514610450578063c588cabd14610463578063ca1e5bb714610476578063cafb220214610498578063cd7e3184146104ab578063d56b2889146104c1578063d64196f8146104d4578063d7d88043146104e7578063deaa59df146104fa578063e28fa27d14610519578063ef78d4fd1461052f578063f2fde38b14610542578063f6a03ebf14610561578063fc0c546a14610577578063fcf401701461058a575b6101d161059d565b50005b34156101df57600080fd5b6101f6600160a060020a03600435166024356105f7565b005b341561020357600080fd5b6101f660043561066d565b341561021957600080fd5b6101f6600160a060020a036004351661068d565b341561023857600080fd5b6102406106d7565b604051600160a060020a03909116815260200160405180910390f35b341561026757600080fd5b6101f66004356106e6565b341561027d57600080fd5b610240610706565b341561029057600080fd5b61029e600435602435610715565b60405190815260200160405180910390f35b34156102bb57600080fd5b6101f6600160a060020a0360043581169060243516610760565b34156102e057600080fd5b610240610863565b34156102f357600080fd5b61029e610872565b341561030657600080fd5b6101f6600160a060020a0360043516610878565b341561032557600080fd5b6102406004356108c2565b341561033b57600080fd5b6101f66108ea565b341561034e57600080fd5b61029e610aa3565b341561036157600080fd5b610240610aa9565b341561037457600080fd5b6101f6600435610ab8565b341561038a57600080fd5b6101f6600435610ad8565b34156103a057600080fd5b6101f6600435610b13565b34156103b657600080fd5b6101f6600160a060020a0360043516602435610b33565b34156103d857600080fd5b61029e610b77565b34156103eb57600080fd5b6101f6600435610b7d565b341561040157600080fd5b61040c600435610b9d565b60405191825260208201526040908101905180910390f35b341561042f57600080fd5b61029e610bc9565b341561044257600080fd5b6101f6600435602435610bcf565b341561045b57600080fd5b61029e610c38565b341561046e57600080fd5b61029e610c3e565b341561048157600080fd5b61029e600160a060020a0360043516602435610c44565b34156104a357600080fd5b61029e610c97565b34156104b657600080fd5b61029e600435610c9d565b34156104cc57600080fd5b6101f6610d13565b34156104df57600080fd5b61029e610e93565b34156104f257600080fd5b61029e610e99565b341561050557600080fd5b6101f6600160a060020a0360043516610ebd565b341561052457600080fd5b6101f6600435610f07565b341561053a57600080fd5b61029e610f27565b341561054d57600080fd5b6101f6600160a060020a0360043516610f2d565b341561056c57600080fd5b6101f6600435610fc8565b341561058257600080fd5b610240610fe8565b341561059557600080fd5b6101f6610ff7565b600034600d5481101515156105b157600080fd5b600c5442101580156105c957506105c6610e99565b42105b15156105d457600080fd5b6105dd34611022565b6105e634611055565b6105f0333461106e565b91505b5090565b60005433600160a060020a0390811691161461061257600080fd5b6007805460018101610624838261121a565b5060009182526020808320919091018054600160a060020a0390951673ffffffffffffffffffffffffffffffffffffffff19909516851790559281526008909252604090912055565b60005433600160a060020a0390811691161461068857600080fd5b600f55565b60005433600160a060020a039081169116146106a857600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b601254600160a060020a031681565b60005433600160a060020a0390811691161461070157600080fd5b600355565b600554600160a060020a031681565b60008061072183610c9d565b90508015156107335760009150610759565b6001546107569061074a868463ffffffff61109916565b9063ffffffff6110c416565b91505b5092915050565b6000805433600160a060020a0390811691161461077c57600080fd5b5080600160a060020a03811663a9059cbb84826370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156107dc57600080fd5b6102c65a03f115156107ed57600080fd5b5050506040518051905060006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561084357600080fd5b6102c65a03f1151561085457600080fd5b50505060405180515050505050565b600a54600160a060020a031681565b60115481565b60005433600160a060020a0390811691161461089357600080fd5b600a805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60078054829081106108d057fe5b600091825260209091200154600160a060020a0316905081565b60008054819081908190819033600160a060020a0390811691161461090e57600080fd5b60009450600093505b600754841015610976576109696008600060078781548110151561093757fe5b6000918252602080832090910154600160a060020a03168352820192909252604001902054869063ffffffff6110db16565b9450600190930192610917565b600654600160a060020a03166318160ddd6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156109be57600080fd5b6102c65a03f115156109cf57600080fd5b5050506040518051600954909450610a0691506109f2908763ffffffff6110ea16565b60095461074a90869063ffffffff61109916565b9150600090505b600754811015610a9c57610a94600782815481101515610a2957fe5b600091825260208220015460095460078054600160a060020a0390931693610a8f9361074a926008929189908110610a5d57fe5b6000918252602080832090910154600160a060020a03168352820192909252604001902054879063ffffffff61109916565b6110fc565b600101610a0d565b5050505050565b60095481565b600054600160a060020a031681565b60005433600160a060020a03908116911614610ad357600080fd5b601155565b600a5433600160a060020a0390811691161480610b03575060005433600160a060020a039081169116145b1515610b0e57600080fd5b600b55565b60005433600160a060020a03908116911614610b2e57600080fd5b601055565b600a5433600160a060020a0390811691161480610b5e575060005433600160a060020a039081169116145b1515610b6957600080fd5b610b7382826110fc565b5050565b600b5481565b60005433600160a060020a03908116911614610b9857600080fd5b600d55565b6002805482908110610bab57fe5b60009182526020909120600290910201805460019091015490915082565b600e5481565b60005433600160a060020a03908116911614610bea57600080fd5b6002805460018101610bfc8382611243565b91600052602060002090600202016000604080519081016040528581526020810185905291905081518155602082015181600101555050505050565b600c5481565b60105481565b600a5460009033600160a060020a0390811691161480610c72575060005433600160a060020a039081169116145b1515610c7d57600080fd5b610c8682611055565b610c90838361106e565b9392505050565b60045481565b600080805b600254811015610d08576002805482908110610cba57fe5b60009182526020909120600290910201548410610cf8576002805482908110610cdf57fe5b9060005260206000209060020201600101549150610d00565b819250610d0c565b600101610ca2565b8192505b5050919050565b60005433600160a060020a03908116911614610d2e57600080fd5b610d366108ea565b601254600654600160a060020a039182169163144fa6d7911660405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b1515610d8d57600080fd5b6102c65a03f11515610d9e57600080fd5b5050601254610dc29150600160a060020a03166a0422ca8b0a00a4250000006110fc565b601254600054600160a060020a039182169163f2fde38b911660405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b1515610e1957600080fd5b6102c65a03f11515610e2a57600080fd5b5050600654600160a060020a03169050637d64bcb46000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610e7657600080fd5b6102c65a03f11515610e8757600080fd5b50505060405180515050565b600d5481565b6000610eb7600f546201518002600c546110db90919063ffffffff16565b90505b90565b60005433600160a060020a03908116911614610ed857600080fd5b6005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a03908116911614610f2257600080fd5b600e55565b600f5481565b60005433600160a060020a03908116911614610f4857600080fd5b600160a060020a0381161515610f5d57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a03908116911614610fe357600080fd5b600c55565b600654600160a060020a031681565b60005433600160a060020a0390811691161461101257600080fd5b600061101f60078261121a565b50565b600554600160a060020a031681156108fc0282604051600060405180830381858888f19350505050151561101f57600080fd5b600454611068908263ffffffff6110db16565b60045550565b600080600e546004541115151561108457600080fd5b61108d8361117a565b9050610c9084826110fc565b6000808315156110ac5760009150610759565b508282028284828115156110bc57fe5b0414610c9057fe5b60008082848115156110d257fe5b04949350505050565b600082820183811015610c9057fe5b6000828211156110f657fe5b50900390565b600654600160a060020a03166340c10f19838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561115b57600080fd5b6102c65a03f1151561116c57600080fd5b505050604051805150505050565b60008060006111a0670de0b6b3a764000061074a600b548761109990919063ffffffff16565b91506111ac8285610715565b90506111cb60095461074a601154600e5461109990919063ffffffff16565b6004541015611202576111ff6111f260095461074a6010548661109990919063ffffffff16565b839063ffffffff6110db16565b91505b611212828263ffffffff6110db16565b949350505050565b81548183558181151161123e5760008381526020902061123e91810190830161126f565b505050565b81548183558181151161123e5760020281600202836000526020600020918201910161123e9190611289565b610eba91905b808211156105f35760008155600101611275565b610eba91905b808211156105f3576000808255600182015560020161128f5600a165627a7a72305820f85412655e448e6e210e4ef90ac2a62636f4450e0d74f99cfc29126f88d3d1f50029606060405260018054600160a060020a0319908116737e5f0d4070a55ebcf0a8a7d6f7abcef96312c129179091556000805433600160a060020a0316921691909117905561042d806100526000396000f30060606040526004361061007f5763ffffffff60e060020a600035041663144fa6d7811461008457806317d35f47146100a557806334cad6b8146100bb578063776d1a01146100ce5780638da5cb5b146100ed578063cf3090121461011c578063d4b8399214610141578063f2fde38b14610154578063fc0c546a14610173575b600080fd5b341561008f57600080fd5b6100a3600160a060020a0360043516610186565b005b34156100b057600080fd5b6100a36004356101d0565b34156100c657600080fd5b6100a36101f0565b34156100d957600080fd5b6100a3600160a060020a03600435166102e9565b34156100f857600080fd5b610100610333565b604051600160a060020a03909116815260200160405180910390f35b341561012757600080fd5b61012f610342565b60405190815260200160405180910390f35b341561014c57600080fd5b610100610348565b341561015f57600080fd5b6100a3600160a060020a0360043516610357565b341561017e57600080fd5b6101006103f2565b60005433600160a060020a039081169116146101a157600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146101eb57600080fd5b600255565b60025442116101fe57600080fd5b600354600154600160a060020a039182169163a9059cbb9116826370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561026557600080fd5b6102c65a03f1151561027657600080fd5b5050506040518051905060006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156102cc57600080fd5b6102c65a03f115156102dd57600080fd5b50505060405180515050565b60005433600160a060020a0390811691161461030457600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a031681565b60025481565b600154600160a060020a031681565b60005433600160a060020a0390811691161461037257600080fd5b600160a060020a038116151561038757600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600354600160a060020a0316815600a165627a7a7230582056e4d63639360352d7296e00cd8cbf75495908fa7a18cf19b4ab9108fa9331100029

Swarm Source

bzzr://56e4d63639360352d7296e00cd8cbf75495908fa7a18cf19b4ab9108fa933110
Block Age Transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward