false
true
0

Contract Address Details

0x00fEBF86E8F0673F0FeADAc14b5Ea1a05e744CB7

Token
Growth BTC (GBTC)
Creator
0x2f8092–c1c8ce at 0x93f5b7–287131
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
3,089 Transactions
Transfers
0 Transfers
Gas Used
0
Last Balance Update
26162449
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
FixedSupplyReflectionToken




Optimization enabled
true
Compiler version
v0.8.9+commit.e5eed63a




Optimization runs
88888
EVM Version
default




Verified at
2023-06-01T22:27:21.035977Z

Constructor Arguments

0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000030e4f9b400000000000000000000000000b0632a01ee778e09625bce2a257e221b49e796960000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000098bf93ebf5c380c0e6ae8e192a7e2ae08edacc02000000000000000000000000fefd2e357efb792d17ce7412d7c7e7583028a887000000000000000000000000000000000000000000000000000000000000000a47726f777468204254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044742544300000000000000000000000000000000000000000000000000000000

Arg [0] (string) : Growth BTC
Arg [1] (string) : GBTC
Arg [2] (uint8) : 8
Arg [3] (uint256) : 210000000000
Arg [4] (address) : 0xb0632a01ee778e09625bce2a257e221b49e79696
Arg [5] (address) : 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
Arg [6] (address) : 0x98bf93ebf5c380c0e6ae8e192a7e2ae08edacc02
Arg [7] (address) : 0xfefd2e357efb792d17ce7412d7c7e7583028a887

              

contracts/FixedSupplyReflectionToken.sol

// SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.8.9;

import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import { Address } from "@openzeppelin/contracts/utils/Address.sol";

import { IUniswapV2Router } from "./IUniswapV2Router.sol";
import { IUniswapV2Factory } from "./IUniswapV2Factory.sol";

contract FixedSupplyReflectionToken is Ownable, ERC20
{
	using Address for address;
	using SafeERC20 for IERC20;

	struct AccountInfo {
		bool exists; // existence flag
		bool excludeFromRewards; // whether or not receive rewards
		uint256 activeBalance; // 0 or user's balance
		uint256 rewardDebt; // base for reward distribution
		uint256 unclaimedReward; // reward balance available for claim
	}

	address constant FURNACE = 0x000000000000000000000000000000000000dEaD;

	uint256 constant TRANSFER_FEE = 3e16; // 3%

	uint256 constant DEFAULT_MINIMUM_FEE_BALANCE_TO_BUYBACK = 0.0001e8; // 0.0001 GBTC
	uint256 constant DEFAULT_MINIMUM_REWARD_BALANCE_TO_CLAIM = 0.00000001e8; // 0.00000001 WBTC

	uint8 private decimals_; // number of decimal places

	bool private inswap_; // internal flag to bypass additional token transfer logic

	address public immutable router; // PulseX router
	address public immutable pair; // GBTC/PMBTC liquidity pool on PulseX
	address[] public path; // route from GBTC to WBTC via PMBTC

	uint256 public totalActiveSupply = 0; // sum of active balances for all GWBT holders

	address public immutable routeToken; // PMBTC
	address public immutable rewardToken; // WBTC
	uint256 public rewardBalance = 0; // tracked WBTC balance
	uint256 public accRewardPerShare = 0; // accumulated WBTC per share (double precision)

	uint256 public minimumFeeBalanceToBuyback = DEFAULT_MINIMUM_FEE_BALANCE_TO_BUYBACK;
	uint256 public minimumRewardBalanceToClaim = DEFAULT_MINIMUM_REWARD_BALANCE_TO_CLAIM;

	address[] public accountIndex; // list of all accounts that ever received GBTC
	mapping(address => AccountInfo) public accountInfo; // account attributes

	function accountIndexLength() external view returns (uint256 _length)
	{
		return accountIndex.length;
	}

	constructor(string memory _name, string memory _symbol, uint8 _decimals, uint256 _supply, address _receiver, address _rewardToken, address _router, address _routeToken)
		ERC20(_name, _symbol)
	{
		decimals_ = _decimals;

		inswap_ = false;

		router = _router;

		address _factory = IUniswapV2Router(_router).factory();
		pair = IUniswapV2Factory(_factory).createPair(_routeToken, address(this));

		path = new address[](3);
		path[0] = address(this);
		path[1] = _routeToken;
		path[2] = _rewardToken;

		routeToken = _routeToken;
		rewardToken = _rewardToken;

		_approve(address(this), _router, type(uint256).max);

		_mint(_receiver, _supply);
	}

	function decimals() public view override returns (uint8 _decimals)
	{
		return decimals_;
	}

	function updateMinimumFeeBalanceToBuyback(uint256 _minimumFeeBalanceToBuyback) external onlyOwner
	{
		minimumFeeBalanceToBuyback = _minimumFeeBalanceToBuyback;
		emit UpdateMinimumFeeBalanceToBuyback(_minimumFeeBalanceToBuyback);
	}

	function updateMinimumRewardBalanceToClaim(uint256 _minimumRewardBalanceToClaim) external onlyOwner
	{
		minimumRewardBalanceToClaim = _minimumRewardBalanceToClaim;
		emit UpdateMinimumRewardBalanceToClaim(_minimumRewardBalanceToClaim);
	}

	function updateExcludeFromRewards(bool _excludeFromRewards) external
	{
		_updateAccount(msg.sender);
		AccountInfo storage _accountInfo = accountInfo[msg.sender];
		_accountInfo.excludeFromRewards = _excludeFromRewards;
		_postUpdateAccount(msg.sender);
		emit UpdateExcludeFromRewards(msg.sender, _excludeFromRewards);
	}

	function _updateAccount(address _account) internal
	{
		AccountInfo storage _accountInfo = accountInfo[_account];
		if (!_accountInfo.exists) {
			accountIndex.push(_account);
			_accountInfo.exists = true;
			_accountInfo.excludeFromRewards = _account == FURNACE || _account.isContract();
			_accountInfo.activeBalance = 0;
			_accountInfo.rewardDebt = 0;
			_accountInfo.unclaimedReward = 0;
			return;
		}
		{
			uint256 _activeBalance = _accountInfo.activeBalance;
			if (_activeBalance > 0) {
				uint256 _rewardDebt = _activeBalance * accRewardPerShare / 1e36;
				uint256 _rewardAmount = _rewardDebt - _accountInfo.rewardDebt;
				_accountInfo.unclaimedReward += _rewardAmount;
				_accountInfo.rewardDebt = _rewardDebt;
			}
		}
		{
			uint256 _unclaimedReward = _accountInfo.unclaimedReward;
			if (_unclaimedReward >= minimumRewardBalanceToClaim) {
				_accountInfo.unclaimedReward = 0;
				rewardBalance -= _unclaimedReward;
				IERC20(rewardToken).safeTransfer(_account, _unclaimedReward);
			}
		}
	}

	function _postUpdateAccount(address _account) internal
	{
		AccountInfo storage _accountInfo = accountInfo[_account];
		uint256 _oldActiveBalance = _accountInfo.activeBalance;
		uint256 _newActiveBalance = _accountInfo.excludeFromRewards ? 0 : balanceOf(_account);
		if (_newActiveBalance != _oldActiveBalance) {
			_accountInfo.activeBalance = _newActiveBalance;
			_accountInfo.rewardDebt = _newActiveBalance * accRewardPerShare / 1e36;
			totalActiveSupply -= _oldActiveBalance;
			totalActiveSupply += _newActiveBalance;
		}
	}

	function _transfer(address _from, address _to, uint256 _amount) internal override
	{
		if (inswap_) {
			// fee selling transfer
			super._transfer(_from, _to, _amount);
			return;
		}

		{
			// regular transfer
			uint256 _feeAmount = _amount * TRANSFER_FEE / 100e16;
			super._transfer(_from, _to, _amount - _feeAmount);
			super._transfer(_from, address(this), _feeAmount);
		}

		if (_from != pair && _to != pair) {
			// piggyback buyback operation, except for buy/sell
			uint256 _balance = balanceOf(address(this));
			if (_balance >= minimumFeeBalanceToBuyback) {
				uint256 _half = _balance / 2;
				super._transfer(address(this), FURNACE, _balance - _half);
				inswap_ = true;
				IUniswapV2Router(router).swapExactTokensForTokensSupportingFeeOnTransferTokens(_half, 0, path, address(this), block.timestamp);
				inswap_ = false;
				if (totalActiveSupply > 0) {
					uint256 _rewardBalance = IERC20(rewardToken).balanceOf(address(this));
					uint256 _rewardAmount = _rewardBalance - rewardBalance;
					if (_rewardAmount > 0) {
						rewardBalance = _rewardBalance;
						accRewardPerShare += _rewardAmount * 1e36 / totalActiveSupply;
					}
				}
			}
		}
	}

	function _beforeTokenTransfer(address _from, address _to, uint256 _amount) internal override
	{
		if (_from != address(0)) {
			_updateAccount(_from);
		}
		if (_to != address(0)) {
			_updateAccount(_to);
		}
		_amount; // silences warning
	}

	function _afterTokenTransfer(address _from, address _to, uint256 _amount) internal override
	{
		if (_from != address(0)) {
			_postUpdateAccount(_from);
		}
		if (_to != address(0)) {
			_postUpdateAccount(_to);
		}
		_amount; // silences warning
	}

	event UpdateMinimumFeeBalanceToBuyback(uint256 _minimumFeeBalanceToBuyback);
	event UpdateMinimumRewardBalanceToClaim(uint256 _minimumRewardBalanceToClaim);
	event UpdateExcludeFromRewards(address indexed _account, bool indexed _excludeFromRewards);
}
        

@openzeppelin/contracts/access/Ownable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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/token/ERC20/ERC20.sol

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

pragma solidity ^0.8.0;

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

        _totalSupply += amount;
        _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;
        }
        _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 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 {}
}
          

@openzeppelin/contracts/token/ERC20/IERC20.sol

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}
          

@openzeppelin/contracts/utils/Address.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}
          

@openzeppelin/contracts/utils/Context.sol

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

pragma solidity ^0.8.0;

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

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

contracts/IUniswapV2Factory.sol

// SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.8.9;

interface IUniswapV2Factory
{
	function createPair(address _tokenA, address _tokenB) external returns (address _pair);
}
          

contracts/IUniswapV2Router.sol

// SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.8.9;

interface IUniswapV2Router
{
	function factory() external view returns (address _factory);

	function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 _amountIn, uint256 _amountOutMin, address[] calldata _path, address _to, uint256 _deadline) external;
}
          

Compiler Settings

{"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers"]}},"optimizer":{"runs":88888,"enabled":true},"libraries":{}}
              

Contract ABI

[{"type":"constructor","inputs":[{"type":"string","name":"_name","internalType":"string"},{"type":"string","name":"_symbol","internalType":"string"},{"type":"uint8","name":"_decimals","internalType":"uint8"},{"type":"uint256","name":"_supply","internalType":"uint256"},{"type":"address","name":"_receiver","internalType":"address"},{"type":"address","name":"_rewardToken","internalType":"address"},{"type":"address","name":"_router","internalType":"address"},{"type":"address","name":"_routeToken","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"accRewardPerShare","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"accountIndex","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"_length","internalType":"uint256"}],"name":"accountIndexLength","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"exists","internalType":"bool"},{"type":"bool","name":"excludeFromRewards","internalType":"bool"},{"type":"uint256","name":"activeBalance","internalType":"uint256"},{"type":"uint256","name":"rewardDebt","internalType":"uint256"},{"type":"uint256","name":"unclaimedReward","internalType":"uint256"}],"name":"accountInfo","inputs":[{"type":"address","name":"","internalType":"address"}]},{"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":"view","outputs":[{"type":"uint8","name":"_decimals","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":[{"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":"uint256","name":"","internalType":"uint256"}],"name":"minimumFeeBalanceToBuyback","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"minimumRewardBalanceToClaim","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"pair","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"path","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"rewardBalance","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"rewardToken","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"routeToken","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"router","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":"totalActiveSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateExcludeFromRewards","inputs":[{"type":"bool","name":"_excludeFromRewards","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateMinimumFeeBalanceToBuyback","inputs":[{"type":"uint256","name":"_minimumFeeBalanceToBuyback","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateMinimumRewardBalanceToClaim","inputs":[{"type":"uint256","name":"_minimumRewardBalanceToClaim","internalType":"uint256"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","indexed":true},{"type":"address","name":"spender","indexed":true},{"type":"uint256","name":"value","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","indexed":true},{"type":"address","name":"newOwner","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","indexed":true},{"type":"address","name":"to","indexed":true},{"type":"uint256","name":"value","indexed":false}],"anonymous":false},{"type":"event","name":"UpdateExcludeFromRewards","inputs":[{"type":"address","name":"_account","indexed":true},{"type":"bool","name":"_excludeFromRewards","indexed":true}],"anonymous":false},{"type":"event","name":"UpdateMinimumFeeBalanceToBuyback","inputs":[{"type":"uint256","name":"_minimumFeeBalanceToBuyback","indexed":false}],"anonymous":false},{"type":"event","name":"UpdateMinimumRewardBalanceToClaim","inputs":[{"type":"uint256","name":"_minimumRewardBalanceToClaim","indexed":false}],"anonymous":false}]
              

Contract Creation Code

0x610100604052600060085560006009556000600a55612710600b556001600c553480156200002c57600080fd5b5060405162002ee838038062002ee88339810160408190526200004f9162000cff565b87876200005c33620002e4565b81516200007190600490602085019062000b0e565b5080516200008790600590602084019062000b0e565b50506006805461ffff191660ff8916179055506001600160a01b03821660808190526040805163c45a015560e01b815290516000929163c45a0155916004808301926020929190829003018186803b158015620000e357600080fd5b505afa158015620000f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200011e919062000dd8565b6040516364e329cb60e11b81526001600160a01b0384811660048301523060248301529192509082169063c9c6539690604401602060405180830381600087803b1580156200016c57600080fd5b505af115801562000181573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a7919062000dd8565b6001600160a01b031660a05260408051600380825260808201909252906020820160608036833750508151620001e592600792506020019062000b9d565b50306007600081548110620001fe57620001fe62000df6565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081600760018154811062000244576200024462000df6565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055508360076002815481106200028a576200028a62000df6565b600091825260209091200180546001600160a01b0319166001600160a01b0392831617905582811660c052841660e052620002c9308460001962000334565b620002d5858762000460565b50505050505050505062000f50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0383166200039c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620003ff5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000393565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620004b85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000393565b620004c66000838362000561565b8060036000828254620004da919062000e22565b90915550506001600160a01b038216600090815260016020526040812080548392906200050990849062000e22565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36200055d600083836200059c565b5050565b6001600160a01b038316156200057c576200057c83620005d2565b6001600160a01b0382161562000597576200059782620005d2565b505050565b6001600160a01b03831615620005b757620005b78362000774565b6001600160a01b038216156200059757620005978262000774565b6001600160a01b0381166000908152600e60205260409020805460ff16620006a457600d8054600180820183556000929092527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b038516908117909155825460ff1916909117825561dead148062000678575062000678826001600160a01b03166200084660201b62000bdd1760201c565b81549015156101000261ff00199091161781556000600182018190556002820181905560039091015550565b60018101548015620007185760006ec097ce7bc90715b34b9f1000000000600a5483620006d2919062000e3d565b620006de919062000e5f565b90506000836002015482620006f4919062000e82565b9050808460030160008282546200070c919062000e22565b90915550505060028301555b506003810154600c548110620005975760008260030181905550806009600082825462000746919062000e82565b9250508190555062000597838260e0516001600160a01b03166200084c60201b62000be3179092919060201c565b6001600160a01b0381166000908152600e602052604081206001810154815491929091610100900460ff16620007c3576001600160a01b038416600090815260016020526040902054620007c6565b60005b9050818114620008405760018301819055600a546ec097ce7bc90715b34b9f100000000090620007f7908362000e3d565b62000803919062000e5f565b836002018190555081600860008282546200081f919062000e82565b9250508190555080600860008282546200083a919062000e22565b90915550505b50505050565b3b151590565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663a9059cbb60e01b1790915262000597918591620008a416565b600062000900826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200098260201b62000c75179092919060201c565b80519091501562000597578080602001905181019062000921919062000e9c565b620005975760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840162000393565b60606200099384846000856200099d565b90505b9392505050565b60608247101562000a005760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840162000393565b843b62000a505760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640162000393565b600080866001600160a01b0316858760405162000a6e919062000ec0565b60006040518083038185875af1925050503d806000811462000aad576040519150601f19603f3d011682016040523d82523d6000602084013e62000ab2565b606091505b50909250905062000ac582828662000ad0565b979650505050505050565b6060831562000ae157508162000996565b82511562000af25782518084602001fd5b8160405162461bcd60e51b815260040162000393919062000ede565b82805462000b1c9062000f13565b90600052602060002090601f01602090048101928262000b40576000855562000b8b565b82601f1062000b5b57805160ff191683800117855562000b8b565b8280016001018555821562000b8b579182015b8281111562000b8b57825182559160200191906001019062000b6e565b5062000b9992915062000bf5565b5090565b82805482825590600052602060002090810192821562000b8b579160200282015b8281111562000b8b57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000bbe565b5b8082111562000b99576000815560010162000bf6565b634e487b7160e01b600052604160045260246000fd5b60005b8381101562000c3f57818101518382015260200162000c25565b83811115620008405750506000910152565b600082601f83011262000c6357600080fd5b81516001600160401b038082111562000c805762000c8062000c0c565b604051601f8301601f19908116603f0116810190828211818310171562000cab5762000cab62000c0c565b8160405283815286602085880101111562000cc557600080fd5b62000cd884602083016020890162000c22565b9695505050505050565b80516001600160a01b038116811462000cfa57600080fd5b919050565b600080600080600080600080610100898b03121562000d1d57600080fd5b88516001600160401b038082111562000d3557600080fd5b62000d438c838d0162000c51565b995060208b015191508082111562000d5a57600080fd5b5062000d698b828c0162000c51565b975050604089015160ff8116811462000d8157600080fd5b60608a0151909650945062000d9960808a0162000ce2565b935062000da960a08a0162000ce2565b925062000db960c08a0162000ce2565b915062000dc960e08a0162000ce2565b90509295985092959890939650565b60006020828403121562000deb57600080fd5b620009968262000ce2565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111562000e385762000e3862000e0c565b500190565b600081600019048311821515161562000e5a5762000e5a62000e0c565b500290565b60008262000e7d57634e487b7160e01b600052601260045260246000fd5b500490565b60008282101562000e975762000e9762000e0c565b500390565b60006020828403121562000eaf57600080fd5b815180151581146200099657600080fd5b6000825162000ed481846020870162000c22565b9190910192915050565b602081526000825180602084015262000eff81604085016020870162000c22565b601f01601f19169190910160400192915050565b600181811c9082168062000f2857607f821691505b6020821081141562000f4a57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e051611f3b62000fad600039600081816104a1015281816110c301526113a8015260006104ef0152600081816103e901528181610ea40152610efb0152600081816104c80152610ff10152611f3b6000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80638da5cb5b11610104578063aa5c3ab4116100a2578063f2fde38b11610071578063f2fde38b14610489578063f7c618c11461049c578063f887ea40146104c3578063fbd5dfae146104ea57600080fd5b8063aa5c3ab41461041e578063af6d1fe414610427578063dd62ed3e1461043a578063e36afe7a1461048057600080fd5b8063a457c2d7116100de578063a457c2d714610367578063a7310b581461037a578063a8aa1b31146103e4578063a9059cbb1461040b57600080fd5b80638da5cb5b14610338578063939d62371461035657806395d89b411461035f57600080fd5b8063395093511161017c57806370a082311161014b57806370a08231146102de578063715018a614610314578063720692641461031c5780638b98faec1461032557600080fd5b806339509351146102a75780633d0c1b33146102ba57806341632d33146102cd57806354d3c142146102d557600080fd5b806323b872dd116101b857806323b872dd146102325780632662c4c714610245578063313ce5671461025a57806336f9825f1461026f57600080fd5b806306fdde03146101df578063095ea7b3146101fd57806318160ddd14610220575b600080fd5b6101e7610511565b6040516101f49190611b87565b60405180910390f35b61021061020b366004611c01565b6105a3565b60405190151581526020016101f4565b6003545b6040519081526020016101f4565b610210610240366004611c2b565b6105b9565b610258610253366004611c67565b6106a6565b005b60065460405160ff90911681526020016101f4565b61028261027d366004611c67565b610763565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101f4565b6102106102b5366004611c01565b61079a565b6102586102c8366004611c8e565b6107e3565b600d54610224565b610224600b5481565b6102246102ec366004611cab565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b610258610866565b61022460085481565b610258610333366004611c67565b6108f3565b60005473ffffffffffffffffffffffffffffffffffffffff16610282565b610224600a5481565b6101e76109a9565b610210610375366004611c01565b6109b8565b6103ba610388366004611cab565b600e60205260009081526040902080546001820154600283015460039093015460ff8084169461010090940416929085565b6040805195151586529315156020860152928401919091526060830152608082015260a0016101f4565b6102827f000000000000000000000000000000000000000000000000000000000000000081565b610210610419366004611c01565b610a90565b61022460095481565b610282610435366004611c67565b610a9d565b610224610448366004611cc6565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b610224600c5481565b610258610497366004611cab565b610aad565b6102827f000000000000000000000000000000000000000000000000000000000000000081565b6102827f000000000000000000000000000000000000000000000000000000000000000081565b6102827f000000000000000000000000000000000000000000000000000000000000000081565b60606004805461052090611cf9565b80601f016020809104026020016040519081016040528092919081815260200182805461054c90611cf9565b80156105995780601f1061056e57610100808354040283529160200191610599565b820191906000526020600020905b81548152906001019060200180831161057c57829003601f168201915b5050505050905090565b60006105b0338484610c8c565b50600192915050565b60006105c6848484610e3f565b73ffffffffffffffffffffffffffffffffffffffff841660009081526002602090815260408083203384529091529020548281101561068c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6106998533858403610c8c565b60019150505b9392505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610683565b600b8190556040518181527f8475c50d200e3af42f6bc18cbe68c1ea33f79dcfa922709417dc17145272dfbd906020015b60405180910390a150565b600d818154811061077357600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490916105b09185906107de908690611d7c565b610c8c565b6107ec336111b9565b336000818152600e6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101008415150217815590610833906113cf565b6040518215159033907fb1cd70b5f24f9374334ff863d259f00be85610779ef78a46cefc3a6df258f00d90600090a35050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146108e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610683565b6108f160006114af565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610683565b600c8190556040518181527fb76133b14a226dc12ee8b12a5241cf485550b2e4f271c44131122402ac4073ea90602001610758565b60606005805461052090611cf9565b33600090815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205482811015610a79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610683565b610a863385858403610c8c565b5060019392505050565b60006105b0338484610e3f565b6007818154811061077357600080fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610b2e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610683565b73ffffffffffffffffffffffffffffffffffffffff8116610bd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610683565b610bda816114af565b50565b3b151590565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610c70908490611524565b505050565b6060610c848484600085611630565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff8316610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610683565b73ffffffffffffffffffffffffffffffffffffffff8216610dd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610683565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600654610100900460ff1615610e5a57610c708383836117b0565b6000670de0b6b3a7640000610e76666a94d74f43000084611d94565b610e809190611dd1565b9050610e968484610e918486611e0c565b6117b0565b610ea18430836117b0565b507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015610f4a57507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15610c705730600090815260016020526040902054600b5481106111b3576000610f75600283611dd1565b9050610f883061dead610e918486611e0c565b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790556040517f5c11d79500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690635c11d7959061103090849060009060079030904290600401611e23565b600060405180830381600087803b15801561104a57600080fd5b505af115801561105e573d6000803e3d6000fd5b5050600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555050600854156111b1576040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b15801561111a57600080fd5b505afa15801561112e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111529190611eb3565b90506000600954826111649190611e0c565b905080156111ae57600982905560085461118d826ec097ce7bc90715b34b9f1000000000611d94565b6111979190611dd1565b600a60008282546111a89190611d7c565b90915550505b50505b505b50505050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600e60205260409020805460ff166112f257600d8054600180820183556000929092527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff851690811790915582547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909117825561dead14806112a9575073ffffffffffffffffffffffffffffffffffffffff82163b15155b8154901515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff9091161781556000600182018190556002820181905560039091015550565b6001810154801561135d5760006ec097ce7bc90715b34b9f1000000000600a548361131d9190611d94565b6113279190611dd1565b9050600083600201548261133b9190611e0c565b9050808460030160008282546113519190611d7c565b90915550505060028301555b506003810154600c548110610c70576000826003018190555080600960008282546113889190611e0c565b90915550610c70905073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168483610be3565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600e602052604081206001810154815491929091610100900460ff166114365773ffffffffffffffffffffffffffffffffffffffff8416600090815260016020526040902054611439565b60005b90508181146111b35760018301819055600a546ec097ce7bc90715b34b9f1000000000906114679083611d94565b6114719190611dd1565b8360020181905550816008600082825461148b9190611e0c565b9250508190555080600860008282546114a49190611d7c565b909155505050505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000611586826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610c759092919063ffffffff16565b805190915015610c7057808060200190518101906115a49190611ecc565b610c70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610683565b6060824710156116c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610683565b843b61172a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610683565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516117539190611ee9565b60006040518083038185875af1925050503d8060008114611790576040519150601f19603f3d011682016040523d82523d6000602084013e611795565b606091505b50915091506117a5828286611a74565b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff8316611853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610683565b73ffffffffffffffffffffffffffffffffffffffff82166118f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610683565b611901838383611ac7565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040902054818110156119b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610683565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600160205260408082208585039055918516815290812080548492906119fb908490611d7c565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a6191815260200190565b60405180910390a36111b3848484611b11565b60608315611a8357508161069f565b825115611a935782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106839190611b87565b73ffffffffffffffffffffffffffffffffffffffff831615611aec57611aec836111b9565b73ffffffffffffffffffffffffffffffffffffffff821615610c7057610c70826111b9565b73ffffffffffffffffffffffffffffffffffffffff831615611b3657611b36836113cf565b73ffffffffffffffffffffffffffffffffffffffff821615610c7057610c70826113cf565b60005b83811015611b76578181015183820152602001611b5e565b838111156111b35750506000910152565b6020815260008251806020840152611ba6816040850160208701611b5b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611bfc57600080fd5b919050565b60008060408385031215611c1457600080fd5b611c1d83611bd8565b946020939093013593505050565b600080600060608486031215611c4057600080fd5b611c4984611bd8565b9250611c5760208501611bd8565b9150604084013590509250925092565b600060208284031215611c7957600080fd5b5035919050565b8015158114610bda57600080fd5b600060208284031215611ca057600080fd5b813561069f81611c80565b600060208284031215611cbd57600080fd5b61069f82611bd8565b60008060408385031215611cd957600080fd5b611ce283611bd8565b9150611cf060208401611bd8565b90509250929050565b600181811c90821680611d0d57607f821691505b60208210811415611d47577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115611d8f57611d8f611d4d565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611dcc57611dcc611d4d565b500290565b600082611e07577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600082821015611e1e57611e1e611d4d565b500390565b600060a082018783526020878185015260a0604085015281875480845260c0860191508860005282600020935060005b81811015611e8557845473ffffffffffffffffffffffffffffffffffffffff1683526001948501949284019201611e53565b505073ffffffffffffffffffffffffffffffffffffffff969096166060850152505050608001529392505050565b600060208284031215611ec557600080fd5b5051919050565b600060208284031215611ede57600080fd5b815161069f81611c80565b60008251611efb818460208701611b5b565b919091019291505056fea2646970667358221220a9b1876522c8fc5e90f8e678dfe036fc23fa6dca763450ddb84e10e174096b0464736f6c6343000809003300000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000030e4f9b400000000000000000000000000b0632a01ee778e09625bce2a257e221b49e796960000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000098bf93ebf5c380c0e6ae8e192a7e2ae08edacc02000000000000000000000000fefd2e357efb792d17ce7412d7c7e7583028a887000000000000000000000000000000000000000000000000000000000000000a47726f777468204254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044742544300000000000000000000000000000000000000000000000000000000

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80638da5cb5b11610104578063aa5c3ab4116100a2578063f2fde38b11610071578063f2fde38b14610489578063f7c618c11461049c578063f887ea40146104c3578063fbd5dfae146104ea57600080fd5b8063aa5c3ab41461041e578063af6d1fe414610427578063dd62ed3e1461043a578063e36afe7a1461048057600080fd5b8063a457c2d7116100de578063a457c2d714610367578063a7310b581461037a578063a8aa1b31146103e4578063a9059cbb1461040b57600080fd5b80638da5cb5b14610338578063939d62371461035657806395d89b411461035f57600080fd5b8063395093511161017c57806370a082311161014b57806370a08231146102de578063715018a614610314578063720692641461031c5780638b98faec1461032557600080fd5b806339509351146102a75780633d0c1b33146102ba57806341632d33146102cd57806354d3c142146102d557600080fd5b806323b872dd116101b857806323b872dd146102325780632662c4c714610245578063313ce5671461025a57806336f9825f1461026f57600080fd5b806306fdde03146101df578063095ea7b3146101fd57806318160ddd14610220575b600080fd5b6101e7610511565b6040516101f49190611b87565b60405180910390f35b61021061020b366004611c01565b6105a3565b60405190151581526020016101f4565b6003545b6040519081526020016101f4565b610210610240366004611c2b565b6105b9565b610258610253366004611c67565b6106a6565b005b60065460405160ff90911681526020016101f4565b61028261027d366004611c67565b610763565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101f4565b6102106102b5366004611c01565b61079a565b6102586102c8366004611c8e565b6107e3565b600d54610224565b610224600b5481565b6102246102ec366004611cab565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b610258610866565b61022460085481565b610258610333366004611c67565b6108f3565b60005473ffffffffffffffffffffffffffffffffffffffff16610282565b610224600a5481565b6101e76109a9565b610210610375366004611c01565b6109b8565b6103ba610388366004611cab565b600e60205260009081526040902080546001820154600283015460039093015460ff8084169461010090940416929085565b6040805195151586529315156020860152928401919091526060830152608082015260a0016101f4565b6102827f000000000000000000000000e604765afcad085e936f27bc567f17d7ba57be8281565b610210610419366004611c01565b610a90565b61022460095481565b610282610435366004611c67565b610a9d565b610224610448366004611cc6565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b610224600c5481565b610258610497366004611cab565b610aad565b6102827f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59981565b6102827f00000000000000000000000098bf93ebf5c380c0e6ae8e192a7e2ae08edacc0281565b6102827f000000000000000000000000fefd2e357efb792d17ce7412d7c7e7583028a88781565b60606004805461052090611cf9565b80601f016020809104026020016040519081016040528092919081815260200182805461054c90611cf9565b80156105995780601f1061056e57610100808354040283529160200191610599565b820191906000526020600020905b81548152906001019060200180831161057c57829003601f168201915b5050505050905090565b60006105b0338484610c8c565b50600192915050565b60006105c6848484610e3f565b73ffffffffffffffffffffffffffffffffffffffff841660009081526002602090815260408083203384529091529020548281101561068c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6106998533858403610c8c565b60019150505b9392505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610683565b600b8190556040518181527f8475c50d200e3af42f6bc18cbe68c1ea33f79dcfa922709417dc17145272dfbd906020015b60405180910390a150565b600d818154811061077357600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490916105b09185906107de908690611d7c565b610c8c565b6107ec336111b9565b336000818152600e6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101008415150217815590610833906113cf565b6040518215159033907fb1cd70b5f24f9374334ff863d259f00be85610779ef78a46cefc3a6df258f00d90600090a35050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146108e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610683565b6108f160006114af565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610683565b600c8190556040518181527fb76133b14a226dc12ee8b12a5241cf485550b2e4f271c44131122402ac4073ea90602001610758565b60606005805461052090611cf9565b33600090815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205482811015610a79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610683565b610a863385858403610c8c565b5060019392505050565b60006105b0338484610e3f565b6007818154811061077357600080fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610b2e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610683565b73ffffffffffffffffffffffffffffffffffffffff8116610bd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610683565b610bda816114af565b50565b3b151590565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610c70908490611524565b505050565b6060610c848484600085611630565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff8316610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610683565b73ffffffffffffffffffffffffffffffffffffffff8216610dd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610683565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600654610100900460ff1615610e5a57610c708383836117b0565b6000670de0b6b3a7640000610e76666a94d74f43000084611d94565b610e809190611dd1565b9050610e968484610e918486611e0c565b6117b0565b610ea18430836117b0565b507f000000000000000000000000e604765afcad085e936f27bc567f17d7ba57be8273ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015610f4a57507f000000000000000000000000e604765afcad085e936f27bc567f17d7ba57be8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15610c705730600090815260016020526040902054600b5481106111b3576000610f75600283611dd1565b9050610f883061dead610e918486611e0c565b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790556040517f5c11d79500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000098bf93ebf5c380c0e6ae8e192a7e2ae08edacc021690635c11d7959061103090849060009060079030904290600401611e23565b600060405180830381600087803b15801561104a57600080fd5b505af115801561105e573d6000803e3d6000fd5b5050600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555050600854156111b1576040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59973ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b15801561111a57600080fd5b505afa15801561112e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111529190611eb3565b90506000600954826111649190611e0c565b905080156111ae57600982905560085461118d826ec097ce7bc90715b34b9f1000000000611d94565b6111979190611dd1565b600a60008282546111a89190611d7c565b90915550505b50505b505b50505050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600e60205260409020805460ff166112f257600d8054600180820183556000929092527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff851690811790915582547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909117825561dead14806112a9575073ffffffffffffffffffffffffffffffffffffffff82163b15155b8154901515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff9091161781556000600182018190556002820181905560039091015550565b6001810154801561135d5760006ec097ce7bc90715b34b9f1000000000600a548361131d9190611d94565b6113279190611dd1565b9050600083600201548261133b9190611e0c565b9050808460030160008282546113519190611d7c565b90915550505060028301555b506003810154600c548110610c70576000826003018190555080600960008282546113889190611e0c565b90915550610c70905073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599168483610be3565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600e602052604081206001810154815491929091610100900460ff166114365773ffffffffffffffffffffffffffffffffffffffff8416600090815260016020526040902054611439565b60005b90508181146111b35760018301819055600a546ec097ce7bc90715b34b9f1000000000906114679083611d94565b6114719190611dd1565b8360020181905550816008600082825461148b9190611e0c565b9250508190555080600860008282546114a49190611d7c565b909155505050505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000611586826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610c759092919063ffffffff16565b805190915015610c7057808060200190518101906115a49190611ecc565b610c70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610683565b6060824710156116c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610683565b843b61172a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610683565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516117539190611ee9565b60006040518083038185875af1925050503d8060008114611790576040519150601f19603f3d011682016040523d82523d6000602084013e611795565b606091505b50915091506117a5828286611a74565b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff8316611853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610683565b73ffffffffffffffffffffffffffffffffffffffff82166118f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610683565b611901838383611ac7565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040902054818110156119b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610683565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600160205260408082208585039055918516815290812080548492906119fb908490611d7c565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a6191815260200190565b60405180910390a36111b3848484611b11565b60608315611a8357508161069f565b825115611a935782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106839190611b87565b73ffffffffffffffffffffffffffffffffffffffff831615611aec57611aec836111b9565b73ffffffffffffffffffffffffffffffffffffffff821615610c7057610c70826111b9565b73ffffffffffffffffffffffffffffffffffffffff831615611b3657611b36836113cf565b73ffffffffffffffffffffffffffffffffffffffff821615610c7057610c70826113cf565b60005b83811015611b76578181015183820152602001611b5e565b838111156111b35750506000910152565b6020815260008251806020840152611ba6816040850160208701611b5b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611bfc57600080fd5b919050565b60008060408385031215611c1457600080fd5b611c1d83611bd8565b946020939093013593505050565b600080600060608486031215611c4057600080fd5b611c4984611bd8565b9250611c5760208501611bd8565b9150604084013590509250925092565b600060208284031215611c7957600080fd5b5035919050565b8015158114610bda57600080fd5b600060208284031215611ca057600080fd5b813561069f81611c80565b600060208284031215611cbd57600080fd5b61069f82611bd8565b60008060408385031215611cd957600080fd5b611ce283611bd8565b9150611cf060208401611bd8565b90509250929050565b600181811c90821680611d0d57607f821691505b60208210811415611d47577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115611d8f57611d8f611d4d565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611dcc57611dcc611d4d565b500290565b600082611e07577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600082821015611e1e57611e1e611d4d565b500390565b600060a082018783526020878185015260a0604085015281875480845260c0860191508860005282600020935060005b81811015611e8557845473ffffffffffffffffffffffffffffffffffffffff1683526001948501949284019201611e53565b505073ffffffffffffffffffffffffffffffffffffffff969096166060850152505050608001529392505050565b600060208284031215611ec557600080fd5b5051919050565b600060208284031215611ede57600080fd5b815161069f81611c80565b60008251611efb818460208701611b5b565b919091019291505056fea2646970667358221220a9b1876522c8fc5e90f8e678dfe036fc23fa6dca763450ddb84e10e174096b0464736f6c63430008090033