ETH Price: $2,743.59 (-8.21%)
 

Overview

Max Total Supply

1,476.43816230635977865 OURO

Holders

35

Transfers

-
0

Market

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Vault

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : Vault.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * The OUROBOROS token - Mint/Redeem $OURO with $USDC or trade it on Uniswap
 *
 * Website: https://ouroboroserc20.com/
 * Twitter: https://twitter.com/ouroboros_erc20
 * Telegram: https://t.me/ouroboroschannel
*/
import "@openzeppelin/contracts/utils/math/Math.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/interfaces/IERC4626.sol";
import "./IUniswapV2Factory.sol";
import "./IUniswapV2Router02.sol";

contract Vault is IERC20, IERC4626, Ownable {
    using Math for uint256;

    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) private _isExcludedFromFee;
    IERC20 private immutable _asset;
    uint256 private constant _BASIS_POINT_SCALE = 1e4;
    uint256 private firstBlock;
	uint256 public startTime;

    uint256 private _initialBuyTax = 20;
    uint256 private _initialSellTax = 20;
    uint256 private _finalBuyTax = 5;
    uint256 private _finalSellTax = 5;
    uint256 private _reduceBuyTaxAt = 25;
    uint256 private _reduceSellTaxAt = 25;
    uint256 private _preventSwapBefore = 20;
    uint256 private _buyCount = 0;

    uint8 private constant _decimals = 18;
    uint256 private _totalSupply;
    string private constant _name = unicode"Ouroboros";
    string private constant _symbol = unicode"OURO";
    uint256 public _maxTxAmount = 1000000 * 10**_decimals;
    uint256 public _maxWalletSize = 20000000 * 10**_decimals;
    IUniswapV2Router02 private uniswapV2Router;
    address private uniswapV2Pair;
    address public marketingWallet;
    bool private tradingOpen;
    bool private inSwap;
    bool private swapEnabled;

    event MaxTxAmountUpdated(uint _maxTxAmount);

    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor(IERC20 asset_) {
        _asset = asset_;
        marketingWallet = address(owner());
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        
		uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
    }

    function name() override public pure returns (string memory) {
        return _name;
    }

    function symbol() override public pure returns (string memory) {
        return _symbol;
    }

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

    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    function _maxTaxSwap() public view returns (uint256) {
        return _totalSupply / (20);
    }

    function _taxSwapThreshold() public view returns (uint256) {
        return _totalSupply / (20);
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()] - amount);
        return true;
    }

    function _approve(address owner, address spender, uint256 amount) private {
        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);
    }

    function _transfer(address from, address to, uint256 amount) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        uint256 taxAmount = 0;

        if (from != owner() && to != owner()) {
            if (from == uniswapV2Pair && to != address(uniswapV2Router) && !_isExcludedFromFee[to] ) {
            	taxAmount = amount * (_buyCount > _reduceBuyTaxAt ? _finalBuyTax : _initialBuyTax) / 100;

                require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount.");
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");

                if (firstBlock + 3 > block.number) {
                    require(!isContract(to));
                }

                _buyCount++;
            }

            if (to != uniswapV2Pair && !_isExcludedFromFee[to]) {
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");
            }

            if (to == uniswapV2Pair && from != address(this)){
                taxAmount = amount * (_buyCount > _reduceSellTaxAt ? _finalSellTax : _initialSellTax) / 100 ;
            }

            uint256 contractTokenBalance = balanceOf(address(this));
            if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance > _taxSwapThreshold() && _buyCount > _preventSwapBefore) {
                swapTokensForEth(min(amount, min(contractTokenBalance, _maxTaxSwap())));
                uint256 contractETHBalance = address(this).balance;
                if (contractETHBalance > 0) {
                    sendETHToFee(address(this).balance);
                }
            }
        }

        if (taxAmount > 0){
          _balances[address(this)] = _balances[address(this)] + taxAmount;
          emit Transfer(from, address(this), taxAmount);
        }

        _balances[from] = _balances[from] - amount;
        _balances[to] = _balances[to] + (amount - taxAmount);
        emit Transfer(from, to, amount - taxAmount);
    }

	function recover() external onlyOwner {
		sendETHToFee(address(this).balance);
	}

    function min(uint256 a, uint256 b) private pure returns (uint256){
      return a > b ? b : a;
    }

    function isContract(address account) private view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function removeLimits() external onlyOwner{
        _maxTxAmount = type(uint256).max;
        _maxWalletSize=type(uint256).max;
        emit MaxTxAmountUpdated(type(uint256).max);
    }

    function sendETHToFee(uint256 amount) private {
		Address.sendValue(payable(address(marketingWallet)), amount);
    }

    function openTrading() external onlyOwner {
        require(!tradingOpen, "trading is already open");
        swapEnabled = true;
        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        _approve(address(this), address(uniswapV2Router), type(uint256).max);
        uniswapV2Router.addLiquidityETH{value: address(this).balance}(
			address(this),
			balanceOf(address(this)),
			0,
			0,
			owner(),
			block.timestamp
		);
		startTime = block.timestamp;
		tradingOpen = true;
        firstBlock = block.number;
    }

    receive() external payable {}

    function convertToShares(uint256 assets) public view virtual override returns (uint256) {
        return _convertToShares(assets, Math.Rounding.Down);
    }

    function convertToAssets(uint256 shares) public view virtual override returns (uint256) {
        return _convertToAssets(shares, Math.Rounding.Down);
    }

    function maxDeposit(address) public view virtual override returns (uint256) {
        return type(uint256).max;
    }


    function maxMint(address) public view virtual override returns (uint256) {
        return type(uint256).max;
    }


    function maxWithdraw(address owner) public view virtual override returns (uint256) {
        return _convertToAssets(balanceOf(owner), Math.Rounding.Down);
    }


    function maxRedeem(address owner) public view virtual override returns (uint256) {
        return balanceOf(owner);
    }

    function deposit(uint256 assets, address receiver) public virtual override returns (uint256) {
        require(assets <= maxDeposit(receiver), "ERC4626: deposit more than max");

        uint256 shares = previewDeposit(assets);
        _deposit(_msgSender(), receiver, assets, shares);

        return shares;
    }

    function mint(uint256 shares, address receiver) public virtual override returns (uint256) {
        require(shares <= maxMint(receiver), "ERC4626: mint more than max");

        uint256 assets = previewMint(shares);
        _deposit(_msgSender(), receiver, assets, shares);

        return assets;
    }

    function withdraw(uint256 assets, address receiver, address owner) public virtual override returns (uint256) {
        require(assets <= maxWithdraw(owner), "ERC4626: withdraw more than max");

        uint256 shares = previewWithdraw(assets);
        _withdraw(_msgSender(), receiver, owner, assets, shares);

        return shares;
    }

    function redeem(uint256 shares, address receiver, address owner) public virtual override returns (uint256) {
        require(shares <= maxRedeem(owner), "ERC4626: redeem more than max");

        uint256 assets = previewRedeem(shares);
        _withdraw(_msgSender(), receiver, owner, assets, shares);

        return assets;
    }

    function totalAssets() public view virtual override returns (uint256) {
        return _asset.balanceOf(address(this));
    }
    
    function _decimalsOffset() internal view virtual returns (uint8) {
        return 12;
    }

    function _convertToShares(uint256 assets, Math.Rounding rounding) internal view virtual returns (uint256) {
        return assets.mulDiv(totalSupply() + 10 **  _decimalsOffset(), totalAssets() + 1, rounding);
    }

    function _convertToAssets(uint256 shares, Math.Rounding rounding) internal view virtual returns (uint256) {
        return shares.mulDiv(totalAssets() + 1, totalSupply() + 10 **  _decimalsOffset(), rounding);
    }

    function previewDeposit(uint256 assets) public view virtual override returns (uint256) {
        uint256 fee = _feeOnTotal(assets, _entryFeeBasisPoints());
        return _convertToShares(assets - fee, Math.Rounding.Down);
    }

    function previewMint(uint256 shares) public view virtual override returns (uint256) {
        uint256 assets = _convertToAssets(shares, Math.Rounding.Up);
        return assets + _feeOnRaw(assets, _entryFeeBasisPoints());
    }

    function previewWithdraw(uint256 assets) public view virtual override returns (uint256) {
        uint256 fee = _feeOnRaw(assets, _exitFeeBasisPoints());
        return _convertToShares(assets + fee, Math.Rounding.Up);
    }

    function previewRedeem(uint256 shares) public view virtual override returns (uint256) {
        uint256 assets = _convertToAssets(shares, Math.Rounding.Down);
        return assets - _feeOnTotal(assets, _exitFeeBasisPoints());
    }

    function asset() public view virtual override returns (address) {
        return address(_asset);
    }

    function _deposit(address caller, address receiver, uint256 assets, uint256 shares) internal virtual {
        uint256 fee = _feeOnTotal(assets, _entryFeeBasisPoints());
        address recipient = _entryFeeRecipient();

        SafeERC20.safeTransferFrom(_asset, caller, address(this), assets);
        _mint(receiver, shares);

        emit Deposit(caller, receiver, assets, shares);

        if (fee > 0 && recipient != address(this)) {
            SafeERC20.safeTransfer(IERC20(asset()), recipient, fee);
        }
    }

    function _withdraw(
        address caller,
        address receiver,
        address owner,
        uint256 assets,
        uint256 shares
    ) internal virtual {
        uint256 fee = _feeOnRaw(assets, _exitFeeBasisPoints());
        address recipient = _exitFeeRecipient();

        if (caller != owner) {
            _spendAllowance(owner, caller, shares);
        }

        _burn(owner, shares);
        SafeERC20.safeTransfer(_asset, receiver, assets);

        emit Withdraw(caller, receiver, owner, assets, shares);

        if (fee > 0 && recipient != address(this)) {
            SafeERC20.safeTransfer(IERC20(asset()), recipient, fee);
        }
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _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);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        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);
    }


    function updateAddresses(address _marketingWallet) external onlyOwner {
        marketingWallet = _marketingWallet;
    }

    function _entryFeeBasisPoints() internal view virtual returns (uint256) {
        return 500;
    }

    function _exitFeeBasisPoints() internal view virtual returns (uint256) {
        return 500;
    }

    function _entryFeeRecipient() internal view virtual returns (address) {
        return marketingWallet;
    }

    function _exitFeeRecipient() internal view virtual returns (address) {
        return marketingWallet;
    }

    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);
            }
        }
    }

    function _feeOnRaw(uint256 assets, uint256 feeBasisPoints) private pure returns (uint256) {
        return assets.mulDiv(feeBasisPoints, _BASIS_POINT_SCALE, Math.Rounding.Up);
    }

    function _feeOnTotal(uint256 assets, uint256 feeBasisPoints) private pure returns (uint256) {
        return assets.mulDiv(feeBasisPoints, feeBasisPoints + _BASIS_POINT_SCALE, Math.Rounding.Up);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC4626.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";
import "../token/ERC20/extensions/IERC20Metadata.sol";

/**
 * @dev Interface of the ERC4626 "Tokenized Vault Standard", as defined in
 * https://eips.ethereum.org/EIPS/eip-4626[ERC-4626].
 *
 * _Available since v4.7._
 */
interface IERC4626 is IERC20, IERC20Metadata {
    event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares);

    event Withdraw(
        address indexed sender,
        address indexed receiver,
        address indexed owner,
        uint256 assets,
        uint256 shares
    );

    /**
     * @dev Returns the address of the underlying token used for the Vault for accounting, depositing, and withdrawing.
     *
     * - MUST be an ERC-20 token contract.
     * - MUST NOT revert.
     */
    function asset() external view returns (address assetTokenAddress);

    /**
     * @dev Returns the total amount of the underlying asset that is “managed” by Vault.
     *
     * - SHOULD include any compounding that occurs from yield.
     * - MUST be inclusive of any fees that are charged against assets in the Vault.
     * - MUST NOT revert.
     */
    function totalAssets() external view returns (uint256 totalManagedAssets);

    /**
     * @dev Returns the amount of shares that the Vault would exchange for the amount of assets provided, in an ideal
     * scenario where all the conditions are met.
     *
     * - MUST NOT be inclusive of any fees that are charged against assets in the Vault.
     * - MUST NOT show any variations depending on the caller.
     * - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange.
     * - MUST NOT revert.
     *
     * NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the
     * “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and
     * from.
     */
    function convertToShares(uint256 assets) external view returns (uint256 shares);

    /**
     * @dev Returns the amount of assets that the Vault would exchange for the amount of shares provided, in an ideal
     * scenario where all the conditions are met.
     *
     * - MUST NOT be inclusive of any fees that are charged against assets in the Vault.
     * - MUST NOT show any variations depending on the caller.
     * - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange.
     * - MUST NOT revert.
     *
     * NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the
     * “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and
     * from.
     */
    function convertToAssets(uint256 shares) external view returns (uint256 assets);

    /**
     * @dev Returns the maximum amount of the underlying asset that can be deposited into the Vault for the receiver,
     * through a deposit call.
     *
     * - MUST return a limited value if receiver is subject to some deposit limit.
     * - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of assets that may be deposited.
     * - MUST NOT revert.
     */
    function maxDeposit(address receiver) external view returns (uint256 maxAssets);

    /**
     * @dev Allows an on-chain or off-chain user to simulate the effects of their deposit at the current block, given
     * current on-chain conditions.
     *
     * - MUST return as close to and no more than the exact amount of Vault shares that would be minted in a deposit
     *   call in the same transaction. I.e. deposit should return the same or more shares as previewDeposit if called
     *   in the same transaction.
     * - MUST NOT account for deposit limits like those returned from maxDeposit and should always act as though the
     *   deposit would be accepted, regardless if the user has enough tokens approved, etc.
     * - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees.
     * - MUST NOT revert.
     *
     * NOTE: any unfavorable discrepancy between convertToShares and previewDeposit SHOULD be considered slippage in
     * share price or some other type of condition, meaning the depositor will lose assets by depositing.
     */
    function previewDeposit(uint256 assets) external view returns (uint256 shares);

    /**
     * @dev Mints shares Vault shares to receiver by depositing exactly amount of underlying tokens.
     *
     * - MUST emit the Deposit event.
     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the
     *   deposit execution, and are accounted for during deposit.
     * - MUST revert if all of assets cannot be deposited (due to deposit limit being reached, slippage, the user not
     *   approving enough underlying tokens to the Vault contract, etc).
     *
     * NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.
     */
    function deposit(uint256 assets, address receiver) external returns (uint256 shares);

    /**
     * @dev Returns the maximum amount of the Vault shares that can be minted for the receiver, through a mint call.
     * - MUST return a limited value if receiver is subject to some mint limit.
     * - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of shares that may be minted.
     * - MUST NOT revert.
     */
    function maxMint(address receiver) external view returns (uint256 maxShares);

    /**
     * @dev Allows an on-chain or off-chain user to simulate the effects of their mint at the current block, given
     * current on-chain conditions.
     *
     * - MUST return as close to and no fewer than the exact amount of assets that would be deposited in a mint call
     *   in the same transaction. I.e. mint should return the same or fewer assets as previewMint if called in the
     *   same transaction.
     * - MUST NOT account for mint limits like those returned from maxMint and should always act as though the mint
     *   would be accepted, regardless if the user has enough tokens approved, etc.
     * - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees.
     * - MUST NOT revert.
     *
     * NOTE: any unfavorable discrepancy between convertToAssets and previewMint SHOULD be considered slippage in
     * share price or some other type of condition, meaning the depositor will lose assets by minting.
     */
    function previewMint(uint256 shares) external view returns (uint256 assets);

    /**
     * @dev Mints exactly shares Vault shares to receiver by depositing amount of underlying tokens.
     *
     * - MUST emit the Deposit event.
     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the mint
     *   execution, and are accounted for during mint.
     * - MUST revert if all of shares cannot be minted (due to deposit limit being reached, slippage, the user not
     *   approving enough underlying tokens to the Vault contract, etc).
     *
     * NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.
     */
    function mint(uint256 shares, address receiver) external returns (uint256 assets);

    /**
     * @dev Returns the maximum amount of the underlying asset that can be withdrawn from the owner balance in the
     * Vault, through a withdraw call.
     *
     * - MUST return a limited value if owner is subject to some withdrawal limit or timelock.
     * - MUST NOT revert.
     */
    function maxWithdraw(address owner) external view returns (uint256 maxAssets);

    /**
     * @dev Allows an on-chain or off-chain user to simulate the effects of their withdrawal at the current block,
     * given current on-chain conditions.
     *
     * - MUST return as close to and no fewer than the exact amount of Vault shares that would be burned in a withdraw
     *   call in the same transaction. I.e. withdraw should return the same or fewer shares as previewWithdraw if
     *   called
     *   in the same transaction.
     * - MUST NOT account for withdrawal limits like those returned from maxWithdraw and should always act as though
     *   the withdrawal would be accepted, regardless if the user has enough shares, etc.
     * - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees.
     * - MUST NOT revert.
     *
     * NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in
     * share price or some other type of condition, meaning the depositor will lose assets by depositing.
     */
    function previewWithdraw(uint256 assets) external view returns (uint256 shares);

    /**
     * @dev Burns shares from owner and sends exactly assets of underlying tokens to receiver.
     *
     * - MUST emit the Withdraw event.
     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the
     *   withdraw execution, and are accounted for during withdraw.
     * - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner
     *   not having enough shares, etc).
     *
     * Note that some implementations will require pre-requesting to the Vault before a withdrawal may be performed.
     * Those methods should be performed separately.
     */
    function withdraw(uint256 assets, address receiver, address owner) external returns (uint256 shares);

    /**
     * @dev Returns the maximum amount of Vault shares that can be redeemed from the owner balance in the Vault,
     * through a redeem call.
     *
     * - MUST return a limited value if owner is subject to some withdrawal limit or timelock.
     * - MUST return balanceOf(owner) if owner is not subject to any withdrawal limit or timelock.
     * - MUST NOT revert.
     */
    function maxRedeem(address owner) external view returns (uint256 maxShares);

    /**
     * @dev Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block,
     * given current on-chain conditions.
     *
     * - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call
     *   in the same transaction. I.e. redeem should return the same or more assets as previewRedeem if called in the
     *   same transaction.
     * - MUST NOT account for redemption limits like those returned from maxRedeem and should always act as though the
     *   redemption would be accepted, regardless if the user has enough shares, etc.
     * - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees.
     * - MUST NOT revert.
     *
     * NOTE: any unfavorable discrepancy between convertToAssets and previewRedeem SHOULD be considered slippage in
     * share price or some other type of condition, meaning the depositor will lose assets by redeeming.
     */
    function previewRedeem(uint256 shares) external view returns (uint256 assets);

    /**
     * @dev Burns exactly shares from owner and sends assets of underlying tokens to receiver.
     *
     * - MUST emit the Withdraw event.
     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the
     *   redeem execution, and are accounted for during redeem.
     * - MUST revert if all of shares cannot be redeemed (due to withdrawal limit being reached, slippage, the owner
     *   not having enough shares, etc).
     *
     * NOTE: some implementations will require pre-requesting to the Vault before a withdrawal may be performed.
     * Those methods should be performed separately.
     */
    function redeem(uint256 shares, address receiver, address owner) external returns (uint256 assets);
}

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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);
}

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

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

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

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// 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;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 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 256, 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 << 3) < value ? 1 : 0);
        }
    }
}

// SPDX-License-Identifier: MIT

pragma solidity 0.8.1;

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

// SPDX-License-Identifier: MIT

pragma solidity 0.8.1;

interface IUniswapV2Router02 {
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"contract IERC20","name":"asset_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"_maxTaxSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"asset","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"shares","type":"uint256"}],"name":"convertToAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"name":"convertToShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"maxRedeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"maxWithdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"name":"previewDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"previewMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"previewRedeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"name":"previewWithdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recover","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"updateAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a060405260146006556014600755600560085560056009556019600a556019600b556014600c556000600d556012600a6200003c919062000695565b620f42406200004c9190620007d2565b600f556012600a6200005f919062000695565b6301312d00620000709190620007d2565b6010553480156200008057600080fd5b5060405162005201380380620052018339818101604052810190620000a69190620005d0565b620000c6620000ba6200048160201b60201c565b6200048960201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250506200010d6200054d60201b60201c565b601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160036000620001636200054d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600360003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550737a250d5630b4cf539739df2c5dacb4c659f2488d601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015620002ca57600080fd5b505afa158015620002df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003059190620005a4565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200038a57600080fd5b505afa1580156200039f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003c59190620005a4565b6040518363ffffffff1660e01b8152600401620003e49291906200060d565b602060405180830381600087803b158015620003ff57600080fd5b505af115801562000414573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200043a9190620005a4565b601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000902565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000815190506200058781620008ce565b92915050565b6000815190506200059e81620008e8565b92915050565b600060208284031215620005b757600080fd5b6000620005c78482850162000576565b91505092915050565b600060208284031215620005e357600080fd5b6000620005f3848285016200058d565b91505092915050565b620006078162000833565b82525050565b6000604082019050620006246000830185620005fc565b620006336020830184620005fc565b9392505050565b6000808291508390505b60018511156200068c5780860481111562000664576200066362000892565b5b6001851615620006745780820291505b80810290506200068485620008c1565b945062000644565b94509492505050565b6000620006a2826200087b565b9150620006af8362000885565b9250620006de7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620006e6565b905092915050565b600082620006f85760019050620007cb565b81620007085760009050620007cb565b81600181146200072157600281146200072c5762000762565b6001915050620007cb565b60ff84111562000741576200074062000892565b5b8360020a9150848211156200075b576200075a62000892565b5b50620007cb565b5060208310610133831016604e8410600b84101617156200079c5782820a90508381111562000796576200079562000892565b5b620007cb565b620007ab84848460016200063a565b92509050818404811115620007c557620007c462000892565b5b81810290505b9392505050565b6000620007df826200087b565b9150620007ec836200087b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000828576200082762000892565b5b828202905092915050565b600062000840826200085b565b9050919050565b6000620008548262000833565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b620008d98162000833565b8114620008e557600080fd5b50565b620008f38162000847565b8114620008ff57600080fd5b50565b60805160601c6148cb620009366000396000818161099d01528181610bd10152818161206a015261231901526148cb6000f3fe6080604052600436106102295760003560e01c80638da5cb5b11610123578063bf474bed116100ab578063ce96cb771161006f578063ce96cb771461087c578063d905777e146108b9578063dd62ed3e146108f6578063ef8b30f714610933578063f2fde38b1461097057610230565b8063bf474bed146107a9578063c63d75b6146107d4578063c6e6f59214610811578063c9567bf91461084e578063ce7460241461086557610230565b8063a643c1a0116100f2578063a643c1a01461068c578063a9059cbb146106b5578063b3d7f6b9146106f2578063b460af941461072f578063ba0876521461076c57610230565b80638da5cb5b146105ce5780638f9a55c0146105f957806394bf804d1461062457806395d89b411461066157610230565b806338d52e0f116101b1578063715018a611610175578063715018a61461051f578063751039fc1461053657806375f0a8741461054d57806378e97925146105785780637d1db4a5146105a357610230565b806338d52e0f14610400578063402d267d1461042b5780634cdad506146104685780636e553f65146104a557806370a08231146104e257610230565b80630a28a477116101f85780630a28a477146103055780630faee56f1461034257806318160ddd1461036d57806323b872dd14610398578063313ce567146103d557610230565b806301e1d1141461023557806306fdde031461026057806307a2d13a1461028b578063095ea7b3146102c857610230565b3661023057005b600080fd5b34801561024157600080fd5b5061024a610999565b6040516102579190613dca565b60405180910390f35b34801561026c57600080fd5b50610275610a49565b6040516102829190613aa8565b60405180910390f35b34801561029757600080fd5b506102b260048036038101906102ad91906133b4565b610a86565b6040516102bf9190613dca565b60405180910390f35b3480156102d457600080fd5b506102ef60048036038101906102ea919061334f565b610a9a565b6040516102fc9190613a8d565b60405180910390f35b34801561031157600080fd5b5061032c600480360381019061032791906133b4565b610ab8565b6040516103399190613dca565b60405180910390f35b34801561034e57600080fd5b50610357610aec565b6040516103649190613dca565b60405180910390f35b34801561037957600080fd5b50610382610b02565b60405161038f9190613dca565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba9190613300565b610b0c565b6040516103cc9190613a8d565b60405180910390f35b3480156103e157600080fd5b506103ea610bc4565b6040516103f79190613e68565b60405180910390f35b34801561040c57600080fd5b50610415610bcd565b60405161042291906139b1565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d9190613272565b610bf5565b60405161045f9190613dca565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a91906133b4565b610c1f565b60405161049c9190613dca565b60405180910390f35b3480156104b157600080fd5b506104cc60048036038101906104c79190613406565b610c53565b6040516104d99190613dca565b60405180910390f35b3480156104ee57600080fd5b5061050960048036038101906105049190613272565b610cca565b6040516105169190613dca565b60405180910390f35b34801561052b57600080fd5b50610534610d13565b005b34801561054257600080fd5b5061054b610d27565b005b34801561055957600080fd5b50610562610dd6565b60405161056f91906139b1565b60405180910390f35b34801561058457600080fd5b5061058d610dfc565b60405161059a9190613dca565b60405180910390f35b3480156105af57600080fd5b506105b8610e02565b6040516105c59190613dca565b60405180910390f35b3480156105da57600080fd5b506105e3610e08565b6040516105f091906139b1565b60405180910390f35b34801561060557600080fd5b5061060e610e31565b60405161061b9190613dca565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190613406565b610e37565b6040516106589190613dca565b60405180910390f35b34801561066d57600080fd5b50610676610eae565b6040516106839190613aa8565b60405180910390f35b34801561069857600080fd5b506106b360048036038101906106ae9190613272565b610eeb565b005b3480156106c157600080fd5b506106dc60048036038101906106d7919061334f565b610f37565b6040516106e99190613a8d565b60405180910390f35b3480156106fe57600080fd5b50610719600480360381019061071491906133b4565b610f55565b6040516107269190613dca565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190613442565b610f89565b6040516107639190613dca565b60405180910390f35b34801561077857600080fd5b50610793600480360381019061078e9190613442565b611002565b6040516107a09190613dca565b60405180910390f35b3480156107b557600080fd5b506107be61107b565b6040516107cb9190613dca565b60405180910390f35b3480156107e057600080fd5b506107fb60048036038101906107f69190613272565b611091565b6040516108089190613dca565b60405180910390f35b34801561081d57600080fd5b50610838600480360381019061083391906133b4565b6110bb565b6040516108459190613dca565b60405180910390f35b34801561085a57600080fd5b506108636110cf565b005b34801561087157600080fd5b5061087a6112da565b005b34801561088857600080fd5b506108a3600480360381019061089e9190613272565b6112ed565b6040516108b09190613dca565b60405180910390f35b3480156108c557600080fd5b506108e060048036038101906108db9190613272565b611309565b6040516108ed9190613dca565b60405180910390f35b34801561090257600080fd5b5061091d600480360381019061091891906132c4565b61131b565b60405161092a9190613dca565b60405180910390f35b34801561093f57600080fd5b5061095a600480360381019061095591906133b4565b6113a2565b6040516109679190613dca565b60405180910390f35b34801561097c57600080fd5b5061099760048036038101906109929190613272565b6113d6565b005b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109f491906139b1565b60206040518083038186803b158015610a0c57600080fd5b505afa158015610a20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4491906133dd565b905090565b60606040518060400160405280600981526020017f4f75726f626f726f730000000000000000000000000000000000000000000000815250905090565b6000610a9382600061145a565b9050919050565b6000610aae610aa76114b3565b84846114bb565b6001905092915050565b600080610acc83610ac7611686565b611690565b9050610ae48184610add9190613eee565b60016116b4565b915050919050565b60006014600e54610afd9190613f44565b905090565b6000600e54905090565b6000610b1984848461170d565b610bb984610b256114b3565b84600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610b6f6114b3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610bb49190614140565b6114bb565b600190509392505050565b60006012905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9050919050565b600080610c2d83600061145a565b9050610c4081610c3b611686565b612015565b81610c4b9190614140565b915050919050565b6000610c5e82610bf5565b831115610ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9790613c2a565b60405180910390fd5b6000610cab846113a2565b9050610cc0610cb86114b3565b848684612044565b8091505092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d1b61215e565b610d2560006121dc565b565b610d2f61215e565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600f819055507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6010819055507f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff604051610dcc9190613dca565b60405180910390a1565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b600f5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b6000610e4282611091565b831115610e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7b90613c8a565b60405180910390fd5b6000610e8f84610f55565b9050610ea4610e9c6114b3565b848387612044565b8091505092915050565b60606040518060400160405280600481526020017f4f55524f00000000000000000000000000000000000000000000000000000000815250905090565b610ef361215e565b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610f4b610f446114b3565b848461170d565b6001905092915050565b600080610f6383600161145a565b9050610f7681610f716122a0565b611690565b81610f819190613eee565b915050919050565b6000610f94826112ed565b841115610fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcd90613c0a565b60405180910390fd5b6000610fe185610ab8565b9050610ff7610fee6114b3565b858588856122aa565b809150509392505050565b600061100d82611309565b84111561104f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104690613b8a565b60405180910390fd5b600061105a85610c1f565b90506110706110676114b3565b858584896122aa565b809150509392505050565b60006014600e5461108c9190613f44565b905090565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9050919050565b60006110c88260006116b4565b9050919050565b6110d761215e565b601360149054906101000a900460ff1615611127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111e90613d4a565b60405180910390fd5b6001601360166101000a81548160ff021916908315150217905550737a250d5630b4cf539739df2c5dacb4c659f2488d601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506111e430601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6114bb565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719473061122d30610cca565b600080611238610e08565b426040518863ffffffff1660e01b815260040161125a96959493929190613a2c565b6060604051808303818588803b15801561127357600080fd5b505af1158015611287573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906112ac9190613491565b505050426005819055506001601360146101000a81548160ff02191690831515021790555043600481905550565b6112e261215e565b6112eb4761241a565b565b60006113026112fb83610cca565b600061145a565b9050919050565b600061131482610cca565b9050919050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000806113b6836113b16122a0565b612015565b90506113ce81846113c79190614140565b60006116b4565b915050919050565b6113de61215e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561144e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144590613b2a565b60405180910390fd5b611457816121dc565b50565b60006114ab6001611469610999565b6114739190613eee565b61147b612449565b600a6114879190613fc8565b61148f610b02565b6114999190613eee565b8486612452909392919063ffffffff16565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561152b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152290613d0a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561159b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159290613b4a565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516116799190613dca565b60405180910390a3505050565b60006101f4905090565b60006116ac82612710600186612452909392919063ffffffff16565b905092915050565b60006117056116c1612449565b600a6116cd9190613fc8565b6116d5610b02565b6116df9190613eee565b60016116e9610999565b6116f39190613eee565b8486612452909392919063ffffffff16565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561177d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177490613cca565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e490613aca565b60405180910390fd5b60008111611830576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182790613c6a565b60405180910390fd5b600061183a610e08565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141580156118a85750611878610e08565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15611d7b57601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480156119585750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156119ae5750600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611ac3576064600a54600d54116119c8576006546119cc565b6008545b836119d791906140e6565b6119e19190613f44565b9050600f54821115611a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1f90613aea565b60405180910390fd5b60105482611a3585610cca565b611a3f9190613eee565b1115611a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7790613cea565b60405180910390fd5b436003600454611a909190613eee565b1115611aaa57611a9f8361253a565b15611aa957600080fd5b5b600d6000815480929190611abd9061420e565b91905055505b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015611b6b5750600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611bc95760105482611b7d85610cca565b611b879190613eee565b1115611bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbf90613cea565b60405180910390fd5b5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148015611c5257503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15611c88576064600b54600d5411611c6c57600754611c70565b6009545b83611c7b91906140e6565b611c859190613f44565b90505b6000611c9330610cca565b9050601360159054906101000a900460ff16158015611cff5750601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b8015611d175750601360169054906101000a900460ff165b8015611d295750611d2661107b565b81115b8015611d385750600c54600d54115b15611d7957611d5f611d5a84611d5584611d50610aec565b61254d565b61254d565b612566565b60004790506000811115611d7757611d764761241a565b5b505b505b6000811115611e785780600160003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611dcf9190613eee565b600160003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e6f9190613dca565b60405180910390a35b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ec39190614140565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508082611f129190614140565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f5c9190613eee565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8385611ffa9190614140565b6040516120079190613dca565b60405180910390a350505050565b600061203c82612710846120299190613eee565b600186612452909392919063ffffffff16565b905092915050565b6000612057836120526122a0565b612015565b90506000612063612860565b90506120917f000000000000000000000000000000000000000000000000000000000000000087308761288a565b61209b8584612913565b8473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d786866040516120fa929190613e3f565b60405180910390a360008211801561213e57503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b156121565761215561214e610bcd565b8284612a53565b5b505050505050565b6121666114b3565b73ffffffffffffffffffffffffffffffffffffffff16612184610e08565b73ffffffffffffffffffffffffffffffffffffffff16146121da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d190613c4a565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006101f4905090565b60006122bd836122b8611686565b611690565b905060006122c9612ad9565b90508473ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161461230a57612309858885612b03565b5b6123148584612b8f565b61233f7f00000000000000000000000000000000000000000000000000000000000000008786612a53565b8473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db87876040516123b5929190613e3f565b60405180910390a46000821180156123f957503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b1561241157612410612409610bcd565b8284612a53565b5b50505050505050565b612446601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612d47565b50565b6000600c905090565b600080612460868686612e3b565b90506001600281111561249c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8360028111156124d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b148015612519575060008480612514577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b868809115b1561252e5760018161252b9190613eee565b90505b80915050949350505050565b600080823b905060008111915050919050565b600081831161255c578261255e565b815b905092915050565b6001601360156101000a81548160ff0219169083151502179055506000600267ffffffffffffffff8111156125c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156125f25781602001602082028036833780820191505090505b5090503081600081518110612630577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156126d257600080fd5b505afa1580156126e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061270a919061329b565b81600181518110612744577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506127ab30601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846114bb565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b815260040161280f959493929190613de5565b600060405180830381600087803b15801561282957600080fd5b505af115801561283d573d6000803e3d6000fd5b50505050506000601360156101000a81548160ff02191690831515021790555050565b6000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61290d846323b872dd60e01b8585856040516024016128ab939291906139cc565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612f73565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297a90613daa565b60405180910390fd5b80600e60008282546129959190613eee565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612a479190613dca565b60405180910390a35050565b612ad48363a9059cbb60e01b8484604051602401612a72929190613a03565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612f73565b505050565b6000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000612b0f848461131b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612b895781811015612b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7290613b6a565b60405180910390fd5b612b8884848484036114bb565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf690613caa565b60405180910390fd5b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7d90613b0a565b60405180910390fd5b818103600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600e60008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612d3a9190613dca565b60405180910390a3505050565b80471015612d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8190613bca565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612db09061399c565b60006040518083038185875af1925050503d8060008114612ded576040519150601f19603f3d011682016040523d82523d6000602084013e612df2565b606091505b5050905080612e36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2d90613baa565b60405180910390fd5b505050565b600080600080198587098587029250828110838203039150506000811415612e9d57838281612e93577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0492505050612f6c565b808411612edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed690613d6a565b60405180910390fd5b60008486880990508281118203915080830392506000600186190186169050808604955080840493506001818260000304019050808302841793506000600287600302189050808702600203810290508087026002038102905080870260020381029050808702600203810290508087026002038102905080870260020381029050808502955050505050505b9392505050565b6000612fd5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661303b9092919063ffffffff16565b9050600081511480612ff7575080806020019051810190612ff6919061338b565b5b613036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302d90613d8a565b60405180910390fd5b505050565b606061304a8484600085613053565b90509392505050565b606082471015613098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308f90613bea565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516130c19190613985565b60006040518083038185875af1925050503d80600081146130fe576040519150601f19603f3d011682016040523d82523d6000602084013e613103565b606091505b509150915061311487838387613120565b92505050949350505050565b606083156131835760008351141561317b5761313b85613196565b61317a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317190613d2a565b60405180910390fd5b5b82905061318e565b61318d83836131b9565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000825111156131cc5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132009190613aa8565b60405180910390fd5b60008135905061321881614850565b92915050565b60008151905061322d81614850565b92915050565b60008151905061324281614867565b92915050565b6000813590506132578161487e565b92915050565b60008151905061326c8161487e565b92915050565b60006020828403121561328457600080fd5b600061329284828501613209565b91505092915050565b6000602082840312156132ad57600080fd5b60006132bb8482850161321e565b91505092915050565b600080604083850312156132d757600080fd5b60006132e585828601613209565b92505060206132f685828601613209565b9150509250929050565b60008060006060848603121561331557600080fd5b600061332386828701613209565b935050602061333486828701613209565b925050604061334586828701613248565b9150509250925092565b6000806040838503121561336257600080fd5b600061337085828601613209565b925050602061338185828601613248565b9150509250929050565b60006020828403121561339d57600080fd5b60006133ab84828501613233565b91505092915050565b6000602082840312156133c657600080fd5b60006133d484828501613248565b91505092915050565b6000602082840312156133ef57600080fd5b60006133fd8482850161325d565b91505092915050565b6000806040838503121561341957600080fd5b600061342785828601613248565b925050602061343885828601613209565b9150509250929050565b60008060006060848603121561345757600080fd5b600061346586828701613248565b935050602061347686828701613209565b925050604061348786828701613209565b9150509250925092565b6000806000606084860312156134a657600080fd5b60006134b48682870161325d565b93505060206134c58682870161325d565b92505060406134d68682870161325d565b9150509250925092565b60006134ec83836134f8565b60208301905092915050565b61350181614174565b82525050565b61351081614174565b82525050565b600061352182613e93565b61352b8185613ec1565b935061353683613e83565b8060005b8381101561356757815161354e88826134e0565b975061355983613eb4565b92505060018101905061353a565b5085935050505092915050565b61357d81614186565b82525050565b600061358e82613e9e565b6135988185613ed2565b93506135a88185602086016141db565b80840191505092915050565b6135bd816141c9565b82525050565b60006135ce82613ea9565b6135d88185613edd565b93506135e88185602086016141db565b6135f1816142b5565b840191505092915050565b6000613609602383613edd565b9150613614826142d3565b604082019050919050565b600061362c601983613edd565b915061363782614322565b602082019050919050565b600061364f602283613edd565b915061365a8261434b565b604082019050919050565b6000613672602683613edd565b915061367d8261439a565b604082019050919050565b6000613695602283613edd565b91506136a0826143e9565b604082019050919050565b60006136b8601d83613edd565b91506136c382614438565b602082019050919050565b60006136db601d83613edd565b91506136e682614461565b602082019050919050565b60006136fe603a83613edd565b91506137098261448a565b604082019050919050565b6000613721601d83613edd565b915061372c826144d9565b602082019050919050565b6000613744602683613edd565b915061374f82614502565b604082019050919050565b6000613767601f83613edd565b915061377282614551565b602082019050919050565b600061378a601e83613edd565b91506137958261457a565b602082019050919050565b60006137ad602083613edd565b91506137b8826145a3565b602082019050919050565b60006137d0602983613edd565b91506137db826145cc565b604082019050919050565b60006137f3601b83613edd565b91506137fe8261461b565b602082019050919050565b6000613816602183613edd565b915061382182614644565b604082019050919050565b6000613839602583613edd565b915061384482614693565b604082019050919050565b600061385c601a83613edd565b9150613867826146e2565b602082019050919050565b600061387f600083613ed2565b915061388a8261470b565b600082019050919050565b60006138a2602483613edd565b91506138ad8261470e565b604082019050919050565b60006138c5601d83613edd565b91506138d08261475d565b602082019050919050565b60006138e8601783613edd565b91506138f382614786565b602082019050919050565b600061390b601583613edd565b9150613916826147af565b602082019050919050565b600061392e602a83613edd565b9150613939826147d8565b604082019050919050565b6000613951601f83613edd565b915061395c82614827565b602082019050919050565b613970816141b2565b82525050565b61397f816141bc565b82525050565b60006139918284613583565b915081905092915050565b60006139a782613872565b9150819050919050565b60006020820190506139c66000830184613507565b92915050565b60006060820190506139e16000830186613507565b6139ee6020830185613507565b6139fb6040830184613967565b949350505050565b6000604082019050613a186000830185613507565b613a256020830184613967565b9392505050565b600060c082019050613a416000830189613507565b613a4e6020830188613967565b613a5b60408301876135b4565b613a6860608301866135b4565b613a756080830185613507565b613a8260a0830184613967565b979650505050505050565b6000602082019050613aa26000830184613574565b92915050565b60006020820190508181036000830152613ac281846135c3565b905092915050565b60006020820190508181036000830152613ae3816135fc565b9050919050565b60006020820190508181036000830152613b038161361f565b9050919050565b60006020820190508181036000830152613b2381613642565b9050919050565b60006020820190508181036000830152613b4381613665565b9050919050565b60006020820190508181036000830152613b6381613688565b9050919050565b60006020820190508181036000830152613b83816136ab565b9050919050565b60006020820190508181036000830152613ba3816136ce565b9050919050565b60006020820190508181036000830152613bc3816136f1565b9050919050565b60006020820190508181036000830152613be381613714565b9050919050565b60006020820190508181036000830152613c0381613737565b9050919050565b60006020820190508181036000830152613c238161375a565b9050919050565b60006020820190508181036000830152613c438161377d565b9050919050565b60006020820190508181036000830152613c63816137a0565b9050919050565b60006020820190508181036000830152613c83816137c3565b9050919050565b60006020820190508181036000830152613ca3816137e6565b9050919050565b60006020820190508181036000830152613cc381613809565b9050919050565b60006020820190508181036000830152613ce38161382c565b9050919050565b60006020820190508181036000830152613d038161384f565b9050919050565b60006020820190508181036000830152613d2381613895565b9050919050565b60006020820190508181036000830152613d43816138b8565b9050919050565b60006020820190508181036000830152613d63816138db565b9050919050565b60006020820190508181036000830152613d83816138fe565b9050919050565b60006020820190508181036000830152613da381613921565b9050919050565b60006020820190508181036000830152613dc381613944565b9050919050565b6000602082019050613ddf6000830184613967565b92915050565b600060a082019050613dfa6000830188613967565b613e0760208301876135b4565b8181036040830152613e198186613516565b9050613e286060830185613507565b613e356080830184613967565b9695505050505050565b6000604082019050613e546000830185613967565b613e616020830184613967565b9392505050565b6000602082019050613e7d6000830184613976565b92915050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000613ef9826141b2565b9150613f04836141b2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f3957613f38614257565b5b828201905092915050565b6000613f4f826141b2565b9150613f5a836141b2565b925082613f6a57613f69614286565b5b828204905092915050565b6000808291508390505b6001851115613fbf57808604811115613f9b57613f9a614257565b5b6001851615613faa5780820291505b8081029050613fb8856142c6565b9450613f7f565b94509492505050565b6000613fd3826141b2565b9150613fde836141bc565b925061400b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484614013565b905092915050565b60008261402357600190506140df565b8161403157600090506140df565b8160018114614047576002811461405157614080565b60019150506140df565b60ff84111561406357614062614257565b5b8360020a91508482111561407a57614079614257565b5b506140df565b5060208310610133831016604e8410600b84101617156140b55782820a9050838111156140b0576140af614257565b5b6140df565b6140c28484846001613f75565b925090508184048111156140d9576140d8614257565b5b81810290505b9392505050565b60006140f1826141b2565b91506140fc836141b2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561413557614134614257565b5b828202905092915050565b600061414b826141b2565b9150614156836141b2565b92508282101561416957614168614257565b5b828203905092915050565b600061417f82614192565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006141d4826141b2565b9050919050565b60005b838110156141f95780820151818401526020810190506141de565b83811115614208576000848401525b50505050565b6000614219826141b2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561424c5761424b614257565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565647320746865205f6d61785478416d6f756e742e00000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f455243343632363a2072656465656d206d6f7265207468616e206d6178000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f455243343632363a207769746864726177206d6f7265207468616e206d617800600082015250565b7f455243343632363a206465706f736974206d6f7265207468616e206d61780000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b7f455243343632363a206d696e74206d6f7265207468616e206d61780000000000600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565647320746865206d617857616c6c657453697a652e000000000000600082015250565b50565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f74726164696e6720697320616c7265616479206f70656e000000000000000000600082015250565b7f4d6174683a206d756c446976206f766572666c6f770000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61485981614174565b811461486457600080fd5b50565b61487081614186565b811461487b57600080fd5b50565b614887816141b2565b811461489257600080fd5b5056fea26469706673582212208c3282e4be11835c5361af7f3d5a796ac000b4874592d8feb5c7432f28d7cbd364736f6c63430008010033000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48

Deployed Bytecode

0x6080604052600436106102295760003560e01c80638da5cb5b11610123578063bf474bed116100ab578063ce96cb771161006f578063ce96cb771461087c578063d905777e146108b9578063dd62ed3e146108f6578063ef8b30f714610933578063f2fde38b1461097057610230565b8063bf474bed146107a9578063c63d75b6146107d4578063c6e6f59214610811578063c9567bf91461084e578063ce7460241461086557610230565b8063a643c1a0116100f2578063a643c1a01461068c578063a9059cbb146106b5578063b3d7f6b9146106f2578063b460af941461072f578063ba0876521461076c57610230565b80638da5cb5b146105ce5780638f9a55c0146105f957806394bf804d1461062457806395d89b411461066157610230565b806338d52e0f116101b1578063715018a611610175578063715018a61461051f578063751039fc1461053657806375f0a8741461054d57806378e97925146105785780637d1db4a5146105a357610230565b806338d52e0f14610400578063402d267d1461042b5780634cdad506146104685780636e553f65146104a557806370a08231146104e257610230565b80630a28a477116101f85780630a28a477146103055780630faee56f1461034257806318160ddd1461036d57806323b872dd14610398578063313ce567146103d557610230565b806301e1d1141461023557806306fdde031461026057806307a2d13a1461028b578063095ea7b3146102c857610230565b3661023057005b600080fd5b34801561024157600080fd5b5061024a610999565b6040516102579190613dca565b60405180910390f35b34801561026c57600080fd5b50610275610a49565b6040516102829190613aa8565b60405180910390f35b34801561029757600080fd5b506102b260048036038101906102ad91906133b4565b610a86565b6040516102bf9190613dca565b60405180910390f35b3480156102d457600080fd5b506102ef60048036038101906102ea919061334f565b610a9a565b6040516102fc9190613a8d565b60405180910390f35b34801561031157600080fd5b5061032c600480360381019061032791906133b4565b610ab8565b6040516103399190613dca565b60405180910390f35b34801561034e57600080fd5b50610357610aec565b6040516103649190613dca565b60405180910390f35b34801561037957600080fd5b50610382610b02565b60405161038f9190613dca565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba9190613300565b610b0c565b6040516103cc9190613a8d565b60405180910390f35b3480156103e157600080fd5b506103ea610bc4565b6040516103f79190613e68565b60405180910390f35b34801561040c57600080fd5b50610415610bcd565b60405161042291906139b1565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d9190613272565b610bf5565b60405161045f9190613dca565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a91906133b4565b610c1f565b60405161049c9190613dca565b60405180910390f35b3480156104b157600080fd5b506104cc60048036038101906104c79190613406565b610c53565b6040516104d99190613dca565b60405180910390f35b3480156104ee57600080fd5b5061050960048036038101906105049190613272565b610cca565b6040516105169190613dca565b60405180910390f35b34801561052b57600080fd5b50610534610d13565b005b34801561054257600080fd5b5061054b610d27565b005b34801561055957600080fd5b50610562610dd6565b60405161056f91906139b1565b60405180910390f35b34801561058457600080fd5b5061058d610dfc565b60405161059a9190613dca565b60405180910390f35b3480156105af57600080fd5b506105b8610e02565b6040516105c59190613dca565b60405180910390f35b3480156105da57600080fd5b506105e3610e08565b6040516105f091906139b1565b60405180910390f35b34801561060557600080fd5b5061060e610e31565b60405161061b9190613dca565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190613406565b610e37565b6040516106589190613dca565b60405180910390f35b34801561066d57600080fd5b50610676610eae565b6040516106839190613aa8565b60405180910390f35b34801561069857600080fd5b506106b360048036038101906106ae9190613272565b610eeb565b005b3480156106c157600080fd5b506106dc60048036038101906106d7919061334f565b610f37565b6040516106e99190613a8d565b60405180910390f35b3480156106fe57600080fd5b50610719600480360381019061071491906133b4565b610f55565b6040516107269190613dca565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190613442565b610f89565b6040516107639190613dca565b60405180910390f35b34801561077857600080fd5b50610793600480360381019061078e9190613442565b611002565b6040516107a09190613dca565b60405180910390f35b3480156107b557600080fd5b506107be61107b565b6040516107cb9190613dca565b60405180910390f35b3480156107e057600080fd5b506107fb60048036038101906107f69190613272565b611091565b6040516108089190613dca565b60405180910390f35b34801561081d57600080fd5b50610838600480360381019061083391906133b4565b6110bb565b6040516108459190613dca565b60405180910390f35b34801561085a57600080fd5b506108636110cf565b005b34801561087157600080fd5b5061087a6112da565b005b34801561088857600080fd5b506108a3600480360381019061089e9190613272565b6112ed565b6040516108b09190613dca565b60405180910390f35b3480156108c557600080fd5b506108e060048036038101906108db9190613272565b611309565b6040516108ed9190613dca565b60405180910390f35b34801561090257600080fd5b5061091d600480360381019061091891906132c4565b61131b565b60405161092a9190613dca565b60405180910390f35b34801561093f57600080fd5b5061095a600480360381019061095591906133b4565b6113a2565b6040516109679190613dca565b60405180910390f35b34801561097c57600080fd5b5061099760048036038101906109929190613272565b6113d6565b005b60007f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109f491906139b1565b60206040518083038186803b158015610a0c57600080fd5b505afa158015610a20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4491906133dd565b905090565b60606040518060400160405280600981526020017f4f75726f626f726f730000000000000000000000000000000000000000000000815250905090565b6000610a9382600061145a565b9050919050565b6000610aae610aa76114b3565b84846114bb565b6001905092915050565b600080610acc83610ac7611686565b611690565b9050610ae48184610add9190613eee565b60016116b4565b915050919050565b60006014600e54610afd9190613f44565b905090565b6000600e54905090565b6000610b1984848461170d565b610bb984610b256114b3565b84600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610b6f6114b3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610bb49190614140565b6114bb565b600190509392505050565b60006012905090565b60007f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48905090565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9050919050565b600080610c2d83600061145a565b9050610c4081610c3b611686565b612015565b81610c4b9190614140565b915050919050565b6000610c5e82610bf5565b831115610ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9790613c2a565b60405180910390fd5b6000610cab846113a2565b9050610cc0610cb86114b3565b848684612044565b8091505092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d1b61215e565b610d2560006121dc565b565b610d2f61215e565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600f819055507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6010819055507f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff604051610dcc9190613dca565b60405180910390a1565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b600f5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b6000610e4282611091565b831115610e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7b90613c8a565b60405180910390fd5b6000610e8f84610f55565b9050610ea4610e9c6114b3565b848387612044565b8091505092915050565b60606040518060400160405280600481526020017f4f55524f00000000000000000000000000000000000000000000000000000000815250905090565b610ef361215e565b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610f4b610f446114b3565b848461170d565b6001905092915050565b600080610f6383600161145a565b9050610f7681610f716122a0565b611690565b81610f819190613eee565b915050919050565b6000610f94826112ed565b841115610fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcd90613c0a565b60405180910390fd5b6000610fe185610ab8565b9050610ff7610fee6114b3565b858588856122aa565b809150509392505050565b600061100d82611309565b84111561104f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104690613b8a565b60405180910390fd5b600061105a85610c1f565b90506110706110676114b3565b858584896122aa565b809150509392505050565b60006014600e5461108c9190613f44565b905090565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9050919050565b60006110c88260006116b4565b9050919050565b6110d761215e565b601360149054906101000a900460ff1615611127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111e90613d4a565b60405180910390fd5b6001601360166101000a81548160ff021916908315150217905550737a250d5630b4cf539739df2c5dacb4c659f2488d601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506111e430601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6114bb565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719473061122d30610cca565b600080611238610e08565b426040518863ffffffff1660e01b815260040161125a96959493929190613a2c565b6060604051808303818588803b15801561127357600080fd5b505af1158015611287573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906112ac9190613491565b505050426005819055506001601360146101000a81548160ff02191690831515021790555043600481905550565b6112e261215e565b6112eb4761241a565b565b60006113026112fb83610cca565b600061145a565b9050919050565b600061131482610cca565b9050919050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000806113b6836113b16122a0565b612015565b90506113ce81846113c79190614140565b60006116b4565b915050919050565b6113de61215e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561144e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144590613b2a565b60405180910390fd5b611457816121dc565b50565b60006114ab6001611469610999565b6114739190613eee565b61147b612449565b600a6114879190613fc8565b61148f610b02565b6114999190613eee565b8486612452909392919063ffffffff16565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561152b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152290613d0a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561159b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159290613b4a565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516116799190613dca565b60405180910390a3505050565b60006101f4905090565b60006116ac82612710600186612452909392919063ffffffff16565b905092915050565b60006117056116c1612449565b600a6116cd9190613fc8565b6116d5610b02565b6116df9190613eee565b60016116e9610999565b6116f39190613eee565b8486612452909392919063ffffffff16565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561177d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177490613cca565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e490613aca565b60405180910390fd5b60008111611830576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182790613c6a565b60405180910390fd5b600061183a610e08565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141580156118a85750611878610e08565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15611d7b57601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480156119585750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156119ae5750600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611ac3576064600a54600d54116119c8576006546119cc565b6008545b836119d791906140e6565b6119e19190613f44565b9050600f54821115611a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1f90613aea565b60405180910390fd5b60105482611a3585610cca565b611a3f9190613eee565b1115611a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7790613cea565b60405180910390fd5b436003600454611a909190613eee565b1115611aaa57611a9f8361253a565b15611aa957600080fd5b5b600d6000815480929190611abd9061420e565b91905055505b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015611b6b5750600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611bc95760105482611b7d85610cca565b611b879190613eee565b1115611bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbf90613cea565b60405180910390fd5b5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148015611c5257503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15611c88576064600b54600d5411611c6c57600754611c70565b6009545b83611c7b91906140e6565b611c859190613f44565b90505b6000611c9330610cca565b9050601360159054906101000a900460ff16158015611cff5750601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b8015611d175750601360169054906101000a900460ff165b8015611d295750611d2661107b565b81115b8015611d385750600c54600d54115b15611d7957611d5f611d5a84611d5584611d50610aec565b61254d565b61254d565b612566565b60004790506000811115611d7757611d764761241a565b5b505b505b6000811115611e785780600160003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611dcf9190613eee565b600160003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e6f9190613dca565b60405180910390a35b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ec39190614140565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508082611f129190614140565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f5c9190613eee565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8385611ffa9190614140565b6040516120079190613dca565b60405180910390a350505050565b600061203c82612710846120299190613eee565b600186612452909392919063ffffffff16565b905092915050565b6000612057836120526122a0565b612015565b90506000612063612860565b90506120917f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4887308761288a565b61209b8584612913565b8473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d786866040516120fa929190613e3f565b60405180910390a360008211801561213e57503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b156121565761215561214e610bcd565b8284612a53565b5b505050505050565b6121666114b3565b73ffffffffffffffffffffffffffffffffffffffff16612184610e08565b73ffffffffffffffffffffffffffffffffffffffff16146121da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d190613c4a565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006101f4905090565b60006122bd836122b8611686565b611690565b905060006122c9612ad9565b90508473ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161461230a57612309858885612b03565b5b6123148584612b8f565b61233f7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb488786612a53565b8473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db87876040516123b5929190613e3f565b60405180910390a46000821180156123f957503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b1561241157612410612409610bcd565b8284612a53565b5b50505050505050565b612446601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612d47565b50565b6000600c905090565b600080612460868686612e3b565b90506001600281111561249c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8360028111156124d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b148015612519575060008480612514577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b868809115b1561252e5760018161252b9190613eee565b90505b80915050949350505050565b600080823b905060008111915050919050565b600081831161255c578261255e565b815b905092915050565b6001601360156101000a81548160ff0219169083151502179055506000600267ffffffffffffffff8111156125c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156125f25781602001602082028036833780820191505090505b5090503081600081518110612630577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156126d257600080fd5b505afa1580156126e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061270a919061329b565b81600181518110612744577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506127ab30601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846114bb565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b815260040161280f959493929190613de5565b600060405180830381600087803b15801561282957600080fd5b505af115801561283d573d6000803e3d6000fd5b50505050506000601360156101000a81548160ff02191690831515021790555050565b6000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61290d846323b872dd60e01b8585856040516024016128ab939291906139cc565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612f73565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297a90613daa565b60405180910390fd5b80600e60008282546129959190613eee565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612a479190613dca565b60405180910390a35050565b612ad48363a9059cbb60e01b8484604051602401612a72929190613a03565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612f73565b505050565b6000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000612b0f848461131b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612b895781811015612b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7290613b6a565b60405180910390fd5b612b8884848484036114bb565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf690613caa565b60405180910390fd5b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7d90613b0a565b60405180910390fd5b818103600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600e60008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612d3a9190613dca565b60405180910390a3505050565b80471015612d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8190613bca565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612db09061399c565b60006040518083038185875af1925050503d8060008114612ded576040519150601f19603f3d011682016040523d82523d6000602084013e612df2565b606091505b5050905080612e36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2d90613baa565b60405180910390fd5b505050565b600080600080198587098587029250828110838203039150506000811415612e9d57838281612e93577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0492505050612f6c565b808411612edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed690613d6a565b60405180910390fd5b60008486880990508281118203915080830392506000600186190186169050808604955080840493506001818260000304019050808302841793506000600287600302189050808702600203810290508087026002038102905080870260020381029050808702600203810290508087026002038102905080870260020381029050808502955050505050505b9392505050565b6000612fd5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661303b9092919063ffffffff16565b9050600081511480612ff7575080806020019051810190612ff6919061338b565b5b613036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302d90613d8a565b60405180910390fd5b505050565b606061304a8484600085613053565b90509392505050565b606082471015613098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308f90613bea565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516130c19190613985565b60006040518083038185875af1925050503d80600081146130fe576040519150601f19603f3d011682016040523d82523d6000602084013e613103565b606091505b509150915061311487838387613120565b92505050949350505050565b606083156131835760008351141561317b5761313b85613196565b61317a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317190613d2a565b60405180910390fd5b5b82905061318e565b61318d83836131b9565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000825111156131cc5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132009190613aa8565b60405180910390fd5b60008135905061321881614850565b92915050565b60008151905061322d81614850565b92915050565b60008151905061324281614867565b92915050565b6000813590506132578161487e565b92915050565b60008151905061326c8161487e565b92915050565b60006020828403121561328457600080fd5b600061329284828501613209565b91505092915050565b6000602082840312156132ad57600080fd5b60006132bb8482850161321e565b91505092915050565b600080604083850312156132d757600080fd5b60006132e585828601613209565b92505060206132f685828601613209565b9150509250929050565b60008060006060848603121561331557600080fd5b600061332386828701613209565b935050602061333486828701613209565b925050604061334586828701613248565b9150509250925092565b6000806040838503121561336257600080fd5b600061337085828601613209565b925050602061338185828601613248565b9150509250929050565b60006020828403121561339d57600080fd5b60006133ab84828501613233565b91505092915050565b6000602082840312156133c657600080fd5b60006133d484828501613248565b91505092915050565b6000602082840312156133ef57600080fd5b60006133fd8482850161325d565b91505092915050565b6000806040838503121561341957600080fd5b600061342785828601613248565b925050602061343885828601613209565b9150509250929050565b60008060006060848603121561345757600080fd5b600061346586828701613248565b935050602061347686828701613209565b925050604061348786828701613209565b9150509250925092565b6000806000606084860312156134a657600080fd5b60006134b48682870161325d565b93505060206134c58682870161325d565b92505060406134d68682870161325d565b9150509250925092565b60006134ec83836134f8565b60208301905092915050565b61350181614174565b82525050565b61351081614174565b82525050565b600061352182613e93565b61352b8185613ec1565b935061353683613e83565b8060005b8381101561356757815161354e88826134e0565b975061355983613eb4565b92505060018101905061353a565b5085935050505092915050565b61357d81614186565b82525050565b600061358e82613e9e565b6135988185613ed2565b93506135a88185602086016141db565b80840191505092915050565b6135bd816141c9565b82525050565b60006135ce82613ea9565b6135d88185613edd565b93506135e88185602086016141db565b6135f1816142b5565b840191505092915050565b6000613609602383613edd565b9150613614826142d3565b604082019050919050565b600061362c601983613edd565b915061363782614322565b602082019050919050565b600061364f602283613edd565b915061365a8261434b565b604082019050919050565b6000613672602683613edd565b915061367d8261439a565b604082019050919050565b6000613695602283613edd565b91506136a0826143e9565b604082019050919050565b60006136b8601d83613edd565b91506136c382614438565b602082019050919050565b60006136db601d83613edd565b91506136e682614461565b602082019050919050565b60006136fe603a83613edd565b91506137098261448a565b604082019050919050565b6000613721601d83613edd565b915061372c826144d9565b602082019050919050565b6000613744602683613edd565b915061374f82614502565b604082019050919050565b6000613767601f83613edd565b915061377282614551565b602082019050919050565b600061378a601e83613edd565b91506137958261457a565b602082019050919050565b60006137ad602083613edd565b91506137b8826145a3565b602082019050919050565b60006137d0602983613edd565b91506137db826145cc565b604082019050919050565b60006137f3601b83613edd565b91506137fe8261461b565b602082019050919050565b6000613816602183613edd565b915061382182614644565b604082019050919050565b6000613839602583613edd565b915061384482614693565b604082019050919050565b600061385c601a83613edd565b9150613867826146e2565b602082019050919050565b600061387f600083613ed2565b915061388a8261470b565b600082019050919050565b60006138a2602483613edd565b91506138ad8261470e565b604082019050919050565b60006138c5601d83613edd565b91506138d08261475d565b602082019050919050565b60006138e8601783613edd565b91506138f382614786565b602082019050919050565b600061390b601583613edd565b9150613916826147af565b602082019050919050565b600061392e602a83613edd565b9150613939826147d8565b604082019050919050565b6000613951601f83613edd565b915061395c82614827565b602082019050919050565b613970816141b2565b82525050565b61397f816141bc565b82525050565b60006139918284613583565b915081905092915050565b60006139a782613872565b9150819050919050565b60006020820190506139c66000830184613507565b92915050565b60006060820190506139e16000830186613507565b6139ee6020830185613507565b6139fb6040830184613967565b949350505050565b6000604082019050613a186000830185613507565b613a256020830184613967565b9392505050565b600060c082019050613a416000830189613507565b613a4e6020830188613967565b613a5b60408301876135b4565b613a6860608301866135b4565b613a756080830185613507565b613a8260a0830184613967565b979650505050505050565b6000602082019050613aa26000830184613574565b92915050565b60006020820190508181036000830152613ac281846135c3565b905092915050565b60006020820190508181036000830152613ae3816135fc565b9050919050565b60006020820190508181036000830152613b038161361f565b9050919050565b60006020820190508181036000830152613b2381613642565b9050919050565b60006020820190508181036000830152613b4381613665565b9050919050565b60006020820190508181036000830152613b6381613688565b9050919050565b60006020820190508181036000830152613b83816136ab565b9050919050565b60006020820190508181036000830152613ba3816136ce565b9050919050565b60006020820190508181036000830152613bc3816136f1565b9050919050565b60006020820190508181036000830152613be381613714565b9050919050565b60006020820190508181036000830152613c0381613737565b9050919050565b60006020820190508181036000830152613c238161375a565b9050919050565b60006020820190508181036000830152613c438161377d565b9050919050565b60006020820190508181036000830152613c63816137a0565b9050919050565b60006020820190508181036000830152613c83816137c3565b9050919050565b60006020820190508181036000830152613ca3816137e6565b9050919050565b60006020820190508181036000830152613cc381613809565b9050919050565b60006020820190508181036000830152613ce38161382c565b9050919050565b60006020820190508181036000830152613d038161384f565b9050919050565b60006020820190508181036000830152613d2381613895565b9050919050565b60006020820190508181036000830152613d43816138b8565b9050919050565b60006020820190508181036000830152613d63816138db565b9050919050565b60006020820190508181036000830152613d83816138fe565b9050919050565b60006020820190508181036000830152613da381613921565b9050919050565b60006020820190508181036000830152613dc381613944565b9050919050565b6000602082019050613ddf6000830184613967565b92915050565b600060a082019050613dfa6000830188613967565b613e0760208301876135b4565b8181036040830152613e198186613516565b9050613e286060830185613507565b613e356080830184613967565b9695505050505050565b6000604082019050613e546000830185613967565b613e616020830184613967565b9392505050565b6000602082019050613e7d6000830184613976565b92915050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000613ef9826141b2565b9150613f04836141b2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f3957613f38614257565b5b828201905092915050565b6000613f4f826141b2565b9150613f5a836141b2565b925082613f6a57613f69614286565b5b828204905092915050565b6000808291508390505b6001851115613fbf57808604811115613f9b57613f9a614257565b5b6001851615613faa5780820291505b8081029050613fb8856142c6565b9450613f7f565b94509492505050565b6000613fd3826141b2565b9150613fde836141bc565b925061400b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484614013565b905092915050565b60008261402357600190506140df565b8161403157600090506140df565b8160018114614047576002811461405157614080565b60019150506140df565b60ff84111561406357614062614257565b5b8360020a91508482111561407a57614079614257565b5b506140df565b5060208310610133831016604e8410600b84101617156140b55782820a9050838111156140b0576140af614257565b5b6140df565b6140c28484846001613f75565b925090508184048111156140d9576140d8614257565b5b81810290505b9392505050565b60006140f1826141b2565b91506140fc836141b2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561413557614134614257565b5b828202905092915050565b600061414b826141b2565b9150614156836141b2565b92508282101561416957614168614257565b5b828203905092915050565b600061417f82614192565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006141d4826141b2565b9050919050565b60005b838110156141f95780820151818401526020810190506141de565b83811115614208576000848401525b50505050565b6000614219826141b2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561424c5761424b614257565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565647320746865205f6d61785478416d6f756e742e00000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f455243343632363a2072656465656d206d6f7265207468616e206d6178000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f455243343632363a207769746864726177206d6f7265207468616e206d617800600082015250565b7f455243343632363a206465706f736974206d6f7265207468616e206d61780000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b7f455243343632363a206d696e74206d6f7265207468616e206d61780000000000600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565647320746865206d617857616c6c657453697a652e000000000000600082015250565b50565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f74726164696e6720697320616c7265616479206f70656e000000000000000000600082015250565b7f4d6174683a206d756c446976206f766572666c6f770000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61485981614174565b811461486457600080fd5b50565b61487081614186565b811461487b57600080fd5b50565b614887816141b2565b811461489257600080fd5b5056fea26469706673582212208c3282e4be11835c5361af7f3d5a796ac000b4874592d8feb5c7432f28d7cbd364736f6c63430008010033

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

000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48

-----Decoded View---------------
Arg [0] : asset_ (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.