ETH Price: $3,268.60 (-0.70%)

Contract

0x5dB4792F5E76f8b3150e9c4f42825acE7Eb08DD2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer91860002019-12-30 13:17:561846 days ago1577711876IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000064561.5
Transfer91711242019-12-27 14:24:101849 days ago1577456650IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000258326
Transfer87504492019-10-16 5:51:361922 days ago1571205096IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000039241
Transfer84795552019-09-03 21:12:021964 days ago1567545122IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000157224
Transfer81421082019-07-13 10:18:072016 days ago1563013087IN
0x5dB4792F...E7Eb08DD2
0 ETH0.0003930610
Transfer76692782019-04-30 14:17:572090 days ago1556633877IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000117913
Approve75985132019-04-19 13:47:342101 days ago1555681654IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000182184
Approve75985132019-04-19 13:47:342101 days ago1555681654IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000182184
Transfer75943872019-04-18 22:28:362102 days ago1555626516IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000275147
Approve75921742019-04-18 14:23:392102 days ago1555597419IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000364378
Transfer74295222019-03-24 5:26:192128 days ago1553405179IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000094182.4
Transfer74295112019-03-24 5:24:392128 days ago1553405079IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000115942.25
Transfer73678482019-03-14 15:16:242137 days ago1552576584IN
0x5dB4792F...E7Eb08DD2
0 ETH0.0016115441
Transfer69580952018-12-26 20:07:552215 days ago1545854875IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000117913
Transfer69216782018-12-20 16:25:302221 days ago1545323130IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000156964
Approve68411522018-12-07 6:39:262235 days ago1544164766IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000273666
Approve66908192018-11-12 13:00:412259 days ago1542027641IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000228055
Transfer66844072018-11-11 11:50:302260 days ago1541937030IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000117913
Transfer66184012018-10-31 15:54:592271 days ago1541001299IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000156964
Transfer66058782018-10-29 14:45:472273 days ago1540824347IN
0x5dB4792F...E7Eb08DD2
0 ETH0.0010468542
Approve63543672018-09-18 12:22:352314 days ago1537273355IN
0x5dB4792F...E7Eb08DD2
0 ETH0.0007287516
Transfer63359912018-09-15 11:38:072317 days ago1537011487IN
0x5dB4792F...E7Eb08DD2
0 ETH0.00098441
Transfer62201352018-08-27 1:22:452337 days ago1535332965IN
0x5dB4792F...E7Eb08DD2
0 ETH0.0003930610
Transfer61842492018-08-20 23:59:352343 days ago1534809575IN
0x5dB4792F...E7Eb08DD2
0 ETH0.000333926.15625
Transfer61690442018-08-18 10:25:172345 days ago1534587917IN
0x5dB4792F...E7Eb08DD2
0 ETH0.0003502515
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ESlotsToken

Compiler Version
v0.4.20+commit.3155dd80

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-03-21
*/

pragma solidity ^0.4.18;

// File: contracts/math/SafeMath.sol

/**
 * @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) {
    if (a == 0) {
      return 0;
    }
    uint256 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 c;
  }

  /**
  * @dev Substracts 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) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}

// File: contracts/Dividends.sol

contract DividendContract {
  using SafeMath for uint256;
  event Dividends(uint256 round, uint256 value);
  event ClaimDividends(address investor, uint256 value);

  uint256 totalDividendsAmount = 0;
  uint256 totalDividendsRounds = 0;
  uint256 totalUnPayedDividendsAmount = 0;
  mapping(address => uint256) payedDividends;


  function getTotalDividendsAmount() public constant returns (uint256) {
    return totalDividendsAmount;
  }

  function getTotalDividendsRounds() public constant returns (uint256) {
    return totalDividendsRounds;
  }

  function getTotalUnPayedDividendsAmount() public constant returns (uint256) {
    return totalUnPayedDividendsAmount;
  }

  function dividendsAmount(address investor) public constant returns (uint256);
  function claimDividends() payable public;

  function payDividends() payable public {
    require(msg.value > 0);
    totalDividendsAmount = totalDividendsAmount.add(msg.value);
    totalUnPayedDividendsAmount = totalUnPayedDividendsAmount.add(msg.value);
    totalDividendsRounds += 1;
    Dividends(totalDividendsRounds, msg.value);
  }
}

// File: contracts/token/ERC20/ERC20Basic.sol

/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev 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);
}

// File: contracts/token/ERC20/ERC20.sol

/**
 * @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);
}

// File: contracts/ESlotsICOToken.sol

contract ESlotsICOToken is ERC20, DividendContract {

    string public constant name = "Ethereum Slot Machine Token";
    string public constant symbol = "EST";
    uint8 public constant decimals = 18;

    function maxTokensToSale() public view returns (uint256);
    function availableTokens() public view returns (uint256);
    function completeICO() public;
    function connectCrowdsaleContract(address crowdsaleContract) public;
}

// File: 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 public owner;


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


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

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

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

}

// File: contracts/token/ERC20/BasicToken.sol

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

  mapping(address => uint256) balances;

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

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

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

}

// File: contracts/token/ERC20/BurnableToken.sol

/**
 * @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 {
    require(_value <= balances[msg.sender]);
    // no need to require value <= totalSupply, since that would imply the
    // sender's balance is greater than the totalSupply, which *should* be an assertion failure

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

// File: contracts/token/ERC20/StandardToken.sol

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

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


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

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

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

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

  /**
   * @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, uint _addedValue) public returns (bool) {
    allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

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

}

// File: contracts/ESlotsToken.sol

/**
 * @title eSlotsToken
 * @dev See more info https://eslots.io
 */
contract ESlotsToken is Ownable, StandardToken, ESlotsICOToken {

  event Burn(address indexed burner, uint256 value);

  enum State { ActiveICO, CompletedICO }
  State public state;

  uint256 public constant INITIAL_SUPPLY = 50000000 * (10 ** uint256(decimals));

  address founders = 0x7b97B31E12f7d029769c53cB91c83d29611A4F7A;
  uint256 public constant foundersStake = 10; //10% to founders
  uint256 public constant dividendRoundsBeforeFoundersStakeUnlock = 4;
  uint256 maxFoundersTokens;
  uint256 tokensToSale;

  uint256 transferGASUsage;

  /**
   * @dev Constructor that gives msg.sender all of existing tokens.
   */
  function ESlotsToken() public {
    totalSupply_ = INITIAL_SUPPLY;
    maxFoundersTokens = INITIAL_SUPPLY.mul(foundersStake).div(100);
    tokensToSale = INITIAL_SUPPLY - maxFoundersTokens;
    balances[msg.sender] = tokensToSale;
    Transfer(0x0, msg.sender, balances[msg.sender]);
    state = State.ActiveICO;
    transferGASUsage = 21000;
  }

  function maxTokensToSale() public view returns (uint256) {
    return tokensToSale;
  }

  function availableTokens() public view returns (uint256) {
    return balances[owner];
  }

  function setGasUsage(uint256 newGasUsage) public onlyOwner {
    transferGASUsage = newGasUsage;
  }

  //run it after ESlotsCrowdsale contract is deployed to approve token spending
  function connectCrowdsaleContract(address crowdsaleContract) public onlyOwner {
    approve(crowdsaleContract, balances[owner]);
  }

  //burn unsold tokens
  function completeICO() public onlyOwner {
    require(state == State.ActiveICO);
    state = State.CompletedICO;
    uint256 soldTokens = tokensToSale.sub(balances[owner]);
    uint256 foundersTokens = soldTokens.mul(foundersStake).div(100);
    if(foundersTokens > maxFoundersTokens) {
      //normally we never reach this point
      foundersTokens = maxFoundersTokens;
    }
    BasicToken.transfer(founders, foundersTokens);
    totalSupply_ = soldTokens.add(foundersTokens);
    balances[owner] = 0;
    Burn(msg.sender, INITIAL_SUPPLY.sub(totalSupply_));
  }


  //handle dividends
  function transfer(address _to, uint256 _value) public returns (bool) {
    if(msg.sender == founders) {
      //lock operation with tokens for founders
      require(totalDividendsAmount > 0 && totalDividendsRounds > dividendRoundsBeforeFoundersStakeUnlock);
    }
    //transfer is allowed only then all dividends are claimed
    require(payedDividends[msg.sender] == totalDividendsAmount);
    require(balances[_to] == 0 || payedDividends[_to] == totalDividendsAmount);
    bool res =  BasicToken.transfer(_to, _value);
    if(res && payedDividends[_to] != totalDividendsAmount) {
      payedDividends[_to] = totalDividendsAmount;
    }
    return res;
  }

  function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
    if(msg.sender == founders) {
      //lock operation with tokens for founders
      require(totalDividendsAmount > 0 && totalDividendsRounds > dividendRoundsBeforeFoundersStakeUnlock);
    }
    //transfer is allowed only then all dividends are claimed
    require(payedDividends[_from] == totalDividendsAmount);
    require(balances[_to] == 0 || payedDividends[_to] == totalDividendsAmount);
    bool res = StandardToken.transferFrom(_from, _to, _value);
    if(res && payedDividends[_to] != totalDividendsAmount) {
      payedDividends[_to] = totalDividendsAmount;
    }
    return res;
  }

  //Dividends

  modifier onlyThenCompletedICO {
    require(state == State.CompletedICO);
    _;
  }

  function dividendsAmount(address investor) public onlyThenCompletedICO constant returns (uint256)  {
    if(totalSupply_ == 0) {return 0;}
    if(balances[investor] == 0) {return 0;}
    if(payedDividends[investor] >= totalDividendsAmount) {return 0;}
    return (totalDividendsAmount - payedDividends[investor]).mul(balances[investor]).div(totalSupply_);
  }

  function claimDividends() payable public onlyThenCompletedICO {
    //gasUsage = 0 because a caller pays for that
    sendDividends(msg.sender, 0);

  }

  //force dividend payments if they hasn't been claimed by token holder before
  function pushDividends(address investor) payable public onlyThenCompletedICO {
    //because we pay for gas
    sendDividends(investor, transferGASUsage.mul(tx.gasprice));
  }

  function sendDividends(address investor, uint256 gasUsage) internal {
    uint256 value = dividendsAmount(investor);
    require(value > gasUsage);
    payedDividends[investor] = totalDividendsAmount;
    totalUnPayedDividendsAmount = totalUnPayedDividendsAmount.sub(value);
    investor.transfer(value.sub(gasUsage));
    ClaimDividends(investor, value);
  }

  function payDividends() payable public onlyThenCompletedICO {
    DividendContract.payDividends();
  }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getTotalDividendsRounds","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxTokensToSale","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"completeICO","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"crowdsaleContract","type":"address"}],"name":"connectCrowdsaleContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimDividends","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"availableTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newGasUsage","type":"uint256"}],"name":"setGasUsage","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":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"foundersStake","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getTotalDividendsAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"state","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"investor","type":"address"}],"name":"dividendsAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"dividendRoundsBeforeFoundersStakeUnlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getTotalUnPayedDividendsAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"investor","type":"address"}],"name":"pushDividends","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"payDividends","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"round","type":"uint256"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Dividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"investor","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"ClaimDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

60606040526000600481905560058190556006556008805461010060a860020a031916747b97b31e12f7d029769c53cb91c83d29611a4f7a00179055341561004657600080fd5b60008054600160a060020a03191633600160a060020a03161790556a295be96e6406697200000060028190556100a49060649061009190600a6401000000006101228102610f991704565b90640100000000610fc461015882021704565b60098190556a295be96e6406697200000003600a819055600160a060020a033316600081815260016020526040808220849055919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91905190815260200160405180910390a36008805460ff19169055615208600b5561016f565b6000808315156101355760009150610151565b5082820282848281151561014557fe5b041461014d57fe5b8091505b5092915050565b600080828481151561016657fe5b04949350505050565b611267806200017f6000396000f3006060604052600436106101745763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610179578063095ea7b31461020357806318160ddd1461023957806318ecc6f41461025e57806323b872dd146102715780632ff2e9dc14610299578063313ce567146102ac5780633d316134146102d557806349e4347b146102e85780634e3673a6146102fd578063661884631461031c578063668038e01461033e57806369bb4dc21461034657806370a08231146103595780637c796a83146103785780638da5cb5b1461038e57806395d89b41146103bd578063a4d904ba146103d0578063a9059cbb146103e3578063a991faf914610405578063c19d93fb14610418578063cbf4531d1461044f578063cfc2a93e1461046e578063d73dd62314610481578063dc97a4f9146104a3578063dcb951de146104b6578063dd62ed3e146104ca578063de88a342146104ef578063f2fde38b146104f7575b600080fd5b341561018457600080fd5b61018c610516565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101c85780820151838201526020016101b0565b50505050905090810190601f1680156101f55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561020e57600080fd5b610225600160a060020a036004351660243561054d565b604051901515815260200160405180910390f35b341561024457600080fd5b61024c6105b9565b60405190815260200160405180910390f35b341561026957600080fd5b61024c6105bf565b341561027c57600080fd5b610225600160a060020a03600435811690602435166044356105c5565b34156102a457600080fd5b61024c6106d2565b34156102b757600080fd5b6102bf6106e1565b60405160ff909116815260200160405180910390f35b34156102e057600080fd5b61024c6106e6565b34156102f357600080fd5b6102fb6106ec565b005b341561030857600080fd5b6102fb600160a060020a036004351661083b565b341561032757600080fd5b610225600160a060020a036004351660243561087e565b6102fb61097a565b341561035157600080fd5b61024c6109a4565b341561036457600080fd5b61024c600160a060020a03600435166109c0565b341561038357600080fd5b6102fb6004356109df565b341561039957600080fd5b6103a16109ff565b604051600160a060020a03909116815260200160405180910390f35b34156103c857600080fd5b61018c610a0e565b34156103db57600080fd5b61024c610a45565b34156103ee57600080fd5b610225600160a060020a0360043516602435610a4a565b341561041057600080fd5b61024c610b55565b341561042357600080fd5b61042b610b5b565b6040518082600181111561043b57fe5b60ff16815260200191505060405180910390f35b341561045a57600080fd5b61024c600160a060020a0360043516610b64565b341561047957600080fd5b61024c610c2d565b341561048c57600080fd5b610225600160a060020a0360043516602435610c32565b34156104ae57600080fd5b61024c610cd6565b6102fb600160a060020a0360043516610cdc565b34156104d557600080fd5b61024c600160a060020a0360043581169060243516610d1a565b6102fb610d45565b341561050257600080fd5b6102fb600160a060020a0360043516610d6a565b60408051908101604052601b81527f457468657265756d20536c6f74204d616368696e6520546f6b656e0000000000602082015281565b600160a060020a03338116600081815260036020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60025490565b60055490565b600854600090819033600160a060020a039081166101009092041614156106055760006004541180156105fa57506004600554115b151561060557600080fd5b600454600160a060020a0386166000908152600760205260409020541461062b57600080fd5b600160a060020a03841660009081526001602052604090205415806106695750600454600160a060020a038516600090815260076020526040902054145b151561067457600080fd5b61067f858585610e05565b90508080156106a85750600454600160a060020a03851660009081526007602052604090205414155b156106ca57600454600160a060020a0385166000908152600760205260409020555b949350505050565b6a295be96e6406697200000081565b601281565b600a5490565b60008054819033600160a060020a0390811691161461070a57600080fd5b600060085460ff16600181111561071d57fe5b1461072757600080fd5b6008805460ff1916600190811790915560008054600160a060020a031681526020919091526040902054600a5461075d91610f87565b9150610781606461077584600a63ffffffff610f9916565b9063ffffffff610fc416565b905060095481111561079257506009545b6008546107ad906101009004600160a060020a031682610fdb565b506107be828263ffffffff6110d616565b600290815560008054600160a060020a03908116825260016020526040822091909155905433909116907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca590610826906a295be96e640669720000009063ffffffff610f8716565b60405190815260200160405180910390a25050565b60005433600160a060020a0390811691161461085657600080fd5b60008054600160a060020a031681526001602052604090205461087a90829061054d565b5050565b600160a060020a033381166000908152600360209081526040808320938616835292905290812054808311156108db57600160a060020a033381166000908152600360209081526040808320938816835292905290812055610912565b6108eb818463ffffffff610f8716565b600160a060020a033381166000908152600360209081526040808320938916835292905220555b600160a060020a0333811660008181526003602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a3600191505b5092915050565b600160085460ff16600181111561098d57fe5b1461099757600080fd5b6109a23360006110e5565b565b60008054600160a060020a031681526001602052604090205490565b600160a060020a0381166000908152600160205260409020545b919050565b60005433600160a060020a039081169116146109fa57600080fd5b600b55565b600054600160a060020a031681565b60408051908101604052600381527f4553540000000000000000000000000000000000000000000000000000000000602082015281565b600a81565b600854600090819033600160a060020a03908116610100909204161415610a8a576000600454118015610a7f57506004600554115b1515610a8a57600080fd5b600454600160a060020a03331660009081526007602052604090205414610ab057600080fd5b600160a060020a0384166000908152600160205260409020541580610aee5750600454600160a060020a038516600090815260076020526040902054145b1515610af957600080fd5b610b038484610fdb565b9050808015610b2c5750600454600160a060020a03851660009081526007602052604090205414155b15610b4e57600454600160a060020a0385166000908152600760205260409020555b9392505050565b60045490565b60085460ff1681565b6000600160085460ff166001811115610b7957fe5b14610b8357600080fd5b6002541515610b94575060006109da565b600160a060020a0382166000908152600160205260409020541515610bbb575060006109da565b600454600160a060020a03831660009081526007602052604090205410610be4575060006109da565b600254600160a060020a038316600090815260016020908152604080832054600790925290912054600454610c279392610775929091039063ffffffff610f9916565b92915050565b600481565b600160a060020a033381166000908152600360209081526040808320938616835292905290812054610c6a908363ffffffff6110d616565b600160a060020a0333811660008181526003602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b60065490565b600160085460ff166001811115610cef57fe5b14610cf957600080fd5b610d1781610d123a600b54610f9990919063ffffffff16565b6110e5565b50565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b600160085460ff166001811115610d5857fe5b14610d6257600080fd5b6109a26111bb565b60005433600160a060020a03908116911614610d8557600080fd5b600160a060020a0381161515610d9a57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a0383161515610e1c57600080fd5b600160a060020a038416600090815260016020526040902054821115610e4157600080fd5b600160a060020a0380851660009081526003602090815260408083203390941683529290522054821115610e7457600080fd5b600160a060020a038416600090815260016020526040902054610e9d908363ffffffff610f8716565b600160a060020a038086166000908152600160205260408082209390935590851681522054610ed2908363ffffffff6110d616565b600160a060020a03808516600090815260016020908152604080832094909455878316825260038152838220339093168252919091522054610f1a908363ffffffff610f8716565b600160a060020a03808616600081815260036020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600082821115610f9357fe5b50900390565b600080831515610fac5760009150610973565b50828202828482811515610fbc57fe5b0414610b4e57fe5b6000808284811515610fd257fe5b04949350505050565b6000600160a060020a0383161515610ff257600080fd5b600160a060020a03331660009081526001602052604090205482111561101757600080fd5b600160a060020a033316600090815260016020526040902054611040908363ffffffff610f8716565b600160a060020a033381166000908152600160205260408082209390935590851681522054611075908363ffffffff6110d616565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600082820183811015610b4e57fe5b60006110f083610b64565b90508181116110fe57600080fd5b600454600160a060020a03841660009081526007602052604090205560065461112d908263ffffffff610f8716565b600655600160a060020a0383166108fc61114d838563ffffffff610f8716565b9081150290604051600060405180830381858888f19350505050151561117257600080fd5b7f07b1526e2f035ef911e77f3cf6560584097ade503cab29f5f26627567bb458338382604051600160a060020a03909216825260208201526040908101905180910390a1505050565b600034116111c857600080fd5b6004546111db903463ffffffff6110d616565b6004556006546111f1903463ffffffff6110d616565b60065560058054600101908190557f0a7e62da6c245712bbc5c4cbee420b13962754304bf2ad8d01c9ec4eab623f52903460405191825260208201526040908101905180910390a15600a165627a7a72305820e3afd42ae7d9aaa68a7d0ac8c6cc33e9b773ac453034367d4d5f0392d875beb00029

Deployed Bytecode

0x6060604052600436106101745763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610179578063095ea7b31461020357806318160ddd1461023957806318ecc6f41461025e57806323b872dd146102715780632ff2e9dc14610299578063313ce567146102ac5780633d316134146102d557806349e4347b146102e85780634e3673a6146102fd578063661884631461031c578063668038e01461033e57806369bb4dc21461034657806370a08231146103595780637c796a83146103785780638da5cb5b1461038e57806395d89b41146103bd578063a4d904ba146103d0578063a9059cbb146103e3578063a991faf914610405578063c19d93fb14610418578063cbf4531d1461044f578063cfc2a93e1461046e578063d73dd62314610481578063dc97a4f9146104a3578063dcb951de146104b6578063dd62ed3e146104ca578063de88a342146104ef578063f2fde38b146104f7575b600080fd5b341561018457600080fd5b61018c610516565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101c85780820151838201526020016101b0565b50505050905090810190601f1680156101f55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561020e57600080fd5b610225600160a060020a036004351660243561054d565b604051901515815260200160405180910390f35b341561024457600080fd5b61024c6105b9565b60405190815260200160405180910390f35b341561026957600080fd5b61024c6105bf565b341561027c57600080fd5b610225600160a060020a03600435811690602435166044356105c5565b34156102a457600080fd5b61024c6106d2565b34156102b757600080fd5b6102bf6106e1565b60405160ff909116815260200160405180910390f35b34156102e057600080fd5b61024c6106e6565b34156102f357600080fd5b6102fb6106ec565b005b341561030857600080fd5b6102fb600160a060020a036004351661083b565b341561032757600080fd5b610225600160a060020a036004351660243561087e565b6102fb61097a565b341561035157600080fd5b61024c6109a4565b341561036457600080fd5b61024c600160a060020a03600435166109c0565b341561038357600080fd5b6102fb6004356109df565b341561039957600080fd5b6103a16109ff565b604051600160a060020a03909116815260200160405180910390f35b34156103c857600080fd5b61018c610a0e565b34156103db57600080fd5b61024c610a45565b34156103ee57600080fd5b610225600160a060020a0360043516602435610a4a565b341561041057600080fd5b61024c610b55565b341561042357600080fd5b61042b610b5b565b6040518082600181111561043b57fe5b60ff16815260200191505060405180910390f35b341561045a57600080fd5b61024c600160a060020a0360043516610b64565b341561047957600080fd5b61024c610c2d565b341561048c57600080fd5b610225600160a060020a0360043516602435610c32565b34156104ae57600080fd5b61024c610cd6565b6102fb600160a060020a0360043516610cdc565b34156104d557600080fd5b61024c600160a060020a0360043581169060243516610d1a565b6102fb610d45565b341561050257600080fd5b6102fb600160a060020a0360043516610d6a565b60408051908101604052601b81527f457468657265756d20536c6f74204d616368696e6520546f6b656e0000000000602082015281565b600160a060020a03338116600081815260036020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60025490565b60055490565b600854600090819033600160a060020a039081166101009092041614156106055760006004541180156105fa57506004600554115b151561060557600080fd5b600454600160a060020a0386166000908152600760205260409020541461062b57600080fd5b600160a060020a03841660009081526001602052604090205415806106695750600454600160a060020a038516600090815260076020526040902054145b151561067457600080fd5b61067f858585610e05565b90508080156106a85750600454600160a060020a03851660009081526007602052604090205414155b156106ca57600454600160a060020a0385166000908152600760205260409020555b949350505050565b6a295be96e6406697200000081565b601281565b600a5490565b60008054819033600160a060020a0390811691161461070a57600080fd5b600060085460ff16600181111561071d57fe5b1461072757600080fd5b6008805460ff1916600190811790915560008054600160a060020a031681526020919091526040902054600a5461075d91610f87565b9150610781606461077584600a63ffffffff610f9916565b9063ffffffff610fc416565b905060095481111561079257506009545b6008546107ad906101009004600160a060020a031682610fdb565b506107be828263ffffffff6110d616565b600290815560008054600160a060020a03908116825260016020526040822091909155905433909116907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca590610826906a295be96e640669720000009063ffffffff610f8716565b60405190815260200160405180910390a25050565b60005433600160a060020a0390811691161461085657600080fd5b60008054600160a060020a031681526001602052604090205461087a90829061054d565b5050565b600160a060020a033381166000908152600360209081526040808320938616835292905290812054808311156108db57600160a060020a033381166000908152600360209081526040808320938816835292905290812055610912565b6108eb818463ffffffff610f8716565b600160a060020a033381166000908152600360209081526040808320938916835292905220555b600160a060020a0333811660008181526003602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a3600191505b5092915050565b600160085460ff16600181111561098d57fe5b1461099757600080fd5b6109a23360006110e5565b565b60008054600160a060020a031681526001602052604090205490565b600160a060020a0381166000908152600160205260409020545b919050565b60005433600160a060020a039081169116146109fa57600080fd5b600b55565b600054600160a060020a031681565b60408051908101604052600381527f4553540000000000000000000000000000000000000000000000000000000000602082015281565b600a81565b600854600090819033600160a060020a03908116610100909204161415610a8a576000600454118015610a7f57506004600554115b1515610a8a57600080fd5b600454600160a060020a03331660009081526007602052604090205414610ab057600080fd5b600160a060020a0384166000908152600160205260409020541580610aee5750600454600160a060020a038516600090815260076020526040902054145b1515610af957600080fd5b610b038484610fdb565b9050808015610b2c5750600454600160a060020a03851660009081526007602052604090205414155b15610b4e57600454600160a060020a0385166000908152600760205260409020555b9392505050565b60045490565b60085460ff1681565b6000600160085460ff166001811115610b7957fe5b14610b8357600080fd5b6002541515610b94575060006109da565b600160a060020a0382166000908152600160205260409020541515610bbb575060006109da565b600454600160a060020a03831660009081526007602052604090205410610be4575060006109da565b600254600160a060020a038316600090815260016020908152604080832054600790925290912054600454610c279392610775929091039063ffffffff610f9916565b92915050565b600481565b600160a060020a033381166000908152600360209081526040808320938616835292905290812054610c6a908363ffffffff6110d616565b600160a060020a0333811660008181526003602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b60065490565b600160085460ff166001811115610cef57fe5b14610cf957600080fd5b610d1781610d123a600b54610f9990919063ffffffff16565b6110e5565b50565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b600160085460ff166001811115610d5857fe5b14610d6257600080fd5b6109a26111bb565b60005433600160a060020a03908116911614610d8557600080fd5b600160a060020a0381161515610d9a57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a0383161515610e1c57600080fd5b600160a060020a038416600090815260016020526040902054821115610e4157600080fd5b600160a060020a0380851660009081526003602090815260408083203390941683529290522054821115610e7457600080fd5b600160a060020a038416600090815260016020526040902054610e9d908363ffffffff610f8716565b600160a060020a038086166000908152600160205260408082209390935590851681522054610ed2908363ffffffff6110d616565b600160a060020a03808516600090815260016020908152604080832094909455878316825260038152838220339093168252919091522054610f1a908363ffffffff610f8716565b600160a060020a03808616600081815260036020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600082821115610f9357fe5b50900390565b600080831515610fac5760009150610973565b50828202828482811515610fbc57fe5b0414610b4e57fe5b6000808284811515610fd257fe5b04949350505050565b6000600160a060020a0383161515610ff257600080fd5b600160a060020a03331660009081526001602052604090205482111561101757600080fd5b600160a060020a033316600090815260016020526040902054611040908363ffffffff610f8716565b600160a060020a033381166000908152600160205260408082209390935590851681522054611075908363ffffffff6110d616565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600082820183811015610b4e57fe5b60006110f083610b64565b90508181116110fe57600080fd5b600454600160a060020a03841660009081526007602052604090205560065461112d908263ffffffff610f8716565b600655600160a060020a0383166108fc61114d838563ffffffff610f8716565b9081150290604051600060405180830381858888f19350505050151561117257600080fd5b7f07b1526e2f035ef911e77f3cf6560584097ade503cab29f5f26627567bb458338382604051600160a060020a03909216825260208201526040908101905180910390a1505050565b600034116111c857600080fd5b6004546111db903463ffffffff6110d616565b6004556006546111f1903463ffffffff6110d616565b60065560058054600101908190557f0a7e62da6c245712bbc5c4cbee420b13962754304bf2ad8d01c9ec4eab623f52903460405191825260208201526040908101905180910390a15600a165627a7a72305820e3afd42ae7d9aaa68a7d0ac8c6cc33e9b773ac453034367d4d5f0392d875beb00029

Swarm Source

bzzr://e3afd42ae7d9aaa68a7d0ac8c6cc33e9b773ac453034367d4d5f0392d875beb0

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.