Contract

0x415EB9392A1C4B0eB3214690d8d553612b117299

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

-

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Add Liquidity ET...9666752024-12-21 1:37:542 secs ago1734745074IN
0x415EB939...12b117299
1.97270589 S0.000147221.1
Swap Exact ETH F...9666642024-12-21 1:37:506 secs ago1734745070IN
0x415EB939...12b117299
100 S0.000058581.11
Swap Exact Token...9666622024-12-21 1:37:497 secs ago1734745069IN
0x415EB939...12b117299
0 S0.0001471.11
Swap Exact ETH F...9666592024-12-21 1:37:488 secs ago1734745068IN
0x415EB939...12b117299
100 S0.000127441.1
Swap Exact Token...9666582024-12-21 1:37:488 secs ago1734745068IN
0x415EB939...12b117299
0 S0.000142051.11
Swap Exact ETH F...9666222024-12-21 1:37:3323 secs ago1734745053IN
0x415EB939...12b117299
200 S0.0040472820
Swap Exact Token...9666212024-12-21 1:37:3224 secs ago1734745052IN
0x415EB939...12b117299
0 S0.000181211.1
Swap Exact ETH F...9666182024-12-21 1:37:3125 secs ago1734745051IN
0x415EB939...12b117299
50 S0.000127441.1
Swap Exact Token...9666172024-12-21 1:37:3125 secs ago1734745051IN
0x415EB939...12b117299
0 S0.000418513.16
Swap Exact Token...9666092024-12-21 1:37:2828 secs ago1734745048IN
0x415EB939...12b117299
0 S0.000126281
Swap Exact ETH F...9665912024-12-21 1:37:2135 secs ago1734745041IN
0x415EB939...12b117299
50 S0.00033292.5
Swap Exact ETH F...9665762024-12-21 1:37:1739 secs ago1734745037IN
0x415EB939...12b117299
50 S0.000049051.1
Swap Exact ETH F...9665722024-12-21 1:37:1541 secs ago1734745035IN
0x415EB939...12b117299
300 S0.000134791.11
Swap Exact ETH F...9665702024-12-21 1:37:1541 secs ago1734745035IN
0x415EB939...12b117299
50 S0.000051611.11
Swap Exact ETH F...9665642024-12-21 1:37:1343 secs ago1734745033IN
0x415EB939...12b117299
25 S0.000134791.11
Swap Exact Token...9665522024-12-21 1:37:0848 secs ago1734745028IN
0x415EB939...12b117299
0 S0.00006221.1
Swap Exact Token...9665492024-12-21 1:37:0749 secs ago1734745027IN
0x415EB939...12b117299
0 S0.000116491.11
Swap Exact Token...9665432024-12-21 1:37:0551 secs ago1734745025IN
0x415EB939...12b117299
0 S0.000127181.00733333
Swap Exact ETH F...9665292024-12-21 1:37:0056 secs ago1734745020IN
0x415EB939...12b117299
300 S0.000049491.11
Swap Exact ETH F...9665272024-12-21 1:36:5957 secs ago1734745019IN
0x415EB939...12b117299
150 S0.000127441.1
Swap Exact Token...9664872024-12-21 1:36:441 min ago1734745004IN
0x415EB939...12b117299
0 S0.000050821.11
Swap Exact ETH F...9664602024-12-21 1:36:321 min ago1734744992IN
0x415EB939...12b117299
150 S0.000058581.11
Swap Exact ETH F...9664562024-12-21 1:36:301 min ago1734744990IN
0x415EB939...12b117299
381 S0.000146471.1
Swap Exact Token...9664532024-12-21 1:36:291 min ago1734744989IN
0x415EB939...12b117299
0 S0.0001421.11
Swap Exact ETH F...9664342024-12-21 1:36:221 min ago1734744982IN
0x415EB939...12b117299
15 S0.000055681.11
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
9666622024-12-21 1:37:497 secs ago1734745069
0x415EB939...12b117299
5.38956741 S
9666622024-12-21 1:37:497 secs ago1734745069
0x415EB939...12b117299
5.38956741 S
9666592024-12-21 1:37:488 secs ago1734745068
0x415EB939...12b117299
100 S
9666582024-12-21 1:37:488 secs ago1734745068
0x415EB939...12b117299
29.56144253 S
9666582024-12-21 1:37:488 secs ago1734745068
0x415EB939...12b117299
29.56144253 S
9666222024-12-21 1:37:3323 secs ago1734745053
0x415EB939...12b117299
200 S
9666182024-12-21 1:37:3125 secs ago1734745051
0x415EB939...12b117299
50 S
9666172024-12-21 1:37:3125 secs ago1734745051
0x415EB939...12b117299
14.28408732 S
9666172024-12-21 1:37:3125 secs ago1734745051
0x415EB939...12b117299
14.28408732 S
9666092024-12-21 1:37:2828 secs ago1734745048
0x415EB939...12b117299
312.28808108 S
9666092024-12-21 1:37:2828 secs ago1734745048
0x415EB939...12b117299
312.28808108 S
9665912024-12-21 1:37:2135 secs ago1734745041
0x415EB939...12b117299
50 S
9665722024-12-21 1:37:1541 secs ago1734745035
0x415EB939...12b117299
300 S
9665642024-12-21 1:37:1343 secs ago1734745033
0x415EB939...12b117299
25 S
9665432024-12-21 1:37:0551 secs ago1734745025
0x415EB939...12b117299
65.20980954 S
9665432024-12-21 1:37:0551 secs ago1734745025
0x415EB939...12b117299
65.20980954 S
9665272024-12-21 1:36:5957 secs ago1734745019
0x415EB939...12b117299
150 S
9664562024-12-21 1:36:301 min ago1734744990
0x415EB939...12b117299
381 S
9664532024-12-21 1:36:291 min ago1734744989
0x415EB939...12b117299
202.05600496 S
9664532024-12-21 1:36:291 min ago1734744989
0x415EB939...12b117299
202.05600496 S
9664332024-12-21 1:36:221 min ago1734744982
0x415EB939...12b117299
23.70026678 S
9664332024-12-21 1:36:221 min ago1734744982
0x415EB939...12b117299
23.70026678 S
9664202024-12-21 1:36:171 min ago1734744977
0x415EB939...12b117299
100 S
9664182024-12-21 1:36:171 min ago1734744977
0x415EB939...12b117299
4.955 S
9664182024-12-21 1:36:171 min ago1734744977
0x415EB939...12b117299
4.955 S
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SolidlyV2Router02

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : SolidlyV2Router02.sol
pragma solidity =0.6.6;

import './interfaces/ISolidlyV2Factory.sol';
import './interfaces/ISolidlyV2Pair.sol';
import './interfaces/ISolidlyV2Router02.sol';
import './libraries/SolidlyV2Library.sol';
import './libraries/TransferHelper.sol';
import './libraries/SafeMath.sol';
import './interfaces/IERC20.sol';
import './interfaces/IWETH.sol';

contract SolidlyV2Router02 is ISolidlyV2Router02 {
    using SafeMath for uint;

    address public immutable override factory;
    address public immutable override WETH;

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

    constructor(address _factory, address _WETH) public {
        factory = _factory;
        WETH = _WETH;
    }

    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 (ISolidlyV2Factory(factory).getPair(tokenA, tokenB) == address(0)) {
            ISolidlyV2Factory(factory).createPair(tokenA, tokenB);
        }
        (uint reserveA, uint reserveB ,) = SolidlyV2Library.getReserves(factory, tokenA, tokenB);
        if (reserveA == 0 && reserveB == 0) {
            (amountA, amountB) = (amountADesired, amountBDesired);
        } else {
            uint amountBOptimal = SolidlyV2Library.quote(amountADesired, reserveA, reserveB);
            if (amountBOptimal <= amountBDesired) {
                require(amountBOptimal >= amountBMin, 'SolidlyV2Router: INSUFFICIENT_B_AMOUNT');
                (amountA, amountB) = (amountADesired, amountBOptimal);
            } else {
                uint amountAOptimal = SolidlyV2Library.quote(amountBDesired, reserveB, reserveA);
                assert(amountAOptimal <= amountADesired);
                require(amountAOptimal >= amountAMin, 'SolidlyV2Router: 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) {
        (amountA, amountB) = _addLiquidity(tokenA, tokenB, amountADesired, amountBDesired, amountAMin, amountBMin);
        address pair = SolidlyV2Library.pairFor(factory, tokenA, tokenB);
        TransferHelper.safeTransferFrom(tokenA, msg.sender, pair, amountA);
        TransferHelper.safeTransferFrom(tokenB, msg.sender, pair, amountB);
        liquidity = ISolidlyV2Pair(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) {
        (amountToken, amountETH) = _addLiquidity(
            token,
            WETH,
            amountTokenDesired,
            msg.value,
            amountTokenMin,
            amountETHMin
        );
        address pair = SolidlyV2Library.pairFor(factory, token, WETH);
        TransferHelper.safeTransferFrom(token, msg.sender, pair, amountToken);
        IWETH(WETH).deposit{value: amountETH}();
        assert(IWETH(WETH).transfer(pair, amountETH));
        liquidity = ISolidlyV2Pair(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 = SolidlyV2Library.pairFor(factory, tokenA, tokenB);
        ISolidlyV2Pair(pair).transferFrom(msg.sender, pair, liquidity); // send liquidity to pair
        (uint amount0, uint amount1) = ISolidlyV2Pair(pair).burn(to);
        (address token0,) = SolidlyV2Library.sortTokens(tokenA, tokenB);
        (amountA, amountB) = tokenA == token0 ? (amount0, amount1) : (amount1, amount0);
        require(amountA >= amountAMin, 'SolidlyV2Router: INSUFFICIENT_A_AMOUNT');
        require(amountB >= amountBMin, 'SolidlyV2Router: INSUFFICIENT_B_AMOUNT');
    }
    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,
            WETH,
            liquidity,
            amountTokenMin,
            amountETHMin,
            address(this),
            deadline
        );
        TransferHelper.safeTransfer(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 = SolidlyV2Library.pairFor(factory, tokenA, tokenB);
        uint value = approveMax ? uint(-1) : liquidity;
        ISolidlyV2Pair(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 = SolidlyV2Library.pairFor(factory, token, WETH);
        uint value = approveMax ? uint(-1) : liquidity;
        ISolidlyV2Pair(pair).permit(msg.sender, address(this), value, deadline, v, r, s);
        (amountToken, amountETH) = removeLiquidityETH(token, liquidity, amountTokenMin, amountETHMin, to, deadline);
    }

    // **** REMOVE LIQUIDITY (supporting fee-on-transfer tokens) ****
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) public virtual override ensure(deadline) returns (uint amountETH) {
        (, amountETH) = removeLiquidity(
            token,
            WETH,
            liquidity,
            amountTokenMin,
            amountETHMin,
            address(this),
            deadline
        );
        TransferHelper.safeTransfer(token, to, IERC20(token).balanceOf(address(this)));
        IWETH(WETH).withdraw(amountETH);
        TransferHelper.safeTransferETH(to, amountETH);
    }
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        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 amountETH) {
        address pair = SolidlyV2Library.pairFor(factory, token, WETH);
        uint value = approveMax ? uint(-1) : liquidity;
        ISolidlyV2Pair(pair).permit(msg.sender, address(this), value, deadline, v, r, s);
        amountETH = removeLiquidityETHSupportingFeeOnTransferTokens(
            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,) = SolidlyV2Library.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 ? SolidlyV2Library.pairFor(factory, output, path[i + 2]) : _to;
            ISolidlyV2Pair(SolidlyV2Library.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 = SolidlyV2Library.getAmountsOut(factory, amountIn, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'SolidlyV2Router: INSUFFICIENT_OUTPUT_AMOUNT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, SolidlyV2Library.pairFor(factory, path[0], path[1]), amounts[0]
        );
        _swap(amounts, path, to);
    }
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external virtual override ensure(deadline) returns (uint[] memory amounts) {
        amounts = SolidlyV2Library.getAmountsIn(factory, amountOut, path);
        require(amounts[0] <= amountInMax, 'SolidlyV2Router: EXCESSIVE_INPUT_AMOUNT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, SolidlyV2Library.pairFor(factory, path[0], path[1]), amounts[0]
        );
        _swap(amounts, path, 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] == WETH, 'SolidlyV2Router: INVALID_PATH');
        amounts = SolidlyV2Library.getAmountsOut(factory, msg.value, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'SolidlyV2Router: INSUFFICIENT_OUTPUT_AMOUNT');
        IWETH(WETH).deposit{value: amounts[0]}();
        assert(IWETH(WETH).transfer(SolidlyV2Library.pairFor(factory, path[0], path[1]), amounts[0]));
        _swap(amounts, path, 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] == WETH, 'SolidlyV2Router: INVALID_PATH');
        amounts = SolidlyV2Library.getAmountsIn(factory, amountOut, path);
        require(amounts[0] <= amountInMax, 'SolidlyV2Router: EXCESSIVE_INPUT_AMOUNT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, SolidlyV2Library.pairFor(factory, path[0], path[1]), amounts[0]
        );
        _swap(amounts, path, address(this));
        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] == WETH, 'SolidlyV2Router: INVALID_PATH');
        amounts = SolidlyV2Library.getAmountsOut(factory, amountIn, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'SolidlyV2Router: INSUFFICIENT_OUTPUT_AMOUNT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, SolidlyV2Library.pairFor(factory, path[0], path[1]), amounts[0]
        );
        _swap(amounts, path, 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] == WETH, 'SolidlyV2Router: INVALID_PATH');
        amounts = SolidlyV2Library.getAmountsIn(factory, amountOut, path);
        require(amounts[0] <= msg.value, 'SolidlyV2Router: EXCESSIVE_INPUT_AMOUNT');
        IWETH(WETH).deposit{value: amounts[0]}();
        assert(IWETH(WETH).transfer(SolidlyV2Library.pairFor(factory, path[0], path[1]), amounts[0]));
        _swap(amounts, path, to);
        // refund dust eth, if any
        if (msg.value > amounts[0]) TransferHelper.safeTransferETH(msg.sender, msg.value - amounts[0]);
    }

    // **** SWAP (supporting fee-on-transfer tokens) ****
    // requires the initial amount to have already been sent to the first pair
    function _swapSupportingFeeOnTransferTokens(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,) = SolidlyV2Library.sortTokens(input, output);
            ISolidlyV2Pair pair = ISolidlyV2Pair(SolidlyV2Library.pairFor(factory, input, output));
            uint amountInput;
            uint amountOutput;
            { // scope to avoid stack too deep errors
            (uint reserve0, uint reserve1,) = pair.getReserves();
            (uint reserveInput, uint reserveOutput) = input == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
            amountInput = input == token0 ? pair._balance0().sub(reserveInput) : pair._balance1().sub(reserveInput);
            amountOutput = SolidlyV2Library.getAmountOut(amountInput, reserveInput, reserveOutput, address(pair));
            }
            (uint amount0Out, uint amount1Out) = input == token0 ? (uint(0), amountOutput) : (amountOutput, uint(0));
            address to = i < path.length - 2 ? SolidlyV2Library.pairFor(factory, output, path[i + 2]) : _to;
            pair.swap(amount0Out, amount1Out, to, new bytes(0));
        }
    }
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external virtual override ensure(deadline) {
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, SolidlyV2Library.pairFor(factory, path[0], path[1]), amountIn
        );
        uint balanceBefore = IERC20(path[path.length - 1]).balanceOf(to);
        _swapSupportingFeeOnTransferTokens(path, to);
        require(
            IERC20(path[path.length - 1]).balanceOf(to).sub(balanceBefore) >= amountOutMin,
            'SolidlyV2Router: INSUFFICIENT_OUTPUT_AMOUNT'
        );
    }
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    )
        external
        virtual
        override
        payable
        ensure(deadline)
    {
        require(path[0] == WETH, 'SolidlyV2Router: INVALID_PATH');
        uint amountIn = msg.value;
        IWETH(WETH).deposit{value: amountIn}();
        assert(IWETH(WETH).transfer(SolidlyV2Library.pairFor(factory, path[0], path[1]), amountIn));
        uint balanceBefore = IERC20(path[path.length - 1]).balanceOf(to);
        _swapSupportingFeeOnTransferTokens(path, to);
        require(
            IERC20(path[path.length - 1]).balanceOf(to).sub(balanceBefore) >= amountOutMin,
            'SolidlyV2Router: INSUFFICIENT_OUTPUT_AMOUNT'
        );
    }
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    )
        external
        virtual
        override
        ensure(deadline)
    {
        require(path[path.length - 1] == WETH, 'SolidlyV2Router: INVALID_PATH');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, SolidlyV2Library.pairFor(factory, path[0], path[1]), amountIn
        );
        _swapSupportingFeeOnTransferTokens(path, address(this));
        uint amountOut = IERC20(WETH).balanceOf(address(this));
        require(amountOut >= amountOutMin, 'SolidlyV2Router: INSUFFICIENT_OUTPUT_AMOUNT');
        IWETH(WETH).withdraw(amountOut);
        TransferHelper.safeTransferETH(to, amountOut);
    }

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

    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut, address pair)
        public
        view
        virtual
        override
        returns (uint amountOut)
    {
        return SolidlyV2Library.getAmountOut(amountIn, reserveIn, reserveOut, pair);
    }

    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut, address pair)
        public
        view
        virtual
        override
        returns (uint amountIn)
    {
        return SolidlyV2Library.getAmountIn(amountOut, reserveIn, reserveOut, pair);
    }

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

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

File 2 of 10 : 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 3 of 10 : ISolidlyV2Factory.sol
pragma solidity >=0.5.0;

interface ISolidlyV2Factory {
    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

File 4 of 10 : ISolidlyV2Pair.sol
pragma solidity >=0.5.0;

interface ISolidlyV2Pair {
    function _balance0() external view returns (uint);
    function _balance1() external view returns (uint);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function poolFee() external view returns (uint16);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
    function transferFrom(address from, address to, uint value) external returns (bool);

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

File 5 of 10 : ISolidlyV2Router01.sol
pragma solidity >=0.6.2;

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

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

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut, address pair) external view returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut, address pair) external view 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 6 of 10 : ISolidlyV2Router02.sol
pragma solidity >=0.6.2;

import './ISolidlyV2Router01.sol';

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

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

File 7 of 10 : 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 8 of 10 : 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 9 of 10 : SolidlyV2Library.sol
pragma solidity >=0.5.0;

import '../interfaces/ISolidlyV2Pair.sol';

import "./SafeMath.sol";

library SolidlyV2Library {
    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, 'SolidlyV2Library: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'SolidlyV2Library: 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'a0304a4619a74f72f13db990ccb089a45069252a05f570da5e9b0247167a0e51' // 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 pair) {
        (address token0,) = sortTokens(tokenA, tokenB);
        pair = pairFor(factory, tokenA, tokenB);
        (uint reserve0, uint reserve1,) = ISolidlyV2Pair(pair).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, 'SolidlyV2Library: INSUFFICIENT_AMOUNT');
        require(reserveA > 0 && reserveB > 0, 'SolidlyV2Library: 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, address pair) internal view returns (uint amountOut) {
        require(amountIn > 0, 'SolidlyV2Library: INSUFFICIENT_INPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'SolidlyV2Library: INSUFFICIENT_LIQUIDITY');
        uint poolFeeInverse = uint(10000 - ISolidlyV2Pair(pair).poolFee());
        uint amountInWithFee = amountIn.mul(poolFeeInverse);
        uint numerator = amountInWithFee.mul(reserveOut);
        uint denominator = reserveIn.mul(10000).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, address pair) internal view returns (uint amountIn) {
        require(amountOut > 0, 'SolidlyV2Library: INSUFFICIENT_OUTPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'SolidlyV2Library: INSUFFICIENT_LIQUIDITY');
        uint poolFeeInverse = uint(10000 - ISolidlyV2Pair(pair).poolFee());
        uint numerator = reserveIn.mul(amountOut).mul(10000);
        uint denominator = reserveOut.sub(amountOut).mul(poolFeeInverse);
        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, 'SolidlyV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[0] = amountIn;
        for (uint i; i < path.length - 1; i++) {
            (uint reserveIn, uint reserveOut, address pair) = getReserves(factory, path[i], path[i + 1]);
            amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut, pair);
        }
    }

    // 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, 'SolidlyV2Library: 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, address pair) = getReserves(factory, path[i - 1], path[i]);
            amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut, pair);
        }
    }
}

File 10 of 10 : 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');
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "none"
  },
  "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"}],"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":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"},{"internalType":"address","name":"pair","type":"address"}],"name":"getAmountIn","outputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"},{"internalType":"address","name":"pair","type":"address"}],"name":"getAmountOut","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"view","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"}],"name":"removeLiquidityETHSupportingFeeOnTransferTokens","outputs":[{"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":"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":"removeLiquidityETHWithPermitSupportingFeeOnTransferTokens","outputs":[{"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":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactETHForTokensSupportingFeeOnTransferTokens","outputs":[],"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":"swapExactTokensForETHSupportingFeeOnTransferTokens","outputs":[],"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":"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":"swapExactTokensForTokensSupportingFeeOnTransferTokens","outputs":[],"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"}]

60c060405234801561001057600080fd5b50604051620048cd380380620048cd8339818101604052604081101561003557600080fd5b5080516020909101516001600160601b0319606092831b8116608052911b1660a05260805160601c60a05160601c614748620001856000398061015f5280610d025280610d3d5280610e1f528061103d52806113c7528061152d52806118f452806119ee5280611aa45280611b725280611cb85280611d405280611f8f528061201252806120c1528061218d5280612222528061229652806127a25280612a155280612a6b5280612a9f5280612b135280612cb35280612df65280612e7e525080610ead5280610f845280611103528061113c52806112775280611455528061150b528061167b5280611c055280611d725280611ec852806122c8528061252152806127195280612750528061278052806128ed5280612a495280612d465280612eb05280613657528061369a52806139835280613b41528061413e52806141ec528061426c52506147486000f3fe60806040526004361061014f5760003560e01c8063ad5c4648116100b6578063caced41b1161006f578063caced41b146109fe578063d06ca61f14610a43578063ded9382a14610af8578063e8e3370014610b6b578063f305d71914610beb578063fb3bdb4114610c3157610188565b8063ad5c46481461084e578063ad615dec1461087f578063af2979eb146108b5578063b6f9de9514610908578063baa2abde1461098c578063c45a0155146109e957610188565b80635b0d5984116101085780635b0d59841461053e5780635c11d795146105c3578063791ac947146106595780637ff36ab5146106ef5780638803dbee146107735780639470dbea1461080957610188565b806302751cec1461018d57806318cbafe5146101f95780631f00ca74146102df5780632195995c1461039457806338ed1739146104125780634a25d94a146104a857610188565b3661018857336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461018657fe5b005b600080fd5b34801561019957600080fd5b506101e0600480360360c08110156101b057600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a00135610cb5565b6040805192835260208301919091528051918290030190f35b34801561020557600080fd5b5061028f600480360360a081101561021c57600080fd5b813591602081013591810190606081016040820135600160201b81111561024257600080fd5b82018360208201111561025457600080fd5b803590602001918460208302840111600160201b8311171561027557600080fd5b91935091506001600160a01b038135169060200135610dcf565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102cb5781810151838201526020016102b3565b505050509050019250505060405180910390f35b3480156102eb57600080fd5b5061028f6004803603604081101561030257600080fd5b81359190810190604081016020820135600160201b81111561032357600080fd5b82018360208201111561033557600080fd5b803590602001918460208302840111600160201b8311171561035657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506110fc945050505050565b3480156103a057600080fd5b506101e060048036036101608110156103b857600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359091169060c08101359060e081013515159060ff6101008201351690610120810135906101400135611132565b34801561041e57600080fd5b5061028f600480360360a081101561043557600080fd5b813591602081013591810190606081016040820135600160201b81111561045b57600080fd5b82018360208201111561046d57600080fd5b803590602001918460208302840111600160201b8311171561048e57600080fd5b91935091506001600160a01b03813516906020013561122c565b3480156104b457600080fd5b5061028f600480360360a08110156104cb57600080fd5b813591602081013591810190606081016040820135600160201b8111156104f157600080fd5b82018360208201111561050357600080fd5b803590602001918460208302840111600160201b8311171561052457600080fd5b91935091506001600160a01b038135169060200135611377565b34801561054a57600080fd5b506105b1600480360361014081101561056257600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e08201351690610100810135906101200135611503565b60408051918252519081900360200190f35b3480156105cf57600080fd5b50610186600480360360a08110156105e657600080fd5b813591602081013591810190606081016040820135600160201b81111561060c57600080fd5b82018360208201111561061e57600080fd5b803590602001918460208302840111600160201b8311171561063f57600080fd5b91935091506001600160a01b038135169060200135611611565b34801561066557600080fd5b50610186600480360360a081101561067c57600080fd5b813591602081013591810190606081016040820135600160201b8111156106a257600080fd5b8201836020820111156106b457600080fd5b803590602001918460208302840111600160201b831117156106d557600080fd5b91935091506001600160a01b0381351690602001356118a6565b61028f6004803603608081101561070557600080fd5b81359190810190604081016020820135600160201b81111561072657600080fd5b82018360208201111561073857600080fd5b803590602001918460208302840111600160201b8311171561075957600080fd5b91935091506001600160a01b038135169060200135611b2a565b34801561077f57600080fd5b5061028f600480360360a081101561079657600080fd5b813591602081013591810190606081016040820135600160201b8111156107bc57600080fd5b8201836020820111156107ce57600080fd5b803590602001918460208302840111600160201b831117156107ef57600080fd5b91935091506001600160a01b038135169060200135611e7d565b34801561081557600080fd5b506105b16004803603608081101561082c57600080fd5b50803590602081013590604081013590606001356001600160a01b0316611f76565b34801561085a57600080fd5b50610863611f8d565b604080516001600160a01b039092168252519081900360200190f35b34801561088b57600080fd5b506105b1600480360360608110156108a257600080fd5b5080359060208101359060400135611fb1565b3480156108c157600080fd5b506105b1600480360360c08110156108d857600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a00135611fc6565b6101866004803603608081101561091e57600080fd5b81359190810190604081016020820135600160201b81111561093f57600080fd5b82018360208201111561095157600080fd5b803590602001918460208302840111600160201b8311171561097257600080fd5b91935091506001600160a01b038135169060200135612147565b34801561099857600080fd5b506101e0600480360360e08110156109af57600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359091169060c001356124d3565b3480156109f557600080fd5b50610863612717565b348015610a0a57600080fd5b506105b160048036036080811015610a2157600080fd5b50803590602081013590604081013590606001356001600160a01b031661273b565b348015610a4f57600080fd5b5061028f60048036036040811015610a6657600080fd5b81359190810190604081016020820135600160201b811115610a8757600080fd5b820183602082011115610a9957600080fd5b803590602001918460208302840111600160201b83111715610aba57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612749945050505050565b348015610b0457600080fd5b506101e06004803603610140811015610b1c57600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e08201351690610100810135906101200135612776565b348015610b7757600080fd5b50610bcd6004803603610100811015610b8f57600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359160c0820135169060e0013561288a565b60408051938452602084019290925282820152519081900360600190f35b610bcd600480360360c0811015610c0157600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a001356129c6565b61028f60048036036080811015610c4757600080fd5b81359190810190604081016020820135600160201b811115610c6857600080fd5b820183602082011115610c7a57600080fd5b803590602001918460208302840111600160201b83111715610c9b57600080fd5b91935091506001600160a01b038135169060200135612c6b565b6000808242811015610cfc576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b610d2b897f00000000000000000000000000000000000000000000000000000000000000008a8a8a308a6124d3565b9093509150610d3b898685612fed565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610da157600080fd5b505af1158015610db5573d6000803e3d6000fd5b50505050610dc38583613141565b50965096945050505050565b60608142811015610e15576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001686866000198101818110610e4f57fe5b905060200201356001600160a01b03166001600160a01b031614610ea8576040805162461bcd60e51b815260206004820152601d602482015260008051602061471c833981519152604482015290519081900360640190fd5b610f067f00000000000000000000000000000000000000000000000000000000000000008988888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061323992505050565b91508682600184510381518110610f1957fe5b60200260200101511015610f5e5760405162461bcd60e51b815260040180806020018281038252602b8152602001806146c4602b913960400191505060405180910390fd5b610ffc86866000818110610f6e57fe5b905060200201356001600160a01b031633610fe27f00000000000000000000000000000000000000000000000000000000000000008a8a6000818110610fb057fe5b905060200201356001600160a01b03168b8b6001818110610fcd57fe5b905060200201356001600160a01b031661338b565b85600081518110610fef57fe5b602002602001015161344b565b61103b828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152503092506135a8915050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d8360018551038151811061107a57fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156110b857600080fd5b505af11580156110cc573d6000803e3d6000fd5b505050506110f184836001855103815181106110e457fe5b6020026020010151613141565b509695505050505050565b60606111297f000000000000000000000000000000000000000000000000000000000000000084846137ee565b90505b92915050565b60008060006111627f00000000000000000000000000000000000000000000000000000000000000008f8f61338b565b9050600087611171578c611175565b6000195b6040805163d505accf60e01b815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c4810188905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b1580156111eb57600080fd5b505af11580156111ff573d6000803e3d6000fd5b505050506112128f8f8f8f8f8f8f6124d3565b809450819550505050509b509b9950505050505050505050565b60608142811015611272576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b6112d07f00000000000000000000000000000000000000000000000000000000000000008988888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061323992505050565b915086826001845103815181106112e357fe5b602002602001015110156113285760405162461bcd60e51b815260040180806020018281038252602b8152602001806146c4602b913960400191505060405180910390fd5b61133886866000818110610f6e57fe5b6110f1828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508992506135a8915050565b606081428110156113bd576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016868660001981018181106113f757fe5b905060200201356001600160a01b03166001600160a01b031614611450576040805162461bcd60e51b815260206004820152601d602482015260008051602061471c833981519152604482015290519081900360640190fd5b6114ae7f0000000000000000000000000000000000000000000000000000000000000000898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506137ee92505050565b915086826000815181106114be57fe5b60200260200101511115610f5e5760405162461bcd60e51b815260040180806020018281038252602781526020018061454e6027913960400191505060405180910390fd5b6000806115517f00000000000000000000000000000000000000000000000000000000000000008d7f000000000000000000000000000000000000000000000000000000000000000061338b565b9050600086611560578b611564565b6000195b6040805163d505accf60e01b815233600482015230602482015260448101839052606481018b905260ff8916608482015260a4810188905260c4810187905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b1580156115da57600080fd5b505af11580156115ee573d6000803e3d6000fd5b505050506116008d8d8d8d8d8d611fc6565b9d9c50505050505050505050505050565b8042811015611655576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b6116ca8585600081811061166557fe5b905060200201356001600160a01b0316336116c47f0000000000000000000000000000000000000000000000000000000000000000898960008181106116a757fe5b905060200201356001600160a01b03168a8a6001818110610fcd57fe5b8a61344b565b6000858560001981018181106116dc57fe5b905060200201356001600160a01b03166001600160a01b03166370a08231856040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561174157600080fd5b505afa158015611755573d6000803e3d6000fd5b505050506040513d602081101561176b57600080fd5b505160408051602088810282810182019093528882529293506117ad92909189918991829185019084908082843760009201919091525088925061392c915050565b8661185f82888860001981018181106117c257fe5b905060200201356001600160a01b03166001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561182757600080fd5b505afa15801561183b573d6000803e3d6000fd5b505050506040513d602081101561185157600080fd5b50519063ffffffff613c7616565b101561189c5760405162461bcd60e51b815260040180806020018281038252602b8152602001806146c4602b913960400191505060405180910390fd5b5050505050505050565b80428110156118ea576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168585600019810181811061192457fe5b905060200201356001600160a01b03166001600160a01b03161461197d576040805162461bcd60e51b815260206004820152601d602482015260008051602061471c833981519152604482015290519081900360640190fd5b61198d8585600081811061166557fe5b6119cb85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525030925061392c915050565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b158015611a3557600080fd5b505afa158015611a49573d6000803e3d6000fd5b505050506040513d6020811015611a5f57600080fd5b5051905086811015611aa25760405162461bcd60e51b815260040180806020018281038252602b8152602001806146c4602b913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611b0857600080fd5b505af1158015611b1c573d6000803e3d6000fd5b5050505061189c8482613141565b60608142811015611b70576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031686866000818110611ba757fe5b905060200201356001600160a01b03166001600160a01b031614611c00576040805162461bcd60e51b815260206004820152601d602482015260008051602061471c833981519152604482015290519081900360640190fd5b611c5e7f00000000000000000000000000000000000000000000000000000000000000003488888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061323992505050565b91508682600184510381518110611c7157fe5b60200260200101511015611cb65760405162461bcd60e51b815260040180806020018281038252602b8152602001806146c4602b913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db083600081518110611cf257fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b158015611d2557600080fd5b505af1158015611d39573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb611d9e7f0000000000000000000000000000000000000000000000000000000000000000898960008181106116a757fe5b84600081518110611dab57fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611e0257600080fd5b505af1158015611e16573d6000803e3d6000fd5b505050506040513d6020811015611e2c57600080fd5b5051611e3457fe5b611e73828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508992506135a8915050565b5095945050505050565b60608142811015611ec3576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b611f217f0000000000000000000000000000000000000000000000000000000000000000898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506137ee92505050565b91508682600081518110611f3157fe5b602002602001015111156113285760405162461bcd60e51b815260040180806020018281038252602781526020018061454e6027913960400191505060405180910390fd5b6000611f8485858585613cc6565b95945050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000611fbe848484613e28565b949350505050565b6000814281101561200c576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b61203b887f000000000000000000000000000000000000000000000000000000000000000089898930896124d3565b604080516370a0823160e01b815230600482015290519194506120bf92508a9187916001600160a01b038416916370a0823191602480820192602092909190829003018186803b15801561208e57600080fd5b505afa1580156120a2573d6000803e3d6000fd5b505050506040513d60208110156120b857600080fd5b5051612fed565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561212557600080fd5b505af1158015612139573d6000803e3d6000fd5b505050506110f18483613141565b804281101561218b576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316858560008181106121c257fe5b905060200201356001600160a01b03166001600160a01b03161461221b576040805162461bcd60e51b815260206004820152601d602482015260008051602061471c833981519152604482015290519081900360640190fd5b60003490507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561227b57600080fd5b505af115801561228f573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb6122f47f0000000000000000000000000000000000000000000000000000000000000000898960008181106116a757fe5b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561234457600080fd5b505af1158015612358573d6000803e3d6000fd5b505050506040513d602081101561236e57600080fd5b505161237657fe5b60008686600019810181811061238857fe5b905060200201356001600160a01b03166001600160a01b03166370a08231866040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156123ed57600080fd5b505afa158015612401573d6000803e3d6000fd5b505050506040513d602081101561241757600080fd5b505160408051602089810282810182019093528982529293506124599290918a918a91829185019084908082843760009201919091525089925061392c915050565b8761185f828989600019810181811061246e57fe5b905060200201356001600160a01b03166001600160a01b03166370a08231896040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561182757600080fd5b600080824281101561251a576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b60006125477f00000000000000000000000000000000000000000000000000000000000000008c8c61338b565b604080516323b872dd60e01b81523360048201526001600160a01b03831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b1580156125a257600080fd5b505af11580156125b6573d6000803e3d6000fd5b505050506040513d60208110156125cc57600080fd5b50506040805163226bf2d160e21b81526001600160a01b03888116600483015282516000938493928616926389afcb44926024808301939282900301818787803b15801561261957600080fd5b505af115801561262d573d6000803e3d6000fd5b505050506040513d604081101561264357600080fd5b5080516020909101519092509050600061265d8e8e613ed4565b509050806001600160a01b03168e6001600160a01b031614612680578183612683565b82825b90975095508a8710156126c75760405162461bcd60e51b815260040180806020018281038252602681526020018061469e6026913960400191505060405180910390fd5b898610156127065760405162461bcd60e51b81526004018080602001828103825260268152602001806146506026913960400191505060405180910390fd5b505050505097509795505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000611f8485858585613fb2565b60606111297f00000000000000000000000000000000000000000000000000000000000000008484613239565b60008060006127c67f00000000000000000000000000000000000000000000000000000000000000008e7f000000000000000000000000000000000000000000000000000000000000000061338b565b90506000876127d5578c6127d9565b6000195b6040805163d505accf60e01b815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c4810188905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b15801561284f57600080fd5b505af1158015612863573d6000803e3d6000fd5b505050506128758e8e8e8e8e8e610cb5565b909f909e509c50505050505050505050505050565b600080600083428110156128d3576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b6128e18c8c8c8c8c8c61410d565b909450925060006129137f00000000000000000000000000000000000000000000000000000000000000008e8e61338b565b90506129218d33838861344b565b61292d8c33838761344b565b806001600160a01b0316636a627842886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b15801561298557600080fd5b505af1158015612999573d6000803e3d6000fd5b505050506040513d60208110156129af57600080fd5b5051949d939c50939a509198505050505050505050565b60008060008342811015612a0f576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b612a3d8a7f00000000000000000000000000000000000000000000000000000000000000008b348c8c61410d565b90945092506000612a8f7f00000000000000000000000000000000000000000000000000000000000000008c7f000000000000000000000000000000000000000000000000000000000000000061338b565b9050612a9d8b33838861344b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b158015612af857600080fd5b505af1158015612b0c573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb82866040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015612b9157600080fd5b505af1158015612ba5573d6000803e3d6000fd5b505050506040513d6020811015612bbb57600080fd5b5051612bc357fe5b806001600160a01b0316636a627842886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b158015612c1b57600080fd5b505af1158015612c2f573d6000803e3d6000fd5b505050506040513d6020811015612c4557600080fd5b5051925034841015612c5d57612c5d33853403613141565b505096509650969350505050565b60608142811015612cb1576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031686866000818110612ce857fe5b905060200201356001600160a01b03166001600160a01b031614612d41576040805162461bcd60e51b815260206004820152601d602482015260008051602061471c833981519152604482015290519081900360640190fd5b612d9f7f0000000000000000000000000000000000000000000000000000000000000000888888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506137ee92505050565b91503482600081518110612daf57fe5b60200260200101511115612df45760405162461bcd60e51b815260040180806020018281038252602781526020018061454e6027913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db083600081518110612e3057fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b158015612e6357600080fd5b505af1158015612e77573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb612edc7f0000000000000000000000000000000000000000000000000000000000000000898960008181106116a757fe5b84600081518110612ee957fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015612f4057600080fd5b505af1158015612f54573d6000803e3d6000fd5b505050506040513d6020811015612f6a57600080fd5b5051612f7257fe5b612fb1828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508992506135a8915050565b81600081518110612fbe57fe5b6020026020010151341115611e7357611e733383600081518110612fde57fe5b60200260200101513403613141565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b178152925182516000946060949389169392918291908083835b6020831061306a5780518252601f19909201916020918201910161304b565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146130cc576040519150601f19603f3d011682016040523d82523d6000602084013e6130d1565b606091505b50915091508180156130ff5750805115806130ff57508080602001905160208110156130fc57600080fd5b50515b61313a5760405162461bcd60e51b815260040180806020018281038252602d8152602001806146ef602d913960400191505060405180910390fd5b5050505050565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b6020831061318d5780518252601f19909201916020918201910161316e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146131ef576040519150601f19603f3d011682016040523d82523d6000602084013e6131f4565b606091505b50509050806132345760405162461bcd60e51b81526004018080602001828103825260348152602001806145a66034913960400191505060405180910390fd5b505050565b6060600282511015613292576040805162461bcd60e51b815260206004820152601e60248201527f536f6c69646c7956324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff811180156132aa57600080fd5b506040519080825280602002602001820160405280156132d4578160200160208202803683370190505b50905082816000815181106132e557fe5b60200260200101818152505060005b60018351038110156133835760008060006133398887868151811061331557fe5b602002602001015188876001018151811061332c57fe5b6020026020010151614382565b92509250925061335e85858151811061334e57fe5b6020026020010151848484613fb2565b85856001018151811061336d57fe5b60209081029190910101525050506001016132f4565b509392505050565b600080600061339a8585613ed4565b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501206001600160f81b031960688401529a90941b9093166069840152607d8301989098527fa0304a4619a74f72f13db990ccb089a45069252a05f570da5e9b0247167a0e51609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17815292518251600094606094938a169392918291908083835b602083106134d05780518252601f1990920191602091820191016134b1565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613532576040519150601f19603f3d011682016040523d82523d6000602084013e613537565b606091505b5091509150818015613565575080511580613565575080806020019051602081101561356257600080fd5b50515b6135a05760405162461bcd60e51b81526004018080602001828103825260318152602001806145756031913960400191505060405180910390fd5b505050505050565b60005b60018351038110156137e8576000808483815181106135c657fe5b60200260200101518584600101815181106135dd57fe5b60200260200101519150915060006135f58383613ed4565b509050600087856001018151811061360957fe5b60200260200101519050600080836001600160a01b0316866001600160a01b0316146136375782600061363b565b6000835b91509150600060028a510388106136525788613693565b6136937f0000000000000000000000000000000000000000000000000000000000000000878c8b6002018151811061368657fe5b602002602001015161338b565b90506136c07f0000000000000000000000000000000000000000000000000000000000000000888861338b565b6001600160a01b031663022c0d9f84848460006040519080825280601f01601f1916602001820160405280156136fd576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b03166001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561376e578181015183820152602001613756565b50505050905090810190601f16801561379b5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156137bd57600080fd5b505af11580156137d1573d6000803e3d6000fd5b5050600190990198506135ab975050505050505050565b50505050565b6060600282511015613847576040805162461bcd60e51b815260206004820152601e60248201527f536f6c69646c7956324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff8111801561385f57600080fd5b50604051908082528060200260200182016040528015613889578160200160208202803683370190505b509050828160018351038151811061389d57fe5b60209081029190910101528151600019015b80156133835760008060006138e1888760018703815181106138cd57fe5b602002602001015188878151811061332c57fe5b9250925092506139068585815181106138f657fe5b6020026020010151848484613cc6565b85600186038151811061391557fe5b6020908102919091010152505050600019016138af565b60005b60018351038110156132345760008084838151811061394a57fe5b602002602001015185846001018151811061396157fe5b60200260200101519150915060006139798383613ed4565b50905060006139a97f0000000000000000000000000000000000000000000000000000000000000000858561338b565b9050600080600080846001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156139ea57600080fd5b505afa1580156139fe573d6000803e3d6000fd5b505050506040513d6060811015613a1457600080fd5b5080516020909101516001600160701b0391821693501690506000806001600160a01b038a811690891614613a4a578284613a4d565b83835b91509150876001600160a01b03168a6001600160a01b031614613aac57613aa782886001600160a01b031663b2f9f5716040518163ffffffff1660e01b815260040160206040518083038186803b15801561182757600080fd5b613ae9565b613ae982886001600160a01b031663adcc37796040518163ffffffff1660e01b815260040160206040518083038186803b15801561182757600080fd5b9550613af78683838a613fb2565b945050505050600080856001600160a01b0316886001600160a01b031614613b2157826000613b25565b6000835b91509150600060028c51038a10613b3c578a613b70565b613b707f0000000000000000000000000000000000000000000000000000000000000000898e8d6002018151811061368657fe5b604080516000808252602082019283905263022c0d9f60e01b835260248201878152604483018790526001600160a01b038086166064850152608060848501908152845160a48601819052969750908c169563022c0d9f958a958a958a9591949193919260c486019290918190849084905b83811015613bfa578181015183820152602001613be2565b50505050905090810190601f168015613c275780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015613c4957600080fd5b505af1158015613c5d573d6000803e3d6000fd5b50506001909b019a5061392f9950505050505050505050565b8082038281111561112c576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6000808511613d065760405162461bcd60e51b815260040180806020018281038252602c8152602001806145da602c913960400191505060405180910390fd5b600084118015613d165750600083115b613d515760405162461bcd60e51b81526004018080602001828103825260288152602001806146766028913960400191505060405180910390fd5b6000826001600160a01b031663089fe6aa6040518163ffffffff1660e01b815260040160206040518083038186803b158015613d8c57600080fd5b505afa158015613da0573d6000803e3d6000fd5b505050506040513d6020811015613db657600080fd5b505161ffff612710918203169150600090613de790613ddb888a63ffffffff61445016565b9063ffffffff61445016565b90506000613dff83613ddb888b63ffffffff613c7616565b9050613e1c6001828481613e0f57fe5b049063ffffffff6144b316565b98975050505050505050565b6000808411613e685760405162461bcd60e51b815260040180806020018281038252602581526020018061462b6025913960400191505060405180910390fd5b600083118015613e785750600082115b613eb35760405162461bcd60e51b81526004018080602001828103825260288152602001806146766028913960400191505060405180910390fd5b82613ec4858463ffffffff61445016565b81613ecb57fe5b04949350505050565b600080826001600160a01b0316846001600160a01b03161415613f285760405162461bcd60e51b81526004018080602001828103825260258152602001806146066025913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b031610613f48578284613f4b565b83835b90925090506001600160a01b038216613fab576040805162461bcd60e51b815260206004820152601e60248201527f536f6c69646c7956324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b9250929050565b6000808511613ff25760405162461bcd60e51b815260040180806020018281038252602b815260200180614503602b913960400191505060405180910390fd5b6000841180156140025750600083115b61403d5760405162461bcd60e51b81526004018080602001828103825260288152602001806146766028913960400191505060405180910390fd5b6000826001600160a01b031663089fe6aa6040518163ffffffff1660e01b815260040160206040518083038186803b15801561407857600080fd5b505afa15801561408c573d6000803e3d6000fd5b505050506040513d60208110156140a257600080fd5b50516127100361ffff16905060006140ba8783614450565b905060006140ce828763ffffffff61445016565b905060006140f4836140e88a61271063ffffffff61445016565b9063ffffffff6144b316565b90508082816140ff57fe5b049998505050505050505050565b6040805163e6a4390560e01b81526001600160a01b03888116600483015287811660248301529151600092839283927f00000000000000000000000000000000000000000000000000000000000000009092169163e6a4390591604480820192602092909190829003018186803b15801561418757600080fd5b505afa15801561419b573d6000803e3d6000fd5b505050506040513d60208110156141b157600080fd5b50516001600160a01b0316141561426457604080516364e329cb60e11b81526001600160a01b038a81166004830152898116602483015291517f00000000000000000000000000000000000000000000000000000000000000009092169163c9c65396916044808201926020929091908290030181600087803b15801561423757600080fd5b505af115801561424b573d6000803e3d6000fd5b505050506040513d602081101561426157600080fd5b50505b6000806142927f00000000000000000000000000000000000000000000000000000000000000008b8b614382565b50915091508160001480156142a5575080155b156142b557879350869250614375565b60006142c2898484613e28565b9050878111614315578581101561430a5760405162461bcd60e51b81526004018080602001828103825260268152602001806146506026913960400191505060405180910390fd5b889450925082614373565b6000614322898486613e28565b90508981111561432e57fe5b8781101561436d5760405162461bcd60e51b815260040180806020018281038252602681526020018061469e6026913960400191505060405180910390fd5b94508793505b505b5050965096945050505050565b6000806000806143928686613ed4565b5090506143a087878761338b565b9150600080836001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156143de57600080fd5b505afa1580156143f2573d6000803e3d6000fd5b505050506040513d606081101561440857600080fd5b5080516020909101516001600160701b0391821693501690506001600160a01b038881169084161461443b57808261443e565b81815b909a9099509397509295505050505050565b600081158061446b5750508082028282828161446857fe5b04145b61112c576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b8082018281101561112c576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfe536f6c69646c7956324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54536f6c69646c795632526f757465723a20455850495245440000000000000000536f6c69646c795632526f757465723a204558434553534956455f494e5055545f414d4f554e545472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c65645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c6564536f6c69646c7956324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e54536f6c69646c7956324c6962726172793a204944454e544943414c5f414444524553534553536f6c69646c7956324c6962726172793a20494e53554646494349454e545f414d4f554e54536f6c69646c795632526f757465723a20494e53554646494349454e545f425f414d4f554e54536f6c69646c7956324c6962726172793a20494e53554646494349454e545f4c4951554944495459536f6c69646c795632526f757465723a20494e53554646494349454e545f415f414d4f554e54536f6c69646c795632526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e545472616e7366657248656c7065723a3a736166655472616e736665723a207472616e73666572206661696c6564536f6c69646c795632526f757465723a20494e56414c49445f50415448000000a164736f6c6343000606000a000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb71000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38

Deployed Bytecode

0x60806040526004361061014f5760003560e01c8063ad5c4648116100b6578063caced41b1161006f578063caced41b146109fe578063d06ca61f14610a43578063ded9382a14610af8578063e8e3370014610b6b578063f305d71914610beb578063fb3bdb4114610c3157610188565b8063ad5c46481461084e578063ad615dec1461087f578063af2979eb146108b5578063b6f9de9514610908578063baa2abde1461098c578063c45a0155146109e957610188565b80635b0d5984116101085780635b0d59841461053e5780635c11d795146105c3578063791ac947146106595780637ff36ab5146106ef5780638803dbee146107735780639470dbea1461080957610188565b806302751cec1461018d57806318cbafe5146101f95780631f00ca74146102df5780632195995c1461039457806338ed1739146104125780634a25d94a146104a857610188565b3661018857336001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38161461018657fe5b005b600080fd5b34801561019957600080fd5b506101e0600480360360c08110156101b057600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a00135610cb5565b6040805192835260208301919091528051918290030190f35b34801561020557600080fd5b5061028f600480360360a081101561021c57600080fd5b813591602081013591810190606081016040820135600160201b81111561024257600080fd5b82018360208201111561025457600080fd5b803590602001918460208302840111600160201b8311171561027557600080fd5b91935091506001600160a01b038135169060200135610dcf565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102cb5781810151838201526020016102b3565b505050509050019250505060405180910390f35b3480156102eb57600080fd5b5061028f6004803603604081101561030257600080fd5b81359190810190604081016020820135600160201b81111561032357600080fd5b82018360208201111561033557600080fd5b803590602001918460208302840111600160201b8311171561035657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506110fc945050505050565b3480156103a057600080fd5b506101e060048036036101608110156103b857600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359091169060c08101359060e081013515159060ff6101008201351690610120810135906101400135611132565b34801561041e57600080fd5b5061028f600480360360a081101561043557600080fd5b813591602081013591810190606081016040820135600160201b81111561045b57600080fd5b82018360208201111561046d57600080fd5b803590602001918460208302840111600160201b8311171561048e57600080fd5b91935091506001600160a01b03813516906020013561122c565b3480156104b457600080fd5b5061028f600480360360a08110156104cb57600080fd5b813591602081013591810190606081016040820135600160201b8111156104f157600080fd5b82018360208201111561050357600080fd5b803590602001918460208302840111600160201b8311171561052457600080fd5b91935091506001600160a01b038135169060200135611377565b34801561054a57600080fd5b506105b1600480360361014081101561056257600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e08201351690610100810135906101200135611503565b60408051918252519081900360200190f35b3480156105cf57600080fd5b50610186600480360360a08110156105e657600080fd5b813591602081013591810190606081016040820135600160201b81111561060c57600080fd5b82018360208201111561061e57600080fd5b803590602001918460208302840111600160201b8311171561063f57600080fd5b91935091506001600160a01b038135169060200135611611565b34801561066557600080fd5b50610186600480360360a081101561067c57600080fd5b813591602081013591810190606081016040820135600160201b8111156106a257600080fd5b8201836020820111156106b457600080fd5b803590602001918460208302840111600160201b831117156106d557600080fd5b91935091506001600160a01b0381351690602001356118a6565b61028f6004803603608081101561070557600080fd5b81359190810190604081016020820135600160201b81111561072657600080fd5b82018360208201111561073857600080fd5b803590602001918460208302840111600160201b8311171561075957600080fd5b91935091506001600160a01b038135169060200135611b2a565b34801561077f57600080fd5b5061028f600480360360a081101561079657600080fd5b813591602081013591810190606081016040820135600160201b8111156107bc57600080fd5b8201836020820111156107ce57600080fd5b803590602001918460208302840111600160201b831117156107ef57600080fd5b91935091506001600160a01b038135169060200135611e7d565b34801561081557600080fd5b506105b16004803603608081101561082c57600080fd5b50803590602081013590604081013590606001356001600160a01b0316611f76565b34801561085a57600080fd5b50610863611f8d565b604080516001600160a01b039092168252519081900360200190f35b34801561088b57600080fd5b506105b1600480360360608110156108a257600080fd5b5080359060208101359060400135611fb1565b3480156108c157600080fd5b506105b1600480360360c08110156108d857600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a00135611fc6565b6101866004803603608081101561091e57600080fd5b81359190810190604081016020820135600160201b81111561093f57600080fd5b82018360208201111561095157600080fd5b803590602001918460208302840111600160201b8311171561097257600080fd5b91935091506001600160a01b038135169060200135612147565b34801561099857600080fd5b506101e0600480360360e08110156109af57600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359091169060c001356124d3565b3480156109f557600080fd5b50610863612717565b348015610a0a57600080fd5b506105b160048036036080811015610a2157600080fd5b50803590602081013590604081013590606001356001600160a01b031661273b565b348015610a4f57600080fd5b5061028f60048036036040811015610a6657600080fd5b81359190810190604081016020820135600160201b811115610a8757600080fd5b820183602082011115610a9957600080fd5b803590602001918460208302840111600160201b83111715610aba57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612749945050505050565b348015610b0457600080fd5b506101e06004803603610140811015610b1c57600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e08201351690610100810135906101200135612776565b348015610b7757600080fd5b50610bcd6004803603610100811015610b8f57600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359160c0820135169060e0013561288a565b60408051938452602084019290925282820152519081900360600190f35b610bcd600480360360c0811015610c0157600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a001356129c6565b61028f60048036036080811015610c4757600080fd5b81359190810190604081016020820135600160201b811115610c6857600080fd5b820183602082011115610c7a57600080fd5b803590602001918460208302840111600160201b83111715610c9b57600080fd5b91935091506001600160a01b038135169060200135612c6b565b6000808242811015610cfc576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b610d2b897f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad388a8a8a308a6124d3565b9093509150610d3b898685612fed565b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610da157600080fd5b505af1158015610db5573d6000803e3d6000fd5b50505050610dc38583613141565b50965096945050505050565b60608142811015610e15576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b6001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad381686866000198101818110610e4f57fe5b905060200201356001600160a01b03166001600160a01b031614610ea8576040805162461bcd60e51b815260206004820152601d602482015260008051602061471c833981519152604482015290519081900360640190fd5b610f067f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb718988888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061323992505050565b91508682600184510381518110610f1957fe5b60200260200101511015610f5e5760405162461bcd60e51b815260040180806020018281038252602b8152602001806146c4602b913960400191505060405180910390fd5b610ffc86866000818110610f6e57fe5b905060200201356001600160a01b031633610fe27f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb718a8a6000818110610fb057fe5b905060200201356001600160a01b03168b8b6001818110610fcd57fe5b905060200201356001600160a01b031661338b565b85600081518110610fef57fe5b602002602001015161344b565b61103b828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152503092506135a8915050565b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b0316632e1a7d4d8360018551038151811061107a57fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156110b857600080fd5b505af11580156110cc573d6000803e3d6000fd5b505050506110f184836001855103815181106110e457fe5b6020026020010151613141565b509695505050505050565b60606111297f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb7184846137ee565b90505b92915050565b60008060006111627f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb718f8f61338b565b9050600087611171578c611175565b6000195b6040805163d505accf60e01b815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c4810188905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b1580156111eb57600080fd5b505af11580156111ff573d6000803e3d6000fd5b505050506112128f8f8f8f8f8f8f6124d3565b809450819550505050509b509b9950505050505050505050565b60608142811015611272576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b6112d07f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb718988888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061323992505050565b915086826001845103815181106112e357fe5b602002602001015110156113285760405162461bcd60e51b815260040180806020018281038252602b8152602001806146c4602b913960400191505060405180910390fd5b61133886866000818110610f6e57fe5b6110f1828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508992506135a8915050565b606081428110156113bd576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b6001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3816868660001981018181106113f757fe5b905060200201356001600160a01b03166001600160a01b031614611450576040805162461bcd60e51b815260206004820152601d602482015260008051602061471c833981519152604482015290519081900360640190fd5b6114ae7f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb71898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506137ee92505050565b915086826000815181106114be57fe5b60200260200101511115610f5e5760405162461bcd60e51b815260040180806020018281038252602781526020018061454e6027913960400191505060405180910390fd5b6000806115517f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb718d7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3861338b565b9050600086611560578b611564565b6000195b6040805163d505accf60e01b815233600482015230602482015260448101839052606481018b905260ff8916608482015260a4810188905260c4810187905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b1580156115da57600080fd5b505af11580156115ee573d6000803e3d6000fd5b505050506116008d8d8d8d8d8d611fc6565b9d9c50505050505050505050505050565b8042811015611655576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b6116ca8585600081811061166557fe5b905060200201356001600160a01b0316336116c47f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb71898960008181106116a757fe5b905060200201356001600160a01b03168a8a6001818110610fcd57fe5b8a61344b565b6000858560001981018181106116dc57fe5b905060200201356001600160a01b03166001600160a01b03166370a08231856040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561174157600080fd5b505afa158015611755573d6000803e3d6000fd5b505050506040513d602081101561176b57600080fd5b505160408051602088810282810182019093528882529293506117ad92909189918991829185019084908082843760009201919091525088925061392c915050565b8661185f82888860001981018181106117c257fe5b905060200201356001600160a01b03166001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561182757600080fd5b505afa15801561183b573d6000803e3d6000fd5b505050506040513d602081101561185157600080fd5b50519063ffffffff613c7616565b101561189c5760405162461bcd60e51b815260040180806020018281038252602b8152602001806146c4602b913960400191505060405180910390fd5b5050505050505050565b80428110156118ea576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b6001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38168585600019810181811061192457fe5b905060200201356001600160a01b03166001600160a01b03161461197d576040805162461bcd60e51b815260206004820152601d602482015260008051602061471c833981519152604482015290519081900360640190fd5b61198d8585600081811061166557fe5b6119cb85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525030925061392c915050565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3816916370a0823191602480820192602092909190829003018186803b158015611a3557600080fd5b505afa158015611a49573d6000803e3d6000fd5b505050506040513d6020811015611a5f57600080fd5b5051905086811015611aa25760405162461bcd60e51b815260040180806020018281038252602b8152602001806146c4602b913960400191505060405180910390fd5b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611b0857600080fd5b505af1158015611b1c573d6000803e3d6000fd5b5050505061189c8482613141565b60608142811015611b70576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b031686866000818110611ba757fe5b905060200201356001600160a01b03166001600160a01b031614611c00576040805162461bcd60e51b815260206004820152601d602482015260008051602061471c833981519152604482015290519081900360640190fd5b611c5e7f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb713488888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061323992505050565b91508682600184510381518110611c7157fe5b60200260200101511015611cb65760405162461bcd60e51b815260040180806020018281038252602b8152602001806146c4602b913960400191505060405180910390fd5b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b031663d0e30db083600081518110611cf257fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b158015611d2557600080fd5b505af1158015611d39573d6000803e3d6000fd5b50505050507f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b031663a9059cbb611d9e7f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb71898960008181106116a757fe5b84600081518110611dab57fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611e0257600080fd5b505af1158015611e16573d6000803e3d6000fd5b505050506040513d6020811015611e2c57600080fd5b5051611e3457fe5b611e73828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508992506135a8915050565b5095945050505050565b60608142811015611ec3576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b611f217f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb71898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506137ee92505050565b91508682600081518110611f3157fe5b602002602001015111156113285760405162461bcd60e51b815260040180806020018281038252602781526020018061454e6027913960400191505060405180910390fd5b6000611f8485858585613cc6565b95945050505050565b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3881565b6000611fbe848484613e28565b949350505050565b6000814281101561200c576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b61203b887f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3889898930896124d3565b604080516370a0823160e01b815230600482015290519194506120bf92508a9187916001600160a01b038416916370a0823191602480820192602092909190829003018186803b15801561208e57600080fd5b505afa1580156120a2573d6000803e3d6000fd5b505050506040513d60208110156120b857600080fd5b5051612fed565b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561212557600080fd5b505af1158015612139573d6000803e3d6000fd5b505050506110f18483613141565b804281101561218b576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b0316858560008181106121c257fe5b905060200201356001600160a01b03166001600160a01b03161461221b576040805162461bcd60e51b815260206004820152601d602482015260008051602061471c833981519152604482015290519081900360640190fd5b60003490507f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561227b57600080fd5b505af115801561228f573d6000803e3d6000fd5b50505050507f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b031663a9059cbb6122f47f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb71898960008181106116a757fe5b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561234457600080fd5b505af1158015612358573d6000803e3d6000fd5b505050506040513d602081101561236e57600080fd5b505161237657fe5b60008686600019810181811061238857fe5b905060200201356001600160a01b03166001600160a01b03166370a08231866040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156123ed57600080fd5b505afa158015612401573d6000803e3d6000fd5b505050506040513d602081101561241757600080fd5b505160408051602089810282810182019093528982529293506124599290918a918a91829185019084908082843760009201919091525089925061392c915050565b8761185f828989600019810181811061246e57fe5b905060200201356001600160a01b03166001600160a01b03166370a08231896040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561182757600080fd5b600080824281101561251a576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b60006125477f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb718c8c61338b565b604080516323b872dd60e01b81523360048201526001600160a01b03831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b1580156125a257600080fd5b505af11580156125b6573d6000803e3d6000fd5b505050506040513d60208110156125cc57600080fd5b50506040805163226bf2d160e21b81526001600160a01b03888116600483015282516000938493928616926389afcb44926024808301939282900301818787803b15801561261957600080fd5b505af115801561262d573d6000803e3d6000fd5b505050506040513d604081101561264357600080fd5b5080516020909101519092509050600061265d8e8e613ed4565b509050806001600160a01b03168e6001600160a01b031614612680578183612683565b82825b90975095508a8710156126c75760405162461bcd60e51b815260040180806020018281038252602681526020018061469e6026913960400191505060405180910390fd5b898610156127065760405162461bcd60e51b81526004018080602001828103825260268152602001806146506026913960400191505060405180910390fd5b505050505097509795505050505050565b7f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb7181565b6000611f8485858585613fb2565b60606111297f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb718484613239565b60008060006127c67f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb718e7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3861338b565b90506000876127d5578c6127d9565b6000195b6040805163d505accf60e01b815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c4810188905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b15801561284f57600080fd5b505af1158015612863573d6000803e3d6000fd5b505050506128758e8e8e8e8e8e610cb5565b909f909e509c50505050505050505050505050565b600080600083428110156128d3576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b6128e18c8c8c8c8c8c61410d565b909450925060006129137f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb718e8e61338b565b90506129218d33838861344b565b61292d8c33838761344b565b806001600160a01b0316636a627842886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b15801561298557600080fd5b505af1158015612999573d6000803e3d6000fd5b505050506040513d60208110156129af57600080fd5b5051949d939c50939a509198505050505050505050565b60008060008342811015612a0f576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b612a3d8a7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad388b348c8c61410d565b90945092506000612a8f7f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb718c7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3861338b565b9050612a9d8b33838861344b565b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b031663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b158015612af857600080fd5b505af1158015612b0c573d6000803e3d6000fd5b50505050507f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b031663a9059cbb82866040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015612b9157600080fd5b505af1158015612ba5573d6000803e3d6000fd5b505050506040513d6020811015612bbb57600080fd5b5051612bc357fe5b806001600160a01b0316636a627842886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b158015612c1b57600080fd5b505af1158015612c2f573d6000803e3d6000fd5b505050506040513d6020811015612c4557600080fd5b5051925034841015612c5d57612c5d33853403613141565b505096509650969350505050565b60608142811015612cb1576040805162461bcd60e51b8152602060048201526018602482015260008051602061452e833981519152604482015290519081900360640190fd5b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b031686866000818110612ce857fe5b905060200201356001600160a01b03166001600160a01b031614612d41576040805162461bcd60e51b815260206004820152601d602482015260008051602061471c833981519152604482015290519081900360640190fd5b612d9f7f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb71888888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506137ee92505050565b91503482600081518110612daf57fe5b60200260200101511115612df45760405162461bcd60e51b815260040180806020018281038252602781526020018061454e6027913960400191505060405180910390fd5b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b031663d0e30db083600081518110612e3057fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b158015612e6357600080fd5b505af1158015612e77573d6000803e3d6000fd5b50505050507f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b031663a9059cbb612edc7f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb71898960008181106116a757fe5b84600081518110612ee957fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015612f4057600080fd5b505af1158015612f54573d6000803e3d6000fd5b505050506040513d6020811015612f6a57600080fd5b5051612f7257fe5b612fb1828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508992506135a8915050565b81600081518110612fbe57fe5b6020026020010151341115611e7357611e733383600081518110612fde57fe5b60200260200101513403613141565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b178152925182516000946060949389169392918291908083835b6020831061306a5780518252601f19909201916020918201910161304b565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146130cc576040519150601f19603f3d011682016040523d82523d6000602084013e6130d1565b606091505b50915091508180156130ff5750805115806130ff57508080602001905160208110156130fc57600080fd5b50515b61313a5760405162461bcd60e51b815260040180806020018281038252602d8152602001806146ef602d913960400191505060405180910390fd5b5050505050565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b6020831061318d5780518252601f19909201916020918201910161316e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146131ef576040519150601f19603f3d011682016040523d82523d6000602084013e6131f4565b606091505b50509050806132345760405162461bcd60e51b81526004018080602001828103825260348152602001806145a66034913960400191505060405180910390fd5b505050565b6060600282511015613292576040805162461bcd60e51b815260206004820152601e60248201527f536f6c69646c7956324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff811180156132aa57600080fd5b506040519080825280602002602001820160405280156132d4578160200160208202803683370190505b50905082816000815181106132e557fe5b60200260200101818152505060005b60018351038110156133835760008060006133398887868151811061331557fe5b602002602001015188876001018151811061332c57fe5b6020026020010151614382565b92509250925061335e85858151811061334e57fe5b6020026020010151848484613fb2565b85856001018151811061336d57fe5b60209081029190910101525050506001016132f4565b509392505050565b600080600061339a8585613ed4565b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501206001600160f81b031960688401529a90941b9093166069840152607d8301989098527fa0304a4619a74f72f13db990ccb089a45069252a05f570da5e9b0247167a0e51609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17815292518251600094606094938a169392918291908083835b602083106134d05780518252601f1990920191602091820191016134b1565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613532576040519150601f19603f3d011682016040523d82523d6000602084013e613537565b606091505b5091509150818015613565575080511580613565575080806020019051602081101561356257600080fd5b50515b6135a05760405162461bcd60e51b81526004018080602001828103825260318152602001806145756031913960400191505060405180910390fd5b505050505050565b60005b60018351038110156137e8576000808483815181106135c657fe5b60200260200101518584600101815181106135dd57fe5b60200260200101519150915060006135f58383613ed4565b509050600087856001018151811061360957fe5b60200260200101519050600080836001600160a01b0316866001600160a01b0316146136375782600061363b565b6000835b91509150600060028a510388106136525788613693565b6136937f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb71878c8b6002018151811061368657fe5b602002602001015161338b565b90506136c07f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb71888861338b565b6001600160a01b031663022c0d9f84848460006040519080825280601f01601f1916602001820160405280156136fd576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b03166001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561376e578181015183820152602001613756565b50505050905090810190601f16801561379b5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156137bd57600080fd5b505af11580156137d1573d6000803e3d6000fd5b5050600190990198506135ab975050505050505050565b50505050565b6060600282511015613847576040805162461bcd60e51b815260206004820152601e60248201527f536f6c69646c7956324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff8111801561385f57600080fd5b50604051908082528060200260200182016040528015613889578160200160208202803683370190505b509050828160018351038151811061389d57fe5b60209081029190910101528151600019015b80156133835760008060006138e1888760018703815181106138cd57fe5b602002602001015188878151811061332c57fe5b9250925092506139068585815181106138f657fe5b6020026020010151848484613cc6565b85600186038151811061391557fe5b6020908102919091010152505050600019016138af565b60005b60018351038110156132345760008084838151811061394a57fe5b602002602001015185846001018151811061396157fe5b60200260200101519150915060006139798383613ed4565b50905060006139a97f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb71858561338b565b9050600080600080846001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156139ea57600080fd5b505afa1580156139fe573d6000803e3d6000fd5b505050506040513d6060811015613a1457600080fd5b5080516020909101516001600160701b0391821693501690506000806001600160a01b038a811690891614613a4a578284613a4d565b83835b91509150876001600160a01b03168a6001600160a01b031614613aac57613aa782886001600160a01b031663b2f9f5716040518163ffffffff1660e01b815260040160206040518083038186803b15801561182757600080fd5b613ae9565b613ae982886001600160a01b031663adcc37796040518163ffffffff1660e01b815260040160206040518083038186803b15801561182757600080fd5b9550613af78683838a613fb2565b945050505050600080856001600160a01b0316886001600160a01b031614613b2157826000613b25565b6000835b91509150600060028c51038a10613b3c578a613b70565b613b707f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb71898e8d6002018151811061368657fe5b604080516000808252602082019283905263022c0d9f60e01b835260248201878152604483018790526001600160a01b038086166064850152608060848501908152845160a48601819052969750908c169563022c0d9f958a958a958a9591949193919260c486019290918190849084905b83811015613bfa578181015183820152602001613be2565b50505050905090810190601f168015613c275780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015613c4957600080fd5b505af1158015613c5d573d6000803e3d6000fd5b50506001909b019a5061392f9950505050505050505050565b8082038281111561112c576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6000808511613d065760405162461bcd60e51b815260040180806020018281038252602c8152602001806145da602c913960400191505060405180910390fd5b600084118015613d165750600083115b613d515760405162461bcd60e51b81526004018080602001828103825260288152602001806146766028913960400191505060405180910390fd5b6000826001600160a01b031663089fe6aa6040518163ffffffff1660e01b815260040160206040518083038186803b158015613d8c57600080fd5b505afa158015613da0573d6000803e3d6000fd5b505050506040513d6020811015613db657600080fd5b505161ffff612710918203169150600090613de790613ddb888a63ffffffff61445016565b9063ffffffff61445016565b90506000613dff83613ddb888b63ffffffff613c7616565b9050613e1c6001828481613e0f57fe5b049063ffffffff6144b316565b98975050505050505050565b6000808411613e685760405162461bcd60e51b815260040180806020018281038252602581526020018061462b6025913960400191505060405180910390fd5b600083118015613e785750600082115b613eb35760405162461bcd60e51b81526004018080602001828103825260288152602001806146766028913960400191505060405180910390fd5b82613ec4858463ffffffff61445016565b81613ecb57fe5b04949350505050565b600080826001600160a01b0316846001600160a01b03161415613f285760405162461bcd60e51b81526004018080602001828103825260258152602001806146066025913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b031610613f48578284613f4b565b83835b90925090506001600160a01b038216613fab576040805162461bcd60e51b815260206004820152601e60248201527f536f6c69646c7956324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b9250929050565b6000808511613ff25760405162461bcd60e51b815260040180806020018281038252602b815260200180614503602b913960400191505060405180910390fd5b6000841180156140025750600083115b61403d5760405162461bcd60e51b81526004018080602001828103825260288152602001806146766028913960400191505060405180910390fd5b6000826001600160a01b031663089fe6aa6040518163ffffffff1660e01b815260040160206040518083038186803b15801561407857600080fd5b505afa15801561408c573d6000803e3d6000fd5b505050506040513d60208110156140a257600080fd5b50516127100361ffff16905060006140ba8783614450565b905060006140ce828763ffffffff61445016565b905060006140f4836140e88a61271063ffffffff61445016565b9063ffffffff6144b316565b90508082816140ff57fe5b049998505050505050505050565b6040805163e6a4390560e01b81526001600160a01b03888116600483015287811660248301529151600092839283927f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb719092169163e6a4390591604480820192602092909190829003018186803b15801561418757600080fd5b505afa15801561419b573d6000803e3d6000fd5b505050506040513d60208110156141b157600080fd5b50516001600160a01b0316141561426457604080516364e329cb60e11b81526001600160a01b038a81166004830152898116602483015291517f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb719092169163c9c65396916044808201926020929091908290030181600087803b15801561423757600080fd5b505af115801561424b573d6000803e3d6000fd5b505050506040513d602081101561426157600080fd5b50505b6000806142927f000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb718b8b614382565b50915091508160001480156142a5575080155b156142b557879350869250614375565b60006142c2898484613e28565b9050878111614315578581101561430a5760405162461bcd60e51b81526004018080602001828103825260268152602001806146506026913960400191505060405180910390fd5b889450925082614373565b6000614322898486613e28565b90508981111561432e57fe5b8781101561436d5760405162461bcd60e51b815260040180806020018281038252602681526020018061469e6026913960400191505060405180910390fd5b94508793505b505b5050965096945050505050565b6000806000806143928686613ed4565b5090506143a087878761338b565b9150600080836001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156143de57600080fd5b505afa1580156143f2573d6000803e3d6000fd5b505050506040513d606081101561440857600080fd5b5080516020909101516001600160701b0391821693501690506001600160a01b038881169084161461443b57808261443e565b81815b909a9099509397509295505050505050565b600081158061446b5750508082028282828161446857fe5b04145b61112c576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b8082018281101561112c576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfe536f6c69646c7956324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54536f6c69646c795632526f757465723a20455850495245440000000000000000536f6c69646c795632526f757465723a204558434553534956455f494e5055545f414d4f554e545472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c65645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c6564536f6c69646c7956324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e54536f6c69646c7956324c6962726172793a204944454e544943414c5f414444524553534553536f6c69646c7956324c6962726172793a20494e53554646494349454e545f414d4f554e54536f6c69646c795632526f757465723a20494e53554646494349454e545f425f414d4f554e54536f6c69646c7956324c6962726172793a20494e53554646494349454e545f4c4951554944495459536f6c69646c795632526f757465723a20494e53554646494349454e545f415f414d4f554e54536f6c69646c795632526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e545472616e7366657248656c7065723a3a736166655472616e736665723a207472616e73666572206661696c6564536f6c69646c795632526f757465723a20494e56414c49445f50415448000000a164736f6c6343000606000a

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

000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb71000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38

-----Decoded View---------------
Arg [0] : _factory (address): 0x079463f811e6EB2E226908E79144CDDB59a7fB71
Arg [1] : _WETH (address): 0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000079463f811e6eb2e226908e79144cddb59a7fb71
Arg [1] : 000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38


Block Transaction 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
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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