ETH Price: $3,328.70 (+2.59%)

Contract

0x39d1d8fcC5E6EEAf567Bce4e29B94fec956D3519
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Swap Exact Token...213146042024-12-02 11:43:4721 days ago1733139827IN
0x39d1d8fc...c956D3519
0 ETH0.0028105313.02088585
Add Liquidity ET...213145192024-12-02 11:26:3521 days ago1733138795IN
0x39d1d8fc...c956D3519
0.01 ETH0.0449099116.15521524
Add Liquidity ET...213143932024-12-02 11:01:1121 days ago1733137271IN
0x39d1d8fc...c956D3519
0.01 ETH0.069183515.4736619
Add Liquidity ET...211624362024-11-11 5:45:3542 days ago1731303935IN
0x39d1d8fc...c956D3519
1 ETH0.054334819.38841423
Add Liquidity ET...211439112024-11-08 15:46:5945 days ago1731080819IN
0x39d1d8fc...c956D3519
2,572.2213557 ETH0.0053526521.88222174
Remove Liquidity...211417972024-11-08 8:42:2345 days ago1731055343IN
0x39d1d8fc...c956D3519
0 ETH0.0026924410.63971841
Remove Liquidity...211413472024-11-08 7:12:1145 days ago1731049931IN
0x39d1d8fc...c956D3519
0 ETH0.002201238.53074553
Add Liquidity ET...210616652024-10-28 4:11:4756 days ago1730088707IN
0x39d1d8fc...c956D3519
0.0004273 ETH0.001483866.43159977
Add Liquidity205476372024-08-17 10:06:23128 days ago1723889183IN
0x39d1d8fc...c956D3519
0 ETH0.000354591.47809468
Add Liquidity205476302024-08-17 10:04:59128 days ago1723889099IN
0x39d1d8fc...c956D3519
0 ETH0.000379851.51745424
Add Liquidity205472452024-08-17 8:47:23128 days ago1723884443IN
0x39d1d8fc...c956D3519
0 ETH0.000227990.95037138
Add Liquidity205460142024-08-17 4:39:35128 days ago1723869575IN
0x39d1d8fc...c956D3519
0 ETH0.000232280.8797036
Add Liquidity205459782024-08-17 4:32:23128 days ago1723869143IN
0x39d1d8fc...c956D3519
0 ETH0.000442771.84587594
Add Liquidity205459672024-08-17 4:30:11128 days ago1723869011IN
0x39d1d8fc...c956D3519
0 ETH0.00024640.97108601
Add Liquidity205418802024-08-16 14:46:35129 days ago1723819595IN
0x39d1d8fc...c956D3519
0 ETH0.000899693.2027908
Add Liquidity ET...203101592024-07-15 6:35:47161 days ago1721025347IN
0x39d1d8fc...c956D3519
0.1 ETH0.008526113.06819072
Add Liquidity ET...202893572024-07-12 8:54:23164 days ago1720774463IN
0x39d1d8fc...c956D3519
0.1 ETH0.01007813.64072892
Add Liquidity202459972024-07-06 7:32:11170 days ago1720251131IN
0x39d1d8fc...c956D3519
0 ETH0.010184062.29044573
Add Liquidity202459872024-07-06 7:30:11170 days ago1720251011IN
0x39d1d8fc...c956D3519
0 ETH0.010293782.32206965
Add Liquidity202459762024-07-06 7:27:59170 days ago1720250879IN
0x39d1d8fc...c956D3519
0 ETH0.010474022.36100228
Add Liquidity ET...202459092024-07-06 7:14:35170 days ago1720250075IN
0x39d1d8fc...c956D3519
65.6681 ETH0.006897322.48809893
Add Liquidity ET...202458912024-07-06 7:10:59170 days ago1720249859IN
0x39d1d8fc...c956D3519
73.4853 ETH0.011473132.58526656
Add Liquidity ET...202458582024-07-06 7:04:23170 days ago1720249463IN
0x39d1d8fc...c956D3519
98.4032 ETH0.009349992.11594182
Add Liquidity ET...202458412024-07-06 7:00:47170 days ago1720249247IN
0x39d1d8fc...c956D3519
68.4379 ETH0.009889812.23377757
Add Liquidity ET...202458282024-07-06 6:58:11170 days ago1720249091IN
0x39d1d8fc...c956D3519
68.3493 ETH0.009801652.2199474
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
214671842024-12-23 19:10:472 mins ago1734981047
0x39d1d8fc...c956D3519
0 ETH
214671842024-12-23 19:10:472 mins ago1734981047
0x39d1d8fc...c956D3519
0 ETH
214671842024-12-23 19:10:472 mins ago1734981047
0x39d1d8fc...c956D3519
0 ETH
214671842024-12-23 19:10:472 mins ago1734981047
0x39d1d8fc...c956D3519
0 ETH
214671842024-12-23 19:10:472 mins ago1734981047
0x39d1d8fc...c956D3519
0 ETH
214671842024-12-23 19:10:472 mins ago1734981047
0x39d1d8fc...c956D3519
0 ETH
214671842024-12-23 19:10:472 mins ago1734981047
0x39d1d8fc...c956D3519
0 ETH
214671842024-12-23 19:10:472 mins ago1734981047
0x39d1d8fc...c956D3519
0 ETH
214671792024-12-23 19:09:473 mins ago1734980987
0x39d1d8fc...c956D3519
0 ETH
214671792024-12-23 19:09:473 mins ago1734980987
0x39d1d8fc...c956D3519
0 ETH
214671792024-12-23 19:09:473 mins ago1734980987
0x39d1d8fc...c956D3519
0 ETH
214671792024-12-23 19:09:473 mins ago1734980987
0x39d1d8fc...c956D3519
0 ETH
214671792024-12-23 19:09:473 mins ago1734980987
0x39d1d8fc...c956D3519
0 ETH
214671792024-12-23 19:09:473 mins ago1734980987
0x39d1d8fc...c956D3519
0 ETH
214671792024-12-23 19:09:473 mins ago1734980987
0x39d1d8fc...c956D3519
0 ETH
214671792024-12-23 19:09:473 mins ago1734980987
0x39d1d8fc...c956D3519
0 ETH
214670982024-12-23 18:53:3520 mins ago1734980015
0x39d1d8fc...c956D3519
0 ETH
214670982024-12-23 18:53:3520 mins ago1734980015
0x39d1d8fc...c956D3519
0 ETH
214670982024-12-23 18:53:3520 mins ago1734980015
0x39d1d8fc...c956D3519
0 ETH
214670982024-12-23 18:53:3520 mins ago1734980015
0x39d1d8fc...c956D3519
0 ETH
214670982024-12-23 18:53:3520 mins ago1734980015
0x39d1d8fc...c956D3519
0 ETH
214670982024-12-23 18:53:3520 mins ago1734980015
0x39d1d8fc...c956D3519
0 ETH
214670982024-12-23 18:53:3520 mins ago1734980015
0x39d1d8fc...c956D3519
0 ETH
214670982024-12-23 18:53:3520 mins ago1734980015
0x39d1d8fc...c956D3519
0 ETH
214670982024-12-23 18:53:3520 mins ago1734980015
0x39d1d8fc...c956D3519
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SwapV2Router

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 14 : SwapV2Router.sol
pragma solidity =0.6.6;

import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol';
import '@uniswap/lib/contracts/libraries/TransferHelper.sol';

import './interfaces/ISwapV2Router.sol';
import './interfaces/IFewFactory.sol';
import './interfaces/IFewWrappedToken.sol';
import './libraries/SwapV2Library.sol';
import './libraries/SafeMath.sol';
import './interfaces/IERC20.sol';
import './interfaces/IWETH.sol';

contract SwapV2Router is ISwapV2Router {
    using SafeMath for uint;

    address public immutable override factory;
    address public immutable override WETH;
    address public immutable override fewFactory;
    address public immutable override fwWETH;

    modifier ensure(uint deadline) {
        require(deadline >= block.timestamp, 'SwapV2Router: EXPIRED');
        _;
    }

    constructor(address _factory, address _WETH, address _fewFactory, address _fwWETH) public {
        factory = _factory;
        WETH = _WETH;
        fewFactory = _fewFactory;
        fwWETH = _fwWETH;
    }

    receive() external payable {
        assert(msg.sender == WETH); // only accept ETH via fallback from the WETH contract
    }

    // **** ADD LIQUIDITY ****
    function _addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin
    ) internal virtual returns (uint amountA, uint amountB) {
        // create the pair if it doesn't exist yet
        if (IUniswapV2Factory(factory).getPair(tokenA, tokenB) == address(0)) {
            IUniswapV2Factory(factory).createPair(tokenA, tokenB);
        }
        (uint reserveA, uint reserveB) = SwapV2Library.getReserves(factory, tokenA, tokenB);
        if (reserveA == 0 && reserveB == 0) {
            (amountA, amountB) = (amountADesired, amountBDesired);
        } else {
            uint amountBOptimal = SwapV2Library.quote(amountADesired, reserveA, reserveB);
            if (amountBOptimal <= amountBDesired) {
                require(amountBOptimal >= amountBMin, 'SwapV2Router: INSUFFICIENT_B_AMOUNT');
                (amountA, amountB) = (amountADesired, amountBOptimal);
            } else {
                uint amountAOptimal = SwapV2Library.quote(amountBDesired, reserveB, reserveA);
                assert(amountAOptimal <= amountADesired);
                require(amountAOptimal >= amountAMin, 'SwapV2Router: INSUFFICIENT_A_AMOUNT');
                (amountA, amountB) = (amountAOptimal, amountBDesired);
            }
        }
    }
    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external virtual override ensure(deadline) returns (uint amountA, uint amountB, uint liquidity) {
        // create the wrapped token if it doesn't exist yet
        if (IFewFactory(fewFactory).getWrappedToken(tokenA) == address(0)) {
            IFewFactory(fewFactory).createToken(tokenA);
        }
        if (IFewFactory(fewFactory).getWrappedToken(tokenB) == address(0)) {
            IFewFactory(fewFactory).createToken(tokenB);
        }
        address wrappedTokenA = IFewFactory(fewFactory).getWrappedToken(tokenA);
        address wrappedTokenB = IFewFactory(fewFactory).getWrappedToken(tokenB);
        (amountA, amountB) = _addLiquidity(wrappedTokenA, wrappedTokenB, amountADesired, amountBDesired, amountAMin, amountBMin);
        address pair = SwapV2Library.pairFor(factory, wrappedTokenA, wrappedTokenB);
        TransferHelper.safeTransferFrom(tokenA, msg.sender, address(this), amountA);
        TransferHelper.safeTransferFrom(tokenB, msg.sender, address(this), amountB);
        TransferHelper.safeApprove(tokenA, wrappedTokenA, amountA);
        TransferHelper.safeApprove(tokenB, wrappedTokenB, amountB);
        IFewWrappedToken(wrappedTokenA).wrapTo(amountA, pair);
        IFewWrappedToken(wrappedTokenB).wrapTo(amountB, pair);
        liquidity = IUniswapV2Pair(pair).mint(to);
    }
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external virtual override payable ensure(deadline) returns (uint amountToken, uint amountETH, uint liquidity) {
        // create the wrapped token if it doesn't exist yet
        if (IFewFactory(fewFactory).getWrappedToken(token) == address(0)) {
            IFewFactory(fewFactory).createToken(token);
        }
        address wrappedToken = IFewFactory(fewFactory).getWrappedToken(token);
        (amountToken, amountETH) = _addLiquidity(
            wrappedToken,
            fwWETH,
            amountTokenDesired,
            msg.value,
            amountTokenMin,
            amountETHMin
        );
        address pair = SwapV2Library.pairFor(factory, wrappedToken, fwWETH);
        TransferHelper.safeTransferFrom(token, msg.sender, address(this), amountToken);
        IWETH(WETH).deposit{value: amountETH}();
        TransferHelper.safeApprove(token, wrappedToken, amountToken);
        TransferHelper.safeApprove(WETH, fwWETH, amountETH);
        IFewWrappedToken(wrappedToken).wrapTo(amountToken, pair);
        IFewWrappedToken(fwWETH).wrapTo(amountETH, pair);
        liquidity = IUniswapV2Pair(pair).mint(to);
        // refund dust eth, if any
        if (msg.value > amountETH) TransferHelper.safeTransferETH(msg.sender, msg.value - amountETH);
    }

    // **** REMOVE LIQUIDITY ****
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) public virtual override ensure(deadline) returns (uint amountA, uint amountB) {
        address pair = SwapV2Library.pairFor(factory, tokenA, tokenB);
        IUniswapV2Pair(pair).transferFrom(msg.sender, pair, liquidity); // send liquidity to pair
        (uint amount0, uint amount1) = IUniswapV2Pair(pair).burn(address(this));
        (address token0,) = SwapV2Library.sortTokens(tokenA, tokenB);
        (amountA, amountB) = tokenA == token0 ? (amount0, amount1) : (amount1, amount0);
        require(amountA >= amountAMin, 'SwapV2Router: INSUFFICIENT_A_AMOUNT');
        require(amountB >= amountBMin, 'SwapV2Router: INSUFFICIENT_B_AMOUNT');
        IFewWrappedToken(tokenA).unwrapTo(amountA, to);
        IFewWrappedToken(tokenB).unwrapTo(amountB, to);
    }
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) public virtual override ensure(deadline) returns (uint amountToken, uint amountETH) {
        (amountToken, amountETH) = removeLiquidity(
            token,
            fwWETH,
            liquidity,
            amountTokenMin,
            amountETHMin,
            address(this),
            deadline
        );
        TransferHelper.safeTransfer(IFewWrappedToken(token).token(), to, amountToken);
        IWETH(WETH).withdraw(amountETH);
        TransferHelper.safeTransferETH(to, amountETH);
    }
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external virtual override returns (uint amountA, uint amountB) {
        address pair = SwapV2Library.pairFor(factory, tokenA, tokenB);
        uint value = approveMax ? uint(-1) : liquidity;
        IUniswapV2Pair(pair).permit(msg.sender, address(this), value, deadline, v, r, s);
        (amountA, amountB) = removeLiquidity(tokenA, tokenB, liquidity, amountAMin, amountBMin, to, deadline);
    }
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external virtual override returns (uint amountToken, uint amountETH) {
        address pair = SwapV2Library.pairFor(factory, token, fwWETH);
        uint value = approveMax ? uint(-1) : liquidity;
        IUniswapV2Pair(pair).permit(msg.sender, address(this), value, deadline, v, r, s);
        (amountToken, amountETH) = removeLiquidityETH(token, liquidity, amountTokenMin, amountETHMin, to, deadline);
    }

    // **** SWAP ****
    // requires the initial amount to have already been sent to the first pair
    function _swap(uint[] memory amounts, address[] memory path, address _to) internal virtual {
        for (uint i; i < path.length - 1; i++) {
            (address input, address output) = (path[i], path[i + 1]);
            (address token0,) = SwapV2Library.sortTokens(input, output);
            uint amountOut = amounts[i + 1];
            (uint amount0Out, uint amount1Out) = input == token0 ? (uint(0), amountOut) : (amountOut, uint(0));
            address to = i < path.length - 2 ? SwapV2Library.pairFor(factory, output, path[i + 2]) : _to;
            IUniswapV2Pair(SwapV2Library.pairFor(factory, input, output)).swap(
                amount0Out, amount1Out, to, new bytes(0)
            );
        }
    }
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external virtual override ensure(deadline) returns (uint[] memory amounts) {
        amounts = SwapV2Library.getAmountsOut(factory, amountIn, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'SwapV2Router: INSUFFICIENT_OUTPUT_AMOUNT');
        address srcToken = IFewWrappedToken(path[0]).token();
        TransferHelper.safeTransferFrom(srcToken, msg.sender, address(this), amounts[0]);
        TransferHelper.safeApprove(srcToken, path[0], amounts[0]);
        IFewWrappedToken(path[0]).wrapTo(amounts[0], SwapV2Library.pairFor(factory, path[0], path[1]));
        _swap(amounts, path, address(this));
        address dstWrappedToken = path[path.length - 1];
        IFewWrappedToken(dstWrappedToken).unwrapTo(amounts[amounts.length - 1], to);
    }
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external virtual override ensure(deadline) returns (uint[] memory amounts) {
        amounts = SwapV2Library.getAmountsIn(factory, amountOut, path);
        require(amounts[0] <= amountInMax, 'SwapV2Router: EXCESSIVE_INPUT_AMOUNT');
        address srcToken = IFewWrappedToken(path[0]).token();
        TransferHelper.safeTransferFrom(srcToken, msg.sender, address(this), amounts[0]);
        TransferHelper.safeApprove(srcToken, path[0], amounts[0]);
        IFewWrappedToken(path[0]).wrapTo(amounts[0], SwapV2Library.pairFor(factory, path[0], path[1]));
        _swap(amounts, path, address(this));
        address dstWrappedToken = path[path.length - 1];
        IFewWrappedToken(dstWrappedToken).unwrapTo(amounts[amounts.length - 1], to);
    }
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        virtual
        override
        payable
        ensure(deadline)
        returns (uint[] memory amounts)
    {
        require(path[0] == fwWETH, 'SwapV2Router: INVALID_PATH');
        amounts = SwapV2Library.getAmountsOut(factory, msg.value, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'SwapV2Router: INSUFFICIENT_OUTPUT_AMOUNT');
        IWETH(WETH).deposit{value: amounts[0]}();
        TransferHelper.safeApprove(WETH, fwWETH, amounts[0]);
        IFewWrappedToken(fwWETH).wrapTo(amounts[0], SwapV2Library.pairFor(factory, path[0], path[1]));
        _swap(amounts, path, address(this));
        address dstWrappedToken = path[path.length - 1];
        IFewWrappedToken(dstWrappedToken).unwrapTo(amounts[amounts.length - 1], to);
    }
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        virtual
        override
        ensure(deadline)
        returns (uint[] memory amounts)
    {
        require(path[path.length - 1] == fwWETH, 'SwapV2Router: INVALID_PATH');
        amounts = SwapV2Library.getAmountsIn(factory, amountOut, path);
        require(amounts[0] <= amountInMax, 'SwapV2Router: EXCESSIVE_INPUT_AMOUNT');
        address srcToken = IFewWrappedToken(path[0]).token();
        TransferHelper.safeTransferFrom(srcToken, msg.sender, address(this), amounts[0]);
        TransferHelper.safeApprove(srcToken, path[0], amounts[0]);
        IFewWrappedToken(path[0]).wrapTo(amounts[0], SwapV2Library.pairFor(factory, path[0], path[1]));
        _swap(amounts, path, address(this));
        IFewWrappedToken(fwWETH).unwrap(amounts[amounts.length - 1]);
        IWETH(WETH).withdraw(amounts[amounts.length - 1]);
        TransferHelper.safeTransferETH(to, amounts[amounts.length - 1]);
    }
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        virtual
        override
        ensure(deadline)
        returns (uint[] memory amounts)
    {
        require(path[path.length - 1] == fwWETH, 'SwapV2Router: INVALID_PATH');
        amounts = SwapV2Library.getAmountsOut(factory, amountIn, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'SwapV2Router: INSUFFICIENT_OUTPUT_AMOUNT');
        address srcToken = IFewWrappedToken(path[0]).token();
        TransferHelper.safeTransferFrom(srcToken, msg.sender, address(this), amounts[0]);
        TransferHelper.safeApprove(srcToken, path[0], amounts[0]);
        IFewWrappedToken(path[0]).wrapTo(amounts[0], SwapV2Library.pairFor(factory, path[0], path[1]));
        _swap(amounts, path, address(this));
        IFewWrappedToken(fwWETH).unwrapTo(amounts[amounts.length - 1], address(this));
        IWETH(WETH).withdraw(amounts[amounts.length - 1]);
        TransferHelper.safeTransferETH(to, amounts[amounts.length - 1]);
    }
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        virtual
        override
        payable
        ensure(deadline)
        returns (uint[] memory amounts)
    {
        require(path[0] == fwWETH, 'SwapV2Router: INVALID_PATH');
        amounts = SwapV2Library.getAmountsIn(factory, amountOut, path);
        require(amounts[0] <= msg.value, 'SwapV2Router: EXCESSIVE_INPUT_AMOUNT');
        IWETH(WETH).deposit{value: amounts[0]}();
        TransferHelper.safeApprove(WETH, fwWETH, amounts[0]);
        IFewWrappedToken(fwWETH).wrapTo(amounts[0], SwapV2Library.pairFor(factory, path[0], path[1]));
        _swap(amounts, path, address(this));
        address dstWrappedToken = path[path.length - 1];
        IFewWrappedToken(dstWrappedToken).unwrapTo(amounts[amounts.length - 1], to);
        // refund dust eth, if any
        if (msg.value > amounts[0]) TransferHelper.safeTransferETH(msg.sender, msg.value - amounts[0]);
    }

    // **** LIBRARY FUNCTIONS ****
    function quote(uint amountA, uint reserveA, uint reserveB) public pure virtual override returns (uint amountB) {
        return SwapV2Library.quote(amountA, reserveA, reserveB);
    }

    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut)
        public
        pure
        virtual
        override
        returns (uint amountOut)
    {
        return SwapV2Library.getAmountOut(amountIn, reserveIn, reserveOut);
    }

    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut)
        public
        pure
        virtual
        override
        returns (uint amountIn)
    {
        return SwapV2Library.getAmountIn(amountOut, reserveIn, reserveOut);
    }

    function getAmountsOut(uint amountIn, address[] memory path)
        public
        view
        virtual
        override
        returns (uint[] memory amounts)
    {
        return SwapV2Library.getAmountsOut(factory, amountIn, path);
    }

    function getAmountsIn(uint amountOut, address[] memory path)
        public
        view
        virtual
        override
        returns (uint[] memory amounts)
    {
        return SwapV2Library.getAmountsIn(factory, amountOut, path);
    }
}

File 2 of 14 : TransferHelper.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.6.0;

// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('approve(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeApprove: approve failed'
        );
    }

    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transfer(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeTransfer: transfer failed'
        );
    }

    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::transferFrom: transferFrom failed'
        );
    }

    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'TransferHelper::safeTransferETH: ETH transfer failed');
    }
}

File 3 of 14 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 4 of 14 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

File 5 of 14 : IERC20.sol
pragma solidity >=0.5.0;

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

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

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

File 6 of 14 : IFewERC20.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

import "./IERC20.sol";

interface IFewERC20 is IERC20 {
    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

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

File 7 of 14 : IFewFactory.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

interface IFewFactory {
    event WrappedTokenCreated(address indexed originalToken, address wrappedToken, uint);

    function getWrappedToken(address originalToken) external view returns (address wrappedToken);
    function allWrappedTokens(uint) external view returns (address wrappedToken);
    function parameter() external view returns (address);
    function allWrappedTokensLength() external view returns (uint);
    function paused() external view returns (bool);
    function createToken(address originalToken) external returns (address wrappedToken);
}

File 8 of 14 : IFewWrappedToken.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

import "../interfaces/IFewERC20.sol";

interface IFewWrappedToken is IFewERC20 {
    event Mint(address indexed minter, uint256 amount, address indexed to);
    event Burn(address indexed burner, uint256 amount, address indexed to);
    event Wrap(address indexed sender, uint256 amount, address indexed to);
    event Unwrap(address indexed sender, uint256 amount, address indexed to);

    function factory() external view returns (address);
    function token() external view returns (address);

    function burn(uint256 amount) external;
    function burnFrom(address account, uint256 amount) external;
    function mint(address account, uint256 amount) external;
    function wrap(uint256 amount) external returns (uint256);
    function wrapTo(uint256 amount, address to) external returns (uint256);
    function unwrap(uint256 amount) external returns (uint256);
    function unwrapTo(uint256 amount, address to) external returns (uint256);
}

File 9 of 14 : ISwapV2Router.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface ISwapV2Router is IUniswapV2Router01 {
    function fewFactory() external pure returns (address);
    function fwWETH() external pure returns (address);
}

File 10 of 14 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01Base.sol';

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

File 11 of 14 : IUniswapV2Router01Base.sol
pragma solidity >=0.6.2;

interface IUniswapV2Router01Base {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
}

File 12 of 14 : IWETH.sol
pragma solidity >=0.5.0;

interface IWETH {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
}

File 13 of 14 : SafeMath.sol
pragma solidity =0.6.6;

// a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math)

library SafeMath {
    function add(uint x, uint y) internal pure returns (uint z) {
        require((z = x + y) >= x, 'ds-math-add-overflow');
    }

    function sub(uint x, uint y) internal pure returns (uint z) {
        require((z = x - y) <= x, 'ds-math-sub-underflow');
    }

    function mul(uint x, uint y) internal pure returns (uint z) {
        require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow');
    }
}

File 14 of 14 : SwapV2Library.sol
pragma solidity >=0.5.0;

import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';

import "./SafeMath.sol";

library SwapV2Library {
    using SafeMath for uint;

    // returns sorted token addresses, used to handle return values from pairs sorted in this order
    function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {
        require(tokenA != tokenB, 'SwapV2Library: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'SwapV2Library: ZERO_ADDRESS');
    }

    // calculates the CREATE2 address for a pair without making any external calls
    function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) {
        (address token0, address token1) = sortTokens(tokenA, tokenB);
        pair = address(uint(keccak256(abi.encodePacked(
                hex'ff',
                factory,
                keccak256(abi.encodePacked(token0, token1)),
                hex'a7ae6a5ec37f0c21bbdac560794258c4089b8ae3ffa6e3909b53c6091764a676' // init code hash
            ))));
    }

    // fetches and sorts the reserves for a pair
    function getReserves(address factory, address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) {
        (address token0,) = sortTokens(tokenA, tokenB);
        (uint reserve0, uint reserve1,) = IUniswapV2Pair(pairFor(factory, tokenA, tokenB)).getReserves();
        (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
    }

    // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset
    function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) {
        require(amountA > 0, 'SwapV2Library: INSUFFICIENT_AMOUNT');
        require(reserveA > 0 && reserveB > 0, 'SwapV2Library: INSUFFICIENT_LIQUIDITY');
        amountB = amountA.mul(reserveB) / reserveA;
    }

    // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut) {
        require(amountIn > 0, 'SwapV2Library: INSUFFICIENT_INPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'SwapV2Library: INSUFFICIENT_LIQUIDITY');
        uint amountInWithFee = amountIn.mul(997);
        uint numerator = amountInWithFee.mul(reserveOut);
        uint denominator = reserveIn.mul(1000).add(amountInWithFee);
        amountOut = numerator / denominator;
    }

    // given an output amount of an asset and pair reserves, returns a required input amount of the other asset
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn) {
        require(amountOut > 0, 'SwapV2Library: INSUFFICIENT_OUTPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'SwapV2Library: INSUFFICIENT_LIQUIDITY');
        uint numerator = reserveIn.mul(amountOut).mul(1000);
        uint denominator = reserveOut.sub(amountOut).mul(997);
        amountIn = (numerator / denominator).add(1);
    }

    // performs chained getAmountOut calculations on any number of pairs
    function getAmountsOut(address factory, uint amountIn, address[] memory path) internal view returns (uint[] memory amounts) {
        require(path.length >= 2, 'SwapV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[0] = amountIn;
        for (uint i; i < path.length - 1; i++) {
            (uint reserveIn, uint reserveOut) = getReserves(factory, path[i], path[i + 1]);
            amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut);
        }
    }

    // performs chained getAmountIn calculations on any number of pairs
    function getAmountsIn(address factory, uint amountOut, address[] memory path) internal view returns (uint[] memory amounts) {
        require(path.length >= 2, 'SwapV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[amounts.length - 1] = amountOut;
        for (uint i = path.length - 1; i > 0; i--) {
            (uint reserveIn, uint reserveOut) = getReserves(factory, path[i - 1], path[i]);
            amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut);
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_WETH","type":"address"},{"internalType":"address","name":"_fewFactory","type":"address"},{"internalType":"address","name":"_fwWETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"amountADesired","type":"uint256"},{"internalType":"uint256","name":"amountBDesired","type":"uint256"},{"internalType":"uint256","name":"amountAMin","type":"uint256"},{"internalType":"uint256","name":"amountBMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidity","outputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"amountB","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amountTokenDesired","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidityETH","outputs":[{"internalType":"uint256","name":"amountToken","type":"uint256"},{"internalType":"uint256","name":"amountETH","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fewFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fwWETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"}],"name":"getAmountIn","outputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"}],"name":"getAmountOut","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsIn","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsOut","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"reserveA","type":"uint256"},{"internalType":"uint256","name":"reserveB","type":"uint256"}],"name":"quote","outputs":[{"internalType":"uint256","name":"amountB","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountAMin","type":"uint256"},{"internalType":"uint256","name":"amountBMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeLiquidity","outputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"amountB","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeLiquidityETH","outputs":[{"internalType":"uint256","name":"amountToken","type":"uint256"},{"internalType":"uint256","name":"amountETH","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bool","name":"approveMax","type":"bool"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"removeLiquidityETHWithPermit","outputs":[{"internalType":"uint256","name":"amountToken","type":"uint256"},{"internalType":"uint256","name":"amountETH","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountAMin","type":"uint256"},{"internalType":"uint256","name":"amountBMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bool","name":"approveMax","type":"bool"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"removeLiquidityWithPermit","outputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"amountB","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapETHForExactTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactETHForTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForETH","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapTokensForExactETH","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapTokensForExactTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

61010060405234801561001157600080fd5b5060405162004efd38038062004efd8339818101604052608081101561003657600080fd5b508051602082015160408301516060938401516001600160601b031993851b841660805291841b831660a052831b821660c05290911b1660e05260805160601c60a05160601c60c05160601c60e05160601c614d2e620001cf60003980610ad95280610c845280611019528061172b5280611a545280611ad15280611b4d5280611d515280611d7f52806125105280612f375280612f8d5280613064528061315752806132de52806134df528061350d5250806112eb52806126aa528061272d528061280e528061289152806129385280612a195280612d655280612de85280612e8f52508061017e5280610b7b52806110e65280611ca55280611d3052806120b65280612fc15280613043528061343352806134be525080610d245280610eff52806111a752806111e0528061136a528061150e52806117cb528061196c5280611bf25280611dc652806120065280612145528061249552806124be52806124ee5280612aaa5280612f6b528061338352806135545280614116528061415952806146a9528061477052806147f05250614d2e6000f3fe60806040526004361061016e5760003560e01c806385f8c259116100cb578063c45a01551161007f578063e8e3370011610059578063e8e337001461092e578063f305d719146109ae578063fb3bdb41146109f4576101a7565b8063c45a0155146107ef578063d06ca61f14610804578063ded9382a146108bb576101a7565b8063ad5c4648116100b0578063ad5c464814610747578063ad615dec1461075c578063baa2abde14610792576101a7565b806385f8c259146106795780638803dbee146106af576101a7565b8063293ba4df116101225780634a25d94a116101075780634a25d94a146105465780637b9e6af4146105de5780637ff36ab5146105f3576101a7565b8063293ba4df1461047d57806338ed1739146104ae576101a7565b806318cbafe51161015357806318cbafe5146102605780631f00ca74146103485780632195995c146103ff576101a7565b806302751cec146101ac578063054d50d414610218576101a7565b366101a757336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146101a557fe5b005b600080fd5b3480156101b857600080fd5b506101ff600480360360c08110156101cf57600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a00135610a7a565b6040805192835260208301919091528051918290030190f35b34801561022457600080fd5b5061024e6004803603606081101561023b57600080fd5b5080359060208101359060400135610c0d565b60408051918252519081900360200190f35b34801561026c57600080fd5b506102f8600480360360a081101561028357600080fd5b8135916020810135918101906060810160408201356401000000008111156102aa57600080fd5b8201836020820111156102bc57600080fd5b803590602001918460208302840111640100000000831117156102de57600080fd5b91935091506001600160a01b038135169060200135610c22565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561033457818101518382015260200161031c565b505050509050019250505060405180910390f35b34801561035457600080fd5b506102f86004803603604081101561036b57600080fd5b8135919081019060408101602082013564010000000081111561038d57600080fd5b82018360208201111561039f57600080fd5b803590602001918460208302840111640100000000831117156103c157600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506111a0945050505050565b34801561040b57600080fd5b506101ff600480360361016081101561042357600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359091169060c08101359060e081013515159060ff61010082013516906101208101359061014001356111d6565b34801561048957600080fd5b506104926112e9565b604080516001600160a01b039092168252519081900360200190f35b3480156104ba57600080fd5b506102f8600480360360a08110156104d157600080fd5b8135916020810135918101906060810160408201356401000000008111156104f857600080fd5b82018360208201111561050a57600080fd5b8035906020019184602083028401116401000000008311171561052c57600080fd5b91935091506001600160a01b03813516906020013561130d565b34801561055257600080fd5b506102f8600480360360a081101561056957600080fd5b81359160208101359181019060608101604082013564010000000081111561059057600080fd5b8201836020820111156105a257600080fd5b803590602001918460208302840111640100000000831117156105c457600080fd5b91935091506001600160a01b0381351690602001356116c9565b3480156105ea57600080fd5b50610492611acf565b6102f86004803603608081101561060957600080fd5b8135919081019060408101602082013564010000000081111561062b57600080fd5b82018360208201111561063d57600080fd5b8035906020019184602083028401116401000000008311171561065f57600080fd5b91935091506001600160a01b038135169060200135611af3565b34801561068557600080fd5b5061024e6004803603606081101561069c57600080fd5b5080359060208101359060400135611f9c565b3480156106bb57600080fd5b506102f8600480360360a08110156106d257600080fd5b8135916020810135918101906060810160408201356401000000008111156106f957600080fd5b82018360208201111561070b57600080fd5b8035906020019184602083028401116401000000008311171561072d57600080fd5b91935091506001600160a01b038135169060200135611fa9565b34801561075357600080fd5b506104926120b4565b34801561076857600080fd5b5061024e6004803603606081101561077f57600080fd5b50803590602081013590604001356120d8565b34801561079e57600080fd5b506101ff600480360360e08110156107b557600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359091169060c001356120e5565b3480156107fb57600080fd5b50610492612493565b34801561081057600080fd5b506102f86004803603604081101561082757600080fd5b8135919081019060408101602082013564010000000081111561084957600080fd5b82018360208201111561085b57600080fd5b8035906020019184602083028401116401000000008311171561087d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506124b7945050505050565b3480156108c757600080fd5b506101ff60048036036101408110156108df57600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e082013516906101008101359061012001356124e4565b34801561093a57600080fd5b50610990600480360361010081101561095257600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359160c0820135169060e00135612611565b60408051938452602084019290925282820152519081900360600190f35b610990600480360360c08110156109c457600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a00135612ccc565b6102f860048036036080811015610a0a57600080fd5b81359190810190604081016020820135640100000000811115610a2c57600080fd5b820183602082011115610a3e57600080fd5b80359060200191846020830284011164010000000083111715610a6057600080fd5b91935091506001600160a01b038135169060200135613284565b6000808242811015610ad3576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b610b02897f00000000000000000000000000000000000000000000000000000000000000008a8a8a308a6120e5565b8093508194505050610b79896001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b4657600080fd5b505afa158015610b5a573d6000803e3d6000fd5b505050506040513d6020811015610b7057600080fd5b50518685613748565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610bdf57600080fd5b505af1158015610bf3573d6000803e3d6000fd5b50505050610c0185836138e8565b50965096945050505050565b6000610c1a8484846139fe565b949350505050565b60608142811015610c7a576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001686866000198101818110610cb457fe5b905060200201356001600160a01b03166001600160a01b031614610d1f576040805162461bcd60e51b815260206004820152601a60248201527f537761705632526f757465723a20494e56414c49445f50415448000000000000604482015290519081900360640190fd5b610d7d7f000000000000000000000000000000000000000000000000000000000000000089888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250613aee92505050565b91508682600184510381518110610d9057fe5b60200260200101511015610dd55760405162461bcd60e51b8152600401808060200182810382526028815260200180614b786028913960400191505060405180910390fd5b600086866000818110610de457fe5b905060200201356001600160a01b03166001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e2c57600080fd5b505afa158015610e40573d6000803e3d6000fd5b505050506040513d6020811015610e5657600080fd5b50518351909150610e7f908290339030908790600090610e7257fe5b6020026020010151613c3a565b610eba8188886000818110610e9057fe5b905060200201356001600160a01b031685600081518110610ead57fe5b6020026020010151613de3565b86866000818110610ec757fe5b905060200201356001600160a01b03166001600160a01b0316632659985084600081518110610ef257fe5b6020026020010151610f5d7f00000000000000000000000000000000000000000000000000000000000000008b8b6000818110610f2b57fe5b905060200201356001600160a01b03168c8c6001818110610f4857fe5b905060200201356001600160a01b0316613f7c565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b158015610fac57600080fd5b505af1158015610fc0573d6000803e3d6000fd5b505050506040513d6020811015610fd657600080fd5b50506040805160208881028281018201909352888252611017928692918b918b91829190850190849080828437600092019190915250309250614067915050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635dbd60598460018651038151811061105657fe5b6020026020010151306040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b1580156110ae57600080fd5b505af11580156110c2573d6000803e3d6000fd5b505050506040513d60208110156110d857600080fd5b505082516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690632e1a7d4d908590600019810190811061111d57fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561115b57600080fd5b505af115801561116f573d6000803e3d6000fd5b50505050611194858460018651038151811061118757fe5b60200260200101516138e8565b50509695505050505050565b60606111cd7f000000000000000000000000000000000000000000000000000000000000000084846142ad565b90505b92915050565b60008060006112067f00000000000000000000000000000000000000000000000000000000000000008f8f613f7c565b9050600087611215578c611219565b6000195b604080517fd505accf00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c4810188905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b1580156112a857600080fd5b505af11580156112bc573d6000803e3d6000fd5b505050506112cf8f8f8f8f8f8f8f6120e5565b809450819550505050509b509b9950505050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60608142811015611365576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b6113c37f000000000000000000000000000000000000000000000000000000000000000089888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250613aee92505050565b915086826001845103815181106113d657fe5b6020026020010151101561141b5760405162461bcd60e51b8152600401808060200182810382526028815260200180614b786028913960400191505060405180910390fd5b60008686600081811061142a57fe5b905060200201356001600160a01b03166001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561147257600080fd5b505afa158015611486573d6000803e3d6000fd5b505050506040513d602081101561149c57600080fd5b505183519091506114b8908290339030908790600090610e7257fe5b6114c98188886000818110610e9057fe5b868660008181106114d657fe5b905060200201356001600160a01b03166001600160a01b031663265998508460008151811061150157fe5b602002602001015161153a7f00000000000000000000000000000000000000000000000000000000000000008b8b6000818110610f2b57fe5b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b15801561158957600080fd5b505af115801561159d573d6000803e3d6000fd5b505050506040513d60208110156115b357600080fd5b505060408051602088810282810182019093528882526115f4928692918b918b91829190850190849080828437600092019190915250309250614067915050565b60008787600019810181811061160657fe5b905060200201356001600160a01b03169050806001600160a01b0316635dbd60598560018751038151811061163757fe5b6020026020010151886040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b15801561168f57600080fd5b505af11580156116a3573d6000803e3d6000fd5b505050506040513d60208110156116b957600080fd5b50939a9950505050505050505050565b60608142811015611721576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168686600019810181811061175b57fe5b905060200201356001600160a01b03166001600160a01b0316146117c6576040805162461bcd60e51b815260206004820152601a60248201527f537761705632526f757465723a20494e56414c49445f50415448000000000000604482015290519081900360640190fd5b6118247f0000000000000000000000000000000000000000000000000000000000000000898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506142ad92505050565b9150868260008151811061183457fe5b602002602001015111156118795760405162461bcd60e51b8152600401808060200182810382526024815260200180614bc26024913960400191505060405180910390fd5b60008686600081811061188857fe5b905060200201356001600160a01b03166001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156118d057600080fd5b505afa1580156118e4573d6000803e3d6000fd5b505050506040513d60208110156118fa57600080fd5b50518351909150611916908290339030908790600090610e7257fe5b6119278188886000818110610e9057fe5b8686600081811061193457fe5b905060200201356001600160a01b03166001600160a01b031663265998508460008151811061195f57fe5b60200260200101516119987f00000000000000000000000000000000000000000000000000000000000000008b8b6000818110610f2b57fe5b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b1580156119e757600080fd5b505af11580156119fb573d6000803e3d6000fd5b505050506040513d6020811015611a1157600080fd5b50506040805160208881028281018201909352888252611a52928692918b918b91829190850190849080828437600092019190915250309250614067915050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663de0e9a3e84600186510381518110611a9157fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b1580156110ae57600080fd5b7f000000000000000000000000000000000000000000000000000000000000000081565b60608142811015611b4b576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031686866000818110611b8257fe5b905060200201356001600160a01b03166001600160a01b031614611bed576040805162461bcd60e51b815260206004820152601a60248201527f537761705632526f757465723a20494e56414c49445f50415448000000000000604482015290519081900360640190fd5b611c4b7f000000000000000000000000000000000000000000000000000000000000000034888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250613aee92505050565b91508682600184510381518110611c5e57fe5b60200260200101511015611ca35760405162461bcd60e51b8152600401808060200182810382526028815260200180614b786028913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db083600081518110611cdf57fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b158015611d1257600080fd5b505af1158015611d26573d6000803e3d6000fd5b5050505050611d7d7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000084600081518110610ead57fe5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632659985083600081518110611db957fe5b6020026020010151611e0f7f00000000000000000000000000000000000000000000000000000000000000008a8a6000818110611df257fe5b905060200201356001600160a01b03168b8b6001818110610f4857fe5b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b158015611e5e57600080fd5b505af1158015611e72573d6000803e3d6000fd5b505050506040513d6020811015611e8857600080fd5b50506040805160208781028281018201909352878252611ec9928592918a918a91829190850190849080828437600092019190915250309250614067915050565b600086866000198101818110611edb57fe5b905060200201356001600160a01b03169050806001600160a01b0316635dbd605984600186510381518110611f0c57fe5b6020026020010151876040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b158015611f6457600080fd5b505af1158015611f78573d6000803e3d6000fd5b505050506040513d6020811015611f8e57600080fd5b509298975050505050505050565b6000610c1a8484846143e5565b60608142811015612001576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b61205f7f0000000000000000000000000000000000000000000000000000000000000000898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506142ad92505050565b9150868260008151811061206f57fe5b6020026020010151111561141b5760405162461bcd60e51b8152600401808060200182810382526024815260200180614bc26024913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610c1a8484846144d5565b600080824281101561213e576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b600061216b7f00000000000000000000000000000000000000000000000000000000000000008c8c613f7c565b604080517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b03831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b1580156121df57600080fd5b505af11580156121f3573d6000803e3d6000fd5b505050506040513d602081101561220957600080fd5b5050604080517f89afcb44000000000000000000000000000000000000000000000000000000008152306004820152815160009283926001600160a01b038616926389afcb449260248084019391929182900301818787803b15801561226e57600080fd5b505af1158015612282573d6000803e3d6000fd5b505050506040513d604081101561229857600080fd5b508051602090910151909250905060006122b28e8e614581565b509050806001600160a01b03168e6001600160a01b0316146122d55781836122d8565b82825b90975095508a87101561231c5760405162461bcd60e51b8152600401808060200182810382526023815260200180614af06023913960400191505060405180910390fd5b8986101561235b5760405162461bcd60e51b8152600401808060200182810382526023815260200180614c816023913960400191505060405180910390fd5b8d6001600160a01b0316635dbd6059888b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b1580156123bb57600080fd5b505af11580156123cf573d6000803e3d6000fd5b505050506040513d60208110156123e557600080fd5b5050604080517f5dbd6059000000000000000000000000000000000000000000000000000000008152600481018890526001600160a01b038b811660248301529151918f1691635dbd6059916044808201926020929091908290030181600087803b15801561245357600080fd5b505af1158015612467573d6000803e3d6000fd5b505050506040513d602081101561247d57600080fd5b50969e959d50949b505050505050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60606111cd7f00000000000000000000000000000000000000000000000000000000000000008484613aee565b60008060006125347f00000000000000000000000000000000000000000000000000000000000000008e7f0000000000000000000000000000000000000000000000000000000000000000613f7c565b9050600087612543578c612547565b6000195b604080517fd505accf00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c4810188905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b1580156125d657600080fd5b505af11580156125ea573d6000803e3d6000fd5b505050506125fc8e8e8e8e8e8e610a7a565b909f909e509c50505050505050505050505050565b6000806000834281101561266c576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b604080517fa7dc2d780000000000000000000000000000000000000000000000000000000081526001600160a01b038e8116600483015291516000927f0000000000000000000000000000000000000000000000000000000000000000169163a7dc2d78916024808301926020929190829003018186803b1580156126f057600080fd5b505afa158015612704573d6000803e3d6000fd5b505050506040513d602081101561271a57600080fd5b50516001600160a01b031614156127d0577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c21ab7f98d6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b1580156127a357600080fd5b505af11580156127b7573d6000803e3d6000fd5b505050506040513d60208110156127cd57600080fd5b50505b604080517fa7dc2d780000000000000000000000000000000000000000000000000000000081526001600160a01b038d8116600483015291516000927f0000000000000000000000000000000000000000000000000000000000000000169163a7dc2d78916024808301926020929190829003018186803b15801561285457600080fd5b505afa158015612868573d6000803e3d6000fd5b505050506040513d602081101561287e57600080fd5b50516001600160a01b03161415612934577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c21ab7f98c6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b15801561290757600080fd5b505af115801561291b573d6000803e3d6000fd5b505050506040513d602081101561293157600080fd5b50505b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a7dc2d788e6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156129ac57600080fd5b505afa1580156129c0573d6000803e3d6000fd5b505050506040513d60208110156129d657600080fd5b5051604080517fa7dc2d780000000000000000000000000000000000000000000000000000000081526001600160a01b038f8116600483015291519293506000927f00000000000000000000000000000000000000000000000000000000000000009092169163a7dc2d7891602480820192602092909190829003018186803b158015612a6257600080fd5b505afa158015612a76573d6000803e3d6000fd5b505050506040513d6020811015612a8c57600080fd5b50519050612a9e82828e8e8e8e61465f565b90965094506000612ad07f00000000000000000000000000000000000000000000000000000000000000008484613f7c565b9050612ade8f33308a613c3a565b612aea8e333089613c3a565b612af58f8489613de3565b612b008e8388613de3565b826001600160a01b0316632659985088836040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b158015612b6057600080fd5b505af1158015612b74573d6000803e3d6000fd5b505050506040513d6020811015612b8a57600080fd5b5050604080517f26599850000000000000000000000000000000000000000000000000000000008152600481018890526001600160a01b0383811660248301529151918416916326599850916044808201926020929091908290030181600087803b158015612bf857600080fd5b505af1158015612c0c573d6000803e3d6000fd5b505050506040513d6020811015612c2257600080fd5b5050604080517f6a6278420000000000000000000000000000000000000000000000000000000081526001600160a01b038b81166004830152915191831691636a627842916024808201926020929091908290030181600087803b158015612c8957600080fd5b505af1158015612c9d573d6000803e3d6000fd5b505050506040513d6020811015612cb357600080fd5b5051969f959e50959c50939a5050505050505050505050565b60008060008342811015612d27576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b604080517fa7dc2d780000000000000000000000000000000000000000000000000000000081526001600160a01b038c8116600483015291516000927f0000000000000000000000000000000000000000000000000000000000000000169163a7dc2d78916024808301926020929190829003018186803b158015612dab57600080fd5b505afa158015612dbf573d6000803e3d6000fd5b505050506040513d6020811015612dd557600080fd5b50516001600160a01b03161415612e8b577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c21ab7f98b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b158015612e5e57600080fd5b505af1158015612e72573d6000803e3d6000fd5b505050506040513d6020811015612e8857600080fd5b50505b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a7dc2d788c6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015612f0357600080fd5b505afa158015612f17573d6000803e3d6000fd5b505050506040513d6020811015612f2d57600080fd5b50519050612f5f817f00000000000000000000000000000000000000000000000000000000000000008c348d8d61465f565b90955093506000612fb17f0000000000000000000000000000000000000000000000000000000000000000837f0000000000000000000000000000000000000000000000000000000000000000613f7c565b9050612fbf8c333089613c3a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0866040518263ffffffff1660e01b81526004016000604051808303818588803b15801561301a57600080fd5b505af115801561302e573d6000803e3d6000fd5b505050505061303e8c8388613de3565b6130897f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000087613de3565b816001600160a01b0316632659985087836040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b1580156130e957600080fd5b505af11580156130fd573d6000803e3d6000fd5b505050506040513d602081101561311357600080fd5b5050604080517f26599850000000000000000000000000000000000000000000000000000000008152600481018790526001600160a01b03838116602483015291517f0000000000000000000000000000000000000000000000000000000000000000909216916326599850916044808201926020929091908290030181600087803b1580156131a257600080fd5b505af11580156131b6573d6000803e3d6000fd5b505050506040513d60208110156131cc57600080fd5b5050604080517f6a6278420000000000000000000000000000000000000000000000000000000081526001600160a01b038a81166004830152915191831691636a627842916024808201926020929091908290030181600087803b15801561323357600080fd5b505af1158015613247573d6000803e3d6000fd5b505050506040513d602081101561325d57600080fd5b505193503485101561327557613275338634036138e8565b50505096509650969350505050565b606081428110156132dc576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168686600081811061331357fe5b905060200201356001600160a01b03166001600160a01b03161461337e576040805162461bcd60e51b815260206004820152601a60248201527f537761705632526f757465723a20494e56414c49445f50415448000000000000604482015290519081900360640190fd5b6133dc7f0000000000000000000000000000000000000000000000000000000000000000888888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506142ad92505050565b915034826000815181106133ec57fe5b602002602001015111156134315760405162461bcd60e51b8152600401808060200182810382526024815260200180614bc26024913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db08360008151811061346d57fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b1580156134a057600080fd5b505af11580156134b4573d6000803e3d6000fd5b505050505061350b7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000084600081518110610ead57fe5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663265998508360008151811061354757fe5b60200260200101516135807f00000000000000000000000000000000000000000000000000000000000000008a8a6000818110611df257fe5b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b1580156135cf57600080fd5b505af11580156135e3573d6000803e3d6000fd5b505050506040513d60208110156135f957600080fd5b5050604080516020878102828101820190935287825261363a928592918a918a91829190850190849080828437600092019190915250309250614067915050565b60008686600019810181811061364c57fe5b905060200201356001600160a01b03169050806001600160a01b0316635dbd60598460018651038151811061367d57fe5b6020026020010151876040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b1580156136d557600080fd5b505af11580156136e9573d6000803e3d6000fd5b505050506040513d60208110156136ff57600080fd5b50508251839060009061370e57fe5b602002602001015134111561373d5761373d338460008151811061372e57fe5b602002602001015134036138e8565b505095945050505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b6020831061381157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016137d4565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613873576040519150601f19603f3d011682016040523d82523d6000602084013e613878565b606091505b50915091508180156138a65750805115806138a657508080602001905160208110156138a357600080fd5b50515b6138e15760405162461bcd60e51b815260040180806020018281038252602d815260200180614ccc602d913960400191505060405180910390fd5b5050505050565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b6020831061395257805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613915565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146139b4576040519150601f19603f3d011682016040523d82523d6000602084013e6139b9565b606091505b50509050806139f95760405162461bcd60e51b8152600401808060200182810382526034815260200180614b446034913960400191505060405180910390fd5b505050565b6000808411613a3e5760405162461bcd60e51b8152600401808060200182810382526028815260200180614ca46028913960400191505060405180910390fd5b600083118015613a4e5750600082115b613a895760405162461bcd60e51b8152600401808060200182810382526025815260200180614c086025913960400191505060405180910390fd5b6000613a9d856103e563ffffffff61490516565b90506000613ab1828563ffffffff61490516565b90506000613ad783613acb886103e863ffffffff61490516565b9063ffffffff61497116565b9050808281613ae257fe5b04979650505050505050565b6060600282511015613b47576040805162461bcd60e51b815260206004820152601b60248201527f5377617056324c6962726172793a20494e56414c49445f504154480000000000604482015290519081900360640190fd5b815167ffffffffffffffff81118015613b5f57600080fd5b50604051908082528060200260200182016040528015613b89578160200160208202803683370190505b5090508281600081518110613b9a57fe5b60200260200101818152505060005b6001835103811015613c3257600080613bec87868581518110613bc857fe5b6020026020010151878660010181518110613bdf57fe5b60200260200101516149c9565b91509150613c0e848481518110613bff57fe5b602002602001015183836139fe565b848460010181518110613c1d57fe5b60209081029190910101525050600101613ba9565b509392505050565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b60208310613d0b57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613cce565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613d6d576040519150601f19603f3d011682016040523d82523d6000602084013e613d72565b606091505b5091509150818015613da0575080511580613da05750808060200190516020811015613d9d57600080fd5b50515b613ddb5760405162461bcd60e51b8152600401808060200182810382526031815260200180614b136031913960400191505060405180910390fd5b505050505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b300000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b60208310613eac57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613e6f565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613f0e576040519150601f19603f3d011682016040523d82523d6000602084013e613f13565b606091505b5091509150818015613f41575080511580613f415750808060200190516020811015613f3e57600080fd5b50515b6138e15760405162461bcd60e51b815260040180806020018281038252602b815260200180614c56602b913960400191505060405180910390fd5b6000806000613f8b8585614581565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529a90941b9093166069840152607d8301989098527fa7ae6a5ec37f0c21bbdac560794258c4089b8ae3ffa6e3909b53c6091764a676609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b60005b60018351038110156142a75760008084838151811061408557fe5b602002602001015185846001018151811061409c57fe5b60200260200101519150915060006140b48383614581565b50905060008785600101815181106140c857fe5b60200260200101519050600080836001600160a01b0316866001600160a01b0316146140f6578260006140fa565b6000835b91509150600060028a510388106141115788614152565b6141527f0000000000000000000000000000000000000000000000000000000000000000878c8b6002018151811061414557fe5b6020026020010151613f7c565b905061417f7f00000000000000000000000000000000000000000000000000000000000000008888613f7c565b6001600160a01b031663022c0d9f84848460006040519080825280601f01601f1916602001820160405280156141bc576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b03166001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561422d578181015183820152602001614215565b50505050905090810190601f16801561425a5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561427c57600080fd5b505af1158015614290573d6000803e3d6000fd5b50506001909901985061406a975050505050505050565b50505050565b6060600282511015614306576040805162461bcd60e51b815260206004820152601b60248201527f5377617056324c6962726172793a20494e56414c49445f504154480000000000604482015290519081900360640190fd5b815167ffffffffffffffff8111801561431e57600080fd5b50604051908082528060200260200182016040528015614348578160200160208202803683370190505b509050828160018351038151811061435c57fe5b60209081029190910101528151600019015b8015613c325760008061439e8786600186038151811061438a57fe5b6020026020010151878681518110613bdf57fe5b915091506143c08484815181106143b157fe5b602002602001015183836143e5565b8460018503815181106143cf57fe5b602090810291909101015250506000190161436e565b60008084116144255760405162461bcd60e51b8152600401808060200182810382526029815260200180614c2d6029913960400191505060405180910390fd5b6000831180156144355750600082115b6144705760405162461bcd60e51b8152600401808060200182810382526025815260200180614c086025913960400191505060405180910390fd5b60006144946103e8614488868863ffffffff61490516565b9063ffffffff61490516565b905060006144ae6103e5614488868963ffffffff614a9716565b90506144cb60018284816144be57fe5b049063ffffffff61497116565b9695505050505050565b60008084116145155760405162461bcd60e51b8152600401808060200182810382526022815260200180614be66022913960400191505060405180910390fd5b6000831180156145255750600082115b6145605760405162461bcd60e51b8152600401808060200182810382526025815260200180614c086025913960400191505060405180910390fd5b82614571858463ffffffff61490516565b8161457857fe5b04949350505050565b600080826001600160a01b0316846001600160a01b031614156145d55760405162461bcd60e51b8152600401808060200182810382526022815260200180614ba06022913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b0316106145f55782846145f8565b83835b90925090506001600160a01b038216614658576040805162461bcd60e51b815260206004820152601b60248201527f5377617056324c6962726172793a205a45524f5f414444524553530000000000604482015290519081900360640190fd5b9250929050565b604080517fe6a439050000000000000000000000000000000000000000000000000000000081526001600160a01b03888116600483015287811660248301529151600092839283927f00000000000000000000000000000000000000000000000000000000000000009092169163e6a4390591604480820192602092909190829003018186803b1580156146f257600080fd5b505afa158015614706573d6000803e3d6000fd5b505050506040513d602081101561471c57600080fd5b50516001600160a01b031614156147e857604080517fc9c653960000000000000000000000000000000000000000000000000000000081526001600160a01b038a81166004830152898116602483015291517f00000000000000000000000000000000000000000000000000000000000000009092169163c9c65396916044808201926020929091908290030181600087803b1580156147bb57600080fd5b505af11580156147cf573d6000803e3d6000fd5b505050506040513d60208110156147e557600080fd5b50505b6000806148167f00000000000000000000000000000000000000000000000000000000000000008b8b6149c9565b91509150816000148015614828575080155b15614838578793508692506148f8565b60006148458984846144d5565b9050878111614898578581101561488d5760405162461bcd60e51b8152600401808060200182810382526023815260200180614c816023913960400191505060405180910390fd5b8894509250826148f6565b60006148a58984866144d5565b9050898111156148b157fe5b878110156148f05760405162461bcd60e51b8152600401808060200182810382526023815260200180614af06023913960400191505060405180910390fd5b94508793505b505b5050965096945050505050565b60008115806149205750508082028282828161491d57fe5b04145b6111d0576040805162461bcd60e51b815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b808201828110156111d0576040805162461bcd60e51b815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b60008060006149d88585614581565b5090506000806149e9888888613f7c565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015614a2157600080fd5b505afa158015614a35573d6000803e3d6000fd5b505050506040513d6060811015614a4b57600080fd5b5080516020909101516dffffffffffffffffffffffffffff91821693501690506001600160a01b0387811690841614614a85578082614a88565b81815b90999098509650505050505050565b808203828111156111d0576040805162461bcd60e51b815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fdfe537761705632526f757465723a20494e53554646494349454e545f415f414d4f554e545472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c65645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c6564537761705632526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e545377617056324c6962726172793a204944454e544943414c5f414444524553534553537761705632526f757465723a204558434553534956455f494e5055545f414d4f554e545377617056324c6962726172793a20494e53554646494349454e545f414d4f554e545377617056324c6962726172793a20494e53554646494349454e545f4c49515549444954595377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e545472616e7366657248656c7065723a3a73616665417070726f76653a20617070726f7665206661696c6564537761705632526f757465723a20494e53554646494349454e545f425f414d4f554e545377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e545472616e7366657248656c7065723a3a736166655472616e736665723a207472616e73666572206661696c6564a2646970667358221220324c9998d1ba38e1b4687e011754d9d2b09c139b9560b1f66164f8dc8bbaef2364736f6c63430006060033000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed06416000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000007d86394139bf1122e82fdf45bb4e3b038a4464dd000000000000000000000000a250cc729bb3323e7933022a67b52200fe354767

Deployed Bytecode

0x60806040526004361061016e5760003560e01c806385f8c259116100cb578063c45a01551161007f578063e8e3370011610059578063e8e337001461092e578063f305d719146109ae578063fb3bdb41146109f4576101a7565b8063c45a0155146107ef578063d06ca61f14610804578063ded9382a146108bb576101a7565b8063ad5c4648116100b0578063ad5c464814610747578063ad615dec1461075c578063baa2abde14610792576101a7565b806385f8c259146106795780638803dbee146106af576101a7565b8063293ba4df116101225780634a25d94a116101075780634a25d94a146105465780637b9e6af4146105de5780637ff36ab5146105f3576101a7565b8063293ba4df1461047d57806338ed1739146104ae576101a7565b806318cbafe51161015357806318cbafe5146102605780631f00ca74146103485780632195995c146103ff576101a7565b806302751cec146101ac578063054d50d414610218576101a7565b366101a757336001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216146101a557fe5b005b600080fd5b3480156101b857600080fd5b506101ff600480360360c08110156101cf57600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a00135610a7a565b6040805192835260208301919091528051918290030190f35b34801561022457600080fd5b5061024e6004803603606081101561023b57600080fd5b5080359060208101359060400135610c0d565b60408051918252519081900360200190f35b34801561026c57600080fd5b506102f8600480360360a081101561028357600080fd5b8135916020810135918101906060810160408201356401000000008111156102aa57600080fd5b8201836020820111156102bc57600080fd5b803590602001918460208302840111640100000000831117156102de57600080fd5b91935091506001600160a01b038135169060200135610c22565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561033457818101518382015260200161031c565b505050509050019250505060405180910390f35b34801561035457600080fd5b506102f86004803603604081101561036b57600080fd5b8135919081019060408101602082013564010000000081111561038d57600080fd5b82018360208201111561039f57600080fd5b803590602001918460208302840111640100000000831117156103c157600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506111a0945050505050565b34801561040b57600080fd5b506101ff600480360361016081101561042357600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359091169060c08101359060e081013515159060ff61010082013516906101208101359061014001356111d6565b34801561048957600080fd5b506104926112e9565b604080516001600160a01b039092168252519081900360200190f35b3480156104ba57600080fd5b506102f8600480360360a08110156104d157600080fd5b8135916020810135918101906060810160408201356401000000008111156104f857600080fd5b82018360208201111561050a57600080fd5b8035906020019184602083028401116401000000008311171561052c57600080fd5b91935091506001600160a01b03813516906020013561130d565b34801561055257600080fd5b506102f8600480360360a081101561056957600080fd5b81359160208101359181019060608101604082013564010000000081111561059057600080fd5b8201836020820111156105a257600080fd5b803590602001918460208302840111640100000000831117156105c457600080fd5b91935091506001600160a01b0381351690602001356116c9565b3480156105ea57600080fd5b50610492611acf565b6102f86004803603608081101561060957600080fd5b8135919081019060408101602082013564010000000081111561062b57600080fd5b82018360208201111561063d57600080fd5b8035906020019184602083028401116401000000008311171561065f57600080fd5b91935091506001600160a01b038135169060200135611af3565b34801561068557600080fd5b5061024e6004803603606081101561069c57600080fd5b5080359060208101359060400135611f9c565b3480156106bb57600080fd5b506102f8600480360360a08110156106d257600080fd5b8135916020810135918101906060810160408201356401000000008111156106f957600080fd5b82018360208201111561070b57600080fd5b8035906020019184602083028401116401000000008311171561072d57600080fd5b91935091506001600160a01b038135169060200135611fa9565b34801561075357600080fd5b506104926120b4565b34801561076857600080fd5b5061024e6004803603606081101561077f57600080fd5b50803590602081013590604001356120d8565b34801561079e57600080fd5b506101ff600480360360e08110156107b557600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359091169060c001356120e5565b3480156107fb57600080fd5b50610492612493565b34801561081057600080fd5b506102f86004803603604081101561082757600080fd5b8135919081019060408101602082013564010000000081111561084957600080fd5b82018360208201111561085b57600080fd5b8035906020019184602083028401116401000000008311171561087d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506124b7945050505050565b3480156108c757600080fd5b506101ff60048036036101408110156108df57600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e082013516906101008101359061012001356124e4565b34801561093a57600080fd5b50610990600480360361010081101561095257600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359160c0820135169060e00135612611565b60408051938452602084019290925282820152519081900360600190f35b610990600480360360c08110156109c457600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a00135612ccc565b6102f860048036036080811015610a0a57600080fd5b81359190810190604081016020820135640100000000811115610a2c57600080fd5b820183602082011115610a3e57600080fd5b80359060200191846020830284011164010000000083111715610a6057600080fd5b91935091506001600160a01b038135169060200135613284565b6000808242811015610ad3576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b610b02897f000000000000000000000000a250cc729bb3323e7933022a67b52200fe3547678a8a8a308a6120e5565b8093508194505050610b79896001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b4657600080fd5b505afa158015610b5a573d6000803e3d6000fd5b505050506040513d6020811015610b7057600080fd5b50518685613748565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610bdf57600080fd5b505af1158015610bf3573d6000803e3d6000fd5b50505050610c0185836138e8565b50965096945050505050565b6000610c1a8484846139fe565b949350505050565b60608142811015610c7a576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b6001600160a01b037f000000000000000000000000a250cc729bb3323e7933022a67b52200fe3547671686866000198101818110610cb457fe5b905060200201356001600160a01b03166001600160a01b031614610d1f576040805162461bcd60e51b815260206004820152601a60248201527f537761705632526f757465723a20494e56414c49445f50415448000000000000604482015290519081900360640190fd5b610d7d7f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed0641689888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250613aee92505050565b91508682600184510381518110610d9057fe5b60200260200101511015610dd55760405162461bcd60e51b8152600401808060200182810382526028815260200180614b786028913960400191505060405180910390fd5b600086866000818110610de457fe5b905060200201356001600160a01b03166001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e2c57600080fd5b505afa158015610e40573d6000803e3d6000fd5b505050506040513d6020811015610e5657600080fd5b50518351909150610e7f908290339030908790600090610e7257fe5b6020026020010151613c3a565b610eba8188886000818110610e9057fe5b905060200201356001600160a01b031685600081518110610ead57fe5b6020026020010151613de3565b86866000818110610ec757fe5b905060200201356001600160a01b03166001600160a01b0316632659985084600081518110610ef257fe5b6020026020010151610f5d7f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed064168b8b6000818110610f2b57fe5b905060200201356001600160a01b03168c8c6001818110610f4857fe5b905060200201356001600160a01b0316613f7c565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b158015610fac57600080fd5b505af1158015610fc0573d6000803e3d6000fd5b505050506040513d6020811015610fd657600080fd5b50506040805160208881028281018201909352888252611017928692918b918b91829190850190849080828437600092019190915250309250614067915050565b7f000000000000000000000000a250cc729bb3323e7933022a67b52200fe3547676001600160a01b0316635dbd60598460018651038151811061105657fe5b6020026020010151306040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b1580156110ae57600080fd5b505af11580156110c2573d6000803e3d6000fd5b505050506040513d60208110156110d857600080fd5b505082516001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21690632e1a7d4d908590600019810190811061111d57fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561115b57600080fd5b505af115801561116f573d6000803e3d6000fd5b50505050611194858460018651038151811061118757fe5b60200260200101516138e8565b50509695505050505050565b60606111cd7f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed0641684846142ad565b90505b92915050565b60008060006112067f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed064168f8f613f7c565b9050600087611215578c611219565b6000195b604080517fd505accf00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c4810188905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b1580156112a857600080fd5b505af11580156112bc573d6000803e3d6000fd5b505050506112cf8f8f8f8f8f8f8f6120e5565b809450819550505050509b509b9950505050505050505050565b7f0000000000000000000000007d86394139bf1122e82fdf45bb4e3b038a4464dd81565b60608142811015611365576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b6113c37f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed0641689888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250613aee92505050565b915086826001845103815181106113d657fe5b6020026020010151101561141b5760405162461bcd60e51b8152600401808060200182810382526028815260200180614b786028913960400191505060405180910390fd5b60008686600081811061142a57fe5b905060200201356001600160a01b03166001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561147257600080fd5b505afa158015611486573d6000803e3d6000fd5b505050506040513d602081101561149c57600080fd5b505183519091506114b8908290339030908790600090610e7257fe5b6114c98188886000818110610e9057fe5b868660008181106114d657fe5b905060200201356001600160a01b03166001600160a01b031663265998508460008151811061150157fe5b602002602001015161153a7f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed064168b8b6000818110610f2b57fe5b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b15801561158957600080fd5b505af115801561159d573d6000803e3d6000fd5b505050506040513d60208110156115b357600080fd5b505060408051602088810282810182019093528882526115f4928692918b918b91829190850190849080828437600092019190915250309250614067915050565b60008787600019810181811061160657fe5b905060200201356001600160a01b03169050806001600160a01b0316635dbd60598560018751038151811061163757fe5b6020026020010151886040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b15801561168f57600080fd5b505af11580156116a3573d6000803e3d6000fd5b505050506040513d60208110156116b957600080fd5b50939a9950505050505050505050565b60608142811015611721576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b6001600160a01b037f000000000000000000000000a250cc729bb3323e7933022a67b52200fe354767168686600019810181811061175b57fe5b905060200201356001600160a01b03166001600160a01b0316146117c6576040805162461bcd60e51b815260206004820152601a60248201527f537761705632526f757465723a20494e56414c49445f50415448000000000000604482015290519081900360640190fd5b6118247f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed06416898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506142ad92505050565b9150868260008151811061183457fe5b602002602001015111156118795760405162461bcd60e51b8152600401808060200182810382526024815260200180614bc26024913960400191505060405180910390fd5b60008686600081811061188857fe5b905060200201356001600160a01b03166001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156118d057600080fd5b505afa1580156118e4573d6000803e3d6000fd5b505050506040513d60208110156118fa57600080fd5b50518351909150611916908290339030908790600090610e7257fe5b6119278188886000818110610e9057fe5b8686600081811061193457fe5b905060200201356001600160a01b03166001600160a01b031663265998508460008151811061195f57fe5b60200260200101516119987f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed064168b8b6000818110610f2b57fe5b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b1580156119e757600080fd5b505af11580156119fb573d6000803e3d6000fd5b505050506040513d6020811015611a1157600080fd5b50506040805160208881028281018201909352888252611a52928692918b918b91829190850190849080828437600092019190915250309250614067915050565b7f000000000000000000000000a250cc729bb3323e7933022a67b52200fe3547676001600160a01b031663de0e9a3e84600186510381518110611a9157fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b1580156110ae57600080fd5b7f000000000000000000000000a250cc729bb3323e7933022a67b52200fe35476781565b60608142811015611b4b576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000a250cc729bb3323e7933022a67b52200fe3547676001600160a01b031686866000818110611b8257fe5b905060200201356001600160a01b03166001600160a01b031614611bed576040805162461bcd60e51b815260206004820152601a60248201527f537761705632526f757465723a20494e56414c49445f50415448000000000000604482015290519081900360640190fd5b611c4b7f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed0641634888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250613aee92505050565b91508682600184510381518110611c5e57fe5b60200260200101511015611ca35760405162461bcd60e51b8152600401808060200182810382526028815260200180614b786028913960400191505060405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db083600081518110611cdf57fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b158015611d1257600080fd5b505af1158015611d26573d6000803e3d6000fd5b5050505050611d7d7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc27f000000000000000000000000a250cc729bb3323e7933022a67b52200fe35476784600081518110610ead57fe5b7f000000000000000000000000a250cc729bb3323e7933022a67b52200fe3547676001600160a01b0316632659985083600081518110611db957fe5b6020026020010151611e0f7f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed064168a8a6000818110611df257fe5b905060200201356001600160a01b03168b8b6001818110610f4857fe5b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b158015611e5e57600080fd5b505af1158015611e72573d6000803e3d6000fd5b505050506040513d6020811015611e8857600080fd5b50506040805160208781028281018201909352878252611ec9928592918a918a91829190850190849080828437600092019190915250309250614067915050565b600086866000198101818110611edb57fe5b905060200201356001600160a01b03169050806001600160a01b0316635dbd605984600186510381518110611f0c57fe5b6020026020010151876040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b158015611f6457600080fd5b505af1158015611f78573d6000803e3d6000fd5b505050506040513d6020811015611f8e57600080fd5b509298975050505050505050565b6000610c1a8484846143e5565b60608142811015612001576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b61205f7f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed06416898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506142ad92505050565b9150868260008151811061206f57fe5b6020026020010151111561141b5760405162461bcd60e51b8152600401808060200182810382526024815260200180614bc26024913960400191505060405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000610c1a8484846144d5565b600080824281101561213e576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b600061216b7f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed064168c8c613f7c565b604080517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b03831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b1580156121df57600080fd5b505af11580156121f3573d6000803e3d6000fd5b505050506040513d602081101561220957600080fd5b5050604080517f89afcb44000000000000000000000000000000000000000000000000000000008152306004820152815160009283926001600160a01b038616926389afcb449260248084019391929182900301818787803b15801561226e57600080fd5b505af1158015612282573d6000803e3d6000fd5b505050506040513d604081101561229857600080fd5b508051602090910151909250905060006122b28e8e614581565b509050806001600160a01b03168e6001600160a01b0316146122d55781836122d8565b82825b90975095508a87101561231c5760405162461bcd60e51b8152600401808060200182810382526023815260200180614af06023913960400191505060405180910390fd5b8986101561235b5760405162461bcd60e51b8152600401808060200182810382526023815260200180614c816023913960400191505060405180910390fd5b8d6001600160a01b0316635dbd6059888b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b1580156123bb57600080fd5b505af11580156123cf573d6000803e3d6000fd5b505050506040513d60208110156123e557600080fd5b5050604080517f5dbd6059000000000000000000000000000000000000000000000000000000008152600481018890526001600160a01b038b811660248301529151918f1691635dbd6059916044808201926020929091908290030181600087803b15801561245357600080fd5b505af1158015612467573d6000803e3d6000fd5b505050506040513d602081101561247d57600080fd5b50969e959d50949b505050505050505050505050565b7f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed0641681565b60606111cd7f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed064168484613aee565b60008060006125347f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed064168e7f000000000000000000000000a250cc729bb3323e7933022a67b52200fe354767613f7c565b9050600087612543578c612547565b6000195b604080517fd505accf00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c4810188905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b1580156125d657600080fd5b505af11580156125ea573d6000803e3d6000fd5b505050506125fc8e8e8e8e8e8e610a7a565b909f909e509c50505050505050505050505050565b6000806000834281101561266c576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b604080517fa7dc2d780000000000000000000000000000000000000000000000000000000081526001600160a01b038e8116600483015291516000927f0000000000000000000000007d86394139bf1122e82fdf45bb4e3b038a4464dd169163a7dc2d78916024808301926020929190829003018186803b1580156126f057600080fd5b505afa158015612704573d6000803e3d6000fd5b505050506040513d602081101561271a57600080fd5b50516001600160a01b031614156127d0577f0000000000000000000000007d86394139bf1122e82fdf45bb4e3b038a4464dd6001600160a01b031663c21ab7f98d6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b1580156127a357600080fd5b505af11580156127b7573d6000803e3d6000fd5b505050506040513d60208110156127cd57600080fd5b50505b604080517fa7dc2d780000000000000000000000000000000000000000000000000000000081526001600160a01b038d8116600483015291516000927f0000000000000000000000007d86394139bf1122e82fdf45bb4e3b038a4464dd169163a7dc2d78916024808301926020929190829003018186803b15801561285457600080fd5b505afa158015612868573d6000803e3d6000fd5b505050506040513d602081101561287e57600080fd5b50516001600160a01b03161415612934577f0000000000000000000000007d86394139bf1122e82fdf45bb4e3b038a4464dd6001600160a01b031663c21ab7f98c6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b15801561290757600080fd5b505af115801561291b573d6000803e3d6000fd5b505050506040513d602081101561293157600080fd5b50505b60007f0000000000000000000000007d86394139bf1122e82fdf45bb4e3b038a4464dd6001600160a01b031663a7dc2d788e6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156129ac57600080fd5b505afa1580156129c0573d6000803e3d6000fd5b505050506040513d60208110156129d657600080fd5b5051604080517fa7dc2d780000000000000000000000000000000000000000000000000000000081526001600160a01b038f8116600483015291519293506000927f0000000000000000000000007d86394139bf1122e82fdf45bb4e3b038a4464dd9092169163a7dc2d7891602480820192602092909190829003018186803b158015612a6257600080fd5b505afa158015612a76573d6000803e3d6000fd5b505050506040513d6020811015612a8c57600080fd5b50519050612a9e82828e8e8e8e61465f565b90965094506000612ad07f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed064168484613f7c565b9050612ade8f33308a613c3a565b612aea8e333089613c3a565b612af58f8489613de3565b612b008e8388613de3565b826001600160a01b0316632659985088836040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b158015612b6057600080fd5b505af1158015612b74573d6000803e3d6000fd5b505050506040513d6020811015612b8a57600080fd5b5050604080517f26599850000000000000000000000000000000000000000000000000000000008152600481018890526001600160a01b0383811660248301529151918416916326599850916044808201926020929091908290030181600087803b158015612bf857600080fd5b505af1158015612c0c573d6000803e3d6000fd5b505050506040513d6020811015612c2257600080fd5b5050604080517f6a6278420000000000000000000000000000000000000000000000000000000081526001600160a01b038b81166004830152915191831691636a627842916024808201926020929091908290030181600087803b158015612c8957600080fd5b505af1158015612c9d573d6000803e3d6000fd5b505050506040513d6020811015612cb357600080fd5b5051969f959e50959c50939a5050505050505050505050565b60008060008342811015612d27576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b604080517fa7dc2d780000000000000000000000000000000000000000000000000000000081526001600160a01b038c8116600483015291516000927f0000000000000000000000007d86394139bf1122e82fdf45bb4e3b038a4464dd169163a7dc2d78916024808301926020929190829003018186803b158015612dab57600080fd5b505afa158015612dbf573d6000803e3d6000fd5b505050506040513d6020811015612dd557600080fd5b50516001600160a01b03161415612e8b577f0000000000000000000000007d86394139bf1122e82fdf45bb4e3b038a4464dd6001600160a01b031663c21ab7f98b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b158015612e5e57600080fd5b505af1158015612e72573d6000803e3d6000fd5b505050506040513d6020811015612e8857600080fd5b50505b60007f0000000000000000000000007d86394139bf1122e82fdf45bb4e3b038a4464dd6001600160a01b031663a7dc2d788c6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015612f0357600080fd5b505afa158015612f17573d6000803e3d6000fd5b505050506040513d6020811015612f2d57600080fd5b50519050612f5f817f000000000000000000000000a250cc729bb3323e7933022a67b52200fe3547678c348d8d61465f565b90955093506000612fb17f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed06416837f000000000000000000000000a250cc729bb3323e7933022a67b52200fe354767613f7c565b9050612fbf8c333089613c3a565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0866040518263ffffffff1660e01b81526004016000604051808303818588803b15801561301a57600080fd5b505af115801561302e573d6000803e3d6000fd5b505050505061303e8c8388613de3565b6130897f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc27f000000000000000000000000a250cc729bb3323e7933022a67b52200fe35476787613de3565b816001600160a01b0316632659985087836040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b1580156130e957600080fd5b505af11580156130fd573d6000803e3d6000fd5b505050506040513d602081101561311357600080fd5b5050604080517f26599850000000000000000000000000000000000000000000000000000000008152600481018790526001600160a01b03838116602483015291517f000000000000000000000000a250cc729bb3323e7933022a67b52200fe354767909216916326599850916044808201926020929091908290030181600087803b1580156131a257600080fd5b505af11580156131b6573d6000803e3d6000fd5b505050506040513d60208110156131cc57600080fd5b5050604080517f6a6278420000000000000000000000000000000000000000000000000000000081526001600160a01b038a81166004830152915191831691636a627842916024808201926020929091908290030181600087803b15801561323357600080fd5b505af1158015613247573d6000803e3d6000fd5b505050506040513d602081101561325d57600080fd5b505193503485101561327557613275338634036138e8565b50505096509650969350505050565b606081428110156132dc576040805162461bcd60e51b815260206004820152601560248201527f537761705632526f757465723a20455850495245440000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000a250cc729bb3323e7933022a67b52200fe3547676001600160a01b03168686600081811061331357fe5b905060200201356001600160a01b03166001600160a01b03161461337e576040805162461bcd60e51b815260206004820152601a60248201527f537761705632526f757465723a20494e56414c49445f50415448000000000000604482015290519081900360640190fd5b6133dc7f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed06416888888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506142ad92505050565b915034826000815181106133ec57fe5b602002602001015111156134315760405162461bcd60e51b8152600401808060200182810382526024815260200180614bc26024913960400191505060405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db08360008151811061346d57fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b1580156134a057600080fd5b505af11580156134b4573d6000803e3d6000fd5b505050505061350b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc27f000000000000000000000000a250cc729bb3323e7933022a67b52200fe35476784600081518110610ead57fe5b7f000000000000000000000000a250cc729bb3323e7933022a67b52200fe3547676001600160a01b031663265998508360008151811061354757fe5b60200260200101516135807f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed064168a8a6000818110611df257fe5b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b1580156135cf57600080fd5b505af11580156135e3573d6000803e3d6000fd5b505050506040513d60208110156135f957600080fd5b5050604080516020878102828101820190935287825261363a928592918a918a91829190850190849080828437600092019190915250309250614067915050565b60008686600019810181811061364c57fe5b905060200201356001600160a01b03169050806001600160a01b0316635dbd60598460018651038151811061367d57fe5b6020026020010151876040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b0316815260200192505050602060405180830381600087803b1580156136d557600080fd5b505af11580156136e9573d6000803e3d6000fd5b505050506040513d60208110156136ff57600080fd5b50508251839060009061370e57fe5b602002602001015134111561373d5761373d338460008151811061372e57fe5b602002602001015134036138e8565b505095945050505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b6020831061381157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016137d4565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613873576040519150601f19603f3d011682016040523d82523d6000602084013e613878565b606091505b50915091508180156138a65750805115806138a657508080602001905160208110156138a357600080fd5b50515b6138e15760405162461bcd60e51b815260040180806020018281038252602d815260200180614ccc602d913960400191505060405180910390fd5b5050505050565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b6020831061395257805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613915565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146139b4576040519150601f19603f3d011682016040523d82523d6000602084013e6139b9565b606091505b50509050806139f95760405162461bcd60e51b8152600401808060200182810382526034815260200180614b446034913960400191505060405180910390fd5b505050565b6000808411613a3e5760405162461bcd60e51b8152600401808060200182810382526028815260200180614ca46028913960400191505060405180910390fd5b600083118015613a4e5750600082115b613a895760405162461bcd60e51b8152600401808060200182810382526025815260200180614c086025913960400191505060405180910390fd5b6000613a9d856103e563ffffffff61490516565b90506000613ab1828563ffffffff61490516565b90506000613ad783613acb886103e863ffffffff61490516565b9063ffffffff61497116565b9050808281613ae257fe5b04979650505050505050565b6060600282511015613b47576040805162461bcd60e51b815260206004820152601b60248201527f5377617056324c6962726172793a20494e56414c49445f504154480000000000604482015290519081900360640190fd5b815167ffffffffffffffff81118015613b5f57600080fd5b50604051908082528060200260200182016040528015613b89578160200160208202803683370190505b5090508281600081518110613b9a57fe5b60200260200101818152505060005b6001835103811015613c3257600080613bec87868581518110613bc857fe5b6020026020010151878660010181518110613bdf57fe5b60200260200101516149c9565b91509150613c0e848481518110613bff57fe5b602002602001015183836139fe565b848460010181518110613c1d57fe5b60209081029190910101525050600101613ba9565b509392505050565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b60208310613d0b57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613cce565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613d6d576040519150601f19603f3d011682016040523d82523d6000602084013e613d72565b606091505b5091509150818015613da0575080511580613da05750808060200190516020811015613d9d57600080fd5b50515b613ddb5760405162461bcd60e51b8152600401808060200182810382526031815260200180614b136031913960400191505060405180910390fd5b505050505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b300000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b60208310613eac57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613e6f565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613f0e576040519150601f19603f3d011682016040523d82523d6000602084013e613f13565b606091505b5091509150818015613f41575080511580613f415750808060200190516020811015613f3e57600080fd5b50515b6138e15760405162461bcd60e51b815260040180806020018281038252602b815260200180614c56602b913960400191505060405180910390fd5b6000806000613f8b8585614581565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529a90941b9093166069840152607d8301989098527fa7ae6a5ec37f0c21bbdac560794258c4089b8ae3ffa6e3909b53c6091764a676609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b60005b60018351038110156142a75760008084838151811061408557fe5b602002602001015185846001018151811061409c57fe5b60200260200101519150915060006140b48383614581565b50905060008785600101815181106140c857fe5b60200260200101519050600080836001600160a01b0316866001600160a01b0316146140f6578260006140fa565b6000835b91509150600060028a510388106141115788614152565b6141527f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed06416878c8b6002018151811061414557fe5b6020026020010151613f7c565b905061417f7f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed064168888613f7c565b6001600160a01b031663022c0d9f84848460006040519080825280601f01601f1916602001820160405280156141bc576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b03166001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561422d578181015183820152602001614215565b50505050905090810190601f16801561425a5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561427c57600080fd5b505af1158015614290573d6000803e3d6000fd5b50506001909901985061406a975050505050505050565b50505050565b6060600282511015614306576040805162461bcd60e51b815260206004820152601b60248201527f5377617056324c6962726172793a20494e56414c49445f504154480000000000604482015290519081900360640190fd5b815167ffffffffffffffff8111801561431e57600080fd5b50604051908082528060200260200182016040528015614348578160200160208202803683370190505b509050828160018351038151811061435c57fe5b60209081029190910101528151600019015b8015613c325760008061439e8786600186038151811061438a57fe5b6020026020010151878681518110613bdf57fe5b915091506143c08484815181106143b157fe5b602002602001015183836143e5565b8460018503815181106143cf57fe5b602090810291909101015250506000190161436e565b60008084116144255760405162461bcd60e51b8152600401808060200182810382526029815260200180614c2d6029913960400191505060405180910390fd5b6000831180156144355750600082115b6144705760405162461bcd60e51b8152600401808060200182810382526025815260200180614c086025913960400191505060405180910390fd5b60006144946103e8614488868863ffffffff61490516565b9063ffffffff61490516565b905060006144ae6103e5614488868963ffffffff614a9716565b90506144cb60018284816144be57fe5b049063ffffffff61497116565b9695505050505050565b60008084116145155760405162461bcd60e51b8152600401808060200182810382526022815260200180614be66022913960400191505060405180910390fd5b6000831180156145255750600082115b6145605760405162461bcd60e51b8152600401808060200182810382526025815260200180614c086025913960400191505060405180910390fd5b82614571858463ffffffff61490516565b8161457857fe5b04949350505050565b600080826001600160a01b0316846001600160a01b031614156145d55760405162461bcd60e51b8152600401808060200182810382526022815260200180614ba06022913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b0316106145f55782846145f8565b83835b90925090506001600160a01b038216614658576040805162461bcd60e51b815260206004820152601b60248201527f5377617056324c6962726172793a205a45524f5f414444524553530000000000604482015290519081900360640190fd5b9250929050565b604080517fe6a439050000000000000000000000000000000000000000000000000000000081526001600160a01b03888116600483015287811660248301529151600092839283927f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed064169092169163e6a4390591604480820192602092909190829003018186803b1580156146f257600080fd5b505afa158015614706573d6000803e3d6000fd5b505050506040513d602081101561471c57600080fd5b50516001600160a01b031614156147e857604080517fc9c653960000000000000000000000000000000000000000000000000000000081526001600160a01b038a81166004830152898116602483015291517f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed064169092169163c9c65396916044808201926020929091908290030181600087803b1580156147bb57600080fd5b505af11580156147cf573d6000803e3d6000fd5b505050506040513d60208110156147e557600080fd5b50505b6000806148167f000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed064168b8b6149c9565b91509150816000148015614828575080155b15614838578793508692506148f8565b60006148458984846144d5565b9050878111614898578581101561488d5760405162461bcd60e51b8152600401808060200182810382526023815260200180614c816023913960400191505060405180910390fd5b8894509250826148f6565b60006148a58984866144d5565b9050898111156148b157fe5b878110156148f05760405162461bcd60e51b8152600401808060200182810382526023815260200180614af06023913960400191505060405180910390fd5b94508793505b505b5050965096945050505050565b60008115806149205750508082028282828161491d57fe5b04145b6111d0576040805162461bcd60e51b815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b808201828110156111d0576040805162461bcd60e51b815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b60008060006149d88585614581565b5090506000806149e9888888613f7c565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015614a2157600080fd5b505afa158015614a35573d6000803e3d6000fd5b505050506040513d6060811015614a4b57600080fd5b5080516020909101516dffffffffffffffffffffffffffff91821693501690506001600160a01b0387811690841614614a85578082614a88565b81815b90999098509650505050505050565b808203828111156111d0576040805162461bcd60e51b815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fdfe537761705632526f757465723a20494e53554646494349454e545f415f414d4f554e545472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c65645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c6564537761705632526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e545377617056324c6962726172793a204944454e544943414c5f414444524553534553537761705632526f757465723a204558434553534956455f494e5055545f414d4f554e545377617056324c6962726172793a20494e53554646494349454e545f414d4f554e545377617056324c6962726172793a20494e53554646494349454e545f4c49515549444954595377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e545472616e7366657248656c7065723a3a73616665417070726f76653a20617070726f7665206661696c6564537761705632526f757465723a20494e53554646494349454e545f425f414d4f554e545377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e545472616e7366657248656c7065723a3a736166655472616e736665723a207472616e73666572206661696c6564a2646970667358221220324c9998d1ba38e1b4687e011754d9d2b09c139b9560b1f66164f8dc8bbaef2364736f6c63430006060033

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

000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed06416000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000007d86394139bf1122e82fdf45bb4e3b038a4464dd000000000000000000000000a250cc729bb3323e7933022a67b52200fe354767

-----Decoded View---------------
Arg [0] : _factory (address): 0xeb2A625B704d73e82946D8d026E1F588Eed06416
Arg [1] : _WETH (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [2] : _fewFactory (address): 0x7D86394139bf1122E82FDF45Bb4e3b038A4464DD
Arg [3] : _fwWETH (address): 0xa250CC729Bb3323e7933022a67B52200fE354767

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000eb2a625b704d73e82946d8d026e1f588eed06416
Arg [1] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [2] : 0000000000000000000000007d86394139bf1122e82fdf45bb4e3b038a4464dd
Arg [3] : 000000000000000000000000a250cc729bb3323e7933022a67b52200fe354767


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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