ETH Price: $3,382.73 (+3.36%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Refund57943772018-06-15 17:31:222422 days ago1529083882IN
0xB8f1437c...85ec8E3b4
0 ETH0.0010066741
Claim Refund56855132018-05-27 12:00:132441 days ago1527422413IN
0xB8f1437c...85ec8E3b4
0 ETH0.0016426550
Claim Refund56855032018-05-27 11:57:432441 days ago1527422263IN
0xB8f1437c...85ec8E3b4
0 ETH0.0016426550
Claim Refund56854862018-05-27 11:53:012441 days ago1527421981IN
0xB8f1437c...85ec8E3b4
0 ETH0.0016426550
Claim Refund56854572018-05-27 11:45:072441 days ago1527421507IN
0xB8f1437c...85ec8E3b4
0 ETH0.0016426550
Claim Refund55480592018-05-03 8:03:132465 days ago1525334593IN
0xB8f1437c...85ec8E3b4
0 ETH0.001182736
Claim Refund55406552018-05-02 0:41:592466 days ago1525221719IN
0xB8f1437c...85ec8E3b4
0 ETH0.0010066741
Claim Refund54740862018-04-20 12:20:032478 days ago1524226803IN
0xB8f1437c...85ec8E3b4
0 ETH0.0010066741
Claim Refund54577512018-04-17 16:37:192481 days ago1523983039IN
0xB8f1437c...85ec8E3b4
0 ETH0.0010066741
Claim Refund54387692018-04-14 11:21:152484 days ago1523704875IN
0xB8f1437c...85ec8E3b4
0 ETH0.0010066741
Claim Refund54062402018-04-09 0:34:502489 days ago1523234090IN
0xB8f1437c...85ec8E3b4
0 ETH0.0013469741
Claim Refund54061652018-04-09 0:13:182489 days ago1523232798IN
0xB8f1437c...85ec8E3b4
0 ETH0.0013469741
Claim Refund54050332018-04-08 19:39:482489 days ago1523216388IN
0xB8f1437c...85ec8E3b4
0 ETH0.0013469741
Claim Refund54046072018-04-08 17:58:142489 days ago1523210294IN
0xB8f1437c...85ec8E3b4
0 ETH0.0004910620
Claim Refund54007402018-04-08 2:33:402490 days ago1523154820IN
0xB8f1437c...85ec8E3b4
0 ETH0.0010066741
Claim Refund53883112018-04-06 1:20:422492 days ago1522977642IN
0xB8f1437c...85ec8E3b4
0 ETH0.0005892724
Claim Refund53828702018-04-05 3:41:552493 days ago1522899715IN
0xB8f1437c...85ec8E3b4
0 ETH0.00223468
Claim Refund53765092018-04-04 2:21:352494 days ago1522808495IN
0xB8f1437c...85ec8E3b4
0 ETH0.0005156121
Claim Refund53731452018-04-03 12:52:062495 days ago1522759926IN
0xB8f1437c...85ec8E3b4
0 ETH0.000262828
Claim Refund53705092018-04-03 2:26:032495 days ago1522722363IN
0xB8f1437c...85ec8E3b4
0 ETH0.0010066741
Claim Refund53685432018-04-02 18:42:432495 days ago1522694563IN
0xB8f1437c...85ec8E3b4
0 ETH0.0010066741
Claim Refund53585402018-04-01 2:57:192497 days ago1522551439IN
0xB8f1437c...85ec8E3b4
0 ETH0.0014731860
Claim Refund53563792018-03-31 18:30:042497 days ago1522521004IN
0xB8f1437c...85ec8E3b4
0 ETH0.0004254420
Claim Refund53545692018-03-31 11:29:062498 days ago1522495746IN
0xB8f1437c...85ec8E3b4
0 ETH0.0014240758
Claim Refund53510742018-03-30 21:22:432498 days ago1522444963IN
0xB8f1437c...85ec8E3b4
0 ETH0.0005156121
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
52613452018-03-15 19:44:452513 days ago1521143085
0xB8f1437c...85ec8E3b4
0.2 ETH
52602772018-03-15 15:27:082514 days ago1521127628
0xB8f1437c...85ec8E3b4
0.19241387 ETH
52576882018-03-15 4:30:432514 days ago1521088243
0xB8f1437c...85ec8E3b4
0.1 ETH
52484152018-03-13 14:27:272516 days ago1520951247
0xB8f1437c...85ec8E3b4
0.68 ETH
52440082018-03-12 20:33:312516 days ago1520886811
0xB8f1437c...85ec8E3b4
0.101 ETH
52336532018-03-11 2:20:102518 days ago1520734810
0xB8f1437c...85ec8E3b4
0.5 ETH
52217482018-03-09 1:55:232520 days ago1520560523
0xB8f1437c...85ec8E3b4
0.1 ETH
52206032018-03-08 21:12:412520 days ago1520543561
0xB8f1437c...85ec8E3b4
0.15 ETH
52197022018-03-08 17:24:572521 days ago1520529897
0xB8f1437c...85ec8E3b4
0.14 ETH
52184002018-03-08 12:17:302521 days ago1520511450
0xB8f1437c...85ec8E3b4
0.95 ETH
52150942018-03-07 22:43:092521 days ago1520462589
0xB8f1437c...85ec8E3b4
0.01 ETH
52083662018-03-06 19:14:492522 days ago1520363689
0xB8f1437c...85ec8E3b4
1 ETH
52062472018-03-06 10:41:432523 days ago1520332903
0xB8f1437c...85ec8E3b4
0.14102714 ETH
52060562018-03-06 9:56:562523 days ago1520330216
0xB8f1437c...85ec8E3b4
0.168 ETH
52060122018-03-06 9:46:542523 days ago1520329614
0xB8f1437c...85ec8E3b4
0.15 ETH
52041132018-03-06 1:59:262523 days ago1520301566
0xB8f1437c...85ec8E3b4
0.1 ETH
52034302018-03-05 23:11:502523 days ago1520291510
0xB8f1437c...85ec8E3b4
0.285 ETH
52033052018-03-05 22:37:402523 days ago1520289460
0xB8f1437c...85ec8E3b4
0.1 ETH
52032942018-03-05 22:34:322523 days ago1520289272
0xB8f1437c...85ec8E3b4
0.4011539 ETH
52025422018-03-05 19:35:062523 days ago1520278506
0xB8f1437c...85ec8E3b4
5.26 ETH
52017462018-03-05 16:25:422524 days ago1520267142
0xB8f1437c...85ec8E3b4
10 ETH
52013532018-03-05 14:50:512524 days ago1520261451
0xB8f1437c...85ec8E3b4
0.13565 ETH
51980102018-03-05 1:08:582524 days ago1520212138
0xB8f1437c...85ec8E3b4
0.3 ETH
51971202018-03-04 21:37:032524 days ago1520199423
0xB8f1437c...85ec8E3b4
0.12451985 ETH
51959222018-03-04 16:38:002525 days ago1520181480
0xB8f1437c...85ec8E3b4
1 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CryptoHuntIco

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

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

pragma solidity ^0.4.13;

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;
  }
}

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;
  }

}

contract CryptoHuntIco is Ownable {
    // Using SafeMath prevents integer overflows and other mathy side effects
    using SafeMath for uint256;

    // This ICO contract can be used for any ERC20 token
    ERC20 public token;

    // address where funds are collected, to be released once finalize() is called
    address public wallet;

    // how many token units (smallest unit!) a buyer gets per wei
    uint256 public rate;

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

    uint256 public softcap;
    uint256 public hardcap;

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

    // start and end timestamps where investments are allowed (both inclusive)
    uint256 public startTime;
    uint256 public endTime;
    uint256 public whitelistEndTime;
    // duration in days
    uint256 public duration;
    uint256 public wlDuration;

    // An array of all the people who participated in the crowdsale. Append-only, unique elements.
    address[] public tokenBuyersArray;
    // A sum of tokenbuyers' tokens
    uint256 public tokenBuyersAmount;
    // A mapping of buyers and their amounts of total tokens due
    mapping(address => uint256) public tokenBuyersMapping;
    /**
    * A mapping of buyers and the amount of tokens they're due per week.
    * Calculated when claimTokens is called for a given address.
    */
    mapping(address => uint256) public tokenBuyersFraction;

    /**
    * A mapping of remaining tokens per contributor.
    * Reduced by amount withdrawn on each claimMyTokens call post finalization()
    */
    mapping(address => uint256) public tokenBuyersRemaining;

    /**
    * A mapping of how much wei each contributor sent in.
    * Used when tracking whitelist contribution maximum and not for much else.
    */
    mapping(address => uint256) public tokenBuyersContributed;

    /**
    * List of addresses who can purchase in pre-sale whitelisted period
    * Addresses are defined with whitelistAddresses method
    */
    mapping(address => bool) public wl;

    // Flag to set when whitesale has finished and finalize() method is called
    bool public isFinalized = false;

    /**
    * Special flag for emergencies.
    * Sets finalized mode, but enables ether refunds and sends tokens to owner of ICO
    * Note that owner can but does not have to be the person who sent in the tokens.
    * Therefore tokens might end up on an address different to the one which started the ICO.
    */
    bool public forcedRefund = false;

    // Fired when crowdsale has been finalized
    event Finalized();

    /**
     * event for token purchase logging
     * @param purchaser who paid for the tokens
     * @param beneficiary who got the tokens
     * @param value weis paid for purchase
     * @param amount amount of tokens purchased
    */
    event TokenPurchase(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 amount);

    /**
    * Fired when a user is whitelisted
    * Todo: Could be worth looking into making a mass event to reduce gas. Do events use up gas?
    *
    * @param addr whitelisted user
    * @param status if whitelisted, will almost always be true unless subsequently blacklisted
    */
    event Whitelisted(address addr, bool status);

    /**
    * @param _durationSeconds Time in seconds how long the ICO should last once started. Deployment does not start the ICO, setRateAndStart() does.
    * @param _wlDurationSeconds Time in seconds how long the whitelist should last. ICO duration is added to WL duration, so 600 seconds of whitelist and 600 seconds of regular sale means 1200 seconds total.
    * @param _wallet The receiver of the contributed ether. Only credited after goal reached and sale finalized()
    * @param _token Address of the ERC20 token being used in the crowdsale
    */
    function CryptoHuntIco(uint256 _durationSeconds, uint256 _wlDurationSeconds, address _wallet, address _token) public {
        require(_durationSeconds > 0);
        require(_wlDurationSeconds > 0);
        require(_wallet != address(0));
        require(_token != address(0));
        duration = _durationSeconds;
        wlDuration = _wlDurationSeconds;

        wallet = _wallet;
        vault = new RefundVault(wallet);

        token = ERC20(_token);
        owner = msg.sender;
    }

    /**
    Last minute add just in case I somehow manage to set the wrong token address on deployment
    */
    function changeTokenAddress(address _token) external onlyOwner {
        token = ERC20(_token);
    }

    /**
    * Setting the rate starts the ICO and sets the end time. Can only be called by deployer of the ICO.
    *
    * @param _rate Ratio of Ether to token. E.g. 5 means 5 tokens per 1 ether.
    * @param _softcap Amount of Ether to gather for the soft cap. Sale considered successful if exceeded.
    * @param _hardcap Amount of Ether maximum to gather before crowdsale stops accepting payments
    */
    function setRateAndStart(uint256 _rate, uint256 _softcap, uint256 _hardcap) external onlyOwner {

        require(_rate > 0 && rate < 1);
        require(_softcap > 0);
        require(_hardcap > 0);
        require(_softcap < _hardcap);
        rate = _rate;

        softcap = _softcap;
        hardcap = _hardcap;

//        if (now > 1519941600) {
//            startTime = now;
//        } else {
            startTime = 1519941600;
//        }

        whitelistEndTime = startTime.add(wlDuration * 1 seconds);
        endTime = whitelistEndTime.add(duration * 1 seconds);
    }

    // fallback function can be used to buy tokens, so just sending to ICO address works.
    function() external payable {
        buyTokens(msg.sender);
    }

    /**
    * Whitelisted users can contribute during the starting period of the crowdsale.
    * The whitelist period is defined during ICO deployment - see constructor
    *
    * The whitelisting function uses around 24400 gas per address added. Calculate accordingly.
    *
    * Some example addresses:
    *
    * ["0x1dF184eA46b58719A7213f4c8a03870A309BcD64", "0xb794f5ea0ba39494ce839613fffba74279579268", "0x281055afc982d96fab65b3a49cac8b878184cb16", "0x6f46cf5569aefa1acc1009290c8e043747172d89", "0xa1dc8d31493681411a5137c6D67bD01935b317D3", "0x90e63c3d53e0ea496845b7a03ec7548b70014a91", "0x53d284357ec70ce289d6d64134dfac8e511c8a3d", "0xf4b51b14b9ee30dc37ec970b50a486f37686e2a8", "0xe853c56864a2ebe4576a807d26fdc4a0ada51919", "0xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb98", "0xf27daff52c38b2c373ad2b9392652ddf433303c4", "0x3d2e397f94e415d7773e72e44d5b5338a99e77d9", "0x6f52730dba7b02beefcaf0d6998c9ae901ea04f9", "0xdc870798b30f74a17c4a6dfc6fa33f5ff5cf5770", "0x1b3cb81e51011b549d78bf720b0d924ac763a7c2", "0xb8487eed31cf5c559bf3f4edd166b949553d0d11", "0x51f9c432a4e59ac86282d6adab4c2eb8919160eb", "0xfe9e8709d3215310075d67e3ed32a380ccf451c8", "0xfca70e67b3f93f679992cd36323eeb5a5370c8e4", "0x07ee55aa48bb72dcc6e9d78256648910de513eca", "0x900d0881a2e85a8e4076412ad1cefbe2d39c566c", "0x3bf86ed8a3153ec933786a02ac090301855e576b", "0xbf09d77048e270b662330e9486b38b43cd781495", "0xdb6fd484cfa46eeeb73c71edee823e4812f9e2e1", "0x847ed5f2e5dde85ea2b685edab5f1f348fb140ed", "0x9d2bfc36106f038250c01801685785b16c86c60d", "0x2b241f037337eb4acc61849bd272ac133f7cdf4b", "0xab5801a7d398351b8be11c439e05c5b3259aec9b", "0xa7e4fecddc20d83f36971b67e13f1abc98dfcfa6", "0x9f1de00776811f916790be357f1cabf6ac1eca65", "0x7d04d2edc058a1afc761d9c99ae4fc5c85d4c8a6"]
    *
    * @param users An array of wallet addresses to whitelist
    */
    function whitelistAddresses(address[] users) onlyOwner external {
        for (uint i = 0; i < users.length; i++) {
            wl[users[i]] = true;
            // todo Look into making a mass event instead of a one by one if Events use gas
            Whitelisted(users[i], true);
        }
    }

    /**
    * Whitelisted users can contribute during the starting period of the crowdsale.
    * The whitelist period is defined during ICO deployment - see constructor
    *
    * This method will remove whitelisted addresses from the list.
    * Useful if a whitelisted contributor oversteps, breaks rules, becomes abusive, etc.
    */
    function unwhitelistAddresses(address[] users) onlyOwner external {
        for (uint i = 0; i < users.length; i++) {
            wl[users[i]] = false;
            Whitelisted(users[i], false);
        }
    }

    /**
    * Token purchase function can be called by someone else, too. I.e. someone else can buy for someone else.
    * Buyer has to be whitelisted if purchase being made during whitelist, beneficiary does not.
    *
    * @param beneficiary The recipient of the purchased tokens. Does not have to be the buyer.
    */
    function buyTokens(address beneficiary) public payable {
        require(beneficiary != address(0));
        require(validPurchase(beneficiary));

        uint256 weiAmount = msg.value;

        // calculate token amount to be created
        uint256 tokenAmount = getTokenAmount(weiAmount);

        // update state
        weiRaised = weiRaised.add(weiAmount);
        tokenBuyersContributed[beneficiary] = tokenBuyersContributed[beneficiary].add(weiAmount);

        // If this contributor is contributing for the first time, add them to list of contributors
        if (tokenBuyersMapping[beneficiary] == 0) {
            tokenBuyersArray.push(beneficiary);
        }
        // Add the amount of tokens they are now due to total tally
        tokenBuyersMapping[beneficiary] = tokenBuyersMapping[beneficiary].add(tokenAmount);
        // Add amount of tokens sold to total tally
        tokenBuyersAmount = tokenBuyersAmount.add(tokenAmount);

        // Event
        TokenPurchase(msg.sender, beneficiary, weiAmount, tokenAmount);

        // Send ether to vault
        forwardFunds();
    }

    /**
    * Gets amount of tokens for given weiAmount.
    * Todo: modify div rate. Currently at 1e6 because decimal difference between CryptoHunt token and Ether is 6 (12 vs 18). Make it more abstract / universal by dynamically fetching this difference (ERC20 decimals?)
    *
    * @param weiAmount Amount of wei for which to calculate token amount
    *
    * @return A uint256, amount of tokens for amount of Wei
    */
    function getTokenAmount(uint256 weiAmount) internal view returns (uint256) {
        return weiAmount.mul(rate).div(1e6);
    }

    /**
    * Sends Ether to the vault for safekeeping and refund if crowdsale fails
    */
    function forwardFunds() internal {
        vault.deposit.value(msg.value)(msg.sender);
    }

    /**
    * @param _beneficiary Address for which we're checking if the purchase is valid
    *
    * @return true if the transaction can buy tokens
    */
    function validPurchase(address _beneficiary) internal view returns (bool) {
        // Sent more than 0 eth
        bool nonZeroPurchase = msg.value > 0;

        // Still under hardcap
        bool withinCap = weiRaised.add(msg.value) <= hardcap;

        // if in regular period, ok
        bool withinPeriod = now >= whitelistEndTime && now <= endTime;

        // if whitelisted, and in wl period, and value is <= 5, ok
        bool whitelisted = now >= startTime && now <= whitelistEndTime && tokenBuyersContributed[_beneficiary].add(msg.value) <= 15 ether && wl[msg.sender];

        bool superbuyer = msg.sender == 0xEa17f66d28d11a7C1ECd8F591d136795130901A7;

        return withinCap && (superbuyer || withinPeriod || whitelisted) && nonZeroPurchase;
    }

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

        finalization();
        Finalized();

        isFinalized = true;

    }

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

        vault.refund(msg.sender);
    }

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

    /**
    * Emergency situations only.
    * Makes vault refundable, so contributors can get their Ether back. Also sends tokens from ICO contract to owner of contract, who does not have to be the same address as the one who sent the tokens in!
    */
    function forceRefundState() external onlyOwner {
        vault.enableRefunds();
        token.transfer(owner, token.balanceOf(address(this)));
        Finalized();
        isFinalized = true;
        forcedRefund = true;
    }

    /**
     * Wraps up the crowdsale
     *
     * If goal was not reached, refund mode is activated, tokens are sent back to crowdfund owner. Otherwise vault is closed and Eth funds are forwarded to wallet. Users can call claimMyTokens weekly now.
     */
    function finalization() internal {

        if (goalReached()) {
            // Forward funds to wallet address
            vault.close();
        } else {
            vault.enableRefunds();
            token.transfer(owner, token.balanceOf(address(this)));
        }
    }

    /**
    * User can claim tokens once the crowdsale has been finalized
    *
    * - first one 8th of their bought tokens is calculated
    * - then that 8th is multiplied by number of weeks past end of crowdsale date, up to 8, to get to a max of 100%
    * - then the code checks how much the user has withdrawn so far by subtracting amount of remaining tokens from total bought tokens per user
    * - then is the user is owed more than they withdrew, they are given the difference. If this difference is more than they have (should not happen), they are given it all
    * - remaining amount of tokens for user is reduced
    * - this method can be called by a third party, not just by the owner
    *
    * @param _beneficiary Address which is claiming the tokens
    */
    function claimTokens(address _beneficiary) public {
        require(isFinalized);
        require(weeksFromEndPlusMonth() > 0);

        // Determine fraction of deserved tokens for user
        fractionalize(_beneficiary);

        // Need to be able to withdraw by having some
        require(tokenBuyersMapping[_beneficiary] > 0 && tokenBuyersRemaining[_beneficiary] > 0);

        // Max 8 because we're giving out 12.5% per week and 8 * 12.5% = 100%
//        uint256 w = weeksFromEnd();
        uint256 w = weeksFromEndPlusMonth();
        if (w > 8) {
            w = 8;
        }
        // Total number of tokens user was due by now
        uint256 totalDueByNow = w.mul(tokenBuyersFraction[_beneficiary]);

        // How much the user has withdrawn so far
        uint256 totalWithdrawnByNow = totalWithdrawn(_beneficiary);

        if (totalDueByNow > totalWithdrawnByNow) {
            uint256 diff = totalDueByNow.sub(totalWithdrawnByNow);
            if (diff > tokenBuyersRemaining[_beneficiary]) {
                diff = tokenBuyersRemaining[_beneficiary];
            }
            token.transfer(_beneficiary, diff);
            tokenBuyersRemaining[_beneficiary] = tokenBuyersRemaining[_beneficiary].sub(diff);
        }
    }

    function claimMyTokens() external {
        claimTokens(msg.sender);
    }

    function massClaim() external onlyOwner {
        massClaimLimited(0, tokenBuyersArray.length - 1);
    }

    function massClaimLimited(uint start, uint end) public onlyOwner {
        for (uint i = start; i <= end; i++) {
            if (tokenBuyersRemaining[tokenBuyersArray[i]] > 0) {
                claimTokens(tokenBuyersArray[i]);
            }
        }
    }

    // Determine 1/8th of every user's contribution in their deserved tokens
    function fractionalize(address _beneficiary) internal {
        require(tokenBuyersMapping[_beneficiary] > 0);
        if (tokenBuyersFraction[_beneficiary] == 0) {
            tokenBuyersRemaining[_beneficiary] = tokenBuyersMapping[_beneficiary];
            // 8 because 100% / 12.5% = 8
            tokenBuyersFraction[_beneficiary] = percent(tokenBuyersMapping[_beneficiary], 8, 0);
        }
    }

    // How many tokens a user has already withdrawn
    function totalWithdrawn(address _beneficiary) public view returns (uint256) {
        if (tokenBuyersFraction[_beneficiary] == 0) {
            return 0;
        }
        return tokenBuyersMapping[_beneficiary].sub(tokenBuyersRemaining[_beneficiary]);
    }

    // How many weeks, as a whole number, have passed since the end of the crowdsale
    function weeksFromEnd() public view returns (uint256){
        require(now > endTime);
        return percent(now - endTime, 604800, 0);
        //return percent(now - endTime, 60, 0);
    }

    function weeksFromEndPlusMonth() public view returns (uint256) {
        require(now > (endTime + 30 days));
        return percent(now - endTime + 30 days, 604800, 0);
        //return percent(now - endTime + 30 days, 60, 0);
    }

    // Withdraw all the leftover tokens if more than 2 weeks since the last withdraw opportunity for contributors has passed
    function withdrawRest() external onlyOwner {
        require(weeksFromEnd() > 9);
        token.transfer(owner, token.balanceOf(address(this)));
    }

    // Helper function to do rounded division
    function percent(uint numerator, uint denominator, uint precision) internal pure returns (uint256 quotient) {
        // caution, check safe-to-multiply here
        uint _numerator = numerator * 10 ** (precision + 1);
        // with rounding of last digit
        uint _quotient = ((_numerator / denominator) + 5) / 10;
        return (_quotient);
    }

    function unsoldTokens() public view returns (uint) {
        if (token.balanceOf(address(this)) == 0) {
            return 0;
        }
        return token.balanceOf(address(this)) - tokenBuyersAmount;
    }

    function tokenBalance() public view returns (uint) {
        return token.balanceOf(address(this));
    }
}

contract RefundVault is Ownable {
  using SafeMath for uint256;

  enum State { Active, Refunding, Closed }

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

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

  /**
   * @param _wallet Vault address
   */
  function RefundVault(address _wallet) public {
    require(_wallet != address(0));
    wallet = _wallet;
    state = State.Active;
  }

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

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

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

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

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);
}

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];
  }

}

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);
}

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;
  }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"_beneficiary","type":"address"}],"name":"totalWithdrawn","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"duration","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"forceRefundState","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"tokenBuyersMapping","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"users","type":"address[]"}],"name":"whitelistAddresses","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"wl","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"endTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"start","type":"uint256"},{"name":"end","type":"uint256"}],"name":"massClaimLimited","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finalize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"goalReached","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"tokenBuyersContributed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"users","type":"address[]"}],"name":"unwhitelistAddresses","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"wlDuration","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isFinalized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimMyTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"tokenBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenBuyersAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hardcap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"tokenBuyersFraction","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimRefund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"unsoldTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_rate","type":"uint256"},{"name":"_softcap","type":"uint256"},{"name":"_hardcap","type":"uint256"}],"name":"setRateAndStart","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"changeTokenAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"forcedRefund","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_beneficiary","type":"address"}],"name":"claimTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"weeksFromEndPlusMonth","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"whitelistEndTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"buyTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"massClaim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawRest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokenBuyersArray","outputs":[{"name":"","type":"address"}],"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":"weeksFromEnd","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"softcap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"vault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"tokenBuyersRemaining","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_durationSeconds","type":"uint256"},{"name":"_wlDurationSeconds","type":"uint256"},{"name":"_wallet","type":"address"},{"name":"_token","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[],"name":"Finalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"purchaser","type":"address"},{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"TokenPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"status","type":"bool"}],"name":"Whitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

60606040526000601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff02191690831515021790555034156200004657600080fd5b60405160808062003c6183398101604052808051906020019091908051906020019091908051906020019091908051906020019091905050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600084111515620000ce57600080fd5b600083111515620000de57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141515156200011b57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156200015857600080fd5b83600b8190555082600c8190555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620001d4620002ec565b808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050604051809103906000f08015156200022157600080fd5b600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050620002fd565b604051610a7780620031ea83390190565b612edd806200030d6000396000f300606060405260043610610204576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a64143a1461020f5780630fb5a6b41461025c578063123802e11461028557806317e76ebe1461029a5780632bf04304146102e75780632c4e722e146103155780632fee9e7e1461033e5780633197cbb61461038f5780633348f537146103b85780634042b66f146103e45780634bb278f31461040d578063521eb2731461042257806378e97925146104775780637d3d6522146104a057806381ac1a4e146104cd57806388a2653c1461051a5780638948fe67146105485780638d4e4083146105715780638da5cb5b1461059e578063937f2e33146105f35780639e1a4d1914610608578063aaed3c7d14610631578063b071cbe61461065a578063b4aee96b14610683578063b5545a3c146106d0578063b670a4b1146106e5578063bbd4271f1461070e578063c9cda91f14610743578063dba2d8751461077c578063df8de3e7146107a9578063e5b28c07146107e2578063ebdfd7221461080b578063ec8ac4d814610834578063ee3d2f0714610862578063ef66016914610877578063f128de071461088c578063f2fde38b146108ef578063f70f182114610928578063f89be59314610951578063fbfa77cf1461097a578063fc0c546a146109cf578063fe324b4b14610a24575b61020d33610a71565b005b341561021a57600080fd5b610246600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d58565b6040518082815260200191505060405180910390f35b341561026757600080fd5b61026f610e43565b6040518082815260200191505060405180910390f35b341561029057600080fd5b610298610e49565b005b34156102a557600080fd5b6102d1600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061118a565b6040518082815260200191505060405180910390f35b34156102f257600080fd5b610313600480803590602001908201803590602001919091929050506111a2565b005b341561032057600080fd5b61032861133d565b6040518082815260200191505060405180910390f35b341561034957600080fd5b610375600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611343565b604051808215151515815260200191505060405180910390f35b341561039a57600080fd5b6103a2611363565b6040518082815260200191505060405180910390f35b34156103c357600080fd5b6103e26004808035906020019091908035906020019091905050611369565b005b34156103ef57600080fd5b6103f76114ab565b6040518082815260200191505060405180910390f35b341561041857600080fd5b6104206114b1565b005b341561042d57600080fd5b610435611597565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561048257600080fd5b61048a6115bd565b6040518082815260200191505060405180910390f35b34156104ab57600080fd5b6104b36115c3565b604051808215151515815260200191505060405180910390f35b34156104d857600080fd5b610504600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506115d2565b6040518082815260200191505060405180910390f35b341561052557600080fd5b610546600480803590602001908201803590602001919091929050506115ea565b005b341561055357600080fd5b61055b611785565b6040518082815260200191505060405180910390f35b341561057c57600080fd5b61058461178b565b604051808215151515815260200191505060405180910390f35b34156105a957600080fd5b6105b161179e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105fe57600080fd5b6106066117c3565b005b341561061357600080fd5b61061b6117ce565b6040518082815260200191505060405180910390f35b341561063c57600080fd5b6106446118b5565b6040518082815260200191505060405180910390f35b341561066557600080fd5b61066d6118bb565b6040518082815260200191505060405180910390f35b341561068e57600080fd5b6106ba600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506118c1565b6040518082815260200191505060405180910390f35b34156106db57600080fd5b6106e36118d9565b005b34156106f057600080fd5b6106f86119f1565b6040518082815260200191505060405180910390f35b341561071957600080fd5b6107416004808035906020019091908035906020019091908035906020019091905050611bcd565b005b341561074e57600080fd5b61077a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611cd6565b005b341561078757600080fd5b61078f611d75565b604051808215151515815260200191505060405180910390f35b34156107b457600080fd5b6107e0600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611d88565b005b34156107ed57600080fd5b6107f5612105565b6040518082815260200191505060405180910390f35b341561081657600080fd5b61081e612139565b6040518082815260200191505060405180910390f35b610860600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a71565b005b341561086d57600080fd5b61087561213f565b005b341561088257600080fd5b61088a6121af565b005b341561089757600080fd5b6108ad600480803590602001909190505061240b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156108fa57600080fd5b610926600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061244a565b005b341561093357600080fd5b61093b61259f565b6040518082815260200191505060405180910390f35b341561095c57600080fd5b6109646125c9565b6040518082815260200191505060405180910390f35b341561098557600080fd5b61098d6125cf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156109da57600080fd5b6109e26125f5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3415610a2f57600080fd5b610a5b600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061261b565b6040518082815260200191505060405180910390f35b600080600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614151515610ab057600080fd5b610ab983612633565b1515610ac457600080fd5b349150610ad0826127b8565b9050610ae7826004546127eb90919063ffffffff16565b600481905550610b3f82601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127eb90919063ffffffff16565b601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415610c2e57600d8054806001018281610bde9190612e60565b9160005260206000209001600085909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505b610c8081600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127eb90919063ffffffff16565b600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610cd881600e546127eb90919063ffffffff16565b600e819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f623b3804fa71d67900d064613da8f94b9617215ee90799290593e1745087ad188484604051808381526020018281526020019250505060405180910390a3610d53612809565b505050565b600080601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415610daa5760009050610e3e565b610e3b601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128dc90919063ffffffff16565b90505b919050565b600b5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ea457600080fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638c52dc416040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b1515610f2957600080fd5b6102c65a03f11515610f3a57600080fd5b505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561106257600080fd5b6102c65a03f1151561107357600080fd5b505050604051805190506000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b151561110a57600080fd5b6102c65a03f1151561111b57600080fd5b50505060405180519050507f6823b073d48d6e3a7d385eeb601452d680e74bb46afe3255a7d778f3a9b1768160405160405180910390a16001601460006101000a81548160ff0219169083151502179055506001601460016101000a81548160ff021916908315150217905550565b600f6020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111ff57600080fd5b600090505b8282905081101561133857600160136000858585818110151561122357fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fa54714518c5d275fdcd3d2a461e4858e4e8cb04fb93cd0bca9d6d34115f2644083838381811015156112c057fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff166001604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001821515151581526020019250505060405180910390a18080600101915050611204565b505050565b60035481565b60136020528060005260406000206000915054906101000a900460ff1681565b60095481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156113c657600080fd5b8290505b81811115156114a657600060116000600d848154811015156113e857fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561149957611498600d8281548110151561146757fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611d88565b5b80806001019150506113ca565b505050565b60045481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561150c57600080fd5b601460009054906101000a900460ff1615151561152857600080fd5b600654600454148061153b575060095442115b151561154657600080fd5b61154e6128f5565b7f6823b073d48d6e3a7d385eeb601452d680e74bb46afe3255a7d778f3a9b1768160405160405180910390a16001601460006101000a81548160ff021916908315150217905550565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b60006005546004541015905090565b60126020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561164757600080fd5b600090505b8282905081101561178057600060136000858585818110151561166b57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fa54714518c5d275fdcd3d2a461e4858e4e8cb04fb93cd0bca9d6d34115f26440838383818110151561170857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff166000604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001821515151581526020019250505060405180910390a1808060010191505061164c565b505050565b600c5481565b601460009054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6117cc33611d88565b565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561189557600080fd5b6102c65a03f115156118a657600080fd5b50505060405180519050905090565b600e5481565b60065481565b60106020528060005260406000206000915090505481565b601460009054906101000a900460ff1615156118f457600080fd5b6118fc6115c3565b15806119145750601460019054906101000a900460ff165b151561191f57600080fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa89401a336040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15156119db57600080fd5b6102c65a03f115156119ec57600080fd5b505050565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515611ab957600080fd5b6102c65a03f11515611aca57600080fd5b505050604051805190501415611ae35760009050611bca565b600e54600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515611bab57600080fd5b6102c65a03f11515611bbc57600080fd5b505050604051805190500390505b90565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611c2857600080fd5b600083118015611c3a57506001600354105b1515611c4557600080fd5b600082111515611c5457600080fd5b600081111515611c6357600080fd5b8082101515611c7157600080fd5b826003819055508160058190555080600681905550635a9877e0600881905550611cab6001600c54026008546127eb90919063ffffffff16565b600a81905550611ccb6001600b5402600a546127eb90919063ffffffff16565b600981905550505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611d3157600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601460019054906101000a900460ff1681565b600080600080601460009054906101000a900460ff161515611da957600080fd5b6000611db3612105565b111515611dbf57600080fd5b611dc885612c25565b6000600f60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054118015611e5657506000601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054115b1515611e6157600080fd5b611e69612105565b93506008841115611e7957600893505b611ecb601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612dd190919063ffffffff16565b9250611ed685610d58565b9150818311156120fe57611ef382846128dc90919063ffffffff16565b9050601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811115611f7f57601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490505b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb86836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b151561204c57600080fd5b6102c65a03f1151561205d57600080fd5b50505060405180519050506120ba81601160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128dc90919063ffffffff16565b601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5050505050565b600062278d00600954014211151561211c57600080fd5b61213462278d0060095442030162093a806000612e0c565b905090565b600a5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561219a57600080fd5b6121ad60006001600d8054905003611369565b565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561220a57600080fd5b600961221461259f565b11151561222057600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561234557600080fd5b6102c65a03f1151561235657600080fd5b505050604051805190506000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156123ed57600080fd5b6102c65a03f115156123fe57600080fd5b5050506040518051905050565b600d8181548110151561241a57fe5b90600052602060002090016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156124a557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156124e157600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600954421115156125b157600080fd5b6125c4600954420362093a806000612e0c565b905090565b60055481565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60116020528060005260406000206000915090505481565b60008060008060008060003411945060065461265a346004546127eb90919063ffffffff16565b11159350600a54421015801561267257506009544211155b925060085442101580156126885750600a544211155b80156126ed575067d02ab486cedc00006126ea34601260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127eb90919063ffffffff16565b11155b80156127425750601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b915073ea17f66d28d11a7c1ecd8f591d136795130901a773ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161490508380156127a35750808061279a5750825b806127a25750815b5b80156127ac5750845b95505050505050919050565b60006127e4620f42406127d660035485612dd190919063ffffffff16565b612e4590919063ffffffff16565b9050919050565b60008082840190508381101515156127ff57fe5b8091505092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f340fa0134336040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019150506000604051808303818588803b15156128c557600080fd5b6125ee5a03f115156128d657600080fd5b50505050565b60008282111515156128ea57fe5b818303905092915050565b6128fd6115c3565b156129a057600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166343d726d66040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b151561298757600080fd5b6102c65a03f1151561299857600080fd5b505050612c23565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638c52dc416040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b1515612a2557600080fd5b6102c65a03f11515612a3657600080fd5b505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515612b5e57600080fd5b6102c65a03f11515612b6f57600080fd5b505050604051805190506000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1515612c0657600080fd5b6102c65a03f11515612c1757600080fd5b50505060405180519050505b565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111515612c7357600080fd5b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415612dce57600f60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612d8a600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460086000612e0c565b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b50565b6000806000841415612de65760009150612e05565b8284029050828482811515612df757fe5b04141515612e0157fe5b8091505b5092915050565b600080600060018401600a0a86029150600a60058684811515612e2b57fe5b0401811515612e3657fe5b04905080925050509392505050565b6000808284811515612e5357fe5b0490508091505092915050565b815481835581811511612e8757818360005260206000209182019101612e869190612e8c565b5b505050565b612eae91905b80821115612eaa576000816000905550600101612e92565b5090565b905600a165627a7a72305820412d71d2ee3e569f2325601464ade3e003353fa761689f3893a2459532af09c100296060604052341561000f57600080fd5b604051602080610a7783398101604052808051906020019091905050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156100a757600080fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600260146101000a81548160ff0219169083600281111561010757fe5b02179055505061095b8061011c6000396000f300606060405260043610610099576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806343d726d61461009e578063521eb273146100b35780638c52dc41146101085780638da5cb5b1461011d578063c19d93fb14610172578063cb13cddb146101a9578063f2fde38b146101f6578063f340fa011461022f578063fa89401a1461025d575b600080fd5b34156100a957600080fd5b6100b1610296565b005b34156100be57600080fd5b6100c66103ef565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561011357600080fd5b61011b610415565b005b341561012857600080fd5b6101306104f6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561017d57600080fd5b61018561051b565b6040518082600281111561019557fe5b60ff16815260200191505060405180910390f35b34156101b457600080fd5b6101e0600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061052e565b6040518082815260200191505060405180910390f35b341561020157600080fd5b61022d600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610546565b005b61025b600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061069b565b005b341561026857600080fd5b610294600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506107c2565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156102f157600080fd5b600060028111156102fe57fe5b600260149054906101000a900460ff16600281111561031957fe5b14151561032557600080fd5b60028060146101000a81548160ff0219169083600281111561034357fe5b02179055507f1cdde67b72a90f19919ac732a437ac2f7a10fc128d28c2a6e525d89ce5cd9d3a60405160405180910390a1600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f1935050505015156103ed57600080fd5b565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561047057600080fd5b6000600281111561047d57fe5b600260149054906101000a900460ff16600281111561049857fe5b1415156104a457600080fd5b6001600260146101000a81548160ff021916908360028111156104c357fe5b02179055507f599d8e5a83cffb867d051598c4d70e805d59802d8081c1c7d6dffc5b6aca2b8960405160405180910390a1565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260149054906101000a900460ff1681565b60016020528060005260406000206000915090505481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105a157600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156105dd57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156106f657600080fd5b6000600281111561070357fe5b600260149054906101000a900460ff16600281111561071e57fe5b14151561072a57600080fd5b61077c34600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461091190919063ffffffff16565b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b6000600160028111156107d157fe5b600260149054906101000a900460ff1660028111156107ec57fe5b1415156107f857600080fd5b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156108bf57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff167fd7dee2702d63ad89917b6a4da9981c90c4d24f8c2bdfd64c604ecae57d8d0651826040518082815260200191505060405180910390a25050565b600080828401905083811015151561092557fe5b80915050929150505600a165627a7a72305820787b1d87e7b36447223d133c379d1df5c58a728adb9bd9c0f2905c621346570e002900000000000000000000000000000000000000000000000000000000001123800000000000000000000000000000000000000000000000000000000000015180000000000000000000000000a0e0d886043ec37481c9a934fee0edcd34eee91c000000000000000000000000b5f42d711844997443fc72767ee55f43f95cd9cc

Deployed Bytecode

0x606060405260043610610204576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a64143a1461020f5780630fb5a6b41461025c578063123802e11461028557806317e76ebe1461029a5780632bf04304146102e75780632c4e722e146103155780632fee9e7e1461033e5780633197cbb61461038f5780633348f537146103b85780634042b66f146103e45780634bb278f31461040d578063521eb2731461042257806378e97925146104775780637d3d6522146104a057806381ac1a4e146104cd57806388a2653c1461051a5780638948fe67146105485780638d4e4083146105715780638da5cb5b1461059e578063937f2e33146105f35780639e1a4d1914610608578063aaed3c7d14610631578063b071cbe61461065a578063b4aee96b14610683578063b5545a3c146106d0578063b670a4b1146106e5578063bbd4271f1461070e578063c9cda91f14610743578063dba2d8751461077c578063df8de3e7146107a9578063e5b28c07146107e2578063ebdfd7221461080b578063ec8ac4d814610834578063ee3d2f0714610862578063ef66016914610877578063f128de071461088c578063f2fde38b146108ef578063f70f182114610928578063f89be59314610951578063fbfa77cf1461097a578063fc0c546a146109cf578063fe324b4b14610a24575b61020d33610a71565b005b341561021a57600080fd5b610246600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d58565b6040518082815260200191505060405180910390f35b341561026757600080fd5b61026f610e43565b6040518082815260200191505060405180910390f35b341561029057600080fd5b610298610e49565b005b34156102a557600080fd5b6102d1600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061118a565b6040518082815260200191505060405180910390f35b34156102f257600080fd5b610313600480803590602001908201803590602001919091929050506111a2565b005b341561032057600080fd5b61032861133d565b6040518082815260200191505060405180910390f35b341561034957600080fd5b610375600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611343565b604051808215151515815260200191505060405180910390f35b341561039a57600080fd5b6103a2611363565b6040518082815260200191505060405180910390f35b34156103c357600080fd5b6103e26004808035906020019091908035906020019091905050611369565b005b34156103ef57600080fd5b6103f76114ab565b6040518082815260200191505060405180910390f35b341561041857600080fd5b6104206114b1565b005b341561042d57600080fd5b610435611597565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561048257600080fd5b61048a6115bd565b6040518082815260200191505060405180910390f35b34156104ab57600080fd5b6104b36115c3565b604051808215151515815260200191505060405180910390f35b34156104d857600080fd5b610504600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506115d2565b6040518082815260200191505060405180910390f35b341561052557600080fd5b610546600480803590602001908201803590602001919091929050506115ea565b005b341561055357600080fd5b61055b611785565b6040518082815260200191505060405180910390f35b341561057c57600080fd5b61058461178b565b604051808215151515815260200191505060405180910390f35b34156105a957600080fd5b6105b161179e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105fe57600080fd5b6106066117c3565b005b341561061357600080fd5b61061b6117ce565b6040518082815260200191505060405180910390f35b341561063c57600080fd5b6106446118b5565b6040518082815260200191505060405180910390f35b341561066557600080fd5b61066d6118bb565b6040518082815260200191505060405180910390f35b341561068e57600080fd5b6106ba600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506118c1565b6040518082815260200191505060405180910390f35b34156106db57600080fd5b6106e36118d9565b005b34156106f057600080fd5b6106f86119f1565b6040518082815260200191505060405180910390f35b341561071957600080fd5b6107416004808035906020019091908035906020019091908035906020019091905050611bcd565b005b341561074e57600080fd5b61077a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611cd6565b005b341561078757600080fd5b61078f611d75565b604051808215151515815260200191505060405180910390f35b34156107b457600080fd5b6107e0600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611d88565b005b34156107ed57600080fd5b6107f5612105565b6040518082815260200191505060405180910390f35b341561081657600080fd5b61081e612139565b6040518082815260200191505060405180910390f35b610860600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a71565b005b341561086d57600080fd5b61087561213f565b005b341561088257600080fd5b61088a6121af565b005b341561089757600080fd5b6108ad600480803590602001909190505061240b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156108fa57600080fd5b610926600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061244a565b005b341561093357600080fd5b61093b61259f565b6040518082815260200191505060405180910390f35b341561095c57600080fd5b6109646125c9565b6040518082815260200191505060405180910390f35b341561098557600080fd5b61098d6125cf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156109da57600080fd5b6109e26125f5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3415610a2f57600080fd5b610a5b600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061261b565b6040518082815260200191505060405180910390f35b600080600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614151515610ab057600080fd5b610ab983612633565b1515610ac457600080fd5b349150610ad0826127b8565b9050610ae7826004546127eb90919063ffffffff16565b600481905550610b3f82601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127eb90919063ffffffff16565b601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415610c2e57600d8054806001018281610bde9190612e60565b9160005260206000209001600085909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505b610c8081600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127eb90919063ffffffff16565b600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610cd881600e546127eb90919063ffffffff16565b600e819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f623b3804fa71d67900d064613da8f94b9617215ee90799290593e1745087ad188484604051808381526020018281526020019250505060405180910390a3610d53612809565b505050565b600080601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415610daa5760009050610e3e565b610e3b601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128dc90919063ffffffff16565b90505b919050565b600b5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ea457600080fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638c52dc416040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b1515610f2957600080fd5b6102c65a03f11515610f3a57600080fd5b505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561106257600080fd5b6102c65a03f1151561107357600080fd5b505050604051805190506000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b151561110a57600080fd5b6102c65a03f1151561111b57600080fd5b50505060405180519050507f6823b073d48d6e3a7d385eeb601452d680e74bb46afe3255a7d778f3a9b1768160405160405180910390a16001601460006101000a81548160ff0219169083151502179055506001601460016101000a81548160ff021916908315150217905550565b600f6020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111ff57600080fd5b600090505b8282905081101561133857600160136000858585818110151561122357fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fa54714518c5d275fdcd3d2a461e4858e4e8cb04fb93cd0bca9d6d34115f2644083838381811015156112c057fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff166001604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001821515151581526020019250505060405180910390a18080600101915050611204565b505050565b60035481565b60136020528060005260406000206000915054906101000a900460ff1681565b60095481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156113c657600080fd5b8290505b81811115156114a657600060116000600d848154811015156113e857fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561149957611498600d8281548110151561146757fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611d88565b5b80806001019150506113ca565b505050565b60045481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561150c57600080fd5b601460009054906101000a900460ff1615151561152857600080fd5b600654600454148061153b575060095442115b151561154657600080fd5b61154e6128f5565b7f6823b073d48d6e3a7d385eeb601452d680e74bb46afe3255a7d778f3a9b1768160405160405180910390a16001601460006101000a81548160ff021916908315150217905550565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b60006005546004541015905090565b60126020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561164757600080fd5b600090505b8282905081101561178057600060136000858585818110151561166b57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fa54714518c5d275fdcd3d2a461e4858e4e8cb04fb93cd0bca9d6d34115f26440838383818110151561170857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff166000604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001821515151581526020019250505060405180910390a1808060010191505061164c565b505050565b600c5481565b601460009054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6117cc33611d88565b565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561189557600080fd5b6102c65a03f115156118a657600080fd5b50505060405180519050905090565b600e5481565b60065481565b60106020528060005260406000206000915090505481565b601460009054906101000a900460ff1615156118f457600080fd5b6118fc6115c3565b15806119145750601460019054906101000a900460ff165b151561191f57600080fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa89401a336040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15156119db57600080fd5b6102c65a03f115156119ec57600080fd5b505050565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515611ab957600080fd5b6102c65a03f11515611aca57600080fd5b505050604051805190501415611ae35760009050611bca565b600e54600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515611bab57600080fd5b6102c65a03f11515611bbc57600080fd5b505050604051805190500390505b90565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611c2857600080fd5b600083118015611c3a57506001600354105b1515611c4557600080fd5b600082111515611c5457600080fd5b600081111515611c6357600080fd5b8082101515611c7157600080fd5b826003819055508160058190555080600681905550635a9877e0600881905550611cab6001600c54026008546127eb90919063ffffffff16565b600a81905550611ccb6001600b5402600a546127eb90919063ffffffff16565b600981905550505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611d3157600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601460019054906101000a900460ff1681565b600080600080601460009054906101000a900460ff161515611da957600080fd5b6000611db3612105565b111515611dbf57600080fd5b611dc885612c25565b6000600f60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054118015611e5657506000601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054115b1515611e6157600080fd5b611e69612105565b93506008841115611e7957600893505b611ecb601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612dd190919063ffffffff16565b9250611ed685610d58565b9150818311156120fe57611ef382846128dc90919063ffffffff16565b9050601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811115611f7f57601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490505b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb86836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b151561204c57600080fd5b6102c65a03f1151561205d57600080fd5b50505060405180519050506120ba81601160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128dc90919063ffffffff16565b601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5050505050565b600062278d00600954014211151561211c57600080fd5b61213462278d0060095442030162093a806000612e0c565b905090565b600a5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561219a57600080fd5b6121ad60006001600d8054905003611369565b565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561220a57600080fd5b600961221461259f565b11151561222057600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561234557600080fd5b6102c65a03f1151561235657600080fd5b505050604051805190506000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156123ed57600080fd5b6102c65a03f115156123fe57600080fd5b5050506040518051905050565b600d8181548110151561241a57fe5b90600052602060002090016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156124a557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156124e157600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600954421115156125b157600080fd5b6125c4600954420362093a806000612e0c565b905090565b60055481565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60116020528060005260406000206000915090505481565b60008060008060008060003411945060065461265a346004546127eb90919063ffffffff16565b11159350600a54421015801561267257506009544211155b925060085442101580156126885750600a544211155b80156126ed575067d02ab486cedc00006126ea34601260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127eb90919063ffffffff16565b11155b80156127425750601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b915073ea17f66d28d11a7c1ecd8f591d136795130901a773ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161490508380156127a35750808061279a5750825b806127a25750815b5b80156127ac5750845b95505050505050919050565b60006127e4620f42406127d660035485612dd190919063ffffffff16565b612e4590919063ffffffff16565b9050919050565b60008082840190508381101515156127ff57fe5b8091505092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f340fa0134336040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019150506000604051808303818588803b15156128c557600080fd5b6125ee5a03f115156128d657600080fd5b50505050565b60008282111515156128ea57fe5b818303905092915050565b6128fd6115c3565b156129a057600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166343d726d66040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b151561298757600080fd5b6102c65a03f1151561299857600080fd5b505050612c23565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638c52dc416040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b1515612a2557600080fd5b6102c65a03f11515612a3657600080fd5b505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515612b5e57600080fd5b6102c65a03f11515612b6f57600080fd5b505050604051805190506000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1515612c0657600080fd5b6102c65a03f11515612c1757600080fd5b50505060405180519050505b565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111515612c7357600080fd5b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415612dce57600f60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612d8a600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460086000612e0c565b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b50565b6000806000841415612de65760009150612e05565b8284029050828482811515612df757fe5b04141515612e0157fe5b8091505b5092915050565b600080600060018401600a0a86029150600a60058684811515612e2b57fe5b0401811515612e3657fe5b04905080925050509392505050565b6000808284811515612e5357fe5b0490508091505092915050565b815481835581811511612e8757818360005260206000209182019101612e869190612e8c565b5b505050565b612eae91905b80821115612eaa576000816000905550600101612e92565b5090565b905600a165627a7a72305820412d71d2ee3e569f2325601464ade3e003353fa761689f3893a2459532af09c10029

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

00000000000000000000000000000000000000000000000000000000001123800000000000000000000000000000000000000000000000000000000000015180000000000000000000000000a0e0d886043ec37481c9a934fee0edcd34eee91c000000000000000000000000b5f42d711844997443fc72767ee55f43f95cd9cc

-----Decoded View---------------
Arg [0] : _durationSeconds (uint256): 1123200
Arg [1] : _wlDurationSeconds (uint256): 86400
Arg [2] : _wallet (address): 0xA0e0D886043eC37481c9A934feE0EdCd34eee91C
Arg [3] : _token (address): 0xb5F42D711844997443fc72767ee55f43f95CD9Cc

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000112380
Arg [1] : 0000000000000000000000000000000000000000000000000000000000015180
Arg [2] : 000000000000000000000000a0e0d886043ec37481c9a934fee0edcd34eee91c
Arg [3] : 000000000000000000000000b5f42d711844997443fc72767ee55f43f95cd9cc


Swarm Source

bzzr://787b1d87e7b36447223d133c379d1df5c58a728adb9bd9c0f2905c621346570e

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.