Contract 0x4da3F7AAfD1d458737417433EDe487A2c027549B

 

TxHash Block Age From To Value [TxFee]
0x7eb03d03029b5c7778e1fd0c4535b1b12dcc9d74092f0c2fd6e3aa76653390ed687271097 days 9 hrs ago0xb570b536dc2c1d838845e7566cad0769f449eb5a IN  0x4da3f7aafd1d458737417433ede487a2c027549b1.34767934356 Ether0.0001911702
0x9459d31f7699c41f4f6558c52d9d83c600cf75dfb633aef4cb9a7db1de3a75476661972132 days 1 hr ago0xf5c22fc91c71cba3b08896dc526695dd27b312e3 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x1f00798110cc4a0cc01e3e37a2c9bfd7d80bb2e48bde243b18d392448cd867076661969132 days 1 hr ago0x92d2990914661a7b3c35604367c720cf11ce3e05 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x144b9b2f7ee808a9eac4f39c49864513a44d53743c4923e45992441b103b9ba76661967132 days 1 hr ago0x6efd2b00ac80d32516d3865d712a2e149846a670 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x2d88a2cc0802174face8cb48d32dd78c418c5be80d4dcf97252acb714859b6776661965132 days 1 hr ago0xdb219d8088c80ce6d32cc3c26ff3e3427196e95c IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x4d8a47f6a70bfe12a1453069af84502a59ce835e073e36d453d1cbb2100c998b6661963132 days 1 hr ago0x085a136bc1de98ccd60ccf9a4ca414eed2a7182e IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0xbee4898210c11977577ec0fc33744262c0c51887a4151139ea06e025053273946661928132 days 1 hr ago0x49fd44ad8fceca67b6d29bd203e1c8817665d180 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0xbe1f5cab2483a4e8ce51fe6f0f8483ccbcaee7b05711e5089958d0a0b598a4ab6661926132 days 1 hr ago0x4731eedfc372e0b390e93b8233e168d43f3d4fdb IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x1d399ae4da16954fba344ecf7b9f04e8572f6abb80a4c2eb99dd01bd5b40f4536661924132 days 1 hr ago0xf667354656d9019b65f8c8e8b034835bf92ec8de IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0xd5c9b9bb0c7f39c7f24e3cbac3f9b2ecc0fe3bfd16bd99f9a9c94244f647b8f86661921132 days 1 hr ago0xcf822351c87697f093c23e21d016a0e61db450c3 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x80992e0ace14c0697a0c5d6c80c77f0412705cc28053589f4399be35dbe579836661919132 days 1 hr ago0x53ab69e0b8dd77220fa765cd200dd0e7b7c5edc5 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x1dabb091795ba6ada1e26af375af54f8e5842e57bd8ced88849d8a637d818cd26661813132 days 2 hrs ago0xc577bfd076ca6de40632fbeba2751782333ac2d0 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x1e4d01ffffa6b2a8e8bc0043b860225ccb0908be696ccd06a6a1014637a271fa6661811132 days 2 hrs ago0x8888cf5eba0b3d3c4723bc8007c6eeeabb82dc95 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0xad0bd8e32235ef0adb2971195a870b9fc69ee81d5b9a09b56da39e1a30e522366661804132 days 2 hrs ago0x49fd7c841a443065cb5bd0cb9ddf9d062852b29a IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x88921ca1283349daa43033e34d4afeca25283a990b21db3ceb490f376db07a1e6661802132 days 2 hrs ago0xe2c495c152fe75b1588cddc838fd1d1738334e53 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x9dd908b8768217f4eb31ded78c16dccbf1ab8a8d5e49ec13dc2cf6ebf77d79866661800132 days 2 hrs ago0x2f8349d2e9734700f09de5f2ab4d9be88aa74c77 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x5851b8e269fd33ffe57b381ad705403cd18714e46adeb7036293c9c1cc798d316661794132 days 2 hrs ago0x77f2cd03ede0cb5fa7a14ad4e5d10f455ed2d11c IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x82b0a135103d80637e1d371b6b857a718be3e4a34cc60f9f8bda8d375099168f6661792132 days 2 hrs ago0x973dc67973c037f2bca336db5273604b593eeca8 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x508452decc473ca9fb0eb57e115286d5e4211babd8a78fc92d16116edf50b0bd6661788132 days 2 hrs ago0xfde22025dde12f78ecc57dd5ee06d4893ee54986 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0xf614ec10af0750683c6f0d64fb6c781f60be3c0e21104761a785c47ab6ed5d706661787132 days 2 hrs ago0x098bd14fc6a91afe65112822a72422e553983cef IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0xa2232efc6d1d35463481f9c6a4c3712fe0b8ac75a38723732f7f2bc2af16f03a6661783132 days 2 hrs ago0xd2282595ece04332ba9810f82bfd0b955ab4c623 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x0f79984b2f48f422161706bd1fa777088688e6ece1dea68d6f8fe4b0263dc1ea6661779132 days 2 hrs ago0x84b68d518f23bd80c343d3ee5db39e8936c5c944 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0xba132916c4be7878bd3e9877af6bc610b558d74312202f6985c4464c7814fedd6661775132 days 2 hrs ago0x6db33723b1a79f1752e1289c39deceb53989d9e9 IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x20db3b4a4a89307f4cb5f9c14cc10597e78384a12d32f90d9e49d0faefab19866661773132 days 2 hrs ago0xcd7f5b616cc0e3ecfcbda22ad53326d4b51f7bca IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
0x1787fba4dc353946c1e63db3a29574ea9229c72fabcc0bb73b2bbe0095c4708a6661770132 days 2 hrs ago0xf9e3d3c1cb75081ad0a440dab0968c48105f8f9b IN  0x4da3f7aafd1d458737417433ede487a2c027549b0 Ether0.0001464
[ Download CSV Export 

Latest 25 internal transaction, Click here to view more Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0xfffcd2cbc0949ac2cff7d2e93770daa42141637bf197cd10650399bcb9c832a06337729185 days 2 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de91.067 Ether
0xdde67a63efe998f8b746a8e0aafe9cf6e96c23b1080b63268e232454e069b6a06337354185 days 4 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.84525100436 Ether
0x772c161bc0f6afbe1c39982835a4479bc1bca0b7817e98854dfada3447cdeee26284639193 days 23 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.97028518 Ether
0x83ad3fd1e348b92da854d1de839a02fbfce366dcd081ea94253aa0edfe8e70fa6283617194 days 3 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de92.91 Ether
0x176b5696c80793b37a60074e3f9970cc4d5eebe86d9ec219be7efe34aed48a936283608194 days 3 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.48548888 Ether
0x58e16829a794818437299b2aee8d3c1afe46d95d35e712d175221ebd8502f7b16282365194 days 8 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.97 Ether
0xcd18ede6b37056de861d94b34986be3df816f458f7ec9364b5978bb8d55a53f46198539208 days 11 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.5141 Ether
0xa74f5071c3f383d546ca4e8a8b8b9ee512d5fdb3b79f2cfea353a0815bd5b0ee6140803218 days 5 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.06723439 Ether
0x5fdee9e7627ae6957a2757717327a0152fffe818414bea4a8c28b446f0fb55eb6123842221 days 2 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.03119219 Ether
0x1d01d2ed27a5c5b2fe7f67935028767fecabbd7a8f02e41b6a5810a345a338236104437224 days 8 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.19491408 Ether
0xb681905e65e17feeac67328eb0bf04a35d122857d5cf2a84af8e2fb91c27676b6060000231 days 21 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.584037 Ether
0x233bccbe8bf18f3361becbc0c468eafde17c32cb59c92a9bde635fcc0aebfe956059763231 days 22 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.97 Ether
0x6e69e6347c6a994be42e04fa96cd0d3fb96c33fa8e045318f89a124759d8179e6059092232 days 59 mins ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.29 Ether
0xadcd38b08c31e87b29fb06ee3816d2280d1139705c91d963d3b00f629bf1bdf86059015232 days 1 hr ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de92.51715 Ether
0x25d445c0dd13f3803752eb618bcc6232dfea46458bde87eed814b5aab1cb8dfa6054633232 days 18 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.27804559621105104 Ether
0x28c15a1fa7ba1483305beccb415e7c38f599a341617a382ecf8f50b2f0645f616053404232 days 23 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.9912679969 Ether
0x7363db5bbbd6bbd0ca74c6e03d9c0551183a8db2db02f4f63bbfdb0de7fa20256048059233 days 21 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de92.91 Ether
0x5ad40fdebaee722db223c1e9bf18e17e0b30e648ee22a5b52a70216bd59296936047848233 days 21 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.0829197312 Ether
0xa96271920426035ffe8a45d1945d922940db365d10b34e6bef21ce421d2152b76047845233 days 21 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de93.0089157888 Ether
0x1c7e7e6e994a3f4a9cf5187b435f3b557d0dd9533cd6f8dc8115b04112bb98936044662234 days 10 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.0637709 Ether
0xaa521528faf4ba675d9e33bc968c3e8b5167ad9cfd6f90e85444478b7b4e55546044641234 days 10 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.97 Ether
0x568d3033ebf7c629503cafabca003963f1812f230c61e267bd1d94bd27f48e1c6040342235 days 3 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de91.390328548 Ether
0xc702f9ca6fb0ce46d221a55f3e6adc8e097f7efa9bf979d82ec1b81d7b3a76f46035673235 days 22 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de90.485 Ether
0xae269ef8cb6794ac215d6b4d2be700dfba589b1ec3ed5ce4865a6e1b587b1ffd6028448237 days 4 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de91.45185893436 Ether
0x40e5c9121a06cbfea55dd53917330cab89e640be535dd2349e49b65558f829d46028421237 days 4 hrs ago0x4da3f7aafd1d458737417433ede487a2c027549b0x96b45b869be8443ab5c6b501caa5b1cbfe3a0de948.411732328 Ether
[ Download CSV Export 
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Exact Match)

Contract Name:
TemplateCrowdsale

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes

Runs (Optimizer):
200

Contract Source Code

/*
 * This file was generated by MyWish Platform (https://mywish.io/)
 * The complete code could be found at https://github.com/MyWishPlatform/
 * Copyright (C) 2018 MyWish
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

pragma solidity ^0.4.21;


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



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

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

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

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



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

  mapping(address => uint256) balances;

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

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

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

}



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



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

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


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

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

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

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

  /**
   * 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) public returns (bool) {
    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) public returns (bool) {
    uint oldValue = allowed[msg.sender][_spender];
    if (_subtractedValue > oldValue) {
      allowed[msg.sender][_spender] = 0;
    } else {
      allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
    }
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

}



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


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


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


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


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

}



/**
 * @title Mintable token
 * @dev Simple ERC20 Token example, with mintable token creation
 * @dev Issue: * https://github.com/OpenZeppelin/zeppelin-solidity/issues/120
 * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol
 */

contract MintableToken is StandardToken, Ownable {
  event Mint(address indexed to, uint256 amount);
  event MintFinished();

  bool public mintingFinished = false;


  modifier canMint() {
    require(!mintingFinished);
    _;
  }

  /**
   * @dev Function to mint tokens
   * @param _to The address that will receive the minted tokens.
   * @param _amount The amount of tokens to mint.
   * @return A boolean that indicates if the operation was successful.
   */
  function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) {
    totalSupply = totalSupply.add(_amount);
    balances[_to] = balances[_to].add(_amount);
    Mint(_to, _amount);
    Transfer(address(0), _to, _amount);
    return true;
  }

  /**
   * @dev Function to stop minting new tokens.
   * @return True if the operation was successful.
   */
  function finishMinting() onlyOwner canMint public returns (bool) {
    mintingFinished = true;
    MintFinished();
    return true;
  }
}


/**
 * @title Crowdsale
 * @dev Crowdsale is a base contract for managing a token crowdsale.
 * Crowdsales have a start and end timestamps, where investors can make
 * token purchases and the crowdsale will assign them tokens based
 * on a token per ETH rate. Funds collected are forwarded to a wallet
 * as they arrive.
 */
contract Crowdsale {
  using SafeMath for uint256;

  // The token being sold
  MintableToken public token;

  // start and end timestamps where investments are allowed (both inclusive)
  uint256 public startTime;
  uint256 public endTime;

  // address where funds are collected
  address public wallet;

  // how many token units a buyer gets per wei
  uint256 public rate;

  // amount of raised money in wei
  uint256 public weiRaised;

  /**
   * 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 amount amount of tokens purchased
   */
  event TokenPurchase(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 amount);


  function Crowdsale(uint256 _startTime, uint256 _endTime, uint256 _rate, address _wallet) public {
    require(_startTime >= now);
    require(_endTime >= _startTime);
    require(_rate > 0);
    require(_wallet != address(0));

    token = createTokenContract();
    startTime = _startTime;
    endTime = _endTime;
    rate = _rate;
    wallet = _wallet;
  }

  // creates the token to be sold.
  // override this method to have crowdsale of a specific mintable token.
  function createTokenContract() internal returns (MintableToken) {
    return new MintableToken();
  }


  // fallback function can be used to buy tokens
  function () external payable {
    buyTokens(msg.sender);
  }

  // low level token purchase function
  function buyTokens(address beneficiary) public payable {
    require(beneficiary != address(0));
    require(validPurchase());

    uint256 weiAmount = msg.value;

    // calculate token amount to be created
    uint256 tokens = weiAmount.mul(rate);

    // update state
    weiRaised = weiRaised.add(weiAmount);

    token.mint(beneficiary, tokens);
    TokenPurchase(msg.sender, beneficiary, weiAmount, tokens);

    forwardFunds();
  }

  // send ether to the fund collection wallet
  // override to create custom fund forwarding mechanisms
  function forwardFunds() internal {
    wallet.transfer(msg.value);
  }

  // @return true if the transaction can buy tokens
  function validPurchase() internal view returns (bool) {
    bool withinPeriod = now >= startTime && now <= endTime;
    bool nonZeroPurchase = msg.value != 0;
    return withinPeriod && nonZeroPurchase;
  }

  // @return true if crowdsale event has ended
  function hasEnded() public view returns (bool) {
    return now > endTime;
  }


}


/**
 * @title FinalizableCrowdsale
 * @dev Extension of Crowdsale where an owner can do extra work
 * after finishing.
 */
contract FinalizableCrowdsale is Crowdsale, Ownable {
  using SafeMath for uint256;

  bool public isFinalized = false;

  event Finalized();

  /**
   * @dev Must be called after crowdsale ends, to do some extra finalization
   * work. Calls the contract's finalization function.
   */
  function finalize() onlyOwner public {
    require(!isFinalized);
    require(hasEnded());

    finalization();
    Finalized();

    isFinalized = true;
  }

  /**
   * @dev Can be overridden to add finalization logic. The overriding function
   * should call super.finalization() to ensure the chain of finalization is
   * executed entirely.
   */
  function finalization() internal {
  }
}


/**
 * @title RefundVault
 * @dev This contract is used for storing funds while a crowdsale
 * is in progress. Supports refunding the money if crowdsale fails,
 * and forwarding it if crowdsale is successful.
 */
contract RefundVault is Ownable {
  using SafeMath for uint256;

  enum State { Active, Refunding, Closed }

  mapping (address => uint256) public deposited;
  address public wallet;
  State public state;

  event Closed();
  event RefundsEnabled();
  event Refunded(address indexed beneficiary, uint256 weiAmount);

  function RefundVault(address _wallet) public {
    require(_wallet != address(0));
    wallet = _wallet;
    state = State.Active;
  }

  function deposit(address investor) onlyOwner public payable {
    require(state == State.Active);
    deposited[investor] = deposited[investor].add(msg.value);
  }

  function close() onlyOwner public {
    require(state == State.Active);
    state = State.Closed;
    Closed();
    wallet.transfer(this.balance);
  }

  function enableRefunds() onlyOwner public {
    require(state == State.Active);
    state = State.Refunding;
    RefundsEnabled();
  }

  function refund(address investor) public {
    require(state == State.Refunding);
    uint256 depositedValue = deposited[investor];
    deposited[investor] = 0;
    investor.transfer(depositedValue);
    Refunded(investor, depositedValue);
  }
}



contract FreezableToken is StandardToken {
    // freezing chains
    mapping (bytes32 => uint64) internal chains;
    // freezing amounts for each chain
    mapping (bytes32 => uint) internal freezings;
    // total freezing balance per address
    mapping (address => uint) internal freezingBalance;

    event Freezed(address indexed to, uint64 release, uint amount);
    event Released(address indexed owner, uint amount);


    /**
     * @dev Gets the balance of the specified address include freezing tokens.
     * @param _owner The address to query the the balance of.
     * @return An uint256 representing the amount owned by the passed address.
     */
    function balanceOf(address _owner) public view returns (uint256 balance) {
        return super.balanceOf(_owner) + freezingBalance[_owner];
    }

    /**
     * @dev Gets the balance of the specified address without freezing tokens.
     * @param _owner The address to query the the balance of.
     * @return An uint256 representing the amount owned by the passed address.
     */
    function actualBalanceOf(address _owner) public view returns (uint256 balance) {
        return super.balanceOf(_owner);
    }

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

    /**
     * @dev gets freezing count
     * @param _addr Address of freeze tokens owner.
     */
    function freezingCount(address _addr) public view returns (uint count) {
        uint64 release = chains[toKey(_addr, 0)];
        while (release != 0) {
            count ++;
            release = chains[toKey(_addr, release)];
        }
    }

    /**
     * @dev gets freezing end date and freezing balance for the freezing portion specified by index.
     * @param _addr Address of freeze tokens owner.
     * @param _index Freezing portion index. It ordered by release date descending.
     */
    function getFreezing(address _addr, uint _index) public view returns (uint64 _release, uint _balance) {
        for (uint i = 0; i < _index + 1; i ++) {
            _release = chains[toKey(_addr, _release)];
            if (_release == 0) {
                return;
            }
        }
        _balance = freezings[toKey(_addr, _release)];
    }

    /**
     * @dev freeze your tokens to the specified address.
     *      Be careful, gas usage is not deterministic,
     *      and depends on how many freezes _to address already has.
     * @param _to Address to which token will be freeze.
     * @param _amount Amount of token to freeze.
     * @param _until Release date, must be in future.
     */
    function freezeTo(address _to, uint _amount, uint64 _until) public {
        require(_to != address(0));
        require(_amount <= balances[msg.sender]);

        balances[msg.sender] = balances[msg.sender].sub(_amount);

        bytes32 currentKey = toKey(_to, _until);
        freezings[currentKey] = freezings[currentKey].add(_amount);
        freezingBalance[_to] = freezingBalance[_to].add(_amount);

        freeze(_to, _until);
        Transfer(msg.sender, _to, _amount);
        emit Freezed(_to, _until, _amount);
    }

    /**
     * @dev release first available freezing tokens.
     */
    function releaseOnce() public {
        bytes32 headKey = toKey(msg.sender, 0);
        uint64 head = chains[headKey];
        require(head != 0);
        require(uint64(block.timestamp) > head);
        bytes32 currentKey = toKey(msg.sender, head);

        uint64 next = chains[currentKey];

        uint amount = freezings[currentKey];
        delete freezings[currentKey];

        balances[msg.sender] = balances[msg.sender].add(amount);
        freezingBalance[msg.sender] = freezingBalance[msg.sender].sub(amount);

        if (next == 0) {
            delete chains[headKey];
        }
        else {
            chains[headKey] = next;
            delete chains[currentKey];
        }
        emit Released(msg.sender, amount);
    }

    /**
     * @dev release all available for release freezing tokens. Gas usage is not deterministic!
     * @return how many tokens was released
     */
    function releaseAll() public returns (uint tokens) {
        uint release;
        uint balance;
        (release, balance) = getFreezing(msg.sender, 0);
        while (release != 0 && block.timestamp > release) {
            releaseOnce();
            tokens += balance;
            (release, balance) = getFreezing(msg.sender, 0);
        }
    }

    function toKey(address _addr, uint _release) internal pure returns (bytes32 result) {
        // WISH masc to increase entropy
        result = 0x5749534800000000000000000000000000000000000000000000000000000000;
        assembly {
            result := or(result, mul(_addr, 0x10000000000000000))
            result := or(result, _release)
        }
    }

    function freeze(address _to, uint64 _until) internal {
        require(_until > block.timestamp);
        bytes32 key = toKey(_to, _until);
        bytes32 parentKey = toKey(_to, uint64(0));
        uint64 next = chains[parentKey];

        if (next == 0) {
            chains[parentKey] = _until;
            return;
        }

        bytes32 nextKey = toKey(_to, next);
        uint parent;

        while (next != 0 && _until > next) {
            parent = next;
            parentKey = nextKey;

            next = chains[nextKey];
            nextKey = toKey(_to, next);
        }

        if (_until == next) {
            return;
        }

        if (next != 0) {
            chains[key] = next;
        }

        chains[parentKey] = _until;
    }
}

/**
* @title Contract that will work with ERC223 tokens.
*/

contract ERC223Receiver {
    /**
     * @dev Standard ERC223 function that will handle incoming token transfers.
     *
     * @param _from  Token sender address.
     * @param _value Amount of tokens.
     * @param _data  Transaction metadata.
     */
    function tokenFallback(address _from, uint _value, bytes _data) public;
}

contract ERC223Basic is ERC20Basic {
    function transfer(address to, uint value, bytes data) public returns (bool);
    event Transfer(address indexed from, address indexed to, uint value, bytes data);
}


contract SuccessfulERC223Receiver is ERC223Receiver {
    event Invoked(address from, uint value, bytes data);

    function tokenFallback(address _from, uint _value, bytes _data) public {
        emit Invoked(_from, _value, _data);
    }
}

contract FailingERC223Receiver is ERC223Receiver {
    function tokenFallback(address, uint, bytes) public {
        revert();
    }
}

contract ERC223ReceiverWithoutTokenFallback {
}

/**
 * @title Burnable Token
 * @dev Token that can be irreversibly burned (destroyed).
 */
contract BurnableToken is StandardToken {

    event Burn(address indexed burner, uint256 value);

    /**
     * @dev Burns a specific amount of tokens.
     * @param _value The amount of token to be burned.
     */
    function burn(uint256 _value) public {
        require(_value > 0);
        require(_value <= balances[msg.sender]);
        // no need to require value <= totalSupply, since that would imply the
        // sender's balance is greater than the totalSupply, which *should* be an assertion failure

        address burner = msg.sender;
        balances[burner] = balances[burner].sub(_value);
        totalSupply = totalSupply.sub(_value);
        Burn(burner, _value);
    }
}



/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is Ownable {
  event Pause();
  event Unpause();

  bool public paused = false;


  /**
   * @dev Modifier to make a function callable only when the contract is not paused.
   */
  modifier whenNotPaused() {
    require(!paused);
    _;
  }

  /**
   * @dev Modifier to make a function callable only when the contract is paused.
   */
  modifier whenPaused() {
    require(paused);
    _;
  }

  /**
   * @dev called by the owner to pause, triggers stopped state
   */
  function pause() onlyOwner whenNotPaused public {
    paused = true;
    Pause();
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause() onlyOwner whenPaused public {
    paused = false;
    Unpause();
  }
}



contract FreezableMintableToken is FreezableToken, MintableToken {
    /**
     * @dev Mint the specified amount of token to the specified address and freeze it until the specified date.
     *      Be careful, gas usage is not deterministic,
     *      and depends on how many freezes _to address already has.
     * @param _to Address to which token will be freeze.
     * @param _amount Amount of token to mint and freeze.
     * @param _until Release date, must be in future.
     * @return A boolean that indicates if the operation was successful.
     */
    function mintAndFreeze(address _to, uint _amount, uint64 _until) onlyOwner canMint public returns (bool) {
        totalSupply = totalSupply.add(_amount);

        bytes32 currentKey = toKey(_to, _until);
        freezings[currentKey] = freezings[currentKey].add(_amount);
        freezingBalance[_to] = freezingBalance[_to].add(_amount);

        freeze(_to, _until);
        emit Mint(_to, _amount);
        emit Freezed(_to, _until, _amount);
        emit Transfer(msg.sender, _to, _amount);
        return true;
    }
}

contract Consts {
    uint constant TOKEN_DECIMALS = 18;
    uint8 constant TOKEN_DECIMALS_UINT8 = 18;
    uint constant TOKEN_DECIMAL_MULTIPLIER = 10 ** TOKEN_DECIMALS;

    string constant TOKEN_NAME = "WM PROFESSIONAL";
    string constant TOKEN_SYMBOL = "WMPRO";
    bool constant PAUSED = false;
    address constant TARGET_USER = 0xf91189AE847537bdb3a12506F7b58492A4308212;
    
    uint constant START_TIME = 1531692000;
    
    bool constant CONTINUE_MINTING = false;
}




/**
 * @title Reference implementation of the ERC223 standard token.
 */
contract ERC223Token is ERC223Basic, BasicToken, FailingERC223Receiver {
    using SafeMath for uint;

    /**
     * @dev Transfer the specified amount of tokens to the specified address.
     *      Invokes the `tokenFallback` function if the recipient is a contract.
     *      The token transfer fails if the recipient is a contract
     *      but does not implement the `tokenFallback` function
     *      or the fallback function to receive funds.
     *
     * @param _to    Receiver address.
     * @param _value Amount of tokens that will be transferred.
     * @param _data  Transaction metadata.
     */
    function transfer(address _to, uint _value, bytes _data) public returns (bool) {
        // Standard function transfer similar to ERC20 transfer with no _data .
        // Added due to backwards compatibility reasons .
        uint codeLength;

        assembly {
            // Retrieve the size of the code on target address, this needs assembly.
            codeLength := extcodesize(_to)
        }

        balances[msg.sender] = balances[msg.sender].sub(_value);
        balances[_to] = balances[_to].add(_value);
        if(codeLength > 0) {
            ERC223Receiver receiver = ERC223Receiver(_to);
            receiver.tokenFallback(msg.sender, _value, _data);
        }
        emit Transfer(msg.sender, _to, _value, _data);
        return true;
    }

    /**
     * @dev Transfer the specified amount of tokens to the specified address.
     *      This function works the same with the previous one
     *      but doesn't contain `_data` param.
     *      Added due to backwards compatibility reasons.
     *
     * @param _to    Receiver address.
     * @param _value Amount of tokens that will be transferred.
     */
    function transfer(address _to, uint256 _value) public returns (bool) {
        bytes memory empty;
        return transfer(_to, _value, empty);
    }
}


contract MainToken is Consts, FreezableMintableToken, BurnableToken, Pausable
    
{
    

    function name() pure public returns (string _name) {
        return TOKEN_NAME;
    }

    function symbol() pure public returns (string _symbol) {
        return TOKEN_SYMBOL;
    }

    function decimals() pure public returns (uint8 _decimals) {
        return TOKEN_DECIMALS_UINT8;
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool _success) {
        require(!paused);
        return super.transferFrom(_from, _to, _value);
    }

    function transfer(address _to, uint256 _value) public returns (bool _success) {
        require(!paused);
        return super.transfer(_to, _value);
    }
}




/**
 * @title CappedCrowdsale
 * @dev Extension of Crowdsale with a max amount of funds raised
 */
contract CappedCrowdsale is Crowdsale {
  using SafeMath for uint256;

  uint256 public cap;

  function CappedCrowdsale(uint256 _cap) public {
    require(_cap > 0);
    cap = _cap;
  }

  // overriding Crowdsale#validPurchase to add extra cap logic
  // @return true if investors can buy at the moment
  function validPurchase() internal view returns (bool) {
    bool withinCap = weiRaised.add(msg.value) <= cap;
    return super.validPurchase() && withinCap;
  }

  // overriding Crowdsale#hasEnded to add cap logic
  // @return true if crowdsale event has ended
  function hasEnded() public view returns (bool) {
    bool capReached = weiRaised >= cap;
    return super.hasEnded() || capReached;
  }

}



/**
 * @title RefundableCrowdsale
 * @dev Extension of Crowdsale contract that adds a funding goal, and
 * the possibility of users getting a refund if goal is not met.
 * Uses a RefundVault as the crowdsale's vault.
 */
contract RefundableCrowdsale is FinalizableCrowdsale {
  using SafeMath for uint256;

  // minimum amount of funds to be raised in weis
  uint256 public goal;

  // refund vault used to hold funds while crowdsale is running
  RefundVault public vault;

  function RefundableCrowdsale(uint256 _goal) public {
    require(_goal > 0);
    vault = new RefundVault(wallet);
    goal = _goal;
  }

  // We're overriding the fund forwarding from Crowdsale.
  // In addition to sending the funds, we want to call
  // the RefundVault deposit function
  function forwardFunds() internal {
    vault.deposit.value(msg.value)(msg.sender);
  }

  // if crowdsale is unsuccessful, investors can claim refunds here
  function claimRefund() public {
    require(isFinalized);
    require(!goalReached());

    vault.refund(msg.sender);
  }

  // vault finalization task, called when owner calls finalize()
  function finalization() internal {
    if (goalReached()) {
      vault.close();
    } else {
      vault.enableRefunds();
    }

    super.finalization();
  }

  function goalReached() public view returns (bool) {
    return weiRaised >= goal;
  }

}


contract MainCrowdsale is Consts, FinalizableCrowdsale {
    function hasStarted() public constant returns (bool) {
        return now >= startTime;
    }

    function finalization() internal {
        super.finalization();

        if (PAUSED) {
            MainToken(token).unpause();
        }

        if (!CONTINUE_MINTING) {
            token.finishMinting();
        }

        token.transferOwnership(TARGET_USER);
    }

    function buyTokens(address beneficiary) public payable {
        require(beneficiary != address(0));
        require(validPurchase());

        uint256 weiAmount = msg.value;

        // calculate token amount to be created
        uint256 tokens = weiAmount.mul(rate).div(1 ether);

        // update state
        weiRaised = weiRaised.add(weiAmount);

        token.mint(beneficiary, tokens);
        emit TokenPurchase(msg.sender, beneficiary, weiAmount, tokens);

        forwardFunds();
    }
}


contract Checkable {
    address private serviceAccount;
    /**
     * Flag means that contract accident already occurs.
     */
    bool private triggered = false;

    /**
     * Occurs when accident happened.
     */
    event Triggered(uint balance);
    /**
     * Occurs when check finished.
     */
    event Checked(bool isAccident);

    function Checkable() public {
        serviceAccount = msg.sender;
    }

    /**
     * @dev Replace service account with new one.
     * @param _account Valid service account address.
     */
    function changeServiceAccount(address _account) onlyService public {
        assert(_account != 0);
        serviceAccount = _account;
    }

    /**
     * @dev Is caller (sender) service account.
     */
    function isServiceAccount() view public returns (bool) {
        return msg.sender == serviceAccount;
    }

    /**
     * Public check method.
     */
    function check() onlyService notTriggered payable public {
        if (internalCheck()) {
            emit Triggered(this.balance);
            triggered = true;
            internalAction();
        }
    }

    /**
     * @dev Do inner check.
     * @return bool true of accident triggered, false otherwise.
     */
    function internalCheck() internal returns (bool);

    /**
     * @dev Do inner action if check was success.
     */
    function internalAction() internal;

    modifier onlyService {
        require(msg.sender == serviceAccount);
        _;
    }

    modifier notTriggered() {
        require(!triggered);
        _;
    }
}


contract BonusableCrowdsale is Consts, Crowdsale {

    function buyTokens(address beneficiary) public payable {
        require(beneficiary != address(0));
        require(validPurchase());

        uint256 weiAmount = msg.value;

        // calculate token amount to be created
        uint256 bonusRate = getBonusRate(weiAmount);
        uint256 tokens = weiAmount.mul(bonusRate).div(1 ether);

        // update state
        weiRaised = weiRaised.add(weiAmount);

        token.mint(beneficiary, tokens);
        emit TokenPurchase(msg.sender, beneficiary, weiAmount, tokens);

        forwardFunds();
    }

    function getBonusRate(uint256 weiAmount) internal view returns (uint256) {
        uint256 bonusRate = rate;

        
        // apply bonus for time & weiRaised
        uint[4] memory weiRaisedStartsBoundaries = [uint(0),uint(0),uint(0),uint(0)];
        uint[4] memory weiRaisedEndsBoundaries = [uint(20000000000000000000000),uint(20000000000000000000000),uint(20000000000000000000000),uint(20000000000000000000000)];
        uint64[4] memory timeStartsBoundaries = [uint64(1531692000),uint64(1532987940),uint64(1534802340),uint64(1536616740)];
        uint64[4] memory timeEndsBoundaries = [uint64(1532987940),uint64(1534802340),uint64(1536616740),uint64(1537826340)];
        uint[4] memory weiRaisedAndTimeRates = [uint(400),uint(300),uint(200),uint(100)];

        for (uint i = 0; i < 4; i++) {
            bool weiRaisedInBound = (weiRaisedStartsBoundaries[i] <= weiRaised) && (weiRaised < weiRaisedEndsBoundaries[i]);
            bool timeInBound = (timeStartsBoundaries[i] <= now) && (now < timeEndsBoundaries[i]);
            if (weiRaisedInBound && timeInBound) {
                bonusRate += bonusRate * weiRaisedAndTimeRates[i] / 1000;
            }
        }
        

        
        // apply amount
        uint[2] memory weiAmountBoundaries = [uint(20000000000000000000),uint(10000000000000000000)];
        uint[2] memory weiAmountRates = [uint(0),uint(50)];

        for (uint j = 0; j < 2; j++) {
            if (weiAmount >= weiAmountBoundaries[j]) {
                bonusRate += bonusRate * weiAmountRates[j] / 1000;
                break;
            }
        }
        

        return bonusRate;
    }
}



contract TemplateCrowdsale is Consts, MainCrowdsale
    
    , BonusableCrowdsale
    
    
    , RefundableCrowdsale
    
    , CappedCrowdsale
    
{
    event Initialized();
    event TimesChanged(uint startTime, uint endTime, uint oldStartTime, uint oldEndTime);
    bool public initialized = false;

    function TemplateCrowdsale(MintableToken _token) public
        Crowdsale(START_TIME > now ? START_TIME : now, 1546297140, 1500 * TOKEN_DECIMAL_MULTIPLIER, 0x04B21fe3FBa3E8E548EfC51013E71242a55212cF)
        CappedCrowdsale(20000000000000000000000)
        
        RefundableCrowdsale(1000000000000000000000)
        
    {
        token = _token;
    }

    function init() public onlyOwner {
        require(!initialized);
        initialized = true;

        if (PAUSED) {
            MainToken(token).pause();
        }

        
        address[4] memory addresses = [address(0xdadc35adc3091329a2a593a6c2ba2f1539aae965),address(0xe99d4d19b23bfe83916b346814ee06043154ae78),address(0xaae82f543abb3abda4faacb887e2f802d48ed2da),address(0xaf2bde98fe39733b0f2a89053a3060c0bf8f77da)];
        uint[4] memory amounts = [uint(1500000000000000000000000),uint(5000000000000000000000000),uint(10000000000000000000000000),uint(3500000000000000000000000)];
        uint64[4] memory freezes = [uint64(1577746805),uint64(1577746805),uint64(0),uint64(0)];

        for (uint i = 0; i < addresses.length; i++) {
            if (freezes[i] == 0) {
                MainToken(token).mint(addresses[i], amounts[i]);
            } else {
                MainToken(token).mintAndFreeze(addresses[i], amounts[i], freezes[i]);
            }
        }
        

        transferOwnership(TARGET_USER);

        emit Initialized();
    }

    /**
     * @dev override token creation to set token address in constructor.
     */
    function createTokenContract() internal returns (MintableToken) {
        return MintableToken(0);
    }

    

    

    

    

    
    function setEndTime(uint _endTime) public onlyOwner {
        // only if CS was not ended
        require(now < endTime);
        // only if new end time in future
        require(now < _endTime);
        require(_endTime > startTime);
        emit TimesChanged(startTime, _endTime, startTime, endTime);
        endTime = _endTime;
    }
    

    

}

Contract ABI

[{"constant":true,"inputs":[],"name":"initialized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"endTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"cap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"goal","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hasStarted","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finalize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"goalReached","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isFinalized","outputs":[{"name":"","type":"bool"}],"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":"claimRefund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_endTime","type":"uint256"}],"name":"setEndTime","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"init","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"buyTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"hasEnded","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":true,"inputs":[],"name":"vault","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":"_token","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"startTime","type":"uint256"},{"indexed":false,"name":"endTime","type":"uint256"},{"indexed":false,"name":"oldStartTime","type":"uint256"},{"indexed":false,"name":"oldEndTime","type":"uint256"}],"name":"TimesChanged","type":"event"},{"anonymous":false,"inputs":[],"name":"Finalized","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":"purchaser","type":"address"},{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"TokenPurchase","type":"event"}]

Contract Creation Code

60806040526006805460a060020a60ff0219169055600a805460ff191690553480156200002b57600080fd5b5060405160208062001a16833981016040525169043c33c1937564800000683635c9adc5dea0000042635b4bc3e0116200006657426200006c565b635b4bc3e05b635c2a9f34685150ae84a8cdf000007304b21fe3fba3e8e548efc51013e71242a55212cf428410156200009e57600080fd5b83831015620000ac57600080fd5b60008211620000ba57600080fd5b600160a060020a0381161515620000d057600080fd5b620000e3640100000000620001d8810204565b60008054600160a060020a03928316600160a060020a0319918216178255600196909655600294909455600492909255600380549190921690841617905560068054909216331790915581116200013957600080fd5b600354600160a060020a03166200014f620001dd565b600160a060020a03909116815260405190819003602001906000f0801580156200017d573d6000803e3d6000fd5b5060088054600160a060020a031916600160a060020a039290921691909117905560075560008111620001af57600080fd5b60095560008054600160a060020a031916600160a060020a0392909216919091179055620001ee565b600090565b6040516105fe806200141883390190565b61121a80620001fe6000396000f3006080604052600436106101035763ffffffff60e060020a600035041663158ef93e811461010e5780632c4e722e146101375780633197cbb61461015e578063355274ea1461017357806340193883146101885780634042b66f1461019d57806344691f7e146101b25780634bb278f3146101c7578063521eb273146101dc57806378e979251461020d5780637d3d6522146102225780638d4e4083146102375780638da5cb5b1461024c578063b5545a3c14610261578063ccb98ffc14610276578063e1c7392a1461028e578063ec8ac4d8146102a3578063ecb70fb7146102b7578063f2fde38b146102cc578063fbfa77cf146102ed578063fc0c546a14610302575b61010c33610317565b005b34801561011a57600080fd5b50610123610486565b604080519115158252519081900360200190f35b34801561014357600080fd5b5061014c61048f565b60408051918252519081900360200190f35b34801561016a57600080fd5b5061014c610495565b34801561017f57600080fd5b5061014c61049b565b34801561019457600080fd5b5061014c6104a1565b3480156101a957600080fd5b5061014c6104a7565b3480156101be57600080fd5b506101236104ad565b3480156101d357600080fd5b5061010c6104b6565b3480156101e857600080fd5b506101f1610570565b60408051600160a060020a039092168252519081900360200190f35b34801561021957600080fd5b5061014c61057f565b34801561022e57600080fd5b50610123610585565b34801561024357600080fd5b50610123610590565b34801561025857600080fd5b506101f16105b1565b34801561026d57600080fd5b5061010c6105c0565b34801561028257600080fd5b5061010c600435610674565b34801561029a57600080fd5b5061010c610706565b61010c600160a060020a0360043516610317565b3480156102c357600080fd5b50610123610a4e565b3480156102d857600080fd5b5061010c600160a060020a0360043516610a6f565b3480156102f957600080fd5b506101f1610b04565b34801561030e57600080fd5b506101f1610b13565b60008080600160a060020a038416151561033057600080fd5b610338610b22565b151561034357600080fd5b34925061034f83610b55565b9150610379670de0b6b3a764000061036d858563ffffffff610eb216565b9063ffffffff610ee816565b60055490915061038f908463ffffffff610eff16565b60055560008054604080517f40c10f19000000000000000000000000000000000000000000000000000000008152600160a060020a03888116600483015260248201869052915191909216926340c10f1992604480820193602093909283900390910190829087803b15801561040457600080fd5b505af1158015610418573d6000803e3d6000fd5b505050506040513d602081101561042e57600080fd5b505060408051848152602081018390528151600160a060020a0387169233927f623b3804fa71d67900d064613da8f94b9617215ee90799290593e1745087ad18929081900390910190a3610480610f0e565b50505050565b600a5460ff1681565b60045481565b60025481565b60095481565b60075481565b60055481565b60015442101590565b600654600160a060020a031633146104cd57600080fd5b60065474010000000000000000000000000000000000000000900460ff16156104f557600080fd5b6104fd610a4e565b151561050857600080fd5b610510610f8f565b6040517f6823b073d48d6e3a7d385eeb601452d680e74bb46afe3255a7d778f3a9b1768190600090a16006805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b600354600160a060020a031681565b60015481565b600754600554101590565b60065474010000000000000000000000000000000000000000900460ff1681565b600654600160a060020a031681565b60065474010000000000000000000000000000000000000000900460ff1615156105e957600080fd5b6105f1610585565b156105fb57600080fd5b600854604080517ffa89401a0000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163fa89401a9160248082019260009290919082900301818387803b15801561066057600080fd5b505af1158015610480573d6000803e3d6000fd5b600654600160a060020a0316331461068b57600080fd5b600254421061069957600080fd5b4281116106a557600080fd5b60015481116106b357600080fd5b6001546002546040805183815260208101859052808201939093526060830191909152517ff6b7151023ee87a6a0cc1f6cea30e02351728911b7b848aa8abde4d1f09172b79181900360800190a1600255565b61070e6111b4565b6107166111b4565b61071e6111b4565b600654600090600160a060020a0316331461073857600080fd5b600a5460ff161561074857600080fd5b5050600a805460ff191660011790555050604080516080808201835273dadc35adc3091329a2a593a6c2ba2f1539aae965825273e99d4d19b23bfe83916b346814ee06043154ae7860208084019190915273aae82f543abb3abda4faacb887e2f802d48ed2da8385015273af2bde98fe39733b0f2a89053a3060c0bf8f77da606080850191909152845180840186526a013da329b633647180000081526a0422ca8b0a00a425000000818401526a084595161401484a000000818701526a02e5276153cd3fb38000008183015285519384018652635e0a8175808552928401929092526000948301859052820184905291925b6004811015610a025781816004811061085057fe5b602002015167ffffffffffffffff16151561091c57600054600160a060020a03166340c10f1985836004811061088257fe5b602002015185846004811061089357fe5b60200201516040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b1580156108ea57600080fd5b505af11580156108fe573d6000803e3d6000fd5b505050506040513d602081101561091457600080fd5b506109fa9050565b600054600160a060020a0316630bb2cd6b85836004811061093957fe5b602002015185846004811061094a57fe5b602002015185856004811061095b57fe5b60200201516040518463ffffffff1660e060020a0281526004018084600160a060020a0316600160a060020a031681526020018381526020018267ffffffffffffffff1667ffffffffffffffff1681526020019350505050602060405180830381600087803b1580156109cd57600080fd5b505af11580156109e1573d6000803e3d6000fd5b505050506040513d60208110156109f757600080fd5b50505b60010161083b565b610a1f73f91189ae847537bdb3a12506f7b58492a4308212610a6f565b6040517f5daa87a0e9463431830481fd4b6e3403442dfb9a12b9c07597e9f61d50b633c890600090a150505050565b6009546005546000911115610a61611082565b80610a695750805b91505090565b600654600160a060020a03163314610a8657600080fd5b600160a060020a0381161515610a9b57600080fd5b600654604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600854600160a060020a031681565b600054600160a060020a031681565b600080600954610b3d34600554610eff90919063ffffffff16565b11159050610b4961108a565b8015610a695750919050565b600080610b606111b4565b610b686111b4565b610b706111b4565b610b786111b4565b610b806111b4565b6000806000610b8d6111d3565b610b956111d3565b60006004549b5060806040519081016040528060008152602001600081526020016000815260200160008152509a5060806040519081016040528069043c33c1937564800000815260200169043c33c1937564800000815260200169043c33c1937564800000815260200169043c33c19375648000008152509950608060405190810160405280635b4bc3e067ffffffffffffffff1667ffffffffffffffff168152602001635b5f8a2467ffffffffffffffff1667ffffffffffffffff168152602001635b7b39a467ffffffffffffffff1667ffffffffffffffff168152602001635b96e92467ffffffffffffffff1667ffffffffffffffff168152509850608060405190810160405280635b5f8a2467ffffffffffffffff1667ffffffffffffffff168152602001635b7b39a467ffffffffffffffff1667ffffffffffffffff168152602001635b96e92467ffffffffffffffff1667ffffffffffffffff168152602001635ba95e2467ffffffffffffffff1667ffffffffffffffff168152509750608060405190810160405280610190815260200161012c815260200160c8815260200160648152509650600095505b6004861015610e09576005548b8760048110610d5f57fe5b602002015111158015610d835750898660048110610d7957fe5b6020020151600554105b945042898760048110610d9257fe5b602002015167ffffffffffffffff1611158015610dc85750878660048110610db657fe5b602002015167ffffffffffffffff1642105b9350848015610dd45750835b15610dfe576103e8878760048110610de857fe5b60200201518d02811515610df857fe5b048c019b505b600190950194610d47565b60408051908101604052806801158e460913d000008152602001678ac7230489e80000815250925060408051908101604052806000815260200160328152509150600090505b6002811015610ea057828160028110610e6457fe5b60200201518e10610e98576103e8828260028110610e7e57fe5b60200201518d02811515610e8e57fe5b048c019b50610ea0565b600101610e4f565b50999c9b505050505050505050505050565b600080831515610ec55760009150610ee1565b50828202828482811515610ed557fe5b0414610edd57fe5b8091505b5092915050565b6000808284811515610ef657fe5b04949350505050565b600082820183811015610edd57fe5b600854604080517ff340fa010000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163f340fa01913491602480830192600092919082900301818588803b158015610f7457600080fd5b505af1158015610f88573d6000803e3d6000fd5b5050505050565b610f97610585565b1561100c57600860009054906101000a9004600160a060020a0316600160a060020a03166343d726d66040518163ffffffff1660e060020a028152600401600060405180830381600087803b158015610fef57600080fd5b505af1158015611003573d6000803e3d6000fd5b50505050611078565b600860009054906101000a9004600160a060020a0316600160a060020a0316638c52dc416040518163ffffffff1660e060020a028152600401600060405180830381600087803b15801561105f57600080fd5b505af1158015611073573d6000803e3d6000fd5b505050505b6110806110ba565b565b600254421190565b600080600060015442101580156110a357506002544211155b9150503415158180156110b35750805b9250505090565b6110c2611080565b6000809054906101000a9004600160a060020a0316600160a060020a0316637d64bcb46040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561111457600080fd5b505af1158015611128573d6000803e3d6000fd5b505050506040513d602081101561113e57600080fd5b505060008054604080517ff2fde38b00000000000000000000000000000000000000000000000000000000815273f91189ae847537bdb3a12506f7b58492a430821260048201529051600160a060020a039092169263f2fde38b9260248084019382900301818387803b15801561066057600080fd5b6080604051908101604052806004906020820280388339509192915050565b604080518082018252906002908290803883395091929150505600a165627a7a723058200d8a57a6b1f72993c72b7832e7f242577d17e374de33e90ba9ad4f049a99cbd30029608060405234801561001057600080fd5b506040516020806105fe833981016040525160008054600160a060020a03191633179055600160a060020a038116151561004957600080fd5b60028054600160a060020a031916600160a060020a03929092169190911760a060020a60ff021916905561057c806100826000396000f3006080604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166343d726d6811461009d578063521eb273146100b45780638c52dc41146100e55780638da5cb5b146100fa578063c19d93fb1461010f578063cb13cddb14610148578063f2fde38b1461017b578063f340fa011461019c578063fa89401a146101b0575b600080fd5b3480156100a957600080fd5b506100b26101d1565b005b3480156100c057600080fd5b506100c96102a7565b60408051600160a060020a039092168252519081900360200190f35b3480156100f157600080fd5b506100b26102b6565b34801561010657600080fd5b506100c9610340565b34801561011b57600080fd5b5061012461034f565b6040518082600281111561013457fe5b60ff16815260200191505060405180910390f35b34801561015457600080fd5b50610169600160a060020a036004351661035f565b60408051918252519081900360200190f35b34801561018757600080fd5b506100b2600160a060020a0360043516610371565b6100b2600160a060020a0360043516610405565b3480156101bc57600080fd5b506100b2600160a060020a0360043516610485565b600054600160a060020a031633146101e857600080fd5b60006002805460a060020a900460ff169081111561020257fe5b1461020c57600080fd5b6002805474ff00000000000000000000000000000000000000001916740200000000000000000000000000000000000000001790556040517f1cdde67b72a90f19919ac732a437ac2f7a10fc128d28c2a6e525d89ce5cd9d3a90600090a1600254604051600160a060020a0390911690303180156108fc02916000818181858888f193505050501580156102a4573d6000803e3d6000fd5b50565b600254600160a060020a031681565b600054600160a060020a031633146102cd57600080fd5b60006002805460a060020a900460ff16908111156102e757fe5b146102f157600080fd5b6002805474ff0000000000000000000000000000000000000000191660a060020a1790556040517f599d8e5a83cffb867d051598c4d70e805d59802d8081c1c7d6dffc5b6aca2b8990600090a1565b600054600160a060020a031681565b60025460a060020a900460ff1681565b60016020526000908152604090205481565b600054600160a060020a0316331461038857600080fd5b600160a060020a038116151561039d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a0316331461041c57600080fd5b60006002805460a060020a900460ff169081111561043657fe5b1461044057600080fd5b600160a060020a038116600090815260016020526040902054610469903463ffffffff61053a16565b600160a060020a03909116600090815260016020526040902055565b600060016002805460a060020a900460ff16908111156104a157fe5b146104ab57600080fd5b50600160a060020a038116600081815260016020526040808220805490839055905190929183156108fc02918491818181858888f193505050501580156104f6573d6000803e3d6000fd5b50604080518281529051600160a060020a038416917fd7dee2702d63ad89917b6a4da9981c90c4d24f8c2bdfd64c604ecae57d8d0651919081900360200190a25050565b60008282018381101561054957fe5b93925050505600a165627a7a7230582080d3aad804e44271b0c44cc5dd96cc0e4e0ad588ff58b4e156f06e4ba28df4d20029000000000000000000000000c544c2a4a0534f3a45d991d2e81a2806bd77b7f9

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

000000000000000000000000c544c2a4a0534f3a45d991d2e81a2806bd77b7f9

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c544c2a4a0534f3a45d991d2e81a2806bd77b7f9

Swarm Source

bzzr://80d3aad804e44271b0c44cc5dd96cc0e4e0ad588ff58b4e156f06e4ba28df4d2
Block Age Transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.