Sponsored:   Kirik Meta Protocol - New Generation of Blockchain - Join Pre-Sale Aug 15-17
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 1401 txns
 Latest 25 txns from a total Of 1401 transactions

TxHash Age From To Value [TxFee]
0x819cf8d83f45b495ea55051c13310ce430d26736529a439b3656fa1dfa7a6acd102 days 9 hrs ago0xad8ab1d8b83edf013a06aa6dc48c5f9aef3727fa  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.001 Ether0.00021308
0x8a12e2e5c204001705f2443f822e091d4fe4bc0de1d173ebf8fe282f3a5df836177 days 3 hrs ago0x4717319c8253ac9691d80db67ff6513550b88cce  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0641 Ether0.00010654
0x717656a01a73a3cd5965eeb12bc773c8dff733e9ea607fd669c5ee42ce27e55d211 days 16 hrs ago0xc49208449c25a80bbf1171808d64c6f021c79de9  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.013 Ether0.000021308
0x523199c21ddff38f59878c255893c3c951d6286a16838abc354cfd64bb178cd5215 days 4 mins ago0xc38cbec6de1056929791ac975bcf42a1627eaa24  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.00207525 Ether0.001092
0x0a31b961970c8cfa3ee3dc3a75db43dcfa1718c648a1510b3f55b8c2f734a97d215 days 2 hrs ago0x931c3e1c5330329d51ec0e25facc4079f2ee0627  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.035585812838888 Ether0.000873628
0xa02d9337a4da0406e2a18942831ccaf44e81cdbdcf682c9bb23a22ea754b0345215 days 7 hrs ago0x931c3e1c5330329d51ec0e25facc4079f2ee0627  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.03 Ether0.000873628
0x5caf3e77628be67e8cf198997381391a16afdbb4484846ca15e3ce281a393e8f216 days 7 hrs ago0x2c8679bb6fe063db327e9db2bc5a66e8907549c3  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0641.9 Ether0.0010654
0x65c12046c8923a9d95f72ca0cc03275f6a3a7a80c421afdc99ba9855a660fe20216 days 7 hrs ago0x143c6041b314bf105d4cdea34e955854a3365658  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.106976 Ether0.000861
0x8e6d358458b956dd2f4200d3c0e4da9f065bbf86086ef17d2af5443b96d77927216 days 7 hrs ago0x9a9bbe475397a04325789ce599e9bc720ce1784a  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.2 Ether0.000861
0x1fe544b52ea20408807b7961bf9eb43212ee71557745bcb4ed113becdc0a42e9216 days 7 hrs ago0x9a9bbe475397a04325789ce599e9bc720ce1784a  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.3 Ether0.000861
0x335b7cd20ca751e8ecf8770ed47704de827e416cb8ccd0979a412d5b246c8acc216 days 8 hrs ago0x9a9bbe475397a04325789ce599e9bc720ce1784a  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.01 Ether0.000861
0x75613ef06d4994d4504e4fa7baf74b7daa5cc24e67a650a48d853d5a327f3d0c216 days 8 hrs ago0x2431e4785299fe98cb9976cff25486adaf8d7fb0  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0641 Ether0.0010654
0xbfc115fdb2ebcbdafd2be306204fb46c311dbfbd6a07b08c0e122025a7dc4fa2216 days 8 hrs ago0x511a90f72d2950cbaeb21c8eedc35df2bd5ba23e  IN   0xd234ddf335917c7a170ad13b748f52ae5791e06410 Ether0.00042616
0xb256d440c2e208bc9936998a0319944dfb221bb60db2c4eba903adb7d6f82ea2216 days 9 hrs ago0x2431e4785299fe98cb9976cff25486adaf8d7fb0  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.8 Ether0.0010654
0x26499569bf00015018b9d2401e8ecbe86a7f0854cf3167ab235fd08342236351216 days 9 hrs ago0xfb42a18a4227d30aaea8c57855ae2184d32c5b2b  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.03517484 Ether0.0010654
0x59bf51e66dfe7a2ab34cd72491bb2e2f006482c49f27c8ebd70ad73ec66b5473216 days 9 hrs ago0x23bcf4d64950a4f48327bd6380f487283b6c9738  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.03669679 Ether0.0010654
0x455fe006f10f484d09e26e5331cb634a1aff4036dd03efe4a35ffbd1afc90a96216 days 9 hrs ago0xfb42a18a4227d30aaea8c57855ae2184d32c5b2b  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.03967484 Ether0.001575
0x2cb28dfdf01504405e8dafb7dd79284cdabc10f1def2aacff898897fd8299a8e216 days 9 hrs ago0xfb42a18a4227d30aaea8c57855ae2184d32c5b2b  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.04070984 Ether0.00126
0x0823ac47f5181a02ba4565b6c3b73e300725009f23399800671f3158a7fac6b0216 days 9 hrs ago0x45bff46eaac037dbe01d4d397afdc3ec7e70ae2d  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.01 Ether0.000441
0x4b0d918055ffff53de3e517891774da3768cc749033139b2d2b94f4c8499665d216 days 9 hrs ago0x08b07136b2769bbe9d8f5982c9c84c0ed150af21  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0641.1 Ether0.000447468
0xbc103665d321ec84258a54942e090dbcd3319c712334fbda507bc2f1297056f8216 days 9 hrs ago0x23bcf4d64950a4f48327bd6380f487283b6c9738  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.03785527 Ether0.00127848
0x687a4a2258d2fe6c3bd008a1fbadcea0a7c601cdad3e8bd09b059a856c882d7f216 days 9 hrs ago0xcaecf66f9705338144280eefcbc9421dc0fb9797  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0641.029139 Ether0.000861
0xd3d76874da3f8b0633305860bbe55521537a0e7865ef531cf4836bc2f77e830f216 days 9 hrs ago0x6d4966699d878b088a02751afaf4e2d79adf3127  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.004 Ether0.0006541
0x36de5a7e1eb8fef4c254416f941fc3b0d50b77c6f7debc917972728e953b2731216 days 9 hrs ago0xcaecf66f9705338144280eefcbc9421dc0fb9797  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0641.029139 Ether0.000873628
0x72815d24d75e345f98bc48336d5c667463b98d73b953aa75e49431902155efde216 days 9 hrs ago0xfb42a18a4227d30aaea8c57855ae2184d32c5b2b  IN   0xd234ddf335917c7a170ad13b748f52ae5791e0640.04250984 Ether0.000441
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here to View More View All
ParentTxHash Block Age From To Value
0x586b1d3cf749ded528d6f7d8f57cfccaa8cfd9dbca70c279c69bbe30c3fa8b5d4902946216 days 9 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a560.000000000444444444 Ether
0x586b1d3cf749ded528d6f7d8f57cfccaa8cfd9dbca70c279c69bbe30c3fa8b5d4902946216 days 9 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xacf15669e91c7d5b110ca93ccf2e8235a082a7960.039999999555555556 Ether
0xf7f38ad69ac67e3183bd37d347f52e17c17a5462b813b1ea5c73c75570c888544902914216 days 9 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xa43cf9c7258942473ba70c01df590b90f7f448390.000000000272222222 Ether
0xf7f38ad69ac67e3183bd37d347f52e17c17a5462b813b1ea5c73c75570c888544902914216 days 9 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xacf15669e91c7d5b110ca93ccf2e8235a082a7960.064999999727777778 Ether
0xb0cdf000dd7e9743c2e2ae51adb166432b0183378e36645c851f58a86b60cc0a4902889216 days 9 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xe64a35271a96a6f8c49a28493e8cf26babbb43880.000000001311111112 Ether
0xb0cdf000dd7e9743c2e2ae51adb166432b0183378e36645c851f58a86b60cc0a4902889216 days 9 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xacf15669e91c7d5b110ca93ccf2e8235a082a7961.899999998688888888 Ether
0xa4ac74fd7cf1c57097acaf08f9d5f37e354636c1e06a8d73f9c85914775986344902884216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xf822ddd1029a4b56ebb2234f2cebe96dc6cffab40.000000001322222222 Ether
0xa4ac74fd7cf1c57097acaf08f9d5f37e354636c1e06a8d73f9c85914775986344902884216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xacf15669e91c7d5b110ca93ccf2e8235a082a7961.009999998677777778 Ether
0xe2132d771b5f036e58c25bc9a132a3133cd86dcecd849b72e9889aee27ff4af14902858216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640x6d87a8810b1b1c4827e8ad37ff25dc02719469a30.000000000311111112 Ether
0xe2132d771b5f036e58c25bc9a132a3133cd86dcecd849b72e9889aee27ff4af14902858216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xacf15669e91c7d5b110ca93ccf2e8235a082a7960.999999999688888888 Ether
0x42a6d9f2dfccaf8a4396a3341bc789c9fd1d73070344d18586f02e56deb99bd74902833216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640x4cae9535c8855b4352d65fa018ba54d3a986dd880.000000001677777776 Ether
0x42a6d9f2dfccaf8a4396a3341bc789c9fd1d73070344d18586f02e56deb99bd74902833216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xacf15669e91c7d5b110ca93ccf2e8235a082a7960.069999998322222224 Ether
0x5a3843392c974febe8d4adae6c0e8769f5692d502ea616591430dce47b0fa7404902803216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640x582a98567643493ab6bd2a0ca1d3c62b8ba006220.000000001550736798 Ether
0x5a3843392c974febe8d4adae6c0e8769f5692d502ea616591430dce47b0fa7404902803216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xacf15669e91c7d5b110ca93ccf2e8235a082a7960.20288514577457206 Ether
0x9fb638d1c6d49b02ee3a6e6e72926a7647169fcaada814092cb2a91dfc5bac904902792216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640x44729e63dc6873904cd3023a00169c1166c3db9d0.000000000528234444 Ether
0x9fb638d1c6d49b02ee3a6e6e72926a7647169fcaada814092cb2a91dfc5bac904902792216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xacf15669e91c7d5b110ca93ccf2e8235a082a7960.115410999471765556 Ether
0x2ba4e32c605484149d9683d4c87c21e853f1002519faf9f7bf348a95ba34af3f4902723216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xb750d539ac8a1b62d4b34bcc4a44ddb70e6929e70.000000001507086254 Ether
0x2ba4e32c605484149d9683d4c87c21e853f1002519faf9f7bf348a95ba34af3f4902723216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xacf15669e91c7d5b110ca93ccf2e8235a082a7960.096377628492913746 Ether
0xc1318e88236def5c818f2433955fe4a2dbda4753b14e80528577f3ea6279b76e4902721216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xcb418b01da85557049129ebd4526e1b1f0aad6a90.000000000222222222 Ether
0xc1318e88236def5c818f2433955fe4a2dbda4753b14e80528577f3ea6279b76e4902721216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xacf15669e91c7d5b110ca93ccf2e8235a082a7960.019999999777777778 Ether
0x85a6a83f7bf7d8cf918fee994763641cede2530941cc5ef3e46a5da1b896e4804902714216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xcfc070335f55758008fdc40cf74551d7b7ce7c8a0.00000000101111111 Ether
0x85a6a83f7bf7d8cf918fee994763641cede2530941cc5ef3e46a5da1b896e4804902714216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xacf15669e91c7d5b110ca93ccf2e8235a082a7960.00999999898888889 Ether
0xcd4bc4ead74d7d09ee67de9c06a65c7fc3afcfd6a181e335951242b2f2de09f04902712216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640x2d47392f2ab0419d841d47b723f2ca459c265d920.000000001339888888 Ether
0xcd4bc4ead74d7d09ee67de9c06a65c7fc3afcfd6a181e335951242b2f2de09f04902712216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640xacf15669e91c7d5b110ca93ccf2e8235a082a7960.485899998660111112 Ether
0x2e39c1750b091287e31c1d671e835b85497640288fcbec3393eb9c26e29607af4902698216 days 10 hrs ago0xd234ddf335917c7a170ad13b748f52ae5791e0640x2b81776e6227d682f0c68d029780913e5ba9dc080.000000001555555554 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) Solidity compiler bugs.

Contract Source Code Verified (Exact match)
Contract Name: IcoOKOToken
Compiler Version: v0.4.19+commit.c4cbbb05
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18;

/**
 * Math operations with safety checks
 */
contract SafeMath {

  function safeMul(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b > 0);
    uint256 c = a / b;
    assert(a == b * c + a % b);
    return c;
  }

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

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

}

/**
 * Standard ERC20 token with Short Hand Attack and approve() race condition mitigation.
 *
 * Based on code by FirstBlood:
 * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract StandardToken is SafeMath {

  uint256 public totalSupply;

  /* Actual balances of token holders */
  mapping(address => uint) balances;

  /* approve() allowances */
  mapping (address => mapping (address => uint)) allowed;
  event Transfer(address indexed from, address indexed to, uint256 value);
  event Approval(address indexed owner, address indexed spender, uint256 value);
  /**
   *
   * Fix for the ERC20 short address attack
   *
   * http://vessenes.com/the-erc20-short-address-attack-explained/
   */
  modifier onlyPayloadSize(uint256 size) {
     require(msg.data.length == size + 4);
     _;
  }

  function transfer(address _to, uint256 _value) onlyPayloadSize(2 * 32) public returns (bool success) {
    require(_to != 0);
    uint256 balanceFrom = balances[msg.sender];
    require(_value <= balanceFrom);

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

  function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
    require(_to != 0);
    uint256 allowToTrans = allowed[_from][msg.sender];
    uint256 balanceFrom = balances[_from];
    require(_value <= balanceFrom);
    require(_value <= allowToTrans);

    balances[_to] = safeAdd(balances[_to], _value);
    balances[_from] = safeSub(balanceFrom, _value);
    allowed[_from][msg.sender] = safeSub(allowToTrans, _value);
    Transfer(_from, _to, _value);
    return true;
  }

  function balanceOf(address _owner) public view returns (uint256 balance) {
    return balances[_owner];
  }

  function approve(address _spender, uint256 _value) public returns (bool success) {

    // To change the approve amount you first have to reduce the addresses`
    //  allowance to zero by calling `approve(_spender, 0)` if it is not
    //  already 0 to mitigate the race condition described here:
    //  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
//    if ((_value != 0) && (allowed[msg.sender][_spender] != 0)) throw;
    // require((_value == 0) || (allowed[msg.sender][_spender] == 0));

    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
    return true;
  }

  function allowance(address _owner, address _spender) public view returns (uint256 remaining) {
    return allowed[_owner][_spender];
  }

  /**
   * Atomic increment of approved spending
   *
   * Works around https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   *
   */
  function addApproval(address _spender, uint256 _addedValue)
  onlyPayloadSize(2 * 32)
  public returns (bool success) {
      uint256 oldValue = allowed[msg.sender][_spender];
      allowed[msg.sender][_spender] = safeAdd(oldValue, _addedValue);
      Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
      return true;
  }

  /**
   * Atomic decrement of approved spending.
   *
   * Works around https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   */
  function subApproval(address _spender, uint256 _subtractedValue)
  onlyPayloadSize(2 * 32)
  public returns (bool success) {

      uint256 oldVal = allowed[msg.sender][_spender];

      if (_subtractedValue > oldVal) {
          allowed[msg.sender][_spender] = 0;
      } else {
          allowed[msg.sender][_spender] = safeSub(oldVal, _subtractedValue);
      }
      Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
      return true;
  }

}

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

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

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

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

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

}

contract MigrationAgent {
  function migrateFrom(address _from, uint256 _value) public;
}

contract UpgradeableToken is Ownable, StandardToken {
  address public migrationAgent;

  /**
   * Somebody has upgraded some of his tokens.
   */
  event Upgrade(address indexed from, address indexed to, uint256 value);

  /**
   * New upgrade agent available.
   */
  event UpgradeAgentSet(address agent);

    // Migrate tokens to the new token contract
    function migrate() public {
        require(migrationAgent != 0);
        uint value = balances[msg.sender];
        balances[msg.sender] = safeSub(balances[msg.sender], value);
        totalSupply = safeSub(totalSupply, value);
        MigrationAgent(migrationAgent).migrateFrom(msg.sender, value);
        Upgrade(msg.sender, migrationAgent, value);
    }

    function () public payable {
      require(migrationAgent != 0);
      require(balances[msg.sender] > 0);
      migrate();
      msg.sender.transfer(msg.value);
    }

    function setMigrationAgent(address _agent) onlyOwner external {
        migrationAgent = _agent;
        UpgradeAgentSet(_agent);
    }

}
contract OKOToken is UpgradeableToken {
  event Mint(address indexed to, uint256 amount);
  event MintFinished();


  address public allTokenOwnerOnStart;
  string public constant name = "OKOIN";
  string public constant symbol = "OKO";
  uint256 public constant decimals = 6;
  

  function OKOToken() public {
    allTokenOwnerOnStart = msg.sender;
    totalSupply = 240000000000000;
    balances[allTokenOwnerOnStart] = totalSupply;
    Mint(allTokenOwnerOnStart, totalSupply);
    Transfer(0x0, allTokenOwnerOnStart ,totalSupply);
    MintFinished();
  }
  


}

// ============================================================================

contract IcoOKOToken is Ownable, SafeMath {
  address public wallet;
  address public allTokenAddress;
  bool public emergencyFlagAndHiddenCap = false;
  // UNIX format
  uint256 public startTime = 1513278000; // 14 Dec 2017 19:00:00 GMT
  uint256 public endTime =   1515870000; // 13 Jan 2018 19:00:00 GMT

  uint256 public USDto1ETH = 654; // 1 ether = 654$
  uint256 public price; 
  uint256 public totalTokensSold = 0;
  uint256 public constant maxTokensToSold = 84000000000000; // 35% * (240 000 000.000 000)
  OKOToken public token;

  function IcoOKOToken(address _wallet, OKOToken _token) public {
    wallet = _wallet;
    token = _token;
    allTokenAddress = token.allTokenOwnerOnStart();
    price = 1 ether / USDto1ETH / 1000000;
  }

  function () public payable {
    require(now <= endTime && now >= startTime);
    require(!emergencyFlagAndHiddenCap);
    require(totalTokensSold < maxTokensToSold);
    uint256 value = msg.value;
    uint256 tokensToSend = safeDiv(value, price);
    require(tokensToSend >= 1000000 && tokensToSend <= 350000000000);
    uint256 valueToReturn = safeSub(value, tokensToSend * price);
    uint256 valueToWallet = safeSub(value, valueToReturn);

    wallet.transfer(valueToWallet);
    if (valueToReturn > 0) {
      msg.sender.transfer(valueToReturn);
    }
    token.transferFrom(allTokenAddress, msg.sender, tokensToSend);
    totalTokensSold += tokensToSend;
  }

    function ChangeUSDto1ETH(uint256 _USDto1ETH) onlyOwner public {
        USDto1ETH = _USDto1ETH;
        ChangePrice();
    }

  function ChangePrice() onlyOwner public {
    uint256 priceWeiToUSD = 1 ether / USDto1ETH;
    uint256 price1mToken = priceWeiToUSD / 1000000; // decimals = 6
    if ( now <= startTime + 5 days) {
      price = price1mToken; // 1.000000Token = 1$ first 5 days
    } 
    else {
      if ( now <= startTime + 10 days ) {
        price = price1mToken * 9 / 5; // 1.000000Token = 1.8$ next
      } 
      else {
        price = price1mToken * 27 / 10; // 1.000000Token = 2.7$ to end
      }
    }

  }

    function ChangeStart(uint _startTime) onlyOwner public {
        startTime = _startTime;
    }

    function ChangeEnd(uint _endTime) onlyOwner public {
        endTime = _endTime;
    }


  function emergencyAndHiddenCapToggle() onlyOwner public {
    emergencyFlagAndHiddenCap = !emergencyFlagAndHiddenCap;
  }

}

    Contract ABI  
[{"constant":false,"inputs":[],"name":"ChangePrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"emergencyFlagAndHiddenCap","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_startTime","type":"uint256"}],"name":"ChangeStart","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"endTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"USDto1ETH","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxTokensToSold","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalTokensSold","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_USDto1ETH","type":"uint256"}],"name":"ChangeUSDto1ETH","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"emergencyAndHiddenCapToggle","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"price","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_endTime","type":"uint256"}],"name":"ChangeEnd","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"allTokenAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_wallet","type":"address"},{"name":"_token","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60606040526002805460a060020a60ff0219169055635a32ca30600355635a5a573060045561028e6005556000600755341561003a57600080fd5b6040516040806108a7833981016040528080519190602001805160008054600160a060020a03338116600160a060020a0319928316178355600180548883169084161790556008805482861693169290921791829055929450909116915063d9520c9a90604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156100ec57600080fd5b6102c65a03f115156100fd57600080fd5b505050604051805160028054600160a060020a031916600160a060020a039290921691909117905550600554620f424090670de0b6b3a764000081151561014057fe5b0481151561014a57fe5b0460065550506107488061015f6000396000f3006060604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166307fb37d481146102c65780630ccc642e146102db5780630e78501f146103025780633197cbb6146103185780633445679a1461033d578063521eb27314610350578063536dd8f91461037f57806363b201171461039257806378e97925146103a55780637d29f868146103b85780638a5ddd9b146103ce5780638da5cb5b146103e1578063a035b1fe146103f4578063f2fde38b14610407578063f72f682614610426578063f99072741461043c578063fc0c546a1461044f575b600080600080600454421115801561010a57506003544210155b151561011557600080fd5b60025474010000000000000000000000000000000000000000900460ff161561013d57600080fd5b600754654c65c6294000901061015257600080fd5b34935061016184600654610462565b9250620f4240831015801561017b575064517da02c008311155b151561018657600080fd5b61019484600654850261049d565b91506101a0848361049d565b600154909150600160a060020a031681156108fc0282604051600060405180830381858888f1935050505015156101d657600080fd5b600082111561021057600160a060020a03331682156108fc0283604051600060405180830381858888f19350505050151561021057600080fd5b600854600254600160a060020a03918216916323b872dd911633866000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561029c57600080fd5b6102c65a03f115156102ad57600080fd5b5050506040518051505060078054909301909255505050005b34156102d157600080fd5b6102d96104af565b005b34156102e657600080fd5b6102ee610533565b604051901515815260200160405180910390f35b341561030d57600080fd5b6102d9600435610554565b341561032357600080fd5b61032b610574565b60405190815260200160405180910390f35b341561034857600080fd5b61032b61057a565b341561035b57600080fd5b610363610580565b604051600160a060020a03909116815260200160405180910390f35b341561038a57600080fd5b61032b61058f565b341561039d57600080fd5b61032b610599565b34156103b057600080fd5b61032b61059f565b34156103c357600080fd5b6102d96004356105a5565b34156103d957600080fd5b6102d96105d0565b34156103ec57600080fd5b61036361062e565b34156103ff57600080fd5b61032b61063d565b341561041257600080fd5b6102d9600160a060020a0360043516610643565b341561043157600080fd5b6102d96004356106de565b341561044757600080fd5b6103636106fe565b341561045a57600080fd5b61036361070d565b60008080831161046e57fe5b828481151561047957fe5b049050828481151561048757fe5b06818402018414151561049657fe5b9392505050565b6000828211156104a957fe5b50900390565b60008054819033600160a060020a039081169116146104cd57600080fd5b600554670de0b6b3a76400008115156104e257fe5b049150620f42408204905060035462069780014211151561050757600681905561052f565b600354620d2f00014211610524576005600982020460065561052f565b600a601b8202046006555b5050565b60025474010000000000000000000000000000000000000000900460ff1681565b60005433600160a060020a0390811691161461056f57600080fd5b600355565b60045481565b60055481565b600154600160a060020a031681565b654c65c629400081565b60075481565b60035481565b60005433600160a060020a039081169116146105c057600080fd5b60058190556105cd6104af565b50565b60005433600160a060020a039081169116146105eb57600080fd5b6002805474ff0000000000000000000000000000000000000000198116740100000000000000000000000000000000000000009182900460ff1615909102179055565b600054600160a060020a031681565b60065481565b60005433600160a060020a0390811691161461065e57600080fd5b600160a060020a038116151561067357600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146106f957600080fd5b600455565b600254600160a060020a031681565b600854600160a060020a0316815600a165627a7a72305820be190dc807a28c39f36e9ac2504504c5b214cca48bc3b63253f32b02fdf8e9280029000000000000000000000000acf15669e91c7d5b110ca93ccf2e8235a082a79600000000000000000000000098d454cd76f9d9e5c51ae90f7748618967b76392

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

-----Decoded View---------------
Found 2 constructor arguments :
Arg [0] : 000000000000000000000000acf15669e91c7d5b110ca93ccf2e8235a082a796
Arg [1] : 00000000000000000000000098d454cd76f9d9e5c51ae90f7748618967b76392


   Swarm Source:
bzzr://be190dc807a28c39f36e9ac2504504c5b214cca48bc3b63253f32b02fdf8e928

 

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