BERA Price: $3.72 (+0.99%)

Contract

0xa244C6d127Ec19689f0DEf715417736c7f6cf0C4

Overview

BERA Balance

Berachain LogoBerachain LogoBerachain Logo0 BERA

BERA Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Swap Exact Token...40790082025-04-23 8:33:243 mins ago1745397204IN
0xa244C6d1...c7f6cf0C4
1 wei00.00000006
Swap Exact ETH F...40790042025-04-23 8:33:163 mins ago1745397196IN
0xa244C6d1...c7f6cf0C4
6.40592 BERA00.00000006
Swap Exact Token...40789142025-04-23 8:30:186 mins ago1745397018IN
0xa244C6d1...c7f6cf0C4
1 wei0.000000430.0012
Swap Exact ETH F...40789102025-04-23 8:30:116 mins ago1745397011IN
0xa244C6d1...c7f6cf0C4
4.82183 BERA0.000000430.0012
Swap Exact Token...40789002025-04-23 8:29:516 mins ago1745396991IN
0xa244C6d1...c7f6cf0C4
1 wei0.000000410.0012
Swap Exact ETH F...40788962025-04-23 8:29:436 mins ago1745396983IN
0xa244C6d1...c7f6cf0C4
7.09523 BERA00.00000005
Swap Exact Token...40787872025-04-23 8:26:1010 mins ago1745396770IN
0xa244C6d1...c7f6cf0C4
1 wei0.000000380.00110023
Swap Exact ETH F...40787842025-04-23 8:26:0410 mins ago1745396764IN
0xa244C6d1...c7f6cf0C4
5.94746 BERA0.000000390.00110023
Swap Exact Token...40786772025-04-23 8:22:3214 mins ago1745396552IN
0xa244C6d1...c7f6cf0C4
1 wei0.000000410.0012
Swap Exact ETH F...40786732025-04-23 8:22:2314 mins ago1745396543IN
0xa244C6d1...c7f6cf0C4
7.50671 BERA00.00000014
Swap Exact Token...40785922025-04-23 8:19:4616 mins ago1745396386IN
0xa244C6d1...c7f6cf0C4
1 wei0.000000430.00120001
Swap Exact ETH F...40785892025-04-23 8:19:4017 mins ago1745396380IN
0xa244C6d1...c7f6cf0C4
3.20447 BERA0.000000430.00120001
Swap Exact Token...40785672025-04-23 8:18:5817 mins ago1745396338IN
0xa244C6d1...c7f6cf0C4
1 wei00.00000006
Swap Exact ETH F...40785652025-04-23 8:18:5317 mins ago1745396333IN
0xa244C6d1...c7f6cf0C4
5.55758 BERA00.00000006
Swap Exact Token...40784622025-04-23 8:15:2921 mins ago1745396129IN
0xa244C6d1...c7f6cf0C4
1 wei00.00000005
Swap Exact ETH F...40784582025-04-23 8:15:2121 mins ago1745396121IN
0xa244C6d1...c7f6cf0C4
7.46675 BERA00.00000005
Swap Exact Token...40783522025-04-23 8:11:5324 mins ago1745395913IN
0xa244C6d1...c7f6cf0C4
1 wei00.00000006
Swap Exact ETH F...40783492025-04-23 8:11:4824 mins ago1745395908IN
0xa244C6d1...c7f6cf0C4
6.93755 BERA00.00000006
Swap Exact Token...40782752025-04-23 8:09:1727 mins ago1745395757IN
0xa244C6d1...c7f6cf0C4
1 wei0.000000430.0012
Swap Exact ETH F...40782712025-04-23 8:09:1027 mins ago1745395750IN
0xa244C6d1...c7f6cf0C4
4.28041 BERA0.000000430.0012
Swap Exact Token...40782422025-04-23 8:08:1228 mins ago1745395692IN
0xa244C6d1...c7f6cf0C4
1 wei0.000000340.00100001
Swap Exact ETH F...40782392025-04-23 8:08:0628 mins ago1745395686IN
0xa244C6d1...c7f6cf0C4
6.89273 BERA0.000000350.00100001
Swap Exact Token...40781352025-04-23 8:04:4132 mins ago1745395481IN
0xa244C6d1...c7f6cf0C4
1 wei00.00000005
Swap Exact ETH F...40781332025-04-23 8:04:3632 mins ago1745395476IN
0xa244C6d1...c7f6cf0C4
6.93215 BERA00.00000005
Swap Exact Token...40780272025-04-23 8:01:1135 mins ago1745395271IN
0xa244C6d1...c7f6cf0C4
1 wei0.000000350.00102599
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
40790082025-04-23 8:33:243 mins ago1745397204
0xa244C6d1...c7f6cf0C4
6.38841326 BERA
40790082025-04-23 8:33:243 mins ago1745397204
0xa244C6d1...c7f6cf0C4
6.38841326 BERA
40790082025-04-23 8:33:243 mins ago1745397204
0xa244C6d1...c7f6cf0C4
1 wei
40790042025-04-23 8:33:163 mins ago1745397196
0xa244C6d1...c7f6cf0C4
6.40591999 BERA
40790042025-04-23 8:33:163 mins ago1745397196
0xa244C6d1...c7f6cf0C4
1 wei
40789142025-04-23 8:30:186 mins ago1745397018
0xa244C6d1...c7f6cf0C4
4.80986946 BERA
40789142025-04-23 8:30:186 mins ago1745397018
0xa244C6d1...c7f6cf0C4
4.80986946 BERA
40789142025-04-23 8:30:186 mins ago1745397018
0xa244C6d1...c7f6cf0C4
1 wei
40789102025-04-23 8:30:116 mins ago1745397011
0xa244C6d1...c7f6cf0C4
4.82182999 BERA
40789102025-04-23 8:30:116 mins ago1745397011
0xa244C6d1...c7f6cf0C4
1 wei
40789002025-04-23 8:29:516 mins ago1745396991
0xa244C6d1...c7f6cf0C4
7.07465361 BERA
40789002025-04-23 8:29:516 mins ago1745396991
0xa244C6d1...c7f6cf0C4
7.07465361 BERA
40789002025-04-23 8:29:516 mins ago1745396991
0xa244C6d1...c7f6cf0C4
1 wei
40788962025-04-23 8:29:436 mins ago1745396983
0xa244C6d1...c7f6cf0C4
7.09522999 BERA
40788962025-04-23 8:29:436 mins ago1745396983
0xa244C6d1...c7f6cf0C4
1 wei
40787872025-04-23 8:26:1010 mins ago1745396770
0xa244C6d1...c7f6cf0C4
5.9317704 BERA
40787872025-04-23 8:26:1010 mins ago1745396770
0xa244C6d1...c7f6cf0C4
5.9317704 BERA
40787872025-04-23 8:26:1010 mins ago1745396770
0xa244C6d1...c7f6cf0C4
1 wei
40787842025-04-23 8:26:0410 mins ago1745396764
0xa244C6d1...c7f6cf0C4
5.94745999 BERA
40787842025-04-23 8:26:0410 mins ago1745396764
0xa244C6d1...c7f6cf0C4
1 wei
40786772025-04-23 8:22:3214 mins ago1745396552
0xa244C6d1...c7f6cf0C4
7.48445003 BERA
40786772025-04-23 8:22:3214 mins ago1745396552
0xa244C6d1...c7f6cf0C4
7.48445003 BERA
40786772025-04-23 8:22:3214 mins ago1745396552
0xa244C6d1...c7f6cf0C4
1 wei
40786732025-04-23 8:22:2314 mins ago1745396543
0xa244C6d1...c7f6cf0C4
7.50670999 BERA
40786732025-04-23 8:22:2314 mins ago1745396543
0xa244C6d1...c7f6cf0C4
1 wei
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BrownFiV1Router03

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 12 : BrownFiV1Router03.sol
pragma experimental ABIEncoderV2;
pragma solidity =0.6.6;

import '@uniswap/lib/contracts/libraries/TransferHelper.sol';

import './interfaces/IBrownFiV1Router03.sol';
import './libraries/BrownFiV1Library.sol';
import './libraries/SafeMath.sol';
import './interfaces/IERC20.sol';
import './interfaces/IWETH.sol';
import './interfaces/IPyth.sol';

contract BrownFiV1Router03 is IBrownFiV1Router03 {
    using SafeMath for uint;

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

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

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

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

    // **** SWAP ****
    // requires the initial amount to have already been sent to the first pair
    function _swap(uint[] memory amounts, address[] memory path, address _to) internal virtual {
        for (uint i; i < path.length - 1; i++) {
            (address input, address output) = (path[i], path[i + 1]);
            (address token0,) = BrownFiV1Library.sortTokens(input, output);
            uint amountOut = amounts[i + 1];
            (uint amount0Out, uint amount1Out) = input == token0 ? (uint(0), amountOut) : (amountOut, uint(0));
            address to = i < path.length - 2 ? BrownFiV1Library.pairFor(factory, output, path[i + 2]) : _to;
            IBrownFiV1Pair(BrownFiV1Library.pairFor(factory, input, output)).swap(
                amount0Out, amount1Out, to, new bytes(0)
            );
        }
    }
    function swapExactTokensForTokensWithPrice(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline,
        bytes[] calldata priceUpdate
    ) external virtual override payable ensure(deadline) returns (uint[] memory amounts) {
        // update price
        require(msg.value >= IPyth(PYTH).getUpdateFee(priceUpdate), 'BrownFiV1Router: INSUFFICIENT_UPDATE_FEE');
        IPyth(PYTH).updatePriceFeeds{value: IPyth(PYTH).getUpdateFee(priceUpdate)}(priceUpdate);
        address pair = BrownFiV1Library.pairFor(factory, path[0], path[1]);
        amounts = BrownFiV1Library.getAmountsOut(factory, amountIn, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'BrownFiV1Router: INSUFFICIENT_OUTPUT_AMOUNT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, pair, amounts[0]
        );
        _swap(amounts, path, to);
        // refund dust eth, if any
        if (msg.value > IPyth(PYTH).getUpdateFee(priceUpdate)) TransferHelper.safeTransferETH(msg.sender, msg.value - IPyth(PYTH).getUpdateFee(priceUpdate));
    }
    function swapTokensForExactTokensWithPrice(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline,
        bytes[] calldata priceUpdate
    ) external virtual override payable ensure(deadline) returns (uint[] memory amounts) {
        // update price
        require(msg.value >= IPyth(PYTH).getUpdateFee(priceUpdate), 'BrownFiV1Router: INSUFFICIENT_UPDATE_FEE');
        IPyth(PYTH).updatePriceFeeds{value: IPyth(PYTH).getUpdateFee(priceUpdate)}(priceUpdate);
        address pair = BrownFiV1Library.pairFor(factory, path[0], path[1]);
        amounts = BrownFiV1Library.getAmountsIn(factory, amountOut, path);
        require(amounts[0] <= amountInMax, 'BrownFiV1Router: EXCESSIVE_INPUT_AMOUNT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, pair, amounts[0]
        );
        _swap(amounts, path, to);
        // refund dust eth, if any
        if (msg.value > IPyth(PYTH).getUpdateFee(priceUpdate)) TransferHelper.safeTransferETH(msg.sender, msg.value - IPyth(PYTH).getUpdateFee(priceUpdate));
    }
    function swapExactETHForTokensWithPrice(uint amountOutMin, address[] calldata path, address to, uint deadline, bytes[] calldata priceUpdate)
        external
        virtual
        override
        payable
        ensure(deadline)
        returns (uint[] memory amounts)
    {
        require(path[0] == WETH, 'BrownFiV1Router: INVALID_PATH');
        // update price
        require(msg.value >= IPyth(PYTH).getUpdateFee(priceUpdate), 'BrownFiV1Router: INSUFFICIENT_UPDATE_FEE');
        uint updateFee = IPyth(PYTH).getUpdateFee(priceUpdate);
        IPyth(PYTH).updatePriceFeeds{value: updateFee}(priceUpdate);
        address pair = BrownFiV1Library.pairFor(factory, path[0], path[1]);
        amounts = BrownFiV1Library.getAmountsOut(factory, msg.value - updateFee, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'BrownFiV1Router: INSUFFICIENT_OUTPUT_AMOUNT');
        IWETH(WETH).deposit{value: amounts[0]}();
        assert(IWETH(WETH).transfer(pair, amounts[0]));
        _swap(amounts, path, to);
        // refund dust eth, if any
        if (msg.value > amounts[0] + updateFee) TransferHelper.safeTransferETH(msg.sender, msg.value - updateFee - amounts[0]);
    }
    function swapTokensForExactETHWithPrice(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline, bytes[] calldata priceUpdate)
        external
        virtual
        override
        payable
        ensure(deadline)
        returns (uint[] memory amounts)
    {
        require(path[path.length - 1] == WETH, 'BrownFiV1Router: INVALID_PATH');
        // update price
        require(msg.value >= IPyth(PYTH).getUpdateFee(priceUpdate), 'BrownFiV1Router: INSUFFICIENT_UPDATE_FEE');
        IPyth(PYTH).updatePriceFeeds{value: IPyth(PYTH).getUpdateFee(priceUpdate)}(priceUpdate);
        address pair = BrownFiV1Library.pairFor(factory, path[0], path[1]);
        amounts = BrownFiV1Library.getAmountsIn(factory, amountOut, path);
        require(amounts[0] <= amountInMax, 'BrownFiV1Router: EXCESSIVE_INPUT_AMOUNT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, pair, amounts[0]
        );
        _swap(amounts, path, address(this));
        IWETH(WETH).withdraw(amounts[amounts.length - 1]);
        TransferHelper.safeTransferETH(to, amounts[amounts.length - 1]);
        // refund dust eth, if any
        if (msg.value > IPyth(PYTH).getUpdateFee(priceUpdate)) TransferHelper.safeTransferETH(msg.sender, msg.value - IPyth(PYTH).getUpdateFee(priceUpdate));
    }
    function swapExactTokensForETHWithPrice(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline, bytes[] calldata priceUpdate)
        external
        virtual
        override
        payable
        ensure(deadline)
        returns (uint[] memory amounts)
    {
        require(path[path.length - 1] == WETH, 'BrownFiV1Router: INVALID_PATH');
        // update price
        require(msg.value >= IPyth(PYTH).getUpdateFee(priceUpdate), 'BrownFiV1Router: INSUFFICIENT_UPDATE_FEE');
        IPyth(PYTH).updatePriceFeeds{value: IPyth(PYTH).getUpdateFee(priceUpdate)}(priceUpdate);
        address pair = BrownFiV1Library.pairFor(factory, path[0], path[1]);
        amounts = BrownFiV1Library.getAmountsOut(factory, amountIn, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'BrownFiV1Router: INSUFFICIENT_OUTPUT_AMOUNT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, pair, amounts[0]
        );
        _swap(amounts, path, address(this));
        IWETH(WETH).withdraw(amounts[amounts.length - 1]);
        TransferHelper.safeTransferETH(to, amounts[amounts.length - 1]);
        // refund dust eth, if any
        if (msg.value > IPyth(PYTH).getUpdateFee(priceUpdate)) TransferHelper.safeTransferETH(msg.sender, msg.value - IPyth(PYTH).getUpdateFee(priceUpdate));
    }
    function swapETHForExactTokensWithPrice(uint amountOut, address[] calldata path, address to, uint deadline, bytes[] calldata priceUpdate)
        external
        virtual
        override
        payable
        ensure(deadline)
        returns (uint[] memory amounts)
    {
        require(path[0] == WETH, 'BrownFiV1Router: INVALID_PATH');
        // update price
        require(msg.value >= IPyth(PYTH).getUpdateFee(priceUpdate), 'BrownFiV1Router: INSUFFICIENT_UPDATE_FEE');
        uint updateFee = IPyth(PYTH).getUpdateFee(priceUpdate);
        IPyth(PYTH).updatePriceFeeds{value: updateFee}(priceUpdate);
        address pair = BrownFiV1Library.pairFor(factory, path[0], path[1]);
        amounts = BrownFiV1Library.getAmountsIn(factory, amountOut, path);
        require(amounts[0] + updateFee <= msg.value, 'BrownFiV1Router: EXCESSIVE_INPUT_AMOUNT');
        IWETH(WETH).deposit{value: amounts[0]}();
        assert(IWETH(WETH).transfer(pair, amounts[0]));
        _swap(amounts, path, to);
        // refund dust eth, if any
        if (msg.value > amounts[0] + updateFee) TransferHelper.safeTransferETH(msg.sender, msg.value - updateFee - amounts[0]);
    }

    // **** SWAP (supporting fee-on-transfer tokens) ****
    // requires the initial amount to have already been sent to the first pair
    function _swapSupportingFeeOnTransferTokens(address[] memory path, address _to) internal virtual {
        for (uint i; i < path.length - 1; i++) {
            (address input, address output) = (path[i], path[i + 1]);
            (address token0,) = BrownFiV1Library.sortTokens(input, output);
            IBrownFiV1Pair pair = IBrownFiV1Pair(BrownFiV1Library.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);
            bool zeroForOne = input == token0;
            uint oPrice = pair.fetchOraclePrice();
            amountOutput = BrownFiV1Library.getAmountOut(amountInput, reserveInput, reserveOutput, pair.kappa(), oPrice, pair.fee(), zeroForOne);
            }
            (uint amount0Out, uint amount1Out) = input == token0 ? (uint(0), amountOutput) : (amountOutput, uint(0));
            address to = i < path.length - 2 ? BrownFiV1Library.pairFor(factory, output, path[i + 2]) : _to;
            pair.swap(amount0Out, amount1Out, to, new bytes(0));
        }
    }
    function swapExactTokensForTokensSupportingFeeOnTransferTokensWithPrice(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline,
        bytes[] calldata priceUpdate
    ) external virtual override payable ensure(deadline) {
        // update price
        require(msg.value >= IPyth(PYTH).getUpdateFee(priceUpdate), 'BrownFiV1Router: INSUFFICIENT_UPDATE_FEE');
        IPyth(PYTH).updatePriceFeeds{value: IPyth(PYTH).getUpdateFee(priceUpdate)}(priceUpdate);
        address pair = BrownFiV1Library.pairFor(factory, path[0], path[1]);
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, pair, amountIn
        );
        uint balanceBefore = IERC20(path[path.length - 1]).balanceOf(to);
        _swapSupportingFeeOnTransferTokens(path, to);
        require(
            IERC20(path[path.length - 1]).balanceOf(to).sub(balanceBefore) >= amountOutMin,
            'BrownFiV1Router: INSUFFICIENT_OUTPUT_AMOUNT'
        );
        // refund dust eth, if any
        if (msg.value > IPyth(PYTH).getUpdateFee(priceUpdate)) TransferHelper.safeTransferETH(msg.sender, msg.value - IPyth(PYTH).getUpdateFee(priceUpdate));
    }
    function swapExactETHForTokensSupportingFeeOnTransferTokensWithPrice(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline,
        bytes[] calldata priceUpdate
    )
        external
        virtual
        override
        payable
        ensure(deadline)
    {
        require(path[0] == WETH, 'BrownFiV1Router: INVALID_PATH');
        // update price
        uint updateFee = IPyth(PYTH).getUpdateFee(priceUpdate);
        require(msg.value >= updateFee, 'BrownFiV1Router: INSUFFICIENT_UPDATE_FEE');
        IPyth(PYTH).updatePriceFeeds{value: updateFee}(priceUpdate);
        uint amountIn = msg.value - updateFee;
        IWETH(WETH).deposit{value: amountIn}();
        assert(IWETH(WETH).transfer(BrownFiV1Library.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,
            'BrownFiV1Router: INSUFFICIENT_OUTPUT_AMOUNT'
        );
        // refund dust eth, if any
        if (msg.value > updateFee) TransferHelper.safeTransferETH(msg.sender, msg.value - updateFee);
    }
    function swapExactTokensForETHSupportingFeeOnTransferTokensWithPrice(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline,
        bytes[] calldata priceUpdate
    )
        external
        virtual
        override
        payable
        ensure(deadline)
    {
        require(path[path.length - 1] == WETH, 'BrownFiV1Router: INVALID_PATH');
        // update price
        require(msg.value >= IPyth(PYTH).getUpdateFee(priceUpdate), 'BrownFiV1Router: INSUFFICIENT_UPDATE_FEE');
        IPyth(PYTH).updatePriceFeeds{value: IPyth(PYTH).getUpdateFee(priceUpdate)}(priceUpdate);
        address pair = BrownFiV1Library.pairFor(factory, path[0], path[1]);
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, pair, amountIn
        );
        _swapSupportingFeeOnTransferTokens(path, address(this));
        uint amountOut = IERC20(WETH).balanceOf(address(this));
        require(amountOut >= amountOutMin, 'BrownFiV1Router: INSUFFICIENT_OUTPUT_AMOUNT');
        IWETH(WETH).withdraw(amountOut);
        TransferHelper.safeTransferETH(to, amountOut);
        // refund dust eth, if any
        if (msg.value > IPyth(PYTH).getUpdateFee(priceUpdate)) TransferHelper.safeTransferETH(msg.sender, msg.value - IPyth(PYTH).getUpdateFee(priceUpdate));
    }

    function getAmountsOutWithPrice(uint amountIn, address[] calldata path, bytes[] calldata priceUpdate)
        external
        payable
        virtual
        override
        returns (uint[] memory amounts)
    {
        // update price
        require(msg.value >= IPyth(PYTH).getUpdateFee(priceUpdate), 'BrownFiV1Router: INSUFFICIENT_UPDATE_FEE');
        IPyth(PYTH).updatePriceFeeds{value: IPyth(PYTH).getUpdateFee(priceUpdate)}(priceUpdate);
        // refund dust eth, if any
        if (msg.value > IPyth(PYTH).getUpdateFee(priceUpdate)) TransferHelper.safeTransferETH(msg.sender, msg.value - IPyth(PYTH).getUpdateFee(priceUpdate));
        return BrownFiV1Library.getAmountsOut(factory, amountIn, path);
    }

    function getAmountsInWithPrice(uint amountOut, address[] calldata path, bytes[] calldata priceUpdate)
        external
        payable
        virtual
        override
        returns (uint[] memory amounts)
    {
        // update price
        require(msg.value >= IPyth(PYTH).getUpdateFee(priceUpdate), 'BrownFiV1Router: INSUFFICIENT_UPDATE_FEE');
        IPyth(PYTH).updatePriceFeeds{value: IPyth(PYTH).getUpdateFee(priceUpdate)}(priceUpdate);
        // refund dust eth, if any
        if (msg.value > IPyth(PYTH).getUpdateFee(priceUpdate)) TransferHelper.safeTransferETH(msg.sender, msg.value - IPyth(PYTH).getUpdateFee(priceUpdate));
        return BrownFiV1Library.getAmountsIn(factory, amountOut, path);
    }
}

File 2 of 12 : IBrownFiV1Pair.sol
pragma solidity >=0.5.0;

interface IBrownFiV1Pair {

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

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

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

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

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

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

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

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

    function initialize(address, address) external;

    function fetchOraclePrice() external view returns (uint);
    function kappa() external view returns (uint);
    function fee() external view returns (uint);
    function priceFeed() external view returns (address);
    function qti() external view returns (uint);
    function decimalShift() external view returns (int);
}

File 3 of 12 : TransferHelper.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.6.0;

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

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

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

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

File 4 of 12 : AggregatorV3Interface.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;

interface AggregatorV3Interface {
    function decimals() external view returns (uint8);

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

    function version() external view returns (uint256);

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

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

File 5 of 12 : IBrownFiV1Router03.sol
pragma experimental ABIEncoderV2;
pragma solidity >=0.6.2;

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

    function swapExactTokensForTokensWithPrice(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline,
        bytes[] calldata priceUpdate
    ) external payable returns (uint[] memory amounts);
    function swapTokensForExactTokensWithPrice(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline,
        bytes[] calldata priceUpdate
    ) external payable returns (uint[] memory amounts);
    function swapExactETHForTokensWithPrice(uint amountOutMin, address[] calldata path, address to, uint deadline, bytes[] calldata priceUpdate)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETHWithPrice(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline, bytes[] calldata priceUpdate)
        external
        payable
        returns (uint[] memory amounts);
    function swapExactTokensForETHWithPrice(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline, bytes[] calldata priceUpdate)
        external
        payable
        returns (uint[] memory amounts);
    function swapETHForExactTokensWithPrice(uint amountOut, address[] calldata path, address to, uint deadline, bytes[] calldata priceUpdate)
        external
        payable
        returns (uint[] memory amounts);
    function swapExactTokensForTokensSupportingFeeOnTransferTokensWithPrice(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline,
        bytes[] calldata priceUpdate
    ) external payable;
    function swapExactETHForTokensSupportingFeeOnTransferTokensWithPrice(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline,
        bytes[] calldata priceUpdate
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokensWithPrice(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline,
        bytes[] calldata priceUpdate
    ) external payable;
    function getAmountsOutWithPrice(uint amountIn, address[] calldata path, bytes[] calldata priceUpdate) external payable returns (uint[] memory amounts);
    function getAmountsInWithPrice(uint amountOut, address[] calldata path, bytes[] calldata priceUpdate) external payable returns (uint[] memory amounts);
}

File 6 of 12 : IERC20.sol
pragma solidity >=0.5.0;

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

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

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

File 7 of 12 : IPyth.sol
// SPDX-License-Identifier: Apache-2.0
pragma experimental ABIEncoderV2;
pragma solidity >=0.5.0;

import "./PythStructs.sol";

/// @title Consume prices from the Pyth Network (https://pyth.network/).
/// @dev Please refer to the guidance at https://docs.pyth.network/documentation/pythnet-price-feeds/best-practices for how to consume prices safely.
/// @author Pyth Data Association
interface IPyth {
    /// @notice Returns the price that is no older than `age` seconds of the current time.
    /// @dev This function is a sanity-checked version of `getPriceUnsafe` which is useful in
    /// applications that require a sufficiently-recent price. Reverts if the price wasn't updated sufficiently
    /// recently.
    /// @return price - please read the documentation of PythStructs.Price to understand how to use this safely.
    function getPriceNoOlderThan(
        bytes32 id,
        uint age
    ) external view returns (PythStructs.Price memory price);

    /// @notice Update price feeds with given update messages.
    /// This method requires the caller to pay a fee in wei; the required fee can be computed by calling
    /// `getUpdateFee` with the length of the `updateData` array.
    /// Prices will be updated if they are more recent than the current stored prices.
    /// The call will succeed even if the update is not the most recent.
    /// @dev Reverts if the transferred fee is not sufficient or the updateData is invalid.
    /// @param updateData Array of price update data.
    function updatePriceFeeds(bytes[] calldata updateData) external payable;

    /// @notice Returns the required fee to update an array of price updates.
    /// @param updateData Array of price update data.
    /// @return feeAmount The required fee in Wei.
    function getUpdateFee(
        bytes[] calldata updateData
    ) external view returns (uint feeAmount);
}

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

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

File 9 of 12 : PythStructs.sol
// SPDX-License-Identifier: Apache-2.0
pragma solidity >=0.5.0;

contract PythStructs {
    // A price with a degree of uncertainty, represented as a price +- a confidence interval.
    //
    // The confidence interval roughly corresponds to the standard error of a normal distribution.
    // Both the price and confidence are stored in a fixed-point numeric representation,
    // `x * (10^expo)`, where `expo` is the exponent.
    //
    // Please refer to the documentation at https://docs.pyth.network/documentation/pythnet-price-feeds/best-practices for how
    // to how this price safely.
    struct Price {
        // Price
        int64 price;
        // Confidence interval around the price
        uint64 conf;
        // Price exponent
        int32 expo;
        // Unix timestamp describing when the price was published
        uint publishTime;
    }

    // PriceFeed represents a current aggregate price from pyth publisher feeds.
    struct PriceFeed {
        // The price ID.
        bytes32 id;
        // Latest available price
        Price price;
        // Latest available exponentially-weighted moving average price
        Price emaPrice;
    }
}

File 10 of 12 : BrownFiV1Library.sol
pragma solidity >=0.5.0;

import '@brownfi/core/contracts/interfaces/IBrownFiV1Pair.sol';
import "./FullMath.sol";
import "./SafeMath.sol";
import "../interfaces/AggregatorV3Interface.sol";

library BrownFiV1Library {
    using SafeMath for uint;
    using SafeMath for uint256;

    uint256 internal constant Q128 = 1 << 128;
    uint256 internal constant FEE_DENOMINATOR = 10000;

    // returns sorted token addresses, used to handle return values from pairs sorted in this order
    function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {
        require(tokenA != tokenB, 'BrownFiV1Library: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'BrownFiV1Library: 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'330370b2bbf44605dd620805d2a2da4be4d6830689cdc295936cb2f1efb5e4af' // 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,) = IBrownFiV1Pair(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, 'BrownFiV1Library: INSUFFICIENT_AMOUNT');
        require(reserveA > 0 && reserveB > 0, 'BrownFiV1Library: 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, uint kappa, uint oPrice, uint fee, bool zeroForOne) internal pure returns (uint amountOut) {
        require(amountIn > 0, 'BrownFiV1Library: INSUFFICIENT_INPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'BrownFiV1Library: INSUFFICIENT_LIQUIDITY');
        if (kappa == Q128.mul(2)) {
            if (zeroForOne) {
                // dy = P * y * dx / (P * dx + y)
                amountOut = FullMath.mulDiv(oPrice, reserveOut, Q128).mul(amountIn) / FullMath.mulDivRoundingUp(oPrice, amountIn, Q128).add(reserveOut);
            } else {
                // dx = (x * dy) / (P * x + dy)
                amountOut = amountIn.mul(reserveOut) / FullMath.mulDivRoundingUp(oPrice, reserveOut, Q128).add(amountIn);
            }
            amountOut = FullMath.mulDiv(amountOut, FEE_DENOMINATOR - fee, FEE_DENOMINATOR);
        } else {
            if (zeroForOne) {
                // P * dx + y - sqrt(delta)
                uint sqrtDelta = SafeMath.sqrt(delta(amountIn, reserveOut, kappa, oPrice, zeroForOne));
                uint numerator = FullMath.mulDiv(oPrice, amountIn, Q128).add(reserveOut).sub(sqrtDelta);
                // (2 - K)
                uint denominator = Q128.mul(2).sub(kappa);
                amountOut = FullMath.mulDiv(numerator, Q128, denominator);
            } else {
                // P * x + dy - sqrt(delta)
                uint sqrtDelta = SafeMath.sqrt(delta(amountIn, reserveOut, kappa, oPrice, zeroForOne));
                uint numerator = FullMath.mulDiv(oPrice, reserveOut, Q128).add(amountIn).sub(sqrtDelta);
                // P * (2 - K)
                uint denominator = FullMath.mulDiv(oPrice, Q128.mul(2).sub(kappa), Q128);
                amountOut = FullMath.mulDiv(numerator, Q128, denominator);
            }
            // Compute amountOut with fee
            amountOut = FullMath.mulDiv(amountOut, FEE_DENOMINATOR - fee, FEE_DENOMINATOR);
        }
    }

    // given an output amount of an asset and pair reserves, returns a required input amount of the other asset
    // TODO: reserveIn not in use, remove it
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut, uint kappa, uint oPrice, uint fee, bool zeroForOne) internal pure returns (uint amountIn) {
        require(amountOut > 0, 'BrownFiV1Library: INSUFFICIENT_OUTPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'BrownFiV1Library: INSUFFICIENT_LIQUIDITY');
        // adding fee
        amountOut = FullMath.mulDivRoundingUp(amountOut, FEE_DENOMINATOR, FEE_DENOMINATOR - fee);
        // check 10 * dx < 9 * x
        require(amountOut.mul(10) < reserveOut.mul(9), 'BrownFiV1Library: INSUFFICIENT_OUTPUT_AMOUNT');
        // Compute price impact: R = (K * dx) / (x - dx)
        uint r = FullMath.mulDivRoundingUp(kappa, amountOut, reserveOut.sub(amountOut));
        uint avgPrice;
        // Sell == zeroForOne
        if (zeroForOne) {
            // Compute average trading price: (2 + R) / (2 * P)
            avgPrice = FullMath.mulDivRoundingUp(Q128.mul(2).add(r), Q128, oPrice.mul(2));
            amountIn = FullMath.mulDivRoundingUp(amountOut, avgPrice, Q128);
        } else {
            // Compute average trading price: P * (2 + R) / 2
            avgPrice = FullMath.mulDivRoundingUp(oPrice, Q128.mul(2).add(r), Q128.mul(2));
            amountIn = FullMath.mulDivRoundingUp(amountOut, avgPrice, Q128);
        }
    }

    // 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, 'BrownFiV1Library: 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]);
            address pair = pairFor(factory, path[i], path[i + 1]);
            (address token0,) = sortTokens(path[i], path[i + 1]);
            bool zeroForOne = token0 == path[i];
            uint oPrice = IBrownFiV1Pair(pair).fetchOraclePrice();
            amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut, IBrownFiV1Pair(pair).kappa(), oPrice, IBrownFiV1Pair(pair).fee(), zeroForOne);
        }
    }

    // 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, 'BrownFiV1Library: 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]);
            // compute pair address
            address pair = pairFor(factory, path[i - 1], path[i]);
            (address token0,) = sortTokens(path[i - 1], path[i]);
            bool zeroForOne = token0 == path[i - 1];
            uint oPrice = IBrownFiV1Pair(pair).fetchOraclePrice();
            amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut, IBrownFiV1Pair(pair).kappa(), oPrice, IBrownFiV1Pair(pair).fee(), zeroForOne);
        }
    }

    function delta(uint amountIn, uint reserveOut, uint kappa, uint oPrice, bool isSell) public pure returns (uint _delta) {
        uint temp1;
        uint temp2;
        if (isSell) {
            // temp1 = (P * dx - y)^2
            if (FullMath.mulDiv(oPrice, amountIn, Q128) < reserveOut) {
                temp1 = reserveOut.sub(FullMath.mulDiv(oPrice, amountIn, Q128));
                temp1 = temp1.mul(temp1);
            } else {
                temp1 = FullMath.mulDiv(oPrice, amountIn, Q128).sub(reserveOut);
                temp1 = temp1.mul(temp1);
            }
        } else {
            // temp1 = (P * x - dy)^2
            if (FullMath.mulDiv(oPrice, reserveOut, Q128) < amountIn) {
                temp1 = amountIn.sub(FullMath.mulDiv(oPrice, reserveOut, Q128));
                temp1 = temp1.mul(temp1);
            } else {
                temp1 = FullMath.mulDiv(oPrice, reserveOut, Q128).sub(amountIn);
                temp1 = temp1.mul(temp1);
            }
        }
        // temp2 = 2 * P * K * y * dx
        temp2 = FullMath.mulDiv(oPrice, amountIn, Q128).mul(FullMath.mulDiv(kappa, reserveOut, Q128)).mul(2);
        _delta = temp1.add(temp2);
        return _delta;
    }
}

File 11 of 12 : FullMath.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.6.6;

/// @title Contains 512-bit math functions
/// @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision
/// @dev Handles "phantom overflow" i.e., allows multiplication and division where an intermediate value overflows 256 bits
library FullMath {
    /// @notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
    /// @param a The multiplicand
    /// @param b The multiplier
    /// @param denominator The divisor
    /// @return result The 256-bit result
    /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv
    function mulDiv(
        uint256 a,
        uint256 b,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        // 512-bit multiply [prod1 prod0] = a * b
        // Compute the product mod 2**256 and mod 2**256 - 1
        // then use the Chinese Remainder Theorem to reconstruct
        // the 512 bit result. The result is stored in two 256
        // variables such that product = prod1 * 2**256 + prod0
        uint256 prod0; // Least significant 256 bits of the product
        uint256 prod1; // Most significant 256 bits of the product
        assembly {
            let mm := mulmod(a, b, not(0))
            prod0 := mul(a, b)
            prod1 := sub(sub(mm, prod0), lt(mm, prod0))
        }

        // Handle non-overflow cases, 256 by 256 division
        if (prod1 == 0) {
            require(denominator > 0);
            assembly {
                result := div(prod0, denominator)
            }
            return result;
        }

        // Make sure the result is less than 2**256.
        // Also prevents denominator == 0
        require(denominator > prod1);

        ///////////////////////////////////////////////
        // 512 by 256 division.
        ///////////////////////////////////////////////

        // Make division exact by subtracting the remainder from [prod1 prod0]
        // Compute remainder using mulmod
        uint256 remainder;
        assembly {
            remainder := mulmod(a, b, denominator)
        }
        // Subtract 256 bit number from 512 bit number
        assembly {
            prod1 := sub(prod1, gt(remainder, prod0))
            prod0 := sub(prod0, remainder)
        }

        // Factor powers of two out of denominator
        // Compute largest power of two divisor of denominator.
        // Always >= 1.
        uint256 twos = (0 - denominator) & denominator;
        // Divide denominator by power of two
        assembly {
            denominator := div(denominator, twos)
        }

        // Divide [prod1 prod0] by the factors of two
        assembly {
            prod0 := div(prod0, twos)
        }
        // Shift in bits from prod1 into prod0. For this we need
        // to flip `twos` such that it is 2**256 / twos.
        // If twos is zero, then it becomes one
        assembly {
            twos := add(div(sub(0, twos), twos), 1)
        }
        prod0 |= prod1 * twos;

        // Invert denominator mod 2**256
        // Now that denominator is an odd number, it has an inverse
        // modulo 2**256 such that denominator * inv = 1 mod 2**256.
        // Compute the inverse by starting with a seed that is correct
        // correct for four bits. That is, denominator * inv = 1 mod 2**4
        uint256 inv = (3 * denominator) ^ 2;
        // Now use Newton-Raphson iteration to improve the precision.
        // Thanks to Hensel's lifting lemma, this also works in modular
        // arithmetic, doubling the correct bits in each step.
        inv *= 2 - denominator * inv; // inverse mod 2**8
        inv *= 2 - denominator * inv; // inverse mod 2**16
        inv *= 2 - denominator * inv; // inverse mod 2**32
        inv *= 2 - denominator * inv; // inverse mod 2**64
        inv *= 2 - denominator * inv; // inverse mod 2**128
        inv *= 2 - denominator * inv; // inverse mod 2**256

        // Because the division is now exact we can divide by multiplying
        // with the modular inverse of denominator. This will give us the
        // correct result modulo 2**256. Since the precoditions guarantee
        // that the outcome is less than 2**256, this is the final result.
        // We don't need to compute the high bits of the result and prod1
        // is no longer required.
        result = prod0 * inv;
        return result;
    }

    /// @notice Calculates ceil(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
    /// @param a The multiplicand
    /// @param b The multiplier
    /// @param denominator The divisor
    /// @return result The 256-bit result
    function mulDivRoundingUp(
        uint256 a,
        uint256 b,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        result = mulDiv(a, b, denominator);
        if (mulmod(a, b, denominator) > 0) {
            require(result < uint256(-1));
            result++;
        }
    }
}

File 12 of 12 : SafeMath.sol
pragma solidity =0.6.6;

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

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

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

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

    uint constant RAY = 10 ** 27;

    //rounds to zero if x*y < RAY / 2
    function rdiv(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, RAY), y / 2) / y;
    }

    //rounds to zero if x*y < RAY / 2
    function rmul(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, y), RAY / 2) / RAY;
    }

    function rpow(uint x, uint n) internal pure returns (uint z) {
        z = n % 2 != 0 ? x : RAY;

        for (n /= 2; n != 0; n /= 2) {
            x = rmul(x, x);

            if (n % 2 != 0) {
                z = rmul(z, x);
            }
        }
    }

    // credit for this implementation goes to
    // https://github.com/abdk-consulting/abdk-libraries-solidity/blob/master/ABDKMath64x64.sol
    function sqrt (uint256 x) internal pure returns (uint128) {
        if (x == 0) return 0;
        else {
            uint256 xx = x;
            uint256 r = 1;
            if (xx >= 0x100000000000000000000000000000000) { xx >>= 128; r <<= 64; }
            if (xx >= 0x10000000000000000) { xx >>= 64; r <<= 32; }
            if (xx >= 0x100000000) { xx >>= 32; r <<= 16; }
            if (xx >= 0x10000) { xx >>= 16; r <<= 8; }
            if (xx >= 0x100) { xx >>= 8; r <<= 4; }
            if (xx >= 0x10) { xx >>= 4; r <<= 2; }
            if (xx >= 0x4) { r <<= 1; }
            r = (r + x / r) >> 1;
            r = (r + x / r) >> 1;
            r = (r + x / r) >> 1;
            r = (r + x / r) >> 1;
            r = (r + x / r) >> 1;
            r = (r + x / r) >> 1;
            r = (r + x / r) >> 1; // Seven iterations should be enough
            uint256 r1 = x / r;
            return uint128 (r < r1 ? r : r1);
        }
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_WETH","type":"address"},{"internalType":"address","name":"_PYTH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"PYTH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"bytes[]","name":"priceUpdate","type":"bytes[]"}],"name":"getAmountsInWithPrice","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"bytes[]","name":"priceUpdate","type":"bytes[]"}],"name":"getAmountsOutWithPrice","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes[]","name":"priceUpdate","type":"bytes[]"}],"name":"swapETHForExactTokensWithPrice","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes[]","name":"priceUpdate","type":"bytes[]"}],"name":"swapExactETHForTokensSupportingFeeOnTransferTokensWithPrice","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes[]","name":"priceUpdate","type":"bytes[]"}],"name":"swapExactETHForTokensWithPrice","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes[]","name":"priceUpdate","type":"bytes[]"}],"name":"swapExactTokensForETHSupportingFeeOnTransferTokensWithPrice","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"},{"internalType":"bytes[]","name":"priceUpdate","type":"bytes[]"}],"name":"swapExactTokensForETHWithPrice","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes[]","name":"priceUpdate","type":"bytes[]"}],"name":"swapExactTokensForTokensSupportingFeeOnTransferTokensWithPrice","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"},{"internalType":"bytes[]","name":"priceUpdate","type":"bytes[]"}],"name":"swapExactTokensForTokensWithPrice","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes[]","name":"priceUpdate","type":"bytes[]"}],"name":"swapTokensForExactETHWithPrice","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes[]","name":"priceUpdate","type":"bytes[]"}],"name":"swapTokensForExactTokensWithPrice","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e06040523480156200001157600080fd5b50604051620051ce380380620051ce83398101604081905262000034916200005c565b6001600160601b0319606093841b811660805291831b821660a05290911b1660c052620000c8565b60008060006060848603121562000071578283fd5b83516200007e81620000af565b60208501519093506200009181620000af565b6040850151909250620000a481620000af565b809150509250925092565b6001600160a01b0381168114620000c557600080fd5b50565b60805160601c60a05160601c60c05160601c614f826200024c6000398061029352806103505280610696528061072a528061088752806109445280610c3c5280610cf95280610ded5280610e845280610f3a5280610f96528061105352806112b8528061134c52806114555280611512528061186f528061192f52806119ba5280611d125280611dcf5280611ec35280611f5a52806120b0528061217052806121fb52806123f252806124cb528061289452806129515280612ba95280612c6652508060f152806108055280610ada5280610bb152806113d3528061170f52806117e85280611b2b5280611bb352806120295280612368528061253f52806125b352806128145280612b275250806104375280610a2b5280610ed5528061113a528061118f52806115f9528061162c5280611a405280611a955280611fab528061228152806122b452806125e552806128385280612a385280612a6b5280612d4d5280612d805280612ffa52806132e352806137f4528061382a5250614f826000f3fe6080604052600436106100e15760003560e01c80638e4a48831161007f578063ad5c464811610059578063ad5c464814610202578063c45a015514610217578063dcb3aba71461022c578063e2bf98d31461023f5761011a565b80638e4a4883146101c95780639bd5b470146101dc578063a6273ccd146101ef5761011a565b806367e406d5116100bb57806367e406d51461016e5780636a28e57c1461019057806376ddc43c146101a35780638168839e146101b65761011a565b806353f419a41461011f578063557ed29614610132578063673805b0146101455761011a565b3661011a57336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461011857fe5b005b600080fd5b61011861012d366004614694565b610252565b610118610140366004614694565b6107da565b61015861015336600461461d565b610c22565b604051610165919061497f565b60405180910390f35b34801561017a57600080fd5b50610183610f38565b604051610165919061485c565b61015861019e366004614694565b610f5c565b6101586101b1366004614694565b6113a6565b6101586101c436600461458b565b6117c3565b6101586101d736600461461d565b611cf8565b6101586101ea36600461458b565b612004565b6101186101fd36600461458b565b612345565b34801561020e57600080fd5b50610183612812565b34801561022357600080fd5b50610183612836565b61015861023a366004614694565b61285a565b61015861024d366004614694565b612afa565b824281101561027c5760405162461bcd60e51b8152600401610273906149fa565b60405180910390fd5b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed45906102ca90869086906004016148ad565b60206040518083038186803b1580156102e257600080fd5b505afa1580156102f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031a9190614573565b3410156103395760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef9e5e2890829063d47eed459061038f90889088906004016148ad565b60206040518083038186803b1580156103a757600080fd5b505afa1580156103bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103df9190614573565b85856040518463ffffffff1660e01b81526004016103fe9291906148ad565b6000604051808303818588803b15801561041757600080fd5b505af115801561042b573d6000803e3d6000fd5b5050505050600061049f7f00000000000000000000000000000000000000000000000000000000000000008989600081811061046357fe5b905060200201602081019061047891906144e4565b8a8a600181811061048557fe5b905060200201602081019061049a91906144e4565b612e0f565b90506104ce888860008181106104b157fe5b90506020020160208101906104c691906144e4565b33838d612e9d565b6000888860001981018181106104e057fe5b90506020020160208101906104f591906144e4565b6001600160a01b03166370a08231886040518263ffffffff1660e01b8152600401610520919061485c565b60206040518083038186803b15801561053857600080fd5b505afa15801561054c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105709190614573565b90506105b08989808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508b9250612fa3915050565b89610661828b8b60001981018181106105c557fe5b90506020020160208101906105da91906144e4565b6001600160a01b03166370a082318b6040518263ffffffff1660e01b8152600401610605919061485c565b60206040518083038186803b15801561061d57600080fd5b505afa158015610631573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106559190614573565b9063ffffffff6133c616565b101561067f5760405162461bcd60e51b815260040161027390614dcf565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed45906106cd90889088906004016148ad565b60206040518083038186803b1580156106e557600080fd5b505afa1580156106f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071d9190614573565b3411156107cd576107cd337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d47eed4588886040518363ffffffff1660e01b81526004016107769291906148ad565b60206040518083038186803b15801561078e57600080fd5b505afa1580156107a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c69190614573565b34036133ef565b5050505050505050505050565b82428110156107fb5760405162461bcd60e51b8152600401610273906149fa565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168787600019810181811061083557fe5b905060200201602081019061084a91906144e4565b6001600160a01b0316146108705760405162461bcd60e51b815260040161027390614a9f565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed45906108be90869086906004016148ad565b60206040518083038186803b1580156108d657600080fd5b505afa1580156108ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090e9190614573565b34101561092d5760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef9e5e2890829063d47eed459061098390889088906004016148ad565b60206040518083038186803b15801561099b57600080fd5b505afa1580156109af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d39190614573565b85856040518463ffffffff1660e01b81526004016109f29291906148ad565b6000604051808303818588803b158015610a0b57600080fd5b505af1158015610a1f573d6000803e3d6000fd5b50505050506000610a577f00000000000000000000000000000000000000000000000000000000000000008989600081811061046357fe5b9050610a69888860008181106104b157fe5b610aa7888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250612fa3915050565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610b0f90309060040161485c565b60206040518083038186803b158015610b2757600080fd5b505afa158015610b3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5f9190614573565b905089811015610b815760405162461bcd60e51b815260040161027390614dcf565b6040517f2e1a7d4d0000000000000000000000000000000000000000000000000000000081526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690632e1a7d4d90610be6908490600401614e89565b600060405180830381600087803b158015610c0057600080fd5b505af1158015610c14573d6000803e3d6000fd5b5050505061067f87826133ef565b60405163d47eed4560e01b81526060906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed4590610c7390869086906004016148ad565b60206040518083038186803b158015610c8b57600080fd5b505afa158015610c9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc39190614573565b341015610ce25760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef9e5e2890829063d47eed4590610d3890889088906004016148ad565b60206040518083038186803b158015610d5057600080fd5b505afa158015610d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d889190614573565b85856040518463ffffffff1660e01b8152600401610da79291906148ad565b6000604051808303818588803b158015610dc057600080fd5b505af1158015610dd4573d6000803e3d6000fd5b505060405163d47eed4560e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016935063d47eed459250610e279150869086906004016148ad565b60206040518083038186803b158015610e3f57600080fd5b505afa158015610e53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e779190614573565b341115610ed057610ed0337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d47eed4586866040518363ffffffff1660e01b81526004016107769291906148ad565b610f2e7f00000000000000000000000000000000000000000000000000000000000000008787878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061347c92505050565b9695505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60608342811015610f7f5760405162461bcd60e51b8152600401610273906149fa565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed4590610fcd90879087906004016148ad565b60206040518083038186803b158015610fe557600080fd5b505afa158015610ff9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101d9190614573565b34101561103c5760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef9e5e2890829063d47eed459061109290899089906004016148ad565b60206040518083038186803b1580156110aa57600080fd5b505afa1580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e29190614573565b86866040518463ffffffff1660e01b81526004016111019291906148ad565b6000604051808303818588803b15801561111a57600080fd5b505af115801561112e573d6000803e3d6000fd5b505050505060006111887f00000000000000000000000000000000000000000000000000000000000000008a8a600081811061116657fe5b905060200201602081019061117b91906144e4565b8b8b600181811061048557fe5b90506111e87f00000000000000000000000000000000000000000000000000000000000000008c8b8b8080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061347c92505050565b925089836001855103815181106111fb57fe5b602002602001015110156112215760405162461bcd60e51b815260040161027390614dcf565b6112628989600081811061123157fe5b905060200201602081019061124691906144e4565b33838660008151811061125557fe5b6020026020010151612e9d565b6112a1838a8a808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508c9250613745915050565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed45906112ef90889088906004016148ad565b60206040518083038186803b15801561130757600080fd5b505afa15801561131b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133f9190614573565b34111561139857611398337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d47eed4588886040518363ffffffff1660e01b81526004016107769291906148ad565b505098975050505050505050565b606083428110156113c95760405162461bcd60e51b8152600401610273906149fa565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168888600019810181811061140357fe5b905060200201602081019061141891906144e4565b6001600160a01b03161461143e5760405162461bcd60e51b815260040161027390614a9f565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed459061148c90879087906004016148ad565b60206040518083038186803b1580156114a457600080fd5b505afa1580156114b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114dc9190614573565b3410156114fb5760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef9e5e2890829063d47eed459061155190899089906004016148ad565b60206040518083038186803b15801561156957600080fd5b505afa15801561157d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a19190614573565b86866040518463ffffffff1660e01b81526004016115c09291906148ad565b6000604051808303818588803b1580156115d957600080fd5b505af11580156115ed573d6000803e3d6000fd5b505050505060006116257f00000000000000000000000000000000000000000000000000000000000000008a8a600081811061116657fe5b90506116857f00000000000000000000000000000000000000000000000000000000000000008c8b8b8080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061347c92505050565b9250898360018551038151811061169857fe5b602002602001015110156116be5760405162461bcd60e51b815260040161027390614dcf565b6116ce8989600081811061123157fe5b61170d838a8a80806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250613745915050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d8460018651038151811061174c57fe5b60200260200101516040518263ffffffff1660e01b81526004016117709190614e89565b600060405180830381600087803b15801561178a57600080fd5b505af115801561179e573d6000803e3d6000fd5b505050506112a187846001865103815181106117b657fe5b60200260200101516133ef565b606083428110156117e65760405162461bcd60e51b8152600401610273906149fa565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168888600081811061181d57fe5b905060200201602081019061183291906144e4565b6001600160a01b0316146118585760405162461bcd60e51b815260040161027390614a9f565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed45906118a690879087906004016148ad565b60206040518083038186803b1580156118be57600080fd5b505afa1580156118d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f69190614573565b3410156119155760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed459061196690889088906004016148ad565b60206040518083038186803b15801561197e57600080fd5b505afa158015611992573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b69190614573565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ef9e5e288287876040518463ffffffff1660e01b8152600401611a079291906148ad565b6000604051808303818588803b158015611a2057600080fd5b505af1158015611a34573d6000803e3d6000fd5b50505050506000611a8e7f00000000000000000000000000000000000000000000000000000000000000008b8b6000818110611a6c57fe5b9050602002016020810190611a8191906144e4565b8c8c600181811061048557fe5b9050611af07f00000000000000000000000000000000000000000000000000000000000000008334038c8c8080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061347c92505050565b93508a84600186510381518110611b0357fe5b60200260200101511015611b295760405162461bcd60e51b815260040161027390614dcf565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db085600081518110611b6557fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b158015611b9857600080fd5b505af1158015611bac573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb8286600081518110611bee57fe5b60200260200101516040518363ffffffff1660e01b8152600401611c13929190614894565b602060405180830381600087803b158015611c2d57600080fd5b505af1158015611c41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6591906144ff565b611c6b57fe5b611caa848b8b808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508d9250613745915050565b8184600081518110611cb857fe5b602002602001015101341115611cea57611cea3385600081518110611cd957fe5b6020026020010151843403036133ef565b505050979650505050505050565b60405163d47eed4560e01b81526060906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed4590611d4990869086906004016148ad565b60206040518083038186803b158015611d6157600080fd5b505afa158015611d75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d999190614573565b341015611db85760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef9e5e2890829063d47eed4590611e0e90889088906004016148ad565b60206040518083038186803b158015611e2657600080fd5b505afa158015611e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5e9190614573565b85856040518463ffffffff1660e01b8152600401611e7d9291906148ad565b6000604051808303818588803b158015611e9657600080fd5b505af1158015611eaa573d6000803e3d6000fd5b505060405163d47eed4560e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016935063d47eed459250611efd9150869086906004016148ad565b60206040518083038186803b158015611f1557600080fd5b505afa158015611f29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f4d9190614573565b341115611fa657611fa6337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d47eed4586866040518363ffffffff1660e01b81526004016107769291906148ad565b610f2e7f0000000000000000000000000000000000000000000000000000000000000000878787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506138f892505050565b606083428110156120275760405162461bcd60e51b8152600401610273906149fa565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168888600081811061205e57fe5b905060200201602081019061207391906144e4565b6001600160a01b0316146120995760405162461bcd60e51b815260040161027390614a9f565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed45906120e790879087906004016148ad565b60206040518083038186803b1580156120ff57600080fd5b505afa158015612113573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121379190614573565b3410156121565760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed45906121a790889088906004016148ad565b60206040518083038186803b1580156121bf57600080fd5b505afa1580156121d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f79190614573565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ef9e5e288287876040518463ffffffff1660e01b81526004016122489291906148ad565b6000604051808303818588803b15801561226157600080fd5b505af1158015612275573d6000803e3d6000fd5b505050505060006122ad7f00000000000000000000000000000000000000000000000000000000000000008b8b6000818110611a6c57fe5b905061230d7f00000000000000000000000000000000000000000000000000000000000000008c8c8c808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506138f892505050565b935034828560008151811061231e57fe5b6020026020010151011115611b295760405162461bcd60e51b815260040161027390614d72565b82428110156123665760405162461bcd60e51b8152600401610273906149fa565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168787600081811061239d57fe5b90506020020160208101906123b291906144e4565b6001600160a01b0316146123d85760405162461bcd60e51b815260040161027390614a9f565b60405163d47eed4560e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed459061242990879087906004016148ad565b60206040518083038186803b15801561244157600080fd5b505afa158015612455573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124799190614573565b90508034101561249b5760405162461bcd60e51b815260040161027390614cde565b6040517fef9e5e280000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef9e5e2890839061250490889088906004016148ad565b6000604051808303818588803b15801561251d57600080fd5b505af1158015612531573d6000803e3d6000fd5b5050505050600081340390507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561259857600080fd5b505af11580156125ac573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb6126337f00000000000000000000000000000000000000000000000000000000000000008c8c600081811061261157fe5b905060200201602081019061262691906144e4565b8d8d600181811061048557fe5b836040518363ffffffff1660e01b8152600401612651929190614894565b602060405180830381600087803b15801561266b57600080fd5b505af115801561267f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126a391906144ff565b6126a957fe5b6000898960001981018181106126bb57fe5b90506020020160208101906126d091906144e4565b6001600160a01b03166370a08231896040518263ffffffff1660e01b81526004016126fb919061485c565b60206040518083038186803b15801561271357600080fd5b505afa158015612727573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061274b9190614573565b905061278b8a8a808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508c9250612fa3915050565b8a6127e0828c8c60001981018181106127a057fe5b90506020020160208101906127b591906144e4565b6001600160a01b03166370a082318c6040518263ffffffff1660e01b8152600401610605919061485c565b10156127fe5760405162461bcd60e51b815260040161027390614dcf565b823411156107cd576107cd338434036133ef565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6060834281101561287d5760405162461bcd60e51b8152600401610273906149fa565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed45906128cb90879087906004016148ad565b60206040518083038186803b1580156128e357600080fd5b505afa1580156128f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061291b9190614573565b34101561293a5760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef9e5e2890829063d47eed459061299090899089906004016148ad565b60206040518083038186803b1580156129a857600080fd5b505afa1580156129bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e09190614573565b86866040518463ffffffff1660e01b81526004016129ff9291906148ad565b6000604051808303818588803b158015612a1857600080fd5b505af1158015612a2c573d6000803e3d6000fd5b50505050506000612a647f00000000000000000000000000000000000000000000000000000000000000008a8a600081811061116657fe5b9050612ac47f00000000000000000000000000000000000000000000000000000000000000008c8b8b808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506138f892505050565b92508983600081518110612ad457fe5b602002602001015111156112215760405162461bcd60e51b815260040161027390614d72565b60608342811015612b1d5760405162461bcd60e51b8152600401610273906149fa565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001688886000198101818110612b5757fe5b9050602002016020810190612b6c91906144e4565b6001600160a01b031614612b925760405162461bcd60e51b815260040161027390614a9f565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d47eed4590612be090879087906004016148ad565b60206040518083038186803b158015612bf857600080fd5b505afa158015612c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c309190614573565b341015612c4f5760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef9e5e2890829063d47eed4590612ca590899089906004016148ad565b60206040518083038186803b158015612cbd57600080fd5b505afa158015612cd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cf59190614573565b86866040518463ffffffff1660e01b8152600401612d149291906148ad565b6000604051808303818588803b158015612d2d57600080fd5b505af1158015612d41573d6000803e3d6000fd5b50505050506000612d797f00000000000000000000000000000000000000000000000000000000000000008a8a600081811061116657fe5b9050612dd97f00000000000000000000000000000000000000000000000000000000000000008c8b8b808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506138f892505050565b92508983600081518110612de957fe5b602002602001015111156116be5760405162461bcd60e51b815260040161027390614d72565b6000806000612e1e8585613be1565b91509150858282604051602001612e36929190614785565b60405160208183030381529060405280519060200120604051602001612e5d9291906147db565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905280516020909101209695505050505050565b60006060856001600160a01b03166323b872dd868686604051602401612ec593929190614870565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051612f1391906147bf565b6000604051808303816000865af19150503d8060008114612f50576040519150601f19603f3d011682016040523d82523d6000602084013e612f55565b606091505b5091509150818015612f7f575080511580612f7f575080806020019051810190612f7f91906144ff565b612f9b5760405162461bcd60e51b815260040161027390614b6a565b505050505050565b60005b60018351038110156133c157600080848381518110612fc157fe5b6020026020010151858460010181518110612fd857fe5b6020026020010151915091506000612ff08383613be1565b50905060006130207f00000000000000000000000000000000000000000000000000000000000000008585612e0f565b9050600080600080846001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561306157600080fd5b505afa158015613075573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613099919061451f565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff169150600080876001600160a01b03168a6001600160a01b0316146130e15782846130e4565b83835b91509150613118828b6001600160a01b03166370a082318a6040518263ffffffff1660e01b8152600401610605919061485c565b95506000886001600160a01b03168b6001600160a01b03161490506000886001600160a01b031663add1c8176040518163ffffffff1660e01b815260040160206040518083038186803b15801561316e57600080fd5b505afa158015613182573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131a69190614573565b90506132978885858c6001600160a01b0316636bba3f2f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156131e757600080fd5b505afa1580156131fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321f9190614573565b858e6001600160a01b031663ddca3f436040518163ffffffff1660e01b815260040160206040518083038186803b15801561325957600080fd5b505afa15801561326d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132919190614573565b88613c6b565b9650505050505050600080856001600160a01b0316886001600160a01b0316146132c3578260006132c7565b6000835b91509150600060028c51038a106132de578a61331f565b61331f7f0000000000000000000000000000000000000000000000000000000000000000898e8d6002018151811061331257fe5b6020026020010151612e0f565b604080516000815260208101918290527f022c0d9f000000000000000000000000000000000000000000000000000000009091529091506001600160a01b0387169063022c0d9f9061337a9086908690869060248101614e92565b600060405180830381600087803b15801561339457600080fd5b505af11580156133a8573d6000803e3d6000fd5b50506001909b019a50612fa69950505050505050505050565b505050565b808203828111156133e95760405162461bcd60e51b8152600401610273906149c3565b92915050565b604080516000808252602082019092526001600160a01b03841690839060405161341991906147bf565b60006040518083038185875af1925050503d8060008114613456576040519150601f19603f3d011682016040523d82523d6000602084013e61345b565b606091505b50509050806133c15760405162461bcd60e51b815260040161027390614bc7565b60606002825110156134a05760405162461bcd60e51b815260040161027390614d3b565b815167ffffffffffffffff811180156134b857600080fd5b506040519080825280602002602001820160405280156134e2578160200160208202803683370190505b50905082816000815181106134f357fe5b60200260200101818152505060005b600183510381101561373d576000806135458786858151811061352157fe5b602002602001015187866001018151811061353857fe5b6020026020010151613e8f565b9150915060006135728887868151811061355b57fe5b602002602001015188876001018151811061331257fe5b905060006135a987868151811061358557fe5b602002602001015188876001018151811061359c57fe5b6020026020010151613be1565b50905060008786815181106135ba57fe5b60200260200101516001600160a01b0316826001600160a01b03161490506000836001600160a01b031663add1c8176040518163ffffffff1660e01b815260040160206040518083038186803b15801561361357600080fd5b505afa158015613627573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061364b9190614573565b905061371188888151811061365c57fe5b60200260200101518787876001600160a01b0316636bba3f2f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561369f57600080fd5b505afa1580156136b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136d79190614573565b85896001600160a01b031663ddca3f436040518163ffffffff1660e01b815260040160206040518083038186803b15801561325957600080fd5b88886001018151811061372057fe5b602090810291909101015250506001909401935061350292505050565b509392505050565b60005b60018351038110156138f25760008084838151811061376357fe5b602002602001015185846001018151811061377a57fe5b60200260200101519150915060006137928383613be1565b50905060008785600101815181106137a657fe5b60200260200101519050600080836001600160a01b0316866001600160a01b0316146137d4578260006137d8565b6000835b91509150600060028a510388106137ef5788613823565b6138237f0000000000000000000000000000000000000000000000000000000000000000878c8b6002018151811061331257fe5b90506138507f00000000000000000000000000000000000000000000000000000000000000008888612e0f565b6001600160a01b031663022c0d9f84848460006040519080825280601f01601f19166020018201604052801561388d576020820181803683370190505b506040518563ffffffff1660e01b81526004016138ad9493929190614e92565b600060405180830381600087803b1580156138c757600080fd5b505af11580156138db573d6000803e3d6000fd5b505060019099019850613748975050505050505050565b50505050565b606060028251101561391c5760405162461bcd60e51b815260040161027390614d3b565b815167ffffffffffffffff8111801561393457600080fd5b5060405190808252806020026020018201604052801561395e578160200160208202803683370190505b509050828160018351038151811061397257fe5b60209081029190910101528151600019015b801561373d576000806139b4878660018603815181106139a057fe5b602002602001015187868151811061353857fe5b9150915060006139e1888760018703815181106139cd57fe5b602002602001015188878151811061331257fe5b90506000613a0b8760018703815181106139f757fe5b602002602001015188878151811061359c57fe5b5090506000876001870381518110613a1f57fe5b60200260200101516001600160a01b0316826001600160a01b03161490506000836001600160a01b031663add1c8176040518163ffffffff1660e01b815260040160206040518083038186803b158015613a7857600080fd5b505afa158015613a8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ab09190614573565b9050613bb4888881518110613ac157fe5b60200260200101518787876001600160a01b0316636bba3f2f6040518163ffffffff1660e01b815260040160206040518083038186803b158015613b0457600080fd5b505afa158015613b18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b3c9190614573565b85896001600160a01b031663ddca3f436040518163ffffffff1660e01b815260040160206040518083038186803b158015613b7657600080fd5b505afa158015613b8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bae9190614573565b88613f76565b886001890381518110613bc357fe5b60209081029190910101525050600019909401935061398492505050565b600080826001600160a01b0316846001600160a01b03161415613c165760405162461bcd60e51b815260040161027390614b0d565b826001600160a01b0316846001600160a01b031610613c36578284613c39565b83835b90925090506001600160a01b038216613c645760405162461bcd60e51b815260040161027390614a68565b9250929050565b6000808811613c8c5760405162461bcd60e51b815260040161027390614c81565b600087118015613c9c5750600086115b613cb85760405162461bcd60e51b815260040161027390614e2c565b613ccd600160801b600263ffffffff6140d816565b851415613d6d578115613d2757613cf986613ced868b600160801b61410f565b9063ffffffff61414a16565b613d1889613d0c878a600160801b61416d565b9063ffffffff6140d816565b81613d1f57fe5b049050613d55565b613d3a88613ced8689600160801b61410f565b613d4a898863ffffffff6140d816565b81613d5157fe5b0490505b613d6681846127100361271061416d565b9050613e84565b8115613def576000613d8a613d858a8989898861421c565b614343565b6fffffffffffffffffffffffffffffffff1690506000613db7826106558a613ced8a8f600160801b61416d565b90506000613dd488610655600160801b600263ffffffff6140d816565b9050613de582600160801b8361416d565b9350505050613e70565b6000613e01613d858a8989898861421c565b6fffffffffffffffffffffffffffffffff1690506000613e2e826106558c613ced8a8d600160801b61416d565b90506000613e5987613e4f8a610655600160801b600263ffffffff6140d816565b600160801b61416d565b9050613e6a82600160801b8361416d565b93505050505b613e8181846127100361271061416d565b90505b979650505050505050565b6000806000613e9e8585613be1565b509050600080613eaf888888612e0f565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015613ee757600080fd5b505afa158015613efb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f1f919061451f565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff169150826001600160a01b0316876001600160a01b031614613f64578082613f67565b81815b90999098509650505050505050565b6000808811613f975760405162461bcd60e51b815260040161027390614c24565b600087118015613fa75750600086115b613fc35760405162461bcd60e51b815260040161027390614e2c565b613fd488612710856127100361410f565b9750613fe786600963ffffffff6140d816565b613ff889600a63ffffffff6140d816565b106140155760405162461bcd60e51b815260040161027390614c24565b6000614031868a61402c8a8263ffffffff6133c616565b61410f565b9050600083156140855761406d61405783613ced600160801b600263ffffffff6140d816565b600160801b61402c89600263ffffffff6140d816565b905061407e8a82600160801b61410f565b92506140cb565b6140b7866140a284613ced600160801b600263ffffffff6140d816565b61402c600160801b600263ffffffff6140d816565b90506140c88a82600160801b61410f565b92505b5050979650505050505050565b60008115806140f3575050808202828282816140f057fe5b04145b6133e95760405162461bcd60e51b815260040161027390614a31565b600061411c84848461416d565b90506000828061412857fe5b848609111561414357600019811061413f57600080fd5b6001015b9392505050565b808201828110156133e95760405162461bcd60e51b815260040161027390614ad6565b60008080600019858709868602925082811090839003039050806141a3576000841161419857600080fd5b508290049050614143565b8084116141af57600080fd5b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b600080600083156142a25786614237868a600160801b61416d565b10156142755761425c61424f868a600160801b61416d565b889063ffffffff6133c616565b915061426e828063ffffffff6140d816565b915061429d565b61428887610655878b600160801b61416d565b915061429a828063ffffffff6140d816565b91505b6142ff565b876142b28689600160801b61416d565b10156142d7576142886142ca8689600160801b61416d565b899063ffffffff6133c616565b6142ea88610655878a600160801b61416d565b91506142fc828063ffffffff6140d816565b91505b6143256002613d0c614316898b600160801b61416d565b613d0c898d600160801b61416d565b9050614337828263ffffffff61414a16565b98975050505050505050565b60008161435257506000614486565b816001600160801b821061436b5760809190911c9060401b5b6801000000000000000082106143865760409190911c9060201b5b640100000000821061439d5760209190911c9060101b5b6201000082106143b25760109190911c9060081b5b61010082106143c65760089190911c9060041b5b601082106143d95760049190911c9060021b5b600482106143e55760011b5b60018185816143f057fe5b048201901c9050600181858161440257fe5b048201901c9050600181858161441457fe5b048201901c9050600181858161442657fe5b048201901c9050600181858161443857fe5b048201901c9050600181858161444a57fe5b048201901c9050600181858161445c57fe5b048201901c9050600081858161446e57fe5b04905080821061447e5780614480565b815b93505050505b919050565b80356001600160a01b03811681146133e957600080fd5b60008083601f8401126144b3578182fd5b50813567ffffffffffffffff8111156144ca578182fd5b6020830191508360208083028501011115613c6457600080fd5b6000602082840312156144f5578081fd5b614143838361448b565b600060208284031215614510578081fd5b81518015158114614143578182fd5b600080600060608486031215614533578182fd5b835161453e81614f2d565b602085015190935061454f81614f2d565b604085015190925063ffffffff81168114614568578182fd5b809150509250925092565b600060208284031215614584578081fd5b5051919050565b600080600080600080600060a0888a0312156145a5578283fd5b87359650602088013567ffffffffffffffff808211156145c3578485fd5b6145cf8b838c016144a2565b90985096506145e18b60408c0161448b565b955060608a0135945060808a01359150808211156145fd578384fd5b5061460a8a828b016144a2565b989b979a50959850939692959293505050565b600080600080600060608688031215614634578081fd5b85359450602086013567ffffffffffffffff80821115614652578283fd5b61465e89838a016144a2565b90965094506040880135915080821115614676578283fd5b50614683888289016144a2565b969995985093965092949392505050565b60008060008060008060008060c0898b0312156146af578081fd5b8835975060208901359650604089013567ffffffffffffffff808211156146d4578283fd5b6146e08c838d016144a2565b909850965060608b013591506001600160a01b0382168214614700578283fd5b90945060808a0135935060a08a0135908082111561471c578283fd5b506147298b828c016144a2565b999c989b5096995094979396929594505050565b600082845282826020860137806020848601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011685010190509392505050565b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606093841b811682529190921b16601482015260280190565b600082516147d1818460208701614f01565b9190910192915050565b7fff00000000000000000000000000000000000000000000000000000000000000815260609290921b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016600183015260158201527f330370b2bbf44605dd620805d2a2da4be4d6830689cdc295936cb2f1efb5e4af603582015260550190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b602080825281810183905260009060408482028401810190840186845b87811015614972577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc087850301835281357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18a360301811261492a578687fd5b890180359067ffffffffffffffff821115614943578788fd5b8136038b1315614951578788fd5b61495e868389840161473d565b9550505091840191908401906001016148ca565b5091979650505050505050565b6020808252825182820181905260009190848201906040850190845b818110156149b75783518352928401929184019160010161499b565b50909695505050505050565b60208082526015908201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604082015260600190565b60208082526018908201527f42726f776e46695631526f757465723a20455850495245440000000000000000604082015260600190565b60208082526014908201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604082015260600190565b6020808252601e908201527f42726f776e466956314c6962726172793a205a45524f5f414444524553530000604082015260600190565b6020808252601d908201527f42726f776e46695631526f757465723a20494e56414c49445f50415448000000604082015260600190565b60208082526014908201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604082015260600190565b60208082526025908201527f42726f776e466956314c6962726172793a204944454e544943414c5f4144445260408201527f4553534553000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526031908201527f5472616e7366657248656c7065723a3a7472616e7366657246726f6d3a20747260408201527f616e7366657246726f6d206661696c6564000000000000000000000000000000606082015260800190565b60208082526034908201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60408201527f20455448207472616e73666572206661696c6564000000000000000000000000606082015260800190565b6020808252602c908201527f42726f776e466956314c6962726172793a20494e53554646494349454e545f4f60408201527f55545055545f414d4f554e540000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f42726f776e466956314c6962726172793a20494e53554646494349454e545f4960408201527f4e5055545f414d4f554e54000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f42726f776e46695631526f757465723a20494e53554646494349454e545f555060408201527f444154455f464545000000000000000000000000000000000000000000000000606082015260800190565b6020808252601e908201527f42726f776e466956314c6962726172793a20494e56414c49445f504154480000604082015260600190565b60208082526027908201527f42726f776e46695631526f757465723a204558434553534956455f494e50555460408201527f5f414d4f554e5400000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f42726f776e46695631526f757465723a20494e53554646494349454e545f4f5560408201527f545055545f414d4f554e54000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f42726f776e466956314c6962726172793a20494e53554646494349454e545f4c60408201527f4951554944495459000000000000000000000000000000000000000000000000606082015260800190565b90815260200190565b60008582528460208301526001600160a01b0384166040830152608060608301528251806080840152614ecc8160a0850160208701614f01565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160a00195945050505050565b60005b83811015614f1c578181015183820152602001614f04565b838111156138f25750506000910152565b6dffffffffffffffffffffffffffff81168114614f4957600080fd5b5056fea26469706673582212207467f5593399748ede489d680c8bafc8f07d725ff4fed2736ccacdb01a7c9dd364736f6c63430006060033000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c00000000000000000000000069696969696969696969696969696969696969690000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43

Deployed Bytecode

0x6080604052600436106100e15760003560e01c80638e4a48831161007f578063ad5c464811610059578063ad5c464814610202578063c45a015514610217578063dcb3aba71461022c578063e2bf98d31461023f5761011a565b80638e4a4883146101c95780639bd5b470146101dc578063a6273ccd146101ef5761011a565b806367e406d5116100bb57806367e406d51461016e5780636a28e57c1461019057806376ddc43c146101a35780638168839e146101b65761011a565b806353f419a41461011f578063557ed29614610132578063673805b0146101455761011a565b3661011a57336001600160a01b037f0000000000000000000000006969696969696969696969696969696969696969161461011857fe5b005b600080fd5b61011861012d366004614694565b610252565b610118610140366004614694565b6107da565b61015861015336600461461d565b610c22565b604051610165919061497f565b60405180910390f35b34801561017a57600080fd5b50610183610f38565b604051610165919061485c565b61015861019e366004614694565b610f5c565b6101586101b1366004614694565b6113a6565b6101586101c436600461458b565b6117c3565b6101586101d736600461461d565b611cf8565b6101586101ea36600461458b565b612004565b6101186101fd36600461458b565b612345565b34801561020e57600080fd5b50610183612812565b34801561022357600080fd5b50610183612836565b61015861023a366004614694565b61285a565b61015861024d366004614694565b612afa565b824281101561027c5760405162461bcd60e51b8152600401610273906149fa565b60405180910390fd5b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed45906102ca90869086906004016148ad565b60206040518083038186803b1580156102e257600080fd5b505afa1580156102f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031a9190614573565b3410156103395760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063ef9e5e2890829063d47eed459061038f90889088906004016148ad565b60206040518083038186803b1580156103a757600080fd5b505afa1580156103bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103df9190614573565b85856040518463ffffffff1660e01b81526004016103fe9291906148ad565b6000604051808303818588803b15801561041757600080fd5b505af115801561042b573d6000803e3d6000fd5b5050505050600061049f7f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8989600081811061046357fe5b905060200201602081019061047891906144e4565b8a8a600181811061048557fe5b905060200201602081019061049a91906144e4565b612e0f565b90506104ce888860008181106104b157fe5b90506020020160208101906104c691906144e4565b33838d612e9d565b6000888860001981018181106104e057fe5b90506020020160208101906104f591906144e4565b6001600160a01b03166370a08231886040518263ffffffff1660e01b8152600401610520919061485c565b60206040518083038186803b15801561053857600080fd5b505afa15801561054c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105709190614573565b90506105b08989808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508b9250612fa3915050565b89610661828b8b60001981018181106105c557fe5b90506020020160208101906105da91906144e4565b6001600160a01b03166370a082318b6040518263ffffffff1660e01b8152600401610605919061485c565b60206040518083038186803b15801561061d57600080fd5b505afa158015610631573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106559190614573565b9063ffffffff6133c616565b101561067f5760405162461bcd60e51b815260040161027390614dcf565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed45906106cd90889088906004016148ad565b60206040518083038186803b1580156106e557600080fd5b505afa1580156106f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071d9190614573565b3411156107cd576107cd337f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b436001600160a01b031663d47eed4588886040518363ffffffff1660e01b81526004016107769291906148ad565b60206040518083038186803b15801561078e57600080fd5b505afa1580156107a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c69190614573565b34036133ef565b5050505050505050505050565b82428110156107fb5760405162461bcd60e51b8152600401610273906149fa565b6001600160a01b037f0000000000000000000000006969696969696969696969696969696969696969168787600019810181811061083557fe5b905060200201602081019061084a91906144e4565b6001600160a01b0316146108705760405162461bcd60e51b815260040161027390614a9f565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed45906108be90869086906004016148ad565b60206040518083038186803b1580156108d657600080fd5b505afa1580156108ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090e9190614573565b34101561092d5760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063ef9e5e2890829063d47eed459061098390889088906004016148ad565b60206040518083038186803b15801561099b57600080fd5b505afa1580156109af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d39190614573565b85856040518463ffffffff1660e01b81526004016109f29291906148ad565b6000604051808303818588803b158015610a0b57600080fd5b505af1158015610a1f573d6000803e3d6000fd5b50505050506000610a577f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8989600081811061046357fe5b9050610a69888860008181106104b157fe5b610aa7888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250612fa3915050565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526000906001600160a01b037f000000000000000000000000696969696969696969696969696969696969696916906370a0823190610b0f90309060040161485c565b60206040518083038186803b158015610b2757600080fd5b505afa158015610b3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5f9190614573565b905089811015610b815760405162461bcd60e51b815260040161027390614dcf565b6040517f2e1a7d4d0000000000000000000000000000000000000000000000000000000081526001600160a01b037f00000000000000000000000069696969696969696969696969696969696969691690632e1a7d4d90610be6908490600401614e89565b600060405180830381600087803b158015610c0057600080fd5b505af1158015610c14573d6000803e3d6000fd5b5050505061067f87826133ef565b60405163d47eed4560e01b81526060906001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed4590610c7390869086906004016148ad565b60206040518083038186803b158015610c8b57600080fd5b505afa158015610c9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc39190614573565b341015610ce25760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063ef9e5e2890829063d47eed4590610d3890889088906004016148ad565b60206040518083038186803b158015610d5057600080fd5b505afa158015610d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d889190614573565b85856040518463ffffffff1660e01b8152600401610da79291906148ad565b6000604051808303818588803b158015610dc057600080fd5b505af1158015610dd4573d6000803e3d6000fd5b505060405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b4316935063d47eed459250610e279150869086906004016148ad565b60206040518083038186803b158015610e3f57600080fd5b505afa158015610e53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e779190614573565b341115610ed057610ed0337f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b436001600160a01b031663d47eed4586866040518363ffffffff1660e01b81526004016107769291906148ad565b610f2e7f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8787878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061347c92505050565b9695505050505050565b7f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b4381565b60608342811015610f7f5760405162461bcd60e51b8152600401610273906149fa565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed4590610fcd90879087906004016148ad565b60206040518083038186803b158015610fe557600080fd5b505afa158015610ff9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101d9190614573565b34101561103c5760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063ef9e5e2890829063d47eed459061109290899089906004016148ad565b60206040518083038186803b1580156110aa57600080fd5b505afa1580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e29190614573565b86866040518463ffffffff1660e01b81526004016111019291906148ad565b6000604051808303818588803b15801561111a57600080fd5b505af115801561112e573d6000803e3d6000fd5b505050505060006111887f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8a8a600081811061116657fe5b905060200201602081019061117b91906144e4565b8b8b600181811061048557fe5b90506111e87f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8c8b8b8080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061347c92505050565b925089836001855103815181106111fb57fe5b602002602001015110156112215760405162461bcd60e51b815260040161027390614dcf565b6112628989600081811061123157fe5b905060200201602081019061124691906144e4565b33838660008151811061125557fe5b6020026020010151612e9d565b6112a1838a8a808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508c9250613745915050565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed45906112ef90889088906004016148ad565b60206040518083038186803b15801561130757600080fd5b505afa15801561131b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133f9190614573565b34111561139857611398337f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b436001600160a01b031663d47eed4588886040518363ffffffff1660e01b81526004016107769291906148ad565b505098975050505050505050565b606083428110156113c95760405162461bcd60e51b8152600401610273906149fa565b6001600160a01b037f0000000000000000000000006969696969696969696969696969696969696969168888600019810181811061140357fe5b905060200201602081019061141891906144e4565b6001600160a01b03161461143e5760405162461bcd60e51b815260040161027390614a9f565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed459061148c90879087906004016148ad565b60206040518083038186803b1580156114a457600080fd5b505afa1580156114b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114dc9190614573565b3410156114fb5760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063ef9e5e2890829063d47eed459061155190899089906004016148ad565b60206040518083038186803b15801561156957600080fd5b505afa15801561157d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a19190614573565b86866040518463ffffffff1660e01b81526004016115c09291906148ad565b6000604051808303818588803b1580156115d957600080fd5b505af11580156115ed573d6000803e3d6000fd5b505050505060006116257f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8a8a600081811061116657fe5b90506116857f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8c8b8b8080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061347c92505050565b9250898360018551038151811061169857fe5b602002602001015110156116be5760405162461bcd60e51b815260040161027390614dcf565b6116ce8989600081811061123157fe5b61170d838a8a80806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250613745915050565b7f00000000000000000000000069696969696969696969696969696969696969696001600160a01b0316632e1a7d4d8460018651038151811061174c57fe5b60200260200101516040518263ffffffff1660e01b81526004016117709190614e89565b600060405180830381600087803b15801561178a57600080fd5b505af115801561179e573d6000803e3d6000fd5b505050506112a187846001865103815181106117b657fe5b60200260200101516133ef565b606083428110156117e65760405162461bcd60e51b8152600401610273906149fa565b7f00000000000000000000000069696969696969696969696969696969696969696001600160a01b03168888600081811061181d57fe5b905060200201602081019061183291906144e4565b6001600160a01b0316146118585760405162461bcd60e51b815260040161027390614a9f565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed45906118a690879087906004016148ad565b60206040518083038186803b1580156118be57600080fd5b505afa1580156118d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f69190614573565b3410156119155760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526000906001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed459061196690889088906004016148ad565b60206040518083038186803b15801561197e57600080fd5b505afa158015611992573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b69190614573565b90507f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b436001600160a01b031663ef9e5e288287876040518463ffffffff1660e01b8152600401611a079291906148ad565b6000604051808303818588803b158015611a2057600080fd5b505af1158015611a34573d6000803e3d6000fd5b50505050506000611a8e7f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8b8b6000818110611a6c57fe5b9050602002016020810190611a8191906144e4565b8c8c600181811061048557fe5b9050611af07f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8334038c8c8080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061347c92505050565b93508a84600186510381518110611b0357fe5b60200260200101511015611b295760405162461bcd60e51b815260040161027390614dcf565b7f00000000000000000000000069696969696969696969696969696969696969696001600160a01b031663d0e30db085600081518110611b6557fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b158015611b9857600080fd5b505af1158015611bac573d6000803e3d6000fd5b50505050507f00000000000000000000000069696969696969696969696969696969696969696001600160a01b031663a9059cbb8286600081518110611bee57fe5b60200260200101516040518363ffffffff1660e01b8152600401611c13929190614894565b602060405180830381600087803b158015611c2d57600080fd5b505af1158015611c41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6591906144ff565b611c6b57fe5b611caa848b8b808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508d9250613745915050565b8184600081518110611cb857fe5b602002602001015101341115611cea57611cea3385600081518110611cd957fe5b6020026020010151843403036133ef565b505050979650505050505050565b60405163d47eed4560e01b81526060906001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed4590611d4990869086906004016148ad565b60206040518083038186803b158015611d6157600080fd5b505afa158015611d75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d999190614573565b341015611db85760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063ef9e5e2890829063d47eed4590611e0e90889088906004016148ad565b60206040518083038186803b158015611e2657600080fd5b505afa158015611e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5e9190614573565b85856040518463ffffffff1660e01b8152600401611e7d9291906148ad565b6000604051808303818588803b158015611e9657600080fd5b505af1158015611eaa573d6000803e3d6000fd5b505060405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b4316935063d47eed459250611efd9150869086906004016148ad565b60206040518083038186803b158015611f1557600080fd5b505afa158015611f29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f4d9190614573565b341115611fa657611fa6337f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b436001600160a01b031663d47eed4586866040518363ffffffff1660e01b81526004016107769291906148ad565b610f2e7f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c878787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506138f892505050565b606083428110156120275760405162461bcd60e51b8152600401610273906149fa565b7f00000000000000000000000069696969696969696969696969696969696969696001600160a01b03168888600081811061205e57fe5b905060200201602081019061207391906144e4565b6001600160a01b0316146120995760405162461bcd60e51b815260040161027390614a9f565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed45906120e790879087906004016148ad565b60206040518083038186803b1580156120ff57600080fd5b505afa158015612113573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121379190614573565b3410156121565760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526000906001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed45906121a790889088906004016148ad565b60206040518083038186803b1580156121bf57600080fd5b505afa1580156121d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f79190614573565b90507f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b436001600160a01b031663ef9e5e288287876040518463ffffffff1660e01b81526004016122489291906148ad565b6000604051808303818588803b15801561226157600080fd5b505af1158015612275573d6000803e3d6000fd5b505050505060006122ad7f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8b8b6000818110611a6c57fe5b905061230d7f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8c8c8c808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506138f892505050565b935034828560008151811061231e57fe5b6020026020010151011115611b295760405162461bcd60e51b815260040161027390614d72565b82428110156123665760405162461bcd60e51b8152600401610273906149fa565b7f00000000000000000000000069696969696969696969696969696969696969696001600160a01b03168787600081811061239d57fe5b90506020020160208101906123b291906144e4565b6001600160a01b0316146123d85760405162461bcd60e51b815260040161027390614a9f565b60405163d47eed4560e01b81526000906001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed459061242990879087906004016148ad565b60206040518083038186803b15801561244157600080fd5b505afa158015612455573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124799190614573565b90508034101561249b5760405162461bcd60e51b815260040161027390614cde565b6040517fef9e5e280000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063ef9e5e2890839061250490889088906004016148ad565b6000604051808303818588803b15801561251d57600080fd5b505af1158015612531573d6000803e3d6000fd5b5050505050600081340390507f00000000000000000000000069696969696969696969696969696969696969696001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561259857600080fd5b505af11580156125ac573d6000803e3d6000fd5b50505050507f00000000000000000000000069696969696969696969696969696969696969696001600160a01b031663a9059cbb6126337f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8c8c600081811061261157fe5b905060200201602081019061262691906144e4565b8d8d600181811061048557fe5b836040518363ffffffff1660e01b8152600401612651929190614894565b602060405180830381600087803b15801561266b57600080fd5b505af115801561267f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126a391906144ff565b6126a957fe5b6000898960001981018181106126bb57fe5b90506020020160208101906126d091906144e4565b6001600160a01b03166370a08231896040518263ffffffff1660e01b81526004016126fb919061485c565b60206040518083038186803b15801561271357600080fd5b505afa158015612727573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061274b9190614573565b905061278b8a8a808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508c9250612fa3915050565b8a6127e0828c8c60001981018181106127a057fe5b90506020020160208101906127b591906144e4565b6001600160a01b03166370a082318c6040518263ffffffff1660e01b8152600401610605919061485c565b10156127fe5760405162461bcd60e51b815260040161027390614dcf565b823411156107cd576107cd338434036133ef565b7f000000000000000000000000696969696969696969696969696969696969696981565b7f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c81565b6060834281101561287d5760405162461bcd60e51b8152600401610273906149fa565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed45906128cb90879087906004016148ad565b60206040518083038186803b1580156128e357600080fd5b505afa1580156128f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061291b9190614573565b34101561293a5760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063ef9e5e2890829063d47eed459061299090899089906004016148ad565b60206040518083038186803b1580156129a857600080fd5b505afa1580156129bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e09190614573565b86866040518463ffffffff1660e01b81526004016129ff9291906148ad565b6000604051808303818588803b158015612a1857600080fd5b505af1158015612a2c573d6000803e3d6000fd5b50505050506000612a647f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8a8a600081811061116657fe5b9050612ac47f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8c8b8b808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506138f892505050565b92508983600081518110612ad457fe5b602002602001015111156112215760405162461bcd60e51b815260040161027390614d72565b60608342811015612b1d5760405162461bcd60e51b8152600401610273906149fa565b6001600160a01b037f00000000000000000000000069696969696969696969696969696969696969691688886000198101818110612b5757fe5b9050602002016020810190612b6c91906144e4565b6001600160a01b031614612b925760405162461bcd60e51b815260040161027390614a9f565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063d47eed4590612be090879087906004016148ad565b60206040518083038186803b158015612bf857600080fd5b505afa158015612c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c309190614573565b341015612c4f5760405162461bcd60e51b815260040161027390614cde565b60405163d47eed4560e01b81526001600160a01b037f0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43169063ef9e5e2890829063d47eed4590612ca590899089906004016148ad565b60206040518083038186803b158015612cbd57600080fd5b505afa158015612cd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cf59190614573565b86866040518463ffffffff1660e01b8152600401612d149291906148ad565b6000604051808303818588803b158015612d2d57600080fd5b505af1158015612d41573d6000803e3d6000fd5b50505050506000612d797f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8a8a600081811061116657fe5b9050612dd97f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8c8b8b808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506138f892505050565b92508983600081518110612de957fe5b602002602001015111156116be5760405162461bcd60e51b815260040161027390614d72565b6000806000612e1e8585613be1565b91509150858282604051602001612e36929190614785565b60405160208183030381529060405280519060200120604051602001612e5d9291906147db565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905280516020909101209695505050505050565b60006060856001600160a01b03166323b872dd868686604051602401612ec593929190614870565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051612f1391906147bf565b6000604051808303816000865af19150503d8060008114612f50576040519150601f19603f3d011682016040523d82523d6000602084013e612f55565b606091505b5091509150818015612f7f575080511580612f7f575080806020019051810190612f7f91906144ff565b612f9b5760405162461bcd60e51b815260040161027390614b6a565b505050505050565b60005b60018351038110156133c157600080848381518110612fc157fe5b6020026020010151858460010181518110612fd857fe5b6020026020010151915091506000612ff08383613be1565b50905060006130207f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8585612e0f565b9050600080600080846001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561306157600080fd5b505afa158015613075573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613099919061451f565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff169150600080876001600160a01b03168a6001600160a01b0316146130e15782846130e4565b83835b91509150613118828b6001600160a01b03166370a082318a6040518263ffffffff1660e01b8152600401610605919061485c565b95506000886001600160a01b03168b6001600160a01b03161490506000886001600160a01b031663add1c8176040518163ffffffff1660e01b815260040160206040518083038186803b15801561316e57600080fd5b505afa158015613182573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131a69190614573565b90506132978885858c6001600160a01b0316636bba3f2f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156131e757600080fd5b505afa1580156131fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321f9190614573565b858e6001600160a01b031663ddca3f436040518163ffffffff1660e01b815260040160206040518083038186803b15801561325957600080fd5b505afa15801561326d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132919190614573565b88613c6b565b9650505050505050600080856001600160a01b0316886001600160a01b0316146132c3578260006132c7565b6000835b91509150600060028c51038a106132de578a61331f565b61331f7f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c898e8d6002018151811061331257fe5b6020026020010151612e0f565b604080516000815260208101918290527f022c0d9f000000000000000000000000000000000000000000000000000000009091529091506001600160a01b0387169063022c0d9f9061337a9086908690869060248101614e92565b600060405180830381600087803b15801561339457600080fd5b505af11580156133a8573d6000803e3d6000fd5b50506001909b019a50612fa69950505050505050505050565b505050565b808203828111156133e95760405162461bcd60e51b8152600401610273906149c3565b92915050565b604080516000808252602082019092526001600160a01b03841690839060405161341991906147bf565b60006040518083038185875af1925050503d8060008114613456576040519150601f19603f3d011682016040523d82523d6000602084013e61345b565b606091505b50509050806133c15760405162461bcd60e51b815260040161027390614bc7565b60606002825110156134a05760405162461bcd60e51b815260040161027390614d3b565b815167ffffffffffffffff811180156134b857600080fd5b506040519080825280602002602001820160405280156134e2578160200160208202803683370190505b50905082816000815181106134f357fe5b60200260200101818152505060005b600183510381101561373d576000806135458786858151811061352157fe5b602002602001015187866001018151811061353857fe5b6020026020010151613e8f565b9150915060006135728887868151811061355b57fe5b602002602001015188876001018151811061331257fe5b905060006135a987868151811061358557fe5b602002602001015188876001018151811061359c57fe5b6020026020010151613be1565b50905060008786815181106135ba57fe5b60200260200101516001600160a01b0316826001600160a01b03161490506000836001600160a01b031663add1c8176040518163ffffffff1660e01b815260040160206040518083038186803b15801561361357600080fd5b505afa158015613627573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061364b9190614573565b905061371188888151811061365c57fe5b60200260200101518787876001600160a01b0316636bba3f2f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561369f57600080fd5b505afa1580156136b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136d79190614573565b85896001600160a01b031663ddca3f436040518163ffffffff1660e01b815260040160206040518083038186803b15801561325957600080fd5b88886001018151811061372057fe5b602090810291909101015250506001909401935061350292505050565b509392505050565b60005b60018351038110156138f25760008084838151811061376357fe5b602002602001015185846001018151811061377a57fe5b60200260200101519150915060006137928383613be1565b50905060008785600101815181106137a657fe5b60200260200101519050600080836001600160a01b0316866001600160a01b0316146137d4578260006137d8565b6000835b91509150600060028a510388106137ef5788613823565b6138237f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c878c8b6002018151811061331257fe5b90506138507f000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c8888612e0f565b6001600160a01b031663022c0d9f84848460006040519080825280601f01601f19166020018201604052801561388d576020820181803683370190505b506040518563ffffffff1660e01b81526004016138ad9493929190614e92565b600060405180830381600087803b1580156138c757600080fd5b505af11580156138db573d6000803e3d6000fd5b505060019099019850613748975050505050505050565b50505050565b606060028251101561391c5760405162461bcd60e51b815260040161027390614d3b565b815167ffffffffffffffff8111801561393457600080fd5b5060405190808252806020026020018201604052801561395e578160200160208202803683370190505b509050828160018351038151811061397257fe5b60209081029190910101528151600019015b801561373d576000806139b4878660018603815181106139a057fe5b602002602001015187868151811061353857fe5b9150915060006139e1888760018703815181106139cd57fe5b602002602001015188878151811061331257fe5b90506000613a0b8760018703815181106139f757fe5b602002602001015188878151811061359c57fe5b5090506000876001870381518110613a1f57fe5b60200260200101516001600160a01b0316826001600160a01b03161490506000836001600160a01b031663add1c8176040518163ffffffff1660e01b815260040160206040518083038186803b158015613a7857600080fd5b505afa158015613a8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ab09190614573565b9050613bb4888881518110613ac157fe5b60200260200101518787876001600160a01b0316636bba3f2f6040518163ffffffff1660e01b815260040160206040518083038186803b158015613b0457600080fd5b505afa158015613b18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b3c9190614573565b85896001600160a01b031663ddca3f436040518163ffffffff1660e01b815260040160206040518083038186803b158015613b7657600080fd5b505afa158015613b8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bae9190614573565b88613f76565b886001890381518110613bc357fe5b60209081029190910101525050600019909401935061398492505050565b600080826001600160a01b0316846001600160a01b03161415613c165760405162461bcd60e51b815260040161027390614b0d565b826001600160a01b0316846001600160a01b031610613c36578284613c39565b83835b90925090506001600160a01b038216613c645760405162461bcd60e51b815260040161027390614a68565b9250929050565b6000808811613c8c5760405162461bcd60e51b815260040161027390614c81565b600087118015613c9c5750600086115b613cb85760405162461bcd60e51b815260040161027390614e2c565b613ccd600160801b600263ffffffff6140d816565b851415613d6d578115613d2757613cf986613ced868b600160801b61410f565b9063ffffffff61414a16565b613d1889613d0c878a600160801b61416d565b9063ffffffff6140d816565b81613d1f57fe5b049050613d55565b613d3a88613ced8689600160801b61410f565b613d4a898863ffffffff6140d816565b81613d5157fe5b0490505b613d6681846127100361271061416d565b9050613e84565b8115613def576000613d8a613d858a8989898861421c565b614343565b6fffffffffffffffffffffffffffffffff1690506000613db7826106558a613ced8a8f600160801b61416d565b90506000613dd488610655600160801b600263ffffffff6140d816565b9050613de582600160801b8361416d565b9350505050613e70565b6000613e01613d858a8989898861421c565b6fffffffffffffffffffffffffffffffff1690506000613e2e826106558c613ced8a8d600160801b61416d565b90506000613e5987613e4f8a610655600160801b600263ffffffff6140d816565b600160801b61416d565b9050613e6a82600160801b8361416d565b93505050505b613e8181846127100361271061416d565b90505b979650505050505050565b6000806000613e9e8585613be1565b509050600080613eaf888888612e0f565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015613ee757600080fd5b505afa158015613efb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f1f919061451f565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff169150826001600160a01b0316876001600160a01b031614613f64578082613f67565b81815b90999098509650505050505050565b6000808811613f975760405162461bcd60e51b815260040161027390614c24565b600087118015613fa75750600086115b613fc35760405162461bcd60e51b815260040161027390614e2c565b613fd488612710856127100361410f565b9750613fe786600963ffffffff6140d816565b613ff889600a63ffffffff6140d816565b106140155760405162461bcd60e51b815260040161027390614c24565b6000614031868a61402c8a8263ffffffff6133c616565b61410f565b9050600083156140855761406d61405783613ced600160801b600263ffffffff6140d816565b600160801b61402c89600263ffffffff6140d816565b905061407e8a82600160801b61410f565b92506140cb565b6140b7866140a284613ced600160801b600263ffffffff6140d816565b61402c600160801b600263ffffffff6140d816565b90506140c88a82600160801b61410f565b92505b5050979650505050505050565b60008115806140f3575050808202828282816140f057fe5b04145b6133e95760405162461bcd60e51b815260040161027390614a31565b600061411c84848461416d565b90506000828061412857fe5b848609111561414357600019811061413f57600080fd5b6001015b9392505050565b808201828110156133e95760405162461bcd60e51b815260040161027390614ad6565b60008080600019858709868602925082811090839003039050806141a3576000841161419857600080fd5b508290049050614143565b8084116141af57600080fd5b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b600080600083156142a25786614237868a600160801b61416d565b10156142755761425c61424f868a600160801b61416d565b889063ffffffff6133c616565b915061426e828063ffffffff6140d816565b915061429d565b61428887610655878b600160801b61416d565b915061429a828063ffffffff6140d816565b91505b6142ff565b876142b28689600160801b61416d565b10156142d7576142886142ca8689600160801b61416d565b899063ffffffff6133c616565b6142ea88610655878a600160801b61416d565b91506142fc828063ffffffff6140d816565b91505b6143256002613d0c614316898b600160801b61416d565b613d0c898d600160801b61416d565b9050614337828263ffffffff61414a16565b98975050505050505050565b60008161435257506000614486565b816001600160801b821061436b5760809190911c9060401b5b6801000000000000000082106143865760409190911c9060201b5b640100000000821061439d5760209190911c9060101b5b6201000082106143b25760109190911c9060081b5b61010082106143c65760089190911c9060041b5b601082106143d95760049190911c9060021b5b600482106143e55760011b5b60018185816143f057fe5b048201901c9050600181858161440257fe5b048201901c9050600181858161441457fe5b048201901c9050600181858161442657fe5b048201901c9050600181858161443857fe5b048201901c9050600181858161444a57fe5b048201901c9050600181858161445c57fe5b048201901c9050600081858161446e57fe5b04905080821061447e5780614480565b815b93505050505b919050565b80356001600160a01b03811681146133e957600080fd5b60008083601f8401126144b3578182fd5b50813567ffffffffffffffff8111156144ca578182fd5b6020830191508360208083028501011115613c6457600080fd5b6000602082840312156144f5578081fd5b614143838361448b565b600060208284031215614510578081fd5b81518015158114614143578182fd5b600080600060608486031215614533578182fd5b835161453e81614f2d565b602085015190935061454f81614f2d565b604085015190925063ffffffff81168114614568578182fd5b809150509250925092565b600060208284031215614584578081fd5b5051919050565b600080600080600080600060a0888a0312156145a5578283fd5b87359650602088013567ffffffffffffffff808211156145c3578485fd5b6145cf8b838c016144a2565b90985096506145e18b60408c0161448b565b955060608a0135945060808a01359150808211156145fd578384fd5b5061460a8a828b016144a2565b989b979a50959850939692959293505050565b600080600080600060608688031215614634578081fd5b85359450602086013567ffffffffffffffff80821115614652578283fd5b61465e89838a016144a2565b90965094506040880135915080821115614676578283fd5b50614683888289016144a2565b969995985093965092949392505050565b60008060008060008060008060c0898b0312156146af578081fd5b8835975060208901359650604089013567ffffffffffffffff808211156146d4578283fd5b6146e08c838d016144a2565b909850965060608b013591506001600160a01b0382168214614700578283fd5b90945060808a0135935060a08a0135908082111561471c578283fd5b506147298b828c016144a2565b999c989b5096995094979396929594505050565b600082845282826020860137806020848601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011685010190509392505050565b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606093841b811682529190921b16601482015260280190565b600082516147d1818460208701614f01565b9190910192915050565b7fff00000000000000000000000000000000000000000000000000000000000000815260609290921b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016600183015260158201527f330370b2bbf44605dd620805d2a2da4be4d6830689cdc295936cb2f1efb5e4af603582015260550190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b602080825281810183905260009060408482028401810190840186845b87811015614972577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc087850301835281357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18a360301811261492a578687fd5b890180359067ffffffffffffffff821115614943578788fd5b8136038b1315614951578788fd5b61495e868389840161473d565b9550505091840191908401906001016148ca565b5091979650505050505050565b6020808252825182820181905260009190848201906040850190845b818110156149b75783518352928401929184019160010161499b565b50909695505050505050565b60208082526015908201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604082015260600190565b60208082526018908201527f42726f776e46695631526f757465723a20455850495245440000000000000000604082015260600190565b60208082526014908201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604082015260600190565b6020808252601e908201527f42726f776e466956314c6962726172793a205a45524f5f414444524553530000604082015260600190565b6020808252601d908201527f42726f776e46695631526f757465723a20494e56414c49445f50415448000000604082015260600190565b60208082526014908201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604082015260600190565b60208082526025908201527f42726f776e466956314c6962726172793a204944454e544943414c5f4144445260408201527f4553534553000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526031908201527f5472616e7366657248656c7065723a3a7472616e7366657246726f6d3a20747260408201527f616e7366657246726f6d206661696c6564000000000000000000000000000000606082015260800190565b60208082526034908201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60408201527f20455448207472616e73666572206661696c6564000000000000000000000000606082015260800190565b6020808252602c908201527f42726f776e466956314c6962726172793a20494e53554646494349454e545f4f60408201527f55545055545f414d4f554e540000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f42726f776e466956314c6962726172793a20494e53554646494349454e545f4960408201527f4e5055545f414d4f554e54000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f42726f776e46695631526f757465723a20494e53554646494349454e545f555060408201527f444154455f464545000000000000000000000000000000000000000000000000606082015260800190565b6020808252601e908201527f42726f776e466956314c6962726172793a20494e56414c49445f504154480000604082015260600190565b60208082526027908201527f42726f776e46695631526f757465723a204558434553534956455f494e50555460408201527f5f414d4f554e5400000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f42726f776e46695631526f757465723a20494e53554646494349454e545f4f5560408201527f545055545f414d4f554e54000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f42726f776e466956314c6962726172793a20494e53554646494349454e545f4c60408201527f4951554944495459000000000000000000000000000000000000000000000000606082015260800190565b90815260200190565b60008582528460208301526001600160a01b0384166040830152608060608301528251806080840152614ecc8160a0850160208701614f01565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160a00195945050505050565b60005b83811015614f1c578181015183820152602001614f04565b838111156138f25750506000910152565b6dffffffffffffffffffffffffffff81168114614f4957600080fd5b5056fea26469706673582212207467f5593399748ede489d680c8bafc8f07d725ff4fed2736ccacdb01a7c9dd364736f6c63430006060033

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

000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c00000000000000000000000069696969696969696969696969696969696969690000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43

-----Decoded View---------------
Arg [0] : _factory (address): 0xb077EA75Bf218bf028AcEEBe61AEA4c4Ad85f62c
Arg [1] : _WETH (address): 0x6969696969696969696969696969696969696969
Arg [2] : _PYTH (address): 0x2880aB155794e7179c9eE2e38200202908C17B43

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000b077ea75bf218bf028aceebe61aea4c4ad85f62c
Arg [1] : 0000000000000000000000006969696969696969696969696969696969696969
Arg [2] : 0000000000000000000000002880ab155794e7179c9ee2e38200202908c17b43


Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

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

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