Contract Address Details

0x24B2d4E06Cb52DA7f125F674A74AEe3d7344e91B

Token
xBee (xBee)
Creator
0x0d2fac–c0010a at 0xe4f3c2–2b5723
Balance
1,118.791250376954408086 LOOP ( )
Tokens
Fetching tokens...
Transactions
72 Transactions
Transfers
166 Transfers
Gas Used
3,282,148
Last Balance Update
23370890
Contract name:
xBee_Token




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




EVM Version
default




Verified at
2024-03-25T22:36:29.185995Z

Contract source code

// SPDX-License-Identifier: MIT
pragma solidity =0.8.17;
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
/**
 * @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.
 */
abstract contract Ownable is Context {
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }
    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }
    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }
    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }
    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }
    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }
    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // 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 (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }
    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }
    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }
    /**
     * @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) {
        return a + b;
    }
    /**
     * @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 a - b;
    }
    /**
     * @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) {
        return a * b;
    }
    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }
    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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 a % b;
    }
    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }
    /**
     * @dev Returns the integer division of two unsigned integers, reverting 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }
    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);
    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);
    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);
    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);
    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);
    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);
    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);
    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);
    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)
/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    uint256 private _totalSupply;
    string private _name;
    string private _symbol;
    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }
    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }
    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }
    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }
    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }
    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }
    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }
    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }
    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }
    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }
    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }
    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }
        return true;
    }
    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        _beforeTokenTransfer(from, to, amount);
        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }
        emit Transfer(from, to, amount);
        _afterTokenTransfer(from, to, amount);
    }
    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");
        _beforeTokenTransfer(address(0), account, amount);
        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);
        _afterTokenTransfer(address(0), account, amount);
    }
    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");
        _beforeTokenTransfer(account, address(0), amount);
        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }
        emit Transfer(account, address(0), amount);
        _afterTokenTransfer(account, address(0), amount);
    }
    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }
    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }
    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}
interface IUniswapV2Factory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}
interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() 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 addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, 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 removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    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 removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    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 swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(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);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}
contract xBee_Token is Context, ERC20, Ownable {
    using SafeMath for uint256;
    IUniswapV2Router02 private uniswapV2Router;
    mapping (address => bool) private _excludedFees;
    mapping (address => bool) private _excludedMaxTx;
    mapping (address => bool) private _isBot;
    bool public tradingOpen;
    bool private _swapping;
    bool public swapEnabled = false;
    uint256 private constant _tSupply = 10000 * (10**18);
    uint256 public maxBuyAmount = _tSupply;
    uint256 public maxSellAmount = _tSupply;
    uint256 public maxWalletAmount = _tSupply;
    uint256 public constant FEE_DIVISOR = 1000;
    uint256 private _totalFees;
    uint256 private _devFee;
    uint256 private _liqFee;
    uint256 public buyDevFee = 170; //17 %
    uint256 private _previousBuyDevFee = buyDevFee;
    uint256 public buyLiqFee = 50; //5 %
    uint256 private _previousBuyLiqFee = buyLiqFee;
    uint256 public sellDevFee = 5; //0.5 %
    uint256 private _previousSellDevFee = sellDevFee;
    uint256 public sellLiqFee = 5; //0.5 %
    uint256 private _previousSellLiqFee = sellLiqFee;
    uint256 private _tokensForDev;
    uint256 private _tokensForLiq;
    uint256 private _swapTokensAtAmount = 0;
    address payable private _devWallet = payable(0x787F3B414D535E91E159406f7cCfe388A429A2a0);
    address payable private _liqWallet = payable(0x787F3B414D535E91E159406f7cCfe388A429A2a0);
    address private uniswapV2Pair;
    address constant private DEAD = 0x000000000000000000000000000000000000dEaD;
    address constant private ZERO = 0x0000000000000000000000000000000000000000;
    
    constructor() ERC20("xBee", "xBee") {
        uniswapV2Router = IUniswapV2Router02(0x021745980c4b9c2F60262a0B140B1640471fb5E7);
        _approve(address(this), address(uniswapV2Router), _tSupply);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
        IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max);
        _excludedFees[owner()] = true;
        _excludedFees[address(this)] = true;
        _excludedFees[DEAD] = true;
        _excludedFees[_liqWallet] = true;
        _excludedMaxTx[owner()] = true;
        _excludedMaxTx[address(this)] = true;
        _excludedMaxTx[DEAD] = true;
        _excludedMaxTx[_liqWallet] = true;
        _mint(owner(), _tSupply);
    }
    function _transfer(address from, address to, uint256 amount) internal override {
        require(from != ZERO, "ERC20: transfer from the zero address");
        require(to != ZERO, "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        bool takeFee = true;
        bool shouldSwap = false;
        if (from != owner() && to != owner() && to != ZERO && to != DEAD && !_swapping) {
            require(!_isBot[from] && !_isBot[to], "Bot.");
            if(!tradingOpen) require(_excludedFees[from] || _excludedFees[to], "Trading is not allowed yet.");
            if (from == uniswapV2Pair && to != address(uniswapV2Router) && !_excludedMaxTx[to]) {
                require(amount <= maxBuyAmount, "Transfer amount exceeds the maxBuyAmount.");
                require(balanceOf(to) + amount <= maxWalletAmount, "Exceeds maximum wallet token amount.");
            }
            
            if (to == uniswapV2Pair && from != address(uniswapV2Router) && !_excludedMaxTx[from]) {
                require(amount <= maxSellAmount, "Transfer amount exceeds the maxSellAmount.");
                shouldSwap = true;
            }
        }
        if(_excludedFees[from] || _excludedFees[to]) takeFee = false;
        if(from != uniswapV2Pair && to != uniswapV2Pair) takeFee = false;  
        uint256 contractBalance = balanceOf(address(this));
        bool canSwap = (contractBalance > _swapTokensAtAmount) && shouldSwap;
        if (canSwap && swapEnabled && !_swapping && !_excludedFees[from] && !_excludedFees[to]) {
            _swapping = true;
            _swapBack(contractBalance);
            _swapping = false;
        }
        _tokenTransfer(from, to, amount, takeFee, shouldSwap);
    }
    function _swapBack(uint256 contractBalance) internal {
        uint256 totalTokensToSwap =  (_tokensForDev).add(_tokensForLiq);
        bool success;
        
        if (contractBalance == 0 || totalTokensToSwap == 0) return;
        if (contractBalance > _swapTokensAtAmount.mul(5)) contractBalance = _swapTokensAtAmount.mul(5);
        uint256 liquidityTokens = contractBalance.mul(_tokensForLiq).div(totalTokensToSwap).div(2);
        uint256 amountToSwapForAVAX = contractBalance.sub(liquidityTokens);
        uint256 initialAVAXBalance = address(this).balance;
        swapTokensForAVAX(amountToSwapForAVAX);
        
        uint256 avaxBalance = address(this).balance.sub(initialAVAXBalance);
        uint256 avaxForDev = avaxBalance.mul(_tokensForDev).div(totalTokensToSwap);
        uint256 avaxForLiq = avaxBalance.sub(avaxForDev);
        
        _tokensForDev = 0;
        _tokensForLiq = 0;
        if(liquidityTokens > 0 && avaxForLiq > 0) _addLiquidity(liquidityTokens, avaxForLiq);
        (success,) = address(_devWallet).call{value: avaxForDev}("");
    }
    function swapTokensForAVAX(uint256 tokenAmount) internal {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }
    function _addLiquidity(uint256 tokenAmount, uint256 avaxAmount) internal {
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        uniswapV2Router.addLiquidityETH{value: avaxAmount}(
            address(this),
            tokenAmount,
            0,
            0,
            owner(),
            block.timestamp
        );
    }
        
    function sendAVAXToFee(uint256 amount) internal {
       
        _devWallet.transfer(amount);
    }
    function isBot(address wallet) external view returns (bool) {
        return _isBot[wallet];
    }
    function openTrading() public onlyOwner {
        require(!tradingOpen, "Trading is already open");
        swapEnabled = true;
        maxBuyAmount = _tSupply.mul(1).div(100);
        maxSellAmount = _tSupply.mul(1).div(100);
        maxWalletAmount = _tSupply.mul(2).div(100);
        _swapTokensAtAmount = _tSupply.mul(5).div(10000);
        tradingOpen = true;
    }
    function setSwapEnabled(bool onoff) public onlyOwner {
        swapEnabled = onoff;
    }
    function setMaxBuyAmount(uint256 _maxBuyAmount) public onlyOwner {
        require(_maxBuyAmount >= (totalSupply().mul(1).div(1000)), "Max buy amount cannot be lower than 0.1% total supply.");
        maxBuyAmount = _maxBuyAmount;
    }
    function setMaxSellAmount(uint256 _maxSellAmount) public onlyOwner {
        require(_maxSellAmount >= (totalSupply().mul(1).div(1000)), "Max sell amount cannot be lower than 0.1% total supply.");
        maxSellAmount = _maxSellAmount;
    }
    
    function setMaxWalletAmount(uint256 _maxWalletAmount) public onlyOwner {
        require(_maxWalletAmount >= (totalSupply().mul(1).div(1000)), "Max wallet amount cannot be lower than 0.1% total supply.");
        maxWalletAmount = _maxWalletAmount;
    }
    
    function setSwapTokensAtAmount(uint256 swapTokensAtAmount) public onlyOwner {
        require(swapTokensAtAmount >= (totalSupply().mul(1).div(100000)), "Swap amount cannot be lower than 0.001% total supply.");
        require(swapTokensAtAmount <= (totalSupply().mul(5).div(1000)), "Swap amount cannot be higher than 0.5% total supply.");
        _swapTokensAtAmount = swapTokensAtAmount;
    }

    function setDevWallet(address devWallet) public onlyOwner {
        require(devWallet != ZERO, "_devWallet address cannot be 0");
        _excludedFees[_devWallet] = false;
        _excludedMaxTx[_devWallet] = false;
        _devWallet = payable(devWallet);
        _excludedFees[_devWallet] = true;
        _excludedMaxTx[_devWallet] = true;
    }
    function setLiqWallet(address liqWallet) public onlyOwner {
        require(liqWallet != ZERO, "_liqWallet address cannot be 0");
        _excludedFees[_liqWallet] = false;
        _excludedMaxTx[_liqWallet] = false;
        _liqWallet = payable(liqWallet);
        _excludedFees[_liqWallet] = true;
        _excludedMaxTx[_liqWallet] = true;
    }
    function excludeFees(address[] memory accounts, bool exclude) public onlyOwner {
        for (uint i = 0; i < accounts.length; i++) _excludedFees[accounts[i]] = exclude;
    }
    
    function excludeMaxTx(address[] memory accounts, bool exclude) public onlyOwner {
        for (uint i = 0; i < accounts.length; i++) _excludedMaxTx[accounts[i]] = exclude;
    }
    
    function bots(address[] memory accounts, bool bl) public onlyOwner {
        for (uint i = 0; i < accounts.length; i++) {
            if((accounts[i] != uniswapV2Pair) && (accounts[i] != address(this)) && (accounts[i] != address(uniswapV2Router))) _isBot[accounts[i]] = bl;
        }
    }
    function buyFee(uint256 _buyDevFee, uint256 _buyLiqFee) public onlyOwner {
        require((_buyDevFee).add(_buyLiqFee) <= 400, "Must keep buy taxes below 40%");
        buyDevFee = _buyDevFee;
        buyLiqFee = _buyLiqFee;
    }
    function sellFee(uint256 _sellDevFee, uint256 _sellLiqFee) public onlyOwner {
        require((_sellDevFee).add(_sellLiqFee) <= 300, "Must keep sell taxes below 30%");
        sellDevFee = _sellDevFee;
        sellLiqFee = _sellLiqFee;
    }
    function removeAllFee() internal {
        if (buyDevFee == 0 && buyLiqFee == 0 && sellDevFee == 0 && sellLiqFee == 0) return;
      
        _previousBuyDevFee = buyDevFee;
        _previousBuyLiqFee = buyLiqFee;
     
        _previousSellDevFee = sellDevFee;
        _previousSellLiqFee = sellLiqFee;
        
        buyDevFee = 0;
        buyLiqFee = 0;

        sellDevFee = 0;
        sellLiqFee = 0;
    }
    
    function restoreAllFee() internal {
     
        buyDevFee = _previousBuyDevFee;
        buyLiqFee = _previousBuyLiqFee;
      
        sellDevFee = _previousSellDevFee;
        sellLiqFee = _previousSellLiqFee;
    }
        
    function _tokenTransfer(address sender, address recipient, uint256 amount, bool takeFee, bool isSell) internal {
        if (!takeFee) removeAllFee();
        else amount = _takeFees(sender, amount, isSell);
        super._transfer(sender, recipient, amount);
        
        if (!takeFee) restoreAllFee();
    }
    function _takeFees(address sender, uint256 amount, bool isSell) internal returns (uint256) {
        if (isSell) _setSell();
        else _setBuy();
        
        uint256 fees;
        if (_totalFees > 0) {
            fees = amount.mul(_totalFees).div(FEE_DIVISOR);
            _tokensForDev += fees * _devFee / _totalFees;
            _tokensForLiq += fees * _devFee / _totalFees;
        }
        if (fees > 0) super._transfer(sender, address(this), fees);
        return amount -= fees;
    }
    function _setSell() internal {
        _devFee = sellDevFee;
        _liqFee = sellLiqFee;
        _totalFees = (_devFee).add(_liqFee);
    }
    function _setBuy() internal {
        _devFee = buyDevFee;
        _liqFee = buyLiqFee;
        _totalFees = (_devFee).add(_liqFee);
    }
    
    function unclog() public onlyOwner {
        uint256 contractBalance = balanceOf(address(this));
        swapTokensForAVAX(contractBalance);
    }
    
    function sendFees() public onlyOwner {
        uint256 contractAVAXBalance = address(this).balance;
        sendAVAXToFee(contractAVAXBalance);
    }
    function rescueAvax() public onlyOwner {
        bool success;
        (success,) = address(msg.sender).call{value: address(this).balance}("");
    }
    function rescueForeignTokens(address tkn) public onlyOwner {
        require(tkn != address(this), "Cannot withdraw this token");
        require(IERC20(tkn).balanceOf(address(this)) > 0, "No tokens");
        uint amount = IERC20(tkn).balanceOf(address(this));
        IERC20(tkn).transfer(msg.sender, amount);
    }
    function removeLimits() public onlyOwner {
        maxBuyAmount = _tSupply;
        maxSellAmount = _tSupply;
        maxWalletAmount = _tSupply;
    }
    receive() external payable {}
    fallback() external payable {}
}
        

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":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"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":"fallback","stateMutability":"payable"},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"FEE_DIVISOR","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"bots","inputs":[{"type":"address[]","name":"accounts","internalType":"address[]"},{"type":"bool","name":"bl","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"buyDevFee","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"buyFee","inputs":[{"type":"uint256","name":"_buyDevFee","internalType":"uint256"},{"type":"uint256","name":"_buyLiqFee","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"buyLiqFee","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":"nonpayable","outputs":[],"name":"excludeFees","inputs":[{"type":"address[]","name":"accounts","internalType":"address[]"},{"type":"bool","name":"exclude","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeMaxTx","inputs":[{"type":"address[]","name":"accounts","internalType":"address[]"},{"type":"bool","name":"exclude","internalType":"bool"}]},{"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":"isBot","inputs":[{"type":"address","name":"wallet","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxBuyAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxSellAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxWalletAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"openTrading","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeLimits","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"rescueAvax","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"rescueForeignTokens","inputs":[{"type":"address","name":"tkn","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"sellDevFee","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"sellFee","inputs":[{"type":"uint256","name":"_sellDevFee","internalType":"uint256"},{"type":"uint256","name":"_sellLiqFee","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"sellLiqFee","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"sendFees","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setDevWallet","inputs":[{"type":"address","name":"devWallet","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLiqWallet","inputs":[{"type":"address","name":"liqWallet","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxBuyAmount","inputs":[{"type":"uint256","name":"_maxBuyAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxSellAmount","inputs":[{"type":"uint256","name":"_maxSellAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxWalletAmount","inputs":[{"type":"uint256","name":"_maxWalletAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSwapEnabled","inputs":[{"type":"bool","name":"onoff","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSwapTokensAtAmount","inputs":[{"type":"uint256","name":"swapTokensAtAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"swapEnabled","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":"totalSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"tradingOpen","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unclog","inputs":[]},{"type":"receive","stateMutability":"payable"}]
            

Deployed ByteCode

0x6080604052600436106102605760003560e01c80638da5cb5b11610144578063c1aea0c3116100b6578063e01af92c1161007a578063e01af92c146108a6578063e7cf3b7f146108cf578063e99c9d09146108f8578063f2fde38b14610921578063f34eb0b81461094a578063ffb54a991461097357610267565b8063c1aea0c3146107e7578063c9567bf914610812578063d077b48f14610829578063dd62ed3e14610852578063dff90b5b1461088f57610267565b8063a457c2d711610108578063a457c2d7146106c5578063a9059cbb14610702578063aa4bde281461073f578063afa4f3b21461076a578063b6cf8ce614610793578063c04a894c146107be57610267565b80638da5cb5b146105ee57806395d89b41146106195780639c3b4fdc146106445780639e93ad8e1461066f578063a0d82dc51461069a57610267565b8063313ce567116101dd5780636d2d8162116101a15780636d2d8162146105045780636ddd17131461052d57806370a0823114610558578063715018a614610595578063751039fc146105ac57806388e765ff146105c357610267565b8063313ce5671461041d57806339509351146104485780633bbac5791461048557806366d602ae146104c257806367c45349146104ed57610267565b80631b1ece3c116102245780631b1ece3c1461034e5780631f110500146103655780631f53ac021461038e57806323b872dd146103b757806327a14fc2146103f457610267565b806306fdde0314610269578063095ea7b3146102945780630a3d5b55146102d15780630b01aa51146102fa57806318160ddd1461032357610267565b3661026757005b005b34801561027557600080fd5b5061027e61099e565b60405161028b9190613711565b60405180910390f35b3480156102a057600080fd5b506102bb60048036038101906102b691906137db565b610a30565b6040516102c89190613836565b60405180910390f35b3480156102dd57600080fd5b506102f860048036038101906102f391906139c5565b610a53565b005b34801561030657600080fd5b50610321600480360381019061031c9190613a21565b610af0565b005b34801561032f57600080fd5b50610338610d93565b6040516103459190613a5d565b60405180910390f35b34801561035a57600080fd5b50610363610d9d565b005b34801561037157600080fd5b5061038c600480360381019061038791906139c5565b610e16565b005b34801561039a57600080fd5b506103b560048036038101906103b09190613a21565b610eb3565b005b3480156103c357600080fd5b506103de60048036038101906103d99190613a78565b611156565b6040516103eb9190613836565b60405180910390f35b34801561040057600080fd5b5061041b60048036038101906104169190613acb565b611185565b005b34801561042957600080fd5b50610432611208565b60405161043f9190613b14565b60405180910390f35b34801561045457600080fd5b5061046f600480360381019061046a91906137db565b611211565b60405161047c9190613836565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a79190613a21565b611248565b6040516104b99190613836565b60405180910390f35b3480156104ce57600080fd5b506104d761129e565b6040516104e49190613a5d565b60405180910390f35b3480156104f957600080fd5b506105026112a4565b005b34801561051057600080fd5b5061052b60048036038101906105269190613b2f565b6112c5565b005b34801561053957600080fd5b50610542611336565b60405161054f9190613836565b60405180910390f35b34801561056457600080fd5b5061057f600480360381019061057a9190613a21565b611349565b60405161058c9190613a5d565b60405180910390f35b3480156105a157600080fd5b506105aa611391565b005b3480156105b857600080fd5b506105c16113a5565b005b3480156105cf57600080fd5b506105d86113e2565b6040516105e59190613a5d565b60405180910390f35b3480156105fa57600080fd5b506106036113e8565b6040516106109190613b7e565b60405180910390f35b34801561062557600080fd5b5061062e611412565b60405161063b9190613711565b60405180910390f35b34801561065057600080fd5b506106596114a4565b6040516106669190613a5d565b60405180910390f35b34801561067b57600080fd5b506106846114aa565b6040516106919190613a5d565b60405180910390f35b3480156106a657600080fd5b506106af6114b0565b6040516106bc9190613a5d565b60405180910390f35b3480156106d157600080fd5b506106ec60048036038101906106e791906137db565b6114b6565b6040516106f99190613836565b60405180910390f35b34801561070e57600080fd5b50610729600480360381019061072491906137db565b61152d565b6040516107369190613836565b60405180910390f35b34801561074b57600080fd5b50610754611550565b6040516107619190613a5d565b60405180910390f35b34801561077657600080fd5b50610791600480360381019061078c9190613acb565b611556565b005b34801561079f57600080fd5b506107a861164b565b6040516107b59190613a5d565b60405180910390f35b3480156107ca57600080fd5b506107e560048036038101906107e091906139c5565b611651565b005b3480156107f357600080fd5b506107fc611826565b6040516108099190613a5d565b60405180910390f35b34801561081e57600080fd5b5061082761182c565b005b34801561083557600080fd5b50610850600480360381019061084b9190613a21565b611999565b005b34801561085e57600080fd5b5061087960048036038101906108749190613b99565b611bcc565b6040516108869190613a5d565b60405180910390f35b34801561089b57600080fd5b506108a4611c53565b005b3480156108b257600080fd5b506108cd60048036038101906108c89190613bd9565b611c6c565b005b3480156108db57600080fd5b506108f660048036038101906108f19190613b2f565b611c91565b005b34801561090457600080fd5b5061091f600480360381019061091a9190613acb565b611d02565b005b34801561092d57600080fd5b5061094860048036038101906109439190613a21565b611d85565b005b34801561095657600080fd5b50610971600480360381019061096c9190613acb565b611e08565b005b34801561097f57600080fd5b50610988611e8b565b6040516109959190613836565b60405180910390f35b6060600380546109ad90613c35565b80601f01602080910402602001604051908101604052809291908181526020018280546109d990613c35565b8015610a265780601f106109fb57610100808354040283529160200191610a26565b820191906000526020600020905b815481529060010190602001808311610a0957829003601f168201915b5050505050905090565b600080610a3b611e9e565b9050610a48818585611ea6565b600191505092915050565b610a5b61206f565b60005b8251811015610aeb578160086000858481518110610a7f57610a7e613c66565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610ae390613cc4565b915050610a5e565b505050565b610af861206f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5e90613d58565b60405180910390fd5b600060076000601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600060086000601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080601d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160076000601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160086000601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600254905090565b610da561206f565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610dcb90613da9565b60006040518083038185875af1925050503d8060008114610e08576040519150601f19603f3d011682016040523d82523d6000602084013e610e0d565b606091505b50508091505050565b610e1e61206f565b60005b8251811015610eae578160076000858481518110610e4257610e41613c66565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610ea690613cc4565b915050610e21565b505050565b610ebb61206f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2190613e0a565b60405180910390fd5b600060076000601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600060086000601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080601c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160076000601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160086000601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600080611161611e9e565b905061116e8582856120ed565b611179858585612179565b60019150509392505050565b61118d61206f565b6111bc6103e86111ae60016111a0610d93565b612b2f90919063ffffffff16565b612b4590919063ffffffff16565b8110156111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f590613e9c565b60405180910390fd5b80600d8190555050565b60006012905090565b60008061121c611e9e565b905061123d81858561122e8589611bcc565b6112389190613ebc565b611ea6565b600191505092915050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600c5481565b6112ac61206f565b60006112b730611349565b90506112c281612b5b565b50565b6112cd61206f565b6101906112e38284612d9e90919063ffffffff16565b1115611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b90613f3c565b60405180910390fd5b81601181905550806013819055505050565b600a60029054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61139961206f565b6113a36000612db4565b565b6113ad61206f565b69021e19e0c9bab2400000600b8190555069021e19e0c9bab2400000600c8190555069021e19e0c9bab2400000600d81905550565b600b5481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461142190613c35565b80601f016020809104026020016040519081016040528092919081815260200182805461144d90613c35565b801561149a5780601f1061146f5761010080835404028352916020019161149a565b820191906000526020600020905b81548152906001019060200180831161147d57829003601f168201915b5050505050905090565b60115481565b6103e881565b60155481565b6000806114c1611e9e565b905060006114cf8286611bcc565b905083811015611514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150b90613fce565b60405180910390fd5b6115218286868403611ea6565b60019250505092915050565b600080611538611e9e565b9050611545818585612179565b600191505092915050565b600d5481565b61155e61206f565b61158e620186a06115806001611572610d93565b612b2f90919063ffffffff16565b612b4590919063ffffffff16565b8110156115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c790614060565b60405180910390fd5b6115ff6103e86115f160056115e3610d93565b612b2f90919063ffffffff16565b612b4590919063ffffffff16565b811115611641576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611638906140f2565b60405180910390fd5b80601b8190555050565b60175481565b61165961206f565b60005b825181101561182157601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168382815181106116b1576116b0613c66565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff161415801561172357503073ffffffffffffffffffffffffffffffffffffffff1683828151811061170257611701613c66565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1614155b80156117975750600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683828151811061177657611775613c66565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1614155b1561180e5781600960008584815181106117b4576117b3613c66565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b808061181990613cc4565b91505061165c565b505050565b60135481565b61183461206f565b600a60009054906101000a900460ff1615611884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187b9061415e565b60405180910390fd5b6001600a60026101000a81548160ff0219169083151502179055506118d060646118c2600169021e19e0c9bab2400000612b2f90919063ffffffff16565b612b4590919063ffffffff16565b600b8190555061190760646118f9600169021e19e0c9bab2400000612b2f90919063ffffffff16565b612b4590919063ffffffff16565b600c8190555061193e6064611930600269021e19e0c9bab2400000612b2f90919063ffffffff16565b612b4590919063ffffffff16565b600d81905550611976612710611968600569021e19e0c9bab2400000612b2f90919063ffffffff16565b612b4590919063ffffffff16565b601b819055506001600a60006101000a81548160ff021916908315150217905550565b6119a161206f565b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a06906141ca565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611a4a9190613b7e565b602060405180830381865afa158015611a67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8b91906141ff565b11611acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac290614278565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611b069190613b7e565b602060405180830381865afa158015611b23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4791906141ff565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401611b84929190614298565b6020604051808303816000875af1158015611ba3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc791906142d6565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611c5b61206f565b6000479050611c6981612e7a565b50565b611c7461206f565b80600a60026101000a81548160ff02191690831515021790555050565b611c9961206f565b61012c611caf8284612d9e90919063ffffffff16565b1115611cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce79061434f565b60405180910390fd5b81601581905550806017819055505050565b611d0a61206f565b611d396103e8611d2b6001611d1d610d93565b612b2f90919063ffffffff16565b612b4590919063ffffffff16565b811015611d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d72906143e1565b60405180910390fd5b80600c8190555050565b611d8d61206f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df390614473565b60405180910390fd5b611e0581612db4565b50565b611e1061206f565b611e3f6103e8611e316001611e23610d93565b612b2f90919063ffffffff16565b612b4590919063ffffffff16565b811015611e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7890614505565b60405180910390fd5b80600b8190555050565b600a60009054906101000a900460ff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0c90614597565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7b90614629565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516120629190613a5d565b60405180910390a3505050565b612077611e9e565b73ffffffffffffffffffffffffffffffffffffffff166120956113e8565b73ffffffffffffffffffffffffffffffffffffffff16146120eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e290614695565b60405180910390fd5b565b60006120f98484611bcc565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146121735781811015612165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215c90614701565b60405180910390fd5b6121728484848403611ea6565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036121e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121df90614793565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612257576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224e90614825565b60405180910390fd5b6000811161229a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612291906148b7565b60405180910390fd5b60006001905060006122aa6113e8565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415801561231857506122e86113e8565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b80156123515750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b801561238b575061dead73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b80156123a45750600a60019054906101000a900460ff16155b1561287657600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561244d5750600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b61248c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248390614923565b60405180910390fd5b600a60009054906101000a900460ff1661258157600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806125415750600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612580576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125779061498f565b60405180910390fd5b5b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614801561262c5750600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b80156126825750600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561272557600b548311156126cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c390614a21565b60405180910390fd5b600d54836126d986611349565b6126e39190613ebc565b1115612724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271b90614ab3565b60405180910390fd5b5b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480156127d05750600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b80156128265750600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561287557600c54831115612870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286790614b45565b60405180910390fd5b600190505b5b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806129175750600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b1561292157600091505b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141580156129cd5750601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b156129d757600091505b60006129e230611349565b90506000601b54821180156129f45750825b9050808015612a0f5750600a60029054906101000a900460ff165b8015612a285750600a60019054906101000a900460ff16155b8015612a7e5750600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015612ad45750600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612b19576001600a60016101000a81548160ff021916908315150217905550612afd82612ee6565b6000600a60016101000a81548160ff0219169083151502179055505b612b2687878787876130d9565b50505050505050565b60008183612b3d9190614b65565b905092915050565b60008183612b539190614bd6565b905092915050565b6000600267ffffffffffffffff811115612b7857612b77613856565b5b604051908082528060200260200182016040528015612ba65781602001602082028036833780820191505090505b5090503081600081518110612bbe57612bbd613c66565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c899190614c1c565b81600181518110612c9d57612c9c613c66565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612d0430600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684611ea6565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b8152600401612d68959493929190614d4c565b600060405180830381600087803b158015612d8257600080fd5b505af1158015612d96573d6000803e3d6000fd5b505050505050565b60008183612dac9190613ebc565b905092915050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612ee2573d6000803e3d6000fd5b5050565b6000612eff601a54601954612d9e90919063ffffffff16565b9050600080831480612f115750600082145b15612f1d5750506130d6565b612f336005601b54612b2f90919063ffffffff16565b831115612f5357612f506005601b54612b2f90919063ffffffff16565b92505b6000612f8f6002612f8185612f73601a5489612b2f90919063ffffffff16565b612b4590919063ffffffff16565b612b4590919063ffffffff16565b90506000612fa6828661311990919063ffffffff16565b90506000479050612fb682612b5b565b6000612fcb824761311990919063ffffffff16565b90506000612ff687612fe860195485612b2f90919063ffffffff16565b612b4590919063ffffffff16565b9050600061300d828461311990919063ffffffff16565b905060006019819055506000601a8190555060008611801561302f5750600081115b1561303f5761303e868261312f565b5b601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161308590613da9565b60006040518083038185875af1925050503d80600081146130c2576040519150601f19603f3d011682016040523d82523d6000602084013e6130c7565b606091505b50508097505050505050505050505b50565b816130eb576130e6613214565b6130f9565b6130f685848361328f565b92505b613104858585613379565b81613112576131116135ef565b5b5050505050565b600081836131279190614da6565b905092915050565b61315c30600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684611ea6565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d7198230856000806131a86113e8565b426040518863ffffffff1660e01b81526004016131ca96959493929190614dda565b60606040518083038185885af11580156131e8573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061320d9190614e3b565b5050505050565b600060115414801561322857506000601354145b801561323657506000601554145b801561324457506000601754145b61328d5760115460128190555060135460148190555060155460168190555060175460188190555060006011819055506000601381905550600060158190555060006017819055505b565b600081156132a45761329f613615565b6132ad565b6132ac613646565b5b600080600e54111561334b576132e26103e86132d4600e5487612b2f90919063ffffffff16565b612b4590919063ffffffff16565b9050600e54600f54826132f59190614b65565b6132ff9190614bd6565b601960008282546133109190613ebc565b92505081905550600e54600f54826133289190614b65565b6133329190614bd6565b601a60008282546133439190613ebc565b925050819055505b60008111156133605761335f853083613379565b5b808461336c9190614da6565b9350839150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036133e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133df90614793565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161344e90614825565b60405180910390fd5b613462838383613677565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156134e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134df90614f00565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516135d69190613a5d565b60405180910390a36135e984848461367c565b50505050565b601254601181905550601454601381905550601654601581905550601854601781905550565b601554600f8190555060175460108190555061363e601054600f54612d9e90919063ffffffff16565b600e81905550565b601154600f8190555060135460108190555061366f601054600f54612d9e90919063ffffffff16565b600e81905550565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136bb5780820151818401526020810190506136a0565b60008484015250505050565b6000601f19601f8301169050919050565b60006136e382613681565b6136ed818561368c565b93506136fd81856020860161369d565b613706816136c7565b840191505092915050565b6000602082019050818103600083015261372b81846136d8565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061377282613747565b9050919050565b61378281613767565b811461378d57600080fd5b50565b60008135905061379f81613779565b92915050565b6000819050919050565b6137b8816137a5565b81146137c357600080fd5b50565b6000813590506137d5816137af565b92915050565b600080604083850312156137f2576137f161373d565b5b600061380085828601613790565b9250506020613811858286016137c6565b9150509250929050565b60008115159050919050565b6138308161381b565b82525050565b600060208201905061384b6000830184613827565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61388e826136c7565b810181811067ffffffffffffffff821117156138ad576138ac613856565b5b80604052505050565b60006138c0613733565b90506138cc8282613885565b919050565b600067ffffffffffffffff8211156138ec576138eb613856565b5b602082029050602081019050919050565b600080fd5b6000613915613910846138d1565b6138b6565b90508083825260208201905060208402830185811115613938576139376138fd565b5b835b81811015613961578061394d8882613790565b84526020840193505060208101905061393a565b5050509392505050565b600082601f8301126139805761397f613851565b5b8135613990848260208601613902565b91505092915050565b6139a28161381b565b81146139ad57600080fd5b50565b6000813590506139bf81613999565b92915050565b600080604083850312156139dc576139db61373d565b5b600083013567ffffffffffffffff8111156139fa576139f9613742565b5b613a068582860161396b565b9250506020613a17858286016139b0565b9150509250929050565b600060208284031215613a3757613a3661373d565b5b6000613a4584828501613790565b91505092915050565b613a57816137a5565b82525050565b6000602082019050613a726000830184613a4e565b92915050565b600080600060608486031215613a9157613a9061373d565b5b6000613a9f86828701613790565b9350506020613ab086828701613790565b9250506040613ac1868287016137c6565b9150509250925092565b600060208284031215613ae157613ae061373d565b5b6000613aef848285016137c6565b91505092915050565b600060ff82169050919050565b613b0e81613af8565b82525050565b6000602082019050613b296000830184613b05565b92915050565b60008060408385031215613b4657613b4561373d565b5b6000613b54858286016137c6565b9250506020613b65858286016137c6565b9150509250929050565b613b7881613767565b82525050565b6000602082019050613b936000830184613b6f565b92915050565b60008060408385031215613bb057613baf61373d565b5b6000613bbe85828601613790565b9250506020613bcf85828601613790565b9150509250929050565b600060208284031215613bef57613bee61373d565b5b6000613bfd848285016139b0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613c4d57607f821691505b602082108103613c6057613c5f613c06565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ccf826137a5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613d0157613d00613c95565b5b600182019050919050565b7f5f6c697157616c6c657420616464726573732063616e6e6f7420626520300000600082015250565b6000613d42601e8361368c565b9150613d4d82613d0c565b602082019050919050565b60006020820190508181036000830152613d7181613d35565b9050919050565b600081905092915050565b50565b6000613d93600083613d78565b9150613d9e82613d83565b600082019050919050565b6000613db482613d86565b9150819050919050565b7f5f64657657616c6c657420616464726573732063616e6e6f7420626520300000600082015250565b6000613df4601e8361368c565b9150613dff82613dbe565b602082019050919050565b60006020820190508181036000830152613e2381613de7565b9050919050565b7f4d61782077616c6c657420616d6f756e742063616e6e6f74206265206c6f776560008201527f72207468616e20302e312520746f74616c20737570706c792e00000000000000602082015250565b6000613e8660398361368c565b9150613e9182613e2a565b604082019050919050565b60006020820190508181036000830152613eb581613e79565b9050919050565b6000613ec7826137a5565b9150613ed2836137a5565b9250828201905080821115613eea57613ee9613c95565b5b92915050565b7f4d757374206b656570206275792074617865732062656c6f7720343025000000600082015250565b6000613f26601d8361368c565b9150613f3182613ef0565b602082019050919050565b60006020820190508181036000830152613f5581613f19565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613fb860258361368c565b9150613fc382613f5c565b604082019050919050565b60006020820190508181036000830152613fe781613fab565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60008201527f20302e3030312520746f74616c20737570706c792e0000000000000000000000602082015250565b600061404a60358361368c565b915061405582613fee565b604082019050919050565b600060208201905081810360008301526140798161403d565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160008201527f6e20302e352520746f74616c20737570706c792e000000000000000000000000602082015250565b60006140dc60348361368c565b91506140e782614080565b604082019050919050565b6000602082019050818103600083015261410b816140cf565b9050919050565b7f54726164696e6720697320616c7265616479206f70656e000000000000000000600082015250565b600061414860178361368c565b915061415382614112565b602082019050919050565b600060208201905081810360008301526141778161413b565b9050919050565b7f43616e6e6f74207769746864726177207468697320746f6b656e000000000000600082015250565b60006141b4601a8361368c565b91506141bf8261417e565b602082019050919050565b600060208201905081810360008301526141e3816141a7565b9050919050565b6000815190506141f9816137af565b92915050565b6000602082840312156142155761421461373d565b5b6000614223848285016141ea565b91505092915050565b7f4e6f20746f6b656e730000000000000000000000000000000000000000000000600082015250565b600061426260098361368c565b915061426d8261422c565b602082019050919050565b6000602082019050818103600083015261429181614255565b9050919050565b60006040820190506142ad6000830185613b6f565b6142ba6020830184613a4e565b9392505050565b6000815190506142d081613999565b92915050565b6000602082840312156142ec576142eb61373d565b5b60006142fa848285016142c1565b91505092915050565b7f4d757374206b6565702073656c6c2074617865732062656c6f77203330250000600082015250565b6000614339601e8361368c565b915061434482614303565b602082019050919050565b600060208201905081810360008301526143688161432c565b9050919050565b7f4d61782073656c6c20616d6f756e742063616e6e6f74206265206c6f7765722060008201527f7468616e20302e312520746f74616c20737570706c792e000000000000000000602082015250565b60006143cb60378361368c565b91506143d68261436f565b604082019050919050565b600060208201905081810360008301526143fa816143be565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061445d60268361368c565b915061446882614401565b604082019050919050565b6000602082019050818103600083015261448c81614450565b9050919050565b7f4d61782062757920616d6f756e742063616e6e6f74206265206c6f776572207460008201527f68616e20302e312520746f74616c20737570706c792e00000000000000000000602082015250565b60006144ef60368361368c565b91506144fa82614493565b604082019050919050565b6000602082019050818103600083015261451e816144e2565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061458160248361368c565b915061458c82614525565b604082019050919050565b600060208201905081810360008301526145b081614574565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061461360228361368c565b915061461e826145b7565b604082019050919050565b6000602082019050818103600083015261464281614606565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061467f60208361368c565b915061468a82614649565b602082019050919050565b600060208201905081810360008301526146ae81614672565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006146eb601d8361368c565b91506146f6826146b5565b602082019050919050565b6000602082019050818103600083015261471a816146de565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061477d60258361368c565b915061478882614721565b604082019050919050565b600060208201905081810360008301526147ac81614770565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061480f60238361368c565b915061481a826147b3565b604082019050919050565b6000602082019050818103600083015261483e81614802565b9050919050565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b60006148a160298361368c565b91506148ac82614845565b604082019050919050565b600060208201905081810360008301526148d081614894565b9050919050565b7f426f742e00000000000000000000000000000000000000000000000000000000600082015250565b600061490d60048361368c565b9150614918826148d7565b602082019050919050565b6000602082019050818103600083015261493c81614900565b9050919050565b7f54726164696e67206973206e6f7420616c6c6f776564207965742e0000000000600082015250565b6000614979601b8361368c565b915061498482614943565b602082019050919050565b600060208201905081810360008301526149a88161496c565b9050919050565b7f5472616e7366657220616d6f756e74206578636565647320746865206d61784260008201527f7579416d6f756e742e0000000000000000000000000000000000000000000000602082015250565b6000614a0b60298361368c565b9150614a16826149af565b604082019050919050565b60006020820190508181036000830152614a3a816149fe565b9050919050565b7f45786365656473206d6178696d756d2077616c6c657420746f6b656e20616d6f60008201527f756e742e00000000000000000000000000000000000000000000000000000000602082015250565b6000614a9d60248361368c565b9150614aa882614a41565b604082019050919050565b60006020820190508181036000830152614acc81614a90565b9050919050565b7f5472616e7366657220616d6f756e74206578636565647320746865206d61785360008201527f656c6c416d6f756e742e00000000000000000000000000000000000000000000602082015250565b6000614b2f602a8361368c565b9150614b3a82614ad3565b604082019050919050565b60006020820190508181036000830152614b5e81614b22565b9050919050565b6000614b70826137a5565b9150614b7b836137a5565b9250828202614b89816137a5565b91508282048414831517614ba057614b9f613c95565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614be1826137a5565b9150614bec836137a5565b925082614bfc57614bfb614ba7565b5b828204905092915050565b600081519050614c1681613779565b92915050565b600060208284031215614c3257614c3161373d565b5b6000614c4084828501614c07565b91505092915050565b6000819050919050565b6000819050919050565b6000614c78614c73614c6e84614c49565b614c53565b6137a5565b9050919050565b614c8881614c5d565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614cc381613767565b82525050565b6000614cd58383614cba565b60208301905092915050565b6000602082019050919050565b6000614cf982614c8e565b614d038185614c99565b9350614d0e83614caa565b8060005b83811015614d3f578151614d268882614cc9565b9750614d3183614ce1565b925050600181019050614d12565b5085935050505092915050565b600060a082019050614d616000830188613a4e565b614d6e6020830187614c7f565b8181036040830152614d808186614cee565b9050614d8f6060830185613b6f565b614d9c6080830184613a4e565b9695505050505050565b6000614db1826137a5565b9150614dbc836137a5565b9250828203905081811115614dd457614dd3613c95565b5b92915050565b600060c082019050614def6000830189613b6f565b614dfc6020830188613a4e565b614e096040830187614c7f565b614e166060830186614c7f565b614e236080830185613b6f565b614e3060a0830184613a4e565b979650505050505050565b600080600060608486031215614e5457614e5361373d565b5b6000614e62868287016141ea565b9350506020614e73868287016141ea565b9250506040614e84868287016141ea565b9150509250925092565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000614eea60268361368c565b9150614ef582614e8e565b604082019050919050565b60006020820190508181036000830152614f1981614edd565b905091905056fea26469706673582212201e894ae5cb25f76e47a20a958104031f7c086b62ee4cf4f31491b83c05d47fcc64736f6c63430008110033