ETH Price: $3,676.74 (-1.46%)

Contract

0xeA9cbceD36a092C596e9c18313536D0EEFacff46
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint Tokens Exte...62300322018-08-28 17:35:512287 days ago1535477751IN
0xeA9cbceD...EEFacff46
0 ETH0.0011164341
Mint Tokens Exte...62299812018-08-28 17:22:562287 days ago1535476976IN
0xeA9cbceD...EEFacff46
0 ETH0.0011164341
Mint Tokens Exte...62299612018-08-28 17:17:362287 days ago1535476656IN
0xeA9cbceD...EEFacff46
0 ETH0.00102541
Mint Tokens Exte...62288142018-08-28 12:36:322288 days ago1535459792IN
0xeA9cbceD...EEFacff46
0 ETH0.000162827
Mint Tokens Exte...62286402018-08-28 11:55:432288 days ago1535457343IN
0xeA9cbceD...EEFacff46
0 ETH0.000162827
Set Direct Mint ...61671902018-08-18 2:56:232298 days ago1534560983IN
0xeA9cbceD...EEFacff46
0 ETH0.0017945741
Change Milestone61656532018-08-17 20:27:022298 days ago1534537622IN
0xeA9cbceD...EEFacff46
0 ETH0.0018144541
Transfer61651402018-08-17 18:18:192298 days ago1534529899IN
0xeA9cbceD...EEFacff46
0.06 ETH0.0006830531
Transfer61604932018-08-16 23:25:032299 days ago1534461903IN
0xeA9cbceD...EEFacff46
17 ETH0.0006830531
Transfer61602782018-08-16 22:30:582299 days ago1534458658IN
0xeA9cbceD...EEFacff46
0.47 ETH0.0006830531
Transfer61602642018-08-16 22:28:462299 days ago1534458526IN
0xeA9cbceD...EEFacff46
0.47 ETH0.0006830531
Transfer61602572018-08-16 22:26:252299 days ago1534458385IN
0xeA9cbceD...EEFacff46
0.47 ETH0.0006830531
Transfer61602162018-08-16 22:16:502299 days ago1534457810IN
0xeA9cbceD...EEFacff46
17 ETH0.0006830531
Transfer61601652018-08-16 22:02:082299 days ago1534456928IN
0xeA9cbceD...EEFacff46
17 ETH0.0006830531
Transfer61598432018-08-16 20:45:112299 days ago1534452311IN
0xeA9cbceD...EEFacff46
17 ETH0.0006830531
Mint Tokens Exte...61589382018-08-16 17:12:022299 days ago1534439522IN
0xeA9cbceD...EEFacff46
0 ETH0.000327957
Transfer61587182018-08-16 16:21:002299 days ago1534436460IN
0xeA9cbceD...EEFacff46
0.02 ETH0.0006830531
Mint Tokens Exte...61571192018-08-16 9:54:232300 days ago1534413263IN
0xeA9cbceD...EEFacff46
0 ETH0.000537957
Mint Tokens Exte...61571042018-08-16 9:51:052300 days ago1534413065IN
0xeA9cbceD...EEFacff46
0 ETH0.000538397
Transfer61540372018-08-15 21:13:522300 days ago1534367632IN
0xeA9cbceD...EEFacff46
1 ETH0.00013226
Transfer61540262018-08-15 21:12:032300 days ago1534367523IN
0xeA9cbceD...EEFacff46
1 ETH0.000110175
Transfer61539722018-08-15 20:59:052300 days ago1534366745IN
0xeA9cbceD...EEFacff46
0.18169244 ETH0.0010135646
Transfer61539492018-08-15 20:54:262300 days ago1534366466IN
0xeA9cbceD...EEFacff46
0.18169244 ETH0.0010135646
Transfer61539042018-08-15 20:43:062300 days ago1534365786IN
0xeA9cbceD...EEFacff46
0 ETH0.000106485
Transfer61538962018-08-15 20:41:372300 days ago1534365697IN
0xeA9cbceD...EEFacff46
0.177 ETH0.0010135646
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
61701982018-08-18 15:21:262298 days ago1534605686
0xeA9cbceD...EEFacff46
0.25 ETH
61701982018-08-18 15:21:262298 days ago1534605686
0xeA9cbceD...EEFacff46
0.25 ETH
61701222018-08-18 15:02:562298 days ago1534604576
0xeA9cbceD...EEFacff46
0.03 ETH
61701222018-08-18 15:02:562298 days ago1534604576
0xeA9cbceD...EEFacff46
0.03 ETH
61699262018-08-18 14:09:552298 days ago1534601395
0xeA9cbceD...EEFacff46
0.03 ETH
61698162018-08-18 13:44:092298 days ago1534599849
0xeA9cbceD...EEFacff46
0.03 ETH
61696712018-08-18 13:04:232298 days ago1534597463
0xeA9cbceD...EEFacff46
0.035 ETH
61696612018-08-18 13:02:062298 days ago1534597326
0xeA9cbceD...EEFacff46
0.035 ETH
61695712018-08-18 12:39:542298 days ago1534595994
0xeA9cbceD...EEFacff46
0.03 ETH
61695712018-08-18 12:39:542298 days ago1534595994
0xeA9cbceD...EEFacff46
0.03 ETH
61694922018-08-18 12:16:492298 days ago1534594609
0xeA9cbceD...EEFacff46
0.03 ETH
61694872018-08-18 12:15:002298 days ago1534594500
0xeA9cbceD...EEFacff46
0.03 ETH
61694812018-08-18 12:13:182298 days ago1534594398
0xeA9cbceD...EEFacff46
0.03 ETH
61694712018-08-18 12:10:422298 days ago1534594242
0xeA9cbceD...EEFacff46
0.04 ETH
61694712018-08-18 12:10:422298 days ago1534594242
0xeA9cbceD...EEFacff46
0.03 ETH
61694712018-08-18 12:10:422298 days ago1534594242
0xeA9cbceD...EEFacff46
0.03 ETH
59800162018-07-17 10:17:232330 days ago1531822643
0xeA9cbceD...EEFacff46
0.05 ETH
59789512018-07-17 5:52:182330 days ago1531806738
0xeA9cbceD...EEFacff46
3 ETH
59698372018-07-15 16:43:502331 days ago1531673030
0xeA9cbceD...EEFacff46
0.42 ETH
59640812018-07-14 17:49:122332 days ago1531590552
0xeA9cbceD...EEFacff46
0.24 ETH
59622762018-07-14 10:39:022333 days ago1531564742
0xeA9cbceD...EEFacff46
1.52 ETH
59608832018-07-14 5:06:302333 days ago1531544790
0xeA9cbceD...EEFacff46
20 ETH
59518932018-07-12 17:03:082334 days ago1531414988
0xeA9cbceD...EEFacff46
0.03 ETH
59517892018-07-12 16:37:152334 days ago1531413435
0xeA9cbceD...EEFacff46
0.03 ETH
59121402018-07-05 21:39:492341 days ago1530826789
0xeA9cbceD...EEFacff46
0.77 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PreITO

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-04-23
*/

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 Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"newToken","type":"address"}],"name":"setToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newPercentRate","type":"uint256"}],"name":"setPercentRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"clearMilestones","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":"period","type":"uint256"},{"name":"bonus","type":"uint256"}],"name":"addMilestone","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"start","type":"uint256"}],"name":"currentMilestone","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"directMintAgent","outputs":[{"name":"","type":"address"}],"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":"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":true,"inputs":[],"name":"devWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"devLimit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newPrice","type":"uint256"}],"name":"setPrice","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":false,"inputs":[{"name":"numberAfter","type":"uint8"},{"name":"period","type":"uint256"},{"name":"bonus","type":"uint256"}],"name":"insertMilestone","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":false,"inputs":[{"name":"number","type":"uint8"}],"name":"removeMilestone","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"milestonesCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":false,"inputs":[{"name":"number","type":"uint8"},{"name":"period","type":"uint256"},{"name":"bonus","type":"uint256"}],"name":"changeMilestone","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"start","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":true,"inputs":[],"name":"devBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalPeriod","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":true,"inputs":[],"name":"nextSaleAgent","outputs":[{"name":"","type":"address"}],"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":false,"inputs":[{"name":"newNextSaleAgent","type":"address"}],"name":"setNextSaleAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"milestones","outputs":[{"name":"period","type":"uint256"},{"name":"bonus","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":true,"inputs":[{"name":"start","type":"uint256"}],"name":"lastSaleDate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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"}]

60606040526103e8600155606460035560008054600160a060020a033316600160a060020a03199091161790556114bb8061003b6000396000f3006060604052600436106101f55763ffffffff60e060020a600035041663144fa6d78114610200578063480b890d146102215780634c94ac6a14610237578063521eb2731461024a57806354717ea9146102795780635601477b146102a45780636341ca0b146102bd5780636793c8e1146102e25780636abc3fe4146102f8578063769ffb7d1461030b5780638090114f1461032a5780638da5cb5b1461033d5780638ea5220f1461035057806390525c051461036357806391b7f5ed146103765780639bf6eb601461038c5780639dc905bb146103ae578063a035b1fe146103cd578063a34d9270146103e0578063aa525c55146103f6578063ab36e4a61461040f578063af78facf14610422578063b071cbe614610450578063b8a4db8114610463578063bd17647f1461047c578063be9a65551461049b578063ca1e5bb7146104ae578063cafb2202146104d0578063cd7e3184146104e3578063cd9a1b63146104f9578063ce14a46e1461050c578063d56b28891461051f578063d64196f814610532578063d7d8804314610545578063de38460b14610558578063deaa59df1461056b578063e28fa27d1461058a578063e4deb007146105a0578063e89e4ed6146105bf578063f2fde38b146105d5578063f6a03ebf146105f4578063fc0c546a1461060a578063fd83da091461061d575b6101fd610633565b50005b341561020b57600080fd5b61021f600160a060020a036004351661068d565b005b341561022c57600080fd5b61021f6004356106d7565b341561024257600080fd5b61021f6106f7565b341561025557600080fd5b61025d610776565b604051600160a060020a03909116815260200160405180910390f35b341561028457600080fd5b610292600435602435610785565b60405190815260200160405180910390f35b34156102af57600080fd5b61021f6004356024356107d0565b34156102c857600080fd5b61021f600160a060020a036004358116906024351661085c565b34156102ed57600080fd5b610292600435610945565b341561030357600080fd5b61025d6109e1565b341561031657600080fd5b61021f600160a060020a03600435166109f0565b341561033557600080fd5b610292610a3a565b341561034857600080fd5b61025d610a40565b341561035b57600080fd5b61025d610a4f565b341561036e57600080fd5b610292610a67565b341561038157600080fd5b61021f600435610a74565b341561039757600080fd5b61021f600160a060020a0360043516602435610aaf565b34156103b957600080fd5b61021f60ff60043516602435604435610af3565b34156103d857600080fd5b610292610c01565b34156103eb57600080fd5b61021f600435610c07565b341561040157600080fd5b61021f60ff60043516610c27565b341561041a57600080fd5b610292610d3a565b341561042d57600080fd5b610438600435610d41565b60405191825260208201526040908101905180910390f35b341561045b57600080fd5b610292610d6d565b341561046e57600080fd5b61021f600435602435610d73565b341561048757600080fd5b61021f60ff60043516602435604435610ddc565b34156104a657600080fd5b610292610e6c565b34156104b957600080fd5b610292600160a060020a0360043516602435610e72565b34156104db57600080fd5b610292610ec5565b34156104ee57600080fd5b610292600435610ecb565b341561050457600080fd5b610292610f36565b341561051757600080fd5b610292610f3c565b341561052a57600080fd5b61021f610f42565b341561053d57600080fd5b610292610fc6565b341561055057600080fd5b610292610fcc565b341561056357600080fd5b61025d610fde565b341561057657600080fd5b61021f600160a060020a0360043516610fed565b341561059557600080fd5b61021f600435611037565b34156105ab57600080fd5b61021f600160a060020a0360043516611057565b34156105ca57600080fd5b6104386004356110a1565b34156105e057600080fd5b61021f600160a060020a03600435166110af565b34156105ff57600080fd5b61021f60043561114a565b341561061557600080fd5b61025d61116a565b341561062857600080fd5b610292600435611179565b600034600a54811015151561064757600080fd5b600954421015801561065f575061065c610fcc565b42105b151561066a57600080fd5b61067334611185565b61067c34611279565b6106863334611292565b91505b5090565b60005433600160a060020a039081169116146106a857600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146106f257600080fd5b600355565b6000805433600160a060020a0390811691161461071357600080fd5b600f546000901161072357600080fd5b5060005b600f5481101561076057600f80548290811061073f57fe5b60009182526020822060029091020181815560019081019190915501610727565b600061076d600f8261144b565b50506000600e55565b600554600160a060020a031681565b60008061079183610ecb565b90508015156107a357600091506107c9565b6001546107c6906107ba868463ffffffff6112bd16565b9063ffffffff6112e816565b91505b5092915050565b60005433600160a060020a039081169116146107eb57600080fd5b600082116107f857600080fd5b600f80546001810161080a838261144b565b9160005260206000209060020201600060408051908101604052858152602081018590529190508151815560208201516001909101555050600e54610855908363ffffffff6112ff16565b600e555050565b6000805433600160a060020a0390811691161461087857600080fd5b5080600160a060020a03811663a9059cbb84826370a082313060405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156108cf57600080fd5b5af115156108dc57600080fd5b5050506040518051905060405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561092957600080fd5b5af1151561093657600080fd5b50505060405180515050505050565b600081815b600f548110156109d5578142101580156109895750600f80548290811061096d57fe5b9060005260206000209060020201600001546201518002820142105b15610996578092506109da565b6109cb600f828154811015156109a857fe5b60009182526020909120600290910201548390620151800263ffffffff6112ff16565b915060010161094a565b600080fd5b5050919050565b600754600160a060020a031681565b60005433600160a060020a03908116911614610a0b57600080fd5b6007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60035481565b600054600160a060020a031681565b73ea15adb66dc92a4bbccc8bf32fd25e2e86a2a77081565b68010e9deaaf401e000081565b60075433600160a060020a0390811691161480610a9f575060005433600160a060020a039081169116145b1515610aaa57600080fd5b600855565b60075433600160a060020a0390811691161480610ada575060005433600160a060020a039081169116145b1515610ae557600080fd5b610aef828261130e565b5050565b6000805433600160a060020a03908116911614610b0f57600080fd5b600f5460ff851610610b2057600080fd5b600e54610b33908463ffffffff6112ff16565b600e55600f805490610b48906001830161144b565b5050600f54600119015b8360ff16811115610bb257600f805482908110610b6b57fe5b9060005260206000209060020201600f82600101815481101515610b8b57fe5b60009182526020909120825460029092020190815560019182015491015560001901610b52565b6040805190810160405283815260208101839052600f805460ff6001880116908110610bda57fe5b90600052602060002090600202016000820151815560208201516001909101555050505050565b60085481565b60005433600160a060020a03908116911614610c2257600080fd5b600a55565b60008054819033600160a060020a03908116911614610c4557600080fd5b600f5460ff841610610c5657600080fd5b600f805460ff8516908110610c6757fe5b90600052602060002090600202019150610c908260000154600e5461137f90919063ffffffff16565b600e55600f805460ff8516908110610ca457fe5b600091825260208220600290910201818155600101555060ff82165b600f5460001901811015610d2157600f805460018301908110610cdf57fe5b9060005260206000209060020201600f82815481101515610cfc57fe5b6000918252602090912082546002909202019081556001918201549082015501610cc0565b600f805490610d3490600019830161144b565b50505050565b600f545b90565b6002805482908110610d4f57fe5b60009182526020909120600290910201805460019091015490915082565b600b5481565b60005433600160a060020a03908116911614610d8e57600080fd5b6002805460018101610da0838261144b565b91600052602060002090600202016000604080519081016040528581526020810185905291905081518155602082015181600101555050505050565b6000805433600160a060020a03908116911614610df857600080fd5b600f5460ff851610610e0957600080fd5b600f805460ff8616908110610e1a57fe5b90600052602060002090600202019050610e438160000154600e5461137f90919063ffffffff16565b600e9081558382556001820183905554610e63908463ffffffff6112ff16565b600e5550505050565b60095481565b60075460009033600160a060020a0390811691161480610ea0575060005433600160a060020a039081169116145b1515610eab57600080fd5b610eb482611279565b610ebe8383611292565b9392505050565b60045481565b600080805b6002548110156107c9576002805482908110610ee857fe5b60009182526020909120600290910201548410610f26576002805482908110610f0d57fe5b9060005260206000209060020201600101549150610f2e565b8192506109da565b600101610ed0565b600c5481565b600e5481565b60005433600160a060020a03908116911614610f5d57600080fd5b600654600d54600160a060020a03918216916314133a7c911660405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b1515610fb457600080fd5b5af11515610fc157600080fd5b505050565b600a5481565b6000610fd9600954611179565b905090565b600d54600160a060020a031681565b60005433600160a060020a0390811691161461100857600080fd5b6005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a0390811691161461105257600080fd5b600b55565b60005433600160a060020a0390811691161461107257600080fd5b600d805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600f805482908110610d4f57fe5b60005433600160a060020a039081169116146110ca57600080fd5b600160a060020a03811615156110df57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a0390811691161461116557600080fd5b600955565b600654600160a060020a031681565b600e5462015180020190565b600c5468010e9deaaf401e000003600081111561124657818111156111ab5750806111ef565b600554600160a060020a03166108fc6111ca848463ffffffff61137f16565b9081150290604051600060405180830381858888f1935050505015156111ef57600080fd5b73ea15adb66dc92a4bbccc8bf32fd25e2e86a2a77081156108fc0282604051600060405180830381858888f19350505050151561122b57600080fd5b600c5461123e908263ffffffff6112ff16565b600c55610aef565b600554600160a060020a031682156108fc0283604051600060405180830381858888f193505050501515610aef57600080fd5b60045461128c908263ffffffff6112ff16565b60045550565b600080600b54600454111515156112a857600080fd5b6112b183611391565b9050610ebe848261130e565b6000808315156112d057600091506107c9565b508282028284828115156112e057fe5b0414610ebe57fe5b60008082848115156112f657fe5b04949350505050565b600082820183811015610ebe57fe5b600654600160a060020a03166340c10f19838360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561136457600080fd5b5af1151561137157600080fd5b505050604051805150505050565b60008282111561138b57fe5b50900390565b60008060008060006113a4600954610945565b9350600f848154811015156113b557fe5b906000526020600020906002020192506113e6670de0b6b3a76400006107ba600854896112bd90919063ffffffff16565b91506113f28287610785565b90506000836001015411156114315761142e6114216003546107ba8660010154866112bd90919063ffffffff16565b839063ffffffff6112ff16565b91505b611441828263ffffffff6112ff16565b9695505050505050565b815481835581811511610fc157600083815260209020610fc191610d3e9160029182028101918502015b8082111561068957600080825560018201556002016114755600a165627a7a72305820a6356b071cc034ff897acfe8bb2644506af184ac0b734befa07301e9c57ea1d00029

Deployed Bytecode

0x6060604052600436106101f55763ffffffff60e060020a600035041663144fa6d78114610200578063480b890d146102215780634c94ac6a14610237578063521eb2731461024a57806354717ea9146102795780635601477b146102a45780636341ca0b146102bd5780636793c8e1146102e25780636abc3fe4146102f8578063769ffb7d1461030b5780638090114f1461032a5780638da5cb5b1461033d5780638ea5220f1461035057806390525c051461036357806391b7f5ed146103765780639bf6eb601461038c5780639dc905bb146103ae578063a035b1fe146103cd578063a34d9270146103e0578063aa525c55146103f6578063ab36e4a61461040f578063af78facf14610422578063b071cbe614610450578063b8a4db8114610463578063bd17647f1461047c578063be9a65551461049b578063ca1e5bb7146104ae578063cafb2202146104d0578063cd7e3184146104e3578063cd9a1b63146104f9578063ce14a46e1461050c578063d56b28891461051f578063d64196f814610532578063d7d8804314610545578063de38460b14610558578063deaa59df1461056b578063e28fa27d1461058a578063e4deb007146105a0578063e89e4ed6146105bf578063f2fde38b146105d5578063f6a03ebf146105f4578063fc0c546a1461060a578063fd83da091461061d575b6101fd610633565b50005b341561020b57600080fd5b61021f600160a060020a036004351661068d565b005b341561022c57600080fd5b61021f6004356106d7565b341561024257600080fd5b61021f6106f7565b341561025557600080fd5b61025d610776565b604051600160a060020a03909116815260200160405180910390f35b341561028457600080fd5b610292600435602435610785565b60405190815260200160405180910390f35b34156102af57600080fd5b61021f6004356024356107d0565b34156102c857600080fd5b61021f600160a060020a036004358116906024351661085c565b34156102ed57600080fd5b610292600435610945565b341561030357600080fd5b61025d6109e1565b341561031657600080fd5b61021f600160a060020a03600435166109f0565b341561033557600080fd5b610292610a3a565b341561034857600080fd5b61025d610a40565b341561035b57600080fd5b61025d610a4f565b341561036e57600080fd5b610292610a67565b341561038157600080fd5b61021f600435610a74565b341561039757600080fd5b61021f600160a060020a0360043516602435610aaf565b34156103b957600080fd5b61021f60ff60043516602435604435610af3565b34156103d857600080fd5b610292610c01565b34156103eb57600080fd5b61021f600435610c07565b341561040157600080fd5b61021f60ff60043516610c27565b341561041a57600080fd5b610292610d3a565b341561042d57600080fd5b610438600435610d41565b60405191825260208201526040908101905180910390f35b341561045b57600080fd5b610292610d6d565b341561046e57600080fd5b61021f600435602435610d73565b341561048757600080fd5b61021f60ff60043516602435604435610ddc565b34156104a657600080fd5b610292610e6c565b34156104b957600080fd5b610292600160a060020a0360043516602435610e72565b34156104db57600080fd5b610292610ec5565b34156104ee57600080fd5b610292600435610ecb565b341561050457600080fd5b610292610f36565b341561051757600080fd5b610292610f3c565b341561052a57600080fd5b61021f610f42565b341561053d57600080fd5b610292610fc6565b341561055057600080fd5b610292610fcc565b341561056357600080fd5b61025d610fde565b341561057657600080fd5b61021f600160a060020a0360043516610fed565b341561059557600080fd5b61021f600435611037565b34156105ab57600080fd5b61021f600160a060020a0360043516611057565b34156105ca57600080fd5b6104386004356110a1565b34156105e057600080fd5b61021f600160a060020a03600435166110af565b34156105ff57600080fd5b61021f60043561114a565b341561061557600080fd5b61025d61116a565b341561062857600080fd5b610292600435611179565b600034600a54811015151561064757600080fd5b600954421015801561065f575061065c610fcc565b42105b151561066a57600080fd5b61067334611185565b61067c34611279565b6106863334611292565b91505b5090565b60005433600160a060020a039081169116146106a857600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146106f257600080fd5b600355565b6000805433600160a060020a0390811691161461071357600080fd5b600f546000901161072357600080fd5b5060005b600f5481101561076057600f80548290811061073f57fe5b60009182526020822060029091020181815560019081019190915501610727565b600061076d600f8261144b565b50506000600e55565b600554600160a060020a031681565b60008061079183610ecb565b90508015156107a357600091506107c9565b6001546107c6906107ba868463ffffffff6112bd16565b9063ffffffff6112e816565b91505b5092915050565b60005433600160a060020a039081169116146107eb57600080fd5b600082116107f857600080fd5b600f80546001810161080a838261144b565b9160005260206000209060020201600060408051908101604052858152602081018590529190508151815560208201516001909101555050600e54610855908363ffffffff6112ff16565b600e555050565b6000805433600160a060020a0390811691161461087857600080fd5b5080600160a060020a03811663a9059cbb84826370a082313060405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156108cf57600080fd5b5af115156108dc57600080fd5b5050506040518051905060405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561092957600080fd5b5af1151561093657600080fd5b50505060405180515050505050565b600081815b600f548110156109d5578142101580156109895750600f80548290811061096d57fe5b9060005260206000209060020201600001546201518002820142105b15610996578092506109da565b6109cb600f828154811015156109a857fe5b60009182526020909120600290910201548390620151800263ffffffff6112ff16565b915060010161094a565b600080fd5b5050919050565b600754600160a060020a031681565b60005433600160a060020a03908116911614610a0b57600080fd5b6007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60035481565b600054600160a060020a031681565b73ea15adb66dc92a4bbccc8bf32fd25e2e86a2a77081565b68010e9deaaf401e000081565b60075433600160a060020a0390811691161480610a9f575060005433600160a060020a039081169116145b1515610aaa57600080fd5b600855565b60075433600160a060020a0390811691161480610ada575060005433600160a060020a039081169116145b1515610ae557600080fd5b610aef828261130e565b5050565b6000805433600160a060020a03908116911614610b0f57600080fd5b600f5460ff851610610b2057600080fd5b600e54610b33908463ffffffff6112ff16565b600e55600f805490610b48906001830161144b565b5050600f54600119015b8360ff16811115610bb257600f805482908110610b6b57fe5b9060005260206000209060020201600f82600101815481101515610b8b57fe5b60009182526020909120825460029092020190815560019182015491015560001901610b52565b6040805190810160405283815260208101839052600f805460ff6001880116908110610bda57fe5b90600052602060002090600202016000820151815560208201516001909101555050505050565b60085481565b60005433600160a060020a03908116911614610c2257600080fd5b600a55565b60008054819033600160a060020a03908116911614610c4557600080fd5b600f5460ff841610610c5657600080fd5b600f805460ff8516908110610c6757fe5b90600052602060002090600202019150610c908260000154600e5461137f90919063ffffffff16565b600e55600f805460ff8516908110610ca457fe5b600091825260208220600290910201818155600101555060ff82165b600f5460001901811015610d2157600f805460018301908110610cdf57fe5b9060005260206000209060020201600f82815481101515610cfc57fe5b6000918252602090912082546002909202019081556001918201549082015501610cc0565b600f805490610d3490600019830161144b565b50505050565b600f545b90565b6002805482908110610d4f57fe5b60009182526020909120600290910201805460019091015490915082565b600b5481565b60005433600160a060020a03908116911614610d8e57600080fd5b6002805460018101610da0838261144b565b91600052602060002090600202016000604080519081016040528581526020810185905291905081518155602082015181600101555050505050565b6000805433600160a060020a03908116911614610df857600080fd5b600f5460ff851610610e0957600080fd5b600f805460ff8616908110610e1a57fe5b90600052602060002090600202019050610e438160000154600e5461137f90919063ffffffff16565b600e9081558382556001820183905554610e63908463ffffffff6112ff16565b600e5550505050565b60095481565b60075460009033600160a060020a0390811691161480610ea0575060005433600160a060020a039081169116145b1515610eab57600080fd5b610eb482611279565b610ebe8383611292565b9392505050565b60045481565b600080805b6002548110156107c9576002805482908110610ee857fe5b60009182526020909120600290910201548410610f26576002805482908110610f0d57fe5b9060005260206000209060020201600101549150610f2e565b8192506109da565b600101610ed0565b600c5481565b600e5481565b60005433600160a060020a03908116911614610f5d57600080fd5b600654600d54600160a060020a03918216916314133a7c911660405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b1515610fb457600080fd5b5af11515610fc157600080fd5b505050565b600a5481565b6000610fd9600954611179565b905090565b600d54600160a060020a031681565b60005433600160a060020a0390811691161461100857600080fd5b6005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a0390811691161461105257600080fd5b600b55565b60005433600160a060020a0390811691161461107257600080fd5b600d805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600f805482908110610d4f57fe5b60005433600160a060020a039081169116146110ca57600080fd5b600160a060020a03811615156110df57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a0390811691161461116557600080fd5b600955565b600654600160a060020a031681565b600e5462015180020190565b600c5468010e9deaaf401e000003600081111561124657818111156111ab5750806111ef565b600554600160a060020a03166108fc6111ca848463ffffffff61137f16565b9081150290604051600060405180830381858888f1935050505015156111ef57600080fd5b73ea15adb66dc92a4bbccc8bf32fd25e2e86a2a77081156108fc0282604051600060405180830381858888f19350505050151561122b57600080fd5b600c5461123e908263ffffffff6112ff16565b600c55610aef565b600554600160a060020a031682156108fc0283604051600060405180830381858888f193505050501515610aef57600080fd5b60045461128c908263ffffffff6112ff16565b60045550565b600080600b54600454111515156112a857600080fd5b6112b183611391565b9050610ebe848261130e565b6000808315156112d057600091506107c9565b508282028284828115156112e057fe5b0414610ebe57fe5b60008082848115156112f657fe5b04949350505050565b600082820183811015610ebe57fe5b600654600160a060020a03166340c10f19838360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561136457600080fd5b5af1151561137157600080fd5b505050604051805150505050565b60008282111561138b57fe5b50900390565b60008060008060006113a4600954610945565b9350600f848154811015156113b557fe5b906000526020600020906002020192506113e6670de0b6b3a76400006107ba600854896112bd90919063ffffffff16565b91506113f28287610785565b90506000836001015411156114315761142e6114216003546107ba8660010154866112bd90919063ffffffff16565b839063ffffffff6112ff16565b91505b611441828263ffffffff6112ff16565b9695505050505050565b815481835581811511610fc157600083815260209020610fc191610d3e9160029182028101918502015b8082111561068957600080825560018201556002016114755600a165627a7a72305820a6356b071cc034ff897acfe8bb2644506af184ac0b734befa07301e9c57ea1d00029

Swarm Source

bzzr://a6356b071cc034ff897acfe8bb2644506af184ac0b734befa07301e9c57ea1d0

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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