Sponsored Link:   FTEC - Artificial Intelligence trading revolution! Ready project! Softcap reached! Get MAX Bonus!
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 574 txns
 Latest 25 txns from a total Of 574 transactions
View All

TxHash Age From To Value [TxFee]
0xe1b53b1032b0ba7aadb28a9218380f64c8b7167d70fb76e9fecfc6d242965b8857 days 21 hrs ago0x163a8d9e119dbc5d1503c443331f8087466778f0  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.092545016 Ether0.0039885
0x220ccc91bbf643f7db99355d6af7d1d6990a89e51dacbc704cdf1cc708d2454e57 days 21 hrs ago0x639aba00f9e185b501c6c9be97d4dd3089a67d2b  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.071022 Ether0.0039885
0xdf5063837729bcbb375452fddf898e71e030e039ac2115b33e5dfb3994c04d3d59 days 7 hrs ago0x498f70006868342e83ca46d549b5435f8be01690  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.1 Ether0.00327057
0x9bf1583fc64db04ef973c38d1dd9590a54cc214c3eb752e0a5794efaeedcd34060 days 3 hrs ago0x5f22f86988199aa9c0209c219f96c6ba67fa6bef  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.42241002 Ether0.00015954
0xf719ed519491ca5c4f53eb35810a32c61d9ee68e4b478cf86788d2ea684cad6f60 days 13 hrs ago0xd8efe9479fa237e0dd25c9f3142df89222bd1539  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.15 Ether0.00265557
0x55918608261334fd2d8f62d773a29934c33e3b98933ed4ee029e04ca5a4d039a60 days 23 hrs ago0x5ea85d36eb9c9960724b6d1f912d52d4856805f1  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.04 Ether0.00023931
0xca9ab4bb8ed200ad9ff9c49f8cb3c5ae0f642d384bfe17dd7f6ea1f2c1cf443f62 days 4 hrs ago0xbbac725cf5489dc415291e60de28ae336f9f5e98  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.038 Ether0.000992435267
0xc86577352fc9d658cf6939d8652b923d9ec780a482a0521891cfeb3944c2646062 days 5 hrs ago0xbbac725cf5489dc415291e60de28ae336f9f5e98  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.04 Ether0.0000252
0x53b39156ae308a1e71f1d87e07c21ff7adc4e2ef5860d076a6fae5c590d3166c62 days 6 hrs ago0xbbac725cf5489dc415291e60de28ae336f9f5e98  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.0406 Ether0.0000252
0x624dd9ed931786f661724cd68d765c6c2a07732f5c6a92f46c940177f808f02c62 days 7 hrs ago0x0abfb3add372d1c1c754a90b1554c4fc37d018c3  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b5 Ether0.0032385
0x44b7d7e2e328888588c44f9750eedfc7b98274e5d855128658a1bbeb9ba7e93b62 days 20 hrs ago0x33f108e65f29edf2b93457c5e607a508f62f3696  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b20 Ether0.0032385
0x09cd1917e089c026808115ce000c4ba6b1f3243838116965031837d8aa5f237463 days 11 hrs ago0x5d089c87efe44bb2a5d3b99b85be9f208c3034aa  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b5.1 Ether0.0039885
0x6bf6f7c2c1579ec34d8afcc9a93173a5b1e78c74b9704365ec59cb5f820d971f64 days 22 hrs ago0x5b8a48978c63684cba5a8e1184267b7896d9f38c  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.75 Ether0.00136017
0xb690b5c4d006a0a999a25969c20d723493207a474d735f3065d6e44aff8c675866 days 40 mins ago0x464a50131959604a6dec5384767e9ee1873b7bfd  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b1.000863472753841 Ether0.00265557
0xeee668f8ef33b1a3484742034db720dee4a3d5c5c899b1f2a37759890c80c5dd67 days 3 hrs ago0xdcbc0420319736f4de871914bcb6d106177fca7d  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.1428 Ether0.00006477
0xa7912218b5d22876010d2faa57c848130e670cd315f3072dac919763fea1ba1567 days 3 hrs ago0x80d0d38eb5e93dcc2903d2b0cc78e045e9f18af0  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.0116 Ether0.00007977
0x1c8419d26aa8369bd65066a66626c39153f82751135471af9f41db0ac488cf3567 days 3 hrs ago0xbe55c3db7314d42eaefeb265377df5ec08146881  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.0115 Ether0.00007977
0x66bb34a802b88a953e0f23e76d502aa2a62b3b93f263ccc2526c16f1a2305e7b67 days 4 hrs ago0x1b9292280cf87c6cbf739084384196d145a32871  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.0116 Ether0.00007977
0xc560445447693c6887302f2b2eebb3d8a0cf21a5c96e36168c62cf28ab9fe0bb67 days 5 hrs ago0xf4212b5b0c221d999cccb07fcccca40d72569f3b  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.05 Ether0.0000756
0x1e108c0f641f4a2d309b3032f2c51df00c32569c6a6bc1a845d2d74b2840fa3d67 days 5 hrs ago0xfc8fef1fb28dc0e08d77608f896774cddd95b3e4  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.0115 Ether0.00007977
0x404ee867bba259c19ddbacb32b4ad71645cf1a4dca727cdf13f5ff58d74c235267 days 6 hrs ago0x941c0f653164118c54cb2d0ff6b78de84cc935a1  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.0115 Ether0.00007977
0x706197669b5acb731b394d787d570a1e1adc7cbac2de2f7a9fcd4b942484286067 days 7 hrs ago0xc0256eef326fe7460c7e3ae50c5936aef26707cb  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.0121 Ether0.0039885
0xb43ce76f4e3bd9ed1a9671d52caf64d545980db1ef59f0594a83fdbb8948f15167 days 7 hrs ago0x16af33912843716576034b316ac0ee621fcbf112  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.0116 Ether0.00007977
0x7049c5167a395675ffefc144b0d094233952d3ac9bd71a47be78aa5ed0bdf11c67 days 9 hrs ago0x0b8199f3e10b9f11e4e9e5ff653c46bf6fa5657d  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.0116 Ether0.00007977
0x6df387e660ae193779062f52a310f46674fb081ff393e100c9ee2822478d35a567 days 10 hrs ago0x82deb1fbf4641af92086b2bb9698f6e04a1fa3c7  IN   0x169e59a41ba10600fddd1b0a72921f503b31d96b0.0115 Ether0.00007977
[ 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
0xe1b53b1032b0ba7aadb28a9218380f64c8b7167d70fb76e9fecfc6d242965b88550550557 days 21 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0x163a8d9e119dbc5d1503c443331f8087466778f00.00000000747185861 Ether
0xe1b53b1032b0ba7aadb28a9218380f64c8b7167d70fb76e9fecfc6d242965b88550550557 days 21 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0xa264c68466ade2ab87cb98e9899c80f7bb18a3f70.09254500852814139 Ether
0x220ccc91bbf643f7db99355d6af7d1d6990a89e51dacbc704cdf1cc708d2454e550547157 days 21 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0x639aba00f9e185b501c6c9be97d4dd3089a67d2b0.000000008033219964 Ether
0x220ccc91bbf643f7db99355d6af7d1d6990a89e51dacbc704cdf1cc708d2454e550547157 days 21 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0xa264c68466ade2ab87cb98e9899c80f7bb18a3f70.071021991966780036 Ether
0xdf5063837729bcbb375452fddf898e71e030e039ac2115b33e5dfb3994c04d3d549725059 days 7 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0x498f70006868342e83ca46d549b5435f8be016900.000000005189631334 Ether
0xdf5063837729bcbb375452fddf898e71e030e039ac2115b33e5dfb3994c04d3d549725059 days 7 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0xa264c68466ade2ab87cb98e9899c80f7bb18a3f70.099999994810368666 Ether
0x9bf1583fc64db04ef973c38d1dd9590a54cc214c3eb752e0a5794efaeedcd340549262960 days 3 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0x5f22f86988199aa9c0209c219f96c6ba67fa6bef0.000000007911864591 Ether
0x9bf1583fc64db04ef973c38d1dd9590a54cc214c3eb752e0a5794efaeedcd340549262960 days 3 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0xa264c68466ade2ab87cb98e9899c80f7bb18a3f70.422410012088135409 Ether
0xf719ed519491ca5c4f53eb35810a32c61d9ee68e4b478cf86788d2ea684cad6f548999360 days 13 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0xd8efe9479fa237e0dd25c9f3142df89222bd15390.000000007784447001 Ether
0xf719ed519491ca5c4f53eb35810a32c61d9ee68e4b478cf86788d2ea684cad6f548999360 days 13 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0xa264c68466ade2ab87cb98e9899c80f7bb18a3f70.149999992215552999 Ether
0x55918608261334fd2d8f62d773a29934c33e3b98933ed4ee029e04ca5a4d039a548763160 days 23 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0x5ea85d36eb9c9960724b6d1f912d52d4856805f10.000000000304423963 Ether
0x55918608261334fd2d8f62d773a29934c33e3b98933ed4ee029e04ca5a4d039a548763160 days 23 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0xa264c68466ade2ab87cb98e9899c80f7bb18a3f70.039999999695576037 Ether
0x624dd9ed931786f661724cd68d765c6c2a07732f5c6a92f46c940177f808f02c547988762 days 7 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0x0abfb3add372d1c1c754a90b1554c4fc37d018c30.000000002624423963 Ether
0x624dd9ed931786f661724cd68d765c6c2a07732f5c6a92f46c940177f808f02c547988762 days 7 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0xa264c68466ade2ab87cb98e9899c80f7bb18a3f74.999999997375576037 Ether
0x44b7d7e2e328888588c44f9750eedfc7b98274e5d855128658a1bbeb9ba7e93b547663462 days 20 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0x33f108e65f29edf2b93457c5e607a508f62f36960.000000001640552999 Ether
0x44b7d7e2e328888588c44f9750eedfc7b98274e5d855128658a1bbeb9ba7e93b547663462 days 20 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0xa264c68466ade2ab87cb98e9899c80f7bb18a3f719.999999998359447001 Ether
0x09cd1917e089c026808115ce000c4ba6b1f3243838116965031837d8aa5f2374547302063 days 11 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0x5d089c87efe44bb2a5d3b99b85be9f208c3034aa0.000000007814055297 Ether
0x09cd1917e089c026808115ce000c4ba6b1f3243838116965031837d8aa5f2374547302063 days 11 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0xa264c68466ade2ab87cb98e9899c80f7bb18a3f75.099999992185944703 Ether
0x6bf6f7c2c1579ec34d8afcc9a93173a5b1e78c74b9704365ec59cb5f820d971f546447164 days 22 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0x5b8a48978c63684cba5a8e1184267b7896d9f38c0.000000003493663593 Ether
0x6bf6f7c2c1579ec34d8afcc9a93173a5b1e78c74b9704365ec59cb5f820d971f546447164 days 22 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0xa264c68466ade2ab87cb98e9899c80f7bb18a3f70.749999996506336407 Ether
0xb690b5c4d006a0a999a25969c20d723493207a474d735f3065d6e44aff8c6758545823766 days 40 mins ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0x464a50131959604a6dec5384767e9ee1873b7bfd0.000000006364844097 Ether
0xb690b5c4d006a0a999a25969c20d723493207a474d735f3065d6e44aff8c6758545823766 days 40 mins ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0xa264c68466ade2ab87cb98e9899c80f7bb18a3f71.000863466388997042 Ether
0xeee668f8ef33b1a3484742034db720dee4a3d5c5c899b1f2a37759890c80c5dd545180167 days 3 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0xdcbc0420319736f4de871914bcb6d106177fca7d0.00000000578107926 Ether
0xeee668f8ef33b1a3484742034db720dee4a3d5c5c899b1f2a37759890c80c5dd545180167 days 3 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0xa264c68466ade2ab87cb98e9899c80f7bb18a3f70.14279999421892074 Ether
0xa7912218b5d22876010d2faa57c848130e670cd315f3072dac919763fea1ba15545161067 days 3 hrs ago0x169e59a41ba10600fddd1b0a72921f503b31d96b0x80d0d38eb5e93dcc2903d2b0cc78e045e9f18af00.000000003719711519 Ether
[ Download CSV Export  ] 
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.19;

/**
 * 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 = 1516838400; // 25 Jan 2017 00:00:00 GMT
  uint256 public endTime =   1524700800; // 26 Apr 2018 00:00:00 GMT

  uint256 public USDto1ETH = 1100; // 1 ether = 1100$
  uint256 public price; 
  uint256 public totalTokensSold = 524380060997;
  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 * 27 / 10;
  }

  function () external 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;
    price = priceWeiToUSD / 1000000 * 27 / 10 + priceWeiToUSD / 1000000 * 1 / 2 * ((now - startTime ) / 604800); // 2.7$ on start + 0.5$ per week
    

  }

    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
60606040526002805460a060020a60ff0219169055635a691e00600355635ae1168060045561044c600555647a177cbd45600755341561003e57600080fd5b60405160408061089b833981016040528080519190602001805160008054600160a060020a03338116600160a060020a0319928316178355600180548883169084161790556008805482861693169290921791829055929450909116915063d9520c9a90604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156100f057600080fd5b6102c65a03f1151561010157600080fd5b505050604051805160028054600160a060020a031916600160a060020a039290921691909117905550600554600a90620f424090670de0b6b3a764000081151561014757fe5b0481151561015157fe5b04601b0281151561015e57fe5b046006555050610728806101736000396000f3006060604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166307fb37d481146102c65780630ccc642e146102db5780630e78501f146103025780633197cbb6146103185780633445679a1461033d578063521eb27314610350578063536dd8f91461037f57806363b201171461039257806378e97925146103a55780637d29f868146103b85780638a5ddd9b146103ce5780638da5cb5b146103e1578063a035b1fe146103f4578063f2fde38b14610407578063f72f682614610426578063f99072741461043c578063fc0c546a1461044f575b600080600080600454421115801561010a57506003544210155b151561011557600080fd5b60025474010000000000000000000000000000000000000000900460ff161561013d57600080fd5b600754654c65c6294000901061015257600080fd5b34935061016184600654610462565b9250620f4240831015801561017b575064517da02c008311155b151561018657600080fd5b61019484600654850261049d565b91506101a0848361049d565b600154909150600160a060020a031681156108fc0282604051600060405180830381858888f1935050505015156101d657600080fd5b600082111561021057600160a060020a03331682156108fc0283604051600060405180830381858888f19350505050151561021057600080fd5b600854600254600160a060020a03918216916323b872dd911633866000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561029c57600080fd5b6102c65a03f115156102ad57600080fd5b5050506040518051505060078054909301909255505050005b34156102d157600080fd5b6102d96104af565b005b34156102e657600080fd5b6102ee610513565b604051901515815260200160405180910390f35b341561030d57600080fd5b6102d9600435610534565b341561032357600080fd5b61032b610554565b60405190815260200160405180910390f35b341561034857600080fd5b61032b61055a565b341561035b57600080fd5b610363610560565b604051600160a060020a03909116815260200160405180910390f35b341561038a57600080fd5b61032b61056f565b341561039d57600080fd5b61032b610579565b34156103b057600080fd5b61032b61057f565b34156103c357600080fd5b6102d9600435610585565b34156103d957600080fd5b6102d96105b0565b34156103ec57600080fd5b61036361060e565b34156103ff57600080fd5b61032b61061d565b341561041257600080fd5b6102d9600160a060020a0360043516610623565b341561043157600080fd5b6102d96004356106be565b341561044757600080fd5b6103636106de565b341561045a57600080fd5b6103636106ed565b60008080831161046e57fe5b828481151561047957fe5b049050828481151561048757fe5b06818402018414151561049657fe5b9392505050565b6000828211156104a957fe5b50900390565b6000805433600160a060020a039081169116146104cb57600080fd5b600554670de0b6b3a76400008115156104e057fe5b04905062093a8060035442038115156104f557fe5b046002620f424083040402600a601b620f4240840402040160065550565b60025474010000000000000000000000000000000000000000900460ff1681565b60005433600160a060020a0390811691161461054f57600080fd5b600355565b60045481565b60055481565b600154600160a060020a031681565b654c65c629400081565b60075481565b60035481565b60005433600160a060020a039081169116146105a057600080fd5b60058190556105ad6104af565b50565b60005433600160a060020a039081169116146105cb57600080fd5b6002805474ff0000000000000000000000000000000000000000198116740100000000000000000000000000000000000000009182900460ff1615909102179055565b600054600160a060020a031681565b60065481565b60005433600160a060020a0390811691161461063e57600080fd5b600160a060020a038116151561065357600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146106d957600080fd5b600455565b600254600160a060020a031681565b600854600160a060020a0316815600a165627a7a72305820f6e3f4b6be0da37e0890bbc0f884560683a06439943c93af2d9a7ffbb62d6e5c0029000000000000000000000000a264c68466ade2ab87cb98e9899c80f7bb18a3f700000000000000000000000098d454cd76f9d9e5c51ae90f7748618967b76392

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

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


   Swarm Source:
bzzr://f6e3f4b6be0da37e0890bbc0f884560683a06439943c93af2d9a7ffbb62d6e5c

 

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.