ETH Price: $2,289.24 (-2.33%)

Contract

0x38e03C0750daE1671f69067E8565De2D1009aE0a
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set White List68274272018-12-04 23:54:562103 days ago1543967696IN
0x38e03C07...D1009aE0a
0 ETH0.0050172477
Set Old Seel Tok...68274232018-12-04 23:54:182103 days ago1543967658IN
0x38e03C07...D1009aE0a
0 ETH0.0018515477
Transfer Ownersh...68274212018-12-04 23:54:052103 days ago1543967645IN
0x38e03C07...D1009aE0a
0 ETH0.0018481577
Set Wallet68274172018-12-04 23:53:372103 days ago1543967617IN
0x38e03C07...D1009aE0a
0 ETH0.0018430777
Transfer55562332018-05-04 18:40:402317 days ago1525459240IN
0x38e03C07...D1009aE0a
1 ETH0.0021615100
Transfer55548162018-05-04 12:34:132317 days ago1525437253IN
0x38e03C07...D1009aE0a
1 ETH0.0021615100
Transfer55195592018-04-28 8:14:212323 days ago1524903261IN
0x38e03C07...D1009aE0a
1 ETH0.0021615100
Transfer54518322018-04-16 16:16:032335 days ago1523895363IN
0x38e03C07...D1009aE0a
0.8 ETH0.0021615100
Transfer54518312018-04-16 16:15:512335 days ago1523895351IN
0x38e03C07...D1009aE0a
1 ETH0.0021615100
Transfer53920792018-04-06 16:25:332345 days ago1523031933IN
0x38e03C07...D1009aE0a
1 ETH0.0021615100
Transfer53920792018-04-06 16:25:332345 days ago1523031933IN
0x38e03C07...D1009aE0a
1 ETH0.0021615100
Transfer53920792018-04-06 16:25:332345 days ago1523031933IN
0x38e03C07...D1009aE0a
1 ETH0.0021615100
Transfer53904172018-04-06 9:41:392345 days ago1523007699IN
0x38e03C07...D1009aE0a
1 ETH0.0021398899
Transfer53862202018-04-05 17:23:012346 days ago1522948981IN
0x38e03C07...D1009aE0a
0.5 ETH0.000021611
Transfer53862182018-04-05 17:22:392346 days ago1522948959IN
0x38e03C07...D1009aE0a
1 ETH0.0021398899
Transfer53862172018-04-05 17:22:322346 days ago1522948952IN
0x38e03C07...D1009aE0a
1 ETH0.000021611
Transfer53862172018-04-05 17:22:322346 days ago1522948952IN
0x38e03C07...D1009aE0a
1 ETH0.000021611
Transfer53859082018-04-05 16:05:182346 days ago1522944318IN
0x38e03C07...D1009aE0a
0.85 ETH0.000021611
Transfer53859082018-04-05 16:05:182346 days ago1522944318IN
0x38e03C07...D1009aE0a
1 ETH0.0021615100
Transfer53859082018-04-05 16:05:182346 days ago1522944318IN
0x38e03C07...D1009aE0a
1 ETH0.000021611
Transfer53859082018-04-05 16:05:182346 days ago1522944318IN
0x38e03C07...D1009aE0a
1 ETH0.000021611
Transfer53859082018-04-05 16:05:182346 days ago1522944318IN
0x38e03C07...D1009aE0a
0.5 ETH0.000021611
Transfer53859082018-04-05 16:05:182346 days ago1522944318IN
0x38e03C07...D1009aE0a
0.9 ETH0.000021611
Transfer53859082018-04-05 16:05:182346 days ago1522944318IN
0x38e03C07...D1009aE0a
1 ETH0.000021611
Transfer53857702018-04-05 15:32:362346 days ago1522942356IN
0x38e03C07...D1009aE0a
1 ETH0.0021398899
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
0.67908489 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
0.32091511 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
1 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
1 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
1 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
1 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
1 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
1 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
1 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
1 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
1 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
1 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
0.1 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
1 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
1 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
1 ETH
53854422018-04-05 14:02:272346 days ago1522936947
0x38e03C07...D1009aE0a
0.4 ETH
53854412018-04-05 14:02:152346 days ago1522936935
0x38e03C07...D1009aE0a
1 ETH
53854412018-04-05 14:02:152346 days ago1522936935
0x38e03C07...D1009aE0a
1 ETH
53854412018-04-05 14:02:152346 days ago1522936935
0x38e03C07...D1009aE0a
1 ETH
53854412018-04-05 14:02:152346 days ago1522936935
0x38e03C07...D1009aE0a
1 ETH
53854412018-04-05 14:02:152346 days ago1522936935
0x38e03C07...D1009aE0a
1 ETH
53854412018-04-05 14:02:152346 days ago1522936935
0x38e03C07...D1009aE0a
1 ETH
53854412018-04-05 14:02:152346 days ago1522936935
0x38e03C07...D1009aE0a
1 ETH
53854412018-04-05 14:02:152346 days ago1522936935
0x38e03C07...D1009aE0a
1 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SeeleCrowdSale

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

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

pragma solidity ^0.4.18;

// File: zeppelin-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 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: zeppelin-solidity/contracts/lifecycle/Pausable.sol

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

  bool public paused = false;


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

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

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

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

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

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

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

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

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

// File: zeppelin-solidity/contracts/token/ERC20Basic.sol

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

// File: zeppelin-solidity/contracts/token/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;

  /**
  * @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: zeppelin-solidity/contracts/token/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: zeppelin-solidity/contracts/token/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: zeppelin-solidity/contracts/token/PausableToken.sol

/**
 * @title Pausable token
 *
 * @dev StandardToken modified with pausable transfers.
 **/

contract PausableToken is StandardToken, Pausable {

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

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

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

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

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

// File: contracts/SeeleToken.sol

/// @title SeeleToken Contract
/// For more information about this token sale, please visit https://seele.pro
/// @author reedhong
contract SeeleToken is PausableToken {
    using SafeMath for uint;

    /// Constant token specific fields
    string public constant name = "SeeleToken";
    string public constant symbol = "Seele";
    uint public constant decimals = 18;

    /// seele total tokens supply
    uint public currentSupply;

    /// Fields that are only changed in constructor
    /// seele sale  contract
    address public minter; 

    /// Fields that can be changed by functions
    mapping (address => uint) public lockedBalances;

    /// claim flag
    bool public claimedFlag;  

    /*
     * MODIFIERS
     */
    modifier onlyMinter {
        require(msg.sender == minter);
        _;
    }

    modifier canClaimed {
        require(claimedFlag == true);
        _;
    }

    modifier maxTokenAmountNotReached (uint amount){
        require(currentSupply.add(amount) <= totalSupply);
        _;
    }

    modifier validAddress( address addr ) {
        require(addr != address(0x0));
        require(addr != address(this));
        _;
    }

    /**
     * CONSTRUCTOR 
     * 
     * @dev Initialize the Seele Token
     * @param _minter The SeeleCrowdSale Contract 
     * @param _maxTotalSupply total supply token    
     */
    function SeeleToken(address _minter, address _admin, uint _maxTotalSupply) 
        public 
        validAddress(_admin)
        validAddress(_minter)
        {
        minter = _minter;
        totalSupply = _maxTotalSupply;
        claimedFlag = false;
        paused = true;
        transferOwnership(_admin);
    }

    /**
     * EXTERNAL FUNCTION 
     * 
     * @dev SeeleCrowdSale contract instance mint token
     * @param receipent The destination account owned mint tokens    
     * @param amount The amount of mint token
     * @param isLock Lock token flag
     * be sent to this address.
     */

    function mint(address receipent, uint amount, bool isLock)
        external
        onlyMinter
        maxTokenAmountNotReached(amount)
        returns (bool)
    {
        if (isLock ) {
            lockedBalances[receipent] = lockedBalances[receipent].add(amount);
        } else {
            balances[receipent] = balances[receipent].add(amount);
        }
        currentSupply = currentSupply.add(amount);
        return true;
    }


    function setClaimedFlag(bool flag) 
        public
        onlyOwner 
    {
        claimedFlag = flag;
    }

     /*
     * PUBLIC FUNCTIONS
     */

    /// @dev Locking period has passed - Locked tokens have turned into tradeable
    function claimTokens(address[] receipents)
        external
        onlyOwner
        canClaimed
    {        
        for (uint i = 0; i < receipents.length; i++) {
            address receipent = receipents[i];
            balances[receipent] = balances[receipent].add(lockedBalances[receipent]);
            lockedBalances[receipent] = 0;
        }
    }

    function airdrop(address[] receipents, uint[] tokens)
        external
    {        
        for (uint i = 0; i < receipents.length; i++) {
            address receipent = receipents[i];
            uint token = tokens[i];
            if(balances[msg.sender] >= token ){
                balances[msg.sender] = balances[msg.sender].sub(token);
                balances[receipent] = balances[receipent].add(token);
            }
        }
    }
}

// File: contracts/SeeleCrowdSale.sol

/// @title SeeleCrowdSale Contract
/// For more information about this token sale, please visit https://seele.pro
/// @author reedhong
contract SeeleCrowdSale is Pausable {
    using SafeMath for uint;

    /// Constant fields
    /// seele total tokens supply
    uint public constant SEELE_TOTAL_SUPPLY = 1000000000 ether;
    uint public constant MAX_SALE_DURATION = 4 days;
    uint public constant STAGE_1_TIME =  6 hours;
    uint public constant STAGE_2_TIME = 12 hours;
    uint public constant MIN_LIMIT = 0.1 ether;
    uint public constant MAX_STAGE_1_LIMIT = 1 ether;
    uint public constant MAX_STAGE_2_LIMIT = 2 ether;

    uint public constant STAGE_1 = 1;
    uint public constant STAGE_2 = 2;
    uint public constant STAGE_3 = 3;


    /// Exchange rates
    uint public  exchangeRate = 12500;


    uint public constant MINER_STAKE = 3000;    // for minter
    uint public constant OPEN_SALE_STAKE = 625; // for public
    uint public constant OTHER_STAKE = 6375;    // for others

    
    uint public constant DIVISOR_STAKE = 10000;

    // max open sale tokens
    uint public constant MAX_OPEN_SOLD = SEELE_TOTAL_SUPPLY * OPEN_SALE_STAKE / DIVISOR_STAKE;
    uint public constant STAKE_MULTIPLIER = SEELE_TOTAL_SUPPLY / DIVISOR_STAKE;

    /// All deposited ETH will be instantly forwarded to this address.
    address public wallet;
    address public minerAddress;
    address public otherAddress;

    /// Contribution start time
    uint public startTime;
    /// Contribution end time
    uint public endTime;

    /// Fields that can be changed by functions
    /// Accumulator for open sold tokens
    uint public openSoldTokens;
    /// ERC20 compilant seele token contact instance
    SeeleToken public seeleToken; 

    SeeleToken public oldSeeleToken;

    /// tags show address can join in open sale
    mapping (address => bool) public fullWhiteList;

    mapping (address => bool) public vistFlagList;

    mapping (address => uint) public firstStageFund;
    mapping (address => uint) public secondStageFund;

    /*
     * EVENTS
     */
    event NewSale(address indexed destAddress, uint ethCost, uint gotTokens);
    event NewWallet(address onwer, address oldWallet, address newWallet);

    modifier notEarlierThan(uint x) {
        require(now >= x);
        _;
    }

    modifier earlierThan(uint x) {
        require(now < x);
        _;
    }

    modifier ceilingNotReached() {
        require(openSoldTokens < MAX_OPEN_SOLD);
        _;
    }  

    modifier isSaleEnded() {
        require(now > endTime || openSoldTokens >= MAX_OPEN_SOLD);
        _;
    }

    modifier validAddress( address addr ) {
        require(addr != address(0x0));
        require(addr != address(this));
        _;
    }

    function SeeleCrowdSale (
        address _wallet, 
        address _minerAddress,
        address _otherAddress
        ) public 
        validAddress(_wallet) 
        validAddress(_minerAddress) 
        validAddress(_otherAddress) 
        {
        paused = true;  
        wallet = _wallet;
        minerAddress = _minerAddress;
        otherAddress = _otherAddress;     

        openSoldTokens = 0;
        /// Create seele token contract instance
        seeleToken = new SeeleToken(this, msg.sender, SEELE_TOTAL_SUPPLY);

        seeleToken.mint(minerAddress, MINER_STAKE * STAKE_MULTIPLIER, false);
        seeleToken.mint(otherAddress, OTHER_STAKE * STAKE_MULTIPLIER, false);
    }

    function setOldSeelToken(address addr)
        public
        onlyOwner
    {
        oldSeeleToken = SeeleToken(addr);
    }

    function setExchangeRate(uint256 rate)
        public
        onlyOwner
        earlierThan(endTime)
    {
        exchangeRate = rate;
    }

    function setStartTime(uint _startTime )
        public
        onlyOwner
    {
        startTime = _startTime;
        endTime = startTime + MAX_SALE_DURATION;
    }

    /// @dev batch set quota for user admin
    /// if openTag <=0, removed 
    function setWhiteList(address[] users, bool openTag)
        external
        onlyOwner
        earlierThan(endTime)
    {
        require(saleNotEnd());
        for (uint i = 0; i < users.length; i++) {
            address receipient = users[i];
            bool visitFlag = vistFlagList[receipient];
            if( openTag == true && visitFlag == false){
                uint token = oldSeeleToken.lockedBalances(receipient);
                if( token > 0){
                    seeleToken.mint(receipient, token,true);
                    openSoldTokens = openSoldTokens.add(token);
                }
                vistFlagList[receipient] = true;
            }
            fullWhiteList[receipient] = openTag;
        }
    }


    /// @dev batch set quota for early user quota
    /// if openTag <=0, removed 
    function addWhiteList(address user, bool openTag)
        external
        onlyOwner
        earlierThan(endTime)
    {
        require(saleNotEnd());
        fullWhiteList[user] = openTag;

    }

    /// @dev Emergency situation
    function setWallet(address newAddress)  external onlyOwner { 
        NewWallet(owner, wallet, newAddress);
        wallet = newAddress; 
    }

    /// @return true if sale not ended, false otherwise.
    function saleNotEnd() constant internal returns (bool) {
        return now < endTime && openSoldTokens < MAX_OPEN_SOLD;
    }

    /**
     * Fallback function 
     * 
     * @dev If anybody sends Ether directly to this  contract, consider he is getting seele token
     */
    function () public payable {
        buySeele(msg.sender);
    }

    /*
     * PUBLIC FUNCTIONS
     */
    /// @dev Exchange msg.value ether to Seele for account recepient
    /// @param receipient Seele tokens receiver
    function buySeele(address receipient) 
        internal 
        whenNotPaused  
        ceilingNotReached 
        notEarlierThan(startTime)
        earlierThan(endTime)
        validAddress(receipient)
        returns (bool) 
    {
        // Do not allow contracts to game the system
        require(!isContract(msg.sender));    
        require(tx.gasprice <= 100000000000 wei);
        require(msg.value >= MIN_LIMIT);

        bool inWhiteListTag = fullWhiteList[receipient];       
        require(inWhiteListTag == true);

        uint stage = STAGE_3;
        if ( startTime <= now && now < startTime + STAGE_1_TIME ) {
            stage = STAGE_1;
            require(msg.value <= MAX_STAGE_1_LIMIT);
            uint fund1 = firstStageFund[receipient];
            require (fund1 < MAX_STAGE_1_LIMIT );
        }else if ( startTime + STAGE_1_TIME <= now && now < startTime + STAGE_2_TIME ) {
            stage = STAGE_2;
            require(msg.value <= MAX_STAGE_2_LIMIT);
            uint fund2 = secondStageFund[receipient];
            require (fund2 < MAX_STAGE_2_LIMIT );
        }

        doBuy(receipient, stage);

        return true;
    }


    /// @dev Buy seele token normally
    function doBuy(address receipient, uint stage) internal {
        // protect partner quota in stage one
        uint value = msg.value;

        if ( stage == STAGE_1 ) {
            uint fund1 = firstStageFund[receipient];
            fund1 = fund1.add(value);
            if (fund1 > MAX_STAGE_1_LIMIT ) {
                uint refund1 = fund1.sub(MAX_STAGE_1_LIMIT);
                value = value.sub(refund1);
                msg.sender.transfer(refund1);
            }
        }else if ( stage == STAGE_2 ) {
            uint fund2 = secondStageFund[receipient];
            fund2 = fund2.add(value);
            if (fund2 > MAX_STAGE_2_LIMIT) {
                uint refund2 = fund2.sub(MAX_STAGE_2_LIMIT);
                value = value.sub(refund2);
                msg.sender.transfer(refund2);
            }            
        }

        uint tokenAvailable = MAX_OPEN_SOLD.sub(openSoldTokens);
        require(tokenAvailable > 0);
        uint toFund;
        uint toCollect;
        (toFund, toCollect) = costAndBuyTokens(tokenAvailable, value);
        if (toFund > 0) {
            require(seeleToken.mint(receipient, toCollect,true));         
            wallet.transfer(toFund);
            openSoldTokens = openSoldTokens.add(toCollect);
            NewSale(receipient, toFund, toCollect);             
        }

        // not enough token sale, just return eth
        uint toReturn = value.sub(toFund);
        if (toReturn > 0) {
            msg.sender.transfer(toReturn);
        }

        if ( stage == STAGE_1 ) {
            firstStageFund[receipient] = firstStageFund[receipient].add(toFund);
        }else if ( stage == STAGE_2 ) {
            secondStageFund[receipient] = secondStageFund[receipient].add(toFund);          
        }
    }

    /// @dev Utility function for calculate available tokens and cost ethers
    function costAndBuyTokens(uint availableToken, uint value) constant internal returns (uint costValue, uint getTokens) {
        // all conditions has checked in the caller functions
        getTokens = exchangeRate * value;

        if (availableToken >= getTokens) {
            costValue = value;
        } else {
            costValue = availableToken / exchangeRate;
            getTokens = availableToken;
        }
    }

    /// @dev Internal function to determine if an address is a contract
    /// @param _addr The address being queried
    /// @return True if `_addr` is a contract
    function isContract(address _addr) constant internal returns(bool) {
        uint size;
        if (_addr == 0) {
            return false;
        }

        assembly {
            size := extcodesize(_addr)
        }
        return size > 0;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"SEELE_TOTAL_SUPPLY","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"oldSeeleToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_OPEN_SOLD","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"endTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"OTHER_STAKE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"exchangeRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_startTime","type":"uint256"}],"name":"setStartTime","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"DIVISOR_STAKE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"STAGE_1","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MIN_LIMIT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"seeleToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"minerAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MINER_STAKE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"STAGE_1_TIME","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"STAGE_2","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_STAGE_1_LIMIT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_STAGE_2_LIMIT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","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":"OPEN_SALE_STAKE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"user","type":"address"},{"name":"openTag","type":"bool"}],"name":"addWhiteList","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"STAGE_3","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"STAGE_2_TIME","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"openSoldTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"otherAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"secondStageFund","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"rate","type":"uint256"}],"name":"setExchangeRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newAddress","type":"address"}],"name":"setWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"users","type":"address[]"},{"name":"openTag","type":"bool"}],"name":"setWhiteList","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"vistFlagList","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"firstStageFund","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"setOldSeelToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"MAX_SALE_DURATION","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"fullWhiteList","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"STAKE_MULTIPLIER","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_wallet","type":"address"},{"name":"_minerAddress","type":"address"},{"name":"_otherAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"destAddress","type":"address"},{"indexed":false,"name":"ethCost","type":"uint256"},{"indexed":false,"name":"gotTokens","type":"uint256"}],"name":"NewSale","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"onwer","type":"address"},{"indexed":false,"name":"oldWallet","type":"address"},{"indexed":false,"name":"newWallet","type":"address"}],"name":"NewWallet","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

60606040526000805460a060020a60ff02191690556130d460015534156200002657600080fd5b604051606080620027c483398101604052808051919060200180519190602001805160008054600160a060020a03191633600160a060020a0390811691909117909155909250849150811615156200007d57600080fd5b30600160a060020a031681600160a060020a0316141515156200009f57600080fd5b82600160a060020a0381161515620000b657600080fd5b30600160a060020a031681600160a060020a031614151515620000d857600080fd5b82600160a060020a0381161515620000ef57600080fd5b30600160a060020a031681600160a060020a0316141515156200011157600080fd5b6000805460a060020a60ff0219167401000000000000000000000000000000000000000017815560028054600160a060020a03808a16600160a060020a03199283161790925560038054898416908316179055600480549288169290911691909117905560075530336b033b2e3c9fd0803ce8000000620001916200034e565b600160a060020a0393841681529190921660208201526040808201929092526060019051809103906000f0801515620001c957600080fd5b60088054600160a060020a031916600160a060020a0392831617908190556003549082169163d1a1beb491166af8277896582678ac000000600080604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a039093166004840152602483019190915215156044820152606401602060405180830381600087803b15156200027257600080fd5b6102c65a03f115156200028457600080fd5b50505060405180515050600854600454600160a060020a039182169163d1a1beb491166b020f53e03f7b51c06d800000600080604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a039093166004840152602483019190915215156044820152606401602060405180830381600087803b15156200032557600080fd5b6102c65a03f115156200033757600080fd5b50505060405180519050505050505050506200035f565b604051611177806200164d83390190565b6112de806200036f6000396000f3006060604052600436106101d45763ffffffff60e060020a6000350416631cfef64c81146101e057806320bf92ca146102055780632f86f2ee146102345780633197cbb61461024757806337828c521461025a5780633ba0b9a91461026d5780633e0a322d146102805780633f423afe146102985780633f4ba83a146102ab5780634730bf06146102be5780634d1a08cd146102d1578063521eb273146102e457806355212c89146102f757806359275c841461030a5780635c314df01461031d5780635c975abb146103305780635d6470a414610357578063668013841461036a57806378e979251461037d5780637a0b0a3f146103905780638206ba89146103a35780638456cb59146103b65780638da5cb5b146103c957806391aadff6146103dc578063a718d11b146103ef578063aec72d8d14610413578063af57d23614610426578063b2450b1514610439578063c4e6c6041461044c578063d361cc3c1461045f578063db068e0e1461047e578063deaa59df14610494578063e43f696e146104b3578063ea2be61b146104d7578063f2fde38b146104f6578063f906cc7b14610515578063f917226614610534578063fc6e33ee14610553578063fcdbe6df14610566578063ff70e8d914610585575b6101dd33610598565b50005b34156101eb57600080fd5b6101f361077f565b60405190815260200160405180910390f35b341561021057600080fd5b61021861078f565b604051600160a060020a03909116815260200160405180910390f35b341561023f57600080fd5b6101f361079e565b341561025257600080fd5b6101f36107b4565b341561026557600080fd5b6101f36107ba565b341561027857600080fd5b6101f36107c0565b341561028b57600080fd5b6102966004356107c6565b005b34156102a357600080fd5b6101f36107f0565b34156102b657600080fd5b6102966107f6565b34156102c957600080fd5b6101f3610875565b34156102dc57600080fd5b6101f361087a565b34156102ef57600080fd5b610218610886565b341561030257600080fd5b610218610895565b341561031557600080fd5b6102186108a4565b341561032857600080fd5b6101f36108b3565b341561033b57600080fd5b6103436108b9565b604051901515815260200160405180910390f35b341561036257600080fd5b6101f36108c9565b341561037557600080fd5b6101f36108cf565b341561038857600080fd5b6101f36108d4565b341561039b57600080fd5b6101f36108da565b34156103ae57600080fd5b6101f36108e6565b34156103c157600080fd5b6102966108f2565b34156103d457600080fd5b610218610976565b34156103e757600080fd5b6101f3610985565b34156103fa57600080fd5b610296600160a060020a0360043516602435151561098b565b341561041e57600080fd5b6101f36109f5565b341561043157600080fd5b6101f36109fa565b341561044457600080fd5b6101f3610a00565b341561045757600080fd5b610218610a06565b341561046a57600080fd5b6101f3600160a060020a0360043516610a15565b341561048957600080fd5b610296600435610a27565b341561049f57600080fd5b610296600160a060020a0360043516610a58565b34156104be57600080fd5b6102966024600480358281019291013590351515610b08565b34156104e257600080fd5b610343600160a060020a0360043516610d20565b341561050157600080fd5b610296600160a060020a0360043516610d35565b341561052057600080fd5b6101f3600160a060020a0360043516610dd0565b341561053f57600080fd5b610296600160a060020a0360043516610de2565b341561055e57600080fd5b6101f3610e2c565b341561057157600080fd5b610343600160a060020a0360043516610e33565b341561059057600080fd5b6101f3610e48565b60008054819081908190819060a060020a900460ff16156105b857600080fd5b6007546a33b2e3c9fd0803ce80000090106105d257600080fd5b60055442819010156105e357600080fd5b600654428190106105f357600080fd5b87600160a060020a038116151561060957600080fd5b30600160a060020a031681600160a060020a03161415151561062a57600080fd5b61063333610e5d565b1561063d57600080fd5b64174876e8003a111561064f57600080fd5b67016345785d8a000034101561066457600080fd5b600160a060020a0389166000908152600a602052604090205460ff16965086151560011461069157600080fd5b6003955042600554111580156106ac57506154606005540142105b156106fe5760019550670de0b6b3a76400003411156106ca57600080fd5b600160a060020a0389166000908152600c60205260409020549450670de0b6b3a764000085106106f957600080fd5b610766565b426154606005540111158015610719575061a8c06005540142105b156107665760029550671bc16d674ec8000034111561073757600080fd5b600160a060020a0389166000908152600d60205260409020549350671bc16d674ec80000841061076657600080fd5b6107708987610e8a565b50600198975050505050505050565b6b033b2e3c9fd0803ce800000081565b600954600160a060020a031681565b6127106c07e37be2022c0914b2680000005b0481565b60065481565b6118e781565b60015481565b60005433600160a060020a039081169116146107e157600080fd5b60058190556205460001600655565b61271081565b60005433600160a060020a0390811691161461081157600080fd5b60005460a060020a900460ff16151561082957600080fd5b6000805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b600181565b67016345785d8a000081565b600254600160a060020a031681565b600854600160a060020a031681565b600354600160a060020a031681565b610bb881565b60005460a060020a900460ff1681565b61546081565b600281565b60055481565b670de0b6b3a764000081565b671bc16d674ec8000081565b60005433600160a060020a0390811691161461090d57600080fd5b60005460a060020a900460ff161561092457600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600054600160a060020a031681565b61027181565b60005433600160a060020a039081169116146109a657600080fd5b600654428190106109b657600080fd5b6109be611233565b15156109c957600080fd5b50600160a060020a03919091166000908152600a60205260409020805460ff1916911515919091179055565b600381565b61a8c081565b60075481565b600454600160a060020a031681565b600d6020526000908152604090205481565b60005433600160a060020a03908116911614610a4257600080fd5b60065442819010610a5257600080fd5b50600155565b60005433600160a060020a03908116911614610a7357600080fd5b6000546002547fd710eaacc9582acea58adbbda80c3bcef84d92e024865f9cb17a9d686cbccead91600160a060020a03908116911683604051600160a060020a03938416815291831660208301529091166040808301919091526060909101905180910390a16002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000805481908190819033600160a060020a03908116911614610b2a57600080fd5b60065442819010610b3a57600080fd5b610b42611233565b1515610b4d57600080fd5b600094505b86851015610d1657878786818110610b6657fe5b60209081029290920135600160a060020a03166000818152600b9093526040909220549195505060ff1692506001861515148015610ba2575082155b15610ce657600954600160a060020a0316630483a7f68560006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610c0057600080fd5b6102c65a03f11515610c1157600080fd5b50505060405180519250506000821115610cc257600854600160a060020a031663d1a1beb48584600160006040516020015260405160e060020a63ffffffff8616028152600160a060020a039093166004840152602483019190915215156044820152606401602060405180830381600087803b1515610c9057600080fd5b6102c65a03f11515610ca157600080fd5b50505060405180515050600754610cbe908363ffffffff61125816565b6007555b600160a060020a0384166000908152600b60205260409020805460ff191660011790555b600160a060020a0384166000908152600a60205260409020805460ff191687151517905560019490940193610b52565b5050505050505050565b600b6020526000908152604090205460ff1681565b60005433600160a060020a03908116911614610d5057600080fd5b600160a060020a0381161515610d6557600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600c6020526000908152604090205481565b60005433600160a060020a03908116911614610dfd57600080fd5b6009805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6205460081565b600a6020526000908152604090205460ff1681565b6127106b033b2e3c9fd0803ce80000006107b0565b600080600160a060020a0383161515610e795760009150610e84565b823b90506000811191505b50919050565b3460008080808080808060018a1415610f3c57600160a060020a038b166000908152600c60205260409020549750610ec8888a63ffffffff61125816565b9750670de0b6b3a7640000881115610f3757610ef288670de0b6b3a764000063ffffffff61126e16565b9650610f04898863ffffffff61126e16565b9850600160a060020a03331687156108fc0288604051600060405180830381858888f193505050501515610f3757600080fd5b610fdf565b60028a1415610fdf57600160a060020a038b166000908152600d60205260409020549550610f70868a63ffffffff61125816565b9550671bc16d674ec80000861115610fdf57610f9a86671bc16d674ec8000063ffffffff61126e16565b9450610fac898663ffffffff61126e16565b9850600160a060020a03331685156108fc0286604051600060405180830381858888f193505050501515610fdf57600080fd5b600754610ff8906a33b2e3c9fd0803ce8000009061126e565b93506000841161100757600080fd5b611011848a611280565b9093509150600083111561113e57600854600160a060020a031663d1a1beb48c84600160006040516020015260405160e060020a63ffffffff8616028152600160a060020a039093166004840152602483019190915215156044820152606401602060405180830381600087803b151561108a57600080fd5b6102c65a03f1151561109b57600080fd5b5050506040518051905015156110b057600080fd5b600254600160a060020a031683156108fc0284604051600060405180830381858888f1935050505015156110e357600080fd5b6007546110f6908363ffffffff61125816565b600755600160a060020a038b167fa3ed4207b1480804a4590a74f4b9cc310dc0fc839af8d10e2141ca3b72fd9348848460405191825260208201526040908101905180910390a25b61114e898463ffffffff61126e16565b9050600081111561118a57600160a060020a03331681156108fc0282604051600060405180830381858888f19350505050151561118a57600080fd5b60018a14156111da57600160a060020a038b166000908152600c60205260409020546111bc908463ffffffff61125816565b600160a060020a038c166000908152600c6020526040902055611226565b60028a141561122657600160a060020a038b166000908152600d602052604090205461120c908463ffffffff61125816565b600160a060020a038c166000908152600d60205260409020555b5050505050505050505050565b60006006544210801561125357506007546a33b2e3c9fd0803ce80000090105b905090565b60008282018381101561126757fe5b9392505050565b60008282111561127a57fe5b50900390565b6001546000908202808410611297578291506112ab565b600154848115156112a457fe5b0491508390505b92509290505600a165627a7a723058208e485fe499a248c738aa7a5994e27e95490de749f393c7de8d8e43032d4d2f2a002960606040526003805460a060020a60ff0219169055341561001f57600080fd5b60405160608061117783398101604052808051919060200180519190602001805160038054600160a060020a03191633600160a060020a03908116919091179091559092508391508116151561007457600080fd5b30600160a060020a031681600160a060020a03161415151561009557600080fd5b83600160a060020a03811615156100ab57600080fd5b30600160a060020a031681600160a060020a0316141515156100cc57600080fd5b60058054600160a060020a038716600160a060020a031990911617905560008390556007805460ff191690556003805460a060020a60ff0219167401000000000000000000000000000000000000000017905561013584640100000000610a2c61013f82021704565b50505050506101cd565b60035433600160a060020a0390811691161461015a57600080fd5b600160a060020a038116151561016f57600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360038054600160a060020a031916600160a060020a0392909216919091179055565b610f9b806101dc6000396000f30060606040526004361061013d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630483a7f6811461014257806306fdde031461017357806307546172146101fd578063095ea7b31461022c57806318160ddd1461026257806323b872dd14610275578063313ce5671461029d5780633f4ba83a146102b057806343b6c7d0146102c557806344e2adeb146102dd5780635c975abb146102f05780636618846314610303578063672434821461032557806370a082311461034f578063771282f61461036e5780638456cb59146103815780638da5cb5b1461039457806395d89b41146103a7578063a9059cbb146103ba578063d1a1beb4146103dc578063d73dd62314610403578063dd62ed3e14610425578063eef72a3c1461044a578063f2fde38b14610468575b600080fd5b341561014d57600080fd5b610161600160a060020a0360043516610487565b60405190815260200160405180910390f35b341561017e57600080fd5b610186610499565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101c25780820151838201526020016101aa565b50505050905090810190601f1680156101ef5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561020857600080fd5b6102106104d0565b604051600160a060020a03909116815260200160405180910390f35b341561023757600080fd5b61024e600160a060020a03600435166024356104df565b604051901515815260200160405180910390f35b341561026d57600080fd5b61016161050a565b341561028057600080fd5b61024e600160a060020a0360043581169060243516604435610510565b34156102a857600080fd5b61016161053d565b34156102bb57600080fd5b6102c3610542565b005b34156102d057600080fd5b6102c360043515156105c1565b34156102e857600080fd5b61024e6105ef565b34156102fb57600080fd5b61024e6105f8565b341561030e57600080fd5b61024e600160a060020a0360043516602435610608565b341561033057600080fd5b6102c3602460048035828101929082013591813591820191013561062c565b341561035a57600080fd5b610161600160a060020a036004351661071e565b341561037957600080fd5b610161610739565b341561038c57600080fd5b6102c361073f565b341561039f57600080fd5b6102106107c3565b34156103b257600080fd5b6101866107d2565b34156103c557600080fd5b61024e600160a060020a0360043516602435610809565b34156103e757600080fd5b61024e600160a060020a0360043516602435604435151561082d565b341561040e57600080fd5b61024e600160a060020a0360043516602435610920565b341561043057600080fd5b610161600160a060020a0360043581169060243516610944565b341561045557600080fd5b6102c3600480356024810191013561096f565b341561047357600080fd5b6102c3600160a060020a0360043516610a2c565b60066020526000908152604090205481565b60408051908101604052600a81527f5365656c65546f6b656e00000000000000000000000000000000000000000000602082015281565b600554600160a060020a031681565b60035460009060a060020a900460ff16156104f957600080fd5b6105038383610ac7565b9392505050565b60005481565b60035460009060a060020a900460ff161561052a57600080fd5b610535848484610b33565b949350505050565b601281565b60035433600160a060020a0390811691161461055d57600080fd5b60035460a060020a900460ff16151561057557600080fd5b6003805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60035433600160a060020a039081169116146105dc57600080fd5b6007805460ff1916911515919091179055565b60075460ff1681565b60035460a060020a900460ff1681565b60035460009060a060020a900460ff161561062257600080fd5b6105038383610cb5565b600080805b858310156107155786868481811061064557fe5b90506020020135600160a060020a03169150848484818110151561066557fe5b600160a060020a0333166000908152600160209081526040909120549102929092013592505081901061070a57600160a060020a0333166000908152600160205260409020546106bb908263ffffffff610daf16565b600160a060020a0333811660009081526001602052604080822093909355908416815220546106f0908263ffffffff610dc116565b600160a060020a0383166000908152600160205260409020555b600190920191610631565b50505050505050565b600160a060020a031660009081526001602052604090205490565b60045481565b60035433600160a060020a0390811691161461075a57600080fd5b60035460a060020a900460ff161561077157600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600354600160a060020a031681565b60408051908101604052600581527f5365656c65000000000000000000000000000000000000000000000000000000602082015281565b60035460009060a060020a900460ff161561082357600080fd5b6105038383610dd0565b60055460009033600160a060020a0390811691161461084b57600080fd5b8260005461086482600454610dc190919063ffffffff16565b111561086f57600080fd5b82156108bc57600160a060020a03851660009081526006602052604090205461089e908563ffffffff610dc116565b600160a060020a0386166000908152600660205260409020556108ff565b600160a060020a0385166000908152600160205260409020546108e5908563ffffffff610dc116565b600160a060020a0386166000908152600160205260409020555b600454610912908563ffffffff610dc116565b600455506001949350505050565b60035460009060a060020a900460ff161561093a57600080fd5b6105038383610ecb565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600354600090819033600160a060020a0390811691161461098f57600080fd5b60075460ff1615156001146109a357600080fd5b600091505b82821015610a26578383838181106109bc57fe5b60209081029290920135600160a060020a031660008181526006845260408082205460019095529020549093506109f592909150610dc1565b600160a060020a038216600090815260016020818152604080842094909455600690529181205591909101906109a8565b50505050565b60035433600160a060020a03908116911614610a4757600080fd5b600160a060020a0381161515610a5c57600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b6000600160a060020a0383161515610b4a57600080fd5b600160a060020a038416600090815260016020526040902054821115610b6f57600080fd5b600160a060020a0380851660009081526002602090815260408083203390941683529290522054821115610ba257600080fd5b600160a060020a038416600090815260016020526040902054610bcb908363ffffffff610daf16565b600160a060020a038086166000908152600160205260408082209390935590851681522054610c00908363ffffffff610dc116565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610c48908363ffffffff610daf16565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115610d1257600160a060020a033381166000908152600260209081526040808320938816835292905290812055610d49565b610d22818463ffffffff610daf16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600082821115610dbb57fe5b50900390565b60008282018381101561050357fe5b6000600160a060020a0383161515610de757600080fd5b600160a060020a033316600090815260016020526040902054821115610e0c57600080fd5b600160a060020a033316600090815260016020526040902054610e35908363ffffffff610daf16565b600160a060020a033381166000908152600160205260408082209390935590851681522054610e6a908363ffffffff610dc116565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610f03908363ffffffff610dc116565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a3506001929150505600a165627a7a723058201bd4ee035a9dd41f82083fe269e57575efc8dced1aa2ff778823c83158544c4300290000000000000000000000003c515fb1ca19a6333fdfd1fd187e7158cb6a1b8900000000000000000000000010e6ce3018776c20e0f6df41f615661123e255f70000000000000000000000001ea379c97b9a6da993dd7d73669a0dafd188cffd

Deployed Bytecode

0x6060604052600436106101d45763ffffffff60e060020a6000350416631cfef64c81146101e057806320bf92ca146102055780632f86f2ee146102345780633197cbb61461024757806337828c521461025a5780633ba0b9a91461026d5780633e0a322d146102805780633f423afe146102985780633f4ba83a146102ab5780634730bf06146102be5780634d1a08cd146102d1578063521eb273146102e457806355212c89146102f757806359275c841461030a5780635c314df01461031d5780635c975abb146103305780635d6470a414610357578063668013841461036a57806378e979251461037d5780637a0b0a3f146103905780638206ba89146103a35780638456cb59146103b65780638da5cb5b146103c957806391aadff6146103dc578063a718d11b146103ef578063aec72d8d14610413578063af57d23614610426578063b2450b1514610439578063c4e6c6041461044c578063d361cc3c1461045f578063db068e0e1461047e578063deaa59df14610494578063e43f696e146104b3578063ea2be61b146104d7578063f2fde38b146104f6578063f906cc7b14610515578063f917226614610534578063fc6e33ee14610553578063fcdbe6df14610566578063ff70e8d914610585575b6101dd33610598565b50005b34156101eb57600080fd5b6101f361077f565b60405190815260200160405180910390f35b341561021057600080fd5b61021861078f565b604051600160a060020a03909116815260200160405180910390f35b341561023f57600080fd5b6101f361079e565b341561025257600080fd5b6101f36107b4565b341561026557600080fd5b6101f36107ba565b341561027857600080fd5b6101f36107c0565b341561028b57600080fd5b6102966004356107c6565b005b34156102a357600080fd5b6101f36107f0565b34156102b657600080fd5b6102966107f6565b34156102c957600080fd5b6101f3610875565b34156102dc57600080fd5b6101f361087a565b34156102ef57600080fd5b610218610886565b341561030257600080fd5b610218610895565b341561031557600080fd5b6102186108a4565b341561032857600080fd5b6101f36108b3565b341561033b57600080fd5b6103436108b9565b604051901515815260200160405180910390f35b341561036257600080fd5b6101f36108c9565b341561037557600080fd5b6101f36108cf565b341561038857600080fd5b6101f36108d4565b341561039b57600080fd5b6101f36108da565b34156103ae57600080fd5b6101f36108e6565b34156103c157600080fd5b6102966108f2565b34156103d457600080fd5b610218610976565b34156103e757600080fd5b6101f3610985565b34156103fa57600080fd5b610296600160a060020a0360043516602435151561098b565b341561041e57600080fd5b6101f36109f5565b341561043157600080fd5b6101f36109fa565b341561044457600080fd5b6101f3610a00565b341561045757600080fd5b610218610a06565b341561046a57600080fd5b6101f3600160a060020a0360043516610a15565b341561048957600080fd5b610296600435610a27565b341561049f57600080fd5b610296600160a060020a0360043516610a58565b34156104be57600080fd5b6102966024600480358281019291013590351515610b08565b34156104e257600080fd5b610343600160a060020a0360043516610d20565b341561050157600080fd5b610296600160a060020a0360043516610d35565b341561052057600080fd5b6101f3600160a060020a0360043516610dd0565b341561053f57600080fd5b610296600160a060020a0360043516610de2565b341561055e57600080fd5b6101f3610e2c565b341561057157600080fd5b610343600160a060020a0360043516610e33565b341561059057600080fd5b6101f3610e48565b60008054819081908190819060a060020a900460ff16156105b857600080fd5b6007546a33b2e3c9fd0803ce80000090106105d257600080fd5b60055442819010156105e357600080fd5b600654428190106105f357600080fd5b87600160a060020a038116151561060957600080fd5b30600160a060020a031681600160a060020a03161415151561062a57600080fd5b61063333610e5d565b1561063d57600080fd5b64174876e8003a111561064f57600080fd5b67016345785d8a000034101561066457600080fd5b600160a060020a0389166000908152600a602052604090205460ff16965086151560011461069157600080fd5b6003955042600554111580156106ac57506154606005540142105b156106fe5760019550670de0b6b3a76400003411156106ca57600080fd5b600160a060020a0389166000908152600c60205260409020549450670de0b6b3a764000085106106f957600080fd5b610766565b426154606005540111158015610719575061a8c06005540142105b156107665760029550671bc16d674ec8000034111561073757600080fd5b600160a060020a0389166000908152600d60205260409020549350671bc16d674ec80000841061076657600080fd5b6107708987610e8a565b50600198975050505050505050565b6b033b2e3c9fd0803ce800000081565b600954600160a060020a031681565b6127106c07e37be2022c0914b2680000005b0481565b60065481565b6118e781565b60015481565b60005433600160a060020a039081169116146107e157600080fd5b60058190556205460001600655565b61271081565b60005433600160a060020a0390811691161461081157600080fd5b60005460a060020a900460ff16151561082957600080fd5b6000805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b600181565b67016345785d8a000081565b600254600160a060020a031681565b600854600160a060020a031681565b600354600160a060020a031681565b610bb881565b60005460a060020a900460ff1681565b61546081565b600281565b60055481565b670de0b6b3a764000081565b671bc16d674ec8000081565b60005433600160a060020a0390811691161461090d57600080fd5b60005460a060020a900460ff161561092457600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600054600160a060020a031681565b61027181565b60005433600160a060020a039081169116146109a657600080fd5b600654428190106109b657600080fd5b6109be611233565b15156109c957600080fd5b50600160a060020a03919091166000908152600a60205260409020805460ff1916911515919091179055565b600381565b61a8c081565b60075481565b600454600160a060020a031681565b600d6020526000908152604090205481565b60005433600160a060020a03908116911614610a4257600080fd5b60065442819010610a5257600080fd5b50600155565b60005433600160a060020a03908116911614610a7357600080fd5b6000546002547fd710eaacc9582acea58adbbda80c3bcef84d92e024865f9cb17a9d686cbccead91600160a060020a03908116911683604051600160a060020a03938416815291831660208301529091166040808301919091526060909101905180910390a16002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000805481908190819033600160a060020a03908116911614610b2a57600080fd5b60065442819010610b3a57600080fd5b610b42611233565b1515610b4d57600080fd5b600094505b86851015610d1657878786818110610b6657fe5b60209081029290920135600160a060020a03166000818152600b9093526040909220549195505060ff1692506001861515148015610ba2575082155b15610ce657600954600160a060020a0316630483a7f68560006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610c0057600080fd5b6102c65a03f11515610c1157600080fd5b50505060405180519250506000821115610cc257600854600160a060020a031663d1a1beb48584600160006040516020015260405160e060020a63ffffffff8616028152600160a060020a039093166004840152602483019190915215156044820152606401602060405180830381600087803b1515610c9057600080fd5b6102c65a03f11515610ca157600080fd5b50505060405180515050600754610cbe908363ffffffff61125816565b6007555b600160a060020a0384166000908152600b60205260409020805460ff191660011790555b600160a060020a0384166000908152600a60205260409020805460ff191687151517905560019490940193610b52565b5050505050505050565b600b6020526000908152604090205460ff1681565b60005433600160a060020a03908116911614610d5057600080fd5b600160a060020a0381161515610d6557600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600c6020526000908152604090205481565b60005433600160a060020a03908116911614610dfd57600080fd5b6009805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6205460081565b600a6020526000908152604090205460ff1681565b6127106b033b2e3c9fd0803ce80000006107b0565b600080600160a060020a0383161515610e795760009150610e84565b823b90506000811191505b50919050565b3460008080808080808060018a1415610f3c57600160a060020a038b166000908152600c60205260409020549750610ec8888a63ffffffff61125816565b9750670de0b6b3a7640000881115610f3757610ef288670de0b6b3a764000063ffffffff61126e16565b9650610f04898863ffffffff61126e16565b9850600160a060020a03331687156108fc0288604051600060405180830381858888f193505050501515610f3757600080fd5b610fdf565b60028a1415610fdf57600160a060020a038b166000908152600d60205260409020549550610f70868a63ffffffff61125816565b9550671bc16d674ec80000861115610fdf57610f9a86671bc16d674ec8000063ffffffff61126e16565b9450610fac898663ffffffff61126e16565b9850600160a060020a03331685156108fc0286604051600060405180830381858888f193505050501515610fdf57600080fd5b600754610ff8906a33b2e3c9fd0803ce8000009061126e565b93506000841161100757600080fd5b611011848a611280565b9093509150600083111561113e57600854600160a060020a031663d1a1beb48c84600160006040516020015260405160e060020a63ffffffff8616028152600160a060020a039093166004840152602483019190915215156044820152606401602060405180830381600087803b151561108a57600080fd5b6102c65a03f1151561109b57600080fd5b5050506040518051905015156110b057600080fd5b600254600160a060020a031683156108fc0284604051600060405180830381858888f1935050505015156110e357600080fd5b6007546110f6908363ffffffff61125816565b600755600160a060020a038b167fa3ed4207b1480804a4590a74f4b9cc310dc0fc839af8d10e2141ca3b72fd9348848460405191825260208201526040908101905180910390a25b61114e898463ffffffff61126e16565b9050600081111561118a57600160a060020a03331681156108fc0282604051600060405180830381858888f19350505050151561118a57600080fd5b60018a14156111da57600160a060020a038b166000908152600c60205260409020546111bc908463ffffffff61125816565b600160a060020a038c166000908152600c6020526040902055611226565b60028a141561122657600160a060020a038b166000908152600d602052604090205461120c908463ffffffff61125816565b600160a060020a038c166000908152600d60205260409020555b5050505050505050505050565b60006006544210801561125357506007546a33b2e3c9fd0803ce80000090105b905090565b60008282018381101561126757fe5b9392505050565b60008282111561127a57fe5b50900390565b6001546000908202808410611297578291506112ab565b600154848115156112a457fe5b0491508390505b92509290505600a165627a7a723058208e485fe499a248c738aa7a5994e27e95490de749f393c7de8d8e43032d4d2f2a0029

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

0000000000000000000000003c515fb1ca19a6333fdfd1fd187e7158cb6a1b8900000000000000000000000010e6ce3018776c20e0f6df41f615661123e255f70000000000000000000000001ea379c97b9a6da993dd7d73669a0dafd188cffd

-----Decoded View---------------
Arg [0] : _wallet (address): 0x3c515FB1CA19A6333fdFd1fd187E7158CB6a1B89
Arg [1] : _minerAddress (address): 0x10E6CE3018776C20e0f6dF41f615661123E255F7
Arg [2] : _otherAddress (address): 0x1EA379c97B9A6DA993DD7D73669A0DAfd188cFFD

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000003c515fb1ca19a6333fdfd1fd187e7158cb6a1b89
Arg [1] : 00000000000000000000000010e6ce3018776c20e0f6df41f615661123e255f7
Arg [2] : 0000000000000000000000001ea379c97b9a6da993dd7d73669a0dafd188cffd


Swarm Source

bzzr://1bd4ee035a9dd41f82083fe269e57575efc8dced1aa2ff778823c83158544c43

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  ]
[ 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.