ETH Price: $1,948.03 (-1.90%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer52254052018-03-09 16:49:572906 days ago1520614197IN
0x21a3fdBC...AA581FCd6
0 ETH0.000129386
Transfer50266622018-02-04 2:39:132940 days ago1517711953IN
0x21a3fdBC...AA581FCd6
3.090529 ETH0.0008959341
Transfer50266482018-02-04 2:35:542940 days ago1517711754IN
0x21a3fdBC...AA581FCd6
3.099139 ETH0.00086141
Finalize50259122018-02-03 23:30:022940 days ago1517700602IN
0x21a3fdBC...AA581FCd6
0 ETH0.0024061260
Transfer50232392018-02-03 12:30:472941 days ago1517661047IN
0x21a3fdBC...AA581FCd6
0.01 ETH0.00008744
Transfer50200802018-02-03 0:03:062941 days ago1517616186IN
0x21a3fdBC...AA581FCd6
4.6685 ETH0.0021633499
Transfer50145472018-02-02 1:25:072942 days ago1517534707IN
0x21a3fdBC...AA581FCd6
1.019 ETH0.00008744
Transfer50143602018-02-02 0:38:492942 days ago1517531929IN
0x21a3fdBC...AA581FCd6
0.39 ETH0.0004370420
Transfer50142332018-02-02 0:06:232942 days ago1517529983IN
0x21a3fdBC...AA581FCd6
0.3167519 ETH0.001247459.4
Transfer50138132018-02-01 22:24:062942 days ago1517523846IN
0x21a3fdBC...AA581FCd6
0.0675 ETH0.0000844
Transfer50137822018-02-01 22:16:172942 days ago1517523377IN
0x21a3fdBC...AA581FCd6
3 ETH0.0020977996
Transfer50137752018-02-01 22:13:542942 days ago1517523234IN
0x21a3fdBC...AA581FCd6
0.063 ETH0.000109265
Transfer50137642018-02-01 22:11:512942 days ago1517523111IN
0x21a3fdBC...AA581FCd6
1.7 ETH0.0003277815
Transfer50137232018-02-01 22:02:562942 days ago1517522576IN
0x21a3fdBC...AA581FCd6
4.6685 ETH0.0008959341
Transfer50136902018-02-01 21:54:082942 days ago1517522048IN
0x21a3fdBC...AA581FCd6
0.1 ETH0.0001688
Transfer50134782018-02-01 20:58:502942 days ago1517518730IN
0x21a3fdBC...AA581FCd6
3.6 ETH0.0010488948
Transfer50134552018-02-01 20:53:042942 days ago1517518384IN
0x21a3fdBC...AA581FCd6
0.4 ETH0.001690177.34327705
Transfer50133602018-02-01 20:26:112942 days ago1517516771IN
0x21a3fdBC...AA581FCd6
4 ETH0.0021633499
Transfer50133522018-02-01 20:23:472942 days ago1517516627IN
0x21a3fdBC...AA581FCd6
4 ETH0.0021633499
Transfer50133432018-02-01 20:20:342942 days ago1517516434IN
0x21a3fdBC...AA581FCd6
4.6685 ETH0.0021633499
Transfer50132382018-02-01 19:53:152942 days ago1517514795IN
0x21a3fdBC...AA581FCd6
0.16322443 ETH0.000192298.8
Transfer50132122018-02-01 19:46:062942 days ago1517514366IN
0x21a3fdBC...AA581FCd6
1.34 ETH0.0002110
Transfer50132002018-02-01 19:43:302942 days ago1517514210IN
0x21a3fdBC...AA581FCd6
2 ETH0.0004370420
Transfer50131632018-02-01 19:33:432942 days ago1517513623IN
0x21a3fdBC...AA581FCd6
4.5 ETH0.0021852100
Transfer50131472018-02-01 19:29:432942 days ago1517513383IN
0x21a3fdBC...AA581FCd6
2.015 ETH0.000174818
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer50127492018-02-01 17:55:162942 days ago1517507716
0x21a3fdBC...AA581FCd6
0.28301802 ETH
Transfer50127492018-02-01 17:55:162942 days ago1517507716
0x21a3fdBC...AA581FCd6
0.71698197 ETH
Transfer50127472018-02-01 17:54:392942 days ago1517507679
0x21a3fdBC...AA581FCd6
2.6 ETH
Transfer50127462018-02-01 17:54:272942 days ago1517507667
0x21a3fdBC...AA581FCd6
0.6 ETH
Transfer50127422018-02-01 17:53:512942 days ago1517507631
0x21a3fdBC...AA581FCd6
0.5 ETH
Transfer50127412018-02-01 17:53:352942 days ago1517507615
0x21a3fdBC...AA581FCd6
0.2 ETH
Transfer50127402018-02-01 17:53:282942 days ago1517507608
0x21a3fdBC...AA581FCd6
0.14 ETH
Transfer50127402018-02-01 17:53:282942 days ago1517507608
0x21a3fdBC...AA581FCd6
1.20757839 ETH
Transfer50127392018-02-01 17:53:022942 days ago1517507582
0x21a3fdBC...AA581FCd6
0.12 ETH
Transfer50127352018-02-01 17:52:252942 days ago1517507545
0x21a3fdBC...AA581FCd6
0.2475739 ETH
Transfer50127322018-02-01 17:51:122942 days ago1517507472
0x21a3fdBC...AA581FCd6
2 ETH
Transfer50127322018-02-01 17:51:122942 days ago1517507472
0x21a3fdBC...AA581FCd6
0.08 ETH
Transfer50127322018-02-01 17:51:122942 days ago1517507472
0x21a3fdBC...AA581FCd6
2.3 ETH
Transfer50127312018-02-01 17:50:562942 days ago1517507456
0x21a3fdBC...AA581FCd6
2 ETH
Transfer50127302018-02-01 17:50:452942 days ago1517507445
0x21a3fdBC...AA581FCd6
0.5 ETH
Transfer50127302018-02-01 17:50:452942 days ago1517507445
0x21a3fdBC...AA581FCd6
0.98450172 ETH
Transfer50127282018-02-01 17:50:332942 days ago1517507433
0x21a3fdBC...AA581FCd6
0.00003408 ETH
Transfer50127282018-02-01 17:50:332942 days ago1517507433
0x21a3fdBC...AA581FCd6
4.66846591 ETH
Transfer50127282018-02-01 17:50:332942 days ago1517507433
0x21a3fdBC...AA581FCd6
0.6 ETH
Transfer50127282018-02-01 17:50:332942 days ago1517507433
0x21a3fdBC...AA581FCd6
3.3 ETH
Transfer50127262018-02-01 17:49:582942 days ago1517507398
0x21a3fdBC...AA581FCd6
0.5 ETH
Transfer50127262018-02-01 17:49:582942 days ago1517507398
0x21a3fdBC...AA581FCd6
0.07 ETH
Transfer50127252018-02-01 17:49:432942 days ago1517507383
0x21a3fdBC...AA581FCd6
4.6685 ETH
Transfer50127252018-02-01 17:49:432942 days ago1517507383
0x21a3fdBC...AA581FCd6
0.17418351 ETH
Transfer50127252018-02-01 17:49:432942 days ago1517507383
0x21a3fdBC...AA581FCd6
4.6685 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MtnCrowdsale

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-01-31
*/

//File: node_modules/zeppelin-solidity/contracts/token/ERC20Basic.sol
pragma solidity ^0.4.18;


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

//File: node_modules/zeppelin-solidity/contracts/math/SafeMath.sol
pragma solidity ^0.4.18;


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

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

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

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

//File: node_modules/zeppelin-solidity/contracts/token/BasicToken.sol
pragma solidity ^0.4.18;






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

  mapping(address => uint256) balances;

  /**
  * @dev transfer token for a specified address
  * @param _to The address to transfer to.
  * @param _value The amount to be transferred.
  */
  function transfer(address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));
    require(_value <= balances[msg.sender]);

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

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

}

//File: node_modules/zeppelin-solidity/contracts/token/ERC20.sol
pragma solidity ^0.4.18;





/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) public view returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

//File: node_modules/zeppelin-solidity/contracts/token/StandardToken.sol
pragma solidity ^0.4.18;






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

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


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

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

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

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

  /**
   * @dev Increase the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To increment
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _addedValue The amount of tokens to increase the allowance by.
   */
  function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
    allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

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

}

//File: node_modules/zeppelin-solidity/contracts/ownership/Ownable.sol
pragma solidity ^0.4.18;


/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;


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


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


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


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

}

//File: node_modules/zeppelin-solidity/contracts/token/MintableToken.sol
pragma solidity ^0.4.18;







/**
 * @title Mintable token
 * @dev Simple ERC20 Token example, with mintable token creation
 * @dev Issue: * https://github.com/OpenZeppelin/zeppelin-solidity/issues/120
 * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol
 */

contract MintableToken is StandardToken, Ownable {
  event Mint(address indexed to, uint256 amount);
  event MintFinished();

  bool public mintingFinished = false;


  modifier canMint() {
    require(!mintingFinished);
    _;
  }

  /**
   * @dev Function to mint tokens
   * @param _to The address that will receive the minted tokens.
   * @param _amount The amount of tokens to mint.
   * @return A boolean that indicates if the operation was successful.
   */
  function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) {
    totalSupply = totalSupply.add(_amount);
    balances[_to] = balances[_to].add(_amount);
    Mint(_to, _amount);
    Transfer(address(0), _to, _amount);
    return true;
  }

  /**
   * @dev Function to stop minting new tokens.
   * @return True if the operation was successful.
   */
  function finishMinting() onlyOwner canMint public returns (bool) {
    mintingFinished = true;
    MintFinished();
    return true;
  }
}

//File: node_modules/zeppelin-solidity/contracts/crowdsale/Crowdsale.sol
pragma solidity ^0.4.18;




/**
 * @title Crowdsale
 * @dev Crowdsale is a base contract for managing a token crowdsale.
 * Crowdsales have a start and end timestamps, where investors can make
 * token purchases and the crowdsale will assign them tokens based
 * on a token per ETH rate. Funds collected are forwarded to a wallet
 * as they arrive.
 */
contract Crowdsale {
  using SafeMath for uint256;

  // The token being sold
  MintableToken public token;

  // start and end timestamps where investments are allowed (both inclusive)
  uint256 public startTime;
  uint256 public endTime;

  // address where funds are collected
  address public wallet;

  // how many token units a buyer gets per wei
  uint256 public rate;

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

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


  function Crowdsale(uint256 _startTime, uint256 _endTime, uint256 _rate, address _wallet) public {
    require(_startTime >= now);
    require(_endTime >= _startTime);
    require(_rate > 0);
    require(_wallet != address(0));

    token = createTokenContract();
    startTime = _startTime;
    endTime = _endTime;
    rate = _rate;
    wallet = _wallet;
  }

  // creates the token to be sold.
  // override this method to have crowdsale of a specific mintable token.
  function createTokenContract() internal returns (MintableToken) {
    return new MintableToken();
  }


  // fallback function can be used to buy tokens
  function () external payable {
    buyTokens(msg.sender);
  }

  // low level token purchase function
  function buyTokens(address beneficiary) public payable {
    require(beneficiary != address(0));
    require(validPurchase());

    uint256 weiAmount = msg.value;

    // calculate token amount to be created
    uint256 tokens = weiAmount.mul(rate);

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

    token.mint(beneficiary, tokens);
    TokenPurchase(msg.sender, beneficiary, weiAmount, tokens);

    forwardFunds();
  }

  // send ether to the fund collection wallet
  // override to create custom fund forwarding mechanisms
  function forwardFunds() internal {
    wallet.transfer(msg.value);
  }

  // @return true if the transaction can buy tokens
  function validPurchase() internal view returns (bool) {
    bool withinPeriod = now >= startTime && now <= endTime;
    bool nonZeroPurchase = msg.value != 0;
    return withinPeriod && nonZeroPurchase;
  }

  // @return true if crowdsale event has ended
  function hasEnded() public view returns (bool) {
    return now > endTime;
  }


}

//File: node_modules/zeppelin-solidity/contracts/token/SafeERC20.sol
pragma solidity ^0.4.18;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure.
 * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
  function safeTransfer(ERC20Basic token, address to, uint256 value) internal {
    assert(token.transfer(to, value));
  }

  function safeTransferFrom(ERC20 token, address from, address to, uint256 value) internal {
    assert(token.transferFrom(from, to, value));
  }

  function safeApprove(ERC20 token, address spender, uint256 value) internal {
    assert(token.approve(spender, value));
  }
}

//File: node_modules/zeppelin-solidity/contracts/token/TokenVesting.sol
pragma solidity ^0.4.18;






/**
 * @title TokenVesting
 * @dev A token holder contract that can release its token balance gradually like a
 * typical vesting scheme, with a cliff and vesting period. Optionally revocable by the
 * owner.
 */
contract TokenVesting is Ownable {
  using SafeMath for uint256;
  using SafeERC20 for ERC20Basic;

  event Released(uint256 amount);
  event Revoked();

  // beneficiary of tokens after they are released
  address public beneficiary;

  uint256 public cliff;
  uint256 public start;
  uint256 public duration;

  bool public revocable;

  mapping (address => uint256) public released;
  mapping (address => bool) public revoked;

  /**
   * @dev Creates a vesting contract that vests its balance of any ERC20 token to the
   * _beneficiary, gradually in a linear fashion until _start + _duration. By then all
   * of the balance will have vested.
   * @param _beneficiary address of the beneficiary to whom vested tokens are transferred
   * @param _cliff duration in seconds of the cliff in which tokens will begin to vest
   * @param _duration duration in seconds of the period in which the tokens will vest
   * @param _revocable whether the vesting is revocable or not
   */
  function TokenVesting(address _beneficiary, uint256 _start, uint256 _cliff, uint256 _duration, bool _revocable) public {
    require(_beneficiary != address(0));
    require(_cliff <= _duration);

    beneficiary = _beneficiary;
    revocable = _revocable;
    duration = _duration;
    cliff = _start.add(_cliff);
    start = _start;
  }

  /**
   * @notice Transfers vested tokens to beneficiary.
   * @param token ERC20 token which is being vested
   */
  function release(ERC20Basic token) public {
    uint256 unreleased = releasableAmount(token);

    require(unreleased > 0);

    released[token] = released[token].add(unreleased);

    token.safeTransfer(beneficiary, unreleased);

    Released(unreleased);
  }

  /**
   * @notice Allows the owner to revoke the vesting. Tokens already vested
   * remain in the contract, the rest are returned to the owner.
   * @param token ERC20 token which is being vested
   */
  function revoke(ERC20Basic token) public onlyOwner {
    require(revocable);
    require(!revoked[token]);

    uint256 balance = token.balanceOf(this);

    uint256 unreleased = releasableAmount(token);
    uint256 refund = balance.sub(unreleased);

    revoked[token] = true;

    token.safeTransfer(owner, refund);

    Revoked();
  }

  /**
   * @dev Calculates the amount that has already vested but hasn't been released yet.
   * @param token ERC20 token which is being vested
   */
  function releasableAmount(ERC20Basic token) public view returns (uint256) {
    return vestedAmount(token).sub(released[token]);
  }

  /**
   * @dev Calculates the amount that has already vested.
   * @param token ERC20 token which is being vested
   */
  function vestedAmount(ERC20Basic token) public view returns (uint256) {
    uint256 currentBalance = token.balanceOf(this);
    uint256 totalBalance = currentBalance.add(released[token]);

    if (now < cliff) {
      return 0;
    } else if (now >= start.add(duration) || revoked[token]) {
      return totalBalance;
    } else {
      return totalBalance.mul(now.sub(start)).div(duration);
    }
  }
}

//File: node_modules/zeppelin-solidity/contracts/lifecycle/Pausable.sol
pragma solidity ^0.4.18;





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

  bool public paused = false;


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

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

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

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

//File: node_modules/zeppelin-solidity/contracts/token/PausableToken.sol
pragma solidity ^0.4.18;




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

contract PausableToken is StandardToken, Pausable {

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

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

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

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

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

//File: src/contracts/ico/MtnToken.sol
/**
 * @title MTN token
 *
 * @version 1.0
 * @author Validity Labs AG <info@validitylabs.org>
 */
pragma solidity ^0.4.18;




contract MtnToken is MintableToken, PausableToken {
    string public constant name = "MedToken";
    string public constant symbol = "MTN";
    uint8 public constant decimals = 18;

    /**
     * @dev Constructor of MtnToken that instantiates a new Mintable Pauseable Token
     */
    function MtnToken() public {
        // token should not be transferrable until after all tokens have been issued
        paused = true;
    }
}

//File: src/contracts/ico/MtnCrowdsale.sol
/**
 * @title MtnCrowdsale
 *
 * Simple time and TOKEN_CAPped based crowdsale.
 *
 * @version 1.0
 * @author Validity Labs AG <info@validitylabs.org>
 */
pragma solidity ^0.4.18;






contract MtnCrowdsale is Ownable, Crowdsale {
    /*** CONSTANTS ***/
    uint256 public constant TOTAL_TOKEN_CAP = 500e6 * 1e18;   // 500 million * 1e18 - smallest unit of MTN token
    uint256 public constant CROWDSALE_TOKENS = 175e6 * 1e18;  // 175 million * 1e18 - presale and crowdsale tokens
    uint256 public constant TOTAL_TEAM_TOKENS = 170e6 * 1e18; // 170 million * 1e18 - team tokens
    uint256 public constant TEAM_TOKENS0 = 50e6 * 1e18;       // 50 million * 1e18 - team tokens, already vested
    uint256 public constant TEAM_TOKENS1 = 60e6 * 1e18;       // 60 million * 1e18 - team tokens, vesting over 2 years
    uint256 public constant TEAM_TOKENS2 = 60e6 * 1e18;       // 60 million * 1e18 - team tokens, vesting over 4 years
    uint256 public constant COMMUNITY_TOKENS = 155e6 * 1e18;  // 155 million * 1e18 - community tokens, vesting over 4 years

    uint256 public constant MAX_CONTRIBUTION_USD = 5000;      //  USD
    uint256 public constant USD_CENT_PER_TOKEN = 25;          // in cents - smallest unit of USD E.g. 100 = 1 USD

    uint256 public constant VESTING_DURATION_4Y = 4 years;
    uint256 public constant VESTING_DURATION_2Y = 2 years;

    // true if address is allowed to invest
    mapping(address => bool) public isWhitelisted;

    // allow managers to whitelist and confirm contributions by manager accounts
    // managers can be set and altered by owner, multiple manager accounts are possible
    mapping(address => bool) public isManager;

    uint256 public maxContributionInWei;
    uint256 public tokensMinted;                            // already minted tokens (maximally = TOKEN_CAP)
    bool public capReached;                                 // set to true when cap has been reached when minting tokens
    mapping(address => uint256) public totalInvestedPerAddress;

    address public beneficiaryWallet;

    // for convenience we store vesting wallets
    address public teamVesting2Years;
    address public teamVesting4Years;
    address public communityVesting4Years;

    /*** Tracking Crowdsale Stages ***/
    bool public isCrowdsaleOver;

    /*** EVENTS  ***/
    event ChangedManager(address manager, bool active);
    event PresaleMinted(address indexed beneficiary, uint256 tokenAmount);
    event ChangedInvestorWhitelisting(address indexed investor, bool whitelisted);

    /*** MODIFIERS ***/
    modifier onlyManager() {
        require(isManager[msg.sender]);
        _;
    }

    // trying to accompish using already existing variables to determine stage - prevents manual updating of the enum stage states
    modifier onlyPresalePhase() {
        require(now < startTime);
        _;
    }

    modifier onlyCrowdsalePhase() {
        require(now >= startTime && now < endTime && !isCrowdsaleOver);
        _;
    }

    modifier respectCrowdsaleCap(uint256 _amount) {
        require(tokensMinted.add(_amount) <= CROWDSALE_TOKENS);
        _;
    }

    modifier onlyCrowdSaleOver() {
        require(isCrowdsaleOver || now > endTime || capReached);
        _;
    }

    modifier onlyValidAddress(address _address) {
        require(_address != address(0));
        _;
    }

    /**
     * @dev Deploy MTN Token Crowdsale
     * @param _startTime uint256 Start time of the crowdsale
     * @param _endTime uint256 End time of the crowdsale
     * @param _usdPerEth uint256 issueing rate tokens per wei
     * @param _wallet address Wallet address of the crowdsale
     * @param _beneficiaryWallet address wallet holding team and community tokens
     */
    function MtnCrowdsale(
        uint256 _startTime,
        uint256 _endTime,
        uint256 _usdPerEth,
        address _wallet,
        address _beneficiaryWallet
        )
        Crowdsale(_startTime, _endTime, (_usdPerEth.mul(1e2)).div(USD_CENT_PER_TOKEN), _wallet)
        public
        onlyValidAddress(_beneficiaryWallet)
    {
        require(TOTAL_TOKEN_CAP == CROWDSALE_TOKENS.add(TOTAL_TEAM_TOKENS).add(COMMUNITY_TOKENS));
        require(TOTAL_TEAM_TOKENS == TEAM_TOKENS0.add(TEAM_TOKENS1).add(TEAM_TOKENS2));
        setManager(msg.sender, true);

        beneficiaryWallet = _beneficiaryWallet;

        maxContributionInWei = (MAX_CONTRIBUTION_USD.mul(1e18)).div(_usdPerEth);

        mintTeamTokens();
        mintCommunityTokens();
    }

    /**
     * @dev Create new instance of mtn token contract
     */
    function createTokenContract() internal returns (MintableToken) {
        return new MtnToken();
    }

    /**
     * @dev Set / alter manager / whitelister "account". This can be done from owner only
     * @param _manager address address of the manager to create/alter
     * @param _active bool flag that shows if the manager account is active
     */
    function setManager(address _manager, bool _active) public onlyOwner onlyValidAddress(_manager) {
        isManager[_manager] = _active;
        ChangedManager(_manager, _active);
    }

    /**
     * @dev whitelist investors to allow the direct investment of this crowdsale
     * @param _investor address address of the investor to be whitelisted
     */
    function whiteListInvestor(address _investor) public onlyManager onlyValidAddress(_investor) {
        isWhitelisted[_investor] = true;
        ChangedInvestorWhitelisting(_investor, true);
    }

    /**
     * @dev whitelist several investors via a batch method
     * @param _investors address[] array of addresses of the beneficiaries to receive tokens after they have been confirmed
     */
    function batchWhiteListInvestors(address[] _investors) public onlyManager {
        for (uint256 c; c < _investors.length; c = c.add(1)) {
            whiteListInvestor(_investors[c]);
        }
    }

    /**
     * @dev unwhitelist investor from participating in the crowdsale
     * @param _investor address address of the investor to disallowed participation
     */
    function unWhiteListInvestor(address _investor) public onlyManager onlyValidAddress(_investor) {
        isWhitelisted[_investor] = false;
        ChangedInvestorWhitelisting(_investor, false);
    }

   /**
    * @dev onlyOwner allowed to mint tokens, respecting the cap, and only before the crowdsale starts
    * @param _beneficiary address
    * @param _amount uint256
    */
    function mintTokenPreSale(address _beneficiary, uint256 _amount) public onlyOwner onlyPresalePhase onlyValidAddress(_beneficiary) respectCrowdsaleCap(_amount) {
        require(_amount > 0);

        tokensMinted = tokensMinted.add(_amount);
        token.mint(_beneficiary, _amount);
        PresaleMinted(_beneficiary, _amount);
    }

   /**
    * @dev onlyOwner allowed to handle batch presale minting
    * @param _beneficiaries address[]
    * @param _amounts uint256[]
    */
    function batchMintTokenPresale(address[] _beneficiaries, uint256[] _amounts) public onlyOwner onlyPresalePhase {
        require(_beneficiaries.length == _amounts.length);

        for (uint256 i; i < _beneficiaries.length; i = i.add(1)) {
            mintTokenPreSale(_beneficiaries[i], _amounts[i]);
        }
    }

   /**
    * @dev override core functionality by whitelist check
    * @param _beneficiary address
    */
    function buyTokens(address _beneficiary) public payable onlyCrowdsalePhase onlyValidAddress(_beneficiary) {
        require(isWhitelisted[msg.sender]);
        require(validPurchase());

        uint256 overflowTokens;
        uint256 refundWeiAmount;
        bool overMaxInvestmentAllowed;

        uint256 investedWeiAmount = msg.value;

        // Is this specific investment over the MAX_CONTRIBUTION_USD limit?
        // if so, calcuate wei refunded and tokens to mint for the allowed investment amount
        uint256 totalInvestedWeiAmount = investedWeiAmount.add(totalInvestedPerAddress[msg.sender]);
        if (totalInvestedWeiAmount > maxContributionInWei) {
            overMaxInvestmentAllowed = true;
            refundWeiAmount = totalInvestedWeiAmount.sub(maxContributionInWei);
            investedWeiAmount = investedWeiAmount.sub(refundWeiAmount);
        }

        uint256 tokenAmount = investedWeiAmount.mul(rate);
        uint256 tempMintedTokens = tokensMinted.add(tokenAmount); // gas optimization, do not inline twice

        // check to see if this purchase sets it over the crowdsale token cap
        // if so, calculate tokens to mint, then refund the remaining ether investment
        if (tempMintedTokens >= CROWDSALE_TOKENS) {
            capReached = true;
            overflowTokens = tempMintedTokens.sub(CROWDSALE_TOKENS);
            tokenAmount = tokenAmount.sub(overflowTokens);
            refundWeiAmount = overflowTokens.div(rate);
            investedWeiAmount = investedWeiAmount.sub(refundWeiAmount);
        }

        weiRaised = weiRaised.add(investedWeiAmount);

        tokensMinted = tokensMinted.add(tokenAmount);
        TokenPurchase(msg.sender, _beneficiary, investedWeiAmount, tokenAmount);
        totalInvestedPerAddress[msg.sender] = totalInvestedPerAddress[msg.sender].add(investedWeiAmount);
        token.mint(_beneficiary, tokenAmount);

        // if investor breached cap and has remaining ether not invested
        // refund remaining ether to investor
        if (capReached || overMaxInvestmentAllowed) {
            msg.sender.transfer(refundWeiAmount);
            wallet.transfer(investedWeiAmount);
        } else {
            forwardFunds();
        }
    }

   /**
    * @dev onlyOwner to close Crowdsale manually if before endTime
    */
    function closeCrowdsale() public onlyOwner onlyCrowdsalePhase {
        isCrowdsaleOver = true;
    }

   /**
    * @dev onlyOwner allows tokens to be tradeable
    */
    function finalize() public onlyOwner onlyCrowdSaleOver {
        // do not allow new owner to mint further tokens & unpause token to allow trading
        MintableToken(token).finishMinting();
        PausableToken(token).unpause();
    }

    /*** INTERNAL/PRIVATE FUNCTIONS ***/

    /**
     * @dev allows contract owner to mint all team tokens per TEAM_TOKENS and have 50m immediately available, 60m 2 years vested, and 60m over 4 years vesting
     */
    function mintTeamTokens() private {
        token.mint(beneficiaryWallet, TEAM_TOKENS0);

        TokenVesting newVault1 = new TokenVesting(beneficiaryWallet, now, 0, VESTING_DURATION_2Y, false);
        teamVesting2Years = address(newVault1); // for convenience we keep them in storage so that they are easily accessible via MEW or etherscan
        token.mint(address(newVault1), TEAM_TOKENS1);

        TokenVesting newVault2 = new TokenVesting(beneficiaryWallet, now, 0, VESTING_DURATION_4Y, false);
        teamVesting4Years = address(newVault2); // for convenience we keep them in storage so that they are easily accessible via MEW or etherscan
        token.mint(address(newVault2), TEAM_TOKENS2);
    }

    /**
     * @dev allows contract owner to mint all community tokens per COMMUNITY_TOKENS and have the vested to the beneficiaryWallet
     */
    function mintCommunityTokens() private {
        TokenVesting newVault = new TokenVesting(beneficiaryWallet, now, 0, VESTING_DURATION_4Y, false);
        communityVesting4Years = address(newVault); // for convenience we keep them in storage so that they are easily accessible via MEW or etherscan
        token.mint(address(newVault), COMMUNITY_TOKENS);
    }

    /**
     * @dev extend base functionality with min investment amount
     */
    function validPurchase() internal view respectCrowdsaleCap(0) returns (bool) {
        require(!capReached);
        require(totalInvestedPerAddress[msg.sender] < maxContributionInWei);

        return super.validPurchase();
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"MAX_CONTRIBUTION_USD","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"CROWDSALE_TOKENS","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"VESTING_DURATION_4Y","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"COMMUNITY_TOKENS","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TEAM_TOKENS2","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"teamVesting4Years","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_beneficiary","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mintTokenPreSale","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":"endTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TOTAL_TEAM_TOKENS","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finalize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"capReached","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isCrowdsaleOver","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_beneficiaries","type":"address[]"},{"name":"_amounts","type":"uint256[]"}],"name":"batchMintTokenPresale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_investor","type":"address"}],"name":"unWhiteListInvestor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"tokensMinted","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TOTAL_TOKEN_CAP","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxContributionInWei","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"closeCrowdsale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"teamVesting2Years","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TEAM_TOKENS0","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_manager","type":"address"},{"name":"_active","type":"bool"}],"name":"setManager","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_investors","type":"address[]"}],"name":"batchWhiteListInvestors","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"USD_CENT_PER_TOKEN","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"VESTING_DURATION_2Y","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"beneficiaryWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"totalInvestedPerAddress","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TEAM_TOKENS1","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":true,"inputs":[],"name":"hasEnded","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_investor","type":"address"}],"name":"whiteListInvestor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"isManager","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"communityVesting4Years","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"},{"inputs":[{"name":"_startTime","type":"uint256"},{"name":"_endTime","type":"uint256"},{"name":"_usdPerEth","type":"uint256"},{"name":"_wallet","type":"address"},{"name":"_beneficiaryWallet","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"manager","type":"address"},{"indexed":false,"name":"active","type":"bool"}],"name":"ChangedManager","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"tokenAmount","type":"uint256"}],"name":"PresaleMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"investor","type":"address"},{"indexed":false,"name":"whitelisted","type":"bool"}],"name":"ChangedInvestorWhitelisting","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":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

606060405234156200001057600080fd5b60405160a08062004d3d83398101604052808051919060200180519190602001805191906020018051919060200180519150859050846200007c601962000067876064640100000000620012af6200029682021704565b90640100000000620012de620002d082021704565b60008054600160a060020a03191633600160a060020a03161790558442841015620000a657600080fd5b83831015620000b457600080fd5b60008211620000c257600080fd5b600160a060020a0381161515620000d857600080fd5b620000f06401000000006200135f620002e882021704565b60018054600160a060020a0319908116600160a060020a039384161790915560029590955560039390935560059190915560048054909316908216179091558190811615156200013f57600080fd5b620001946a803686d63613e07b0000006200017f6a90c1b1025e16710f0000006a8c9ee6775415ccea000000640100000000620012816200031082021704565b90640100000000620012816200031082021704565b6b019d971e4fe8401e7400000014620001ac57600080fd5b620001e16a31a17e847807b1bc0000006200017f6a295be96e6406697200000082640100000000620012816200031082021704565b6a8c9ee6775415ccea00000014620001f857600080fd5b6200021333600164010000000062000f4c6200032082021704565b600d8054600160a060020a031916600160a060020a038416179055620002578462000067611388670de0b6b3a7640000640100000000620002968102620012af1704565b6009556200027264010000000062001387620003c582021704565b6200028a64010000000062001645620006b482021704565b505050505050620007fb565b600080831515620002ab5760009150620002c9565b50828202828482811515620002bc57fe5b0414620002c557fe5b8091505b5092915050565b6000808284811515620002df57fe5b04949350505050565b6000620002f4620007d9565b604051809103906000f08015156200030b57600080fd5b905090565b600082820183811015620002c557fe5b60005433600160a060020a039081169116146200033c57600080fd5b81600160a060020a03811615156200035357600080fd5b600160a060020a03831660009081526008602052604090819020805460ff19168415151790557fc805cd93de579d61b0924c5b5ed9db042198f72031750f8c95608d1cf7d83855908490849051600160a060020a039092168252151560208201526040908101905180910390a1505050565b600154600d546000918291600160a060020a03918216916340c10f1991166a295be96e6406697200000084604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156200045457600080fd5b6102c65a03f115156200046657600080fd5b50505060405180515050600d54600160a060020a03164260006303c26700816200048f620007ea565b600160a060020a03909516855260208501939093526040808501929092526060840152901515608083015260a09091019051809103906000f0801515620004d557600080fd5b600e8054600160a060020a031916600160a060020a0383811691909117909155600154919350166340c10f19836a31a17e847807b1bc0000006000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156200057457600080fd5b6102c65a03f115156200058657600080fd5b50505060405180515050600d54600160a060020a0316426000630784ce0081620005af620007ea565b600160a060020a03909516855260208501939093526040808501929092526060840152901515608083015260a09091019051809103906000f0801515620005f557600080fd5b600f8054600160a060020a031916600160a060020a0383811691909117909155600154919250166340c10f19826a31a17e847807b1bc0000006000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156200069457600080fd5b6102c65a03f11515620006a657600080fd5b505050604051805150505050565b600d54600090600160a060020a03164282630784ce0081620006d5620007ea565b600160a060020a03909516855260208501939093526040808501929092526060840152901515608083015260a09091019051809103906000f08015156200071b57600080fd5b60108054600160a060020a031916600160a060020a0383811691909117909155600154919250166340c10f19826a803686d63613e07b0000006000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515620007ba57600080fd5b6102c65a03f11515620007cc57600080fd5b5050506040518051505050565b604051610dfb806200367a83390190565b6040516108c8806200447583390190565b612e6f806200080b6000396000f300606060405260043610620001fd5763ffffffff60e060020a6000350416630134059281146200020a57806305d4665f14620002325780631835e57d14620002485780631d523047146200025e5780631e9e541c146200027457806329a19987146200028a57806329bf295814620002bc5780632c4e722e14620002e15780633197cbb614620002f75780633af32abf146200030d5780633f4d97f014620003435780634042b66f14620003595780634bb278f3146200036f5780634f9359451462000385578063521eb273146200039b5780635b4a54a914620003b1578063615feb4814620003c75780636244b7ed14620004595780636de9f32b146200047b5780636f5d712e146200049157806378e9792514620004a757806386a7b99514620004bd5780638da5cb5b14620004d3578063983c0a0114620004e95780639b347f4214620004ff5780639c2625fd1462000515578063a5e90eee146200052b578063a703c7511462000552578063bc1e9ca314620005a4578063c71e876b14620005ba578063c978863114620005d0578063cca0fc0914620005e6578063ddf33cc71462000274578063ec8ac4d81462000608578063ecb70fb7146200061e578063eeed17671462000634578063f2fde38b1462000656578063f3ae24151462000678578063f57688b6146200069a578063fc0c546a14620006b0575b6200020833620006c6565b005b34156200021657600080fd5b6200022062000a49565b60405190815260200160405180910390f35b34156200023e57600080fd5b6200022062000a4f565b34156200025457600080fd5b6200022062000a5e565b34156200026a57600080fd5b6200022062000a66565b34156200028057600080fd5b6200022062000a75565b34156200029657600080fd5b620002a062000a84565b604051600160a060020a03909116815260200160405180910390f35b3415620002c857600080fd5b62000208600160a060020a036004351660243562000a93565b3415620002ed57600080fd5b6200022062000bea565b34156200030357600080fd5b6200022062000bf0565b34156200031957600080fd5b6200032f600160a060020a036004351662000bf6565b604051901515815260200160405180910390f35b34156200034f57600080fd5b6200022062000c0b565b34156200036557600080fd5b6200022062000c1a565b34156200037b57600080fd5b6200020862000c20565b34156200039157600080fd5b6200032f62000d2c565b3415620003a757600080fd5b620002a062000d35565b3415620003bd57600080fd5b6200032f62000d44565b3415620003d357600080fd5b6200020860046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284375094965062000d5495505050505050565b34156200046557600080fd5b62000208600160a060020a036004351662000dec565b34156200048757600080fd5b6200022062000e84565b34156200049d57600080fd5b6200022062000e8a565b3415620004b357600080fd5b6200022062000e9a565b3415620004c957600080fd5b6200022062000ea0565b3415620004df57600080fd5b620002a062000ea6565b3415620004f557600080fd5b6200020862000eb5565b34156200050b57600080fd5b620002a062000f2e565b34156200052157600080fd5b6200022062000f3d565b34156200053757600080fd5b62000208600160a060020a0360043516602435151562000f4c565b34156200055e57600080fd5b62000208600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965062000ff195505050505050565b3415620005b057600080fd5b6200022062001063565b3415620005c657600080fd5b6200022062001068565b3415620005dc57600080fd5b620002a062001070565b3415620005f257600080fd5b62000220600160a060020a03600435166200107f565b62000208600160a060020a0360043516620006c6565b34156200062a57600080fd5b6200032f62001091565b34156200064057600080fd5b62000208600160a060020a036004351662001099565b34156200066257600080fd5b62000208600160a060020a036004351662001137565b34156200068457600080fd5b6200032f600160a060020a0360043516620011d4565b3415620006a657600080fd5b620002a0620011e9565b3415620006bc57600080fd5b620002a0620011f8565b60008060008060008060006002544210158015620006e5575060035442105b8015620006fc575060105460a060020a900460ff16155b15156200070857600080fd5b87600160a060020a03811615156200071f57600080fd5b600160a060020a03331660009081526007602052604090205460ff1615156200074757600080fd5b6200075162001207565b15156200075d57600080fd5b600160a060020a0333166000908152600c60205260409020543495506200078c90869063ffffffff6200128116565b9350600954841115620007ca5760095460019650620007b390859063ffffffff6200129c16565b9650620007c7858863ffffffff6200129c16565b94505b600554620007e090869063ffffffff620012af16565b600a54909350620007f8908463ffffffff6200128116565b91506a90c1b1025e16710f00000082106200087b57600b805460ff1916600117905562000837826a90c1b1025e16710f00000063ffffffff6200129c16565b97506200084b838963ffffffff6200129c16565b92506200086460055489620012de90919063ffffffff16565b965062000878858863ffffffff6200129c16565b94505b60065462000890908663ffffffff6200128116565b600655600a54620008a8908463ffffffff6200128116565b600a55600160a060020a03808a169033167f623b3804fa71d67900d064613da8f94b9617215ee90799290593e1745087ad18878660405191825260208201526040908101905180910390a3600160a060020a0333166000908152600c60205260409020546200091e908663ffffffff6200128116565b600160a060020a033381166000908152600c602052604080822093909355600154909116916340c10f19918c91879190516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156200099757600080fd5b6102c65a03f11515620009a957600080fd5b50505060405180515050600b5460ff1680620009c25750855b1562000a3457600160a060020a03331687156108fc0288604051600060405180830381858888f193505050501515620009fa57600080fd5b600454600160a060020a031685156108fc0286604051600060405180830381858888f19350505050151562000a2e57600080fd5b62000a3e565b62000a3e620012f6565b505050505050505050565b61138881565b6a90c1b1025e16710f00000081565b630784ce0081565b6a803686d63613e07b00000081565b6a31a17e847807b1bc00000081565b600f54600160a060020a031681565b60005433600160a060020a0390811691161462000aaf57600080fd5b600254421062000abe57600080fd5b81600160a060020a038116151562000ad557600080fd5b816a90c1b1025e16710f00000062000af982600a546200128190919063ffffffff16565b111562000b0557600080fd5b6000831162000b1357600080fd5b600a5462000b28908463ffffffff6200128116565b600a55600154600160a060020a03166340c10f19858560006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151562000b8b57600080fd5b6102c65a03f1151562000b9d57600080fd5b50505060405180515050600160a060020a0384167fe8868866b7c25a91a02f2b2df844874118c38bbe83ae4d8e7b86933191246a308460405190815260200160405180910390a250505050565b60055481565b60035481565b60076020526000908152604090205460ff1681565b6a8c9ee6775415ccea00000081565b60065481565b60005433600160a060020a0390811691161462000c3c57600080fd5b60105460a060020a900460ff168062000c56575060035442115b8062000c645750600b5460ff165b151562000c7057600080fd5b600154600160a060020a0316637d64bcb46000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151562000cb957600080fd5b6102c65a03f1151562000ccb57600080fd5b50505060405180515050600154600160a060020a0316633f4ba83a6040518163ffffffff1660e060020a028152600401600060405180830381600087803b151562000d1557600080fd5b6102c65a03f1151562000d2757600080fd5b505050565b600b5460ff1681565b600454600160a060020a031681565b60105460a060020a900460ff1681565b6000805433600160a060020a0390811691161462000d7157600080fd5b600254421062000d8057600080fd5b815183511462000d8f57600080fd5b825181101562000d275762000dd183828151811062000daa57fe5b9060200190602002015183838151811062000dc157fe5b9060200190602002015162000a93565b62000de481600163ffffffff6200128116565b905062000d8f565b600160a060020a03331660009081526008602052604090205460ff16151562000e1457600080fd5b80600160a060020a038116151562000e2b57600080fd5b600160a060020a038216600081815260076020526040808220805460ff191690557f4a28918ec4a2c7b9d8a6ca8f40d3b2efc176c0557c92dacd7d499872023ab563919051901515815260200160405180910390a25050565b600a5481565b6b019d971e4fe8401e7400000081565b60025481565b60095481565b600054600160a060020a031681565b60005433600160a060020a0390811691161462000ed157600080fd5b600254421015801562000ee5575060035442105b801562000efc575060105460a060020a900460ff16155b151562000f0857600080fd5b6010805474ff0000000000000000000000000000000000000000191660a060020a179055565b600e54600160a060020a031681565b6a295be96e6406697200000081565b60005433600160a060020a0390811691161462000f6857600080fd5b81600160a060020a038116151562000f7f57600080fd5b600160a060020a03831660009081526008602052604090819020805460ff19168415151790557fc805cd93de579d61b0924c5b5ed9db042198f72031750f8c95608d1cf7d83855908490849051600160a060020a039092168252151560208201526040908101905180910390a1505050565b600160a060020a03331660009081526008602052604081205460ff1615156200101957600080fd5b81518110156200105f57620010448282815181106200103457fe5b9060200190602002015162001099565b6200105781600163ffffffff6200128116565b905062001019565b5050565b601981565b6303c2670081565b600d54600160a060020a031681565b600c6020526000908152604090205481565b600354421190565b600160a060020a03331660009081526008602052604090205460ff161515620010c157600080fd5b80600160a060020a0381161515620010d857600080fd5b600160a060020a03821660008181526007602052604090819020805460ff191660019081179091557f4a28918ec4a2c7b9d8a6ca8f40d3b2efc176c0557c92dacd7d499872023ab5639151901515815260200160405180910390a25050565b60005433600160a060020a039081169116146200115357600080fd5b600160a060020a03811615156200116957600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60086020526000908152604090205460ff1681565b601054600160a060020a031681565b600154600160a060020a031681565b6000806a90c1b1025e16710f0000006200122d82600a546200128190919063ffffffff16565b11156200123957600080fd5b600b5460ff16156200124a57600080fd5b600954600160a060020a0333166000908152600c6020526040902054106200127157600080fd5b6200127b6200132d565b91505090565b6000828201838110156200129157fe5b8091505b5092915050565b600082821115620012a957fe5b50900390565b600080831515620012c4576000915062001295565b50828202828482811515620012d557fe5b04146200129157fe5b6000808284811515620012ed57fe5b04949350505050565b600454600160a060020a03163480156108fc0290604051600060405180830381858888f1935050505015156200132b57600080fd5b565b600080600060025442101580156200134757506003544211155b915050341515818015620013585750805b9250505090565b60006200136b6200175e565b604051809103906000f08015156200138257600080fd5b905090565b600154600d546000918291600160a060020a03918216916340c10f1991166a295be96e64066972000000846040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515620013fd57600080fd5b6102c65a03f115156200140f57600080fd5b50505060405180515050600d54600160a060020a03164260006303c2670081620014386200176f565b600160a060020a03909516855260208501939093526040808501929092526060840152901515608083015260a09091019051809103906000f08015156200147e57600080fd5b600e805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117909155600154919350166340c10f19836a31a17e847807b1bc00000060006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156200151157600080fd5b6102c65a03f115156200152357600080fd5b50505060405180515050600d54600160a060020a0316426000630784ce00816200154c6200176f565b600160a060020a03909516855260208501939093526040808501929092526060840152901515608083015260a09091019051809103906000f08015156200159257600080fd5b600f805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117909155600154919250166340c10f19826a31a17e847807b1bc00000060006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156200162557600080fd5b6102c65a03f115156200163757600080fd5b505050604051805150505050565b600d54600090600160a060020a03164282630784ce0081620016666200176f565b600160a060020a03909516855260208501939093526040808501929092526060840152901515608083015260a09091019051809103906000f0801515620016ac57600080fd5b6010805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117909155600154919250166340c10f19826a803686d63613e07b00000060006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156200173f57600080fd5b6102c65a03f115156200175157600080fd5b5050506040518051505050565b604051610dfb806200178183390190565b6040516108c8806200257c83390190560060606040526003805460a060020a61ffff0219169055341561002057600080fd5b600380547501000000000000000000000000000000000000000000600160a060020a031990911633600160a060020a03161760a860020a60ff021916179055610d8d8061006e6000396000f3006060604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461010b57806306fdde0314610132578063095ea7b3146101bc57806318160ddd146101de57806323b872dd14610203578063313ce5671461022b5780633f4ba83a1461025457806340c10f19146102695780635c975abb1461028b578063661884631461029e57806370a08231146102c05780637d64bcb4146102df5780638456cb59146102f25780638da5cb5b1461030557806395d89b4114610334578063a9059cbb14610347578063d73dd62314610369578063dd62ed3e1461038b578063f2fde38b146103b0575b600080fd5b341561011657600080fd5b61011e6103cf565b604051901515815260200160405180910390f35b341561013d57600080fd5b6101456103df565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610181578082015183820152602001610169565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b61011e600160a060020a0360043516602435610416565b34156101e957600080fd5b6101f1610441565b60405190815260200160405180910390f35b341561020e57600080fd5b61011e600160a060020a0360043581169060243516604435610447565b341561023657600080fd5b61023e610474565b60405160ff909116815260200160405180910390f35b341561025f57600080fd5b610267610479565b005b341561027457600080fd5b61011e600160a060020a03600435166024356104f9565b341561029657600080fd5b61011e610606565b34156102a957600080fd5b61011e600160a060020a0360043516602435610616565b34156102cb57600080fd5b6101f1600160a060020a036004351661063a565b34156102ea57600080fd5b61011e610655565b34156102fd57600080fd5b6102676106e0565b341561031057600080fd5b610318610765565b604051600160a060020a03909116815260200160405180910390f35b341561033f57600080fd5b610145610774565b341561035257600080fd5b61011e600160a060020a03600435166024356107ab565b341561037457600080fd5b61011e600160a060020a03600435166024356107cf565b341561039657600080fd5b6101f1600160a060020a03600435811690602435166107f3565b34156103bb57600080fd5b610267600160a060020a036004351661081e565b60035460a060020a900460ff1681565b60408051908101604052600881527f4d6564546f6b656e000000000000000000000000000000000000000000000000602082015281565b60035460009060a860020a900460ff161561043057600080fd5b61043a83836108b9565b9392505050565b60005481565b60035460009060a860020a900460ff161561046157600080fd5b61046c848484610925565b949350505050565b601281565b60035433600160a060020a0390811691161461049457600080fd5b60035460a860020a900460ff1615156104ac57600080fd5b6003805475ff000000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60035460009033600160a060020a0390811691161461051757600080fd5b60035460a060020a900460ff161561052e57600080fd5b600054610541908363ffffffff610aa716565b6000908155600160a060020a03841681526001602052604090205461056c908363ffffffff610aa716565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b60035460a860020a900460ff1681565b60035460009060a860020a900460ff161561063057600080fd5b61043a8383610ab6565b600160a060020a031660009081526001602052604090205490565b60035460009033600160a060020a0390811691161461067357600080fd5b60035460a060020a900460ff161561068a57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60035433600160a060020a039081169116146106fb57600080fd5b60035460a860020a900460ff161561071257600080fd5b6003805475ff000000000000000000000000000000000000000000191660a860020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600354600160a060020a031681565b60408051908101604052600381527f4d544e0000000000000000000000000000000000000000000000000000000000602082015281565b60035460009060a860020a900460ff16156107c557600080fd5b61043a8383610bb0565b60035460009060a860020a900460ff16156107e957600080fd5b61043a8383610cab565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a0390811691161461083957600080fd5b600160a060020a038116151561084e57600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b6000600160a060020a038316151561093c57600080fd5b600160a060020a03841660009081526001602052604090205482111561096157600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561099457600080fd5b600160a060020a0384166000908152600160205260409020546109bd908363ffffffff610d4f16565b600160a060020a0380861660009081526001602052604080822093909355908516815220546109f2908363ffffffff610aa716565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610a3a908363ffffffff610d4f16565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60008282018381101561043a57fe5b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115610b1357600160a060020a033381166000908152600260209081526040808320938816835292905290812055610b4a565b610b23818463ffffffff610d4f16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b6000600160a060020a0383161515610bc757600080fd5b600160a060020a033316600090815260016020526040902054821115610bec57600080fd5b600160a060020a033316600090815260016020526040902054610c15908363ffffffff610d4f16565b600160a060020a033381166000908152600160205260408082209390935590851681522054610c4a908363ffffffff610aa716565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610ce3908363ffffffff610aa716565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600082821115610d5b57fe5b509003905600a165627a7a723058201e3eb0e59ba0ca728f728bc12910cdd1992d2e22e1bdc779b130903192fdea7800296060604052341561000f57600080fd5b60405160a0806108c8833981016040528080519190602001805191906020018051919060200180519190602001805160008054600160a060020a03191633600160a060020a039081169190911790915590925086161515905061007157600080fd5b8183111561007e57600080fd5b60018054600160a060020a031916600160a060020a0387161790556005805460ff191682151517905560048290556100c384846401000000006100d281026106c41704565b600255505050600355506100e8565b6000828201838110156100e157fe5b9392505050565b6107d1806100f76000396000f3006060604052600436106100ab5763ffffffff60e060020a6000350416630fb5a6b481146100b057806313d033c0146100d55780631726cbc8146100e85780631916558714610107578063384711cc1461012857806338af3eed1461014757806374a8f10314610176578063872a7810146101955780638da5cb5b146101bc5780639852595c146101cf578063be9a6555146101ee578063f2fde38b14610201578063fa01dc0614610220575b600080fd5b34156100bb57600080fd5b6100c361023f565b60405190815260200160405180910390f35b34156100e057600080fd5b6100c3610245565b34156100f357600080fd5b6100c3600160a060020a036004351661024b565b341561011257600080fd5b610126600160a060020a0360043516610283565b005b341561013357600080fd5b6100c3600160a060020a036004351661032f565b341561015257600080fd5b61015a610470565b604051600160a060020a03909116815260200160405180910390f35b341561018157600080fd5b610126600160a060020a036004351661047f565b34156101a057600080fd5b6101a86105d2565b604051901515815260200160405180910390f35b34156101c757600080fd5b61015a6105db565b34156101da57600080fd5b6100c3600160a060020a03600435166105ea565b34156101f957600080fd5b6100c36105fc565b341561020c57600080fd5b610126600160a060020a0360043516610602565b341561022b57600080fd5b6101a8600160a060020a036004351661069d565b60045481565b60025481565b600160a060020a03811660009081526006602052604081205461027d906102718461032f565b9063ffffffff6106b216565b92915050565b600061028e8261024b565b90506000811161029d57600080fd5b600160a060020a0382166000908152600660205260409020546102c6908263ffffffff6106c416565b600160a060020a038084166000818152600660205260409020929092556001546102f89291168363ffffffff6106de16565b7ffb81f9b30d73d830c3544b34d827c08142579ee75710b490bab0b3995468c5658160405190815260200160405180910390a15050565b600080600083600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561038b57600080fd5b6102c65a03f1151561039c57600080fd5b5050506040518051600160a060020a0386166000908152600660205260409020549093506103d29150839063ffffffff6106c416565b90506002544210156103e75760009250610469565b6004546003546103fc9163ffffffff6106c416565b421015806104225750600160a060020a03841660009081526007602052604090205460ff165b1561042f57809250610469565b61046660045461045a61044d600354426106b290919063ffffffff16565b849063ffffffff61076316565b9063ffffffff61078e16565b92505b5050919050565b600154600160a060020a031681565b600080548190819033600160a060020a0390811691161461049f57600080fd5b60055460ff1615156104b057600080fd5b600160a060020a03841660009081526007602052604090205460ff16156104d657600080fd5b83600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561052d57600080fd5b6102c65a03f1151561053e57600080fd5b5050506040518051905092506105538461024b565b9150610565838363ffffffff6106b216565b600160a060020a038086166000818152600760205260408120805460ff19166001179055549293506105a0929091168363ffffffff6106de16565b7f44825a4b2df8acb19ce4e1afba9aa850c8b65cdb7942e2078f27d0b0960efee660405160405180910390a150505050565b60055460ff1681565b600054600160a060020a031681565b60066020526000908152604090205481565b60035481565b60005433600160a060020a0390811691161461061d57600080fd5b600160a060020a038116151561063257600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60076020526000908152604090205460ff1681565b6000828211156106be57fe5b50900390565b6000828201838110156106d357fe5b8091505b5092915050565b82600160a060020a031663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561073b57600080fd5b6102c65a03f1151561074c57600080fd5b50505060405180519050151561075e57fe5b505050565b60008083151561077657600091506106d7565b5082820282848281151561078657fe5b04146106d357fe5b600080828481151561079c57fe5b049493505050505600a165627a7a72305820c4327ad94630cdc5775d455d945b661fdadfe15d679440a3ac99f87dd38173360029a165627a7a72305820b63819453b8941bea0bc599281c053ab30ed590d8d54bc650a63e250635bd1a9002960606040526003805460a060020a61ffff0219169055341561002057600080fd5b600380547501000000000000000000000000000000000000000000600160a060020a031990911633600160a060020a03161760a860020a60ff021916179055610d8d8061006e6000396000f3006060604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461010b57806306fdde0314610132578063095ea7b3146101bc57806318160ddd146101de57806323b872dd14610203578063313ce5671461022b5780633f4ba83a1461025457806340c10f19146102695780635c975abb1461028b578063661884631461029e57806370a08231146102c05780637d64bcb4146102df5780638456cb59146102f25780638da5cb5b1461030557806395d89b4114610334578063a9059cbb14610347578063d73dd62314610369578063dd62ed3e1461038b578063f2fde38b146103b0575b600080fd5b341561011657600080fd5b61011e6103cf565b604051901515815260200160405180910390f35b341561013d57600080fd5b6101456103df565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610181578082015183820152602001610169565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b61011e600160a060020a0360043516602435610416565b34156101e957600080fd5b6101f1610441565b60405190815260200160405180910390f35b341561020e57600080fd5b61011e600160a060020a0360043581169060243516604435610447565b341561023657600080fd5b61023e610474565b60405160ff909116815260200160405180910390f35b341561025f57600080fd5b610267610479565b005b341561027457600080fd5b61011e600160a060020a03600435166024356104f9565b341561029657600080fd5b61011e610606565b34156102a957600080fd5b61011e600160a060020a0360043516602435610616565b34156102cb57600080fd5b6101f1600160a060020a036004351661063a565b34156102ea57600080fd5b61011e610655565b34156102fd57600080fd5b6102676106e0565b341561031057600080fd5b610318610765565b604051600160a060020a03909116815260200160405180910390f35b341561033f57600080fd5b610145610774565b341561035257600080fd5b61011e600160a060020a03600435166024356107ab565b341561037457600080fd5b61011e600160a060020a03600435166024356107cf565b341561039657600080fd5b6101f1600160a060020a03600435811690602435166107f3565b34156103bb57600080fd5b610267600160a060020a036004351661081e565b60035460a060020a900460ff1681565b60408051908101604052600881527f4d6564546f6b656e000000000000000000000000000000000000000000000000602082015281565b60035460009060a860020a900460ff161561043057600080fd5b61043a83836108b9565b9392505050565b60005481565b60035460009060a860020a900460ff161561046157600080fd5b61046c848484610925565b949350505050565b601281565b60035433600160a060020a0390811691161461049457600080fd5b60035460a860020a900460ff1615156104ac57600080fd5b6003805475ff000000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60035460009033600160a060020a0390811691161461051757600080fd5b60035460a060020a900460ff161561052e57600080fd5b600054610541908363ffffffff610aa716565b6000908155600160a060020a03841681526001602052604090205461056c908363ffffffff610aa716565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b60035460a860020a900460ff1681565b60035460009060a860020a900460ff161561063057600080fd5b61043a8383610ab6565b600160a060020a031660009081526001602052604090205490565b60035460009033600160a060020a0390811691161461067357600080fd5b60035460a060020a900460ff161561068a57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60035433600160a060020a039081169116146106fb57600080fd5b60035460a860020a900460ff161561071257600080fd5b6003805475ff000000000000000000000000000000000000000000191660a860020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600354600160a060020a031681565b60408051908101604052600381527f4d544e0000000000000000000000000000000000000000000000000000000000602082015281565b60035460009060a860020a900460ff16156107c557600080fd5b61043a8383610bb0565b60035460009060a860020a900460ff16156107e957600080fd5b61043a8383610cab565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a0390811691161461083957600080fd5b600160a060020a038116151561084e57600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b6000600160a060020a038316151561093c57600080fd5b600160a060020a03841660009081526001602052604090205482111561096157600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561099457600080fd5b600160a060020a0384166000908152600160205260409020546109bd908363ffffffff610d4f16565b600160a060020a0380861660009081526001602052604080822093909355908516815220546109f2908363ffffffff610aa716565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610a3a908363ffffffff610d4f16565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60008282018381101561043a57fe5b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115610b1357600160a060020a033381166000908152600260209081526040808320938816835292905290812055610b4a565b610b23818463ffffffff610d4f16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b6000600160a060020a0383161515610bc757600080fd5b600160a060020a033316600090815260016020526040902054821115610bec57600080fd5b600160a060020a033316600090815260016020526040902054610c15908363ffffffff610d4f16565b600160a060020a033381166000908152600160205260408082209390935590851681522054610c4a908363ffffffff610aa716565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610ce3908363ffffffff610aa716565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600082821115610d5b57fe5b509003905600a165627a7a723058201e3eb0e59ba0ca728f728bc12910cdd1992d2e22e1bdc779b130903192fdea7800296060604052341561000f57600080fd5b60405160a0806108c8833981016040528080519190602001805191906020018051919060200180519190602001805160008054600160a060020a03191633600160a060020a039081169190911790915590925086161515905061007157600080fd5b8183111561007e57600080fd5b60018054600160a060020a031916600160a060020a0387161790556005805460ff191682151517905560048290556100c384846401000000006100d281026106c41704565b600255505050600355506100e8565b6000828201838110156100e157fe5b9392505050565b6107d1806100f76000396000f3006060604052600436106100ab5763ffffffff60e060020a6000350416630fb5a6b481146100b057806313d033c0146100d55780631726cbc8146100e85780631916558714610107578063384711cc1461012857806338af3eed1461014757806374a8f10314610176578063872a7810146101955780638da5cb5b146101bc5780639852595c146101cf578063be9a6555146101ee578063f2fde38b14610201578063fa01dc0614610220575b600080fd5b34156100bb57600080fd5b6100c361023f565b60405190815260200160405180910390f35b34156100e057600080fd5b6100c3610245565b34156100f357600080fd5b6100c3600160a060020a036004351661024b565b341561011257600080fd5b610126600160a060020a0360043516610283565b005b341561013357600080fd5b6100c3600160a060020a036004351661032f565b341561015257600080fd5b61015a610470565b604051600160a060020a03909116815260200160405180910390f35b341561018157600080fd5b610126600160a060020a036004351661047f565b34156101a057600080fd5b6101a86105d2565b604051901515815260200160405180910390f35b34156101c757600080fd5b61015a6105db565b34156101da57600080fd5b6100c3600160a060020a03600435166105ea565b34156101f957600080fd5b6100c36105fc565b341561020c57600080fd5b610126600160a060020a0360043516610602565b341561022b57600080fd5b6101a8600160a060020a036004351661069d565b60045481565b60025481565b600160a060020a03811660009081526006602052604081205461027d906102718461032f565b9063ffffffff6106b216565b92915050565b600061028e8261024b565b90506000811161029d57600080fd5b600160a060020a0382166000908152600660205260409020546102c6908263ffffffff6106c416565b600160a060020a038084166000818152600660205260409020929092556001546102f89291168363ffffffff6106de16565b7ffb81f9b30d73d830c3544b34d827c08142579ee75710b490bab0b3995468c5658160405190815260200160405180910390a15050565b600080600083600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561038b57600080fd5b6102c65a03f1151561039c57600080fd5b5050506040518051600160a060020a0386166000908152600660205260409020549093506103d29150839063ffffffff6106c416565b90506002544210156103e75760009250610469565b6004546003546103fc9163ffffffff6106c416565b421015806104225750600160a060020a03841660009081526007602052604090205460ff165b1561042f57809250610469565b61046660045461045a61044d600354426106b290919063ffffffff16565b849063ffffffff61076316565b9063ffffffff61078e16565b92505b5050919050565b600154600160a060020a031681565b600080548190819033600160a060020a0390811691161461049f57600080fd5b60055460ff1615156104b057600080fd5b600160a060020a03841660009081526007602052604090205460ff16156104d657600080fd5b83600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561052d57600080fd5b6102c65a03f1151561053e57600080fd5b5050506040518051905092506105538461024b565b9150610565838363ffffffff6106b216565b600160a060020a038086166000818152600760205260408120805460ff19166001179055549293506105a0929091168363ffffffff6106de16565b7f44825a4b2df8acb19ce4e1afba9aa850c8b65cdb7942e2078f27d0b0960efee660405160405180910390a150505050565b60055460ff1681565b600054600160a060020a031681565b60066020526000908152604090205481565b60035481565b60005433600160a060020a0390811691161461061d57600080fd5b600160a060020a038116151561063257600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60076020526000908152604090205460ff1681565b6000828211156106be57fe5b50900390565b6000828201838110156106d357fe5b8091505b5092915050565b82600160a060020a031663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561073b57600080fd5b6102c65a03f1151561074c57600080fd5b50505060405180519050151561075e57fe5b505050565b60008083151561077657600091506106d7565b5082820282848281151561078657fe5b04146106d357fe5b600080828481151561079c57fe5b049493505050505600a165627a7a72305820c4327ad94630cdc5775d455d945b661fdadfe15d679440a3ac99f87dd38173360029000000000000000000000000000000000000000000000000000000005a72e520000000000000000000000000000000000000000000000000000000005a855a20000000000000000000000000000000000000000000000000000000000000042f000000000000000000000000cae5c5e3be5f66533f3bc3b6575a53d333dce6100000000000000000000000006e9570c944f6c42cf651c4185dd8c6d376a452bc

Deployed Bytecode

0x606060405260043610620001fd5763ffffffff60e060020a6000350416630134059281146200020a57806305d4665f14620002325780631835e57d14620002485780631d523047146200025e5780631e9e541c146200027457806329a19987146200028a57806329bf295814620002bc5780632c4e722e14620002e15780633197cbb614620002f75780633af32abf146200030d5780633f4d97f014620003435780634042b66f14620003595780634bb278f3146200036f5780634f9359451462000385578063521eb273146200039b5780635b4a54a914620003b1578063615feb4814620003c75780636244b7ed14620004595780636de9f32b146200047b5780636f5d712e146200049157806378e9792514620004a757806386a7b99514620004bd5780638da5cb5b14620004d3578063983c0a0114620004e95780639b347f4214620004ff5780639c2625fd1462000515578063a5e90eee146200052b578063a703c7511462000552578063bc1e9ca314620005a4578063c71e876b14620005ba578063c978863114620005d0578063cca0fc0914620005e6578063ddf33cc71462000274578063ec8ac4d81462000608578063ecb70fb7146200061e578063eeed17671462000634578063f2fde38b1462000656578063f3ae24151462000678578063f57688b6146200069a578063fc0c546a14620006b0575b6200020833620006c6565b005b34156200021657600080fd5b6200022062000a49565b60405190815260200160405180910390f35b34156200023e57600080fd5b6200022062000a4f565b34156200025457600080fd5b6200022062000a5e565b34156200026a57600080fd5b6200022062000a66565b34156200028057600080fd5b6200022062000a75565b34156200029657600080fd5b620002a062000a84565b604051600160a060020a03909116815260200160405180910390f35b3415620002c857600080fd5b62000208600160a060020a036004351660243562000a93565b3415620002ed57600080fd5b6200022062000bea565b34156200030357600080fd5b6200022062000bf0565b34156200031957600080fd5b6200032f600160a060020a036004351662000bf6565b604051901515815260200160405180910390f35b34156200034f57600080fd5b6200022062000c0b565b34156200036557600080fd5b6200022062000c1a565b34156200037b57600080fd5b6200020862000c20565b34156200039157600080fd5b6200032f62000d2c565b3415620003a757600080fd5b620002a062000d35565b3415620003bd57600080fd5b6200032f62000d44565b3415620003d357600080fd5b6200020860046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284375094965062000d5495505050505050565b34156200046557600080fd5b62000208600160a060020a036004351662000dec565b34156200048757600080fd5b6200022062000e84565b34156200049d57600080fd5b6200022062000e8a565b3415620004b357600080fd5b6200022062000e9a565b3415620004c957600080fd5b6200022062000ea0565b3415620004df57600080fd5b620002a062000ea6565b3415620004f557600080fd5b6200020862000eb5565b34156200050b57600080fd5b620002a062000f2e565b34156200052157600080fd5b6200022062000f3d565b34156200053757600080fd5b62000208600160a060020a0360043516602435151562000f4c565b34156200055e57600080fd5b62000208600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965062000ff195505050505050565b3415620005b057600080fd5b6200022062001063565b3415620005c657600080fd5b6200022062001068565b3415620005dc57600080fd5b620002a062001070565b3415620005f257600080fd5b62000220600160a060020a03600435166200107f565b62000208600160a060020a0360043516620006c6565b34156200062a57600080fd5b6200032f62001091565b34156200064057600080fd5b62000208600160a060020a036004351662001099565b34156200066257600080fd5b62000208600160a060020a036004351662001137565b34156200068457600080fd5b6200032f600160a060020a0360043516620011d4565b3415620006a657600080fd5b620002a0620011e9565b3415620006bc57600080fd5b620002a0620011f8565b60008060008060008060006002544210158015620006e5575060035442105b8015620006fc575060105460a060020a900460ff16155b15156200070857600080fd5b87600160a060020a03811615156200071f57600080fd5b600160a060020a03331660009081526007602052604090205460ff1615156200074757600080fd5b6200075162001207565b15156200075d57600080fd5b600160a060020a0333166000908152600c60205260409020543495506200078c90869063ffffffff6200128116565b9350600954841115620007ca5760095460019650620007b390859063ffffffff6200129c16565b9650620007c7858863ffffffff6200129c16565b94505b600554620007e090869063ffffffff620012af16565b600a54909350620007f8908463ffffffff6200128116565b91506a90c1b1025e16710f00000082106200087b57600b805460ff1916600117905562000837826a90c1b1025e16710f00000063ffffffff6200129c16565b97506200084b838963ffffffff6200129c16565b92506200086460055489620012de90919063ffffffff16565b965062000878858863ffffffff6200129c16565b94505b60065462000890908663ffffffff6200128116565b600655600a54620008a8908463ffffffff6200128116565b600a55600160a060020a03808a169033167f623b3804fa71d67900d064613da8f94b9617215ee90799290593e1745087ad18878660405191825260208201526040908101905180910390a3600160a060020a0333166000908152600c60205260409020546200091e908663ffffffff6200128116565b600160a060020a033381166000908152600c602052604080822093909355600154909116916340c10f19918c91879190516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156200099757600080fd5b6102c65a03f11515620009a957600080fd5b50505060405180515050600b5460ff1680620009c25750855b1562000a3457600160a060020a03331687156108fc0288604051600060405180830381858888f193505050501515620009fa57600080fd5b600454600160a060020a031685156108fc0286604051600060405180830381858888f19350505050151562000a2e57600080fd5b62000a3e565b62000a3e620012f6565b505050505050505050565b61138881565b6a90c1b1025e16710f00000081565b630784ce0081565b6a803686d63613e07b00000081565b6a31a17e847807b1bc00000081565b600f54600160a060020a031681565b60005433600160a060020a0390811691161462000aaf57600080fd5b600254421062000abe57600080fd5b81600160a060020a038116151562000ad557600080fd5b816a90c1b1025e16710f00000062000af982600a546200128190919063ffffffff16565b111562000b0557600080fd5b6000831162000b1357600080fd5b600a5462000b28908463ffffffff6200128116565b600a55600154600160a060020a03166340c10f19858560006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151562000b8b57600080fd5b6102c65a03f1151562000b9d57600080fd5b50505060405180515050600160a060020a0384167fe8868866b7c25a91a02f2b2df844874118c38bbe83ae4d8e7b86933191246a308460405190815260200160405180910390a250505050565b60055481565b60035481565b60076020526000908152604090205460ff1681565b6a8c9ee6775415ccea00000081565b60065481565b60005433600160a060020a0390811691161462000c3c57600080fd5b60105460a060020a900460ff168062000c56575060035442115b8062000c645750600b5460ff165b151562000c7057600080fd5b600154600160a060020a0316637d64bcb46000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151562000cb957600080fd5b6102c65a03f1151562000ccb57600080fd5b50505060405180515050600154600160a060020a0316633f4ba83a6040518163ffffffff1660e060020a028152600401600060405180830381600087803b151562000d1557600080fd5b6102c65a03f1151562000d2757600080fd5b505050565b600b5460ff1681565b600454600160a060020a031681565b60105460a060020a900460ff1681565b6000805433600160a060020a0390811691161462000d7157600080fd5b600254421062000d8057600080fd5b815183511462000d8f57600080fd5b825181101562000d275762000dd183828151811062000daa57fe5b9060200190602002015183838151811062000dc157fe5b9060200190602002015162000a93565b62000de481600163ffffffff6200128116565b905062000d8f565b600160a060020a03331660009081526008602052604090205460ff16151562000e1457600080fd5b80600160a060020a038116151562000e2b57600080fd5b600160a060020a038216600081815260076020526040808220805460ff191690557f4a28918ec4a2c7b9d8a6ca8f40d3b2efc176c0557c92dacd7d499872023ab563919051901515815260200160405180910390a25050565b600a5481565b6b019d971e4fe8401e7400000081565b60025481565b60095481565b600054600160a060020a031681565b60005433600160a060020a0390811691161462000ed157600080fd5b600254421015801562000ee5575060035442105b801562000efc575060105460a060020a900460ff16155b151562000f0857600080fd5b6010805474ff0000000000000000000000000000000000000000191660a060020a179055565b600e54600160a060020a031681565b6a295be96e6406697200000081565b60005433600160a060020a0390811691161462000f6857600080fd5b81600160a060020a038116151562000f7f57600080fd5b600160a060020a03831660009081526008602052604090819020805460ff19168415151790557fc805cd93de579d61b0924c5b5ed9db042198f72031750f8c95608d1cf7d83855908490849051600160a060020a039092168252151560208201526040908101905180910390a1505050565b600160a060020a03331660009081526008602052604081205460ff1615156200101957600080fd5b81518110156200105f57620010448282815181106200103457fe5b9060200190602002015162001099565b6200105781600163ffffffff6200128116565b905062001019565b5050565b601981565b6303c2670081565b600d54600160a060020a031681565b600c6020526000908152604090205481565b600354421190565b600160a060020a03331660009081526008602052604090205460ff161515620010c157600080fd5b80600160a060020a0381161515620010d857600080fd5b600160a060020a03821660008181526007602052604090819020805460ff191660019081179091557f4a28918ec4a2c7b9d8a6ca8f40d3b2efc176c0557c92dacd7d499872023ab5639151901515815260200160405180910390a25050565b60005433600160a060020a039081169116146200115357600080fd5b600160a060020a03811615156200116957600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60086020526000908152604090205460ff1681565b601054600160a060020a031681565b600154600160a060020a031681565b6000806a90c1b1025e16710f0000006200122d82600a546200128190919063ffffffff16565b11156200123957600080fd5b600b5460ff16156200124a57600080fd5b600954600160a060020a0333166000908152600c6020526040902054106200127157600080fd5b6200127b6200132d565b91505090565b6000828201838110156200129157fe5b8091505b5092915050565b600082821115620012a957fe5b50900390565b600080831515620012c4576000915062001295565b50828202828482811515620012d557fe5b04146200129157fe5b6000808284811515620012ed57fe5b04949350505050565b600454600160a060020a03163480156108fc0290604051600060405180830381858888f1935050505015156200132b57600080fd5b565b600080600060025442101580156200134757506003544211155b915050341515818015620013585750805b9250505090565b60006200136b6200175e565b604051809103906000f08015156200138257600080fd5b905090565b600154600d546000918291600160a060020a03918216916340c10f1991166a295be96e64066972000000846040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515620013fd57600080fd5b6102c65a03f115156200140f57600080fd5b50505060405180515050600d54600160a060020a03164260006303c2670081620014386200176f565b600160a060020a03909516855260208501939093526040808501929092526060840152901515608083015260a09091019051809103906000f08015156200147e57600080fd5b600e805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117909155600154919350166340c10f19836a31a17e847807b1bc00000060006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156200151157600080fd5b6102c65a03f115156200152357600080fd5b50505060405180515050600d54600160a060020a0316426000630784ce00816200154c6200176f565b600160a060020a03909516855260208501939093526040808501929092526060840152901515608083015260a09091019051809103906000f08015156200159257600080fd5b600f805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117909155600154919250166340c10f19826a31a17e847807b1bc00000060006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156200162557600080fd5b6102c65a03f115156200163757600080fd5b505050604051805150505050565b600d54600090600160a060020a03164282630784ce0081620016666200176f565b600160a060020a03909516855260208501939093526040808501929092526060840152901515608083015260a09091019051809103906000f0801515620016ac57600080fd5b6010805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117909155600154919250166340c10f19826a803686d63613e07b00000060006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156200173f57600080fd5b6102c65a03f115156200175157600080fd5b5050506040518051505050565b604051610dfb806200178183390190565b6040516108c8806200257c83390190560060606040526003805460a060020a61ffff0219169055341561002057600080fd5b600380547501000000000000000000000000000000000000000000600160a060020a031990911633600160a060020a03161760a860020a60ff021916179055610d8d8061006e6000396000f3006060604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461010b57806306fdde0314610132578063095ea7b3146101bc57806318160ddd146101de57806323b872dd14610203578063313ce5671461022b5780633f4ba83a1461025457806340c10f19146102695780635c975abb1461028b578063661884631461029e57806370a08231146102c05780637d64bcb4146102df5780638456cb59146102f25780638da5cb5b1461030557806395d89b4114610334578063a9059cbb14610347578063d73dd62314610369578063dd62ed3e1461038b578063f2fde38b146103b0575b600080fd5b341561011657600080fd5b61011e6103cf565b604051901515815260200160405180910390f35b341561013d57600080fd5b6101456103df565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610181578082015183820152602001610169565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b61011e600160a060020a0360043516602435610416565b34156101e957600080fd5b6101f1610441565b60405190815260200160405180910390f35b341561020e57600080fd5b61011e600160a060020a0360043581169060243516604435610447565b341561023657600080fd5b61023e610474565b60405160ff909116815260200160405180910390f35b341561025f57600080fd5b610267610479565b005b341561027457600080fd5b61011e600160a060020a03600435166024356104f9565b341561029657600080fd5b61011e610606565b34156102a957600080fd5b61011e600160a060020a0360043516602435610616565b34156102cb57600080fd5b6101f1600160a060020a036004351661063a565b34156102ea57600080fd5b61011e610655565b34156102fd57600080fd5b6102676106e0565b341561031057600080fd5b610318610765565b604051600160a060020a03909116815260200160405180910390f35b341561033f57600080fd5b610145610774565b341561035257600080fd5b61011e600160a060020a03600435166024356107ab565b341561037457600080fd5b61011e600160a060020a03600435166024356107cf565b341561039657600080fd5b6101f1600160a060020a03600435811690602435166107f3565b34156103bb57600080fd5b610267600160a060020a036004351661081e565b60035460a060020a900460ff1681565b60408051908101604052600881527f4d6564546f6b656e000000000000000000000000000000000000000000000000602082015281565b60035460009060a860020a900460ff161561043057600080fd5b61043a83836108b9565b9392505050565b60005481565b60035460009060a860020a900460ff161561046157600080fd5b61046c848484610925565b949350505050565b601281565b60035433600160a060020a0390811691161461049457600080fd5b60035460a860020a900460ff1615156104ac57600080fd5b6003805475ff000000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60035460009033600160a060020a0390811691161461051757600080fd5b60035460a060020a900460ff161561052e57600080fd5b600054610541908363ffffffff610aa716565b6000908155600160a060020a03841681526001602052604090205461056c908363ffffffff610aa716565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b60035460a860020a900460ff1681565b60035460009060a860020a900460ff161561063057600080fd5b61043a8383610ab6565b600160a060020a031660009081526001602052604090205490565b60035460009033600160a060020a0390811691161461067357600080fd5b60035460a060020a900460ff161561068a57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60035433600160a060020a039081169116146106fb57600080fd5b60035460a860020a900460ff161561071257600080fd5b6003805475ff000000000000000000000000000000000000000000191660a860020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600354600160a060020a031681565b60408051908101604052600381527f4d544e0000000000000000000000000000000000000000000000000000000000602082015281565b60035460009060a860020a900460ff16156107c557600080fd5b61043a8383610bb0565b60035460009060a860020a900460ff16156107e957600080fd5b61043a8383610cab565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a0390811691161461083957600080fd5b600160a060020a038116151561084e57600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b6000600160a060020a038316151561093c57600080fd5b600160a060020a03841660009081526001602052604090205482111561096157600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561099457600080fd5b600160a060020a0384166000908152600160205260409020546109bd908363ffffffff610d4f16565b600160a060020a0380861660009081526001602052604080822093909355908516815220546109f2908363ffffffff610aa716565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610a3a908363ffffffff610d4f16565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60008282018381101561043a57fe5b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115610b1357600160a060020a033381166000908152600260209081526040808320938816835292905290812055610b4a565b610b23818463ffffffff610d4f16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b6000600160a060020a0383161515610bc757600080fd5b600160a060020a033316600090815260016020526040902054821115610bec57600080fd5b600160a060020a033316600090815260016020526040902054610c15908363ffffffff610d4f16565b600160a060020a033381166000908152600160205260408082209390935590851681522054610c4a908363ffffffff610aa716565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610ce3908363ffffffff610aa716565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600082821115610d5b57fe5b509003905600a165627a7a723058201e3eb0e59ba0ca728f728bc12910cdd1992d2e22e1bdc779b130903192fdea7800296060604052341561000f57600080fd5b60405160a0806108c8833981016040528080519190602001805191906020018051919060200180519190602001805160008054600160a060020a03191633600160a060020a039081169190911790915590925086161515905061007157600080fd5b8183111561007e57600080fd5b60018054600160a060020a031916600160a060020a0387161790556005805460ff191682151517905560048290556100c384846401000000006100d281026106c41704565b600255505050600355506100e8565b6000828201838110156100e157fe5b9392505050565b6107d1806100f76000396000f3006060604052600436106100ab5763ffffffff60e060020a6000350416630fb5a6b481146100b057806313d033c0146100d55780631726cbc8146100e85780631916558714610107578063384711cc1461012857806338af3eed1461014757806374a8f10314610176578063872a7810146101955780638da5cb5b146101bc5780639852595c146101cf578063be9a6555146101ee578063f2fde38b14610201578063fa01dc0614610220575b600080fd5b34156100bb57600080fd5b6100c361023f565b60405190815260200160405180910390f35b34156100e057600080fd5b6100c3610245565b34156100f357600080fd5b6100c3600160a060020a036004351661024b565b341561011257600080fd5b610126600160a060020a0360043516610283565b005b341561013357600080fd5b6100c3600160a060020a036004351661032f565b341561015257600080fd5b61015a610470565b604051600160a060020a03909116815260200160405180910390f35b341561018157600080fd5b610126600160a060020a036004351661047f565b34156101a057600080fd5b6101a86105d2565b604051901515815260200160405180910390f35b34156101c757600080fd5b61015a6105db565b34156101da57600080fd5b6100c3600160a060020a03600435166105ea565b34156101f957600080fd5b6100c36105fc565b341561020c57600080fd5b610126600160a060020a0360043516610602565b341561022b57600080fd5b6101a8600160a060020a036004351661069d565b60045481565b60025481565b600160a060020a03811660009081526006602052604081205461027d906102718461032f565b9063ffffffff6106b216565b92915050565b600061028e8261024b565b90506000811161029d57600080fd5b600160a060020a0382166000908152600660205260409020546102c6908263ffffffff6106c416565b600160a060020a038084166000818152600660205260409020929092556001546102f89291168363ffffffff6106de16565b7ffb81f9b30d73d830c3544b34d827c08142579ee75710b490bab0b3995468c5658160405190815260200160405180910390a15050565b600080600083600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561038b57600080fd5b6102c65a03f1151561039c57600080fd5b5050506040518051600160a060020a0386166000908152600660205260409020549093506103d29150839063ffffffff6106c416565b90506002544210156103e75760009250610469565b6004546003546103fc9163ffffffff6106c416565b421015806104225750600160a060020a03841660009081526007602052604090205460ff165b1561042f57809250610469565b61046660045461045a61044d600354426106b290919063ffffffff16565b849063ffffffff61076316565b9063ffffffff61078e16565b92505b5050919050565b600154600160a060020a031681565b600080548190819033600160a060020a0390811691161461049f57600080fd5b60055460ff1615156104b057600080fd5b600160a060020a03841660009081526007602052604090205460ff16156104d657600080fd5b83600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561052d57600080fd5b6102c65a03f1151561053e57600080fd5b5050506040518051905092506105538461024b565b9150610565838363ffffffff6106b216565b600160a060020a038086166000818152600760205260408120805460ff19166001179055549293506105a0929091168363ffffffff6106de16565b7f44825a4b2df8acb19ce4e1afba9aa850c8b65cdb7942e2078f27d0b0960efee660405160405180910390a150505050565b60055460ff1681565b600054600160a060020a031681565b60066020526000908152604090205481565b60035481565b60005433600160a060020a0390811691161461061d57600080fd5b600160a060020a038116151561063257600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60076020526000908152604090205460ff1681565b6000828211156106be57fe5b50900390565b6000828201838110156106d357fe5b8091505b5092915050565b82600160a060020a031663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561073b57600080fd5b6102c65a03f1151561074c57600080fd5b50505060405180519050151561075e57fe5b505050565b60008083151561077657600091506106d7565b5082820282848281151561078657fe5b04146106d357fe5b600080828481151561079c57fe5b049493505050505600a165627a7a72305820c4327ad94630cdc5775d455d945b661fdadfe15d679440a3ac99f87dd38173360029a165627a7a72305820b63819453b8941bea0bc599281c053ab30ed590d8d54bc650a63e250635bd1a90029

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

000000000000000000000000000000000000000000000000000000005a72e520000000000000000000000000000000000000000000000000000000005a855a20000000000000000000000000000000000000000000000000000000000000042f000000000000000000000000cae5c5e3be5f66533f3bc3b6575a53d333dce6100000000000000000000000006e9570c944f6c42cf651c4185dd8c6d376a452bc

-----Decoded View---------------
Arg [0] : _startTime (uint256): 1517479200
Arg [1] : _endTime (uint256): 1518688800
Arg [2] : _usdPerEth (uint256): 1071
Arg [3] : _wallet (address): 0xcAE5C5e3Be5F66533f3BC3b6575a53D333DcE610
Arg [4] : _beneficiaryWallet (address): 0x6e9570c944f6c42cf651C4185Dd8c6D376a452BC

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000005a72e520
Arg [1] : 000000000000000000000000000000000000000000000000000000005a855a20
Arg [2] : 000000000000000000000000000000000000000000000000000000000000042f
Arg [3] : 000000000000000000000000cae5c5e3be5f66533f3bc3b6575a53d333dce610
Arg [4] : 0000000000000000000000006e9570c944f6c42cf651c4185dd8c6d376a452bc


Swarm Source

bzzr://c4327ad94630cdc5775d455d945b661fdadfe15d679440a3ac99f87dd3817336

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.