ETH Price: $3,101.85 (+1.36%)
Gas: 8 Gwei

Contract

0x8475E013B3bAA2ba4fAcd550d349daa5d575e0Ef
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Approve200269222024-06-05 16:48:3535 days ago1717606115IN
0x8475E013...5d575e0Ef
0 ETH0.0010941723.61095121
Approve200268552024-06-05 16:34:5935 days ago1717605299IN
0x8475E013...5d575e0Ef
0 ETH0.0008709118.78826776
Transfer200267982024-06-05 16:23:3535 days ago1717604615IN
0x8475E013...5d575e0Ef
0 ETH0.0007001720.56564833
Approve199333782024-05-23 15:08:1148 days ago1716476891IN
0x8475E013...5d575e0Ef
0 ETH0.0009135119.72259348
Transfer199333652024-05-23 15:05:3548 days ago1716476735IN
0x8475E013...5d575e0Ef
0 ETH0.0009933720.29081478
Approve194997952024-03-23 20:53:11108 days ago1711227191IN
0x8475E013...5d575e0Ef
0 ETH0.0009061119.45711394
Approve194938442024-03-23 0:50:59109 days ago1711155059IN
0x8475E013...5d575e0Ef
0 ETH0.0008098717.412991
Approve194929392024-03-22 21:48:47109 days ago1711144127IN
0x8475E013...5d575e0Ef
0 ETH0.0011562824.86104277
Approve194236462024-03-13 4:03:47119 days ago1710302627IN
0x8475E013...5d575e0Ef
0 ETH0.0020371343.79992465
Approve194216062024-03-12 21:12:23119 days ago1710277943IN
0x8475E013...5d575e0Ef
0 ETH0.0030195964.92350789
Approve194209152024-03-12 18:53:47119 days ago1710269627IN
0x8475E013...5d575e0Ef
0 ETH0.0026869358.01066283
Approve193538492024-03-03 9:48:35129 days ago1709459315IN
0x8475E013...5d575e0Ef
0 ETH0.0021116145.4012725
Approve191853132024-02-08 18:45:35153 days ago1707417935IN
0x8475E013...5d575e0Ef
0 ETH0.0035096675.36322084
Approve191280712024-01-31 17:53:35161 days ago1706723615IN
0x8475E013...5d575e0Ef
0 ETH0.0011005923.66370225
Approve189708152024-01-09 17:12:35183 days ago1704820355IN
0x8475E013...5d575e0Ef
0 ETH0.001510632.47904531
Approve188011622023-12-16 21:01:59206 days ago1702760519IN
0x8475E013...5d575e0Ef
0 ETH0.001979942.74589583
Approve188009242023-12-16 20:14:11206 days ago1702757651IN
0x8475E013...5d575e0Ef
0 ETH0.0028723761.75827644
Approve187958132023-12-16 2:57:35207 days ago1702695455IN
0x8475E013...5d575e0Ef
0 ETH0.0020780344.67933748
Approve187784122023-12-13 16:23:11210 days ago1702484591IN
0x8475E013...5d575e0Ef
0 ETH0.0029868664.21987816
Approve187782102023-12-13 15:42:23210 days ago1702482143IN
0x8475E013...5d575e0Ef
0 ETH0.0024342352.55485509
Approve187572222023-12-10 17:12:35213 days ago1702228355IN
0x8475E013...5d575e0Ef
0 ETH0.0022900149.44119812
Approve187562662023-12-10 14:00:35213 days ago1702216835IN
0x8475E013...5d575e0Ef
0 ETH0.0009655920.86324064
Approve187516322023-12-09 22:26:35213 days ago1702160795IN
0x8475E013...5d575e0Ef
0 ETH0.0012557526.99963095
Approve187478722023-12-09 9:47:11214 days ago1702115231IN
0x8475E013...5d575e0Ef
0 ETH0.0014999632.2088793
Approve187478582023-12-09 9:44:23214 days ago1702115063IN
0x8475E013...5d575e0Ef
0 ETH0.0015132832.49475676
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To Value
185767712023-11-15 10:43:23238 days ago1700045003
0x8475E013...5d575e0Ef
 Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NOOTEth

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 20000 runs

Other Settings:
default evmVersion, MIT license
File 1 of 18 : NOOTEth.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {ERC20Permit} from "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";
import {ERC20Burnable} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import {ConfirmedOwner} from "@chainlink/contracts-ccip/src/v0.8/ConfirmedOwner.sol";

import {ERC20UniswapV2InternalSwaps} from "./ERC20UniswapV2InternalSwaps.sol";
import {ERC20Mintable} from "./ERC20Mintable.sol";

/**
 * @title Ethereum Version of NOOT (https://noot.fun) bridged via CCIP from BNB Chain 
 * 
 * @dev This contract has restricted methods to add minters, the only allowed minter should be
 * WNOOT. Methods to change minter role soley exist to recover from critical bugs
 * which requires migration to a new Portal contract. Due to the nature of these methods, 
 * it is strongly recommended to transfer the ownership to a multisig wallet and/or a timelock 
 * controller after the initial setup is completed.
 */
contract NOOTEth is ERC20Mintable, ERC20Burnable, ERC20Permit, ERC20UniswapV2InternalSwaps, ConfirmedOwner {
    /** @notice Minimum threshold in ETH to trigger #_swapTokens. */
    uint256 public constant SWAP_THRESHOLD_ETH_MIN = 0.005 ether;
    /** @notice Maximum threshold in ETH to trigger #_swapTokens. */
    uint256 public constant SWAP_THRESHOLD_ETH_MAX = 50 ether;
    /** @notice Transfer tax in BPS (2%), not changeable. */
    uint256 public constant TAX_BPS = 2_00;

    /** @notice Tax recipient wallet. */
    address public taxRecipient;
    /** @notice Whether address is extempt from transfer tax. */
    mapping(address => bool) public taxFreeAccount;
    /** @notice Whether address is an exchange pool. */
    mapping(address => bool) public isExchangePool;
    /** @notice Threshold in ETH of tokens to collect before triggering #_swapTokens. */
    uint256 public swapThresholdEth = 0.1 ether;
    /** @notice Tax manager. @dev Can **NOT** change transfer taxes. */
    address public taxManager;

    event TaxRecipientChanged(address indexed taxRecipient);
    event SwapThresholdChanged(uint256 swapThresholdEth);
    event TaxFreeStateChanged(address indexed account, bool indexed taxFree);
    event ExchangePoolStateChanged(
        address indexed account,
        bool indexed isExchangePool
    );
    event TaxManagerChanged(address indexed taxManager);
    event TaxesWithdrawn(uint256 amount);

    error Unauthorized();
    error InvalidParameters();
    error InvalidSwapThreshold();

    modifier onlyTaxManager() {
        if (msg.sender != taxManager) {
            revert Unauthorized();
        }
        _;
    }

    constructor(
        address _owner,
        address _taxRecipient,
        address _taxManager,
        address _router
    ) ERC20("NOOT", "NOOT") ERC20Permit("NOOT") ConfirmedOwner(_owner) ERC20UniswapV2InternalSwaps(_router) {

        taxManager = _taxManager;
        emit TaxManagerChanged(_taxManager);
        taxRecipient = _taxRecipient;
        emit TaxRecipientChanged(_taxRecipient);

        taxFreeAccount[_taxRecipient] = true;
        emit TaxFreeStateChanged(_taxRecipient, true);
        taxFreeAccount[address(this)] = true;
        emit TaxFreeStateChanged(address(this), true);
        isExchangePool[pair] = true;
        emit ExchangePoolStateChanged(pair, true);
    }

    // *** Owner Interface ***

    /**
     * @notice Set minter role to WNOOT.
     * @dev Only callable by owner
     */
    function setMinter(address _minter, bool _isMinter) external payable onlyOwner {
        _setMinter(_minter, _isMinter);
    }

    // *** Tax Manager Interface ***

    /**
     * @notice Set `taxFree` state of `account`.
     * @param account account
     * @param taxFree true if `account` should be extempt from transfer taxes.
     * @dev Only callable by taxManager.
     */
    function setTaxFreeAccount(
        address account,
        bool taxFree
    ) external onlyTaxManager {
        if (taxFreeAccount[account] == taxFree) {
            revert InvalidParameters();
        }
        taxFreeAccount[account] = taxFree;
        emit TaxFreeStateChanged(account, taxFree);
    }

    /**
     * @notice Set `exchangePool` state of `account`
     * @param account account
     * @param exchangePool whether `account` is an exchangePool
     * @dev ExchangePool state is used to decide if transfer is a swap
     * and should trigger #_swapTokens.
     */
    function setExchangePool(
        address account,
        bool exchangePool
    ) external onlyTaxManager {
        if (isExchangePool[account] == exchangePool) {
            revert InvalidParameters();
        }
        isExchangePool[account] = exchangePool;
        emit ExchangePoolStateChanged(account, exchangePool);
    }

    /**
     * @notice Transfer taxManager role to `newTaxManager`.
     * @param newTaxManager new taxManager
     * @dev Only callable by taxManager.
     */
    function transferTaxManager(address newTaxManager) external onlyTaxManager {
        if (newTaxManager == taxManager) {
            revert InvalidParameters();
        }
        taxManager = newTaxManager;
        emit TaxManagerChanged(newTaxManager);
    }

    /**
     * @notice Set taxRecipient address to `newTaxRecipient`.
     * @param newTaxRecipient new taxRecipient
     * @dev Only callable by taxManager.
     */
    function setTaxRecipient(address newTaxRecipient) external onlyTaxManager {
        if (newTaxRecipient == taxRecipient) {
            revert InvalidParameters();
        }
        taxRecipient = newTaxRecipient;
        emit TaxRecipientChanged(newTaxRecipient);
    }

    /**
     * @notice Withdraw tax collected (which would usually be automatically swapped to weth) to taxRecipient
     * @dev Only callable by taxManager.
     */
    function withdrawTaxes() external onlyTaxManager {
        uint256 balance = balanceOf(address(this));
        if (balance > 0) {
            super._transfer(address(this), taxRecipient, balance);
            emit TaxesWithdrawn(balance);
        }
    }

    /**
     * @notice Change the amount of tokens collected via tax before a swap is triggered.
     * @param newSwapThresholdEth new threshold received in ETH
     * @dev Only callable by taxManager
     */
    function setSwapThresholdEth(
        uint256 newSwapThresholdEth
    ) external onlyTaxManager {
        if (
            newSwapThresholdEth < SWAP_THRESHOLD_ETH_MIN ||
            newSwapThresholdEth > SWAP_THRESHOLD_ETH_MAX ||
            newSwapThresholdEth == swapThresholdEth
        ) {
            revert InvalidSwapThreshold();
        }
        swapThresholdEth = newSwapThresholdEth;
        emit SwapThresholdChanged(newSwapThresholdEth);
    }

    /**
     * @notice Threshold of how many tokens to collect from tax before calling #swapTokens.
     * @dev Depends on swapThresholdEth which can be configured by taxManager.
     * Restricted to 5% of liquidity.
     */
    function swapThresholdToken() public view returns (uint256) {
        (uint reserveToken, uint reserveWeth) = _getReserve();
        uint256 maxSwapEth = (reserveWeth * 5) / 100;
        return
            _getAmountToken(
                swapThresholdEth > maxSwapEth ? maxSwapEth : swapThresholdEth,
                reserveToken,
                reserveWeth
            );
    }

    // *** Internal Interface ***

    /** @notice IERC20#_transfer */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        if (
            !taxFreeAccount[from] &&
            !taxFreeAccount[to] &&
            !taxFreeAccount[msg.sender]
        ) {
            uint256 fee = amount * TAX_BPS / 100_00;
            super._transfer(from, address(this), fee);
            unchecked {
                amount -= fee;
            }

            if (isExchangePool[to]) /* selling */ {
                _swapTokens(swapThresholdToken());
            }
        }
        super._transfer(from, to, amount);
    }

    /** @dev Transfer `amount` tokens from contract balance to `to`. */
    function _transferFromContractBalance(
        address to,
        uint256 amount
    ) internal override {
        super._transfer(address(this), to, amount);
    }

    /**
     * @notice Swap `amountToken` collected from tax to WETH to add to send to taxRecipient.
     */
    function _swapTokens(uint256 amountToken) internal {
        if (balanceOf(address(this)) < amountToken) {
            return;
        }

        _swapForWETH(amountToken, taxRecipient);
    }
}

File 2 of 18 : ERC20UniswapV2InternalSwaps.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IUniswapV2Pair {
    function getReserves()
        external
        view
        returns (uint112 reserve0, uint112 reserve1);

    function swap(
        uint amount0Out,
        uint amount1Out,
        address to,
        bytes calldata data
    ) external;

    function mint(address to) external;
}

interface IUniswapV2Factory {
    function createPair(
        address tokenA,
        address tokenB
    ) external returns (address pair);
}

interface IUniswapRouter {
    function WETH() external view returns (address);
    function factory() external view returns (address);
}

interface IWETH {
    function deposit() external payable;
}

/**
 * @notice UniswapV2Pair does not allow to receive to token0 or token1.
 * As a workaround, this contract can receive tokens and has max approval
 * for the creator.
 */
contract ERC20HolderWithApproval {
    constructor(address token) {
        IERC20(token).approve(msg.sender, type(uint256).max);
    }
}

/**
 * @notice Gas optimized ERC20 token based on openzeppelins's ERC20 contract.
 * @dev Optimizations assume a UniswapV2 WETH pair as main liquidity.
 */
abstract contract ERC20UniswapV2InternalSwaps {
    address private immutable WETH;
    address private immutable wethReceiver;
    address public immutable pair;
    bool private immutable tokenIsToken0;

    constructor(address _router) {
        WETH = IUniswapRouter(_router).WETH();

        tokenIsToken0 = address(this) < WETH;
        pair = IUniswapV2Factory(
            IUniswapRouter(_router).factory()
        ).createPair(address(this), WETH);
        wethReceiver = address(new ERC20HolderWithApproval(WETH));
    }

    /**
     * @dev Swap tokens to WETH directly on pair, to save gas.
     * No check for minimal return, susceptible to price manipulation!
     */
    function _swapForWETH(uint amountToken, address to) internal {
        uint amountWeth = _getAmountWeth(amountToken);
        _transferFromContractBalance(pair, amountToken);
        // Pair prevents receiving tokens to one of the pairs addresses
        IUniswapV2Pair(pair).swap(tokenIsToken0 ? 0 : amountWeth, tokenIsToken0 ? amountWeth : 0, wethReceiver, new bytes(0));
        IERC20(WETH).transferFrom(wethReceiver, to, amountWeth);
    }

    /**
     * @dev Add tokens and WETH to liquidity, directly on pair, to save gas.
     * No check for minimal return, susceptible to price manipulation!
     * Sufficient WETH in contract balancee assumed!
     */
    function _addLiquidity(
        uint amountToken,
        address to
    ) internal returns (uint amountWeth) {
        amountWeth = _quoteToken(amountToken);
        _transferFromContractBalance(pair, amountToken);
        IERC20(WETH).transferFrom(address(this), pair, amountWeth);
        IUniswapV2Pair(pair).mint(to);
    }

    /**
     * @dev Add tokens and WETH as initial liquidity, directly on pair, to save gas.
     * No checks performed. Caller has to make sure to have access to the token before public!
     * Sufficient WETH in contract balancee assumed!
     */
    function _addInitialLiquidity(
        uint amountToken,
        uint amountWeth,
        address to
    ) internal {
        _transferFromContractBalance(pair, amountToken);
        IERC20(WETH).transferFrom(address(this), pair, amountWeth);
        IUniswapV2Pair(pair).mint(to);
    }

    /**
     * @dev Add tokens and ETH as initial liquidity, directly on pair, to save gas.
     * No checks performed. Caller has to make sure to have access to the token before public!
     * Sufficient ETH in contract balancee assumed!
     */
    function _addInitialLiquidityEth(
        uint amountToken,
        uint amountEth,
        address to
    ) internal {
        IWETH(WETH).deposit{value: amountEth}();
        _addInitialLiquidity(amountToken, amountEth, to);
    }

    /** @dev Transfer all WETH from contract balance to `to`. */
    function _sweepWeth(address to) internal returns (uint amountWeth) {
        amountWeth = IERC20(WETH).balanceOf(address(this));
        IERC20(WETH).transferFrom(address(this), to, amountWeth);
    }

    /** @dev Transfer all ETH from contract balance to `to`. */
    function _sweepEth(address to) internal {
        _safeTransferETH(to, address(this).balance);
    }

    /** @dev Quote `amountToken` in ETH, assuming no fees (used for liquidity). */
    function _quoteToken(
        uint amountToken
    ) internal view returns (uint amountEth) {
        (uint reserveToken, uint reserveEth) = _getReserve();
        amountEth = (amountToken * reserveEth) / reserveToken;
    }

    /** @dev Quote `amountToken` in WETH, assuming 0.3% uniswap fees (used for swap). */
    function _getAmountWeth(
        uint amounToken
    ) internal view returns (uint amountWeth) {
        (uint reserveToken, uint reserveWeth) = _getReserve();
        uint amountTokenWithFee = amounToken * 997;
        uint numerator = amountTokenWithFee * reserveWeth;
        uint denominator = (reserveToken * 1000) + amountTokenWithFee;
        amountWeth = numerator / denominator;
    }

    /** @dev Quote `amountWeth` in tokens, assuming 0.3% uniswap fees (used for swap). */
    function _getAmountToken(
        uint amounWeth,
        uint reserveToken,
        uint reserveWeth
    ) internal pure returns (uint amountToken) {
        uint numerator = reserveToken * amounWeth * 1000;
        uint denominator = (reserveWeth - amounWeth) * 997;
        amountToken = (numerator / denominator) + 1;
    }

    /** @dev Get reserves of pair. */
    function _getReserve()
        internal
        view
        returns (uint reserveToken, uint reserveWeth)
    {
        (uint112 reserveToken0, uint112 reserveToken1) = IUniswapV2Pair(pair).getReserves();
        (reserveToken, reserveWeth) = tokenIsToken0 ? (reserveToken0, reserveToken1) : (reserveToken1, reserveToken0);
    }

    /** @dev Transfer `amount` ETH to `to` gas efficiently. */
    function _safeTransferETH(address to, uint256 amount) internal {
        bool success;

        /// @solidity memory-safe-assembly
        assembly { // solhint-disable-line no-inline-assembly
            // Transfer the ETH and store if it succeeded or not.
            success := call(gas(), to, amount, 0, 0, 0, 0)
        }

        require(success, "ETH_TRANSFER_FAILED");
    }

    /** @dev Returns true if `_address` is a contract. */
    function _isContract(address _address) internal view returns (bool) {
        uint32 size;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            size := extcodesize(_address)
        }
        return (size > 0);
    }

    /** @dev Transfeer `amount` tokens from contract balance to `to`. */
    function _transferFromContractBalance(
        address to,
        uint256 amount
    ) internal virtual;
}

File 3 of 18 : ERC20Mintable.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";

abstract contract ERC20Mintable is ERC20 {
    mapping(address => bool) public isMinter;

    error InvalidMinter();
    error OnlyMinter();
    error ExceedsMaxSupply();

    event MinterSet(address indexed minter, bool isMinter);

    modifier onlyMinter() {
        if (!isMinter[msg.sender]) revert OnlyMinter();
        _;
    }

    function _setMinter(address _minter, bool _isMinter) internal {
        if (_minter == address(0) || isMinter[_minter] == _isMinter) revert InvalidMinter();

        isMinter[_minter] = _isMinter;
        emit MinterSet(_minter, _isMinter);
    }

    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function mint(address to, uint256 amount) external onlyMinter {
        _mint(to, amount);
    }
}

File 4 of 18 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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.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 {}
}

File 5 of 18 : draft-ERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/extensions/draft-ERC20Permit.sol)

pragma solidity ^0.8.0;

import "./draft-IERC20Permit.sol";
import "../ERC20.sol";
import "../../../utils/cryptography/ECDSA.sol";
import "../../../utils/cryptography/EIP712.sol";
import "../../../utils/Counters.sol";

/**
 * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * _Available since v3.4._
 */
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
    using Counters for Counters.Counter;

    mapping(address => Counters.Counter) private _nonces;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private constant _PERMIT_TYPEHASH =
        keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    /**
     * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`.
     * However, to ensure consistency with the upgradeable transpiler, we will continue
     * to reserve a slot.
     * @custom:oz-renamed-from _PERMIT_TYPEHASH
     */
    // solhint-disable-next-line var-name-mixedcase
    bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT;

    /**
     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
     *
     * It's a good idea to use the same `name` that is defined as the ERC20 token name.
     */
    constructor(string memory name) EIP712(name, "1") {}

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override {
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == owner, "ERC20Permit: invalid signature");

        _approve(owner, spender, value);
    }

    /**
     * @dev See {IERC20Permit-nonces}.
     */
    function nonces(address owner) public view virtual override returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view override returns (bytes32) {
        return _domainSeparatorV4();
    }

    /**
     * @dev "Consume a nonce": return the current value and increment.
     *
     * _Available since v4.1._
     */
    function _useNonce(address owner) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
}

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

pragma solidity ^0.8.0;

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

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

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

File 7 of 18 : ConfirmedOwner.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./ConfirmedOwnerWithProposal.sol";

/**
 * @title The ConfirmedOwner contract
 * @notice A contract with helpers for basic contract ownership.
 */
contract ConfirmedOwner is ConfirmedOwnerWithProposal {
  constructor(address newOwner) ConfirmedOwnerWithProposal(newOwner, address(0)) {}
}

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

pragma solidity ^0.8.0;

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

File 9 of 18 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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);
}

File 10 of 18 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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;
    }
}

File 11 of 18 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 12 of 18 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV // Deprecated in v4.8
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 13 of 18 : EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/EIP712.sol)

pragma solidity ^0.8.0;

import "./ECDSA.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

File 14 of 18 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 15 of 18 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 16 of 18 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 17 of 18 : ConfirmedOwnerWithProposal.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./interfaces/OwnableInterface.sol";

/**
 * @title The ConfirmedOwner contract
 * @notice A contract with helpers for basic contract ownership.
 */
contract ConfirmedOwnerWithProposal is OwnableInterface {
  address private s_owner;
  address private s_pendingOwner;

  event OwnershipTransferRequested(address indexed from, address indexed to);
  event OwnershipTransferred(address indexed from, address indexed to);

  constructor(address newOwner, address pendingOwner) {
    require(newOwner != address(0), "Cannot set owner to zero");

    s_owner = newOwner;
    if (pendingOwner != address(0)) {
      _transferOwnership(pendingOwner);
    }
  }

  /**
   * @notice Allows an owner to begin transferring ownership to a new address,
   * pending.
   */
  function transferOwnership(address to) public override onlyOwner {
    _transferOwnership(to);
  }

  /**
   * @notice Allows an ownership transfer to be completed by the recipient.
   */
  function acceptOwnership() external override {
    require(msg.sender == s_pendingOwner, "Must be proposed owner");

    address oldOwner = s_owner;
    s_owner = msg.sender;
    s_pendingOwner = address(0);

    emit OwnershipTransferred(oldOwner, msg.sender);
  }

  /**
   * @notice Get the current owner
   */
  function owner() public view override returns (address) {
    return s_owner;
  }

  /**
   * @notice validate, transfer ownership, and emit relevant events
   */
  function _transferOwnership(address to) private {
    require(to != msg.sender, "Cannot transfer to self");

    s_pendingOwner = to;

    emit OwnershipTransferRequested(s_owner, to);
  }

  /**
   * @notice validate access
   */
  function _validateOwnership() internal view {
    require(msg.sender == s_owner, "Only callable by owner");
  }

  /**
   * @notice Reverts if called by anyone other than the contract owner.
   */
  modifier onlyOwner() {
    _validateOwnership();
    _;
  }
}

File 18 of 18 : OwnableInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface OwnableInterface {
  function owner() external returns (address);

  function transferOwnership(address recipient) external;

  function acceptOwnership() external;
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 20000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_taxRecipient","type":"address"},{"internalType":"address","name":"_taxManager","type":"address"},{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ExceedsMaxSupply","type":"error"},{"inputs":[],"name":"InvalidMinter","type":"error"},{"inputs":[],"name":"InvalidParameters","type":"error"},{"inputs":[],"name":"InvalidSwapThreshold","type":"error"},{"inputs":[],"name":"OnlyMinter","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"bool","name":"isExchangePool","type":"bool"}],"name":"ExchangePoolStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"bool","name":"isMinter","type":"bool"}],"name":"MinterSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"OwnershipTransferRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"swapThresholdEth","type":"uint256"}],"name":"SwapThresholdChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"bool","name":"taxFree","type":"bool"}],"name":"TaxFreeStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"taxManager","type":"address"}],"name":"TaxManagerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"taxRecipient","type":"address"}],"name":"TaxRecipientChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TaxesWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SWAP_THRESHOLD_ETH_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SWAP_THRESHOLD_ETH_MIN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TAX_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExchangePool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"exchangePool","type":"bool"}],"name":"setExchangePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"},{"internalType":"bool","name":"_isMinter","type":"bool"}],"name":"setMinter","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSwapThresholdEth","type":"uint256"}],"name":"setSwapThresholdEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"taxFree","type":"bool"}],"name":"setTaxFreeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTaxRecipient","type":"address"}],"name":"setTaxRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapThresholdEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapThresholdToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxFreeAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTaxManager","type":"address"}],"name":"transferTaxManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101c060405267016345785d8a0000600d553480156200001e57600080fd5b506040516200362c3803806200362c8339810160408190526200004191620005eb565b8380600083604051806040016040528060048152602001631393d3d560e21b81525080604051806040016040528060018152602001603160f81b815250604051806040016040528060048152602001631393d3d560e21b815250604051806040016040528060048152602001631393d3d560e21b8152508160039081620000c99190620006ed565b506004620000d88282620006ed565b5050825160208085019190912083518483012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c0019052805194019390932091935091906080523060c052610120525050604080516315ab88c960e31b815290516001600160a01b038616945063ad5c46489350600480830193506020928290030181865afa158015620001b1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d79190620007b9565b6001600160a01b0390811661014081905230106101a0526040805163c45a015560e01b815290519183169163c45a0155916004808201926020929091908290030181865afa1580156200022e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002549190620007b9565b610140516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015620002a7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002cd9190620007b9565b6001600160a01b03166101805261014051604051620002ec90620005c0565b6001600160a01b039091168152602001604051809103906000f08015801562000319573d6000803e3d6000fd5b506001600160a01b0390811661016052831690506200037f5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600880546001600160a01b0319166001600160a01b0384811691909117909155811615620003b257620003b28162000514565b5050600e80546001600160a01b0319166001600160a01b0385169081179091556040519091507f4f06221442f29c68561a21b361dae6cd59eeb67b7cded6395d590a4e1d2fd3a290600090a2600a80546001600160a01b0319166001600160a01b0385169081179091556040517f252e37823f8325a28d11c9bfaa110c2e0587d3e41cf2a02d5de57536c058e68990600090a26001600160a01b0383166000818152600b6020526040808220805460ff1916600190811790915590519092916000805160206200360c83398151915291a3306000818152600b6020526040808220805460ff1916600190811790915590519092916000805160206200360c83398151915291a3610180516001600160a01b03166000818152600c6020526040808220805460ff1916600190811790915590519092917fd3763f1074087e38245af8391cfa3acdb23e0553090104fd7b85667d7328752991a350505050620007de565b336001600160a01b038216036200056e5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640162000376565b600980546001600160a01b0319166001600160a01b03838116918217909255600854604051919216907fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127890600090a350565b61014780620034c583390190565b80516001600160a01b0381168114620005e657600080fd5b919050565b600080600080608085870312156200060257600080fd5b6200060d85620005ce565b93506200061d60208601620005ce565b92506200062d60408601620005ce565b91506200063d60608601620005ce565b905092959194509250565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200067357607f821691505b6020821081036200069457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006e857600081815260208120601f850160051c81016020861015620006c35750805b601f850160051c820191505b81811015620006e457828155600101620006cf565b5050505b505050565b81516001600160401b0381111562000709576200070962000648565b62000721816200071a84546200065e565b846200069a565b602080601f831160018114620007595760008415620007405750858301515b600019600386901b1c1916600185901b178555620006e4565b600085815260208120601f198616915b828110156200078a5788860151825594840194600190910190840162000769565b5085821015620007a95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620007cc57600080fd5b620007d782620005ce565b9392505050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a051612c4162000884600039600081816120f0015281816125d9015261260701526000818161064f0152818161205e01528181612576015261259d015260008181612675015261270b015260006127420152600061183b0152600061188a01526000611865015260006117be015260006117e8015260006118120152612c416000f3fe6080604052600436106102855760003560e01c806379ba509711610153578063a9059cbb116100cb578063ddf4d5191161007f578063e09d6bc611610064578063e09d6bc614610779578063f2fde38b14610799578063f5a4fa1e146107b957600080fd5b8063ddf4d51914610747578063dfc56b111461075c57600080fd5b8063cf456ae7116100b0578063cf456ae7146106c1578063d505accf146106d4578063dd62ed3e146106f457600080fd5b8063a9059cbb14610671578063aa271e1a1461069157600080fd5b80638da5cb5b11610122578063a2aa18ad11610107578063a2aa18ad146105fd578063a457c2d71461061d578063a8aa1b311461063d57600080fd5b80638da5cb5b146105bd57806395d89b41146105e857600080fd5b806379ba50971461054d57806379cc6790146105625780637ecebe001461058257806381e172ca146105a257600080fd5b8063395093511161020157806352fd28a6116101b557806370a082311161019a57806370a08231146104bd578063737ea06e1461050057806378e3079e1461052d57600080fd5b806352fd28a61461048857806368f4a786146104a857600080fd5b806342966c68116101e657806342966c681461040157806346829831146104215780634d2377301461043657600080fd5b806339509351146103c157806340c10f19146103e157600080fd5b806318f60b6911610258578063263b82371161023d578063263b82371461036e578063313ce567146103905780633644e515146103ac57600080fd5b806318f60b691461031e57806323b872dd1461034e57600080fd5b806306fdde031461028a578063095ea7b3146102b55780631465000e146102e557806318160ddd14610309575b600080fd5b34801561029657600080fd5b5061029f6107e9565b6040516102ac9190612880565b60405180910390f35b3480156102c157600080fd5b506102d56102d03660046128c3565b61087b565b60405190151581526020016102ac565b3480156102f157600080fd5b506102fb600d5481565b6040519081526020016102ac565b34801561031557600080fd5b506002546102fb565b34801561032a57600080fd5b506102d56103393660046128ed565b600c6020526000908152604090205460ff1681565b34801561035a57600080fd5b506102d5610369366004612908565b610895565b34801561037a57600080fd5b5061038e610389366004612952565b6108b9565b005b34801561039c57600080fd5b50604051601281526020016102ac565b3480156103b857600080fd5b506102fb6109f0565b3480156103cd57600080fd5b506102d56103dc3660046128c3565b6109ff565b3480156103ed57600080fd5b5061038e6103fc3660046128c3565b610a4b565b34801561040d57600080fd5b5061038e61041c366004612989565b610aa2565b34801561042d57600080fd5b5061038e610aaf565b34801561044257600080fd5b50600e546104639073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102ac565b34801561049457600080fd5b5061038e6104a3366004612952565b610b72565b3480156104b457600080fd5b506102fb60c881565b3480156104c957600080fd5b506102fb6104d83660046128ed565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561050c57600080fd5b50600a546104639073ffffffffffffffffffffffffffffffffffffffff1681565b34801561053957600080fd5b5061038e6105483660046128ed565b610ca9565b34801561055957600080fd5b5061038e610dbe565b34801561056e57600080fd5b5061038e61057d3660046128c3565b610ec4565b34801561058e57600080fd5b506102fb61059d3660046128ed565b610ed9565b3480156105ae57600080fd5b506102fb6611c37937e0800081565b3480156105c957600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff16610463565b3480156105f457600080fd5b5061029f610f04565b34801561060957600080fd5b5061038e6106183660046128ed565b610f13565b34801561062957600080fd5b506102d56106383660046128c3565b611028565b34801561064957600080fd5b506104637f000000000000000000000000000000000000000000000000000000000000000081565b34801561067d57600080fd5b506102d561068c3660046128c3565b6110f9565b34801561069d57600080fd5b506102d56106ac3660046128ed565b60056020526000908152604090205460ff1681565b61038e6106cf366004612952565b611107565b3480156106e057600080fd5b5061038e6106ef3660046129a2565b611119565b34801561070057600080fd5b506102fb61070f366004612a15565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b34801561075357600080fd5b506102fb6112d8565b34801561076857600080fd5b506102fb6802b5e3af16b188000081565b34801561078557600080fd5b5061038e610794366004612989565b61132a565b3480156107a557600080fd5b5061038e6107b43660046128ed565b611410565b3480156107c557600080fd5b506102d56107d43660046128ed565b600b6020526000908152604090205460ff1681565b6060600380546107f890612a48565b80601f016020809104026020016040519081016040528092919081815260200182805461082490612a48565b80156108715780601f1061084657610100808354040283529160200191610871565b820191906000526020600020905b81548152906001019060200180831161085457829003601f168201915b5050505050905090565b600033610889818585611421565b60019150505b92915050565b6000336108a38582856115d4565b6108ae8585856116ab565b506001949350505050565b600e5473ffffffffffffffffffffffffffffffffffffffff16331461090a576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152600c602052604090205481151560ff909116151503610971576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000818152600c602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917fd3763f1074087e38245af8391cfa3acdb23e0553090104fd7b85667d7328752991a35050565b60006109fa6117a4565b905090565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906108899082908690610a46908790612ac4565b611421565b3360009081526005602052604090205460ff16610a94576040517f9cdc2ed500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a9e82826118d8565b5050565b610aac33826119cb565b50565b600e5473ffffffffffffffffffffffffffffffffffffffff163314610b00576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b306000908152602081905260409020548015610aac57600a54610b3b90309073ffffffffffffffffffffffffffffffffffffffff1683611b8f565b6040518181527f37cc5ea62b518495d042cabfa45c5e43aeae690552efa3b7341854331e05662f906020015b60405180910390a150565b600e5473ffffffffffffffffffffffffffffffffffffffff163314610bc3576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152600b602052604090205481151560ff909116151503610c2a576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000818152600b602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917f02ebf20869d52e173b3abfc35a2c8f7efc7901edff0691526afa5d21fa2ce92291a35050565b600e5473ffffffffffffffffffffffffffffffffffffffff163314610cfa576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5473ffffffffffffffffffffffffffffffffffffffff90811690821603610d4f576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f252e37823f8325a28d11c9bfaa110c2e0587d3e41cf2a02d5de57536c058e68990600090a250565b60095473ffffffffffffffffffffffffffffffffffffffff163314610e44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064015b60405180910390fd5b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000008082163390811790935560098054909116905560405173ffffffffffffffffffffffffffffffffffffffff909116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b610ecf8233836115d4565b610a9e82826119cb565b73ffffffffffffffffffffffffffffffffffffffff811660009081526006602052604081205461088f565b6060600480546107f890612a48565b600e5473ffffffffffffffffffffffffffffffffffffffff163314610f64576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e5473ffffffffffffffffffffffffffffffffffffffff90811690821603610fb9576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f4f06221442f29c68561a21b361dae6cd59eeb67b7cded6395d590a4e1d2fd3a290600090a250565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156110ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610e3b565b6108ae8286868403611421565b6000336108898185856116ab565b61110f611dfe565b610a9e8282611e81565b83421115611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610e3b565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886111b28c611f90565b60408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061121a82611fc5565b9050600061122a8287878761202e565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146112c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610e3b565b6112cc8a8a8a611421565b50505050505050505050565b60008060006112e5612056565b9092509050600060646112f9836005612ad7565b6113039190612aee565b905061132281600d541161131957600d5461131b565b815b848461213a565b935050505090565b600e5473ffffffffffffffffffffffffffffffffffffffff16331461137b576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6611c37937e0800081108061139857506802b5e3af16b188000081115b806113a45750600d5481145b156113db576040517fcb9e92ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d8190556040518181527f9ff241d1f1e0c30788ac08c45391c423cc5ef3e67f66a46b95a9a8f394759f3690602001610b67565b611418611dfe565b610aac8161218e565b73ffffffffffffffffffffffffffffffffffffffff83166114c3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610e3b565b73ffffffffffffffffffffffffffffffffffffffff8216611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610e3b565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146116a55781811015611698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610e3b565b6116a58484848403611421565b50505050565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600b602052604090205460ff16158015611707575073ffffffffffffffffffffffffffffffffffffffff82166000908152600b602052604090205460ff16155b80156117235750336000908152600b602052604090205460ff16155b1561179457600061271061173860c884612ad7565b6117429190612aee565b905061174f843083611b8f565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600c6020526040902054918190039160ff16156117925761179261178d6112d8565b612284565b505b61179f838383611b8f565b505050565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614801561180a57507f000000000000000000000000000000000000000000000000000000000000000046145b1561183457507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b73ffffffffffffffffffffffffffffffffffffffff8216611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610e3b565b80600260008282546119679190612ac4565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216611a6e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610e3b565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015611b24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610e3b565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316611c32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610e3b565b73ffffffffffffffffffffffffffffffffffffffff8216611cd5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610e3b565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015611d8b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610e3b565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36116a5565b60085473ffffffffffffffffffffffffffffffffffffffff163314611e7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e6572000000000000000000006044820152606401610e3b565b565b73ffffffffffffffffffffffffffffffffffffffff82161580611ecf575073ffffffffffffffffffffffffffffffffffffffff821660009081526005602052604090205460ff161515811515145b15611f06576040517fd8d5894f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526005602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915591519182527f583b0aa0e528532caf4b907c11d7a8158a122fe2a6fb80cd9b09776ebea8d92d910160405180910390a25050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526006602052604090208054600181018255905b50919050565b600061088f611fd26117a4565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061203f878787876122c2565b9150915061204c816123b1565b5095945050505050565b6000806000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b81526004016040805180830381865afa1580156120c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ea9190612b47565b915091507f000000000000000000000000000000000000000000000000000000000000000061211a57808261211d565b81815b6dffffffffffffffffffffffffffff918216969116945092505050565b6000806121478585612ad7565b612153906103e8612ad7565b905060006121618685612b71565b61216d906103e5612ad7565b90506121798183612aee565b612184906001612ac4565b9695505050505050565b3373ffffffffffffffffffffffffffffffffffffffff82160361220d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c660000000000000000006044820152606401610e3b565b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff838116918217909255600854604051919216907fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127890600090a350565b3060009081526020819052604090205481111561229e5750565b600a54610aac90829073ffffffffffffffffffffffffffffffffffffffff16612564565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156122f957506000905060036123a8565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561234d573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166123a1576000600192509250506123a8565b9150600090505b94509492505050565b60008160048111156123c5576123c5612b84565b036123cd5750565b60018160048111156123e1576123e1612b84565b03612448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610e3b565b600281600481111561245c5761245c612b84565b036124c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610e3b565b60038160048111156124d7576124d7612b84565b03610aac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610e3b565b600061256f836127b1565b905061259b7f000000000000000000000000000000000000000000000000000000000000000084612811565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663022c0d9f7f00000000000000000000000000000000000000000000000000000000000000006126025782612605565b60005b7f0000000000000000000000000000000000000000000000000000000000000000612631576000612633565b835b604080516000815260208101918290527fffffffff0000000000000000000000000000000000000000000000000000000060e086901b1690915261269e9291907f00000000000000000000000000000000000000000000000000000000000000009060248101612bb3565b600060405180830381600087803b1580156126b857600080fd5b505af11580156126cc573d6000803e3d6000fd5b50506040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811660048301528581166024830152604482018590527f00000000000000000000000000000000000000000000000000000000000000001692506323b872dd91506064016020604051808303816000875af115801561278d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a59190612bee565b60008060006127be612056565b909250905060006127d1856103e5612ad7565b905060006127df8383612ad7565b90506000826127f0866103e8612ad7565b6127fa9190612ac4565b90506128068183612aee565b979650505050505050565b610a9e308383611b8f565b6000815180845260005b8181101561284257602081850181015186830182015201612826565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081526000612893602083018461281c565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146128be57600080fd5b919050565b600080604083850312156128d657600080fd5b6128df8361289a565b946020939093013593505050565b6000602082840312156128ff57600080fd5b6128938261289a565b60008060006060848603121561291d57600080fd5b6129268461289a565b92506129346020850161289a565b9150604084013590509250925092565b8015158114610aac57600080fd5b6000806040838503121561296557600080fd5b61296e8361289a565b9150602083013561297e81612944565b809150509250929050565b60006020828403121561299b57600080fd5b5035919050565b600080600080600080600060e0888a0312156129bd57600080fd5b6129c68861289a565b96506129d46020890161289a565b95506040880135945060608801359350608088013560ff811681146129f857600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215612a2857600080fd5b612a318361289a565b9150612a3f6020840161289a565b90509250929050565b600181811c90821680612a5c57607f821691505b602082108103611fbf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082018082111561088f5761088f612a95565b808202811582820484141761088f5761088f612a95565b600082612b24577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b80516dffffffffffffffffffffffffffff811681146128be57600080fd5b60008060408385031215612b5a57600080fd5b612b6383612b29565b9150612a3f60208401612b29565b8181038181111561088f5761088f612a95565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b84815283602082015273ffffffffffffffffffffffffffffffffffffffff83166040820152608060608201526000612184608083018461281c565b600060208284031215612c0057600080fd5b81516128938161294456fea2646970667358221220c2533fbd4c11e6f1139ec706efc061f98bee1483be0cd3076cf75b747c124aea64736f6c63430008130033608060405234801561001057600080fd5b5060405161014738038061014783398101604081905261002f916100a8565b60405163095ea7b360e01b815233600482015260001960248201526001600160a01b0382169063095ea7b3906044016020604051808303816000875af115801561007d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100a191906100d8565b50506100fa565b6000602082840312156100ba57600080fd5b81516001600160a01b03811681146100d157600080fd5b9392505050565b6000602082840312156100ea57600080fd5b815180151581146100d157600080fd5b603f806101086000396000f3fe6080604052600080fdfea2646970667358221220bc2b3532b599556a42b57ce2dd15fd2519e784e6fd2f591c8dce855d49ce0b8064736f6c6343000813003302ebf20869d52e173b3abfc35a2c8f7efc7901edff0691526afa5d21fa2ce9220000000000000000000000001786e5c8c87443c849bdf92512c82d57c22426550000000000000000000000001786e5c8c87443c849bdf92512c82d57c22426550000000000000000000000001786e5c8c87443c849bdf92512c82d57c22426550000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x6080604052600436106102855760003560e01c806379ba509711610153578063a9059cbb116100cb578063ddf4d5191161007f578063e09d6bc611610064578063e09d6bc614610779578063f2fde38b14610799578063f5a4fa1e146107b957600080fd5b8063ddf4d51914610747578063dfc56b111461075c57600080fd5b8063cf456ae7116100b0578063cf456ae7146106c1578063d505accf146106d4578063dd62ed3e146106f457600080fd5b8063a9059cbb14610671578063aa271e1a1461069157600080fd5b80638da5cb5b11610122578063a2aa18ad11610107578063a2aa18ad146105fd578063a457c2d71461061d578063a8aa1b311461063d57600080fd5b80638da5cb5b146105bd57806395d89b41146105e857600080fd5b806379ba50971461054d57806379cc6790146105625780637ecebe001461058257806381e172ca146105a257600080fd5b8063395093511161020157806352fd28a6116101b557806370a082311161019a57806370a08231146104bd578063737ea06e1461050057806378e3079e1461052d57600080fd5b806352fd28a61461048857806368f4a786146104a857600080fd5b806342966c68116101e657806342966c681461040157806346829831146104215780634d2377301461043657600080fd5b806339509351146103c157806340c10f19146103e157600080fd5b806318f60b6911610258578063263b82371161023d578063263b82371461036e578063313ce567146103905780633644e515146103ac57600080fd5b806318f60b691461031e57806323b872dd1461034e57600080fd5b806306fdde031461028a578063095ea7b3146102b55780631465000e146102e557806318160ddd14610309575b600080fd5b34801561029657600080fd5b5061029f6107e9565b6040516102ac9190612880565b60405180910390f35b3480156102c157600080fd5b506102d56102d03660046128c3565b61087b565b60405190151581526020016102ac565b3480156102f157600080fd5b506102fb600d5481565b6040519081526020016102ac565b34801561031557600080fd5b506002546102fb565b34801561032a57600080fd5b506102d56103393660046128ed565b600c6020526000908152604090205460ff1681565b34801561035a57600080fd5b506102d5610369366004612908565b610895565b34801561037a57600080fd5b5061038e610389366004612952565b6108b9565b005b34801561039c57600080fd5b50604051601281526020016102ac565b3480156103b857600080fd5b506102fb6109f0565b3480156103cd57600080fd5b506102d56103dc3660046128c3565b6109ff565b3480156103ed57600080fd5b5061038e6103fc3660046128c3565b610a4b565b34801561040d57600080fd5b5061038e61041c366004612989565b610aa2565b34801561042d57600080fd5b5061038e610aaf565b34801561044257600080fd5b50600e546104639073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102ac565b34801561049457600080fd5b5061038e6104a3366004612952565b610b72565b3480156104b457600080fd5b506102fb60c881565b3480156104c957600080fd5b506102fb6104d83660046128ed565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561050c57600080fd5b50600a546104639073ffffffffffffffffffffffffffffffffffffffff1681565b34801561053957600080fd5b5061038e6105483660046128ed565b610ca9565b34801561055957600080fd5b5061038e610dbe565b34801561056e57600080fd5b5061038e61057d3660046128c3565b610ec4565b34801561058e57600080fd5b506102fb61059d3660046128ed565b610ed9565b3480156105ae57600080fd5b506102fb6611c37937e0800081565b3480156105c957600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff16610463565b3480156105f457600080fd5b5061029f610f04565b34801561060957600080fd5b5061038e6106183660046128ed565b610f13565b34801561062957600080fd5b506102d56106383660046128c3565b611028565b34801561064957600080fd5b506104637f000000000000000000000000a57277c399939a3c59763e380588e341101b042b81565b34801561067d57600080fd5b506102d561068c3660046128c3565b6110f9565b34801561069d57600080fd5b506102d56106ac3660046128ed565b60056020526000908152604090205460ff1681565b61038e6106cf366004612952565b611107565b3480156106e057600080fd5b5061038e6106ef3660046129a2565b611119565b34801561070057600080fd5b506102fb61070f366004612a15565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b34801561075357600080fd5b506102fb6112d8565b34801561076857600080fd5b506102fb6802b5e3af16b188000081565b34801561078557600080fd5b5061038e610794366004612989565b61132a565b3480156107a557600080fd5b5061038e6107b43660046128ed565b611410565b3480156107c557600080fd5b506102d56107d43660046128ed565b600b6020526000908152604090205460ff1681565b6060600380546107f890612a48565b80601f016020809104026020016040519081016040528092919081815260200182805461082490612a48565b80156108715780601f1061084657610100808354040283529160200191610871565b820191906000526020600020905b81548152906001019060200180831161085457829003601f168201915b5050505050905090565b600033610889818585611421565b60019150505b92915050565b6000336108a38582856115d4565b6108ae8585856116ab565b506001949350505050565b600e5473ffffffffffffffffffffffffffffffffffffffff16331461090a576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152600c602052604090205481151560ff909116151503610971576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000818152600c602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917fd3763f1074087e38245af8391cfa3acdb23e0553090104fd7b85667d7328752991a35050565b60006109fa6117a4565b905090565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906108899082908690610a46908790612ac4565b611421565b3360009081526005602052604090205460ff16610a94576040517f9cdc2ed500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a9e82826118d8565b5050565b610aac33826119cb565b50565b600e5473ffffffffffffffffffffffffffffffffffffffff163314610b00576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b306000908152602081905260409020548015610aac57600a54610b3b90309073ffffffffffffffffffffffffffffffffffffffff1683611b8f565b6040518181527f37cc5ea62b518495d042cabfa45c5e43aeae690552efa3b7341854331e05662f906020015b60405180910390a150565b600e5473ffffffffffffffffffffffffffffffffffffffff163314610bc3576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152600b602052604090205481151560ff909116151503610c2a576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000818152600b602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917f02ebf20869d52e173b3abfc35a2c8f7efc7901edff0691526afa5d21fa2ce92291a35050565b600e5473ffffffffffffffffffffffffffffffffffffffff163314610cfa576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5473ffffffffffffffffffffffffffffffffffffffff90811690821603610d4f576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f252e37823f8325a28d11c9bfaa110c2e0587d3e41cf2a02d5de57536c058e68990600090a250565b60095473ffffffffffffffffffffffffffffffffffffffff163314610e44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064015b60405180910390fd5b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000008082163390811790935560098054909116905560405173ffffffffffffffffffffffffffffffffffffffff909116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b610ecf8233836115d4565b610a9e82826119cb565b73ffffffffffffffffffffffffffffffffffffffff811660009081526006602052604081205461088f565b6060600480546107f890612a48565b600e5473ffffffffffffffffffffffffffffffffffffffff163314610f64576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e5473ffffffffffffffffffffffffffffffffffffffff90811690821603610fb9576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f4f06221442f29c68561a21b361dae6cd59eeb67b7cded6395d590a4e1d2fd3a290600090a250565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156110ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610e3b565b6108ae8286868403611421565b6000336108898185856116ab565b61110f611dfe565b610a9e8282611e81565b83421115611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610e3b565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886111b28c611f90565b60408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061121a82611fc5565b9050600061122a8287878761202e565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146112c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610e3b565b6112cc8a8a8a611421565b50505050505050505050565b60008060006112e5612056565b9092509050600060646112f9836005612ad7565b6113039190612aee565b905061132281600d541161131957600d5461131b565b815b848461213a565b935050505090565b600e5473ffffffffffffffffffffffffffffffffffffffff16331461137b576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6611c37937e0800081108061139857506802b5e3af16b188000081115b806113a45750600d5481145b156113db576040517fcb9e92ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d8190556040518181527f9ff241d1f1e0c30788ac08c45391c423cc5ef3e67f66a46b95a9a8f394759f3690602001610b67565b611418611dfe565b610aac8161218e565b73ffffffffffffffffffffffffffffffffffffffff83166114c3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610e3b565b73ffffffffffffffffffffffffffffffffffffffff8216611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610e3b565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146116a55781811015611698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610e3b565b6116a58484848403611421565b50505050565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600b602052604090205460ff16158015611707575073ffffffffffffffffffffffffffffffffffffffff82166000908152600b602052604090205460ff16155b80156117235750336000908152600b602052604090205460ff16155b1561179457600061271061173860c884612ad7565b6117429190612aee565b905061174f843083611b8f565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600c6020526040902054918190039160ff16156117925761179261178d6112d8565b612284565b505b61179f838383611b8f565b505050565b60003073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000008475e013b3baa2ba4facd550d349daa5d575e0ef1614801561180a57507f000000000000000000000000000000000000000000000000000000000000000146145b1561183457507f409f07b5389779928135a6d4fe927fa7adaf68550d79c23d32d4704a5e5d7f9f90565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f6dcdb60ed59ec204c9b8c183713e02c16ebf5ea4f5df964e12b815b77e885679828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b73ffffffffffffffffffffffffffffffffffffffff8216611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610e3b565b80600260008282546119679190612ac4565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216611a6e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610e3b565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015611b24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610e3b565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316611c32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610e3b565b73ffffffffffffffffffffffffffffffffffffffff8216611cd5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610e3b565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015611d8b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610e3b565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36116a5565b60085473ffffffffffffffffffffffffffffffffffffffff163314611e7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e6572000000000000000000006044820152606401610e3b565b565b73ffffffffffffffffffffffffffffffffffffffff82161580611ecf575073ffffffffffffffffffffffffffffffffffffffff821660009081526005602052604090205460ff161515811515145b15611f06576040517fd8d5894f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526005602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915591519182527f583b0aa0e528532caf4b907c11d7a8158a122fe2a6fb80cd9b09776ebea8d92d910160405180910390a25050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526006602052604090208054600181018255905b50919050565b600061088f611fd26117a4565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061203f878787876122c2565b9150915061204c816123b1565b5095945050505050565b6000806000807f000000000000000000000000a57277c399939a3c59763e380588e341101b042b73ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b81526004016040805180830381865afa1580156120c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ea9190612b47565b915091507f000000000000000000000000000000000000000000000000000000000000000161211a57808261211d565b81815b6dffffffffffffffffffffffffffff918216969116945092505050565b6000806121478585612ad7565b612153906103e8612ad7565b905060006121618685612b71565b61216d906103e5612ad7565b90506121798183612aee565b612184906001612ac4565b9695505050505050565b3373ffffffffffffffffffffffffffffffffffffffff82160361220d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c660000000000000000006044820152606401610e3b565b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff838116918217909255600854604051919216907fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127890600090a350565b3060009081526020819052604090205481111561229e5750565b600a54610aac90829073ffffffffffffffffffffffffffffffffffffffff16612564565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156122f957506000905060036123a8565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561234d573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166123a1576000600192509250506123a8565b9150600090505b94509492505050565b60008160048111156123c5576123c5612b84565b036123cd5750565b60018160048111156123e1576123e1612b84565b03612448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610e3b565b600281600481111561245c5761245c612b84565b036124c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610e3b565b60038160048111156124d7576124d7612b84565b03610aac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610e3b565b600061256f836127b1565b905061259b7f000000000000000000000000a57277c399939a3c59763e380588e341101b042b84612811565b7f000000000000000000000000a57277c399939a3c59763e380588e341101b042b73ffffffffffffffffffffffffffffffffffffffff1663022c0d9f7f00000000000000000000000000000000000000000000000000000000000000016126025782612605565b60005b7f0000000000000000000000000000000000000000000000000000000000000001612631576000612633565b835b604080516000815260208101918290527fffffffff0000000000000000000000000000000000000000000000000000000060e086901b1690915261269e9291907f000000000000000000000000961dcf07bc223e38877f306d3d65f116145a71779060248101612bb3565b600060405180830381600087803b1580156126b857600080fd5b505af11580156126cc573d6000803e3d6000fd5b50506040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000961dcf07bc223e38877f306d3d65f116145a7177811660048301528581166024830152604482018590527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21692506323b872dd91506064016020604051808303816000875af115801561278d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a59190612bee565b60008060006127be612056565b909250905060006127d1856103e5612ad7565b905060006127df8383612ad7565b90506000826127f0866103e8612ad7565b6127fa9190612ac4565b90506128068183612aee565b979650505050505050565b610a9e308383611b8f565b6000815180845260005b8181101561284257602081850181015186830182015201612826565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081526000612893602083018461281c565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146128be57600080fd5b919050565b600080604083850312156128d657600080fd5b6128df8361289a565b946020939093013593505050565b6000602082840312156128ff57600080fd5b6128938261289a565b60008060006060848603121561291d57600080fd5b6129268461289a565b92506129346020850161289a565b9150604084013590509250925092565b8015158114610aac57600080fd5b6000806040838503121561296557600080fd5b61296e8361289a565b9150602083013561297e81612944565b809150509250929050565b60006020828403121561299b57600080fd5b5035919050565b600080600080600080600060e0888a0312156129bd57600080fd5b6129c68861289a565b96506129d46020890161289a565b95506040880135945060608801359350608088013560ff811681146129f857600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215612a2857600080fd5b612a318361289a565b9150612a3f6020840161289a565b90509250929050565b600181811c90821680612a5c57607f821691505b602082108103611fbf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082018082111561088f5761088f612a95565b808202811582820484141761088f5761088f612a95565b600082612b24577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b80516dffffffffffffffffffffffffffff811681146128be57600080fd5b60008060408385031215612b5a57600080fd5b612b6383612b29565b9150612a3f60208401612b29565b8181038181111561088f5761088f612a95565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b84815283602082015273ffffffffffffffffffffffffffffffffffffffff83166040820152608060608201526000612184608083018461281c565b600060208284031215612c0057600080fd5b81516128938161294456fea2646970667358221220c2533fbd4c11e6f1139ec706efc061f98bee1483be0cd3076cf75b747c124aea64736f6c63430008130033

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

0000000000000000000000001786e5c8c87443c849bdf92512c82d57c22426550000000000000000000000001786e5c8c87443c849bdf92512c82d57c22426550000000000000000000000001786e5c8c87443c849bdf92512c82d57c22426550000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : _owner (address): 0x1786e5c8c87443c849Bdf92512c82D57C2242655
Arg [1] : _taxRecipient (address): 0x1786e5c8c87443c849Bdf92512c82D57C2242655
Arg [2] : _taxManager (address): 0x1786e5c8c87443c849Bdf92512c82D57C2242655
Arg [3] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000001786e5c8c87443c849bdf92512c82d57c2242655
Arg [1] : 0000000000000000000000001786e5c8c87443c849bdf92512c82d57c2242655
Arg [2] : 0000000000000000000000001786e5c8c87443c849bdf92512c82d57c2242655
Arg [3] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


Deployed Bytecode Sourcemap

1053:7599:17:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2154:98:3;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4431:197;;;;;;;;;;-1:-1:-1;4431:197:3;;;;;:::i;:::-;;:::i;:::-;;;1351:14:18;;1344:22;1326:41;;1314:2;1299:18;4431:197:3;1186:187:18;1927:43:17;;;;;;;;;;;;;;;;;;;1524:25:18;;;1512:2;1497:18;1927:43:17;1378:177:18;3242:106:3;;;;;;;;;;-1:-1:-1;3329:12:3;;3242:106;;1786:46:17;;;;;;;;;;-1:-1:-1;1786:46:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;5190:286:3;;;;;;;;;;-1:-1:-1;5190:286:3;;;;;:::i;:::-;;:::i;4511:329:17:-;;;;;;;;;;-1:-1:-1;4511:329:17;;;;;:::i;:::-;;:::i;:::-;;3091:91:3;;;;;;;;;;-1:-1:-1;3091:91:3;;3173:2;2669:36:18;;2657:2;2642:18;3091:91:3;2527:184:18;2879:113:7;;;;;;;;;;;;;:::i;5871:234:3:-;;;;;;;;;;-1:-1:-1;5871:234:3;;;;;:::i;:::-;;:::i;821:96:15:-;;;;;;;;;;-1:-1:-1;821:96:15;;;;;:::i;:::-;;:::i;578:89:5:-;;;;;;;;;;-1:-1:-1;578:89:5;;;;;:::i;:::-;;:::i;5877:254:17:-;;;;;;;;;;;;;:::i;2048:25::-;;;;;;;;;;-1:-1:-1;2048:25:17;;;;;;;;;;;3259:42:18;3247:55;;;3229:74;;3217:2;3202:18;2048:25:17;3083:226:18;3925:306:17;;;;;;;;;;-1:-1:-1;3925:306:17;;;;;:::i;:::-;;:::i;1494:38::-;;;;;;;;;;;;1528:4;1494:38;;3406:125:3;;;;;;;;;;-1:-1:-1;3406:125:3;;;;;:::i;:::-;3506:18;;3480:7;3506:18;;;;;;;;;;;;3406:125;1580:27:17;;;;;;;;;;-1:-1:-1;1580:27:17;;;;;;;;5436:269;;;;;;;;;;-1:-1:-1;5436:269:17;;;;;:::i;:::-;;:::i;1016:265:1:-;;;;;;;;;;;;;:::i;973:161:5:-;;;;;;;;;;-1:-1:-1;973:161:5;;;;;:::i;:::-;;:::i;2629:126:7:-;;;;;;;;;;-1:-1:-1;2629:126:7;;;;;:::i;:::-;;:::i;1235:60:17:-;;;;;;;;;;;;1284:11;1235:60;;1332:81:1;;;;;;;;;;-1:-1:-1;1401:7:1;;;;1332:81;;2365:102:3;;;;;;;;;;;;;:::i;5006:258:17:-;;;;;;;;;;-1:-1:-1;5006:258:17;;;;;:::i;:::-;;:::i;6592:427:3:-;;;;;;;;;;-1:-1:-1;6592:427:3;;;;;:::i;:::-;;:::i;1391:29:16:-;;;;;;;;;;;;;;;3727:189:3;;;;;;;;;;-1:-1:-1;3727:189:3;;;;;:::i;:::-;;:::i;174:40:15:-;;;;;;;;;;-1:-1:-1;174:40:15;;;;;:::i;:::-;;;;;;;;;;;;;;;;3540:126:17;;;;;;:::i;:::-;;:::i;1942:626:7:-;;;;;;;;;;-1:-1:-1;1942:626:7;;;;;:::i;:::-;;:::i;3974:149:3:-;;;;;;;;;;-1:-1:-1;3974:149:3;;;;;:::i;:::-;4089:18;;;;4063:7;4089:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3974:149;7034:380:17;;;;;;;;;;;;;:::i;1370:57::-;;;;;;;;;;;;1419:8;1370:57;;6346:457;;;;;;;;;;-1:-1:-1;6346:457:17;;;;;:::i;:::-;;:::i;826:98:1:-;;;;;;;;;;-1:-1:-1;826:98:1;;;;;:::i;:::-;;:::i;1678:46:17:-;;;;;;;;;;-1:-1:-1;1678:46:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;2154:98:3;2208:13;2240:5;2233:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2154:98;:::o;4431:197::-;4514:4;719:10:9;4568:32:3;719:10:9;4584:7:3;4593:6;4568:8;:32::i;:::-;4617:4;4610:11;;;4431:197;;;;;:::o;5190:286::-;5317:4;719:10:9;5373:38:3;5389:4;719:10:9;5404:6:3;5373:15;:38::i;:::-;5421:27;5431:4;5437:2;5441:6;5421:9;:27::i;:::-;-1:-1:-1;5465:4:3;;5190:286;-1:-1:-1;;;;5190:286:3:o;4511:329:17:-;2635:10;;;;2621;:24;2617:76;;2668:14;;;;;;;;;;;;;;2617:76;4632:23:::1;::::0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;:39;::::1;;:23;::::0;;::::1;:39;;::::0;4628:96:::1;;4694:19;;;;;;;;;;;;;;4628:96;4733:23;::::0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;:38;;;::::1;::::0;::::1;;::::0;;::::1;::::0;;;4786:47;;4733:38;;:23;4786:47:::1;::::0;::::1;4511:329:::0;;:::o;2879:113:7:-;2939:7;2965:20;:18;:20::i;:::-;2958:27;;2879:113;:::o;5871:234:3:-;719:10:9;5959:4:3;4089:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;5959:4;;719:10:9;6013:64:3;;719:10:9;;4089:27:3;;6038:38;;6066:10;;6038:38;:::i;:::-;6013:8;:64::i;821:96:15:-;410:10;401:20;;;;:8;:20;;;;;;;;396:46;;430:12;;;;;;;;;;;;;;396:46;893:17:::1;899:2;903:6;893:5;:17::i;:::-;821:96:::0;;:::o;578:89:5:-;633:27;719:10:9;653:6:5;633:5;:27::i;:::-;578:89;:::o;5877:254:17:-;2635:10;;;;2621;:24;2617:76;;2668:14;;;;;;;;;;;;;;2617:76;5972:4:::1;5936:15;3506:18:3::0;;;;;;;;;;;5992:11:17;;5988:137:::1;;6050:12;::::0;6019:53:::1;::::0;6043:4:::1;::::0;6050:12:::1;;6064:7:::0;6019:15:::1;:53::i;:::-;6091:23;::::0;1524:25:18;;;6091:23:17::1;::::0;1512:2:18;1497:18;6091:23:17::1;;;;;;;;5926:205;5877:254::o:0;3925:306::-;2635:10;;;;2621;:24;2617:76;;2668:14;;;;;;;;;;;;;;2617:76;4043:23:::1;::::0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;:34;::::1;;:23;::::0;;::::1;:34;;::::0;4039:91:::1;;4100:19;;;;;;;;;;;;;;4039:91;4139:23;::::0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;:33;;;::::1;::::0;::::1;;::::0;;::::1;::::0;;;4187:37;;4139:33;;:23;4187:37:::1;::::0;::::1;3925:306:::0;;:::o;5436:269::-;2635:10;;;;2621;:24;2617:76;;2668:14;;;;;;;;;;;;;;2617:76;5543:12:::1;::::0;::::1;::::0;;::::1;5524:31:::0;;::::1;::::0;5520:88:::1;;5578:19;;;;;;;;;;;;;;5520:88;5617:12;:30:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;5662:36:::1;::::0;::::1;::::0;-1:-1:-1;;5662:36:17::1;5436:269:::0;:::o;1016:265:1:-;1089:14;;;;1075:10;:28;1067:63;;;;;;;5240:2:18;1067:63:1;;;5222:21:18;5279:2;5259:18;;;5252:30;5318:24;5298:18;;;5291:52;5360:18;;1067:63:1;;;;;;;;;1156:7;;;1169:20;;;;1179:10;1169:20;;;;;;1195:14;:27;;;;;;;1234:42;;1156:7;;;;;1179:10;1156:7;;1234:42;;1137:16;;1234:42;1061:220;1016:265::o;973:161:5:-;1049:46;1065:7;719:10:9;1088:6:5;1049:15;:46::i;:::-;1105:22;1111:7;1120:6;1105:5;:22::i;2629:126:7:-;2724:14;;;2698:7;2724:14;;;:7;:14;;;;;918::10;2724:24:7;827:112:10;2365:102:3;2421:13;2453:7;2446:14;;;;;:::i;5006:258:17:-;2635:10;;;;2621;:24;2617:76;;2668:14;;;;;;;;;;;;;;2617:76;5112:10:::1;::::0;::::1;::::0;;::::1;5095:27:::0;;::::1;::::0;5091:84:::1;;5145:19;;;;;;;;;;;;;;5091:84;5184:10;:26:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;5225:32:::1;::::0;::::1;::::0;-1:-1:-1;;5225:32:17::1;5006:258:::0;:::o;6592:427:3:-;719:10:9;6685:4:3;4089:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;6685:4;;719:10:9;6829:15:3;6809:16;:35;;6801:85;;;;;;;5591:2:18;6801:85:3;;;5573:21:18;5630:2;5610:18;;;5603:30;5669:34;5649:18;;;5642:62;5740:7;5720:18;;;5713:35;5765:19;;6801:85:3;5389:401:18;6801:85:3;6920:60;6929:5;6936:7;6964:15;6945:16;:34;6920:8;:60::i;3727:189::-;3806:4;719:10:9;3860:28:3;719:10:9;3877:2:3;3881:6;3860:9;:28::i;3540:126:17:-;1956:20:1;:18;:20::i;:::-;3629:30:17::1;3640:7;3649:9;3629:10;:30::i;1942:626:7:-:0;2177:8;2158:15;:27;;2150:69;;;;;;;5997:2:18;2150:69:7;;;5979:21:18;6036:2;6016:18;;;6009:30;6075:31;6055:18;;;6048:59;6124:18;;2150:69:7;5795:353:18;2150:69:7;2230:18;1137:95;2290:5;2297:7;2306:5;2313:16;2323:5;2313:9;:16::i;:::-;2261:79;;;;;;6440:25:18;;;;6484:42;6562:15;;;6542:18;;;6535:43;6614:15;;;;6594:18;;;6587:43;6646:18;;;6639:34;6689:19;;;6682:35;6733:19;;;6726:35;;;6412:19;;2261:79:7;;;;;;;;;;;;2251:90;;;;;;2230:111;;2352:12;2367:28;2384:10;2367:16;:28::i;:::-;2352:43;;2406:14;2423:28;2437:4;2443:1;2446;2449;2423:13;:28::i;:::-;2406:45;;2479:5;2469:15;;:6;:15;;;2461:58;;;;;;;6974:2:18;2461:58:7;;;6956:21:18;7013:2;6993:18;;;6986:30;7052:32;7032:18;;;7025:60;7102:18;;2461:58:7;6772:354:18;2461:58:7;2530:31;2539:5;2546:7;2555:5;2530:8;:31::i;:::-;2140:428;;;1942:626;;;;;;;:::o;7034:380:17:-;7085:7;7105:17;7124:16;7144:13;:11;:13::i;:::-;7104:53;;-1:-1:-1;7104:53:17;-1:-1:-1;7167:18:17;7208:3;7189:15;7104:53;7203:1;7189:15;:::i;:::-;7188:23;;;;:::i;:::-;7167:44;;7240:167;7292:10;7273:16;;:29;:61;;7318:16;;7273:61;;;7305:10;7273:61;7352:12;7382:11;7240:15;:167::i;:::-;7221:186;;;;;7034:380;:::o;6346:457::-;2635:10;;;;2621;:24;2617:76;;2668:14;;;;;;;;;;;;;;2617:76;1284:11:::1;6469:19;:44;:104;;;;1419:8;6529:19;:44;6469:104;:159;;;;6612:16;;6589:19;:39;6469:159;6452:241;;;6660:22;;;;;;;;;;;;;;6452:241;6702:16;:38:::0;;;6755:41:::1;::::0;1524:25:18;;;6755:41:17::1;::::0;1512:2:18;1497:18;6755:41:17::1;1378:177:18::0;826:98:1;1956:20;:18;:20::i;:::-;897:22:::1;916:2;897:18;:22::i;10504:370:3:-:0;10635:19;;;10627:68;;;;;;;7785:2:18;10627:68:3;;;7767:21:18;7824:2;7804:18;;;7797:30;7863:34;7843:18;;;7836:62;7934:6;7914:18;;;7907:34;7958:19;;10627:68:3;7583:400:18;10627:68:3;10713:21;;;10705:68;;;;;;;8190:2:18;10705:68:3;;;8172:21:18;8229:2;8209:18;;;8202:30;8268:34;8248:18;;;8241:62;8339:4;8319:18;;;8312:32;8361:19;;10705:68:3;7988:398:18;10705:68:3;10784:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10835:32;;1524:25:18;;;10835:32:3;;1497:18:18;10835:32:3;;;;;;;10504:370;;;:::o;11155:441::-;4089:18;;;;11285:24;4089:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;11371:17;11351:37;;11347:243;;11432:6;11412:16;:26;;11404:68;;;;;;;8593:2:18;11404:68:3;;;8575:21:18;8632:2;8612:18;;;8605:30;8671:31;8651:18;;;8644:59;8720:18;;11404:68:3;8391:353:18;11404:68:3;11514:51;11523:5;11530:7;11558:6;11539:16;:25;11514:8;:51::i;:::-;11275:321;11155:441;;;:::o;7491:609:17:-;7636:20;;;;;;;:14;:20;;;;;;;;7635:21;:56;;;;-1:-1:-1;7673:18:17;;;;;;;:14;:18;;;;;;;;7672:19;7635:56;:99;;;;-1:-1:-1;7723:10:17;7708:26;;;;:14;:26;;;;;;;;7707:27;7635:99;7618:433;;;7759:11;7792:6;7773:16;1528:4;7773:6;:16;:::i;:::-;:25;;;;:::i;:::-;7759:39;;7812:41;7828:4;7842;7849:3;7812:15;:41::i;:::-;7941:18;;;;;;;:14;:18;;;;;;7895:13;;;;;7941:18;;7937:104;;;7993:33;8005:20;:18;:20::i;:::-;7993:11;:33::i;:::-;7745:306;7618:433;8060:33;8076:4;8082:2;8086:6;8060:15;:33::i;:::-;7491:609;;;:::o;3152:308:13:-;3205:7;3236:4;3228:29;3245:12;3228:29;;:66;;;;;3278:16;3261:13;:33;3228:66;3224:230;;;-1:-1:-1;3317:24:13;;3152:308::o;3224:230::-;-1:-1:-1;3642:73:13;;;3401:10;3642:73;;;;12717:25:18;;;;3413:12:13;12758:18:18;;;12751:34;3427:15:13;12801:18:18;;;12794:34;3686:13:13;12844:18:18;;;12837:34;3709:4:13;12887:19:18;;;;12880:84;;;;3642:73:13;;;;;;;;;;12689:19:18;;;;3642:73:13;;;3632:84;;;;;;2879:113:7:o;8567:535:3:-;8650:21;;;8642:65;;;;;;;8951:2:18;8642:65:3;;;8933:21:18;8990:2;8970:18;;;8963:30;9029:33;9009:18;;;9002:61;9080:18;;8642:65:3;8749:355:18;8642:65:3;8794:6;8778:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;8946:18:3;;;:9;:18;;;;;;;;;;;:28;;;;;;8999:37;1524:25:18;;;8999:37:3;;1497:18:18;8999:37:3;;;;;;;821:96:15;;:::o;9422:659:3:-;9505:21;;;9497:67;;;;;;;9311:2:18;9497:67:3;;;9293:21:18;9350:2;9330:18;;;9323:30;9389:34;9369:18;;;9362:62;9460:3;9440:18;;;9433:31;9481:19;;9497:67:3;9109:397:18;9497:67:3;9660:18;;;9635:22;9660:18;;;;;;;;;;;9696:24;;;;9688:71;;;;;;;9713:2:18;9688:71:3;;;9695:21:18;9752:2;9732:18;;;9725:30;9791:34;9771:18;;;9764:62;9862:4;9842:18;;;9835:32;9884:19;;9688:71:3;9511:398:18;9688:71:3;9793:18;;;:9;:18;;;;;;;;;;;9814:23;;;9793:44;;9930:12;:22;;;;;;;9978:37;1524:25:18;;;9793:9:3;;:18;9978:37;;1497:18:18;9978:37:3;;;;;;;7491:609:17;;;:::o;7473:818:3:-;7599:18;;;7591:68;;;;;;;10116:2:18;7591:68:3;;;10098:21:18;10155:2;10135:18;;;10128:30;10194:34;10174:18;;;10167:62;10265:7;10245:18;;;10238:35;10290:19;;7591:68:3;9914:401:18;7591:68:3;7677:16;;;7669:64;;;;;;;10522:2:18;7669:64:3;;;10504:21:18;10561:2;10541:18;;;10534:30;10600:34;10580:18;;;10573:62;10671:5;10651:18;;;10644:33;10694:19;;7669:64:3;10320:399:18;7669:64:3;7815:15;;;7793:19;7815:15;;;;;;;;;;;7848:21;;;;7840:72;;;;;;;10926:2:18;7840:72:3;;;10908:21:18;10965:2;10945:18;;;10938:30;11004:34;10984:18;;;10977:62;11075:8;11055:18;;;11048:36;11101:19;;7840:72:3;10724:402:18;7840:72:3;7946:15;;;;:9;:15;;;;;;;;;;;7964:20;;;7946:38;;8161:13;;;;;;;;;;:23;;;;;;8210:26;;1524:25:18;;;8161:13:3;;8210:26;;1497:18:18;8210:26:3;;;;;;;8247:37;7491:609:17;1730:111:1;1802:7;;;;1788:10;:21;1780:56;;;;;;;11333:2:18;1780:56:1;;;11315:21:18;11372:2;11352:18;;;11345:30;11411:24;11391:18;;;11384:52;11453:18;;1780:56:1;11131:346:18;1780:56:1;1730:111::o;466:246:15:-;542:21;;;;;:55;;-1:-1:-1;567:17:15;;;;;;;:8;:17;;;;;;;;:30;;;;;;542:55;538:83;;;606:15;;;;;;;;;;;;;;538:83;632:17;;;;;;;:8;:17;;;;;;;;;:29;;;;;;;;;;;;;676;;1326:41:18;;;676:29:15;;1299:18:18;676:29:15;;;;;;;466:246;;:::o;3123:203:7:-;3243:14;;;3183:15;3243:14;;;:7;:14;;;;;918::10;;1050:1;1032:19;;;;918:14;3302:17:7;3200:126;3123:203;;;:::o;4348:165:13:-;4425:7;4451:55;4473:20;:18;:20::i;:::-;4495:10;8470:57:12;;13245:66:18;8470:57:12;;;13233:79:18;13328:11;;;13321:27;;;13364:12;;;13357:28;;;8434:7:12;;13401:12:18;;8470:57:12;;;;;;;;;;;;8460:68;;;;;;8453:75;;8341:194;;;;;6696:270;6819:7;6839:17;6858:18;6880:25;6891:4;6897:1;6900;6903;6880:10;:25::i;:::-;6838:67;;;;6915:18;6927:5;6915:11;:18::i;:::-;-1:-1:-1;6950:9:12;6696:270;-1:-1:-1;;;;;6696:270:12:o;5676:330:16:-;5746:17;5765:16;5798:21;5821;5861:4;5846:32;;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5797:83;;;;5920:13;:79;;5970:13;5985;5920:79;;;5937:13;5952;5920:79;5890:109;;;;;;;;-1:-1:-1;5676:330:16;-1:-1:-1;;;5676:330:16:o;5305:327::-;5436:16;;5481:24;5496:9;5481:12;:24;:::i;:::-;:31;;5508:4;5481:31;:::i;:::-;5464:48;-1:-1:-1;5522:16:16;5542:23;5556:9;5542:11;:23;:::i;:::-;5541:31;;5569:3;5541:31;:::i;:::-;5522:50;-1:-1:-1;5597:23:16;5522:50;5597:9;:23;:::i;:::-;5596:29;;5624:1;5596:29;:::i;:::-;5582:43;5305:327;-1:-1:-1;;;;;;5305:327:16:o;1497:188:1:-;1565:10;1559:16;;;;1551:52;;;;;;;12308:2:18;1551:52:1;;;12290:21:18;12347:2;12327:18;;;12320:30;12386:25;12366:18;;;12359:53;12429:18;;1551:52:1;12106:347:18;1551:52:1;1610:14;:19;;;;;;;;;;;;;;1668:7;;1641:39;;1610:19;;1668:7;;1641:39;;-1:-1:-1;;1641:39:1;1497:188;:::o;8458:192:17:-;8541:4;3480:7:3;3506:18;;;;;;;;;;;8550:11:17;-1:-1:-1;8519:75:17;;;8458:192;:::o;8519:75::-;8630:12;;8604:39;;8617:11;;8630:12;;8604;:39::i;5069:1494:12:-;5195:7;;6119:66;6106:79;;6102:161;;;-1:-1:-1;6217:1:12;;-1:-1:-1;6221:30:12;6201:51;;6102:161;6374:24;;;6357:14;6374:24;;;;;;;;;13651:25:18;;;13724:4;13712:17;;13692:18;;;13685:45;;;;13746:18;;;13739:34;;;13789:18;;;13782:34;;;6374:24:12;;13623:19:18;;6374:24:12;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6374:24:12;;;;;;-1:-1:-1;;6412:20:12;;;6408:101;;6464:1;6468:29;6448:50;;;;;;;6408:101;6527:6;-1:-1:-1;6535:20:12;;-1:-1:-1;5069:1494:12;;;;;;;;:::o;570:511::-;647:20;638:5;:29;;;;;;;;:::i;:::-;;634:441;;570:511;:::o;634:441::-;743:29;734:5;:38;;;;;;;;:::i;:::-;;730:345;;788:34;;;;;14218:2:18;788:34:12;;;14200:21:18;14257:2;14237:18;;;14230:30;14296:26;14276:18;;;14269:54;14340:18;;788:34:12;14016:348:18;730:345:12;852:35;843:5;:44;;;;;;;;:::i;:::-;;839:236;;903:41;;;;;14571:2:18;903:41:12;;;14553:21:18;14610:2;14590:18;;;14583:30;14649:33;14629:18;;;14622:61;14700:18;;903:41:12;14369:355:18;839:236:12;974:30;965:5;:39;;;;;;;;:::i;:::-;;961:114;;1020:44;;;;;14931:2:18;1020:44:12;;;14913:21:18;14970:2;14950:18;;;14943:30;15009:34;14989:18;;;14982:62;15080:4;15060:18;;;15053:32;15102:19;;1020:44:12;14729:398:18;1945:444:16;2016:15;2034:27;2049:11;2034:14;:27::i;:::-;2016:45;;2071:47;2100:4;2106:11;2071:28;:47::i;:::-;2215:4;2200:25;;;2226:13;:30;;2246:10;2226:30;;;2242:1;2226:30;2258:13;:30;;2287:1;2258:30;;;2274:10;2258:30;2304:12;;;2314:1;2304:12;;;;;;;;;2200:117;;;;;;;;;;;;;2290:12;;2200:117;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2327:55:16;;;;;:25;2353:12;16089:15:18;;2327:55:16;;;16071:34:18;16141:15;;;16121:18;;;16114:43;16173:18;;;16166:34;;;2334:4:16;2327:25;;-1:-1:-1;2327:25:16;;-1:-1:-1;15983:18:18;;2327:55:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4816:393::-;4894:15;4922:17;4941:16;4961:13;:11;:13::i;:::-;4921:53;;-1:-1:-1;4921:53:16;-1:-1:-1;4984:23:16;5010:16;:10;5023:3;5010:16;:::i;:::-;4984:42;-1:-1:-1;5036:14:16;5053:32;5074:11;4984:42;5053:32;:::i;:::-;5036:49;-1:-1:-1;5095:16:16;5138:18;5115:19;:12;5130:4;5115:19;:::i;:::-;5114:42;;;;:::i;:::-;5095:61;-1:-1:-1;5179:23:16;5095:61;5179:9;:23;:::i;:::-;5166:36;4816:393;-1:-1:-1;;;;;;;4816:393:16:o;8178:165:17:-;8294:42;8318:4;8325:2;8329:6;8294:15;:42::i;14:482:18:-;56:3;94:5;88:12;121:6;116:3;109:19;146:1;156:162;170:6;167:1;164:13;156:162;;;232:4;288:13;;;284:22;;278:29;260:11;;;256:20;;249:59;185:12;156:162;;;160:3;363:1;356:4;347:6;342:3;338:16;334:27;327:38;485:4;415:66;410:2;402:6;398:15;394:88;389:3;385:98;381:109;374:116;;;14:482;;;;:::o;501:220::-;650:2;639:9;632:21;613:4;670:45;711:2;700:9;696:18;688:6;670:45;:::i;:::-;662:53;501:220;-1:-1:-1;;;501:220:18:o;726:196::-;794:20;;854:42;843:54;;833:65;;823:93;;912:1;909;902:12;823:93;726:196;;;:::o;927:254::-;995:6;1003;1056:2;1044:9;1035:7;1031:23;1027:32;1024:52;;;1072:1;1069;1062:12;1024:52;1095:29;1114:9;1095:29;:::i;:::-;1085:39;1171:2;1156:18;;;;1143:32;;-1:-1:-1;;;927:254:18:o;1560:186::-;1619:6;1672:2;1660:9;1651:7;1647:23;1643:32;1640:52;;;1688:1;1685;1678:12;1640:52;1711:29;1730:9;1711:29;:::i;1751:328::-;1828:6;1836;1844;1897:2;1885:9;1876:7;1872:23;1868:32;1865:52;;;1913:1;1910;1903:12;1865:52;1936:29;1955:9;1936:29;:::i;:::-;1926:39;;1984:38;2018:2;2007:9;2003:18;1984:38;:::i;:::-;1974:48;;2069:2;2058:9;2054:18;2041:32;2031:42;;1751:328;;;;;:::o;2084:118::-;2170:5;2163:13;2156:21;2149:5;2146:32;2136:60;;2192:1;2189;2182:12;2207:315;2272:6;2280;2333:2;2321:9;2312:7;2308:23;2304:32;2301:52;;;2349:1;2346;2339:12;2301:52;2372:29;2391:9;2372:29;:::i;:::-;2362:39;;2451:2;2440:9;2436:18;2423:32;2464:28;2486:5;2464:28;:::i;:::-;2511:5;2501:15;;;2207:315;;;;;:::o;2898:180::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;-1:-1:-1;3049:23:18;;2898:180;-1:-1:-1;2898:180:18:o;3314:693::-;3425:6;3433;3441;3449;3457;3465;3473;3526:3;3514:9;3505:7;3501:23;3497:33;3494:53;;;3543:1;3540;3533:12;3494:53;3566:29;3585:9;3566:29;:::i;:::-;3556:39;;3614:38;3648:2;3637:9;3633:18;3614:38;:::i;:::-;3604:48;;3699:2;3688:9;3684:18;3671:32;3661:42;;3750:2;3739:9;3735:18;3722:32;3712:42;;3804:3;3793:9;3789:19;3776:33;3849:4;3842:5;3838:16;3831:5;3828:27;3818:55;;3869:1;3866;3859:12;3818:55;3314:693;;;;-1:-1:-1;3314:693:18;;;;3892:5;3944:3;3929:19;;3916:33;;-1:-1:-1;3996:3:18;3981:19;;;3968:33;;3314:693;-1:-1:-1;;3314:693:18:o;4012:260::-;4080:6;4088;4141:2;4129:9;4120:7;4116:23;4112:32;4109:52;;;4157:1;4154;4147:12;4109:52;4180:29;4199:9;4180:29;:::i;:::-;4170:39;;4228:38;4262:2;4251:9;4247:18;4228:38;:::i;:::-;4218:48;;4012:260;;;;;:::o;4277:437::-;4356:1;4352:12;;;;4399;;;4420:61;;4474:4;4466:6;4462:17;4452:27;;4420:61;4527:2;4519:6;4516:14;4496:18;4493:38;4490:218;;4564:77;4561:1;4554:88;4665:4;4662:1;4655:15;4693:4;4690:1;4683:15;4719:184;4771:77;4768:1;4761:88;4868:4;4865:1;4858:15;4892:4;4889:1;4882:15;4908:125;4973:9;;;4994:10;;;4991:36;;;5007:18;;:::i;7131:168::-;7204:9;;;7235;;7252:15;;;7246:22;;7232:37;7222:71;;7273:18;;:::i;7304:274::-;7344:1;7370;7360:189;;7405:77;7402:1;7395:88;7506:4;7503:1;7496:15;7534:4;7531:1;7524:15;7360:189;-1:-1:-1;7563:9:18;;7304:274::o;11482:188::-;11561:13;;11614:30;11603:42;;11593:53;;11583:81;;11660:1;11657;11650:12;11675:293;11754:6;11762;11815:2;11803:9;11794:7;11790:23;11786:32;11783:52;;;11831:1;11828;11821:12;11783:52;11854:40;11884:9;11854:40;:::i;:::-;11844:50;;11913:49;11958:2;11947:9;11943:18;11913:49;:::i;11973:128::-;12040:9;;;12061:11;;;12058:37;;;12075:18;;:::i;13827:184::-;13879:77;13876:1;13869:88;13976:4;13973:1;13966:15;14000:4;13997:1;13990:15;15321:482;15552:6;15541:9;15534:25;15595:6;15590:2;15579:9;15575:18;15568:34;15650:42;15642:6;15638:55;15633:2;15622:9;15618:18;15611:83;15730:3;15725:2;15714:9;15710:18;15703:31;15515:4;15751:46;15792:3;15781:9;15777:19;15769:6;15751:46;:::i;16211:245::-;16278:6;16331:2;16319:9;16310:7;16306:23;16302:32;16299:52;;;16347:1;16344;16337:12;16299:52;16379:9;16373:16;16398:28;16420:5;16398:28;:::i

Swarm Source

ipfs://bc2b3532b599556a42b57ce2dd15fd2519e784e6fd2f591c8dce855d49ce0b80

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.