Latest 25 transactions from a total of 39438 transactions

TxHash Age From To Value [TxFee]
0xf5bb8f8af1ff49e10a1f284a22c31fd7f45887cda385487466826c5e95a74dff1 hr 38 mins agoGate.io_1  IN   DADI0 Ether0.0003469092
0x5ae752a5937198e40a9b497b4fc1675fafdec919421aaee55b70332771fd9a362 hrs 28 mins ago0xd8dcce3d062f92c6e4eb04da7ce65ce7c5e4b6ba  IN   DADI0 Ether0.00209992
0x3ccadc8ef6abdd4fc48c406abb7f1937ce9578c65d130721cbfa553460a4617d2 hrs 38 mins ago0x772e3f01586118f02e4a9d6b2560bda36e75ee9f  IN   DADI0 Ether0.000044996
0x62c26c2611bb3ace9007e833d08bad2a4a5560edb7de8fea07a14db64f5748bf2 hrs 44 mins ago0xe2a5b2384a70b2f53036cc0bed974d00b8fb5147  IN   DADI0 Ether0.000067494
0x0825a27935e273a7dd3a52e8635980e98667890a9f4c1bbe2757b4f375a278913 hrs 32 mins agoKucoin  IN   DADI0 Ether0.0004056696
0x92cd686274aff0ac18a95707ab80144a9c5084716ccf0418a25a39cde05b99544 hrs 1 min agoHitBTC_2  IN   DADI0 Ether0.0003722814
0x2c745b12dcc06289c68acddd3bf6a3b40b9bab96e220c3cce9670b9a6249cc7f5 hrs 43 mins ago0xe2a5b2384a70b2f53036cc0bed974d00b8fb5147  IN   DADI0 Ether0.000067494
0x399eca9ea3c08686b2476ae3bec4a1b2d77a4db768d1704d2701fe0862cb25907 hrs 48 mins agoHitBTC_2  IN   DADI0 Ether0.000419472
0xc73b3bfec4c2250d23da33ab58c4c481eb1fc1127d7b4ff3f6cbc4eb6bcbac148 hrs 55 mins ago0xfaf5b3803af60f20e67032ae37102ce8f82a2ff4  IN   DADI0 Ether0.0084
0x3f1639030e57ba531bf72fbe810346f14f1e37fe268ebf03607a7c4053c7a1cc8 hrs 57 mins ago0x847f8e0ebf3a04742284383364b8dc9d3877d22f  IN   DADI0 Ether0.0084
0x4119cd4a9b4949ec6156726e9c56329ed50cebd7367b3bf780a67e3edaebfad48 hrs 58 mins ago0xb68233969d33e0ad8cb9ced4165ce68733a9c1d8  IN   DADI0 Ether0.0084
0x2deede47dd9254c41796b8159b5e54e2ac85daa52415ca6b6ddb31a616879cf69 hrs 5 mins ago0x1ebb2144e24e4fa6ff0bfe558a45f5ce9f052570  IN   DADI0 Ether0.0084
0x5a9e6a67cc7728ce197ddebf60a820172a6b92669fd22cf5393f61780cf37c889 hrs 26 mins ago0x0059f71bc6bcc81457ce2622f88c1ccc3c14650f  IN   DADI0 Ether0.000471114
0x2d4d49c38db17b6a3a571c7ca4e83dd44a709ca286676f431909b40699e6477e9 hrs 28 mins ago0x8a7cd9fdd9311a9836fdf5dc26053833ad7438a4  IN   DADI0 Ether0.000149992
0x3cf7b9320ea74626ea87adf83ff492828d6710b5b103c86acf71c517f339107e11 hrs 38 mins ago0x84df020c17f8b97dfd8b0ec0bc066a14472f77ad  IN   DADI0 Ether0.00131691
0xa54c2814f9886064cab34ab23f5ae2942df0aff2e88a6e7bd519f22ebb5c491912 hrs 59 mins ago0xb9ee040c18fd1d8c3b7d4748ee81991811989e33  IN   DADI0 Ether0.00131915
0x27badfbbee0faf8660ace8e8480e57dae59f7297fa1a78be44871816680b51d414 hrs 20 mins ago0x565fbcd25df6fb152679d73f64854b040cd5e7a6  IN   DADI0 Ether0.00131915
0x357e2116c7c8d6c2cd6196469710dccad133025b21ca6e4d6fdf58323e226cfc15 hrs 40 mins ago0x0a8bfb397b8039304a0cc304085ba42859ba36d0  IN   DADI0 Ether0.00131467
0x265bf838ec976b944242247ad9d6e75200d31a0d4d65367eb02d9d87f0c0d03316 hrs agoKucoin  IN   DADI0 Ether0.00056343
0xec3ff4d2ae00614e9fc12b64f8059e0fea35fab2d6de1c68422743338fb2f57e16 hrs 51 mins ago0x5b30620d3aaab33a183a229c67f49ed1467e2a86  IN   DADI0 Ether0.000045124
0xc75f40cd48f061bc575afc67745b824dc69a9f454996973121c5e39604ebc94016 hrs 51 mins ago0xe2a5b2384a70b2f53036cc0bed974d00b8fb5147  IN   DADI0 Ether0.0006
0x6b28d187fbdec70cb488958f185fbcdfeb66d0ad1d96a5cb4f4f9dec89dcc41016 hrs 51 mins ago0x7784ee628b48295153430ffb691cecd4f9aa9761  IN   DADI0 Ether0.000045252
0x8691b87ec1dc88b63937d94b88331c8c0f3571e3793b1a289da191e366dd031717 hrs 1 min ago0x6363c2a0f45a13027f6a49c82bdb0ebc51100746  IN   DADI0 Ether0.00131915
0x3bb61728568e2e203c769cf397bc907d345785b11e60c3c50dba2cad69518feb17 hrs 4 mins ago0xe2a5b2384a70b2f53036cc0bed974d00b8fb5147  IN   DADI0 Ether0.000067494
0xce417e8d4ca304c1f8bb636bda8dddf1c3cd98526d55e24b911d70bccca8cfd618 hrs 20 mins ago0xb84eccb2db2be5c84c862034ee31351d3f41496b  IN   DADI0 Ether0.00131915
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 15 Internal Transactions

ParentTxHash Block Age From To Value
0x65e80ce622154d150211fb058e4283aade9495baef59adbe41a78d18c3fcc84a4965590359 days 23 hrs ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0x56e2503284437f267ffb95b14db59dca3fc8c550133.981989993667774308 Ether
0x62b5ca7c3881ae6991879082648a5cd3504487b0c900421df774a0fc2c52e20f4965574359 days 23 hrs ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0xcacae58fc021480b6e1ee2a2c477884c9d10b282100 Ether
0x1a32653be3a63351cb3a639db1903e0634a572ad3deede2c17b91577b596c67b4882057374 days 20 hrs ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0xcacae58fc021480b6e1ee2a2c477884c9d10b282240 Ether
0xac2dfd3a4686f4a6d5a7401f32d359ca2756b1cf9923ff41e4ada7b131892a804873818376 days 8 hrs ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0xcacae58fc021480b6e1ee2a2c477884c9d10b282100 Ether
0x61ae0d364dfb4355c22bcf90e5fc589d011722e52a3f539b786b65ec8db9d8304813814387 days 12 mins ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0xcacae58fc021480b6e1ee2a2c477884c9d10b28219.93156906 Ether
0xcd63e0546bc696180bad67cec1138c0dd24d6d581ab25f2eab39604ce8ee009d4813720387 days 35 mins ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0xcacae58fc021480b6e1ee2a2c477884c9d10b28250 Ether
0xdda79652bb24bd954c855e2fc1c8c2e470a039daa718096d867a7d7b6a0a9b054813656387 days 53 mins ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0xcacae58fc021480b6e1ee2a2c477884c9d10b28250 Ether
0x72c32343342c69bd2fafef39b4c8a785c79721adbab5f2399559d41381b2140e4813596387 days 1 hr ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0xcacae58fc021480b6e1ee2a2c477884c9d10b28250 Ether
0x0556c1e3b0dcd767030aa45066b2c206ef3f662cee5f774304b846a93702a0124813561387 days 1 hr ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0xcacae58fc021480b6e1ee2a2c477884c9d10b28250 Ether
0x0952226bcc6005002318660eb8c9a50addbb46bc817bcede370c70ae0499257f4775501393 days 10 hrs ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0xcacae58fc021480b6e1ee2a2c477884c9d10b282100 Ether
0x28cb202e3b2e1c6dc05f71d8914c5b8a41779154d7e726eccf557246b6c83f824764310395 days 11 hrs ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0xcacae58fc021480b6e1ee2a2c477884c9d10b28235.61491809 Ether
0x4d63a5cf7b69ec338cee59cd37ee0644ec305db051a31d64c5d7833139670c1a4756431396 days 20 hrs ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0xcacae58fc021480b6e1ee2a2c477884c9d10b28256.86674373 Ether
0x847cadaafd2a74daaf936b871c6e62eee4bd65dcc1e3cf7721badc73c5032d4f4747416398 days 10 hrs ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0xcacae58fc021480b6e1ee2a2c477884c9d10b28251.2 Ether
0xfba2382f7766a6d1e0bd2b2df18644d1c2449bf69ba3c870b5a9b2018f5461fd4727258401 days 22 hrs ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0xcacae58fc021480b6e1ee2a2c477884c9d10b28245 Ether
0x08b79a1846cde41fa82becf2a173ae51030bd02b5de13d904c74977d5d2b53c54710661404 days 19 hrs ago0xfb2f26f266fb2805a387230f2aa0a331b4d96fba0xcacae58fc021480b6e1ee2a2c477884c9d10b28245 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity), ZeroFunctionSelector (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: DadiToken
Compiler Text: v0.4.17+commit.bdeb9e52
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.11;

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal constant returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

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

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

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

pragma solidity ^0.4.11;


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


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


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() {
    owner = msg.sender;
  }


  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }


  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) onlyOwner public {
    require(newOwner != address(0));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}

pragma solidity ^0.4.11;


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


pragma solidity ^0.4.11;


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

  mapping(address => uint256) balances;

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

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

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

}

pragma solidity ^0.4.11;


/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) public constant returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

pragma solidity ^0.4.11;


/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * @dev https://github.com/ethereum/EIPs/issues/20
 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract StandardToken is ERC20, BasicToken {

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


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

    uint256 _allowance = allowed[_from][msg.sender];

    // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
    // require (_value <= _allowance);

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

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

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

  /**
   * approve should be called when allowed[_spender] == 0. To increment
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   */
  function increaseApproval (address _spender, uint _addedValue)
    returns (bool success) {
    allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

  function decreaseApproval (address _spender, uint _subtractedValue)
    returns (bool success) {
    uint oldValue = allowed[msg.sender][_spender];
    if (_subtractedValue > oldValue) {
      allowed[msg.sender][_spender] = 0;
    } else {
      allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
    }
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

}

pragma solidity ^0.4.11;


/*****
* @title The ICO Contract
*/
contract DadiToken is StandardToken, Ownable {
    using SafeMath for uint256;

    /* Public variables of the token */
    string public name = "DADI";
    string public symbol = "DADI";
    uint8 public decimals = 18;
    string public version = "H1.0";

    address public owner;

    uint256 public hundredPercent = 1000;
    uint256 public foundersPercentOfTotal = 200;
    uint256 public referralPercentOfTotal = 50;
    uint256 public ecosystemPercentOfTotal = 25;
    uint256 public operationsPercentOfTotal = 25;

    uint256 public investorCount = 0;
    uint256 public totalRaised; // total ether raised (in wei)
    uint256 public preSaleRaised = 0; // ether raised (in wei)
    uint256 public publicSaleRaised = 0; // ether raised (in wei)

    // PartnerSale variables
    uint256 public partnerSaleTokensAvailable;
    uint256 public partnerSaleTokensPurchased = 0;
    mapping(address => uint256) public purchasedTokens;
    mapping(address => uint256) public partnerSaleWei;

    // PreSale variables
    uint256 public preSaleTokensAvailable;
    uint256 public preSaleTokensPurchased = 0;

    // PublicSale variables
    uint256 public publicSaleTokensAvailable;
    uint256 public publicSaleTokensPurchased = 0;

    // Price data
    uint256 public partnerSaleTokenPrice = 125;     // USD$0.125
    uint256 public partnerSaleTokenValue;
    uint256 public preSaleTokenPrice = 250;         // USD$0.25
    uint256 public publicSaleTokenPrice = 500;       // USD$0.50

    // ETH to USD Rate, set by owner: 1 ETH = ethRate USD
    uint256 public ethRate;

    // Address which will receive raised funds and owns the total supply of tokens
    address public fundsWallet;
    address public ecosystemWallet;
    address public operationsWallet;
    address public referralProgrammeWallet;
    address[] public foundingTeamWallets;
    
    address[] public partnerSaleWallets;
    address[] public preSaleWallets;
    address[] public publicSaleWallets;
   
    /*****
    * State machine
    *  0 - Preparing:            All contract initialization calls
    *  1 - PartnerSale:          Contract is in the invite-only PartnerSale Period
    *  6 - PartnerSaleFinalized: PartnerSale has completed
    *  2 - PreSale:              Contract is in the PreSale Period
    *  7 - PreSaleFinalized:     PreSale has completed
    *  3 - PublicSale:           The public sale of tokens, follows PreSale
    *  8 - PublicSaleFinalized:  The PublicSale has completed
    *  4 - Success:              ICO Successful
    *  5 - Failure:              Minimum funding goal not reached
    *  9 - Refunding:            Owner can transfer refunds
    * 10 - Closed:               ICO has finished, all tokens must have been claimed
    */
    enum SaleState { Preparing, PartnerSale, PreSale, PublicSale, Success, Failure, PartnerSaleFinalized, PreSaleFinalized, PublicSaleFinalized, Refunding, Closed }
    SaleState public state = SaleState.Preparing;

    /**
    * event for token purchase logging
    * @param purchaser who paid for the tokens
    * @param beneficiary who got the tokens
    * @param value weis paid for purchase
    * @param tokens amount of tokens purchased
    */
    event LogTokenPurchase(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 tokens);
    event LogRedistributeTokens(address recipient, SaleState state, uint256 tokens);
    event LogRefundProcessed(address recipient, uint256 value);
    event LogRefundFailed(address recipient, uint256 value);
    event LogClaimTokens(address recipient, uint256 tokens);
    event LogFundTransfer(address wallet, uint256 value);

    /*****
    * @dev Modifier to check that amount transferred is not 0
    */
    modifier nonZero() {
        require(msg.value != 0);
        _;
    }

    /*****
    * @dev The constructor function to initialize the token related properties
    * @param _wallet                        address     Specifies the address of the funding wallet
    * @param _operationalWallets            address[]   Specifies an array of addresses for [0] ecosystem, [1] operations, [2] referral programme
    * @param _foundingTeamWallets           address[]   Specifies an array of addresses of the founding team wallets
    * @param _initialSupply                 uint256     Specifies the total number of tokens available
    * @param _tokensAvailable               uint256[]   Specifies an array of tokens available for each phase, [0] PartnerSale, [1] PreSale, [2] PublicSale
    */
    function DadiToken (
        address _wallet,
        address[] _operationalWallets,
        address[] _foundingTeamWallets,
        uint256 _initialSupply,
        uint256[] _tokensAvailable
    ) public {
        require(_wallet != address(0));

        owner = msg.sender;
 
        // Token distribution per sale phase
        partnerSaleTokensAvailable = _tokensAvailable[0];
        preSaleTokensAvailable = _tokensAvailable[1];
        publicSaleTokensAvailable = _tokensAvailable[2];

        // Determine the actual supply using token amount * decimals
        totalSupply = _initialSupply * (uint256(10) ** decimals);

        // Give all the initial tokens to the contract owner
        balances[owner] = totalSupply;
        Transfer(0x0, owner, totalSupply);

        // Distribute tokens to the supporting operational wallets
        ecosystemWallet = _operationalWallets[0];
        operationsWallet = _operationalWallets[1];
        referralProgrammeWallet = _operationalWallets[2];
        foundingTeamWallets = _foundingTeamWallets;
        fundsWallet = _wallet;
        
        // Set a base ETHUSD rate
        updateEthRate(300000);
    }

    /*****
    * @dev Fallback Function to buy the tokens
    */
    function () payable {
        require(
            state == SaleState.PartnerSale || 
            state == SaleState.PreSale || 
            state == SaleState.PublicSale
        );

        buyTokens(msg.sender, msg.value);
    }

    /*****
    * @dev Allows transfer of tokens to a recipient who has purchased offline, during the PartnerSale
    * @param _recipient     address     The address of the recipient of the tokens
    * @param _tokens        uint256     The number of tokens purchased by the recipient
    * @return success       bool        Returns true if executed successfully
    */
    function offlineTransaction (address _recipient, uint256 _tokens) public onlyOwner returns (bool) {
        require(state == SaleState.PartnerSale);
        require(_tokens > 0);

        // Convert to a token with decimals 
        uint256 tokens = _tokens * (uint256(10) ** decimals);

        purchasedTokens[_recipient] = purchasedTokens[_recipient].add(tokens);

        // Use original _token argument to increase the count of tokens purchased in the PartnerSale
        partnerSaleTokensPurchased = partnerSaleTokensPurchased.add(_tokens);

        // Finalize the PartnerSale if necessary
        if (partnerSaleTokensPurchased >= partnerSaleTokensAvailable) {
            state = SaleState.PartnerSaleFinalized;
        }

        LogTokenPurchase(msg.sender, _recipient, 0, tokens);

        return true;
    }

    /*****
    * @dev Allow updating the ETH USD exchange rate
    * @param rate   uint256  the current ETH USD rate, multiplied by 1000
    * @return bool  Return true if the contract is in PartnerSale Period
    */
    function updateEthRate (uint256 rate) public onlyOwner returns (bool) {
        require(rate >= 100000);
        
        ethRate = rate;
        return true;
    }

    /*****
    * @dev Allows the contract owner to add a new PartnerSale wallet, used to hold funds safely
    *      Can only be performed in the Preparing state
    * @param _wallet        address     The address of the wallet
    * @return success       bool        Returns true if executed successfully
    */
    function addPartnerSaleWallet (address _wallet) public onlyOwner returns (bool) {
        require(state < SaleState.PartnerSaleFinalized);
        require(_wallet != address(0));
        partnerSaleWallets.push(_wallet);
        return true;
    }

    /*****
    * @dev Allows the contract owner to add a new PreSale wallet, used to hold funds safely
    *      Can not be performed in the PreSale state
    * @param _wallet        address     The address of the wallet
    * @return success       bool        Returns true if executed successfully
    */
    function addPreSaleWallet (address _wallet) public onlyOwner returns (bool) {
        require(state != SaleState.PreSale);
        require(_wallet != address(0));
        preSaleWallets.push(_wallet);
        return true;
    }

    /*****
    * @dev Allows the contract owner to add a new PublicSale wallet, used to hold funds safely
    *      Can not be performed in the PublicSale state
    * @param _wallet        address     The address of the wallet
    * @return success       bool        Returns true if executed successfully
    */
    function addPublicSaleWallet (address _wallet) public onlyOwner returns (bool) {
        require(state != SaleState.PublicSale);
        require(_wallet != address(0));
        publicSaleWallets.push(_wallet);
        return true;
    }

    /*****
    * @dev Calculates the number of tokens that can be bought for the amount of Wei transferred
    * @param _amount    uint256     The amount of money invested by the investor
    * @return tokens    uint256     The number of tokens purchased for the amount invested
    */
    function calculateTokens (uint256 _amount) public returns (uint256 tokens) {
        if (isStatePartnerSale()) {
            tokens = _amount * ethRate / partnerSaleTokenPrice;
        } else if (isStatePreSale()) {
            tokens = _amount * ethRate / preSaleTokenPrice;
        } else if (isStatePublicSale()) {
            tokens = _amount * ethRate / publicSaleTokenPrice;
        } else {
            tokens = 0;
        }

        return tokens;
    }

    /*****
    * @dev Called by the owner of the contract to open the Partner/Pre/Crowd Sale periods
    */
    function setPhase (uint256 phase) public onlyOwner {
        state = SaleState(uint(phase));
    }

    /*****
    * @dev Called by the owner of the contract to start the Partner Sale
    * @param rate   uint256  the current ETH USD rate, multiplied by 1000
    */
    function startPartnerSale (uint256 rate) public onlyOwner {
        state = SaleState.PartnerSale;
        updateEthRate(rate);
    }

    /*****
    * @dev Called by the owner of the contract to start the Pre Sale
    * @param rate   uint256  the current ETH USD rate, multiplied by 1000
    */
    function startPreSale (uint256 rate) public onlyOwner {
        state = SaleState.PreSale;
        updateEthRate(rate);
    }

    /*****
    * @dev Called by the owner of the contract to start the Public Sale
    * @param rate   uint256  the current ETH USD rate, multiplied by 1000
    */
    function startPublicSale (uint256 rate) public onlyOwner {
        state = SaleState.PublicSale;
        updateEthRate(rate);
    }

    /*****
    * @dev Called by the owner of the contract to close the Partner Sale
    */
    function finalizePartnerSale () public onlyOwner {
        require(state == SaleState.PartnerSale);
        
        state = SaleState.PartnerSaleFinalized;
    }

    /*****
    * @dev Called by the owner of the contract to close the Pre Sale
    */
    function finalizePreSale () public onlyOwner {
        require(state == SaleState.PreSale);
        
        state = SaleState.PreSaleFinalized;
    }

    /*****
    * @dev Called by the owner of the contract to close the Public Sale
    */
    function finalizePublicSale () public onlyOwner {
        require(state == SaleState.PublicSale);
        
        state = SaleState.PublicSaleFinalized;
    }

    /*****
    * @dev Called by the owner of the contract to finalize the ICO
    *      and redistribute funds and unsold tokens
    */
    function finalizeIco () public onlyOwner {
        require(state == SaleState.PublicSaleFinalized);

        state = SaleState.Success;

        // 2.5% of total goes to DADI ecosystem
        distribute(ecosystemWallet, ecosystemPercentOfTotal);

        // 2.5% of total goes to DADI+ operations
        distribute(operationsWallet, operationsPercentOfTotal);

        // 5% of total goes to referral programme
        distribute(referralProgrammeWallet, referralPercentOfTotal);
        
        // 20% of total goes to the founding team wallets
        distributeFoundingTeamTokens(foundingTeamWallets);

        // redistribute unsold tokens to DADI ecosystem
        uint256 remainingPreSaleTokens = getPreSaleTokensAvailable();
        preSaleTokensAvailable = 0;
        
        uint256 remainingPublicSaleTokens = getPublicSaleTokensAvailable();
        publicSaleTokensAvailable = 0;

        // we need to represent the tokens with included decimals
        // `2640 ** (10 ^ 18)` not `2640`
        if (remainingPreSaleTokens > 0) {
            remainingPreSaleTokens = remainingPreSaleTokens * (uint256(10) ** decimals);
            balances[owner] = balances[owner].sub(remainingPreSaleTokens);
            balances[ecosystemWallet] = balances[ecosystemWallet].add(remainingPreSaleTokens);
            Transfer(0, ecosystemWallet, remainingPreSaleTokens);
        }

        if (remainingPublicSaleTokens > 0) {
            remainingPublicSaleTokens = remainingPublicSaleTokens * (uint256(10) ** decimals);
            balances[owner] = balances[owner].sub(remainingPublicSaleTokens);
            balances[ecosystemWallet] = balances[ecosystemWallet].add(remainingPublicSaleTokens);
            Transfer(0, ecosystemWallet, remainingPublicSaleTokens);
        }

        // Transfer ETH to the funding wallet.
        if (!fundsWallet.send(this.balance)) {
            revert();
        }
    }

    /*****
    * @dev Called by the owner of the contract to close the ICO
    *      and unsold tokens to the ecosystem wallet. No more tokens 
    *      may be claimed
    */
    function closeIco () public onlyOwner {
        state = SaleState.Closed;
    }
    

    /*****
    * @dev Allow investors to claim their tokens after the ICO is finalized & successful
    * @return   bool  Return true, if executed successfully
    */
    function claimTokens () public returns (bool) {
        require(state == SaleState.Success);
        
        // get the tokens available for the sender
        uint256 tokens = purchasedTokens[msg.sender];
        require(tokens > 0);

        purchasedTokens[msg.sender] = 0;

        balances[owner] = balances[owner].sub(tokens);
        balances[msg.sender] = balances[msg.sender].add(tokens);
      
        LogClaimTokens(msg.sender, tokens);
        Transfer(owner, msg.sender, tokens);
        return true;
    }

    /*****
    * @dev Allow investors to take their money back after a failure in the ICO
    * @param _recipient     address     The caller of the function who is looking for refund
    * @return               bool        Return true, if executed successfully
    */
    function refund (address _recipient) public onlyOwner returns (bool) {
        require(state == SaleState.Refunding);

        uint256 value = partnerSaleWei[_recipient];
        
        require(value > 0);

        partnerSaleWei[_recipient] = 0;

        if(!_recipient.send(value)) {
            partnerSaleWei[_recipient] = value;
            LogRefundFailed(_recipient, value);
        }

        LogRefundProcessed(_recipient, value);
        return true;
    }

    /*****
    * @dev Allows owner to withdraw funds from the contract balance for marketing purposes
    * @param _address       address     The recipient address for the ether
    * @return               bool        Return true, if executed successfully
    */
    function withdrawFunds (address _address, uint256 _amount) public onlyOwner {
        _address.transfer(_amount);
    }

    /*****
    * @dev Generates a random number from 1 to max based on the last block hash
    * @param max     uint  the maximum value 
    * @return a random number
    */
    function getRandom(uint max) public constant returns (uint randomNumber) {
        return (uint(sha3(block.blockhash(block.number - 1))) % max) + 1;
    }

    /*****
    * @dev Called by the owner of the contract to set the state to Refunding
    */
    function setRefunding () public onlyOwner {
        require(state == SaleState.PartnerSaleFinalized);
        
        state = SaleState.Refunding;
    }

    /*****
    * @dev Get the overall success state of the ICO
    * @return bool whether the state is successful, or not
    */
    function isSuccessful () public constant returns (bool) {
        return state == SaleState.Success;
    }

    /*****
    * @dev Get the amount of PreSale tokens left for purchase
    * @return uint256 the count of tokens available
    */
    function getPreSaleTokensAvailable () public constant returns (uint256) {
        if (preSaleTokensAvailable == 0) {
            return 0;
        }

        return preSaleTokensAvailable - preSaleTokensPurchased;
    }

    /*****
    * @dev Get the amount of PublicSale tokens left for purchase
    * @return uint256 the count of tokens available
    */
    function getPublicSaleTokensAvailable () public constant returns (uint256) {
        if (publicSaleTokensAvailable == 0) {
            return 0;
        }

        return publicSaleTokensAvailable - publicSaleTokensPurchased;
    }

    /*****
    * @dev Get the total count of tokens purchased in all the Sale periods
    * @return uint256 the count of tokens purchased
    */
    function getTokensPurchased () public constant returns (uint256) {
        return partnerSaleTokensPurchased + preSaleTokensPurchased + publicSaleTokensPurchased;
    }

    /*****
    * @dev Get the total amount raised in the PreSale and PublicSale periods
    * @return uint256 the amount raised, in Wei
    */
    function getTotalRaised () public constant returns (uint256) {
        return preSaleRaised + publicSaleRaised;
    }

    /*****
    * @dev Get the balance sent to the contract
    * @return uint256 the amount sent to this contract, in Wei
    */
    function getBalance () public constant returns (uint256) {
        return this.balance;
    }

    /*****
    * @dev Get the balance of the funds wallet used to transfer the final balance
    * @return uint256 the amount sent to the funds wallet at the end of the ICO, in Wei
    */
    function getFundsWalletBalance () public constant onlyOwner returns (uint256) {
        return fundsWallet.balance;
    }

    /*****
    * @dev Get the count of unique investors
    * @return uint256 the total number of unique investors
    */
    function getInvestorCount () public constant returns (uint256) {
        return investorCount;
    }

    /*****
    * @dev Send ether to the fund collection wallets
    */
    function forwardFunds (uint256 _value) internal {
        // if (isStatePartnerSale()) {
        //     // move funds to a partnerSaleWallet
        //     if (partnerSaleWallets.length > 0) {
        //         // Transfer ETH to a random wallet
        //         uint accountNumber = getRandom(partnerSaleWallets.length) - 1;
        //         address account = partnerSaleWallets[accountNumber];
        //         account.transfer(_value);
        //         LogFundTransfer(account, _value);
        //     }
        // }

        uint accountNumber;
        address account;

        if (isStatePreSale()) {
            // move funds to a preSaleWallet
            if (preSaleWallets.length > 0) {
                // Transfer ETH to a random wallet
                accountNumber = getRandom(preSaleWallets.length) - 1;
                account = preSaleWallets[accountNumber];
                account.transfer(_value);
                LogFundTransfer(account, _value);
            }
        } else if (isStatePublicSale()) {
            // move funds to a publicSaleWallet
            if (publicSaleWallets.length > 0) {
                // Transfer ETH to a random wallet
                accountNumber = getRandom(publicSaleWallets.length) - 1;
                account = publicSaleWallets[accountNumber];
                account.transfer(_value);
                LogFundTransfer(account, _value);
            }
        }
    }

    /*****
    * @dev Internal function to execute the token transfer to the recipient
    *      In the PartnerSale period, token balances are stored in a separate mapping, to
    *      await the PartnerSaleFinalized state, when investors may call claimTokens
    * @param _recipient     address     The address of the recipient of the tokens
    * @param _value         uint256     The amount invested by the recipient
    * @return success       bool        Returns true if executed successfully
    */
    function buyTokens (address _recipient, uint256 _value) internal returns (bool) {
        uint256 boughtTokens = calculateTokens(_value);
        require(boughtTokens != 0);

        if (isStatePartnerSale()) {
            // assign tokens to separate mapping
            purchasedTokens[_recipient] = purchasedTokens[_recipient].add(boughtTokens);
            partnerSaleWei[_recipient] = partnerSaleWei[_recipient].add(_value);
        } else {
            // increment the unique investor count
            if (purchasedTokens[_recipient] == 0) {
                investorCount++;
            }

            // assign tokens to separate mapping, that is not "balances"
            purchasedTokens[_recipient] = purchasedTokens[_recipient].add(boughtTokens);
        }

       
        LogTokenPurchase(msg.sender, _recipient, _value, boughtTokens);

        forwardFunds(_value);

        updateSaleParameters(_value, boughtTokens);

        return true;
    }

    /*****
    * @dev Internal function to modify parameters based on tokens bought
    * @param _value         uint256     The amount invested in exchange for the tokens
    * @param _tokens        uint256     The number of tokens purchased
    * @return success       bool        Returns true if executed successfully
    */
    function updateSaleParameters (uint256 _value, uint256 _tokens) internal returns (bool) {
        // we need to represent the integer value of tokens here
        // tokensPurchased = `2640`, not `2640 ** (10 ^ 18)`
        uint256 tokens = _tokens / (uint256(10) ** decimals);

        if (isStatePartnerSale()) {
            partnerSaleTokensPurchased = partnerSaleTokensPurchased.add(tokens);

            // No PartnerSale tokens remaining
            if (partnerSaleTokensPurchased >= partnerSaleTokensAvailable) {
                state = SaleState.PartnerSaleFinalized;
            }
        } else if (isStatePreSale()) {
            preSaleTokensPurchased = preSaleTokensPurchased.add(tokens);

            preSaleRaised = preSaleRaised.add(_value);

            // No PreSale tokens remaining
            if (preSaleTokensPurchased >= preSaleTokensAvailable) {
                state = SaleState.PreSaleFinalized;
            }
        } else if (isStatePublicSale()) {
            publicSaleTokensPurchased = publicSaleTokensPurchased.add(tokens);

            publicSaleRaised = publicSaleRaised.add(_value);

            // No PublicSale tokens remaining
            if (publicSaleTokensPurchased >= publicSaleTokensAvailable) {
                state = SaleState.PublicSaleFinalized;
            }
        }
    }

    /*****
    * @dev Internal calculation for the amount of Wei the specified tokens are worth
    * @param _tokens    uint256     The number of tokens purchased by the investor
    * @return amount    uint256     The amount the tokens are worth
    */
    function calculateValueFromTokens (uint256 _tokens) internal returns (uint256) {
        uint256 amount = _tokens.div(ethRate.div(partnerSaleTokenPrice));
        return amount;
    }

    /*****
    * @dev Private function to distribute tokens evenly amongst the founding team wallet addresses
    * @param _recipients    address[]   An array of founding team wallet addresses
    * @return success       bool        Returns true if executed successfully
    */
    function distributeFoundingTeamTokens (address[] _recipients) private returns (bool) {
        // determine the split between wallets
        // to arrive at a valid percentage we start the percentage the founding team has
        // available, which is 20% of the total supply. The percentage to distribute then is the
        // total percentage divided by the number of founding team wallets (likely 4).
        uint percentage = foundersPercentOfTotal / _recipients.length;

        for (uint i = 0; i < _recipients.length; i++) {
            distribute(_recipients[i], percentage);
        }
    }

    /*****
    * @dev Private function to move tokens to the specified wallet address
    * @param _recipient     address     The address of the wallet to move tokens to
    * @param percentage     uint        The percentage of the total supply of tokens to move
    * @return success       bool        Returns true if executed successfully
    */
    function distribute (address _recipient, uint percentage) private returns (bool) {
        uint256 tokens = totalSupply / (hundredPercent / percentage);

        balances[owner] = balances[owner].sub(tokens);
        balances[_recipient] = balances[_recipient].add(tokens);
        Transfer(0, _recipient, tokens);
    }

    /*****
    * @dev Check the PartnerSale state of the contract
    * @return bool  Return true if the contract is in the PartnerSale state
    */
    function isStatePartnerSale () private constant returns (bool) {
        return state == SaleState.PartnerSale;
    }

    /*****
    * @dev Check the PreSale state of the contract
    * @return bool  Return true if the contract is in the PreSale state
    */
    function isStatePreSale () private constant returns (bool) {
        return state == SaleState.PreSale;
    }

    /*****
    * @dev Check the PublicSale state of the contract
    * @return bool  Return true if the contract is in the PublicSale state
    */
    function isStatePublicSale () private constant returns (bool) {
        return state == SaleState.PublicSale;
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getBalance","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":true,"inputs":[],"name":"fundsWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"phase","type":"uint256"}],"name":"setPhase","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getFundsWalletBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"publicSaleRaised","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":true,"inputs":[],"name":"publicSaleTokensAvailable","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"partnerSaleTokenValue","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"rate","type":"uint256"}],"name":"updateEthRate","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"publicSaleWallets","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ecosystemWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"setRefunding","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"closeIco","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"purchasedTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"partnerSaleWei","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"referralProgrammeWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"rate","type":"uint256"}],"name":"startPreSale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"preSaleTokensAvailable","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"referralPercentOfTotal","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"calculateTokens","outputs":[{"name":"tokens","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"preSaleTokenPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finalizePreSale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finalizePublicSale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"rate","type":"uint256"}],"name":"startPartnerSale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"rate","type":"uint256"}],"name":"startPublicSale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"publicSaleTokensPurchased","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hundredPercent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finalizeIco","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getTokensPurchased","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getInvestorCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getTotalRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"operationsPercentOfTotal","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"foundingTeamWallets","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finalizePartnerSale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"partnerSaleTokensPurchased","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"partnerSaleTokensAvailable","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getPublicSaleTokensAvailable","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"foundersPercentOfTotal","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_address","type":"address"},{"name":"_amount","type":"uint256"}],"name":"withdrawFunds","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"state","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"preSaleWallets","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"preSaleRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"publicSaleTokenPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ecosystemPercentOfTotal","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"max","type":"uint256"}],"name":"getRandom","outputs":[{"name":"randomNumber","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"preSaleTokensPurchased","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ethRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_wallet","type":"address"}],"name":"addPartnerSaleWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"investorCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_wallet","type":"address"}],"name":"addPublicSaleWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_wallet","type":"address"}],"name":"addPreSaleWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getPreSaleTokensAvailable","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"partnerSaleWallets","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"partnerSaleTokenPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isSuccessful","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_recipient","type":"address"},{"name":"_tokens","type":"uint256"}],"name":"offlineTransaction","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_recipient","type":"address"}],"name":"refund","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"operationsWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_wallet","type":"address"},{"name":"_operationalWallets","type":"address[]"},{"name":"_foundingTeamWallets","type":"address[]"},{"name":"_initialSupply","type":"uint256"},{"name":"_tokensAvailable","type":"uint256[]"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"purchaser","type":"address"},{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"LogTokenPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"recipient","type":"address"},{"indexed":false,"name":"state","type":"uint8"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"LogRedistributeTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"recipient","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"LogRefundProcessed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"recipient","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"LogRefundFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"recipient","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"LogClaimTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"wallet","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"LogFundTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60606040526040805190810160405260048082527f444144490000000000000000000000000000000000000000000000000000000060208301529080516200004c929160200190620003c2565b5060408051908101604052600481527f44414449000000000000000000000000000000000000000000000000000000006020820152600590805162000096929160200190620003c2565b506006805460ff1916601217905560408051908101604052600481527f48312e300000000000000000000000000000000000000000000000000000000060208201526007908051620000ed929160200190620003c2565b506103e860095560c8600a556032600b556019600c819055600d8190556000600e81905560108190556011819055601381905560178190559055607d601a5560fa601c556101f4601d556027805460ff1916905534156200014d57600080fd5b604051620029d5380380620029d583398101604052808051919060200180518201919060200180518201919060200180519190602001805160038054600160a060020a03191633600160a060020a0390811691909117909155920191861615159050620001b957600080fd5b60088054600160a060020a03191633600160a060020a031617905580600081518110620001e257fe5b9060200190602002015160125580600181518110620001fd57fe5b90602001906020020151601655806002815181106200021857fe5b9060200190602002015160185560065460ff16600a0a8202600081815560088054600160a060020a03908116835260016020526040808420859055915416927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef915190815260200160405180910390a3836000815181106200029657fe5b9060200190602002015160208054600160a060020a031916600160a060020a039290921691909117905583600181518110620002ce57fe5b9060200190602002015160218054600160a060020a031916600160a060020a0392909216919091179055836002815181106200030657fe5b9060200190602002015160228054600160a060020a031916600160a060020a039290921691909117905560238380516200034592916020019062000447565b50601f8054600160a060020a031916600160a060020a0387161790556200037d620493e064010000000062000389810262000f6c1704565b505050505050620004f6565b60035460009033600160a060020a03908116911614620003a857600080fd5b620186a0821015620003b957600080fd5b50601e55600190565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200040557805160ff191683800117855562000435565b8280016001018555821562000435579182015b828111156200043557825182559160200191906001019062000418565b5062000443929150620004af565b5090565b828054828255906000526020600020908101928215620004a1579160200282015b82811115620004a15782518254600160a060020a031916600160a060020a03919091161782556020929092019160019091019062000468565b5062000443929150620004cf565b620004cc91905b80821115620004435760008155600101620004b6565b90565b620004cc91905b8082111562000443578054600160a060020a0319168155600101620004d6565b6124cf80620005066000396000f300606060405236156103565763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146103b8578063095ea7b31461044257806312065fe01461047857806318160ddd1461049d5780632194f3a2146104b057806323b872dd146104df5780632cc82655146105075780632f73ef911461051f57806330074c6c14610532578063313ce5671461054557806334c1ef771461056e5780633882f333146105815780633f6f7ed61461059457806341affe19146105aa578063435263ef146105c057806345ab17bf146105d357806348546971146105e657806348c54b9d146105f95780634bae6f3f1461060c57806354fd4d501461062b57806359b36e3e1461063e5780635b715ae01461065d5780635b91c510146106705780636618846314610686578063687cc2fd146106a857806370a08231146106bb57806370c35951146106da57806371aa60fd146106ed5780637259bce3146107035780637376678b1461071657806373eda3cc14610729578063740404241461073c57806374817d9b146107525780637d0bd79a146107685780638a9cb3611461077b5780638da5cb5b1461078e578063903a3ef6146107a157806391667aef146107b457806395d89b41146107c7578063960524e3146107da5780639f550293146107ed578063a3fcf9bc14610800578063a9059cbb14610813578063ac50713a14610835578063af99a3271461084b578063b148313e1461085e578063b2b0210914610871578063ba6bbe5514610884578063bf251bc614610897578063c1075329146108aa578063c19d93fb146108cc578063c3c2686c14610903578063c417354814610919578063c5c4744c1461092c578063c7e046701461093f578063cd46abe414610952578063cd4b691414610965578063d1bb04331461097b578063d2d93f901461098e578063d5a632b5146109a1578063d73dd623146109c0578063d7e64c00146109e2578063da9590cb146109f5578063dd62ed3e14610a14578063e03c639c14610a39578063e55b55ce14610a58578063e624d19914610a6b578063e75dcb1914610a81578063ec4cd0cf14610a94578063f2fde38b14610aa7578063f54e7a4014610ac6578063fa89401a14610ae8578063fd72e22a14610b07575b600160275460ff16600a81111561036957fe5b14806103855750600260275460ff16600a81111561038357fe5b145b806103a05750600360275460ff16600a81111561039e57fe5b145b15156103ab57600080fd5b6103b53334610b1a565b50005b34156103c357600080fd5b6103cb610c97565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156104075780820151838201526020016103ef565b50505050905090810190601f1680156104345780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561044d57600080fd5b610464600160a060020a0360043516602435610d35565b604051901515815260200160405180910390f35b341561048357600080fd5b61048b610da1565b60405190815260200160405180910390f35b34156104a857600080fd5b61048b610db0565b34156104bb57600080fd5b6104c3610db6565b604051600160a060020a03909116815260200160405180910390f35b34156104ea57600080fd5b610464600160a060020a0360043581169060243516604435610dc5565b341561051257600080fd5b61051d600435610edd565b005b341561052a57600080fd5b61048b610f22565b341561053d57600080fd5b61048b610f51565b341561055057600080fd5b610558610f57565b60405160ff909116815260200160405180910390f35b341561057957600080fd5b61048b610f60565b341561058c57600080fd5b61048b610f66565b341561059f57600080fd5b610464600435610f6c565b34156105b557600080fd5b6104c3600435610fa3565b34156105cb57600080fd5b6104c3610fcb565b34156105de57600080fd5b61051d610fda565b34156105f157600080fd5b61051d611029565b341561060457600080fd5b610464611058565b341561061757600080fd5b61048b600160a060020a03600435166111b0565b341561063657600080fd5b6103cb6111c2565b341561064957600080fd5b61048b600160a060020a036004351661122d565b341561066857600080fd5b6104c361123f565b341561067b57600080fd5b61051d60043561124e565b341561069157600080fd5b610464600160a060020a036004351660243561128b565b34156106b357600080fd5b61048b611385565b34156106c657600080fd5b61048b600160a060020a036004351661138b565b34156106e557600080fd5b61048b6113a6565b34156106f857600080fd5b61048b6004356113ac565b341561070e57600080fd5b61048b611419565b341561072157600080fd5b61051d61141f565b341561073457600080fd5b61051d61146b565b341561074757600080fd5b61051d6004356114b7565b341561075d57600080fd5b61051d6004356114e5565b341561077357600080fd5b61048b611514565b341561078657600080fd5b61048b61151a565b341561079957600080fd5b6104c3611520565b34156107ac57600080fd5b61051d61152f565b34156107bf57600080fd5b61048b61180f565b34156107d257600080fd5b6103cb61181d565b34156107e557600080fd5b61048b611888565b34156107f857600080fd5b61048b61188e565b341561080b57600080fd5b61048b611898565b341561081e57600080fd5b610464600160a060020a036004351660243561189e565b341561084057600080fd5b6104c3600435611962565b341561085657600080fd5b61051d611970565b341561086957600080fd5b61048b6119bc565b341561087c57600080fd5b61048b6119c2565b341561088f57600080fd5b61048b6119c8565b34156108a257600080fd5b61048b6119e8565b34156108b557600080fd5b61051d600160a060020a03600435166024356119ee565b34156108d757600080fd5b6108df611a3a565b6040518082600a8111156108ef57fe5b60ff16815260200191505060405180910390f35b341561090e57600080fd5b6104c3600435611a43565b341561092457600080fd5b61048b611a51565b341561093757600080fd5b61048b611a57565b341561094a57600080fd5b61048b611a5d565b341561095d57600080fd5b61048b611a63565b341561097057600080fd5b61048b600435611a69565b341561098657600080fd5b61048b611a97565b341561099957600080fd5b61048b611a9d565b34156109ac57600080fd5b610464600160a060020a0360043516611aa3565b34156109cb57600080fd5b610464600160a060020a0360043516602435611b41565b34156109ed57600080fd5b61048b611be5565b3415610a0057600080fd5b610464600160a060020a0360043516611beb565b3415610a1f57600080fd5b61048b600160a060020a0360043581169060243516611c4e565b3415610a4457600080fd5b610464600160a060020a0360043516611c79565b3415610a6357600080fd5b61048b611cdc565b3415610a7657600080fd5b6104c3600435611cfc565b3415610a8c57600080fd5b61048b611d0a565b3415610a9f57600080fd5b610464611d10565b3415610ab257600080fd5b61051d600160a060020a0360043516611d2c565b3415610ad157600080fd5b610464600160a060020a0360043516602435611dc7565b3415610af357600080fd5b610464600160a060020a0360043516611eea565b3415610b1257600080fd5b6104c361203c565b600080610b26836113ac565b9050801515610b3457600080fd5b610b3c61204b565b15610bbd57600160a060020a038416600090815260146020526040902054610b6a908263ffffffff61205416565b600160a060020a038516600090815260146020908152604080832093909355601590522054610b9f908463ffffffff61205416565b600160a060020a038516600090815260156020526040902055610c29565b600160a060020a0384166000908152601460205260409020541515610be657600e805460010190555b600160a060020a038416600090815260146020526040902054610c0f908263ffffffff61205416565b600160a060020a0385166000908152601460205260409020555b83600160a060020a031633600160a060020a03167ff370ff51765588b4b12b4ccf319b865dd3499a57df818acfe82c2740e41c878d858460405191825260208201526040908101905180910390a3610c808361206a565b610c8a83826121f3565b50600191505b5092915050565b60048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d2d5780601f10610d0257610100808354040283529160200191610d2d565b820191906000526020600020905b815481529060010190602001808311610d1057829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b600160a060020a033016315b90565b60005481565b601f54600160a060020a031681565b600080600160a060020a0384161515610ddd57600080fd5b50600160a060020a03808516600081815260026020908152604080832033909516835293815283822054928252600190529190912054610e23908463ffffffff61230716565b600160a060020a038087166000908152600160205260408082209390935590861681522054610e58908463ffffffff61205416565b600160a060020a038516600090815260016020526040902055610e81818463ffffffff61230716565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616916000805160206124848339815191529086905190815260200160405180910390a3506001949350505050565b60035433600160a060020a03908116911614610ef857600080fd5b80600a811115610f0457fe5b6027805460ff1916600183600a811115610f1a57fe5b021790555050565b60035460009033600160a060020a03908116911614610f4057600080fd5b50601f54600160a060020a03163190565b60115481565b60065460ff1681565b60185481565b601b5481565b60035460009033600160a060020a03908116911614610f8a57600080fd5b620186a0821015610f9a57600080fd5b50601e55600190565b6026805482908110610fb157fe5b600091825260209091200154600160a060020a0316905081565b602054600160a060020a031681565b60035433600160a060020a03908116911614610ff557600080fd5b600660275460ff16600a81111561100857fe5b1461101257600080fd5b602780546009919060ff19166001835b0217905550565b60035433600160a060020a0390811691161461104457600080fd5b60278054600a919060ff1916600183611022565b600080600460275460ff16600a81111561106e57fe5b1461107857600080fd5b50600160a060020a03331660009081526014602052604081205490811161109e57600080fd5b600160a060020a03338116600090815260146020908152604080832083905560085490931682526001905220546110db908263ffffffff61230716565b600854600160a060020a03908116600090815260016020526040808220939093553390911681522054611114908263ffffffff61205416565b33600160a060020a03811660009081526001602052604090819020929092557fb3e6713eb4b9ebcedd171189507351d87329927e260601e1e1e9181e452b9b1391839051600160a060020a03909216825260208201526040908101905180910390a1600854600160a060020a0333811691166000805160206124848339815191528360405190815260200160405180910390a3600191505b5090565b60146020526000908152604090205481565b60078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d2d5780601f10610d0257610100808354040283529160200191610d2d565b60156020526000908152604090205481565b602254600160a060020a031681565b60035433600160a060020a0390811691161461126957600080fd5b602780546002919060ff19166001835b021790555061128781610f6c565b5050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054808311156112e857600160a060020a03338116600090815260026020908152604080832093881683529290529081205561131f565b6112f8818463ffffffff61230716565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b60165481565b600160a060020a031660009081526001602052604090205490565b600b5481565b60006113b661204b565b156113d457601a54601e5483028115156113cc57fe5b049050611414565b6113dc612319565b156113f257601c54601e5483028115156113cc57fe5b6113fa612322565b1561141057601d54601e5483028115156113cc57fe5b5060005b919050565b601c5481565b60035433600160a060020a0390811691161461143a57600080fd5b600260275460ff16600a81111561144d57fe5b1461145757600080fd5b602780546007919060ff1916600183611022565b60035433600160a060020a0390811691161461148657600080fd5b600360275460ff16600a81111561149957fe5b146114a357600080fd5b602780546008919060ff1916600183611022565b60035433600160a060020a039081169116146114d257600080fd5b602780546001919060ff19168280611279565b60035433600160a060020a0390811691161461150057600080fd5b602780546003919060ff1916600183611279565b60195481565b60095481565b600854600160a060020a031681565b600354600090819033600160a060020a0390811691161461154f57600080fd5b600860275460ff16600a81111561156257fe5b1461156c57600080fd5b6027805460ff19166004179055602054600c5461159291600160a060020a03169061232b565b50602154600d546115ac91600160a060020a03169061232b565b50602254600b546115c691600160a060020a03169061232b565b5061162a602380548060200260200160405190810160405280929190818152602001828054801561162057602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311611602575b50505050506123f7565b50611633611cdc565b600060165591506116426119c8565b6000601881905590915082111561171057600654600854600160a060020a031660009081526001602052604090205460ff909116600a0a929092029161168e908363ffffffff61230716565b600854600160a060020a0390811660009081526001602090815260408083209490945554909116815220546116c9908363ffffffff61205416565b60208054600160a060020a03908116600090815260018352604080822094909455915416916000805160206124848339815191529085905190815260200160405180910390a35b60008111156117d657600654600854600160a060020a031660009081526001602052604090205460ff909116600a0a9190910290611754908263ffffffff61230716565b600854600160a060020a03908116600090815260016020908152604080832094909455549091168152205461178f908263ffffffff61205416565b60208054600160a060020a03908116600090815260018352604080822094909455915416916000805160206124848339815191529084905190815260200160405180910390a35b601f54600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561128757600080fd5b601954601754601354010190565b60058054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d2d5780601f10610d0257610100808354040283529160200191610d2d565b600e5490565b6011546010540190565b600d5481565b6000600160a060020a03831615156118b557600080fd5b600160a060020a0333166000908152600160205260409020546118de908363ffffffff61230716565b600160a060020a033381166000908152600160205260408082209390935590851681522054611913908363ffffffff61205416565b600160a060020a0380851660008181526001602052604090819020939093559133909116906000805160206124848339815191529085905190815260200160405180910390a350600192915050565b6023805482908110610fb157fe5b60035433600160a060020a0390811691161461198b57600080fd5b600160275460ff16600a81111561199e57fe5b146119a857600080fd5b602780546006919060ff1916600183611022565b60135481565b60125481565b6000601854600014156119dd57506000610dad565b506019546018540390565b600a5481565b60035433600160a060020a03908116911614611a0957600080fd5b600160a060020a03821681156108fc0282604051600060405180830381858888f19350505050151561128757600080fd5b60275460ff1681565b6025805482908110610fb157fe5b60105481565b600f5481565b601d5481565b600c5481565b6000816001430340604051908152602001604051908190039020811515611a8c57fe5b066001019050919050565b60175481565b601e5481565b60035460009033600160a060020a03908116911614611ac157600080fd5b600660275460ff16600a811115611ad457fe5b10611ade57600080fd5b600160a060020a0382161515611af357600080fd5b6024805460018101611b05838261244a565b5060009182526020909120018054600160a060020a03841673ffffffffffffffffffffffffffffffffffffffff19909116179055506001919050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054611b79908363ffffffff61205416565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600e5481565b60035460009033600160a060020a03908116911614611c0957600080fd5b600360275460ff16600a811115611c1c57fe5b1415611c2757600080fd5b600160a060020a0382161515611c3c57600080fd5b6026805460018101611b05838261244a565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035460009033600160a060020a03908116911614611c9757600080fd5b600260275460ff16600a811115611caa57fe5b1415611cb557600080fd5b600160a060020a0382161515611cca57600080fd5b6025805460018101611b05838261244a565b600060165460001415611cf157506000610dad565b506017546016540390565b6024805482908110610fb157fe5b601a5481565b600060045b60275460ff16600a811115611d2657fe5b14905090565b60035433600160a060020a03908116911614611d4757600080fd5b600160a060020a0381161515611d5c57600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600354600090819033600160a060020a03908116911614611de757600080fd5b600160275460ff16600a811115611dfa57fe5b14611e0457600080fd5b60008311611e1157600080fd5b50600654600160a060020a03841660009081526014602052604090205460ff909116600a0a830290611e49908263ffffffff61205416565b600160a060020a038516600090815260146020526040902055601354611e75908463ffffffff61205416565b60138190556012549010611e91576027805460ff191660061790555b83600160a060020a031633600160a060020a03167ff370ff51765588b4b12b4ccf319b865dd3499a57df818acfe82c2740e41c878d60008460405191825260208201526040908101905180910390a35060019392505050565b600354600090819033600160a060020a03908116911614611f0a57600080fd5b600960275460ff16600a811115611f1d57fe5b14611f2757600080fd5b50600160a060020a038216600090815260156020526040812054908111611f4d57600080fd5b600160a060020a0383166000818152601560205260408082209190915582156108fc0290839051600060405180830381858888f193505050501515611fef57600160a060020a038316600090815260156020526040908190208290557fcb80bd6028ae0d018d1107f97dff976c4ec0eac08b0c0b0333ce6171b9a82363908490839051600160a060020a03909216825260208201526040908101905180910390a15b7fa333f96dabe0ec7cced63b2b2fb2c580f835a922775cb04895aeb146331c7ebb8382604051600160a060020a03909216825260208201526040908101905180910390a150600192915050565b602154600160a060020a031681565b60006001611d15565b60008282018381101561206357fe5b9392505050565b600080612075612319565b1561213057602554600090111561212b5760255460019061209590611a69565b0391506025828154811015156120a757fe5b600091825260209091200154600160a060020a031690508083156108fc0284604051600060405180830381858888f1935050505015156120e657600080fd5b7f35c019e24e057e2b74358b61c59c75be70dc488b1c5f97fd5b9dfe58f6df04e88184604051600160a060020a03909216825260208201526040908101905180910390a15b6121ee565b612138612322565b156121ee5760265460009011156121ee5760265460019061215890611a69565b03915060268281548110151561216a57fe5b600091825260209091200154600160a060020a031690508083156108fc0284604051600060405180830381858888f1935050505015156121a957600080fd5b7f35c019e24e057e2b74358b61c59c75be70dc488b1c5f97fd5b9dfe58f6df04e88184604051600160a060020a03909216825260208201526040908101905180910390a15b505050565b600654600090819060ff16600a0a8381151561220b57fe5b04905061221661204b565b156122575760135461222e908263ffffffff61205416565b6013819055601254901061225257602780546006919060ff19166001835b02179055505b610c90565b61225f612319565b156122af57601754612277908263ffffffff61205416565b60175560105461228d908563ffffffff61205416565b6010556016546017541061225257602780546007919060ff191660018361224c565b6122b7612322565b15610c90576019546122cf908263ffffffff61205416565b6019556011546122e5908563ffffffff61205416565b60115560185460195410610c9057506027805460ff1916600817905592915050565b60008282111561231357fe5b50900390565b60006002611d15565b60006003611d15565b6000808260095481151561233b57fe5b0460005481151561234857fe5b600854600160a060020a03166000908152600160205260409020549190049150612378908263ffffffff61230716565b600854600160a060020a0390811660009081526001602052604080822093909355908616815220546123b0908263ffffffff61205416565b600160a060020a0385166000818152600160205260408082209390935590916000805160206124848339815191529084905190815260200160405180910390a35092915050565b60008060008351600a5481151561240a57fe5b049150600090505b83518110156124435761243a84828151811061242a57fe5b906020019060200201518361232b565b50600101612412565b5050919050565b8154818355818115116121ee576000838152602090206121ee918101908301610dad91905b808211156111ac576000815560010161246f5600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820c800631c74f9d1cdc373473e3237ee226148685311820f356d34d77940e61b1700290000000000000000000000000284b6f8c908d13bd7938b0835ef03cfd11ee73b00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000005f5e10000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000003000000000000000000000000ddbaef9a11e01978b09a7b4f68333d2004b9837a00000000000000000000000084afeae595b14dfbee3da278fab7f078bac6848e000000000000000000000000542a78ea69cb13f79d95e2e5c83c9c2307c209a0000000000000000000000000000000000000000000000000000000000000000400000000000000000000000091770ab877fba3ccb00940b2c1a68f623b55f413000000000000000000000000be3c70ea15c978156b6019a25fdb1a1fa9d4d8e6000000000000000000000000948af657a8d5cd0c94886729ef332795102b9a00000000000000000000000000b7ec5a63f316522faa671a6f0643976eeb3743460000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000098968000000000000000000000000000000000000000000000000000000000009896800000000000000000000000000000000000000000000000000000000002faf080

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

-----Encoded View---------------
18 Constructor Arguments found :
Arg [0] : 0000000000000000000000000284b6f8c908d13bd7938b0835ef03cfd11ee73b
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000005f5e100
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 000000000000000000000000ddbaef9a11e01978b09a7b4f68333d2004b9837a
Arg [7] : 00000000000000000000000084afeae595b14dfbee3da278fab7f078bac6848e
Arg [8] : 000000000000000000000000542a78ea69cb13f79d95e2e5c83c9c2307c209a0
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [10] : 00000000000000000000000091770ab877fba3ccb00940b2c1a68f623b55f413
Arg [11] : 000000000000000000000000be3c70ea15c978156b6019a25fdb1a1fa9d4d8e6
Arg [12] : 000000000000000000000000948af657a8d5cd0c94886729ef332795102b9a00
Arg [13] : 000000000000000000000000b7ec5a63f316522faa671a6f0643976eeb374346
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [15] : 0000000000000000000000000000000000000000000000000000000000989680
Arg [16] : 0000000000000000000000000000000000000000000000000000000000989680
Arg [17] : 0000000000000000000000000000000000000000000000000000000002faf080


   Swarm Source:
bzzr://c800631c74f9d1cdc373473e3237ee226148685311820f356d34d77940e61b17

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.