ETH Price: $3,281.27 (-1.47%)
Gas: 4.07 Gwei

Contract

0xCEDd366065A146a039B92Db35756ecD7688FCC77
 

Overview

ETH Balance

0.00045598859975653 ETH

Eth Value

$1.50 (@ $3,281.27/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Swap Exact Token...214636212024-12-23 7:12:4713 mins ago1734937967IN
Ethervista: Router
0.00627024 ETH0.000309924.66299131
Swap Exact Token...214636212024-12-23 7:12:4713 mins ago1734937967IN
Ethervista: Router
0.00627024 ETH0.001739374.66299131
Swap Exact Token...214635832024-12-23 7:05:1121 mins ago1734937511IN
Ethervista: Router
0.00472914 ETH0.001104614.76493408
Swap Exact Token...214630352024-12-23 5:14:592 hrs ago1734930899IN
Ethervista: Router
0.00465622 ETH0.002485685.36681668
Hardstake214628882024-12-23 4:45:352 hrs ago1734929135IN
Ethervista: Router
0 ETH0.000728235.52130144
Swap Exact Token...214628342024-12-23 4:34:472 hrs ago1734928487IN
Ethervista: Router
0.07570076 ETH0.000740294.13919135
Swap Exact Token...214626712024-12-23 4:01:593 hrs ago1734926519IN
Ethervista: Router
0.0046084 ETH0.001129684.87309345
Swap Exact Token...214626282024-12-23 3:53:233 hrs ago1734926003IN
Ethervista: Router
0.00617648 ETH0.002084055.58682182
Swap Exact Token...214625352024-12-23 3:34:473 hrs ago1734924887IN
Ethervista: Router
0.00463236 ETH0.002038228.79224633
Swap Exact ETH F...214622452024-12-23 2:35:474 hrs ago1734921347IN
Ethervista: Router
2.00307903 ETH0.001373675.70847944
Swap Exact ETH F...214620032024-12-23 1:47:115 hrs ago1734918431IN
Ethervista: Router
1.47022511 ETH0.002338179.7175183
Swap Exact ETH F...214618162024-12-23 1:09:356 hrs ago1734916175IN
Ethervista: Router
1.24223261 ETH0.00224179.31613765
Swap Exact ETH F...214616612024-12-23 0:38:356 hrs ago1734914315IN
Ethervista: Router
2.05596127 ETH0.0033037113.73033902
Swap Exact Token...214616602024-12-23 0:38:236 hrs ago1734914303IN
Ethervista: Router
0.00474071 ETH0.00104084.49017573
Swap Exact ETH F...214616132024-12-23 0:28:476 hrs ago1734913727IN
Ethervista: Router
3.6312354 ETH0.0049467521.50371071
Swap Exact Token...214613532024-12-22 23:35:597 hrs ago1734910559IN
Ethervista: Router
0.00503409 ETH0.002311789.86640755
Swap Exact Token...214613432024-12-22 23:33:597 hrs ago1734910439IN
Ethervista: Router
0.0768847 ETH0.00085084.75703931
Swap Exact Token...214613432024-12-22 23:33:597 hrs ago1734910439IN
Ethervista: Router
0.00503409 ETH0.0027525411.74749984
Swap Exact Token...214613332024-12-22 23:31:597 hrs ago1734910319IN
Ethervista: Router
0.00345674 ETH0.001252135.29099701
Swap Exact Token...214611152024-12-22 22:48:118 hrs ago1734907691IN
Ethervista: Router
0.00505855 ETH0.0025425210.85118053
Swap Exact Token...214609862024-12-22 22:21:599 hrs ago1734906119IN
Ethervista: Router
0.00347354 ETH0.001508086.37316659
Swap Exact Token...214609042024-12-22 22:05:239 hrs ago1734905123IN
Ethervista: Router
0.0034564 ETH0.001914428.09782692
Swap Exact Token...214605222024-12-22 20:48:2310 hrs ago1734900503IN
Ethervista: Router
0.07699274 ETH0.001101766.16021925
Swap Exact Token...214605212024-12-22 20:48:1110 hrs ago1734900491IN
Ethervista: Router
0.00506184 ETH0.0027632811.79331942
Swap Exact ETH F...214604122024-12-22 20:26:1111 hrs ago1734899171IN
Ethervista: Router
0.55308426 ETH0.002302619.5688045
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
214636212024-12-23 7:12:4713 mins ago1734937967
Ethervista: Router
0.03554628 ETH
214636212024-12-23 7:12:4713 mins ago1734937967
Ethervista: Router
0.03554628 ETH
214636212024-12-23 7:12:4713 mins ago1734937967
Ethervista: Router
0.00578323 ETH
214636212024-12-23 7:12:4713 mins ago1734937967
Ethervista: Router
0.00030438 ETH
214635832024-12-23 7:05:1121 mins ago1734937511
Ethervista: Router
1.33634506 ETH
214635832024-12-23 7:05:1121 mins ago1734937511
Ethervista: Router
1.33634506 ETH
214635832024-12-23 7:05:1121 mins ago1734937511
Ethervista: Router
0.0042853 ETH
214635832024-12-23 7:05:1121 mins ago1734937511
Ethervista: Router
0.00030609 ETH
214630352024-12-23 5:14:592 hrs ago1734930899
Ethervista: Router
0.64119747 ETH
214630352024-12-23 5:14:592 hrs ago1734930899
Ethervista: Router
0.64119747 ETH
214630352024-12-23 5:14:592 hrs ago1734930899
Ethervista: Router
0.00271236 ETH
214630352024-12-23 5:14:592 hrs ago1734930899
Ethervista: Router
0.00030137 ETH
214630352024-12-23 5:14:592 hrs ago1734930899
Ethervista: Router
0.00608035 ETH
214630352024-12-23 5:14:592 hrs ago1734930899
Ethervista: Router
0.00909409 ETH
214630352024-12-23 5:14:592 hrs ago1734930899
Ethervista: Router
0.00421923 ETH
214630352024-12-23 5:14:592 hrs ago1734930899
Ethervista: Router
0.00030137 ETH
214628342024-12-23 4:34:472 hrs ago1734928487
Ethervista: Router
0 ETH
214628342024-12-23 4:34:472 hrs ago1734928487
Ethervista: Router
0 ETH
214628342024-12-23 4:34:472 hrs ago1734928487
Ethervista: Router
0.07644574 ETH
214628342024-12-23 4:34:472 hrs ago1734928487
Ethervista: Router
0.00029978 ETH
214626712024-12-23 4:01:593 hrs ago1734926519
Ethervista: Router
0.17305879 ETH
214626712024-12-23 4:01:593 hrs ago1734926519
Ethervista: Router
0.17305879 ETH
214626712024-12-23 4:01:593 hrs ago1734926519
Ethervista: Router
0.0041759 ETH
214626712024-12-23 4:01:593 hrs ago1734926519
Ethervista: Router
0.00029827 ETH
214626282024-12-23 3:53:233 hrs ago1734926003
Ethervista: Router
0.10140488 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EtherVistaRouter

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 2 : hardrouter.sol
pragma solidity =0.6.6;

import './interfaces/IEtherVistaRouter.sol';

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 websiteUrl() external view returns (string memory);
    function imageUrl() external view returns (string memory);
    function tokenDescription() external view returns (string memory);
    function chatUrl() external view returns (string memory);
    function socialUrl() external view returns (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 setProtocol(address) 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;
}

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

interface IEtherVistaFactory {
    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;
}

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

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

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

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

}

interface IStakingContract {
  function stake(uint256, address, address) external;
}

contract EtherVistaRouter is IEtherVistaRouter {
    using SafeMath for uint;

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

// **** HARDSTAKE ERC20 & LP ****

    function updateSelf(address _token) public override  {
        IEtherVistaPair pair = IEtherVistaPair(_token);
        require(IEtherVistaFactory(factory).getPair(pair.token0(), pair.token1()) == _token);
        pair.updateProvider(msg.sender);
    }

    function safeTransferLp(address _token, address to, uint256 _amount) public override  {
        require(_amount > 0, "Amount must be greater than 0");
        IEtherVistaPair pair = IEtherVistaPair(_token);
        require(IEtherVistaFactory(factory).getPair(pair.token0(), pair.token1()) == _token);
        TransferHelper.safeTransferFrom(_token, msg.sender, to, _amount);
        pair.updateProvider(msg.sender);
    }

    function hardstake(address _contract, address _token,  uint256 _amount) public override   {
        require(_amount > 0, "Amount must be greater than 0");
        TransferHelper.safeTransferFrom(_token, msg.sender, _contract, _amount);
        try IEtherVistaPair(_token).token0() returns (address token0) {
            address token1 = IEtherVistaPair(_token).token1(); 
            if (IEtherVistaFactory(factory).getPair(token0, token1) == _token) {
                IEtherVistaPair(_token).updateProvider(msg.sender);
            }
        } catch {}
        IStakingContract(_contract).stake(_amount, msg.sender, _token);
    }

// **** 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 (IEtherVistaFactory(factory).getPair(tokenA, tokenB) == address(0)) {
            IEtherVistaFactory(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) ****

    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)
    {
        require(path.length == 2, 'EtherVistaRouter: INVALID_PATH_LENGTH');
        IEtherVistaPair Pair = IEtherVistaPair(UniswapV2Library.pairFor(factory, path[0], path[1]));
        require(path[0] == WETH, 'EtherVistaRouter: INVALID_PATH');
        require(msg.value > usdcToEth(Pair.buyTotalFee()), 'EtherVistaRouter: INSUFFICIENT_ETH_FEE'); 

        uint amountIn = msg.value-usdcToEth(Pair.buyTotalFee());
        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(usdcToEth(1)); 
        (bool sent1, ) = IEtherVistaPair(UniswapV2Library.pairFor(factory, path[0], path[1])).payableProtocol().call{value: usdcToEth(Pair.buyProtocolFee())}("");
        (bool sent2,) = UniswapV2Library.pairFor(factory, path[0], path[1]).call{value: usdcToEth(Pair.buyLpFee())}("");
        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)
    {
        require(path.length == 2, 'EtherVistaRouter: INVALID_PATH_LENGTH');
        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()), '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');

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

        IWETH(WETH).withdraw(amountOut);
        TransferHelper.safeTransferETH(to, amountOut);
    }

// **** LIBRARY FUNCTIONS ****
    function quote(uint amountA, uint reserveA, uint reserveB) public pure virtual override returns (uint amountB) {
        return 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 2 : IEtherVistaRouter.sol
pragma solidity >=0.6.2;

interface IEtherVistaRouter {
    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);

    function updateSelf(address _token) external;

    function safeTransferLp(address _token, address to, uint256 _amount) external;

    function hardstake(address _contract, address _token,  uint256 _amount) external; 
}

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

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":"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":"_contract","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"hardstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amountTokenDesired","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"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":"address","name":"_token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"safeTransferLp","outputs":[],"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":"address","name":"_token","type":"address"}],"name":"updateSelf","outputs":[],"stateMutability":"nonpayable","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"}]

60c060405234801561001057600080fd5b50604051613f8c380380613f8c8339818101604052606081101561003357600080fd5b50805160208201516040909201516001600160601b0319606092831b81166080529290911b90911660a052600180546001600160a01b039092166001600160a01b0319928316179055600080549091163317905560805160601c60a05160601c613e0061018c600039806101125280610b3f5280610d5d52806110a752806115aa528061169b52806117f8528061186c5280611e2a5280611e7e5280611f9f52806120b35280612109528061213d52806121b152806122fe52806123bd5280612413528061244752806124bb528061263352508061087852806109db5280610ad55280610cad5280610e5a5280610f9d528061114b52806113ac528061166b528061189e5280611b675280611c8d5280611db45280611e5c528061203652806120e752806122dc52806123f152806126115280612c635280612de2528061325e528061371052806137be528061383e5250613e006000f3fe6080604052600436106101025760003560e01c8063ad14df2411610095578063c45a015511610064578063c45a01551461052f578063cc4cf86814610544578063d06ca61f1461058f578063f6f1e30614610644578063fe1bfba6146106a05761013b565b8063ad14df241461041d578063ad5c464814610460578063ad615dec14610475578063b6f9de95146104ab5761013b565b806361d027b3116100d157806361d027b3146102fa578063791ac9471461032b5780637f43d167146103b457806385f8c259146103e75761013b565b8063054d50d4146101405780630eea6e97146101885780631f00ca74146101cb57806359020530146102d05761013b565b3661013b57336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461013957fe5b005b600080fd5b34801561014c57600080fd5b506101766004803603606081101561016357600080fd5b5080359060208101359060400135610703565b60408051918252519081900360200190f35b34801561019457600080fd5b50610139600480360360608110156101ab57600080fd5b506001600160a01b03813581169160208101359091169060400135610718565b3480156101d757600080fd5b50610280600480360360408110156101ee57600080fd5b81359190810190604081016020820135600160201b81111561020f57600080fd5b82018360208201111561022157600080fd5b803590602001918460208302840111600160201b8311171561024257600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506109d4945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102bc5781810151838201526020016102a4565b505050509050019250505060405180910390f35b3480156102dc57600080fd5b50610176600480360360208110156102f357600080fd5b5035610a0a565b34801561030657600080fd5b5061030f610a34565b604080516001600160a01b039092168252519081900360200190f35b610139600480360360a081101561034157600080fd5b813591602081013591810190606081016040820135600160201b81111561036757600080fd5b82018360208201111561037957600080fd5b803590602001918460208302840111600160201b8311171561039a57600080fd5b91935091506001600160a01b038135169060200135610a43565b3480156103c057600080fd5b50610139600480360360208110156103d757600080fd5b50356001600160a01b031661113a565b3480156103f357600080fd5b506101766004803603606081101561040a57600080fd5b5080359060208101359060400135611339565b34801561042957600080fd5b506101396004803603606081101561044057600080fd5b506001600160a01b03813581169160208101359091169060400135611346565b34801561046c57600080fd5b5061030f6115a8565b34801561048157600080fd5b506101766004803603606081101561049857600080fd5b50803590602081013590604001356115cc565b610139600480360360808110156104c157600080fd5b81359190810190604081016020820135600160201b8111156104e257600080fd5b8201836020820111156104f457600080fd5b803590602001918460208302840111600160201b8311171561051557600080fd5b91935091506001600160a01b0381351690602001356115d9565b34801561053b57600080fd5b5061030f611db2565b34801561055057600080fd5b50610176600480360360a081101561056757600080fd5b506001600160a01b038135169060208101359060408101359060608101359060800135611dd6565b34801561059b57600080fd5b50610280600480360360408110156105b257600080fd5b81359190810190604081016020820135600160201b8111156105d357600080fd5b8201836020820111156105e557600080fd5b803590602001918460208302840111600160201b8311171561060657600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061202f945050505050565b610682600480360360a081101561065a57600080fd5b506001600160a01b03813516906020810135906040810135906060810135906080013561205c565b60408051938452602084019290925282820152519081900360600190f35b61068260048036036101208110156106b757600080fd5b506001600160a01b03813581169160208101359160408201359160608101359160ff608083013581169260a081013582169260c082013583169260e083013516916101000135166123b2565b60006107108484846126ea565b949350505050565b6000811161076d576040805162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604482015290519081900360640190fd5b610779823385846127da565b816001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156107b257600080fd5b505afa9250505080156107d757506040513d60208110156107d257600080fd5b505160015b6107e05761095f565b6000836001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b15801561081b57600080fd5b505afa15801561082f573d6000803e3d6000fd5b505050506040513d602081101561084557600080fd5b50516040805163e6a4390560e01b81526001600160a01b03858116600483015280841660248301529151929350818716927f00000000000000000000000000000000000000000000000000000000000000009092169163e6a4390591604480820192602092909190829003018186803b1580156108c157600080fd5b505afa1580156108d5573d6000803e3d6000fd5b505050506040513d60208110156108eb57600080fd5b50516001600160a01b0316141561095c57604080516377b83b4560e11b815233600482015290516001600160a01b0386169163ef70768a91602480830192600092919082900301818387803b15801561094357600080fd5b505af1158015610957573d6000803e3d6000fd5b505050505b50505b6040805163a7d545db60e01b8152600481018390523360248201526001600160a01b03848116604483015291519185169163a7d545db9160648082019260009290919082900301818387803b1580156109b757600080fd5b505af11580156109cb573d6000803e3d6000fd5b50505050505050565b6060610a017f0000000000000000000000000000000000000000000000000000000000000000848461292f565b90505b92915050565b600080610a15612a7c565b90508069d3c21bcecceda1000000840281610a2c57fe5b049392505050565b6000546001600160a01b031681565b8042811015610a8f576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b60028414610ace5760405162461bcd60e51b8152600401808060200182810382526025815260200180613d4e6025913960400191505060405180910390fd5b6000610b337f000000000000000000000000000000000000000000000000000000000000000087876000818110610b0157fe5b905060200201356001600160a01b031688886001818110610b1e57fe5b905060200201356001600160a01b0316612b4c565b90506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001686866000198101818110610b6f57fe5b905060200201356001600160a01b03166001600160a01b031614610bda576040805162461bcd60e51b815260206004820152601e60248201527f45746865725669737461526f757465723a20494e56414c49445f504154480000604482015290519081900360640190fd5b610c49816001600160a01b031662afb3256040518163ffffffff1660e01b815260040160206040518083038186803b158015610c1557600080fd5b505afa158015610c29573d6000803e3d6000fd5b505050506040513d6020811015610c3f57600080fd5b505160ff16610a0a565b341015610c875760405162461bcd60e51b8152600401808060200182810382526026815260200180613cd76026913960400191505060405180910390fd5b610cfc86866000818110610c9757fe5b905060200201356001600160a01b031633610cf67f00000000000000000000000000000000000000000000000000000000000000008a8a6000818110610cd957fe5b905060200201356001600160a01b03168b8b6001818110610b1e57fe5b8b6127da565b610d3a868680806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250612c0c915050565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b158015610da457600080fd5b505afa158015610db8573d6000803e3d6000fd5b505050506040513d6020811015610dce57600080fd5b5051905087811015610e115760405162461bcd60e51b815260040180806020018281038252602c815260200180613d22602c913960400191505060405180910390fd5b6000546001600160a01b03166108fc610e2a6001610a0a565b6040518115909202916000818181858888f19350505050158015610e52573d6000803e3d6000fd5b506000610ea37f000000000000000000000000000000000000000000000000000000000000000089896000818110610e8657fe5b905060200201356001600160a01b03168a8a6001818110610b1e57fe5b6001600160a01b031663ccec72fb6040518163ffffffff1660e01b815260040160206040518083038186803b158015610edb57600080fd5b505afa158015610eef573d6000803e3d6000fd5b505050506040513d6020811015610f0557600080fd5b505160408051637153bcbf60e11b815290516001600160a01b0392831692610f51929087169163e2a7797e91600480820192602092909190829003018186803b158015610c1557600080fd5b604051600081818185875af1925050503d8060008114610f8d576040519150601f19603f3d011682016040523d82523d6000602084013e610f92565b606091505b505090506000610fc97f00000000000000000000000000000000000000000000000000000000000000008a8a6000818110610cd957fe5b6001600160a01b031661100e856001600160a01b031663c7b8b46d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c1557600080fd5b604051600081818185875af1925050503d806000811461104a576040519150601f19603f3d011682016040523d82523d6000602084013e61104f565b606091505b5050905081801561105d5750805b6110a5576040805162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d846040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561110b57600080fd5b505af115801561111f573d6000803e3d6000fd5b5050505061112d8784612f29565b5050505050505050505050565b6000819050816001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e6a43905836001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156111b157600080fd5b505afa1580156111c5573d6000803e3d6000fd5b505050506040513d60208110156111db57600080fd5b50516040805163d21220a760e01b815290516001600160a01b0387169163d21220a7916004808301926020929190829003018186803b15801561121d57600080fd5b505afa158015611231573d6000803e3d6000fd5b505050506040513d602081101561124757600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152516044808301926020929190829003018186803b15801561129757600080fd5b505afa1580156112ab573d6000803e3d6000fd5b505050506040513d60208110156112c157600080fd5b50516001600160a01b0316146112d657600080fd5b604080516377b83b4560e11b815233600482015290516001600160a01b0383169163ef70768a91602480830192600092919082900301818387803b15801561131d57600080fd5b505af1158015611331573d6000803e3d6000fd5b505050505050565b600061071084848461301c565b6000811161139b576040805162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604482015290519081900360640190fd5b6000839050836001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e6a43905836001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561141257600080fd5b505afa158015611426573d6000803e3d6000fd5b505050506040513d602081101561143c57600080fd5b50516040805163d21220a760e01b815290516001600160a01b0387169163d21220a7916004808301926020929190829003018186803b15801561147e57600080fd5b505afa158015611492573d6000803e3d6000fd5b505050506040513d60208110156114a857600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152516044808301926020929190829003018186803b1580156114f857600080fd5b505afa15801561150c573d6000803e3d6000fd5b505050506040513d602081101561152257600080fd5b50516001600160a01b03161461153757600080fd5b611543843385856127da565b604080516377b83b4560e11b815233600482015290516001600160a01b0383169163ef70768a91602480830192600092919082900301818387803b15801561158a57600080fd5b505af115801561159e573d6000803e3d6000fd5b5050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600061071084848461310c565b8042811015611625576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b600284146116645760405162461bcd60e51b8152600401808060200182810382526025815260200180613d4e6025913960400191505060405180910390fd5b60006116977f000000000000000000000000000000000000000000000000000000000000000087876000818110610b0157fe5b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316868660008181106116d057fe5b905060200201356001600160a01b03166001600160a01b03161461173b576040805162461bcd60e51b815260206004820152601e60248201527f45746865725669737461526f757465723a20494e56414c49445f504154480000604482015290519081900360640190fd5b611777816001600160a01b0316633705b3926040518163ffffffff1660e01b815260040160206040518083038186803b158015610c1557600080fd5b34116117b45760405162461bcd60e51b8152600401808060200182810382526026815260200180613cd76026913960400191505060405180910390fd5b60006117f2826001600160a01b0316633705b3926040518163ffffffff1660e01b815260040160206040518083038186803b158015610c1557600080fd5b340390507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561185157600080fd5b505af1158015611865573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb6118ca7f00000000000000000000000000000000000000000000000000000000000000008a8a6000818110610cd957fe5b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561191a57600080fd5b505af115801561192e573d6000803e3d6000fd5b505050506040513d602081101561194457600080fd5b505161194c57fe5b60008787600019810181811061195e57fe5b905060200201356001600160a01b03166001600160a01b03166370a08231876040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156119c357600080fd5b505afa1580156119d7573d6000803e3d6000fd5b505050506040513d60208110156119ed57600080fd5b50516040805160208a810282810182019093528a8252929350611a2f9290918b918b9182918501908490808284376000920191909152508a9250612c0c915050565b88611ae1828a8a6000198101818110611a4457fe5b905060200201356001600160a01b03166001600160a01b03166370a082318a6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611aa957600080fd5b505afa158015611abd573d6000803e3d6000fd5b505050506040513d6020811015611ad357600080fd5b50519063ffffffff6131b816565b1015611b1e5760405162461bcd60e51b815260040180806020018281038252602c815260200180613d22602c913960400191505060405180910390fd5b6000546001600160a01b03166108fc611b376001610a0a565b6040518115909202916000818181858888f19350505050158015611b5f573d6000803e3d6000fd5b506000611b937f00000000000000000000000000000000000000000000000000000000000000008a8a6000818110610cd957fe5b6001600160a01b031663ccec72fb6040518163ffffffff1660e01b815260040160206040518083038186803b158015611bcb57600080fd5b505afa158015611bdf573d6000803e3d6000fd5b505050506040513d6020811015611bf557600080fd5b50516040805163cc2b765760e01b815290516001600160a01b0392831692611c41929088169163cc2b765791600480820192602092909190829003018186803b158015610c1557600080fd5b604051600081818185875af1925050503d8060008114611c7d576040519150601f19603f3d011682016040523d82523d6000602084013e611c82565b606091505b505090506000611cd67f00000000000000000000000000000000000000000000000000000000000000008b8b6000818110611cb957fe5b905060200201356001600160a01b03168c8c6001818110610b1e57fe5b6001600160a01b0316611d1b866001600160a01b0316636fd3acb46040518163ffffffff1660e01b815260040160206040518083038186803b158015610c1557600080fd5b604051600081818185875af1925050503d8060008114611d57576040519150601f19603f3d011682016040523d82523d6000602084013e611d5c565b606091505b50509050818015611d6a5750805b61112d576040805162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000081565b60008142811015611e24576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b611e53877f00000000000000000000000000000000000000000000000000000000000000008888883089613208565b9250611ea290507f0000000000000000000000000000000000000000000000000000000000000000887f0000000000000000000000000000000000000000000000000000000000000000612b4c565b6001600160a01b031663ef70768a336040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b158015611ef957600080fd5b505af1158015611f0d573d6000803e3d6000fd5b50505050611f9d8733896001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611f6c57600080fd5b505afa158015611f80573d6000803e3d6000fd5b505050506040513d6020811015611f9657600080fd5b5051613454565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561200357600080fd5b505af1158015612017573d6000803e3d6000fd5b505050506120253383612f29565b5095945050505050565b6060610a017f000000000000000000000000000000000000000000000000000000000000000084846135a8565b600080600083428110156120ad576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b6120db897f00000000000000000000000000000000000000000000000000000000000000008a348b8b6136df565b9094509250600061212d7f00000000000000000000000000000000000000000000000000000000000000008b7f0000000000000000000000000000000000000000000000000000000000000000612b4c565b905061213b8a3383886127da565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b15801561219657600080fd5b505af11580156121aa573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb82866040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561222f57600080fd5b505af1158015612243573d6000803e3d6000fd5b505050506040513d602081101561225957600080fd5b505161226157fe5b604080516335313c2160e11b815233600482015290516001600160a01b03831691636a6278429160248083019260209291908290030181600087803b1580156122a957600080fd5b505af11580156122bd573d6000803e3d6000fd5b505050506040513d60208110156122d357600080fd5b505192506123227f00000000000000000000000000000000000000000000000000000000000000008b7f0000000000000000000000000000000000000000000000000000000000000000612b4c565b6001600160a01b031663ef70768a336040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b15801561237957600080fd5b505af115801561238d573d6000803e3d6000fd5b50505050833411156123a5576123a533853403612f29565b5050955095509592505050565b60008060006123e58c7f00000000000000000000000000000000000000000000000000000000000000008d348e8e6136df565b909350915060006124377f00000000000000000000000000000000000000000000000000000000000000008e7f0000000000000000000000000000000000000000000000000000000000000000612b4c565b90506124458d3383876127da565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0846040518263ffffffff1660e01b81526004016000604051808303818588803b1580156124a057600080fd5b505af11580156124b4573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb82856040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561253957600080fd5b505af115801561254d573d6000803e3d6000fd5b505050506040513d602081101561256357600080fd5b505161256b57fe5b6040805163dc2dc3f360e01b815233600482015260ff808c166024830152808b166044830152808a166064830152881660848201526001600160a01b0387811660a483015291519183169163dc2dc3f39160c4808201926020929091908290030181600087803b1580156125de57600080fd5b505af11580156125f2573d6000803e3d6000fd5b505050506040513d602081101561260857600080fd5b505191506126577f00000000000000000000000000000000000000000000000000000000000000008e7f0000000000000000000000000000000000000000000000000000000000000000612b4c565b6001600160a01b031663ef70768a336040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b1580156126ae57600080fd5b505af11580156126c2573d6000803e3d6000fd5b50505050823411156126da576126da33843403612f29565b5099509950999650505050505050565b600080841161272a5760405162461bcd60e51b815260040180806020018281038252602b815260200180613da0602b913960400191505060405180910390fd5b60008311801561273a5750600082115b6127755760405162461bcd60e51b8152600401808060200182810382526028815260200180613caf6028913960400191505060405180910390fd5b6000612789856103e863ffffffff61395316565b9050600061279d828563ffffffff61395316565b905060006127c3836127b7886103e863ffffffff61395316565b9063ffffffff6139b616565b90508082816127ce57fe5b04979650505050505050565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17815292518251600094606094938a169392918291908083835b6020831061285f5780518252601f199092019160209182019101612840565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146128c1576040519150601f19603f3d011682016040523d82523d6000602084013e6128c6565b606091505b50915091508180156128f45750805115806128f457508080602001905160208110156128f157600080fd5b50515b6113315760405162461bcd60e51b8152600401808060200182810382526031815260200180613bfe6031913960400191505060405180910390fd5b6060600282511015612988576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff811180156129a057600080fd5b506040519080825280602002602001820160405280156129ca578160200160208202803683370190505b50905082816001835103815181106129de57fe5b60209081029190910101528151600019015b8015612a7457600080612a2d87866001860381518110612a0c57fe5b6020026020010151878681518110612a2057fe5b6020026020010151613a05565b91509150612a4f848481518110612a4057fe5b6020026020010151838361301c565b846001850381518110612a5e57fe5b60209081029190910101525050600019016129f0565b509392505050565b600080600160009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015612acd57600080fd5b505afa158015612ae1573d6000803e3d6000fd5b505050506040513d60a0811015612af757600080fd5b5060200151905060008113612b43576040805162461bcd60e51b815260206004820152600d60248201526c496e76616c696420707269636560981b604482015290519081900360640190fd5b60649005919050565b6000806000612b5b8585613acc565b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501206001600160f81b031960688401529a90941b9093166069840152607d8301989098527fe260b72768e8ec6814aa811c576f346d208ba00840f835949d65c6424ac80a8d609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b60005b6001835103811015612f2457600080848381518110612c2a57fe5b6020026020010151858460010181518110612c4157fe5b6020026020010151915091506000612c598383613acc565b5090506000612c897f00000000000000000000000000000000000000000000000000000000000000008585612b4c565b9050600080600080846001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015612cca57600080fd5b505afa158015612cde573d6000803e3d6000fd5b505050506040513d6060811015612cf457600080fd5b5080516020909101516001600160701b0391821693501690506000806001600160a01b038a811690891614612d2a578284612d2d565b83835b91509150612d8b828b6001600160a01b03166370a082318a6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611aa957600080fd5b9550612d988683836126ea565b945050505050600080856001600160a01b0316886001600160a01b031614612dc257826000612dc6565b6000835b91509150600060028c51038a10612ddd578a612e1e565b612e1e7f0000000000000000000000000000000000000000000000000000000000000000898e8d60020181518110612e1157fe5b6020026020010151612b4c565b604080516000808252602082019283905263022c0d9f60e01b835260248201878152604483018790526001600160a01b038086166064850152608060848501908152845160a48601819052969750908c169563022c0d9f958a958a958a9591949193919260c486019290918190849084905b83811015612ea8578181015183820152602001612e90565b50505050905090810190601f168015612ed55780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015612ef757600080fd5b505af1158015612f0b573d6000803e3d6000fd5b50506001909b019a50612c0f9950505050505050505050565b505050565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b60208310612f755780518252601f199092019160209182019101612f56565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612fd7576040519150601f19603f3d011682016040523d82523d6000602084013e612fdc565b606091505b5050905080612f245760405162461bcd60e51b8152600401808060200182810382526034815260200180613c2f6034913960400191505060405180910390fd5b600080841161305c5760405162461bcd60e51b815260040180806020018281038252602c815260200180613bab602c913960400191505060405180910390fd5b60008311801561306c5750600082115b6130a75760405162461bcd60e51b8152600401808060200182810382526028815260200180613caf6028913960400191505060405180910390fd5b60006130cb6103e86130bf868863ffffffff61395316565b9063ffffffff61395316565b905060006130e56103e86130bf868963ffffffff6131b816565b905061310260018284816130f557fe5b049063ffffffff6139b616565b9695505050505050565b600080841161314c5760405162461bcd60e51b8152600401808060200182810382526025815260200180613cfd6025913960400191505060405180910390fd5b60008311801561315c5750600082115b6131975760405162461bcd60e51b8152600401808060200182810382526028815260200180613caf6028913960400191505060405180910390fd5b826131a8858463ffffffff61395316565b816131af57fe5b04949350505050565b80820382811115610a04576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6000808242811015613257576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b60006132847f00000000000000000000000000000000000000000000000000000000000000008c8c612b4c565b604080516323b872dd60e01b81523360048201526001600160a01b03831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b1580156132df57600080fd5b505af11580156132f3573d6000803e3d6000fd5b505050506040513d602081101561330957600080fd5b50506040805163226bf2d160e21b81526001600160a01b03888116600483015282516000938493928616926389afcb44926024808301939282900301818787803b15801561335657600080fd5b505af115801561336a573d6000803e3d6000fd5b505050506040513d604081101561338057600080fd5b5080516020909101519092509050600061339a8e8e613acc565b509050806001600160a01b03168e6001600160a01b0316146133bd5781836133c0565b82825b90975095508a8710156134045760405162461bcd60e51b8152600401808060200182810382526027815260200180613c886027913960400191505060405180910390fd5b898610156134435760405162461bcd60e51b8152600401808060200182810382526027815260200180613bd76027913960400191505060405180910390fd5b505050505097509795505050505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b178152925182516000946060949389169392918291908083835b602083106134d15780518252601f1990920191602091820191016134b2565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613533576040519150601f19603f3d011682016040523d82523d6000602084013e613538565b606091505b5091509150818015613566575080511580613566575080806020019051602081101561356357600080fd5b50515b6135a15760405162461bcd60e51b815260040180806020018281038252602d815260200180613d73602d913960400191505060405180910390fd5b5050505050565b6060600282511015613601576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff8111801561361957600080fd5b50604051908082528060200260200182016040528015613643578160200160208202803683370190505b509050828160008151811061365457fe5b60200260200101818152505060005b6001835103811015612a74576000806136998786858151811061368257fe5b6020026020010151878660010181518110612a2057fe5b915091506136bb8484815181106136ac57fe5b602002602001015183836126ea565b8484600101815181106136ca57fe5b60209081029190910101525050600101613663565b6040805163e6a4390560e01b81526001600160a01b03888116600483015287811660248301529151600092839283927f00000000000000000000000000000000000000000000000000000000000000009092169163e6a4390591604480820192602092909190829003018186803b15801561375957600080fd5b505afa15801561376d573d6000803e3d6000fd5b505050506040513d602081101561378357600080fd5b50516001600160a01b0316141561383657604080516364e329cb60e11b81526001600160a01b038a81166004830152898116602483015291517f00000000000000000000000000000000000000000000000000000000000000009092169163c9c65396916044808201926020929091908290030181600087803b15801561380957600080fd5b505af115801561381d573d6000803e3d6000fd5b505050506040513d602081101561383357600080fd5b50505b6000806138647f00000000000000000000000000000000000000000000000000000000000000008b8b613a05565b91509150816000148015613876575080155b1561388657879350869250613946565b600061389389848461310c565b90508781116138e657858110156138db5760405162461bcd60e51b8152600401808060200182810382526027815260200180613bd76027913960400191505060405180910390fd5b889450925082613944565b60006138f389848661310c565b9050898111156138ff57fe5b8781101561393e5760405162461bcd60e51b8152600401808060200182810382526027815260200180613c886027913960400191505060405180910390fd5b94508793505b505b5050965096945050505050565b600081158061396e5750508082028282828161396b57fe5b04145b610a04576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b80820182811015610a04576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b6000806000613a148585613acc565b509050600080613a25888888612b4c565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015613a5d57600080fd5b505afa158015613a71573d6000803e3d6000fd5b505050506040513d6060811015613a8757600080fd5b5080516020909101516001600160701b0391821693501690506001600160a01b0387811690841614613aba578082613abd565b81815b90999098509650505050505050565b600080826001600160a01b0316846001600160a01b03161415613b205760405162461bcd60e51b8152600401808060200182810382526025815260200180613c636025913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b031610613b40578284613b43565b83835b90925090506001600160a01b038216613ba3576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b925092905056fe556e697377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e5445746865725669737461526f757465723a20494e53554646494349454e545f425f414d4f554e545472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c65645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c6564556e697377617056324c6962726172793a204944454e544943414c5f41444452455353455345746865725669737461526f757465723a20494e53554646494349454e545f415f414d4f554e54556e697377617056324c6962726172793a20494e53554646494349454e545f4c495155494449545945746865725669737461526f757465723a20494e53554646494349454e545f4554485f464545556e697377617056324c6962726172793a20494e53554646494349454e545f414d4f554e5445746865725669737461526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e5445746865725669737461526f757465723a20494e56414c49445f504154485f4c454e4754485472616e7366657248656c7065723a3a736166655472616e736665723a207472616e73666572206661696c6564556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a26469706673582212206cef9ff143353873d58323bdf61afd573ade30a61c3352910ebe3ebf2847a1f464736f6c634300060600330000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b4000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419

Deployed Bytecode

0x6080604052600436106101025760003560e01c8063ad14df2411610095578063c45a015511610064578063c45a01551461052f578063cc4cf86814610544578063d06ca61f1461058f578063f6f1e30614610644578063fe1bfba6146106a05761013b565b8063ad14df241461041d578063ad5c464814610460578063ad615dec14610475578063b6f9de95146104ab5761013b565b806361d027b3116100d157806361d027b3146102fa578063791ac9471461032b5780637f43d167146103b457806385f8c259146103e75761013b565b8063054d50d4146101405780630eea6e97146101885780631f00ca74146101cb57806359020530146102d05761013b565b3661013b57336001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2161461013957fe5b005b600080fd5b34801561014c57600080fd5b506101766004803603606081101561016357600080fd5b5080359060208101359060400135610703565b60408051918252519081900360200190f35b34801561019457600080fd5b50610139600480360360608110156101ab57600080fd5b506001600160a01b03813581169160208101359091169060400135610718565b3480156101d757600080fd5b50610280600480360360408110156101ee57600080fd5b81359190810190604081016020820135600160201b81111561020f57600080fd5b82018360208201111561022157600080fd5b803590602001918460208302840111600160201b8311171561024257600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506109d4945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102bc5781810151838201526020016102a4565b505050509050019250505060405180910390f35b3480156102dc57600080fd5b50610176600480360360208110156102f357600080fd5b5035610a0a565b34801561030657600080fd5b5061030f610a34565b604080516001600160a01b039092168252519081900360200190f35b610139600480360360a081101561034157600080fd5b813591602081013591810190606081016040820135600160201b81111561036757600080fd5b82018360208201111561037957600080fd5b803590602001918460208302840111600160201b8311171561039a57600080fd5b91935091506001600160a01b038135169060200135610a43565b3480156103c057600080fd5b50610139600480360360208110156103d757600080fd5b50356001600160a01b031661113a565b3480156103f357600080fd5b506101766004803603606081101561040a57600080fd5b5080359060208101359060400135611339565b34801561042957600080fd5b506101396004803603606081101561044057600080fd5b506001600160a01b03813581169160208101359091169060400135611346565b34801561046c57600080fd5b5061030f6115a8565b34801561048157600080fd5b506101766004803603606081101561049857600080fd5b50803590602081013590604001356115cc565b610139600480360360808110156104c157600080fd5b81359190810190604081016020820135600160201b8111156104e257600080fd5b8201836020820111156104f457600080fd5b803590602001918460208302840111600160201b8311171561051557600080fd5b91935091506001600160a01b0381351690602001356115d9565b34801561053b57600080fd5b5061030f611db2565b34801561055057600080fd5b50610176600480360360a081101561056757600080fd5b506001600160a01b038135169060208101359060408101359060608101359060800135611dd6565b34801561059b57600080fd5b50610280600480360360408110156105b257600080fd5b81359190810190604081016020820135600160201b8111156105d357600080fd5b8201836020820111156105e557600080fd5b803590602001918460208302840111600160201b8311171561060657600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061202f945050505050565b610682600480360360a081101561065a57600080fd5b506001600160a01b03813516906020810135906040810135906060810135906080013561205c565b60408051938452602084019290925282820152519081900360600190f35b61068260048036036101208110156106b757600080fd5b506001600160a01b03813581169160208101359160408201359160608101359160ff608083013581169260a081013582169260c082013583169260e083013516916101000135166123b2565b60006107108484846126ea565b949350505050565b6000811161076d576040805162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604482015290519081900360640190fd5b610779823385846127da565b816001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156107b257600080fd5b505afa9250505080156107d757506040513d60208110156107d257600080fd5b505160015b6107e05761095f565b6000836001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b15801561081b57600080fd5b505afa15801561082f573d6000803e3d6000fd5b505050506040513d602081101561084557600080fd5b50516040805163e6a4390560e01b81526001600160a01b03858116600483015280841660248301529151929350818716927f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b49092169163e6a4390591604480820192602092909190829003018186803b1580156108c157600080fd5b505afa1580156108d5573d6000803e3d6000fd5b505050506040513d60208110156108eb57600080fd5b50516001600160a01b0316141561095c57604080516377b83b4560e11b815233600482015290516001600160a01b0386169163ef70768a91602480830192600092919082900301818387803b15801561094357600080fd5b505af1158015610957573d6000803e3d6000fd5b505050505b50505b6040805163a7d545db60e01b8152600481018390523360248201526001600160a01b03848116604483015291519185169163a7d545db9160648082019260009290919082900301818387803b1580156109b757600080fd5b505af11580156109cb573d6000803e3d6000fd5b50505050505050565b6060610a017f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b4848461292f565b90505b92915050565b600080610a15612a7c565b90508069d3c21bcecceda1000000840281610a2c57fe5b049392505050565b6000546001600160a01b031681565b8042811015610a8f576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b60028414610ace5760405162461bcd60e51b8152600401808060200182810382526025815260200180613d4e6025913960400191505060405180910390fd5b6000610b337f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b487876000818110610b0157fe5b905060200201356001600160a01b031688886001818110610b1e57fe5b905060200201356001600160a01b0316612b4c565b90506001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21686866000198101818110610b6f57fe5b905060200201356001600160a01b03166001600160a01b031614610bda576040805162461bcd60e51b815260206004820152601e60248201527f45746865725669737461526f757465723a20494e56414c49445f504154480000604482015290519081900360640190fd5b610c49816001600160a01b031662afb3256040518163ffffffff1660e01b815260040160206040518083038186803b158015610c1557600080fd5b505afa158015610c29573d6000803e3d6000fd5b505050506040513d6020811015610c3f57600080fd5b505160ff16610a0a565b341015610c875760405162461bcd60e51b8152600401808060200182810382526026815260200180613cd76026913960400191505060405180910390fd5b610cfc86866000818110610c9757fe5b905060200201356001600160a01b031633610cf67f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b48a8a6000818110610cd957fe5b905060200201356001600160a01b03168b8b6001818110610b1e57fe5b8b6127da565b610d3a868680806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250612c0c915050565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216916370a0823191602480820192602092909190829003018186803b158015610da457600080fd5b505afa158015610db8573d6000803e3d6000fd5b505050506040513d6020811015610dce57600080fd5b5051905087811015610e115760405162461bcd60e51b815260040180806020018281038252602c815260200180613d22602c913960400191505060405180910390fd5b6000546001600160a01b03166108fc610e2a6001610a0a565b6040518115909202916000818181858888f19350505050158015610e52573d6000803e3d6000fd5b506000610ea37f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b489896000818110610e8657fe5b905060200201356001600160a01b03168a8a6001818110610b1e57fe5b6001600160a01b031663ccec72fb6040518163ffffffff1660e01b815260040160206040518083038186803b158015610edb57600080fd5b505afa158015610eef573d6000803e3d6000fd5b505050506040513d6020811015610f0557600080fd5b505160408051637153bcbf60e11b815290516001600160a01b0392831692610f51929087169163e2a7797e91600480820192602092909190829003018186803b158015610c1557600080fd5b604051600081818185875af1925050503d8060008114610f8d576040519150601f19603f3d011682016040523d82523d6000602084013e610f92565b606091505b505090506000610fc97f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b48a8a6000818110610cd957fe5b6001600160a01b031661100e856001600160a01b031663c7b8b46d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c1557600080fd5b604051600081818185875af1925050503d806000811461104a576040519150601f19603f3d011682016040523d82523d6000602084013e61104f565b606091505b5050905081801561105d5750805b6110a5576040805162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b604482015290519081900360640190fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d846040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561110b57600080fd5b505af115801561111f573d6000803e3d6000fd5b5050505061112d8784612f29565b5050505050505050505050565b6000819050816001600160a01b03167f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b46001600160a01b031663e6a43905836001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156111b157600080fd5b505afa1580156111c5573d6000803e3d6000fd5b505050506040513d60208110156111db57600080fd5b50516040805163d21220a760e01b815290516001600160a01b0387169163d21220a7916004808301926020929190829003018186803b15801561121d57600080fd5b505afa158015611231573d6000803e3d6000fd5b505050506040513d602081101561124757600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152516044808301926020929190829003018186803b15801561129757600080fd5b505afa1580156112ab573d6000803e3d6000fd5b505050506040513d60208110156112c157600080fd5b50516001600160a01b0316146112d657600080fd5b604080516377b83b4560e11b815233600482015290516001600160a01b0383169163ef70768a91602480830192600092919082900301818387803b15801561131d57600080fd5b505af1158015611331573d6000803e3d6000fd5b505050505050565b600061071084848461301c565b6000811161139b576040805162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604482015290519081900360640190fd5b6000839050836001600160a01b03167f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b46001600160a01b031663e6a43905836001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561141257600080fd5b505afa158015611426573d6000803e3d6000fd5b505050506040513d602081101561143c57600080fd5b50516040805163d21220a760e01b815290516001600160a01b0387169163d21220a7916004808301926020929190829003018186803b15801561147e57600080fd5b505afa158015611492573d6000803e3d6000fd5b505050506040513d60208110156114a857600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152516044808301926020929190829003018186803b1580156114f857600080fd5b505afa15801561150c573d6000803e3d6000fd5b505050506040513d602081101561152257600080fd5b50516001600160a01b03161461153757600080fd5b611543843385856127da565b604080516377b83b4560e11b815233600482015290516001600160a01b0383169163ef70768a91602480830192600092919082900301818387803b15801561158a57600080fd5b505af115801561159e573d6000803e3d6000fd5b5050505050505050565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b600061071084848461310c565b8042811015611625576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b600284146116645760405162461bcd60e51b8152600401808060200182810382526025815260200180613d4e6025913960400191505060405180910390fd5b60006116977f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b487876000818110610b0157fe5b90507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316868660008181106116d057fe5b905060200201356001600160a01b03166001600160a01b03161461173b576040805162461bcd60e51b815260206004820152601e60248201527f45746865725669737461526f757465723a20494e56414c49445f504154480000604482015290519081900360640190fd5b611777816001600160a01b0316633705b3926040518163ffffffff1660e01b815260040160206040518083038186803b158015610c1557600080fd5b34116117b45760405162461bcd60e51b8152600401808060200182810382526026815260200180613cd76026913960400191505060405180910390fd5b60006117f2826001600160a01b0316633705b3926040518163ffffffff1660e01b815260040160206040518083038186803b158015610c1557600080fd5b340390507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561185157600080fd5b505af1158015611865573d6000803e3d6000fd5b50505050507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663a9059cbb6118ca7f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b48a8a6000818110610cd957fe5b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561191a57600080fd5b505af115801561192e573d6000803e3d6000fd5b505050506040513d602081101561194457600080fd5b505161194c57fe5b60008787600019810181811061195e57fe5b905060200201356001600160a01b03166001600160a01b03166370a08231876040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156119c357600080fd5b505afa1580156119d7573d6000803e3d6000fd5b505050506040513d60208110156119ed57600080fd5b50516040805160208a810282810182019093528a8252929350611a2f9290918b918b9182918501908490808284376000920191909152508a9250612c0c915050565b88611ae1828a8a6000198101818110611a4457fe5b905060200201356001600160a01b03166001600160a01b03166370a082318a6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611aa957600080fd5b505afa158015611abd573d6000803e3d6000fd5b505050506040513d6020811015611ad357600080fd5b50519063ffffffff6131b816565b1015611b1e5760405162461bcd60e51b815260040180806020018281038252602c815260200180613d22602c913960400191505060405180910390fd5b6000546001600160a01b03166108fc611b376001610a0a565b6040518115909202916000818181858888f19350505050158015611b5f573d6000803e3d6000fd5b506000611b937f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b48a8a6000818110610cd957fe5b6001600160a01b031663ccec72fb6040518163ffffffff1660e01b815260040160206040518083038186803b158015611bcb57600080fd5b505afa158015611bdf573d6000803e3d6000fd5b505050506040513d6020811015611bf557600080fd5b50516040805163cc2b765760e01b815290516001600160a01b0392831692611c41929088169163cc2b765791600480820192602092909190829003018186803b158015610c1557600080fd5b604051600081818185875af1925050503d8060008114611c7d576040519150601f19603f3d011682016040523d82523d6000602084013e611c82565b606091505b505090506000611cd67f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b48b8b6000818110611cb957fe5b905060200201356001600160a01b03168c8c6001818110610b1e57fe5b6001600160a01b0316611d1b866001600160a01b0316636fd3acb46040518163ffffffff1660e01b815260040160206040518083038186803b158015610c1557600080fd5b604051600081818185875af1925050503d8060008114611d57576040519150601f19603f3d011682016040523d82523d6000602084013e611d5c565b606091505b50509050818015611d6a5750805b61112d576040805162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b604482015290519081900360640190fd5b7f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b481565b60008142811015611e24576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b611e53877f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28888883089613208565b9250611ea290507f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b4887f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2612b4c565b6001600160a01b031663ef70768a336040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b158015611ef957600080fd5b505af1158015611f0d573d6000803e3d6000fd5b50505050611f9d8733896001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611f6c57600080fd5b505afa158015611f80573d6000803e3d6000fd5b505050506040513d6020811015611f9657600080fd5b5051613454565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561200357600080fd5b505af1158015612017573d6000803e3d6000fd5b505050506120253383612f29565b5095945050505050565b6060610a017f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b484846135a8565b600080600083428110156120ad576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b6120db897f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28a348b8b6136df565b9094509250600061212d7f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b48b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2612b4c565b905061213b8a3383886127da565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b15801561219657600080fd5b505af11580156121aa573d6000803e3d6000fd5b50505050507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663a9059cbb82866040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561222f57600080fd5b505af1158015612243573d6000803e3d6000fd5b505050506040513d602081101561225957600080fd5b505161226157fe5b604080516335313c2160e11b815233600482015290516001600160a01b03831691636a6278429160248083019260209291908290030181600087803b1580156122a957600080fd5b505af11580156122bd573d6000803e3d6000fd5b505050506040513d60208110156122d357600080fd5b505192506123227f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b48b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2612b4c565b6001600160a01b031663ef70768a336040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b15801561237957600080fd5b505af115801561238d573d6000803e3d6000fd5b50505050833411156123a5576123a533853403612f29565b5050955095509592505050565b60008060006123e58c7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28d348e8e6136df565b909350915060006124377f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b48e7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2612b4c565b90506124458d3383876127da565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0846040518263ffffffff1660e01b81526004016000604051808303818588803b1580156124a057600080fd5b505af11580156124b4573d6000803e3d6000fd5b50505050507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663a9059cbb82856040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561253957600080fd5b505af115801561254d573d6000803e3d6000fd5b505050506040513d602081101561256357600080fd5b505161256b57fe5b6040805163dc2dc3f360e01b815233600482015260ff808c166024830152808b166044830152808a166064830152881660848201526001600160a01b0387811660a483015291519183169163dc2dc3f39160c4808201926020929091908290030181600087803b1580156125de57600080fd5b505af11580156125f2573d6000803e3d6000fd5b505050506040513d602081101561260857600080fd5b505191506126577f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b48e7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2612b4c565b6001600160a01b031663ef70768a336040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b1580156126ae57600080fd5b505af11580156126c2573d6000803e3d6000fd5b50505050823411156126da576126da33843403612f29565b5099509950999650505050505050565b600080841161272a5760405162461bcd60e51b815260040180806020018281038252602b815260200180613da0602b913960400191505060405180910390fd5b60008311801561273a5750600082115b6127755760405162461bcd60e51b8152600401808060200182810382526028815260200180613caf6028913960400191505060405180910390fd5b6000612789856103e863ffffffff61395316565b9050600061279d828563ffffffff61395316565b905060006127c3836127b7886103e863ffffffff61395316565b9063ffffffff6139b616565b90508082816127ce57fe5b04979650505050505050565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17815292518251600094606094938a169392918291908083835b6020831061285f5780518252601f199092019160209182019101612840565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146128c1576040519150601f19603f3d011682016040523d82523d6000602084013e6128c6565b606091505b50915091508180156128f45750805115806128f457508080602001905160208110156128f157600080fd5b50515b6113315760405162461bcd60e51b8152600401808060200182810382526031815260200180613bfe6031913960400191505060405180910390fd5b6060600282511015612988576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff811180156129a057600080fd5b506040519080825280602002602001820160405280156129ca578160200160208202803683370190505b50905082816001835103815181106129de57fe5b60209081029190910101528151600019015b8015612a7457600080612a2d87866001860381518110612a0c57fe5b6020026020010151878681518110612a2057fe5b6020026020010151613a05565b91509150612a4f848481518110612a4057fe5b6020026020010151838361301c565b846001850381518110612a5e57fe5b60209081029190910101525050600019016129f0565b509392505050565b600080600160009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015612acd57600080fd5b505afa158015612ae1573d6000803e3d6000fd5b505050506040513d60a0811015612af757600080fd5b5060200151905060008113612b43576040805162461bcd60e51b815260206004820152600d60248201526c496e76616c696420707269636560981b604482015290519081900360640190fd5b60649005919050565b6000806000612b5b8585613acc565b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501206001600160f81b031960688401529a90941b9093166069840152607d8301989098527fe260b72768e8ec6814aa811c576f346d208ba00840f835949d65c6424ac80a8d609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b60005b6001835103811015612f2457600080848381518110612c2a57fe5b6020026020010151858460010181518110612c4157fe5b6020026020010151915091506000612c598383613acc565b5090506000612c897f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b48585612b4c565b9050600080600080846001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015612cca57600080fd5b505afa158015612cde573d6000803e3d6000fd5b505050506040513d6060811015612cf457600080fd5b5080516020909101516001600160701b0391821693501690506000806001600160a01b038a811690891614612d2a578284612d2d565b83835b91509150612d8b828b6001600160a01b03166370a082318a6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611aa957600080fd5b9550612d988683836126ea565b945050505050600080856001600160a01b0316886001600160a01b031614612dc257826000612dc6565b6000835b91509150600060028c51038a10612ddd578a612e1e565b612e1e7f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b4898e8d60020181518110612e1157fe5b6020026020010151612b4c565b604080516000808252602082019283905263022c0d9f60e01b835260248201878152604483018790526001600160a01b038086166064850152608060848501908152845160a48601819052969750908c169563022c0d9f958a958a958a9591949193919260c486019290918190849084905b83811015612ea8578181015183820152602001612e90565b50505050905090810190601f168015612ed55780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015612ef757600080fd5b505af1158015612f0b573d6000803e3d6000fd5b50506001909b019a50612c0f9950505050505050505050565b505050565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b60208310612f755780518252601f199092019160209182019101612f56565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612fd7576040519150601f19603f3d011682016040523d82523d6000602084013e612fdc565b606091505b5050905080612f245760405162461bcd60e51b8152600401808060200182810382526034815260200180613c2f6034913960400191505060405180910390fd5b600080841161305c5760405162461bcd60e51b815260040180806020018281038252602c815260200180613bab602c913960400191505060405180910390fd5b60008311801561306c5750600082115b6130a75760405162461bcd60e51b8152600401808060200182810382526028815260200180613caf6028913960400191505060405180910390fd5b60006130cb6103e86130bf868863ffffffff61395316565b9063ffffffff61395316565b905060006130e56103e86130bf868963ffffffff6131b816565b905061310260018284816130f557fe5b049063ffffffff6139b616565b9695505050505050565b600080841161314c5760405162461bcd60e51b8152600401808060200182810382526025815260200180613cfd6025913960400191505060405180910390fd5b60008311801561315c5750600082115b6131975760405162461bcd60e51b8152600401808060200182810382526028815260200180613caf6028913960400191505060405180910390fd5b826131a8858463ffffffff61395316565b816131af57fe5b04949350505050565b80820382811115610a04576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6000808242811015613257576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b60006132847f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b48c8c612b4c565b604080516323b872dd60e01b81523360048201526001600160a01b03831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b1580156132df57600080fd5b505af11580156132f3573d6000803e3d6000fd5b505050506040513d602081101561330957600080fd5b50506040805163226bf2d160e21b81526001600160a01b03888116600483015282516000938493928616926389afcb44926024808301939282900301818787803b15801561335657600080fd5b505af115801561336a573d6000803e3d6000fd5b505050506040513d604081101561338057600080fd5b5080516020909101519092509050600061339a8e8e613acc565b509050806001600160a01b03168e6001600160a01b0316146133bd5781836133c0565b82825b90975095508a8710156134045760405162461bcd60e51b8152600401808060200182810382526027815260200180613c886027913960400191505060405180910390fd5b898610156134435760405162461bcd60e51b8152600401808060200182810382526027815260200180613bd76027913960400191505060405180910390fd5b505050505097509795505050505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b178152925182516000946060949389169392918291908083835b602083106134d15780518252601f1990920191602091820191016134b2565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613533576040519150601f19603f3d011682016040523d82523d6000602084013e613538565b606091505b5091509150818015613566575080511580613566575080806020019051602081101561356357600080fd5b50515b6135a15760405162461bcd60e51b815260040180806020018281038252602d815260200180613d73602d913960400191505060405180910390fd5b5050505050565b6060600282511015613601576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff8111801561361957600080fd5b50604051908082528060200260200182016040528015613643578160200160208202803683370190505b509050828160008151811061365457fe5b60200260200101818152505060005b6001835103811015612a74576000806136998786858151811061368257fe5b6020026020010151878660010181518110612a2057fe5b915091506136bb8484815181106136ac57fe5b602002602001015183836126ea565b8484600101815181106136ca57fe5b60209081029190910101525050600101613663565b6040805163e6a4390560e01b81526001600160a01b03888116600483015287811660248301529151600092839283927f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b49092169163e6a4390591604480820192602092909190829003018186803b15801561375957600080fd5b505afa15801561376d573d6000803e3d6000fd5b505050506040513d602081101561378357600080fd5b50516001600160a01b0316141561383657604080516364e329cb60e11b81526001600160a01b038a81166004830152898116602483015291517f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b49092169163c9c65396916044808201926020929091908290030181600087803b15801561380957600080fd5b505af115801561381d573d6000803e3d6000fd5b505050506040513d602081101561383357600080fd5b50505b6000806138647f0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b48b8b613a05565b91509150816000148015613876575080155b1561388657879350869250613946565b600061389389848461310c565b90508781116138e657858110156138db5760405162461bcd60e51b8152600401808060200182810382526027815260200180613bd76027913960400191505060405180910390fd5b889450925082613944565b60006138f389848661310c565b9050898111156138ff57fe5b8781101561393e5760405162461bcd60e51b8152600401808060200182810382526027815260200180613c886027913960400191505060405180910390fd5b94508793505b505b5050965096945050505050565b600081158061396e5750508082028282828161396b57fe5b04145b610a04576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b80820182811015610a04576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b6000806000613a148585613acc565b509050600080613a25888888612b4c565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015613a5d57600080fd5b505afa158015613a71573d6000803e3d6000fd5b505050506040513d6060811015613a8757600080fd5b5080516020909101516001600160701b0391821693501690506001600160a01b0387811690841614613aba578082613abd565b81815b90999098509650505050505050565b600080826001600160a01b0316846001600160a01b03161415613b205760405162461bcd60e51b8152600401808060200182810382526025815260200180613c636025913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b031610613b40578284613b43565b83835b90925090506001600160a01b038216613ba3576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b925092905056fe556e697377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e5445746865725669737461526f757465723a20494e53554646494349454e545f425f414d4f554e545472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c65645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c6564556e697377617056324c6962726172793a204944454e544943414c5f41444452455353455345746865725669737461526f757465723a20494e53554646494349454e545f415f414d4f554e54556e697377617056324c6962726172793a20494e53554646494349454e545f4c495155494449545945746865725669737461526f757465723a20494e53554646494349454e545f4554485f464545556e697377617056324c6962726172793a20494e53554646494349454e545f414d4f554e5445746865725669737461526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e5445746865725669737461526f757465723a20494e56414c49445f504154485f4c454e4754485472616e7366657248656c7065723a3a736166655472616e736665723a207472616e73666572206661696c6564556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a26469706673582212206cef9ff143353873d58323bdf61afd573ade30a61c3352910ebe3ebf2847a1f464736f6c63430006060033

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

0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b4000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419

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

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b4
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.