Contract Overview
Balance: 0 Ether
Transactions: 3 txns
 Latest 3 txns

TxHash Age From To Value [TxFee]
0xae3a8d7237af5876e1a43dc24a2fd35c35a31156f5e1c3d7984b664bc57b3cae28 days 16 hrs ago0x0b30df42e49d3906f0c50916d6e99727b58a8650  IN   0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0 Ether0.000026365
0x834aeaa2bb9ff420c6f4d68713db86b5178d3eedc590faa1892602a2d6fb5e4729 days 14 hrs ago0x0b30df42e49d3906f0c50916d6e99727b58a8650  IN   0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0 Ether0.000043623
0xd6a78da7e8ce621b9f743766186e9f992958ce2e5f6f8972322c8b938f7289af29 days 14 hrs ago0x0b30df42e49d3906f0c50916d6e99727b58a8650  IN    Contract Creation0 Ether0.00159161
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here To View More View All
ParentTxHash Block Age From To Value
0xe441e26b389d25625aab1034f17f296e6013c2ae99d317361fa31c5c533ae540486842228 days 9 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0xe441e26b389d25625aab1034f17f296e6013c2ae99d317361fa31c5c533ae540486842228 days 9 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0xe441e26b389d25625aab1034f17f296e6013c2ae99d317361fa31c5c533ae540486842228 days 9 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0xe441e26b389d25625aab1034f17f296e6013c2ae99d317361fa31c5c533ae540486842228 days 9 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0xe441e26b389d25625aab1034f17f296e6013c2ae99d317361fa31c5c533ae540486842228 days 9 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0xe441e26b389d25625aab1034f17f296e6013c2ae99d317361fa31c5c533ae540486842228 days 9 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0xe441e26b389d25625aab1034f17f296e6013c2ae99d317361fa31c5c533ae540486842228 days 9 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0xe441e26b389d25625aab1034f17f296e6013c2ae99d317361fa31c5c533ae540486842228 days 9 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0xe441e26b389d25625aab1034f17f296e6013c2ae99d317361fa31c5c533ae540486842228 days 9 hrs ago0xa7a8b1c9b519deccee933102e29bb8c8b269da4c0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0 Ether
0x76a4facb45b3d91f6e5a657d0747fe8ddbb7486797875f53590d69a7fa96b7c7486837128 days 9 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0x76a4facb45b3d91f6e5a657d0747fe8ddbb7486797875f53590d69a7fa96b7c7486837128 days 9 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0x76a4facb45b3d91f6e5a657d0747fe8ddbb7486797875f53590d69a7fa96b7c7486837128 days 9 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0x76a4facb45b3d91f6e5a657d0747fe8ddbb7486797875f53590d69a7fa96b7c7486837128 days 9 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0x76a4facb45b3d91f6e5a657d0747fe8ddbb7486797875f53590d69a7fa96b7c7486837128 days 9 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0x76a4facb45b3d91f6e5a657d0747fe8ddbb7486797875f53590d69a7fa96b7c7486837128 days 9 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0x76a4facb45b3d91f6e5a657d0747fe8ddbb7486797875f53590d69a7fa96b7c7486837128 days 9 hrs ago0xa7a8b1c9b519deccee933102e29bb8c8b269da4c0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0 Ether
0x5ea5f196b13dfca3c84223b667f15970b7431286cf1843df64a572df5f83ec7f486720328 days 15 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0x5ea5f196b13dfca3c84223b667f15970b7431286cf1843df64a572df5f83ec7f486720328 days 15 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0x5ea5f196b13dfca3c84223b667f15970b7431286cf1843df64a572df5f83ec7f486720328 days 15 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0x5ea5f196b13dfca3c84223b667f15970b7431286cf1843df64a572df5f83ec7f486720328 days 15 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0x5ea5f196b13dfca3c84223b667f15970b7431286cf1843df64a572df5f83ec7f486720328 days 15 hrs ago0xa7a8b1c9b519deccee933102e29bb8c8b269da4c0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0 Ether
0x488f51cc9aaf05dc8da6e6dd930300cc50c4d28fd0d0179cd4e44ab3d7092983486710928 days 15 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0x488f51cc9aaf05dc8da6e6dd930300cc50c4d28fd0d0179cd4e44ab3d7092983486710928 days 15 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0x488f51cc9aaf05dc8da6e6dd930300cc50c4d28fd0d0179cd4e44ab3d7092983486710928 days 15 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 Ether
0x488f51cc9aaf05dc8da6e6dd930300cc50c4d28fd0d0179cd4e44ab3d7092983486710928 days 15 hrs ago0x5ef633ff6f33a161dff9963f17b0b0eab6e6451c0x9edeeb91266f1f2453fbdd67cd00f3dff1575ced0 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: SignkeysReferral
Compiler Version: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.24;

// File: openzeppelin-solidity/contracts/ownership/Ownable.sol

/**
 * @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 private _owner;

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

  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  constructor() internal {
    _owner = msg.sender;
    emit OwnershipTransferred(address(0), _owner);
  }

  /**
   * @return the address of the owner.
   */
  function owner() public view returns(address) {
    return _owner;
  }

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

  /**
   * @return true if `msg.sender` is the owner of the contract.
   */
  function isOwner() public view returns(bool) {
    return 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 OwnershipTransferred(_owner, address(0));
    _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;
  }
}

// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
interface IERC20 {
  function totalSupply() external view returns (uint256);

  function balanceOf(address who) external view returns (uint256);

  function allowance(address owner, address spender)
    external view returns (uint256);

  function transfer(address to, uint256 value) external returns (bool);

  function approve(address spender, uint256 value)
    external returns (bool);

  function transferFrom(address from, address to, uint256 value)
    external returns (bool);

  event Transfer(
    address indexed from,
    address indexed to,
    uint256 value
  );

  event Approval(
    address indexed owner,
    address indexed spender,
    uint256 value
  );
}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol

/**
 * @title ERC20Detailed token
 * @dev The decimals are only for visualization purposes.
 * All the operations are done using the smallest and indivisible token unit,
 * just as on Ethereum all the operations are done in wei.
 */
contract ERC20Detailed is IERC20 {
  string private _name;
  string private _symbol;
  uint8 private _decimals;

  constructor(string name, string symbol, uint8 decimals) public {
    _name = name;
    _symbol = symbol;
    _decimals = decimals;
  }

  /**
   * @return the name of the token.
   */
  function name() public view returns(string) {
    return _name;
  }

  /**
   * @return the symbol of the token.
   */
  function symbol() public view returns(string) {
    return _symbol;
  }

  /**
   * @return the number of decimals of the token.
   */
  function decimals() public view returns(uint8) {
    return _decimals;
  }
}

// File: openzeppelin-solidity/contracts/math/SafeMath.sol

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

  /**
  * @dev Multiplies two numbers, reverts on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring '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;
    }

    uint256 c = a * b;
    require(c / a == b);

    return c;
  }

  /**
  * @dev Integer division of two numbers truncating the quotient, reverts on division by zero.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b > 0); // Solidity only automatically asserts 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;
  }

  /**
  * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b <= a);
    uint256 c = a - b;

    return c;
  }

  /**
  * @dev Adds two numbers, reverts on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a);

    return c;
  }

  /**
  * @dev Divides two numbers and returns the remainder (unsigned integer modulo),
  * reverts when dividing by zero.
  */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b != 0);
    return a % b;
  }
}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol

/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
 * Originally based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract ERC20 is IERC20 {
  using SafeMath for uint256;

  mapping (address => uint256) private _balances;

  mapping (address => mapping (address => uint256)) private _allowed;

  uint256 private _totalSupply;

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

  /**
  * @dev Gets the balance of the specified address.
  * @param owner The address to query 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];
  }

  /**
   * @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 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) {
    _transfer(msg.sender, 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) {
    require(spender != address(0));

    _allowed[msg.sender][spender] = value;
    emit Approval(msg.sender, spender, value);
    return true;
  }

  /**
   * @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 <= _allowed[from][msg.sender]);

    _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value);
    _transfer(from, to, value);
    return true;
  }

  /**
   * @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 increaseAllowance(
    address spender,
    uint256 addedValue
  )
    public
    returns (bool)
  {
    require(spender != address(0));

    _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 decreaseAllowance(
    address spender,
    uint256 subtractedValue
  )
    public
    returns (bool)
  {
    require(spender != address(0));

    _allowed[msg.sender][spender] = (
      _allowed[msg.sender][spender].sub(subtractedValue));
    emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
    return true;
  }

  /**
  * @dev Transfer token for a specified addresses
  * @param from The address to transfer from.
  * @param to The address to transfer to.
  * @param value The amount to be transferred.
  */
  function _transfer(address from, address to, uint256 value) internal {
    require(value <= _balances[from]);
    require(to != address(0));

    _balances[from] = _balances[from].sub(value);
    _balances[to] = _balances[to].add(value);
    emit Transfer(from, to, value);
  }

  /**
   * @dev Internal function that mints an amount of the token and assigns it to
   * an account. This encapsulates the modification of balances such that the
   * proper events are emitted.
   * @param account The account that will receive the created tokens.
   * @param value The amount that will be created.
   */
  function _mint(address account, uint256 value) internal {
    require(account != 0);
    _totalSupply = _totalSupply.add(value);
    _balances[account] = _balances[account].add(value);
    emit Transfer(address(0), account, value);
  }

  /**
   * @dev Internal function that burns an amount of the token of a given
   * account.
   * @param account The account whose tokens will be burnt.
   * @param value The amount that will be burnt.
   */
  function _burn(address account, uint256 value) internal {
    require(account != 0);
    require(value <= _balances[account]);

    _totalSupply = _totalSupply.sub(value);
    _balances[account] = _balances[account].sub(value);
    emit Transfer(account, address(0), value);
  }

  /**
   * @dev Internal function that burns an amount of the token of a given
   * account, deducting from the sender's allowance for said account. Uses the
   * internal burn function.
   * @param account The account whose tokens will be burnt.
   * @param value The amount that will be burnt.
   */
  function _burnFrom(address account, uint256 value) internal {
    require(value <= _allowed[account][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[account][msg.sender] = _allowed[account][msg.sender].sub(
      value);
    _burn(account, value);
  }
}

// File: openzeppelin-solidity/contracts/access/Roles.sol

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
  struct Role {
    mapping (address => bool) bearer;
  }

  /**
   * @dev give an account access to this role
   */
  function add(Role storage role, address account) internal {
    require(account != address(0));
    require(!has(role, account));

    role.bearer[account] = true;
  }

  /**
   * @dev remove an account's access to this role
   */
  function remove(Role storage role, address account) internal {
    require(account != address(0));
    require(has(role, account));

    role.bearer[account] = false;
  }

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

// File: openzeppelin-solidity/contracts/access/roles/PauserRole.sol

contract PauserRole {
  using Roles for Roles.Role;

  event PauserAdded(address indexed account);
  event PauserRemoved(address indexed account);

  Roles.Role private pausers;

  constructor() internal {
    _addPauser(msg.sender);
  }

  modifier onlyPauser() {
    require(isPauser(msg.sender));
    _;
  }

  function isPauser(address account) public view returns (bool) {
    return pausers.has(account);
  }

  function addPauser(address account) public onlyPauser {
    _addPauser(account);
  }

  function renouncePauser() public {
    _removePauser(msg.sender);
  }

  function _addPauser(address account) internal {
    pausers.add(account);
    emit PauserAdded(account);
  }

  function _removePauser(address account) internal {
    pausers.remove(account);
    emit PauserRemoved(account);
  }
}

// File: openzeppelin-solidity/contracts/lifecycle/Pausable.sol

/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is PauserRole {
  event Paused(address account);
  event Unpaused(address account);

  bool private _paused;

  constructor() internal {
    _paused = false;
  }

  /**
   * @return true if the contract is paused, false otherwise.
   */
  function paused() public view returns(bool) {
    return _paused;
  }

  /**
   * @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 onlyPauser whenNotPaused {
    _paused = true;
    emit Paused(msg.sender);
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause() public onlyPauser whenPaused {
    _paused = false;
    emit Unpaused(msg.sender);
  }
}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Pausable.sol

/**
 * @title Pausable token
 * @dev ERC20 modified with pausable transfers.
 **/
contract ERC20Pausable is ERC20, 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 increaseAllowance(
    address spender,
    uint addedValue
  )
    public
    whenNotPaused
    returns (bool success)
  {
    return super.increaseAllowance(spender, addedValue);
  }

  function decreaseAllowance(
    address spender,
    uint subtractedValue
  )
    public
    whenNotPaused
    returns (bool success)
  {
    return super.decreaseAllowance(spender, subtractedValue);
  }
}

// File: contracts/SignkeysToken.sol

contract SignkeysToken is ERC20Pausable, ERC20Detailed, Ownable {

    uint8 public constant DECIMALS = 18;

    uint256 public constant INITIAL_SUPPLY = 2E10 * (10 ** uint256(DECIMALS));

    /**
     * @dev Constructor that gives msg.sender all of existing tokens.
     */
    constructor() public ERC20Detailed("SignkeysToken", "KEYS", DECIMALS) {
        _mint(owner(), INITIAL_SUPPLY);
    }

    function approveAndCall(address _spender, uint256 _value, bytes _data) public payable returns (bool success) {
        require(_spender != address(this));
        require(super.approve(_spender, _value));
        require(_spender.call(_data));
        return true;
    }

    function() payable external {
        revert();
    }
}


/**
 * @title Helps contracts guard against reentrancy attacks.
 * @author Remco Bloemen <[email protected]π.com>, Eenae <[email protected]>
 * @dev If you mark a function `nonReentrant`, you should also
 * mark it `external`.
 */
contract ReentrancyGuard {

  /// @dev counter to allow mutex lock with only one SSTORE operation
  uint256 private _guardCounter;

  constructor() internal {
    // The counter starts at one to prevent changing it from zero to a non-zero
    // value, which is a more expensive operation.
    _guardCounter = 1;
  }

  /**
   * @dev Prevents a contract from calling itself, directly or indirectly.
   * Calling a `nonReentrant` function from another `nonReentrant`
   * function is not supported. It is possible to prevent this from happening
   * by making the `nonReentrant` function external, and make it call a
   * `private` function that does the actual work.
   */
  modifier nonReentrant() {
    _guardCounter += 1;
    uint256 localCounter = _guardCounter;
    _;
    require(localCounter == _guardCounter);
  }

}

contract SignkeysCrowdsale is Ownable, ReentrancyGuard {
    using SafeMath for uint256;

    /* Token contract */
    SignkeysToken public signkeysToken;

    /* Vesting contract */
    SignkeysVesting public signkeysVesting;

    /* Referral smart contract*/
    SignkeysReferral public referralSmartContract;

    /* signer address, can be set by owner only */
    address public signer;

    /* ETH funds will be transferred to this address */
    address public wallet;

    // Buyer bought the amount of tokens with tokenPrice
    event BuyTokens(
        address indexed buyer,
        address indexed tokenReceiver,
        uint256 tokenPrice,
        uint256 amount
    );

    // Wallet changed
    event WalletChanged(address newWallet);

    // Signer changed
    event CrowdsaleSignerChanged(address newSigner);

    constructor(
        address _token,
        address _vesting,
        address _referralSmartContract,
        address _wallet,
        address _signer
    ) public {
        require(_token != 0x0, "Token contract for crowdsale must be set");
        require(_vesting != 0x0, "Vesting contract for crowdsale must be set");
        require(_referralSmartContract != 0x0, "Referral smart contract for crowdsale must be set");

        require(_wallet != 0x0, "Wallet for fund transferring must be set");
        require(_signer != 0x0, "Signer must be set");

        signkeysToken = SignkeysToken(_token);
        signkeysVesting = SignkeysVesting(_vesting);
        referralSmartContract = SignkeysReferral(_referralSmartContract);

        signer = _signer;
        wallet = _wallet;
    }

    function setSignerAddress(address _signer) external onlyOwner {
        signer = _signer;
        emit CrowdsaleSignerChanged(_signer);
    }

    function setWalletAddress(address _wallet) external onlyOwner {
        wallet = _wallet;
        emit WalletChanged(_wallet);
    }

    function setVestingContract(address _vesting) external onlyOwner {
        signkeysVesting = SignkeysVesting(_vesting);
    }

    function setReferralSmartContract(address _referralSmartContract) external onlyOwner {
        referralSmartContract = SignkeysReferral(_referralSmartContract);
    }

    function getRemainingTokensToSell() external view returns (uint256) {
        return signkeysToken.balanceOf(this);
    }

    /**
     * @dev Make an investment.
     *
     * @param _tokenReceiver address where the tokens need to be transfered
     * @param _referral address of user that invited _tokenReceiver for this purchase
     * @param _tokenPrice price per one token including decimals
     * @param _minWei minimal amount of wei buyer should invest
     * @param _expiration expiration on token
     */
    function buyTokens(
        address _tokenReceiver,
        address _referral,
        uint256 _couponCampaignId, // starts with 1 if there is some, 0 means no coupon
        uint256 _tokenPrice,
        uint256 _minWei,
        uint256 _expiration,
        uint8 _v,
        bytes32 _r,
        bytes32 _s
    ) payable external nonReentrant {
        require(_expiration >= now, "Signature expired");
        require(_tokenReceiver != 0x0, "Token receiver must be provided");
        require(_minWei > 0, "Minimal amount to purchase must be greater than 0");

        require(wallet != 0x0, "Wallet must be set");
        require(msg.value >= _minWei, "Purchased amount is less than min amount to invest");

        address receivedSigner = ecrecover(
            keccak256(
                abi.encodePacked(
                    _tokenPrice, _minWei, _tokenReceiver, _referral, _couponCampaignId, _expiration
                )
            ), _v, _r, _s);

        require(receivedSigner == signer, "Something wrong with signature");

        uint256 tokensAmount = msg.value.mul(10 ** uint256(signkeysToken.decimals())).div(_tokenPrice);
        require(signkeysToken.balanceOf(this) >= tokensAmount, "Not enough tokens in sale contract");
        uint256 amountForVesting = tokensAmount.mul(signkeysVesting.percentageToLock()).div(100);

        signkeysToken.transfer(_tokenReceiver, tokensAmount.sub(amountForVesting));
        signkeysToken.approve(address(signkeysVesting), amountForVesting);
        signkeysVesting.lock(_tokenReceiver, amountForVesting);

        // send bonuses according to referral smart contract
        referralSmartContract.sendBonus(_referral, _tokenReceiver, tokensAmount, _couponCampaignId);

        // Pocket the money, or fail the crowdsale if we for some reason cannot send the money to our wallet
        wallet.transfer(msg.value);

        emit BuyTokens(msg.sender, _tokenReceiver, _tokenPrice, tokensAmount);
    }

    /**
     * Don't expect to just send in money and get tokens.
     */
    function() payable external {
        revert();
    }
}

contract SignkeysReferral is Ownable {
    using SafeMath for uint256;

    /* Token contract */
    SignkeysToken token;

    /* Crowdsale contract */
    SignkeysCrowdsale signkeysCrowdsale;

    /* How much bonuses to send according for the giver coupon campaign */
    mapping(uint256 => uint256) private _couponToBonuses;

    /* Check if referral already got the bonuses from the invited token receiver */
    mapping(address => bool) private _bonusToReferralWereSent;

    /* Check if coupon of the given campaign was used by the token receiver */
    mapping(address => mapping(uint256 => bool)) private _couponWereUsed;


    uint256[] public buyingAmountRanges = [199, 1000, 10000, 100000, 1000000, 10000000];
    uint256[] public referralRewards = [5, 50, 500, 5000, 50000];
    uint256[] public refereeRewards = [5, 50, 500, 5000, 50000];

    event BonusSent(
        address indexed referralAddress,
        uint256 referralAmount,
        address indexed refereeAddress,
        uint256 refereeAmount,
        uint256 cuponBonusAmount
    );

    constructor(address _token) public {
        token = SignkeysToken(_token);
    }

    function setCrowdsaleContract(address _crowdsale) public onlyOwner {
        signkeysCrowdsale = SignkeysCrowdsale(_crowdsale);
    }

    function addCouponCampaign(uint256 _couponCampaignId, uint256 amountOfBonuses) public onlyOwner {
        _couponToBonuses[_couponCampaignId] = amountOfBonuses;
    }

    function getCouponCampaign(uint256 _couponCampaignId) public view onlyOwner returns (uint256)  {
        return _couponToBonuses[_couponCampaignId];
    }

    function calcBonus(uint256 amount, bool isReferral) private view returns (uint256) {
        uint256 multiplier = 10 ** uint256(token.decimals());
        if (amount <= multiplier.mul(buyingAmountRanges[0])) {
            return 0;
        }
        for (uint i = 1; i < buyingAmountRanges.length; i++) {
            uint min = buyingAmountRanges[i - 1];
            uint max = buyingAmountRanges[i];
            if (amount > min.mul(multiplier) && amount <= max.mul(multiplier)) {
                return isReferral ? multiplier.mul(referralRewards[i - 1]) : multiplier.mul(refereeRewards[i - 1]);
            }
        }
    }

    function sendBonus(address referral, address referee, uint256 _amount, uint256 _couponCampaignId) external returns (uint256)  {
        require(msg.sender == address(signkeysCrowdsale), "Bonus may be sent only by crowdsale contract");

        uint256 referralBonus;
        uint256 refereeBonus;
        uint256 couponBonus;

        uint256 referralBonusAmount = calcBonus(_amount, true);
        uint256 refereeBonusAmount = calcBonus(_amount, false);

        if (
            referralBonusAmount > 0 &&
            referral != 0x0 &&
        !_bonusToReferralWereSent[referee] &&
        token.balanceOf(this) > referralBonusAmount) {
            token.transfer(referral, referralBonusAmount);
            _bonusToReferralWereSent[referee] = true;
            referralBonus = referralBonusAmount;
        } else {
            referralBonus = 0;
        }

        if (token.balanceOf(this) > refereeBonusAmount) {
            token.transfer(referee, refereeBonusAmount);
            refereeBonus = refereeBonusAmount;
        } else {
            refereeBonus = 0;
        }

        if (_couponCampaignId > 0 && !_couponWereUsed[referee][_couponCampaignId]) {
            if (token.balanceOf(this) > _couponToBonuses[_couponCampaignId]) {
                token.transfer(referee, _couponToBonuses[_couponCampaignId]);
                _couponWereUsed[referee][_couponCampaignId] = true;
                couponBonus = _couponToBonuses[_couponCampaignId];
            }else {
                couponBonus = 0;
            }
        }

        emit BonusSent(referral, referralBonus, referee, refereeBonus, couponBonus);
    }

    function getBuyingAmountRanges() public onlyOwner view returns (uint256[]) {
        return buyingAmountRanges;
    }

    function getReferralRewards() public onlyOwner view returns (uint256[]) {
        return referralRewards;
    }

    function getRefereeRewards() public onlyOwner view returns (uint256[]) {
        return refereeRewards;
    }

    function setBuyingAmountRanges(uint[] ranges) public onlyOwner {
        buyingAmountRanges = ranges;
    }

    function setReferralRewards(uint[] rewards) public onlyOwner {
        require(rewards.length == buyingAmountRanges.length - 1);
        referralRewards = rewards;
    }

    function setRefereeRewards(uint[] rewards) public onlyOwner {
        require(rewards.length == buyingAmountRanges.length - 1);
        refereeRewards = rewards;
    }
}


contract SignkeysVesting is Ownable {
    using SafeMath for uint256;

    uint256 public INITIAL_VESTING_CLIFF_SECONDS = 180 days;
    uint256 public INITIAL_PERCENTAGE_TO_LOCK = 50; // 50%

    // The token to which we add the vesting restrictions
    SignkeysToken public signkeysToken;

    // Crowdsale contract
    SignkeysCrowdsale public signkeysCrowdsale;

    // the start date of crowdsale
    uint public vestingStartDateTime;

    // the date after which user is able to sell all his tokens
    uint public vestingCliffDateTime;

    // the percentage of tokens to lock immediately after buying
    uint256 public percentageToLock;

    /* The amount of locked tokens for each user */
    mapping(address => uint256) private _balances;

    event TokensLocked(address indexed user, uint amount);
    event TokensReleased(address indexed user, uint amount);

    constructor() public{
        vestingStartDateTime = now;
        vestingCliffDateTime = SafeMath.add(now, INITIAL_VESTING_CLIFF_SECONDS);
        percentageToLock = INITIAL_PERCENTAGE_TO_LOCK;
    }

    function setToken(address token) external onlyOwner {
        signkeysToken = SignkeysToken(token);
    }

    function setCrowdsaleContract(address crowdsaleContract) external onlyOwner {
        signkeysCrowdsale = SignkeysCrowdsale(crowdsaleContract);
    }

    function balanceOf(address tokenHolder) external view returns (uint256) {
        return _balances[tokenHolder];
    }

    function lock(address _user, uint256 _amount) external returns (uint256)  {
        require(msg.sender == address(signkeysCrowdsale), "Tokens may be locked only by crowdsale contract");
        require(signkeysToken.balanceOf(_user) >= _amount, "User balance is less than the requested size");

        signkeysToken.transferFrom(msg.sender, this, _amount);

        _balances[_user] = _balances[_user].add(_amount);

        emit TokensLocked(_user, _amount);

        return _balances[_user];
    }

    /**
     * @notice Transfers vested tokens back to user.
     * @param _user user that asks to release his tokens
     */
    function release(address _user) private {
        require(vestingCliffDateTime <= now, "Cannot release vested tokens until vesting cliff date");
        uint256 unreleased = _balances[_user];

        if (unreleased > 0) {
            signkeysToken.transfer(_user, unreleased);
            _balances[_user] = _balances[_user].sub(unreleased);
        }

        emit TokensReleased(_user, unreleased);
    }

    function release() public {
        release(msg.sender);
    }

    function setVestingStartDateTime(uint _vestingStartDateTime) external onlyOwner {
        require(_vestingStartDateTime <= vestingCliffDateTime, "Start date should be less or equal than cliff date");
        vestingStartDateTime = _vestingStartDateTime;
    }

    function setVestingCliffDateTime(uint _vestingCliffDateTime) external onlyOwner {
        require(vestingStartDateTime <= _vestingCliffDateTime, "Cliff date should be greater or equal than start date");
        vestingCliffDateTime = _vestingCliffDateTime;
    }

    function setPercentageToLock(uint256 percentage) external onlyOwner {
        require(percentage >= 0 && percentage <= 100, "Percentage must be in range [0, 100]");
        percentageToLock = percentage;
    }
}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"rewards","type":"uint256[]"}],"name":"setRefereeRewards","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_couponCampaignId","type":"uint256"}],"name":"getCouponCampaign","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"referralRewards","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"ranges","type":"uint256[]"}],"name":"setBuyingAmountRanges","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_crowdsale","type":"address"}],"name":"setCrowdsaleContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getRefereeRewards","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_couponCampaignId","type":"uint256"},{"name":"amountOfBonuses","type":"uint256"}],"name":"addCouponCampaign","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"referral","type":"address"},{"name":"referee","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_couponCampaignId","type":"uint256"}],"name":"sendBonus","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"rewards","type":"uint256[]"}],"name":"setReferralRewards","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"refereeRewards","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"buyingAmountRanges","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getReferralRewards","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getBuyingAmountRanges","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_token","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"referralAddress","type":"address"},{"indexed":false,"name":"referralAmount","type":"uint256"},{"indexed":true,"name":"refereeAddress","type":"address"},{"indexed":false,"name":"refereeAmount","type":"uint256"},{"indexed":false,"name":"cuponBonusAmount","type":"uint256"}],"name":"BonusSent","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
61014060405260c760809081526103e860a05261271060c052620186a060e052620f42406101005262989680610120526200003e90600690816200014f565b506040805160a0810182526005808252603260208301526101f492820192909252611388606082015261c35060808201526200007e9160079190620001a6565b506040805160a0810182526005808252603260208301526101f492820192909252611388606082015261c3506080820152620000be9160089190620001a6565b50348015620000cc57600080fd5b506040516020806200122a833981016040819052905160008054600160a060020a03191633178082559192600160a060020a0392909216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a360018054600160a060020a031916600160a060020a03929092169190911790556200020a565b82805482825590600052602060002090810192821562000194579160200282015b8281111562000194578251829062ffffff1690559160200191906001019062000170565b50620001a2929150620001ea565b5090565b82805482825590600052602060002090810192821562000194579160200282015b8281111562000194578251829061ffff16905591602001919060010190620001c7565b6200020791905b80821115620001a25760008155600101620001f1565b90565b611010806200021a6000396000f3006080604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166304d332a281146100f557806308a4e2131461014c5780634b6d10b91461017657806356ca8d751461018e5780636596cff3146101e3578063715018a61461020457806384db71a3146102195780638da5cb5b1461027e5780638f32d59b146102af578063a52468d5146102d8578063a981bb58146102f3578063af10259e14610320578063af7b860414610375578063c3a258131461038d578063cdf866fd146103a5578063ed04d9f2146103ba578063f2fde38b146103cf575b600080fd5b34801561010157600080fd5b506040805160206004803580820135838102808601850190965280855261014a953695939460249493850192918291850190849080828437509497506103f09650505050505050565b005b34801561015857600080fd5b5061016460043561042f565b60408051918252519081900360200190f35b34801561018257600080fd5b50610164600435610457565b34801561019a57600080fd5b506040805160206004803580820135838102808601850190965280855261014a953695939460249493850192918291850190849080828437509497506104769650505050505050565b3480156101ef57600080fd5b5061014a600160a060020a036004351661049c565b34801561021057600080fd5b5061014a6104de565b34801561022557600080fd5b5061022e610548565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561026a578181015183820152602001610252565b505050509050019250505060405180910390f35b34801561028a57600080fd5b506102936105b4565b60408051600160a060020a039092168252519081900360200190f35b3480156102bb57600080fd5b506102c46105c3565b604080519115158252519081900360200190f35b3480156102e457600080fd5b5061014a6004356024356105d4565b3480156102ff57600080fd5b50610164600160a060020a03600435811690602435166044356064356105f9565b34801561032c57600080fd5b506040805160206004803580820135838102808601850190965280855261014a95369593946024949385019291829185019084908082843750949750610bce9650505050505050565b34801561038157600080fd5b50610164600435610c09565b34801561039957600080fd5b50610164600435610c17565b3480156103b157600080fd5b5061022e610c25565b3480156103c657600080fd5b5061022e610c8e565b3480156103db57600080fd5b5061014a600160a060020a0360043516610cf7565b6103f86105c3565b151561040357600080fd5b60065481516000199091011461041857600080fd5b805161042b906008906020840190610f7f565b5050565b60006104396105c3565b151561044457600080fd5b5060009081526003602052604090205490565b600780548290811061046557fe5b600091825260209091200154905081565b61047e6105c3565b151561048957600080fd5b805161042b906006906020840190610f7f565b6104a46105c3565b15156104af57600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6104e66105c3565b15156104f157600080fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b60606105526105c3565b151561055d57600080fd5b60088054806020026020016040519081016040528092919081815260200182805480156105a957602002820191906000526020600020905b815481526020019060010190808311610595575b505050505090505b90565b600054600160a060020a031690565b600054600160a060020a0316331490565b6105dc6105c3565b15156105e757600080fd5b60009182526003602052604090912055565b60025460009081908190819081908190600160a060020a031633146106a557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f426f6e7573206d61792062652073656e74206f6e6c792062792063726f77647360448201527f616c6520636f6e74726163740000000000000000000000000000000000000000606482015290519081900360840190fd5b6106b0886001610d16565b91506106bd886000610d16565b90506000821180156106d75750600160a060020a038a1615155b80156106fc5750600160a060020a03891660009081526004602052604090205460ff16155b80156107965750600154604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518492600160a060020a0316916370a082319160248083019260209291908290030181600087803b15801561076857600080fd5b505af115801561077c573d6000803e3d6000fd5b505050506040513d602081101561079257600080fd5b5051115b1561086357600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a038d81166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561080a57600080fd5b505af115801561081e573d6000803e3d6000fd5b505050506040513d602081101561083457600080fd5b5050600160a060020a0389166000908152600460205260409020805460ff191660011790559093508390610868565b600094505b600154604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518392600160a060020a0316916370a082319160248083019260209291908290030181600087803b1580156108cd57600080fd5b505af11580156108e1573d6000803e3d6000fd5b505050506040513d60208110156108f757600080fd5b505111156109a457600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a038c81166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561096e57600080fd5b505af1158015610982573d6000803e3d6000fd5b505050506040513d602081101561099857600080fd5b509093508390506109a9565b600093505b6000871180156109dd5750600160a060020a03891660009081526005602090815260408083208a845290915290205460ff16155b15610b715760008781526003602090815260408083205460015482517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015292519194600160a060020a03909116936370a08231936024808201949293918390030190829087803b158015610a5757600080fd5b505af1158015610a6b573d6000803e3d6000fd5b505050506040513d6020811015610a8157600080fd5b50511115610b6c5760015460008881526003602090815260408083205481517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a038f811660048301526024820192909252915194169363a9059cbb93604480840194938390030190829087803b158015610b0357600080fd5b505af1158015610b17573d6000803e3d6000fd5b505050506040513d6020811015610b2d57600080fd5b5050600160a060020a03891660009081526005602090815260408083208a84528252808320805460ff1916600117905560039091529020549250610b71565b600092505b60408051868152602081018690528082018590529051600160a060020a03808c1692908d16917fd08f83bf71f0ae70747e20e0bb7d66d88b9dfcfe58fdf1887a0f38f2436cee1d9181900360600190a35050505050949350505050565b610bd66105c3565b1515610be157600080fd5b600654815160001990910114610bf657600080fd5b805161042b906007906020840190610f7f565b600880548290811061046557fe5b600680548290811061046557fe5b6060610c2f6105c3565b1515610c3a57600080fd5b60078054806020026020016040519081016040528092919081815260200182805480156105a95760200282019190600052602060002090815481526020019060010190808311610595575050505050905090565b6060610c986105c3565b1515610ca357600080fd5b60068054806020026020016040519081016040528092919081815260200182805480156105a95760200282019190600052602060002090815481526020019060010190808311610595575050505050905090565b610cff6105c3565b1515610d0a57600080fd5b610d1381610ec9565b50565b6000806000806000600160009054906101000a9004600160a060020a0316600160a060020a031663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610d8a57600080fd5b505af1158015610d9e573d6000803e3d6000fd5b505050506040513d6020811015610db457600080fd5b50516006805460ff909216600a0a9550610ded916000908110610dd357fe5b906000526020600020015485610f4690919063ffffffff16565b8711610dfc5760009450610ebf565b600192505b600654831015610ebf57600680546000198501908110610e1d57fe5b90600052602060002001549150600683815481101515610e3957fe5b6000918252602090912001549050610e57828563ffffffff610f4616565b87118015610e745750610e70818563ffffffff610f4616565b8711155b15610eb45785610e9857610e93600860018503815481101515610dd357fe5b610ead565b610ead600760018503815481101515610dd357fe5b9450610ebf565b600190920191610e01565b5050505092915050565b600160a060020a0381161515610ede57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600080831515610f595760009150610f78565b50828202828482811515610f6957fe5b0414610f7457600080fd5b8091505b5092915050565b828054828255906000526020600020908101928215610fba579160200282015b82811115610fba578251825591602001919060010190610f9f565b50610fc6929150610fca565b5090565b6105b191905b80821115610fc65760008155600101610fd05600a165627a7a72305820a8d8199301404676b85956326ca4dd06cd29ee6bc4816792680cbd8f1a5aa2f900290000000000000000000000009edeeb91266f1f2453fbdd67cd00f3dff1575ced

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009edeeb91266f1f2453fbdd67cd00f3dff1575ced


   Swarm Source:
bzzr://a8d8199301404676b85956326ca4dd06cd29ee6bc4816792680cbd8f1a5aa2f9

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward