ETH Price: $3,399.07 (+1.93%)

Contract

0xcB4d0a792f7E7c572583a5305357802ce7E427Db
 

Overview

ETH Balance

0.108713755833621544 ETH

Eth Value

$369.53 (@ $3,399.07/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Remove Liquidity...209909472024-10-18 7:26:4772 days ago1729236407IN
0xcB4d0a79...ce7E427Db
0 ETH0.0076386638.63276694
Swap Exact Token...208500072024-09-28 15:23:4791 days ago1727537027IN
0xcB4d0a79...ce7E427Db
0 ETH0.001935379.64048922
Swap Exact Token...207818142024-09-19 3:00:11101 days ago1726714811IN
0xcB4d0a79...ce7E427Db
0.0029227 ETH0.0069646433.87821495
Swap Exact Token...207760782024-09-18 7:46:11102 days ago1726645571IN
0xcB4d0a79...ce7E427Db
0 ETH0.00153057.44569744
Swap Exact Token...207509772024-09-14 19:36:59105 days ago1726342619IN
0xcB4d0a79...ce7E427Db
0 ETH0.000721413.50961632
Swap Exact Token...207428042024-09-13 16:11:59106 days ago1726243919IN
0xcB4d0a79...ce7E427Db
0 ETH0.001633878.13913359
Remove Liquidity...207428002024-09-13 16:11:11106 days ago1726243871IN
0xcB4d0a79...ce7E427Db
0 ETH0.001532248.2261317
Swap Exact Token...207311202024-09-12 1:01:59108 days ago1726102919IN
0xcB4d0a79...ce7E427Db
0 ETH0.000453022.25660574
Swap Exact Token...207305422024-09-11 23:06:11108 days ago1726095971IN
0xcB4d0a79...ce7E427Db
0 ETH0.000784423.90735212
Swap Exact Token...207230212024-09-10 21:53:59109 days ago1726005239IN
0xcB4d0a79...ce7E427Db
0 ETH0.0029838614.86145763
Swap Exact Token...207223402024-09-10 19:36:59109 days ago1725997019IN
0xcB4d0a79...ce7E427Db
0 ETH0.001765388.79373532
Swap Exact Token...207195742024-09-10 10:19:11110 days ago1725963551IN
0xcB4d0a79...ce7E427Db
0 ETH0.001556437.75199152
Swap Exact Token...207184952024-09-10 6:42:11110 days ago1725950531IN
0xcB4d0a79...ce7E427Db
0 ETH0.0024784112.05575846
Swap Exact Token...207180172024-09-10 5:05:47110 days ago1725944747IN
0xcB4d0a79...ce7E427Db
0 ETH0.000411582.05006163
Swap Exact ETH F...207175222024-09-10 3:26:11110 days ago1725938771IN
0xcB4d0a79...ce7E427Db
0.05 ETH0.000548132.62888846
Swap Exact Token...207140252024-09-09 15:43:11110 days ago1725896591IN
0xcB4d0a79...ce7E427Db
0 ETH0.001488617.24191465
Swap Exact Token...207131772024-09-09 12:53:23110 days ago1725886403IN
0xcB4d0a79...ce7E427Db
0 ETH0.000706843.52094716
Swap Exact Token...207129852024-09-09 12:14:35110 days ago1725884075IN
0xcB4d0a79...ce7E427Db
0 ETH0.000729223.63220682
Swap Exact Token...207129722024-09-09 12:11:59110 days ago1725883919IN
0xcB4d0a79...ce7E427Db
0 ETH0.000731913.64581892
Swap Exact Token...207129162024-09-09 12:00:47110 days ago1725883247IN
0xcB4d0a79...ce7E427Db
0 ETH0.000758763.77956996
Swap Exact ETH F...207126542024-09-09 11:07:23110 days ago1725880043IN
0xcB4d0a79...ce7E427Db
0.038 ETH0.000759343.6418694
Swap Exact Token...207122492024-09-09 9:46:23111 days ago1725875183IN
0xcB4d0a79...ce7E427Db
0 ETH0.0022791411.35354969
Swap Exact Token...207120232024-09-09 9:01:11111 days ago1725872471IN
0xcB4d0a79...ce7E427Db
0 ETH0.000579382.88638821
Swap Exact ETH F...207106632024-09-09 4:27:35111 days ago1725856055IN
0xcB4d0a79...ce7E427Db
0.02 ETH0.000398031.90901865
Swap Exact Token...207103262024-09-09 3:20:11111 days ago1725852011IN
0xcB4d0a79...ce7E427Db
0 ETH0.000329991.60538619
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
209909472024-10-18 7:26:4772 days ago1729236407
0xcB4d0a79...ce7E427Db
6.51145553 ETH
209909472024-10-18 7:26:4772 days ago1729236407
0xcB4d0a79...ce7E427Db
6.51145553 ETH
208500072024-09-28 15:23:4791 days ago1727537027
0xcB4d0a79...ce7E427Db
0.01315513 ETH
208500072024-09-28 15:23:4791 days ago1727537027
0xcB4d0a79...ce7E427Db
0.00042435 ETH
208500072024-09-28 15:23:4791 days ago1727537027
0xcB4d0a79...ce7E427Db
0.00042435 ETH
208500072024-09-28 15:23:4791 days ago1727537027
0xcB4d0a79...ce7E427Db
0.00014145 ETH
208500072024-09-28 15:23:4791 days ago1727537027
0xcB4d0a79...ce7E427Db
0.0141453 ETH
207818142024-09-19 3:00:11101 days ago1726714811
0xcB4d0a79...ce7E427Db
0.02330884 ETH
207818142024-09-19 3:00:11101 days ago1726714811
0xcB4d0a79...ce7E427Db
0.00075189 ETH
207818142024-09-19 3:00:11101 days ago1726714811
0xcB4d0a79...ce7E427Db
0.00075189 ETH
207818142024-09-19 3:00:11101 days ago1726714811
0xcB4d0a79...ce7E427Db
0.00025063 ETH
207818142024-09-19 3:00:11101 days ago1726714811
0xcB4d0a79...ce7E427Db
0.02506327 ETH
207760782024-09-18 7:46:11102 days ago1726645571
0xcB4d0a79...ce7E427Db
0.03774531 ETH
207760782024-09-18 7:46:11102 days ago1726645571
0xcB4d0a79...ce7E427Db
0.00121759 ETH
207760782024-09-18 7:46:11102 days ago1726645571
0xcB4d0a79...ce7E427Db
0.00121759 ETH
207760782024-09-18 7:46:11102 days ago1726645571
0xcB4d0a79...ce7E427Db
0.00040586 ETH
207760782024-09-18 7:46:11102 days ago1726645571
0xcB4d0a79...ce7E427Db
0.04058635 ETH
207509772024-09-14 19:36:59105 days ago1726342619
0xcB4d0a79...ce7E427Db
0.00566169 ETH
207509772024-09-14 19:36:59105 days ago1726342619
0xcB4d0a79...ce7E427Db
0.00018263 ETH
207509772024-09-14 19:36:59105 days ago1726342619
0xcB4d0a79...ce7E427Db
0.00018263 ETH
207509772024-09-14 19:36:59105 days ago1726342619
0xcB4d0a79...ce7E427Db
0.00006087 ETH
207509772024-09-14 19:36:59105 days ago1726342619
0xcB4d0a79...ce7E427Db
0.00608784 ETH
207428042024-09-13 16:11:59106 days ago1726243919
0xcB4d0a79...ce7E427Db
0.02220534 ETH
207428042024-09-13 16:11:59106 days ago1726243919
0xcB4d0a79...ce7E427Db
0.0007163 ETH
207428042024-09-13 16:11:59106 days ago1726243919
0xcB4d0a79...ce7E427Db
0.0007163 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Ethervista20Router

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : Ethervista20Router.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.6.6;

import "./interface/AggregatorV3Interface.sol";
import "./libs/TransferHelper.sol";
import "./interface/IWETH.sol";
import "./libs/Math.sol";
import "./libs/UniswapV2Library.sol";
import "./interface/IEthervistaPair.sol";
import "./interface/IEthervista20Router.sol";
import "./interface/IEthervista20Factory.sol";
import "./interface/IERC20.sol";

contract Ethervista20Router is IEthervista20Router {
    using SafeMath for uint;

    uint8 public constant DEV_FEE = 1;
    uint256 public constant FULL_PERCENT = 100;

    address public immutable override factory;
    address public immutable override WETH;
    address payable public treasury;
    AggregatorV3Interface internal priceFeed;

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

    constructor(address _factory, address _WETH, address _oracleAddress) public {
        factory = _factory;
        WETH = _WETH;
        priceFeed = AggregatorV3Interface(_oracleAddress);
        treasury = msg.sender;
    }

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

    function getEthUsdcPrice() internal view returns (uint256) {
        (, int256 price, , ,) = priceFeed.latestRoundData();
        require(price > 0, "Invalid price");
        return uint256(price / 100);
    }

    function usdcToEth(uint256 usdcAmount) public view returns (uint256) {
        uint256 ethUsdcPrice = getEthUsdcPrice();
        return (usdcAmount * 1e6 * 1e18 / ethUsdcPrice);
    }

    // **** 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 (IEthervista20Factory(factory).getPair(tokenA, tokenB) == address(0)) {
            IEthervista20Factory(factory).createPair(tokenA, tokenB);
        }
        (uint reserveA, uint reserveB) = UniswapV2Library.getReserves(factory, tokenA, tokenB);
        if (reserveA == 0 && reserveB == 0) {
            (amountA, amountB) = (amountADesired, amountBDesired);
        } else {
            uint amountBOptimal = UniswapV2Library.quote(amountADesired, reserveA, reserveB);
            if (amountBOptimal <= amountBDesired) {
                require(amountBOptimal >= amountBMin, 'EtherVistaRouter: INSUFFICIENT_B_AMOUNT');
                (amountA, amountB) = (amountADesired, amountBOptimal);
            } else {
                uint amountAOptimal = UniswapV2Library.quote(amountBDesired, reserveB, reserveA);
                assert(amountAOptimal <= amountADesired);
                require(amountAOptimal >= amountAMin, 'EtherVistaRouter: INSUFFICIENT_A_AMOUNT');
                (amountA, amountB) = (amountAOptimal, amountBDesired);
            }
        }
    }

    function launch(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        uint8 buyLpFee,
        uint8 sellLpFee,
        uint8 buyProtocolFee,
        uint8 sellProtocolFee,
        address protocolAddress
    ) external virtual override payable returns (uint amountToken, uint amountETH, uint liquidity) {
        (amountToken, amountETH) = _addLiquidity(
            token,
            WETH,
            amountTokenDesired,
            msg.value,
            amountTokenMin,
            amountETHMin
        );
        address pair = UniswapV2Library.pairFor(factory, token, WETH);
        TransferHelper.safeTransferFrom(token, msg.sender, pair, amountToken);
        IWETH(WETH).deposit{value: amountETH}();
        assert(IWETH(WETH).transfer(pair, amountETH));
        liquidity = IEthervistaPair(pair).first_mint(msg.sender, buyLpFee, sellLpFee, buyProtocolFee, sellProtocolFee, protocolAddress);
        IEthervistaPair(UniswapV2Library.pairFor(factory, token, WETH)).updateProvider(msg.sender);

        // refund dust eth, if any
        if (msg.value > amountETH) TransferHelper.safeTransferETH(msg.sender, msg.value - amountETH);
    }

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        uint deadline
    ) external virtual override payable ensure(deadline) returns (uint amountToken, uint amountETH, uint liquidity) {
        (amountToken, amountETH) = _addLiquidity(
            token,
            WETH,
            amountTokenDesired,
            msg.value,
            amountTokenMin,
            amountETHMin
        );
        address pair = UniswapV2Library.pairFor(factory, token, WETH);
        TransferHelper.safeTransferFrom(token, msg.sender, pair, amountToken);
        IWETH(WETH).deposit{value: amountETH}();
        assert(IWETH(WETH).transfer(pair, amountETH));
        liquidity = IEthervistaPair(pair).mint(msg.sender);
        IEthervistaPair(UniswapV2Library.pairFor(factory, token, WETH)).updateProvider(msg.sender);

        // refund dust eth, if any
        if (msg.value > amountETH) TransferHelper.safeTransferETH(msg.sender, msg.value - amountETH);
    }

// **** REMOVE LIQUIDITY ****
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) internal ensure(deadline) returns (uint amountA, uint amountB) {
        address pair = UniswapV2Library.pairFor(factory, tokenA, tokenB);
        IEthervistaPair(pair).transferFrom(msg.sender, pair, liquidity); // send liquidity to pair
        (uint amount0, uint amount1) = IEthervistaPair(pair).burn(to);
        (address token0,) = UniswapV2Library.sortTokens(tokenA, tokenB);
        (amountA, amountB) = tokenA == token0 ? (amount0, amount1) : (amount1, amount0);
        require(amountA >= amountAMin, 'EtherVistaRouter: INSUFFICIENT_A_AMOUNT');
        require(amountB >= amountBMin, 'EtherVistaRouter: INSUFFICIENT_B_AMOUNT');
    }

// **** REMOVE LIQUIDITY (supporting fee-on-transfer tokens) ****
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        uint deadline
    ) public virtual override ensure(deadline) returns (uint amountETH) {
        (, amountETH) = removeLiquidity(
            token,
            WETH,
            liquidity,
            amountTokenMin,
            amountETHMin,
            address(this),
            deadline
        );
        IEthervistaPair(UniswapV2Library.pairFor(factory, token, WETH)).updateProvider(msg.sender);
        TransferHelper.safeTransfer(token, msg.sender, IERC20(token).balanceOf(address(this)));
        IWETH(WETH).withdraw(amountETH);
        TransferHelper.safeTransferETH(msg.sender, amountETH);
    }

// **** 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,) = UniswapV2Library.sortTokens(input, output);
            IEthervistaPair pair = IEthervistaPair(UniswapV2Library.pairFor(factory, input, output));
            uint amountInput;
            uint amountOutput;
            { // scope to avoid stack too deep errors
                (uint reserve0, uint reserve1,) = pair.getReserves();
                (uint reserveInput, uint reserveOutput) = input == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
                amountInput = IERC20(input).balanceOf(address(pair)).sub(reserveInput);
                amountOutput = UniswapV2Library.getAmountOut(amountInput, reserveInput, reserveOutput);
            }
            (uint amount0Out, uint amount1Out) = input == token0 ? (uint(0), amountOutput) : (amountOutput, uint(0));
            address to = i < path.length - 2 ? UniswapV2Library.pairFor(factory, output, path[i + 2]) : _to;
            pair.swap(amount0Out, amount1Out, to, new bytes(0));
        }
    }

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    )
    external
    virtual
    override
    payable
    ensure(deadline)
    {
        IEthervistaPair Pair = IEthervistaPair(UniswapV2Library.pairFor(factory, path[0], path[1]));
        require(path[0] == WETH, 'EtherVistaRouter: INVALID_PATH');
        uint256[] memory fees = new uint256[](4);

        fees[0] = msg.value.mul(DEV_FEE) / FULL_PERCENT;
        fees[1] = msg.value.mul(Pair.buyProtocolFee()) / FULL_PERCENT;
        fees[2] = msg.value.mul(Pair.buyLpFee()) / FULL_PERCENT;
        fees[3] = fees[0] + fees[1] + fees[2];
        require(msg.value > fees[3], 'EtherVistaRouter: INSUFFICIENT_ETH_FEE');

        uint amountIn = msg.value - fees[3];
        IWETH(WETH).deposit{value: amountIn}();
        assert(IWETH(WETH).transfer(UniswapV2Library.pairFor(factory, path[0], path[1]), amountIn));
        uint balanceBefore = IERC20(path[path.length - 1]).balanceOf(to);
        _swapSupportingFeeOnTransferTokens(path, to);

        require(
            IERC20(path[path.length - 1]).balanceOf(to).sub(balanceBefore) >= amountOutMin,
            'EtherVistaRouter: INSUFFICIENT_OUTPUT_AMOUNT'
        );

        treasury.transfer(fees[0]);
        (bool sent1,) = IEthervistaPair(UniswapV2Library.pairFor(factory, path[0], path[1])).payableProtocol().call{value: fees[1]}("");
        (bool sent2,) = UniswapV2Library.pairFor(factory, path[0], path[1]).call{value: fees[2]}("");
        require(sent1 && sent2, "Failed to send Ether");
    }

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    )
    external
    payable
    virtual
    override
    ensure(deadline)
    {
        IEthervistaPair Pair = IEthervistaPair(UniswapV2Library.pairFor(factory, path[0], path[1]));
        require(path[path.length - 1] == WETH, 'EtherVistaRouter: INVALID_PATH');
//        require(msg.value >= usdcToEth(Pair.sellTotalFee() + DEV_FEE), 'EtherVistaRouter: INSUFFICIENT_ETH_FEE');

        TransferHelper.safeTransferFrom(
            path[0], msg.sender, UniswapV2Library.pairFor(factory, path[0], path[1]), amountIn
        );
        _swapSupportingFeeOnTransferTokens(path, address(this));
        uint amountOut = IERC20(WETH).balanceOf(address(this));
        require(amountOut >= amountOutMin, 'EtherVistaRouter: INSUFFICIENT_OUTPUT_AMOUNT');

        IWETH(WETH).withdraw(amountOut);

        uint devFee = amountOut.mul(DEV_FEE) / FULL_PERCENT;
        uint sellProtocolFee = amountOut.mul(Pair.sellProtocolFee()) / FULL_PERCENT;
        uint sellLpFee = amountOut.mul(Pair.sellLpFee()) / FULL_PERCENT;
        uint totalFee = devFee + sellProtocolFee + sellLpFee;

        treasury.transfer(devFee);
        (bool sent1,) = IEthervistaPair(UniswapV2Library.pairFor(factory, path[0], path[1])).payableProtocol().call{value: sellProtocolFee}("");
        (bool sent2,) = UniswapV2Library.pairFor(factory, path[0], path[1]).call{value: sellLpFee}("");
        require(sent1 && sent2, "Failed to send Ether");

        TransferHelper.safeTransferETH(to, amountOut - totalFee);
    }

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

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

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

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

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

File 2 of 10 : AggregatorV3Interface.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.6.6;

interface AggregatorV3Interface {

    function decimals()
    external
    view
    returns (
        uint8
    );

    function description()
    external
    view
    returns (
        string memory
    );

    function version()
    external
    view
    returns (
        uint256
    );

    function getRoundData(
        uint80 _roundId
    )
    external
    view
    returns (
        uint80 roundId,
        int256 answer,
        uint256 startedAt,
        uint256 updatedAt,
        uint80 answeredInRound
    );

    function latestRoundData()
    external
    view
    returns (
        uint80 roundId,
        int256 answer,
        uint256 startedAt,
        uint256 updatedAt,
        uint80 answeredInRound
    );

}

File 3 of 10 : IERC20.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.5.16;

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

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

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

File 4 of 10 : IEthervista20Factory.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.5.16;

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

    function routerSetter() external view returns (address);

    function router() external view returns (address);

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

    function allPairs(uint) external view returns (address pair);

    function allPairsLength() external view returns (uint);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;

    function setRouterSetter(address) external;

    function setRouter(address) external;
}

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

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

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);

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

    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        uint deadline
    ) external returns (uint amountETH);
 
    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 payable;

    function launch(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        uint8 buyLpFee, 
        uint8 sellLpFee, 
        uint8 buyProtocolFee, 
        uint8 sellProtocolFee, 
        address protocolAddress
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);

}

File 6 of 10 : IEthervistaPair.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.5.16;

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

    function setMetadata(string calldata website, string calldata image, string calldata description, string calldata chat, string calldata social) external;
    function fetchMetadata() external view returns(string memory, string memory, string memory, string memory, string memory);

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

    function updateProvider(address user) external;
    function euler(uint) external view returns (uint256);
    function viewShare() external view returns (uint256 share);
    function claimShare() external;
    function poolBalance() external view returns (uint);
    function totalCollected() external view returns (uint);

    function updateProtocol(address) external;
    function setProtocol() external;
    function protocol() external view returns (address);
    function payableProtocol() external view returns (address payable origin);

    function creator() external view returns (address);
    function renounce() external;

    function setFees() external;
    function updateFees(uint8, uint8, uint8, uint8) external;
    function buyLpFee() external view returns (uint8);
    function sellLpFee() external view returns (uint8);
    function buyProtocolFee() external view returns (uint8);
    function sellProtocolFee() external view returns (uint8);
    function buyTotalFee() external view returns (uint8);
    function sellTotalFee() external view returns (uint8);

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

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

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

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

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

    function first_mint(address to, uint8 buyLp, uint8 sellLp, uint8 buyProtocol, uint8 sellProtocol, address protocolAddress) external returns (uint liquidity);
    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address _token0, address _token1) external;
}

File 7 of 10 : IWETH.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.6.6;

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

File 8 of 10 : Math.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.5.16;

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

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

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

library Math {
    function min(uint x, uint y) internal pure returns (uint z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint y) internal pure returns (uint z) {
        if (y > 3) {
            z = y;
            uint x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

library UQ112x112 {
    uint224 constant Q112 = 2 ** 112;

    // encode a uint112 as a UQ112x112
    function encode(uint112 y) internal pure returns (uint224 z) {
        z = uint224(y) * Q112; // never overflows
    }

    // divide a UQ112x112 by a uint112, returning a UQ112x112
    function uqdiv(uint224 x, uint112 y) internal pure returns (uint224 z) {
        z = x / uint224(y);
    }
}

File 9 of 10 : TransferHelper.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.6.6;

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

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

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

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

File 10 of 10 : UniswapV2Library.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.6.6;

import "../interface/IEthervistaPair.sol";
import "./Math.sol";

library UniswapV2Library {
    using SafeMath for uint;

    // returns sorted token addresses, used to handle return values from pairs sorted in this order
    function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {
        require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'UniswapV2Library: 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'3e5f0202d4311c3d1e2876c902cf390882ba05fe6789d4bbd05a42eff550f9dc' // init code hash
        ))));
    }

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_WETH","type":"address"},{"internalType":"address","name":"_oracleAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"DEV_FEE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FULL_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidityETH","outputs":[{"internalType":"uint256","name":"amountToken","type":"uint256"},{"internalType":"uint256","name":"amountETH","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"}],"name":"getAmountIn","outputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"}],"name":"getAmountOut","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsIn","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsOut","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amountTokenDesired","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"uint8","name":"buyLpFee","type":"uint8"},{"internalType":"uint8","name":"sellLpFee","type":"uint8"},{"internalType":"uint8","name":"buyProtocolFee","type":"uint8"},{"internalType":"uint8","name":"sellProtocolFee","type":"uint8"},{"internalType":"address","name":"protocolAddress","type":"address"}],"name":"launch","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":"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":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeLiquidityETHSupportingFeeOnTransferTokens","outputs":[{"internalType":"uint256","name":"amountETH","type":"uint256"}],"stateMutability":"nonpayable","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":"swapExactTokensForETHSupportingFeeOnTransferTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"usdcAmount","type":"uint256"}],"name":"usdcToEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c060405234801561001057600080fd5b506040516138d03803806138d08339818101604052606081101561003357600080fd5b50805160208201516040909201516001600160601b0319606092831b81166080529290911b90911660a052600180546001600160a01b039092166001600160a01b0319928316179055600080549091163317905560805160601c60a05160601c61375361017d6000398061010752806107c5528061093652806109ec5280610e035280610eb5528061116f52806111e3528061179a52806117ee528061190f5280611a235280611a795280611aad5280611b215280611c6e5280611d2d5280611d835280611db75280611e2b5280611fa352508061069b528061075b52806108865280610be15280610ce85280610e855280611215528061150c528061160e528061171f52806117cc52806119a65280611a575280611c4c5280611d615280611f8152806125db528061275a5280612c3952806130eb5280613199528061321952506137536000f3fe6080604052600436106100f75760003560e01c8063ad615dec1161008a578063cc4cf86811610059578063cc4cf868146104c0578063d06ca61f1461050b578063f6f1e306146105c0578063fe1bfba61461061c57610130565b8063ad615dec146103dc578063b6f9de9514610412578063c45a015514610496578063cbe8bba8146104ab57610130565b806361d027b3116100c657806361d027b3146102d7578063791ac9471461030857806385f8c25914610391578063ad5c4648146103c757610130565b8063054d50d4146101355780631f00ca741461017d578063436a88c11461028257806359020530146102ad57610130565b3661013057336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461012e57fe5b005b600080fd5b34801561014157600080fd5b5061016b6004803603606081101561015857600080fd5b508035906020810135906040013561067f565b60408051918252519081900360200190f35b34801561018957600080fd5b50610232600480360360408110156101a057600080fd5b81359190810190604081016020820135600160201b8111156101c157600080fd5b8201836020820111156101d357600080fd5b803590602001918460208302840111600160201b831117156101f457600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610694945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561026e578181015183820152602001610256565b505050509050019250505060405180910390f35b34801561028e57600080fd5b506102976106ca565b6040805160ff9092168252519081900360200190f35b3480156102b957600080fd5b5061016b600480360360208110156102d057600080fd5b50356106cf565b3480156102e357600080fd5b506102ec6106f9565b604080516001600160a01b039092168252519081900360200190f35b61012e600480360360a081101561031e57600080fd5b813591602081013591810190606081016040820135600160201b81111561034457600080fd5b82018360208201111561035657600080fd5b803590602001918460208302840111600160201b8311171561037757600080fd5b91935091506001600160a01b038135169060200135610708565b34801561039d57600080fd5b5061016b600480360360608110156103b457600080fd5b5080359060208101359060400135610df4565b3480156103d357600080fd5b506102ec610e01565b3480156103e857600080fd5b5061016b600480360360608110156103ff57600080fd5b5080359060208101359060400135610e25565b61012e6004803603608081101561042857600080fd5b81359190810190604081016020820135600160201b81111561044957600080fd5b82018360208201111561045b57600080fd5b803590602001918460208302840111600160201b8311171561047c57600080fd5b91935091506001600160a01b038135169060200135610e32565b3480156104a257600080fd5b506102ec61171d565b3480156104b757600080fd5b5061016b611741565b3480156104cc57600080fd5b5061016b600480360360a08110156104e357600080fd5b506001600160a01b038135169060208101359060408101359060608101359060800135611746565b34801561051757600080fd5b506102326004803603604081101561052e57600080fd5b81359190810190604081016020820135600160201b81111561054f57600080fd5b82018360208201111561056157600080fd5b803590602001918460208302840111600160201b8311171561058257600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061199f945050505050565b6105fe600480360360a08110156105d657600080fd5b506001600160a01b0381351690602081013590604081013590606081013590608001356119cc565b60408051938452602084019290925282820152519081900360600190f35b6105fe600480360361012081101561063357600080fd5b506001600160a01b03813581169160208101359160408201359160608101359160ff608083013581169260a081013582169260c082013583169260e08301351691610100013516611d22565b600061068c84848461205a565b949350505050565b60606106c17f0000000000000000000000000000000000000000000000000000000000000000848461214a565b90505b92915050565b600181565b6000806106da612297565b90508069d3c21bcecceda10000008402816106f157fe5b049392505050565b6000546001600160a01b031681565b8042811015610754576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b60006107b97f00000000000000000000000000000000000000000000000000000000000000008787600081811061078757fe5b905060200201356001600160a01b0316888860018181106107a457fe5b905060200201356001600160a01b0316612367565b90506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016868660001981018181106107f557fe5b905060200201356001600160a01b03166001600160a01b031614610860576040805162461bcd60e51b815260206004820152601e60248201527f45746865725669737461526f757465723a20494e56414c49445f504154480000604482015290519081900360640190fd5b6108d58686600081811061087057fe5b905060200201356001600160a01b0316336108cf7f00000000000000000000000000000000000000000000000000000000000000008a8a60008181106108b257fe5b905060200201356001600160a01b03168b8b60018181106107a457fe5b8b612427565b610913868680806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250612584915050565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b15801561097d57600080fd5b505afa158015610991573d6000803e3d6000fd5b505050506040513d60208110156109a757600080fd5b50519050878110156109ea5760405162461bcd60e51b815260040180806020018281038252602c81526020018061369a602c913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610a5057600080fd5b505af1158015610a64573d6000803e3d6000fd5b506000925060649150610a80905083600163ffffffff6128a116565b81610a8757fe5b04905060006064610b06856001600160a01b031663e2a7797e6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aca57600080fd5b505afa158015610ade573d6000803e3d6000fd5b505050506040513d6020811015610af457600080fd5b5051859060ff1663ffffffff6128a116565b81610b0d57fe5b04905060006064610b8c866001600160a01b031663c7b8b46d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b5057600080fd5b505afa158015610b64573d6000803e3d6000fd5b505050506040513d6020811015610b7a57600080fd5b5051869060ff1663ffffffff6128a116565b81610b9357fe5b600080546040519390920493508585018401926001600160a01b039092169186156108fc0291879190818181858888f19350505050158015610bd9573d6000803e3d6000fd5b506000610c2a7f00000000000000000000000000000000000000000000000000000000000000008d8d6000818110610c0d57fe5b905060200201356001600160a01b03168e8e60018181106107a457fe5b6001600160a01b031663ccec72fb6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c6257600080fd5b505afa158015610c76573d6000803e3d6000fd5b505050506040513d6020811015610c8c57600080fd5b50516040516001600160a01b03909116908590600081818185875af1925050503d8060008114610cd8576040519150601f19603f3d011682016040523d82523d6000602084013e610cdd565b606091505b505090506000610d317f00000000000000000000000000000000000000000000000000000000000000008e8e6000818110610d1457fe5b905060200201356001600160a01b03168f8f60018181106107a457fe5b6040516001600160a01b0391909116908590600081818185875af1925050503d8060008114610d7c576040519150601f19603f3d011682016040523d82523d6000602084013e610d81565b606091505b50509050818015610d8f5750805b610dd7576040805162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b604482015290519081900360640190fd5b610de38b848903612904565b505050505050505050505050505050565b600061068c8484846129f7565b7f000000000000000000000000000000000000000000000000000000000000000081565b600061068c848484612ae7565b8042811015610e7e576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b6000610eb17f00000000000000000000000000000000000000000000000000000000000000008787600081811061078757fe5b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031686866000818110610eea57fe5b905060200201356001600160a01b03166001600160a01b031614610f55576040805162461bcd60e51b815260206004820152601e60248201527f45746865725669737461526f757465723a20494e56414c49445f504154480000604482015290519081900360640190fd5b60408051600480825260a08201909252606091602082016080803683370190505090506064610f8b34600163ffffffff6128a116565b81610f9257fe5b0481600081518110610fa057fe5b6020026020010181815250506064611026836001600160a01b031663cc2b76576040518163ffffffff1660e01b815260040160206040518083038186803b158015610fea57600080fd5b505afa158015610ffe573d6000803e3d6000fd5b505050506040513d602081101561101457600080fd5b5051349060ff1663ffffffff6128a116565b8161102d57fe5b048160018151811061103b57fe5b6020026020010181815250506064611085836001600160a01b0316636fd3acb46040518163ffffffff1660e01b815260040160206040518083038186803b158015610fea57600080fd5b8161108c57fe5b048160028151811061109a57fe5b602002602001018181525050806002815181106110b357fe5b6020026020010151816001815181106110c857fe5b6020026020010151826000815181106110dd57fe5b60200260200101510101816003815181106110f457fe5b6020026020010181815250508060038151811061110d57fe5b602002602001015134116111525760405162461bcd60e51b815260040180806020018281038252602681526020018061364f6026913960400191505060405180910390fd5b60008160038151811061116157fe5b6020026020010151340390507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156111c857600080fd5b505af11580156111dc573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb61125e7f00000000000000000000000000000000000000000000000000000000000000008b8b600081811061124157fe5b905060200201356001600160a01b03168c8c60018181106107a457fe5b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156112ae57600080fd5b505af11580156112c2573d6000803e3d6000fd5b505050506040513d60208110156112d857600080fd5b50516112e057fe5b6000888860001981018181106112f257fe5b905060200201356001600160a01b03166001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561135757600080fd5b505afa15801561136b573d6000803e3d6000fd5b505050506040513d602081101561138157600080fd5b50516040805160208b810282810182019093528b82529293506113c39290918c918c9182918501908490808284376000920191909152508b9250612584915050565b89611475828b8b60001981018181106113d857fe5b905060200201356001600160a01b03166001600160a01b03166370a082318b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561143d57600080fd5b505afa158015611451573d6000803e3d6000fd5b505050506040513d602081101561146757600080fd5b50519063ffffffff612b9316565b10156114b25760405162461bcd60e51b815260040180806020018281038252602c81526020018061369a602c913960400191505060405180910390fd5b6000805484516001600160a01b03909116916108fc918691906114d157fe5b60200260200101519081150290604051600060405180830381858888f19350505050158015611504573d6000803e3d6000fd5b5060006115387f00000000000000000000000000000000000000000000000000000000000000008b8b600081811061124157fe5b6001600160a01b031663ccec72fb6040518163ffffffff1660e01b815260040160206040518083038186803b15801561157057600080fd5b505afa158015611584573d6000803e3d6000fd5b505050506040513d602081101561159a57600080fd5b505184516001600160a01b0390911690859060019081106115b757fe5b6020908102919091010151604051600081818185875af1925050503d80600081146115fe576040519150601f19603f3d011682016040523d82523d6000602084013e611603565b606091505b5050905060006116577f00000000000000000000000000000000000000000000000000000000000000008c8c600081811061163a57fe5b905060200201356001600160a01b03168d8d60018181106107a457fe5b6001600160a01b03168560028151811061166d57fe5b6020908102919091010151604051600081818185875af1925050503d80600081146116b4576040519150601f19603f3d011682016040523d82523d6000602084013e6116b9565b606091505b505090508180156116c75750805b61170f576040805162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b604482015290519081900360640190fd5b505050505050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b606481565b60008142811015611794576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b6117c3877f00000000000000000000000000000000000000000000000000000000000000008888883089612be3565b925061181290507f0000000000000000000000000000000000000000000000000000000000000000887f0000000000000000000000000000000000000000000000000000000000000000612367565b6001600160a01b031663ef70768a336040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b15801561186957600080fd5b505af115801561187d573d6000803e3d6000fd5b5050505061190d8733896001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156118dc57600080fd5b505afa1580156118f0573d6000803e3d6000fd5b505050506040513d602081101561190657600080fd5b5051612e2f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561197357600080fd5b505af1158015611987573d6000803e3d6000fd5b505050506119953383612904565b5095945050505050565b60606106c17f00000000000000000000000000000000000000000000000000000000000000008484612f83565b60008060008342811015611a1d576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b611a4b897f00000000000000000000000000000000000000000000000000000000000000008a348b8b6130ba565b90945092506000611a9d7f00000000000000000000000000000000000000000000000000000000000000008b7f0000000000000000000000000000000000000000000000000000000000000000612367565b9050611aab8a338388612427565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b158015611b0657600080fd5b505af1158015611b1a573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb82866040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611b9f57600080fd5b505af1158015611bb3573d6000803e3d6000fd5b505050506040513d6020811015611bc957600080fd5b5051611bd157fe5b604080516335313c2160e11b815233600482015290516001600160a01b03831691636a6278429160248083019260209291908290030181600087803b158015611c1957600080fd5b505af1158015611c2d573d6000803e3d6000fd5b505050506040513d6020811015611c4357600080fd5b50519250611c927f00000000000000000000000000000000000000000000000000000000000000008b7f0000000000000000000000000000000000000000000000000000000000000000612367565b6001600160a01b031663ef70768a336040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b158015611ce957600080fd5b505af1158015611cfd573d6000803e3d6000fd5b5050505083341115611d1557611d1533853403612904565b5050955095509592505050565b6000806000611d558c7f00000000000000000000000000000000000000000000000000000000000000008d348e8e6130ba565b90935091506000611da77f00000000000000000000000000000000000000000000000000000000000000008e7f0000000000000000000000000000000000000000000000000000000000000000612367565b9050611db58d338387612427565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0846040518263ffffffff1660e01b81526004016000604051808303818588803b158015611e1057600080fd5b505af1158015611e24573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb82856040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611ea957600080fd5b505af1158015611ebd573d6000803e3d6000fd5b505050506040513d6020811015611ed357600080fd5b5051611edb57fe5b6040805163dc2dc3f360e01b815233600482015260ff808c166024830152808b166044830152808a166064830152881660848201526001600160a01b0387811660a483015291519183169163dc2dc3f39160c4808201926020929091908290030181600087803b158015611f4e57600080fd5b505af1158015611f62573d6000803e3d6000fd5b505050506040513d6020811015611f7857600080fd5b50519150611fc77f00000000000000000000000000000000000000000000000000000000000000008e7f0000000000000000000000000000000000000000000000000000000000000000612367565b6001600160a01b031663ef70768a336040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b15801561201e57600080fd5b505af1158015612032573d6000803e3d6000fd5b505050508234111561204a5761204a33843403612904565b5099509950999650505050505050565b600080841161209a5760405162461bcd60e51b815260040180806020018281038252602b8152602001806136f3602b913960400191505060405180910390fd5b6000831180156120aa5750600082115b6120e55760405162461bcd60e51b81526004018080602001828103825260288152602001806136276028913960400191505060405180910390fd5b60006120f9856103e863ffffffff6128a116565b9050600061210d828563ffffffff6128a116565b9050600061213383612127886103e863ffffffff6128a116565b9063ffffffff61332e16565b905080828161213e57fe5b04979650505050505050565b60606002825110156121a3576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff811180156121bb57600080fd5b506040519080825280602002602001820160405280156121e5578160200160208202803683370190505b50905082816001835103815181106121f957fe5b60209081029190910101528151600019015b801561228f576000806122488786600186038151811061222757fe5b602002602001015187868151811061223b57fe5b602002602001015161337d565b9150915061226a84848151811061225b57fe5b602002602001015183836129f7565b84600185038151811061227957fe5b602090810291909101015250506000190161220b565b509392505050565b600080600160009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b1580156122e857600080fd5b505afa1580156122fc573d6000803e3d6000fd5b505050506040513d60a081101561231257600080fd5b506020015190506000811361235e576040805162461bcd60e51b815260206004820152600d60248201526c496e76616c696420707269636560981b604482015290519081900360640190fd5b60649005919050565b60008060006123768585613444565b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501206001600160f81b031960688401529a90941b9093166069840152607d8301989098527f3e5f0202d4311c3d1e2876c902cf390882ba05fe6789d4bbd05a42eff550f9dc609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17815292518251600094606094938a169392918291908083835b602083106124ac5780518252601f19909201916020918201910161248d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461250e576040519150601f19603f3d011682016040523d82523d6000602084013e612513565b606091505b5091509150818015612541575080511580612541575080806020019051602081101561253e57600080fd5b50515b61257c5760405162461bcd60e51b81526004018080602001828103825260318152602001806135766031913960400191505060405180910390fd5b505050505050565b60005b600183510381101561289c576000808483815181106125a257fe5b60200260200101518584600101815181106125b957fe5b60200260200101519150915060006125d18383613444565b50905060006126017f00000000000000000000000000000000000000000000000000000000000000008585612367565b9050600080600080846001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561264257600080fd5b505afa158015612656573d6000803e3d6000fd5b505050506040513d606081101561266c57600080fd5b5080516020909101516001600160701b0391821693501690506000806001600160a01b038a8116908916146126a25782846126a5565b83835b91509150612703828b6001600160a01b03166370a082318a6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561143d57600080fd5b955061271086838361205a565b945050505050600080856001600160a01b0316886001600160a01b03161461273a5782600061273e565b6000835b91509150600060028c51038a10612755578a612796565b6127967f0000000000000000000000000000000000000000000000000000000000000000898e8d6002018151811061278957fe5b6020026020010151612367565b604080516000808252602082019283905263022c0d9f60e01b835260248201878152604483018790526001600160a01b038086166064850152608060848501908152845160a48601819052969750908c169563022c0d9f958a958a958a9591949193919260c486019290918190849084905b83811015612820578181015183820152602001612808565b50505050905090810190601f16801561284d5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561286f57600080fd5b505af1158015612883573d6000803e3d6000fd5b50506001909b019a506125879950505050505050505050565b505050565b60008115806128bc575050808202828282816128b957fe5b04145b6106c4576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b602083106129505780518252601f199092019160209182019101612931565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146129b2576040519150601f19603f3d011682016040523d82523d6000602084013e6129b7565b606091505b505090508061289c5760405162461bcd60e51b81526004018080602001828103825260348152602001806135a76034913960400191505060405180910390fd5b6000808411612a375760405162461bcd60e51b815260040180806020018281038252602c815260200180613523602c913960400191505060405180910390fd5b600083118015612a475750600082115b612a825760405162461bcd60e51b81526004018080602001828103825260288152602001806136276028913960400191505060405180910390fd5b6000612aa66103e8612a9a868863ffffffff6128a116565b9063ffffffff6128a116565b90506000612ac06103e8612a9a868963ffffffff612b9316565b9050612add6001828481612ad057fe5b049063ffffffff61332e16565b9695505050505050565b6000808411612b275760405162461bcd60e51b81526004018080602001828103825260258152602001806136756025913960400191505060405180910390fd5b600083118015612b375750600082115b612b725760405162461bcd60e51b81526004018080602001828103825260288152602001806136276028913960400191505060405180910390fd5b82612b83858463ffffffff6128a116565b81612b8a57fe5b04949350505050565b808203828111156106c4576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6000808242811015612c32576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b6000612c5f7f00000000000000000000000000000000000000000000000000000000000000008c8c612367565b604080516323b872dd60e01b81523360048201526001600160a01b03831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b158015612cba57600080fd5b505af1158015612cce573d6000803e3d6000fd5b505050506040513d6020811015612ce457600080fd5b50506040805163226bf2d160e21b81526001600160a01b03888116600483015282516000938493928616926389afcb44926024808301939282900301818787803b158015612d3157600080fd5b505af1158015612d45573d6000803e3d6000fd5b505050506040513d6040811015612d5b57600080fd5b50805160209091015190925090506000612d758e8e613444565b509050806001600160a01b03168e6001600160a01b031614612d98578183612d9b565b82825b90975095508a871015612ddf5760405162461bcd60e51b81526004018080602001828103825260278152602001806136006027913960400191505060405180910390fd5b89861015612e1e5760405162461bcd60e51b815260040180806020018281038252602781526020018061354f6027913960400191505060405180910390fd5b505050505097509795505050505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b178152925182516000946060949389169392918291908083835b60208310612eac5780518252601f199092019160209182019101612e8d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612f0e576040519150601f19603f3d011682016040523d82523d6000602084013e612f13565b606091505b5091509150818015612f41575080511580612f415750808060200190516020811015612f3e57600080fd5b50515b612f7c5760405162461bcd60e51b815260040180806020018281038252602d8152602001806136c6602d913960400191505060405180910390fd5b5050505050565b6060600282511015612fdc576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff81118015612ff457600080fd5b5060405190808252806020026020018201604052801561301e578160200160208202803683370190505b509050828160008151811061302f57fe5b60200260200101818152505060005b600183510381101561228f576000806130748786858151811061305d57fe5b602002602001015187866001018151811061223b57fe5b9150915061309684848151811061308757fe5b6020026020010151838361205a565b8484600101815181106130a557fe5b6020908102919091010152505060010161303e565b6040805163e6a4390560e01b81526001600160a01b03888116600483015287811660248301529151600092839283927f00000000000000000000000000000000000000000000000000000000000000009092169163e6a4390591604480820192602092909190829003018186803b15801561313457600080fd5b505afa158015613148573d6000803e3d6000fd5b505050506040513d602081101561315e57600080fd5b50516001600160a01b0316141561321157604080516364e329cb60e11b81526001600160a01b038a81166004830152898116602483015291517f00000000000000000000000000000000000000000000000000000000000000009092169163c9c65396916044808201926020929091908290030181600087803b1580156131e457600080fd5b505af11580156131f8573d6000803e3d6000fd5b505050506040513d602081101561320e57600080fd5b50505b60008061323f7f00000000000000000000000000000000000000000000000000000000000000008b8b61337d565b91509150816000148015613251575080155b1561326157879350869250613321565b600061326e898484612ae7565b90508781116132c157858110156132b65760405162461bcd60e51b815260040180806020018281038252602781526020018061354f6027913960400191505060405180910390fd5b88945092508261331f565b60006132ce898486612ae7565b9050898111156132da57fe5b878110156133195760405162461bcd60e51b81526004018080602001828103825260278152602001806136006027913960400191505060405180910390fd5b94508793505b505b5050965096945050505050565b808201828110156106c4576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b600080600061338c8585613444565b50905060008061339d888888612367565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156133d557600080fd5b505afa1580156133e9573d6000803e3d6000fd5b505050506040513d60608110156133ff57600080fd5b5080516020909101516001600160701b0391821693501690506001600160a01b0387811690841614613432578082613435565b81815b90999098509650505050505050565b600080826001600160a01b0316846001600160a01b031614156134985760405162461bcd60e51b81526004018080602001828103825260258152602001806135db6025913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b0316106134b85782846134bb565b83835b90925090506001600160a01b03821661351b576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b925092905056fe556e697377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e5445746865725669737461526f757465723a20494e53554646494349454e545f425f414d4f554e545472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c65645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c6564556e697377617056324c6962726172793a204944454e544943414c5f41444452455353455345746865725669737461526f757465723a20494e53554646494349454e545f415f414d4f554e54556e697377617056324c6962726172793a20494e53554646494349454e545f4c495155494449545945746865725669737461526f757465723a20494e53554646494349454e545f4554485f464545556e697377617056324c6962726172793a20494e53554646494349454e545f414d4f554e5445746865725669737461526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e545472616e7366657248656c7065723a3a736166655472616e736665723a207472616e73666572206661696c6564556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a2646970667358221220c8717aa81bfe5612f0be52c0be576c52c29cbc4240114186801c889de5dd5d1464736f6c6343000606003300000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419

Deployed Bytecode

0x6080604052600436106100f75760003560e01c8063ad615dec1161008a578063cc4cf86811610059578063cc4cf868146104c0578063d06ca61f1461050b578063f6f1e306146105c0578063fe1bfba61461061c57610130565b8063ad615dec146103dc578063b6f9de9514610412578063c45a015514610496578063cbe8bba8146104ab57610130565b806361d027b3116100c657806361d027b3146102d7578063791ac9471461030857806385f8c25914610391578063ad5c4648146103c757610130565b8063054d50d4146101355780631f00ca741461017d578063436a88c11461028257806359020530146102ad57610130565b3661013057336001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2161461012e57fe5b005b600080fd5b34801561014157600080fd5b5061016b6004803603606081101561015857600080fd5b508035906020810135906040013561067f565b60408051918252519081900360200190f35b34801561018957600080fd5b50610232600480360360408110156101a057600080fd5b81359190810190604081016020820135600160201b8111156101c157600080fd5b8201836020820111156101d357600080fd5b803590602001918460208302840111600160201b831117156101f457600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610694945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561026e578181015183820152602001610256565b505050509050019250505060405180910390f35b34801561028e57600080fd5b506102976106ca565b6040805160ff9092168252519081900360200190f35b3480156102b957600080fd5b5061016b600480360360208110156102d057600080fd5b50356106cf565b3480156102e357600080fd5b506102ec6106f9565b604080516001600160a01b039092168252519081900360200190f35b61012e600480360360a081101561031e57600080fd5b813591602081013591810190606081016040820135600160201b81111561034457600080fd5b82018360208201111561035657600080fd5b803590602001918460208302840111600160201b8311171561037757600080fd5b91935091506001600160a01b038135169060200135610708565b34801561039d57600080fd5b5061016b600480360360608110156103b457600080fd5b5080359060208101359060400135610df4565b3480156103d357600080fd5b506102ec610e01565b3480156103e857600080fd5b5061016b600480360360608110156103ff57600080fd5b5080359060208101359060400135610e25565b61012e6004803603608081101561042857600080fd5b81359190810190604081016020820135600160201b81111561044957600080fd5b82018360208201111561045b57600080fd5b803590602001918460208302840111600160201b8311171561047c57600080fd5b91935091506001600160a01b038135169060200135610e32565b3480156104a257600080fd5b506102ec61171d565b3480156104b757600080fd5b5061016b611741565b3480156104cc57600080fd5b5061016b600480360360a08110156104e357600080fd5b506001600160a01b038135169060208101359060408101359060608101359060800135611746565b34801561051757600080fd5b506102326004803603604081101561052e57600080fd5b81359190810190604081016020820135600160201b81111561054f57600080fd5b82018360208201111561056157600080fd5b803590602001918460208302840111600160201b8311171561058257600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061199f945050505050565b6105fe600480360360a08110156105d657600080fd5b506001600160a01b0381351690602081013590604081013590606081013590608001356119cc565b60408051938452602084019290925282820152519081900360600190f35b6105fe600480360361012081101561063357600080fd5b506001600160a01b03813581169160208101359160408201359160608101359160ff608083013581169260a081013582169260c082013583169260e08301351691610100013516611d22565b600061068c84848461205a565b949350505050565b60606106c17f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb7848461214a565b90505b92915050565b600181565b6000806106da612297565b90508069d3c21bcecceda10000008402816106f157fe5b049392505050565b6000546001600160a01b031681565b8042811015610754576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b60006107b97f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78787600081811061078757fe5b905060200201356001600160a01b0316888860018181106107a457fe5b905060200201356001600160a01b0316612367565b90506001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216868660001981018181106107f557fe5b905060200201356001600160a01b03166001600160a01b031614610860576040805162461bcd60e51b815260206004820152601e60248201527f45746865725669737461526f757465723a20494e56414c49445f504154480000604482015290519081900360640190fd5b6108d58686600081811061087057fe5b905060200201356001600160a01b0316336108cf7f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78a8a60008181106108b257fe5b905060200201356001600160a01b03168b8b60018181106107a457fe5b8b612427565b610913868680806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250612584915050565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216916370a0823191602480820192602092909190829003018186803b15801561097d57600080fd5b505afa158015610991573d6000803e3d6000fd5b505050506040513d60208110156109a757600080fd5b50519050878110156109ea5760405162461bcd60e51b815260040180806020018281038252602c81526020018061369a602c913960400191505060405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610a5057600080fd5b505af1158015610a64573d6000803e3d6000fd5b506000925060649150610a80905083600163ffffffff6128a116565b81610a8757fe5b04905060006064610b06856001600160a01b031663e2a7797e6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aca57600080fd5b505afa158015610ade573d6000803e3d6000fd5b505050506040513d6020811015610af457600080fd5b5051859060ff1663ffffffff6128a116565b81610b0d57fe5b04905060006064610b8c866001600160a01b031663c7b8b46d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b5057600080fd5b505afa158015610b64573d6000803e3d6000fd5b505050506040513d6020811015610b7a57600080fd5b5051869060ff1663ffffffff6128a116565b81610b9357fe5b600080546040519390920493508585018401926001600160a01b039092169186156108fc0291879190818181858888f19350505050158015610bd9573d6000803e3d6000fd5b506000610c2a7f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78d8d6000818110610c0d57fe5b905060200201356001600160a01b03168e8e60018181106107a457fe5b6001600160a01b031663ccec72fb6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c6257600080fd5b505afa158015610c76573d6000803e3d6000fd5b505050506040513d6020811015610c8c57600080fd5b50516040516001600160a01b03909116908590600081818185875af1925050503d8060008114610cd8576040519150601f19603f3d011682016040523d82523d6000602084013e610cdd565b606091505b505090506000610d317f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78e8e6000818110610d1457fe5b905060200201356001600160a01b03168f8f60018181106107a457fe5b6040516001600160a01b0391909116908590600081818185875af1925050503d8060008114610d7c576040519150601f19603f3d011682016040523d82523d6000602084013e610d81565b606091505b50509050818015610d8f5750805b610dd7576040805162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b604482015290519081900360640190fd5b610de38b848903612904565b505050505050505050505050505050565b600061068c8484846129f7565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b600061068c848484612ae7565b8042811015610e7e576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b6000610eb17f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78787600081811061078757fe5b90507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031686866000818110610eea57fe5b905060200201356001600160a01b03166001600160a01b031614610f55576040805162461bcd60e51b815260206004820152601e60248201527f45746865725669737461526f757465723a20494e56414c49445f504154480000604482015290519081900360640190fd5b60408051600480825260a08201909252606091602082016080803683370190505090506064610f8b34600163ffffffff6128a116565b81610f9257fe5b0481600081518110610fa057fe5b6020026020010181815250506064611026836001600160a01b031663cc2b76576040518163ffffffff1660e01b815260040160206040518083038186803b158015610fea57600080fd5b505afa158015610ffe573d6000803e3d6000fd5b505050506040513d602081101561101457600080fd5b5051349060ff1663ffffffff6128a116565b8161102d57fe5b048160018151811061103b57fe5b6020026020010181815250506064611085836001600160a01b0316636fd3acb46040518163ffffffff1660e01b815260040160206040518083038186803b158015610fea57600080fd5b8161108c57fe5b048160028151811061109a57fe5b602002602001018181525050806002815181106110b357fe5b6020026020010151816001815181106110c857fe5b6020026020010151826000815181106110dd57fe5b60200260200101510101816003815181106110f457fe5b6020026020010181815250508060038151811061110d57fe5b602002602001015134116111525760405162461bcd60e51b815260040180806020018281038252602681526020018061364f6026913960400191505060405180910390fd5b60008160038151811061116157fe5b6020026020010151340390507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156111c857600080fd5b505af11580156111dc573d6000803e3d6000fd5b50505050507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663a9059cbb61125e7f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78b8b600081811061124157fe5b905060200201356001600160a01b03168c8c60018181106107a457fe5b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156112ae57600080fd5b505af11580156112c2573d6000803e3d6000fd5b505050506040513d60208110156112d857600080fd5b50516112e057fe5b6000888860001981018181106112f257fe5b905060200201356001600160a01b03166001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561135757600080fd5b505afa15801561136b573d6000803e3d6000fd5b505050506040513d602081101561138157600080fd5b50516040805160208b810282810182019093528b82529293506113c39290918c918c9182918501908490808284376000920191909152508b9250612584915050565b89611475828b8b60001981018181106113d857fe5b905060200201356001600160a01b03166001600160a01b03166370a082318b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561143d57600080fd5b505afa158015611451573d6000803e3d6000fd5b505050506040513d602081101561146757600080fd5b50519063ffffffff612b9316565b10156114b25760405162461bcd60e51b815260040180806020018281038252602c81526020018061369a602c913960400191505060405180910390fd5b6000805484516001600160a01b03909116916108fc918691906114d157fe5b60200260200101519081150290604051600060405180830381858888f19350505050158015611504573d6000803e3d6000fd5b5060006115387f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78b8b600081811061124157fe5b6001600160a01b031663ccec72fb6040518163ffffffff1660e01b815260040160206040518083038186803b15801561157057600080fd5b505afa158015611584573d6000803e3d6000fd5b505050506040513d602081101561159a57600080fd5b505184516001600160a01b0390911690859060019081106115b757fe5b6020908102919091010151604051600081818185875af1925050503d80600081146115fe576040519150601f19603f3d011682016040523d82523d6000602084013e611603565b606091505b5050905060006116577f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78c8c600081811061163a57fe5b905060200201356001600160a01b03168d8d60018181106107a457fe5b6001600160a01b03168560028151811061166d57fe5b6020908102919091010151604051600081818185875af1925050503d80600081146116b4576040519150601f19603f3d011682016040523d82523d6000602084013e6116b9565b606091505b505090508180156116c75750805b61170f576040805162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b604482015290519081900360640190fd5b505050505050505050505050565b7f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb781565b606481565b60008142811015611794576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b6117c3877f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28888883089612be3565b925061181290507f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb7887f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2612367565b6001600160a01b031663ef70768a336040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b15801561186957600080fd5b505af115801561187d573d6000803e3d6000fd5b5050505061190d8733896001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156118dc57600080fd5b505afa1580156118f0573d6000803e3d6000fd5b505050506040513d602081101561190657600080fd5b5051612e2f565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561197357600080fd5b505af1158015611987573d6000803e3d6000fd5b505050506119953383612904565b5095945050505050565b60606106c17f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78484612f83565b60008060008342811015611a1d576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b611a4b897f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28a348b8b6130ba565b90945092506000611a9d7f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2612367565b9050611aab8a338388612427565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b158015611b0657600080fd5b505af1158015611b1a573d6000803e3d6000fd5b50505050507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663a9059cbb82866040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611b9f57600080fd5b505af1158015611bb3573d6000803e3d6000fd5b505050506040513d6020811015611bc957600080fd5b5051611bd157fe5b604080516335313c2160e11b815233600482015290516001600160a01b03831691636a6278429160248083019260209291908290030181600087803b158015611c1957600080fd5b505af1158015611c2d573d6000803e3d6000fd5b505050506040513d6020811015611c4357600080fd5b50519250611c927f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2612367565b6001600160a01b031663ef70768a336040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b158015611ce957600080fd5b505af1158015611cfd573d6000803e3d6000fd5b5050505083341115611d1557611d1533853403612904565b5050955095509592505050565b6000806000611d558c7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28d348e8e6130ba565b90935091506000611da77f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78e7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2612367565b9050611db58d338387612427565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0846040518263ffffffff1660e01b81526004016000604051808303818588803b158015611e1057600080fd5b505af1158015611e24573d6000803e3d6000fd5b50505050507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663a9059cbb82856040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611ea957600080fd5b505af1158015611ebd573d6000803e3d6000fd5b505050506040513d6020811015611ed357600080fd5b5051611edb57fe5b6040805163dc2dc3f360e01b815233600482015260ff808c166024830152808b166044830152808a166064830152881660848201526001600160a01b0387811660a483015291519183169163dc2dc3f39160c4808201926020929091908290030181600087803b158015611f4e57600080fd5b505af1158015611f62573d6000803e3d6000fd5b505050506040513d6020811015611f7857600080fd5b50519150611fc77f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78e7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2612367565b6001600160a01b031663ef70768a336040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b15801561201e57600080fd5b505af1158015612032573d6000803e3d6000fd5b505050508234111561204a5761204a33843403612904565b5099509950999650505050505050565b600080841161209a5760405162461bcd60e51b815260040180806020018281038252602b8152602001806136f3602b913960400191505060405180910390fd5b6000831180156120aa5750600082115b6120e55760405162461bcd60e51b81526004018080602001828103825260288152602001806136276028913960400191505060405180910390fd5b60006120f9856103e863ffffffff6128a116565b9050600061210d828563ffffffff6128a116565b9050600061213383612127886103e863ffffffff6128a116565b9063ffffffff61332e16565b905080828161213e57fe5b04979650505050505050565b60606002825110156121a3576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff811180156121bb57600080fd5b506040519080825280602002602001820160405280156121e5578160200160208202803683370190505b50905082816001835103815181106121f957fe5b60209081029190910101528151600019015b801561228f576000806122488786600186038151811061222757fe5b602002602001015187868151811061223b57fe5b602002602001015161337d565b9150915061226a84848151811061225b57fe5b602002602001015183836129f7565b84600185038151811061227957fe5b602090810291909101015250506000190161220b565b509392505050565b600080600160009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b1580156122e857600080fd5b505afa1580156122fc573d6000803e3d6000fd5b505050506040513d60a081101561231257600080fd5b506020015190506000811361235e576040805162461bcd60e51b815260206004820152600d60248201526c496e76616c696420707269636560981b604482015290519081900360640190fd5b60649005919050565b60008060006123768585613444565b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501206001600160f81b031960688401529a90941b9093166069840152607d8301989098527f3e5f0202d4311c3d1e2876c902cf390882ba05fe6789d4bbd05a42eff550f9dc609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17815292518251600094606094938a169392918291908083835b602083106124ac5780518252601f19909201916020918201910161248d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461250e576040519150601f19603f3d011682016040523d82523d6000602084013e612513565b606091505b5091509150818015612541575080511580612541575080806020019051602081101561253e57600080fd5b50515b61257c5760405162461bcd60e51b81526004018080602001828103825260318152602001806135766031913960400191505060405180910390fd5b505050505050565b60005b600183510381101561289c576000808483815181106125a257fe5b60200260200101518584600101815181106125b957fe5b60200260200101519150915060006125d18383613444565b50905060006126017f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78585612367565b9050600080600080846001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561264257600080fd5b505afa158015612656573d6000803e3d6000fd5b505050506040513d606081101561266c57600080fd5b5080516020909101516001600160701b0391821693501690506000806001600160a01b038a8116908916146126a25782846126a5565b83835b91509150612703828b6001600160a01b03166370a082318a6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561143d57600080fd5b955061271086838361205a565b945050505050600080856001600160a01b0316886001600160a01b03161461273a5782600061273e565b6000835b91509150600060028c51038a10612755578a612796565b6127967f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb7898e8d6002018151811061278957fe5b6020026020010151612367565b604080516000808252602082019283905263022c0d9f60e01b835260248201878152604483018790526001600160a01b038086166064850152608060848501908152845160a48601819052969750908c169563022c0d9f958a958a958a9591949193919260c486019290918190849084905b83811015612820578181015183820152602001612808565b50505050905090810190601f16801561284d5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561286f57600080fd5b505af1158015612883573d6000803e3d6000fd5b50506001909b019a506125879950505050505050505050565b505050565b60008115806128bc575050808202828282816128b957fe5b04145b6106c4576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b602083106129505780518252601f199092019160209182019101612931565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146129b2576040519150601f19603f3d011682016040523d82523d6000602084013e6129b7565b606091505b505090508061289c5760405162461bcd60e51b81526004018080602001828103825260348152602001806135a76034913960400191505060405180910390fd5b6000808411612a375760405162461bcd60e51b815260040180806020018281038252602c815260200180613523602c913960400191505060405180910390fd5b600083118015612a475750600082115b612a825760405162461bcd60e51b81526004018080602001828103825260288152602001806136276028913960400191505060405180910390fd5b6000612aa66103e8612a9a868863ffffffff6128a116565b9063ffffffff6128a116565b90506000612ac06103e8612a9a868963ffffffff612b9316565b9050612add6001828481612ad057fe5b049063ffffffff61332e16565b9695505050505050565b6000808411612b275760405162461bcd60e51b81526004018080602001828103825260258152602001806136756025913960400191505060405180910390fd5b600083118015612b375750600082115b612b725760405162461bcd60e51b81526004018080602001828103825260288152602001806136276028913960400191505060405180910390fd5b82612b83858463ffffffff6128a116565b81612b8a57fe5b04949350505050565b808203828111156106c4576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6000808242811015612c32576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b6000612c5f7f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78c8c612367565b604080516323b872dd60e01b81523360048201526001600160a01b03831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b158015612cba57600080fd5b505af1158015612cce573d6000803e3d6000fd5b505050506040513d6020811015612ce457600080fd5b50506040805163226bf2d160e21b81526001600160a01b03888116600483015282516000938493928616926389afcb44926024808301939282900301818787803b158015612d3157600080fd5b505af1158015612d45573d6000803e3d6000fd5b505050506040513d6040811015612d5b57600080fd5b50805160209091015190925090506000612d758e8e613444565b509050806001600160a01b03168e6001600160a01b031614612d98578183612d9b565b82825b90975095508a871015612ddf5760405162461bcd60e51b81526004018080602001828103825260278152602001806136006027913960400191505060405180910390fd5b89861015612e1e5760405162461bcd60e51b815260040180806020018281038252602781526020018061354f6027913960400191505060405180910390fd5b505050505097509795505050505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b178152925182516000946060949389169392918291908083835b60208310612eac5780518252601f199092019160209182019101612e8d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612f0e576040519150601f19603f3d011682016040523d82523d6000602084013e612f13565b606091505b5091509150818015612f41575080511580612f415750808060200190516020811015612f3e57600080fd5b50515b612f7c5760405162461bcd60e51b815260040180806020018281038252602d8152602001806136c6602d913960400191505060405180910390fd5b5050505050565b6060600282511015612fdc576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff81118015612ff457600080fd5b5060405190808252806020026020018201604052801561301e578160200160208202803683370190505b509050828160008151811061302f57fe5b60200260200101818152505060005b600183510381101561228f576000806130748786858151811061305d57fe5b602002602001015187866001018151811061223b57fe5b9150915061309684848151811061308757fe5b6020026020010151838361205a565b8484600101815181106130a557fe5b6020908102919091010152505060010161303e565b6040805163e6a4390560e01b81526001600160a01b03888116600483015287811660248301529151600092839283927f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb79092169163e6a4390591604480820192602092909190829003018186803b15801561313457600080fd5b505afa158015613148573d6000803e3d6000fd5b505050506040513d602081101561315e57600080fd5b50516001600160a01b0316141561321157604080516364e329cb60e11b81526001600160a01b038a81166004830152898116602483015291517f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb79092169163c9c65396916044808201926020929091908290030181600087803b1580156131e457600080fd5b505af11580156131f8573d6000803e3d6000fd5b505050506040513d602081101561320e57600080fd5b50505b60008061323f7f00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb78b8b61337d565b91509150816000148015613251575080155b1561326157879350869250613321565b600061326e898484612ae7565b90508781116132c157858110156132b65760405162461bcd60e51b815260040180806020018281038252602781526020018061354f6027913960400191505060405180910390fd5b88945092508261331f565b60006132ce898486612ae7565b9050898111156132da57fe5b878110156133195760405162461bcd60e51b81526004018080602001828103825260278152602001806136006027913960400191505060405180910390fd5b94508793505b505b5050965096945050505050565b808201828110156106c4576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b600080600061338c8585613444565b50905060008061339d888888612367565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156133d557600080fd5b505afa1580156133e9573d6000803e3d6000fd5b505050506040513d60608110156133ff57600080fd5b5080516020909101516001600160701b0391821693501690506001600160a01b0387811690841614613432578082613435565b81815b90999098509650505050505050565b600080826001600160a01b0316846001600160a01b031614156134985760405162461bcd60e51b81526004018080602001828103825260258152602001806135db6025913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b0316106134b85782846134bb565b83835b90925090506001600160a01b03821661351b576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b925092905056fe556e697377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e5445746865725669737461526f757465723a20494e53554646494349454e545f425f414d4f554e545472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c65645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c6564556e697377617056324c6962726172793a204944454e544943414c5f41444452455353455345746865725669737461526f757465723a20494e53554646494349454e545f415f414d4f554e54556e697377617056324c6962726172793a20494e53554646494349454e545f4c495155494449545945746865725669737461526f757465723a20494e53554646494349454e545f4554485f464545556e697377617056324c6962726172793a20494e53554646494349454e545f414d4f554e5445746865725669737461526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e545472616e7366657248656c7065723a3a736166655472616e736665723a207472616e73666572206661696c6564556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a2646970667358221220c8717aa81bfe5612f0be52c0be576c52c29cbc4240114186801c889de5dd5d1464736f6c63430006060033

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

00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419

-----Decoded View---------------
Arg [0] : _factory (address): 0x90B3dC788F7fa9cce6f1DB71c7E313785004acB7
Arg [1] : _WETH (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [2] : _oracleAddress (address): 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000090b3dc788f7fa9cce6f1db71c7e313785004acb7
Arg [1] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [2] : 0000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419


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.