Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 55 txns
 Latest 25 transactions from a total of 55 transactions

TxHash Age From To Value [TxFee]
0x2161c93f5a3553c85e9a3d881898b96e253cf30d11f4084627f888112ecc8fbb15 days 1 hr ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.0000775675
0x766eb41b301a68bb4eebec1ffeb171ea1a6c77ccc9e3d66793e98a5a96ed799315 days 2 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.0001887107
0x0fdbf1215b7b0d83b5bd20d88d41a1400abe65dbc3bf87b8cd1f1f6b99fffd8115 days 2 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.0001933134
0x2bfc725a1ec96a9da89780a619008d1098dce44c9d004cd364d57a52194f971d15 days 2 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.00014748
0xf04fbe6f3f7913489c59c3833895997accf761d299b212ec8d092f0a9a3c4fdc15 days 17 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0.001 Ether0.000149792
0xcf01ca86f440fd7dcb420708adafcac5b691ac81b853936c0e8a4cabfa60eb1f15 days 17 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.0000918027
0x801def04eb519300fbd24b34d79afb97bb5864fb19428bc7c9952d4010d00e4e15 days 17 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.0000967015
0xe9e8b84b68577732a7c4b7889205dfe2da9e555def1c98827e90e5a9f8d7d16c15 days 17 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.0000797615
0xe87939e27d5b9549cea067f522e4b910c045607f6716361bbd6af5c9d670ecd226 days 22 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.0001168575
0xf499948c8f85cc30c18089c91c9b9791226c48d560ce03a1cb031f0b9466e56180 days 12 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.0001495776
0x6fd8959811021b5549b49958b2655b5487b53d8f07980a637b3aaf5feab2a7df82 days 4 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.0001262061
0x5ec90587c69fdf95a071cae5225fd1812cbc52dff747e075f84a5385648b0e3482 days 8 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.000149578372
0x24b90fa594e9c226bca622b1f1e99154897774c65a3189441c54b024df99a10583 days 12 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.0001493728
0xf4f442bea3dd05d18062c0f032ac1f71a5285cc22bffc413f0d45470f5817e1385 days 23 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.0001822977
0x121ec691d8ba22de8c0444c3e8bdfc70bdda86b4cabd737427be0489fdf9512d89 days 11 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.0001963206
0x04cc32d77f2a8b8e379563022c60c75e64559009ab3353f2081eeaf3012c400e89 days 16 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.000186972
0xf0e09f8c56cc59486aa131c051ab0942db148d3d4645d3c563ceb23adcbdff6d90 days 23 hrs ago0xd1d9d7ec06b384168b81897c47ee9f4492e904cc  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.000135594
0x4d40a18a0c3217d622198dd0991aa28c81cee987e257f7592d8edc6408fa00aa90 days 23 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.000280458
0x75b11e4a67bb09c8b37209c3dc0d500d1bb88765d9b606512fd73616fc98ac1c91 days 12 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.000138135
0xfaf24385b84b71885f314dc0a140791bc6f01fba45445298f73d54efd10dc78892 days 1 hr ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.000514173
0x7b9f26624308d5a409f5e603c11cd05f68a86d32d59b5006ac3968c6d3521ad092 days 1 hr ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.000514173
0x81bd09aa4c1471f7f65c748dd2891f67c4d883f440ab35321a4a9e71da3c13cd93 days 10 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.0002056692
0x06280362ac5b72b1eb40c4caeef0724776eaaa0e98a52df4593958afbb7cd27893 days 14 hrs ago0xf9f1dcc17711f8107ace4f1a698a3f06923a1b4b  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0.1 Ether0.000297515
0x904b4359a989ae7a5f624f0e82b93e652725e85863d2ac5043f79389fa15ef6c94 days 4 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.0001542519
0x9b59b3ec0b3fef71e82ded02e309490bbaf6334cef97ad4226738b661914ffa494 days 8 hrs ago0xc9d689fd857dcfaf8011ba064db989222e84c003  IN   0x2c70003b49761d1d58d09ac74f26a250088a6b7a0 Ether0.000186716
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 5 Internal Transactions

ParentTxHash Block Age From To Value
0xf04fbe6f3f7913489c59c3833895997accf761d299b212ec8d092f0a9a3c4fdc660492815 days 17 hrs ago0x2c70003b49761d1d58d09ac74f26a250088a6b7a0x7a17e0626ca22f19bc488f4e4b6ea7053989115a0.001 Ether
0x06280362ac5b72b1eb40c4caeef0724776eaaa0e98a52df4593958afbb7cd278613431993 days 14 hrs ago0x2c70003b49761d1d58d09ac74f26a250088a6b7a0x7a17e0626ca22f19bc488f4e4b6ea7053989115a0.1 Ether
0x57713655246e9720395255c27b6a4c0fb523cbe5fe6b71898ccb0329c6f79982610321698 days 21 hrs ago0x2c70003b49761d1d58d09ac74f26a250088a6b7a0x7a17e0626ca22f19bc488f4e4b6ea7053989115a1.25 Ether
0xfddd7a9b539f75200b382e543e35cab4c10b4be731ead08e00d22723ce730e7a6038899109 days 17 hrs ago0x2c70003b49761d1d58d09ac74f26a250088a6b7a0x7a17e0626ca22f19bc488f4e4b6ea7053989115a0.01 Ether
0xb0845bc62279dd5a838f3d66217f82dd0ab0ce124afdd9efa8e58d32c16bf4336038856109 days 17 hrs ago0x2c70003b49761d1d58d09ac74f26a250088a6b7a0x7a17e0626ca22f19bc488f4e4b6ea7053989115a0.01 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: KratosPresale
Compiler Text: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.24;

// openzeppelin-solidity: 1.12.0-rc.2

/**
 * @title Roles
 * @author Francisco Giordano (@frangio)
 * @dev Library for managing addresses assigned to a Role.
 * See RBAC.sol for example usage.
 */
library Roles {
  struct Role {
    mapping (address => bool) bearer;
  }

  /**
   * @dev give an address access to this role
   */
  function add(Role storage _role, address _addr)
    internal
  {
    _role.bearer[_addr] = true;
  }

  /**
   * @dev remove an address' access to this role
   */
  function remove(Role storage _role, address _addr)
    internal
  {
    _role.bearer[_addr] = false;
  }

  /**
   * @dev check if an address has this role
   * // reverts
   */
  function check(Role storage _role, address _addr)
    internal
    view
  {
    require(has(_role, _addr));
  }

  /**
   * @dev check if an address has this role
   * @return bool
   */
  function has(Role storage _role, address _addr)
    internal
    view
    returns (bool)
  {
    return _role.bearer[_addr];
  }
}

/**
 * @title RBAC (Role-Based Access Control)
 * @author Matt Condon (@Shrugs)
 * @dev Stores and provides setters and getters for roles and addresses.
 * Supports unlimited numbers of roles and addresses.
 * See //contracts/mocks/RBACMock.sol for an example of usage.
 * This RBAC method uses strings to key roles. It may be beneficial
 * for you to write your own implementation of this interface using Enums or similar.
 */
contract RBAC {
  using Roles for Roles.Role;

  mapping (string => Roles.Role) private roles;

  event RoleAdded(address indexed operator, string role);
  event RoleRemoved(address indexed operator, string role);

  /**
   * @dev reverts if addr does not have role
   * @param _operator address
   * @param _role the name of the role
   * // reverts
   */
  function checkRole(address _operator, string _role)
    public
    view
  {
    roles[_role].check(_operator);
  }

  /**
   * @dev determine if addr has role
   * @param _operator address
   * @param _role the name of the role
   * @return bool
   */
  function hasRole(address _operator, string _role)
    public
    view
    returns (bool)
  {
    return roles[_role].has(_operator);
  }

  /**
   * @dev add a role to an address
   * @param _operator address
   * @param _role the name of the role
   */
  function addRole(address _operator, string _role)
    internal
  {
    roles[_role].add(_operator);
    emit RoleAdded(_operator, _role);
  }

  /**
   * @dev remove a role from an address
   * @param _operator address
   * @param _role the name of the role
   */
  function removeRole(address _operator, string _role)
    internal
  {
    roles[_role].remove(_operator);
    emit RoleRemoved(_operator, _role);
  }

  /**
   * @dev modifier to scope access to a single role (uses msg.sender as addr)
   * @param _role the name of the role
   * // reverts
   */
  modifier onlyRole(string _role)
  {
    checkRole(msg.sender, _role);
    _;
  }

  /**
   * @dev modifier to scope access to a set of roles (uses msg.sender as addr)
   * @param _roles the names of the roles to scope access to
   * // reverts
   *
   * @TODO - when solidity supports dynamic arrays as arguments to modifiers, provide this
   *  see: https://github.com/ethereum/solidity/issues/2467
   */
  // modifier onlyRoles(string[] _roles) {
  //     bool hasAnyRole = false;
  //     for (uint8 i = 0; i < _roles.length; i++) {
  //         if (hasRole(msg.sender, _roles[i])) {
  //             hasAnyRole = true;
  //             break;
  //         }
  //     }

  //     require(hasAnyRole);

  //     _;
  // }
}

/**
 * @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 OwnershipRenounced(address indexed previousOwner);
  event OwnershipTransferred(
    address indexed previousOwner,
    address indexed newOwner
  );


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  constructor() 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 relinquish control of the contract.
   * @notice Renouncing to ownership will leave the contract without an owner.
   * It will not be possible to call the functions with the `onlyOwner`
   * modifier anymore.
   */
  function renounceOwnership() public onlyOwner {
    emit OwnershipRenounced(owner);
    owner = address(0);
  }

  /**
   * @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 {
    _transferOwnership(_newOwner);
  }

  /**
   * @dev Transfers control of the contract to a newOwner.
   * @param _newOwner The address to transfer ownership to.
   */
  function _transferOwnership(address _newOwner) internal {
    require(_newOwner != address(0));
    emit OwnershipTransferred(owner, _newOwner);
    owner = _newOwner;
  }
}

/**
 * @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() public onlyOwner whenNotPaused {
    paused = true;
    emit Pause();
  }

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

/**
 * @title Whitelist
 * @dev The Whitelist contract has a whitelist of addresses, and provides basic authorization control functions.
 * This simplifies the implementation of "user permissions".
 */
contract Whitelist is Ownable, RBAC {
  string public constant ROLE_WHITELISTED = "whitelist";

  /**
   * @dev Throws if operator is not whitelisted.
   * @param _operator address
   */
  modifier onlyIfWhitelisted(address _operator) {
    checkRole(_operator, ROLE_WHITELISTED);
    _;
  }

  /**
   * @dev add an address to the whitelist
   * @param _operator address
   * @return true if the address was added to the whitelist, false if the address was already in the whitelist
   */
  function addAddressToWhitelist(address _operator)
    public
    onlyOwner
  {
    addRole(_operator, ROLE_WHITELISTED);
  }

  /**
   * @dev getter to determine if address is in whitelist
   */
  function whitelist(address _operator)
    public
    view
    returns (bool)
  {
    return hasRole(_operator, ROLE_WHITELISTED);
  }

  /**
   * @dev add addresses to the whitelist
   * @param _operators addresses
   * @return true if at least one address was added to the whitelist,
   * false if all addresses were already in the whitelist
   */
  function addAddressesToWhitelist(address[] _operators)
    public
    onlyOwner
  {
    for (uint256 i = 0; i < _operators.length; i++) {
      addAddressToWhitelist(_operators[i]);
    }
  }

  /**
   * @dev remove an address from the whitelist
   * @param _operator address
   * @return true if the address was removed from the whitelist,
   * false if the address wasn't in the whitelist in the first place
   */
  function removeAddressFromWhitelist(address _operator)
    public
    onlyOwner
  {
    removeRole(_operator, ROLE_WHITELISTED);
  }

  /**
   * @dev remove addresses from the whitelist
   * @param _operators addresses
   * @return true if at least one address was removed from the whitelist,
   * false if all addresses weren't in the whitelist in the first place
   */
  function removeAddressesFromWhitelist(address[] _operators)
    public
    onlyOwner
  {
    for (uint256 i = 0; i < _operators.length; i++) {
      removeAddressFromWhitelist(_operators[i]);
    }
  }

}

/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * See https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
  function totalSupply() public view returns (uint256);
  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 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 SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure.
 * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
  function safeTransfer(
    ERC20Basic _token,
    address _to,
    uint256 _value
  )
    internal
  {
    require(_token.transfer(_to, _value));
  }

  function safeTransferFrom(
    ERC20 _token,
    address _from,
    address _to,
    uint256 _value
  )
    internal
  {
    require(_token.transferFrom(_from, _to, _value));
  }

  function safeApprove(
    ERC20 _token,
    address _spender,
    uint256 _value
  )
    internal
  {
    require(_token.approve(_spender, _value));
  }
}

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
    // Gas optimization: this is cheaper than asserting 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (_a == 0) {
      return 0;
    }

    c = _a * _b;
    assert(c / _a == _b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  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 _a / _b;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 _a, uint256 _b) internal pure returns (uint256) {
    assert(_b <= _a);
    return _a - _b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
    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) internal balances;

  uint256 internal totalSupply_;

  /**
  * @dev Total number of tokens in existence
  */
  function totalSupply() public view returns (uint256) {
    return totalSupply_;
  }

  /**
  * @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(_value <= balances[msg.sender]);
    require(_to != address(0));

    balances[msg.sender] = balances[msg.sender].sub(_value);
    balances[_to] = balances[_to].add(_value);
    emit 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) {
    return balances[_owner];
  }

}

/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * https://github.com/ethereum/EIPs/issues/20
 * 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(_value <= balances[_from]);
    require(_value <= allowed[_from][msg.sender]);
    require(_to != address(0));

    balances[_from] = balances[_from].sub(_value);
    balances[_to] = balances[_to].add(_value);
    allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
    emit 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;
    emit 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];
  }

  /**
   * @dev Increase the amount of tokens that an owner allowed to a 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
   * @param _spender The address which will spend the funds.
   * @param _addedValue The amount of tokens to increase the allowance by.
   */
  function increaseApproval(
    address _spender,
    uint256 _addedValue
  )
    public
    returns (bool)
  {
    allowed[msg.sender][_spender] = (
      allowed[msg.sender][_spender].add(_addedValue));
    emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

  /**
   * @dev Decrease the amount of tokens that an owner allowed to a spender.
   * approve should be called when allowed[_spender] == 0. To decrement
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _subtractedValue The amount of tokens to decrease the allowance by.
   */
  function decreaseApproval(
    address _spender,
    uint256 _subtractedValue
  )
    public
    returns (bool)
  {
    uint256 oldValue = allowed[msg.sender][_spender];
    if (_subtractedValue >= oldValue) {
      allowed[msg.sender][_spender] = 0;
    } else {
      allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
    }
    emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

}

/**
 * @title Pausable token
 * @dev StandardToken modified with pausable transfers.
 **/
contract PausableToken is StandardToken, Pausable {

  function transfer(
    address _to,
    uint256 _value
  )
    public
    whenNotPaused
    returns (bool)
  {
    return super.transfer(_to, _value);
  }

  function transferFrom(
    address _from,
    address _to,
    uint256 _value
  )
    public
    whenNotPaused
    returns (bool)
  {
    return super.transferFrom(_from, _to, _value);
  }

  function approve(
    address _spender,
    uint256 _value
  )
    public
    whenNotPaused
    returns (bool)
  {
    return super.approve(_spender, _value);
  }

  function increaseApproval(
    address _spender,
    uint _addedValue
  )
    public
    whenNotPaused
    returns (bool success)
  {
    return super.increaseApproval(_spender, _addedValue);
  }

  function decreaseApproval(
    address _spender,
    uint _subtractedValue
  )
    public
    whenNotPaused
    returns (bool success)
  {
    return super.decreaseApproval(_spender, _subtractedValue);
  }
}

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

  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 {
    _burn(msg.sender, _value);
  }

  function _burn(address _who, uint256 _value) internal {
    require(_value <= balances[_who]);
    // 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

    balances[_who] = balances[_who].sub(_value);
    totalSupply_ = totalSupply_.sub(_value);
    emit Burn(_who, _value);
    emit Transfer(_who, address(0), _value);
  }
}

/**
 * @title Standard Burnable Token
 * @dev Adds burnFrom method to ERC20 implementations
 */
contract StandardBurnableToken is BurnableToken, StandardToken {

  /**
   * @dev Burns a specific amount of tokens from the target address and decrements allowance
   * @param _from address The address which you want to send tokens from
   * @param _value uint256 The amount of token to be burned
   */
  function burnFrom(address _from, uint256 _value) public {
    require(_value <= allowed[_from][msg.sender]);
    // Should https://github.com/OpenZeppelin/zeppelin-solidity/issues/707 be accepted,
    // this function needs to emit an event with the updated approval.
    allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
    _burn(_from, _value);
  }
}

contract KratosToken is StandardBurnableToken, PausableToken {

    string constant public name = "KRATOS";
    string constant public symbol = "TOS";
    uint8 constant public decimals = 18;

    uint256 public timelockTimestamp = 0;
    mapping(address => uint256) public timelock;

    constructor(uint256 _totalSupply) public {
        // constructor
        totalSupply_ = _totalSupply;
        balances[msg.sender] = _totalSupply;
    }

    event TimeLocked(address indexed _beneficary, uint256 _timestamp);
    event TimeUnlocked(address indexed _beneficary);

    /**
    * @dev Modifier to make a function callable only when the contract is not timelocked or timelock expired.
    */
    modifier whenNotTimelocked(address _beneficary) {
        require(timelock[_beneficary] <= block.timestamp);
        _;
    }

    /**
    * @dev Modifier to make a function callable only when the contract is timelocked and not expired.
    */
    modifier whenTimelocked(address _beneficary) {
        require(timelock[_beneficary] > block.timestamp);
        _;
    }

    function enableTimelock(uint256 _timelockTimestamp) onlyOwner public {
        require(timelockTimestamp == 0 || _timelockTimestamp > block.timestamp);
        timelockTimestamp = _timelockTimestamp;
    }

    function disableTimelock() onlyOwner public {
        timelockTimestamp = 0;
    }

    /**
    * @dev called by the owner to timelock token belonging to beneficary
    */
    function addTimelock(address _beneficary, uint256 _timestamp) public onlyOwner {
        _addTimelock(_beneficary, _timestamp);
    }

    function _addTimelock(address _beneficary, uint256 _timestamp) internal whenNotTimelocked(_beneficary) {
        require(_timestamp > block.timestamp);
        timelock[_beneficary] = _timestamp;
        emit TimeLocked(_beneficary, _timestamp);
    }

    /**
    * @dev called by the owner to timeunlock token belonging to beneficary
    */
    function removeTimelock(address _beneficary) onlyOwner whenTimelocked(_beneficary) public {
        timelock[_beneficary] = 0;
        emit TimeUnlocked(_beneficary);
    }

    function transfer(address _to, uint256 _value) public whenNotTimelocked(msg.sender) returns (bool) {
        if (timelockTimestamp > block.timestamp)
            _addTimelock(_to, timelockTimestamp);
        return super.transfer(_to, _value);
    }

    function transferFrom(address _from, address _to, uint256 _value) public whenNotTimelocked(_from) returns (bool) {
        if (timelockTimestamp > block.timestamp)
            _addTimelock(_to, timelockTimestamp);
        return super.transferFrom(_from, _to, _value);
    }

    function approve(address _spender, uint256 _value) public whenNotTimelocked(_spender) returns (bool) {
        return super.approve(_spender, _value);
    }

    function increaseApproval(address _spender, uint _addedValue) public whenNotTimelocked(_spender) returns (bool success) {
        return super.increaseApproval(_spender, _addedValue);
    }

    function decreaseApproval(address _spender, uint _subtractedValue) public whenNotTimelocked(_spender) returns (bool success) {
        return super.decreaseApproval(_spender, _subtractedValue);
    }
}

/**
 * @title Crowdsale
 * @dev Crowdsale is a base contract for managing a token crowdsale,
 * allowing investors to purchase tokens with ether. This contract implements
 * such functionality in its most fundamental form and can be extended to provide additional
 * functionality and/or custom behavior.
 * The external interface represents the basic interface for purchasing tokens, and conform
 * the base architecture for crowdsales. They are *not* intended to be modified / overridden.
 * The internal interface conforms the extensible and modifiable surface of crowdsales. Override
 * the methods to add functionality. Consider using 'super' where appropriate to concatenate
 * behavior.
 */
contract Crowdsale {
  using SafeMath for uint256;
  using SafeERC20 for ERC20;

  // The token being sold
  ERC20 public token;

  // Address where funds are collected
  address public wallet;

  // How many token units a buyer gets per wei.
  // The rate is the conversion between wei and the smallest and indivisible token unit.
  // So, if you are using a rate of 1 with a DetailedERC20 token with 3 decimals called TOK
  // 1 wei will give you 1 unit, or 0.001 TOK.
  uint256 public rate;

  // Amount of wei raised
  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
  );

  /**
   * @param _rate Number of token units a buyer gets per wei
   * @param _wallet Address where collected funds will be forwarded to
   * @param _token Address of the token being sold
   */
  constructor(uint256 _rate, address _wallet, ERC20 _token) public {
    require(_rate > 0);
    require(_wallet != address(0));
    require(_token != address(0));

    rate = _rate;
    wallet = _wallet;
    token = _token;
  }

  // -----------------------------------------
  // Crowdsale external interface
  // -----------------------------------------

  /**
   * @dev fallback function ***DO NOT OVERRIDE***
   */
  function () external payable {
    buyTokens(msg.sender);
  }

  /**
   * @dev low level token purchase ***DO NOT OVERRIDE***
   * @param _beneficiary Address performing the token purchase
   */
  function buyTokens(address _beneficiary) public payable {

    uint256 weiAmount = msg.value;
    _preValidatePurchase(_beneficiary, weiAmount);

    // calculate token amount to be created
    uint256 tokens = _getTokenAmount(weiAmount);

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

    _processPurchase(_beneficiary, tokens);
    emit TokenPurchase(
      msg.sender,
      _beneficiary,
      weiAmount,
      tokens
    );

    _updatePurchasingState(_beneficiary, weiAmount);

    _forwardFunds();
    _postValidatePurchase(_beneficiary, weiAmount);
  }

  // -----------------------------------------
  // Internal interface (extensible)
  // -----------------------------------------

  /**
   * @dev Validation of an incoming purchase. Use require statements to revert state when conditions are not met. Use `super` in contracts that inherit from Crowdsale to extend their validations.
   * Example from CappedCrowdsale.sol's _preValidatePurchase method: 
   *   super._preValidatePurchase(_beneficiary, _weiAmount);
   *   require(weiRaised.add(_weiAmount) <= cap);
   * @param _beneficiary Address performing the token purchase
   * @param _weiAmount Value in wei involved in the purchase
   */
  function _preValidatePurchase(
    address _beneficiary,
    uint256 _weiAmount
  )
    internal
  {
    require(_beneficiary != address(0));
    require(_weiAmount != 0);
  }

  /**
   * @dev Validation of an executed purchase. Observe state and use revert statements to undo rollback when valid conditions are not met.
   * @param _beneficiary Address performing the token purchase
   * @param _weiAmount Value in wei involved in the purchase
   */
  function _postValidatePurchase(
    address _beneficiary,
    uint256 _weiAmount
  )
    internal
  {
    // optional override
  }

  /**
   * @dev Source of tokens. Override this method to modify the way in which the crowdsale ultimately gets and sends its tokens.
   * @param _beneficiary Address performing the token purchase
   * @param _tokenAmount Number of tokens to be emitted
   */
  function _deliverTokens(
    address _beneficiary,
    uint256 _tokenAmount
  )
    internal
  {
    token.safeTransfer(_beneficiary, _tokenAmount);
  }

  /**
   * @dev Executed when a purchase has been validated and is ready to be executed. Not necessarily emits/sends tokens.
   * @param _beneficiary Address receiving the tokens
   * @param _tokenAmount Number of tokens to be purchased
   */
  function _processPurchase(
    address _beneficiary,
    uint256 _tokenAmount
  )
    internal
  {
    _deliverTokens(_beneficiary, _tokenAmount);
  }

  /**
   * @dev Override for extensions that require an internal state to check for validity (current user contributions, etc.)
   * @param _beneficiary Address receiving the tokens
   * @param _weiAmount Value in wei involved in the purchase
   */
  function _updatePurchasingState(
    address _beneficiary,
    uint256 _weiAmount
  )
    internal
  {
    // optional override
  }

  /**
   * @dev Override to extend the way in which ether is converted to tokens.
   * @param _weiAmount Value in wei to be converted into tokens
   * @return Number of tokens that can be purchased with the specified _weiAmount
   */
  function _getTokenAmount(uint256 _weiAmount)
    internal view returns (uint256)
  {
    return _weiAmount.mul(rate);
  }

  /**
   * @dev Determines how ETH is stored/forwarded on purchases.
   */
  function _forwardFunds() internal {
    wallet.transfer(msg.value);
  }
}

/**
 * @title WhitelistedCrowdsale
 * @dev Crowdsale in which only whitelisted users can contribute.
 */
contract WhitelistedCrowdsale is Whitelist, Crowdsale {
  /**
   * @dev Extend parent behavior requiring beneficiary to be in whitelist.
   * @param _beneficiary Token beneficiary
   * @param _weiAmount Amount of wei contributed
   */
  function _preValidatePurchase(
    address _beneficiary,
    uint256 _weiAmount
  )
    internal
    onlyIfWhitelisted(_beneficiary)
  {
    super._preValidatePurchase(_beneficiary, _weiAmount);
  }

}

/**
 * @title CappedCrowdsale
 * @dev Crowdsale with a limit for total contributions.
 */
contract CappedCrowdsale is Crowdsale {
  using SafeMath for uint256;

  uint256 public cap;

  /**
   * @dev Constructor, takes maximum amount of wei accepted in the crowdsale.
   * @param _cap Max amount of wei to be contributed
   */
  constructor(uint256 _cap) public {
    require(_cap > 0);
    cap = _cap;
  }

  /**
   * @dev Checks whether the cap has been reached.
   * @return Whether the cap was reached
   */
  function capReached() public view returns (bool) {
    return weiRaised >= cap;
  }

  /**
   * @dev Extend parent behavior requiring purchase to respect the funding cap.
   * @param _beneficiary Token purchaser
   * @param _weiAmount Amount of wei contributed
   */
  function _preValidatePurchase(
    address _beneficiary,
    uint256 _weiAmount
  )
    internal
  {
    super._preValidatePurchase(_beneficiary, _weiAmount);
    require(weiRaised.add(_weiAmount) <= cap);
  }

}

/**
 * @title TimedCrowdsale
 * @dev Crowdsale accepting contributions only within a time frame.
 */
contract TimedCrowdsale is Crowdsale {
  using SafeMath for uint256;

  uint256 public openingTime;
  uint256 public closingTime;

  /**
   * @dev Reverts if not in crowdsale time range.
   */
  modifier onlyWhileOpen {
    // solium-disable-next-line security/no-block-members
    require(block.timestamp >= openingTime && block.timestamp <= closingTime);
    _;
  }

  /**
   * @dev Constructor, takes crowdsale opening and closing times.
   * @param _openingTime Crowdsale opening time
   * @param _closingTime Crowdsale closing time
   */
  constructor(uint256 _openingTime, uint256 _closingTime) public {
    // solium-disable-next-line security/no-block-members
    require(_openingTime >= block.timestamp);
    require(_closingTime >= _openingTime);

    openingTime = _openingTime;
    closingTime = _closingTime;
  }

  /**
   * @dev Checks whether the period in which the crowdsale is open has already elapsed.
   * @return Whether crowdsale period has elapsed
   */
  function hasClosed() public view returns (bool) {
    // solium-disable-next-line security/no-block-members
    return block.timestamp > closingTime;
  }

  /**
   * @dev Extend parent behavior requiring to be within contributing period
   * @param _beneficiary Token purchaser
   * @param _weiAmount Amount of wei contributed
   */
  function _preValidatePurchase(
    address _beneficiary,
    uint256 _weiAmount
  )
    internal
    onlyWhileOpen
  {
    super._preValidatePurchase(_beneficiary, _weiAmount);
  }

}

/**
 * @title PostDeliveryCrowdsale
 * @dev Crowdsale that locks tokens from withdrawal until it ends.
 */
contract PostDeliveryCrowdsale is TimedCrowdsale {
  using SafeMath for uint256;

  mapping(address => uint256) public balances;

  /**
   * @dev Withdraw tokens only after crowdsale ends.
   */
  function withdrawTokens() public {
    require(hasClosed());
    uint256 amount = balances[msg.sender];
    require(amount > 0);
    balances[msg.sender] = 0;
    _deliverTokens(msg.sender, amount);
  }

  /**
   * @dev Overrides parent by storing balances instead of issuing tokens right away.
   * @param _beneficiary Token purchaser
   * @param _tokenAmount Amount of tokens purchased
   */
  function _processPurchase(
    address _beneficiary,
    uint256 _tokenAmount
  )
    internal
  {
    balances[_beneficiary] = balances[_beneficiary].add(_tokenAmount);
  }

}

contract KratosPresale is CappedCrowdsale, WhitelistedCrowdsale, PostDeliveryCrowdsale {

    constructor(
        uint256 _cap,
        uint256 _openingTime,
        uint256 _closingTime,
        uint256 _rate,
        address _wallet,
        KratosToken _token
    ) public
        Crowdsale(_rate, _wallet, _token)
        CappedCrowdsale(_cap) // hard cap
        TimedCrowdsale(_openingTime, _closingTime) {
    }

    function setRate(uint256 _rate) external onlyOwner onlyWhileOpen {
        // solium-disable-next-line security/no-block-members
        require(_rate > 0);

        rate = _rate;
    }

    function setClosingTime(uint256 _closingTime) external onlyOwner {
        // solium-disable-next-line security/no-block-members
        require(_closingTime >= block.timestamp);
        require(_closingTime >= openingTime);

        closingTime = _closingTime;
    }

    // allow withdrawal of tokens anytime
    function withdrawTokens(address _addr) public onlyOwner {
        // require(hasClosed());
        uint256 amount = balances[_addr];
        require(amount > 0);
        balances[_addr] = 0;
        _deliverTokens(_addr, amount);
    }
}

    Contract ABI  
[{"constant":true,"inputs":[{"name":"_operator","type":"address"},{"name":"_role","type":"string"}],"name":"checkRole","outputs":[],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hasClosed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ROLE_WHITELISTED","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_operator","type":"address"},{"name":"_role","type":"string"}],"name":"hasRole","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_operators","type":"address[]"}],"name":"removeAddressesFromWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_operator","type":"address"}],"name":"removeAddressFromWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_rate","type":"uint256"}],"name":"setRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"cap","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":false,"inputs":[{"name":"_addr","type":"address"}],"name":"withdrawTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"closingTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_closingTime","type":"uint256"}],"name":"setClosingTime","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"capReached","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_operator","type":"address"}],"name":"addAddressToWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawTokens","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":"_operator","type":"address"}],"name":"whitelist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"openingTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_operators","type":"address[]"}],"name":"addAddressesToWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_beneficiary","type":"address"}],"name":"buyTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_cap","type":"uint256"},{"name":"_openingTime","type":"uint256"},{"name":"_closingTime","type":"uint256"},{"name":"_rate","type":"uint256"},{"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":"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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"operator","type":"address"},{"indexed":false,"name":"role","type":"string"}],"name":"RoleAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"operator","type":"address"},{"indexed":false,"name":"role","type":"string"}],"name":"RoleRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"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
608060405234801561001057600080fd5b5060405160c08061115483398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a0319163317815593959293919291859085908890869086908690831161006e57600080fd5b600160a060020a038216151561008357600080fd5b600160a060020a038116151561009857600080fd5b60049290925560038054600160a060020a03928316600160a060020a03199182161790915560028054929093169116179055600081116100d757600080fd5b600655428210156100e757600080fd5b818110156100f457600080fd5b600791909155600855505050505050611042806101126000396000f3006080604052600436106101535763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630988ca8c811461015e5780631515bc2b146101c557806318b919e9146101ee578063217fe6c61461027857806324953eaa146102df57806327e235e314610334578063286dd3f5146103675780632c4e722e1461038857806334fcf4371461039d578063355274ea146103b55780634042b66f146103ca57806349df728c146103df5780634b6753bc146104005780634b89c41d146104155780634f9359451461042d578063521eb27314610442578063715018a6146104735780637b9417c8146104885780638d8f2adb146104a95780638da5cb5b146104be5780639b19251a146104d3578063b7a8807c146104f4578063e2ec6ec314610509578063ec8ac4d81461055e578063f2fde38b14610572578063fc0c546a14610593575b61015c336105a8565b005b34801561016a57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261015c958335600160a060020a031695369560449491939091019190819084018382808284375094975061064a9650505050505050565b3480156101d157600080fd5b506101da6106b8565b604080519115158252519081900360200190f35b3480156101fa57600080fd5b506102036106c0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561023d578181015183820152602001610225565b50505050905090810190601f16801561026a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561028457600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526101da958335600160a060020a03169536956044949193909101919081908401838280828437509497506106e59650505050505050565b3480156102eb57600080fd5b506040805160206004803580820135838102808601850190965280855261015c9536959394602494938501929182918501908490808284375094975061075a9650505050505050565b34801561034057600080fd5b50610355600160a060020a03600435166107a7565b60408051918252519081900360200190f35b34801561037357600080fd5b5061015c600160a060020a03600435166107b9565b34801561039457600080fd5b50610355610800565b3480156103a957600080fd5b5061015c600435610806565b3480156103c157600080fd5b5061035561084e565b3480156103d657600080fd5b50610355610854565b3480156103eb57600080fd5b5061015c600160a060020a036004351661085a565b34801561040c57600080fd5b506103556108bb565b34801561042157600080fd5b5061015c6004356108c1565b34801561043957600080fd5b506101da6108f9565b34801561044e57600080fd5b50610457610904565b60408051600160a060020a039092168252519081900360200190f35b34801561047f57600080fd5b5061015c610913565b34801561049457600080fd5b5061015c600160a060020a036004351661097f565b3480156104b557600080fd5b5061015c6109c3565b3480156104ca57600080fd5b50610457610a0f565b3480156104df57600080fd5b506101da600160a060020a0360043516610a1e565b34801561050057600080fd5b50610355610a4d565b34801561051557600080fd5b506040805160206004803580820135838102808601850190965280855261015c95369593946024949385019291829185019084908082843750949750610a539650505050505050565b61015c600160a060020a03600435166105a8565b34801561057e57600080fd5b5061015c600160a060020a0360043516610aa0565b34801561059f57600080fd5b50610457610ac0565b3460006105b58383610acf565b6105be82610af8565b6005549091506105d4908363ffffffff610b0f16565b6005556105e18382610b1c565b60408051838152602081018390528151600160a060020a0386169233927f623b3804fa71d67900d064613da8f94b9617215ee90799290593e1745087ad18929081900390910190a361063383836106b4565b61063b610b65565b61064583836106b4565b505050565b6106b4826001836040518082805190602001908083835b602083106106805780518252601f199092019160209182019101610661565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050610b9e565b5050565b600854421190565b6040805180820190915260098152600080516020610ff7833981519152602082015281565b6000610751836001846040518082805190602001908083835b6020831061071d5780518252601f1990920191602091820191016106fe565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050610bb3565b90505b92915050565b60008054600160a060020a0316331461077257600080fd5b5060005b81518110156106b45761079f828281518110151561079057fe5b906020019060200201516107b9565b600101610776565b60096020526000908152604090205481565b600054600160a060020a031633146107d057600080fd5b6107fd81604080519081016040528060098152602001600080516020610ff7833981519152815250610bd2565b50565b60045481565b600054600160a060020a0316331461081d57600080fd5b600754421015801561083157506008544211155b151561083c57600080fd5b6000811161084957600080fd5b600455565b60065481565b60055481565b60008054600160a060020a0316331461087257600080fd5b50600160a060020a03811660009081526009602052604081205490811161089857600080fd5b600160a060020a0382166000908152600960205260408120556106b48282610ce3565b60085481565b600054600160a060020a031633146108d857600080fd5b428110156108e557600080fd5b6007548110156108f457600080fd5b600855565b600654600554101590565b600354600160a060020a031681565b600054600160a060020a0316331461092a57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a0316331461099657600080fd5b6107fd81604080519081016040528060098152602001600080516020610ff7833981519152815250610d00565b60006109cd6106b8565b15156109d857600080fd5b50336000908152600960205260408120549081116109f557600080fd5b336000818152600960205260408120556107fd9082610ce3565b600054600160a060020a031681565b600061075482604080519081016040528060098152602001600080516020610ff78339815191528152506106e5565b60075481565b60008054600160a060020a03163314610a6b57600080fd5b5060005b81518110156106b457610a988282815181101515610a8957fe5b9060200190602002015161097f565b600101610a6f565b600054600160a060020a03163314610ab757600080fd5b6107fd81610dd2565b600254600160a060020a031681565b6007544210158015610ae357506008544211155b1515610aee57600080fd5b6106b48282610e4f565b600061075460045483610e8790919063ffffffff16565b8181018281101561075457fe5b600160a060020a038216600090815260096020526040902054610b45908263ffffffff610b0f16565b600160a060020a0390921660009081526009602052604090209190915550565b600354604051600160a060020a03909116903480156108fc02916000818181858888f193505050501580156107fd573d6000803e3d6000fd5b610ba88282610bb3565b15156106b457600080fd5b600160a060020a03166000908152602091909152604090205460ff1690565b610c3c826001836040518082805190602001908083835b60208310610c085780518252601f199092019160209182019101610be9565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050610eb0565b81600160a060020a03167fd211483f91fc6eff862467f8de606587a30c8fc9981056f051b897a418df803a826040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ca5578181015183820152602001610c8d565b50505050905090810190601f168015610cd25780820380516001836020036101000a031916815260200191505b509250505060405180910390a25050565b6002546106b490600160a060020a0316838363ffffffff610ed216565b610d6a826001836040518082805190602001908083835b60208310610d365780518252601f199092019160209182019101610d17565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050610f85565b81600160a060020a03167fbfec83d64eaa953f2708271a023ab9ee82057f8f3578d548c1a4ba0b5b7004898260405180806020018281038252838181518152602001915080519060200190808383600083811015610ca5578181015183820152602001610c8d565b600160a060020a0381161515610de757600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b81610e7d81604080519081016040528060098152602001600080516020610ff783398151915281525061064a565b6106458383610faa565b6000821515610e9857506000610754565b50818102818382811515610ea857fe5b041461075457fe5b600160a060020a0316600090815260209190915260409020805460ff19169055565b82600160a060020a031663a9059cbb83836040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b158015610f4e57600080fd5b505af1158015610f62573d6000803e3d6000fd5b505050506040513d6020811015610f7857600080fd5b5051151561064557600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b610fb48282610fd5565b600654600554610fca908363ffffffff610b0f16565b11156106b457600080fd5b600160a060020a0382161515610fea57600080fd5b8015156106b457600080fd0077686974656c6973740000000000000000000000000000000000000000000000a165627a7a723058208b7d030df241a7acaa26d199a13a9da31bb10a10c40dce87720eb0d16d1d56290029000000000000000000000000000000000000000000422ca8b0a00a4250000000000000000000000000000000000000000000000000000000000000005b5ae1a1000000000000000000000000000000000000000000000000000000005b817cc400000000000000000000000000000000000000000000000000000000000004e20000000000000000000000007a17e0626ca22f19bc488f4e4b6ea7053989115a0000000000000000000000006560a9b6436e129cf835ab9da96201207facd4f8

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

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000422ca8b0a00a4250000000
Arg [1] : 000000000000000000000000000000000000000000000000000000005b5ae1a1
Arg [2] : 000000000000000000000000000000000000000000000000000000005b817cc4
Arg [3] : 00000000000000000000000000000000000000000000000000000000000004e2
Arg [4] : 0000000000000000000000007a17e0626ca22f19bc488f4e4b6ea7053989115a
Arg [5] : 0000000000000000000000006560a9b6436e129cf835ab9da96201207facd4f8


   Swarm Source:
bzzr://8b7d030df241a7acaa26d199a13a9da31bb10a10c40dce87720eb0d16d1d5629

 

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