ETH Price: $3,096.38 (-1.29%)

Contract

0xA235e1518e978E5367624CdDb12a084eef9F06b6
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Remove Liquidity...196809692024-04-18 7:51:35215 days ago1713426695IN
0xA235e151...eef9F06b6
0 ETH0.0020480210.13235784
Remove Liquidity...196776012024-04-17 20:32:35216 days ago1713385955IN
0xA235e151...eef9F06b6
0 ETH0.0021636411
Remove Liquidity...196728952024-04-17 4:46:11217 days ago1713329171IN
0xA235e151...eef9F06b6
0 ETH0.001390257.06740962
Remove Liquidity...196660332024-04-16 5:42:47217 days ago1713246167IN
0xA235e151...eef9F06b6
0 ETH0.001954549.29036188
Remove Liquidity...196642412024-04-15 23:40:23218 days ago1713224423IN
0xA235e151...eef9F06b6
0 ETH0.001511597.68496593
Remove Liquidity...196589772024-04-15 5:57:35218 days ago1713160655IN
0xA235e151...eef9F06b6
0 ETH0.001858718.78275243
Remove Liquidity...195586772024-04-01 4:40:23233 days ago1711946423IN
0xA235e151...eef9F06b6
0 ETH0.0027993414.85411653
Remove Liquidity...195585882024-04-01 4:22:35233 days ago1711945355IN
0xA235e151...eef9F06b6
0 ETH0.0031556215
Remove Liquidity...190624902024-01-22 13:12:11302 days ago1705929131IN
0xA235e151...eef9F06b6
0 ETH0.003947818.76474163
Remove Liquidity...183091682023-10-08 23:54:11408 days ago1696809251IN
0xA235e151...eef9F06b6
0 ETH0.00107115.29916689
Remove Liquidity...183091622023-10-08 23:52:59408 days ago1696809179IN
0xA235e151...eef9F06b6
0 ETH0.001047814.95135112
Swap Exact Token...182601222023-10-02 3:20:35415 days ago1696216835IN
0xA235e151...eef9F06b6
0 ETH0.000295426.4906401
Swap Exact ETH F...181892022023-09-22 5:06:35424 days ago1695359195IN
0xA235e151...eef9F06b6
0.1 ETH0.00126897.50880541
Swap Exact ETH F...181140262023-09-11 15:32:59435 days ago1694446379IN
0xA235e151...eef9F06b6
0.4 ETH0.0058601634.67776387
Add Unbalanced L...174701132023-06-13 9:14:11525 days ago1686647651IN
0xA235e151...eef9F06b6
8.65 ETH0.0028461314.64979975
Add Unbalanced L...174057122023-06-04 7:16:47534 days ago1685863007IN
0xA235e151...eef9F06b6
7.75 ETH0.0038026419.57071373
Add Unbalanced L...173128802023-05-22 5:52:47547 days ago1684734767IN
0xA235e151...eef9F06b6
5.49348 ETH0.0055102526.06825558
Add Unbalanced L...172611322023-05-14 22:44:11555 days ago1684104251IN
0xA235e151...eef9F06b6
2.82 ETH0.0067373934.67914851
Remove Liquidity...172513762023-05-13 13:33:11556 days ago1683984791IN
0xA235e151...eef9F06b6
0 ETH0.0089206542.15171366
Add Liquidity ET...171572542023-04-30 7:03:23569 days ago1682838203IN
0xA235e151...eef9F06b6
0.70560693 ETH0.0063889735.82146227
Add Liquidity ET...171370612023-04-27 10:56:11572 days ago1682592971IN
0xA235e151...eef9F06b6
0.06177912 ETH0.0058879633.34481589
Add Unbalanced L...171152852023-04-24 9:34:35575 days ago1682328875IN
0xA235e151...eef9F06b6
1.35527 ETH0.0072463234.28523202
Remove Unbalance...170552402023-04-15 22:07:23584 days ago1681596443IN
0xA235e151...eef9F06b6
0 ETH0.0052996423.73915126
Add Unbalanced L...170551952023-04-15 21:58:11584 days ago1681595891IN
0xA235e151...eef9F06b6
0.57015 ETH0.0046628421.80245724
Remove Liquidity...170496822023-04-15 3:09:47585 days ago1681528187IN
0xA235e151...eef9F06b6
0 ETH0.0042370621.40448498
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
196809692024-04-18 7:51:35215 days ago1713426695
0xA235e151...eef9F06b6
0.13538561 ETH
196809692024-04-18 7:51:35215 days ago1713426695
0xA235e151...eef9F06b6
0.13538561 ETH
196776012024-04-17 20:32:35216 days ago1713385955
0xA235e151...eef9F06b6
0.44698253 ETH
196776012024-04-17 20:32:35216 days ago1713385955
0xA235e151...eef9F06b6
0.44698253 ETH
196728952024-04-17 4:46:11217 days ago1713329171
0xA235e151...eef9F06b6
11.07948541 ETH
196728952024-04-17 4:46:11217 days ago1713329171
0xA235e151...eef9F06b6
11.07948541 ETH
196660332024-04-16 5:42:47217 days ago1713246167
0xA235e151...eef9F06b6
1.44632166 ETH
196660332024-04-16 5:42:47217 days ago1713246167
0xA235e151...eef9F06b6
1.44632166 ETH
196642412024-04-15 23:40:23218 days ago1713224423
0xA235e151...eef9F06b6
8.71857556 ETH
196642412024-04-15 23:40:23218 days ago1713224423
0xA235e151...eef9F06b6
8.71857556 ETH
196589772024-04-15 5:57:35218 days ago1713160655
0xA235e151...eef9F06b6
0.36133938 ETH
196589772024-04-15 5:57:35218 days ago1713160655
0xA235e151...eef9F06b6
0.36133938 ETH
195586772024-04-01 4:40:23233 days ago1711946423
0xA235e151...eef9F06b6
0.52818551 ETH
195586772024-04-01 4:40:23233 days ago1711946423
0xA235e151...eef9F06b6
0.52818551 ETH
195585882024-04-01 4:22:35233 days ago1711945355
0xA235e151...eef9F06b6
0.72742126 ETH
195585882024-04-01 4:22:35233 days ago1711945355
0xA235e151...eef9F06b6
0.72742126 ETH
190624902024-01-22 13:12:11302 days ago1705929131
0xA235e151...eef9F06b6
2.34773832 ETH
190624902024-01-22 13:12:11302 days ago1705929131
0xA235e151...eef9F06b6
2.34773832 ETH
183091682023-10-08 23:54:11408 days ago1696809251
0xA235e151...eef9F06b6
0.283818 ETH
183091682023-10-08 23:54:11408 days ago1696809251
0xA235e151...eef9F06b6
0.283818 ETH
183091622023-10-08 23:52:59408 days ago1696809179
0xA235e151...eef9F06b6
0.23042642 ETH
183091622023-10-08 23:52:59408 days ago1696809179
0xA235e151...eef9F06b6
0.23042642 ETH
181892022023-09-22 5:06:35424 days ago1695359195
0xA235e151...eef9F06b6
0.1 ETH
181140262023-09-11 15:32:59435 days ago1694446379
0xA235e151...eef9F06b6
0.4 ETH
174701132023-06-13 9:14:11525 days ago1686647651
0xA235e151...eef9F06b6
8.65 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SCRYRouter

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion
File 1 of 11 : SCRYRouter.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity =0.6.12;

import '../core/interfaces/ISCRYERC20Permit.sol';
import '../solidity-lib/libraries/TransferHelper.sol';

import './interfaces/ISCRYRouter.sol';
import './interfaces/IWETH.sol';
import './libraries/SCRYLibrary.sol';
import './libraries/SafeMathSCRY.sol';
import './LiquidityRouter.sol';

contract SCRYRouter is ISCRYRouter {
    using SafeMathSCRY for uint;

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

    modifier ensure(uint deadline) {
        require(deadline >= block.timestamp, 'EXPIRED');
        // EOA only
        require(tx.origin == msg.sender, 'INVALID SENDER');
        _;
    }

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

    receive() external payable {
        assert(msg.sender == WETH);
    }

    // **** ADD LIQUIDITY ****
    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external virtual override returns (uint amountA, uint amountB, uint liquidity) {
        (bool success, bytes memory result) = liquidityRouter.delegatecall(
            abi.encodeWithSelector(LiquidityRouter.addLiquidity.selector, 
            tokenA, tokenB, amountADesired, amountBDesired, amountAMin, amountBMin, to, deadline));
        require(success);
        return abi.decode(result, (uint, uint, uint));
    }
    function addUnbalancedLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external virtual override returns (uint amountA, uint amountB, uint liquidity) {
        (bool success, bytes memory result) = liquidityRouter.delegatecall(
            abi.encodeWithSelector(LiquidityRouter.addUnbalancedLiquidity.selector, 
            tokenA, tokenB, amountADesired, amountBDesired, amountAMin, amountBMin, to, deadline));
        require(success);
        return abi.decode(result, (uint, uint, uint));
    }
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external virtual override payable returns (uint amountToken, uint amountETH, uint liquidity) {
        (bool success, bytes memory result) = liquidityRouter.delegatecall(
            abi.encodeWithSelector(LiquidityRouter.addLiquidityETH.selector, 
            token, amountTokenDesired, amountTokenMin, amountETHMin, to, deadline));
        require(success);
        return abi.decode(result, (uint, uint, uint));
    }
    function addUnbalancedLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external virtual override payable returns (uint amountToken, uint amountETH, uint liquidity) {
        (bool success, bytes memory result) = liquidityRouter.delegatecall(
            abi.encodeWithSelector(LiquidityRouter.addUnbalancedLiquidityETH.selector, 
            token, amountTokenDesired, amountTokenMin, amountETHMin, to, deadline));
        require(success);
        return abi.decode(result, (uint, uint, uint));
    }

    // **** REMOVE LIQUIDITY ****
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) public virtual override returns (uint amountA, uint amountB) {
        (bool success, bytes memory result) = liquidityRouter.delegatecall(
            abi.encodeWithSelector(LiquidityRouter.removeLiquidity.selector, 
            tokenA, tokenB, liquidity, amountAMin, amountBMin, to, deadline));
        require(success);
        return abi.decode(result, (uint, uint));
    } 
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) public virtual override returns (uint amountToken, uint amountETH) {
        (bool success, bytes memory result) = liquidityRouter.delegatecall(
            abi.encodeWithSelector(LiquidityRouter.removeLiquidityETH.selector, 
            token, liquidity, amountTokenMin, amountETHMin, to, deadline));
        require(success);
        return abi.decode(result, (uint, uint));
    }
    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, uint) {
        _permit(tokenA, tokenB, liquidity, deadline, approveMax, v, r, s);
        return 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, uint) {
        _permit(token, WETH, liquidity, deadline, approveMax, v, r, s);
        return removeLiquidityETH(token, liquidity, amountTokenMin, amountETHMin, to, deadline);
    }
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) public virtual override returns (uint amountETH) {
        (, amountETH) = removeLiquidity(token, WETH, liquidity, amountTokenMin, amountETHMin, address(this), deadline);
        TransferHelper.safeTransfer(token, to, ISCRYERC20Permit(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) {
        _permit(token, WETH, liquidity, deadline, approveMax, v, r, s);
        return removeLiquidityETHSupportingFeeOnTransferTokens(token, liquidity, amountTokenMin, amountETHMin, to, deadline);
    }
    function removeUnbalancedLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAExact,
        uint amountBMin,
        address to,
        uint deadline
    ) public virtual override returns (uint, uint) {
        (bool success, bytes memory result) = liquidityRouter.delegatecall(
            abi.encodeWithSelector(LiquidityRouter.removeUnbalancedLiquidity.selector, 
            tokenA, tokenB, liquidity, amountAExact, amountBMin, to, deadline));
        require(success);
        return abi.decode(result, (uint, uint));
    }
    function removeUnbalancedLiquidityETH(
        address token,
        uint liquidity,
        address exactToken,
        uint exactTokenAmount,
        uint otherTokenMin,
        address to,
        uint deadline
    ) public virtual override returns (uint, uint) {
        (bool success, bytes memory result) = liquidityRouter.delegatecall(
            abi.encodeWithSelector(LiquidityRouter.removeUnbalancedLiquidityETH.selector, 
            token, liquidity, exactToken, exactTokenAmount, otherTokenMin, to, deadline));
        require(success);
        return abi.decode(result, (uint, uint));
    }
    function removeUnbalancedLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAExact,
        uint amountBMin,       
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external virtual override returns (uint, uint) {
        _permit(tokenA, tokenB, liquidity, deadline, approveMax, v, r, s);
        return removeUnbalancedLiquidity(tokenA, tokenB, liquidity, amountAExact, amountBMin, to, deadline);
    }
    function removeUnbalancedLiquidityETHWithPermit(
        address token,
        uint liquidity,
        address exactToken,
        uint exactTokenAmount,
        uint otherTokenMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external virtual override returns (uint, uint) {
        _permit(token, WETH, liquidity, deadline, approveMax, v, r, s);
        return removeUnbalancedLiquidityETH(token, liquidity, exactToken, exactTokenAmount, otherTokenMin, to, deadline);
    }
    function removeUnbalancedLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        address exactToken,
        uint exactTokenAmount,
        uint otherTokenMin,
        address to,
        uint deadline
    ) public virtual override returns (uint amountToken, uint amountETH) {
        if (exactToken == token) {
            (amountToken, amountETH) = removeUnbalancedLiquidity(token, WETH, liquidity, exactTokenAmount, otherTokenMin, address(this), deadline);
        } else {
            (amountETH, amountToken) = removeUnbalancedLiquidity(WETH, token, liquidity, exactTokenAmount, otherTokenMin, address(this), deadline);
        }
        TransferHelper.safeTransfer(token, to, amountToken);
        IWETH(WETH).withdraw(amountETH);
        TransferHelper.safeTransferETH(to, amountETH);
    }
    function removeUnbalancedLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        address exactToken,
        uint exactTokenAmount,
        uint otherTokenMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external virtual override returns (uint, uint) {
        _permit(token, WETH, liquidity, deadline, approveMax, v, r, s);
        return removeUnbalancedLiquidityETHSupportingFeeOnTransferTokens(token, liquidity, exactToken, exactTokenAmount, otherTokenMin, to, deadline);
    }
    function _permit(
        address tokenA, address tokenB, uint liquidity, uint deadline, 
        bool approveMax, uint8 v, bytes32 r, bytes32 s) internal {
        ISCRYERC20Permit(SCRYLibrary.pairFor(factory, tokenA, tokenB))
            .permit(msg.sender, address(this), approveMax ? uint(-1) : liquidity, deadline, v, r, s);
    }

    // **** SWAP ****
    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,) = SCRYLibrary.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 ? SCRYLibrary.pairFor(factory, output, path[i + 2]) : _to;
            ISCRYPair(SCRYLibrary.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 = SCRYLibrary.getAmountsOut(factory, amountIn, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'OUTPUT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, SCRYLibrary.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 = SCRYLibrary.getAmountsIn(factory, amountOut, path);
        require(amounts[0] <= amountInMax, 'INPUT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, SCRYLibrary.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, 'PATH');
        amounts = SCRYLibrary.getAmountsOut(factory, msg.value, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'OUTPUT');
        IWETH(WETH).deposit{value: amounts[0]}();
        assert(IWETH(WETH).transfer(SCRYLibrary.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, 'PATH');
        amounts = SCRYLibrary.getAmountsIn(factory, amountOut, path);
        require(amounts[0] <= amountInMax, 'INPUT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, SCRYLibrary.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, 'PATH');
        amounts = SCRYLibrary.getAmountsOut(factory, amountIn, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'OUTPUT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, SCRYLibrary.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, 'PATH');
        amounts = SCRYLibrary.getAmountsIn(factory, amountOut, path);
        require(amounts[0] <= msg.value, 'INPUT');
        IWETH(WETH).deposit{value: amounts[0]}();
        assert(IWETH(WETH).transfer(SCRYLibrary.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,) = SCRYLibrary.sortTokens(input, output);
            ISCRYPair pair = ISCRYPair(SCRYLibrary.pairFor(factory, input, output));
            uint amountInput;
            uint amountOutput;
            { // scope to avoid stack too deep errors
            (uint reserve0, uint reserve1,) = pair.getReserves();
            uint256 swapFee = pair.getSwapFee();
            (uint reserveInput, uint reserveOutput) = input == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
            amountInput = ISCRYERC20Permit(input).balanceOf(address(pair)).sub(reserveInput);
            amountOutput = SCRYLibrary.getAmountOut(amountInput, reserveInput, reserveOutput, swapFee);
            }
            (uint amount0Out, uint amount1Out) = input == token0 ? (uint(0), amountOutput) : (amountOutput, uint(0));
            address to = i < path.length - 2 ? SCRYLibrary.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, SCRYLibrary.pairFor(factory, path[0], path[1]), amountIn
        );
        uint balanceBefore = ISCRYERC20Permit(path[path.length - 1]).balanceOf(to);
        _swapSupportingFeeOnTransferTokens(path, to);
        require(
            ISCRYERC20Permit(path[path.length - 1]).balanceOf(to).sub(balanceBefore) >= amountOutMin,
            'OUTPUT'
        );
    }
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    )
        external
        virtual
        override
        payable
        ensure(deadline)
    {
        require(path[0] == WETH, 'PATH');
        uint amountIn = msg.value;
        IWETH(WETH).deposit{value: amountIn}();
        assert(IWETH(WETH).transfer(SCRYLibrary.pairFor(factory, path[0], path[1]), amountIn));
        uint balanceBefore = ISCRYERC20Permit(path[path.length - 1]).balanceOf(to);
        _swapSupportingFeeOnTransferTokens(path, to);
        require(
            ISCRYERC20Permit(path[path.length - 1]).balanceOf(to).sub(balanceBefore) >= amountOutMin,
            'OUTPUT'
        );
    }
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    )
        external
        virtual
        override
        ensure(deadline)
    {
        require(path[path.length - 1] == WETH, 'PATH');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, SCRYLibrary.pairFor(factory, path[0], path[1]), amountIn
        );
        _swapSupportingFeeOnTransferTokens(path, address(this));
        uint amountOut = ISCRYERC20Permit(WETH).balanceOf(address(this));
        require(amountOut >= amountOutMin, 'OUTPUT');
        IWETH(WETH).withdraw(amountOut);
        TransferHelper.safeTransferETH(to, amountOut);
    }

    // **** LIBRARY FUNCTIONS ****
    function quote(uint amountA, uint reserveA, uint reserveB) external pure virtual override returns (uint amountB) {
        return SCRYLibrary.quote(amountA, reserveA, reserveB);
    }
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut, uint swapFee)
        external
        pure
        virtual
        override
        returns (uint amountOut)
    {
        return SCRYLibrary.getAmountOut(amountIn, reserveIn, reserveOut, swapFee);
    }
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut, uint swapFee)
        external
        pure
        virtual
        override
        returns (uint amountIn)
    {
        return SCRYLibrary.getAmountIn(amountOut, reserveIn, reserveOut, swapFee);
    }
    function getAmountsOut(uint amountIn, address[] calldata path)
        external
        view
        virtual
        override
        returns (uint[] memory amounts)
    {
        return SCRYLibrary.getAmountsOut(factory, amountIn, path);
    }
    function getAmountsIn(uint amountOut, address[] calldata path)
        external
        view
        virtual
        override
        returns (uint[] memory amounts)
    {
        return SCRYLibrary.getAmountsIn(factory, amountOut, path);
    }
}

File 2 of 11 : ISCRYERC20.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.5.0;

interface ISCRYERC20 {
    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 11 : ISCRYERC20Permit.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.5.0;

import './ISCRYERC20.sol';

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

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

File 4 of 11 : ISCRYFactory.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.5.0;

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

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

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

File 5 of 11 : ISCRYPair.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.5.0;

import './ISCRYERC20Permit.sol';

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

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

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function burnUnbalanced(address to, uint token0Min, uint token1Min) external returns (uint amount0, uint amount1);
    function burnUnbalancedForExactToken(address to, address exactToken, uint amountExactOut) external returns (uint, uint);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function sync() external;

    function initialize(address, address, address) external;

    function setIsFlashSwapEnabled(bool _isFlashSwapEnabled) external;
    function setFeeToAddresses(address _feeTo0, address _feeTo1) external;
    function setRouter(address _router) external;
    function getSwapFee() external view returns (uint256);
}

File 6 of 11 : ISCRYRouter.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.6.2;

interface ISCRYRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function liquidityRouter() external 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 addUnbalancedLiquidity(
        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 addUnbalancedLiquidityETH(
        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, uint swapFee) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut, uint swapFee) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);

    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;

    // single sided remove liquidity
    function removeUnbalancedLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAExact,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint, uint);
    function removeUnbalancedLiquidityETH(
        address token,
        uint liquidity,
        address exactToken,
        uint exactTokenAmount,
        uint otherTokenMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeUnbalancedLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAExact,
        uint amountBMin,        
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint, uint);
    function removeUnbalancedLiquidityETHWithPermit(
        address token,
        uint liquidity,
        address exactToken,
        uint exactTokenAmount,
        uint otherTokenMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function removeUnbalancedLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        address exactToken,
        uint exactTokenAmount,
        uint otherTokenMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeUnbalancedLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        address exactToken,
        uint exactTokenAmount,
        uint otherTokenMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
}

File 7 of 11 : 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 11 : SafeMathSCRY.sol
pragma solidity >=0.5.0;

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

library SafeMathSCRY {
    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 11 : SCRYLibrary.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.5.0;

import '../../core/interfaces/ISCRYPair.sol';

import "./SafeMathSCRY.sol";

library SCRYLibrary {
    using SafeMathSCRY for uint;

    uint256 private constant MAX_FEE = 10000;

    // 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, 'SCRYLibrary: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'SCRYLibrary: 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'145dd2cfa2424da880d617d54d12f91d8751490aed761f21141a44032bee5947' // hardhat
                // hex'f2b57fa1700ce1fa58cc33bd5169a52d4fee4581fe629136551e37fe91552963' // init code hash
            ))));
    }

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

    // 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, 'SCRYLibrary: INSUFFICIENT_AMOUNT');
        require(reserveA > 0 && reserveB > 0, 'SCRYLibrary: INSUFFICIENT_LIQUIDITYQ');
        // amount * price
        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, uint swapFee) internal pure returns (uint amountOut) {
        require(amountIn > 0, 'SCRYLibrary: INSUFFICIENT_INPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'SCRYLibrary: INSUFFICIENT_LIQUIDITY1');
        uint GAMMA = MAX_FEE.sub(swapFee);
        uint amountInWithFee = amountIn.mul(GAMMA);
        uint numerator = amountInWithFee.mul(reserveOut);
        uint denominator = reserveIn.mul(MAX_FEE).add(amountIn.mul(MAX_FEE.add(GAMMA)));
        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, uint swapFee) internal pure returns (uint amountIn) {
        require(amountOut > 0, 'SCRYLibrary: INSUFFICIENT_OUTPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'SCRYLibrary: INSUFFICIENT_LIQUIDITY2');
        uint GAMMA = MAX_FEE.sub(swapFee);
        uint numerator = reserveIn.mul(amountOut).mul(MAX_FEE);
        uint denominator = reserveOut.mul(GAMMA).sub(amountOut.mul(MAX_FEE.add(GAMMA)));
        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, 'SCRYLibrary: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[0] = amountIn;
        for (uint i; i < path.length - 1; i++) {
            (uint reserveIn, uint reserveOut, uint swapFee) = getReservesAndFee(factory, path[i], path[i + 1]);
            amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut, swapFee);
        }
    }

    // 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, 'SCRYLibrary: 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, uint swapFee) = getReservesAndFee(factory, path[i - 1], path[i]);
            amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut, swapFee);
        }
    }
}

File 10 of 11 : LiquidityRouter.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity =0.6.12;

import '../core/interfaces/ISCRYERC20.sol';
import '../core/interfaces/ISCRYFactory.sol';
import '../solidity-lib/libraries/TransferHelper.sol';

import './interfaces/ISCRYRouter.sol';
import './interfaces/IWETH.sol';
import './libraries/SCRYLibrary.sol';
import './libraries/SafeMathSCRY.sol';

contract LiquidityRouter {
    using SafeMathSCRY for uint;

    address public immutable factory;
    address public immutable WETH;

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

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

    // **** 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 (ISCRYFactory(factory).getPair(tokenA, tokenB) == address(0)) {
            ISCRYFactory(factory).createPair(tokenA, tokenB);
        }
        (uint reserveA, uint reserveB,) = SCRYLibrary.getReservesAndFee(factory, tokenA, tokenB);
        if (reserveA == 0 && reserveB == 0) {
            (amountA, amountB) = (amountADesired, amountBDesired);
        } else {
            uint amountBOptimal = SCRYLibrary.quote(amountADesired, reserveA, reserveB);
            if (amountBOptimal <= amountBDesired) {
                // swap A for B
                require(amountBOptimal >= amountBMin, 'LiquidityRouter: INSUFFICIENT_B_AMOUNT');
                (amountA, amountB) = (amountADesired, amountBOptimal);
                require(amountA >= amountAMin, 'LiquidityRouter: INSUFFICIENT_A_AMOUNT');
            } else {
                // swap B for A
                uint amountAOptimal = SCRYLibrary.quote(amountBDesired, reserveB, reserveA);
                assert(amountAOptimal <= amountADesired);
                require(amountAOptimal >= amountAMin, 'LiquidityRouter: INSUFFICIENT_A_AMOUNT');
                (amountA, amountB) = (amountAOptimal, amountBDesired);
                require(amountB >= amountBMin, 'LiquidityRouter: INSUFFICIENT_B_AMOUNT');
            }
        }
    }
    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external virtual ensure(deadline) returns (uint amountA, uint amountB, uint liquidity) {
        (amountA, amountB) = _addLiquidity(tokenA, tokenB, amountADesired, amountBDesired, amountAMin, amountBMin);
        address pair = SCRYLibrary.pairFor(factory, tokenA, tokenB);
        TransferHelper.safeTransferFrom(tokenA, msg.sender, pair, amountA);
        TransferHelper.safeTransferFrom(tokenB, msg.sender, pair, amountB);
        liquidity = ISCRYPair(pair).mint(to);
    }

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external virtual payable ensure(deadline) returns (uint amountToken, uint amountETH, uint liquidity) {
        (amountToken, amountETH) = _addLiquidity(
            token,
            WETH,
            amountTokenDesired,
            msg.value,
            amountTokenMin,
            amountETHMin
        );
        address pair = SCRYLibrary.pairFor(factory, token, WETH);
        TransferHelper.safeTransferFrom(token, msg.sender, pair, amountToken);
        IWETH(WETH).deposit{value: amountETH}();
        assert(IWETH(WETH).transfer(pair, amountETH));
        liquidity = ISCRYPair(pair).mint(to);
        // refund dust eth, if any
        if (msg.value > amountETH) TransferHelper.safeTransferETH(msg.sender, msg.value - amountETH);
    }

    // amountAMin and amountBMin represent minimum amounts if liquidity were withdrawn equally
    function addUnbalancedLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external virtual ensure(deadline) returns (uint amountA, uint amountB, uint liquidity) {
        if (ISCRYFactory(factory).getPair(tokenA, tokenB) == address(0)) {
            ISCRYFactory(factory).createPair(tokenA, tokenB);
        }
        address pair = ISCRYFactory(factory).getPair(tokenA, tokenB);
        TransferHelper.safeTransferFrom(tokenA, msg.sender, pair, amountADesired);
        TransferHelper.safeTransferFrom(tokenB, msg.sender, pair, amountBDesired);
        liquidity = ISCRYPair(pair).mint(to);
        (amountA, amountB) = checkMintedAmount(liquidity, pair, tokenA, tokenB, amountAMin, amountBMin);
    }
    
    // ensure if you burned the liquidity you could get at least amountAMin and amountBMin back
    function checkMintedAmount(uint liquidity, address pair, address tokenA, address tokenB, uint amountAMin, uint amountBMin) private view returns (uint amountA, uint amountB) {
        uint balanceA = ISCRYERC20(tokenA).balanceOf(pair);
        uint balanceB = ISCRYERC20(tokenB).balanceOf(pair);
        uint totalSupply = ISCRYERC20(pair).totalSupply();
        amountA = liquidity.mul(balanceA) / totalSupply; 
        amountB = liquidity.mul(balanceB) / totalSupply;
        require(amountA >= amountAMin, 'LiquidityRouter: INSUFFICIENT_A');
        require(amountB >= amountBMin, 'LiquidityRouter: INSUFFICIENT_B');
    }

    function addUnbalancedLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external virtual payable ensure(deadline) returns (uint amountToken, uint amountETH, uint liquidity) {
        if (ISCRYFactory(factory).getPair(token, WETH) == address(0)) {
            ISCRYFactory(factory).createPair(token, WETH);
        }
        address pair = ISCRYFactory(factory).getPair(token, WETH);
        TransferHelper.safeTransferFrom(token, msg.sender, pair, amountTokenDesired); 
        IWETH(WETH).deposit{value: msg.value}();
        assert(IWETH(WETH).transfer(pair, msg.value));
        liquidity = ISCRYPair(pair).mint(to);
        (amountToken, amountETH) = checkMintedAmount(liquidity, pair, token, WETH, amountTokenMin, amountETHMin);
    }

    // **** REMOVE LIQUIDITY ****
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) public virtual ensure(deadline) returns (uint amountA, uint amountB) {
        address pair = SCRYLibrary.pairFor(factory, tokenA, tokenB);
        ISCRYERC20(pair).transferFrom(msg.sender, pair, liquidity); // send liquidity to pair
        (uint amount0, uint amount1) = ISCRYPair(pair).burn(to);
        (address token0,) = SCRYLibrary.sortTokens(tokenA, tokenB);
        (amountA, amountB) = tokenA == token0 ? (amount0, amount1) : (amount1, amount0);
        require(amountA >= amountAMin, 'LiquidityRouter: INSUFFICIENT_A_AMOUNT');
        require(amountB >= amountBMin, 'LiquidityRouter: INSUFFICIENT_B_AMOUNT');
    }
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) public virtual ensure(deadline) returns (uint amountToken, uint amountETH) {
        address pair = SCRYLibrary.pairFor(factory, token, WETH);
        ISCRYERC20(pair).transferFrom(msg.sender, pair, liquidity); // send liquidity to pair
        (uint amount0, uint amount1) = ISCRYPair(pair).burn(address(this));
        (address token0,) = SCRYLibrary.sortTokens(token, WETH);
        (amountToken, amountETH) = token == token0 ? (amount0, amount1) : (amount1, amount0);
        require(amountToken >= amountTokenMin, 'LiquidityRouter: INSUFFICIENT_TOKEN_AMOUNT');
        require(amountETH >= amountETHMin, 'LiquidityRouter: INSUFFICIENT_WETH_AMOUNT');

        TransferHelper.safeTransfer(token, to, amountToken);
        IWETH(WETH).withdraw(amountETH);
        TransferHelper.safeTransferETH(to, amountETH);
    }
    function removeUnbalancedLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAExact,
        uint amountBMin,
        address to,
        uint deadline
    ) public virtual ensure(deadline) returns (uint, uint) {
        address pair = SCRYLibrary.pairFor(factory, tokenA, tokenB);
        ISCRYERC20(pair).transferFrom(msg.sender, pair, liquidity); // send liquidity to pair
        (uint amount0, uint amount1) = ISCRYPair(pair).burnUnbalancedForExactToken(to, tokenA, amountAExact);

        (address token0,) = SCRYLibrary.sortTokens(tokenA, tokenB);
        if (token0 == tokenA) {
            require(amount0 >= amountAExact, 'LiquidityRouter: INSUFFICIENT_A');
            require(amount1 >= amountBMin, 'LiquidityRouter: INSUFFICIENT_B');
            return (amount0, amount1);
        } else {
            require(amount0 >= amountBMin, 'LiquidityRouter: INSUFFICIENT_B');
            require(amount1 >= amountAExact, 'LiquidityRouter: INSUFFICIENT_A');
            return (amount1, amount0);
        }
    }
    function removeUnbalancedLiquidityETH(
        address token,
        uint liquidity,
        address exactToken,
        uint exactTokenAmount,
        uint otherTokenMin,
        address to,
        uint deadline
    ) public virtual ensure(deadline) returns (uint amountToken, uint amountETH) {
        address pair = SCRYLibrary.pairFor(factory, token, WETH);
        ISCRYERC20(pair).transferFrom(msg.sender, pair, liquidity); // send liquidity to pair
        (uint amount0, uint amount1) = ISCRYPair(pair).burnUnbalancedForExactToken(address(this), exactToken, exactTokenAmount);

        (address token0,) = SCRYLibrary.sortTokens(token, WETH);
        (amountToken, amountETH) = (token == token0) ? (amount0, amount1) : (amount1, amount0); 
        if (exactToken == token) {
            require(amountToken >= exactTokenAmount, 'LiquidityRouter: INSUFFICIENT_TOKEN');
            require(amountETH >= otherTokenMin, 'LiquidityRouter: INSUFFICIENT_ETH');
        } else {
            require(amountETH >= exactTokenAmount, 'LiquidityRouter: INSUFFICIENT_ETH');
            require(amountToken >= otherTokenMin, 'LiquidityRouter: INSUFFICIENT_TOKEN');
        }

        TransferHelper.safeTransfer(token, to, amountToken);
        IWETH(WETH).withdraw(amountETH);
        TransferHelper.safeTransferETH(to, amountETH);
    }
}

File 11 of 11 : 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": 999999
  },
  "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":[{"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":"addUnbalancedLiquidity","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":"addUnbalancedLiquidityETH","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":"uint256","name":"swapFee","type":"uint256"}],"name":"getAmountIn","outputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"},{"internalType":"uint256","name":"swapFee","type":"uint256"}],"name":"getAmountOut","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsIn","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsOut","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"","type":"uint256"},{"internalType":"uint256","name":"","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":"","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":"","type":"uint256"},{"internalType":"uint256","name":"","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":"amountAExact","type":"uint256"},{"internalType":"uint256","name":"amountBMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeUnbalancedLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"address","name":"exactToken","type":"address"},{"internalType":"uint256","name":"exactTokenAmount","type":"uint256"},{"internalType":"uint256","name":"otherTokenMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeUnbalancedLiquidityETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"address","name":"exactToken","type":"address"},{"internalType":"uint256","name":"exactTokenAmount","type":"uint256"},{"internalType":"uint256","name":"otherTokenMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeUnbalancedLiquidityETHSupportingFeeOnTransferTokens","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":"address","name":"exactToken","type":"address"},{"internalType":"uint256","name":"exactTokenAmount","type":"uint256"},{"internalType":"uint256","name":"otherTokenMin","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":"removeUnbalancedLiquidityETHWithPermit","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"address","name":"exactToken","type":"address"},{"internalType":"uint256","name":"exactTokenAmount","type":"uint256"},{"internalType":"uint256","name":"otherTokenMin","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":"removeUnbalancedLiquidityETHWithPermitSupportingFeeOnTransferTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","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":"amountAExact","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":"removeUnbalancedLiquidityWithPermit","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","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"}]

60e06040523480156200001157600080fd5b506040516200961e3803806200961e833981810160405260408110156200003757600080fd5b5080516020909101516001600160601b0319606083811b821660805282901b1660a052604051829082906200006c90620000ba565b6001600160a01b03928316815291166020820152604080519182900301906000f080158015620000a0573d6000803e3d6000fd5b5060601b6001600160601b03191660c05250620000c89050565b613613806200600b83390190565b60805160601c60a05160601c60c05160601c615e0e620001fd6000398061126252806118f1528061230852806124d25280612e8d5280613a155280613c5c5280613e345280613f4e52508061021f528061137a52806114be52806117995280611c1f5280611e1e5280612632528061277352806128975280612a2e5280612bf95280612c8e52806131a152806131d9528061321552806132aa52806132e152806133af528061352c528061361652806136975280613aad5280613b4f5280614099528061426152806142f65250806115b252806116c6528061186c52806119f85280611d135280611f765280612b165280612ccd528061308652806136d65280613a825280613aed52806141815280614335528061447b5280614a955280614ad852806151cd52806154315250615e0e6000f3fe6080604052600436106102025760003560e01c80637ff36ab51161011d578063baa2abde116100b0578063ded9382a1161007f578063f2d1ca3211610064578063f2d1ca321461105e578063f305d719146110cd578063fb3bdb411461112057610248565b8063ded9382a14610f6f578063e8e3370014610fef57610248565b8063baa2abde14610de1578063c45a015514610e4b578063ce3de47b14610e60578063d06ca61f14610eeb57610248565b8063ad5c4648116100ec578063ad5c464814610ca3578063ad615dec14610cb8578063af2979eb14610cee578063b6f9de9514610d4e57610248565b80637ff36ab514610a9057806384c1627214610b235780638803dbee14610b9457806399e5013314610c3957610248565b806352707d8c116101955780636e6fcdfd116101645780636e6fcdfd1461088c5780637191172b146108f6578063791ac947146109605780637dada4d914610a0557610248565b806352707d8c146106dd578063571fd0121461072b5780635b0d5984146107675780635c11d795146107e757610248565b80632195995c116101d15780632195995c146104ca578063247029441461055557806338ed1739146105935780634a25d94a1461063857610248565b806302751cec1461024d578063110cd8f5146102c657806318cbafe5146103515780631f00ca741461044657610248565b36610248573373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461024657fe5b005b600080fd5b34801561025957600080fd5b506102ad600480360360c081101561027057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a001356111b3565b6040805192835260208301919091528051918290030190f35b3480156102d257600080fd5b506102ad60048036036101608110156102ea57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013591604082013581169160608101359160808201359160a08101359091169060c08101359060e081013515159060ff6101008201351690610120810135906101400135611371565b34801561035d57600080fd5b506103f6600480360360a081101561037457600080fd5b81359160208101359181019060608101604082013564010000000081111561039b57600080fd5b8201836020820111156103ad57600080fd5b803590602001918460208302840111640100000000831117156103cf57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff81351690602001356113c7565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561043257818101518382015260200161041a565b505050509050019250505060405180910390f35b34801561045257600080fd5b506103f66004803603604081101561046957600080fd5b8135919081019060408101602082013564010000000081111561048b57600080fd5b82018360208201111561049d57600080fd5b803590602001918460208302840111640100000000831117156104bf57600080fd5b509092509050611865565b3480156104d657600080fd5b506102ad60048036036101608110156104ee57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359091169060c08101359060e081013515159060ff61010082013516906101208101359061014001356118cd565b34801561056157600080fd5b5061056a6118ef565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561059f57600080fd5b506103f6600480360360a08110156105b657600080fd5b8135916020810135918101906060810160408201356401000000008111156105dd57600080fd5b8201836020820111156105ef57600080fd5b8035906020019184602083028401116401000000008311171561061157600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135611913565b34801561064457600080fd5b506103f6600480360360a081101561065b57600080fd5b81359160208101359181019060608101604082013564010000000081111561068257600080fd5b82018360208201111561069457600080fd5b803590602001918460208302840111640100000000831117156106b657600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135611b28565b3480156106e957600080fd5b506107196004803603608081101561070057600080fd5b5080359060208101359060408101359060600135611df1565b60408051918252519081900360200190f35b34801561073757600080fd5b506107196004803603608081101561074e57600080fd5b5080359060208101359060408101359060600135611e08565b34801561077357600080fd5b50610719600480360361014081101561078b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e08201351690610100810135906101200135611e16565b3480156107f357600080fd5b50610246600480360360a081101561080a57600080fd5b81359160208101359181019060608101604082013564010000000081111561083157600080fd5b82018360208201111561084357600080fd5b8035906020019184602083028401116401000000008311171561086557600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135611e65565b34801561089857600080fd5b506102ad600480360360e08110156108af57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359091169060c00135612250565b34801561090257600080fd5b506102ad600480360360e081101561091957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013591604082013581169160608101359160808201359160a08101359091169060c0013561241a565b34801561096c57600080fd5b50610246600480360360a081101561098357600080fd5b8135916020810135918101906060810160408201356401000000008111156109aa57600080fd5b8201836020820111156109bc57600080fd5b803590602001918460208302840111640100000000831117156109de57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff813516906020013561253d565b348015610a1157600080fd5b506102ad6004803603610160811015610a2957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359091169060c08101359060e081013515159060ff610100820135169061012081013590610140013561292a565b6103f660048036036080811015610aa657600080fd5b81359190810190604081016020820135640100000000811115610ac857600080fd5b820183602082011115610ada57600080fd5b80359060200191846020830284011164010000000083111715610afc57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff813516906020013561294c565b610b76600480360360c0811015610b3957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a00135612ddc565b60408051938452602084019290925282820152519081900360600190f35b348015610ba057600080fd5b506103f6600480360360a0811015610bb757600080fd5b813591602081013591810190606081016040820135640100000000811115610bde57600080fd5b820183602082011115610bf057600080fd5b80359060200191846020830284011164010000000083111715610c1257600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135612fa1565b348015610c4557600080fd5b506102ad600480360360e0811015610c5c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013591604082013581169160608101359160808201359160a08101359091169060c00135613164565b348015610caf57600080fd5b5061056a6132a8565b348015610cc457600080fd5b5061071960048036036060811015610cdb57600080fd5b50803590602081013590604001356132cc565b348015610cfa57600080fd5b50610719600480360360c0811015610d1157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a001356132d9565b61024660048036036080811015610d6457600080fd5b81359190810190604081016020820135640100000000811115610d8657600080fd5b820183602082011115610d9857600080fd5b80359060200191846020830284011164010000000083111715610dba57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff813516906020013561344c565b348015610ded57600080fd5b506102ad600480360360e0811015610e0457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359091169060c0013561395d565b348015610e5757600080fd5b5061056a613a80565b348015610e6c57600080fd5b506102ad6004803603610160811015610e8457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013591604082013581169160608101359160808201359160a08101359091169060c08101359060e081013515159060ff6101008201351690610120810135906101400135613aa4565b348015610ef757600080fd5b506103f660048036036040811015610f0e57600080fd5b81359190810190604081016020820135640100000000811115610f3057600080fd5b820183602082011115610f4257600080fd5b80359060200191846020830284011164010000000083111715610f6457600080fd5b509092509050613ae6565b348015610f7b57600080fd5b506102ad6004803603610140811015610f9357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e08201351690610100810135906101200135613b46565b348015610ffb57600080fd5b50610b76600480360361010081101561101357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359160c0820135169060e00135613b9a565b34801561106a57600080fd5b50610b76600480360361010081101561108257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359160c0820135169060e00135613d72565b610b76600480360360c08110156110e357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a00135613e9d565b6103f66004803603608081101561113657600080fd5b8135919081019060408101602082013564010000000081111561115857600080fd5b82018360208201111561116a57600080fd5b8035906020019184602083028401116401000000008311171561118c57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135613fb7565b6040805173ffffffffffffffffffffffffffffffffffffffff888116602483015260448201889052606482018790526084820186905284811660a483015260c48083018590528351808403909101815260e490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f02751cec0000000000000000000000000000000000000000000000000000000017815292518251600094859485946060947f00000000000000000000000000000000000000000000000000000000000000009190911693919290918291908083835b602083106112ce57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611291565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461132e576040519150601f19603f3d011682016040523d82523d6000602084013e611333565b606091505b50915091508161134257600080fd5b80806020019051604081101561135757600080fd5b508051602090910151909b909a5098505050505050505050565b6000806113a48d7f00000000000000000000000000000000000000000000000000000000000000008e8a8a8a8a8a614476565b6113b38d8d8d8d8d8d8d613164565b915091509b509b9950505050505050505050565b6060814281101561143957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b3233146114a757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001686867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff810181811061150c57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146115ad57604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f5041544800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b61160b7f0000000000000000000000000000000000000000000000000000000000000000898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506145a592505050565b9150868260018451038151811061161e57fe5b6020026020010151101561169357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f4f55545055540000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b611758868660008181106116a357fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff163361173e7f00000000000000000000000000000000000000000000000000000000000000008a8a60008181106116f257fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff168b8b600181811061171c57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16614711565b8560008151811061174b57fe5b60200260200101516147fc565b611797828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152503092506149cc915050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d836001855103815181106117e357fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561182157600080fd5b505af1158015611835573d6000803e3d6000fd5b5050505061185a848360018551038151811061184d57fe5b6020026020010151614c3d565b509695505050505050565b60606118c57f000000000000000000000000000000000000000000000000000000000000000085858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250614d7a92505050565b949350505050565b6000806118e08d8d8d8a8a8a8a8a614476565b6113b38d8d8d8d8d8d8d61395d565b7f000000000000000000000000000000000000000000000000000000000000000081565b6060814281101561198557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b3233146119f357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b611a517f0000000000000000000000000000000000000000000000000000000000000000898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506145a592505050565b91508682600184510381518110611a6457fe5b60200260200101511015611ad957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f4f55545055540000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b611ae9868660008181106116a357fe5b61185a828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508992506149cc915050565b60608142811015611b9a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b323314611c0857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001686867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101818110611c6d57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d0e57604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f5041544800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b611d6c7f000000000000000000000000000000000000000000000000000000000000000089888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250614d7a92505050565b91508682600081518110611d7c57fe5b6020026020010151111561169357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f494e505554000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611dff85858585614f0e565b95945050505050565b6000611dff8585858561503f565b6000611e488b7f00000000000000000000000000000000000000000000000000000000000000008c8989898989614476565b611e568b8b8b8b8b8b6132d9565b9b9a5050505050505050505050565b8042811015611ed557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b323314611f4357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b611fd285856000818110611f5357fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1633611fcc7f000000000000000000000000000000000000000000000000000000000000000089896000818110611fa257fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff168a8a600181811061171c57fe5b8a6147fc565b600085857fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff810181811061200257fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561208557600080fd5b505afa158015612099573d6000803e3d6000fd5b505050506040513d60208110156120af57600080fd5b505160408051602088810282810182019093528882529293506120f1929091899189918291850190849080828437600092019190915250889250615176915050565b866121d98288887fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff810181811061212457fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231886040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156121a757600080fd5b505afa1580156121bb573d6000803e3d6000fd5b505050506040513d60208110156121d157600080fd5b50519061558c565b101561224657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f4f55545055540000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b5050505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff89811660248301528881166044830152606482018890526084820187905260a4820186905284811660c483015260e48083018590528351808403909101815261010490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f6e6fcdfd0000000000000000000000000000000000000000000000000000000017815292518251600094859485946060947f00000000000000000000000000000000000000000000000000000000000000009190911693919290918291908083835b6020831061237457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612337565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146123d4576040519150601f19603f3d011682016040523d82523d6000602084013e6123d9565b606091505b5091509150816123e857600080fd5b8080602001905160408110156123fd57600080fd5b508051602090910151909450925050505b97509795505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff89811660248301526044820189905287811660648301526084820187905260a4820186905284811660c483015260e48083018590528351808403909101815261010490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f7191172b0000000000000000000000000000000000000000000000000000000017815292518251600094859485946060947f00000000000000000000000000000000000000000000000000000000000000009190911693919290918291908083836020831061237457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612337565b80428110156125ad57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b32331461261b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001685857fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff810181811061268057fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461272157604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f5041544800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b61273185856000818110611f5357fe5b61276f858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250615176915050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156127f857600080fd5b505afa15801561280c573d6000803e3d6000fd5b505050506040513d602081101561282257600080fd5b505190508681101561289557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f4f55545055540000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561290857600080fd5b505af115801561291c573d6000803e3d6000fd5b505050506122468482614c3d565b60008061293d8d8d8d8a8a8a8a8a614476565b6113b38d8d8d8d8d8d8d612250565b606081428110156129be57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b323314612a2c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1686866000818110612a7057fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612b1157604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f5041544800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b612b6f7f0000000000000000000000000000000000000000000000000000000000000000348888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506145a592505050565b91508682600184510381518110612b8257fe5b60200260200101511015612bf757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f4f55545055540000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db083600081518110612c4057fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b158015612c7357600080fd5b505af1158015612c87573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb612cf97f000000000000000000000000000000000000000000000000000000000000000089896000818110611fa257fe5b84600081518110612d0657fe5b60200260200101516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612d6157600080fd5b505af1158015612d75573d6000803e3d6000fd5b505050506040513d6020811015612d8b57600080fd5b5051612d9357fe5b612dd2828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508992506149cc915050565b5095945050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff888116602483015260448201889052606482018790526084820186905284811660a483015260c48083018590528351808403909101815260e490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f84c1627200000000000000000000000000000000000000000000000000000000178152925182516000948594859485946060947f0000000000000000000000000000000000000000000000000000000000000000929092169390918291908083835b60208310612ef757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612eba565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114612f57576040519150601f19603f3d011682016040523d82523d6000602084013e612f5c565b606091505b509150915081612f6b57600080fd5b808060200190516060811015612f8057600080fd5b5080516020820151604090920151909d919c509a5098505050505050505050565b6060814281101561301357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b32331461308157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b6130df7f000000000000000000000000000000000000000000000000000000000000000089888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250614d7a92505050565b915086826000815181106130ef57fe5b60200260200101511115611ad957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f494e505554000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000808873ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614156131d4576131ca897f00000000000000000000000000000000000000000000000000000000000000008a89893089612250565b9092509050613208565b6132037f00000000000000000000000000000000000000000000000000000000000000008a8a89893089612250565b925090505b613213898584615604565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561328657600080fd5b505af115801561329a573d6000803e3d6000fd5b5050505061240e8482614c3d565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006118c58484846157cb565b600061330a877f0000000000000000000000000000000000000000000000000000000000000000888888308861395d565b9050809150506133ad87848973ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561337c57600080fd5b505afa158015613390573d6000803e3d6000fd5b505050506040513d60208110156133a657600080fd5b5051615604565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561342057600080fd5b505af1158015613434573d6000803e3d6000fd5b505050506134428382614c3d565b9695505050505050565b80428110156134bc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b32331461352a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168585600081811061356e57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461360f57604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f5041544800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60003490507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561367c57600080fd5b505af1158015613690573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6137027f000000000000000000000000000000000000000000000000000000000000000089896000818110611fa257fe5b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561375657600080fd5b505af115801561376a573d6000803e3d6000fd5b505050506040513d602081101561378057600080fd5b505161378857fe5b600086867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81018181106137b857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561383b57600080fd5b505afa15801561384f573d6000803e3d6000fd5b505050506040513d602081101561386557600080fd5b505160408051602089810282810182019093528982529293506138a79290918a918a918291850190849080828437600092019190915250899250615176915050565b876121d98289897fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81018181106138da57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156121a757600080fd5b6040805173ffffffffffffffffffffffffffffffffffffffff89811660248301528881166044830152606482018890526084820187905260a4820186905284811660c483015260e48083018590528351808403909101815261010490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fbaa2abde0000000000000000000000000000000000000000000000000000000017815292518251600094859485946060947f00000000000000000000000000000000000000000000000000000000000000009190911693919290918291908083836020831061237457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612337565b7f000000000000000000000000000000000000000000000000000000000000000081565b600080613ad78d7f00000000000000000000000000000000000000000000000000000000000000008e8a8a8a8a8a614476565b6113b38d8d8d8d8d8d8d61241a565b60606118c57f0000000000000000000000000000000000000000000000000000000000000000858585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506145a592505050565b600080613b798c7f00000000000000000000000000000000000000000000000000000000000000008d8a8a8a8a8a614476565b613b878c8c8c8c8c8c6111b3565b915091509a509a98505050505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8a811660248301528981166044830152606482018990526084820188905260a4820187905260c4820186905284811660e48301526101048083018590528351808403909101815261012490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fe8e3370000000000000000000000000000000000000000000000000000000000178152925182516000948594859485946060947f0000000000000000000000000000000000000000000000000000000000000000929092169390918291908083835b60208310613cc657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613c89565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114613d26576040519150601f19603f3d011682016040523d82523d6000602084013e613d2b565b606091505b509150915081613d3a57600080fd5b808060200190516060811015613d4f57600080fd5b5080516020820151604090920151909f919e509c509a5050505050505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8a811660248301528981166044830152606482018990526084820188905260a4820187905260c4820186905284811660e48301526101048083018590528351808403909101815261012490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ff2d1ca3200000000000000000000000000000000000000000000000000000000178152925182516000948594859485946060947f00000000000000000000000000000000000000000000000000000000000000009290921693909182919080838360208310613cc657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613c89565b6040805173ffffffffffffffffffffffffffffffffffffffff888116602483015260448201889052606482018790526084820186905284811660a483015260c48083018590528351808403909101815260e490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ff305d71900000000000000000000000000000000000000000000000000000000178152925182516000948594859485946060947f00000000000000000000000000000000000000000000000000000000000000009290921693909182919080838360208310612ef757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612eba565b6060814281101561402957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b32331461409757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16868660008181106140db57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461417c57604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f5041544800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6141da7f000000000000000000000000000000000000000000000000000000000000000088888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250614d7a92505050565b915034826000815181106141ea57fe5b6020026020010151111561425f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f494e505554000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0836000815181106142a857fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b1580156142db57600080fd5b505af11580156142ef573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6143617f000000000000000000000000000000000000000000000000000000000000000089896000818110611fa257fe5b8460008151811061436e57fe5b60200260200101516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156143c957600080fd5b505af11580156143dd573d6000803e3d6000fd5b505050506040513d60208110156143f357600080fd5b50516143fb57fe5b61443a828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508992506149cc915050565b8160008151811061444757fe5b6020026020010151341115612dd257612dd2338360008151811061446757fe5b60200260200101513403614c3d565b6144a17f00000000000000000000000000000000000000000000000000000000000000008989614711565b73ffffffffffffffffffffffffffffffffffffffff1663d505accf3330876144c957896144eb565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b604080517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b16815273ffffffffffffffffffffffffffffffffffffffff948516600482015292909316602483015260448201526064810189905260ff8716608482015260a4810186905260c48101859052905160e480830192600092919082900301818387803b15801561458357600080fd5b505af1158015614597573d6000803e3d6000fd5b505050505050505050505050565b606060028251101561461857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f534352594c6962726172793a20494e56414c49445f5041544800000000000000604482015290519081900360640190fd5b815167ffffffffffffffff8111801561463057600080fd5b5060405190808252806020026020018201604052801561465a578160200160208202803683370190505b509050828160008151811061466b57fe5b60200260200101818152505060005b60018351038110156147095760008060006146bf8887868151811061469b57fe5b60200260200101518887600101815181106146b257fe5b60200260200101516158bb565b9250925092506146e48585815181106146d457fe5b6020026020010151848484614f0e565b8585600101815181106146f357fe5b602090810291909101015250505060010161467a565b509392505050565b60008060006147208585615a2c565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529a90941b9093166069840152607d8301989098527f145dd2cfa2424da880d617d54d12f91d8751490aed761f21141a44032bee5947609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b602083106148da57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161489d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461493c576040519150601f19603f3d011682016040523d82523d6000602084013e614941565b606091505b509150915081801561496f57508051158061496f575080806020019051602081101561496c57600080fd5b50515b6149c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180615cb46031913960400191505060405180910390fd5b505050505050565b60005b6001835103811015614c37576000808483815181106149ea57fe5b6020026020010151858460010181518110614a0157fe5b6020026020010151915091506000614a198383615a2c565b5090506000878560010181518110614a2d57fe5b602002602001015190506000808373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614614a7557826000614a79565b6000835b91509150600060028a51038810614a905788614ad1565b614ad17f0000000000000000000000000000000000000000000000000000000000000000878c8b60020181518110614ac457fe5b6020026020010151614711565b9050614afe7f00000000000000000000000000000000000000000000000000000000000000008888614711565b73ffffffffffffffffffffffffffffffffffffffff1663022c0d9f84848460006040519080825280601f01601f191660200182016040528015614b48576020820181803683370190505b506040518563ffffffff1660e01b8152600401808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015614bbd578181015183820152602001614ba5565b50505050905090810190601f168015614bea5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015614c0c57600080fd5b505af1158015614c20573d6000803e3d6000fd5b5050600190990198506149cf975050505050505050565b50505050565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040518082805190602001908083835b60208310614cb457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101614c77565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614d16576040519150601f19603f3d011682016040523d82523d6000602084013e614d1b565b606091505b5050905080614d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180615ce56034913960400191505060405180910390fd5b505050565b6060600282511015614ded57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f534352594c6962726172793a20494e56414c49445f5041544800000000000000604482015290519081900360640190fd5b815167ffffffffffffffff81118015614e0557600080fd5b50604051908082528060200260200182016040528015614e2f578160200160208202803683370190505b5090508281600183510381518110614e4357fe5b602090810291909101015281517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff015b8015614709576000806000614ea588876001870381518110614e9157fe5b60200260200101518887815181106146b257fe5b925092509250614eca858581518110614eba57fe5b602002602001015184848461503f565b856001860381518110614ed957fe5b60209081029190910101525050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01614e73565b6000808511614f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180615c8e6026913960400191505060405180910390fd5b600084118015614f785750600083115b614fcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180615db56024913960400191505060405180910390fd5b6000614fdb6127108461558c565b90506000614fe98783615b95565b90506000614ff78287615b95565b9050600061502661501461500d61271087615c1b565b8b90615b95565b6150208a612710615b95565b90615c1b565b905080828161503157fe5b049998505050505050505050565b6000808511615099576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180615d616027913960400191505060405180910390fd5b6000841180156150a95750600083115b6150fe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180615d3d6024913960400191505060405180910390fd5b600061510c6127108461558c565b90506000615126612710615120888a615b95565b90615b95565b9050600061515361514361513c61271086615c1b565b8a90615b95565b61514d8886615b95565b9061558c565b905061516a600182848161516357fe5b0490615c1b565b98975050505050505050565b60005b6001835103811015614d755760008084838151811061519457fe5b60200260200101518584600101815181106151ab57fe5b60200260200101519150915060006151c38383615a2c565b50905060006151f37f00000000000000000000000000000000000000000000000000000000000000008585614711565b90506000806000808473ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561524157600080fd5b505afa158015615255573d6000803e3d6000fd5b505050506040513d606081101561526b57600080fd5b508051602091820151604080517fd4cadf6800000000000000000000000000000000000000000000000000000000815290516dffffffffffffffffffffffffffff938416965092909116935060009273ffffffffffffffffffffffffffffffffffffffff89169263d4cadf68926004808201939291829003018186803b1580156152f457600080fd5b505afa158015615308573d6000803e3d6000fd5b505050506040513d602081101561531e57600080fd5b5051905060008073ffffffffffffffffffffffffffffffffffffffff8b8116908a161461534c57838561534f565b84845b915091506153be828c73ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156121a757600080fd5b96506153cc87838386614f0e565b955050505050506000808573ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff161461541157826000615415565b6000835b91509150600060028c51038a1061542c578a615460565b6154607f0000000000000000000000000000000000000000000000000000000000000000898e8d60020181518110614ac457fe5b60408051600080825260208201928390527f022c0d9f000000000000000000000000000000000000000000000000000000008352602482018781526044830187905273ffffffffffffffffffffffffffffffffffffffff8086166064850152608060848501908152845160a48601819052969750908c169563022c0d9f958a958a958a9591949193919260c486019290918190849084905b838110156155105781810151838201526020016154f8565b50505050905090810190601f16801561553d5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561555f57600080fd5b505af1158015615573573d6000803e3d6000fd5b50506001909b019a506151799950505050505050505050565b808203828111156155fe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fd5b92915050565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b602083106156da57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161569d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461573c576040519150601f19603f3d011682016040523d82523d6000602084013e615741565b606091505b509150915081801561576f57508051158061576f575080806020019051602081101561576c57600080fd5b50515b6157c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180615d88602d913960400191505060405180910390fd5b5050505050565b600080841161583b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f534352594c6962726172793a20494e53554646494349454e545f414d4f554e54604482015290519081900360640190fd5b60008311801561584b5750600082115b6158a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180615d196024913960400191505060405180910390fd5b826158ab8584615b95565b816158b257fe5b04949350505050565b6000806000806158cb8686615a2c565b50905060006158db888888614711565b905060008190506000808273ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561592b57600080fd5b505afa15801561593f573d6000803e3d6000fd5b505050506040513d606081101561595557600080fd5b5080516020909101516dffffffffffffffffffffffffffff918216935016905073ffffffffffffffffffffffffffffffffffffffff8a81169086161461599c57808261599f565b81815b80985081995050508273ffffffffffffffffffffffffffffffffffffffff1663d4cadf686040518163ffffffff1660e01b815260040160206040518083038186803b1580156159ed57600080fd5b505afa158015615a01573d6000803e3d6000fd5b505050506040513d6020811015615a1757600080fd5b5051979b969a50969850949650505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415615aca57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f534352594c6962726172793a204944454e544943414c5f414444524553534553604482015290519081900360640190fd5b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1610615b04578284615b07565b83835b909250905073ffffffffffffffffffffffffffffffffffffffff8216615b8e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f534352594c6962726172793a205a45524f5f4144445245535300000000000000604482015290519081900360640190fd5b9250929050565b6000811580615bb057505080820282828281615bad57fe5b04145b6155fe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b808201828110156155fe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fdfe534352594c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e545472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c65645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c6564534352594c6962726172793a20494e53554646494349454e545f4c495155494449545951534352594c6962726172793a20494e53554646494349454e545f4c495155494449545932534352594c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e545472616e7366657248656c7065723a3a736166655472616e736665723a207472616e73666572206661696c6564534352594c6962726172793a20494e53554646494349454e545f4c495155494449545931a2646970667358221220280a231dc9c382ccd1ae1ad9a7d75a56f0fb703c6663441dbe124a7784eecfa364736f6c634300060c003360c060405234801561001057600080fd5b506040516136133803806136138339818101604052604081101561003357600080fd5b5080516020909101516001600160601b0319606092831b8116608052911b1660a05260805160601c60a05160601c6134fa610119600039806104fe528061067f52806107a75280610d155280610ea452806110a452806111f252806112ec52806113e252806114a45280611525528061168552806116c15280611fc6528061201c528061205052806120d15250806104dc52806108c45280610cf3528061121f52806112af52806113a5528061175d52806119de5280611a8f5280611c415280611cd15280611da75280611ffa5280612c7a5280612d675280612e4152506134fa6000f3fe6080604052600436106100b15760003560e01c8063baa2abde11610069578063e8e337001161004e578063e8e3370014610331578063f2d1ca32146103a0578063f305d7191461040f576100b1565b8063baa2abde146102b2578063c45a01551461031c576100b1565b80637191172b1161009a5780637191172b1461019957806384c1627214610203578063ad5c464814610274576100b1565b806302751cec146100b65780636e6fcdfd1461012f575b600080fd5b3480156100c257600080fd5b50610116600480360360c08110156100d957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a00135610462565b6040805192835260208301919091528051918290030190f35b34801561013b57600080fd5b50610116600480360360e081101561015257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359091169060c0013561084a565b3480156101a557600080fd5b50610116600480360360e08110156101bc57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013591604082013581169160608101359160808201359160a08101359091169060c00135610c79565b610256600480360360c081101561021957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a00135611137565b60408051938452602084019290925282820152519081900360600190f35b34801561028057600080fd5b506102896116bf565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156102be57600080fd5b50610116600480360360e08110156102d557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359091169060c001356116e3565b34801561032857600080fd5b506102896119dc565b34801561033d57600080fd5b50610256600480360361010081101561035557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359160c0820135169060e00135611a00565b3480156103ac57600080fd5b5061025660048036036101008110156103c457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359160c0820135169060e00135611b79565b610256600480360360c081101561042557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a00135611f4b565b60008082428110156104d557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4c6971756964697479526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b60006105227f00000000000000000000000000000000000000000000000000000000000000008b7f000000000000000000000000000000000000000000000000000000000000000061224b565b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b1580156105a357600080fd5b505af11580156105b7573d6000803e3d6000fd5b505050506040513d60208110156105cd57600080fd5b5050604080517f89afcb440000000000000000000000000000000000000000000000000000000081523060048201528151600092839273ffffffffffffffffffffffffffffffffffffffff8616926389afcb449260248084019391929182900301818787803b15801561063f57600080fd5b505af1158015610653573d6000803e3d6000fd5b505050506040513d604081101561066957600080fd5b508051602090910151909250905060006106a38d7f0000000000000000000000000000000000000000000000000000000000000000612336565b5090508073ffffffffffffffffffffffffffffffffffffffff168d73ffffffffffffffffffffffffffffffffffffffff16146106e05781836106e3565b82825b90975095508a871015610741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061349b602a913960400191505060405180910390fd5b8986101561079a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806134726029913960400191505060405180910390fd5b6107a58d8a8961249f565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d876040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561081857600080fd5b505af115801561082c573d6000803e3d6000fd5b5050505061083a8987612666565b5050505050965096945050505050565b60008082428110156108bd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4c6971756964697479526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b60006108ea7f00000000000000000000000000000000000000000000000000000000000000008c8c61224b565b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b15801561096b57600080fd5b505af115801561097f573d6000803e3d6000fd5b505050506040513d602081101561099557600080fd5b5050604080517fb81affa500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff88811660048301528d81166024830152604482018b9052825160009384939286169263b81affa5926064808301939282900301818787803b158015610a1757600080fd5b505af1158015610a2b573d6000803e3d6000fd5b505050506040513d6040811015610a4157600080fd5b50805160209091015190925090506000610a5b8e8e612336565b5090508d73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b7d578a831015610b0157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c6971756964697479526f757465723a20494e53554646494349454e545f4100604482015290519081900360640190fd5b89821015610b7057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c6971756964697479526f757465723a20494e53554646494349454e545f4200604482015290519081900360640190fd5b509094509250610c6c9050565b89831015610bec57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c6971756964697479526f757465723a20494e53554646494349454e545f4200604482015290519081900360640190fd5b8a821015610c5b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c6971756964697479526f757465723a20494e53554646494349454e545f4100604482015290519081900360640190fd5b5094509250610c6c9050565b505050505b5097509795505050505050565b6000808242811015610cec57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4c6971756964697479526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b6000610d397f00000000000000000000000000000000000000000000000000000000000000008c7f000000000000000000000000000000000000000000000000000000000000000061224b565b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff831660248201819052604482018e9052915192935090916323b872dd916064808201926020929091908290030181600087803b158015610dba57600080fd5b505af1158015610dce573d6000803e3d6000fd5b505050506040513d6020811015610de457600080fd5b5050604080517fb81affa500000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8b81166024830152604482018b9052825160009384939286169263b81affa5926064808301939282900301818787803b158015610e6457600080fd5b505af1158015610e78573d6000803e3d6000fd5b505050506040513d6040811015610e8e57600080fd5b50805160209091015190925090506000610ec88e7f0000000000000000000000000000000000000000000000000000000000000000612336565b5090508073ffffffffffffffffffffffffffffffffffffffff168e73ffffffffffffffffffffffffffffffffffffffff1614610f05578183610f08565b82825b909750955073ffffffffffffffffffffffffffffffffffffffff8c8116908f161415610fe5578a871015610f87576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806134226023913960400191505060405180910390fd5b89861015610fe0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806133db6021913960400191505060405180910390fd5b611097565b8a86101561103e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806133db6021913960400191505060405180910390fd5b89871015611097576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806134226023913960400191505060405180910390fd5b6110a28e8a8961249f565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d876040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561111557600080fd5b505af1158015611129573d6000803e3d6000fd5b50505050610c678987612666565b600080600083428110156111ac57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4c6971756964697479526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b604080517fe6a4390500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8c811660048301527f00000000000000000000000000000000000000000000000000000000000000008116602483015291516000927f0000000000000000000000000000000000000000000000000000000000000000169163e6a43905916044808301926020929190829003018186803b15801561126557600080fd5b505afa158015611279573d6000803e3d6000fd5b505050506040513d602081101561128f57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff1614156113a1577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c9c653968b7f00000000000000000000000000000000000000000000000000000000000000006040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b15801561137457600080fd5b505af1158015611388573d6000803e3d6000fd5b505050506040513d602081101561139e57600080fd5b50505b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e6a439058c7f00000000000000000000000000000000000000000000000000000000000000006040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561146857600080fd5b505afa15801561147c573d6000803e3d6000fd5b505050506040513d602081101561149257600080fd5b505190506114a28b33838d6127a3565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561150a57600080fd5b505af115801561151e573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82346040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156115b457600080fd5b505af11580156115c8573d6000803e3d6000fd5b505050506040513d60208110156115de57600080fd5b50516115e657fe5b8073ffffffffffffffffffffffffffffffffffffffff16636a627842886040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561164f57600080fd5b505af1158015611663573d6000803e3d6000fd5b505050506040513d602081101561167957600080fd5b505192506116ab83828d7f00000000000000000000000000000000000000000000000000000000000000008d8d612973565b909c909b5092995091975050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600080824281101561175657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4c6971756964697479526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b60006117837f00000000000000000000000000000000000000000000000000000000000000008c8c61224b565b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b15801561180457600080fd5b505af1158015611818573d6000803e3d6000fd5b505050506040513d602081101561182e57600080fd5b5050604080517f89afcb4400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff888116600483015282516000938493928616926389afcb44926024808301939282900301818787803b1580156118a157600080fd5b505af11580156118b5573d6000803e3d6000fd5b505050506040513d60408110156118cb57600080fd5b508051602090910151909250905060006118e58e8e612336565b5090508073ffffffffffffffffffffffffffffffffffffffff168e73ffffffffffffffffffffffffffffffffffffffff1614611922578183611925565b82825b90975095508a871015611983576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806133b56026913960400191505060405180910390fd5b89861015610c67576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806133fc6026913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081565b60008060008342811015611a7557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4c6971756964697479526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b611a838c8c8c8c8c8c612c5d565b90945092506000611ab57f00000000000000000000000000000000000000000000000000000000000000008e8e61224b565b9050611ac38d3383886127a3565b611acf8c3383876127a3565b8073ffffffffffffffffffffffffffffffffffffffff16636a627842886040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015611b3857600080fd5b505af1158015611b4c573d6000803e3d6000fd5b505050506040513d6020811015611b6257600080fd5b5051949d939c50939a509198505050505050505050565b60008060008342811015611bee57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4c6971756964697479526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b604080517fe6a4390500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8e811660048301528d8116602483015291516000927f0000000000000000000000000000000000000000000000000000000000000000169163e6a43905916044808301926020929190829003018186803b158015611c8757600080fd5b505afa158015611c9b573d6000803e3d6000fd5b505050506040513d6020811015611cb157600080fd5b505173ffffffffffffffffffffffffffffffffffffffff161415611da3577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c9c653968d8d6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b158015611d7657600080fd5b505af1158015611d8a573d6000803e3d6000fd5b505050506040513d6020811015611da057600080fd5b50505b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e6a439058e8e6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015611e4a57600080fd5b505afa158015611e5e573d6000803e3d6000fd5b505050506040513d6020811015611e7457600080fd5b50519050611e848d33838e6127a3565b611e908c33838d6127a3565b8073ffffffffffffffffffffffffffffffffffffffff16636a627842886040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015611ef957600080fd5b505af1158015611f0d573d6000803e3d6000fd5b505050506040513d6020811015611f2357600080fd5b50519250611f3583828f8f8d8d612973565b909e909d50929b50919950505050505050505050565b60008060008342811015611fc057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4c6971756964697479526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b611fee8a7f00000000000000000000000000000000000000000000000000000000000000008b348c8c612c5d565b909450925060006120407f00000000000000000000000000000000000000000000000000000000000000008c7f000000000000000000000000000000000000000000000000000000000000000061224b565b905061204e8b3383886127a3565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b1580156120b657600080fd5b505af11580156120ca573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82866040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561216057600080fd5b505af1158015612174573d6000803e3d6000fd5b505050506040513d602081101561218a57600080fd5b505161219257fe5b8073ffffffffffffffffffffffffffffffffffffffff16636a627842886040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156121fb57600080fd5b505af115801561220f573d6000803e3d6000fd5b505050506040513d602081101561222557600080fd5b505192503484101561223d5761223d33853403612666565b505096509650969350505050565b600080600061225a8585612336565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529a90941b9093166069840152607d8301989098527f145dd2cfa2424da880d617d54d12f91d8751490aed761f21141a44032bee5947609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123d457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f534352594c6962726172793a204944454e544943414c5f414444524553534553604482015290519081900360640190fd5b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161061240e578284612411565b83835b909250905073ffffffffffffffffffffffffffffffffffffffff821661249857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f534352594c6962726172793a205a45524f5f4144445245535300000000000000604482015290519081900360640190fd5b9250929050565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b6020831061257557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612538565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146125d7576040519150601f19603f3d011682016040523d82523d6000602084013e6125dc565b606091505b509150915081801561260a57508051158061260a575080806020019051602081101561260757600080fd5b50515b61265f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180613445602d913960400191505060405180910390fd5b5050505050565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040518082805190602001908083835b602083106126dd57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016126a0565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461273f576040519150601f19603f3d011682016040523d82523d6000602084013e612744565b606091505b505090508061279e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603481526020018061335d6034913960400191505060405180910390fd5b505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b6020831061288157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612844565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146128e3576040519150601f19603f3d011682016040523d82523d6000602084013e6128e8565b606091505b5091509150818015612916575080511580612916575080806020019051602081101561291357600080fd5b50515b61296b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603181526020018061332c6031913960400191505060405180910390fd5b505050505050565b60008060008673ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156129df57600080fd5b505afa1580156129f3573d6000803e3d6000fd5b505050506040513d6020811015612a0957600080fd5b5051604080517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8b811660048301529151929350600092918916916370a0823191602480820192602092909190829003018186803b158015612a8157600080fd5b505afa158015612a95573d6000803e3d6000fd5b505050506040513d6020811015612aab57600080fd5b5051604080517f18160ddd000000000000000000000000000000000000000000000000000000008152905191925060009173ffffffffffffffffffffffffffffffffffffffff8c16916318160ddd916004808301926020929190829003018186803b158015612b1957600080fd5b505afa158015612b2d573d6000803e3d6000fd5b505050506040513d6020811015612b4357600080fd5b5051905080612b528c8561303e565b81612b5957fe5b04945080612b678c8461303e565b81612b6e57fe5b04935086851015612be057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c6971756964697479526f757465723a20494e53554646494349454e545f4100604482015290519081900360640190fd5b85841015612c4f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c6971756964697479526f757465723a20494e53554646494349454e545f4200604482015290519081900360640190fd5b505050965096945050505050565b600080600073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e6a439058a8a6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015612d1d57600080fd5b505afa158015612d31573d6000803e3d6000fd5b505050506040513d6020811015612d4757600080fd5b505173ffffffffffffffffffffffffffffffffffffffff161415612e39577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c9c6539689896040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b158015612e0c57600080fd5b505af1158015612e20573d6000803e3d6000fd5b505050506040513d6020811015612e3657600080fd5b50505b600080612e677f00000000000000000000000000000000000000000000000000000000000000008b8b6130ca565b5091509150816000148015612e7a575080155b15612e8a57879350869250613031565b6000612e9789848461323b565b9050878111612f5d5785811015612ef9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806133fc6026913960400191505060405180910390fd5b88945092508286851015612f58576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806133b56026913960400191505060405180910390fd5b612c4f565b6000612f6a89848661323b565b905089811115612f7657fe5b87811015612fcf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806133b56026913960400191505060405180910390fd5b9450879350848685101561302e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806133fc6026913960400191505060405180910390fd5b50505b5050965096945050505050565b60008115806130595750508082028282828161305657fe5b04145b6130c457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b92915050565b6000806000806130da8686612336565b50905060006130ea88888861224b565b905060008190506000808273ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561313a57600080fd5b505afa15801561314e573d6000803e3d6000fd5b505050506040513d606081101561316457600080fd5b5080516020909101516dffffffffffffffffffffffffffff918216935016905073ffffffffffffffffffffffffffffffffffffffff8a8116908616146131ab5780826131ae565b81815b80985081995050508273ffffffffffffffffffffffffffffffffffffffff1663d4cadf686040518163ffffffff1660e01b815260040160206040518083038186803b1580156131fc57600080fd5b505afa158015613210573d6000803e3d6000fd5b505050506040513d602081101561322657600080fd5b5051979b969a50969850949650505050505050565b60008084116132ab57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f534352594c6962726172793a20494e53554646494349454e545f414d4f554e54604482015290519081900360640190fd5b6000831180156132bb5750600082115b613310576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806133916024913960400191505060405180910390fd5b8261331b858461303e565b8161332257fe5b0494935050505056fe5472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c65645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c6564534352594c6962726172793a20494e53554646494349454e545f4c4951554944495459514c6971756964697479526f757465723a20494e53554646494349454e545f415f414d4f554e544c6971756964697479526f757465723a20494e53554646494349454e545f4554484c6971756964697479526f757465723a20494e53554646494349454e545f425f414d4f554e544c6971756964697479526f757465723a20494e53554646494349454e545f544f4b454e5472616e7366657248656c7065723a3a736166655472616e736665723a207472616e73666572206661696c65644c6971756964697479526f757465723a20494e53554646494349454e545f574554485f414d4f554e544c6971756964697479526f757465723a20494e53554646494349454e545f544f4b454e5f414d4f554e54a2646970667358221220a4b5c5314507bd83709fa620cd6ca0eb74f48553476480f004745801bbf25bc164736f6c634300060c00330000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e8701000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Deployed Bytecode

0x6080604052600436106102025760003560e01c80637ff36ab51161011d578063baa2abde116100b0578063ded9382a1161007f578063f2d1ca3211610064578063f2d1ca321461105e578063f305d719146110cd578063fb3bdb411461112057610248565b8063ded9382a14610f6f578063e8e3370014610fef57610248565b8063baa2abde14610de1578063c45a015514610e4b578063ce3de47b14610e60578063d06ca61f14610eeb57610248565b8063ad5c4648116100ec578063ad5c464814610ca3578063ad615dec14610cb8578063af2979eb14610cee578063b6f9de9514610d4e57610248565b80637ff36ab514610a9057806384c1627214610b235780638803dbee14610b9457806399e5013314610c3957610248565b806352707d8c116101955780636e6fcdfd116101645780636e6fcdfd1461088c5780637191172b146108f6578063791ac947146109605780637dada4d914610a0557610248565b806352707d8c146106dd578063571fd0121461072b5780635b0d5984146107675780635c11d795146107e757610248565b80632195995c116101d15780632195995c146104ca578063247029441461055557806338ed1739146105935780634a25d94a1461063857610248565b806302751cec1461024d578063110cd8f5146102c657806318cbafe5146103515780631f00ca741461044657610248565b36610248573373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2161461024657fe5b005b600080fd5b34801561025957600080fd5b506102ad600480360360c081101561027057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a001356111b3565b6040805192835260208301919091528051918290030190f35b3480156102d257600080fd5b506102ad60048036036101608110156102ea57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013591604082013581169160608101359160808201359160a08101359091169060c08101359060e081013515159060ff6101008201351690610120810135906101400135611371565b34801561035d57600080fd5b506103f6600480360360a081101561037457600080fd5b81359160208101359181019060608101604082013564010000000081111561039b57600080fd5b8201836020820111156103ad57600080fd5b803590602001918460208302840111640100000000831117156103cf57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff81351690602001356113c7565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561043257818101518382015260200161041a565b505050509050019250505060405180910390f35b34801561045257600080fd5b506103f66004803603604081101561046957600080fd5b8135919081019060408101602082013564010000000081111561048b57600080fd5b82018360208201111561049d57600080fd5b803590602001918460208302840111640100000000831117156104bf57600080fd5b509092509050611865565b3480156104d657600080fd5b506102ad60048036036101608110156104ee57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359091169060c08101359060e081013515159060ff61010082013516906101208101359061014001356118cd565b34801561056157600080fd5b5061056a6118ef565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561059f57600080fd5b506103f6600480360360a08110156105b657600080fd5b8135916020810135918101906060810160408201356401000000008111156105dd57600080fd5b8201836020820111156105ef57600080fd5b8035906020019184602083028401116401000000008311171561061157600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135611913565b34801561064457600080fd5b506103f6600480360360a081101561065b57600080fd5b81359160208101359181019060608101604082013564010000000081111561068257600080fd5b82018360208201111561069457600080fd5b803590602001918460208302840111640100000000831117156106b657600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135611b28565b3480156106e957600080fd5b506107196004803603608081101561070057600080fd5b5080359060208101359060408101359060600135611df1565b60408051918252519081900360200190f35b34801561073757600080fd5b506107196004803603608081101561074e57600080fd5b5080359060208101359060408101359060600135611e08565b34801561077357600080fd5b50610719600480360361014081101561078b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e08201351690610100810135906101200135611e16565b3480156107f357600080fd5b50610246600480360360a081101561080a57600080fd5b81359160208101359181019060608101604082013564010000000081111561083157600080fd5b82018360208201111561084357600080fd5b8035906020019184602083028401116401000000008311171561086557600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135611e65565b34801561089857600080fd5b506102ad600480360360e08110156108af57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359091169060c00135612250565b34801561090257600080fd5b506102ad600480360360e081101561091957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013591604082013581169160608101359160808201359160a08101359091169060c0013561241a565b34801561096c57600080fd5b50610246600480360360a081101561098357600080fd5b8135916020810135918101906060810160408201356401000000008111156109aa57600080fd5b8201836020820111156109bc57600080fd5b803590602001918460208302840111640100000000831117156109de57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff813516906020013561253d565b348015610a1157600080fd5b506102ad6004803603610160811015610a2957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359091169060c08101359060e081013515159060ff610100820135169061012081013590610140013561292a565b6103f660048036036080811015610aa657600080fd5b81359190810190604081016020820135640100000000811115610ac857600080fd5b820183602082011115610ada57600080fd5b80359060200191846020830284011164010000000083111715610afc57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff813516906020013561294c565b610b76600480360360c0811015610b3957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a00135612ddc565b60408051938452602084019290925282820152519081900360600190f35b348015610ba057600080fd5b506103f6600480360360a0811015610bb757600080fd5b813591602081013591810190606081016040820135640100000000811115610bde57600080fd5b820183602082011115610bf057600080fd5b80359060200191846020830284011164010000000083111715610c1257600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135612fa1565b348015610c4557600080fd5b506102ad600480360360e0811015610c5c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013591604082013581169160608101359160808201359160a08101359091169060c00135613164565b348015610caf57600080fd5b5061056a6132a8565b348015610cc457600080fd5b5061071960048036036060811015610cdb57600080fd5b50803590602081013590604001356132cc565b348015610cfa57600080fd5b50610719600480360360c0811015610d1157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a001356132d9565b61024660048036036080811015610d6457600080fd5b81359190810190604081016020820135640100000000811115610d8657600080fd5b820183602082011115610d9857600080fd5b80359060200191846020830284011164010000000083111715610dba57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff813516906020013561344c565b348015610ded57600080fd5b506102ad600480360360e0811015610e0457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359091169060c0013561395d565b348015610e5757600080fd5b5061056a613a80565b348015610e6c57600080fd5b506102ad6004803603610160811015610e8457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013591604082013581169160608101359160808201359160a08101359091169060c08101359060e081013515159060ff6101008201351690610120810135906101400135613aa4565b348015610ef757600080fd5b506103f660048036036040811015610f0e57600080fd5b81359190810190604081016020820135640100000000811115610f3057600080fd5b820183602082011115610f4257600080fd5b80359060200191846020830284011164010000000083111715610f6457600080fd5b509092509050613ae6565b348015610f7b57600080fd5b506102ad6004803603610140811015610f9357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e08201351690610100810135906101200135613b46565b348015610ffb57600080fd5b50610b76600480360361010081101561101357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359160c0820135169060e00135613b9a565b34801561106a57600080fd5b50610b76600480360361010081101561108257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359160c0820135169060e00135613d72565b610b76600480360360c08110156110e357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a00135613e9d565b6103f66004803603608081101561113657600080fd5b8135919081019060408101602082013564010000000081111561115857600080fd5b82018360208201111561116a57600080fd5b8035906020019184602083028401116401000000008311171561118c57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135613fb7565b6040805173ffffffffffffffffffffffffffffffffffffffff888116602483015260448201889052606482018790526084820186905284811660a483015260c48083018590528351808403909101815260e490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f02751cec0000000000000000000000000000000000000000000000000000000017815292518251600094859485946060947f00000000000000000000000090d07d64b25ab45dddb63540b8efa22b269b975f9190911693919290918291908083835b602083106112ce57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611291565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461132e576040519150601f19603f3d011682016040523d82523d6000602084013e611333565b606091505b50915091508161134257600080fd5b80806020019051604081101561135757600080fd5b508051602090910151909b909a5098505050505050505050565b6000806113a48d7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28e8a8a8a8a8a614476565b6113b38d8d8d8d8d8d8d613164565b915091509b509b9950505050505050505050565b6060814281101561143957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b3233146114a757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21686867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff810181811061150c57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146115ad57604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f5041544800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b61160b7f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e8701898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506145a592505050565b9150868260018451038151811061161e57fe5b6020026020010151101561169357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f4f55545055540000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b611758868660008181106116a357fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff163361173e7f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e87018a8a60008181106116f257fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff168b8b600181811061171c57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16614711565b8560008151811061174b57fe5b60200260200101516147fc565b611797828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152503092506149cc915050565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d836001855103815181106117e357fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561182157600080fd5b505af1158015611835573d6000803e3d6000fd5b5050505061185a848360018551038151811061184d57fe5b6020026020010151614c3d565b509695505050505050565b60606118c57f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e870185858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250614d7a92505050565b949350505050565b6000806118e08d8d8d8a8a8a8a8a614476565b6113b38d8d8d8d8d8d8d61395d565b7f00000000000000000000000090d07d64b25ab45dddb63540b8efa22b269b975f81565b6060814281101561198557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b3233146119f357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b611a517f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e8701898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506145a592505050565b91508682600184510381518110611a6457fe5b60200260200101511015611ad957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f4f55545055540000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b611ae9868660008181106116a357fe5b61185a828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508992506149cc915050565b60608142811015611b9a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b323314611c0857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21686867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101818110611c6d57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d0e57604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f5041544800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b611d6c7f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e870189888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250614d7a92505050565b91508682600081518110611d7c57fe5b6020026020010151111561169357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f494e505554000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611dff85858585614f0e565b95945050505050565b6000611dff8585858561503f565b6000611e488b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28c8989898989614476565b611e568b8b8b8b8b8b6132d9565b9b9a5050505050505050505050565b8042811015611ed557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b323314611f4357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b611fd285856000818110611f5357fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1633611fcc7f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e870189896000818110611fa257fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff168a8a600181811061171c57fe5b8a6147fc565b600085857fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff810181811061200257fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561208557600080fd5b505afa158015612099573d6000803e3d6000fd5b505050506040513d60208110156120af57600080fd5b505160408051602088810282810182019093528882529293506120f1929091899189918291850190849080828437600092019190915250889250615176915050565b866121d98288887fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff810181811061212457fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231886040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156121a757600080fd5b505afa1580156121bb573d6000803e3d6000fd5b505050506040513d60208110156121d157600080fd5b50519061558c565b101561224657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f4f55545055540000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b5050505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff89811660248301528881166044830152606482018890526084820187905260a4820186905284811660c483015260e48083018590528351808403909101815261010490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f6e6fcdfd0000000000000000000000000000000000000000000000000000000017815292518251600094859485946060947f00000000000000000000000090d07d64b25ab45dddb63540b8efa22b269b975f9190911693919290918291908083835b6020831061237457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612337565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146123d4576040519150601f19603f3d011682016040523d82523d6000602084013e6123d9565b606091505b5091509150816123e857600080fd5b8080602001905160408110156123fd57600080fd5b508051602090910151909450925050505b97509795505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff89811660248301526044820189905287811660648301526084820187905260a4820186905284811660c483015260e48083018590528351808403909101815261010490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f7191172b0000000000000000000000000000000000000000000000000000000017815292518251600094859485946060947f00000000000000000000000090d07d64b25ab45dddb63540b8efa22b269b975f9190911693919290918291908083836020831061237457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612337565b80428110156125ad57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b32331461261b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21685857fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff810181811061268057fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461272157604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f5041544800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b61273185856000818110611f5357fe5b61276f858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250615176915050565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156127f857600080fd5b505afa15801561280c573d6000803e3d6000fd5b505050506040513d602081101561282257600080fd5b505190508681101561289557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f4f55545055540000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561290857600080fd5b505af115801561291c573d6000803e3d6000fd5b505050506122468482614c3d565b60008061293d8d8d8d8a8a8a8a8a614476565b6113b38d8d8d8d8d8d8d612250565b606081428110156129be57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b323314612a2c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1686866000818110612a7057fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612b1157604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f5041544800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b612b6f7f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e8701348888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506145a592505050565b91508682600184510381518110612b8257fe5b60200260200101511015612bf757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f4f55545055540000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663d0e30db083600081518110612c4057fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b158015612c7357600080fd5b505af1158015612c87573d6000803e3d6000fd5b50505050507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb612cf97f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e870189896000818110611fa257fe5b84600081518110612d0657fe5b60200260200101516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612d6157600080fd5b505af1158015612d75573d6000803e3d6000fd5b505050506040513d6020811015612d8b57600080fd5b5051612d9357fe5b612dd2828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508992506149cc915050565b5095945050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff888116602483015260448201889052606482018790526084820186905284811660a483015260c48083018590528351808403909101815260e490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f84c1627200000000000000000000000000000000000000000000000000000000178152925182516000948594859485946060947f00000000000000000000000090d07d64b25ab45dddb63540b8efa22b269b975f929092169390918291908083835b60208310612ef757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612eba565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114612f57576040519150601f19603f3d011682016040523d82523d6000602084013e612f5c565b606091505b509150915081612f6b57600080fd5b808060200190516060811015612f8057600080fd5b5080516020820151604090920151909d919c509a5098505050505050505050565b6060814281101561301357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b32331461308157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b6130df7f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e870189888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250614d7a92505050565b915086826000815181106130ef57fe5b60200260200101511115611ad957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f494e505554000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000808873ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614156131d4576131ca897f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28a89893089612250565b9092509050613208565b6132037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28a8a89893089612250565b925090505b613213898584615604565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561328657600080fd5b505af115801561329a573d6000803e3d6000fd5b5050505061240e8482614c3d565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b60006118c58484846157cb565b600061330a877f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2888888308861395d565b9050809150506133ad87848973ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561337c57600080fd5b505afa158015613390573d6000803e3d6000fd5b505050506040513d60208110156133a657600080fd5b5051615604565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561342057600080fd5b505af1158015613434573d6000803e3d6000fd5b505050506134428382614c3d565b9695505050505050565b80428110156134bc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b32331461352a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff168585600081811061356e57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461360f57604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f5041544800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60003490507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561367c57600080fd5b505af1158015613690573d6000803e3d6000fd5b50505050507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6137027f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e870189896000818110611fa257fe5b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561375657600080fd5b505af115801561376a573d6000803e3d6000fd5b505050506040513d602081101561378057600080fd5b505161378857fe5b600086867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81018181106137b857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561383b57600080fd5b505afa15801561384f573d6000803e3d6000fd5b505050506040513d602081101561386557600080fd5b505160408051602089810282810182019093528982529293506138a79290918a918a918291850190849080828437600092019190915250899250615176915050565b876121d98289897fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81018181106138da57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156121a757600080fd5b6040805173ffffffffffffffffffffffffffffffffffffffff89811660248301528881166044830152606482018890526084820187905260a4820186905284811660c483015260e48083018590528351808403909101815261010490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fbaa2abde0000000000000000000000000000000000000000000000000000000017815292518251600094859485946060947f00000000000000000000000090d07d64b25ab45dddb63540b8efa22b269b975f9190911693919290918291908083836020831061237457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612337565b7f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e870181565b600080613ad78d7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28e8a8a8a8a8a614476565b6113b38d8d8d8d8d8d8d61241a565b60606118c57f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e8701858585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506145a592505050565b600080613b798c7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28d8a8a8a8a8a614476565b613b878c8c8c8c8c8c6111b3565b915091509a509a98505050505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8a811660248301528981166044830152606482018990526084820188905260a4820187905260c4820186905284811660e48301526101048083018590528351808403909101815261012490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fe8e3370000000000000000000000000000000000000000000000000000000000178152925182516000948594859485946060947f00000000000000000000000090d07d64b25ab45dddb63540b8efa22b269b975f929092169390918291908083835b60208310613cc657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613c89565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114613d26576040519150601f19603f3d011682016040523d82523d6000602084013e613d2b565b606091505b509150915081613d3a57600080fd5b808060200190516060811015613d4f57600080fd5b5080516020820151604090920151909f919e509c509a5050505050505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8a811660248301528981166044830152606482018990526084820188905260a4820187905260c4820186905284811660e48301526101048083018590528351808403909101815261012490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ff2d1ca3200000000000000000000000000000000000000000000000000000000178152925182516000948594859485946060947f00000000000000000000000090d07d64b25ab45dddb63540b8efa22b269b975f9290921693909182919080838360208310613cc657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613c89565b6040805173ffffffffffffffffffffffffffffffffffffffff888116602483015260448201889052606482018790526084820186905284811660a483015260c48083018590528351808403909101815260e490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ff305d71900000000000000000000000000000000000000000000000000000000178152925182516000948594859485946060947f00000000000000000000000090d07d64b25ab45dddb63540b8efa22b269b975f9290921693909182919080838360208310612ef757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612eba565b6060814281101561402957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4558504952454400000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b32331461409757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49442053454e444552000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff16868660008181106140db57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461417c57604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f5041544800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6141da7f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e870188888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250614d7a92505050565b915034826000815181106141ea57fe5b6020026020010151111561425f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f494e505554000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663d0e30db0836000815181106142a857fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b1580156142db57600080fd5b505af11580156142ef573d6000803e3d6000fd5b50505050507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6143617f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e870189896000818110611fa257fe5b8460008151811061436e57fe5b60200260200101516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156143c957600080fd5b505af11580156143dd573d6000803e3d6000fd5b505050506040513d60208110156143f357600080fd5b50516143fb57fe5b61443a828787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508992506149cc915050565b8160008151811061444757fe5b6020026020010151341115612dd257612dd2338360008151811061446757fe5b60200260200101513403614c3d565b6144a17f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e87018989614711565b73ffffffffffffffffffffffffffffffffffffffff1663d505accf3330876144c957896144eb565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b604080517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b16815273ffffffffffffffffffffffffffffffffffffffff948516600482015292909316602483015260448201526064810189905260ff8716608482015260a4810186905260c48101859052905160e480830192600092919082900301818387803b15801561458357600080fd5b505af1158015614597573d6000803e3d6000fd5b505050505050505050505050565b606060028251101561461857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f534352594c6962726172793a20494e56414c49445f5041544800000000000000604482015290519081900360640190fd5b815167ffffffffffffffff8111801561463057600080fd5b5060405190808252806020026020018201604052801561465a578160200160208202803683370190505b509050828160008151811061466b57fe5b60200260200101818152505060005b60018351038110156147095760008060006146bf8887868151811061469b57fe5b60200260200101518887600101815181106146b257fe5b60200260200101516158bb565b9250925092506146e48585815181106146d457fe5b6020026020010151848484614f0e565b8585600101815181106146f357fe5b602090810291909101015250505060010161467a565b509392505050565b60008060006147208585615a2c565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529a90941b9093166069840152607d8301989098527f145dd2cfa2424da880d617d54d12f91d8751490aed761f21141a44032bee5947609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b602083106148da57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161489d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461493c576040519150601f19603f3d011682016040523d82523d6000602084013e614941565b606091505b509150915081801561496f57508051158061496f575080806020019051602081101561496c57600080fd5b50515b6149c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180615cb46031913960400191505060405180910390fd5b505050505050565b60005b6001835103811015614c37576000808483815181106149ea57fe5b6020026020010151858460010181518110614a0157fe5b6020026020010151915091506000614a198383615a2c565b5090506000878560010181518110614a2d57fe5b602002602001015190506000808373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614614a7557826000614a79565b6000835b91509150600060028a51038810614a905788614ad1565b614ad17f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e8701878c8b60020181518110614ac457fe5b6020026020010151614711565b9050614afe7f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e87018888614711565b73ffffffffffffffffffffffffffffffffffffffff1663022c0d9f84848460006040519080825280601f01601f191660200182016040528015614b48576020820181803683370190505b506040518563ffffffff1660e01b8152600401808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015614bbd578181015183820152602001614ba5565b50505050905090810190601f168015614bea5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015614c0c57600080fd5b505af1158015614c20573d6000803e3d6000fd5b5050600190990198506149cf975050505050505050565b50505050565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040518082805190602001908083835b60208310614cb457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101614c77565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614d16576040519150601f19603f3d011682016040523d82523d6000602084013e614d1b565b606091505b5050905080614d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180615ce56034913960400191505060405180910390fd5b505050565b6060600282511015614ded57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f534352594c6962726172793a20494e56414c49445f5041544800000000000000604482015290519081900360640190fd5b815167ffffffffffffffff81118015614e0557600080fd5b50604051908082528060200260200182016040528015614e2f578160200160208202803683370190505b5090508281600183510381518110614e4357fe5b602090810291909101015281517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff015b8015614709576000806000614ea588876001870381518110614e9157fe5b60200260200101518887815181106146b257fe5b925092509250614eca858581518110614eba57fe5b602002602001015184848461503f565b856001860381518110614ed957fe5b60209081029190910101525050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01614e73565b6000808511614f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180615c8e6026913960400191505060405180910390fd5b600084118015614f785750600083115b614fcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180615db56024913960400191505060405180910390fd5b6000614fdb6127108461558c565b90506000614fe98783615b95565b90506000614ff78287615b95565b9050600061502661501461500d61271087615c1b565b8b90615b95565b6150208a612710615b95565b90615c1b565b905080828161503157fe5b049998505050505050505050565b6000808511615099576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180615d616027913960400191505060405180910390fd5b6000841180156150a95750600083115b6150fe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180615d3d6024913960400191505060405180910390fd5b600061510c6127108461558c565b90506000615126612710615120888a615b95565b90615b95565b9050600061515361514361513c61271086615c1b565b8a90615b95565b61514d8886615b95565b9061558c565b905061516a600182848161516357fe5b0490615c1b565b98975050505050505050565b60005b6001835103811015614d755760008084838151811061519457fe5b60200260200101518584600101815181106151ab57fe5b60200260200101519150915060006151c38383615a2c565b50905060006151f37f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e87018585614711565b90506000806000808473ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561524157600080fd5b505afa158015615255573d6000803e3d6000fd5b505050506040513d606081101561526b57600080fd5b508051602091820151604080517fd4cadf6800000000000000000000000000000000000000000000000000000000815290516dffffffffffffffffffffffffffff938416965092909116935060009273ffffffffffffffffffffffffffffffffffffffff89169263d4cadf68926004808201939291829003018186803b1580156152f457600080fd5b505afa158015615308573d6000803e3d6000fd5b505050506040513d602081101561531e57600080fd5b5051905060008073ffffffffffffffffffffffffffffffffffffffff8b8116908a161461534c57838561534f565b84845b915091506153be828c73ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156121a757600080fd5b96506153cc87838386614f0e565b955050505050506000808573ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff161461541157826000615415565b6000835b91509150600060028c51038a1061542c578a615460565b6154607f0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e8701898e8d60020181518110614ac457fe5b60408051600080825260208201928390527f022c0d9f000000000000000000000000000000000000000000000000000000008352602482018781526044830187905273ffffffffffffffffffffffffffffffffffffffff8086166064850152608060848501908152845160a48601819052969750908c169563022c0d9f958a958a958a9591949193919260c486019290918190849084905b838110156155105781810151838201526020016154f8565b50505050905090810190601f16801561553d5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561555f57600080fd5b505af1158015615573573d6000803e3d6000fd5b50506001909b019a506151799950505050505050505050565b808203828111156155fe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fd5b92915050565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b602083106156da57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161569d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461573c576040519150601f19603f3d011682016040523d82523d6000602084013e615741565b606091505b509150915081801561576f57508051158061576f575080806020019051602081101561576c57600080fd5b50515b6157c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180615d88602d913960400191505060405180910390fd5b5050505050565b600080841161583b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f534352594c6962726172793a20494e53554646494349454e545f414d4f554e54604482015290519081900360640190fd5b60008311801561584b5750600082115b6158a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180615d196024913960400191505060405180910390fd5b826158ab8584615b95565b816158b257fe5b04949350505050565b6000806000806158cb8686615a2c565b50905060006158db888888614711565b905060008190506000808273ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561592b57600080fd5b505afa15801561593f573d6000803e3d6000fd5b505050506040513d606081101561595557600080fd5b5080516020909101516dffffffffffffffffffffffffffff918216935016905073ffffffffffffffffffffffffffffffffffffffff8a81169086161461599c57808261599f565b81815b80985081995050508273ffffffffffffffffffffffffffffffffffffffff1663d4cadf686040518163ffffffff1660e01b815260040160206040518083038186803b1580156159ed57600080fd5b505afa158015615a01573d6000803e3d6000fd5b505050506040513d6020811015615a1757600080fd5b5051979b969a50969850949650505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415615aca57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f534352594c6962726172793a204944454e544943414c5f414444524553534553604482015290519081900360640190fd5b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1610615b04578284615b07565b83835b909250905073ffffffffffffffffffffffffffffffffffffffff8216615b8e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f534352594c6962726172793a205a45524f5f4144445245535300000000000000604482015290519081900360640190fd5b9250929050565b6000811580615bb057505080820282828281615bad57fe5b04145b6155fe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b808201828110156155fe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fdfe534352594c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e545472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c65645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c6564534352594c6962726172793a20494e53554646494349454e545f4c495155494449545951534352594c6962726172793a20494e53554646494349454e545f4c495155494449545932534352594c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e545472616e7366657248656c7065723a3a736166655472616e736665723a207472616e73666572206661696c6564534352594c6962726172793a20494e53554646494349454e545f4c495155494449545931a2646970667358221220280a231dc9c382ccd1ae1ad9a7d75a56f0fb703c6663441dbe124a7784eecfa364736f6c634300060c0033

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

0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e8701000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

-----Decoded View---------------
Arg [0] : _factory (address): 0x7fe6a7729fB91e3C5C3Dbe82bE815B18660e8701
Arg [1] : _WETH (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007fe6a7729fb91e3c5c3dbe82be815b18660e8701
Arg [1] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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