false
false

Contract Address Details

0xED6aDb0d3340005C24B90B810b47bd8648e20199

Token
Crypto Lottery (CL)
Creator
0x71b966–9b0729 at 0xa3a796–8ae0f7
Balance
0 KCS ( )
Tokens
Fetching tokens...
Transactions
13 Transactions
Transfers
0 Transfers
Gas Used
2,466,260
Last Balance Update
38141578
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
CryptoLottery




Optimization enabled
true
Compiler version
v0.8.17+commit.8df45f5f




Optimization runs
200
Verified at
2022-11-21T18:21:32.866956Z

contracts/CryptoLottery.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./Lottery.sol";
import "./CrowdSale.sol";
import "./Lending.sol";

contract CryptoLottery is CrowdSale, Lending {
    /**
      Crypto Lottery 
      cryptolottery.top
    */
    
    uint private constant _ico_price = 2000000000000; // one token price
    uint private constant _ico_soft_cap = 1000 * 10 ** 18;
    uint private constant _interval = 86400;
    uint private constant _ticket_p = 100000000000000000;
    uint private constant _f = 20;
    uint private constant _ico_time = 86400 * 120;
    uint private constant _n_game_reward = 1000 * 10**18;
    uint private constant _ticket_p_cl = 10000 * 10**18;

    constructor() CrowdSale(
        _ico_price, 
        _interval, 
        _ticket_p, 
        _ticket_p_cl, 
        _f, 
        _ico_soft_cap, 
        _ico_time, 
        _n_game_reward
        ) {}
} 
        

contracts/Context.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.17;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}
          

contracts/CrowdSale.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./Token.sol";
import "./Events.sol";
import "./Lottery.sol";

contract CrowdSale is Token, Events, Lottery {

   uint public tokenPrice;
   uint public softCap;
   uint public raisedAmount;
   uint public withdrawAmount;
   uint public time;

   CrowdSaleStatus public crowd_sale_status;

   enum CrowdSaleStatus {
        ON,
        OFF
   }

   constructor(uint _tokenPrice, uint _interval, uint _t_price, uint _ticket_p_cl, uint _f, uint _ico_soft_cap, uint _ico_time, uint _n_game_reward) Lottery(_interval, _t_price, _ticket_p_cl, _f, _n_game_reward) {
     tokenPrice = _tokenPrice;
     softCap = _ico_soft_cap;
     time = block.timestamp + _ico_time;
   }

   function deposit () external payable {
     require(crowd_sale_status == CrowdSaleStatus.ON, 'CrowdSale is closed');
     require(block.timestamp <= time, 'Time is over');

     raisedAmount += msg.value;

     uint tokens = msg.value / tokenPrice; // error.
     uint __tokens = tokens * 10 ** 18;
     _token_reward += __tokens * 3;

     _mint(msg.sender, __tokens);
     emit DepositEvent(msg.value, __tokens);
   }

   function winthdraw (uint amount) external onlyOwner {
     require(withdrawAmount + amount <= raisedAmount, 'Contract is empty');
     
     withdrawAmount += amount;

     _lottery_owner.transfer(amount);

     emit WithdrawEvent(amount);
   }

   function turnOn() external onlyOwner{
     crowd_sale_status = CrowdSaleStatus.ON; 
   }

   function turnOff() external onlyOwner {
     crowd_sale_status = CrowdSaleStatus.OFF; 
   }

   function changeTime(uint _time) external onlyOwner {
     time = block.timestamp + _time;
   }
}
          

contracts/ERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.17;

import "./IERC20.sol";
import "./IERC20Metadata.sol";
import "./Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}
          

contracts/ERC20Burnable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.17;

import "./ERC20.sol";
import "./Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}
          

contracts/Events.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

contract Events {
  event ClaimTicketRewardEvent(uint tier, bool free_ticket, uint token_reward, uint eth_reward );
  event DepositEvent(uint value, uint tokens);
  event WithdrawEvent(uint amount);
  event CreateRoundEvent(uint round, uint token_reward, address moderator, uint time);
  event BuyTicketEvent(uint number, address player, uint256[6] numbers, uint time);
  event BuyFreeTicketEvent(uint number, address player, uint256[6] numbers, uint time);
  event BuyCLTicketEvent(uint number, address player, uint256[6] numbers, uint time);
  event AddLengindEvent(address holder, uint amount, uint time);
  event RemoveLengindEvent(address holder, uint amount, uint reward, uint percent, uint _days, uint time);

}
          

contracts/IERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.17;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: 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
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}
          

contracts/IERC20Metadata.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.17;

import "./IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}
          

contracts/Lending.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./Events.sol";

contract Lending is Events {
    mapping(address => LendingStr) private _lending;

    LendingStatus public _lending_status = LendingStatus.Online;

    address _lending_owner = msg.sender;

    modifier _onlyOwner() {
        require(msg.sender == _lending_owner, "You are not an owner");
        _;
    }

    struct LendingStr {
        uint256 _lending_value;
        uint256 _lending_timestamp;
    }

    enum LendingStatus {
        Offline,
        Online
    }

    uint256 public _lending_all;

    uint256 public percentMin = 50; 
                                    //0.00005% min

    function addLending() external payable {
        require(_lending[msg.sender]._lending_value == 0, "No Zero funds");
        require(_lending[msg.sender]._lending_timestamp == 0, "No Zero time");
        require(_lending_status == LendingStatus.Online, "Lending is offline");

        _lending[msg.sender]._lending_value += msg.value;
        _lending[msg.sender]._lending_timestamp = block.timestamp;
        _lending_all += msg.value;

        emit AddLengindEvent(msg.sender, msg.value, block.timestamp);
    }

    function removeLending() external {
        require(_lending[msg.sender]._lending_value > 0, "Zero funds");
        require(_lending[msg.sender]._lending_timestamp > 0, "Zero time");

        uint256 _amount = _lending[msg.sender]._lending_value;
        uint256 __time = _lending[msg.sender]._lending_timestamp;

        _lending[msg.sender]._lending_value = 0;
        _lending[msg.sender]._lending_timestamp = 0;
        _lending_all -= _amount;

        uint256 _time = block.timestamp - __time;
        uint256 _mins = _time / 60;
        uint256 _reward_percent = percentMin * _mins; //
        uint256 _reward = (_amount * _reward_percent) / 100000000;

        payable(msg.sender).transfer(_amount + _reward);

        emit RemoveLengindEvent(
            msg.sender,
            _amount,
            _reward,
            _reward_percent,
            _mins,
            block.timestamp
        );
    }

    function lendOff(bool status) external _onlyOwner {
        if (status) {
            _lending_status = LendingStatus.Offline;
        } else {
            _lending_status = LendingStatus.Online;
        }
    }

    function changePercentDay(uint256 _percentMin) external _onlyOwner {
        require(_percentMin < 150, "Too much");
        percentMin = percentMin;
    }

    function returnUserLending(address user)
        external
        view
        returns (uint256 _lending_value, uint256 _lending_timestamp)
    {
        return (
            _lending[user]._lending_value,
            _lending[user]._lending_timestamp
        );
    }
}
          

contracts/Lottery.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./Token.sol";
import "./Events.sol";

contract Lottery is Token, Events {
    uint256 public _round_interval;
    uint256 public _ticket_price;
    uint256 public _ticket_price_cl;
    uint256 public _fee;
    uint256 public _fee_value;
    uint256 public _token_reward;
    uint256 public _purchased_tickets;
    uint256 public _purchased_free_tickets;
    uint256 public _all_eth_reward;
    uint[12] public _tiers;
    uint[3] public _percent;
    uint public _promotion_money;
    uint256 private _secret_key;
    uint256 public _next_game_reward;
    address payable public _lottery_owner;
    
    modifier onlyOwner {
      require(msg.sender == _lottery_owner, "You are not an owner");
      _;
    }
   
    enum RoundStatus {
        End,
        Start
    }

    mapping(address => TicketRef[]) private _tickets_ref;
    mapping(address => uint256) private _free_tickets;

    Round[] public _rounds;
    Ticket[] public _tickets;

    constructor(
        uint256 round_interval,
        uint256 ticket_price,
        uint256 ticket_price_cl,
        uint256 fee,
        uint256 next_game_reward
    ) {
        _round_interval = round_interval;
        _ticket_price = ticket_price;
        _ticket_price_cl = ticket_price_cl;
        _fee = fee;
        _lottery_owner = payable(msg.sender);
        _percent[0] = 3;
        _percent[1] = 10;
        _percent[2] = 30;
        _next_game_reward = next_game_reward;
    }

    struct Round {
        uint256 startTime;
        uint256 endTime;
        RoundStatus status;
        uint256[] win;
        uint256 number;
        uint tickets;
    }

    struct TicketRef {
        uint256 round;
        uint256 number;
    }

    struct Ticket {
        address owner;
        uint256[6] numbers;
        uint256 win_count;
        bool win_last_digit;
        uint256 eth_reward;
        uint256 token_reward;
        bool free_ticket;
        uint256 round;
        uint256 number;
        bool paid;
        uint256 time;
        uint256 tier;
    }

    function createRound() internal {
        if (
            _rounds.length > 0 &&
            _rounds[_rounds.length - 1].status != RoundStatus.End
        ) {
            revert("Error: the last round in progress");
        }

        uint256[] memory win;

        Round memory round = Round(
            block.timestamp,
            block.timestamp + _round_interval,
            RoundStatus.Start,
            win,
            _rounds.length,
            0
        );

        _rounds.push(round);

        _mint(msg.sender, _next_game_reward);

        _token_reward += _next_game_reward;

        emit CreateRoundEvent(
            _rounds.length, 
            _next_game_reward, 
            msg.sender, 
            block.timestamp
        );
    }

    function buyTicket(uint256[6] memory _numbers) external payable {
        require(_ticket_price == msg.value, "not valid value");
        require(
            _rounds[_rounds.length - 1].status == RoundStatus.Start,
            "Error: the last round ended"
        );

        Ticket memory ticket = Ticket(
            msg.sender,
            _numbers,
            0,
            false,
            0,
            0,
            false,
            _rounds.length - 1,
            _tickets.length,
            false,
            block.timestamp,
            0
        );

        TicketRef memory ticket_ref = TicketRef(
            _rounds.length - 1,
            _tickets.length
        );

        _rounds[_rounds.length - 1].tickets += 1;
        _purchased_tickets += 1;

        _tickets.push(ticket);
        _tickets_ref[msg.sender].push(ticket_ref);

        _fee_value += (_fee * msg.value) / 100;

        emit BuyTicketEvent( 
            _tickets.length,
             msg.sender,
            _numbers,
            block.timestamp
        );

    }

    function buyFreeTicket(uint256[6] memory _numbers) external {
        require(_free_tickets[msg.sender] > 0, "You do not have a free ticket");
        require(
            _rounds[_rounds.length - 1].status == RoundStatus.Start,
            "Error: the last round ended"
        );

        Ticket memory ticket = Ticket(
            msg.sender,
            _numbers,
            0,
            false,
            0,
            0,
            false,
            _rounds.length - 1,
            _tickets.length,
            false,
            block.timestamp,
            0
        );

        TicketRef memory ticket_ref = TicketRef(
            _rounds.length - 1,
            _tickets.length
        );
        
        _tickets.push(ticket);
        _tickets_ref[msg.sender].push(ticket_ref);

        _rounds[_rounds.length - 1].tickets += 1;
        _purchased_free_tickets += 1;
        _free_tickets[msg.sender] -= 1;

        emit BuyFreeTicketEvent(
            _tickets.length,
             msg.sender,
            _numbers,
            block.timestamp
        );
    }

    function buyCLTicket(uint256[6] memory _numbers) external {

        require(
            _rounds[_rounds.length - 1].status == RoundStatus.Start,
            "Error: the last round ended"
        );

        _burn(msg.sender, _ticket_price_cl);

        Ticket memory ticket = Ticket(
            msg.sender,
            _numbers,
            0,
            false,
            0,
            0,
            false,
            _rounds.length - 1,
            _tickets.length,
            false,
            block.timestamp,
            0
        );

        TicketRef memory ticket_ref = TicketRef(
            _rounds.length - 1,
            _tickets.length
        );
        
        _tickets.push(ticket);
        _tickets_ref[msg.sender].push(ticket_ref);

        _rounds[_rounds.length - 1].tickets += 1;
        _purchased_tickets += 1;

        emit BuyCLTicketEvent(
            _tickets.length,
             msg.sender,
            _numbers,
            block.timestamp
        );
    }

    function _random(uint256 key) internal view returns (uint256) {
        return
            uint256(
                keccak256(
                    abi.encodePacked(
                        key,
                        block.difficulty,
                        block.timestamp,
                        block.coinbase
                    )
                )
            );
    }

    function lastCombination() internal {
        if (_rounds[_rounds.length - 1].win.length == 0) {
            uint256[6] memory _cache;
            uint256 _num;

            for (uint256 i = 0; i < 6; i++) {
                if (i < 5) {
                    _secret_key += 1;
                    uint256 _number = _random(_secret_key) % 69;
                    _cache[i] = _number + 1;
                } else {
                    _secret_key += 1;
                    uint256 _number = _random(_secret_key) % 26;
                    _cache[i] = _number + 1;
                }
            }

            for (uint256 i = 0; i < _cache.length; i++) {
                for (uint256 z = 0; z < _cache.length; z++) {
                    if (_cache[i] == _cache[z]) {
                        _num += 1;
                    }
                }
            }

            if (_num > 6) {
                lastCombination();
            } else {
                _rounds[_rounds.length - 1].win = _cache;
            }
        } else {
            revert("Error: the win combination already exist");
        }
    }

    function closeRound() internal {
        if (_rounds[_rounds.length - 1].status == RoundStatus.End) {
            revert("The round end");
        }

        if (block.timestamp < _rounds[_rounds.length - 1].endTime) {
            revert("The round can't closed");
        }

        _rounds[_rounds.length - 1].status = RoundStatus.End;

        lastCombination();
    }
    
    function claimPay(uint256 number) internal {
        require(
            msg.sender == _tickets[number].owner,
            "You are not an owner"
        );
        require(
            _rounds[_tickets[number].round].status == RoundStatus.End,
            "The Round is in process"
        );

        require(_tickets[number].paid == false, "The Ticket was paid");

        _tickets[number].paid = true;

        if (_tickets[number].free_ticket) {
            _free_tickets[_tickets[number].owner] += 1;
        }
        if (_tickets[number].eth_reward > 0) {
            payable(_tickets[number].owner).transfer(
                _tickets[number].eth_reward
            );
        }

        if (_tickets[number].token_reward > 0) {
            _mint(
                _tickets[number].owner,
                _tickets[number].token_reward
            );
        }

        emit ClaimTicketRewardEvent(
            _tickets[number].tier,
            _tickets[number].free_ticket,
            _tickets[number].token_reward,
            _tickets[number].eth_reward
        );
    }

    function getTicketWinNumbers(uint256 number) internal {
        
        require(_tickets[number].win_count == 0, "Win numbers already exist");

        uint256[] memory _numbers = _rounds[_tickets[number].round].win;
        

        for (
            uint256 z = 0;
            z < _tickets[number].numbers.length;
            z++
        ) {
            for (uint256 y = 0; y < _numbers.length; y++) {
                if (_tickets[number].numbers[z] == _numbers[y]) {
                    _tickets[number].win_count += 1;

                    if (_numbers[y] == 6) {
                        _tickets[number].win_last_digit = true;
                    }
                }
            }
        }
    }

    function addTicketReward(uint number) internal {

      require(_tickets[number].tier == 0, "Already exist");

        /* 
      0 - free ticket + 250 CL
      1 - 500 CL
      
      0 + 1 - x2 + 1000 CL
      1 + 1 x2 + 2000 CL  
      2 - x2 + 2000 CL
      
      2 + 1 - x5 + 5000 CL
      3 - x10 + 10000 CL
      3 + 1 - x50  + 50000  CL
      4 + 0 - x100 + 100000 CL
       
      // jackpots
 
      4 + 1 - 2% of bank
      5 + 0 - 10% of bank
      5 + 1 - 30% of bank
 
     */

            if (_tickets[number].win_count == 0) {
                _tickets[number].token_reward = 250 * 10**18;
                _tickets[number].free_ticket = true;

                _token_reward += _tickets[number].token_reward;
                _tickets[number].tier = 1;
                _tiers[0] += 1;
            }

            if (
                _tickets[number].win_count == 1 &&
                _tickets[number].win_last_digit == false
            ) {
                _tickets[number].token_reward = 500 * 10**18;
                _token_reward += _tickets[number].token_reward;
                _tickets[number].tier = 2;
                _tiers[1] += 1;
            }

            if (
                _tickets[number].win_count == 1 &&
                _tickets[number].win_last_digit == true
            ) {
                _tickets[number].eth_reward = _ticket_price * 2;
                _tickets[number].token_reward = 1000 * 10**18;
                _token_reward += _tickets[number].token_reward;

                _all_eth_reward += _tickets[number].eth_reward;

                _tickets[number].tier = 3;

                _tiers[2] += 1;
            }

            if (
                _tickets[number].win_count == 2 &&
                _tickets[number].win_last_digit == false
            ) {
                _tickets[number].eth_reward = _ticket_price * 2;
                _tickets[number].token_reward = 2000 * 10**18;
                _token_reward += _tickets[number].token_reward;

                _all_eth_reward += _tickets[number].eth_reward;

                _tickets[number].tier = 4;

                _tiers[3] += 1;
            }

            if (
                _tickets[number].win_count == 2 &&
                _tickets[number].win_last_digit == true
            ) {
                _tickets[number].eth_reward = _ticket_price * 2;
                _tickets[number].token_reward = 2000 * 10**18;
                _token_reward += _tickets[number].token_reward;

                _all_eth_reward += _tickets[number].eth_reward;

                _tickets[number].tier = 5;

                _tiers[4] += 1;
            }

            if (
                _tickets[number].win_count == 3 &&
                _tickets[number].win_last_digit == true
            ) {
                _tickets[number].eth_reward = _ticket_price * 5;
                _tickets[number].token_reward = 5000 * 10**18;
                _token_reward += _tickets[number].token_reward;

                _all_eth_reward += _tickets[number].eth_reward;

                _tickets[number].tier = 6;

                _tiers[5] += 1;
            }

            if (
                _tickets[number].win_count == 3 &&
                _tickets[number].win_last_digit == false
            ) {
                _tickets[number].eth_reward = _ticket_price * 10;
                _tickets[number].token_reward = 10000 * 10**18;

                _token_reward += _tickets[number].token_reward;

                _all_eth_reward += _tickets[number].eth_reward;

                _tickets[number].tier = 7;

                _tiers[6] += 1;
            }

            if (
                _tickets[number].win_count == 4 &&
                _tickets[number].win_last_digit == true
            ) {
                _tickets[number].eth_reward = _ticket_price * 50;
                _tickets[number].token_reward = 50000 * 10**18;
                _token_reward += _tickets[number].token_reward;

                _all_eth_reward += _tickets[number].eth_reward;

                _tickets[number].tier = 8;

                _tiers[7] += 1;
            }

            if (
                _tickets[number].win_count == 4 &&
                _tickets[number].win_last_digit == false
            ) {
                _tickets[number].eth_reward =
                    _ticket_price *
                    100;
                _tickets[number].token_reward = 100000 * 10**18;

                _token_reward += _tickets[number].token_reward;

                _all_eth_reward += _tickets[number].eth_reward;

                _tickets[number].tier = 9;

                _tiers[8] += 1;
            }

            if (
                _tickets[number].win_count == 5 &&
                _tickets[number].win_last_digit == true
            ) {
                _tickets[number].eth_reward =
                    (_percent[0] * address(this).balance) /
                    100;

                _all_eth_reward += _tickets[number].eth_reward;

                _tickets[number].tier = 10;

                _tiers[9] += 1;
            }

            if (
                _tickets[number].win_count == 5 &&
                _tickets[number].win_last_digit == false
            ) {
                _tickets[number].eth_reward =
                    (_percent[1] * address(this).balance) /
                    100;

                _all_eth_reward += _tickets[number].eth_reward;

                _tickets[number].tier = 11;

                _tiers[10] += 1;
            }

            if (
                _tickets[number].win_count == 6 &&
                _tickets[number].win_last_digit == true
            ) {
                _tickets[number].eth_reward =
                    (_percent[2] * address(this).balance) /
                    100;

                _all_eth_reward += _tickets[number].eth_reward;

                _tickets[number].tier = 12;

                _tiers[11] += 1;
            }
        
    }

    function claimTicketReward (uint number) external {
        getTicketWinNumbers(number);
        addTicketReward(number);
        claimPay(number);
    } 

    function claimOwnerEthReward(uint number) external onlyOwner {
        require(_fee_value >= number, "not enough of eth");
        payable(_lottery_owner).transfer(_fee_value);
        _fee_value -= number;
    }

    function claimOwnerTokenReward(uint number) external onlyOwner {
        require(_token_reward >= number, "not enough of tokens");
        _mint(_lottery_owner, number);
        _token_reward -= number;
    }

    function getRoundsCount() external view returns (uint256) {
        return _rounds.length;
    }

    function getTicketsCount() external view returns (uint256) {
        return _tickets.length;
    }

    function getRoundTicketCount(uint round) external view returns (uint256) {
        return _rounds[round].tickets;
    }

    function getLastRoundTicketCount() external view returns (uint256) {
        return _rounds[_rounds.length - 1].tickets;
    }

    function getContractBalance() external view returns (uint256) {
        return address(this).balance;
    }

    function getWinnerTiers() external view returns (uint[12] memory winners) {
        return _tiers;
    }

    function getTicketRef(address user)
        external
        view
        returns (TicketRef[] memory ref)
    {
        TicketRef[] memory ref_ = new TicketRef[](_tickets_ref[user].length);

        for (uint256 i = 0; i < _tickets_ref[user].length; i++) {
            ref_[i] = _tickets_ref[user][i];
        }

        return ref_;
    }

    function getRoundById(uint256 id)
        external
        view
        returns (Round[] memory _round)
    {
        Round[] memory round = new Round[](1);
        round[0] = _rounds[id];
        return round;
    }

    function getLastRound() external view returns (Round[] memory _round) {
        Round[] memory round = new Round[](1);
        round[0] = _rounds[_rounds.length - 1];
        return round;
    }

    function getLastRounds(uint256 cursor, uint256 howMany)
        external
        view
        returns (
            Round[] memory rounds,
            uint256 oldCursor,
            uint256 newCursor,
            uint256 total
        )
    {
        uint256 length = howMany;
        uint256 _total = _rounds.length;
        if (length > _rounds.length - cursor) {
            length = _rounds.length - cursor;
        }
     
        Round[] memory __array = new Round[](length);

        for (uint256 i = 0; i < length; i++) {
            __array[i] = _rounds[_total - cursor - i - 1];
        }

        return (__array, cursor, cursor + length, _total);
    }

    function getLastTickets(uint256 cursor, uint256 howMany)
        external
        view
        returns (
            Ticket[] memory tickets,
            uint256 oldCursor,
            uint256 newCursor,
            uint256 total
        )
    {
        uint256 length = howMany;
        uint256 _total = _tickets.length;
        if (length > _tickets.length - cursor) {
            length = _tickets.length - cursor;
        }
        
        Ticket[] memory __array = new Ticket[](length);

        for (uint256 i = 0; i < length; i++) {
            __array[i] = _tickets[_total - cursor - i - 1];
        }

        return (__array, cursor, cursor + length, _total);
    }

    function getUserTickets(
        address user,
        uint256 cursor,
        uint256 howMany
    )
        external
        view
        returns (
            Ticket[] memory tickets,
            uint256 oldCursor,
            uint256 newCursor,
            uint256 total
        )
    {
        uint256 length = howMany;
        uint256 _total = _tickets_ref[user].length;
        if (length > _tickets_ref[user].length - cursor) {
            length = _tickets_ref[user].length - cursor;
        }

        Ticket[] memory __array = new Ticket[](length);

        for (uint256 i = 0; i < length; i++) {

            __array[i] = _tickets[_tickets_ref[user][_total - cursor - i - 1].number];
        }

        return (__array, cursor, cursor + length, _total);
    }

    function getUserFreeTicketsCount(address user)
        external
        view
        returns (uint256)
    {
        return _free_tickets[user];
    }


    function changeRoundInterval(uint256 interval) external onlyOwner {
        _round_interval = interval;
    }

    function changeTicketPrice(uint256 price) external onlyOwner {
        _ticket_price = price;
    }

    function changeTicketCLPrice(uint price) external onlyOwner{
        _ticket_price_cl = price;
    }

    function changeFee(uint256 fee) external onlyOwner {
        require(fee >= 1 && fee <= 20, "Error: Badly range");
        _fee = fee;
    }
    
    function changeReward(uint256 reward) external onlyOwner {
        _next_game_reward = reward;
    }

    function changePercent(uint256 _percent0, uint256 _percent1, uint256 _percent2) external onlyOwner {
        require(_percent0 >= 3, "Percent can't be less than");
        require(_percent1 >= 10, "Percent can't be less than");
        require(_percent2 >= 30, "Percent can't be less than");

        _percent[0] = _percent0;
        _percent[1] = _percent1;
        _percent[2] = _percent2;
    }

    function addPromoMoney() external payable onlyOwner {
        _promotion_money += msg.value;
    }

    function withdrawPromoMoney(uint value) external onlyOwner {
        require(_promotion_money >= value, "Not enough");
        payable(_lottery_owner).transfer(value);
        _promotion_money -= value;
    }

    function nextGame() external {
        if (_rounds.length > 0) {
            closeRound();
        }

        createRound();
    }

    receive() external payable {}
}
          

contracts/Token.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import "./ERC20.sol";
import "./ERC20Burnable.sol";

contract Token is ERC20, ERC20Burnable {
  constructor() ERC20("Crypto Lottery", "CL") {}
}
          

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"AddLengindEvent","inputs":[{"type":"address","name":"holder","internalType":"address","indexed":false},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"uint256","name":"time","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"BuyCLTicketEvent","inputs":[{"type":"uint256","name":"number","internalType":"uint256","indexed":false},{"type":"address","name":"player","internalType":"address","indexed":false},{"type":"uint256[6]","name":"numbers","internalType":"uint256[6]","indexed":false},{"type":"uint256","name":"time","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"BuyFreeTicketEvent","inputs":[{"type":"uint256","name":"number","internalType":"uint256","indexed":false},{"type":"address","name":"player","internalType":"address","indexed":false},{"type":"uint256[6]","name":"numbers","internalType":"uint256[6]","indexed":false},{"type":"uint256","name":"time","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"BuyTicketEvent","inputs":[{"type":"uint256","name":"number","internalType":"uint256","indexed":false},{"type":"address","name":"player","internalType":"address","indexed":false},{"type":"uint256[6]","name":"numbers","internalType":"uint256[6]","indexed":false},{"type":"uint256","name":"time","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"ClaimTicketRewardEvent","inputs":[{"type":"uint256","name":"tier","internalType":"uint256","indexed":false},{"type":"bool","name":"free_ticket","internalType":"bool","indexed":false},{"type":"uint256","name":"token_reward","internalType":"uint256","indexed":false},{"type":"uint256","name":"eth_reward","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"CreateRoundEvent","inputs":[{"type":"uint256","name":"round","internalType":"uint256","indexed":false},{"type":"uint256","name":"token_reward","internalType":"uint256","indexed":false},{"type":"address","name":"moderator","internalType":"address","indexed":false},{"type":"uint256","name":"time","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"DepositEvent","inputs":[{"type":"uint256","name":"value","internalType":"uint256","indexed":false},{"type":"uint256","name":"tokens","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"RemoveLengindEvent","inputs":[{"type":"address","name":"holder","internalType":"address","indexed":false},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"uint256","name":"reward","internalType":"uint256","indexed":false},{"type":"uint256","name":"percent","internalType":"uint256","indexed":false},{"type":"uint256","name":"_days","internalType":"uint256","indexed":false},{"type":"uint256","name":"time","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"WithdrawEvent","inputs":[{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_all_eth_reward","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_fee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_fee_value","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_lending_all","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"enum Lending.LendingStatus"}],"name":"_lending_status","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address payable"}],"name":"_lottery_owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_next_game_reward","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_percent","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_promotion_money","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_purchased_free_tickets","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_purchased_tickets","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_round_interval","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"startTime","internalType":"uint256"},{"type":"uint256","name":"endTime","internalType":"uint256"},{"type":"uint8","name":"status","internalType":"enum Lottery.RoundStatus"},{"type":"uint256","name":"number","internalType":"uint256"},{"type":"uint256","name":"tickets","internalType":"uint256"}],"name":"_rounds","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_ticket_price","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_ticket_price_cl","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"win_count","internalType":"uint256"},{"type":"bool","name":"win_last_digit","internalType":"bool"},{"type":"uint256","name":"eth_reward","internalType":"uint256"},{"type":"uint256","name":"token_reward","internalType":"uint256"},{"type":"bool","name":"free_ticket","internalType":"bool"},{"type":"uint256","name":"round","internalType":"uint256"},{"type":"uint256","name":"number","internalType":"uint256"},{"type":"bool","name":"paid","internalType":"bool"},{"type":"uint256","name":"time","internalType":"uint256"},{"type":"uint256","name":"tier","internalType":"uint256"}],"name":"_tickets","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_tiers","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_token_reward","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"addLending","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"addPromoMoney","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burnFrom","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"buyCLTicket","inputs":[{"type":"uint256[6]","name":"_numbers","internalType":"uint256[6]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"buyFreeTicket","inputs":[{"type":"uint256[6]","name":"_numbers","internalType":"uint256[6]"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"buyTicket","inputs":[{"type":"uint256[6]","name":"_numbers","internalType":"uint256[6]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeFee","inputs":[{"type":"uint256","name":"fee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changePercent","inputs":[{"type":"uint256","name":"_percent0","internalType":"uint256"},{"type":"uint256","name":"_percent1","internalType":"uint256"},{"type":"uint256","name":"_percent2","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changePercentDay","inputs":[{"type":"uint256","name":"_percentMin","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeReward","inputs":[{"type":"uint256","name":"reward","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeRoundInterval","inputs":[{"type":"uint256","name":"interval","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeTicketCLPrice","inputs":[{"type":"uint256","name":"price","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeTicketPrice","inputs":[{"type":"uint256","name":"price","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeTime","inputs":[{"type":"uint256","name":"_time","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claimOwnerEthReward","inputs":[{"type":"uint256","name":"number","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claimOwnerTokenReward","inputs":[{"type":"uint256","name":"number","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claimTicketReward","inputs":[{"type":"uint256","name":"number","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"enum CrowdSale.CrowdSaleStatus"}],"name":"crowd_sale_status","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"deposit","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getContractBalance","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"_round","internalType":"struct Lottery.Round[]","components":[{"type":"uint256","name":"startTime","internalType":"uint256"},{"type":"uint256","name":"endTime","internalType":"uint256"},{"type":"uint8","name":"status","internalType":"enum Lottery.RoundStatus"},{"type":"uint256[]","name":"win","internalType":"uint256[]"},{"type":"uint256","name":"number","internalType":"uint256"},{"type":"uint256","name":"tickets","internalType":"uint256"}]}],"name":"getLastRound","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLastRoundTicketCount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"rounds","internalType":"struct Lottery.Round[]","components":[{"type":"uint256","name":"startTime","internalType":"uint256"},{"type":"uint256","name":"endTime","internalType":"uint256"},{"type":"uint8","name":"status","internalType":"enum Lottery.RoundStatus"},{"type":"uint256[]","name":"win","internalType":"uint256[]"},{"type":"uint256","name":"number","internalType":"uint256"},{"type":"uint256","name":"tickets","internalType":"uint256"}]},{"type":"uint256","name":"oldCursor","internalType":"uint256"},{"type":"uint256","name":"newCursor","internalType":"uint256"},{"type":"uint256","name":"total","internalType":"uint256"}],"name":"getLastRounds","inputs":[{"type":"uint256","name":"cursor","internalType":"uint256"},{"type":"uint256","name":"howMany","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"tickets","internalType":"struct Lottery.Ticket[]","components":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256[6]","name":"numbers","internalType":"uint256[6]"},{"type":"uint256","name":"win_count","internalType":"uint256"},{"type":"bool","name":"win_last_digit","internalType":"bool"},{"type":"uint256","name":"eth_reward","internalType":"uint256"},{"type":"uint256","name":"token_reward","internalType":"uint256"},{"type":"bool","name":"free_ticket","internalType":"bool"},{"type":"uint256","name":"round","internalType":"uint256"},{"type":"uint256","name":"number","internalType":"uint256"},{"type":"bool","name":"paid","internalType":"bool"},{"type":"uint256","name":"time","internalType":"uint256"},{"type":"uint256","name":"tier","internalType":"uint256"}]},{"type":"uint256","name":"oldCursor","internalType":"uint256"},{"type":"uint256","name":"newCursor","internalType":"uint256"},{"type":"uint256","name":"total","internalType":"uint256"}],"name":"getLastTickets","inputs":[{"type":"uint256","name":"cursor","internalType":"uint256"},{"type":"uint256","name":"howMany","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"_round","internalType":"struct Lottery.Round[]","components":[{"type":"uint256","name":"startTime","internalType":"uint256"},{"type":"uint256","name":"endTime","internalType":"uint256"},{"type":"uint8","name":"status","internalType":"enum Lottery.RoundStatus"},{"type":"uint256[]","name":"win","internalType":"uint256[]"},{"type":"uint256","name":"number","internalType":"uint256"},{"type":"uint256","name":"tickets","internalType":"uint256"}]}],"name":"getRoundById","inputs":[{"type":"uint256","name":"id","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getRoundTicketCount","inputs":[{"type":"uint256","name":"round","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getRoundsCount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"ref","internalType":"struct Lottery.TicketRef[]","components":[{"type":"uint256","name":"round","internalType":"uint256"},{"type":"uint256","name":"number","internalType":"uint256"}]}],"name":"getTicketRef","inputs":[{"type":"address","name":"user","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getTicketsCount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getUserFreeTicketsCount","inputs":[{"type":"address","name":"user","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"tickets","internalType":"struct Lottery.Ticket[]","components":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256[6]","name":"numbers","internalType":"uint256[6]"},{"type":"uint256","name":"win_count","internalType":"uint256"},{"type":"bool","name":"win_last_digit","internalType":"bool"},{"type":"uint256","name":"eth_reward","internalType":"uint256"},{"type":"uint256","name":"token_reward","internalType":"uint256"},{"type":"bool","name":"free_ticket","internalType":"bool"},{"type":"uint256","name":"round","internalType":"uint256"},{"type":"uint256","name":"number","internalType":"uint256"},{"type":"bool","name":"paid","internalType":"bool"},{"type":"uint256","name":"time","internalType":"uint256"},{"type":"uint256","name":"tier","internalType":"uint256"}]},{"type":"uint256","name":"oldCursor","internalType":"uint256"},{"type":"uint256","name":"newCursor","internalType":"uint256"},{"type":"uint256","name":"total","internalType":"uint256"}],"name":"getUserTickets","inputs":[{"type":"address","name":"user","internalType":"address"},{"type":"uint256","name":"cursor","internalType":"uint256"},{"type":"uint256","name":"howMany","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[12]","name":"winners","internalType":"uint256[12]"}],"name":"getWinnerTiers","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"lendOff","inputs":[{"type":"bool","name":"status","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"nextGame","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"percentMin","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"raisedAmount","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeLending","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"_lending_value","internalType":"uint256"},{"type":"uint256","name":"_lending_timestamp","internalType":"uint256"}],"name":"returnUserLending","inputs":[{"type":"address","name":"user","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"softCap","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"time","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenPrice","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"turnOff","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"turnOn","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"winthdraw","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"withdrawAmount","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawPromoMoney","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"receive","stateMutability":"payable"}]
              

Contract Creation Code

0x6080604052602c805461010033026001600160a81b03199091161760011790556032602e553480156200003157600080fd5b506501d1a94a20006201518067016345785d8a000069021e19e0c9bab24000006014683635c9adc5dea00000629e3400683635c9adc5dea0000086868686846040518060400160405280600e81526020016d43727970746f204c6f747465727960901b8152506040518060400160405280600281526020016110d360f21b8152508160039081620000c39190620001d8565b506004620000d28282620001d8565b505050600594909455600692909255600755600855602080546001600160a01b031916331790556003601a55600a601b55601e601c55601f5560258890556026839055620001218242620002a4565b60295550620002cc9650505050505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015e57607f821691505b6020821081036200017f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001d357600081815260208120601f850160051c81016020861015620001ae5750805b601f850160051c820191505b81811015620001cf57828155600101620001ba565b5050505b505050565b81516001600160401b03811115620001f457620001f462000133565b6200020c8162000205845462000149565b8462000185565b602080601f8311600181146200024457600084156200022b5750858301515b600019600386901b1c1916600185901b178555620001cf565b600085815260208120601f198616915b82811015620002755788860151825594840194600190910190840162000254565b5085821015620002945787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620002c657634e487b7160e01b600052601160045260246000fd5b92915050565b615c1980620002dc6000396000f3fe60806040526004361061044b5760003560e01c806378aeb09a11610234578063a874666a1161012e578063c5b37c22116100b6578063e4c175771161007a578063e4c1757714610cfc578063eca37e5b14610d34578063f39ac08814610d4a578063fd21ff9e14610d6a578063fe8783c614610d8057600080fd5b8063c5b37c2214610c6e578063cf5d57db14610c84578063cfad136114610ca4578063d0e30db014610cd4578063dd62ed3e14610cdc57600080fd5b8063afb639db116100fd578063afb639db14610bec578063b8c3fd7c14610c0e578063ba33ed7d14610c23578063c428907014610c38578063c59ee1dc14610c5857600080fd5b8063a874666a14610b7d578063a9059cbb14610b9d578063abc2b00314610bbd578063af10c81014610bd757600080fd5b8063884a2d81116101bc578063906a26e011610180578063906a26e014610afd57806395d89b4114610b13578063a09686c414610b28578063a0b9c7eb14610b3d578063a457c2d714610b5d57600080fd5b8063884a2d8114610a6e57806388b092a214610a9557806389e2029b14610ab55780638efc9d6514610ad5578063901d1b8614610af557600080fd5b80637cb1026e116102035780637cb1026e146109e55780637ff9b596146109fb57806382951cb614610a1157806383cbc5d414610a27578063860d685214610a5857600080fd5b806378aeb09a1461096f5780637974f8fe1461098f57806379cc6790146109af5780637aacea45146109cf57600080fd5b80633c791841116103455780635011b213116102cd5780636a1db1bf116102915780636a1db1bf1461086b5780636f9fb98a1461088b57806370a082311461089e5780637815797b146108d457806378a2db88146108ea57600080fd5b80635011b213146107dd5780635112ad9d146107fd578063534844a2146108125780635a1d2062146108285780635db0aa491461085557600080fd5b806342966c681161031457806342966c681461072c578063444d86b41461074c5780634630a0ee1461079f5780634ccaa6f3146107bf5780634f383c3f146107d557600080fd5b80633c791841146106b4578063410164dc146106d45780634231a2c3146106f4578063425108051461071657600080fd5b806323b872dd116103d3578063302e986411610397578063302e986414610612578063313ce56714610642578063328acd871461065e578063395093511461067e5780633985053b1461069e57600080fd5b806323b872dd14610587578063281d62c4146105a75780632b680eb8146105bc5780632ee03e6d146105dc578063300818b7146105f257600080fd5b8063095ea7b31161041a578063095ea7b3146104f757806316ada5471461052757806318160ddd1461053d5780631f65348e146105525780632317ddb81461056757600080fd5b8063021a2ec41461045757806304d70e1c1461048a57806306fdde03146104c0578063080b2a86146104e257600080fd5b3661045257005b600080fd5b34801561046357600080fd5b50610477610472366004615475565b610da0565b6040519081526020015b60405180910390f35b34801561049657600080fd5b506104776104a53660046154aa565b6001600160a01b031660009081526022602052604090205490565b3480156104cc57600080fd5b506104d5610db7565b60405161048191906154cc565b3480156104ee57600080fd5b50602454610477565b34801561050357600080fd5b5061051761051236600461551a565b610e49565b6040519015158152602001610481565b34801561053357600080fd5b5061047760295481565b34801561054957600080fd5b50600254610477565b61056561056036600461555a565b610e63565b005b34801561057357600080fd5b506105656105823660046155e6565b6111d7565b34801561059357600080fd5b506105176105a2366004615612565b611272565b3480156105b357600080fd5b50610565611296565b3480156105c857600080fd5b506105656105d7366004615475565b6112b0565b3480156105e857600080fd5b50610477600a5481565b3480156105fe57600080fd5b5061056561060d366004615475565b6112ce565b34801561061e57600080fd5b5061063261062d36600461564e565b611338565b60405161048194939291906156a4565b34801561064e57600080fd5b5060405160128152602001610481565b34801561066a57600080fd5b50610565610679366004615475565b611592565b34801561068a57600080fd5b5061051761069936600461551a565b611698565b3480156106aa57600080fd5b50610477600b5481565b3480156106c057600080fd5b506105656106cf366004615475565b6116ba565b3480156106e057600080fd5b506105656106ef366004615475565b611778565b34801561070057600080fd5b506107096117a7565b6040516104819190615899565b34801561072257600080fd5b5061047760055481565b34801561073857600080fd5b50610565610747366004615475565b6118f5565b34801561075857600080fd5b5061078a6107673660046154aa565b6001600160a01b03166000908152602b6020526040902080546001909101549091565b60408051928352602083019190915201610481565b3480156107ab57600080fd5b506105656107ba366004615475565b6118ff565b3480156107cb57600080fd5b5061047760065481565b61056561192e565b3480156107e957600080fd5b506105656107f836600461555a565b611971565b34801561080957600080fd5b50610565611cd7565b34801561081e57600080fd5b5061047760285481565b34801561083457600080fd5b506108486108433660046154aa565b611e82565b60405161048191906158ac565b34801561086157600080fd5b50610477602d5481565b34801561087757600080fd5b50610565610886366004615475565b611fb0565b34801561089757600080fd5b5047610477565b3480156108aa57600080fd5b506104776108b93660046154aa565b6001600160a01b031660009081526020819052604090205490565b3480156108e057600080fd5b5061047760095481565b3480156108f657600080fd5b5061090a610905366004615475565b612032565b604080516001600160a01b03909c168c5260208c019a909a52971515988a01989098526060890195909552608088019390935290151560a087015260c086015260e0850152151561010084015261012083019190915261014082015261016001610481565b34801561097b57600080fd5b5061056561098a36600461555a565b6120af565b34801561099b57600080fd5b506105656109aa366004615475565b6123a0565b3480156109bb57600080fd5b506105656109ca36600461551a565b6123da565b3480156109db57600080fd5b50610477600c5481565b3480156109f157600080fd5b50610477601f5481565b348015610a0757600080fd5b5061047760255481565b348015610a1d57600080fd5b50610477602e5481565b348015610a3357600080fd5b50610a47610a42366004615475565b6123f3565b6040516104819594939291906158fb565b348015610a6457600080fd5b50610477601d5481565b348015610a7a57600080fd5b50602c54610a889060ff1681565b604051610481919061592e565b348015610aa157600080fd5b50610565610ab0366004615475565b612438565b348015610ac157600080fd5b50610565610ad0366004615475565b6124d3565b348015610ae157600080fd5b50610709610af0366004615475565b612592565b6105656126d3565b348015610b0957600080fd5b5061047760265481565b348015610b1f57600080fd5b506104d561285b565b348015610b3457600080fd5b50602354610477565b348015610b4957600080fd5b50610477610b58366004615475565b61286a565b348015610b6957600080fd5b50610517610b7836600461551a565b61287a565b348015610b8957600080fd5b50610632610b98366004615941565b6128f5565b348015610ba957600080fd5b50610517610bb836600461551a565b612ae9565b348015610bc957600080fd5b50602a54610a889060ff1681565b348015610be357600080fd5b50610565612af7565b348015610bf857600080fd5b50610c01612b37565b6040516104819190615963565b348015610c1a57600080fd5b50610477612b73565b348015610c2f57600080fd5b50610565612bae565b348015610c4457600080fd5b50610477610c53366004615475565b612bec565b348015610c6457600080fd5b5061047760275481565b348015610c7a57600080fd5b5061047760085481565b348015610c9057600080fd5b50610565610c9f366004615475565b612c1a565b348015610cb057600080fd5b50610cc4610cbf366004615941565b612c49565b6040516104819493929190615995565b610565612e11565b348015610ce857600080fd5b50610477610cf73660046159c4565b612f57565b348015610d0857600080fd5b50602054610d1c906001600160a01b031681565b6040516001600160a01b039091168152602001610481565b348015610d4057600080fd5b50610477600d5481565b348015610d5657600080fd5b50610565610d653660046159f7565b612f82565b348015610d7657600080fd5b5061047760075481565b348015610d8c57600080fd5b50610565610d9b366004615475565b612fd4565b601a8160038110610db057600080fd5b0154905081565b606060038054610dc690615a19565b80601f0160208091040260200160405190810160405280929190818152602001828054610df290615a19565b8015610e3f5780601f10610e1457610100808354040283529160200191610e3f565b820191906000526020600020905b815481529060010190602001808311610e2257829003601f168201915b5050505050905090565b600033610e57818585613003565b60019150505b92915050565b3460065414610eab5760405162461bcd60e51b815260206004820152600f60248201526e6e6f742076616c69642076616c756560881b60448201526064015b60405180910390fd5b600160238054610ebd90600190615a69565b81548110610ecd57610ecd615a7c565b600091825260209091206002600690920201015460ff166001811115610ef557610ef56157a4565b14610f125760405162461bcd60e51b8152600401610ea290615a92565b6040805161018081018252338152602081018390526000918101829052606081018290526080810182905260a0810182905260c0810182905260235460e0820190610f5f90600190615a69565b815260245460208201526000604080830182905242606084015260809092018190528151808301909252602354929350918190610f9e90600190615a69565b815260245460209091015260238054919250600191610fbe908390615a69565b81548110610fce57610fce615a7c565b90600052602060002090600602016005016000828254610fee9190615ac9565b925050819055506001600b60008282546110089190615ac9565b90915550506024805460018101825560009190915282517f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec4601190920291820180546001600160a01b0319166001600160a01b039092169190911781556020840151849261109c917f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec59091019060066152ee565b50604082810151600783015560608301516008808401805492151560ff199384161790556080850151600985015560a0850151600a85015560c0850151600b8501805491151591841691909117905560e0850151600c850155610100850151600d850155610120850151600e850180549115159190931617909155610140840151600f84015561016090930151601090920191909155336000908152602160209081529181208054600181810183559183529183902085516002909302019182559184015191015554606490611173903490615adc565b61117d9190615b09565b6009600082825461118e9190615ac9565b90915550506024546040517fd2b375afc3c1e86d8e5c3d829c8093f1d1216f9941f034405b31f332eb2f39bf916111ca91339087904290615b1d565b60405180910390a1505050565b6020546001600160a01b031633146112015760405162461bcd60e51b8152600401610ea290615b51565b60038310156112225760405162461bcd60e51b8152600401610ea290615b7f565b600a8210156112435760405162461bcd60e51b8152600401610ea290615b7f565b601e8110156112645760405162461bcd60e51b8152600401610ea290615b7f565b601a92909255601b55601c55565b600033611280858285613127565b61128b8585856131a1565b506001949350505050565b602354156112a6576112a6613345565b6112ae6134a3565b565b6112b9816136ec565b6112c28161393f565b6112cb81614a13565b50565b602c5461010090046001600160a01b031633146112fd5760405162461bcd60e51b8152600401610ea290615b51565b609681106112cb5760405162461bcd60e51b81526020600482015260086024820152670a8dede40daeac6d60c31b6044820152606401610ea2565b6001600160a01b038316600090815260216020526040812054606091908190819085906113658882615a69565b821115611393576001600160a01b038916600090815260216020526040902054611390908990615a69565b91505b60008267ffffffffffffffff8111156113ae576113ae615544565b6040519080825280602002602001820160405280156113e757816020015b6113d461532c565b8152602001906001900390816113cc5790505b50905060005b83811015611570576001600160a01b038b16600090815260216020526040902060249060018361141d8e88615a69565b6114279190615a69565b6114319190615a69565b8154811061144157611441615a7c565b9060005260206000209060020201600101548154811061146357611463615a7c565b60009182526020918290206040805161018081018252601190930290910180546001600160a01b03168352815160c0810190925291928301906001830160068282826020028201915b8154815260200190600101908083116114ac57505050918352505060078201546020820152600882015460ff9081161515604083015260098301546060830152600a8301546080830152600b8301548116151560a0830152600c83015460c0830152600d83015460e0830152600e830154161515610100820152600f82015461012082015260109091015461014090910152825183908390811061155257611552615a7c565b6020026020010181905250808061156890615bb6565b9150506113ed565b50808961157d8582615ac9565b84965096509650965050505093509350935093565b6020546001600160a01b031633146115bc5760405162461bcd60e51b8152600401610ea290615b51565b602754816028546115cd9190615ac9565b111561160f5760405162461bcd60e51b8152602060048201526011602482015270436f6e747261637420697320656d70747960781b6044820152606401610ea2565b80602860008282546116219190615ac9565b90915550506020546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611660573d6000803e3d6000fd5b506040518181527f38484d7730fbb8a826820ee40f69f3c8442de83becd32e7c26f0ebe059bee59c906020015b60405180910390a150565b600033610e578185856116ab8383612f57565b6116b59190615ac9565b613003565b6020546001600160a01b031633146116e45760405162461bcd60e51b8152600401610ea290615b51565b80601d5410156117235760405162461bcd60e51b815260206004820152600a60248201526909cdee840cadcdeeaced60b31b6044820152606401610ea2565b6020546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561175d573d6000803e3d6000fd5b5080601d60008282546117709190615a69565b909155505050565b6020546001600160a01b031633146117a25760405162461bcd60e51b8152600401610ea290615b51565b600755565b60408051600180825281830190925260609160009190816020015b6117ca6153a2565b8152602001906001900390816117c257505060238054919250906117f090600190615a69565b8154811061180057611800615a7c565b90600052602060002090600602016040518060c001604052908160008201548152602001600182015481526020016002820160009054906101000a900460ff166001811115611851576118516157a4565b6001811115611862576118626157a4565b8152602001600382018054806020026020016040519081016040528092919081815260200182805480156118b557602002820191906000526020600020905b8154815260200190600101908083116118a1575b5050505050815260200160048201548152602001600582015481525050816000815181106118e5576118e5615a7c565b6020908102919091010152919050565b6112cb3382614e65565b6020546001600160a01b031633146119295760405162461bcd60e51b8152600401610ea290615b51565b600655565b6020546001600160a01b031633146119585760405162461bcd60e51b8152600401610ea290615b51565b34601d600082825461196a9190615ac9565b9091555050565b336000908152602260205260409020546119cd5760405162461bcd60e51b815260206004820152601d60248201527f596f7520646f206e6f74206861766520612066726565207469636b65740000006044820152606401610ea2565b6001602380546119df90600190615a69565b815481106119ef576119ef615a7c565b600091825260209091206002600690920201015460ff166001811115611a1757611a176157a4565b14611a345760405162461bcd60e51b8152600401610ea290615a92565b6040805161018081018252338152602081018390526000918101829052606081018290526080810182905260a0810182905260c0810182905260235460e0820190611a8190600190615a69565b815260245460208201526000604080830182905242606084015260809092018190528151808301909252602354929350918190611ac090600190615a69565b815260248054602092830181905260018101825560009190915284517f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec4601190920291820180546001600160a01b0319166001600160a01b03909216919091178155918501519293508492611b59917f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec5019060066152ee565b506040828101516007830155606083015160088301805491151560ff199283161790556080840151600984015560a0840151600a84015560c0840151600b8401805491151591831691909117905560e0840151600c840155610100840151600d840155610120840151600e8401805491151591909216179055610140830151600f8301556101609092015160109091015533600090815260216020908152918120805460018181018355918352918390208451600290930201918255918301519082015560238054611c2c908390615a69565b81548110611c3c57611c3c615a7c565b90600052602060002090600602016005016000828254611c5c9190615ac9565b925050819055506001600c6000828254611c769190615ac9565b9091555050336000908152602260205260408120805460019290611c9b908490615a69565b90915550506024546040517f7474afc013d54ef8669607b1322b2af31d6730a6937bd0bb1db01933106c1a67916111ca91339087904290615b1d565b336000908152602b6020526040902054611d205760405162461bcd60e51b815260206004820152600a6024820152695a65726f2066756e647360b01b6044820152606401610ea2565b336000908152602b6020526040902060010154611d6b5760405162461bcd60e51b81526020600482015260096024820152685a65726f2074696d6560b81b6044820152606401610ea2565b336000908152602b60205260408120805460018201805492849055839055602d805491938492611d9c908490615a69565b9091555060009050611dae8242615a69565b90506000611dbd603c83615b09565b9050600081602e54611dcf9190615adc565b905060006305f5e100611de28388615adc565b611dec9190615b09565b9050336108fc611dfc8389615ac9565b6040518115909202916000818181858888f19350505050158015611e24573d6000803e3d6000fd5b50604080513381526020810188905290810182905260608101839052608081018490524260a08201527f2d24eb4679a50ff0a6bc0d7e5529d9af319cd5cf80c12d5a1c75df84144ffd6f9060c00160405180910390a1505050505050565b6001600160a01b0381166000908152602160205260408120546060919067ffffffffffffffff811115611eb757611eb7615544565b604051908082528060200260200182016040528015611efc57816020015b6040805180820190915260008082526020820152815260200190600190039081611ed55790505b50905060005b6001600160a01b038416600090815260216020526040902054811015611fa9576001600160a01b0384166000908152602160205260409020805482908110611f4c57611f4c615a7c565b906000526020600020906002020160405180604001604052908160008201548152602001600182015481525050828281518110611f8b57611f8b615a7c565b60200260200101819052508080611fa190615bb6565b915050611f02565b5092915050565b6020546001600160a01b03163314611fda5760405162461bcd60e51b8152600401610ea290615b51565b60018110158015611fec575060148111155b61202d5760405162461bcd60e51b81526020600482015260126024820152714572726f723a204261646c792072616e676560701b6044820152606401610ea2565b600855565b6024818154811061204257600080fd5b600091825260209091206011909102018054600782015460088301546009840154600a850154600b860154600c870154600d880154600e890154600f8a01546010909a01546001600160a01b039099169a50969860ff96871698959794969384169592949193909116918b565b6001602380546120c190600190615a69565b815481106120d1576120d1615a7c565b600091825260209091206002600690920201015460ff1660018111156120f9576120f96157a4565b146121165760405162461bcd60e51b8152600401610ea290615a92565b61212233600754614e65565b6040805161018081018252338152602081018390526000918101829052606081018290526080810182905260a0810182905260c0810182905260235460e082019061216f90600190615a69565b8152602454602082015260006040808301829052426060840152608090920181905281518083019092526023549293509181906121ae90600190615a69565b815260248054602092830181905260018101825560009190915284517f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec4601190920291820180546001600160a01b0319166001600160a01b03909216919091178155918501519293508492612247917f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec5019060066152ee565b506040828101516007830155606083015160088301805491151560ff199283161790556080840151600984015560a0840151600a84015560c0840151600b8401805491151591831691909117905560e0840151600c840155610100840151600d840155610120840151600e8401805491151591909216179055610140830151600f830155610160909201516010909101553360009081526021602090815291812080546001818101835591835291839020845160029093020191825591830151908201556023805461231a908390615a69565b8154811061232a5761232a615a7c565b9060005260206000209060060201600501600082825461234a9190615ac9565b925050819055506001600b60008282546123649190615ac9565b90915550506024546040517fb6fcad84a97efe35ba9305b1a86f193159f085ed3a1ea0a029d3d909bccb4c60916111ca91339087904290615b1d565b6020546001600160a01b031633146123ca5760405162461bcd60e51b8152600401610ea290615b51565b6123d48142615ac9565b60295550565b6123e5823383613127565b6123ef8282614e65565b5050565b6023818154811061240357600080fd5b600091825260209091206006909102018054600182015460028301546004840154600590940154929450909260ff9091169185565b6020546001600160a01b031633146124625760405162461bcd60e51b8152600401610ea290615b51565b80600a5410156124ab5760405162461bcd60e51b81526020600482015260146024820152736e6f7420656e6f756768206f6620746f6b656e7360601b6044820152606401610ea2565b6020546124c1906001600160a01b031682614f97565b80600a60008282546117709190615a69565b6020546001600160a01b031633146124fd5760405162461bcd60e51b8152600401610ea290615b51565b8060095410156125435760405162461bcd60e51b81526020600482015260116024820152700dcdee840cadcdeeaced040decc40cae8d607b1b6044820152606401610ea2565b6020546009546040516001600160a01b039092169181156108fc0291906000818181858888f1935050505015801561257f573d6000803e3d6000fd5b5080600960008282546117709190615a69565b60408051600180825281830190925260609160009190816020015b6125b56153a2565b8152602001906001900390816125ad579050509050602383815481106125dd576125dd615a7c565b90600052602060002090600602016040518060c001604052908160008201548152602001600182015481526020016002820160009054906101000a900460ff16600181111561262e5761262e6157a4565b600181111561263f5761263f6157a4565b81526020016003820180548060200260200160405190810160405280929190818152602001828054801561269257602002820191906000526020600020905b81548152602001906001019080831161267e575b5050505050815260200160048201548152602001600582015481525050816000815181106126c2576126c2615a7c565b602090810291909101015292915050565b336000908152602b6020526040902054156127205760405162461bcd60e51b815260206004820152600d60248201526c4e6f205a65726f2066756e647360981b6044820152606401610ea2565b336000908152602b60205260409020600101541561276f5760405162461bcd60e51b815260206004820152600c60248201526b4e6f205a65726f2074696d6560a01b6044820152606401610ea2565b6001602c5460ff166001811115612788576127886157a4565b146127ca5760405162461bcd60e51b81526020600482015260126024820152714c656e64696e67206973206f66666c696e6560701b6044820152606401610ea2565b336000908152602b6020526040812080543492906127e9908490615ac9565b9091555050336000908152602b6020526040812042600190910155602d8054349290612816908490615ac9565b909155505060408051338152346020820152428183015290517fe4c270665a7c47cb75232b949b01adb887963077ddb740dde1d9ab7079627b3b9181900360600190a1565b606060048054610dc690615a19565b600e81600c8110610db057600080fd5b600033816128888286612f57565b9050838110156128e85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610ea2565b61128b8286868403613003565b60245460609060009081908190859061290e8882615a69565b82111561292657602454612923908990615a69565b91505b60008267ffffffffffffffff81111561294157612941615544565b60405190808252806020026020018201604052801561297a57816020015b61296761532c565b81526020019060019003908161295f5790505b50905060005b83811015612ac85760246001826129978d87615a69565b6129a19190615a69565b6129ab9190615a69565b815481106129bb576129bb615a7c565b60009182526020918290206040805161018081018252601190930290910180546001600160a01b03168352815160c0810190925291928301906001830160068282826020028201915b815481526020019060010190808311612a0457505050918352505060078201546020820152600882015460ff9081161515604083015260098301546060830152600a8301546080830152600b8301548116151560a0830152600c83015460c0830152600d83015460e0830152600e830154161515610100820152600f820154610120820152601090910154610140909101528251839083908110612aaa57612aaa615a7c565b60200260200101819052508080612ac090615bb6565b915050612980565b508089612ad58582615ac9565b919b909a5090985091965090945050505050565b600033610e578185856131a1565b6020546001600160a01b03163314612b215760405162461bcd60e51b8152600401610ea290615b51565b602a80546001919060ff191682805b0217905550565b612b3f6153e9565b6040805161018081019182905290600e90600c9082845b815481526020019060010190808311612b56575050505050905090565b6023805460009190612b8790600190615a69565b81548110612b9757612b97615a7c565b906000526020600020906006020160050154905090565b6020546001600160a01b03163314612bd85760405162461bcd60e51b8152600401610ea290615b51565b602a80546000919060ff1916600183612b30565b600060238281548110612c0157612c01615a7c565b9060005260206000209060060201600501549050919050565b6020546001600160a01b03163314612c445760405162461bcd60e51b8152600401610ea290615b51565b601f55565b602354606090600090819081908590612c628882615a69565b821115612c7a57602354612c77908990615a69565b91505b60008267ffffffffffffffff811115612c9557612c95615544565b604051908082528060200260200182016040528015612cce57816020015b612cbb6153a2565b815260200190600190039081612cb35790505b50905060005b83811015612ac8576023600182612ceb8d87615a69565b612cf59190615a69565b612cff9190615a69565b81548110612d0f57612d0f615a7c565b90600052602060002090600602016040518060c001604052908160008201548152602001600182015481526020016002820160009054906101000a900460ff166001811115612d6057612d606157a4565b6001811115612d7157612d716157a4565b815260200160038201805480602002602001604051908101604052809291908181526020018280548015612dc457602002820191906000526020600020905b815481526020019060010190808311612db0575b5050505050815260200160048201548152602001600582015481525050828281518110612df357612df3615a7c565b60200260200101819052508080612e0990615bb6565b915050612cd4565b6000602a5460ff166001811115612e2a57612e2a6157a4565b14612e6d5760405162461bcd60e51b815260206004820152601360248201527210dc9bddd914d85b19481a5cc818db1bdcd959606a1b6044820152606401610ea2565b602954421115612eae5760405162461bcd60e51b815260206004820152600c60248201526b2a34b6b29034b99037bb32b960a11b6044820152606401610ea2565b3460276000828254612ec09190615ac9565b9091555050602554600090612ed59034615b09565b90506000612eeb82670de0b6b3a7640000615adc565b9050612ef8816003615adc565b600a6000828254612f099190615ac9565b90915550612f1990503382614f97565b60408051348152602081018390527f25cdcd7a9eaffa529442c679899692038e118ef2b8fca641649a905ce50655f391015b60405180910390a15050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b602c5461010090046001600160a01b03163314612fb15760405162461bcd60e51b8152600401610ea290615b51565b8015612fc45750602c805460ff19169055565b50602c805460ff19166001179055565b6020546001600160a01b03163314612ffe5760405162461bcd60e51b8152600401610ea290615b51565b600555565b6001600160a01b0383166130655760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ea2565b6001600160a01b0382166130c65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ea2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006131338484612f57565b9050600019811461319b578181101561318e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ea2565b61319b8484848403613003565b50505050565b6001600160a01b0383166132055760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ea2565b6001600160a01b0382166132675760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ea2565b6001600160a01b038316600090815260208190526040902054818110156132df5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610ea2565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361319b565b60006023805461335790600190615a69565b8154811061336757613367615a7c565b600091825260209091206002600690920201015460ff16600181111561338f5761338f6157a4565b036133cc5760405162461bcd60e51b815260206004820152600d60248201526c151a19481c9bdd5b9908195b99609a1b6044820152606401610ea2565b602380546133dc90600190615a69565b815481106133ec576133ec615a7c565b9060005260206000209060060201600101544210156134465760405162461bcd60e51b8152602060048201526016602482015275151a19481c9bdd5b990818d85b89dd0818db1bdcd95960521b6044820152606401610ea2565b602380546000919061345a90600190615a69565b8154811061346a5761346a615a7c565b60009182526020909120600260069092020101805460ff191660018381811115613496576134966157a4565b02179055506112ae615056565b602354158015906134fc57506000602380546134c190600190615a69565b815481106134d1576134d1615a7c565b600091825260209091206002600690920201015460ff1660018111156134f9576134f96157a4565b14155b156135535760405162461bcd60e51b815260206004820152602160248201527f4572726f723a20746865206c61737420726f756e6420696e2070726f677265736044820152607360f81b6064820152608401610ea2565b606060006040518060c00160405280428152602001600554426135769190615ac9565b8152602001600181526020808201859052602380546040808501829052600060609095018590526001808301845592909452845160069091027fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f42308101918255928501517fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f4231840155928401517fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f423290920180549495508594909160ff19909116908381811115613646576136466157a4565b021790555060608201518051613666916003840191602090910190615408565b506080820151816004015560a08201518160050155505061368933601f54614f97565b601f54600a600082825461369d9190615ac9565b9091555050602354601f5460408051928352602083019190915233908201524260608201527f7c0fc8648a4d9f3752fba65704b3587644eed62f392a0b4dfd75571554e01d1f90608001612f4b565b602481815481106136ff576136ff615a7c565b9060005260206000209060110201600701546000146137605760405162461bcd60e51b815260206004820152601960248201527f57696e206e756d6265727320616c7265616479206578697374000000000000006044820152606401610ea2565b600060236024838154811061377757613777615a7c565b9060005260206000209060110201600c01548154811061379957613799615a7c565b90600052602060002090600602016003018054806020026020016040519081016040528092919081815260200182805480156137f457602002820191906000526020600020905b8154815260200190600101908083116137e0575b5050505050905060005b6024838154811061381157613811615a7c565b50600052600681101561393a5760005b82518110156139275782818151811061383c5761383c615a7c565b60200260200101516024858154811061385757613857615a7c565b9060005260206000209060110201600101836006811061387957613879615a7c565b0154036139155760016024858154811061389557613895615a7c565b906000526020600020906011020160070160008282546138b59190615ac9565b925050819055508281815181106138ce576138ce615a7c565b6020026020010151600603613915576001602485815481106138f2576138f2615a7c565b60009182526020909120601190910201600801805460ff19169115159190911790555b8061391f81615bb6565b915050613821565b508061393281615bb6565b9150506137fe565b505050565b6024818154811061395257613952615a7c565b9060005260206000209060110201601001546000146139a35760405162461bcd60e51b815260206004820152600d60248201526c105b1c9958591e48195e1a5cdd609a1b6044820152606401610ea2565b602481815481106139b6576139b6615a7c565b906000526020600020906011020160070154600003613ad157680d8d726b7177a80000602482815481106139ec576139ec615a7c565b9060005260206000209060110201600a0181905550600160248281548110613a1657613a16615a7c565b9060005260206000209060110201600b0160006101000a81548160ff02191690831515021790555060248181548110613a5157613a51615a7c565b9060005260206000209060110201600a0154600a6000828254613a749190615ac9565b92505081905550600160248281548110613a9057613a90615a7c565b9060005260206000209060110201601001819055506001600e6000600c8110613abb57613abb615a7c565b016000828254613acb9190615ac9565b90915550505b60248181548110613ae457613ae4615a7c565b9060005260206000209060110201600701546001148015613b2c575060248181548110613b1357613b13615a7c565b600091825260209091206008601190920201015460ff16155b15613be457681b1ae4d6e2ef50000060248281548110613b4e57613b4e615a7c565b9060005260206000209060110201600a018190555060248181548110613b7657613b76615a7c565b9060005260206000209060110201600a0154600a6000828254613b999190615ac9565b92505081905550600260248281548110613bb557613bb5615a7c565b60009182526020909120601060119092020101556001600e81016000828254613bde9190615ac9565b90915550505b60248181548110613bf757613bf7615a7c565b9060005260206000209060110201600701546001148015613c43575060248181548110613c2657613c26615a7c565b600091825260209091206008601190920201015460ff1615156001145b15613d6e57600654613c56906002615adc565b60248281548110613c6957613c69615a7c565b906000526020600020906011020160090181905550683635c9adc5dea0000060248281548110613c9b57613c9b615a7c565b9060005260206000209060110201600a018190555060248181548110613cc357613cc3615a7c565b9060005260206000209060110201600a0154600a6000828254613ce69190615ac9565b90915550506024805482908110613cff57613cff615a7c565b906000526020600020906011020160090154600d6000828254613d229190615ac9565b92505081905550600360248281548110613d3e57613d3e615a7c565b60009182526020909120601060119092020101556001600e6002016000828254613d689190615ac9565b90915550505b60248181548110613d8157613d81615a7c565b9060005260206000209060110201600701546002148015613dc9575060248181548110613db057613db0615a7c565b600091825260209091206008601190920201015460ff16155b15613ef457600654613ddc906002615adc565b60248281548110613def57613def615a7c565b906000526020600020906011020160090181905550686c6b935b8bbd40000060248281548110613e2157613e21615a7c565b9060005260206000209060110201600a018190555060248181548110613e4957613e49615a7c565b9060005260206000209060110201600a0154600a6000828254613e6c9190615ac9565b90915550506024805482908110613e8557613e85615a7c565b906000526020600020906011020160090154600d6000828254613ea89190615ac9565b92505081905550600460248281548110613ec457613ec4615a7c565b60009182526020909120601060119092020101556001600e6003016000828254613eee9190615ac9565b90915550505b60248181548110613f0757613f07615a7c565b9060005260206000209060110201600701546002148015613f53575060248181548110613f3657613f36615a7c565b600091825260209091206008601190920201015460ff1615156001145b1561407e57600654613f66906002615adc565b60248281548110613f7957613f79615a7c565b906000526020600020906011020160090181905550686c6b935b8bbd40000060248281548110613fab57613fab615a7c565b9060005260206000209060110201600a018190555060248181548110613fd357613fd3615a7c565b9060005260206000209060110201600a0154600a6000828254613ff69190615ac9565b9091555050602480548290811061400f5761400f615a7c565b906000526020600020906011020160090154600d60008282546140329190615ac9565b9250508190555060056024828154811061404e5761404e615a7c565b60009182526020909120601060119092020101556001600e60040160008282546140789190615ac9565b90915550505b6024818154811061409157614091615a7c565b90600052602060002090601102016007015460031480156140dd5750602481815481106140c0576140c0615a7c565b600091825260209091206008601190920201015460ff1615156001145b15614209576006546140f0906005615adc565b6024828154811061410357614103615a7c565b90600052602060002090601102016009018190555069010f0cf064dd592000006024828154811061413657614136615a7c565b9060005260206000209060110201600a01819055506024818154811061415e5761415e615a7c565b9060005260206000209060110201600a0154600a60008282546141819190615ac9565b9091555050602480548290811061419a5761419a615a7c565b906000526020600020906011020160090154600d60008282546141bd9190615ac9565b925050819055506006602482815481106141d9576141d9615a7c565b60009182526020909120601060119092020101556001600e60050160008282546142039190615ac9565b90915550505b6024818154811061421c5761421c615a7c565b906000526020600020906011020160070154600314801561426457506024818154811061424b5761424b615a7c565b600091825260209091206008601190920201015460ff16155b156143905760065461427790600a615adc565b6024828154811061428a5761428a615a7c565b90600052602060002090601102016009018190555069021e19e0c9bab2400000602482815481106142bd576142bd615a7c565b9060005260206000209060110201600a0181905550602481815481106142e5576142e5615a7c565b9060005260206000209060110201600a0154600a60008282546143089190615ac9565b9091555050602480548290811061432157614321615a7c565b906000526020600020906011020160090154600d60008282546143449190615ac9565b9250508190555060076024828154811061436057614360615a7c565b60009182526020909120601060119092020101556001600e600601600082825461438a9190615ac9565b90915550505b602481815481106143a3576143a3615a7c565b90600052602060002090601102016007015460041480156143ef5750602481815481106143d2576143d2615a7c565b600091825260209091206008601190920201015460ff1615156001145b1561451b57600654614402906032615adc565b6024828154811061441557614415615a7c565b906000526020600020906011020160090181905550690a968163f0a57b4000006024828154811061444857614448615a7c565b9060005260206000209060110201600a01819055506024818154811061447057614470615a7c565b9060005260206000209060110201600a0154600a60008282546144939190615ac9565b909155505060248054829081106144ac576144ac615a7c565b906000526020600020906011020160090154600d60008282546144cf9190615ac9565b925050819055506008602482815481106144eb576144eb615a7c565b60009182526020909120601060119092020101556001600e60070160008282546145159190615ac9565b90915550505b6024818154811061452e5761452e615a7c565b906000526020600020906011020160070154600414801561457657506024818154811061455d5761455d615a7c565b600091825260209091206008601190920201015460ff16155b156146a257600654614589906064615adc565b6024828154811061459c5761459c615a7c565b90600052602060002090601102016009018190555069152d02c7e14af6800000602482815481106145cf576145cf615a7c565b9060005260206000209060110201600a0181905550602481815481106145f7576145f7615a7c565b9060005260206000209060110201600a0154600a600082825461461a9190615ac9565b9091555050602480548290811061463357614633615a7c565b906000526020600020906011020160090154600d60008282546146569190615ac9565b9250508190555060096024828154811061467257614672615a7c565b60009182526020909120601060119092020101556001600e600801600082825461469c9190615ac9565b90915550505b602481815481106146b5576146b5615a7c565b90600052602060002090601102016007015460051480156147015750602481815481106146e4576146e4615a7c565b600091825260209091206008601190920201015460ff1615156001145b156147cb57601a54606490614717904790615adc565b6147219190615b09565b6024828154811061473457614734615a7c565b9060005260206000209060110201600901819055506024818154811061475c5761475c615a7c565b906000526020600020906011020160090154600d600082825461477f9190615ac9565b92505081905550600a6024828154811061479b5761479b615a7c565b60009182526020909120601060119092020101556001600e60090160008282546147c59190615ac9565b90915550505b602481815481106147de576147de615a7c565b906000526020600020906011020160070154600514801561482657506024818154811061480d5761480d615a7c565b600091825260209091206008601190920201015460ff16155b156148f057601b5460649061483c904790615adc565b6148469190615b09565b6024828154811061485957614859615a7c565b9060005260206000209060110201600901819055506024818154811061488157614881615a7c565b906000526020600020906011020160090154600d60008282546148a49190615ac9565b92505081905550600b602482815481106148c0576148c0615a7c565b60009182526020909120601060119092020101556001600e600a0160008282546148ea9190615ac9565b90915550505b6024818154811061490357614903615a7c565b906000526020600020906011020160070154600614801561494f57506024818154811061493257614932615a7c565b600091825260209091206008601190920201015460ff1615156001145b156112cb57601c54606490614965904790615adc565b61496f9190615b09565b6024828154811061498257614982615a7c565b906000526020600020906011020160090181905550602481815481106149aa576149aa615a7c565b906000526020600020906011020160090154600d60008282546149cd9190615ac9565b92505081905550600c602482815481106149e9576149e9615a7c565b60009182526020909120601060119092020101556001600e600b0160008282546117709190615ac9565b60248181548110614a2657614a26615a7c565b60009182526020909120601190910201546001600160a01b03163314614a5e5760405162461bcd60e51b8152600401610ea290615b51565b6000602360248381548110614a7557614a75615a7c565b9060005260206000209060110201600c015481548110614a9757614a97615a7c565b600091825260209091206002600690920201015460ff166001811115614abf57614abf6157a4565b14614b0c5760405162461bcd60e51b815260206004820152601760248201527f54686520526f756e6420697320696e2070726f636573730000000000000000006044820152606401610ea2565b60248181548110614b1f57614b1f615a7c565b60009182526020909120600e601190920201015460ff1615614b795760405162461bcd60e51b8152602060048201526013602482015272151a1948151a58dad95d081dd85cc81c185a59606a1b6044820152606401610ea2565b600160248281548110614b8e57614b8e615a7c565b9060005260206000209060110201600e0160006101000a81548160ff02191690831515021790555060248181548110614bc957614bc9615a7c565b60009182526020909120600b601190920201015460ff1615614c3d5760016022600060248481548110614bfe57614bfe615a7c565b600091825260208083206011909202909101546001600160a01b0316835282019290925260400181208054909190614c37908490615ac9565b90915550505b600060248281548110614c5257614c52615a7c565b9060005260206000209060110201600901541115614cf25760248181548110614c7d57614c7d615a7c565b6000918252602090912060119091020154602480546001600160a01b03909216916108fc919084908110614cb357614cb3615a7c565b9060005260206000209060110201600901549081150290604051600060405180830381858888f19350505050158015614cf0573d6000803e3d6000fd5b505b600060248281548110614d0757614d07615a7c565b9060005260206000209060110201600a01541115614d7d57614d7d60248281548110614d3557614d35615a7c565b6000918252602090912060119091020154602480546001600160a01b039092169184908110614d6657614d66615a7c565b9060005260206000209060110201600a0154614f97565b7f724fa7919ead148ce92e50bd06e0ee26bfda85cc2e3d684680bfd7ec1d1f5b2a60248281548110614db157614db1615a7c565b90600052602060002090601102016010015460248381548110614dd657614dd6615a7c565b9060005260206000209060110201600b0160009054906101000a900460ff1660248481548110614e0857614e08615a7c565b9060005260206000209060110201600a015460248581548110614e2d57614e2d615a7c565b90600052602060002090601102016009015460405161168d949392919093845291151560208401526040830152606082015260800190565b6001600160a01b038216614ec55760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610ea2565b6001600160a01b03821660009081526020819052604090205481811015614f395760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610ea2565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b038216614fed5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610ea2565b8060026000828254614fff9190615ac9565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6023805461506690600190615a69565b8154811061507657615076615a7c565b60009182526020822060036006909202010154900361524857615097615442565b6000805b600681101561517557600581101561510a576001601e60008282546150c09190615ac9565b92505081905550600060456150d6601e546152a1565b6150e09190615bcf565b90506150ed816001615ac9565b8483600681106150ff576150ff615a7c565b602002015250615163565b6001601e600082825461511d9190615ac9565b925050819055506000601a615133601e546152a1565b61513d9190615bcf565b905061514a816001615ac9565b84836006811061515c5761515c615a7c565b6020020152505b8061516d81615bb6565b91505061509b565b5060005b60068110156151f45760005b60068110156151e1578381600681106151a0576151a0615a7c565b60200201518483600681106151b7576151b7615a7c565b6020020151036151cf576151cc600184615ac9565b92505b806151d981615bb6565b915050615185565b50806151ec81615bb6565b915050615179565b506006811115615206576123ef615056565b6023805483919061521990600190615a69565b8154811061522957615229615a7c565b906000526020600020906006020160030190600661393a929190615408565b60405162461bcd60e51b815260206004820152602860248201527f4572726f723a207468652077696e20636f6d62696e6174696f6e20616c726561604482015267191e48195e1a5cdd60c21b6064820152608401610ea2565b6040805160208082019390935244818301524260608083019190915241901b6bffffffffffffffffffffffff19166080820152815180820360740181526094909101909152805191012090565b826006810192821561531c579160200282015b8281111561531c578251825591602001919060010190615301565b50615328929150615460565b5090565b60405180610180016040528060006001600160a01b03168152602001615350615442565b8152602001600081526020016000151581526020016000815260200160008152602001600015158152602001600081526020016000815260200160001515815260200160008152602001600081525090565b6040518060c001604052806000815260200160008152602001600060018111156153ce576153ce6157a4565b81526020016060815260200160008152602001600081525090565b604051806101800160405280600c906020820280368337509192915050565b82805482825590600052602060002090810192821561531c579160200282018281111561531c578251825591602001919060010190615301565b6040518060c001604052806006906020820280368337509192915050565b5b808211156153285760008155600101615461565b60006020828403121561548757600080fd5b5035919050565b80356001600160a01b03811681146154a557600080fd5b919050565b6000602082840312156154bc57600080fd5b6154c58261548e565b9392505050565b600060208083528351808285015260005b818110156154f9578581018301518582016040015282016154dd565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561552d57600080fd5b6155368361548e565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600060c0828403121561556c57600080fd5b82601f83011261557b57600080fd5b60405160c0810181811067ffffffffffffffff821117156155ac57634e487b7160e01b600052604160045260246000fd5b6040528060c08401858111156155c157600080fd5b845b818110156155db5780358352602092830192016155c3565b509195945050505050565b6000806000606084860312156155fb57600080fd5b505081359360208301359350604090920135919050565b60008060006060848603121561562757600080fd5b6156308461548e565b925061563e6020850161548e565b9150604084013590509250925092565b60008060006060848603121561566357600080fd5b61566c8461548e565b95602085013595506040909401359392505050565b8060005b600681101561319b578151845260209384019390910190600101615685565b608080825285518282018190526000919060a090818501906020808b01865b8381101561578757815180516001600160a01b03168652838101516156ea85880182615681565b50604081015160e081818901526060830151915061010061570e818a018415159052565b8a840151925061012083818b01528a850151935061014084818c015260c08601519450610160615741818d018715159052565b938601516101808c0152918501516101a08b015284015115156101c08a01528301516101e0890152909101516102008701525061022090940193908201906001016156c3565b505086019890985260408501969096525050506060015292915050565b634e487b7160e01b600052602160045260246000fd5b600281106112cb57634e487b7160e01b600052602160045260246000fd5b600081518084526020808501808196508360051b810191508286016000805b8681101561588b578385038a52825160c0808701825188528883015189890152604080840151615826816157ba565b908901526060838101519089019290925281519081905260e0880191890190855b818110156158635782518452928a0192918a0191600101615847565b5050506080828101519088015260a091820151919096015298850198918501916001016157f7565b509298975050505050505050565b6020815260006154c560208301846157d8565b602080825282518282018190526000919060409081850190868401855b828110156158ee578151805185528601518685015292840192908501906001016158c9565b5091979650505050505050565b8581526020810185905260a08101615912856157ba565b8460408301528360608301528260808301529695505050505050565b6020810161593b836157ba565b91905290565b6000806040838503121561595457600080fd5b50508035926020909101359150565b6101808101818360005b600c81101561598c57815183526020928301929091019060010161596d565b50505092915050565b6080815260006159a860808301876157d8565b6020830195909552506040810192909252606090910152919050565b600080604083850312156159d757600080fd5b6159e08361548e565b91506159ee6020840161548e565b90509250929050565b600060208284031215615a0957600080fd5b813580151581146154c557600080fd5b600181811c90821680615a2d57607f821691505b602082108103615a4d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610e5d57610e5d615a53565b634e487b7160e01b600052603260045260246000fd5b6020808252601b908201527f4572726f723a20746865206c61737420726f756e6420656e6465640000000000604082015260600190565b80820180821115610e5d57610e5d615a53565b8082028115828204841417610e5d57610e5d615a53565b634e487b7160e01b600052601260045260246000fd5b600082615b1857615b18615af3565b500490565b8481526001600160a01b03841660208201526101208101615b416040830185615681565b8261010083015295945050505050565b6020808252601490820152732cb7ba9030b932903737ba1030b71037bbb732b960611b604082015260600190565b6020808252601a908201527f50657263656e742063616e2774206265206c657373207468616e000000000000604082015260600190565b600060018201615bc857615bc8615a53565b5060010190565b600082615bde57615bde615af3565b50069056fea2646970667358221220f7f6a22beb0b1f6eeb3b31ab7156f5142915aac595030d41b755359189e122f364736f6c63430008110033

Deployed ByteCode

0x60806040526004361061044b5760003560e01c806378aeb09a11610234578063a874666a1161012e578063c5b37c22116100b6578063e4c175771161007a578063e4c1757714610cfc578063eca37e5b14610d34578063f39ac08814610d4a578063fd21ff9e14610d6a578063fe8783c614610d8057600080fd5b8063c5b37c2214610c6e578063cf5d57db14610c84578063cfad136114610ca4578063d0e30db014610cd4578063dd62ed3e14610cdc57600080fd5b8063afb639db116100fd578063afb639db14610bec578063b8c3fd7c14610c0e578063ba33ed7d14610c23578063c428907014610c38578063c59ee1dc14610c5857600080fd5b8063a874666a14610b7d578063a9059cbb14610b9d578063abc2b00314610bbd578063af10c81014610bd757600080fd5b8063884a2d81116101bc578063906a26e011610180578063906a26e014610afd57806395d89b4114610b13578063a09686c414610b28578063a0b9c7eb14610b3d578063a457c2d714610b5d57600080fd5b8063884a2d8114610a6e57806388b092a214610a9557806389e2029b14610ab55780638efc9d6514610ad5578063901d1b8614610af557600080fd5b80637cb1026e116102035780637cb1026e146109e55780637ff9b596146109fb57806382951cb614610a1157806383cbc5d414610a27578063860d685214610a5857600080fd5b806378aeb09a1461096f5780637974f8fe1461098f57806379cc6790146109af5780637aacea45146109cf57600080fd5b80633c791841116103455780635011b213116102cd5780636a1db1bf116102915780636a1db1bf1461086b5780636f9fb98a1461088b57806370a082311461089e5780637815797b146108d457806378a2db88146108ea57600080fd5b80635011b213146107dd5780635112ad9d146107fd578063534844a2146108125780635a1d2062146108285780635db0aa491461085557600080fd5b806342966c681161031457806342966c681461072c578063444d86b41461074c5780634630a0ee1461079f5780634ccaa6f3146107bf5780634f383c3f146107d557600080fd5b80633c791841146106b4578063410164dc146106d45780634231a2c3146106f4578063425108051461071657600080fd5b806323b872dd116103d3578063302e986411610397578063302e986414610612578063313ce56714610642578063328acd871461065e578063395093511461067e5780633985053b1461069e57600080fd5b806323b872dd14610587578063281d62c4146105a75780632b680eb8146105bc5780632ee03e6d146105dc578063300818b7146105f257600080fd5b8063095ea7b31161041a578063095ea7b3146104f757806316ada5471461052757806318160ddd1461053d5780631f65348e146105525780632317ddb81461056757600080fd5b8063021a2ec41461045757806304d70e1c1461048a57806306fdde03146104c0578063080b2a86146104e257600080fd5b3661045257005b600080fd5b34801561046357600080fd5b50610477610472366004615475565b610da0565b6040519081526020015b60405180910390f35b34801561049657600080fd5b506104776104a53660046154aa565b6001600160a01b031660009081526022602052604090205490565b3480156104cc57600080fd5b506104d5610db7565b60405161048191906154cc565b3480156104ee57600080fd5b50602454610477565b34801561050357600080fd5b5061051761051236600461551a565b610e49565b6040519015158152602001610481565b34801561053357600080fd5b5061047760295481565b34801561054957600080fd5b50600254610477565b61056561056036600461555a565b610e63565b005b34801561057357600080fd5b506105656105823660046155e6565b6111d7565b34801561059357600080fd5b506105176105a2366004615612565b611272565b3480156105b357600080fd5b50610565611296565b3480156105c857600080fd5b506105656105d7366004615475565b6112b0565b3480156105e857600080fd5b50610477600a5481565b3480156105fe57600080fd5b5061056561060d366004615475565b6112ce565b34801561061e57600080fd5b5061063261062d36600461564e565b611338565b60405161048194939291906156a4565b34801561064e57600080fd5b5060405160128152602001610481565b34801561066a57600080fd5b50610565610679366004615475565b611592565b34801561068a57600080fd5b5061051761069936600461551a565b611698565b3480156106aa57600080fd5b50610477600b5481565b3480156106c057600080fd5b506105656106cf366004615475565b6116ba565b3480156106e057600080fd5b506105656106ef366004615475565b611778565b34801561070057600080fd5b506107096117a7565b6040516104819190615899565b34801561072257600080fd5b5061047760055481565b34801561073857600080fd5b50610565610747366004615475565b6118f5565b34801561075857600080fd5b5061078a6107673660046154aa565b6001600160a01b03166000908152602b6020526040902080546001909101549091565b60408051928352602083019190915201610481565b3480156107ab57600080fd5b506105656107ba366004615475565b6118ff565b3480156107cb57600080fd5b5061047760065481565b61056561192e565b3480156107e957600080fd5b506105656107f836600461555a565b611971565b34801561080957600080fd5b50610565611cd7565b34801561081e57600080fd5b5061047760285481565b34801561083457600080fd5b506108486108433660046154aa565b611e82565b60405161048191906158ac565b34801561086157600080fd5b50610477602d5481565b34801561087757600080fd5b50610565610886366004615475565b611fb0565b34801561089757600080fd5b5047610477565b3480156108aa57600080fd5b506104776108b93660046154aa565b6001600160a01b031660009081526020819052604090205490565b3480156108e057600080fd5b5061047760095481565b3480156108f657600080fd5b5061090a610905366004615475565b612032565b604080516001600160a01b03909c168c5260208c019a909a52971515988a01989098526060890195909552608088019390935290151560a087015260c086015260e0850152151561010084015261012083019190915261014082015261016001610481565b34801561097b57600080fd5b5061056561098a36600461555a565b6120af565b34801561099b57600080fd5b506105656109aa366004615475565b6123a0565b3480156109bb57600080fd5b506105656109ca36600461551a565b6123da565b3480156109db57600080fd5b50610477600c5481565b3480156109f157600080fd5b50610477601f5481565b348015610a0757600080fd5b5061047760255481565b348015610a1d57600080fd5b50610477602e5481565b348015610a3357600080fd5b50610a47610a42366004615475565b6123f3565b6040516104819594939291906158fb565b348015610a6457600080fd5b50610477601d5481565b348015610a7a57600080fd5b50602c54610a889060ff1681565b604051610481919061592e565b348015610aa157600080fd5b50610565610ab0366004615475565b612438565b348015610ac157600080fd5b50610565610ad0366004615475565b6124d3565b348015610ae157600080fd5b50610709610af0366004615475565b612592565b6105656126d3565b348015610b0957600080fd5b5061047760265481565b348015610b1f57600080fd5b506104d561285b565b348015610b3457600080fd5b50602354610477565b348015610b4957600080fd5b50610477610b58366004615475565b61286a565b348015610b6957600080fd5b50610517610b7836600461551a565b61287a565b348015610b8957600080fd5b50610632610b98366004615941565b6128f5565b348015610ba957600080fd5b50610517610bb836600461551a565b612ae9565b348015610bc957600080fd5b50602a54610a889060ff1681565b348015610be357600080fd5b50610565612af7565b348015610bf857600080fd5b50610c01612b37565b6040516104819190615963565b348015610c1a57600080fd5b50610477612b73565b348015610c2f57600080fd5b50610565612bae565b348015610c4457600080fd5b50610477610c53366004615475565b612bec565b348015610c6457600080fd5b5061047760275481565b348015610c7a57600080fd5b5061047760085481565b348015610c9057600080fd5b50610565610c9f366004615475565b612c1a565b348015610cb057600080fd5b50610cc4610cbf366004615941565b612c49565b6040516104819493929190615995565b610565612e11565b348015610ce857600080fd5b50610477610cf73660046159c4565b612f57565b348015610d0857600080fd5b50602054610d1c906001600160a01b031681565b6040516001600160a01b039091168152602001610481565b348015610d4057600080fd5b50610477600d5481565b348015610d5657600080fd5b50610565610d653660046159f7565b612f82565b348015610d7657600080fd5b5061047760075481565b348015610d8c57600080fd5b50610565610d9b366004615475565b612fd4565b601a8160038110610db057600080fd5b0154905081565b606060038054610dc690615a19565b80601f0160208091040260200160405190810160405280929190818152602001828054610df290615a19565b8015610e3f5780601f10610e1457610100808354040283529160200191610e3f565b820191906000526020600020905b815481529060010190602001808311610e2257829003601f168201915b5050505050905090565b600033610e57818585613003565b60019150505b92915050565b3460065414610eab5760405162461bcd60e51b815260206004820152600f60248201526e6e6f742076616c69642076616c756560881b60448201526064015b60405180910390fd5b600160238054610ebd90600190615a69565b81548110610ecd57610ecd615a7c565b600091825260209091206002600690920201015460ff166001811115610ef557610ef56157a4565b14610f125760405162461bcd60e51b8152600401610ea290615a92565b6040805161018081018252338152602081018390526000918101829052606081018290526080810182905260a0810182905260c0810182905260235460e0820190610f5f90600190615a69565b815260245460208201526000604080830182905242606084015260809092018190528151808301909252602354929350918190610f9e90600190615a69565b815260245460209091015260238054919250600191610fbe908390615a69565b81548110610fce57610fce615a7c565b90600052602060002090600602016005016000828254610fee9190615ac9565b925050819055506001600b60008282546110089190615ac9565b90915550506024805460018101825560009190915282517f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec4601190920291820180546001600160a01b0319166001600160a01b039092169190911781556020840151849261109c917f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec59091019060066152ee565b50604082810151600783015560608301516008808401805492151560ff199384161790556080850151600985015560a0850151600a85015560c0850151600b8501805491151591841691909117905560e0850151600c850155610100850151600d850155610120850151600e850180549115159190931617909155610140840151600f84015561016090930151601090920191909155336000908152602160209081529181208054600181810183559183529183902085516002909302019182559184015191015554606490611173903490615adc565b61117d9190615b09565b6009600082825461118e9190615ac9565b90915550506024546040517fd2b375afc3c1e86d8e5c3d829c8093f1d1216f9941f034405b31f332eb2f39bf916111ca91339087904290615b1d565b60405180910390a1505050565b6020546001600160a01b031633146112015760405162461bcd60e51b8152600401610ea290615b51565b60038310156112225760405162461bcd60e51b8152600401610ea290615b7f565b600a8210156112435760405162461bcd60e51b8152600401610ea290615b7f565b601e8110156112645760405162461bcd60e51b8152600401610ea290615b7f565b601a92909255601b55601c55565b600033611280858285613127565b61128b8585856131a1565b506001949350505050565b602354156112a6576112a6613345565b6112ae6134a3565b565b6112b9816136ec565b6112c28161393f565b6112cb81614a13565b50565b602c5461010090046001600160a01b031633146112fd5760405162461bcd60e51b8152600401610ea290615b51565b609681106112cb5760405162461bcd60e51b81526020600482015260086024820152670a8dede40daeac6d60c31b6044820152606401610ea2565b6001600160a01b038316600090815260216020526040812054606091908190819085906113658882615a69565b821115611393576001600160a01b038916600090815260216020526040902054611390908990615a69565b91505b60008267ffffffffffffffff8111156113ae576113ae615544565b6040519080825280602002602001820160405280156113e757816020015b6113d461532c565b8152602001906001900390816113cc5790505b50905060005b83811015611570576001600160a01b038b16600090815260216020526040902060249060018361141d8e88615a69565b6114279190615a69565b6114319190615a69565b8154811061144157611441615a7c565b9060005260206000209060020201600101548154811061146357611463615a7c565b60009182526020918290206040805161018081018252601190930290910180546001600160a01b03168352815160c0810190925291928301906001830160068282826020028201915b8154815260200190600101908083116114ac57505050918352505060078201546020820152600882015460ff9081161515604083015260098301546060830152600a8301546080830152600b8301548116151560a0830152600c83015460c0830152600d83015460e0830152600e830154161515610100820152600f82015461012082015260109091015461014090910152825183908390811061155257611552615a7c565b6020026020010181905250808061156890615bb6565b9150506113ed565b50808961157d8582615ac9565b84965096509650965050505093509350935093565b6020546001600160a01b031633146115bc5760405162461bcd60e51b8152600401610ea290615b51565b602754816028546115cd9190615ac9565b111561160f5760405162461bcd60e51b8152602060048201526011602482015270436f6e747261637420697320656d70747960781b6044820152606401610ea2565b80602860008282546116219190615ac9565b90915550506020546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611660573d6000803e3d6000fd5b506040518181527f38484d7730fbb8a826820ee40f69f3c8442de83becd32e7c26f0ebe059bee59c906020015b60405180910390a150565b600033610e578185856116ab8383612f57565b6116b59190615ac9565b613003565b6020546001600160a01b031633146116e45760405162461bcd60e51b8152600401610ea290615b51565b80601d5410156117235760405162461bcd60e51b815260206004820152600a60248201526909cdee840cadcdeeaced60b31b6044820152606401610ea2565b6020546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561175d573d6000803e3d6000fd5b5080601d60008282546117709190615a69565b909155505050565b6020546001600160a01b031633146117a25760405162461bcd60e51b8152600401610ea290615b51565b600755565b60408051600180825281830190925260609160009190816020015b6117ca6153a2565b8152602001906001900390816117c257505060238054919250906117f090600190615a69565b8154811061180057611800615a7c565b90600052602060002090600602016040518060c001604052908160008201548152602001600182015481526020016002820160009054906101000a900460ff166001811115611851576118516157a4565b6001811115611862576118626157a4565b8152602001600382018054806020026020016040519081016040528092919081815260200182805480156118b557602002820191906000526020600020905b8154815260200190600101908083116118a1575b5050505050815260200160048201548152602001600582015481525050816000815181106118e5576118e5615a7c565b6020908102919091010152919050565b6112cb3382614e65565b6020546001600160a01b031633146119295760405162461bcd60e51b8152600401610ea290615b51565b600655565b6020546001600160a01b031633146119585760405162461bcd60e51b8152600401610ea290615b51565b34601d600082825461196a9190615ac9565b9091555050565b336000908152602260205260409020546119cd5760405162461bcd60e51b815260206004820152601d60248201527f596f7520646f206e6f74206861766520612066726565207469636b65740000006044820152606401610ea2565b6001602380546119df90600190615a69565b815481106119ef576119ef615a7c565b600091825260209091206002600690920201015460ff166001811115611a1757611a176157a4565b14611a345760405162461bcd60e51b8152600401610ea290615a92565b6040805161018081018252338152602081018390526000918101829052606081018290526080810182905260a0810182905260c0810182905260235460e0820190611a8190600190615a69565b815260245460208201526000604080830182905242606084015260809092018190528151808301909252602354929350918190611ac090600190615a69565b815260248054602092830181905260018101825560009190915284517f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec4601190920291820180546001600160a01b0319166001600160a01b03909216919091178155918501519293508492611b59917f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec5019060066152ee565b506040828101516007830155606083015160088301805491151560ff199283161790556080840151600984015560a0840151600a84015560c0840151600b8401805491151591831691909117905560e0840151600c840155610100840151600d840155610120840151600e8401805491151591909216179055610140830151600f8301556101609092015160109091015533600090815260216020908152918120805460018181018355918352918390208451600290930201918255918301519082015560238054611c2c908390615a69565b81548110611c3c57611c3c615a7c565b90600052602060002090600602016005016000828254611c5c9190615ac9565b925050819055506001600c6000828254611c769190615ac9565b9091555050336000908152602260205260408120805460019290611c9b908490615a69565b90915550506024546040517f7474afc013d54ef8669607b1322b2af31d6730a6937bd0bb1db01933106c1a67916111ca91339087904290615b1d565b336000908152602b6020526040902054611d205760405162461bcd60e51b815260206004820152600a6024820152695a65726f2066756e647360b01b6044820152606401610ea2565b336000908152602b6020526040902060010154611d6b5760405162461bcd60e51b81526020600482015260096024820152685a65726f2074696d6560b81b6044820152606401610ea2565b336000908152602b60205260408120805460018201805492849055839055602d805491938492611d9c908490615a69565b9091555060009050611dae8242615a69565b90506000611dbd603c83615b09565b9050600081602e54611dcf9190615adc565b905060006305f5e100611de28388615adc565b611dec9190615b09565b9050336108fc611dfc8389615ac9565b6040518115909202916000818181858888f19350505050158015611e24573d6000803e3d6000fd5b50604080513381526020810188905290810182905260608101839052608081018490524260a08201527f2d24eb4679a50ff0a6bc0d7e5529d9af319cd5cf80c12d5a1c75df84144ffd6f9060c00160405180910390a1505050505050565b6001600160a01b0381166000908152602160205260408120546060919067ffffffffffffffff811115611eb757611eb7615544565b604051908082528060200260200182016040528015611efc57816020015b6040805180820190915260008082526020820152815260200190600190039081611ed55790505b50905060005b6001600160a01b038416600090815260216020526040902054811015611fa9576001600160a01b0384166000908152602160205260409020805482908110611f4c57611f4c615a7c565b906000526020600020906002020160405180604001604052908160008201548152602001600182015481525050828281518110611f8b57611f8b615a7c565b60200260200101819052508080611fa190615bb6565b915050611f02565b5092915050565b6020546001600160a01b03163314611fda5760405162461bcd60e51b8152600401610ea290615b51565b60018110158015611fec575060148111155b61202d5760405162461bcd60e51b81526020600482015260126024820152714572726f723a204261646c792072616e676560701b6044820152606401610ea2565b600855565b6024818154811061204257600080fd5b600091825260209091206011909102018054600782015460088301546009840154600a850154600b860154600c870154600d880154600e890154600f8a01546010909a01546001600160a01b039099169a50969860ff96871698959794969384169592949193909116918b565b6001602380546120c190600190615a69565b815481106120d1576120d1615a7c565b600091825260209091206002600690920201015460ff1660018111156120f9576120f96157a4565b146121165760405162461bcd60e51b8152600401610ea290615a92565b61212233600754614e65565b6040805161018081018252338152602081018390526000918101829052606081018290526080810182905260a0810182905260c0810182905260235460e082019061216f90600190615a69565b8152602454602082015260006040808301829052426060840152608090920181905281518083019092526023549293509181906121ae90600190615a69565b815260248054602092830181905260018101825560009190915284517f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec4601190920291820180546001600160a01b0319166001600160a01b03909216919091178155918501519293508492612247917f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec5019060066152ee565b506040828101516007830155606083015160088301805491151560ff199283161790556080840151600984015560a0840151600a84015560c0840151600b8401805491151591831691909117905560e0840151600c840155610100840151600d840155610120840151600e8401805491151591909216179055610140830151600f830155610160909201516010909101553360009081526021602090815291812080546001818101835591835291839020845160029093020191825591830151908201556023805461231a908390615a69565b8154811061232a5761232a615a7c565b9060005260206000209060060201600501600082825461234a9190615ac9565b925050819055506001600b60008282546123649190615ac9565b90915550506024546040517fb6fcad84a97efe35ba9305b1a86f193159f085ed3a1ea0a029d3d909bccb4c60916111ca91339087904290615b1d565b6020546001600160a01b031633146123ca5760405162461bcd60e51b8152600401610ea290615b51565b6123d48142615ac9565b60295550565b6123e5823383613127565b6123ef8282614e65565b5050565b6023818154811061240357600080fd5b600091825260209091206006909102018054600182015460028301546004840154600590940154929450909260ff9091169185565b6020546001600160a01b031633146124625760405162461bcd60e51b8152600401610ea290615b51565b80600a5410156124ab5760405162461bcd60e51b81526020600482015260146024820152736e6f7420656e6f756768206f6620746f6b656e7360601b6044820152606401610ea2565b6020546124c1906001600160a01b031682614f97565b80600a60008282546117709190615a69565b6020546001600160a01b031633146124fd5760405162461bcd60e51b8152600401610ea290615b51565b8060095410156125435760405162461bcd60e51b81526020600482015260116024820152700dcdee840cadcdeeaced040decc40cae8d607b1b6044820152606401610ea2565b6020546009546040516001600160a01b039092169181156108fc0291906000818181858888f1935050505015801561257f573d6000803e3d6000fd5b5080600960008282546117709190615a69565b60408051600180825281830190925260609160009190816020015b6125b56153a2565b8152602001906001900390816125ad579050509050602383815481106125dd576125dd615a7c565b90600052602060002090600602016040518060c001604052908160008201548152602001600182015481526020016002820160009054906101000a900460ff16600181111561262e5761262e6157a4565b600181111561263f5761263f6157a4565b81526020016003820180548060200260200160405190810160405280929190818152602001828054801561269257602002820191906000526020600020905b81548152602001906001019080831161267e575b5050505050815260200160048201548152602001600582015481525050816000815181106126c2576126c2615a7c565b602090810291909101015292915050565b336000908152602b6020526040902054156127205760405162461bcd60e51b815260206004820152600d60248201526c4e6f205a65726f2066756e647360981b6044820152606401610ea2565b336000908152602b60205260409020600101541561276f5760405162461bcd60e51b815260206004820152600c60248201526b4e6f205a65726f2074696d6560a01b6044820152606401610ea2565b6001602c5460ff166001811115612788576127886157a4565b146127ca5760405162461bcd60e51b81526020600482015260126024820152714c656e64696e67206973206f66666c696e6560701b6044820152606401610ea2565b336000908152602b6020526040812080543492906127e9908490615ac9565b9091555050336000908152602b6020526040812042600190910155602d8054349290612816908490615ac9565b909155505060408051338152346020820152428183015290517fe4c270665a7c47cb75232b949b01adb887963077ddb740dde1d9ab7079627b3b9181900360600190a1565b606060048054610dc690615a19565b600e81600c8110610db057600080fd5b600033816128888286612f57565b9050838110156128e85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610ea2565b61128b8286868403613003565b60245460609060009081908190859061290e8882615a69565b82111561292657602454612923908990615a69565b91505b60008267ffffffffffffffff81111561294157612941615544565b60405190808252806020026020018201604052801561297a57816020015b61296761532c565b81526020019060019003908161295f5790505b50905060005b83811015612ac85760246001826129978d87615a69565b6129a19190615a69565b6129ab9190615a69565b815481106129bb576129bb615a7c565b60009182526020918290206040805161018081018252601190930290910180546001600160a01b03168352815160c0810190925291928301906001830160068282826020028201915b815481526020019060010190808311612a0457505050918352505060078201546020820152600882015460ff9081161515604083015260098301546060830152600a8301546080830152600b8301548116151560a0830152600c83015460c0830152600d83015460e0830152600e830154161515610100820152600f820154610120820152601090910154610140909101528251839083908110612aaa57612aaa615a7c565b60200260200101819052508080612ac090615bb6565b915050612980565b508089612ad58582615ac9565b919b909a5090985091965090945050505050565b600033610e578185856131a1565b6020546001600160a01b03163314612b215760405162461bcd60e51b8152600401610ea290615b51565b602a80546001919060ff191682805b0217905550565b612b3f6153e9565b6040805161018081019182905290600e90600c9082845b815481526020019060010190808311612b56575050505050905090565b6023805460009190612b8790600190615a69565b81548110612b9757612b97615a7c565b906000526020600020906006020160050154905090565b6020546001600160a01b03163314612bd85760405162461bcd60e51b8152600401610ea290615b51565b602a80546000919060ff1916600183612b30565b600060238281548110612c0157612c01615a7c565b9060005260206000209060060201600501549050919050565b6020546001600160a01b03163314612c445760405162461bcd60e51b8152600401610ea290615b51565b601f55565b602354606090600090819081908590612c628882615a69565b821115612c7a57602354612c77908990615a69565b91505b60008267ffffffffffffffff811115612c9557612c95615544565b604051908082528060200260200182016040528015612cce57816020015b612cbb6153a2565b815260200190600190039081612cb35790505b50905060005b83811015612ac8576023600182612ceb8d87615a69565b612cf59190615a69565b612cff9190615a69565b81548110612d0f57612d0f615a7c565b90600052602060002090600602016040518060c001604052908160008201548152602001600182015481526020016002820160009054906101000a900460ff166001811115612d6057612d606157a4565b6001811115612d7157612d716157a4565b815260200160038201805480602002602001604051908101604052809291908181526020018280548015612dc457602002820191906000526020600020905b815481526020019060010190808311612db0575b5050505050815260200160048201548152602001600582015481525050828281518110612df357612df3615a7c565b60200260200101819052508080612e0990615bb6565b915050612cd4565b6000602a5460ff166001811115612e2a57612e2a6157a4565b14612e6d5760405162461bcd60e51b815260206004820152601360248201527210dc9bddd914d85b19481a5cc818db1bdcd959606a1b6044820152606401610ea2565b602954421115612eae5760405162461bcd60e51b815260206004820152600c60248201526b2a34b6b29034b99037bb32b960a11b6044820152606401610ea2565b3460276000828254612ec09190615ac9565b9091555050602554600090612ed59034615b09565b90506000612eeb82670de0b6b3a7640000615adc565b9050612ef8816003615adc565b600a6000828254612f099190615ac9565b90915550612f1990503382614f97565b60408051348152602081018390527f25cdcd7a9eaffa529442c679899692038e118ef2b8fca641649a905ce50655f391015b60405180910390a15050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b602c5461010090046001600160a01b03163314612fb15760405162461bcd60e51b8152600401610ea290615b51565b8015612fc45750602c805460ff19169055565b50602c805460ff19166001179055565b6020546001600160a01b03163314612ffe5760405162461bcd60e51b8152600401610ea290615b51565b600555565b6001600160a01b0383166130655760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ea2565b6001600160a01b0382166130c65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ea2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006131338484612f57565b9050600019811461319b578181101561318e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ea2565b61319b8484848403613003565b50505050565b6001600160a01b0383166132055760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ea2565b6001600160a01b0382166132675760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ea2565b6001600160a01b038316600090815260208190526040902054818110156132df5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610ea2565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361319b565b60006023805461335790600190615a69565b8154811061336757613367615a7c565b600091825260209091206002600690920201015460ff16600181111561338f5761338f6157a4565b036133cc5760405162461bcd60e51b815260206004820152600d60248201526c151a19481c9bdd5b9908195b99609a1b6044820152606401610ea2565b602380546133dc90600190615a69565b815481106133ec576133ec615a7c565b9060005260206000209060060201600101544210156134465760405162461bcd60e51b8152602060048201526016602482015275151a19481c9bdd5b990818d85b89dd0818db1bdcd95960521b6044820152606401610ea2565b602380546000919061345a90600190615a69565b8154811061346a5761346a615a7c565b60009182526020909120600260069092020101805460ff191660018381811115613496576134966157a4565b02179055506112ae615056565b602354158015906134fc57506000602380546134c190600190615a69565b815481106134d1576134d1615a7c565b600091825260209091206002600690920201015460ff1660018111156134f9576134f96157a4565b14155b156135535760405162461bcd60e51b815260206004820152602160248201527f4572726f723a20746865206c61737420726f756e6420696e2070726f677265736044820152607360f81b6064820152608401610ea2565b606060006040518060c00160405280428152602001600554426135769190615ac9565b8152602001600181526020808201859052602380546040808501829052600060609095018590526001808301845592909452845160069091027fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f42308101918255928501517fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f4231840155928401517fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f423290920180549495508594909160ff19909116908381811115613646576136466157a4565b021790555060608201518051613666916003840191602090910190615408565b506080820151816004015560a08201518160050155505061368933601f54614f97565b601f54600a600082825461369d9190615ac9565b9091555050602354601f5460408051928352602083019190915233908201524260608201527f7c0fc8648a4d9f3752fba65704b3587644eed62f392a0b4dfd75571554e01d1f90608001612f4b565b602481815481106136ff576136ff615a7c565b9060005260206000209060110201600701546000146137605760405162461bcd60e51b815260206004820152601960248201527f57696e206e756d6265727320616c7265616479206578697374000000000000006044820152606401610ea2565b600060236024838154811061377757613777615a7c565b9060005260206000209060110201600c01548154811061379957613799615a7c565b90600052602060002090600602016003018054806020026020016040519081016040528092919081815260200182805480156137f457602002820191906000526020600020905b8154815260200190600101908083116137e0575b5050505050905060005b6024838154811061381157613811615a7c565b50600052600681101561393a5760005b82518110156139275782818151811061383c5761383c615a7c565b60200260200101516024858154811061385757613857615a7c565b9060005260206000209060110201600101836006811061387957613879615a7c565b0154036139155760016024858154811061389557613895615a7c565b906000526020600020906011020160070160008282546138b59190615ac9565b925050819055508281815181106138ce576138ce615a7c565b6020026020010151600603613915576001602485815481106138f2576138f2615a7c565b60009182526020909120601190910201600801805460ff19169115159190911790555b8061391f81615bb6565b915050613821565b508061393281615bb6565b9150506137fe565b505050565b6024818154811061395257613952615a7c565b9060005260206000209060110201601001546000146139a35760405162461bcd60e51b815260206004820152600d60248201526c105b1c9958591e48195e1a5cdd609a1b6044820152606401610ea2565b602481815481106139b6576139b6615a7c565b906000526020600020906011020160070154600003613ad157680d8d726b7177a80000602482815481106139ec576139ec615a7c565b9060005260206000209060110201600a0181905550600160248281548110613a1657613a16615a7c565b9060005260206000209060110201600b0160006101000a81548160ff02191690831515021790555060248181548110613a5157613a51615a7c565b9060005260206000209060110201600a0154600a6000828254613a749190615ac9565b92505081905550600160248281548110613a9057613a90615a7c565b9060005260206000209060110201601001819055506001600e6000600c8110613abb57613abb615a7c565b016000828254613acb9190615ac9565b90915550505b60248181548110613ae457613ae4615a7c565b9060005260206000209060110201600701546001148015613b2c575060248181548110613b1357613b13615a7c565b600091825260209091206008601190920201015460ff16155b15613be457681b1ae4d6e2ef50000060248281548110613b4e57613b4e615a7c565b9060005260206000209060110201600a018190555060248181548110613b7657613b76615a7c565b9060005260206000209060110201600a0154600a6000828254613b999190615ac9565b92505081905550600260248281548110613bb557613bb5615a7c565b60009182526020909120601060119092020101556001600e81016000828254613bde9190615ac9565b90915550505b60248181548110613bf757613bf7615a7c565b9060005260206000209060110201600701546001148015613c43575060248181548110613c2657613c26615a7c565b600091825260209091206008601190920201015460ff1615156001145b15613d6e57600654613c56906002615adc565b60248281548110613c6957613c69615a7c565b906000526020600020906011020160090181905550683635c9adc5dea0000060248281548110613c9b57613c9b615a7c565b9060005260206000209060110201600a018190555060248181548110613cc357613cc3615a7c565b9060005260206000209060110201600a0154600a6000828254613ce69190615ac9565b90915550506024805482908110613cff57613cff615a7c565b906000526020600020906011020160090154600d6000828254613d229190615ac9565b92505081905550600360248281548110613d3e57613d3e615a7c565b60009182526020909120601060119092020101556001600e6002016000828254613d689190615ac9565b90915550505b60248181548110613d8157613d81615a7c565b9060005260206000209060110201600701546002148015613dc9575060248181548110613db057613db0615a7c565b600091825260209091206008601190920201015460ff16155b15613ef457600654613ddc906002615adc565b60248281548110613def57613def615a7c565b906000526020600020906011020160090181905550686c6b935b8bbd40000060248281548110613e2157613e21615a7c565b9060005260206000209060110201600a018190555060248181548110613e4957613e49615a7c565b9060005260206000209060110201600a0154600a6000828254613e6c9190615ac9565b90915550506024805482908110613e8557613e85615a7c565b906000526020600020906011020160090154600d6000828254613ea89190615ac9565b92505081905550600460248281548110613ec457613ec4615a7c565b60009182526020909120601060119092020101556001600e6003016000828254613eee9190615ac9565b90915550505b60248181548110613f0757613f07615a7c565b9060005260206000209060110201600701546002148015613f53575060248181548110613f3657613f36615a7c565b600091825260209091206008601190920201015460ff1615156001145b1561407e57600654613f66906002615adc565b60248281548110613f7957613f79615a7c565b906000526020600020906011020160090181905550686c6b935b8bbd40000060248281548110613fab57613fab615a7c565b9060005260206000209060110201600a018190555060248181548110613fd357613fd3615a7c565b9060005260206000209060110201600a0154600a6000828254613ff69190615ac9565b9091555050602480548290811061400f5761400f615a7c565b906000526020600020906011020160090154600d60008282546140329190615ac9565b9250508190555060056024828154811061404e5761404e615a7c565b60009182526020909120601060119092020101556001600e60040160008282546140789190615ac9565b90915550505b6024818154811061409157614091615a7c565b90600052602060002090601102016007015460031480156140dd5750602481815481106140c0576140c0615a7c565b600091825260209091206008601190920201015460ff1615156001145b15614209576006546140f0906005615adc565b6024828154811061410357614103615a7c565b90600052602060002090601102016009018190555069010f0cf064dd592000006024828154811061413657614136615a7c565b9060005260206000209060110201600a01819055506024818154811061415e5761415e615a7c565b9060005260206000209060110201600a0154600a60008282546141819190615ac9565b9091555050602480548290811061419a5761419a615a7c565b906000526020600020906011020160090154600d60008282546141bd9190615ac9565b925050819055506006602482815481106141d9576141d9615a7c565b60009182526020909120601060119092020101556001600e60050160008282546142039190615ac9565b90915550505b6024818154811061421c5761421c615a7c565b906000526020600020906011020160070154600314801561426457506024818154811061424b5761424b615a7c565b600091825260209091206008601190920201015460ff16155b156143905760065461427790600a615adc565b6024828154811061428a5761428a615a7c565b90600052602060002090601102016009018190555069021e19e0c9bab2400000602482815481106142bd576142bd615a7c565b9060005260206000209060110201600a0181905550602481815481106142e5576142e5615a7c565b9060005260206000209060110201600a0154600a60008282546143089190615ac9565b9091555050602480548290811061432157614321615a7c565b906000526020600020906011020160090154600d60008282546143449190615ac9565b9250508190555060076024828154811061436057614360615a7c565b60009182526020909120601060119092020101556001600e600601600082825461438a9190615ac9565b90915550505b602481815481106143a3576143a3615a7c565b90600052602060002090601102016007015460041480156143ef5750602481815481106143d2576143d2615a7c565b600091825260209091206008601190920201015460ff1615156001145b1561451b57600654614402906032615adc565b6024828154811061441557614415615a7c565b906000526020600020906011020160090181905550690a968163f0a57b4000006024828154811061444857614448615a7c565b9060005260206000209060110201600a01819055506024818154811061447057614470615a7c565b9060005260206000209060110201600a0154600a60008282546144939190615ac9565b909155505060248054829081106144ac576144ac615a7c565b906000526020600020906011020160090154600d60008282546144cf9190615ac9565b925050819055506008602482815481106144eb576144eb615a7c565b60009182526020909120601060119092020101556001600e60070160008282546145159190615ac9565b90915550505b6024818154811061452e5761452e615a7c565b906000526020600020906011020160070154600414801561457657506024818154811061455d5761455d615a7c565b600091825260209091206008601190920201015460ff16155b156146a257600654614589906064615adc565b6024828154811061459c5761459c615a7c565b90600052602060002090601102016009018190555069152d02c7e14af6800000602482815481106145cf576145cf615a7c565b9060005260206000209060110201600a0181905550602481815481106145f7576145f7615a7c565b9060005260206000209060110201600a0154600a600082825461461a9190615ac9565b9091555050602480548290811061463357614633615a7c565b906000526020600020906011020160090154600d60008282546146569190615ac9565b9250508190555060096024828154811061467257614672615a7c565b60009182526020909120601060119092020101556001600e600801600082825461469c9190615ac9565b90915550505b602481815481106146b5576146b5615a7c565b90600052602060002090601102016007015460051480156147015750602481815481106146e4576146e4615a7c565b600091825260209091206008601190920201015460ff1615156001145b156147cb57601a54606490614717904790615adc565b6147219190615b09565b6024828154811061473457614734615a7c565b9060005260206000209060110201600901819055506024818154811061475c5761475c615a7c565b906000526020600020906011020160090154600d600082825461477f9190615ac9565b92505081905550600a6024828154811061479b5761479b615a7c565b60009182526020909120601060119092020101556001600e60090160008282546147c59190615ac9565b90915550505b602481815481106147de576147de615a7c565b906000526020600020906011020160070154600514801561482657506024818154811061480d5761480d615a7c565b600091825260209091206008601190920201015460ff16155b156148f057601b5460649061483c904790615adc565b6148469190615b09565b6024828154811061485957614859615a7c565b9060005260206000209060110201600901819055506024818154811061488157614881615a7c565b906000526020600020906011020160090154600d60008282546148a49190615ac9565b92505081905550600b602482815481106148c0576148c0615a7c565b60009182526020909120601060119092020101556001600e600a0160008282546148ea9190615ac9565b90915550505b6024818154811061490357614903615a7c565b906000526020600020906011020160070154600614801561494f57506024818154811061493257614932615a7c565b600091825260209091206008601190920201015460ff1615156001145b156112cb57601c54606490614965904790615adc565b61496f9190615b09565b6024828154811061498257614982615a7c565b906000526020600020906011020160090181905550602481815481106149aa576149aa615a7c565b906000526020600020906011020160090154600d60008282546149cd9190615ac9565b92505081905550600c602482815481106149e9576149e9615a7c565b60009182526020909120601060119092020101556001600e600b0160008282546117709190615ac9565b60248181548110614a2657614a26615a7c565b60009182526020909120601190910201546001600160a01b03163314614a5e5760405162461bcd60e51b8152600401610ea290615b51565b6000602360248381548110614a7557614a75615a7c565b9060005260206000209060110201600c015481548110614a9757614a97615a7c565b600091825260209091206002600690920201015460ff166001811115614abf57614abf6157a4565b14614b0c5760405162461bcd60e51b815260206004820152601760248201527f54686520526f756e6420697320696e2070726f636573730000000000000000006044820152606401610ea2565b60248181548110614b1f57614b1f615a7c565b60009182526020909120600e601190920201015460ff1615614b795760405162461bcd60e51b8152602060048201526013602482015272151a1948151a58dad95d081dd85cc81c185a59606a1b6044820152606401610ea2565b600160248281548110614b8e57614b8e615a7c565b9060005260206000209060110201600e0160006101000a81548160ff02191690831515021790555060248181548110614bc957614bc9615a7c565b60009182526020909120600b601190920201015460ff1615614c3d5760016022600060248481548110614bfe57614bfe615a7c565b600091825260208083206011909202909101546001600160a01b0316835282019290925260400181208054909190614c37908490615ac9565b90915550505b600060248281548110614c5257614c52615a7c565b9060005260206000209060110201600901541115614cf25760248181548110614c7d57614c7d615a7c565b6000918252602090912060119091020154602480546001600160a01b03909216916108fc919084908110614cb357614cb3615a7c565b9060005260206000209060110201600901549081150290604051600060405180830381858888f19350505050158015614cf0573d6000803e3d6000fd5b505b600060248281548110614d0757614d07615a7c565b9060005260206000209060110201600a01541115614d7d57614d7d60248281548110614d3557614d35615a7c565b6000918252602090912060119091020154602480546001600160a01b039092169184908110614d6657614d66615a7c565b9060005260206000209060110201600a0154614f97565b7f724fa7919ead148ce92e50bd06e0ee26bfda85cc2e3d684680bfd7ec1d1f5b2a60248281548110614db157614db1615a7c565b90600052602060002090601102016010015460248381548110614dd657614dd6615a7c565b9060005260206000209060110201600b0160009054906101000a900460ff1660248481548110614e0857614e08615a7c565b9060005260206000209060110201600a015460248581548110614e2d57614e2d615a7c565b90600052602060002090601102016009015460405161168d949392919093845291151560208401526040830152606082015260800190565b6001600160a01b038216614ec55760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610ea2565b6001600160a01b03821660009081526020819052604090205481811015614f395760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610ea2565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b038216614fed5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610ea2565b8060026000828254614fff9190615ac9565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6023805461506690600190615a69565b8154811061507657615076615a7c565b60009182526020822060036006909202010154900361524857615097615442565b6000805b600681101561517557600581101561510a576001601e60008282546150c09190615ac9565b92505081905550600060456150d6601e546152a1565b6150e09190615bcf565b90506150ed816001615ac9565b8483600681106150ff576150ff615a7c565b602002015250615163565b6001601e600082825461511d9190615ac9565b925050819055506000601a615133601e546152a1565b61513d9190615bcf565b905061514a816001615ac9565b84836006811061515c5761515c615a7c565b6020020152505b8061516d81615bb6565b91505061509b565b5060005b60068110156151f45760005b60068110156151e1578381600681106151a0576151a0615a7c565b60200201518483600681106151b7576151b7615a7c565b6020020151036151cf576151cc600184615ac9565b92505b806151d981615bb6565b915050615185565b50806151ec81615bb6565b915050615179565b506006811115615206576123ef615056565b6023805483919061521990600190615a69565b8154811061522957615229615a7c565b906000526020600020906006020160030190600661393a929190615408565b60405162461bcd60e51b815260206004820152602860248201527f4572726f723a207468652077696e20636f6d62696e6174696f6e20616c726561604482015267191e48195e1a5cdd60c21b6064820152608401610ea2565b6040805160208082019390935244818301524260608083019190915241901b6bffffffffffffffffffffffff19166080820152815180820360740181526094909101909152805191012090565b826006810192821561531c579160200282015b8281111561531c578251825591602001919060010190615301565b50615328929150615460565b5090565b60405180610180016040528060006001600160a01b03168152602001615350615442565b8152602001600081526020016000151581526020016000815260200160008152602001600015158152602001600081526020016000815260200160001515815260200160008152602001600081525090565b6040518060c001604052806000815260200160008152602001600060018111156153ce576153ce6157a4565b81526020016060815260200160008152602001600081525090565b604051806101800160405280600c906020820280368337509192915050565b82805482825590600052602060002090810192821561531c579160200282018281111561531c578251825591602001919060010190615301565b6040518060c001604052806006906020820280368337509192915050565b5b808211156153285760008155600101615461565b60006020828403121561548757600080fd5b5035919050565b80356001600160a01b03811681146154a557600080fd5b919050565b6000602082840312156154bc57600080fd5b6154c58261548e565b9392505050565b600060208083528351808285015260005b818110156154f9578581018301518582016040015282016154dd565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561552d57600080fd5b6155368361548e565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600060c0828403121561556c57600080fd5b82601f83011261557b57600080fd5b60405160c0810181811067ffffffffffffffff821117156155ac57634e487b7160e01b600052604160045260246000fd5b6040528060c08401858111156155c157600080fd5b845b818110156155db5780358352602092830192016155c3565b509195945050505050565b6000806000606084860312156155fb57600080fd5b505081359360208301359350604090920135919050565b60008060006060848603121561562757600080fd5b6156308461548e565b925061563e6020850161548e565b9150604084013590509250925092565b60008060006060848603121561566357600080fd5b61566c8461548e565b95602085013595506040909401359392505050565b8060005b600681101561319b578151845260209384019390910190600101615685565b608080825285518282018190526000919060a090818501906020808b01865b8381101561578757815180516001600160a01b03168652838101516156ea85880182615681565b50604081015160e081818901526060830151915061010061570e818a018415159052565b8a840151925061012083818b01528a850151935061014084818c015260c08601519450610160615741818d018715159052565b938601516101808c0152918501516101a08b015284015115156101c08a01528301516101e0890152909101516102008701525061022090940193908201906001016156c3565b505086019890985260408501969096525050506060015292915050565b634e487b7160e01b600052602160045260246000fd5b600281106112cb57634e487b7160e01b600052602160045260246000fd5b600081518084526020808501808196508360051b810191508286016000805b8681101561588b578385038a52825160c0808701825188528883015189890152604080840151615826816157ba565b908901526060838101519089019290925281519081905260e0880191890190855b818110156158635782518452928a0192918a0191600101615847565b5050506080828101519088015260a091820151919096015298850198918501916001016157f7565b509298975050505050505050565b6020815260006154c560208301846157d8565b602080825282518282018190526000919060409081850190868401855b828110156158ee578151805185528601518685015292840192908501906001016158c9565b5091979650505050505050565b8581526020810185905260a08101615912856157ba565b8460408301528360608301528260808301529695505050505050565b6020810161593b836157ba565b91905290565b6000806040838503121561595457600080fd5b50508035926020909101359150565b6101808101818360005b600c81101561598c57815183526020928301929091019060010161596d565b50505092915050565b6080815260006159a860808301876157d8565b6020830195909552506040810192909252606090910152919050565b600080604083850312156159d757600080fd5b6159e08361548e565b91506159ee6020840161548e565b90509250929050565b600060208284031215615a0957600080fd5b813580151581146154c557600080fd5b600181811c90821680615a2d57607f821691505b602082108103615a4d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610e5d57610e5d615a53565b634e487b7160e01b600052603260045260246000fd5b6020808252601b908201527f4572726f723a20746865206c61737420726f756e6420656e6465640000000000604082015260600190565b80820180821115610e5d57610e5d615a53565b8082028115828204841417610e5d57610e5d615a53565b634e487b7160e01b600052601260045260246000fd5b600082615b1857615b18615af3565b500490565b8481526001600160a01b03841660208201526101208101615b416040830185615681565b8261010083015295945050505050565b6020808252601490820152732cb7ba9030b932903737ba1030b71037bbb732b960611b604082015260600190565b6020808252601a908201527f50657263656e742063616e2774206265206c657373207468616e000000000000604082015260600190565b600060018201615bc857615bc8615a53565b5060010190565b600082615bde57615bde615af3565b50069056fea2646970667358221220f7f6a22beb0b1f6eeb3b31ab7156f5142915aac595030d41b755359189e122f364736f6c63430008110033