false
false

Contract Address Details

0xD4b52510719C594514CE7FED6CC876C03278cCf8

Token
TIKU (TIKU)
Creator
0x84b4ec–758555 at 0x04c0ce–cc39ca
Balance
0 KCS
Tokens
Fetching tokens...
Transactions
3,539 Transactions
Transfers
13,096 Transfers
Gas Used
380,312,704
Last Balance Update
31159974
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
TIKU




Optimization enabled
true
Compiler version
v0.6.12+commit.27d51765




Optimization runs
200
EVM Version
default




Verified at
2022-04-10T21:52:02.292184Z

Contract source code

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


/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

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


// File IERC20Metadata.sol


pragma solidity ^0.6.2;

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


// File Context.sol



pragma solidity ^0.6.2;

/*
 * @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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}


// File SafeMath.sol



pragma solidity ^0.6.2;

library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}


// File ERC20.sol



pragma solidity ^0.6.2;




/**
 * @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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of 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 {
    using SafeMath for uint256;

    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_) public {
        _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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 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 to 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 {}
}


// File SafeMathUint.sol



pragma solidity ^0.6.2;

/**
 * @title SafeMathUint
 * @dev Math operations with safety checks that revert on error
 */
library SafeMathUint {
  function toInt256Safe(uint256 a) internal pure returns (int256) {
    int256 b = int256(a);
    require(b >= 0);
    return b;
  }
}


// File SafeMathInt.sol



/*
MIT License

Copyright (c) 2018 requestnetwork
Copyright (c) 2018 Fragments, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

pragma solidity ^0.6.2;

/**
 * @title SafeMathInt
 * @dev Math operations for int256 with overflow safety checks.
 */
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }


    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}


// File DividendPayingTokenInterface.sol



pragma solidity ^0.6.2;


/// @title Dividend-Paying Token Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev An interface for a dividend-paying token contract.
interface DividendPayingTokenInterface {
  /// @notice View the amount of dividend in wei that an address can withdraw.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` can withdraw.
  function dividendOf(address _owner) external view returns(uint256);

  /// @notice Distributes ether to token holders as dividends.
  /// @dev SHOULD distribute the paid ether to token holders as dividends.
  ///  SHOULD NOT directly transfer ether to token holders in this function.
  ///  MUST emit a `DividendsDistributed` event when the amount of distributed ether is greater than 0.
  function distributeDividends() external payable;

  /// @notice Withdraws the ether distributed to the sender.
  /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer.
  ///  MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0.
  function withdrawDividend() external;

  /// @dev This event MUST emit when ether is distributed to token holders.
  /// @param from The address which sends ether to this contract.
  /// @param weiAmount The amount of distributed ether in wei.
  event DividendsDistributed(
    address indexed from,
    uint256 weiAmount
  );

  /// @dev This event MUST emit when an address withdraws their dividend.
  /// @param to The address which withdraws ether from this contract.
  /// @param weiAmount The amount of withdrawn ether in wei.
  event DividendWithdrawn(
    address indexed to,
    uint256 weiAmount
  );
}


// File DividendPayingTokenOptionalInterface.sol



pragma solidity ^0.6.2;


/// @title Dividend-Paying Token Optional Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev OPTIONAL functions for a dividend-paying token contract.
interface DividendPayingTokenOptionalInterface {
  /// @notice View the amount of dividend in wei that an address can withdraw.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` can withdraw.
  function withdrawableDividendOf(address _owner) external view returns(uint256);

  /// @notice View the amount of dividend in wei that an address has withdrawn.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` has withdrawn.
  function withdrawnDividendOf(address _owner) external view returns(uint256);

  /// @notice View the amount of dividend in wei that an address has earned in total.
  /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` has earned in total.
  function accumulativeDividendOf(address _owner) external view returns(uint256);
}


// File DividendPayingToken.sol



pragma solidity ^0.6.2;






/// @title Dividend-Paying Token
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev A mintable ERC20 token that allows anyone to pay and distribute ether
///  to token holders as dividends and allows token holders to withdraw their dividends.
///  Reference: the source code of PoWH3D: https://etherscan.io/address/0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe#code
contract DividendPayingToken is ERC20, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface {
  using SafeMath for uint256;
  using SafeMathUint for uint256;
  using SafeMathInt for int256;

  // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small.
  // For more discussion about choosing the value of `magnitude`,
  //  see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728
  uint256 constant internal magnitude = 2**128;

  uint256 internal magnifiedDividendPerShare;

  // About dividendCorrection:
  // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with:
  //   `dividendOf(_user) = dividendPerShare * balanceOf(_user)`.
  // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens),
  //   `dividendOf(_user)` should not be changed,
  //   but the computed value of `dividendPerShare * balanceOf(_user)` is changed.
  // To keep the `dividendOf(_user)` unchanged, we add a correction term:
  //   `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`,
  //   where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed:
  //   `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`.
  // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed.
  mapping(address => int256) internal magnifiedDividendCorrections;
  mapping(address => uint256) internal withdrawnDividends;

  uint256 public totalDividendsDistributed;

  constructor(string memory _name, string memory _symbol) public ERC20(_name, _symbol) {

  }

  /// @dev Distributes dividends whenever ether is paid to this contract.
  receive() external payable {
    distributeDividends();
  }

  /// @notice Distributes ether to token holders as dividends.
  /// @dev It reverts if the total supply of tokens is 0.
  /// It emits the `DividendsDistributed` event if the amount of received ether is greater than 0.
  /// About undistributed ether:
  ///   In each distribution, there is a small amount of ether not distributed,
  ///     the magnified amount of which is
  ///     `(msg.value * magnitude) % totalSupply()`.
  ///   With a well-chosen `magnitude`, the amount of undistributed ether
  ///     (de-magnified) in a distribution can be less than 1 wei.
  ///   We can actually keep track of the undistributed ether in a distribution
  ///     and try to distribute it in the next distribution,
  ///     but keeping track of such data on-chain costs much more than
  ///     the saved ether, so we don't do that.
  function distributeDividends() public override payable {
    require(totalSupply() > 0);

    if (msg.value > 0) {
      magnifiedDividendPerShare = magnifiedDividendPerShare.add(
        (msg.value).mul(magnitude) / totalSupply()
      );
      emit DividendsDistributed(msg.sender, msg.value);

      totalDividendsDistributed = totalDividendsDistributed.add(msg.value);
    }
  }

  /// @notice Withdraws the ether distributed to the sender.
  /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
  function withdrawDividend() public virtual override {
    _withdrawDividendOfUser(msg.sender);
  }

  /// @notice Withdraws the ether distributed to the sender.
  /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
  function _withdrawDividendOfUser(address payable user) internal returns (uint256) {
    uint256 _withdrawableDividend = withdrawableDividendOf(user);
    if (_withdrawableDividend > 0) {
      withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);
      emit DividendWithdrawn(user, _withdrawableDividend);
      (bool success,) = user.call{value: _withdrawableDividend, gas: 3000}("");

      if(!success) {
        withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend);
        return 0;
      }

      return _withdrawableDividend;
    }

    return 0;
  }


  /// @notice View the amount of dividend in wei that an address can withdraw.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` can withdraw.
  function dividendOf(address _owner) public view override returns(uint256) {
    return withdrawableDividendOf(_owner);
  }

  /// @notice View the amount of dividend in wei that an address can withdraw.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` can withdraw.
  function withdrawableDividendOf(address _owner) public view override returns(uint256) {
    return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]);
  }

  /// @notice View the amount of dividend in wei that an address has withdrawn.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` has withdrawn.
  function withdrawnDividendOf(address _owner) public view override returns(uint256) {
    return withdrawnDividends[_owner];
  }


  /// @notice View the amount of dividend in wei that an address has earned in total.
  /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
  /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` has earned in total.
  function accumulativeDividendOf(address _owner) public view override returns(uint256) {
    return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256Safe()
      .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude;
  }

  /// @dev Internal function that transfer tokens from one address to another.
  /// Update magnifiedDividendCorrections to keep dividends unchanged.
  /// @param from The address to transfer from.
  /// @param to The address to transfer to.
  /// @param value The amount to be transferred.
  function _transfer(address from, address to, uint256 value) internal virtual override {
    require(false);

    int256 _magCorrection = magnifiedDividendPerShare.mul(value).toInt256Safe();
    magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from].add(_magCorrection);
    magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(_magCorrection);
  }

  /// @dev Internal function that mints tokens to an account.
  /// Update magnifiedDividendCorrections to keep dividends unchanged.
  /// @param account The account that will receive the created tokens.
  /// @param value The amount that will be created.
  function _mint(address account, uint256 value) internal override {
    super._mint(account, value);

    magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
      .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
  }

  /// @dev Internal function that burns an amount of the token of a given account.
  /// Update magnifiedDividendCorrections to keep dividends unchanged.
  /// @param account The account whose tokens will be burnt.
  /// @param value The amount that will be burnt.
  function _burn(address account, uint256 value) internal override {
    super._burn(account, value);

    magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
      .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
  }

  function _setBalance(address account, uint256 newBalance) internal {
    uint256 currentBalance = balanceOf(account);

    if(newBalance > currentBalance) {
      uint256 mintAmount = newBalance.sub(currentBalance);
      _mint(account, mintAmount);
    } else if(newBalance < currentBalance) {
      uint256 burnAmount = currentBalance.sub(newBalance);
      _burn(account, burnAmount);
    }
  }
}


// File IterableMapping.sol


pragma solidity ^0.6.2;

library IterableMapping {
    // Iterable mapping from address to uint;
    struct Map {
        address[] keys;
        mapping(address => uint) values;
        mapping(address => uint) indexOf;
        mapping(address => bool) inserted;
    }

    function get(Map storage map, address key) public view returns (uint) {
        return map.values[key];
    }

    function getIndexOfKey(Map storage map, address key) public view returns (int) {
        if(!map.inserted[key]) {
            return -1;
        }
        return int(map.indexOf[key]);
    }

    function getKeyAtIndex(Map storage map, uint index) public view returns (address) {
        return map.keys[index];
    }



    function size(Map storage map) public view returns (uint) {
        return map.keys.length;
    }

    function set(Map storage map, address key, uint val) public {
        if (map.inserted[key]) {
            map.values[key] = val;
        } else {
            map.inserted[key] = true;
            map.values[key] = val;
            map.indexOf[key] = map.keys.length;
            map.keys.push(key);
        }
    }

    function remove(Map storage map, address key) public {
        if (!map.inserted[key]) {
            return;
        }

        delete map.inserted[key];
        delete map.values[key];

        uint index = map.indexOf[key];
        uint lastIndex = map.keys.length - 1;
        address lastKey = map.keys[lastIndex];

        map.indexOf[lastKey] = index;
        delete map.indexOf[key];

        map.keys[index] = lastKey;
        map.keys.pop();
    }
}


// File Ownable.sol

pragma solidity ^0.6.2;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;
    address private _previousOwner;
    uint256 private _lockTime;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

     /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }

    function geUnlockTime() public view returns (uint256) {
        return _lockTime;
    }

    //Locks the contract for owner for the amount of time provided
    function lock(uint256 time) public virtual onlyOwner {
        _previousOwner = _owner;
        _owner = address(0);
        _lockTime = now + time;
        emit OwnershipTransferred(_owner, address(0));
    }
    
    //Unlocks the contract for owner when _lockTime is exceeds
    function unlock() public virtual {
        require(_previousOwner == msg.sender, "You don't have permission to unlock");
        require(now > _lockTime , "Contract is locked until 7 days");
        emit OwnershipTransferred(_owner, _previousOwner);
        _owner = _previousOwner;
    }
}


// File IKoffeeSwapPair.sol



pragma solidity >=0.5.0;

interface IKoffeeSwapPair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}


// File IKoffeeSwapRouter.sol



pragma solidity >=0.6.2;

interface IKoffeeSwapRouter {
    function factory() external pure returns (address);
    function WKCS() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityKCS(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountKCSMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountKCS, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityKCS(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountKCSMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountKCS);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityKCSWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountKCSMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountKCS);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactKCSForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactKCS(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForKCS(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapKCSForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);

    function removeLiquidityKCSSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountKCSMin,
        address to,
        uint deadline
    ) external returns (uint amountKCS);
    function removeLiquidityKCSWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountKCSMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountKCS);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactKCSForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForKCSSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}


// File tiku.sol



pragma solidity ^0.6.2;






contract TIKU is ERC20, Ownable {
    using SafeMath for uint256;

    IKoffeeSwapRouter public uniswapV2Router;
    address public uniswapV2Pair; 

    address public LSDFundAddress;

    uint256 public totalSentToLSDFund;

    bool public isInPresaleState;

    bool public isPairCreated;

    bool private swapping;

    TIKIDividendTracker public dividendTracker;

    address public liquidityWallet;

    uint256 public maxSellTransactionAmount = 1000000 * (10**18);
    uint256 public swapTokensAtAmount = 200000 * (10**18);

    uint256 public immutable BNBRewardsFee;
    uint256 public immutable liquidityFee;
    uint256 public immutable LSDFundFee; //new
    uint256 public immutable totalFees;

    // sells have fees of 12 and 6 (10 * 1.2 and 5 * 1.2)
    uint256 public immutable sellFeeIncreaseFactor = 120; 

    // use by default 300,000 gas to process auto-claiming dividends
    uint256 public gasForProcessing = 300000;

    // exlcude from fees and max transaction amount
    mapping (address => bool) private _isExcludedFromFees;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping (address => bool) public automatedMarketMakerPairs;

    event UpdateDividendTracker(address indexed newAddress, address indexed oldAddress);

    event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress);

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded);

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event LiquidityWalletUpdated(address indexed newLiquidityWallet, address indexed oldLiquidityWallet);

    event GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue);

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );

    event SendDividends(
    	uint256 tokensSwapped,
    	uint256 amount
    );

    event SendToLSDFund (
        uint256 tokensSwapped,
        uint256 amount
    );

    event ProcessedDividendTracker(
    	uint256 iterations,
    	uint256 claims,
        uint256 lastProcessedIndex,
    	bool indexed automatic,
    	uint256 gas,
    	address indexed processor
    );
    
    event LSDFundAddressUpdated(
        address indexed oldAddress,
        address indexed newAddress
    );

    constructor() public ERC20("TIKU", "TIKU") {
        uint256 _BNBRewardsFee = 8;
        uint256 _liquidityFee = 3;
        uint256 _LSDFundFee = 4;

        BNBRewardsFee = _BNBRewardsFee;
        liquidityFee = _liquidityFee;
        LSDFundFee = _LSDFundFee;
        totalFees = _BNBRewardsFee.add(_liquidityFee).add(_LSDFundFee);


    	dividendTracker = new TIKIDividendTracker();

    	liquidityWallet = owner();
    	
    	isInPresaleState = true;
    	isPairCreated = false;
    	
    	address _LSDFundAddress = address(0x24F3dbF2AF9B04AD640f4Aa02Fbc9B66c41DC542);
    	LSDFundAddress = _LSDFundAddress;

    	IKoffeeSwapRouter _uniswapV2Router = IKoffeeSwapRouter(0xc0fFee0000C824D24E0F280f1e4D21152625742b);

        uniswapV2Router = _uniswapV2Router;

        // exclude from receiving dividends
        dividendTracker.excludeFromDividends(address(dividendTracker));
        dividendTracker.excludeFromDividends(address(this));
        dividendTracker.excludeFromDividends(owner());
        dividendTracker.excludeFromDividends(address(_uniswapV2Router));
        

        // exclude from paying fees or having max transaction amount
        excludeFromFees(liquidityWallet, true);
        excludeFromFees(address(this), true);
        excludeFromFees(LSDFundAddress, true);


        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(owner(), 1000000000 * (10**18));
    }

    receive() external payable {

  	}

    function updateDividendTracker(address newAddress) public onlyOwner {
        require(newAddress != address(dividendTracker), "TIKI: The dividend tracker already has that address");

        TIKIDividendTracker newDividendTracker = TIKIDividendTracker(payable(newAddress));

        require(newDividendTracker.owner() == address(this), "TIKI: The new dividend tracker must be owned by the TIKI token contract");

        newDividendTracker.excludeFromDividends(address(newDividendTracker));
        newDividendTracker.excludeFromDividends(address(this));
        newDividendTracker.excludeFromDividends(owner());
        newDividendTracker.excludeFromDividends(address(uniswapV2Router));

        emit UpdateDividendTracker(newAddress, address(dividendTracker));

        dividendTracker = newDividendTracker;
    }

    function updateUniswapV2Router(address newAddress) public onlyOwner {
        require(newAddress != address(uniswapV2Router), "TIKI: The router already has that address");
        emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router));
        uniswapV2Router = IKoffeeSwapRouter(newAddress);
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(_isExcludedFromFees[account] != excluded, "TIKI: Account is already the value of 'excluded'");
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

    function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded) public onlyOwner {
        for(uint256 i = 0; i < accounts.length; i++) {
            _isExcludedFromFees[accounts[i]] = excluded;
        }

        emit ExcludeMultipleAccountsFromFees(accounts, excluded);
    }

    function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {
        require(pair != uniswapV2Pair, "TIKU: The KoffeeSwap pair cannot be removed from automatedMarketMakerPairs!");
        
        //sets the default trading pair
        if(uniswapV2Pair == address(0)) {
            uniswapV2Pair = pair;
        }
        
        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        require(automatedMarketMakerPairs[pair] != value, "TIKI: Automated market maker pair is already set to that value!");
        automatedMarketMakerPairs[pair] = value;

        if(value) {
            dividendTracker.excludeFromDividends(pair);
        }

        emit SetAutomatedMarketMakerPair(pair, value);
    }


    function updateLiquidityWallet(address newLiquidityWallet) public onlyOwner {
        require(newLiquidityWallet != liquidityWallet, "TIKI: The liquidity wallet is already this address");
        excludeFromFees(newLiquidityWallet, true);
        emit LiquidityWalletUpdated(newLiquidityWallet, liquidityWallet);
        liquidityWallet = newLiquidityWallet;
    }

    function updateGasForProcessing(uint256 newValue) public onlyOwner {
        require(newValue >= 200000 && newValue <= 500000, "TIKI: gasForProcessing must be between 200,000 and 500,000");
        require(newValue != gasForProcessing, "TIKI: Cannot update gasForProcessing to same value");
        emit GasForProcessingUpdated(newValue, gasForProcessing);
        gasForProcessing = newValue;
    }

    function updateClaimWait(uint256 claimWait) external onlyOwner {
        dividendTracker.updateClaimWait(claimWait);
    }

    function getClaimWait() external view returns(uint256) {
        return dividendTracker.claimWait();
    }

    function getTotalDividendsDistributed() external view returns (uint256) {
        return dividendTracker.totalDividendsDistributed();
    }

    function isExcludedFromFees(address account) public view returns(bool) {
        return _isExcludedFromFees[account];
    }

    function withdrawableDividendOf(address account) public view returns(uint256) {
    	return dividendTracker.withdrawableDividendOf(account);
  	}

	function dividendTokenBalanceOf(address account) public view returns (uint256) {
		return dividendTracker.balanceOf(account);
	}

    function getAccountDividendsInfo(address account)
        external view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
        return dividendTracker.getAccount(account);
    }

	function getAccountDividendsInfoAtIndex(uint256 index)
        external view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
    	return dividendTracker.getAccountAtIndex(index);
    }

	function processDividendTracker(uint256 gas) external {
		(uint256 iterations, uint256 claims, uint256 lastProcessedIndex) = dividendTracker.process(gas);
		emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, false, gas, tx.origin);
    }

    function claim() external {
		dividendTracker.processAccount(msg.sender, false);
    }

    function getLastProcessedIndex() external view returns(uint256) {
    	return dividendTracker.getLastProcessedIndex();
    }

    function getNumberOfDividendTokenHolders() external view returns(uint256) {
        return dividendTracker.getNumberOfTokenHolders();
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");


        if(isInPresaleState) {
             super._transfer(from, to, amount);
             return;
        }

        if(amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if( 
        	!swapping &&
            automatedMarketMakerPairs[to] && // sells only by detecting transfer to automated market maker pair
        	from != address(uniswapV2Router) && //router -> pair is removing liquidity which shouldn't have max
            !_isExcludedFromFees[to] //no max for those excluded from fees
        ) {
            require(amount <= maxSellTransactionAmount, "Sell transfer amount exceeds the maxSellTransactionAmount.");
        }

		uint256 contractTokenBalance = balanceOf(address(this));
        
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if(
            canSwap &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            from != liquidityWallet &&
            to != liquidityWallet
        ) {
            swapping = true;
           
            uint256 swapTokens = contractTokenBalance.mul(liquidityFee).div(totalFees);
            swapAndLiquify(swapTokens);

            uint256 LSDTokens = contractTokenBalance.mul(LSDFundFee).div(totalFees);
            swapAndSendToLSDFund(LSDTokens);
            
            uint256 sellTokens = balanceOf(address(this));
            swapAndSendDividends(sellTokens);

            swapping = false;
        }


        bool takeFee =   !swapping; 

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        if(takeFee) {
        	uint256 fees = amount.mul(totalFees).div(100);

            // if sell, multiply by 1.2
            if(automatedMarketMakerPairs[to]) {
                fees = fees.mul(sellFeeIncreaseFactor).div(100);
            }

        	amount = amount.sub(fees);

            super._transfer(from, address(this), fees);
        }

        super._transfer(from, to, amount);

        try dividendTracker.setBalance(payable(from), balanceOf(from)) {} catch {}
        try dividendTracker.setBalance(payable(to), balanceOf(to)) {} catch {}

        if(!swapping) {
	    	uint256 gas = gasForProcessing;

	    	try dividendTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) {
	    		emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin);
	    	} 
	    	catch {

	    	}
        }
    }

    function swapAndLiquify(uint256 tokens) private {
        // split the contract balance into halves
        uint256 half = tokens.div(2);
        uint256 otherHalf = tokens.sub(half);

        // capture the contract's current ETH balance.
        // this is so that we can capture exactly the amount of ETH that the
        // swap creates, and not make the liquidity event include any ETH that
        // has been manually sent to the contract
        uint256 initialBalance = address(this).balance;

        // swap tokens for ETH
        swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered

        // how much ETH did we just swap into?
        uint256 newBalance = address(this).balance.sub(initialBalance);

        // add liquidity to uniswap
        addLiquidity(otherHalf, newBalance);
        
        emit SwapAndLiquify(half, newBalance, otherHalf);
    }

    function swapTokensForEth(uint256 tokenAmount) private {

        
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WKCS();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // make the swap
        uniswapV2Router.swapExactTokensForKCSSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
        
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // add the liquidity
        uniswapV2Router.addLiquidityKCS{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            liquidityWallet,
            block.timestamp
        );
        
    }

    function swapAndSendDividends(uint256 tokens) private {
        swapTokensForEth(tokens);
        uint256 dividends = address(this).balance;
        (bool success,) = address(dividendTracker).call{value: dividends}("");

        if(success) {
   	 		emit SendDividends(tokens, dividends);
        }
    }
    
    function swapAndSendToLSDFund(uint256 _amount) private {
        swapTokensForEth(_amount);
        uint256 ethToLSDFund = address(this).balance;
        (bool sent,) = LSDFundAddress.call{value: ethToLSDFund}("");
        if (sent) {
            totalSentToLSDFund = totalSentToLSDFund.add(ethToLSDFund);
            emit SendToLSDFund(_amount, ethToLSDFund);
        }
    }
    
    function updateLSDFundAddress(address _newAddress) external onlyOwner {
        require(_newAddress != LSDFundAddress, "TIKU: Current LSD Fund address and the new address are the same.");
        require(_newAddress != address(0), "TIKU: LSD Fund address can not be set to the 0x0000000000000000000000000000000000000000 address!");
        address oldAddress = LSDFundAddress;
        LSDFundAddress = _newAddress;
        excludeFromFees(oldAddress, false);
        excludeFromFees(_newAddress, true);
        emit LSDFundAddressUpdated(oldAddress, _newAddress);
    }
    
    function enterAfterPresaleState () external onlyOwner {
        require(isInPresaleState, "TIKU: The contract is already in the AfterPresale state, calling this function has no meaning!");
        isInPresaleState = false;
    }
}

contract TIKIDividendTracker is DividendPayingToken, Ownable {
    using SafeMath for uint256;
    using SafeMathInt for int256;
    using IterableMapping for IterableMapping.Map;

    IterableMapping.Map private tokenHoldersMap;
    uint256 public lastProcessedIndex;

    mapping (address => bool) public excludedFromDividends;

    mapping (address => uint256) public lastClaimTimes;

    uint256 public claimWait;
    uint256 public immutable minimumTokenBalanceForDividends;

    event ExcludeFromDividends(address indexed account);
    event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue);

    event Claim(address indexed account, uint256 amount, bool indexed automatic);

    constructor() public DividendPayingToken("TIKU_Dividend_Tracker", "TIKU_Dividend_Tracker") {
    	claimWait = 3600;
        minimumTokenBalanceForDividends = 31415 * (10**18); //must hold at least 31,415 tokens to be eligible for the rewards
    }

    function _transfer(address, address, uint256) internal override {
        require(false, "TIKU_Dividend_Tracker: No transfers allowed");
    }

    function withdrawDividend() public override {
        require(false, "TIKU_Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main TIKU contract.");
    }

    function excludeFromDividends(address account) external onlyOwner {
    	require(!excludedFromDividends[account]);
    	excludedFromDividends[account] = true;

    	_setBalance(account, 0);
    	tokenHoldersMap.remove(account);

    	emit ExcludeFromDividends(account);
    }

    function updateClaimWait(uint256 newClaimWait) external onlyOwner {
        require(newClaimWait >= 3600 && newClaimWait <= 86400, "TIKU_Dividend_Tracker: claimWait must be updated to between 1 and 24 hours");
        require(newClaimWait != claimWait, "TIKU_Dividend_Tracker: Cannot update claimWait to same value");
        emit ClaimWaitUpdated(newClaimWait, claimWait);
        claimWait = newClaimWait;
    }

    function getLastProcessedIndex() external view returns(uint256) {
    	return lastProcessedIndex;
    }

    function getNumberOfTokenHolders() external view returns(uint256) {
        return tokenHoldersMap.keys.length;
    }



    function getAccount(address _account)
        public view returns (
            address account,
            int256 index,
            int256 iterationsUntilProcessed,
            uint256 withdrawableDividends,
            uint256 totalDividends,
            uint256 lastClaimTime,
            uint256 nextClaimTime,
            uint256 secondsUntilAutoClaimAvailable) {
        account = _account;

        index = tokenHoldersMap.getIndexOfKey(account);

        iterationsUntilProcessed = -1;

        if(index >= 0) {
            if(uint256(index) > lastProcessedIndex) {
                iterationsUntilProcessed = index.sub(int256(lastProcessedIndex));
            }
            else {
                uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ?
                                                        tokenHoldersMap.keys.length.sub(lastProcessedIndex) :
                                                        0;


                iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray));
            }
        }


        withdrawableDividends = withdrawableDividendOf(account);
        totalDividends = accumulativeDividendOf(account);

        lastClaimTime = lastClaimTimes[account];

        nextClaimTime = lastClaimTime > 0 ?
                                    lastClaimTime.add(claimWait) :
                                    0;

        secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ?
                                                    nextClaimTime.sub(block.timestamp) :
                                                    0;
    }

    function getAccountAtIndex(uint256 index)
        public view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
    	if(index >= tokenHoldersMap.size()) {
            return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0);
        }

        address account = tokenHoldersMap.getKeyAtIndex(index);

        return getAccount(account);
    }

    function canAutoClaim(uint256 lastClaimTime) private view returns (bool) {
    	if(lastClaimTime > block.timestamp)  {
    		return false;
    	}

    	return block.timestamp.sub(lastClaimTime) >= claimWait;
    }

    function setBalance(address payable account, uint256 newBalance) external onlyOwner {
    	if(excludedFromDividends[account]) {
    		return;
    	}

    	if(newBalance >= minimumTokenBalanceForDividends) {
            _setBalance(account, newBalance);
    		tokenHoldersMap.set(account, newBalance);
    	}
    	else {
            _setBalance(account, 0);
    		tokenHoldersMap.remove(account);
    	}

    	processAccount(account, true);
    }

    function process(uint256 gas) public returns (uint256, uint256, uint256) {
    	uint256 numberOfTokenHolders = tokenHoldersMap.keys.length;

    	if(numberOfTokenHolders == 0) {
    		return (0, 0, lastProcessedIndex);
    	}

    	uint256 _lastProcessedIndex = lastProcessedIndex;

    	uint256 gasUsed = 0;

    	uint256 gasLeft = gasleft();

    	uint256 iterations = 0;
    	uint256 claims = 0;

    	while(gasUsed < gas && iterations < numberOfTokenHolders) {
    		_lastProcessedIndex++;

    		if(_lastProcessedIndex >= tokenHoldersMap.keys.length) {
    			_lastProcessedIndex = 0;
    		}

    		address account = tokenHoldersMap.keys[_lastProcessedIndex];

    		if(canAutoClaim(lastClaimTimes[account])) {
    			if(processAccount(payable(account), true)) {
    				claims++;
    			}
    		}

    		iterations++;

    		uint256 newGasLeft = gasleft();

    		if(gasLeft > newGasLeft) {
    			gasUsed = gasUsed.add(gasLeft.sub(newGasLeft));
    		}

    		gasLeft = newGasLeft;
    	}

    	lastProcessedIndex = _lastProcessedIndex;

    	return (iterations, claims, lastProcessedIndex);
    }

    function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) {
        uint256 amount = _withdrawDividendOfUser(account);

    	if(amount > 0) {
    		lastClaimTimes[account] = block.timestamp;
            emit Claim(account, amount, automatic);
    		return true;
    	}

    	return false;
    }
}

        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"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":"ExcludeFromFees","inputs":[{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"bool","name":"isExcluded","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"ExcludeMultipleAccountsFromFees","inputs":[{"type":"address[]","name":"accounts","internalType":"address[]","indexed":false},{"type":"bool","name":"isExcluded","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"GasForProcessingUpdated","inputs":[{"type":"uint256","name":"newValue","internalType":"uint256","indexed":true},{"type":"uint256","name":"oldValue","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"LSDFundAddressUpdated","inputs":[{"type":"address","name":"oldAddress","internalType":"address","indexed":true},{"type":"address","name":"newAddress","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"LiquidityWalletUpdated","inputs":[{"type":"address","name":"newLiquidityWallet","internalType":"address","indexed":true},{"type":"address","name":"oldLiquidityWallet","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"ProcessedDividendTracker","inputs":[{"type":"uint256","name":"iterations","internalType":"uint256","indexed":false},{"type":"uint256","name":"claims","internalType":"uint256","indexed":false},{"type":"uint256","name":"lastProcessedIndex","internalType":"uint256","indexed":false},{"type":"bool","name":"automatic","internalType":"bool","indexed":true},{"type":"uint256","name":"gas","internalType":"uint256","indexed":false},{"type":"address","name":"processor","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"SendDividends","inputs":[{"type":"uint256","name":"tokensSwapped","internalType":"uint256","indexed":false},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SendToLSDFund","inputs":[{"type":"uint256","name":"tokensSwapped","internalType":"uint256","indexed":false},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetAutomatedMarketMakerPair","inputs":[{"type":"address","name":"pair","internalType":"address","indexed":true},{"type":"bool","name":"value","internalType":"bool","indexed":true}],"anonymous":false},{"type":"event","name":"SwapAndLiquify","inputs":[{"type":"uint256","name":"tokensSwapped","internalType":"uint256","indexed":false},{"type":"uint256","name":"ethReceived","internalType":"uint256","indexed":false},{"type":"uint256","name":"tokensIntoLiqudity","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":"UpdateDividendTracker","inputs":[{"type":"address","name":"newAddress","internalType":"address","indexed":true},{"type":"address","name":"oldAddress","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"UpdateUniswapV2Router","inputs":[{"type":"address","name":"newAddress","internalType":"address","indexed":true},{"type":"address","name":"oldAddress","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"BNBRewardsFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"LSDFundAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"LSDFundFee","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":"bool","name":"","internalType":"bool"}],"name":"automatedMarketMakerPairs","inputs":[{"type":"address","name":"","internalType":"address"}]},{"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":"claim","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":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"dividendTokenBalanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract TIKIDividendTracker"}],"name":"dividendTracker","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"enterAfterPresaleState","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeFromFees","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"bool","name":"excluded","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeMultipleAccountsFromFees","inputs":[{"type":"address[]","name":"accounts","internalType":"address[]"},{"type":"bool","name":"excluded","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"gasForProcessing","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"geUnlockTime","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"},{"type":"int256","name":"","internalType":"int256"},{"type":"int256","name":"","internalType":"int256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"getAccountDividendsInfo","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"},{"type":"int256","name":"","internalType":"int256"},{"type":"int256","name":"","internalType":"int256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"getAccountDividendsInfoAtIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getClaimWait","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLastProcessedIndex","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getNumberOfDividendTokenHolders","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getTotalDividendsDistributed","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":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromFees","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isInPresaleState","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isPairCreated","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"liquidityFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"liquidityWallet","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"lock","inputs":[{"type":"uint256","name":"time","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxSellTransactionAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"processDividendTracker","inputs":[{"type":"uint256","name":"gas","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"sellFeeIncreaseFactor","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAutomatedMarketMakerPair","inputs":[{"type":"address","name":"pair","internalType":"address"},{"type":"bool","name":"value","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"swapTokensAtAmount","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":"totalFees","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSentToLSDFund","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":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"uniswapV2Pair","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IKoffeeSwapRouter"}],"name":"uniswapV2Router","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unlock","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateClaimWait","inputs":[{"type":"uint256","name":"claimWait","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateDividendTracker","inputs":[{"type":"address","name":"newAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateGasForProcessing","inputs":[{"type":"uint256","name":"newValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateLSDFundAddress","inputs":[{"type":"address","name":"_newAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateLiquidityWallet","inputs":[{"type":"address","name":"newLiquidityWallet","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateUniswapV2Router","inputs":[{"type":"address","name":"newAddress","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"withdrawableDividendOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"receive","stateMutability":"payable"}]
              

Contract Creation Code

0x61012060405269d3c21bcecceda1000000600e55692a5a058fc295ed000000600f55607861010052620493e06010553480156200003b57600080fd5b5060408051808201825260048082526354494b5560e01b6020808401828152855180870190965292855284015281519192916200007b91600391620006ff565b50805162000091906004906020840190620006ff565b5050506000620000a66200044960201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060086080819052600360a0819052600460c08190526200013a816200012685856200044d602090811b6200253417901c565b6200044d60201b620025341790919060201c565b60e0526040516200014b9062000784565b604051809103906000f08015801562000168573d6000803e3d6000fd5b50600c80546001600160a01b03929092166301000000026301000000600160b81b03199092169190911790556200019e620004af565b600d80546001600160a01b03199081166001600160a01b0393841617909155600c805460ff191660011761ff00191690819055600a80547324f3dbf2af9b04ad640f4aa02fbc9b66c41dc54290841681179091556008805473c0ffee0000c824d24e0f280f1e4d21152625742b9416841790556040805163031e79db60e41b815263010000009093049094166004830181905293519093916331e79db091602480830192600092919082900301818387803b1580156200025d57600080fd5b505af115801562000272573d6000803e3d6000fd5b5050600c546040805163031e79db60e41b8152306004820152905163010000009092046001600160a01b031693506331e79db0925060248082019260009290919082900301818387803b158015620002c957600080fd5b505af1158015620002de573d6000803e3d6000fd5b5050600c54630100000090046001600160a01b031691506331e79db0905062000306620004af565b6040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b1580156200034657600080fd5b505af11580156200035b573d6000803e3d6000fd5b50505050600c60039054906101000a90046001600160a01b03166001600160a01b03166331e79db0826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015620003c457600080fd5b505af1158015620003d9573d6000803e3d6000fd5b5050600d54620003f792506001600160a01b031690506001620004be565b62000404306001620004be565b600a546200041d906001600160a01b03166001620004be565b6200043e6200042b620004af565b6b033b2e3c9fd0803ce8000000620005eb565b5050505050620007a9565b3390565b600082820183811015620004a8576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6005546001600160a01b031690565b620004c862000449565b6005546001600160a01b039081169116146200052b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03821660009081526011602052604090205460ff16151581151514156200058b5760405162461bcd60e51b8152600401808060200182810382526030815260200180620068446030913960400191505060405180910390fd5b6001600160a01b038216600081815260116020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b6001600160a01b03821662000647576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200065560008383620006fa565b62000671816002546200044d60201b620025341790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620006a4918390620025346200044d821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200074257805160ff191683800117855562000772565b8280016001018555821562000772579182015b828111156200077257825182559160200191906001019062000755565b506200078092915062000792565b5090565b6125f5806200424f83390190565b5b8082111562000780576000815560010162000793565b60805160a05160c05160e05161010051613a486200080760003980610d4e5280612a29525080610d15528061289252806128f352806129d65250806119d05280612918525080611a5552806128b75250806120ab5250613a486000f3fe6080604052600436106103545760003560e01c806388bdd9be116101c6578063b6c52324116100f7578063ddeefebd11610095578063e7841ec01161006f578063e7841ec014610bae578063e98030c714610bc3578063f27fd25414610bed578063f2fde38b14610c175761035b565b8063ddeefebd14610b51578063e2f4560514610b66578063e37ba8f914610b7b5761035b565b8063d01f5816116100d1578063d01f581614610ac2578063d469801614610ad7578063dd46706414610aec578063dd62ed3e14610b165761035b565b8063b6c52324146109f3578063c024666814610a08578063c492f04614610a435761035b565b8063a26579ad11610164578063a8b9d2401161013e578063a8b9d240146108d6578063a9059cbb14610909578063ad56c13c14610942578063b62496f5146109c05761035b565b8063a26579ad14610873578063a457c2d714610888578063a69df4b5146108c15761035b565b806395d89b41116101a057806395d89b41146107f957806398118cb41461080e5780639a7a23d6146108235780639c1b8af51461085e5761035b565b806388bdd9be1461079c5780638da5cb5b146107cf57806392541213146107e45761035b565b8063313ce567116102a05780636843cd841161023e57806370a082311161021857806370a0823114610715578063715018a61461074857806375e648c71461075d578063871c128d146107725761035b565b80636843cd84146106a35780636aff5073146106d6578063700bb191146106eb5761035b565b80634e71d92d1161027a5780634e71d92d146106135780634fbee1931461062857806364b0f6531461065b57806365b8dbc0146106705761035b565b8063313ce5671461059a57806339509351146105c557806349bd5a5e146105fe5761035b565b806318160ddd1161030d5780632a3f7e28116102e75780632a3f7e28146105265780632c1f52161461055b57806330513ce41461057057806330bb4cff146105855761035b565b806318160ddd146104b957806322bd3f7f146104ce57806323b872dd146104e35761035b565b806302259e9e1461036057806306ad811e1461038757806306fdde03146103b8578063095ea7b31461044257806313114a9d1461048f5780631694505e146104a45761035b565b3661035b57005b600080fd5b34801561036c57600080fd5b50610375610c4a565b60408051918252519081900360200190f35b34801561039357600080fd5b5061039c610c50565b604080516001600160a01b039092168252519081900360200190f35b3480156103c457600080fd5b506103cd610c5f565b6040805160208082528351818301528351919283929083019185019080838360005b838110156104075781810151838201526020016103ef565b50505050905090810190601f1680156104345780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561044e57600080fd5b5061047b6004803603604081101561046557600080fd5b506001600160a01b038135169060200135610cf5565b604080519115158252519081900360200190f35b34801561049b57600080fd5b50610375610d13565b3480156104b057600080fd5b5061039c610d37565b3480156104c557600080fd5b50610375610d46565b3480156104da57600080fd5b50610375610d4c565b3480156104ef57600080fd5b5061047b6004803603606081101561050657600080fd5b506001600160a01b03813581169160208101359091169060400135610d70565b34801561053257600080fd5b506105596004803603602081101561054957600080fd5b50356001600160a01b0316610df7565b005b34801561056757600080fd5b5061039c610f5a565b34801561057c57600080fd5b50610375610f70565b34801561059157600080fd5b50610375610f76565b3480156105a657600080fd5b506105af610ff7565b6040805160ff9092168252519081900360200190f35b3480156105d157600080fd5b5061047b600480360360408110156105e857600080fd5b506001600160a01b038135169060200135610ffc565b34801561060a57600080fd5b5061039c61104a565b34801561061f57600080fd5b50610559611059565b34801561063457600080fd5b5061047b6004803603602081101561064b57600080fd5b50356001600160a01b03166110e4565b34801561066757600080fd5b50610375611102565b34801561067c57600080fd5b506105596004803603602081101561069357600080fd5b50356001600160a01b0316611152565b3480156106af57600080fd5b50610375600480360360208110156106c657600080fd5b50356001600160a01b0316611254565b3480156106e257600080fd5b5061047b6112ea565b3480156106f757600080fd5b506105596004803603602081101561070e57600080fd5b50356112f3565b34801561072157600080fd5b506103756004803603602081101561073857600080fd5b50356001600160a01b03166113e3565b34801561075457600080fd5b506105596113fe565b34801561076957600080fd5b5061055961148e565b34801561077e57600080fd5b506105596004803603602081101561079557600080fd5b5035611533565b3480156107a857600080fd5b50610559600480360360208110156107bf57600080fd5b50356001600160a01b0316611650565b3480156107db57600080fd5b5061039c6119bf565b3480156107f057600080fd5b506103756119ce565b34801561080557600080fd5b506103cd6119f2565b34801561081a57600080fd5b50610375611a53565b34801561082f57600080fd5b506105596004803603604081101561084657600080fd5b506001600160a01b0381351690602001351515611a77565b34801561086a57600080fd5b50610375611b52565b34801561087f57600080fd5b50610375611b58565b34801561089457600080fd5b5061047b600480360360408110156108ab57600080fd5b506001600160a01b038135169060200135611ba8565b3480156108cd57600080fd5b50610559611c10565b3480156108e257600080fd5b50610375600480360360208110156108f957600080fd5b50356001600160a01b0316611d00565b34801561091557600080fd5b5061047b6004803603604081101561092c57600080fd5b506001600160a01b038135169060200135611d64565b34801561094e57600080fd5b506109756004803603602081101561096557600080fd5b50356001600160a01b0316611d78565b604080516001600160a01b0390991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156109cc57600080fd5b5061047b600480360360208110156109e357600080fd5b50356001600160a01b0316611e58565b3480156109ff57600080fd5b50610375611e6d565b348015610a1457600080fd5b5061055960048036036040811015610a2b57600080fd5b506001600160a01b0381351690602001351515611e73565b348015610a4f57600080fd5b5061055960048036036040811015610a6657600080fd5b810190602081018135640100000000811115610a8157600080fd5b820183602082011115610a9357600080fd5b80359060200191846020830284011164010000000083111715610ab557600080fd5b9193509150351515611f89565b348015610ace57600080fd5b506103756120a9565b348015610ae357600080fd5b5061039c6120cd565b348015610af857600080fd5b5061055960048036036020811015610b0f57600080fd5b50356120dc565b348015610b2257600080fd5b5061037560048036036040811015610b3957600080fd5b506001600160a01b038135811691602001351661217d565b348015610b5d57600080fd5b5061047b6121a8565b348015610b7257600080fd5b506103756121b6565b348015610b8757600080fd5b5061055960048036036020811015610b9e57600080fd5b50356001600160a01b03166121bc565b348015610bba57600080fd5b506103756122c9565b348015610bcf57600080fd5b5061055960048036036020811015610be657600080fd5b5035612319565b348015610bf957600080fd5b5061097560048036036020811015610c1057600080fd5b50356123e7565b348015610c2357600080fd5b5061055960048036036020811015610c3a57600080fd5b50356001600160a01b031661244d565b600e5481565b600a546001600160a01b031681565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ceb5780601f10610cc057610100808354040283529160200191610ceb565b820191906000526020600020905b815481529060010190602001808311610cce57829003601f168201915b5050505050905090565b6000610d09610d02612595565b8484612599565b5060015b92915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6008546001600160a01b031681565b60025490565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610d7d848484612685565b610ded84610d89612595565b610de8856040518060600160405280602881526020016137e6602891396001600160a01b038a16600090815260016020526040812090610dc7612595565b6001600160a01b031681526020810191909152604001600020549190612c6a565b612599565b5060019392505050565b610dff612595565b6005546001600160a01b03908116911614610e4f576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b600a546001600160a01b0382811691161415610e9c5760405162461bcd60e51b815260040180806020018281038252604081526020018061360a6040913960400191505060405180910390fd5b6001600160a01b038116610ee15760405162461bcd60e51b815260040180806020018281038252606081526020018061364a6060913960600191505060405180910390fd5b600a80546001600160a01b038381166001600160a01b031983161790925516610f0b816000611e73565b610f16826001611e73565b816001600160a01b0316816001600160a01b03167f32eebfb07fc424d22b93cd0578e7a8d7c05572c7603edb027aaf238f8e284c7160405160405180910390a35050565b600c54630100000090046001600160a01b031681565b600b5481565b6000600c60039054906101000a90046001600160a01b03166001600160a01b03166385a6b3ae6040518163ffffffff1660e01b815260040160206040518083038186803b158015610fc657600080fd5b505afa158015610fda573d6000803e3d6000fd5b505050506040513d6020811015610ff057600080fd5b5051905090565b601290565b6000610d09611009612595565b84610de8856001600061101a612595565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612534565b6009546001600160a01b031681565b600c546040805163bc4c4b3760e01b8152336004820152600060248201819052915163010000009093046001600160a01b03169263bc4c4b3792604480840193602093929083900390910190829087803b1580156110b657600080fd5b505af11580156110ca573d6000803e3d6000fd5b505050506040513d60208110156110e057600080fd5b5050565b6001600160a01b031660009081526011602052604090205460ff1690565b6000600c60039054906101000a90046001600160a01b03166001600160a01b03166309bbedde6040518163ffffffff1660e01b815260040160206040518083038186803b158015610fc657600080fd5b61115a612595565b6005546001600160a01b039081169116146111aa576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b6008546001600160a01b03828116911614156111f75760405162461bcd60e51b81526004018080602001828103825260298152602001806139636029913960400191505060405180910390fd5b6008546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6000600c60039054906101000a90046001600160a01b03166001600160a01b03166370a08231836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156112b857600080fd5b505afa1580156112cc573d6000803e3d6000fd5b505050506040513d60208110156112e257600080fd5b505192915050565b600c5460ff1681565b6000806000600c60039054906101000a90046001600160a01b03166001600160a01b031663ffb2c479856040518263ffffffff1660e01b815260040180828152602001915050606060405180830381600087803b15801561135357600080fd5b505af1158015611367573d6000803e3d6000fd5b505050506040513d606081101561137d57600080fd5b5080516020808301516040938401518451848152928301829052828501819052606083018990529351929650945091925032916000917fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989181900360800190a350505050565b6001600160a01b031660009081526020819052604090205490565b611406612595565b6005546001600160a01b03908116911614611456576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b6005546040516000916001600160a01b03169060008051602061382e833981519152908390a3600580546001600160a01b0319169055565b611496612595565b6005546001600160a01b039081169116146114e6576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b600c5460ff166115275760405162461bcd60e51b815260040180806020018281038252605e815260200180613702605e913960600191505060405180910390fd5b600c805460ff19169055565b61153b612595565b6005546001600160a01b0390811691161461158b576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b62030d4081101580156115a157506207a1208111155b6115dc5760405162461bcd60e51b815260040180806020018281038252603a815260200180613535603a913960400191505060405180910390fd5b60105481141561161d5760405162461bcd60e51b81526004018080602001828103825260328152602001806136d06032913960400191505060405180910390fd5b60105460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601055565b611658612595565b6005546001600160a01b039081169116146116a8576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b600c546001600160a01b0382811663010000009092041614156116fc5760405162461bcd60e51b81526004018080602001828103825260338152602001806137926033913960400191505060405180910390fd5b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561174457600080fd5b505afa158015611758573d6000803e3d6000fd5b505050506040513d602081101561176e57600080fd5b50516001600160a01b0316146117b55760405162461bcd60e51b81526004018080602001828103825260478152602001806138996047913960600191505060405180910390fd5b806001600160a01b03166331e79db0826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561180457600080fd5b505af1158015611818573d6000803e3d6000fd5b50506040805163031e79db60e41b815230600482015290516001600160a01b03851693506331e79db09250602480830192600092919082900301818387803b15801561186357600080fd5b505af1158015611877573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db06118926119bf565b6040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b1580156118d157600080fd5b505af11580156118e5573d6000803e3d6000fd5b50506008546040805163031e79db60e41b81526001600160a01b039283166004820152905191851693506331e79db0925060248082019260009290919082900301818387803b15801561193757600080fd5b505af115801561194b573d6000803e3d6000fd5b5050600c546040516001600160a01b0363010000009092048216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600c80546001600160a01b039092166301000000026301000000600160b81b031990921691909117905550565b6005546001600160a01b031690565b7f000000000000000000000000000000000000000000000000000000000000000081565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ceb5780601f10610cc057610100808354040283529160200191610ceb565b7f000000000000000000000000000000000000000000000000000000000000000081565b611a7f612595565b6005546001600160a01b03908116911614611acf576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b6009546001600160a01b0383811691161415611b1c5760405162461bcd60e51b815260040180806020018281038252604b81526020018061384e604b913960600191505060405180910390fd5b6009546001600160a01b0316611b4857600980546001600160a01b0319166001600160a01b0384161790555b6110e08282612d01565b60105481565b6000600c60039054906101000a90046001600160a01b03166001600160a01b0316636f2789ec6040518163ffffffff1660e01b815260040160206040518083038186803b158015610fc657600080fd5b6000610d09611bb5612595565b84610de8856040518060600160405280602581526020016139ee6025913960016000611bdf612595565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612c6a565b6006546001600160a01b03163314611c595760405162461bcd60e51b81526004018080602001828103825260238152602001806139cb6023913960400191505060405180910390fd5b6007544211611caf576040805162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c2037206461797300604482015290519081900360640190fd5b6006546005546040516001600160a01b03928316929091169060008051602061382e83398151915290600090a3600654600580546001600160a01b0319166001600160a01b03909216919091179055565b6000600c60039054906101000a90046001600160a01b03166001600160a01b031663a8b9d240836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156112b857600080fd5b6000610d09611d71612595565b8484612685565b600080600080600080600080600c60039054906101000a90046001600160a01b03166001600160a01b031663fbcbc0f18a6040518263ffffffff1660e01b815260040180826001600160a01b031681526020019150506101006040518083038186803b158015611de757600080fd5b505afa158015611dfb573d6000803e3d6000fd5b505050506040513d610100811015611e1257600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e090970151959e50939c50919a509850965094509092509050919395975091939597565b60126020526000908152604090205460ff1681565b60075490565b611e7b612595565b6005546001600160a01b03908116911614611ecb576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526011602052604090205460ff1615158115151415611f295760405162461bcd60e51b81526004018080602001828103825260308152602001806135926030913960400191505060405180910390fd5b6001600160a01b038216600081815260116020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b611f91612595565b6005546001600160a01b03908116911614611fe1576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b60005b82811015612036578160116000868685818110611ffd57fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff1916911515919091179055600101611fe4565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051808060200183151581526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f1916909201829003965090945050505050a1505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600d546001600160a01b031681565b6120e4612595565b6005546001600160a01b03908116911614612134576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b60058054600680546001600160a01b03199081166001600160a01b03841617909155169055428101600755604051600090819060008051602061382e833981519152908290a350565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600c54610100900460ff1681565b600f5481565b6121c4612595565b6005546001600160a01b03908116911614612214576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b600d546001600160a01b03828116911614156122615760405162461bcd60e51b81526004018080602001828103825260328152602001806137606032913960400191505060405180910390fd5b61226c816001611e73565b600d546040516001600160a01b03918216918316907f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e90600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000600c60039054906101000a90046001600160a01b03166001600160a01b031663e7841ec06040518163ffffffff1660e01b815260040160206040518083038186803b158015610fc657600080fd5b612321612595565b6005546001600160a01b03908116911614612371576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b600c60039054906101000a90046001600160a01b03166001600160a01b031663e98030c7826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156123cc57600080fd5b505af11580156123e0573d6000803e3d6000fd5b5050505050565b600080600080600080600080600c60039054906101000a90046001600160a01b03166001600160a01b0316635183d6fd8a6040518263ffffffff1660e01b8152600401808281526020019150506101006040518083038186803b158015611de757600080fd5b612455612595565b6005546001600160a01b039081169116146124a5576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b6001600160a01b0381166124ea5760405162461bcd60e51b81526004018080602001828103825260268152602001806135c26026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692169060008051602061382e83398151915290600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b60008282018381101561258e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0383166125de5760405162461bcd60e51b815260040180806020018281038252602481526020018061393f6024913960400191505060405180910390fd5b6001600160a01b0382166126235760405162461bcd60e51b81526004018080602001828103825260228152602001806135e86022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166126ca5760405162461bcd60e51b81526004018080602001828103825260258152602001806138e06025913960400191505060405180910390fd5b6001600160a01b03821661270f5760405162461bcd60e51b815260040180806020018281038252602381526020018061356f6023913960400191505060405180910390fd5b600c5460ff161561272a57612725838383612e45565b612c65565b8061273b5761272583836000612e45565b600c5462010000900460ff1615801561276c57506001600160a01b03821660009081526012602052604090205460ff165b801561278657506008546001600160a01b03848116911614155b80156127ab57506001600160a01b03821660009081526011602052604090205460ff16155b156127f157600e548111156127f15760405162461bcd60e51b815260040180806020018281038252603a815260200180613905603a913960400191505060405180910390fd5b60006127fc306113e3565b600f549091508110801590819061281c5750600c5462010000900460ff16155b801561284157506001600160a01b03851660009081526012602052604090205460ff16155b801561285b5750600d546001600160a01b03868116911614155b80156128755750600d546001600160a01b03858116911614155b1561296d57600c805462ff000019166201000017905560006128e17f00000000000000000000000000000000000000000000000000000000000000006128db857f0000000000000000000000000000000000000000000000000000000000000000612fa0565b90612ff9565b90506128ec8161303b565b600061293c7f00000000000000000000000000000000000000000000000000000000000000006128db867f0000000000000000000000000000000000000000000000000000000000000000612fa0565b9050612947816130c1565b6000612952306113e3565b905061295d8161317a565b5050600c805462ff000019169055505b600c546001600160a01b03861660009081526011602052604090205460ff620100009092048216159116806129ba57506001600160a01b03851660009081526011602052604090205460ff165b156129c3575060005b8015612a695760006129fa60646128db877f0000000000000000000000000000000000000000000000000000000000000000612fa0565b6001600160a01b03871660009081526012602052604090205490915060ff1615612a5057612a4d60646128db837f0000000000000000000000000000000000000000000000000000000000000000612fa0565b90505b612a5a8582613229565b9450612a67873083612e45565b505b612a74868686612e45565b600c54630100000090046001600160a01b031663e30443bc87612a96816113e3565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612adc57600080fd5b505af1925050508015612aed575060015b50600c54630100000090046001600160a01b031663e30443bc86612b10816113e3565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612b5657600080fd5b505af1925050508015612b67575060015b50600c5462010000900460ff16612c6157601054600c54604080516001624d3b8760e01b0319815260048101849052905163010000009092046001600160a01b03169163ffb2c479916024808201926060929091908290030181600087803b158015612bd257600080fd5b505af1925050508015612c0657506040513d6060811015612bf257600080fd5b508051602082015160409092015190919060015b612c0f57612c5f565b604080518481526020810184905280820183905260608101869052905132916001917fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989181900360800190a35050505b505b5050505b505050565b60008184841115612cf95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612cbe578181015183820152602001612ca6565b50505050905090810190601f168015612ceb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b03821660009081526012602052604090205460ff1615158115151415612d5f5760405162461bcd60e51b815260040180806020018281038252603f81526020018061398c603f913960400191505060405180910390fd5b6001600160a01b0382166000908152601260205260409020805460ff19168215801591909117909155612e0957600c60039054906101000a90046001600160a01b03166001600160a01b03166331e79db0836040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015612df057600080fd5b505af1158015612e04573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b038316612e8a5760405162461bcd60e51b81526004018080602001828103825260258152602001806138e06025913960400191505060405180910390fd5b6001600160a01b038216612ecf5760405162461bcd60e51b815260040180806020018281038252602381526020018061356f6023913960400191505060405180910390fd5b612eda838383612c65565b612f17816040518060600160405280602681526020016136aa602691396001600160a01b0386166000908152602081905260409020549190612c6a565b6001600160a01b038085166000908152602081905260408082209390935590841681522054612f469082612534565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082612faf57506000610d0d565b82820282848281612fbc57fe5b041461258e5760405162461bcd60e51b81526004018080602001828103825260218152602001806137c56021913960400191505060405180910390fd5b600061258e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061326b565b6000613048826002612ff9565b905060006130568383613229565b905047613062836132d0565b600061306e4783613229565b905061307a8382613476565b604080518581526020810183905280820185905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15050505050565b6130ca816132d0565b600a5460405147916000916001600160a01b039091169083908381818185875af1925050503d806000811461311b576040519150601f19603f3d011682016040523d82523d6000602084013e613120565b606091505b505090508015612c6557600b546131379083612534565b600b55604080518481526020810184905281517fba85529b114e2306a274c704885797f0ec888cf272c59678bd1a8ead3f241ed5929181900390910190a1505050565b613183816132d0565b600c54604051479160009163010000009091046001600160a01b03169083908381818185875af1925050503d80600081146131da576040519150601f19603f3d011682016040523d82523d6000602084013e6131df565b606091505b505090508015612c6557604080518481526020810184905281517f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3929181900390910190a1505050565b600061258e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612c6a565b600081836132ba5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612cbe578181015183820152602001612ca6565b5060008385816132c657fe5b0495945050505050565b604080516002808252606080830184529260208301908036833701905050905030816000815181106132fe57fe5b6001600160a01b0392831660209182029290920181019190915260085460408051630565590f60e51b81529051919093169263acab21e0926004808301939192829003018186803b15801561335257600080fd5b505afa158015613366573d6000803e3d6000fd5b505050506040513d602081101561337c57600080fd5b505181518290600190811061338d57fe5b6001600160a01b0392831660209182029290920101526008546133b39130911684612599565b60085460405163970fde7360e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663970fde73968a968a9594939092909160c40190602080880191028083838b5b83811015613439578181015183820152602001613421565b505050509050019650505050505050600060405180830381600087803b15801561346257600080fd5b505af1158015612c61573d6000803e3d6000fd5b60085461348e9030906001600160a01b031684612599565b600854600d546040805163d71a1bc560e01b81523060048201526024810186905260006044820181905260648201526001600160a01b0392831660848201524260a48201529051919092169163d71a1bc591849160c48082019260609290919082900301818588803b15801561350357600080fd5b505af1158015613517573d6000803e3d6000fd5b50505050506040513d606081101561352e57600080fd5b5050505056fe54494b493a20676173466f7250726f63657373696e67206d757374206265206265747765656e203230302c30303020616e64203530302c30303045524332303a207472616e7366657220746f20746865207a65726f206164647265737354494b493a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c75646564274f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737354494b553a2043757272656e74204c53442046756e64206164647265737320616e6420746865206e6577206164647265737320617265207468652073616d652e54494b553a204c53442046756e6420616464726573732063616e206e6f742062652073657420746f207468652030783030303030303030303030303030303030303030303030303030303030303030303030303030303020616464726573732145524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636554494b493a2043616e6e6f742075706461746520676173466f7250726f63657373696e6720746f2073616d652076616c756554494b553a2054686520636f6e747261637420697320616c726561647920696e2074686520416674657250726573616c652073746174652c2063616c6c696e6720746869732066756e6374696f6e20686173206e6f206d65616e696e672154494b493a20546865206c69717569646974792077616c6c657420697320616c72656164792074686973206164647265737354494b493a20546865206469766964656e6420747261636b657220616c72656164792068617320746861742061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e054494b553a20546865204b6f666665655377617020706169722063616e6e6f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b657250616972732154494b493a20546865206e6577206469766964656e6420747261636b6572206d757374206265206f776e6564206279207468652054494b4920746f6b656e20636f6e747261637445524332303a207472616e736665722066726f6d20746865207a65726f206164647265737353656c6c207472616e7366657220616d6f756e74206578636565647320746865206d617853656c6c5472616e73616374696f6e416d6f756e742e45524332303a20617070726f76652066726f6d20746865207a65726f206164647265737354494b493a2054686520726f7574657220616c7265616479206861732074686174206164647265737354494b493a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c756521596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6f636b45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d1c62d5eb8cf4fbd22b2aae5e7e57fef0ed5c56b3da769d309e05139b5648e7564736f6c634300060c003360a06040523480156200001157600080fd5b5060408051808201825260158082527f54494b555f4469766964656e645f547261636b65720000000000000000000000602080840182815285518087019096529285528401528151919291839183916200006e9160039162000107565b5080516200008490600490602084019062000107565b505050505060006200009b6200010360201b60201c565b600980546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610e106013556906a702b43832507c0000608052620001a3565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200014a57805160ff19168380011785556200017a565b828001600101855582156200017a579182015b828111156200017a5782518255916020019190600101906200015d565b50620001889291506200018c565b5090565b5b808211156200018857600081556001016200018d565b608051612432620001c36000398061129d528061140b52506124326000f3fe6080604052600436106102295760003560e01c80638da5cb5b11610123578063bc4c4b37116100ab578063e7841ec01161006f578063e7841ec014610845578063e98030c71461085a578063f2fde38b14610884578063fbcbc0f1146108b7578063ffb2c479146108ea57610238565b8063bc4c4b3714610757578063be10b61414610792578063dd467064146107a7578063dd62ed3e146107d1578063e30443bc1461080c57610238565b8063a69df4b5116100f2578063a69df4b51461068e578063a8b9d240146106a3578063a9059cbb146106d6578063aafd847a1461070f578063b6c523241461074257610238565b80638da5cb5b146105dc57806391b89fba1461060d57806395d89b4114610640578063a457c2d71461065557610238565b8063313ce567116101b15780636a474002116101755780636a474002146105555780636f2789ec1461056a57806370a082311461057f578063715018a6146105b257806385a6b3ae146105c757610238565b8063313ce5671461041657806331e79db01461044157806339509351146104745780634e7b827f146104ad5780635183d6fd146104e057610238565b806318160ddd116101f857806318160ddd14610343578063226cfa3d1461035857806323b872dd1461038b57806327ce0147146103ce5780633009a6091461040157610238565b806303c833021461023d57806306fdde0314610245578063095ea7b3146102cf57806309bbedde1461031c57610238565b3661023857610236610932565b005b600080fd5b610236610932565b34801561025157600080fd5b5061025a6109c3565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561029457818101518382015260200161027c565b50505050905090810190601f1680156102c15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102db57600080fd5b50610308600480360360408110156102f257600080fd5b506001600160a01b038135169060200135610a59565b604080519115158252519081900360200190f35b34801561032857600080fd5b50610331610a77565b60408051918252519081900360200190f35b34801561034f57600080fd5b50610331610a7d565b34801561036457600080fd5b506103316004803603602081101561037b57600080fd5b50356001600160a01b0316610a83565b34801561039757600080fd5b50610308600480360360608110156103ae57600080fd5b506001600160a01b03813581169160208101359091169060400135610a95565b3480156103da57600080fd5b50610331600480360360208110156103f157600080fd5b50356001600160a01b0316610b1c565b34801561040d57600080fd5b50610331610b7b565b34801561042257600080fd5b5061042b610b81565b6040805160ff9092168252519081900360200190f35b34801561044d57600080fd5b506102366004803603602081101561046457600080fd5b50356001600160a01b0316610b86565b34801561048057600080fd5b506103086004803603604081101561049757600080fd5b506001600160a01b038135169060200135610ce2565b3480156104b957600080fd5b50610308600480360360208110156104d057600080fd5b50356001600160a01b0316610d30565b3480156104ec57600080fd5b5061050a6004803603602081101561050357600080fd5b5035610d45565b604080516001600160a01b0390991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b34801561056157600080fd5b50610236610ea4565b34801561057657600080fd5b50610331610edb565b34801561058b57600080fd5b50610331600480360360208110156105a257600080fd5b50356001600160a01b0316610ee1565b3480156105be57600080fd5b50610236610efc565b3480156105d357600080fd5b50610331610f8c565b3480156105e857600080fd5b506105f1610f92565b604080516001600160a01b039092168252519081900360200190f35b34801561061957600080fd5b506103316004803603602081101561063057600080fd5b50356001600160a01b0316610fa1565b34801561064c57600080fd5b5061025a610fac565b34801561066157600080fd5b506103086004803603604081101561067857600080fd5b506001600160a01b03813516906020013561100d565b34801561069a57600080fd5b50610236611075565b3480156106af57600080fd5b50610331600480360360208110156106c657600080fd5b50356001600160a01b0316611165565b3480156106e257600080fd5b50610308600480360360408110156106f957600080fd5b506001600160a01b038135169060200135611191565b34801561071b57600080fd5b506103316004803603602081101561073257600080fd5b50356001600160a01b03166111a5565b34801561074e57600080fd5b506103316111c0565b34801561076357600080fd5b506103086004803603604081101561077a57600080fd5b506001600160a01b03813516906020013515156111c6565b34801561079e57600080fd5b5061033161129b565b3480156107b357600080fd5b50610236600480360360208110156107ca57600080fd5b50356112bf565b3480156107dd57600080fd5b50610331600480360360408110156107f457600080fd5b506001600160a01b0381358116916020013516611360565b34801561081857600080fd5b506102366004803603604081101561082f57600080fd5b506001600160a01b03813516906020013561138b565b34801561085157600080fd5b50610331611555565b34801561086657600080fd5b506102366004803603602081101561087d57600080fd5b503561155b565b34801561089057600080fd5b50610236600480360360208110156108a757600080fd5b50356001600160a01b0316611677565b3480156108c357600080fd5b5061050a600480360360208110156108da57600080fd5b50356001600160a01b031661175e565b3480156108f657600080fd5b506109146004803603602081101561090d57600080fd5b50356118d1565b60408051938452602084019290925282820152519081900360600190f35b600061093c610a7d565b1161094657600080fd5b34156109c157610977610957610a7d565b61096534600160801b6119cf565b8161096c57fe5b600554919004611a2f565b60055560408051348152905133917fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511919081900360200190a26008546109bd9034611a2f565b6008555b565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a4f5780601f10610a2457610100808354040283529160200191610a4f565b820191906000526020600020905b815481529060010190602001808311610a3257829003601f168201915b5050505050905090565b6000610a6d610a66611a89565b8484611a8d565b5060015b92915050565b600c5490565b60025490565b60126020526000908152604090205481565b6000610aa2848484611b79565b610b1284610aae611a89565b610b0d85604051806060016040528060288152602001612293602891396001600160a01b038a16600090815260016020526040812090610aec611a89565b6001600160a01b031681526020810191909152604001600020549190611bb0565b611a8d565b5060019392505050565b6001600160a01b038116600090815260066020526040812054600160801b90610b6b90610b6690610b60610b5b610b5288610ee1565b600554906119cf565b611c47565b90611c57565b611c8a565b81610b7257fe5b0490505b919050565b60105481565b601290565b610b8e611a89565b6009546001600160a01b03908116911614610bde576040805162461bcd60e51b815260206004820181905260248201526000805160206122bb833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526011602052604090205460ff1615610c0457600080fd5b6001600160a01b0381166000908152601160205260408120805460ff19166001179055610c32908290611c9d565b6040805163131836e760e21b8152600c60048201526001600160a01b0383166024820152905173da0ea0b41c33f650952c629b0ff3aa9a0bae7ff491634c60db9c916044808301926000929190829003018186803b158015610c9357600080fd5b505af4158015610ca7573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b6000610a6d610cef611a89565b84610b0d8560016000610d00611a89565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611a2f565b60116020526000908152604090205460ff1681565b600080600080600080600080600c73da0ea0b41c33f650952c629b0ff3aa9a0bae7ff463deb3d89690916040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610da357600080fd5b505af4158015610db7573d6000803e3d6000fd5b505050506040513d6020811015610dcd57600080fd5b50518910610df4575060009650600019955085945086935083925082915081905080610e99565b6000600c73da0ea0b41c33f650952c629b0ff3aa9a0bae7ff463d1aa9e7e90918c6040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b158015610e5057600080fd5b505af4158015610e64573d6000803e3d6000fd5b505050506040513d6020811015610e7a57600080fd5b50519050610e878161175e565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b81526004018080602001828103825260658152602001806121d16065913960800191505060405180910390fd5b60135481565b6001600160a01b031660009081526020819052604090205490565b610f04611a89565b6009546001600160a01b03908116911614610f54576040805162461bcd60e51b815260206004820181905260248201526000805160206122bb833981519152604482015290519081900360640190fd5b6009546040516000916001600160a01b0316906000805160206122db833981519152908390a3600980546001600160a01b0319169055565b60085481565b6009546001600160a01b031690565b6000610a7182611165565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a4f5780601f10610a2457610100808354040283529160200191610a4f565b6000610a6d61101a611a89565b84610b0d856040518060600160405280602581526020016123d86025913960016000611044611a89565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611bb0565b600a546001600160a01b031633146110be5760405162461bcd60e51b815260040180806020018281038252602381526020018061238a6023913960400191505060405180910390fd5b600b544211611114576040805162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c2037206461797300604482015290519081900360640190fd5b600a546009546040516001600160a01b0392831692909116906000805160206122db83398151915290600090a3600a54600980546001600160a01b0319166001600160a01b03909216919091179055565b6001600160a01b038116600090815260076020526040812054610a719061118b84610b1c565b90611cf6565b6000610a6d61119e611a89565b8484611b79565b6001600160a01b031660009081526007602052604090205490565b600b5490565b60006111d0611a89565b6009546001600160a01b03908116911614611220576040805162461bcd60e51b815260206004820181905260248201526000805160206122bb833981519152604482015290519081900360640190fd5b600061122b84611d38565b90508015611291576001600160a01b0384166000818152601260209081526040918290204290558151848152915186151593927fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09292908290030190a36001915050610a71565b5060009392505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6112c7611a89565b6009546001600160a01b03908116911614611317576040805162461bcd60e51b815260206004820181905260248201526000805160206122bb833981519152604482015290519081900360640190fd5b60098054600a80546001600160a01b03199081166001600160a01b03841617909155169055428101600b5560405160009081906000805160206122db833981519152908290a350565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b611393611a89565b6009546001600160a01b039081169116146113e3576040805162461bcd60e51b815260206004820181905260248201526000805160206122bb833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526011602052604090205460ff161561140957611551565b7f000000000000000000000000000000000000000000000000000000000000000081106114bf5761143a8282611c9d565b60408051632f0ad01760e21b8152600c60048201526001600160a01b038416602482015260448101839052905173da0ea0b41c33f650952c629b0ff3aa9a0bae7ff49163bc2b405c916064808301926000929190829003018186803b1580156114a257600080fd5b505af41580156114b6573d6000803e3d6000fd5b50505050611544565b6114ca826000611c9d565b6040805163131836e760e21b8152600c60048201526001600160a01b0384166024820152905173da0ea0b41c33f650952c629b0ff3aa9a0bae7ff491634c60db9c916044808301926000929190829003018186803b15801561152b57600080fd5b505af415801561153f573d6000803e3d6000fd5b505050505b61154f8260016111c6565b505b5050565b60105490565b611563611a89565b6009546001600160a01b039081169116146115b3576040805162461bcd60e51b815260206004820181905260248201526000805160206122bb833981519152604482015290519081900360640190fd5b610e1081101580156115c85750620151808111155b6116035760405162461bcd60e51b815260040180806020018281038252604a8152602001806122fb604a913960600191505060405180910390fd5b6013548114156116445760405162461bcd60e51b815260040180806020018281038252603c815260200180612236603c913960400191505060405180910390fd5b60135460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601355565b61167f611a89565b6009546001600160a01b039081169116146116cf576040805162461bcd60e51b815260206004820181905260248201526000805160206122bb833981519152604482015290519081900360640190fd5b6001600160a01b0381166117145760405162461bcd60e51b81526004018080602001828103825260268152602001806121896026913960400191505060405180910390fd5b6009546040516001600160a01b038084169216906000805160206122db83398151915290600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b600080600080600080600080889750600c73da0ea0b41c33f650952c629b0ff3aa9a0bae7ff46317e142d190918a6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b1580156117d057600080fd5b505af41580156117e4573d6000803e3d6000fd5b505050506040513d60208110156117fa57600080fd5b5051965060001995506000871261185e5760105487111561182a57601054611823908890611e79565b955061185e565b601054600c546000911061183f57600061184e565b601054600c5461184e91611cf6565b905061185a8882611c57565b9650505b61186788611165565b945061187288610b1c565b6001600160a01b03891660009081526012602052604090205490945092508261189c5760006118aa565b6013546118aa908490611a2f565b91504282116118ba5760006118c4565b6118c48242611cf6565b9050919395975091939597565b600c5460009081908190806118f1575050601054600092508291506119c8565b6010546000805a90506000805b898410801561190c57508582105b156119b757600c54600190950194851061192557600094505b6000600c600001868154811061193757fe5b60009182526020808320909101546001600160a01b0316808352601290915260409091205490915061196890611eab565b15611984576119788160016111c6565b15611984576001909101905b60019092019160005a9050808511156119ae576119ab6119a48683611cf6565b8790611a2f565b95505b93506118fe9050565b601085905590975095509193505050505b9193909250565b6000826119de57506000610a71565b828202828482816119eb57fe5b0414611a285760405162461bcd60e51b81526004018080602001828103825260218152602001806122726021913960400191505060405180910390fd5b9392505050565b600082820183811015611a28576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b6001600160a01b038316611ad25760405162461bcd60e51b81526004018080602001828103825260248152602001806123666024913960400191505060405180910390fd5b6001600160a01b038216611b175760405162461bcd60e51b81526004018080602001828103825260228152602001806121af6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60405162461bcd60e51b815260040180806020018281038252602b8152602001806123ad602b913960400191505060405180910390fd5b60008184841115611c3f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c04578181015183820152602001611bec565b50505050905090810190601f168015611c315780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008181811215610a7157600080fd5b6000828201818312801590611c6c5750838112155b80611c815750600083128015611c8157508381125b611a2857600080fd5b600080821215611c9957600080fd5b5090565b6000611ca883610ee1565b905080821115611cd0576000611cbe8383611cf6565b9050611cca8482611ed2565b5061154f565b8082101561154f576000611ce48284611cf6565b9050611cf08482611f36565b50505050565b6000611a2883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611bb0565b600080611d4483611165565b90508015611e70576001600160a01b038316600090815260076020526040902054611d6f9082611a2f565b6001600160a01b038416600081815260076020908152604091829020939093558051848152905191927fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d92918290030190a26040516000906001600160a01b03851690610bb890849084818181858888f193505050503d8060008114611e11576040519150601f19603f3d011682016040523d82523d6000602084013e611e16565b606091505b5050905080611e68576001600160a01b038416600090815260076020526040902054611e429083611cf6565b6001600160a01b0385166000908152600760205260408120919091559250610b76915050565b509050610b76565b50600092915050565b6000818303818312801590611e8e5750838113155b80611c815750600083128015611c815750838113611a2857600080fd5b600042821115611ebd57506000610b76565b601354611eca4284611cf6565b101592915050565b611edc8282611f7a565b611f16611ef7610b5b836005546119cf90919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611e79565b6001600160a01b0390921660009081526006602052604090209190915550565b611f40828261206a565b611f16611f5b610b5b836005546119cf90919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611c57565b6001600160a01b038216611fd5576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611fe16000838361154f565b600254611fee9082611a2f565b6002556001600160a01b0382166000908152602081905260409020546120149082611a2f565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166120af5760405162461bcd60e51b81526004018080602001828103825260218152602001806123456021913960400191505060405180910390fd5b6120bb8260008361154f565b6120f881604051806060016040528060228152602001612167602291396001600160a01b0385166000908152602081905260409020549190611bb0565b6001600160a01b03831660009081526020819052604090205560025461211e9082611cf6565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737354494b555f4469766964656e645f547261636b65723a2077697468647261774469766964656e642064697361626c65642e20557365207468652027636c61696d272066756e6374696f6e206f6e20746865206d61696e2054494b5520636f6e74726163742e54494b555f4469766964656e645f547261636b65723a2043616e6e6f742075706461746520636c61696d5761697420746f2073616d652076616c7565536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e054494b555f4469766964656e645f547261636b65723a20636c61696d57616974206d757374206265207570646174656420746f206265747765656e203120616e6420323420686f75727345524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6f636b54494b555f4469766964656e645f547261636b65723a204e6f207472616e736665727320616c6c6f77656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220eacc918103eadcca43cecb16d0812ee2321ec8a607b67b19f11f40c5d72b9a1264736f6c634300060c003354494b493a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c7564656427

Deployed ByteCode

0x6080604052600436106103545760003560e01c806388bdd9be116101c6578063b6c52324116100f7578063ddeefebd11610095578063e7841ec01161006f578063e7841ec014610bae578063e98030c714610bc3578063f27fd25414610bed578063f2fde38b14610c175761035b565b8063ddeefebd14610b51578063e2f4560514610b66578063e37ba8f914610b7b5761035b565b8063d01f5816116100d1578063d01f581614610ac2578063d469801614610ad7578063dd46706414610aec578063dd62ed3e14610b165761035b565b8063b6c52324146109f3578063c024666814610a08578063c492f04614610a435761035b565b8063a26579ad11610164578063a8b9d2401161013e578063a8b9d240146108d6578063a9059cbb14610909578063ad56c13c14610942578063b62496f5146109c05761035b565b8063a26579ad14610873578063a457c2d714610888578063a69df4b5146108c15761035b565b806395d89b41116101a057806395d89b41146107f957806398118cb41461080e5780639a7a23d6146108235780639c1b8af51461085e5761035b565b806388bdd9be1461079c5780638da5cb5b146107cf57806392541213146107e45761035b565b8063313ce567116102a05780636843cd841161023e57806370a082311161021857806370a0823114610715578063715018a61461074857806375e648c71461075d578063871c128d146107725761035b565b80636843cd84146106a35780636aff5073146106d6578063700bb191146106eb5761035b565b80634e71d92d1161027a5780634e71d92d146106135780634fbee1931461062857806364b0f6531461065b57806365b8dbc0146106705761035b565b8063313ce5671461059a57806339509351146105c557806349bd5a5e146105fe5761035b565b806318160ddd1161030d5780632a3f7e28116102e75780632a3f7e28146105265780632c1f52161461055b57806330513ce41461057057806330bb4cff146105855761035b565b806318160ddd146104b957806322bd3f7f146104ce57806323b872dd146104e35761035b565b806302259e9e1461036057806306ad811e1461038757806306fdde03146103b8578063095ea7b31461044257806313114a9d1461048f5780631694505e146104a45761035b565b3661035b57005b600080fd5b34801561036c57600080fd5b50610375610c4a565b60408051918252519081900360200190f35b34801561039357600080fd5b5061039c610c50565b604080516001600160a01b039092168252519081900360200190f35b3480156103c457600080fd5b506103cd610c5f565b6040805160208082528351818301528351919283929083019185019080838360005b838110156104075781810151838201526020016103ef565b50505050905090810190601f1680156104345780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561044e57600080fd5b5061047b6004803603604081101561046557600080fd5b506001600160a01b038135169060200135610cf5565b604080519115158252519081900360200190f35b34801561049b57600080fd5b50610375610d13565b3480156104b057600080fd5b5061039c610d37565b3480156104c557600080fd5b50610375610d46565b3480156104da57600080fd5b50610375610d4c565b3480156104ef57600080fd5b5061047b6004803603606081101561050657600080fd5b506001600160a01b03813581169160208101359091169060400135610d70565b34801561053257600080fd5b506105596004803603602081101561054957600080fd5b50356001600160a01b0316610df7565b005b34801561056757600080fd5b5061039c610f5a565b34801561057c57600080fd5b50610375610f70565b34801561059157600080fd5b50610375610f76565b3480156105a657600080fd5b506105af610ff7565b6040805160ff9092168252519081900360200190f35b3480156105d157600080fd5b5061047b600480360360408110156105e857600080fd5b506001600160a01b038135169060200135610ffc565b34801561060a57600080fd5b5061039c61104a565b34801561061f57600080fd5b50610559611059565b34801561063457600080fd5b5061047b6004803603602081101561064b57600080fd5b50356001600160a01b03166110e4565b34801561066757600080fd5b50610375611102565b34801561067c57600080fd5b506105596004803603602081101561069357600080fd5b50356001600160a01b0316611152565b3480156106af57600080fd5b50610375600480360360208110156106c657600080fd5b50356001600160a01b0316611254565b3480156106e257600080fd5b5061047b6112ea565b3480156106f757600080fd5b506105596004803603602081101561070e57600080fd5b50356112f3565b34801561072157600080fd5b506103756004803603602081101561073857600080fd5b50356001600160a01b03166113e3565b34801561075457600080fd5b506105596113fe565b34801561076957600080fd5b5061055961148e565b34801561077e57600080fd5b506105596004803603602081101561079557600080fd5b5035611533565b3480156107a857600080fd5b50610559600480360360208110156107bf57600080fd5b50356001600160a01b0316611650565b3480156107db57600080fd5b5061039c6119bf565b3480156107f057600080fd5b506103756119ce565b34801561080557600080fd5b506103cd6119f2565b34801561081a57600080fd5b50610375611a53565b34801561082f57600080fd5b506105596004803603604081101561084657600080fd5b506001600160a01b0381351690602001351515611a77565b34801561086a57600080fd5b50610375611b52565b34801561087f57600080fd5b50610375611b58565b34801561089457600080fd5b5061047b600480360360408110156108ab57600080fd5b506001600160a01b038135169060200135611ba8565b3480156108cd57600080fd5b50610559611c10565b3480156108e257600080fd5b50610375600480360360208110156108f957600080fd5b50356001600160a01b0316611d00565b34801561091557600080fd5b5061047b6004803603604081101561092c57600080fd5b506001600160a01b038135169060200135611d64565b34801561094e57600080fd5b506109756004803603602081101561096557600080fd5b50356001600160a01b0316611d78565b604080516001600160a01b0390991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156109cc57600080fd5b5061047b600480360360208110156109e357600080fd5b50356001600160a01b0316611e58565b3480156109ff57600080fd5b50610375611e6d565b348015610a1457600080fd5b5061055960048036036040811015610a2b57600080fd5b506001600160a01b0381351690602001351515611e73565b348015610a4f57600080fd5b5061055960048036036040811015610a6657600080fd5b810190602081018135640100000000811115610a8157600080fd5b820183602082011115610a9357600080fd5b80359060200191846020830284011164010000000083111715610ab557600080fd5b9193509150351515611f89565b348015610ace57600080fd5b506103756120a9565b348015610ae357600080fd5b5061039c6120cd565b348015610af857600080fd5b5061055960048036036020811015610b0f57600080fd5b50356120dc565b348015610b2257600080fd5b5061037560048036036040811015610b3957600080fd5b506001600160a01b038135811691602001351661217d565b348015610b5d57600080fd5b5061047b6121a8565b348015610b7257600080fd5b506103756121b6565b348015610b8757600080fd5b5061055960048036036020811015610b9e57600080fd5b50356001600160a01b03166121bc565b348015610bba57600080fd5b506103756122c9565b348015610bcf57600080fd5b5061055960048036036020811015610be657600080fd5b5035612319565b348015610bf957600080fd5b5061097560048036036020811015610c1057600080fd5b50356123e7565b348015610c2357600080fd5b5061055960048036036020811015610c3a57600080fd5b50356001600160a01b031661244d565b600e5481565b600a546001600160a01b031681565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ceb5780601f10610cc057610100808354040283529160200191610ceb565b820191906000526020600020905b815481529060010190602001808311610cce57829003601f168201915b5050505050905090565b6000610d09610d02612595565b8484612599565b5060015b92915050565b7f000000000000000000000000000000000000000000000000000000000000000f81565b6008546001600160a01b031681565b60025490565b7f000000000000000000000000000000000000000000000000000000000000007881565b6000610d7d848484612685565b610ded84610d89612595565b610de8856040518060600160405280602881526020016137e6602891396001600160a01b038a16600090815260016020526040812090610dc7612595565b6001600160a01b031681526020810191909152604001600020549190612c6a565b612599565b5060019392505050565b610dff612595565b6005546001600160a01b03908116911614610e4f576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b600a546001600160a01b0382811691161415610e9c5760405162461bcd60e51b815260040180806020018281038252604081526020018061360a6040913960400191505060405180910390fd5b6001600160a01b038116610ee15760405162461bcd60e51b815260040180806020018281038252606081526020018061364a6060913960600191505060405180910390fd5b600a80546001600160a01b038381166001600160a01b031983161790925516610f0b816000611e73565b610f16826001611e73565b816001600160a01b0316816001600160a01b03167f32eebfb07fc424d22b93cd0578e7a8d7c05572c7603edb027aaf238f8e284c7160405160405180910390a35050565b600c54630100000090046001600160a01b031681565b600b5481565b6000600c60039054906101000a90046001600160a01b03166001600160a01b03166385a6b3ae6040518163ffffffff1660e01b815260040160206040518083038186803b158015610fc657600080fd5b505afa158015610fda573d6000803e3d6000fd5b505050506040513d6020811015610ff057600080fd5b5051905090565b601290565b6000610d09611009612595565b84610de8856001600061101a612595565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612534565b6009546001600160a01b031681565b600c546040805163bc4c4b3760e01b8152336004820152600060248201819052915163010000009093046001600160a01b03169263bc4c4b3792604480840193602093929083900390910190829087803b1580156110b657600080fd5b505af11580156110ca573d6000803e3d6000fd5b505050506040513d60208110156110e057600080fd5b5050565b6001600160a01b031660009081526011602052604090205460ff1690565b6000600c60039054906101000a90046001600160a01b03166001600160a01b03166309bbedde6040518163ffffffff1660e01b815260040160206040518083038186803b158015610fc657600080fd5b61115a612595565b6005546001600160a01b039081169116146111aa576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b6008546001600160a01b03828116911614156111f75760405162461bcd60e51b81526004018080602001828103825260298152602001806139636029913960400191505060405180910390fd5b6008546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6000600c60039054906101000a90046001600160a01b03166001600160a01b03166370a08231836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156112b857600080fd5b505afa1580156112cc573d6000803e3d6000fd5b505050506040513d60208110156112e257600080fd5b505192915050565b600c5460ff1681565b6000806000600c60039054906101000a90046001600160a01b03166001600160a01b031663ffb2c479856040518263ffffffff1660e01b815260040180828152602001915050606060405180830381600087803b15801561135357600080fd5b505af1158015611367573d6000803e3d6000fd5b505050506040513d606081101561137d57600080fd5b5080516020808301516040938401518451848152928301829052828501819052606083018990529351929650945091925032916000917fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989181900360800190a350505050565b6001600160a01b031660009081526020819052604090205490565b611406612595565b6005546001600160a01b03908116911614611456576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b6005546040516000916001600160a01b03169060008051602061382e833981519152908390a3600580546001600160a01b0319169055565b611496612595565b6005546001600160a01b039081169116146114e6576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b600c5460ff166115275760405162461bcd60e51b815260040180806020018281038252605e815260200180613702605e913960600191505060405180910390fd5b600c805460ff19169055565b61153b612595565b6005546001600160a01b0390811691161461158b576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b62030d4081101580156115a157506207a1208111155b6115dc5760405162461bcd60e51b815260040180806020018281038252603a815260200180613535603a913960400191505060405180910390fd5b60105481141561161d5760405162461bcd60e51b81526004018080602001828103825260328152602001806136d06032913960400191505060405180910390fd5b60105460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601055565b611658612595565b6005546001600160a01b039081169116146116a8576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b600c546001600160a01b0382811663010000009092041614156116fc5760405162461bcd60e51b81526004018080602001828103825260338152602001806137926033913960400191505060405180910390fd5b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561174457600080fd5b505afa158015611758573d6000803e3d6000fd5b505050506040513d602081101561176e57600080fd5b50516001600160a01b0316146117b55760405162461bcd60e51b81526004018080602001828103825260478152602001806138996047913960600191505060405180910390fd5b806001600160a01b03166331e79db0826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561180457600080fd5b505af1158015611818573d6000803e3d6000fd5b50506040805163031e79db60e41b815230600482015290516001600160a01b03851693506331e79db09250602480830192600092919082900301818387803b15801561186357600080fd5b505af1158015611877573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db06118926119bf565b6040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b1580156118d157600080fd5b505af11580156118e5573d6000803e3d6000fd5b50506008546040805163031e79db60e41b81526001600160a01b039283166004820152905191851693506331e79db0925060248082019260009290919082900301818387803b15801561193757600080fd5b505af115801561194b573d6000803e3d6000fd5b5050600c546040516001600160a01b0363010000009092048216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600c80546001600160a01b039092166301000000026301000000600160b81b031990921691909117905550565b6005546001600160a01b031690565b7f000000000000000000000000000000000000000000000000000000000000000481565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ceb5780601f10610cc057610100808354040283529160200191610ceb565b7f000000000000000000000000000000000000000000000000000000000000000381565b611a7f612595565b6005546001600160a01b03908116911614611acf576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b6009546001600160a01b0383811691161415611b1c5760405162461bcd60e51b815260040180806020018281038252604b81526020018061384e604b913960600191505060405180910390fd5b6009546001600160a01b0316611b4857600980546001600160a01b0319166001600160a01b0384161790555b6110e08282612d01565b60105481565b6000600c60039054906101000a90046001600160a01b03166001600160a01b0316636f2789ec6040518163ffffffff1660e01b815260040160206040518083038186803b158015610fc657600080fd5b6000610d09611bb5612595565b84610de8856040518060600160405280602581526020016139ee6025913960016000611bdf612595565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612c6a565b6006546001600160a01b03163314611c595760405162461bcd60e51b81526004018080602001828103825260238152602001806139cb6023913960400191505060405180910390fd5b6007544211611caf576040805162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c2037206461797300604482015290519081900360640190fd5b6006546005546040516001600160a01b03928316929091169060008051602061382e83398151915290600090a3600654600580546001600160a01b0319166001600160a01b03909216919091179055565b6000600c60039054906101000a90046001600160a01b03166001600160a01b031663a8b9d240836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156112b857600080fd5b6000610d09611d71612595565b8484612685565b600080600080600080600080600c60039054906101000a90046001600160a01b03166001600160a01b031663fbcbc0f18a6040518263ffffffff1660e01b815260040180826001600160a01b031681526020019150506101006040518083038186803b158015611de757600080fd5b505afa158015611dfb573d6000803e3d6000fd5b505050506040513d610100811015611e1257600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e090970151959e50939c50919a509850965094509092509050919395975091939597565b60126020526000908152604090205460ff1681565b60075490565b611e7b612595565b6005546001600160a01b03908116911614611ecb576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526011602052604090205460ff1615158115151415611f295760405162461bcd60e51b81526004018080602001828103825260308152602001806135926030913960400191505060405180910390fd5b6001600160a01b038216600081815260116020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b611f91612595565b6005546001600160a01b03908116911614611fe1576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b60005b82811015612036578160116000868685818110611ffd57fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff1916911515919091179055600101611fe4565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051808060200183151581526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f1916909201829003965090945050505050a1505050565b7f000000000000000000000000000000000000000000000000000000000000000881565b600d546001600160a01b031681565b6120e4612595565b6005546001600160a01b03908116911614612134576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b60058054600680546001600160a01b03199081166001600160a01b03841617909155169055428101600755604051600090819060008051602061382e833981519152908290a350565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600c54610100900460ff1681565b600f5481565b6121c4612595565b6005546001600160a01b03908116911614612214576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b600d546001600160a01b03828116911614156122615760405162461bcd60e51b81526004018080602001828103825260328152602001806137606032913960400191505060405180910390fd5b61226c816001611e73565b600d546040516001600160a01b03918216918316907f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e90600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000600c60039054906101000a90046001600160a01b03166001600160a01b031663e7841ec06040518163ffffffff1660e01b815260040160206040518083038186803b158015610fc657600080fd5b612321612595565b6005546001600160a01b03908116911614612371576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b600c60039054906101000a90046001600160a01b03166001600160a01b031663e98030c7826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156123cc57600080fd5b505af11580156123e0573d6000803e3d6000fd5b5050505050565b600080600080600080600080600c60039054906101000a90046001600160a01b03166001600160a01b0316635183d6fd8a6040518263ffffffff1660e01b8152600401808281526020019150506101006040518083038186803b158015611de757600080fd5b612455612595565b6005546001600160a01b039081169116146124a5576040805162461bcd60e51b8152602060048201819052602482015260008051602061380e833981519152604482015290519081900360640190fd5b6001600160a01b0381166124ea5760405162461bcd60e51b81526004018080602001828103825260268152602001806135c26026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692169060008051602061382e83398151915290600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b60008282018381101561258e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0383166125de5760405162461bcd60e51b815260040180806020018281038252602481526020018061393f6024913960400191505060405180910390fd5b6001600160a01b0382166126235760405162461bcd60e51b81526004018080602001828103825260228152602001806135e86022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166126ca5760405162461bcd60e51b81526004018080602001828103825260258152602001806138e06025913960400191505060405180910390fd5b6001600160a01b03821661270f5760405162461bcd60e51b815260040180806020018281038252602381526020018061356f6023913960400191505060405180910390fd5b600c5460ff161561272a57612725838383612e45565b612c65565b8061273b5761272583836000612e45565b600c5462010000900460ff1615801561276c57506001600160a01b03821660009081526012602052604090205460ff165b801561278657506008546001600160a01b03848116911614155b80156127ab57506001600160a01b03821660009081526011602052604090205460ff16155b156127f157600e548111156127f15760405162461bcd60e51b815260040180806020018281038252603a815260200180613905603a913960400191505060405180910390fd5b60006127fc306113e3565b600f549091508110801590819061281c5750600c5462010000900460ff16155b801561284157506001600160a01b03851660009081526012602052604090205460ff16155b801561285b5750600d546001600160a01b03868116911614155b80156128755750600d546001600160a01b03858116911614155b1561296d57600c805462ff000019166201000017905560006128e17f000000000000000000000000000000000000000000000000000000000000000f6128db857f0000000000000000000000000000000000000000000000000000000000000003612fa0565b90612ff9565b90506128ec8161303b565b600061293c7f000000000000000000000000000000000000000000000000000000000000000f6128db867f0000000000000000000000000000000000000000000000000000000000000004612fa0565b9050612947816130c1565b6000612952306113e3565b905061295d8161317a565b5050600c805462ff000019169055505b600c546001600160a01b03861660009081526011602052604090205460ff620100009092048216159116806129ba57506001600160a01b03851660009081526011602052604090205460ff165b156129c3575060005b8015612a695760006129fa60646128db877f000000000000000000000000000000000000000000000000000000000000000f612fa0565b6001600160a01b03871660009081526012602052604090205490915060ff1615612a5057612a4d60646128db837f0000000000000000000000000000000000000000000000000000000000000078612fa0565b90505b612a5a8582613229565b9450612a67873083612e45565b505b612a74868686612e45565b600c54630100000090046001600160a01b031663e30443bc87612a96816113e3565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612adc57600080fd5b505af1925050508015612aed575060015b50600c54630100000090046001600160a01b031663e30443bc86612b10816113e3565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612b5657600080fd5b505af1925050508015612b67575060015b50600c5462010000900460ff16612c6157601054600c54604080516001624d3b8760e01b0319815260048101849052905163010000009092046001600160a01b03169163ffb2c479916024808201926060929091908290030181600087803b158015612bd257600080fd5b505af1925050508015612c0657506040513d6060811015612bf257600080fd5b508051602082015160409092015190919060015b612c0f57612c5f565b604080518481526020810184905280820183905260608101869052905132916001917fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989181900360800190a35050505b505b5050505b505050565b60008184841115612cf95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612cbe578181015183820152602001612ca6565b50505050905090810190601f168015612ceb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b03821660009081526012602052604090205460ff1615158115151415612d5f5760405162461bcd60e51b815260040180806020018281038252603f81526020018061398c603f913960400191505060405180910390fd5b6001600160a01b0382166000908152601260205260409020805460ff19168215801591909117909155612e0957600c60039054906101000a90046001600160a01b03166001600160a01b03166331e79db0836040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015612df057600080fd5b505af1158015612e04573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b038316612e8a5760405162461bcd60e51b81526004018080602001828103825260258152602001806138e06025913960400191505060405180910390fd5b6001600160a01b038216612ecf5760405162461bcd60e51b815260040180806020018281038252602381526020018061356f6023913960400191505060405180910390fd5b612eda838383612c65565b612f17816040518060600160405280602681526020016136aa602691396001600160a01b0386166000908152602081905260409020549190612c6a565b6001600160a01b038085166000908152602081905260408082209390935590841681522054612f469082612534565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082612faf57506000610d0d565b82820282848281612fbc57fe5b041461258e5760405162461bcd60e51b81526004018080602001828103825260218152602001806137c56021913960400191505060405180910390fd5b600061258e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061326b565b6000613048826002612ff9565b905060006130568383613229565b905047613062836132d0565b600061306e4783613229565b905061307a8382613476565b604080518581526020810183905280820185905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15050505050565b6130ca816132d0565b600a5460405147916000916001600160a01b039091169083908381818185875af1925050503d806000811461311b576040519150601f19603f3d011682016040523d82523d6000602084013e613120565b606091505b505090508015612c6557600b546131379083612534565b600b55604080518481526020810184905281517fba85529b114e2306a274c704885797f0ec888cf272c59678bd1a8ead3f241ed5929181900390910190a1505050565b613183816132d0565b600c54604051479160009163010000009091046001600160a01b03169083908381818185875af1925050503d80600081146131da576040519150601f19603f3d011682016040523d82523d6000602084013e6131df565b606091505b505090508015612c6557604080518481526020810184905281517f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3929181900390910190a1505050565b600061258e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612c6a565b600081836132ba5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612cbe578181015183820152602001612ca6565b5060008385816132c657fe5b0495945050505050565b604080516002808252606080830184529260208301908036833701905050905030816000815181106132fe57fe5b6001600160a01b0392831660209182029290920181019190915260085460408051630565590f60e51b81529051919093169263acab21e0926004808301939192829003018186803b15801561335257600080fd5b505afa158015613366573d6000803e3d6000fd5b505050506040513d602081101561337c57600080fd5b505181518290600190811061338d57fe5b6001600160a01b0392831660209182029290920101526008546133b39130911684612599565b60085460405163970fde7360e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663970fde73968a968a9594939092909160c40190602080880191028083838b5b83811015613439578181015183820152602001613421565b505050509050019650505050505050600060405180830381600087803b15801561346257600080fd5b505af1158015612c61573d6000803e3d6000fd5b60085461348e9030906001600160a01b031684612599565b600854600d546040805163d71a1bc560e01b81523060048201526024810186905260006044820181905260648201526001600160a01b0392831660848201524260a48201529051919092169163d71a1bc591849160c48082019260609290919082900301818588803b15801561350357600080fd5b505af1158015613517573d6000803e3d6000fd5b50505050506040513d606081101561352e57600080fd5b5050505056fe54494b493a20676173466f7250726f63657373696e67206d757374206265206265747765656e203230302c30303020616e64203530302c30303045524332303a207472616e7366657220746f20746865207a65726f206164647265737354494b493a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c75646564274f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737354494b553a2043757272656e74204c53442046756e64206164647265737320616e6420746865206e6577206164647265737320617265207468652073616d652e54494b553a204c53442046756e6420616464726573732063616e206e6f742062652073657420746f207468652030783030303030303030303030303030303030303030303030303030303030303030303030303030303020616464726573732145524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636554494b493a2043616e6e6f742075706461746520676173466f7250726f63657373696e6720746f2073616d652076616c756554494b553a2054686520636f6e747261637420697320616c726561647920696e2074686520416674657250726573616c652073746174652c2063616c6c696e6720746869732066756e6374696f6e20686173206e6f206d65616e696e672154494b493a20546865206c69717569646974792077616c6c657420697320616c72656164792074686973206164647265737354494b493a20546865206469766964656e6420747261636b657220616c72656164792068617320746861742061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e054494b553a20546865204b6f666665655377617020706169722063616e6e6f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b657250616972732154494b493a20546865206e6577206469766964656e6420747261636b6572206d757374206265206f776e6564206279207468652054494b4920746f6b656e20636f6e747261637445524332303a207472616e736665722066726f6d20746865207a65726f206164647265737353656c6c207472616e7366657220616d6f756e74206578636565647320746865206d617853656c6c5472616e73616374696f6e416d6f756e742e45524332303a20617070726f76652066726f6d20746865207a65726f206164647265737354494b493a2054686520726f7574657220616c7265616479206861732074686174206164647265737354494b493a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c756521596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6f636b45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d1c62d5eb8cf4fbd22b2aae5e7e57fef0ed5c56b3da769d309e05139b5648e7564736f6c634300060c0033