Contract 0x6d973e33af0801af13b7939956745c72bb17aa1e 13

 

Contract Overview

Balance:
0 ETH

ETH Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6779f87dc797871ea50f5512bad22f1ddfedabd051627c078f0ecda0c170f791Beef In ETH1552727112023-11-29 15:45:53180 days 1 hr ago0x950715e07c451a7da34c9906b9ffce616c6b7372 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0.002 ETH0.00023154 0.1
0xd99a0245ddb36582632a5b40005bd0d8d1218f538ee167f9c4e4ec84e905caafBeef Out And Swa...1546899612023-11-27 19:48:08181 days 21 hrs ago0xb0c7e6d9439ee35914c387a84f406401515f2387 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.00016394 0.1
0xf4e2985763e4d75af88a782a5bf7b30214453870cf48d32b3860cdde7e6a70e7Beef Out And Swa...1545535952023-11-27 9:48:35182 days 7 hrs ago0xdfc30c075019bb671d60d84242d814f3cdf8d76e IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.00011713 0.1
0x3bdb6719911f40bfa2bbeb26f86a45849d68dc9594cec865ddfd3b3fda3ffb40Beef In ETH1543356522023-11-26 17:07:44183 days 21 mins ago0x148700c532c261269fa0320cc23e4cc7c99deec6 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0.228 ETH0.00017589 0.1
0xd00629a69fd2232306831c7362b51b0c673ece10fe4f9bad5031fbe6c414d134Beef In1541669242023-11-26 5:13:55183 days 12 hrs ago0x7a16e350ab5929a40cd9a6f51957d5a45a6e361b IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.00014178 0.1
0xd2f71a2a120c108c99a783fd8b5ac1c79dbfa28d29a12bcf6c56229d5e966ca2Beef Out And Swa...1541589652023-11-26 4:40:47183 days 12 hrs ago0x148700c532c261269fa0320cc23e4cc7c99deec6 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.00009751 0.1
0x5ce3026e199607e029e7db3535dbfc063294b158b31a68ae708ae65647e00e71Beef Out1540610972023-11-25 21:47:20183 days 19 hrs ago0xc6807ba1d89e6a0ba7e3c4b07bf763d9a9dcdf75 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.00009189 0.1
0xa1250c16c07dc160a720da46f377e333b031cc7a91985e19da48a7573a2c9e44Beef Out1534923592023-11-24 4:42:47185 days 12 hrs ago0xc0e87e4456b2bad17e7cabe29b3b901479869c4e IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.00008116 0.1
0xd50ceef32630aebda9f3bd4ca58bc6c52e58b02c814732b702da4fb1e6539e2cBeef In ETH1534847272023-11-24 4:08:19185 days 13 hrs ago0xc0e87e4456b2bad17e7cabe29b3b901479869c4e IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0.0097 ETH0.00012863 0.1
0xd09e05c4ce231d6b422702e41e21adbcaf15f94a08bb7ce7bf5773c6928e0926Beef Out1524190252023-11-20 22:47:33188 days 18 hrs ago0x5afdd71ec312eda36663f72032f269bd9c950cb4 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.00011699 0.1
0x8d52c18336faeee7afce3b69c11633282be3422dfea2ff6d584953c34266ab6fBeef Out1523967192023-11-20 21:05:46188 days 20 hrs ago0xe4249e9fdacf3809e742bd3ba20ed46035b1eb41 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.0001149 0.1
0x93c12ba7bd08fcac4f4dd445ca536be9ad1e246e4d527f1e51094e3275838a7aBeef Out1523912972023-11-20 20:42:06188 days 20 hrs ago0xe4249e9fdacf3809e742bd3ba20ed46035b1eb41 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.00011231 0.1
0x20be2b66b303907988da81d5c62508408e85af148cc362c3c7eef0ce0082ca87Beef Out And Swa...1523349322023-11-20 16:36:34189 days 52 mins ago0x121eaa3d540d87a878f7f4268e988127ee292e27 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.00019832 0.1
0x31623c1bbe6e8b276fd8bc025b6c8684be5b49ff1b9678412183f01a1897c78eBeef Out And Swa...1522636792023-11-20 11:29:28189 days 5 hrs ago0x2d426259d10353f9c87926cbf6b09f0f886d51b1 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.00009802 0.1
0x9a2634cf9c5cc2a22a6f29481fe1c51fd7256ed86d6eb52ac8688283bb878745Beef In ETH1517487792023-11-18 20:00:51190 days 21 hrs ago0x85b7f510d5e63f3482b10ac41dcf16cf1646e28d IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0.003 ETH0.00013148 0.1
0xf2317d443203883a79ade072add1859552dce340244cb6d3003ca75e03335963Beef Out1512169342023-11-17 5:27:44192 days 12 hrs ago0x656e1a01055566ad6a06830add7a0f5ef7dd2512 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.00007302 0.1
0x8e4a780fd15aa6acb0bf166bb457782d7503cb1effbc7cc7cf09523c93503b71Beef Out And Swa...1510859842023-11-16 19:49:33192 days 21 hrs ago0x5523999f35bb37655d877d20dd7f6d89013afa99 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.000192420.1
0x95e4a4c5662430c2af7492603ece6bd4ef48a6c5a2f4de5aa04b14569b524b8fBeef In ETH1510610682023-11-16 18:00:58192 days 23 hrs ago0xf11a86be8b012c7c3504a57cb03f0c1a0e91b8aa IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0.50094968532087 ETH0.000170720.1
0x699e2bbadaa773411744aeb2a884b6419f6b5653228c6f7944ad9e453adc6fc9Beef Out1510406422023-11-16 16:28:46193 days 1 hr ago0xd8013d4d3610357cb36ea3a15a0d042b8d8c1c74 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.000165960.1
0x872253d2538cc37bf68a031a23d2a892581829851a6ff5fe17b08c29b183784aBeef Out And Swa...1507135712023-11-15 16:42:21194 days 47 mins ago0x784a3e770e6e362772f392876217929a43166eb8 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.00018140.1
0xd70f038040f059f596528bf631fde12832f32058e24c4f88bc5add602a7ba92cBeef Out1506015022023-11-15 8:47:16194 days 8 hrs ago0xdb995c1264821e0fe5230ae86db05a6592478723 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.000102380.1
0x2174ec6e5bd14212f13e8cf2177b7e586ad91c4b3f240fdfde6bb14fb510d80fBeef Out1504985072023-11-15 1:21:19194 days 16 hrs ago0xe45b0c5d1c5f2673d5ca8ddbc5c5cc8a1830f101 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.00009569 0.1
0x0f829705fca9f852423b754d1f5ae3d61252d79ad5513acaee19dd3f0404598fBeef Out1501037692023-11-13 20:17:42195 days 21 hrs ago0xad8dfa291ce1719e505ae9d46bd89052ab8007d4 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.0001202 0.1
0x79e12210c3c042bb078571de4450a3e4c4ac06b9f284dc05a78e4399d54dceb1Beef Out1498404902023-11-13 0:40:01196 days 16 hrs ago0xa9f609bae571f98642268ddf2ecf3742e2e6d224 IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.00011226 0.1
0x00787eba8340bfa55d1d4c6aa951a8d3c8c93fdd0490ce72dcafc841c6a8d2a4Beef Out1494030952023-11-11 15:36:03198 days 1 hr ago0x96ef564dea7e95fd5dfb7fc1509ca9b9bd55334f IN  0x6d973e33af0801af13b7939956745c72bb17aa1e0 ETH0.000113670.1
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x6779f87dc797871ea50f5512bad22f1ddfedabd051627c078f0ecda0c170f7911552727112023-11-29 15:45:53180 days 1 hr ago 0x6d973e33af0801af13b7939956745c72bb17aa1e0x950715e07c451a7da34c9906b9ffce616c6b73720.000000002227618948 ETH
0x6779f87dc797871ea50f5512bad22f1ddfedabd051627c078f0ecda0c170f7911552727112023-11-29 15:45:53180 days 1 hr ago Wrapped Ether 0x6d973e33af0801af13b7939956745c72bb17aa1e0.000000002227618948 ETH
0x6779f87dc797871ea50f5512bad22f1ddfedabd051627c078f0ecda0c170f7911552727112023-11-29 15:45:53180 days 1 hr ago 0x6d973e33af0801af13b7939956745c72bb17aa1e Wrapped Ether0.002 ETH
0xd99a0245ddb36582632a5b40005bd0d8d1218f538ee167f9c4e4ec84e905caaf1546899612023-11-27 19:48:08181 days 21 hrs ago 0x6d973e33af0801af13b7939956745c72bb17aa1e0xb0c7e6d9439ee35914c387a84f406401515f23870.42787998042465262 ETH
0xd99a0245ddb36582632a5b40005bd0d8d1218f538ee167f9c4e4ec84e905caaf1546899612023-11-27 19:48:08181 days 21 hrs ago Wrapped Ether 0x6d973e33af0801af13b7939956745c72bb17aa1e0.42787998042465262 ETH
0xf4e2985763e4d75af88a782a5bf7b30214453870cf48d32b3860cdde7e6a70e71545535952023-11-27 9:48:35182 days 7 hrs ago 0x6d973e33af0801af13b7939956745c72bb17aa1e0xdfc30c075019bb671d60d84242d814f3cdf8d76e0.314010091425892696 ETH
0xf4e2985763e4d75af88a782a5bf7b30214453870cf48d32b3860cdde7e6a70e71545535952023-11-27 9:48:35182 days 7 hrs ago Wrapped Ether 0x6d973e33af0801af13b7939956745c72bb17aa1e0.314010091425892696 ETH
0x3bdb6719911f40bfa2bbeb26f86a45849d68dc9594cec865ddfd3b3fda3ffb401543356522023-11-26 17:07:44183 days 21 mins ago 0x6d973e33af0801af13b7939956745c72bb17aa1e0x148700c532c261269fa0320cc23e4cc7c99deec60.000000244003465465 ETH
0x3bdb6719911f40bfa2bbeb26f86a45849d68dc9594cec865ddfd3b3fda3ffb401543356522023-11-26 17:07:44183 days 21 mins ago Wrapped Ether 0x6d973e33af0801af13b7939956745c72bb17aa1e0.000000244003465465 ETH
0x3bdb6719911f40bfa2bbeb26f86a45849d68dc9594cec865ddfd3b3fda3ffb401543356522023-11-26 17:07:44183 days 21 mins ago 0x6d973e33af0801af13b7939956745c72bb17aa1e Wrapped Ether0.228 ETH
0xd2f71a2a120c108c99a783fd8b5ac1c79dbfa28d29a12bcf6c56229d5e966ca21541589652023-11-26 4:40:47183 days 12 hrs ago 0x6d973e33af0801af13b7939956745c72bb17aa1e0x148700c532c261269fa0320cc23e4cc7c99deec60.22717878415069479 ETH
0xd2f71a2a120c108c99a783fd8b5ac1c79dbfa28d29a12bcf6c56229d5e966ca21541589652023-11-26 4:40:47183 days 12 hrs ago Wrapped Ether 0x6d973e33af0801af13b7939956745c72bb17aa1e0.22717878415069479 ETH
0x5ce3026e199607e029e7db3535dbfc063294b158b31a68ae708ae65647e00e711540610972023-11-25 21:47:20183 days 19 hrs ago 0x6d973e33af0801af13b7939956745c72bb17aa1e0xc6807ba1d89e6a0ba7e3c4b07bf763d9a9dcdf750.105621615422511182 ETH
0x5ce3026e199607e029e7db3535dbfc063294b158b31a68ae708ae65647e00e711540610972023-11-25 21:47:20183 days 19 hrs ago Wrapped Ether 0x6d973e33af0801af13b7939956745c72bb17aa1e0.105621615422511182 ETH
0xa1250c16c07dc160a720da46f377e333b031cc7a91985e19da48a7573a2c9e441534923592023-11-24 4:42:47185 days 12 hrs ago 0x6d973e33af0801af13b7939956745c72bb17aa1e0xc0e87e4456b2bad17e7cabe29b3b901479869c4e0.004845706302720806 ETH
0xa1250c16c07dc160a720da46f377e333b031cc7a91985e19da48a7573a2c9e441534923592023-11-24 4:42:47185 days 12 hrs ago Wrapped Ether 0x6d973e33af0801af13b7939956745c72bb17aa1e0.004845706302720806 ETH
0xd50ceef32630aebda9f3bd4ca58bc6c52e58b02c814732b702da4fb1e6539e2c1534847272023-11-24 4:08:19185 days 13 hrs ago 0x6d973e33af0801af13b7939956745c72bb17aa1e0xc0e87e4456b2bad17e7cabe29b3b901479869c4e0.000000010394347686 ETH
0xd50ceef32630aebda9f3bd4ca58bc6c52e58b02c814732b702da4fb1e6539e2c1534847272023-11-24 4:08:19185 days 13 hrs ago Wrapped Ether 0x6d973e33af0801af13b7939956745c72bb17aa1e0.000000010394347686 ETH
0xd50ceef32630aebda9f3bd4ca58bc6c52e58b02c814732b702da4fb1e6539e2c1534847272023-11-24 4:08:19185 days 13 hrs ago 0x6d973e33af0801af13b7939956745c72bb17aa1e Wrapped Ether0.0097 ETH
0xd09e05c4ce231d6b422702e41e21adbcaf15f94a08bb7ce7bf5773c6928e09261524190252023-11-20 22:47:33188 days 18 hrs ago 0x6d973e33af0801af13b7939956745c72bb17aa1e0x5afdd71ec312eda36663f72032f269bd9c950cb40.004612246203266859 ETH
0xd09e05c4ce231d6b422702e41e21adbcaf15f94a08bb7ce7bf5773c6928e09261524190252023-11-20 22:47:33188 days 18 hrs ago Wrapped Ether 0x6d973e33af0801af13b7939956745c72bb17aa1e0.004612246203266859 ETH
0x8d52c18336faeee7afce3b69c11633282be3422dfea2ff6d584953c34266ab6f1523967192023-11-20 21:05:46188 days 20 hrs ago 0x6d973e33af0801af13b7939956745c72bb17aa1e0xe4249e9fdacf3809e742bd3ba20ed46035b1eb410.600294862311523622 ETH
0x8d52c18336faeee7afce3b69c11633282be3422dfea2ff6d584953c34266ab6f1523967192023-11-20 21:05:46188 days 20 hrs ago Wrapped Ether 0x6d973e33af0801af13b7939956745c72bb17aa1e0.600294862311523622 ETH
0x93c12ba7bd08fcac4f4dd445ca536be9ad1e246e4d527f1e51094e3275838a7a1523912972023-11-20 20:42:06188 days 20 hrs ago 0x6d973e33af0801af13b7939956745c72bb17aa1e0xe4249e9fdacf3809e742bd3ba20ed46035b1eb410.517082432104210106 ETH
0x93c12ba7bd08fcac4f4dd445ca536be9ad1e246e4d527f1e51094e3275838a7a1523912972023-11-20 20:42:06188 days 20 hrs ago Wrapped Ether 0x6d973e33af0801af13b7939956745c72bb17aa1e0.517082432104210106 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BeefyUniV2Zap

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan.io on 2021-09-20
*/

/**
 *Submitted for verification at polygonscan.com on 2021-06-30
*/

// SPDX-License-Identifier: MIT
// File: contracts/BIFI/zap/IUniswapV2Pair.sol

pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    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 price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

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

// File: contracts/BIFI/zap/Babylonian.sol


pragma solidity >=0.4.0;

// computes square roots using the babylonian method
// https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method
library Babylonian {
    // credit for this implementation goes to
    // https://github.com/abdk-consulting/abdk-libraries-solidity/blob/master/ABDKMath64x64.sol#L687
    function sqrt(uint256 x) internal pure returns (uint256) {
        if (x == 0) return 0;
        // this block is equivalent to r = uint256(1) << (BitMath.mostSignificantBit(x) / 2);
        // however that code costs significantly more gas
        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 >= 0x8) {
            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 (r < r1 ? r : r1);
    }
}

// File: contracts/BIFI/zap/IERC20.sol


pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: contracts/BIFI/zap/SafeMath.sol


pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: contracts/BIFI/zap/Address.sol


pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: contracts/BIFI/zap/SafeERC20.sol


pragma solidity >=0.6.0 <0.8.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: contracts/BIFI/zap/LowGasSafeMath.sol

pragma solidity >=0.7.0;

/// @title Optimized overflow and underflow safe math operations
/// @notice Contains methods for doing math operations that revert on overflow or underflow for minimal gas cost
library LowGasSafeMath {
    /// @notice Returns x + y, reverts if sum overflows uint256
    /// @param x The augend
    /// @param y The addend
    /// @return z The sum of x and y
    function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x + y) >= x);
    }

    /// @notice Returns x - y, reverts if underflows
    /// @param x The minuend
    /// @param y The subtrahend
    /// @return z The difference of x and y
    function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x - y) <= x);
    }

    /// @notice Returns x * y, reverts if overflows
    /// @param x The multiplicand
    /// @param y The multiplier
    /// @return z The product of x and y
    function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require(x == 0 || (z = x * y) / x == y);
    }

    /// @notice Returns x + y, reverts if overflows or underflows
    /// @param x The augend
    /// @param y The addend
    /// @return z The sum of x and y
    function add(int256 x, int256 y) internal pure returns (int256 z) {
        require((z = x + y) >= x == (y >= 0));
    }

    /// @notice Returns x - y, reverts if overflows or underflows
    /// @param x The minuend
    /// @param y The subtrahend
    /// @return z The difference of x and y
    function sub(int256 x, int256 y) internal pure returns (int256 z) {
        require((z = x - y) <= x == (y >= 0));
    }
}

// File: contracts/BIFI/zap/IUniswapV2Router01.sol

pragma solidity >=0.6.2;

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

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

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

// File: contracts/BIFI/zap/IUniswapV2Router02.sol

pragma solidity >=0.6.2;


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

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

// File: contracts/BIFI/zap/BeefyUniV2Zap.sol


// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Affero General Public License for more details.

// @author Wivern for Beefy.Finance
// @notice This contract adds liquidity to Uniswap V2 compatible liquidity pair pools and stake.

pragma solidity >=0.7.0;






interface IWETH is IERC20 {
    function deposit() external payable;
    function withdraw(uint256 wad) external;
}

interface IBeefyVaultV6 is IERC20 {
    function deposit(uint256 amount) external;
    function withdraw(uint256 shares) external;
    function want() external pure returns (address);
}

contract BeefyUniV2Zap {
    using LowGasSafeMath for uint256;
    using SafeERC20 for IERC20;
    using SafeERC20 for IBeefyVaultV6;

    IUniswapV2Router02 public immutable router;
    address public immutable WETH;
    uint256 public constant minimumAmount = 1000;

    constructor(address _router, address _WETH) {
        router = IUniswapV2Router02(_router);
        WETH = _WETH;
    }

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

    function beefInETH (address beefyVault, uint256 tokenAmountOutMin) external payable {
        require(msg.value >= minimumAmount, 'Beefy: Insignificant input amount');

        IWETH(WETH).deposit{value: msg.value}();

        _swapAndStake(beefyVault, tokenAmountOutMin, WETH);
    }

    function beefIn (address beefyVault, uint256 tokenAmountOutMin, address tokenIn, uint256 tokenInAmount) external {
        require(tokenInAmount >= minimumAmount, 'Beefy: Insignificant input amount');
        require(IERC20(tokenIn).allowance(msg.sender, address(this)) >= tokenInAmount, 'Beefy: Input token is not approved');

        IERC20(tokenIn).safeTransferFrom(msg.sender, address(this), tokenInAmount);

        _swapAndStake(beefyVault, tokenAmountOutMin, tokenIn);
    }

    function beefOut (address beefyVault, uint256 withdrawAmount) external {
        (IBeefyVaultV6 vault, IUniswapV2Pair pair) = _getVaultPair(beefyVault);

        IERC20(beefyVault).safeTransferFrom(msg.sender, address(this), withdrawAmount);
        vault.withdraw(withdrawAmount);

        if (pair.token0() != WETH && pair.token1() != WETH) {
            return _removeLiqudity(address(pair), msg.sender);
        }

        _removeLiqudity(address(pair), address(this));

        address[] memory tokens = new address[](2);
        tokens[0] = pair.token0();
        tokens[1] = pair.token1();

        _returnAssets(tokens);
    }

    function beefOutAndSwap(address beefyVault, uint256 withdrawAmount, address desiredToken, uint256 desiredTokenOutMin) external {
        (IBeefyVaultV6 vault, IUniswapV2Pair pair) = _getVaultPair(beefyVault);
        address token0 = pair.token0();
        address token1 = pair.token1();
        require(token0 == desiredToken || token1 == desiredToken, 'Beefy: desired token not present in liqudity pair');

        vault.safeTransferFrom(msg.sender, address(this), withdrawAmount);
        vault.withdraw(withdrawAmount);
        _removeLiqudity(address(pair), address(this));

        address swapToken = token1 == desiredToken ? token0 : token1;
        address[] memory path = new address[](2);
        path[0] = swapToken;
        path[1] = desiredToken;

        _approveTokenIfNeeded(path[0], address(router));
        router.swapExactTokensForTokens(IERC20(swapToken).balanceOf(address(this)), desiredTokenOutMin, path, address(this), block.timestamp);

        _returnAssets(path);
    }

    function _removeLiqudity(address pair, address to) private {
        IERC20(pair).safeTransfer(pair, IERC20(pair).balanceOf(address(this)));
        (uint256 amount0, uint256 amount1) = IUniswapV2Pair(pair).burn(to);

        require(amount0 >= minimumAmount, 'UniswapV2Router: INSUFFICIENT_A_AMOUNT');
        require(amount1 >= minimumAmount, 'UniswapV2Router: INSUFFICIENT_B_AMOUNT');
    }

    function _getVaultPair (address beefyVault) private view returns (IBeefyVaultV6 vault, IUniswapV2Pair pair) {
        vault = IBeefyVaultV6(beefyVault);
        pair = IUniswapV2Pair(vault.want());
        require(pair.factory() == router.factory(), 'Beefy: Incompatible liquidity pair factory');
    }

    function _swapAndStake(address beefyVault, uint256 tokenAmountOutMin, address tokenIn) private {
        (IBeefyVaultV6 vault, IUniswapV2Pair pair) = _getVaultPair(beefyVault);

        (uint256 reserveA, uint256 reserveB,) = pair.getReserves();
        require(reserveA > minimumAmount && reserveB > minimumAmount, 'Beefy: Liquidity pair reserves too low');

        bool isInputA = pair.token0() == tokenIn;
        require(isInputA || pair.token1() == tokenIn, 'Beefy: Input token not present in liqudity pair');

        address[] memory path = new address[](2);
        path[0] = tokenIn;
        path[1] = isInputA ? pair.token1() : pair.token0();

        uint256 fullInvestment = IERC20(tokenIn).balanceOf(address(this));
        uint256 swapAmountIn;
        if (isInputA) {
            swapAmountIn = _getSwapAmount(fullInvestment, reserveA, reserveB);
        } else {
            swapAmountIn = _getSwapAmount(fullInvestment, reserveB, reserveA);
        }

        _approveTokenIfNeeded(path[0], address(router));
        uint256[] memory swapedAmounts = router
            .swapExactTokensForTokens(swapAmountIn, tokenAmountOutMin, path, address(this), block.timestamp);

        _approveTokenIfNeeded(path[1], address(router));
        (,, uint256 amountLiquidity) = router
            .addLiquidity(path[0], path[1], fullInvestment.sub(swapedAmounts[0]), swapedAmounts[1], 1, 1, address(this), block.timestamp);

        _approveTokenIfNeeded(address(pair), address(vault));
        vault.deposit(amountLiquidity);

        vault.safeTransfer(msg.sender, vault.balanceOf(address(this)));
        _returnAssets(path);
    }

    function _returnAssets(address[] memory tokens) private {
        uint256 balance;
        for (uint256 i; i < tokens.length; i++) {
            balance = IERC20(tokens[i]).balanceOf(address(this));
            if (balance > 0) {
                if (tokens[i] == WETH) {
                    IWETH(WETH).withdraw(balance);
                    (bool success,) = msg.sender.call{value: balance}(new bytes(0));
                    require(success, 'Beefy: ETH transfer failed');
                } else {
                    IERC20(tokens[i]).safeTransfer(msg.sender, balance);
                }
            }
        }
    }

    function _getSwapAmount(uint256 investmentA, uint256 reserveA, uint256 reserveB) private view returns (uint256 swapAmount) {
        uint256 halfInvestment = investmentA / 2;
        uint256 nominator = router.getAmountOut(halfInvestment, reserveA, reserveB);
        uint256 denominator = router.quote(halfInvestment, reserveA.add(halfInvestment), reserveB.sub(nominator));
        swapAmount = investmentA.sub(Babylonian.sqrt(halfInvestment * halfInvestment * nominator / denominator));
    }

    function estimateSwap(address beefyVault, address tokenIn, uint256 fullInvestmentIn) public view returns(uint256 swapAmountIn, uint256 swapAmountOut, address swapTokenOut) {
        checkWETH();
        (, IUniswapV2Pair pair) = _getVaultPair(beefyVault);

        bool isInputA = pair.token0() == tokenIn;
        require(isInputA || pair.token1() == tokenIn, 'Beefy: Input token not present in liqudity pair');

        (uint256 reserveA, uint256 reserveB,) = pair.getReserves();
        (reserveA, reserveB) = isInputA ? (reserveA, reserveB) : (reserveB, reserveA);

        swapAmountIn = _getSwapAmount(fullInvestmentIn, reserveA, reserveB);
        swapAmountOut = router.getAmountOut(swapAmountIn, reserveA, reserveB);
        swapTokenOut = isInputA ? pair.token1() : pair.token0();
    }

    function checkWETH() public view returns (bool isValid) {
        isValid = WETH == router.WETH();
        require(isValid, 'Beefy: WETH address not matching Router.WETH()');
    }

    function _approveTokenIfNeeded(address token, address spender) private {
        if (IERC20(token).allowance(address(this), spender) == 0) {
            IERC20(token).safeApprove(spender, uint256(~0));
        }
    }

}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_WETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beefyVault","type":"address"},{"internalType":"uint256","name":"tokenAmountOutMin","type":"uint256"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"tokenInAmount","type":"uint256"}],"name":"beefIn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beefyVault","type":"address"},{"internalType":"uint256","name":"tokenAmountOutMin","type":"uint256"}],"name":"beefInETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"beefyVault","type":"address"},{"internalType":"uint256","name":"withdrawAmount","type":"uint256"}],"name":"beefOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beefyVault","type":"address"},{"internalType":"uint256","name":"withdrawAmount","type":"uint256"},{"internalType":"address","name":"desiredToken","type":"address"},{"internalType":"uint256","name":"desiredTokenOutMin","type":"uint256"}],"name":"beefOutAndSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"checkWETH","outputs":[{"internalType":"bool","name":"isValid","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beefyVault","type":"address"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"fullInvestmentIn","type":"uint256"}],"name":"estimateSwap","outputs":[{"internalType":"uint256","name":"swapAmountIn","type":"uint256"},{"internalType":"uint256","name":"swapAmountOut","type":"uint256"},{"internalType":"address","name":"swapTokenOut","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c060405234801561001057600080fd5b50604051612aa1380380612aa18339818101604052604081101561003357600080fd5b5080516020909101516001600160601b0319606092831b8116608052911b1660a05260805160601c60a05160601c6129cf6100d260003980609a5280610b4f5280610bc85280610c795280610d6d5280610e0e528061102052806117fa52806118475250806104b252806108c352806108e95280610bf452806111695280611213528061134d52806113f95280611e0c5280611fb652506129cf6000f3fe60806040526004361061008a5760003560e01c8063a28c361b11610059578063a28c361b146101ce578063ad5c464814610207578063bb0c829814610238578063f5d07b601461025f578063f887ea40146102a6576100c3565b80633f2f869a146100c857806351c9cf911461013257806370fae20d146101795780638437fabe146101a5576100c3565b366100c357336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146100c157fe5b005b600080fd5b3480156100d457600080fd5b5061010b600480360360608110156100eb57600080fd5b506001600160a01b038135811691602081013590911690604001356102bb565b6040805193845260208401929092526001600160a01b031682820152519081900360600190f35b34801561013e57600080fd5b506100c16004803603608081101561015557600080fd5b506001600160a01b0381358116916020810135916040820135169060600135610636565b6100c16004803603604081101561018f57600080fd5b506001600160a01b038135169060200135610b0c565b3480156101b157600080fd5b506101ba610bf0565b604080519115158252519081900360200190f35b3480156101da57600080fd5b506100c1600480360360408110156101f157600080fd5b506001600160a01b038135169060200135610ce7565b34801561021357600080fd5b5061021c61101e565b604080516001600160a01b039092168252519081900360200190f35b34801561024457600080fd5b5061024d611042565b60408051918252519081900360200190f35b34801561026b57600080fd5b506100c16004803603608081101561028257600080fd5b506001600160a01b0381358116916020810135916040820135169060600135611048565b3480156102b257600080fd5b5061021c611167565b60008060006102c8610bf0565b5060006102d48761118b565b9150506000866001600160a01b0316826001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561031c57600080fd5b505afa158015610330573d6000803e3d6000fd5b505050506040513d602081101561034657600080fd5b50516001600160a01b031614905080806103d55750866001600160a01b0316826001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b15801561039e57600080fd5b505afa1580156103b2573d6000803e3d6000fd5b505050506040513d60208110156103c857600080fd5b50516001600160a01b0316145b6104105760405162461bcd60e51b815260040180806020018281038252602f81526020018061288a602f913960400191505060405180910390fd5b600080836001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561044c57600080fd5b505afa158015610460573d6000803e3d6000fd5b505050506040513d606081101561047657600080fd5b5080516020909101516001600160701b0391821693501690508261049b57808261049e565b81815b90925090506104ae888383611340565b96507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663054d50d48884846040518463ffffffff1660e01b815260040180848152602001838152602001828152602001935050505060206040518083038186803b15801561052457600080fd5b505afa158015610538573d6000803e3d6000fd5b505050506040513d602081101561054e57600080fd5b50519550826105c157836001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561059057600080fd5b505afa1580156105a4573d6000803e3d6000fd5b505050506040513d60208110156105ba57600080fd5b5051610627565b836001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b1580156105fa57600080fd5b505afa15801561060e573d6000803e3d6000fd5b505050506040513d602081101561062457600080fd5b50515b94505050505093509350939050565b6000806106428661118b565b915091506000816001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561068157600080fd5b505afa158015610695573d6000803e3d6000fd5b505050506040513d60208110156106ab57600080fd5b50516040805163d21220a760e01b815290519192506000916001600160a01b0385169163d21220a7916004808301926020929190829003018186803b1580156106f357600080fd5b505afa158015610707573d6000803e3d6000fd5b505050506040513d602081101561071d57600080fd5b505190506001600160a01b03828116908716148061074c5750856001600160a01b0316816001600160a01b0316145b6107875760405162461bcd60e51b81526004018080602001828103825260318152602001806128b96031913960400191505060405180910390fd5b61079c6001600160a01b03851633308a6114ce565b836001600160a01b0316632e1a7d4d886040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156107e257600080fd5b505af11580156107f6573d6000803e3d6000fd5b505050506108048330611528565b6000866001600160a01b0316826001600160a01b0316146108255781610827565b825b6040805160028082526060820183529293506000929091602083019080368337019050509050818160008151811061085b57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050878160018151811061088957fe5b60200260200101906001600160a01b031690816001600160a01b0316815250506108e7816000815181106108b957fe5b60200260200101517f00000000000000000000000000000000000000000000000000000000000000006116c1565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166338ed1739836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561096357600080fd5b505afa158015610977573d6000803e3d6000fd5b505050506040513d602081101561098d57600080fd5b50516040516001600160e01b031960e084901b16815260048101828152602482018c90523060648301819052426084840181905260a060448501908152885160a486015288518f958a95929160c4909101906020878101910280838360005b83811015610a045781810151838201526020016109ec565b505050509050019650505050505050600060405180830381600087803b158015610a2d57600080fd5b505af1158015610a41573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610a6a57600080fd5b8101908080516040519392919084640100000000821115610a8a57600080fd5b908301906020820185811115610a9f57600080fd5b8251866020820283011164010000000082111715610abc57600080fd5b82525081516020918201928201910280838360005b83811015610ae9578181015183820152602001610ad1565b5050505090500160405250505050610b0081611757565b50505050505050505050565b6103e8341015610b4d5760405162461bcd60e51b81526004018080602001828103825260218152602001806127a76021913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b158015610ba857600080fd5b505af1158015610bbc573d6000803e3d6000fd5b5050505050610bec82827f0000000000000000000000000000000000000000000000000000000000000000611a05565b5050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610c4b57600080fd5b505afa158015610c5f573d6000803e3d6000fd5b505050506040513d6020811015610c7557600080fd5b50517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116911614905080610ce45760405162461bcd60e51b815260040180806020018281038252602e8152602001806127c8602e913960400191505060405180910390fd5b90565b600080610cf38461118b565b9092509050610d0d6001600160a01b0385163330866114ce565b816001600160a01b0316632e1a7d4d846040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610d5357600080fd5b505af1158015610d67573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015610dce57600080fd5b505afa158015610de2573d6000803e3d6000fd5b505050506040513d6020811015610df857600080fd5b50516001600160a01b031614801590610ea757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b158015610e6f57600080fd5b505afa158015610e83573d6000803e3d6000fd5b505050506040513d6020811015610e9957600080fd5b50516001600160a01b031614155b15610ebd57610eb68133611528565b5050610bec565b610ec78130611528565b604080516002808252606082018352600092602083019080368337019050509050816001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015610f2157600080fd5b505afa158015610f35573d6000803e3d6000fd5b505050506040513d6020811015610f4b57600080fd5b505181518290600090610f5a57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b158015610fb357600080fd5b505afa158015610fc7573d6000803e3d6000fd5b505050506040513d6020811015610fdd57600080fd5b5051815182906001908110610fee57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505061101781611757565b5050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6103e881565b6103e88110156110895760405162461bcd60e51b81526004018080602001828103825260218152602001806127a76021913960400191505060405180910390fd5b60408051636eb1769f60e11b8152336004820152306024820152905182916001600160a01b0385169163dd62ed3e91604480820192602092909190829003018186803b1580156110d857600080fd5b505afa1580156110ec573d6000803e3d6000fd5b505050506040513d602081101561110257600080fd5b505110156111415760405162461bcd60e51b81526004018080602001828103825260228152602001806128686022913960400191505060405180910390fd5b6111566001600160a01b0383163330846114ce565b611161848484611a05565b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600080829150816001600160a01b0316631f1fcd516040518163ffffffff1660e01b815260040160206040518083038186803b1580156111ca57600080fd5b505afa1580156111de573d6000803e3d6000fd5b505050506040513d60208110156111f457600080fd5b50516040805163c45a015560e01b815290519192506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163c45a015591600480820192602092909190829003018186803b15801561125a57600080fd5b505afa15801561126e573d6000803e3d6000fd5b505050506040513d602081101561128457600080fd5b50516040805163c45a015560e01b815290516001600160a01b039283169284169163c45a0155916004808301926020929190829003018186803b1580156112ca57600080fd5b505afa1580156112de573d6000803e3d6000fd5b505050506040513d60208110156112f457600080fd5b50516001600160a01b03161461133b5760405162461bcd60e51b815260040180806020018281038252602a8152602001806128ea602a913960400191505060405180910390fd5b915091565b60008060028504905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663054d50d48387876040518463ffffffff1660e01b815260040180848152602001838152602001828152602001935050505060206040518083038186803b1580156113bf57600080fd5b505afa1580156113d3573d6000803e3d6000fd5b505050506040513d60208110156113e957600080fd5b5051905060006001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663ad615dec84611429898261220f565b6114338987612225565b6040518463ffffffff1660e01b815260040180848152602001838152602001828152602001935050505060206040518083038186803b15801561147557600080fd5b505afa158015611489573d6000803e3d6000fd5b505050506040513d602081101561149f57600080fd5b505190506114c36114bc828580028502816114b657fe5b04612235565b8890612225565b979650505050505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261116190859061237d565b6115b682836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561157957600080fd5b505afa15801561158d573d6000803e3d6000fd5b505050506040513d60208110156115a357600080fd5b50516001600160a01b038516919061242e565b600080836001600160a01b03166389afcb44846040518263ffffffff1660e01b815260040180826001600160a01b031681526020019150506040805180830381600087803b15801561160757600080fd5b505af115801561161b573d6000803e3d6000fd5b505050506040513d604081101561163157600080fd5b50805160209091015190925090506103e88210156116805760405162461bcd60e51b81526004018080602001828103825260268152602001806129146026913960400191505060405180910390fd5b6103e88110156111615760405162461bcd60e51b815260040180806020018281038252602681526020018061281c6026913960400191505060405180910390fd5b60408051636eb1769f60e11b81523060048201526001600160a01b03838116602483015291519184169163dd62ed3e91604480820192602092909190829003018186803b15801561171157600080fd5b505afa158015611725573d6000803e3d6000fd5b505050506040513d602081101561173b57600080fd5b5051610bec57610bec6001600160a01b03831682600019612480565b6000805b8251811015611a005782818151811061177057fe5b60200260200101516001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156117c457600080fd5b505afa1580156117d8573d6000803e3d6000fd5b505050506040513d60208110156117ee57600080fd5b5051915081156119f8577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031683828151811061182e57fe5b60200260200101516001600160a01b031614156119c7577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156118ab57600080fd5b505af11580156118bf573d6000803e3d6000fd5b505060408051600080825260208201928390528151909450339350869290819081908082805b602083106119045780518252601f1990920191602091820191016118e5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611966576040519150601f19603f3d011682016040523d82523d6000602084013e61196b565b606091505b50509050806119c1576040805162461bcd60e51b815260206004820152601a60248201527f42656566793a20455448207472616e73666572206661696c6564000000000000604482015290519081900360640190fd5b506119f8565b6119f833838584815181106119d857fe5b60200260200101516001600160a01b031661242e9092919063ffffffff16565b60010161175b565b505050565b600080611a118561118b565b91509150600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015611a5157600080fd5b505afa158015611a65573d6000803e3d6000fd5b505050506040513d6060811015611a7b57600080fd5b5080516020909101516001600160701b0391821693501690506103e882118015611aa657506103e881115b611ae15760405162461bcd60e51b81526004018080602001828103825260268152602001806127f66026913960400191505060405180910390fd5b6000856001600160a01b0316846001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015611b2657600080fd5b505afa158015611b3a573d6000803e3d6000fd5b505050506040513d6020811015611b5057600080fd5b50516001600160a01b03161490508080611bdf5750856001600160a01b0316846001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b158015611ba857600080fd5b505afa158015611bbc573d6000803e3d6000fd5b505050506040513d6020811015611bd257600080fd5b50516001600160a01b0316145b611c1a5760405162461bcd60e51b815260040180806020018281038252602f81526020018061288a602f913960400191505060405180910390fd5b6040805160028082526060820183526000926020830190803683370190505090508681600081518110611c4957fe5b60200260200101906001600160a01b031690816001600160a01b03168152505081611cd857846001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015611ca757600080fd5b505afa158015611cbb573d6000803e3d6000fd5b505050506040513d6020811015611cd157600080fd5b5051611d3e565b846001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b158015611d1157600080fd5b505afa158015611d25573d6000803e3d6000fd5b505050506040513d6020811015611d3b57600080fd5b50515b81600181518110611d4b57fe5b6001600160a01b03928316602091820292909201810191909152604080516370a0823160e01b815230600482015290516000938b16926370a082319260248082019391829003018186803b158015611da257600080fd5b505afa158015611db6573d6000803e3d6000fd5b505050506040513d6020811015611dcc57600080fd5b5051905060008315611dea57611de3828787611340565b9050611df8565b611df5828688611340565b90505b611e08836000815181106108b957fe5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166338ed1739838d8730426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015611eae578181015183820152602001611e96565b505050509050019650505050505050600060405180830381600087803b158015611ed757600080fd5b505af1158015611eeb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611f1457600080fd5b8101908080516040519392919084640100000000821115611f3457600080fd5b908301906020820185811115611f4957600080fd5b8251866020820283011164010000000082111715611f6657600080fd5b82525081516020918201928201910280838360005b83811015611f93578181015183820152602001611f7b565b505050509050016040525050509050611fb2846001815181106108b957fe5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e8e3370086600081518110611ff057fe5b60200260200101518760018151811061200557fe5b60200260200101516120348660008151811061201d57fe5b60200260200101518961222590919063ffffffff16565b8660018151811061204157fe5b602002602001015160018030426040518963ffffffff1660e01b815260040180896001600160a01b03168152602001886001600160a01b03168152602001878152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200198505050505050505050606060405180830381600087803b1580156120d057600080fd5b505af11580156120e4573d6000803e3d6000fd5b505050506040513d60608110156120fa57600080fd5b5060400151905061210b898b6116c1565b896001600160a01b031663b6b55f25826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561215157600080fd5b505af1158015612165573d6000803e3d6000fd5b505050506121f7338b6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156121ba57600080fd5b505afa1580156121ce573d6000803e3d6000fd5b505050506040513d60208110156121e457600080fd5b50516001600160a01b038d16919061242e565b61220085611757565b50505050505050505050505050565b8082018281101561221f57600080fd5b92915050565b8082038281111561221f57600080fd5b60008161224457506000612378565b816001600160801b821061225d5760809190911c9060401b5b6801000000000000000082106122785760409190911c9060201b5b640100000000821061228f5760209190911c9060101b5b6201000082106122a45760109190911c9060081b5b61010082106122b85760089190911c9060041b5b601082106122cb5760049190911c9060021b5b600882106122d75760011b5b60018185816122e257fe5b048201901c905060018185816122f457fe5b048201901c9050600181858161230657fe5b048201901c9050600181858161231857fe5b048201901c9050600181858161232a57fe5b048201901c9050600181858161233c57fe5b048201901c9050600181858161234e57fe5b048201901c9050600081858161236057fe5b0490508082106123705780612372565b815b93505050505b919050565b60006123d2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166125939092919063ffffffff16565b805190915015611a00578080602001905160208110156123f157600080fd5b5051611a005760405162461bcd60e51b815260040180806020018281038252602a81526020018061293a602a913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611a0090849061237d565b801580612506575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156124d857600080fd5b505afa1580156124ec573d6000803e3d6000fd5b505050506040513d602081101561250257600080fd5b5051155b6125415760405162461bcd60e51b81526004018080602001828103825260368152602001806129646036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611a0090849061237d565b60606125a284846000856125ac565b90505b9392505050565b6060824710156125ed5760405162461bcd60e51b81526004018080602001828103825260268152602001806128426026913960400191505060405180910390fd5b6125f6856126fc565b612647576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b602083106126855780518252601f199092019160209182019101612666565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146126e7576040519150601f19603f3d011682016040523d82523d6000602084013e6126ec565b606091505b50915091506114c3828286612702565b3b151590565b606083156127115750816125a5565b8251156127215782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561276b578181015183820152602001612753565b50505050905090810190601f1680156127985780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe42656566793a20496e7369676e69666963616e7420696e70757420616d6f756e7442656566793a20574554482061646472657373206e6f74206d61746368696e6720526f757465722e57455448282942656566793a204c6971756964697479207061697220726573657276657320746f6f206c6f77556e69737761705632526f757465723a20494e53554646494349454e545f425f414d4f554e54416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c42656566793a20496e70757420746f6b656e206973206e6f7420617070726f76656442656566793a20496e70757420746f6b656e206e6f742070726573656e7420696e206c69717564697479207061697242656566793a206465736972656420746f6b656e206e6f742070726573656e7420696e206c69717564697479207061697242656566793a20496e636f6d70617469626c65206c6971756964697479207061697220666163746f7279556e69737761705632526f757465723a20494e53554646494349454e545f415f414d4f554e545361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220716182e5043934f0f7acd59ef1b2835204ae17919fbfa7083e98aac185879bb464736f6c634300070600330000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b4799750600000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1

Deployed Bytecode

0x60806040526004361061008a5760003560e01c8063a28c361b11610059578063a28c361b146101ce578063ad5c464814610207578063bb0c829814610238578063f5d07b601461025f578063f887ea40146102a6576100c3565b80633f2f869a146100c857806351c9cf911461013257806370fae20d146101795780638437fabe146101a5576100c3565b366100c357336001600160a01b037f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab116146100c157fe5b005b600080fd5b3480156100d457600080fd5b5061010b600480360360608110156100eb57600080fd5b506001600160a01b038135811691602081013590911690604001356102bb565b6040805193845260208401929092526001600160a01b031682820152519081900360600190f35b34801561013e57600080fd5b506100c16004803603608081101561015557600080fd5b506001600160a01b0381358116916020810135916040820135169060600135610636565b6100c16004803603604081101561018f57600080fd5b506001600160a01b038135169060200135610b0c565b3480156101b157600080fd5b506101ba610bf0565b604080519115158252519081900360200190f35b3480156101da57600080fd5b506100c1600480360360408110156101f157600080fd5b506001600160a01b038135169060200135610ce7565b34801561021357600080fd5b5061021c61101e565b604080516001600160a01b039092168252519081900360200190f35b34801561024457600080fd5b5061024d611042565b60408051918252519081900360200190f35b34801561026b57600080fd5b506100c16004803603608081101561028257600080fd5b506001600160a01b0381358116916020810135916040820135169060600135611048565b3480156102b257600080fd5b5061021c611167565b60008060006102c8610bf0565b5060006102d48761118b565b9150506000866001600160a01b0316826001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561031c57600080fd5b505afa158015610330573d6000803e3d6000fd5b505050506040513d602081101561034657600080fd5b50516001600160a01b031614905080806103d55750866001600160a01b0316826001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b15801561039e57600080fd5b505afa1580156103b2573d6000803e3d6000fd5b505050506040513d60208110156103c857600080fd5b50516001600160a01b0316145b6104105760405162461bcd60e51b815260040180806020018281038252602f81526020018061288a602f913960400191505060405180910390fd5b600080836001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561044c57600080fd5b505afa158015610460573d6000803e3d6000fd5b505050506040513d606081101561047657600080fd5b5080516020909101516001600160701b0391821693501690508261049b57808261049e565b81815b90925090506104ae888383611340565b96507f0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b479975066001600160a01b031663054d50d48884846040518463ffffffff1660e01b815260040180848152602001838152602001828152602001935050505060206040518083038186803b15801561052457600080fd5b505afa158015610538573d6000803e3d6000fd5b505050506040513d602081101561054e57600080fd5b50519550826105c157836001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561059057600080fd5b505afa1580156105a4573d6000803e3d6000fd5b505050506040513d60208110156105ba57600080fd5b5051610627565b836001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b1580156105fa57600080fd5b505afa15801561060e573d6000803e3d6000fd5b505050506040513d602081101561062457600080fd5b50515b94505050505093509350939050565b6000806106428661118b565b915091506000816001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561068157600080fd5b505afa158015610695573d6000803e3d6000fd5b505050506040513d60208110156106ab57600080fd5b50516040805163d21220a760e01b815290519192506000916001600160a01b0385169163d21220a7916004808301926020929190829003018186803b1580156106f357600080fd5b505afa158015610707573d6000803e3d6000fd5b505050506040513d602081101561071d57600080fd5b505190506001600160a01b03828116908716148061074c5750856001600160a01b0316816001600160a01b0316145b6107875760405162461bcd60e51b81526004018080602001828103825260318152602001806128b96031913960400191505060405180910390fd5b61079c6001600160a01b03851633308a6114ce565b836001600160a01b0316632e1a7d4d886040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156107e257600080fd5b505af11580156107f6573d6000803e3d6000fd5b505050506108048330611528565b6000866001600160a01b0316826001600160a01b0316146108255781610827565b825b6040805160028082526060820183529293506000929091602083019080368337019050509050818160008151811061085b57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050878160018151811061088957fe5b60200260200101906001600160a01b031690816001600160a01b0316815250506108e7816000815181106108b957fe5b60200260200101517f0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b479975066116c1565b7f0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b479975066001600160a01b03166338ed1739836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561096357600080fd5b505afa158015610977573d6000803e3d6000fd5b505050506040513d602081101561098d57600080fd5b50516040516001600160e01b031960e084901b16815260048101828152602482018c90523060648301819052426084840181905260a060448501908152885160a486015288518f958a95929160c4909101906020878101910280838360005b83811015610a045781810151838201526020016109ec565b505050509050019650505050505050600060405180830381600087803b158015610a2d57600080fd5b505af1158015610a41573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610a6a57600080fd5b8101908080516040519392919084640100000000821115610a8a57600080fd5b908301906020820185811115610a9f57600080fd5b8251866020820283011164010000000082111715610abc57600080fd5b82525081516020918201928201910280838360005b83811015610ae9578181015183820152602001610ad1565b5050505090500160405250505050610b0081611757565b50505050505050505050565b6103e8341015610b4d5760405162461bcd60e51b81526004018080602001828103825260218152602001806127a76021913960400191505060405180910390fd5b7f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab16001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b158015610ba857600080fd5b505af1158015610bbc573d6000803e3d6000fd5b5050505050610bec82827f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1611a05565b5050565b60007f0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b479975066001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610c4b57600080fd5b505afa158015610c5f573d6000803e3d6000fd5b505050506040513d6020811015610c7557600080fd5b50517f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab16001600160a01b03908116911614905080610ce45760405162461bcd60e51b815260040180806020018281038252602e8152602001806127c8602e913960400191505060405180910390fd5b90565b600080610cf38461118b565b9092509050610d0d6001600160a01b0385163330866114ce565b816001600160a01b0316632e1a7d4d846040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610d5357600080fd5b505af1158015610d67573d6000803e3d6000fd5b505050507f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab16001600160a01b0316816001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015610dce57600080fd5b505afa158015610de2573d6000803e3d6000fd5b505050506040513d6020811015610df857600080fd5b50516001600160a01b031614801590610ea757507f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab16001600160a01b0316816001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b158015610e6f57600080fd5b505afa158015610e83573d6000803e3d6000fd5b505050506040513d6020811015610e9957600080fd5b50516001600160a01b031614155b15610ebd57610eb68133611528565b5050610bec565b610ec78130611528565b604080516002808252606082018352600092602083019080368337019050509050816001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015610f2157600080fd5b505afa158015610f35573d6000803e3d6000fd5b505050506040513d6020811015610f4b57600080fd5b505181518290600090610f5a57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b158015610fb357600080fd5b505afa158015610fc7573d6000803e3d6000fd5b505050506040513d6020811015610fdd57600080fd5b5051815182906001908110610fee57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505061101781611757565b5050505050565b7f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab181565b6103e881565b6103e88110156110895760405162461bcd60e51b81526004018080602001828103825260218152602001806127a76021913960400191505060405180910390fd5b60408051636eb1769f60e11b8152336004820152306024820152905182916001600160a01b0385169163dd62ed3e91604480820192602092909190829003018186803b1580156110d857600080fd5b505afa1580156110ec573d6000803e3d6000fd5b505050506040513d602081101561110257600080fd5b505110156111415760405162461bcd60e51b81526004018080602001828103825260228152602001806128686022913960400191505060405180910390fd5b6111566001600160a01b0383163330846114ce565b611161848484611a05565b50505050565b7f0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b4799750681565b600080829150816001600160a01b0316631f1fcd516040518163ffffffff1660e01b815260040160206040518083038186803b1580156111ca57600080fd5b505afa1580156111de573d6000803e3d6000fd5b505050506040513d60208110156111f457600080fd5b50516040805163c45a015560e01b815290519192506001600160a01b037f0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b47997506169163c45a015591600480820192602092909190829003018186803b15801561125a57600080fd5b505afa15801561126e573d6000803e3d6000fd5b505050506040513d602081101561128457600080fd5b50516040805163c45a015560e01b815290516001600160a01b039283169284169163c45a0155916004808301926020929190829003018186803b1580156112ca57600080fd5b505afa1580156112de573d6000803e3d6000fd5b505050506040513d60208110156112f457600080fd5b50516001600160a01b03161461133b5760405162461bcd60e51b815260040180806020018281038252602a8152602001806128ea602a913960400191505060405180910390fd5b915091565b60008060028504905060007f0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b479975066001600160a01b031663054d50d48387876040518463ffffffff1660e01b815260040180848152602001838152602001828152602001935050505060206040518083038186803b1580156113bf57600080fd5b505afa1580156113d3573d6000803e3d6000fd5b505050506040513d60208110156113e957600080fd5b5051905060006001600160a01b037f0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b479975061663ad615dec84611429898261220f565b6114338987612225565b6040518463ffffffff1660e01b815260040180848152602001838152602001828152602001935050505060206040518083038186803b15801561147557600080fd5b505afa158015611489573d6000803e3d6000fd5b505050506040513d602081101561149f57600080fd5b505190506114c36114bc828580028502816114b657fe5b04612235565b8890612225565b979650505050505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261116190859061237d565b6115b682836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561157957600080fd5b505afa15801561158d573d6000803e3d6000fd5b505050506040513d60208110156115a357600080fd5b50516001600160a01b038516919061242e565b600080836001600160a01b03166389afcb44846040518263ffffffff1660e01b815260040180826001600160a01b031681526020019150506040805180830381600087803b15801561160757600080fd5b505af115801561161b573d6000803e3d6000fd5b505050506040513d604081101561163157600080fd5b50805160209091015190925090506103e88210156116805760405162461bcd60e51b81526004018080602001828103825260268152602001806129146026913960400191505060405180910390fd5b6103e88110156111615760405162461bcd60e51b815260040180806020018281038252602681526020018061281c6026913960400191505060405180910390fd5b60408051636eb1769f60e11b81523060048201526001600160a01b03838116602483015291519184169163dd62ed3e91604480820192602092909190829003018186803b15801561171157600080fd5b505afa158015611725573d6000803e3d6000fd5b505050506040513d602081101561173b57600080fd5b5051610bec57610bec6001600160a01b03831682600019612480565b6000805b8251811015611a005782818151811061177057fe5b60200260200101516001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156117c457600080fd5b505afa1580156117d8573d6000803e3d6000fd5b505050506040513d60208110156117ee57600080fd5b5051915081156119f8577f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab16001600160a01b031683828151811061182e57fe5b60200260200101516001600160a01b031614156119c7577f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab16001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156118ab57600080fd5b505af11580156118bf573d6000803e3d6000fd5b505060408051600080825260208201928390528151909450339350869290819081908082805b602083106119045780518252601f1990920191602091820191016118e5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611966576040519150601f19603f3d011682016040523d82523d6000602084013e61196b565b606091505b50509050806119c1576040805162461bcd60e51b815260206004820152601a60248201527f42656566793a20455448207472616e73666572206661696c6564000000000000604482015290519081900360640190fd5b506119f8565b6119f833838584815181106119d857fe5b60200260200101516001600160a01b031661242e9092919063ffffffff16565b60010161175b565b505050565b600080611a118561118b565b91509150600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015611a5157600080fd5b505afa158015611a65573d6000803e3d6000fd5b505050506040513d6060811015611a7b57600080fd5b5080516020909101516001600160701b0391821693501690506103e882118015611aa657506103e881115b611ae15760405162461bcd60e51b81526004018080602001828103825260268152602001806127f66026913960400191505060405180910390fd5b6000856001600160a01b0316846001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015611b2657600080fd5b505afa158015611b3a573d6000803e3d6000fd5b505050506040513d6020811015611b5057600080fd5b50516001600160a01b03161490508080611bdf5750856001600160a01b0316846001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b158015611ba857600080fd5b505afa158015611bbc573d6000803e3d6000fd5b505050506040513d6020811015611bd257600080fd5b50516001600160a01b0316145b611c1a5760405162461bcd60e51b815260040180806020018281038252602f81526020018061288a602f913960400191505060405180910390fd5b6040805160028082526060820183526000926020830190803683370190505090508681600081518110611c4957fe5b60200260200101906001600160a01b031690816001600160a01b03168152505081611cd857846001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015611ca757600080fd5b505afa158015611cbb573d6000803e3d6000fd5b505050506040513d6020811015611cd157600080fd5b5051611d3e565b846001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b158015611d1157600080fd5b505afa158015611d25573d6000803e3d6000fd5b505050506040513d6020811015611d3b57600080fd5b50515b81600181518110611d4b57fe5b6001600160a01b03928316602091820292909201810191909152604080516370a0823160e01b815230600482015290516000938b16926370a082319260248082019391829003018186803b158015611da257600080fd5b505afa158015611db6573d6000803e3d6000fd5b505050506040513d6020811015611dcc57600080fd5b5051905060008315611dea57611de3828787611340565b9050611df8565b611df5828688611340565b90505b611e08836000815181106108b957fe5b60007f0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b479975066001600160a01b03166338ed1739838d8730426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015611eae578181015183820152602001611e96565b505050509050019650505050505050600060405180830381600087803b158015611ed757600080fd5b505af1158015611eeb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611f1457600080fd5b8101908080516040519392919084640100000000821115611f3457600080fd5b908301906020820185811115611f4957600080fd5b8251866020820283011164010000000082111715611f6657600080fd5b82525081516020918201928201910280838360005b83811015611f93578181015183820152602001611f7b565b505050509050016040525050509050611fb2846001815181106108b957fe5b60007f0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b479975066001600160a01b031663e8e3370086600081518110611ff057fe5b60200260200101518760018151811061200557fe5b60200260200101516120348660008151811061201d57fe5b60200260200101518961222590919063ffffffff16565b8660018151811061204157fe5b602002602001015160018030426040518963ffffffff1660e01b815260040180896001600160a01b03168152602001886001600160a01b03168152602001878152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200198505050505050505050606060405180830381600087803b1580156120d057600080fd5b505af11580156120e4573d6000803e3d6000fd5b505050506040513d60608110156120fa57600080fd5b5060400151905061210b898b6116c1565b896001600160a01b031663b6b55f25826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561215157600080fd5b505af1158015612165573d6000803e3d6000fd5b505050506121f7338b6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156121ba57600080fd5b505afa1580156121ce573d6000803e3d6000fd5b505050506040513d60208110156121e457600080fd5b50516001600160a01b038d16919061242e565b61220085611757565b50505050505050505050505050565b8082018281101561221f57600080fd5b92915050565b8082038281111561221f57600080fd5b60008161224457506000612378565b816001600160801b821061225d5760809190911c9060401b5b6801000000000000000082106122785760409190911c9060201b5b640100000000821061228f5760209190911c9060101b5b6201000082106122a45760109190911c9060081b5b61010082106122b85760089190911c9060041b5b601082106122cb5760049190911c9060021b5b600882106122d75760011b5b60018185816122e257fe5b048201901c905060018185816122f457fe5b048201901c9050600181858161230657fe5b048201901c9050600181858161231857fe5b048201901c9050600181858161232a57fe5b048201901c9050600181858161233c57fe5b048201901c9050600181858161234e57fe5b048201901c9050600081858161236057fe5b0490508082106123705780612372565b815b93505050505b919050565b60006123d2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166125939092919063ffffffff16565b805190915015611a00578080602001905160208110156123f157600080fd5b5051611a005760405162461bcd60e51b815260040180806020018281038252602a81526020018061293a602a913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611a0090849061237d565b801580612506575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156124d857600080fd5b505afa1580156124ec573d6000803e3d6000fd5b505050506040513d602081101561250257600080fd5b5051155b6125415760405162461bcd60e51b81526004018080602001828103825260368152602001806129646036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611a0090849061237d565b60606125a284846000856125ac565b90505b9392505050565b6060824710156125ed5760405162461bcd60e51b81526004018080602001828103825260268152602001806128426026913960400191505060405180910390fd5b6125f6856126fc565b612647576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b602083106126855780518252601f199092019160209182019101612666565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146126e7576040519150601f19603f3d011682016040523d82523d6000602084013e6126ec565b606091505b50915091506114c3828286612702565b3b151590565b606083156127115750816125a5565b8251156127215782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561276b578181015183820152602001612753565b50505050905090810190601f1680156127985780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe42656566793a20496e7369676e69666963616e7420696e70757420616d6f756e7442656566793a20574554482061646472657373206e6f74206d61746368696e6720526f757465722e57455448282942656566793a204c6971756964697479207061697220726573657276657320746f6f206c6f77556e69737761705632526f757465723a20494e53554646494349454e545f425f414d4f554e54416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c42656566793a20496e70757420746f6b656e206973206e6f7420617070726f76656442656566793a20496e70757420746f6b656e206e6f742070726573656e7420696e206c69717564697479207061697242656566793a206465736972656420746f6b656e206e6f742070726573656e7420696e206c69717564697479207061697242656566793a20496e636f6d70617469626c65206c6971756964697479207061697220666163746f7279556e69737761705632526f757465723a20494e53554646494349454e545f415f414d4f554e545361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220716182e5043934f0f7acd59ef1b2835204ae17919fbfa7083e98aac185879bb464736f6c63430007060033

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

0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b4799750600000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1

-----Decoded View---------------
Arg [0] : _router (address): 0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506
Arg [1] : _WETH (address): 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b47997506
Arg [1] : 00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1


Deployed ByteCode Sourcemap

31023:7754:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31480:10;-1:-1:-1;;;;;31494:4:0;31480:18;;31473:26;;;;31023:7754;;;;;37543:809;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37543:809:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;37543:809:0;;;;;;;;;;;;;;32968:1017;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32968:1017:0;;;;;;;;;;;;;;;;;;;;:::i;31515:290::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31515:290:0;;;;;;;;:::i;38360:183::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;32309:651;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32309:651:0;;;;;;;;:::i;31216:29::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;31216:29:0;;;;;;;;;;;;;;31252:44;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;31813:488;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31813:488:0;;;;;;;;;;;;;;;;;;;;:::i;31167:42::-;;;;;;;;;;;;;:::i;37543:809::-;37648:20;37670:21;37693:20;37726:11;:9;:11::i;:::-;;37751:19;37774:25;37788:10;37774:13;:25::i;:::-;37748:51;;;37812:13;37845:7;-1:-1:-1;;;;;37828:24:0;:4;-1:-1:-1;;;;;37828:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37828:13:0;-1:-1:-1;;;;;37828:24:0;;;-1:-1:-1;37828:24:0;;37871:36;;;37900:7;-1:-1:-1;;;;;37883:24:0;:4;-1:-1:-1;;;;;37883:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37883:13:0;-1:-1:-1;;;;;37883:24:0;;37871:36;37863:96;;;;-1:-1:-1;;;37863:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37973:16;37991;38012:4;-1:-1:-1;;;;;38012:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38012:18:0;;;;;;;-1:-1:-1;;;;;37972:58:0;;;;-1:-1:-1;37972:58:0;;-1:-1:-1;38064:8:0;:54;;38099:8;38109;38064:54;;;38076:8;38086;38064:54;38041:77;;-1:-1:-1;38041:77:0;-1:-1:-1;38146:52:0;38161:16;38041:77;;38146:14;:52::i;:::-;38131:67;;38225:6;-1:-1:-1;;;;;38225:19:0;;38245:12;38259:8;38269;38225:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38225:53:0;;-1:-1:-1;38304:8:0;:40;;38331:4;-1:-1:-1;;;;;38331:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38331:13:0;38304:40;;;38315:4;-1:-1:-1;;;;;38315:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38315:13:0;38304:40;38289:55;;37543:809;;;;;;;;;;;:::o;32968:1017::-;33107:19;33128;33151:25;33165:10;33151:13;:25::i;:::-;33106:70;;;;33187:14;33204:4;-1:-1:-1;;;;;33204:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33204:13:0;33245;;;-1:-1:-1;;;33245:13:0;;;;33204;;-1:-1:-1;33228:14:0;;-1:-1:-1;;;;;33245:11:0;;;;;:13;;;;;33204;;33245;;;;;;;:11;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33245:13:0;;-1:-1:-1;;;;;;33277:22:0;;;;;;;;:48;;;33313:12;-1:-1:-1;;;;;33303:22:0;:6;-1:-1:-1;;;;;33303:22:0;;33277:48;33269:110;;;;-1:-1:-1;;;33269:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33392:65;-1:-1:-1;;;;;33392:22:0;;33415:10;33435:4;33442:14;33392:22;:65::i;:::-;33468:5;-1:-1:-1;;;;;33468:14:0;;33483;33468:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33509:45;33533:4;33548;33509:15;:45::i;:::-;33567:17;33597:12;-1:-1:-1;;;;;33587:22:0;:6;-1:-1:-1;;;;;33587:22:0;;:40;;33621:6;33587:40;;;33612:6;33587:40;33662:16;;;33676:1;33662:16;;;;;;;;33567:60;;-1:-1:-1;33638:21:0;;33662:16;;;;;;;;;;;;-1:-1:-1;33662:16:0;33638:40;;33699:9;33689:4;33694:1;33689:7;;;;;;;;;;;;;:19;-1:-1:-1;;;;;33689:19:0;;;-1:-1:-1;;;;;33689:19:0;;;;;33729:12;33719:4;33724:1;33719:7;;;;;;;;;;;;;:22;-1:-1:-1;;;;;33719:22:0;;;-1:-1:-1;;;;;33719:22:0;;;;;33754:47;33776:4;33781:1;33776:7;;;;;;;;;;;;;;33793:6;33754:21;:47::i;:::-;33812:6;-1:-1:-1;;;;;33812:31:0;;33851:9;-1:-1:-1;;;;;33844:27:0;;33880:4;33844:42;;;;;;;;;;;;;-1:-1:-1;;;;;33844:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33844:42:0;33812:133;;-1:-1:-1;;;;;;33812:133:0;;;;;;;;;;;;;;;;;;;33922:4;33812:133;;;;;;33929:15;33812:133;;;;;;;;;;;;;;;;;;;;;33888:18;;33908:4;;33812:133;;;;;;;33844:42;33812:133;;;;;;;;-1:-1:-1;33812:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33812:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33812:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33958:19;33972:4;33958:13;:19::i;:::-;32968:1017;;;;;;;;;;:::o;31515:290::-;31292:4;31618:9;:26;;31610:72;;;;-1:-1:-1;;;31610:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31701:4;-1:-1:-1;;;;;31695:19:0;;31722:9;31695:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31747:50;31761:10;31773:17;31792:4;31747:13;:50::i;:::-;31515:290;;:::o;38360:183::-;38402:12;38445:6;-1:-1:-1;;;;;38445:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38445:13:0;38437:4;-1:-1:-1;;;;;38437:21:0;;;;;;;-1:-1:-1;38437:21:0;38469:66;;;;-1:-1:-1;;;38469:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38360:183;:::o;32309:651::-;32392:19;32413;32436:25;32450:10;32436:13;:25::i;:::-;32391:70;;-1:-1:-1;32391:70:0;-1:-1:-1;32474:78:0;-1:-1:-1;;;;;32474:35:0;;32510:10;32530:4;32537:14;32474:35;:78::i;:::-;32563:5;-1:-1:-1;;;;;32563:14:0;;32578;32563:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32627:4;-1:-1:-1;;;;;32610:21:0;:4;-1:-1:-1;;;;;32610:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32610:13:0;-1:-1:-1;;;;;32610:21:0;;;;;:46;;;32652:4;-1:-1:-1;;;;;32635:21:0;:4;-1:-1:-1;;;;;32635:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32635:13:0;-1:-1:-1;;;;;32635:21:0;;;32610:46;32606:128;;;32680:42;32704:4;32711:10;32680:15;:42::i;:::-;32673:49;;;;32606:128;32746:45;32770:4;32785;32746:15;:45::i;:::-;32830:16;;;32844:1;32830:16;;;;;;;;32804:23;;32830:16;;;;;;;;;;-1:-1:-1;32830:16:0;32804:42;;32869:4;-1:-1:-1;;;;;32869:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32869:13:0;32857:9;;:6;;32864:1;;32857:9;;;;;;;;;:25;-1:-1:-1;;;;;32857:25:0;;;-1:-1:-1;;;;;32857:25:0;;;;;32905:4;-1:-1:-1;;;;;32905:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32905:13:0;32893:9;;:6;;32900:1;;32893:9;;;;;;;;;;;:25;-1:-1:-1;;;;;32893:25:0;;;-1:-1:-1;;;;;32893:25:0;;;;;32931:21;32945:6;32931:13;:21::i;:::-;32309:651;;;;;:::o;31216:29::-;;;:::o;31252:44::-;31292:4;31252:44;:::o;31813:488::-;31292:4;31945:13;:30;;31937:76;;;;-1:-1:-1;;;31937:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32032:52;;;-1:-1:-1;;;32032:52:0;;32058:10;32032:52;;;;32078:4;32032:52;;;;;;32088:13;;-1:-1:-1;;;;;32032:25:0;;;;;:52;;;;;;;;;;;;;;;:25;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32032:52:0;:69;;32024:116;;;;-1:-1:-1;;;32024:116:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32153:74;-1:-1:-1;;;;;32153:32:0;;32186:10;32206:4;32213:13;32153:32;:74::i;:::-;32240:53;32254:10;32266:17;32285:7;32240:13;:53::i;:::-;31813:488;;;;:::o;31167:42::-;;;:::o;34400:306::-;34466:19;34487;34541:10;34519:33;;34585:5;-1:-1:-1;;;;;34585:10:0;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34585:12:0;34635:16;;;-1:-1:-1;;;34635:16:0;;;;34585:12;;-1:-1:-1;;;;;;34635:6:0;:14;;;;:16;;;;;34585:12;;34635:16;;;;;;;;:14;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34635:16:0;34617:14;;;-1:-1:-1;;;34617:14:0;;;;-1:-1:-1;;;;;34617:34:0;;;;:12;;;;;:14;;;;;34635:16;;34617:14;;;;;;;:12;:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34617:14:0;-1:-1:-1;;;;;34617:34:0;;34609:89;;;;-1:-1:-1;;;34609:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34400:306;;;:::o;37036:499::-;37139:18;;37209:1;37195:11;:15;37170:40;;37221:17;37241:6;-1:-1:-1;;;;;37241:19:0;;37261:14;37277:8;37287;37241:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37241:55:0;;-1:-1:-1;37307:19:0;-1:-1:-1;;;;;37329:6:0;:12;;37342:14;37358:28;:8;37342:14;37358:12;:28::i;:::-;37388:23;:8;37401:9;37388:12;:23::i;:::-;37329:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37329:83:0;;-1:-1:-1;37436:91:0;37452:74;37329:83;37468:31;;;:43;;37329:83;37468:57;;;;;37452:15;:74::i;:::-;37436:11;;:15;:91::i;:::-;37423:104;37036:499;-1:-1:-1;;;;;;;37036:499:0:o;20293:205::-;20421:68;;;-1:-1:-1;;;;;20421:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20421:68:0;-1:-1:-1;;;20421:68:0;;;20394:96;;20414:5;;20394:19;:96::i;33993:399::-;34063:70;34089:4;34102;-1:-1:-1;;;;;34095:22:0;;34126:4;34095:37;;;;;;;;;;;;;-1:-1:-1;;;;;34095:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34095:37:0;-1:-1:-1;;;;;34063:25:0;;;:70;:25;:70::i;:::-;34145:15;34162;34196:4;-1:-1:-1;;;;;34181:25:0;;34207:2;34181:29;;;;;;;;;;;;;-1:-1:-1;;;;;34181:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34181:29:0;;;;;;;;;-1:-1:-1;34181:29:0;-1:-1:-1;31292:4:0;34231:24;;;34223:75;;;;-1:-1:-1;;;34223:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31292:4;34317:7;:24;;34309:75;;;;-1:-1:-1;;;34309:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38551:221;38637:47;;;-1:-1:-1;;;38637:47:0;;38669:4;38637:47;;;;-1:-1:-1;;;;;38637:47:0;;;;;;;;;:23;;;;;;:47;;;;;;;;;;;;;;;:23;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38637:47:0;38633:132;;38706:47;-1:-1:-1;;;;;38706:25:0;;38732:7;-1:-1:-1;;38706:25:0;:47::i;36394:634::-;36461:15;36492:9;36487:534;36507:6;:13;36503:1;:17;36487:534;;;36559:6;36566:1;36559:9;;;;;;;;;;;;;;-1:-1:-1;;;;;36552:27:0;;36588:4;36552:42;;;;;;;;;;;;;-1:-1:-1;;;;;36552:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36552:42:0;;-1:-1:-1;36613:11:0;;36609:401;;36662:4;-1:-1:-1;;;;;36649:17:0;:6;36656:1;36649:9;;;;;;;;;;;;;;-1:-1:-1;;;;;36649:17:0;;36645:350;;;36697:4;-1:-1:-1;;;;;36691:20:0;;36712:7;36691:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36793:12:0;;;36744;36793;;;;;;;;;;36761:45;;36744:12;;-1:-1:-1;36761:10:0;;-1:-1:-1;36784:7:0;;36793:12;;;;;36761:45;36793:12;;36761:45;;;;;;;;;;-1:-1:-1;;36761:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36743:63;;;36837:7;36829:46;;;;;-1:-1:-1;;;36829:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36645:350;;;;36924:51;36955:10;36967:7;36931:6;36938:1;36931:9;;;;;;;;;;;;;;-1:-1:-1;;;;;36924:30:0;;;:51;;;;;:::i;:::-;36522:3;;36487:534;;;;36394:634;;:::o;34714:1672::-;34821:19;34842;34865:25;34879:10;34865:13;:25::i;:::-;34820:70;;;;34904:16;34922;34943:4;-1:-1:-1;;;;;34943:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34943:18:0;;;;;;;-1:-1:-1;;;;;34903:58:0;;;;-1:-1:-1;34903:58:0;;-1:-1:-1;31292:4:0;34980:24;;:52;;;;;31292:4;35008:8;:24;34980:52;34972:103;;;;-1:-1:-1;;;34972:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35088:13;35121:7;-1:-1:-1;;;;;35104:24:0;:4;-1:-1:-1;;;;;35104:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35104:13:0;-1:-1:-1;;;;;35104:24:0;;;-1:-1:-1;35104:24:0;;35147:36;;;35176:7;-1:-1:-1;;;;;35159:24:0;:4;-1:-1:-1;;;;;35159:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35159:13:0;-1:-1:-1;;;;;35159:24:0;;35147:36;35139:96;;;;-1:-1:-1;;;35139:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35272:16;;;35286:1;35272:16;;;;;;;;35248:21;;35272:16;;;;;;;;;;-1:-1:-1;35272:16:0;35248:40;;35309:7;35299:4;35304:1;35299:7;;;;;;;;;;;;;:17;-1:-1:-1;;;;;35299:17:0;;;-1:-1:-1;;;;;35299:17:0;;;;;35337:8;:40;;35364:4;-1:-1:-1;;;;;35364:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35364:13:0;35337:40;;;35348:4;-1:-1:-1;;;;;35348:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35348:13:0;35337:40;35327:4;35332:1;35327:7;;;;;;;;-1:-1:-1;;;;;35327:50:0;;;:7;;;;;;;;;;:50;;;;35415:40;;;-1:-1:-1;;;35415:40:0;;35449:4;35415:40;;;;;;35390:22;;35415:25;;;;;:40;;;;;;;;;;;:25;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35415:40:0;;-1:-1:-1;35466:20:0;35497:204;;;;35541:50;35556:14;35572:8;35582;35541:14;:50::i;:::-;35526:65;;35497:204;;;35639:50;35654:14;35670:8;35680;35639:14;:50::i;:::-;35624:65;;35497:204;35713:47;35735:4;35740:1;35735:7;;;;;;;35713:47;35771:30;35804:6;-1:-1:-1;;;;;35804:45:0;;35850:12;35864:17;35883:4;35897;35904:15;35804:116;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35804:116:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;35804:116:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35804:116:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35771:149;;35933:47;35955:4;35960:1;35955:7;;;;;;;35933:47;35995:23;36022:6;-1:-1:-1;;;;;36022:33:0;;36056:4;36061:1;36056:7;;;;;;;;;;;;;;36065:4;36070:1;36065:7;;;;;;;;;;;;;;36074:36;36093:13;36107:1;36093:16;;;;;;;;;;;;;;36074:14;:18;;:36;;;;:::i;:::-;36112:13;36126:1;36112:16;;;;;;;;;;;;;;36130:1;36133;36144:4;36151:15;36022:145;;;;;;;;;;;;;-1:-1:-1;;;;;36022:145:0;;;;;;-1:-1:-1;;;;;36022:145:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36022:145:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36022:145:0;;;;-1:-1:-1;36180:52:0;36210:4;36225:5;36180:21;:52::i;:::-;36243:5;-1:-1:-1;;;;;36243:13:0;;36257:15;36243:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36286:62;36305:10;36317:5;-1:-1:-1;;;;;36317:15:0;;36341:4;36317:30;;;;;;;;;;;;;-1:-1:-1;;;;;36317:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36317:30:0;-1:-1:-1;;;;;36286:18:0;;;:62;:18;:62::i;:::-;36359:19;36373:4;36359:13;:19::i;:::-;34714:1672;;;;;;;;;;;;;:::o;23630:113::-;23723:5;;;23718:16;;;;23710:25;;;;;;23630:113;;;;:::o;23913:::-;24006:5;;;24001:16;;;;23993:25;;;;;3026:1239;3074:7;3098:6;3094:20;;-1:-1:-1;3113:1:0;3106:8;;3094:20;3292:1;3316;-1:-1:-1;;;3332:41:0;;3328:107;;3397:3;3390:10;;;;;3421:2;3415:8;3328:107;3455:19;3449:2;:25;3445:90;;3498:2;3491:9;;;;;3521:2;3515:8;3445:90;3555:11;3549:2;:17;3545:82;;3590:2;3583:9;;;;;3613:2;3607:8;3545:82;3647:7;3641:2;:13;3637:77;;3678:2;3671:9;;;;;3701:1;3695:7;3637:77;3734:5;3728:2;:11;3724:74;;3763:1;3756:8;;;;;3785:1;3779:7;3724:74;3818:4;3812:2;:10;3808:73;;3846:1;3839:8;;;;;3868:1;3862:7;3808:73;3901:3;3895:2;:9;3891:49;;3927:1;3921:7;3891:49;3969:1;3963;3959;:5;;;;;;3955:1;:9;3954:16;;3950:20;;4000:1;3994;3990;:5;;;;;;3986:1;:9;3985:16;;3981:20;;4031:1;4025;4021;:5;;;;;;4017:1;:9;4016:16;;4012:20;;4062:1;4056;4052;:5;;;;;;4048:1;:9;4047:16;;4043:20;;4093:1;4087;4083;:5;;;;;;4079:1;:9;4078:16;;4074:20;;4124:1;4118;4114;:5;;;;;;4110:1;:9;4109:16;;4105:20;;4155:1;4149;4145;:5;;;;;;4141:1;:9;4140:16;;4136:20;;4204:10;4221:1;4217;:5;;;;;;4204:18;;4245:2;4241:1;:6;:15;;4254:2;4241:15;;;4250:1;4241:15;4233:24;;;;;3026:1239;;;;:::o;22413:761::-;22837:23;22863:69;22891:4;22863:69;;;;;;;;;;;;;;;;;22871:5;-1:-1:-1;;;;;22863:27:0;;;:69;;;;;:::i;:::-;22947:17;;22837:95;;-1:-1:-1;22947:21:0;22943:224;;23089:10;23078:30;;;;;;;;;;;;;;;-1:-1:-1;23078:30:0;23070:85;;;;-1:-1:-1;;;23070:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20108:177;20218:58;;;-1:-1:-1;;;;;20218:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20218:58:0;-1:-1:-1;;;20218:58:0;;;20191:86;;20211:5;;20191:19;:86::i;20767:622::-;21137:10;;;21136:62;;-1:-1:-1;21153:39:0;;;-1:-1:-1;;;21153:39:0;;21177:4;21153:39;;;;-1:-1:-1;;;;;21153:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21153:39:0;:44;21136:62;21128:152;;;;-1:-1:-1;;;21128:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21318:62;;;-1:-1:-1;;;;;21318:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21318:62:0;-1:-1:-1;;;21318:62:0;;;21291:90;;21311:5;;21291:19;:90::i;16124:195::-;16227:12;16259:52;16281:6;16289:4;16295:1;16298:12;16259:21;:52::i;:::-;16252:59;;16124:195;;;;;;:::o;17176:530::-;17303:12;17361:5;17336:21;:30;;17328:81;;;;-1:-1:-1;;;17328:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17428:18;17439:6;17428:10;:18::i;:::-;17420:60;;;;;-1:-1:-1;;;17420:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17554:12;17568:23;17595:6;-1:-1:-1;;;;;17595:11:0;17615:5;17623:4;17595:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17595:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17553:75;;;;17646:52;17664:7;17673:10;17685:12;17646:17;:52::i;13206:422::-;13573:20;13612:8;;;13206:422::o;18712:742::-;18827:12;18856:7;18852:595;;;-1:-1:-1;18887:10:0;18880:17;;18852:595;19001:17;;:21;18997:439;;19264:10;19258:17;19325:15;19312:10;19308:2;19304:19;19297:44;19212:148;19407:12;19400:20;;-1:-1:-1;;;19400:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Metadata Hash

716182e5043934f0f7acd59ef1b2835204ae17919fbfa7083e98aac185879bb4
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.