ETH Price: $3,355.65 (-0.98%)

Token

XYZethr (XYZTH)
 

Overview

Max Total Supply

5,545.76500290412588 XYZTH

Holders

78

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.145836751355 XYZTH

Value
$0.00
0x92775c6a8b89204cfb9c034f7f52ade470028db4
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
XYZethr

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

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

pragma solidity ^0.4.24;

/**

  https://xyzethr.tk https://xyzethr.tk  https://xyzethr.tk  https://xyzethr.tk  https://xyzethr.tk 


 __    __  __      __  ________  ________  ________  __    __  _______  
|  \  |  \|  \    /  \|        \|        \|        \|  \  |  \|       \ 
| $$  | $$ \$$\  /  $$ \$$$$$$$$| $$$$$$$$ \$$$$$$$$| $$  | $$| $$$$$$$\
 \$$\/  $$  \$$\/  $$     /  $$ | $$__       | $$   | $$__| $$| $$__| $$
  >$$  $$    \$$  $$     /  $$  | $$  \      | $$   | $$    $$| $$    $$
 /  $$$$\     \$$$$     /  $$   | $$$$$      | $$   | $$$$$$$$| $$$$$$$\
|  $$ \$$\    | $$     /  $$___ | $$_____    | $$   | $$  | $$| $$  | $$
| $$  | $$    | $$    |  $$    \| $$     \   | $$   | $$  | $$| $$  | $$
 \$$   \$$     \$$     \$$$$$$$$ \$$$$$$$$    \$$    \$$   \$$ \$$   \$$
                                                                        
                                                                        
                                                                        


.------..------..------..------.     .------..------..------..------..------..------..------.
|M.--. ||O.--. ||R.--. ||E.--. |.-.  |L.--. ||E.--. ||T.--. ||T.--. ||E.--. ||R.--. ||S.--. |
| (\/) || :/\: || :(): || (\/) ((5)) | :/\: || (\/) || :/\: || :/\: || (\/) || :(): || :/\: |
| :\/: || :\/: || ()() || :\/: |'-.-.| (__) || :\/: || (__) || (__) || :\/: || ()() || :\/: |
| '--'M|| '--'O|| '--'R|| '--'E| ((1)) '--'L|| '--'E|| '--'T|| '--'T|| '--'E|| '--'R|| '--'S|
`------'`------'`------'`------'  '-'`------'`------'`------'`------'`------'`------'`------'


An interactive, variable-dividend rate contract with an ICO-capped price floor and collectibles.



**/

contract XYZethr {
  using SafeMath for uint;

  /*=================================
  =            MODIFIERS            =
  =================================*/

  modifier onlyHolders() {
    require(myFrontEndTokens() > 0);
    _;
  }

  modifier dividendHolder() {
    require(myDividends(true) > 0);
    _;
  }

  modifier onlyAdministrator(){
    address _customerAddress = msg.sender;
    require(administrators[_customerAddress]);
    _;
  }

  /*==============================
  =            EVENTS            =
  ==============================*/

  event onTokenPurchase(
    address indexed customerAddress,
    uint incomingEthereum,
    uint tokensMinted,
    address indexed referredBy
  );

  event UserDividendRate(
    address user,
    uint divRate
  );

  event onTokenSell(
    address indexed customerAddress,
    uint tokensBurned,
    uint ethereumEarned
  );

  event onReinvestment(
    address indexed customerAddress,
    uint ethereumReinvested,
    uint tokensMinted
  );

  event onWithdraw(
    address indexed customerAddress,
    uint ethereumWithdrawn
  );

  event Transfer(
    address indexed from,
    address indexed to,
    uint tokens
  );

  event Approval(
    address indexed tokenOwner,
    address indexed spender,
    uint tokens
  );

  event Allocation(
    uint toBankRoll,
    uint toReferrer,
    uint toTokenHolders,
    uint toDivCardHolders,
    uint forTokens
  );

  event Referral(
    address referrer,
    uint amountReceived
  );

  /*=====================================
  =            CONSTANTS                =
  =====================================*/

  uint8 constant public                decimals              = 18;

  uint constant internal               tokenPriceInitial_    = 0.000653 ether;
  uint constant internal               magnitude             = 2**64;

  uint constant internal               icoHardCap            = 250 ether;   
  uint constant internal               addressICOLimit       = 1   ether;
  uint constant internal               icoMinBuyIn           = 0.1 finney;
  uint constant internal               icoMaxGasPrice        = 50000000000 wei;

  uint constant internal               MULTIPLIER            = 9615;

  uint constant internal               MIN_ETH_BUYIN         = 0.0001 ether;
  uint constant internal               MIN_TOKEN_SELL_AMOUNT = 0.0001 ether;
  uint constant internal               MIN_TOKEN_TRANSFER    = 1e10;
  uint constant internal               referrer_percentage   = 25;

  uint public                          stakingRequirement    = 100e18;

  /*================================
   =          CONFIGURABLES         =
   ================================*/

  string public                        name               = "XYZethr";
  string public                        symbol             = "XYZTH";

  bytes32 constant public              icoHashedPass      = bytes32(0x5ddcde33b94b19bdef79dd9ea75be591942b9ec78286d64b44a356280fb6a262);

  address internal                     bankrollAddress;

  ZethrDividendCards                   divCardContract;

  /*================================
   =            DATASETS            =
   ================================*/

  // Tracks front & backend tokens
  mapping(address => uint) internal    frontTokenBalanceLedger_;
  mapping(address => uint) internal    dividendTokenBalanceLedger_;
  mapping(address =>
  mapping (address => uint))
  public      allowed;

  // Tracks dividend rates for users
  mapping(uint8   => bool)    internal validDividendRates_;
  mapping(address => bool)    internal userSelectedRate;
  mapping(address => uint8)   internal userDividendRate;

  // Payout tracking
  mapping(address => uint)    internal referralBalance_;
  mapping(address => int256)  internal payoutsTo_;

  // ICO per-address limit tracking
  mapping(address => uint)    internal ICOBuyIn;

  uint public                          tokensMintedDuringICO;
  uint public                          ethInvestedDuringICO;

  uint public                          currentEthInvested;

  uint internal                        tokenSupply    = 0;
  uint internal                        divTokenSupply = 0;

  uint internal                        profitPerDivToken;

  mapping(address => bool) public      administrators;

  bool public                          icoPhase     = false;
  bool public                          regularPhase = false;

  uint                                 icoOpenTime;

  /*=======================================
  =            PUBLIC FUNCTIONS           =
  =======================================*/
  constructor (address _bankrollAddress, address _divCardAddress)
  public
  {
    bankrollAddress = _bankrollAddress;
    divCardContract = ZethrDividendCards(_divCardAddress);

    administrators[msg.sender] = true; 
   

    validDividendRates_[2] = true;
    validDividendRates_[5] = true;
    validDividendRates_[10] = true;
    validDividendRates_[15] = true;
    validDividendRates_[20] = true;
    validDividendRates_[25] = true;
    validDividendRates_[33] = true;

    userSelectedRate[bankrollAddress] = true;
    userDividendRate[bankrollAddress] = 33;

  }

  /**
   * Same as buy, but explicitly sets your dividend percentage.
   * If this has been called before, it will update your `default' dividend
   *   percentage for regular buy transactions going forward.
   */
  function buyAndSetDivPercentage(address _referredBy, uint8 _divChoice, string providedUnhashedPass)
  public
  payable
  returns (uint)
  {
    require(icoPhase || regularPhase);

    if (icoPhase) {
 
      // Anti-bot measures - not perfect, but should help some.
      bytes32 hashedProvidedPass = keccak256(providedUnhashedPass);
     // require(hashedProvidedPass == icoHashedPass || msg.sender == bankrollAddress);

      uint gasPrice = tx.gasprice;

      // Prevents ICO buyers from getting substantially burned if the ICO is reached
      //   before their transaction is processed.
      
      //require(gasPrice <= icoMaxGasPrice && ethInvestedDuringICO <= icoHardCap);

    }

    // Dividend percentage should be a currently accepted value.
    require (validDividendRates_[_divChoice]);

    // Set the dividend fee percentage denominator.
    userSelectedRate[msg.sender] = true;
    userDividendRate[msg.sender] = _divChoice;
    emit UserDividendRate(msg.sender, _divChoice);

    // Finally, purchase tokens.
    purchaseTokens(msg.value, _referredBy);
  }

  // All buys except for the above one require regular phase.

  function buy(address _referredBy)
  public
  payable
  returns(uint)
  {
    require(regularPhase);
    address _customerAddress = msg.sender;
    require (userSelectedRate[_customerAddress]);
    purchaseTokens(msg.value, _referredBy);
  }

  function buyAndTransfer(address _referredBy, address target)
  public
  payable
  {
    bytes memory empty;
    buyAndTransfer(_referredBy,target, empty, 20);
  }

  function buyAndTransfer(address _referredBy, address target, bytes _data)
  public
  payable
  {
    buyAndTransfer(_referredBy, target, _data, 20);
  }

  // Overload
  function buyAndTransfer(address _referredBy, address target, bytes _data, uint8 divChoice)
  public
  payable
  {
    require(regularPhase);
    address _customerAddress = msg.sender;
    uint256 frontendBalance = frontTokenBalanceLedger_[msg.sender];
    if (userSelectedRate[_customerAddress] && divChoice == 0) {
      purchaseTokens(msg.value, _referredBy);
    } else {
      buyAndSetDivPercentage(_referredBy, divChoice, "0x0");
    }
    uint256 difference = SafeMath.sub(frontTokenBalanceLedger_[msg.sender], frontendBalance);
    transferTo(msg.sender, target, difference, _data);
  }

  // Fallback function only works during regular phase - part of anti-bot protection.
  function()
  payable
  public
  {
    /**
    / If the user has previously set a dividend rate, sending
    /   Ether directly to the contract simply purchases more at
    /   the most recent rate. If this is their first time, they
    /   are automatically placed into the 20% rate `bucket'.
    **/
    require(regularPhase);
    address _customerAddress = msg.sender;
    if (userSelectedRate[_customerAddress]) {
      purchaseTokens(msg.value, 0x0);
    } else {
      buyAndSetDivPercentage(0x0, 20, "0x0");
    }
  }

  function reinvest()
  dividendHolder()
  public
  {
    require(regularPhase);
    uint _dividends = myDividends(false);

    // Pay out requisite `virtual' dividends.
    address _customerAddress            = msg.sender;
    payoutsTo_[_customerAddress]       += (int256) (_dividends * magnitude);

    _dividends                         += referralBalance_[_customerAddress];
    referralBalance_[_customerAddress]  = 0;

    uint _tokens                        = purchaseTokens(_dividends, 0x0);

    // Fire logging event.
    emit onReinvestment(_customerAddress, _dividends, _tokens);
  }

  function exit()
  public
  {
    require(regularPhase);
    // Retrieve token balance for caller, then sell them all.
    address _customerAddress = msg.sender;
    uint _tokens             = frontTokenBalanceLedger_[_customerAddress];

    if(_tokens > 0) sell(_tokens);

    withdraw(_customerAddress);
  }

  function withdraw(address _recipient)
  dividendHolder()
  public
  {
    require(regularPhase);
    // Setup data
    address _customerAddress           = msg.sender;
    uint _dividends                    = myDividends(false);

    // update dividend tracker
    payoutsTo_[_customerAddress]       +=  (int256) (_dividends * magnitude);

    // add ref. bonus
    _dividends                         += referralBalance_[_customerAddress];
    referralBalance_[_customerAddress]  = 0;

    if (_recipient == address(0x0)){
      _recipient = msg.sender;
    }
    _recipient.transfer(_dividends);

    // Fire logging event.
    emit onWithdraw(_recipient, _dividends);
  }

  // Sells front-end tokens.
  // Logic concerning step-pricing of tokens pre/post-ICO is encapsulated in tokensToEthereum_.
  function sell(uint _amountOfTokens)
  onlyHolders()
  public
  {
    // No selling during the ICO. You don't get to flip that fast, sorry!
    require(!icoPhase);
    require(regularPhase);

    require(_amountOfTokens <= frontTokenBalanceLedger_[msg.sender]);

    uint _frontEndTokensToBurn = _amountOfTokens;

    // Calculate how many dividend tokens this action burns.
    // Computed as the caller's average dividend rate multiplied by the number of front-end tokens held.
    // As an additional guard, we ensure that the dividend rate is between 2 and 50 inclusive.
    uint userDivRate  = getUserAverageDividendRate(msg.sender);
    require ((2*magnitude) <= userDivRate && (50*magnitude) >= userDivRate );
    uint _divTokensToBurn = (_frontEndTokensToBurn.mul(userDivRate)).div(magnitude);

    // Calculate ethereum received before dividends
    uint _ethereum = tokensToEthereum_(_frontEndTokensToBurn);

    if (_ethereum > currentEthInvested){
      // Well, congratulations, you've emptied the coffers.
      currentEthInvested = 0;
    } else { currentEthInvested = currentEthInvested - _ethereum; }

    // Calculate dividends generated from the sale.
    uint _dividends = (_ethereum.mul(getUserAverageDividendRate(msg.sender)).div(100)).div(magnitude);

    // Calculate Ethereum receivable net of dividends.
    uint _taxedEthereum = _ethereum.sub(_dividends);

    // Burn the sold tokens (both front-end and back-end variants).
    tokenSupply         = tokenSupply.sub(_frontEndTokensToBurn);
    divTokenSupply      = divTokenSupply.sub(_divTokensToBurn);

    // Subtract the token balances for the seller
    frontTokenBalanceLedger_[msg.sender]    = frontTokenBalanceLedger_[msg.sender].sub(_frontEndTokensToBurn);
    dividendTokenBalanceLedger_[msg.sender] = dividendTokenBalanceLedger_[msg.sender].sub(_divTokensToBurn);

    // Update dividends tracker
    int256 _updatedPayouts  = (int256) (profitPerDivToken * _divTokensToBurn + (_taxedEthereum * magnitude));
    payoutsTo_[msg.sender] -= _updatedPayouts;

    // Let's avoid breaking arithmetic where we can, eh?
    if (divTokenSupply > 0) {
      // Update the value of each remaining back-end dividend token.
      profitPerDivToken = profitPerDivToken.add((_dividends * magnitude) / divTokenSupply);
    }

    // Fire logging event.
    emit onTokenSell(msg.sender, _frontEndTokensToBurn, _taxedEthereum);
  }

  /**
   * Transfer tokens from the caller to a new holder.
   * No charge incurred for the transfer. We'd make a terrible bank.
   */
  function transfer(address _toAddress, uint _amountOfTokens)
  onlyHolders()
  public
  returns(bool)
  {
    require(_amountOfTokens >= MIN_TOKEN_TRANSFER
    && _amountOfTokens <= frontTokenBalanceLedger_[msg.sender]);
    bytes memory empty;
    transferFromInternal(msg.sender, _toAddress, _amountOfTokens, empty);
    return true;

  }

  function approve(address spender, uint tokens)
  public
  returns (bool)
  {
    address _customerAddress           = msg.sender;
    allowed[_customerAddress][spender] = tokens;

    // Fire logging event.
    emit Approval(_customerAddress, spender, tokens);

    // Good old ERC20.
    return true;
  }

  /**
   * Transfer tokens from the caller to a new holder: the Used By Smart Contracts edition.
   * No charge incurred for the transfer. No seriously, we'd make a terrible bank.
   */
  function transferFrom(address _from, address _toAddress, uint _amountOfTokens)
  public
  returns(bool)
  {
    // Setup variables
    address _customerAddress     = _from;
    bytes memory empty;
    // Make sure we own the tokens we're transferring, are ALLOWED to transfer that many tokens,
    // and are transferring at least one full token.
    require(_amountOfTokens >= MIN_TOKEN_TRANSFER
    && _amountOfTokens <= frontTokenBalanceLedger_[_customerAddress]
    && _amountOfTokens <= allowed[_customerAddress][msg.sender]);

    transferFromInternal(_from, _toAddress, _amountOfTokens, empty);

    // Good old ERC20.
    return true;

  }

  function transferTo (address _from, address _to, uint _amountOfTokens, bytes _data)
  public
  {
    if (_from != msg.sender){
      require(_amountOfTokens >= MIN_TOKEN_TRANSFER
      && _amountOfTokens <= frontTokenBalanceLedger_[_from]
      && _amountOfTokens <= allowed[_from][msg.sender]);
    }
    else{
      require(_amountOfTokens >= MIN_TOKEN_TRANSFER
      && _amountOfTokens <= frontTokenBalanceLedger_[_from]);
    }

    transferFromInternal(_from, _to, _amountOfTokens, _data);
  }

  // Who'd have thought we'd need this thing floating around?
  function totalSupply()
  public
  view
  returns (uint256)
  {
    return tokenSupply;
  }

  // Anyone can start the regular phase 2 weeks after the ICO phase starts.
  // In case the devs die. Or something.
  function publicStartRegularPhase()
  public
  {
    require(now > (icoOpenTime + 2 weeks) && icoOpenTime != 0);

    icoPhase     = false;
    regularPhase = true;
  }

  /*----------  ADMINISTRATOR ONLY FUNCTIONS  ----------*/


  // Fire the starting gun and then duck for cover.
  function startICOPhase()
  onlyAdministrator()
  public
  {
    // Prevent us from startaring the ICO phase again
    require(icoOpenTime == 0);
    icoPhase = true;
    icoOpenTime = now;
  }

  // Fire the ... ending gun?
  function endICOPhase()
  onlyAdministrator()
  public
  {
    icoPhase = false;
  }

  function startRegularPhase()
  onlyAdministrator
  public
  {
    // disable ico phase in case if that was not disabled yet
    icoPhase = false;
    regularPhase = true;
  }

  // The death of a great man demands the birth of a great son.
  function setAdministrator(address _newAdmin, bool _status)
  onlyAdministrator()
  public
  {
    administrators[_newAdmin] = _status;
  }

  function setStakingRequirement(uint _amountOfTokens)
  onlyAdministrator()
  public
  {
    // This plane only goes one way, lads. Never below the initial.
    require (_amountOfTokens >= 100e18);
    stakingRequirement = _amountOfTokens;
  }

  function setName(string _name)
  onlyAdministrator()
  public
  {
    name = _name;
  }

  function setSymbol(string _symbol)
  onlyAdministrator()
  public
  {
    symbol = _symbol;
  }

  function changeBankroll(address _newBankrollAddress)
  onlyAdministrator
  public
  {
    bankrollAddress = _newBankrollAddress;
  }

  /*----------  HELPERS AND CALCULATORS  ----------*/

  function totalEthereumBalance()
  public
  view
  returns(uint)
  {
    return address(this).balance;
  }

  function totalEthereumICOReceived()
  public
  view
  returns(uint)
  {
    return ethInvestedDuringICO;
  }

  /**
   * Retrieves your currently selected dividend rate.
   */
  function getMyDividendRate()
  public
  view
  returns(uint8)
  {
    address _customerAddress = msg.sender;
    require(userSelectedRate[_customerAddress]);
    return userDividendRate[_customerAddress];
  }

  /**
   * Retrieve the total frontend token supply
   */
  function getFrontEndTokenSupply()
  public
  view
  returns(uint)
  {
    return tokenSupply;
  }

  /**
   * Retreive the total dividend token supply
   */
  function getDividendTokenSupply()
  public
  view
  returns(uint)
  {
    return divTokenSupply;
  }

  /**
   * Retrieve the frontend tokens owned by the caller
   */
  function myFrontEndTokens()
  public
  view
  returns(uint)
  {
    address _customerAddress = msg.sender;
    return getFrontEndTokenBalanceOf(_customerAddress);
  }

  /**
   * Retrieve the dividend tokens owned by the caller
   */
  function myDividendTokens()
  public
  view
  returns(uint)
  {
    address _customerAddress = msg.sender;
    return getDividendTokenBalanceOf(_customerAddress);
  }

  function myReferralDividends()
  public
  view
  returns(uint)
  {
    return myDividends(true) - myDividends(false);
  }

  function myDividends(bool _includeReferralBonus)
  public
  view
  returns(uint)
  {
    address _customerAddress = msg.sender;
    return _includeReferralBonus ? dividendsOf(_customerAddress) + referralBalance_[_customerAddress] : dividendsOf(_customerAddress) ;
  }

  function theDividendsOf(bool _includeReferralBonus, address _customerAddress)
  public
  view
  returns(uint)
  {
    return _includeReferralBonus ? dividendsOf(_customerAddress) + referralBalance_[_customerAddress] : dividendsOf(_customerAddress) ;
  }

  function getFrontEndTokenBalanceOf(address _customerAddress)
  view
  public
  returns(uint)
  {
    return frontTokenBalanceLedger_[_customerAddress];
  }

  function balanceOf(address _owner)
  view
  public
  returns(uint)
  {
    return getFrontEndTokenBalanceOf(_owner);
  }

  function getDividendTokenBalanceOf(address _customerAddress)
  view
  public
  returns(uint)
  {
    return dividendTokenBalanceLedger_[_customerAddress];
  }

  function dividendsOf(address _customerAddress)
  view
  public
  returns(uint)
  {
    return (uint) ((int256)(profitPerDivToken * dividendTokenBalanceLedger_[_customerAddress]) - payoutsTo_[_customerAddress]) / magnitude;
  }

  // Get the sell price at the user's average dividend rate
  function sellPrice()
  public
  view
  returns(uint)
  {
    uint price;

    if (icoPhase || currentEthInvested < ethInvestedDuringICO) {
      price = tokenPriceInitial_;
    } else {

      // Calculate the tokens received for 100 finney.
      // Divide to find the average, to calculate the price.
      uint tokensReceivedForEth = ethereumToTokens_(0.001 ether);

      price = (1e18 * 0.001 ether) / tokensReceivedForEth;
    }

    // Factor in the user's average dividend rate
    uint theSellPrice = price.sub((price.mul(getUserAverageDividendRate(msg.sender)).div(100)).div(magnitude));

    return theSellPrice;
  }

  // Get the buy price at a particular dividend rate
  function buyPrice(uint dividendRate)
  public
  view
  returns(uint)
  {
    uint price;

    if (icoPhase || currentEthInvested < ethInvestedDuringICO) {
      price = tokenPriceInitial_;
    } else {

      // Calculate the tokens received for 100 finney.
      // Divide to find the average, to calculate the price.
      uint tokensReceivedForEth = ethereumToTokens_(0.001 ether);

      price = (1e18 * 0.001 ether) / tokensReceivedForEth;
    }

    // Factor in the user's selected dividend rate
    uint theBuyPrice = (price.mul(dividendRate).div(100)).add(price);

    return theBuyPrice;
  }

  function calculateTokensReceived(uint _ethereumToSpend)
  public
  view
  returns(uint)
  {
    uint _dividends      = (_ethereumToSpend.mul(userDividendRate[msg.sender])).div(100);
    uint _taxedEthereum  = _ethereumToSpend.sub(_dividends);
    uint _amountOfTokens = ethereumToTokens_(_taxedEthereum);
    return  _amountOfTokens;
  }

  // When selling tokens, we need to calculate the user's current dividend rate.
  // This is different from their selected dividend rate.
  function calculateEthereumReceived(uint _tokensToSell)
  public
  view
  returns(uint)
  {
    require(_tokensToSell <= tokenSupply);
    uint _ethereum               = tokensToEthereum_(_tokensToSell);
    uint userAverageDividendRate = getUserAverageDividendRate(msg.sender);
    uint _dividends              = (_ethereum.mul(userAverageDividendRate).div(100)).div(magnitude);
    uint _taxedEthereum          = _ethereum.sub(_dividends);
    return  _taxedEthereum;
  }

  /*
   * Get's a user's average dividend rate - which is just their divTokenBalance / tokenBalance
   * We multiply by magnitude to avoid precision errors.
   */

  function getUserAverageDividendRate(address user) public view returns (uint) {
    return (magnitude * dividendTokenBalanceLedger_[user]).div(frontTokenBalanceLedger_[user]);
  }

  function getMyAverageDividendRate() public view returns (uint) {
    return getUserAverageDividendRate(msg.sender);
  }

  /*==========================================
  =            INTERNAL FUNCTIONS            =
  ==========================================*/

  /* Purchase tokens with Ether.
     During ICO phase, dividends should go to the bankroll
     During normal operation:
       0.5% should go to the master dividend card
       0.5% should go to the matching dividend card
       25% of dividends should go to the referrer, if any is provided. */
  function purchaseTokens(uint _incomingEthereum, address _referredBy)
  internal
  returns(uint)
  {
   // require(_incomingEthereum >= MIN_ETH_BUYIN || msg.sender == bankrollAddress, "Tried to buy below the min eth buyin threshold.");

    uint toBankRoll;
    uint toReferrer;
    uint toTokenHolders;
    uint toDivCardHolders;

    uint dividendAmount;

    uint tokensBought;
    uint dividendTokensBought;

    uint remainingEth = _incomingEthereum;

    uint fee;

    // 1% for dividend card holders is taken off before anything else
    if (regularPhase) {
      toDivCardHolders = _incomingEthereum.div(100);
      remainingEth = remainingEth.sub(toDivCardHolders);
    }

    /* Next, we tax for dividends:
       Dividends = (ethereum * div%) / 100
       Important note: if we're out of the ICO phase, the 1% sent to div-card holders
                       is handled prior to any dividend taxes are considered. */

    // Grab the user's dividend rate
    uint dividendRate = userDividendRate[msg.sender];

    // Calculate the total dividends on this buy
    dividendAmount = (remainingEth.mul(dividendRate)).div(100);

    remainingEth   = remainingEth.sub(dividendAmount);

    // If we're in the ICO and bankroll is buying, don't tax
    if (icoPhase && msg.sender == bankrollAddress) {
      remainingEth = remainingEth + dividendAmount;
    }

    // Calculate how many tokens to buy:
    tokensBought         = ethereumToTokens_(remainingEth);
    dividendTokensBought = tokensBought.mul(dividendRate);

    // This is where we actually mint tokens:
    tokenSupply    = tokenSupply.add(tokensBought);
    divTokenSupply = divTokenSupply.add(dividendTokensBought);

    /* Update the total investment tracker
       Note that this must be done AFTER we calculate how many tokens are bought -
       because ethereumToTokens needs to know the amount *before* investment, not *after* investment. */

    currentEthInvested = currentEthInvested + remainingEth;

    // If ICO phase, all the dividends go to the bankroll
    if (icoPhase) {
      toBankRoll     = dividendAmount;

      // If the bankroll is buying, we don't want to send eth back to the bankroll
      // Instead, let's just give it the tokens it would get in an infinite recursive buy
      if (msg.sender == bankrollAddress) {
        toBankRoll = 0;
      }

      toReferrer     = 0;
      toTokenHolders = 0;

      /* ethInvestedDuringICO tracks how much Ether goes straight to tokens,
         not how much Ether we get total.
         this is so that our calculation using "investment" is accurate. */
      ethInvestedDuringICO = ethInvestedDuringICO + remainingEth;
      tokensMintedDuringICO = tokensMintedDuringICO + tokensBought;

      // Cannot purchase more than the hard cap during ICO.
      require(ethInvestedDuringICO <= icoHardCap);
      // Contracts aren't allowed to participate in the ICO.
      require(tx.origin == msg.sender || msg.sender == bankrollAddress);

      // Cannot purchase more then the limit per address during the ICO.
      ICOBuyIn[msg.sender] += remainingEth;
      require(ICOBuyIn[msg.sender] <= addressICOLimit || msg.sender == bankrollAddress);

      // Stop the ICO phase if we reach the hard cap
      if (ethInvestedDuringICO == icoHardCap){
        icoPhase = false;
      }

    } else {
      // Not ICO phase, check for referrals

      // 25% goes to referrers, if set
      // toReferrer = (dividends * 25)/100
      if (_referredBy != 0x0000000000000000000000000000000000000000 &&
      _referredBy != msg.sender &&
      frontTokenBalanceLedger_[_referredBy] >= stakingRequirement)
      {
        toReferrer = (dividendAmount.mul(referrer_percentage)).div(100);
        referralBalance_[_referredBy] += toReferrer;
        emit Referral(_referredBy, toReferrer);
      }

      // The rest of the dividends go to token holders
      toTokenHolders = dividendAmount.sub(toReferrer);

      fee = toTokenHolders * magnitude;
      fee = fee - (fee - (dividendTokensBought * (toTokenHolders * magnitude / (divTokenSupply))));

      // Finally, increase the divToken value
      profitPerDivToken       = profitPerDivToken.add((toTokenHolders.mul(magnitude)).div(divTokenSupply));
      payoutsTo_[msg.sender] += (int256) ((profitPerDivToken * dividendTokensBought) - fee);
    }

    // Update the buyer's token amounts
    frontTokenBalanceLedger_[msg.sender] = frontTokenBalanceLedger_[msg.sender].add(tokensBought);
    dividendTokenBalanceLedger_[msg.sender] = dividendTokenBalanceLedger_[msg.sender].add(dividendTokensBought);

    // Transfer to bankroll and div cards
    if (toBankRoll != 0) { ZethrBankroll(bankrollAddress).receiveDividends.value(toBankRoll)(); }
    if (regularPhase) { divCardContract.receiveDividends.value(toDivCardHolders)(dividendRate); }

    // This event should help us track where all the eth is going
    emit Allocation(toBankRoll, toReferrer, toTokenHolders, toDivCardHolders, remainingEth);

    // Sanity checking
    uint sum = toBankRoll + toReferrer + toTokenHolders + toDivCardHolders + remainingEth - _incomingEthereum;
    assert(sum == 0);
  }

  // How many tokens one gets from a certain amount of ethereum.
  function ethereumToTokens_(uint _ethereumAmount)
  public
  view
  returns(uint)
  {
    require(_ethereumAmount > MIN_ETH_BUYIN, "Tried to buy tokens with too little eth.");

    if (icoPhase) {
      return _ethereumAmount.div(tokenPriceInitial_) * 1e18;
    }

    /*
     *  i = investment, p = price, t = number of tokens
     *
     *  i_current = p_initial * t_current                   (for t_current <= t_initial)
     *  i_current = i_initial + (2/3)(t_current)^(3/2)      (for t_current >  t_initial)
     *
     *  t_current = i_current / p_initial                   (for i_current <= i_initial)
     *  t_current = t_initial + ((3/2)(i_current))^(2/3)    (for i_current >  i_initial)
     */

    // First, separate out the buy into two segments:
    //  1) the amount of eth going towards ico-price tokens
    //  2) the amount of eth going towards pyramid-price (variable) tokens
    uint ethTowardsICOPriceTokens = 0;
    uint ethTowardsVariablePriceTokens = 0;

    if (currentEthInvested >= ethInvestedDuringICO) {
      // Option One: All the ETH goes towards variable-price tokens
      ethTowardsVariablePriceTokens = _ethereumAmount;

    } else if (currentEthInvested < ethInvestedDuringICO && currentEthInvested + _ethereumAmount <= ethInvestedDuringICO) {
      // Option Two: All the ETH goes towards ICO-price tokens
      ethTowardsICOPriceTokens = _ethereumAmount;

    } else if (currentEthInvested < ethInvestedDuringICO && currentEthInvested + _ethereumAmount > ethInvestedDuringICO) {
      // Option Three: Some ETH goes towards ICO-price tokens, some goes towards variable-price tokens
      ethTowardsICOPriceTokens = ethInvestedDuringICO.sub(currentEthInvested);
      ethTowardsVariablePriceTokens = _ethereumAmount.sub(ethTowardsICOPriceTokens);
    } else {
      // Option Four: Should be impossible, and compiler should optimize it out of existence.
      revert();
    }

    // Sanity check:
    assert(ethTowardsICOPriceTokens + ethTowardsVariablePriceTokens == _ethereumAmount);

    // Separate out the number of tokens of each type this will buy:
    uint icoPriceTokens = 0;
    uint varPriceTokens = 0;

    // Now calculate each one per the above formulas.
    // Note: since tokens have 18 decimals of precision we multiply the result by 1e18.
    if (ethTowardsICOPriceTokens != 0) {
      icoPriceTokens = ethTowardsICOPriceTokens.mul(1e18).div(tokenPriceInitial_);
    }

    if (ethTowardsVariablePriceTokens != 0) {
      // Note: we can't use "currentEthInvested" for this calculation, we must use:
      //  currentEthInvested + ethTowardsICOPriceTokens
      // This is because a split-buy essentially needs to simulate two separate buys -
      // including the currentEthInvested update that comes BEFORE variable price tokens are bought!

      uint simulatedEthBeforeInvested = toPowerOfThreeHalves(tokenSupply.div(MULTIPLIER * 1e6)).mul(2).div(3) + ethTowardsICOPriceTokens;
      uint simulatedEthAfterInvested  = simulatedEthBeforeInvested + ethTowardsVariablePriceTokens;

      /* We have the equations for total tokens above; note that this is for TOTAL.
         To get the number of tokens this purchase buys, use the simulatedEthInvestedBefore
         and the simulatedEthInvestedAfter and calculate the difference in tokens.
         This is how many we get. */

      uint tokensBefore = toPowerOfTwoThirds(simulatedEthBeforeInvested.mul(3).div(2)).mul(MULTIPLIER);
      uint tokensAfter  = toPowerOfTwoThirds(simulatedEthAfterInvested.mul(3).div(2)).mul(MULTIPLIER);

      /* Note that we could use tokensBefore = tokenSupply + icoPriceTokens instead of dynamically calculating tokensBefore;
         either should work.

         Investment IS already multiplied by 1e18; however, because this is taken to a power of (2/3),
         we need to multiply the result by 1e6 to get back to the correct number of decimals. */

      varPriceTokens = (1e6) * tokensAfter.sub(tokensBefore);
    }

    uint totalTokensReceived = icoPriceTokens + varPriceTokens;

    assert(totalTokensReceived > 0);
    return totalTokensReceived;
  }

  // How much Ether we get from selling N tokens
  function tokensToEthereum_(uint _tokens)
  public
  view
  returns(uint)
  {
    require (_tokens >= MIN_TOKEN_SELL_AMOUNT, "Tried to sell too few tokens.");

    /*
     *  i = investment, p = price, t = number of tokens
     *
     *  i_current = p_initial * t_current                   (for t_current <= t_initial)
     *  i_current = i_initial + (2/3)(t_current)^(3/2)      (for t_current >  t_initial)
     *
     *  t_current = i_current / p_initial                   (for i_current <= i_initial)
     *  t_current = t_initial + ((3/2)(i_current))^(2/3)    (for i_current >  i_initial)
     */

    // First, separate out the sell into two segments:
    //  1) the amount of tokens selling at the ICO price.
    //  2) the amount of tokens selling at the variable (pyramid) price
    uint tokensToSellAtICOPrice = 0;
    uint tokensToSellAtVariablePrice = 0;

    if (tokenSupply <= tokensMintedDuringICO) {
      // Option One: All the tokens sell at the ICO price.
      tokensToSellAtICOPrice = _tokens;

    } else if (tokenSupply > tokensMintedDuringICO && tokenSupply - _tokens >= tokensMintedDuringICO) {
      // Option Two: All the tokens sell at the variable price.
      tokensToSellAtVariablePrice = _tokens;

    } else if (tokenSupply > tokensMintedDuringICO && tokenSupply - _tokens < tokensMintedDuringICO) {
      // Option Three: Some tokens sell at the ICO price, and some sell at the variable price.
      tokensToSellAtVariablePrice = tokenSupply.sub(tokensMintedDuringICO);
      tokensToSellAtICOPrice      = _tokens.sub(tokensToSellAtVariablePrice);

    } else {
      // Option Four: Should be impossible, and the compiler should optimize it out of existence.
      revert();
    }

    // Sanity check:
    assert(tokensToSellAtVariablePrice + tokensToSellAtICOPrice == _tokens);

    // Track how much Ether we get from selling at each price function:
    uint ethFromICOPriceTokens;
    uint ethFromVarPriceTokens;

    // Now, actually calculate:

    if (tokensToSellAtICOPrice != 0) {

      /* Here, unlike the sister equation in ethereumToTokens, we DON'T need to multiply by 1e18, since
         we will be passed in an amount of tokens to sell that's already at the 18-decimal precision.
         We need to divide by 1e18 or we'll have too much Ether. */

      ethFromICOPriceTokens = tokensToSellAtICOPrice.mul(tokenPriceInitial_).div(1e18);
    }

    if (tokensToSellAtVariablePrice != 0) {

      /* Note: Unlike the sister function in ethereumToTokens, we don't have to calculate any "virtual" token count.
         This is because in sells, we sell the variable price tokens **first**, and then we sell the ICO-price tokens.
         Thus there isn't any weird stuff going on with the token supply.

         We have the equations for total investment above; note that this is for TOTAL.
         To get the eth received from this sell, we calculate the new total investment after this sell.
         Note that we divide by 1e6 here as the inverse of multiplying by 1e6 in ethereumToTokens. */

      uint investmentBefore = toPowerOfThreeHalves(tokenSupply.div(MULTIPLIER * 1e6)).mul(2).div(3);
      uint investmentAfter  = toPowerOfThreeHalves((tokenSupply - tokensToSellAtVariablePrice).div(MULTIPLIER * 1e6)).mul(2).div(3);

      ethFromVarPriceTokens = investmentBefore.sub(investmentAfter);
    }

    uint totalEthReceived = ethFromVarPriceTokens + ethFromICOPriceTokens;

    assert(totalEthReceived > 0);
    return totalEthReceived;
  }

  function transferFromInternal(address _from, address _toAddress, uint _amountOfTokens, bytes _data)
  internal
  {
    require(regularPhase);
    require(_toAddress != address(0x0));
    address _customerAddress     = _from;
    uint _amountOfFrontEndTokens = _amountOfTokens;

    // Withdraw all outstanding dividends first (including those generated from referrals).
    if(theDividendsOf(true, _customerAddress) > 0) withdrawFrom(_customerAddress);

    // Calculate how many back-end dividend tokens to transfer.
    // This amount is proportional to the caller's average dividend rate multiplied by the proportion of tokens being transferred.
    uint _amountOfDivTokens = _amountOfFrontEndTokens.mul(getUserAverageDividendRate(_customerAddress)).div(magnitude);

    if (_customerAddress != msg.sender){
      // Update the allowed balance.
      // Don't update this if we are transferring our own tokens (via transfer or buyAndTransfer)
      allowed[_customerAddress][msg.sender] -= _amountOfTokens;
    }

    // Exchange tokens
    frontTokenBalanceLedger_[_customerAddress]    = frontTokenBalanceLedger_[_customerAddress].sub(_amountOfFrontEndTokens);
    frontTokenBalanceLedger_[_toAddress]          = frontTokenBalanceLedger_[_toAddress].add(_amountOfFrontEndTokens);
    dividendTokenBalanceLedger_[_customerAddress] = dividendTokenBalanceLedger_[_customerAddress].sub(_amountOfDivTokens);
    dividendTokenBalanceLedger_[_toAddress]       = dividendTokenBalanceLedger_[_toAddress].add(_amountOfDivTokens);

    // Recipient inherits dividend percentage if they have not already selected one.
    if(!userSelectedRate[_toAddress])
    {
      userSelectedRate[_toAddress] = true;
      userDividendRate[_toAddress] = userDividendRate[_customerAddress];
    }

    // Update dividend trackers
    payoutsTo_[_customerAddress] -= (int256) (profitPerDivToken * _amountOfDivTokens);
    payoutsTo_[_toAddress]       += (int256) (profitPerDivToken * _amountOfDivTokens);

    uint length;

    assembly {
      length := extcodesize(_toAddress)
    }

    if (length > 0){
      // its a contract
      // note: at ethereum update ALL addresses are contracts
      ERC223Receiving receiver = ERC223Receiving(_toAddress);
      receiver.tokenFallback(_from, _amountOfTokens, _data);
    }

    // Fire logging event.
    emit Transfer(_customerAddress, _toAddress, _amountOfFrontEndTokens);
  }

  // Called from transferFrom. Always checks if _customerAddress has dividends.
  function withdrawFrom(address _customerAddress)
  internal
  {
    // Setup data
    uint _dividends                    = theDividendsOf(false, _customerAddress);

    // update dividend tracker
    payoutsTo_[_customerAddress]       +=  (int256) (_dividends * magnitude);

    // add ref. bonus
    _dividends                         += referralBalance_[_customerAddress];
    referralBalance_[_customerAddress]  = 0;

    _customerAddress.transfer(_dividends);

    // Fire logging event.
    emit onWithdraw(_customerAddress, _dividends);
  }


  /*=======================
   =    RESET FUNCTIONS   =
   ======================*/

  function injectEther()
  public
  payable
  onlyAdministrator
  {

  }

  /*=======================
   =   MATHS FUNCTIONS    =
   ======================*/

  function toPowerOfThreeHalves(uint x) public pure returns (uint) {
    // m = 3, n = 2
    // sqrt(x^3)
    return sqrt(x**3);
  }

  function toPowerOfTwoThirds(uint x) public pure returns (uint) {
    // m = 2, n = 3
    // cbrt(x^2)
    return cbrt(x**2);
  }

  function sqrt(uint x) public pure returns (uint y) {
    uint z = (x + 1) / 2;
    y = x;
    while (z < y) {
      y = z;
      z = (x / z + z) / 2;
    }
  }

  function cbrt(uint x) public pure returns (uint y) {
    uint z = (x + 1) / 3;
    y = x;
    while (z < y) {
      y = z;
      z = (x / (z*z) + 2 * z) / 3;
    }
  }
}

/*=======================
 =     INTERFACES       =
 ======================*/


contract ZethrDividendCards {
  function ownerOf(uint /*_divCardId*/) public pure returns (address) {}
  function receiveDividends(uint /*_divCardRate*/) public payable {}
}

contract ZethrBankroll{
  function receiveDividends() public payable {}
}


contract ERC223Receiving {
  function tokenFallback(address _from, uint _amountOfTokens, bytes _data) public returns (bool);
}

// Think it's safe to say y'all know what this is.

library SafeMath {

  function mul(uint a, uint b) internal pure returns (uint) {
    if (a == 0) {
      return 0;
    }
    uint c = a * b;
    assert(c / a == b);
    return c;
  }

  function div(uint a, uint b) internal pure returns (uint) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

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

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

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"dividendsOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalEthereumICOReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"tokens","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"icoHashedPass","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_ethereumToSpend","type":"uint256"}],"name":"calculateTokensReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_amountOfTokens","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transferTo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"currentEthInvested","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"regularPhase","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokensToSell","type":"uint256"}],"name":"calculateEthereumReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_toAddress","type":"address"},{"name":"_amountOfTokens","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_referredBy","type":"address"},{"name":"target","type":"address"}],"name":"buyAndTransfer","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"startRegularPhase","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_ethereumAmount","type":"uint256"}],"name":"ethereumToTokens_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"publicStartRegularPhase","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"getFrontEndTokenBalanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"getDividendTokenBalanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_recipient","type":"address"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"stakingRequirement","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ethInvestedDuringICO","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"myDividendTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_referredBy","type":"address"},{"name":"target","type":"address"},{"name":"_data","type":"bytes"},{"name":"divChoice","type":"uint8"}],"name":"buyAndTransfer","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"x","type":"uint256"}],"name":"sqrt","outputs":[{"name":"y","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"_includeReferralBonus","type":"bool"}],"name":"myDividends","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"icoPhase","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"injectEther","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"totalEthereumBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_referredBy","type":"address"},{"name":"_divChoice","type":"uint8"},{"name":"providedUnhashedPass","type":"string"}],"name":"buyAndSetDivPercentage","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"administrators","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMyAverageDividendRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"setStakingRequirement","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newAdmin","type":"address"},{"name":"_status","type":"bool"}],"name":"setAdministrator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getFrontEndTokenSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"x","type":"uint256"}],"name":"toPowerOfTwoThirds","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[],"name":"endICOPhase","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"myReferralDividends","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newBankrollAddress","type":"address"}],"name":"changeBankroll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_toAddress","type":"address"},{"name":"_amountOfTokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_includeReferralBonus","type":"bool"},{"name":"_customerAddress","type":"address"}],"name":"theDividendsOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMyDividendRate","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_symbol","type":"string"}],"name":"setSymbol","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"myFrontEndTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokens","type":"uint256"}],"name":"tokensToEthereum_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"setName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"dividendRate","type":"uint256"}],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"startICOPhase","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"tokensMintedDuringICO","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_referredBy","type":"address"}],"name":"buy","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_referredBy","type":"address"},{"name":"target","type":"address"},{"name":"_data","type":"bytes"}],"name":"buyAndTransfer","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"x","type":"uint256"}],"name":"cbrt","outputs":[{"name":"y","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"user","type":"address"}],"name":"getUserAverageDividendRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"reinvest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"x","type":"uint256"}],"name":"toPowerOfThreeHalves","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"getDividendTokenSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_bankrollAddress","type":"address"},{"name":"_divCardAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"incomingEthereum","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"},{"indexed":true,"name":"referredBy","type":"address"}],"name":"onTokenPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"user","type":"address"},{"indexed":false,"name":"divRate","type":"uint256"}],"name":"UserDividendRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"tokensBurned","type":"uint256"},{"indexed":false,"name":"ethereumEarned","type":"uint256"}],"name":"onTokenSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"ethereumReinvested","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"}],"name":"onReinvestment","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"ethereumWithdrawn","type":"uint256"}],"name":"onWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"tokenOwner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"toBankRoll","type":"uint256"},{"indexed":false,"name":"toReferrer","type":"uint256"},{"indexed":false,"name":"toTokenHolders","type":"uint256"},{"indexed":false,"name":"toDivCardHolders","type":"uint256"},{"indexed":false,"name":"forTokens","type":"uint256"}],"name":"Allocation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"referrer","type":"address"},{"indexed":false,"name":"amountReceived","type":"uint256"}],"name":"Referral","type":"event"}]

608060405268056bc75e2d631000006000556040805190810160405280600781526020017f58595a6574687200000000000000000000000000000000000000000000000000815250600190805190602001906200005e9291906200044f565b506040805190810160405280600581526020017f58595a544800000000000000000000000000000000000000000000000000000081525060029080519060200190620000ac9291906200044f565b50600060115560006012556000601560006101000a81548160ff0219169083151502179055506000601560016101000a81548160ff021916908315150217905550348015620000fa57600080fd5b5060405160408062005240833981018060405281019080805190602001909291908051906020019092919050505081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160086000600260ff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160086000600560ff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160086000600a60ff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160086000600f60ff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160086000601460ff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160086000601960ff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160086000602160ff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160096000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506021600a6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505050620004fe565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200049257805160ff1916838001178555620004c3565b82800160010185558215620004c3579182015b82811115620004c2578251825591602001919060010190620004a5565b5b509050620004d29190620004d6565b5090565b620004fb91905b80821115620004f7576000816000905550600101620004dd565b5090565b90565b614d32806200050e6000396000f3006080604052600436106102df576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806265318b146103a957806303d499ef1461040057806306fdde031461042b578063095ea7b3146104bb5780630c3c450e1461052057806310d0ffdd1461055357806318160ddd1461059457806319fb361f146105bf5780631b1686b614610672578063214dda841461069d57806322609373146106cc57806323b872dd1461070d578063269a7c3f1461079257806327dffba6146107e85780632a9121c7146107ff578063313ce567146108405780633c7d6f30146108715780634b750334146108885780634c146f38146108b3578063513920411461090a57806351cff8d91461096157806356d399e8146109a45780635c658165146109cf5780635ccb546014610a465780636135e08414610a71578063627aa6d214610a9c578063677342ce14610b45578063688abbf714610b8657806368955fb114610bc95780636a3a211914610bf85780636b2f463214610c0257806370a0823114610c2d578063724fcd4c14610c8457806376be158514610d215780637b89eef214610d7c5780638328b61014610da757806387c9505814610dd457806395d89b4114610e2357806396242f4114610eb3578063965447d914610ede578063a3a06c5414610f1f578063a6d87f7d14610f36578063a78bcf6e14610f61578063a9059cbb14610fa4578063b1f253f614611009578063b607068c1461106c578063b84c82461461109d578063bcaa218e14611106578063bf3b397b14611131578063c47f002714611172578063c4dbf622146111db578063ccb533651461121c578063d161b56a14611233578063e4849b321461125e578063e9fad8ee1461128b578063f088d547146112a2578063f2f8569f146112ec578063f42c56c214611388578063f8ead7cf146113c9578063fdb5a03e14611420578063fdc89f7314611437578063ffcb1edb14611478575b6000601560019054906101000a900460ff1615156102fc57600080fd5b339050600960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156103625761035c3460006114a3565b506103a6565b6103a4600060146040805190810160405280600381526020017f3078300000000000000000000000000000000000000000000000000000000000815250611e5d565b505b50005b3480156103b557600080fd5b506103ea600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612076565b6040518082815260200191505060405180910390f35b34801561040c57600080fd5b50610415612118565b6040518082815260200191505060405180910390f35b34801561043757600080fd5b50610440612122565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610480578082015181840152602081019050610465565b50505050905090810190601f1680156104ad5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156104c757600080fd5b50610506600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506121c0565b604051808215151515815260200191505060405180910390f35b34801561052c57600080fd5b506105356122b7565b60405180826000191660001916815260200191505060405180910390f35b34801561055f57600080fd5b5061057e600480360381019080803590602001909291905050506122de565b6040518082815260200191505060405180910390f35b3480156105a057600080fd5b506105a9612386565b6040518082815260200191505060405180910390f35b3480156105cb57600080fd5b50610670600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050612390565b005b34801561067e57600080fd5b50610687612523565b6040518082815260200191505060405180910390f35b3480156106a957600080fd5b506106b2612529565b604051808215151515815260200191505060405180910390f35b3480156106d857600080fd5b506106f76004803603810190808035906020019092919050505061253c565b6040518082815260200191505060405180910390f35b34801561071957600080fd5b50610778600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506125cf565b604051808215151515815260200191505060405180910390f35b6107e6600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126d7565b005b3480156107f457600080fd5b506107fd6126eb565b005b34801561080b57600080fd5b5061082a60048036038101908080359060200190929190505050612781565b6040518082815260200191505060405180910390f35b34801561084c57600080fd5b50610855612a88565b604051808260ff1660ff16815260200191505060405180910390f35b34801561087d57600080fd5b50610886612a8d565b005b34801561089457600080fd5b5061089d612ae9565b6040518082815260200191505060405180910390f35b3480156108bf57600080fd5b506108f4600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612bb6565b6040518082815260200191505060405180910390f35b34801561091657600080fd5b5061094b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612bff565b6040518082815260200191505060405180910390f35b34801561096d57600080fd5b506109a2600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612c48565b005b3480156109b057600080fd5b506109b9612e41565b6040518082815260200191505060405180910390f35b3480156109db57600080fd5b50610a30600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612e47565b6040518082815260200191505060405180910390f35b348015610a5257600080fd5b50610a5b612e6c565b6040518082815260200191505060405180910390f35b348015610a7d57600080fd5b50610a86612e72565b6040518082815260200191505060405180910390f35b610b43600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803560ff169060200190929190505050612e87565b005b348015610b5157600080fd5b50610b7060048036038101908080359060200190929190505050612fff565b6040518082815260200191505060405180910390f35b348015610b9257600080fd5b50610bb360048036038101908080351515906020019092919050505061304a565b6040518082815260200191505060405180910390f35b348015610bd557600080fd5b50610bde6130b6565b604051808215151515815260200191505060405180910390f35b610c006130c9565b005b348015610c0e57600080fd5b50610c17613129565b6040518082815260200191505060405180910390f35b348015610c3957600080fd5b50610c6e600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613148565b6040518082815260200191505060405180910390f35b610d0b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803560ff169060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611e5d565b6040518082815260200191505060405180910390f35b348015610d2d57600080fd5b50610d62600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061315a565b604051808215151515815260200191505060405180910390f35b348015610d8857600080fd5b50610d9161317a565b6040518082815260200191505060405180910390f35b348015610db357600080fd5b50610dd26004803603810190808035906020019092919050505061318a565b005b348015610de057600080fd5b50610e21600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061320a565b005b348015610e2f57600080fd5b50610e386132c3565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610e78578082015181840152602081019050610e5d565b50505050905090810190601f168015610ea55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610ebf57600080fd5b50610ec8613361565b6040518082815260200191505060405180910390f35b348015610eea57600080fd5b50610f096004803603810190808035906020019092919050505061336b565b6040518082815260200191505060405180910390f35b348015610f2b57600080fd5b50610f34613380565b005b348015610f4257600080fd5b50610f4b6133fb565b6040518082815260200191505060405180910390f35b348015610f6d57600080fd5b50610fa2600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613417565b005b348015610fb057600080fd5b50610fef600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506134b9565b604051808215151515815260200191505060405180910390f35b34801561101557600080fd5b50611056600480360381019080803515159060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613549565b6040518082815260200191505060405180910390f35b34801561107857600080fd5b506110816135b1565b604051808260ff1660ff16815260200191505060405180910390f35b3480156110a957600080fd5b50611104600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050613662565b005b34801561111257600080fd5b5061111b6136da565b6040518082815260200191505060405180910390f35b34801561113d57600080fd5b5061115c600480360381019080803590602001909291905050506136ef565b6040518082815260200191505060405180910390f35b34801561117e57600080fd5b506111d9600480360381019080803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929050505061393b565b005b3480156111e757600080fd5b50611206600480360381019080803590602001909291905050506139b3565b6040518082815260200191505060405180910390f35b34801561122857600080fd5b50611231613a5f565b005b34801561123f57600080fd5b50611248613af2565b6040518082815260200191505060405180910390f35b34801561126a57600080fd5b5061128960048036038101908080359060200190929190505050613af8565b005b34801561129757600080fd5b506112a0613efc565b005b6112d6600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613f7f565b6040518082815260200191505060405180910390f35b611386600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050614009565b005b34801561139457600080fd5b506113b36004803603810190808035906020019092919050505061401b565b6040518082815260200191505060405180910390f35b3480156113d557600080fd5b5061140a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061406b565b6040518082815260200191505060405180910390f35b34801561142c57600080fd5b50611435614110565b005b34801561144357600080fd5b506114626004803603810190808035906020019092919050505061429f565b6040518082815260200191505060405180910390f35b34801561148457600080fd5b5061148d6142b4565b6040518082815260200191505060405180910390f35b6000806000806000806000806000806000808d9350601560019054906101000a900460ff16156114f9576114e160648f6142be90919063ffffffff16565b97506114f688856142d990919063ffffffff16565b93505b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff169150611571606461156384876142f290919063ffffffff16565b6142be90919063ffffffff16565b965061158687856142d990919063ffffffff16565b9350601560009054906101000a900460ff1680156115f15750600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b156115fc5786840193505b61160584612781565b955061161a82876142f290919063ffffffff16565b94506116318660115461432d90919063ffffffff16565b60118190555061164c8560125461432d90919063ffffffff16565b6012819055508360105401601081905550601560009054906101000a900460ff16156118c957869a50600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156116d05760009a505b600099506000985083600f5401600f8190555085600e5401600e81905550680d8d726b7177a80000600f541115151561170857600080fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16148061178f5750600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b151561179a57600080fd5b83600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550670de0b6b3a7640000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411158061188a5750600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b151561189557600080fd5b680d8d726b7177a80000600f5414156118c4576000601560006101000a81548160ff0219169083151502179055505b611b48565b600073ffffffffffffffffffffffffffffffffffffffff168d73ffffffffffffffffffffffffffffffffffffffff161415801561193257503373ffffffffffffffffffffffffffffffffffffffff168d73ffffffffffffffffffffffffffffffffffffffff1614155b801561197f5750600054600560008f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b15611a66576119ab606461199d60198a6142f290919063ffffffff16565b6142be90919063ffffffff16565b995089600b60008f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055507f5db31c63b6c985d138b0b2896458c45ecf94b259da29b7623bdef92b5853d0cd8d8b604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15b611a798a886142d990919063ffffffff16565b98506801000000000000000089029250601254680100000000000000008a02811515611aa157fe5b048502830383039250611aee611add601254611acf680100000000000000008d6142f290919063ffffffff16565b6142be90919063ffffffff16565b60135461432d90919063ffffffff16565b60138190555082856013540203600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b611b9a86600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461432d90919063ffffffff16565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c2f85600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461432d90919063ffffffff16565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008b141515611d1c57600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379fc46878c6040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016000604051808303818588803b158015611d0257600080fd5b505af1158015611d16573d6000803e3d6000fd5b50505050505b601560019054906101000a900460ff1615611ddc57600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2c7d33189846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808281526020019150506000604051808303818588803b158015611dc257600080fd5b505af1158015611dd6573d6000803e3d6000fd5b50505050505b7f7dcbb47dfce2f719d7e1984fd3345bbf7923b236005b64931d95b9205100de828b8b8b8b88604051808681526020018581526020018481526020018381526020018281526020019550505050505060405180910390a18d84898b8d8f01010101039050600081141515611e4c57fe5b505050505050505050505092915050565b6000806000601560009054906101000a900460ff1680611e895750601560019054906101000a900460ff165b1515611e9457600080fd5b601560009054906101000a900460ff1615611f1257836040518082805190602001908083835b602083101515611edf5780518252602082019150602081019050602083039250611eba565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051809103902091503a90505b600860008660ff1660ff16815260200190815260200160002060009054906101000a900460ff161515611f4457600080fd5b6001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555084600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055507fc95fc9f67beb97905ada724494d1acfcaa30a3c96b432a0eac1824899f9f97c23386604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018260ff1681526020019250505060405180910390a161206c34876114a3565b5050509392505050565b600068010000000000000000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601354020381151561211057fe5b049050919050565b6000600f54905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156121b85780601f1061218d576101008083540402835291602001916121b8565b820191906000526020600020905b81548152906001019060200180831161219b57829003601f168201915b505050505081565b60008033905082600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040518082815260200191505060405180910390a3600191505092915050565b7f5ddcde33b94b19bdef79dd9ea75be591942b9ec78286d64b44a356280fb6a26260010281565b600080600080612359606461234b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff16886142f290919063ffffffff16565b6142be90919063ffffffff16565b925061236e83866142d990919063ffffffff16565b915061237982612781565b9050809350505050919050565b6000601154905090565b3373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415156124b1576402540be40082101580156124195750600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211155b80156124a15750600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211155b15156124ac57600080fd5b612511565b6402540be40082101580156125055750600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211155b151561251057600080fd5b5b61251d8484848461434b565b50505050565b60105481565b601560019054906101000a900460ff1681565b6000806000806000601154861115151561255557600080fd5b61255e866136ef565b93506125693361406b565b92506125ac6801000000000000000061259e606461259087896142f290919063ffffffff16565b6142be90919063ffffffff16565b6142be90919063ffffffff16565b91506125c182856142d990919063ffffffff16565b905080945050505050919050565b60008060608591506402540be400841015801561262b5750600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548411155b80156126b35750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548411155b15156126be57600080fd5b6126ca8686868461434b565b6001925050509392505050565b60606126e68383836014612e87565b505050565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561274857600080fd5b6000601560006101000a81548160ff0219169083151502179055506001601560016101000a81548160ff02191690831515021790555050565b600080600080600080600080600080655af3107a40008b111515612833576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001807f547269656420746f2062757920746f6b656e73207769746820746f6f206c697481526020017f746c65206574682e00000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b601560009054906101000a900460ff161561287357670de0b6b3a764000061286b660251e66909d0008d6142be90919063ffffffff16565b029950612a7a565b6000985060009750600f54601054101515612890578a975061290d565b600f546010541080156128a95750600f548b6010540111155b156128b6578a985061290c565b600f546010541080156128ce5750600f548b60105401115b15612906576128ea601054600f546142d990919063ffffffff16565b98506128ff898c6142d990919063ffffffff16565b975061290b565b600080fd5b5b5b8a888a0114151561291a57fe5b600096506000955060008914151561296357612960660251e66909d000612952670de0b6b3a76400008c6142f290919063ffffffff16565b6142be90919063ffffffff16565b96505b600088141515612a6557886129b860036129aa600261299c612997620f424061258f026011546142be90919063ffffffff16565b61429f565b6142f290919063ffffffff16565b6142be90919063ffffffff16565b0194508785019350612a0361258f6129f56129f060026129e260038b6142f290919063ffffffff16565b6142be90919063ffffffff16565b61336b565b6142f290919063ffffffff16565b9250612a4861258f612a3a612a356002612a2760038a6142f290919063ffffffff16565b6142be90919063ffffffff16565b61336b565b6142f290919063ffffffff16565b9150612a5d83836142d990919063ffffffff16565b620f42400295505b8587019050600081111515612a7657fe5b8099505b505050505050505050919050565b601281565b621275006016540142118015612aa65750600060165414155b1515612ab157600080fd5b6000601560006101000a81548160ff0219169083151502179055506001601560016101000a81548160ff021916908315150217905550565b600080600080601560009054906101000a900460ff1680612b0d5750600f54601054105b15612b2157660251e66909d0009250612b50565b612b3166038d7ea4c68000612781565b9150816d314dc6448d9338c15b0a00000000811515612b4c57fe5b0492505b612bab612b9c68010000000000000000612b8e6064612b80612b713361406b565b896142f290919063ffffffff16565b6142be90919063ffffffff16565b6142be90919063ffffffff16565b846142d990919063ffffffff16565b905080935050505090565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000806000612c57600161304a565b111515612c6357600080fd5b601560019054906101000a900460ff161515612c7e57600080fd5b339150612c8b600061304a565b9050680100000000000000008102600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054810190506000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612da7573392505b8273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612ded573d6000803e3d6000fd5b508273ffffffffffffffffffffffffffffffffffffffff167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc826040518082815260200191505060405180910390a2505050565b60005481565b6007602052816000526040600020602052806000526040600020600091509150505481565b600f5481565b600080339050612e8181612bff565b91505090565b6000806000601560019054906101000a900460ff161515612ea757600080fd5b339250600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549150600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015612f48575060008460ff16145b15612f5d57612f5734886114a3565b50612f9f565b612f9d87856040805190810160405280600381526020017f3078300000000000000000000000000000000000000000000000000000000000815250611e5d565b505b612fe8600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836142d9565b9050612ff633878388612390565b50505050505050565b60008060026001840181151561301157fe5b0490508291505b8181101561304457809150600281828581151561303157fe5b040181151561303c57fe5b049050613018565b50919050565b600080339050826130635761305e81612076565b6130ae565b600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546130ac82612076565b015b915050919050565b601560009054906101000a900460ff1681565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561312657600080fd5b50565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600061315382612bb6565b9050919050565b60146020528060005260406000206000915054906101000a900460ff1681565b60006131853361406b565b905090565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156131e757600080fd5b68056bc75e2d6310000082101515156131ff57600080fd5b816000819055505050565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561326757600080fd5b81601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156133595780601f1061332e57610100808354040283529160200191613359565b820191906000526020600020905b81548152906001019060200180831161333c57829003601f168201915b505050505081565b6000601154905090565b60006133796002830a61401b565b9050919050565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156133dd57600080fd5b6000601560006101000a81548160ff02191690831515021790555050565b6000613407600061304a565b613411600161304a565b03905090565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561347457600080fd5b81600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000606060006134c76136da565b1115156134d357600080fd5b6402540be40083101580156135275750600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548311155b151561353257600080fd5b61353e3385858461434b565b600191505092915050565b60008261355e5761355982612076565b6135a9565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135a783612076565b015b905092915050565b600080339050600960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561360f57600080fd5b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1691505090565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156136bf57600080fd5b81600290805190602001906136d5929190614c61565b505050565b6000803390506136e981612bb6565b91505090565b600080600080600080600080655af3107a40008910151515613779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f547269656420746f2073656c6c20746f6f2066657720746f6b656e732e00000081525060200191505060405180910390fd5b6000965060009550600e5460115411151561379657889650613813565b600e546011541180156137af5750600e54896011540310155b156137bc57889550613812565b600e546011541180156137d45750600e548960115403105b1561380c576137f0600e546011546142d990919063ffffffff16565b9550613805868a6142d990919063ffffffff16565b9650613811565b600080fd5b5b5b8887870114151561382057fe5b6000871415156138615761385e670de0b6b3a7640000613850660251e66909d0008a6142f290919063ffffffff16565b6142be90919063ffffffff16565b94505b60008614151561391b576138b560036138a76002613899613894620f424061258f026011546142be90919063ffffffff16565b61429f565b6142f290919063ffffffff16565b6142be90919063ffffffff16565b925061390360036138f560026138e76138e2620f424061258f028c601154036142be90919063ffffffff16565b61429f565b6142f290919063ffffffff16565b6142be90919063ffffffff16565b915061391882846142d990919063ffffffff16565b93505b848401905060008111151561392c57fe5b80975050505050505050919050565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561399857600080fd5b81600190805190602001906139ae929190614c61565b505050565b600080600080601560009054906101000a900460ff16806139d75750600f54601054105b156139eb57660251e66909d0009250613a1a565b6139fb66038d7ea4c68000612781565b9150816d314dc6448d9338c15b0a00000000811515613a1657fe5b0492505b613a5283613a446064613a3689886142f290919063ffffffff16565b6142be90919063ffffffff16565b61432d90919063ffffffff16565b9050809350505050919050565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515613abc57600080fd5b6000601654141515613acd57600080fd5b6001601560006101000a81548160ff0219169083151502179055504260168190555050565b600e5481565b600080600080600080600080613b0c6136da565b111515613b1857600080fd5b601560009054906101000a900460ff16151515613b3457600080fd5b601560019054906101000a900460ff161515613b4f57600080fd5b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548811151515613b9d57600080fd5b879650613ba93361406b565b9550856801000000000000000060020211158015613bd35750856801000000000000000060320210155b1515613bde57600080fd5b613c0c68010000000000000000613bfe888a6142f290919063ffffffff16565b6142be90919063ffffffff16565b9450613c17876136ef565b9350601054841115613c30576000601081905550613c3c565b83601054036010819055505b613c8568010000000000000000613c776064613c69613c5a3361406b565b896142f290919063ffffffff16565b6142be90919063ffffffff16565b6142be90919063ffffffff16565b9250613c9a83856142d990919063ffffffff16565b9150613cb1876011546142d990919063ffffffff16565b601181905550613ccc856012546142d990919063ffffffff16565b601281905550613d2487600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546142d990919063ffffffff16565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613db985600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546142d990919063ffffffff16565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550680100000000000000008202856013540201905080600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555060006012541115613e9c57613e95601254680100000000000000008502811515613e8357fe5b0460135461432d90919063ffffffff16565b6013819055505b3373ffffffffffffffffffffffffffffffffffffffff167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a311398884604051808381526020018281526020019250505060405180910390a25050505050505050565b600080601560019054906101000a900460ff161515613f1a57600080fd5b339150600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115613f7257613f7181613af8565b5b613f7b82612c48565b5050565b600080601560019054906101000a900460ff161515613f9d57600080fd5b339050600960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515613ff857600080fd5b61400234846114a3565b5050919050565b6140168383836014612e87565b505050565b60008060036001840181151561402d57fe5b0490508291505b81811015614065578091506003816002028283028581151561405257fe5b040181151561405d57fe5b049050614034565b50919050565b6000614109600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205468010000000000000000026142be90919063ffffffff16565b9050919050565b600080600080614120600161304a565b11151561412c57600080fd5b601560019054906101000a900460ff16151561414757600080fd5b614151600061304a565b9250339150680100000000000000008302600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054830192506000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506142428360006114a3565b90508173ffffffffffffffffffffffffffffffffffffffff167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b60006142ad6003830a612fff565b9050919050565b6000601254905090565b60008082848115156142cc57fe5b0490508091505092915050565b60008282111515156142e757fe5b818303905092915050565b60008060008414156143075760009150614326565b828402905082848281151561431857fe5b0414151561432257fe5b8091505b5092915050565b600080828401905083811015151561434157fe5b8091505092915050565b6000806000806000601560019054906101000a900460ff16151561436e57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16141515156143aa57600080fd5b88945086935060006143bd600187613549565b11156143cd576143cc85614ad8565b5b614403680100000000000000006143f56143e68861406b565b876142f290919063ffffffff16565b6142be90919063ffffffff16565b92503373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415156144c55786600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b61451784600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546142d990919063ffffffff16565b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506145ac84600560008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461432d90919063ffffffff16565b600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061464183600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546142d990919063ffffffff16565b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506146d683600660008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461432d90919063ffffffff16565b600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600960008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515614869576001600960008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16600a60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505b8260135402600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055508260135402600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550873b91506000821115614a68578790508073ffffffffffffffffffffffffffffffffffffffff1663c0ee0b8a8a89896040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156149dd5780820151818401526020810190506149c2565b50505050905090810190601f168015614a0a5780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b158015614a2b57600080fd5b505af1158015614a3f573d6000803e3d6000fd5b505050506040513d6020811015614a5557600080fd5b8101908080519060200190929190505050505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040518082815260200191505060405180910390a3505050505050505050565b6000614ae5600083613549565b9050680100000000000000008102600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054810190506000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015614c0e573d6000803e3d6000fd5b508173ffffffffffffffffffffffffffffffffffffffff167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc826040518082815260200191505060405180910390a25050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10614ca257805160ff1916838001178555614cd0565b82800160010185558215614cd0579182015b82811115614ccf578251825591602001919060010190614cb4565b5b509050614cdd9190614ce1565b5090565b614d0391905b80821115614cff576000816000905550600101614ce7565b5090565b905600a165627a7a7230582030952958986b2e308a8435b3ce6f1d77b139bbefaae3a925e2908ba73ffbdfd60029000000000000000000000000c6bf1b866dfe81b6532198a6a0ace884e7508008000000000000000000000000bec0703b212fac29ff73f77600f2b1402d92b5f5

Deployed Bytecode

0x6080604052600436106102df576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806265318b146103a957806303d499ef1461040057806306fdde031461042b578063095ea7b3146104bb5780630c3c450e1461052057806310d0ffdd1461055357806318160ddd1461059457806319fb361f146105bf5780631b1686b614610672578063214dda841461069d57806322609373146106cc57806323b872dd1461070d578063269a7c3f1461079257806327dffba6146107e85780632a9121c7146107ff578063313ce567146108405780633c7d6f30146108715780634b750334146108885780634c146f38146108b3578063513920411461090a57806351cff8d91461096157806356d399e8146109a45780635c658165146109cf5780635ccb546014610a465780636135e08414610a71578063627aa6d214610a9c578063677342ce14610b45578063688abbf714610b8657806368955fb114610bc95780636a3a211914610bf85780636b2f463214610c0257806370a0823114610c2d578063724fcd4c14610c8457806376be158514610d215780637b89eef214610d7c5780638328b61014610da757806387c9505814610dd457806395d89b4114610e2357806396242f4114610eb3578063965447d914610ede578063a3a06c5414610f1f578063a6d87f7d14610f36578063a78bcf6e14610f61578063a9059cbb14610fa4578063b1f253f614611009578063b607068c1461106c578063b84c82461461109d578063bcaa218e14611106578063bf3b397b14611131578063c47f002714611172578063c4dbf622146111db578063ccb533651461121c578063d161b56a14611233578063e4849b321461125e578063e9fad8ee1461128b578063f088d547146112a2578063f2f8569f146112ec578063f42c56c214611388578063f8ead7cf146113c9578063fdb5a03e14611420578063fdc89f7314611437578063ffcb1edb14611478575b6000601560019054906101000a900460ff1615156102fc57600080fd5b339050600960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156103625761035c3460006114a3565b506103a6565b6103a4600060146040805190810160405280600381526020017f3078300000000000000000000000000000000000000000000000000000000000815250611e5d565b505b50005b3480156103b557600080fd5b506103ea600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612076565b6040518082815260200191505060405180910390f35b34801561040c57600080fd5b50610415612118565b6040518082815260200191505060405180910390f35b34801561043757600080fd5b50610440612122565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610480578082015181840152602081019050610465565b50505050905090810190601f1680156104ad5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156104c757600080fd5b50610506600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506121c0565b604051808215151515815260200191505060405180910390f35b34801561052c57600080fd5b506105356122b7565b60405180826000191660001916815260200191505060405180910390f35b34801561055f57600080fd5b5061057e600480360381019080803590602001909291905050506122de565b6040518082815260200191505060405180910390f35b3480156105a057600080fd5b506105a9612386565b6040518082815260200191505060405180910390f35b3480156105cb57600080fd5b50610670600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050612390565b005b34801561067e57600080fd5b50610687612523565b6040518082815260200191505060405180910390f35b3480156106a957600080fd5b506106b2612529565b604051808215151515815260200191505060405180910390f35b3480156106d857600080fd5b506106f76004803603810190808035906020019092919050505061253c565b6040518082815260200191505060405180910390f35b34801561071957600080fd5b50610778600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506125cf565b604051808215151515815260200191505060405180910390f35b6107e6600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126d7565b005b3480156107f457600080fd5b506107fd6126eb565b005b34801561080b57600080fd5b5061082a60048036038101908080359060200190929190505050612781565b6040518082815260200191505060405180910390f35b34801561084c57600080fd5b50610855612a88565b604051808260ff1660ff16815260200191505060405180910390f35b34801561087d57600080fd5b50610886612a8d565b005b34801561089457600080fd5b5061089d612ae9565b6040518082815260200191505060405180910390f35b3480156108bf57600080fd5b506108f4600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612bb6565b6040518082815260200191505060405180910390f35b34801561091657600080fd5b5061094b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612bff565b6040518082815260200191505060405180910390f35b34801561096d57600080fd5b506109a2600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612c48565b005b3480156109b057600080fd5b506109b9612e41565b6040518082815260200191505060405180910390f35b3480156109db57600080fd5b50610a30600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612e47565b6040518082815260200191505060405180910390f35b348015610a5257600080fd5b50610a5b612e6c565b6040518082815260200191505060405180910390f35b348015610a7d57600080fd5b50610a86612e72565b6040518082815260200191505060405180910390f35b610b43600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803560ff169060200190929190505050612e87565b005b348015610b5157600080fd5b50610b7060048036038101908080359060200190929190505050612fff565b6040518082815260200191505060405180910390f35b348015610b9257600080fd5b50610bb360048036038101908080351515906020019092919050505061304a565b6040518082815260200191505060405180910390f35b348015610bd557600080fd5b50610bde6130b6565b604051808215151515815260200191505060405180910390f35b610c006130c9565b005b348015610c0e57600080fd5b50610c17613129565b6040518082815260200191505060405180910390f35b348015610c3957600080fd5b50610c6e600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613148565b6040518082815260200191505060405180910390f35b610d0b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803560ff169060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611e5d565b6040518082815260200191505060405180910390f35b348015610d2d57600080fd5b50610d62600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061315a565b604051808215151515815260200191505060405180910390f35b348015610d8857600080fd5b50610d9161317a565b6040518082815260200191505060405180910390f35b348015610db357600080fd5b50610dd26004803603810190808035906020019092919050505061318a565b005b348015610de057600080fd5b50610e21600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061320a565b005b348015610e2f57600080fd5b50610e386132c3565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610e78578082015181840152602081019050610e5d565b50505050905090810190601f168015610ea55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610ebf57600080fd5b50610ec8613361565b6040518082815260200191505060405180910390f35b348015610eea57600080fd5b50610f096004803603810190808035906020019092919050505061336b565b6040518082815260200191505060405180910390f35b348015610f2b57600080fd5b50610f34613380565b005b348015610f4257600080fd5b50610f4b6133fb565b6040518082815260200191505060405180910390f35b348015610f6d57600080fd5b50610fa2600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613417565b005b348015610fb057600080fd5b50610fef600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506134b9565b604051808215151515815260200191505060405180910390f35b34801561101557600080fd5b50611056600480360381019080803515159060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613549565b6040518082815260200191505060405180910390f35b34801561107857600080fd5b506110816135b1565b604051808260ff1660ff16815260200191505060405180910390f35b3480156110a957600080fd5b50611104600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050613662565b005b34801561111257600080fd5b5061111b6136da565b6040518082815260200191505060405180910390f35b34801561113d57600080fd5b5061115c600480360381019080803590602001909291905050506136ef565b6040518082815260200191505060405180910390f35b34801561117e57600080fd5b506111d9600480360381019080803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929050505061393b565b005b3480156111e757600080fd5b50611206600480360381019080803590602001909291905050506139b3565b6040518082815260200191505060405180910390f35b34801561122857600080fd5b50611231613a5f565b005b34801561123f57600080fd5b50611248613af2565b6040518082815260200191505060405180910390f35b34801561126a57600080fd5b5061128960048036038101908080359060200190929190505050613af8565b005b34801561129757600080fd5b506112a0613efc565b005b6112d6600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613f7f565b6040518082815260200191505060405180910390f35b611386600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050614009565b005b34801561139457600080fd5b506113b36004803603810190808035906020019092919050505061401b565b6040518082815260200191505060405180910390f35b3480156113d557600080fd5b5061140a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061406b565b6040518082815260200191505060405180910390f35b34801561142c57600080fd5b50611435614110565b005b34801561144357600080fd5b506114626004803603810190808035906020019092919050505061429f565b6040518082815260200191505060405180910390f35b34801561148457600080fd5b5061148d6142b4565b6040518082815260200191505060405180910390f35b6000806000806000806000806000806000808d9350601560019054906101000a900460ff16156114f9576114e160648f6142be90919063ffffffff16565b97506114f688856142d990919063ffffffff16565b93505b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff169150611571606461156384876142f290919063ffffffff16565b6142be90919063ffffffff16565b965061158687856142d990919063ffffffff16565b9350601560009054906101000a900460ff1680156115f15750600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b156115fc5786840193505b61160584612781565b955061161a82876142f290919063ffffffff16565b94506116318660115461432d90919063ffffffff16565b60118190555061164c8560125461432d90919063ffffffff16565b6012819055508360105401601081905550601560009054906101000a900460ff16156118c957869a50600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156116d05760009a505b600099506000985083600f5401600f8190555085600e5401600e81905550680d8d726b7177a80000600f541115151561170857600080fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16148061178f5750600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b151561179a57600080fd5b83600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550670de0b6b3a7640000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411158061188a5750600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b151561189557600080fd5b680d8d726b7177a80000600f5414156118c4576000601560006101000a81548160ff0219169083151502179055505b611b48565b600073ffffffffffffffffffffffffffffffffffffffff168d73ffffffffffffffffffffffffffffffffffffffff161415801561193257503373ffffffffffffffffffffffffffffffffffffffff168d73ffffffffffffffffffffffffffffffffffffffff1614155b801561197f5750600054600560008f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b15611a66576119ab606461199d60198a6142f290919063ffffffff16565b6142be90919063ffffffff16565b995089600b60008f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055507f5db31c63b6c985d138b0b2896458c45ecf94b259da29b7623bdef92b5853d0cd8d8b604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15b611a798a886142d990919063ffffffff16565b98506801000000000000000089029250601254680100000000000000008a02811515611aa157fe5b048502830383039250611aee611add601254611acf680100000000000000008d6142f290919063ffffffff16565b6142be90919063ffffffff16565b60135461432d90919063ffffffff16565b60138190555082856013540203600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b611b9a86600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461432d90919063ffffffff16565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c2f85600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461432d90919063ffffffff16565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008b141515611d1c57600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379fc46878c6040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016000604051808303818588803b158015611d0257600080fd5b505af1158015611d16573d6000803e3d6000fd5b50505050505b601560019054906101000a900460ff1615611ddc57600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2c7d33189846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808281526020019150506000604051808303818588803b158015611dc257600080fd5b505af1158015611dd6573d6000803e3d6000fd5b50505050505b7f7dcbb47dfce2f719d7e1984fd3345bbf7923b236005b64931d95b9205100de828b8b8b8b88604051808681526020018581526020018481526020018381526020018281526020019550505050505060405180910390a18d84898b8d8f01010101039050600081141515611e4c57fe5b505050505050505050505092915050565b6000806000601560009054906101000a900460ff1680611e895750601560019054906101000a900460ff165b1515611e9457600080fd5b601560009054906101000a900460ff1615611f1257836040518082805190602001908083835b602083101515611edf5780518252602082019150602081019050602083039250611eba565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051809103902091503a90505b600860008660ff1660ff16815260200190815260200160002060009054906101000a900460ff161515611f4457600080fd5b6001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555084600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055507fc95fc9f67beb97905ada724494d1acfcaa30a3c96b432a0eac1824899f9f97c23386604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018260ff1681526020019250505060405180910390a161206c34876114a3565b5050509392505050565b600068010000000000000000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601354020381151561211057fe5b049050919050565b6000600f54905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156121b85780601f1061218d576101008083540402835291602001916121b8565b820191906000526020600020905b81548152906001019060200180831161219b57829003601f168201915b505050505081565b60008033905082600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040518082815260200191505060405180910390a3600191505092915050565b7f5ddcde33b94b19bdef79dd9ea75be591942b9ec78286d64b44a356280fb6a26260010281565b600080600080612359606461234b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff16886142f290919063ffffffff16565b6142be90919063ffffffff16565b925061236e83866142d990919063ffffffff16565b915061237982612781565b9050809350505050919050565b6000601154905090565b3373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415156124b1576402540be40082101580156124195750600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211155b80156124a15750600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211155b15156124ac57600080fd5b612511565b6402540be40082101580156125055750600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211155b151561251057600080fd5b5b61251d8484848461434b565b50505050565b60105481565b601560019054906101000a900460ff1681565b6000806000806000601154861115151561255557600080fd5b61255e866136ef565b93506125693361406b565b92506125ac6801000000000000000061259e606461259087896142f290919063ffffffff16565b6142be90919063ffffffff16565b6142be90919063ffffffff16565b91506125c182856142d990919063ffffffff16565b905080945050505050919050565b60008060608591506402540be400841015801561262b5750600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548411155b80156126b35750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548411155b15156126be57600080fd5b6126ca8686868461434b565b6001925050509392505050565b60606126e68383836014612e87565b505050565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561274857600080fd5b6000601560006101000a81548160ff0219169083151502179055506001601560016101000a81548160ff02191690831515021790555050565b600080600080600080600080600080655af3107a40008b111515612833576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001807f547269656420746f2062757920746f6b656e73207769746820746f6f206c697481526020017f746c65206574682e00000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b601560009054906101000a900460ff161561287357670de0b6b3a764000061286b660251e66909d0008d6142be90919063ffffffff16565b029950612a7a565b6000985060009750600f54601054101515612890578a975061290d565b600f546010541080156128a95750600f548b6010540111155b156128b6578a985061290c565b600f546010541080156128ce5750600f548b60105401115b15612906576128ea601054600f546142d990919063ffffffff16565b98506128ff898c6142d990919063ffffffff16565b975061290b565b600080fd5b5b5b8a888a0114151561291a57fe5b600096506000955060008914151561296357612960660251e66909d000612952670de0b6b3a76400008c6142f290919063ffffffff16565b6142be90919063ffffffff16565b96505b600088141515612a6557886129b860036129aa600261299c612997620f424061258f026011546142be90919063ffffffff16565b61429f565b6142f290919063ffffffff16565b6142be90919063ffffffff16565b0194508785019350612a0361258f6129f56129f060026129e260038b6142f290919063ffffffff16565b6142be90919063ffffffff16565b61336b565b6142f290919063ffffffff16565b9250612a4861258f612a3a612a356002612a2760038a6142f290919063ffffffff16565b6142be90919063ffffffff16565b61336b565b6142f290919063ffffffff16565b9150612a5d83836142d990919063ffffffff16565b620f42400295505b8587019050600081111515612a7657fe5b8099505b505050505050505050919050565b601281565b621275006016540142118015612aa65750600060165414155b1515612ab157600080fd5b6000601560006101000a81548160ff0219169083151502179055506001601560016101000a81548160ff021916908315150217905550565b600080600080601560009054906101000a900460ff1680612b0d5750600f54601054105b15612b2157660251e66909d0009250612b50565b612b3166038d7ea4c68000612781565b9150816d314dc6448d9338c15b0a00000000811515612b4c57fe5b0492505b612bab612b9c68010000000000000000612b8e6064612b80612b713361406b565b896142f290919063ffffffff16565b6142be90919063ffffffff16565b6142be90919063ffffffff16565b846142d990919063ffffffff16565b905080935050505090565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000806000612c57600161304a565b111515612c6357600080fd5b601560019054906101000a900460ff161515612c7e57600080fd5b339150612c8b600061304a565b9050680100000000000000008102600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054810190506000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612da7573392505b8273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612ded573d6000803e3d6000fd5b508273ffffffffffffffffffffffffffffffffffffffff167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc826040518082815260200191505060405180910390a2505050565b60005481565b6007602052816000526040600020602052806000526040600020600091509150505481565b600f5481565b600080339050612e8181612bff565b91505090565b6000806000601560019054906101000a900460ff161515612ea757600080fd5b339250600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549150600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015612f48575060008460ff16145b15612f5d57612f5734886114a3565b50612f9f565b612f9d87856040805190810160405280600381526020017f3078300000000000000000000000000000000000000000000000000000000000815250611e5d565b505b612fe8600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836142d9565b9050612ff633878388612390565b50505050505050565b60008060026001840181151561301157fe5b0490508291505b8181101561304457809150600281828581151561303157fe5b040181151561303c57fe5b049050613018565b50919050565b600080339050826130635761305e81612076565b6130ae565b600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546130ac82612076565b015b915050919050565b601560009054906101000a900460ff1681565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561312657600080fd5b50565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600061315382612bb6565b9050919050565b60146020528060005260406000206000915054906101000a900460ff1681565b60006131853361406b565b905090565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156131e757600080fd5b68056bc75e2d6310000082101515156131ff57600080fd5b816000819055505050565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561326757600080fd5b81601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156133595780601f1061332e57610100808354040283529160200191613359565b820191906000526020600020905b81548152906001019060200180831161333c57829003601f168201915b505050505081565b6000601154905090565b60006133796002830a61401b565b9050919050565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156133dd57600080fd5b6000601560006101000a81548160ff02191690831515021790555050565b6000613407600061304a565b613411600161304a565b03905090565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561347457600080fd5b81600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000606060006134c76136da565b1115156134d357600080fd5b6402540be40083101580156135275750600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548311155b151561353257600080fd5b61353e3385858461434b565b600191505092915050565b60008261355e5761355982612076565b6135a9565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135a783612076565b015b905092915050565b600080339050600960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561360f57600080fd5b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1691505090565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156136bf57600080fd5b81600290805190602001906136d5929190614c61565b505050565b6000803390506136e981612bb6565b91505090565b600080600080600080600080655af3107a40008910151515613779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f547269656420746f2073656c6c20746f6f2066657720746f6b656e732e00000081525060200191505060405180910390fd5b6000965060009550600e5460115411151561379657889650613813565b600e546011541180156137af5750600e54896011540310155b156137bc57889550613812565b600e546011541180156137d45750600e548960115403105b1561380c576137f0600e546011546142d990919063ffffffff16565b9550613805868a6142d990919063ffffffff16565b9650613811565b600080fd5b5b5b8887870114151561382057fe5b6000871415156138615761385e670de0b6b3a7640000613850660251e66909d0008a6142f290919063ffffffff16565b6142be90919063ffffffff16565b94505b60008614151561391b576138b560036138a76002613899613894620f424061258f026011546142be90919063ffffffff16565b61429f565b6142f290919063ffffffff16565b6142be90919063ffffffff16565b925061390360036138f560026138e76138e2620f424061258f028c601154036142be90919063ffffffff16565b61429f565b6142f290919063ffffffff16565b6142be90919063ffffffff16565b915061391882846142d990919063ffffffff16565b93505b848401905060008111151561392c57fe5b80975050505050505050919050565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561399857600080fd5b81600190805190602001906139ae929190614c61565b505050565b600080600080601560009054906101000a900460ff16806139d75750600f54601054105b156139eb57660251e66909d0009250613a1a565b6139fb66038d7ea4c68000612781565b9150816d314dc6448d9338c15b0a00000000811515613a1657fe5b0492505b613a5283613a446064613a3689886142f290919063ffffffff16565b6142be90919063ffffffff16565b61432d90919063ffffffff16565b9050809350505050919050565b6000339050601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515613abc57600080fd5b6000601654141515613acd57600080fd5b6001601560006101000a81548160ff0219169083151502179055504260168190555050565b600e5481565b600080600080600080600080613b0c6136da565b111515613b1857600080fd5b601560009054906101000a900460ff16151515613b3457600080fd5b601560019054906101000a900460ff161515613b4f57600080fd5b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548811151515613b9d57600080fd5b879650613ba93361406b565b9550856801000000000000000060020211158015613bd35750856801000000000000000060320210155b1515613bde57600080fd5b613c0c68010000000000000000613bfe888a6142f290919063ffffffff16565b6142be90919063ffffffff16565b9450613c17876136ef565b9350601054841115613c30576000601081905550613c3c565b83601054036010819055505b613c8568010000000000000000613c776064613c69613c5a3361406b565b896142f290919063ffffffff16565b6142be90919063ffffffff16565b6142be90919063ffffffff16565b9250613c9a83856142d990919063ffffffff16565b9150613cb1876011546142d990919063ffffffff16565b601181905550613ccc856012546142d990919063ffffffff16565b601281905550613d2487600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546142d990919063ffffffff16565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613db985600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546142d990919063ffffffff16565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550680100000000000000008202856013540201905080600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555060006012541115613e9c57613e95601254680100000000000000008502811515613e8357fe5b0460135461432d90919063ffffffff16565b6013819055505b3373ffffffffffffffffffffffffffffffffffffffff167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a311398884604051808381526020018281526020019250505060405180910390a25050505050505050565b600080601560019054906101000a900460ff161515613f1a57600080fd5b339150600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115613f7257613f7181613af8565b5b613f7b82612c48565b5050565b600080601560019054906101000a900460ff161515613f9d57600080fd5b339050600960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515613ff857600080fd5b61400234846114a3565b5050919050565b6140168383836014612e87565b505050565b60008060036001840181151561402d57fe5b0490508291505b81811015614065578091506003816002028283028581151561405257fe5b040181151561405d57fe5b049050614034565b50919050565b6000614109600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205468010000000000000000026142be90919063ffffffff16565b9050919050565b600080600080614120600161304a565b11151561412c57600080fd5b601560019054906101000a900460ff16151561414757600080fd5b614151600061304a565b9250339150680100000000000000008302600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054830192506000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506142428360006114a3565b90508173ffffffffffffffffffffffffffffffffffffffff167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b60006142ad6003830a612fff565b9050919050565b6000601254905090565b60008082848115156142cc57fe5b0490508091505092915050565b60008282111515156142e757fe5b818303905092915050565b60008060008414156143075760009150614326565b828402905082848281151561431857fe5b0414151561432257fe5b8091505b5092915050565b600080828401905083811015151561434157fe5b8091505092915050565b6000806000806000601560019054906101000a900460ff16151561436e57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16141515156143aa57600080fd5b88945086935060006143bd600187613549565b11156143cd576143cc85614ad8565b5b614403680100000000000000006143f56143e68861406b565b876142f290919063ffffffff16565b6142be90919063ffffffff16565b92503373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415156144c55786600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b61451784600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546142d990919063ffffffff16565b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506145ac84600560008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461432d90919063ffffffff16565b600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061464183600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546142d990919063ffffffff16565b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506146d683600660008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461432d90919063ffffffff16565b600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600960008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515614869576001600960008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16600a60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505b8260135402600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055508260135402600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550873b91506000821115614a68578790508073ffffffffffffffffffffffffffffffffffffffff1663c0ee0b8a8a89896040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156149dd5780820151818401526020810190506149c2565b50505050905090810190601f168015614a0a5780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b158015614a2b57600080fd5b505af1158015614a3f573d6000803e3d6000fd5b505050506040513d6020811015614a5557600080fd5b8101908080519060200190929190505050505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040518082815260200191505060405180910390a3505050505050505050565b6000614ae5600083613549565b9050680100000000000000008102600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054810190506000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015614c0e573d6000803e3d6000fd5b508173ffffffffffffffffffffffffffffffffffffffff167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc826040518082815260200191505060405180910390a25050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10614ca257805160ff1916838001178555614cd0565b82800160010185558215614cd0579182015b82811115614ccf578251825591602001919060010190614cb4565b5b509050614cdd9190614ce1565b5090565b614d0391905b80821115614cff576000816000905550600101614ce7565b5090565b905600a165627a7a7230582030952958986b2e308a8435b3ce6f1d77b139bbefaae3a925e2908ba73ffbdfd60029

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

000000000000000000000000c6bf1b866dfe81b6532198a6a0ace884e7508008000000000000000000000000bec0703b212fac29ff73f77600f2b1402d92b5f5

-----Decoded View---------------
Arg [0] : _bankrollAddress (address): 0xC6BF1b866dFe81b6532198a6A0ACe884e7508008
Arg [1] : _divCardAddress (address): 0xBec0703B212fAC29FF73F77600f2B1402d92b5f5

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000c6bf1b866dfe81b6532198a6a0ace884e7508008
Arg [1] : 000000000000000000000000bec0703b212fac29ff73f77600f2b1402d92b5f5


Swarm Source

bzzr://30952958986b2e308a8435b3ce6f1d77b139bbefaae3a925e2908ba73ffbdfd6
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.