Sponsored Link:   Revain - How to find moon tokens to invest? See what crypto experts are saying. Read reviews!
 Latest 25 txns from a total Of 132465 transactions
View All

TxHash Age From To Value [TxFee]
0xe5462c0f9b8ed7623a14a1ee20c1a6487c9b215917fd43bc3baea6a2256c91f62 days 20 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110829
0x6b0deef6637e3256a69d144fa7a3e402383b215d5494cb9d89985d0ab77b35822 days 21 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00067986
0xbb002aee9374f6ed6a0ed7d0757fb9c19474470abf3d8d48d9acaf3bec90e2173 days 19 mins ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110829
0x9a8dc12c35c6f3d0e6671f772686570cd3255f11e5afdd5679b8909b49d4ff443 days 4 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110925
0xda7e30c9390470add560ac6fc00d16dd4c4fe3baa638d09562c46313d50c41133 days 11 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110829
0x3c717b1f8fd805c8518f4812d4418fc1fccccc55eef87d8629f94d9d2818d6003 days 21 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110829
0x7b9244f7cd6a445d7870663711da8aac0ab1ae345fcb6d47a5b446386eb2a6dc4 days 2 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110829
0x8e4209d59fde28e6f49ddae1e3177d8d526c258b8a7493605c1fd65c6a19b3c74 days 2 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00067986
0xace23891af0d9bbe37c8f013048d4e07874b79fbb430bd15cbb3a75bc7a898a95 days 2 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00088425
0xdee6f72e1cba3729f9056cc04400f8fd27bb818c17fd2a13b83c034448c000f76 days 8 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110829
0xc25c1eafaf9608f74b1db4358b8908ac95a168a6d6260ebdcec939bc0660c29e7 days 12 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00088329
0x78b458730c568ff06606f18e4b6dc3ee287296f214bbbe09883f516cef3fdf017 days 12 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00067986
0xdff15752a07a9c875d88550ec1f4cce97ee9787b4c56dfe0b6db3c6ab78b0b348 days 21 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110829
0xd55fa49f3f366c8132cc0417057b07dfe55615d8547800875ebe96ad7c86aac09 days 8 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110925
0x9cce054f460e6f649ec4a807c366ee899400df8d44ae5b3d929b288bbbb9ce2810 days 2 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110733
0x0664f8a0aee4c71353ce799f9a2be0670c447ee5172a95f4fa16f8a403e9da2611 days 16 mins ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110829
0xcabc01e0a9505c14539bc9978f50ed223ea2e00da8f641a0f66dd653e2ff3d7311 days 21 mins ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110829
0xf5982124f77786aff4c72af0c2786097d3cb6b89d502ed21d53d9f293af84b3611 days 21 mins ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110925
0x948e5e691acb09a941023de81fef20f4278e99a2616bff5a406aac16f80878fe11 days 32 mins ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00068082
0x24a4cc70eb6a4d2245bbbca9452966d3ce16677965ba246809af76d019f0418011 days 50 mins ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110829
0x30e29d14f6cb11f1b1af1cd7166dc9920fb4f940b834a345c03dd4605dd359a711 days 50 mins ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110829
0xffa6fb52fbb98cd1d20c9521f582025e2f4405bea7d9de0a1277e3b649fe844f11 days 51 mins ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110829
0xb2875977b10f50dfcc361b1792649ed7ec1fcfa80d01eee0d624b4d8f97467ef11 days 1 hr ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00067986
0x36d6b8555557dd43ca2127e387a084a0c482138876417c5ee8be69525baf027011 days 23 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110829
0xa460d552923f3fed1614d3c03f0aa3c83ce711d4ce7873a607f5916bd55d937212 days 5 hrs ago0xa738c8da98d58db6d6b97e332037fd189e29a6c0  IN  0x9f89388141c632c4c6f36d1060d5f50604ee3abc0 Ether0.00110733
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 1 Internal Transaction

ParentTxHash Block Age From To Value
0x14461215ac9416a0f4ea0c58871d065505c6297d57091666d1cf971342cd4d3a4601105181 days 3 hrs ago0x9f89388141c632c4c6f36d1060d5f50604ee3abc  Contract Creation0 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact match)
Contract Name: CATCrowdsale
Compiler Version: v0.4.18+commit.9cf6e910
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.11;

//
// SafeMath
//
// Ownable
// Destructible
// Pausable
//
// ERC20Basic
// ERC20 : ERC20Basic
// BasicToken : ERC20Basic
// StandardToken : ERC20, BasicToken
// MintableToken : StandardToken, Ownable
// PausableToken : StandardToken, Pausable
//
// CAToken : MintableToken, PausableToken
//
// Crowdsale
// PausableCrowdsale
// BonusCrowdsale
// TokensCappedCrowdsale
// FinalizableCrowdsale
//
// CATCrowdsale
//

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || 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;
  }
}

/**
 * @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) onlyOwner public {
    require(newOwner != address(0));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}

/**
 * @title Destructible
 * @dev Base contract that can be destroyed by owner. All funds in contract will be sent to the owner.
 */
contract Destructible is Ownable {

  function Destructible() public payable { }

  /**
   * @dev Transfers the current balance to the owner and terminates the contract.
   */
  function destroy() onlyOwner public {
    selfdestruct(owner);
  }

  function destroyAndSend(address _recipient) onlyOwner public {
    selfdestruct(_recipient);
  }
}

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

/**
 * @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 constant returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) public constant 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);
}

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

    // 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 constant returns (uint256 balance) {
    return balances[_owner];
  }

}

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

    uint256 _allowance = allowed[_from][msg.sender];

    // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
    // require (_value <= _allowance);

    balances[_from] = balances[_from].sub(_value);
    balances[_to] = balances[_to].add(_value);
    allowed[_from][msg.sender] = _allowance.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 constant returns (uint256 remaining) {
    return allowed[_owner][_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
   */
  function increaseApproval (address _spender, uint _addedValue) public
    returns (bool success) {
    allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

  function decreaseApproval (address _spender, uint _subtractedValue) public
    returns (bool success) {
    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;
  }

}

/**
 * @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(0x0, _to, _amount);
    return true;
  }

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

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

/**
* @dev Pre main Bitcalve CAT token ERC20 contract
* Based on references from OpenZeppelin: https://github.com/OpenZeppelin/zeppelin-solidity
*/
contract CAToken is MintableToken, PausableToken {
    
    // Metadata
    string public constant symbol = "CAT";
    string public constant name = "BitClave - Consumer Activity Token";
    uint8 public constant decimals = 18;
    string public constant version = "2.0";

    /**
    * @dev Override MintableTokenn.finishMinting() to add canMint modifier
    */
    function finishMinting() onlyOwner canMint public returns(bool) {
        return super.finishMinting();
    }

}

/**
* @dev Main Bitcalve PreCAT token ERC20 contract
* Based on references from OpenZeppelin: https://github.com/OpenZeppelin/zeppelin-solidity
*/
contract PreCAToken is CAToken, Destructible {

    // Metadata
    string public constant symbol = "CAT";
    string public constant name = "BitClave - Consumer Activity Token";
    uint8 public constant decimals = 18;
    string public constant version = "1.1";

    // Overrided destructor
    function destroy() public onlyOwner {
        require(mintingFinished);
        super.destroy();
    }

    // Overrided destructor companion
    function destroyAndSend(address _recipient) public onlyOwner {
        require(mintingFinished);
        super.destroyAndSend(_recipient);
    }

}

/**
 * @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 != 0x0);

    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 () public payable {
    buyTokens(msg.sender);
  }

  // low level token purchase function
  function buyTokens(address beneficiary) public payable {
    require(beneficiary != 0x0);
    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 constant 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 constant returns (bool) {
    return now > endTime;
  }


}

/**
* @dev Parent crowdsale contract extended with support for pausable crowdsale, meaning crowdsale can be paused by owner at any time
* Based on references from OpenZeppelin: https://github.com/OpenZeppelin/zeppelin-solidity
* 
* While the contract is in paused state, the contributions will be rejected
* 
*/
contract PausableCrowdsale is Crowdsale, Pausable {

    function PausableCrowdsale(bool _paused) public {
        if (_paused) {
            pause();
        }
    }

    // overriding Crowdsale#validPurchase to add extra paused logic
    // @return true if investors can buy at the moment
    function validPurchase() internal constant returns(bool) {
        return super.validPurchase() && !paused;
    }

}

/**
* @dev Parent crowdsale contract with support for time-based and amount based bonuses 
* Based on references from OpenZeppelin: https://github.com/OpenZeppelin/zeppelin-solidity
* 
*/
contract BonusCrowdsale is Crowdsale, Ownable {

    // Constants
    // The following will be populated by main crowdsale contract
    uint32[] public BONUS_TIMES;
    uint32[] public BONUS_TIMES_VALUES;
    uint32[] public BONUS_AMOUNTS;
    uint32[] public BONUS_AMOUNTS_VALUES;
    uint public constant BONUS_COEFF = 1000; // Values should be 10x percents, value 1000 = 100%
    
    // Members
    uint public tokenPriceInCents;

    /**
    * @dev Contructor
    * @param _tokenPriceInCents token price in USD cents. The price is fixed
    */
    function BonusCrowdsale(uint256 _tokenPriceInCents) public {
        tokenPriceInCents = _tokenPriceInCents;
    }

    /**
    * @dev Retrieve length of bonuses by time array
    * @return Bonuses by time array length
    */
    function bonusesForTimesCount() public constant returns(uint) {
        return BONUS_TIMES.length;
    }

    /**
    * @dev Sets bonuses for time
    */
    function setBonusesForTimes(uint32[] times, uint32[] values) public onlyOwner {
        require(times.length == values.length);
        for (uint i = 0; i + 1 < times.length; i++) {
            require(times[i] < times[i+1]);
        }

        BONUS_TIMES = times;
        BONUS_TIMES_VALUES = values;
    }

    /**
    * @dev Retrieve length of bonuses by amounts array
    * @return Bonuses by amounts array length
    */
    function bonusesForAmountsCount() public constant returns(uint) {
        return BONUS_AMOUNTS.length;
    }

    /**
    * @dev Sets bonuses for USD amounts
    */
    function setBonusesForAmounts(uint32[] amounts, uint32[] values) public onlyOwner {
        require(amounts.length == values.length);
        for (uint i = 0; i + 1 < amounts.length; i++) {
            require(amounts[i] > amounts[i+1]);
        }

        BONUS_AMOUNTS = amounts;
        BONUS_AMOUNTS_VALUES = values;
    }

    /**
    * @dev Overrided buyTokens method of parent Crowdsale contract  to provide bonus by changing and restoring rate variable
    * @param beneficiary walelt of investor to receive tokens
    */
    function buyTokens(address beneficiary) public payable {
        // Compute usd amount = wei * catsInEth * usdcentsInCat / usdcentsPerUsd / weisPerEth
        uint256 usdValue = msg.value.mul(rate).mul(tokenPriceInCents).div(100).div(1 ether); 
        
        // Compute time and amount bonus
        uint256 bonus = computeBonus(usdValue);

        // Apply bonus by adjusting and restoring rate member
        uint256 oldRate = rate;
        rate = rate.mul(BONUS_COEFF.add(bonus)).div(BONUS_COEFF);
        super.buyTokens(beneficiary);
        rate = oldRate;
    }

    /**
    * @dev Computes overall bonus based on time of contribution and amount of contribution. 
    * The total bonus is the sum of bonus by time and bonus by amount
    * @return bonus percentage scaled by 10
    */
    function computeBonus(uint256 usdValue) public constant returns(uint256) {
        return computeAmountBonus(usdValue).add(computeTimeBonus());
    }

    /**
    * @dev Computes bonus based on time of contribution relative to the beginning of crowdsale
    * @return bonus percentage scaled by 10
    */
    function computeTimeBonus() public constant returns(uint256) {
        require(now >= startTime);

        for (uint i = 0; i < BONUS_TIMES.length; i++) {
            if (now.sub(startTime) <= BONUS_TIMES[i]) {
                return BONUS_TIMES_VALUES[i];
            }
        }

        return 0;
    }

    /**
    * @dev Computes bonus based on amount of contribution
    * @return bonus percentage scaled by 10
    */
    function computeAmountBonus(uint256 usdValue) public constant returns(uint256) {
        for (uint i = 0; i < BONUS_AMOUNTS.length; i++) {
            if (usdValue >= BONUS_AMOUNTS[i]) {
                return BONUS_AMOUNTS_VALUES[i];
            }
        }

        return 0;
    }

}



/**
* @dev Parent crowdsale contract is extended with support for cap in tokens
* Based on references from OpenZeppelin: https://github.com/OpenZeppelin/zeppelin-solidity
* 
*/
contract TokensCappedCrowdsale is Crowdsale {

    uint256 public tokensCap;

    function TokensCappedCrowdsale(uint256 _tokensCap) public {
        tokensCap = _tokensCap;
    }

    // overriding Crowdsale#validPurchase to add extra tokens cap logic
    // @return true if investors can buy at the moment
    function validPurchase() internal constant returns(bool) {
        uint256 tokens = token.totalSupply().add(msg.value.mul(rate));
        bool withinCap = tokens <= tokensCap;
        return super.validPurchase() && withinCap;
    }

    // overriding Crowdsale#hasEnded to add tokens cap logic
    // @return true if crowdsale event has ended
    function hasEnded() public constant returns(bool) {
        bool capReached = token.totalSupply() >= tokensCap;
        return super.hasEnded() || capReached;
    }

}

/**
 * @title FinalizableCrowdsale
 * @dev Extension of Crowdsale where an owner can do extra work
 * after finishing.
 */
contract FinalizableCrowdsale is Crowdsale, Ownable {
  using SafeMath for uint256;

  bool public isFinalized = false;

  event Finalized();

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

    finalization();
    Finalized();

    isFinalized = true;
  }

  /**
   * @dev Can be overridden to add finalization logic. The overriding function
   * should call super.finalization() to ensure the chain of finalization is
   * executed entirely.
   */
  function finalization() internal {
    isFinalized = isFinalized;
  }
}


   /**
   * @dev Main BitCalve Crowdsale contract. 
   * Based on references from OpenZeppelin: https://github.com/OpenZeppelin/zeppelin-solidity
   * 
   */
contract CATCrowdsale is FinalizableCrowdsale, TokensCappedCrowdsale(CATCrowdsale.CAP), PausableCrowdsale(true), BonusCrowdsale(CATCrowdsale.TOKEN_USDCENT_PRICE) {

    // Constants
    uint256 public constant DECIMALS = 18;
    uint256 public constant CAP = 2 * (10**9) * (10**DECIMALS);              // 2B CAT
    uint256 public constant BITCLAVE_AMOUNT = 1 * (10**9) * (10**DECIMALS);  // 1B CAT
    uint256 public constant TOKEN_USDCENT_PRICE = 10;                        // $0.10

    // Variables
    address public remainingTokensWallet;
    address public presaleWallet;

    /**
    * @dev Sets CAT to Ether rate. Will be called multiple times durign the crowdsale to adjsut the rate
    * since CAT cost is fixed in USD, but USD/ETH rate is changing
    * @param _rate defines CAT/ETH rate: 1 ETH = _rate CATs
    */
    function setRate(uint256 _rate) external onlyOwner {
        require(_rate != 0x0);
        rate = _rate;
        RateChange(_rate);
    }

    /**
    * @dev Allows to adjust the crowdsale end time
    */
    function setEndTime(uint256 _endTime) external onlyOwner {
        require(!isFinalized);
        require(_endTime >= startTime);
        require(_endTime >= now);
        endTime = _endTime;
    }

    /**
    * @dev Sets the wallet to forward ETH collected funds
    */
    function setWallet(address _wallet) external onlyOwner {
        require(_wallet != 0x0);
        wallet = _wallet;
    }

    /**
    * @dev Sets the wallet to hold unsold tokens at the end of ICO
    */
    function setRemainingTokensWallet(address _remainingTokensWallet) external onlyOwner {
        require(_remainingTokensWallet != 0x0);
        remainingTokensWallet = _remainingTokensWallet;
    }

    // Events
    event RateChange(uint256 rate);

    /**
    * @dev Contructor
    * @param _startTime startTime of crowdsale
    * @param _endTime endTime of crowdsale
    * @param _rate CAT / ETH rate
    * @param _wallet wallet to forward the collected funds
    * @param _remainingTokensWallet wallet to hold the unsold tokens
    * @param _bitClaveWallet wallet to hold the initial 1B tokens of BitClave
    */
    function CATCrowdsale(
        uint256 _startTime,
        uint256 _endTime,
        uint256 _rate,
        address _wallet,
        address _remainingTokensWallet,
        address _bitClaveWallet
    ) public
        Crowdsale(_startTime, _endTime, _rate, _wallet)
    {
        remainingTokensWallet = _remainingTokensWallet;
        presaleWallet = this;

        // allocate tokens to BitClave
        mintTokens(_bitClaveWallet, BITCLAVE_AMOUNT);
    }

    // Overrided methods

    /**
    * @dev Creates token contract for ICO
    * @return ERC20 contract associated with the crowdsale
    */
    function createTokenContract() internal returns(MintableToken) {
        PreCAToken token = new PreCAToken();
        token.pause();
        return token;
    }

    /**
    * @dev Finalizes the crowdsale
    */
    function finalization() internal {
        super.finalization();

        // Mint tokens up to CAP
        if (token.totalSupply() < tokensCap) {
            uint tokens = tokensCap.sub(token.totalSupply());
            token.mint(remainingTokensWallet, tokens);
        }

        // disable minting of CATs
        token.finishMinting();

        // take onwership over CAToken contract
        token.transferOwnership(owner);
    }

    // Owner methods

    /**
    * @dev Helper to Pause CAToken
    */
    function pauseTokens() public onlyOwner {
        PreCAToken(token).pause();
    }

    /**
    * @dev Helper to UnPause CAToken
    */
    function unpauseTokens() public onlyOwner {
        PreCAToken(token).unpause();
    }

    /**
    * @dev Allocates tokens from preSale to a special wallet. Called once as part of crowdsale setup
    */
    function mintPresaleTokens(uint256 tokens) public onlyOwner {
        mintTokens(presaleWallet, tokens);
        presaleWallet = 0;
    }

    /**
    * @dev Transfer presaled tokens even on paused token contract
    */
    function transferPresaleTokens(address destination, uint256 amount) public onlyOwner {
        unpauseTokens();
        token.transfer(destination, amount);
        pauseTokens();
    }

    // 
    /**
    * @dev Allocates tokens for investors that contributed from website. These include
    * whitelisted investors and investors paying with BTC/QTUM/LTC
    */
    function mintTokens(address beneficiary, uint256 tokens) public onlyOwner {
        require(beneficiary != 0x0);
        require(tokens > 0);
        require(now <= endTime);                               // Crowdsale (without startTime check)
        require(!isFinalized);                                 // FinalizableCrowdsale
        require(token.totalSupply().add(tokens) <= tokensCap); // TokensCappedCrowdsale
        
        token.mint(beneficiary, tokens);
    }

}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"tokensCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_remainingTokensWallet","type":"address"}],"name":"setRemainingTokensWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"BONUS_AMOUNTS","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"times","type":"uint32[]"},{"name":"values","type":"uint32[]"}],"name":"setBonusesForTimes","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"BONUS_AMOUNTS_VALUES","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bonusesForTimesCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"presaleWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DECIMALS","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":false,"inputs":[{"name":"_rate","type":"uint256"}],"name":"setRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TOKEN_USDCENT_PRICE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finalize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bonusesForAmountsCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"BONUS_TIMES","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"usdValue","type":"uint256"}],"name":"computeBonus","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"remainingTokensWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"computeTimeBonus","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":"usdValue","type":"uint256"}],"name":"computeAmountBonus","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amounts","type":"uint32[]"},{"name":"values","type":"uint32[]"}],"name":"setBonusesForAmounts","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isFinalized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokens","type":"uint256"}],"name":"mintPresaleTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"destination","type":"address"},{"name":"amount","type":"uint256"}],"name":"transferPresaleTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpauseTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"BITCLAVE_AMOUNT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenPriceInCents","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_endTime","type":"uint256"}],"name":"setEndTime","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"BONUS_COEFF","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_wallet","type":"address"}],"name":"setWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"BONUS_TIMES_VALUES","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pauseTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"CAP","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":"beneficiary","type":"address"},{"name":"tokens","type":"uint256"}],"name":"mintTokens","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":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_startTime","type":"uint256"},{"name":"_endTime","type":"uint256"},{"name":"_rate","type":"uint256"},{"name":"_wallet","type":"address"},{"name":"_remainingTokensWallet","type":"address"},{"name":"_bitClaveWallet","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"rate","type":"uint256"}],"name":"RateChange","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[],"name":"Finalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"}]

  Contract Creation Code Switch To Opcodes View
60606040526006805460a060020a60ff02191690556008805460ff1916905534156200002a57600080fd5b60405160c08062003c0e8339810160405280805191906020018051919060200180519190602001805191906020018051919060200180519150600a905060016b06765c793fa10079d000000088888888428410156200008857600080fd5b838310156200009657600080fd5b60008211620000a457600080fd5b600160a060020a0381161515620000ba57600080fd5b620000d2640100000000620018c2620001a982021704565b60008054600160a060020a0319908116600160a060020a03938416179091556001959095556002939093556004919091556003805484169183169190911790556006805490921633909116179055600755801562000142576200014264010000000062000d156200024182021704565b50600d55600e8054600160a060020a03808516600160a060020a031992831617909255600f805430909316929091169190911790556200019d816b033b2e3c9fd0803ce8000000640100000000620010d2620002a982021704565b50505050505062000490565b600080620001b66200047f565b604051809103906000f0801515620001cd57600080fd5b905080600160a060020a0316638456cb596040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b15156200022657600080fd5b6102c65a03f115156200023857600080fd5b50919392505050565b60065433600160a060020a039081169116146200025d57600080fd5b60085460ff16156200026e57600080fd5b6008805460ff191660011790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b60065433600160a060020a03908116911614620002c557600080fd5b600160a060020a0382161515620002db57600080fd5b60008111620002e957600080fd5b600254421115620002f957600080fd5b60065474010000000000000000000000000000000000000000900460ff16156200032257600080fd5b60075460008054620003c0918491600160a060020a0316906318160ddd90604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156200038f57600080fd5b6102c65a03f11515620003a157600080fd5b5050506040518051919050640100000000620013266200046882021704565b1115620003cc57600080fd5b60008054600160a060020a0316906340c10f199084908490604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156200044857600080fd5b6102c65a03f115156200045a57600080fd5b505050604051805150505050565b6000828201838110156200047857fe5b9392505050565b604051610efb8062002d1383390190565b61287380620004a06000396000f3006060604052600436106102005763ffffffff60e060020a600035041663085ceb30811461020b578063143fb46d1461023057806319a1f5921461024f5780631d1eda5e1461027e5780631df0187b1461030d5780631e05e0c8146103235780631ed77dc8146103365780632c4e722e146103655780632e0f2625146103785780633197cbb61461038b57806334fcf4371461039e5780633f4ba83a146103b45780634042b66f146103c7578063416da702146103da5780634bb278f3146103ed578063521eb2731461040057806353da0c7e146104135780635750abfa146104265780635ac5f82c1461043c5780635c975abb14610452578063737aa5a01461047957806377c8d5a01461048c57806378e979251461049f578063816273f6146104b2578063835f6775146104c85780638456cb59146105575780638d4e40831461056a5780638da5cb5b1461057d5780638db8053b146105905780639b03a211146105a6578063a417357c146105c8578063b2a780e4146105db578063c7a1f221146105ee578063ccb98ffc14610601578063de0b5af214610617578063deaa59df1461062a578063e0f74cde14610649578063e5e231dd1461065f578063ec81b48314610672578063ec8ac4d814610685578063ecb70fb714610699578063f0dda65c146106ac578063f2fde38b146106ce578063fc0c546a146106ed575b61020933610700565b005b341561021657600080fd5b61021e610798565b60405190815260200160405180910390f35b341561023b57600080fd5b610209600160a060020a036004351661079e565b341561025a57600080fd5b6102656004356107fd565b60405163ffffffff909116815260200160405180910390f35b341561028957600080fd5b61020960046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284375094965061083595505050505050565b341561031857600080fd5b6102656004356108eb565b341561032e57600080fd5b61021e6108f9565b341561034157600080fd5b610349610900565b604051600160a060020a03909116815260200160405180910390f35b341561037057600080fd5b61021e61090f565b341561038357600080fd5b61021e610915565b341561039657600080fd5b61021e61091a565b34156103a957600080fd5b610209600435610920565b34156103bf57600080fd5b610209610982565b34156103d257600080fd5b61021e6109e6565b34156103e557600080fd5b61021e6109ec565b34156103f857600080fd5b6102096109f1565b341561040b57600080fd5b610349610a90565b341561041e57600080fd5b61021e610a9f565b341561043157600080fd5b610265600435610aa5565b341561044757600080fd5b61021e600435610ab3565b341561045d57600080fd5b610465610adb565b604051901515815260200160405180910390f35b341561048457600080fd5b610349610ae4565b341561049757600080fd5b61021e610af3565b34156104aa57600080fd5b61021e610bbb565b34156104bd57600080fd5b61021e600435610bc1565b34156104d357600080fd5b610209600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843750949650610c6595505050505050565b341561056257600080fd5b610209610d15565b341561057557600080fd5b610465610d7b565b341561058857600080fd5b610349610d8b565b341561059b57600080fd5b610209600435610d9a565b34156105b157600080fd5b610209600160a060020a0360043516602435610deb565b34156105d357600080fd5b610209610e98565b34156105e657600080fd5b61021e610f08565b34156105f957600080fd5b61021e610f18565b341561060c57600080fd5b610209600435610f1e565b341561062257600080fd5b61021e610f71565b341561063557600080fd5b610209600160a060020a0360043516610f77565b341561065457600080fd5b610265600435610fd6565b341561066a57600080fd5b610209610fe4565b341561067d57600080fd5b61021e61103e565b610209600160a060020a0360043516610700565b34156106a457600080fd5b61046561104e565b34156106b757600080fd5b610209600160a060020a03600435166024356110d2565b34156106d957600080fd5b610209600160a060020a036004351661123a565b34156106f857600080fd5b6103496112d5565b6000806000610749670de0b6b3a764000061073d606461073d600d54610731600454346112e490919063ffffffff16565b9063ffffffff6112e416565b9063ffffffff61130f16565b925061075483610ab3565b60045490925090506107846103e861073d610775828663ffffffff61132616565b6004549063ffffffff6112e416565b60045561079084611335565b600455505050565b60075481565b60065433600160a060020a039081169116146107b957600080fd5b600160a060020a03811615156107ce57600080fd5b600e805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600b80548290811061080b57fe5b9060005260206000209060089182820401919006600402915054906101000a900463ffffffff1681565b60065460009033600160a060020a0390811691161461085357600080fd5b815183511461086157600080fd5b5060005b82518160010110156108be5782816001018151811061088057fe5b9060200190602002015163ffffffff1683828151811061089c57fe5b9060200190602002015163ffffffff16106108b657600080fd5b600101610865565b60098380516108d19291602001906117fc565b50600a8280516108e59291602001906117fc565b50505050565b600c80548290811061080b57fe5b6009545b90565b600f54600160a060020a031681565b60045481565b601281565b60025481565b60065433600160a060020a0390811691161461093b57600080fd5b80151561094757600080fd5b60048190557f0b6eb270e68ec2b65cffce354325dcd6cb2449e0e8fec1184cd58da0c7b0344b8160405190815260200160405180910390a150565b60065433600160a060020a0390811691161461099d57600080fd5b60085460ff1615156109ae57600080fd5b6008805460ff191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60055481565b600a81565b60065433600160a060020a03908116911614610a0c57600080fd5b60065460a060020a900460ff1615610a2357600080fd5b610a2b61104e565b1515610a3657600080fd5b610a3e611464565b7f6823b073d48d6e3a7d385eeb601452d680e74bb46afe3255a7d778f3a9b1768160405160405180910390a16006805474ff0000000000000000000000000000000000000000191660a060020a179055565b600354600160a060020a031681565b600b5490565b600980548290811061080b57fe5b6000610ad5610ac0610af3565b610ac984610bc1565b9063ffffffff61132616565b92915050565b60085460ff1681565b600e54600160a060020a031681565b6000806001544210151515610b0757600080fd5b5060005b600954811015610bb2576009805482908110610b2357fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1663ffffffff16610b64600154426116a690919063ffffffff16565b11610baa57600a805482908110610b7757fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1663ffffffff169150610bb7565b600101610b0b565b600091505b5090565b60015481565b6000805b600b54811015610c5a57600b805482908110610bdd57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1663ffffffff1683101515610c5257600c805482908110610c1f57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1663ffffffff169150610c5f565b600101610bc5565b600091505b50919050565b60065460009033600160a060020a03908116911614610c8357600080fd5b8151835114610c9157600080fd5b5060005b8251816001011015610cee57828160010181518110610cb057fe5b9060200190602002015163ffffffff16838281518110610ccc57fe5b9060200190602002015163ffffffff1611610ce657600080fd5b600101610c95565b600b838051610d019291602001906117fc565b50600c8280516108e59291602001906117fc565b60065433600160a060020a03908116911614610d3057600080fd5b60085460ff1615610d4057600080fd5b6008805460ff191660011790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b60065460a060020a900460ff1681565b600654600160a060020a031681565b60065433600160a060020a03908116911614610db557600080fd5b600f54610dcb90600160a060020a0316826110d2565b50600f805473ffffffffffffffffffffffffffffffffffffffff19169055565b60065433600160a060020a03908116911614610e0657600080fd5b610e0e610e98565b60008054600160a060020a03169063a9059cbb90849084906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610e7057600080fd5b6102c65a03f11515610e8157600080fd5b5050506040518051905050610e94610fe4565b5050565b60065433600160a060020a03908116911614610eb357600080fd5b600054600160a060020a0316633f4ba83a6040518163ffffffff1660e060020a028152600401600060405180830381600087803b1515610ef257600080fd5b6102c65a03f11515610f0357600080fd5b505050565b6b033b2e3c9fd0803ce800000081565b600d5481565b60065433600160a060020a03908116911614610f3957600080fd5b60065460a060020a900460ff1615610f5057600080fd5b600154811015610f5f57600080fd5b42811015610f6c57600080fd5b600255565b6103e881565b60065433600160a060020a03908116911614610f9257600080fd5b600160a060020a0381161515610fa757600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600a80548290811061080b57fe5b60065433600160a060020a03908116911614610fff57600080fd5b600054600160a060020a0316638456cb596040518163ffffffff1660e060020a028152600401600060405180830381600087803b1515610ef257600080fd5b6b06765c793fa10079d000000081565b6007546000805490918291600160a060020a03166318160ddd83604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561109d57600080fd5b6102c65a03f115156110ae57600080fd5b50505060405180519050101590506110c46116b8565b806110cc5750805b91505090565b60065433600160a060020a039081169116146110ed57600080fd5b600160a060020a038216151561110257600080fd5b6000811161110f57600080fd5b60025442111561111e57600080fd5b60065460a060020a900460ff161561113557600080fd5b600754600080546111ae918491600160a060020a0316906318160ddd90604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561118757600080fd5b6102c65a03f1151561119857600080fd5b505050604051805191905063ffffffff61132616565b11156111b957600080fd5b60008054600160a060020a0316906340c10f1990849084906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561121b57600080fd5b6102c65a03f1151561122c57600080fd5b505050604051805150505050565b60065433600160a060020a0390811691161461125557600080fd5b600160a060020a038116151561126a57600080fd5b600654600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a031681565b600082820283158061130057508284828115156112fd57fe5b04145b151561130857fe5b9392505050565b600080828481151561131d57fe5b04949350505050565b60008282018381101561130857fe5b600080600160a060020a038316151561134d57600080fd5b6113556116c0565b151561136057600080fd5b60045434925061137790839063ffffffff6112e416565b60055490915061138d908363ffffffff61132616565b60055560008054600160a060020a0316906340c10f1990859084906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156113f257600080fd5b6102c65a03f1151561140357600080fd5b505050604051805190505082600160a060020a031633600160a060020a03167f623b3804fa71d67900d064613da8f94b9617215ee90799290593e1745087ad18848460405191825260208201526040908101905180910390a3610f036116de565b600061146e611714565b60075460008054600160a060020a0316906318160ddd90604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156114ba57600080fd5b6102c65a03f115156114cb57600080fd5b5050506040518051905010156115da576000805461155391600160a060020a03909116906318160ddd90604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561152a57600080fd5b6102c65a03f1151561153b57600080fd5b5050506040518051600754915063ffffffff6116a616565b60008054600e54929350600160a060020a03908116926340c10f199291169084906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156115be57600080fd5b6102c65a03f115156115cf57600080fd5b505050604051805150505b60008054600160a060020a031690637d64bcb490604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561162357600080fd5b6102c65a03f1151561163457600080fd5b50505060405180515050600054600654600160a060020a039182169163f2fde38b911660405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561169557600080fd5b6102c65a03f115156108e557600080fd5b6000828211156116b257fe5b50900390565b600254421190565b60006116ca611747565b80156116d9575060085460ff16155b905090565b600354600160a060020a03163480156108fc0290604051600060405180830381858888f19350505050151561171257600080fd5b565b6006805474ff000000000000000000000000000000000000000019811660a060020a9182900460ff161515909102179055565b60008060006117ad611764600454346112e490919063ffffffff16565b60008054600160a060020a0316906318160ddd90604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561118757600080fd5b915060075482111590506117bf6117cf565b80156117c85750805b9250505090565b600080600060015442101580156117e857506002544211155b9150503415158180156117c8575092915050565b8280548282559060005260206000209060070160089004810192821561189b5791602002820160005b8382111561186957835183826101000a81548163ffffffff021916908363ffffffff1602179055509260200192600401602081600301049283019260010302611825565b80156118995782816101000a81549063ffffffff0219169055600401602081600301049283019260010302611869565b505b50610bb7926108fd9250905b80821115610bb757805463ffffffff191681556001016118a7565b6000806118cd61193c565b604051809103906000f08015156118e357600080fd5b905080600160a060020a0316638456cb596040518163ffffffff1660e060020a028152600401600060405180830381600087803b151561192257600080fd5b6102c65a03f1151561193357600080fd5b50919392505050565b604051610efb8061194d833901905600606060405260038054600160b060020a03191633600160a060020a0316179055610ecd8061002e6000396000f3006060604052600436106101275763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461012c57806306fdde0314610153578063095ea7b3146101dd57806318160ddd146101ff57806323b872dd14610224578063313ce5671461024c5780633f4ba83a1461027557806340c10f191461028a57806354fd4d50146102ac5780635c975abb146102bf57806366188463146102d257806370a08231146102f45780637d64bcb41461031357806383197ef0146103265780638456cb59146103395780638da5cb5b1461034c57806395d89b411461037b578063a9059cbb1461038e578063d73dd623146103b0578063dd62ed3e146103d2578063f2fde38b146103f7578063f5074f4114610416575b600080fd5b341561013757600080fd5b61013f610435565b604051901515815260200160405180910390f35b341561015e57600080fd5b610166610445565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101a257808201518382015260200161018a565b50505050905090810190601f1680156101cf5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101e857600080fd5b61013f600160a060020a03600435166024356104a5565b341561020a57600080fd5b6102126104d0565b60405190815260200160405180910390f35b341561022f57600080fd5b61013f600160a060020a03600435811690602435166044356104d6565b341561025757600080fd5b61025f610503565b60405160ff909116815260200160405180910390f35b341561028057600080fd5b610288610508565b005b341561029557600080fd5b61013f600160a060020a0360043516602435610588565b34156102b757600080fd5b610166610695565b34156102ca57600080fd5b61013f6106cc565b34156102dd57600080fd5b61013f600160a060020a03600435166024356106dc565b34156102ff57600080fd5b610212600160a060020a0360043516610700565b341561031e57600080fd5b61013f61071b565b341561033157600080fd5b61028861075d565b341561034457600080fd5b61028861079a565b341561035757600080fd5b61035f61081f565b604051600160a060020a03909116815260200160405180910390f35b341561038657600080fd5b61016661082e565b341561039957600080fd5b61013f600160a060020a0360043516602435610865565b34156103bb57600080fd5b61013f600160a060020a0360043516602435610889565b34156103dd57600080fd5b610212600160a060020a03600435811690602435166108ad565b341561040257600080fd5b610288600160a060020a03600435166108d8565b341561042157600080fd5b610288600160a060020a0360043516610973565b60035460a060020a900460ff1681565b606060405190810160405280602281526020017f426974436c617665202d20436f6e73756d657220416374697669747920546f6b81526020017f656e00000000000000000000000000000000000000000000000000000000000081525081565b60035460009060a860020a900460ff16156104bf57600080fd5b6104c983836109b2565b9392505050565b60005481565b60035460009060a860020a900460ff16156104f057600080fd5b6104fb848484610a1e565b949350505050565b601281565b60035433600160a060020a0390811691161461052357600080fd5b60035460a860020a900460ff16151561053b57600080fd5b6003805475ff000000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60035460009033600160a060020a039081169116146105a657600080fd5b60035460a060020a900460ff16156105bd57600080fd5b6000546105d0908363ffffffff610b4816565b6000908155600160a060020a0384168152600160205260409020546105fb908363ffffffff610b4816565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a282600160a060020a031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b60408051908101604052600381527f312e310000000000000000000000000000000000000000000000000000000000602082015281565b60035460a860020a900460ff1681565b60035460009060a860020a900460ff16156106f657600080fd5b6104c98383610b57565b600160a060020a031660009081526001602052604090205490565b60035460009033600160a060020a0390811691161461073957600080fd5b60035460a060020a900460ff161561075057600080fd5b610758610c51565b905090565b60035433600160a060020a0390811691161461077857600080fd5b60035460a060020a900460ff16151561079057600080fd5b610798610cc5565b565b60035433600160a060020a039081169116146107b557600080fd5b60035460a860020a900460ff16156107cc57600080fd5b6003805475ff000000000000000000000000000000000000000000191660a860020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600354600160a060020a031681565b60408051908101604052600381527f4341540000000000000000000000000000000000000000000000000000000000602082015281565b60035460009060a860020a900460ff161561087f57600080fd5b6104c98383610cee565b60035460009060a860020a900460ff16156108a357600080fd5b6104c98383610dc4565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a039081169116146108f357600080fd5b600160a060020a038116151561090857600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60035433600160a060020a0390811691161461098e57600080fd5b60035460a060020a900460ff1615156109a657600080fd5b6109af81610e68565b50565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b600080600160a060020a0384161515610a3657600080fd5b50600160a060020a03808516600081815260026020908152604080832033909516835293815283822054928252600190529190912054610a7c908463ffffffff610e8f16565b600160a060020a038087166000908152600160205260408082209390935590861681522054610ab1908463ffffffff610b4816565b600160a060020a038516600090815260016020526040902055610ada818463ffffffff610e8f16565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3506001949350505050565b6000828201838110156104c957fe5b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115610bb457600160a060020a033381166000908152600260209081526040808320938816835292905290812055610beb565b610bc4818463ffffffff610e8f16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b60035460009033600160a060020a03908116911614610c6f57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60035433600160a060020a03908116911614610ce057600080fd5b600354600160a060020a0316ff5b6000600160a060020a0383161515610d0557600080fd5b600160a060020a033316600090815260016020526040902054610d2e908363ffffffff610e8f16565b600160a060020a033381166000908152600160205260408082209390935590851681522054610d63908363ffffffff610b4816565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610dfc908363ffffffff610b4816565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b60035433600160a060020a03908116911614610e8357600080fd5b80600160a060020a0316ff5b600082821115610e9b57fe5b509003905600a165627a7a7230582007a8687b0129ce616175a75e2cafdbe906783699e195b214b04f2bd6765b98cf0029a165627a7a72305820282ad06cbe4ff3852bb5afb7696febc7318437763fab7b13eb97a1696d67fc4e0029606060405260038054600160b060020a03191633600160a060020a0316179055610ecd8061002e6000396000f3006060604052600436106101275763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461012c57806306fdde0314610153578063095ea7b3146101dd57806318160ddd146101ff57806323b872dd14610224578063313ce5671461024c5780633f4ba83a1461027557806340c10f191461028a57806354fd4d50146102ac5780635c975abb146102bf57806366188463146102d257806370a08231146102f45780637d64bcb41461031357806383197ef0146103265780638456cb59146103395780638da5cb5b1461034c57806395d89b411461037b578063a9059cbb1461038e578063d73dd623146103b0578063dd62ed3e146103d2578063f2fde38b146103f7578063f5074f4114610416575b600080fd5b341561013757600080fd5b61013f610435565b604051901515815260200160405180910390f35b341561015e57600080fd5b610166610445565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101a257808201518382015260200161018a565b50505050905090810190601f1680156101cf5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101e857600080fd5b61013f600160a060020a03600435166024356104a5565b341561020a57600080fd5b6102126104d0565b60405190815260200160405180910390f35b341561022f57600080fd5b61013f600160a060020a03600435811690602435166044356104d6565b341561025757600080fd5b61025f610503565b60405160ff909116815260200160405180910390f35b341561028057600080fd5b610288610508565b005b341561029557600080fd5b61013f600160a060020a0360043516602435610588565b34156102b757600080fd5b610166610695565b34156102ca57600080fd5b61013f6106cc565b34156102dd57600080fd5b61013f600160a060020a03600435166024356106dc565b34156102ff57600080fd5b610212600160a060020a0360043516610700565b341561031e57600080fd5b61013f61071b565b341561033157600080fd5b61028861075d565b341561034457600080fd5b61028861079a565b341561035757600080fd5b61035f61081f565b604051600160a060020a03909116815260200160405180910390f35b341561038657600080fd5b61016661082e565b341561039957600080fd5b61013f600160a060020a0360043516602435610865565b34156103bb57600080fd5b61013f600160a060020a0360043516602435610889565b34156103dd57600080fd5b610212600160a060020a03600435811690602435166108ad565b341561040257600080fd5b610288600160a060020a03600435166108d8565b341561042157600080fd5b610288600160a060020a0360043516610973565b60035460a060020a900460ff1681565b606060405190810160405280602281526020017f426974436c617665202d20436f6e73756d657220416374697669747920546f6b81526020017f656e00000000000000000000000000000000000000000000000000000000000081525081565b60035460009060a860020a900460ff16156104bf57600080fd5b6104c983836109b2565b9392505050565b60005481565b60035460009060a860020a900460ff16156104f057600080fd5b6104fb848484610a1e565b949350505050565b601281565b60035433600160a060020a0390811691161461052357600080fd5b60035460a860020a900460ff16151561053b57600080fd5b6003805475ff000000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60035460009033600160a060020a039081169116146105a657600080fd5b60035460a060020a900460ff16156105bd57600080fd5b6000546105d0908363ffffffff610b4816565b6000908155600160a060020a0384168152600160205260409020546105fb908363ffffffff610b4816565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a282600160a060020a031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b60408051908101604052600381527f312e310000000000000000000000000000000000000000000000000000000000602082015281565b60035460a860020a900460ff1681565b60035460009060a860020a900460ff16156106f657600080fd5b6104c98383610b57565b600160a060020a031660009081526001602052604090205490565b60035460009033600160a060020a0390811691161461073957600080fd5b60035460a060020a900460ff161561075057600080fd5b610758610c51565b905090565b60035433600160a060020a0390811691161461077857600080fd5b60035460a060020a900460ff16151561079057600080fd5b610798610cc5565b565b60035433600160a060020a039081169116146107b557600080fd5b60035460a860020a900460ff16156107cc57600080fd5b6003805475ff000000000000000000000000000000000000000000191660a860020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600354600160a060020a031681565b60408051908101604052600381527f4341540000000000000000000000000000000000000000000000000000000000602082015281565b60035460009060a860020a900460ff161561087f57600080fd5b6104c98383610cee565b60035460009060a860020a900460ff16156108a357600080fd5b6104c98383610dc4565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a039081169116146108f357600080fd5b600160a060020a038116151561090857600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60035433600160a060020a0390811691161461098e57600080fd5b60035460a060020a900460ff1615156109a657600080fd5b6109af81610e68565b50565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b600080600160a060020a0384161515610a3657600080fd5b50600160a060020a03808516600081815260026020908152604080832033909516835293815283822054928252600190529190912054610a7c908463ffffffff610e8f16565b600160a060020a038087166000908152600160205260408082209390935590861681522054610ab1908463ffffffff610b4816565b600160a060020a038516600090815260016020526040902055610ada818463ffffffff610e8f16565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3506001949350505050565b6000828201838110156104c957fe5b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115610bb457600160a060020a033381166000908152600260209081526040808320938816835292905290812055610beb565b610bc4818463ffffffff610e8f16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b60035460009033600160a060020a03908116911614610c6f57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60035433600160a060020a03908116911614610ce057600080fd5b600354600160a060020a0316ff5b6000600160a060020a0383161515610d0557600080fd5b600160a060020a033316600090815260016020526040902054610d2e908363ffffffff610e8f16565b600160a060020a033381166000908152600160205260408082209390935590851681522054610d63908363ffffffff610b4816565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610dfc908363ffffffff610b4816565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b60035433600160a060020a03908116911614610e8357600080fd5b80600160a060020a0316ff5b600082821115610e9b57fe5b509003905600a165627a7a7230582007a8687b0129ce616175a75e2cafdbe906783699e195b214b04f2bd6765b98cf0029000000000000000000000000000000000000000000000000000000005a1ea140000000000000000000000000000000000000000000000000000000005a44dcc00000000000000000000000000000000000000000000000000000000000000e4c000000000000000000000000f96ecefe164131df465a959e5440417615462ab5000000000000000000000000049bcba70672076d038009bfe11c766f24542790000000000000000000000000f41cd44a43b1a548a804d7bc24bbafd3803424ad

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

-----Decoded View---------------
Found 6 constructor arguments :
Arg [0] : 000000000000000000000000000000000000000000000000000000005a1ea140
Arg [1] : 000000000000000000000000000000000000000000000000000000005a44dcc0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000e4c
Arg [3] : 000000000000000000000000f96ecefe164131df465a959e5440417615462ab5
Arg [4] : 000000000000000000000000049bcba70672076d038009bfe11c766f24542790
Arg [5] : 000000000000000000000000f41cd44a43b1a548a804d7bc24bbafd3803424ad


   Swarm Source:
bzzr://07a8687b0129ce616175a75e2cafdbe906783699e195b214b04f2bd6765b98cf

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.