Contract 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7

 
Txn Hash Method
Index
From
To
Value
0x8229eec69d042d84ed0975306c40dd15f5f00145a0b439de3329bbcfb674bdbdSwap Tokens For ...8272792022-09-30 0:33:008 hrs 28 mins ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70 Ether0.0001844151
0xa7185afb34af1f873f34089c2a4463cdc7582dd27b68820f516f45d8f21d4552Swap Exact Token...8272292022-09-29 23:14:029 hrs 47 mins ago0x81c81892aca6b287b3626b02d5f50aa29e08a079 IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70 Ether0.0002522181
0xee321ce91e94079eefb2c91fd5bc9dda38c0be49cc715cba6d23c5f562888e52Swap Tokens For ...8270152022-09-29 16:43:4016 hrs 17 mins ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70 Ether0.0002295991
0x75fa7b22aa77846c4cbd93e2c9d7ca9ae6a08cdd74de2c1d5278c02e8af1eaadSwap Exact ETH F...8268712022-09-29 14:15:3418 hrs 46 mins ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.162 Ether0.0001924211
0xa8efec9eda871d695170af8a2a0d334fae434d97802391e59130f859df4516d7Swap Exact ETH F...8268512022-09-29 13:50:1419 hrs 11 mins ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.15 Ether0.0001810561
0xebef8ac34cd9e088c96fbe1a11e08b0e1894192e49280779aa4cf2dae6a440f5Swap Exact ETH F...8268462022-09-29 13:44:5019 hrs 16 mins ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.153 Ether0.0001810561
0x9489f44aae644825d942b36151bacabcce88820f99b1cf7c7c1c7b5f393e3c0bSwap Exact ETH F...8268372022-09-29 13:41:1019 hrs 20 mins ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.1575 Ether0.0001825681
0x931d2a6b71e8d89422835405653c645b253748b7586e98241f697918b3d9c07fSwap Exact ETH F...8266452022-09-29 7:08:101 day 1 hr ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.153 Ether0.0001614881
0x99c7e45b27f7414d0109734a9ebedb7dc26166c6a02c8a8d3d89da7445e002d6Swap Exact ETH F...8266092022-09-29 6:11:101 day 2 hrs ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.165 Ether0.0001630081
0x43b46ca8c0b852dcfcdedd64ab06633438f8a0c8153aa009c00f4a048d422d9eSwap Tokens For ...8263132022-09-28 19:49:111 day 13 hrs ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70 Ether0.0001970131
0x4c66f20c7cff1f3a484536eca1fe37b819425b7f293bf51f151cef5387bce0baSwap Exact ETH F...8258462022-09-28 10:05:331 day 22 hrs ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.24 Ether0.0001646191
0xd3dbfc5d221faed5b1645c64083948f5ee05e87bf1113d647ac854e90abf1468Swap Exact ETH F...8257562022-09-28 7:13:592 days 1 hr ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.15 Ether0.0001804241
0x63ae6c5d12be51c3fd4baf4dc0fe6c9896423c07a5e0cb2e13e0a611c1df3607Swap Exact ETH F...8256292022-09-28 2:35:232 days 6 hrs ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.1575 Ether0.0001662181
0x22d2594905f653f4f1e4085e1bb33ccd31c5eada73f097a41440804a90c96fd3Swap Exact ETH F...8256202022-09-28 2:31:112 days 6 hrs ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.153 Ether0.0001662181
0x15c49dd82d27556cd8049851b4b1c0824bd812c744aa5cdd1a18b68f968e073fSwap Exact ETH F...8256072022-09-28 2:17:232 days 6 hrs ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.195 Ether0.0001576341
0x6093049dbb5c28b4cc5553cf4f36a5c69cdbe31223e344d6d58b25c6f5dee39bSwap Exact ETH F...8255952022-09-28 2:12:462 days 6 hrs ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.18 Ether0.0001576341
0x8d5385b73b83f0e76f9e39a51fb2adf3f78c1b4e17c6d4688e2a0648a74e542cSwap Exact ETH F...8255812022-09-28 2:06:022 days 6 hrs ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.165 Ether0.000158661
0x420b2c76603a57356b71a03edb896bfe4f86d7c530460b1bfae3b52e83f981b8Swap Exact ETH F...8255642022-09-28 1:41:402 days 7 hrs ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.15 Ether0.0001651681
0x1566312bcdd0a2d79c199d9b9861310fb15c91d2db6a74fc95722b0143417dd3Add Liquidity ET...8254462022-09-27 21:48:322 days 11 hrs ago0xe9d97b4e3a36640786720c51256a017f2d5963de IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.004471547660385 Ether0.6212067921
0xfd8dfb4beac30d50a4f0fb974c551ae8396b78798fe241d3266d96c44d045505Swap Exact ETH F...8254452022-09-27 21:47:532 days 11 hrs ago0xe9d97b4e3a36640786720c51256a017f2d5963de IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.002 Ether0.7800892321
0x91576ad44e8a27c354f57719997ada5f9496069721518a5751e5e3e123656817Swap Exact Token...8254442022-09-27 21:47:092 days 11 hrs ago0xe9d97b4e3a36640786720c51256a017f2d5963de IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70 Ether1.0308104321
0x9899459f21feb075178f9306d535c233e5c49f5410f45e46d8f140c83f70c6bcSwap Exact Token...8252482022-09-27 17:58:272 days 15 hrs ago0x89db10868fca68b529d55620d0e88ab4bf519f95 IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70 Ether0.00031861
0xa823cb7e82bace5204c4678e91087872c33d0114f35a859384df4dee0d4af6f7Swap Exact ETH F...8252432022-09-27 17:55:592 days 15 hrs ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.165 Ether0.0002521081
0x8a911a276e1ebfce0210ef8cce4ca110cde32abefc3867c037e65f5d76b7dbedSwap Exact ETH F...8252332022-09-27 17:42:012 days 15 hrs ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.15 Ether0.0002784151
0x27f59eb928c917ebf0d6011f9fe0bb6f550e7c9557448afc4a99655dc11e932fSwap Exact ETH F...8251872022-09-27 16:52:122 days 16 hrs ago0x2b8cd75d3e679531918feebb9f095a17c982baca IN  0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.15 Ether0.0003580481
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x8229eec69d042d84ed0975306c40dd15f5f00145a0b439de3329bbcfb674bdbd8272792022-09-30 0:33:008 hrs 28 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70x2b8cd75d3e679531918feebb9f095a17c982baca0.15 Ether
0x8229eec69d042d84ed0975306c40dd15f5f00145a0b439de3329bbcfb674bdbd8272792022-09-30 0:33:008 hrs 28 mins ago Null Address: 0x00...dEaD 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.15 Ether
0x8229eec69d042d84ed0975306c40dd15f5f00145a0b439de3329bbcfb674bdbd8272792022-09-30 0:33:008 hrs 28 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7Null Address: 0x00...dEaD0 Ether
0x8229eec69d042d84ed0975306c40dd15f5f00145a0b439de3329bbcfb674bdbd8272792022-09-30 0:33:008 hrs 28 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x434d9d0a7ff9f95c733b0f7fe27205252f9f91d80 Ether
0x8229eec69d042d84ed0975306c40dd15f5f00145a0b439de3329bbcfb674bdbd8272792022-09-30 0:33:008 hrs 28 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7Boba Network: USDT Token0 Ether
0x8229eec69d042d84ed0975306c40dd15f5f00145a0b439de3329bbcfb674bdbd8272792022-09-30 0:33:008 hrs 28 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x06350499760aa3ea20fed2837321a84a92417f390 Ether
0x8229eec69d042d84ed0975306c40dd15f5f00145a0b439de3329bbcfb674bdbd8272792022-09-30 0:33:008 hrs 28 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x06350499760aa3ea20fed2837321a84a92417f390 Ether
0x8229eec69d042d84ed0975306c40dd15f5f00145a0b439de3329bbcfb674bdbd8272792022-09-30 0:33:008 hrs 28 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x06350499760aa3ea20fed2837321a84a92417f390 Ether
0x8229eec69d042d84ed0975306c40dd15f5f00145a0b439de3329bbcfb674bdbd8272792022-09-30 0:33:008 hrs 28 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x434d9d0a7ff9f95c733b0f7fe27205252f9f91d80 Ether
0xa7185afb34af1f873f34089c2a4463cdc7582dd27b68820f516f45d8f21d45528272292022-09-29 23:14:029 hrs 47 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x701f6715b668c7af26489e39c70578e3c440251b0 Ether
0xa7185afb34af1f873f34089c2a4463cdc7582dd27b68820f516f45d8f21d45528272292022-09-29 23:14:029 hrs 47 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x1f85a954d843cd356f6cba5a4bfee02fdfdaf9d40 Ether
0xa7185afb34af1f873f34089c2a4463cdc7582dd27b68820f516f45d8f21d45528272292022-09-29 23:14:029 hrs 47 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0xe48703f5adfe59d271d951c2e602f654b86736e70 Ether
0xa7185afb34af1f873f34089c2a4463cdc7582dd27b68820f516f45d8f21d45528272292022-09-29 23:14:029 hrs 47 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x06350499760aa3ea20fed2837321a84a92417f390 Ether
0xa7185afb34af1f873f34089c2a4463cdc7582dd27b68820f516f45d8f21d45528272292022-09-29 23:14:029 hrs 47 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x06350499760aa3ea20fed2837321a84a92417f390 Ether
0xa7185afb34af1f873f34089c2a4463cdc7582dd27b68820f516f45d8f21d45528272292022-09-29 23:14:029 hrs 47 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x06350499760aa3ea20fed2837321a84a92417f390 Ether
0xa7185afb34af1f873f34089c2a4463cdc7582dd27b68820f516f45d8f21d45528272292022-09-29 23:14:029 hrs 47 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x701f6715b668c7af26489e39c70578e3c440251b0 Ether
0xa7185afb34af1f873f34089c2a4463cdc7582dd27b68820f516f45d8f21d45528272292022-09-29 23:14:029 hrs 47 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x06350499760aa3ea20fed2837321a84a92417f390 Ether
0xa7185afb34af1f873f34089c2a4463cdc7582dd27b68820f516f45d8f21d45528272292022-09-29 23:14:029 hrs 47 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x06350499760aa3ea20fed2837321a84a92417f390 Ether
0xa7185afb34af1f873f34089c2a4463cdc7582dd27b68820f516f45d8f21d45528272292022-09-29 23:14:029 hrs 47 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x06350499760aa3ea20fed2837321a84a92417f390 Ether
0xa7185afb34af1f873f34089c2a4463cdc7582dd27b68820f516f45d8f21d45528272292022-09-29 23:14:029 hrs 47 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x1f85a954d843cd356f6cba5a4bfee02fdfdaf9d40 Ether
0xee321ce91e94079eefb2c91fd5bc9dda38c0be49cc715cba6d23c5f562888e528270152022-09-29 16:43:4016 hrs 17 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70x2b8cd75d3e679531918feebb9f095a17c982baca0.15 Ether
0xee321ce91e94079eefb2c91fd5bc9dda38c0be49cc715cba6d23c5f562888e528270152022-09-29 16:43:4016 hrs 17 mins ago Null Address: 0x00...dEaD 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c70.15 Ether
0xee321ce91e94079eefb2c91fd5bc9dda38c0be49cc715cba6d23c5f562888e528270152022-09-29 16:43:4016 hrs 17 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7Null Address: 0x00...dEaD0 Ether
0xee321ce91e94079eefb2c91fd5bc9dda38c0be49cc715cba6d23c5f562888e528270152022-09-29 16:43:4016 hrs 17 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7 0x434d9d0a7ff9f95c733b0f7fe27205252f9f91d80 Ether
0xee321ce91e94079eefb2c91fd5bc9dda38c0be49cc715cba6d23c5f562888e528270152022-09-29 16:43:4016 hrs 17 mins ago 0x0f175392971a0a90f59e2c0b40f2d7bdc2f5b6c7Boba Network: USDT Token0 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GinFinanceRouter02

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at bobascan.com on 2022-08-04
*/

// File: contracts/interfaces/IGinFinancePair.sol

// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.6.12;

interface IGinFinancePair {
    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 price(address token, uint256 baseDecimal) external view returns (uint256);

    function initialize(address, address) external;
}

// File: contracts/interfaces/IGinFinanceFactory.sol

pragma solidity 0.6.12;

interface IGinFinanceFactory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);
    event SetPairFeeSetter(address pairFeeSetter);
    event SetPairFee(address indexed pair, uint pairFee);
    event SetDefaultFeeSetter(address defaultFeeSetter);
    event SetDefaultFee(uint defaultFee);
    event SetFeeToAllocSetter(address feeToAllocSetter);
    event SetFeeToAlloc(uint feeToAlloc);
    event SetFeeToSetter(address feeToSetter);
    event SetFeeTo(address feeTo);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);
    function feeToAlloc() external view returns (uint);
    function feeToAllocSetter() external view returns (address);
    function defaultFee() external view returns (uint);
    function defaultFeeSetter() external view returns (address);
    function FEE_DENOMINATOR() external view returns (uint);
    function getPairFee(address pair) external view returns (uint);
    function pairFeeSetter() external view returns (address);

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

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

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
    function setFeeToAlloc(uint) external;
    function setFeeToAllocSetter(address) external;
    function setDefaultFee(uint) external;
    function setDefaultFeeSetter(address) external;
    function setPairFee(address pair, uint fee) external;
    function setPairFeeSetter(address) external;
}

// File: contracts/libraries/SafeMath.sol

pragma solidity 0.6.12;

/**
 * @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;
    }
}

// File: contracts/libraries/GinFinanceLibrary.sol

pragma solidity 0.6.12;


library GinFinanceLibrary {
    using SafeMath for uint;

    // returns sorted token addresses, used to handle return values from pairs sorted in this order
    function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {
        require(tokenA != tokenB, 'GinFinanceLibrary: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'GinFinanceLibrary: ZERO_ADDRESS');
    }

    // calculates the CREATE2 address for a pair without making any external calls
    function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) {
        (address token0, address token1) = sortTokens(tokenA, tokenB);
        pair = address(uint(keccak256(abi.encodePacked(
                hex'ff',
                factory,
                keccak256(abi.encodePacked(token0, token1)),
                hex'600f62a2bbcebd19e25e035e25f77c256245572c21588866b6188af3eaab8ea3' // TODO: update init code hash before deployment
            ))));
    }

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

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

    // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
    function getAmountOut(address factory, uint amountIn, uint reserveIn, uint reserveOut, address token0, address token1) internal view returns (uint amountOut) {
        require(amountIn > 0, 'GinFinanceLibrary: INSUFFICIENT_INPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'GinFinanceLibrary: INSUFFICIENT_LIQUIDITY');
        uint256 fee = IGinFinanceFactory(factory).getPairFee(pairFor(factory, token0, token1));
        uint amountInWithFee = amountIn.mul(IGinFinanceFactory(factory).FEE_DENOMINATOR().sub(fee));
        uint numerator = amountInWithFee.mul(reserveOut);
        uint denominator = reserveIn.mul(IGinFinanceFactory(factory).FEE_DENOMINATOR()).add(amountInWithFee);
        amountOut = numerator / denominator;
    }

    // given an output amount of an asset and pair reserves, returns a required input amount of the other asset
    function getAmountIn(address factory, uint amountOut, uint reserveIn, uint reserveOut, address token0, address token1) internal view returns (uint amountIn) {
        require(amountOut > 0, 'GinFinanceLibrary: INSUFFICIENT_OUTPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'GinFinanceLibrary: INSUFFICIENT_LIQUIDITY');
        uint256 fee = IGinFinanceFactory(factory).getPairFee(pairFor(factory, token0, token1));
        uint numerator = reserveIn.mul(amountOut).mul(IGinFinanceFactory(factory).FEE_DENOMINATOR());
        uint denominator = reserveOut.sub(amountOut).mul(IGinFinanceFactory(factory).FEE_DENOMINATOR().sub(fee));
        amountIn = (numerator / denominator).add(1);
    }

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

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

// File: contracts/libraries/TransferHelper.sol

pragma solidity 0.6.12;

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

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

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

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

// File: contracts/interfaces/IGinFinanceRouter01.sol

pragma solidity 0.6.12;

interface IGinFinanceRouter01 {
    function factory() external pure returns (address);
    function WETH() external view 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, address token0, address token1) external view returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut, address token0, address token1) external view 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/interfaces/IGinFinanceRouter02.sol

pragma solidity 0.6.12;

interface IGinFinanceRouter02 is IGinFinanceRouter01 {
    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/interfaces/IERC20.sol

pragma solidity 0.6.12;

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

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

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

// File: contracts/interfaces/IWETH.sol

pragma solidity 0.6.12;

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

// File: contracts/GinFinanceRouter02.sol

pragma solidity 0.6.12;

contract GinFinanceRouter02 is IGinFinanceRouter02 {
    using SafeMath for uint;

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

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

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

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

    // **** ADD LIQUIDITY ****
    function _addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin
    ) internal virtual returns (uint amountA, uint amountB) {
        // create the pair if it doesn't exist yet
        if (IGinFinanceFactory(factory).getPair(tokenA, tokenB) == address(0)) {
            IGinFinanceFactory(factory).createPair(tokenA, tokenB);
        }
        (uint reserveA, uint reserveB) = GinFinanceLibrary.getReserves(factory, tokenA, tokenB);
        if (reserveA == 0 && reserveB == 0) {
            (amountA, amountB) = (amountADesired, amountBDesired);
        } else {
            uint amountBOptimal = GinFinanceLibrary.quote(amountADesired, reserveA, reserveB);
            if (amountBOptimal <= amountBDesired) {
                require(amountBOptimal >= amountBMin, 'GinFinanceRouter: INSUFFICIENT_B_AMOUNT');
                (amountA, amountB) = (amountADesired, amountBOptimal);
            } else {
                uint amountAOptimal = GinFinanceLibrary.quote(amountBDesired, reserveB, reserveA);
                assert(amountAOptimal <= amountADesired);
                require(amountAOptimal >= amountAMin, 'GinFinanceRouter: INSUFFICIENT_A_AMOUNT');
                (amountA, amountB) = (amountAOptimal, amountBDesired);
            }
        }
    }
    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external virtual override ensure(deadline) returns (uint amountA, uint amountB, uint liquidity) {
        require((amountADesired >= amountAMin) && (amountBDesired >= amountBMin), "GinFinanceRouter: INVALID AMOUNT");
        (amountA, amountB) = _addLiquidity(tokenA, tokenB, amountADesired, amountBDesired, amountAMin,
amountBMin);
        address pair = GinFinanceLibrary.pairFor(factory, tokenA, tokenB);
        TransferHelper.safeTransferFrom(tokenA, msg.sender, pair, amountA);
        TransferHelper.safeTransferFrom(tokenB, msg.sender, pair, amountB);
        liquidity = IGinFinancePair(pair).mint(to);
    }

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

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

    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) public virtual override ensure(deadline) returns (uint amountToken, uint amountETH) {
        (amountToken, amountETH) = removeLiquidity(
            token,
            WETH,
            liquidity,
            amountTokenMin,
            amountETHMin,
            address(this),
            deadline
        );
        TransferHelper.safeTransfer(token, to, amountToken);
        IWETH(WETH).withdraw(amountETH);
        TransferHelper.safeTransferETH(to, 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 virtual override returns (uint amountA, uint amountB) {
        address pair = GinFinanceLibrary.pairFor(factory, tokenA, tokenB);
        uint value = approveMax ? uint(-1) : liquidity;
        IGinFinancePair(pair).permit(msg.sender, address(this), value, deadline, v, r, s);
        (amountA, amountB) = removeLiquidity(tokenA, tokenB, liquidity, amountAMin, amountBMin, to, deadline);
    }

    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external virtual override returns (uint amountToken, uint amountETH) {
        address pair = GinFinanceLibrary.pairFor(factory, token, WETH);
        uint value = approveMax ? uint(-1) : liquidity;
        IGinFinancePair(pair).permit(msg.sender, address(this), value, deadline, v, r, s);
        (amountToken, amountETH) = removeLiquidityETH(token, liquidity, amountTokenMin, amountETHMin, to,
deadline);
    }

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

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external virtual override returns (uint amountETH) {
        address pair = GinFinanceLibrary.pairFor(factory, token, WETH);
        uint value = approveMax ? uint(-1) : liquidity;
        IGinFinancePair(pair).permit(msg.sender, address(this), value, deadline, v, r, s);
        amountETH = removeLiquidityETHSupportingFeeOnTransferTokens(
            token, liquidity, amountTokenMin, amountETHMin, to, deadline
        );
    }

    // **** SWAP ****
    // requires the initial amount to have already been sent to the first pair
    function _swap(uint[] memory amounts, address[] memory path, address _to) internal virtual {
        for (uint i; i < path.length - 1; i++) {
            (address input, address output) = (path[i], path[i + 1]);
            (address token0,) = GinFinanceLibrary.sortTokens(input, output);
            uint amountOut = amounts[i + 1];
            (uint amount0Out, uint amount1Out) = input == token0 ? (uint(0), amountOut) : (amountOut, uint(0));
            address to = i < path.length - 2 ? GinFinanceLibrary.pairFor(factory, output, path[i + 2]) : _to;
            IGinFinancePair(GinFinanceLibrary.pairFor(factory, input, output)).swap(
                amount0Out, amount1Out, to, new bytes(0)
            );
        }
    }
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external virtual override ensure(deadline) returns (uint[] memory amounts) {
        amounts = GinFinanceLibrary.getAmountsOut(factory, amountIn, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'GinFinanceRouter: INSUFFICIENT_OUTPUT_AMOUNT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, GinFinanceLibrary.pairFor(factory, path[0], path[1]), amounts[0]
        );
        _swap(amounts, path, to);
    }
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external virtual override ensure(deadline) returns (uint[] memory amounts) {
        amounts = GinFinanceLibrary.getAmountsIn(factory, amountOut, path);
        require(amounts[0] <= amountInMax, 'GinFinanceRouter: EXCESSIVE_INPUT_AMOUNT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, GinFinanceLibrary.pairFor(factory, path[0], path[1]), amounts[0]
        );
        _swap(amounts, path, to);
    }

    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        virtual
        override
        payable
        ensure(deadline)
        returns (uint[] memory amounts)
    {
        require(path[0] == WETH, 'GinFinanceRouter: INVALID_PATH');
        amounts = GinFinanceLibrary.getAmountsOut(factory, msg.value, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'GinFinanceRouter: INSUFFICIENT_OUTPUT_AMOUNT');
        IWETH(WETH).deposit{value: amounts[0]}();
        assert(IWETH(WETH).transfer(GinFinanceLibrary.pairFor(factory, path[0], path[1]), amounts[0]));
        _swap(amounts, path, to);
    }

    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint
deadline)
        external
        virtual
        override
        ensure(deadline)
        returns (uint[] memory amounts)
    {
        require(path[path.length - 1] == WETH, 'GinFinanceRouter: INVALID_PATH');
        amounts = GinFinanceLibrary.getAmountsIn(factory, amountOut, path);
        require(amounts[0] <= amountInMax, 'GinFinanceRouter: EXCESSIVE_INPUT_AMOUNT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, GinFinanceLibrary.pairFor(factory, path[0], path[1]), amounts[0]
        );
        _swap(amounts, path, address(this));
        IWETH(WETH).withdraw(amounts[amounts.length - 1]);
        TransferHelper.safeTransferETH(to, amounts[amounts.length - 1]);
    }

    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint
deadline)
        external
        virtual
        override
        ensure(deadline)
        returns (uint[] memory amounts)
    {
        require(path[path.length - 1] == WETH, 'GinFinanceRouter: INVALID_PATH');
        amounts = GinFinanceLibrary.getAmountsOut(factory, amountIn, path);
        require(amounts[amounts.length - 1] >= amountOutMin, 'GinFinanceRouter: INSUFFICIENT_OUTPUT_AMOUNT');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, GinFinanceLibrary.pairFor(factory, path[0], path[1]), amounts[0]
        );
        _swap(amounts, path, address(this));
        IWETH(WETH).withdraw(amounts[amounts.length - 1]);
        TransferHelper.safeTransferETH(to, amounts[amounts.length - 1]);
    }

    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        virtual
        override
        payable
        ensure(deadline)
        returns (uint[] memory amounts)
    {
        require(path[0] == WETH, 'GinFinanceRouter: INVALID_PATH');
        amounts = GinFinanceLibrary.getAmountsIn(factory, amountOut, path);
        require(amounts[0] <= msg.value, 'GinFinanceRouter: EXCESSIVE_INPUT_AMOUNT');
        IWETH(WETH).deposit{value: amounts[0]}();
        assert(IWETH(WETH).transfer(GinFinanceLibrary.pairFor(factory, path[0], path[1]), amounts[0]));
        _swap(amounts, path, to);
        // refund dust eth, if any
        if (msg.value > amounts[0]) TransferHelper.safeTransferETH(msg.sender, msg.value - amounts[0]);
    }

    // **** SWAP (supporting fee-on-transfer tokens) ****
    // requires the initial amount to have already been sent to the first pair
    function _swapSupportingFeeOnTransferTokens(address[] memory path, address _to) internal virtual {
        for (uint i; i < path.length - 1; i++) {
            (address input, address output) = (path[i], path[i + 1]);
            (address token0,) = GinFinanceLibrary.sortTokens(input, output);
            IGinFinancePair pair = IGinFinancePair(GinFinanceLibrary.pairFor(factory, input, output));
            uint amountInput;
            uint amountOutput;
            { // scope to avoid stack too deep errors
            (uint reserve0, uint reserve1,) = pair.getReserves();
            (uint reserveInput, uint reserveOutput) = input == token0 ? (reserve0, reserve1) : (reserve1,
reserve0);
            amountInput = IERC20(input).balanceOf(address(pair)).sub(reserveInput);
            amountOutput = GinFinanceLibrary.getAmountOut(factory, amountInput, reserveInput, reserveOutput,
input, output);
            }
            (uint amount0Out, uint amount1Out) = input == token0 ? (uint(0), amountOutput) : (amountOutput,
uint(0));
            address to = i < path.length - 2 ? GinFinanceLibrary.pairFor(factory, output, path[i + 2]) : _to;
            pair.swap(amount0Out, amount1Out, to, new bytes(0));
        }
    }
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external virtual override ensure(deadline) {
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, GinFinanceLibrary.pairFor(factory, path[0], path[1]), amountIn
        );
        uint balanceBefore = IERC20(path[path.length - 1]).balanceOf(to);
        _swapSupportingFeeOnTransferTokens(path, to);
        require(
            IERC20(path[path.length - 1]).balanceOf(to).sub(balanceBefore) >= amountOutMin,
            'GinFinanceRouter: INSUFFICIENT_OUTPUT_AMOUNT'
        );
    }

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    )
        external
        virtual
        override
        payable
        ensure(deadline)
    {
        require(path[0] == WETH, 'GinFinanceRouter: INVALID_PATH');
        uint amountIn = msg.value;
        IWETH(WETH).deposit{value: amountIn}();
        assert(IWETH(WETH).transfer(GinFinanceLibrary.pairFor(factory, path[0], path[1]), amountIn));
        uint balanceBefore = IERC20(path[path.length - 1]).balanceOf(to);
        _swapSupportingFeeOnTransferTokens(path, to);
        require(
            IERC20(path[path.length - 1]).balanceOf(to).sub(balanceBefore) >= amountOutMin,
            'GinFinanceRouter: INSUFFICIENT_OUTPUT_AMOUNT'
        );
    }

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    )
        external
        virtual
        override
        ensure(deadline)
    {
        require(path[path.length - 1] == WETH, 'GinFinanceRouter: INVALID_PATH');
        TransferHelper.safeTransferFrom(
            path[0], msg.sender, GinFinanceLibrary.pairFor(factory, path[0], path[1]), amountIn
        );
        _swapSupportingFeeOnTransferTokens(path, address(this));
        uint amountOut = IERC20(WETH).balanceOf(address(this));
        require(amountOut >= amountOutMin, 'GinFinanceRouter: INSUFFICIENT_OUTPUT_AMOUNT');
        IWETH(WETH).withdraw(amountOut);
        TransferHelper.safeTransferETH(to, amountOut);
    }

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

    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut, address token0, address token1)
        public
        view
        virtual
        override
        returns (uint amountOut)
    {
        return GinFinanceLibrary.getAmountOut(factory, amountIn, reserveIn, reserveOut, token0, token1);
    }

    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut, address token0, address token1)
        public
        view
        virtual
        override
        returns (uint amountIn)
    {
        return GinFinanceLibrary.getAmountIn(factory, amountOut, reserveIn, reserveOut, token0, token1);
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_WETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"amountADesired","type":"uint256"},{"internalType":"uint256","name":"amountBDesired","type":"uint256"},{"internalType":"uint256","name":"amountAMin","type":"uint256"},{"internalType":"uint256","name":"amountBMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidity","outputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"amountB","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amountTokenDesired","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidityETH","outputs":[{"internalType":"uint256","name":"amountToken","type":"uint256"},{"internalType":"uint256","name":"amountETH","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"},{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"}],"name":"getAmountIn","outputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"},{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"}],"name":"getAmountOut","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsIn","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsOut","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"reserveA","type":"uint256"},{"internalType":"uint256","name":"reserveB","type":"uint256"}],"name":"quote","outputs":[{"internalType":"uint256","name":"amountB","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountAMin","type":"uint256"},{"internalType":"uint256","name":"amountBMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeLiquidity","outputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"amountB","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeLiquidityETH","outputs":[{"internalType":"uint256","name":"amountToken","type":"uint256"},{"internalType":"uint256","name":"amountETH","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeLiquidityETHSupportingFeeOnTransferTokens","outputs":[{"internalType":"uint256","name":"amountETH","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bool","name":"approveMax","type":"bool"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"removeLiquidityETHWithPermit","outputs":[{"internalType":"uint256","name":"amountToken","type":"uint256"},{"internalType":"uint256","name":"amountETH","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bool","name":"approveMax","type":"bool"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"removeLiquidityETHWithPermitSupportingFeeOnTransferTokens","outputs":[{"internalType":"uint256","name":"amountETH","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountAMin","type":"uint256"},{"internalType":"uint256","name":"amountBMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bool","name":"approveMax","type":"bool"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"removeLiquidityWithPermit","outputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"amountB","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapETHForExactTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactETHForTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactETHForTokensSupportingFeeOnTransferTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForETH","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForETHSupportingFeeOnTransferTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForTokensSupportingFeeOnTransferTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapTokensForExactETH","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapTokensForExactTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c060405234801561001057600080fd5b5060405162004b6c38038062004b6c8339818101604052604081101561003557600080fd5b5080516020909101516001600160601b0319606092831b8116608052911b1660a05260805160601c60a05160601c6149d8620001946000398061015f5280610d125280610d4d5280610e2f528061104d52806113d7528061153d52806118ec52806119c75280611aa15280611b6f5280611cb55280611d3d5280611fa6528061202952806120dd52806121a9528061223e52806122b252806127c55280612a905280612ae65280612b1a5280612b8e5280612d1c5280612e5f5280612ee7525080610ebd5280610f945280611113528061114c52806112875280611465528061151b528061168b5280611c025280611d6f5280611ebc5280611f7152806122e45280612522528061271a5280612743528061277352806127a352806129715280612ac45280612daf5280612f1952806136f352806137365280613a3c5280613b625280613bd552806142f852806143b1528061446452506149d86000f3fe60806040526004361061014f5760003560e01c8063ad5c4648116100b6578063cd7290d51161006f578063cd7290d514610a06578063d06ca61f14610a53578063ded9382a14610b08578063e8e3370014610b7b578063f305d71914610bfb578063fb3bdb4114610c4157610188565b8063ad5c464814610856578063ad615dec14610887578063af2979eb146108bd578063b6f9de9514610910578063baa2abde14610994578063c45a0155146109f157610188565b80635b0d5984116101085780635b0d59841461053e5780635c11d795146105c3578063791ac947146106595780637ff36ab5146106ef5780638803dbee1461077357806399ef4b871461080957610188565b806302751cec1461018d57806318cbafe5146101f95780631f00ca74146102df5780632195995c1461039457806338ed1739146104125780634a25d94a146104a857610188565b3661018857336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461018657fe5b005b600080fd5b34801561019957600080fd5b506101e0600480360360c08110156101b057600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a00135610cc5565b6040805192835260208301919091528051918290030190f35b34801561020557600080fd5b5061028f600480360360a081101561021c57600080fd5b813591602081013591810190606081016040820135600160201b81111561024257600080fd5b82018360208201111561025457600080fd5b803590602001918460208302840111600160201b8311171561027557600080fd5b91935091506001600160a01b038135169060200135610ddf565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102cb5781810151838201526020016102b3565b505050509050019250505060405180910390f35b3480156102eb57600080fd5b5061028f6004803603604081101561030257600080fd5b81359190810190604081016020820135600160201b81111561032357600080fd5b82018360208201111561033557600080fd5b803590602001918460208302840111600160201b8311171561035657600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061110c945050505050565b3480156103a057600080fd5b506101e060048036036101608110156103b857600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359091169060c08101359060e081013515159060ff6101008201351690610120810135906101400135611142565b34801561041e57600080fd5b5061028f600480360360a081101561043557600080fd5b813591602081013591810190606081016040820135600160201b81111561045b57600080fd5b82018360208201111561046d57600080fd5b803590602001918460208302840111600160201b8311171561048e57600080fd5b91935091506001600160a01b03813516906020013561123c565b3480156104b457600080fd5b5061028f600480360360a08110156104cb57600080fd5b813591602081013591810190606081016040820135600160201b8111156104f157600080fd5b82018360208201111561050357600080fd5b803590602001918460208302840111600160201b8311171561052457600080fd5b91935091506001600160a01b038135169060200135611387565b34801561054a57600080fd5b506105b1600480360361014081101561056257600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e08201351690610100810135906101200135611513565b60408051918252519081900360200190f35b3480156105cf57600080fd5b50610186600480360360a08110156105e657600080fd5b813591602081013591810190606081016040820135600160201b81111561060c57600080fd5b82018360208201111561061e57600080fd5b803590602001918460208302840111600160201b8311171561063f57600080fd5b91935091506001600160a01b038135169060200135611621565b34801561066557600080fd5b50610186600480360360a081101561067c57600080fd5b813591602081013591810190606081016040820135600160201b8111156106a257600080fd5b8201836020820111156106b457600080fd5b803590602001918460208302840111600160201b831117156106d557600080fd5b91935091506001600160a01b03813516906020013561189e565b61028f6004803603608081101561070557600080fd5b81359190810190604081016020820135600160201b81111561072657600080fd5b82018360208201111561073857600080fd5b803590602001918460208302840111600160201b8311171561075957600080fd5b91935091506001600160a01b038135169060200135611b27565b34801561077f57600080fd5b5061028f600480360360a081101561079657600080fd5b813591602081013591810190606081016040820135600160201b8111156107bc57600080fd5b8201836020820111156107ce57600080fd5b803590602001918460208302840111600160201b831117156107ef57600080fd5b91935091506001600160a01b038135169060200135611e71565b34801561081557600080fd5b506105b1600480360360a081101561082c57600080fd5b508035906020810135906040810135906001600160a01b0360608201358116916080013516611f6a565b34801561086257600080fd5b5061086b611fa4565b604080516001600160a01b039092168252519081900360200190f35b34801561089357600080fd5b506105b1600480360360608110156108aa57600080fd5b5080359060208101359060400135611fc8565b3480156108c957600080fd5b506105b1600480360360c08110156108e057600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a00135611fdd565b6101866004803603608081101561092657600080fd5b81359190810190604081016020820135600160201b81111561094757600080fd5b82018360208201111561095957600080fd5b803590602001918460208302840111600160201b8311171561097a57600080fd5b91935091506001600160a01b038135169060200135612163565b3480156109a057600080fd5b506101e0600480360360e08110156109b757600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359091169060c001356124d4565b3480156109fd57600080fd5b5061086b612718565b348015610a1257600080fd5b506105b1600480360360a0811015610a2957600080fd5b508035906020810135906040810135906001600160a01b036060820135811691608001351661273c565b348015610a5f57600080fd5b5061028f60048036036040811015610a7657600080fd5b81359190810190604081016020820135600160201b811115610a9757600080fd5b820183602082011115610aa957600080fd5b803590602001918460208302840111600160201b83111715610aca57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061276c945050505050565b348015610b1457600080fd5b506101e06004803603610140811015610b2c57600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e08201351690610100810135906101200135612799565b348015610b8757600080fd5b50610bdd6004803603610100811015610b9f57600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359160c0820135169060e001356128ad565b60408051938452602084019290925282820152519081900360600190f35b610bdd600480360360c0811015610c1157600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a00135612a41565b61028f60048036036080811015610c5757600080fd5b81359190810190604081016020820135600160201b811115610c7857600080fd5b820183602082011115610c8a57600080fd5b803590602001918460208302840111600160201b83111715610cab57600080fd5b91935091506001600160a01b038135169060200135612cd4565b6000808242811015610d0c576040805162461bcd60e51b8152602060048201526019602482015260008051602061495c833981519152604482015290519081900360640190fd5b610d3b897f00000000000000000000000000000000000000000000000000000000000000008a8a8a308a6124d4565b9093509150610d4b89868561304d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610db157600080fd5b505af1158015610dc5573d6000803e3d6000fd5b50505050610dd385836131b7565b50965096945050505050565b60608142811015610e25576040805162461bcd60e51b8152602060048201526019602482015260008051602061495c833981519152604482015290519081900360640190fd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001686866000198101818110610e5f57fe5b905060200201356001600160a01b03166001600160a01b031614610eb8576040805162461bcd60e51b815260206004820152601e602482015260008051602061478b833981519152604482015290519081900360640190fd5b610f167f0000000000000000000000000000000000000000000000000000000000000000898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506132af92505050565b91508682600184510381518110610f2957fe5b60200260200101511015610f6e5760405162461bcd60e51b815260040180806020018281038252602c8152602001806148c3602c913960400191505060405180910390fd5b61100c86866000818110610f7e57fe5b905060200201356001600160a01b031633610ff27f00000000000000000000000000000000000000000000000000000000000000008a8a6000818110610fc057fe5b905060200201356001600160a01b03168b8b6001818110610fdd57fe5b905060200201356001600160a01b0316613427565b85600081518110610fff57fe5b60200260200101516134e7565b61104b82878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250613644915050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d8360018551038151811061108a57fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156110c857600080fd5b505af11580156110dc573d6000803e3d6000fd5b5050505061110184836001855103815181106110f457fe5b60200260200101516131b7565b509695505050505050565b60606111397f00000000000000000000000000000000000000000000000000000000000000008484613881565b90505b92915050565b60008060006111727f00000000000000000000000000000000000000000000000000000000000000008f8f613427565b9050600087611181578c611185565b6000195b6040805163d505accf60e01b815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c4810188905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b1580156111fb57600080fd5b505af115801561120f573d6000803e3d6000fd5b505050506112228f8f8f8f8f8f8f6124d4565b809450819550505050509b509b9950505050505050505050565b60608142811015611282576040805162461bcd60e51b8152602060048201526019602482015260008051602061495c833981519152604482015290519081900360640190fd5b6112e07f0000000000000000000000000000000000000000000000000000000000000000898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506132af92505050565b915086826001845103815181106112f357fe5b602002602001015110156113385760405162461bcd60e51b815260040180806020018281038252602c8152602001806148c3602c913960400191505060405180910390fd5b61134886866000818110610f7e57fe5b61110182878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250613644915050565b606081428110156113cd576040805162461bcd60e51b8152602060048201526019602482015260008051602061495c833981519152604482015290519081900360640190fd5b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168686600019810181811061140757fe5b905060200201356001600160a01b03166001600160a01b031614611460576040805162461bcd60e51b815260206004820152601e602482015260008051602061478b833981519152604482015290519081900360640190fd5b6114be7f00000000000000000000000000000000000000000000000000000000000000008988888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061388192505050565b915086826000815181106114ce57fe5b60200260200101511115610f6e5760405162461bcd60e51b81526004018080602001828103825260288152602001806148216028913960400191505060405180910390fd5b6000806115617f00000000000000000000000000000000000000000000000000000000000000008d7f0000000000000000000000000000000000000000000000000000000000000000613427565b9050600086611570578b611574565b6000195b6040805163d505accf60e01b815233600482015230602482015260448101839052606481018b905260ff8916608482015260a4810188905260c4810187905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b1580156115ea57600080fd5b505af11580156115fe573d6000803e3d6000fd5b505050506116108d8d8d8d8d8d611fdd565b9d9c50505050505050505050505050565b8042811015611665576040805162461bcd60e51b8152602060048201526019602482015260008051602061495c833981519152604482015290519081900360640190fd5b6116da8585600081811061167557fe5b905060200201356001600160a01b0316336116d47f0000000000000000000000000000000000000000000000000000000000000000898960008181106116b757fe5b905060200201356001600160a01b03168a8a6001818110610fdd57fe5b8a6134e7565b6000858560001981018181106116ec57fe5b905060200201356001600160a01b03166001600160a01b03166370a08231856040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561174857600080fd5b505afa15801561175c573d6000803e3d6000fd5b505050506040513d602081101561177257600080fd5b505160408051602088810282810182019093528882529293506117b49290918991899182918501908490808284376000920191909152508892506139e5915050565b8661185782888860001981018181106117c957fe5b905060200201356001600160a01b03166001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561182557600080fd5b505afa158015611839573d6000803e3d6000fd5b505050506040513d602081101561184f57600080fd5b505190613d0a565b10156118945760405162461bcd60e51b815260040180806020018281038252602c8152602001806148c3602c913960400191505060405180910390fd5b5050505050505050565b80428110156118e2576040805162461bcd60e51b8152602060048201526019602482015260008051602061495c833981519152604482015290519081900360640190fd5b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168585600019810181811061191c57fe5b905060200201356001600160a01b03166001600160a01b031614611975576040805162461bcd60e51b815260206004820152601e602482015260008051602061478b833981519152604482015290519081900360640190fd5b6119858585600081811061167557fe5b6119c38585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152503092506139e5915050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611a3257600080fd5b505afa158015611a46573d6000803e3d6000fd5b505050506040513d6020811015611a5c57600080fd5b5051905086811015611a9f5760405162461bcd60e51b815260040180806020018281038252602c8152602001806148c3602c913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611b0557600080fd5b505af1158015611b19573d6000803e3d6000fd5b5050505061189484826131b7565b60608142811015611b6d576040805162461bcd60e51b8152602060048201526019602482015260008051602061495c833981519152604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031686866000818110611ba457fe5b905060200201356001600160a01b03166001600160a01b031614611bfd576040805162461bcd60e51b815260206004820152601e602482015260008051602061478b833981519152604482015290519081900360640190fd5b611c5b7f0000000000000000000000000000000000000000000000000000000000000000348888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506132af92505050565b91508682600184510381518110611c6e57fe5b60200260200101511015611cb35760405162461bcd60e51b815260040180806020018281038252602c8152602001806148c3602c913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db083600081518110611cef57fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b158015611d2257600080fd5b505af1158015611d36573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb611d9b7f0000000000000000000000000000000000000000000000000000000000000000898960008181106116b757fe5b84600081518110611da857fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611df657600080fd5b505af1158015611e0a573d6000803e3d6000fd5b505050506040513d6020811015611e2057600080fd5b5051611e2857fe5b611e6782878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250613644915050565b5095945050505050565b60608142811015611eb7576040805162461bcd60e51b8152602060048201526019602482015260008051602061495c833981519152604482015290519081900360640190fd5b611f157f00000000000000000000000000000000000000000000000000000000000000008988888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061388192505050565b91508682600081518110611f2557fe5b602002602001015111156113385760405162461bcd60e51b81526004018080602001828103825260288152602001806148216028913960400191505060405180910390fd5b6000611f9a7f00000000000000000000000000000000000000000000000000000000000000008787878787613d4c565b9695505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000611fd5848484613f5a565b949350505050565b60008142811015612023576040805162461bcd60e51b8152602060048201526019602482015260008051602061495c833981519152604482015290519081900360640190fd5b612052887f000000000000000000000000000000000000000000000000000000000000000089898930896124d4565b9050809250506120db88858a6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156120aa57600080fd5b505afa1580156120be573d6000803e3d6000fd5b505050506040513d60208110156120d457600080fd5b505161304d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561214157600080fd5b505af1158015612155573d6000803e3d6000fd5b5050505061110184836131b7565b80428110156121a7576040805162461bcd60e51b8152602060048201526019602482015260008051602061495c833981519152604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316858560008181106121de57fe5b905060200201356001600160a01b03166001600160a01b031614612237576040805162461bcd60e51b815260206004820152601e602482015260008051602061478b833981519152604482015290519081900360640190fd5b60003490507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561229757600080fd5b505af11580156122ab573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb6123107f0000000000000000000000000000000000000000000000000000000000000000898960008181106116b757fe5b836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561235757600080fd5b505af115801561236b573d6000803e3d6000fd5b505050506040513d602081101561238157600080fd5b505161238957fe5b60008686600019810181811061239b57fe5b905060200201356001600160a01b03166001600160a01b03166370a08231866040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156123f757600080fd5b505afa15801561240b573d6000803e3d6000fd5b505050506040513d602081101561242157600080fd5b505160408051602089810282810182019093528982529293506124639290918a918a9182918501908490808284376000920191909152508992506139e5915050565b87611857828989600019810181811061247857fe5b905060200201356001600160a01b03166001600160a01b03166370a08231896040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561182557600080fd5b600080824281101561251b576040805162461bcd60e51b8152602060048201526019602482015260008051602061495c833981519152604482015290519081900360640190fd5b60006125487f00000000000000000000000000000000000000000000000000000000000000008c8c613427565b604080516323b872dd60e01b81523360048201526001600160a01b03831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b1580156125a357600080fd5b505af11580156125b7573d6000803e3d6000fd5b505050506040513d60208110156125cd57600080fd5b50506040805163226bf2d160e21b81526001600160a01b03888116600483015282516000938493928616926389afcb44926024808301939282900301818787803b15801561261a57600080fd5b505af115801561262e573d6000803e3d6000fd5b505050506040513d604081101561264457600080fd5b5080516020909101519092509050600061265e8e8e614000565b509050806001600160a01b03168e6001600160a01b031614612681578183612684565b82825b90975095508a8710156126c85760405162461bcd60e51b815260040180806020018281038252602781526020018061497c6027913960400191505060405180910390fd5b898610156127075760405162461bcd60e51b81526004018080602001828103825260278152602001806147ab6027913960400191505060405180910390fd5b505050505097509795505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000611f9a7f000000000000000000000000000000000000000000000000000000000000000087878787876140de565b60606111397f000000000000000000000000000000000000000000000000000000000000000084846132af565b60008060006127e97f00000000000000000000000000000000000000000000000000000000000000008e7f0000000000000000000000000000000000000000000000000000000000000000613427565b90506000876127f8578c6127fc565b6000195b6040805163d505accf60e01b815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c4810188905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b15801561287257600080fd5b505af1158015612886573d6000803e3d6000fd5b505050506128988e8e8e8e8e8e610cc5565b909f909e509c50505050505050505050505050565b600080600083428110156128f6576040805162461bcd60e51b8152602060048201526019602482015260008051602061495c833981519152604482015290519081900360640190fd5b878a101580156129065750868910155b612957576040805162461bcd60e51b815260206004820181905260248201527f47696e46696e616e6365526f757465723a20494e56414c494420414d4f554e54604482015290519081900360640190fd5b6129658c8c8c8c8c8c6142e8565b909450925060006129977f00000000000000000000000000000000000000000000000000000000000000008e8e613427565b90506129a58d3383886134e7565b6129b18c3383876134e7565b806001600160a01b0316636a627842886040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050602060405180830381600087803b158015612a0057600080fd5b505af1158015612a14573d6000803e3d6000fd5b505050506040513d6020811015612a2a57600080fd5b5051949d939c50939a509198505050505050505050565b60008060008342811015612a8a576040805162461bcd60e51b8152602060048201526019602482015260008051602061495c833981519152604482015290519081900360640190fd5b612ab88a7f00000000000000000000000000000000000000000000000000000000000000008b348c8c6142e8565b90945092506000612b0a7f00000000000000000000000000000000000000000000000000000000000000008c7f0000000000000000000000000000000000000000000000000000000000000000613427565b9050612b188b3383886134e7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b158015612b7357600080fd5b505af1158015612b87573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb82866040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015612c0357600080fd5b505af1158015612c17573d6000803e3d6000fd5b505050506040513d6020811015612c2d57600080fd5b5051612c3557fe5b806001600160a01b0316636a627842886040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050602060405180830381600087803b158015612c8457600080fd5b505af1158015612c98573d6000803e3d6000fd5b505050506040513d6020811015612cae57600080fd5b5051925034841015612cc657612cc6338534036131b7565b505096509650969350505050565b60608142811015612d1a576040805162461bcd60e51b8152602060048201526019602482015260008051602061495c833981519152604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031686866000818110612d5157fe5b905060200201356001600160a01b03166001600160a01b031614612daa576040805162461bcd60e51b815260206004820152601e602482015260008051602061478b833981519152604482015290519081900360640190fd5b612e087f00000000000000000000000000000000000000000000000000000000000000008888888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061388192505050565b91503482600081518110612e1857fe5b60200260200101511115612e5d5760405162461bcd60e51b81526004018080602001828103825260288152602001806148216028913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db083600081518110612e9957fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b158015612ecc57600080fd5b505af1158015612ee0573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb612f457f0000000000000000000000000000000000000000000000000000000000000000898960008181106116b757fe5b84600081518110612f5257fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015612fa057600080fd5b505af1158015612fb4573d6000803e3d6000fd5b505050506040513d6020811015612fca57600080fd5b5051612fd257fe5b61301182878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250613644915050565b8160008151811061301e57fe5b6020026020010151341115611e6757611e67338360008151811061303e57fe5b602002602001015134036131b7565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b178152925182516000946060949389169392918291908083835b602083106130ca5780518252601f1990920191602091820191016130ab565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461312c576040519150601f19603f3d011682016040523d82523d6000602084013e613131565b606091505b509150915081801561315f57508051158061315f575080806020019051602081101561315c57600080fd5b50515b6131b0576040805162461bcd60e51b815260206004820152601f60248201527f5472616e7366657248656c7065723a205452414e534645525f4641494c454400604482015290519081900360640190fd5b5050505050565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b602083106132035780518252601f1990920191602091820191016131e4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613265576040519150601f19603f3d011682016040523d82523d6000602084013e61326a565b606091505b50509050806132aa5760405162461bcd60e51b81526004018080602001828103825260238152602001806149156023913960400191505060405180910390fd5b505050565b6060600282511015613308576040805162461bcd60e51b815260206004820152601f60248201527f47696e46696e616e63654c6962726172793a20494e56414c49445f5041544800604482015290519081900360640190fd5b815167ffffffffffffffff8111801561332057600080fd5b5060405190808252806020026020018201604052801561334a578160200160208202803683370190505b509050828160008151811061335b57fe5b60200260200101818152505060005b600183510381101561341f576000806133ad8786858151811061338957fe5b60200260200101518786600101815181106133a057fe5b6020026020010151614579565b915091506133fb878585815181106133c157fe5b602002602001015184848988815181106133d757fe5b60200260200101518a89600101815181106133ee57fe5b6020026020010151613d4c565b84846001018151811061340a57fe5b6020908102919091010152505060010161336a565b509392505050565b60008060006134368585614000565b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501206001600160f81b031960688401529a90941b9093166069840152607d8301989098527f600f62a2bbcebd19e25e035e25f77c256245572c21588866b6188af3eaab8ea3609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17815292518251600094606094938a169392918291908083835b6020831061356c5780518252601f19909201916020918201910161354d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146135ce576040519150601f19603f3d011682016040523d82523d6000602084013e6135d3565b606091505b509150915081801561360157508051158061360157508080602001905160208110156135fe57600080fd5b50515b61363c5760405162461bcd60e51b81526004018080602001828103825260248152602001806149386024913960400191505060405180910390fd5b505050505050565b60005b600183510381101561387b5760008084838151811061366257fe5b602002602001015185846001018151811061367957fe5b60200260200101519150915060006136918383614000565b50905060008785600101815181106136a557fe5b60200260200101519050600080836001600160a01b0316866001600160a01b0316146136d3578260006136d7565b6000835b91509150600060028a510388106136ee578861372f565b61372f7f0000000000000000000000000000000000000000000000000000000000000000878c8b6002018151811061372257fe5b6020026020010151613427565b905061375c7f00000000000000000000000000000000000000000000000000000000000000008888613427565b6001600160a01b031663022c0d9f84848460006040519080825280601f01601f191660200182016040528015613799576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156138015781810151838201526020016137e9565b50505050905090810190601f16801561382e5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561385057600080fd5b505af1158015613864573d6000803e3d6000fd5b505060019099019850613647975050505050505050565b50505050565b60606002825110156138da576040805162461bcd60e51b815260206004820152601f60248201527f47696e46696e616e63654c6962726172793a20494e56414c49445f5041544800604482015290519081900360640190fd5b815167ffffffffffffffff811180156138f257600080fd5b5060405190808252806020026020018201604052801561391c578160200160208202803683370190505b509050828160018351038151811061393057fe5b60209081029190910101528151600019015b801561341f576000806139728786600186038151811061395e57fe5b60200260200101518786815181106133a057fe5b915091506139c08785858151811061398657fe5b6020026020010151848489600189038151811061399f57fe5b60200260200101518a89815181106139b357fe5b60200260200101516140de565b8460018503815181106139cf57fe5b6020908102919091010152505060001901613942565b60005b60018351038110156132aa57600080848381518110613a0357fe5b6020026020010151858460010181518110613a1a57fe5b6020026020010151915091506000613a328383614000565b5090506000613a627f00000000000000000000000000000000000000000000000000000000000000008585613427565b9050600080600080846001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015613aa357600080fd5b505afa158015613ab7573d6000803e3d6000fd5b505050506040513d6060811015613acd57600080fd5b5080516020909101516001600160701b0391821693501690506000806001600160a01b038a811690891614613b03578284613b06565b83835b91509150613b5b828b6001600160a01b03166370a082318a6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561182557600080fd5b9550613b8b7f00000000000000000000000000000000000000000000000000000000000000008784848e8e613d4c565b945050505050600080856001600160a01b0316886001600160a01b031614613bb557826000613bb9565b6000835b91509150600060028c51038a10613bd0578a613c04565b613c047f0000000000000000000000000000000000000000000000000000000000000000898e8d6002018151811061372257fe5b604080516000808252602082019283905263022c0d9f60e01b835260248201878152604483018790526001600160a01b038086166064850152608060848501908152845160a48601819052969750908c169563022c0d9f958a958a958a9591949193919260c486019290918190849084905b83811015613c8e578181015183820152602001613c76565b50505050905090810190601f168015613cbb5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015613cdd57600080fd5b505af1158015613cf1573d6000803e3d6000fd5b50506001909b019a506139e89950505050505050505050565b600061113983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614640565b6000808611613d8c5760405162461bcd60e51b815260040180806020018281038252602c815260200180614849602c913960400191505060405180910390fd5b600085118015613d9c5750600084115b613dd75760405162461bcd60e51b81526004018080602001828103825260298152602001806147d26029913960400191505060405180910390fd5b6000876001600160a01b0316630cf6ee84613df38a8787613427565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613e3057600080fd5b505afa158015613e44573d6000803e3d6000fd5b505050506040513d6020811015613e5a57600080fd5b50516040805163d73792a960e01b81529051919250600091613eb491613ead9185916001600160a01b038e169163d73792a991600480820192602092909190829003018186803b15801561182557600080fd5b89906146d7565b90506000613ec282886146d7565b90506000613f3f83613f398d6001600160a01b031663d73792a96040518163ffffffff1660e01b815260040160206040518083038186803b158015613f0657600080fd5b505afa158015613f1a573d6000803e3d6000fd5b505050506040513d6020811015613f3057600080fd5b50518c906146d7565b90614730565b9050808281613f4a57fe5b049b9a5050505050505050505050565b6000808411613f9a5760405162461bcd60e51b81526004018080602001828103825260268152602001806148ef6026913960400191505060405180910390fd5b600083118015613faa5750600082115b613fe55760405162461bcd60e51b81526004018080602001828103825260298152602001806147d26029913960400191505060405180910390fd5b82613ff085846146d7565b81613ff757fe5b04949350505050565b600080826001600160a01b0316846001600160a01b031614156140545760405162461bcd60e51b81526004018080602001828103825260268152602001806147fb6026913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b031610614074578284614077565b83835b90925090506001600160a01b0382166140d7576040805162461bcd60e51b815260206004820152601f60248201527f47696e46696e616e63654c6962726172793a205a45524f5f4144445245535300604482015290519081900360640190fd5b9250929050565b600080861161411e5760405162461bcd60e51b815260040180806020018281038252602d815260200180614896602d913960400191505060405180910390fd5b60008511801561412e5750600084115b6141695760405162461bcd60e51b81526004018080602001828103825260298152602001806147d26029913960400191505060405180910390fd5b6000876001600160a01b0316630cf6ee846141858a8787613427565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156141c257600080fd5b505afa1580156141d6573d6000803e3d6000fd5b505050506040513d60208110156141ec57600080fd5b50516040805163d73792a960e01b81529051919250600091614275916001600160a01b038c169163d73792a991600480820192602092909190829003018186803b15801561423957600080fd5b505afa15801561424d573d6000803e3d6000fd5b505050506040513d602081101561426357600080fd5b505161426f898b6146d7565b906146d7565b905060006142c36142b9848c6001600160a01b031663d73792a96040518163ffffffff1660e01b815260040160206040518083038186803b15801561182557600080fd5b61426f898c613d0a565b90506142da60018284816142d357fe5b0490614730565b9a9950505050505050505050565b60008060006001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e6a439058a8a6040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b031681526020019250505060206040518083038186803b15801561437457600080fd5b505afa158015614388573d6000803e3d6000fd5b505050506040513d602081101561439e57600080fd5b50516001600160a01b0316141561445c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c9c6539689896040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b0316815260200192505050602060405180830381600087803b15801561442f57600080fd5b505af1158015614443573d6000803e3d6000fd5b505050506040513d602081101561445957600080fd5b50505b60008061448a7f00000000000000000000000000000000000000000000000000000000000000008b8b614579565b9150915081600014801561449c575080155b156144ac5787935086925061456c565b60006144b9898484613f5a565b905087811161450c57858110156145015760405162461bcd60e51b81526004018080602001828103825260278152602001806147ab6027913960400191505060405180910390fd5b88945092508261456a565b6000614519898486613f5a565b90508981111561452557fe5b878110156145645760405162461bcd60e51b815260040180806020018281038252602781526020018061497c6027913960400191505060405180910390fd5b94508793505b505b5050965096945050505050565b60008060006145888585614000565b509050600080614599888888613427565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156145d157600080fd5b505afa1580156145e5573d6000803e3d6000fd5b505050506040513d60608110156145fb57600080fd5b5080516020909101516001600160701b0391821693501690506001600160a01b038781169084161461462e578082614631565b81815b90999098509650505050505050565b600081848411156146cf5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561469457818101518382015260200161467c565b50505050905090810190601f1680156146c15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000826146e65750600061113c565b828202828482816146f357fe5b04146111395760405162461bcd60e51b81526004018080602001828103825260218152602001806148756021913960400191505060405180910390fd5b600082820183811015611139576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fdfe47696e46696e616e6365526f757465723a20494e56414c49445f50415448000047696e46696e616e6365526f757465723a20494e53554646494349454e545f425f414d4f554e5447696e46696e616e63654c6962726172793a20494e53554646494349454e545f4c495155494449545947696e46696e616e63654c6962726172793a204944454e544943414c5f41444452455353455347696e46696e616e6365526f757465723a204558434553534956455f494e5055545f414d4f554e5447696e46696e616e63654c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7747696e46696e616e63654c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e5447696e46696e616e6365526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e5447696e46696e616e63654c6962726172793a20494e53554646494349454e545f414d4f554e545472616e7366657248656c7065723a204554485f5452414e534645525f4641494c45445472616e7366657248656c7065723a205452414e534645525f46524f4d5f4641494c454447696e46696e616e6365526f757465723a20455850495245440000000000000047696e46696e616e6365526f757465723a20494e53554646494349454e545f415f414d4f554e54a2646970667358221220864932b811975c58bddfdd5a2c51ee3f47236a0ff638e42fcfbd729d3175850d64736f6c634300060c003300000000000000000000000006350499760aa3ea20fed2837321a84a92417f39000000000000000000000000deaddeaddeaddeaddeaddeaddeaddeaddead0000

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

00000000000000000000000006350499760aa3ea20fed2837321a84a92417f39000000000000000000000000deaddeaddeaddeaddeaddeaddeaddeaddead0000

-----Decoded View---------------
Arg [0] : _factory (address): 0x06350499760aa3ea20fed2837321a84a92417f39
Arg [1] : _WETH (address): 0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000006350499760aa3ea20fed2837321a84a92417f39
Arg [1] : 000000000000000000000000deaddeaddeaddeaddeaddeaddeaddeaddead0000


Deployed ByteCode Sourcemap

21632:18909:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22117:10;-1:-1:-1;;;;;22131:4:0;22117:18;;22110:26;;;;21632:18909;;;;;26410:673;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26410:673:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;33617:855;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;33617:855:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;33617:855:0;;;;;;;;;;;;-1:-1:-1;33617:855:0;-1:-1:-1;;;;;;33617:855:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40284:254;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40284:254:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40284:254:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40284:254:0;;-1:-1:-1;40284:254:0;;-1:-1:-1;;;;;40284:254:0:i;27091:679::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27091:679:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;30813:631::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;30813:631:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;30813:631:0;;;;;;;;;;;;-1:-1:-1;30813:631:0;-1:-1:-1;;;;;;30813:631:0;;;;;;;;:::i;32776:833::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32776:833:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32776:833:0;;;;;;;;;;;;-1:-1:-1;32776:833:0;-1:-1:-1;;;;;;32776:833:0;;;;;;;;:::i;29237:720::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29237:720:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;36694:716;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;36694:716:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;36694:716:0;;;;;;;;;;;;-1:-1:-1;36694:716:0;-1:-1:-1;;;;;;36694:716:0;;;;;;;;:::i;38279:846::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38279:846:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38279:846:0;;;;;;;;;;;;-1:-1:-1;38279:846:0;-1:-1:-1;;;;;;38279:846:0;;;;;;;;:::i;32067:701::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32067:701:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32067:701:0;;;;;;;;;;;;-1:-1:-1;32067:701:0;-1:-1:-1;;;;;;32067:701:0;;;;;;;;:::i;31450:609::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31450:609:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31450:609:0;;;;;;;;;;;;-1:-1:-1;31450:609:0;-1:-1:-1;;;;;;31450:609:0;;;;;;;;:::i;39367:320::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39367:320:0;;;;;;;;;;;;;-1:-1:-1;;;;;39367:320:0;;;;;;;;;;;;:::i;21770:38::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;21770:38:0;;;;;;;;;;;;;;39169:190;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39169:190:0;;;;;;;;;;;;:::i;28529:700::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28529:700:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;37418:853::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37418:853:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37418:853:0;;;;;;;;;;;;-1:-1:-1;37418:853:0;-1:-1:-1;;;;;;37418:853:0;;;;;;;;:::i;25531:871::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25531:871:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;21722:41::-;;;;;;;;;;;;;:::i;39695:319::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39695:319:0;;;;;;;;;;;;;-1:-1:-1;;;;;39695:319:0;;;;;;;;;;;;:::i;40022:254::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40022:254:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40022:254:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40022:254:0;;-1:-1:-1;40022:254:0;;-1:-1:-1;;;;;40022:254:0:i;27778:672::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27778:672:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;23642:861::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23642:861:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;24511:977;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24511:977:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;34480:814::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;34480:814:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;34480:814:0;;;;;;;;;;;;-1:-1:-1;34480:814:0;-1:-1:-1;;;;;;34480:814:0;;;;;;;;:::i;26410:673::-;26647:16;26665:14;26628:8;21879:15;21867:8;:27;;21859:65;;;;;-1:-1:-1;;;21859:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21859:65:0;;;;;;;;;;;;;;;26719:196:::1;26749:5;26769:4;26788:9;26812:14;26841:12;26876:4;26896:8;26719:15;:196::i;:::-;26692:223:::0;;-1:-1:-1;26692:223:0;-1:-1:-1;26926:51:0::1;26954:5:::0;26961:2;26692:223;26926:27:::1;:51::i;:::-;26994:4;-1:-1:-1::0;;;;;26988:20:0::1;;27009:9;26988:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;27030:45;27061:2;27065:9;27030:30;:45::i;:::-;26410:673:::0;;;;;;;;;;:::o;33617:855::-;33832:21;33804:8;21879:15;21867:8;:27;;21859:65;;;;;-1:-1:-1;;;21859:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21859:65:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;33904:4:0::1;33879:29;:4:::0;;-1:-1:-1;;33884:15:0;;33879:21;;::::1;;;;;;;;;;;-1:-1:-1::0;;;;;33879:21:0::1;-1:-1:-1::0;;;;;33879:29:0::1;;33871:72;;;::::0;;-1:-1:-1;;;33871:72:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;33871:72:0;;;;;;;;;;;;;::::1;;33964:56;33996:7;34005:8;34015:4;;33964:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;33964:31:0::1;::::0;-1:-1:-1;;;33964:56:0:i:1;:::-;33954:66;;34070:12;34039:7;34064:1;34047:7;:14;:18;34039:27;;;;;;;;;;;;;;:43;;34031:100;;;;-1:-1:-1::0;;;34031:100:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34142:142;34188:4;;34193:1;34188:7;;;;;;;;;;;;;-1:-1:-1::0;;;;;34188:7:0::1;34197:10;34209:52;34235:7;34244:4;;34249:1;34244:7;;;;;;;;;;;;;-1:-1:-1::0;;;;;34244:7:0::1;34253:4;;34258:1;34253:7;;;;;;;;;;;;;-1:-1:-1::0;;;;;34253:7:0::1;34209:25;:52::i;:::-;34263:7;34271:1;34263:10;;;;;;;;;;;;;;34142:31;:142::i;:::-;34295:35;34301:7;34310:4;;34295:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;34324:4:0::1;::::0;-1:-1:-1;34295:5:0::1;::::0;-1:-1:-1;;34295:35:0:i:1;:::-;34347:4;-1:-1:-1::0;;;;;34341:20:0::1;;34362:7;34387:1;34370:7;:14;:18;34362:27;;;;;;;;;;;;;;34341:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;34401:63;34432:2;34436:7;34461:1;34444:7;:14;:18;34436:27;;;;;;;;;;;;;;34401:30;:63::i;:::-;33617:855:::0;;;;;;;;;:::o;40284:254::-;40428:21;40474:56;40505:7;40514:9;40525:4;40474:30;:56::i;:::-;40467:63;;40284:254;;;;;:::o;27091:679::-;27397:12;27411;27436;27451:50;27477:7;27486:6;27494;27451:25;:50::i;:::-;27436:65;;27512:10;27525;:33;;27549:9;27525:33;;;-1:-1:-1;;27525:33:0;27569:81;;;-1:-1:-1;;;27569:81:0;;27598:10;27569:81;;;;27618:4;27569:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27512:46;;-1:-1:-1;;;;;;27569:28:0;;;;;:81;;;;;-1:-1:-1;;27569:81:0;;;;;;;;-1:-1:-1;27569:28:0;:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27682:80;27698:6;27706;27714:9;27725:10;27737;27749:2;27753:8;27682:15;:80::i;:::-;27661:101;;;;;;;;27091:679;;;;;;;;;;;;;;;;:::o;30813:631::-;31037:21;31018:8;21879:15;21867:8;:27;;21859:65;;;;;-1:-1:-1;;;21859:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21859:65:0;;;;;;;;;;;;;;;31081:56:::1;31113:7;31122:8;31132:4;;31081:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;31081:31:0::1;::::0;-1:-1:-1;;;31081:56:0:i:1;:::-;31071:66;;31187:12;31156:7;31181:1;31164:7;:14;:18;31156:27;;;;;;;;;;;;;;:43;;31148:100;;;;-1:-1:-1::0;;;31148:100:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31259:142;31305:4;;31310:1;31305:7;;;;;;31259:142;31412:24;31418:7;31427:4;;31412:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;31433:2:0;;-1:-1:-1;31412:5:0::1;::::0;-1:-1:-1;;31412:24:0:i:1;32776:833::-:0;32991:21;32963:8;21879:15;21867:8;:27;;21859:65;;;;;-1:-1:-1;;;21859:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21859:65:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;33063:4:0::1;33038:29;:4:::0;;-1:-1:-1;;33043:15:0;;33038:21;;::::1;;;;;;;;;;;-1:-1:-1::0;;;;;33038:21:0::1;-1:-1:-1::0;;;;;33038:29:0::1;;33030:72;;;::::0;;-1:-1:-1;;;33030:72:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;33030:72:0;;;;;;;;;;;;;::::1;;33123:56;33154:7;33163:9;33174:4;;33123:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;33123:30:0::1;::::0;-1:-1:-1;;;33123:56:0:i:1;:::-;33113:66;;33212:11;33198:7;33206:1;33198:10;;;;;;;;;;;;;;:25;;33190:78;;;;-1:-1:-1::0;;;33190:78:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29237:720:::0;29555:14;29582:12;29597:47;29623:7;29632:5;29639:4;29597:25;:47::i;:::-;29582:62;;29655:10;29668;:33;;29692:9;29668:33;;;-1:-1:-1;;29668:33:0;29712:81;;;-1:-1:-1;;;29712:81:0;;29741:10;29712:81;;;;29761:4;29712:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29655:46;;-1:-1:-1;;;;;;29712:28:0;;;;;:81;;;;;-1:-1:-1;;29712:81:0;;;;;;;;-1:-1:-1;29712:28:0;:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29816:133;29878:5;29885:9;29896:14;29912:12;29926:2;29930:8;29816:47;:133::i;:::-;29804:145;29237:720;-1:-1:-1;;;;;;;;;;;;;29237:720:0:o;36694:716::-;36928:8;21879:15;21867:8;:27;;21859:65;;;;;-1:-1:-1;;;21859:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21859:65:0;;;;;;;;;;;;;;;36949:140:::1;36995:4;;37000:1;36995:7;;;;;;;;;;;;;-1:-1:-1::0;;;;;36995:7:0::1;37004:10;37016:52;37042:7;37051:4;;37056:1;37051:7;;;;;;;;;;;;;-1:-1:-1::0;;;;;37051:7:0::1;37060:4;;37065:1;37060:7;;;;;;37016:52;37070:8;36949:31;:140::i;:::-;37100:18;37128:4:::0;;-1:-1:-1;;37133:15:0;;37128:21;;::::1;;;;;;;;;;;-1:-1:-1::0;;;;;37128:21:0::1;-1:-1:-1::0;;;;;37121:39:0::1;;37161:2;37121:43;;;;;;;;;;;;;-1:-1:-1::0;;;;;37121:43:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;37121:43:0;37175:44:::1;::::0;;37121:43:::1;37175:44:::0;;::::1;::::0;;;;;;;;;;;37121:43;;-1:-1:-1;37175:44:0::1;::::0;;;37210:4;;;;;;37175:44;::::1;::::0;37210:4;;37175:44;37210:4;37175:44;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;37216:2:0;;-1:-1:-1;37175:34:0::1;::::0;-1:-1:-1;;37175:44:0:i:1;:::-;37318:12:::0;37252:62:::1;37300:13:::0;37259:4;;-1:-1:-1;;37264:15:0;;37259:21;;::::1;;;;;;;;;;;-1:-1:-1::0;;;;;37259:21:0::1;-1:-1:-1::0;;;;;37252:39:0::1;;37292:2;37252:43;;;;;;;;;;;;;-1:-1:-1::0;;;;;37252:43:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;37252:43:0;;:47:::1;:62::i;:::-;:78;;37230:172;;;;-1:-1:-1::0;;;37230:172:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21935:1;36694:716:::0;;;;;;;:::o;38279:846::-;38546:8;21879:15;21867:8;:27;;21859:65;;;;;-1:-1:-1;;;21859:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21859:65:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;38605:4:0::1;38580:29;:4:::0;;-1:-1:-1;;38585:15:0;;38580:21;;::::1;;;;;;;;;;;-1:-1:-1::0;;;;;38580:21:0::1;-1:-1:-1::0;;;;;38580:29:0::1;;38572:72;;;::::0;;-1:-1:-1;;;38572:72:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;38572:72:0;;;;;;;;;;;;;::::1;;38655:140;38701:4;;38706:1;38701:7;;;;;;38655:140;38806:55;38841:4;;38806:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;38855:4:0::1;::::0;-1:-1:-1;38806:34:0::1;::::0;-1:-1:-1;;38806:55:0:i:1;:::-;38872:14;38896:4;-1:-1:-1::0;;;;;38889:22:0::1;;38920:4;38889:37;;;;;;;;;;;;;-1:-1:-1::0;;;;;38889:37:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;38889:37:0;;-1:-1:-1;38945:25:0;;::::1;;38937:82;;;;-1:-1:-1::0;;;38937:82:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39036:4;-1:-1:-1::0;;;;;39030:20:0::1;;39051:9;39030:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;39072:45;39103:2;39107:9;39072:30;:45::i;32067:701::-:0;32283:21;32255:8;21879:15;21867:8;:27;;21859:65;;;;;-1:-1:-1;;;21859:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21859:65:0;;;;;;;;;;;;;;;32341:4:::1;-1:-1:-1::0;;;;;32330:15:0::1;:4;;32335:1;32330:7;;;;;;;;;;;;;-1:-1:-1::0;;;;;32330:7:0::1;-1:-1:-1::0;;;;;32330:15:0::1;;32322:58;;;::::0;;-1:-1:-1;;;32322:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;32322:58:0;;;;;;;;;;;;;::::1;;32401:57;32433:7;32442:9;32453:4;;32401:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;32401:31:0::1;::::0;-1:-1:-1;;;32401:57:0:i:1;:::-;32391:67;;32508:12;32477:7;32502:1;32485:7;:14;:18;32477:27;;;;;;;;;;;;;;:43;;32469:100;;;;-1:-1:-1::0;;;32469:100:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32586:4;-1:-1:-1::0;;;;;32580:19:0::1;;32607:7;32615:1;32607:10;;;;;;;;;;;;;;32580:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;32644:4;-1:-1:-1::0;;;;;32638:20:0::1;;32659:52;32685:7;32694:4;;32699:1;32694:7;;;;;;32659:52;32713:7;32721:1;32713:10;;;;;;;;;;;;;;32638:86;;;;;;;;;;;;;-1:-1:-1::0;;;;;32638:86:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;32638:86:0;32631:94:::1;;;;32736:24;32742:7;32751:4;;32736:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;32757:2:0;;-1:-1:-1;32736:5:0::1;::::0;-1:-1:-1;;32736:24:0:i:1;:::-;32067:701:::0;;;;;;;;:::o;31450:609::-;31674:21;31655:8;21879:15;21867:8;:27;;21859:65;;;;;-1:-1:-1;;;21859:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21859:65:0;;;;;;;;;;;;;;;31718:56:::1;31749:7;31758:9;31769:4;;31718:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;31718:30:0::1;::::0;-1:-1:-1;;;31718:56:0:i:1;:::-;31708:66;;31807:11;31793:7;31801:1;31793:10;;;;;;;;;;;;;;:25;;31785:78;;;;-1:-1:-1::0;;;31785:78:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39367:320:::0;39552:14;39591:88;39622:7;39631:8;39641:9;39652:10;39664:6;39672;39591:30;:88::i;:::-;39584:95;39367:320;-1:-1:-1;;;;;;39367:320:0:o;21770:38::-;;;:::o;39169:190::-;39266:12;39299:52;39323:7;39332:8;39342;39299:23;:52::i;:::-;39292:59;39169:190;-1:-1:-1;;;;39169:190:0:o;28529:700::-;28795:14;28776:8;21879:15;21867:8;:27;;21859:65;;;;;-1:-1:-1;;;21859:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21859:65:0;;;;;;;;;;;;;;;28838:196:::1;28868:5;28888:4;28907:9;28931:14;28960:12;28995:4;29015:8;28838:15;:196::i;:::-;28822:212;;;;;;29045:78;29073:5;29080:2;29091:5;-1:-1:-1::0;;;;;29084:23:0::1;;29116:4;29084:38;;;;;;;;;;;;;-1:-1:-1::0;;;;;29084:38:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;29084:38:0;29045:27:::1;:78::i;:::-;29140:4;-1:-1:-1::0;;;;;29134:20:0::1;;29155:9;29134:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;29176:45;29207:2;29211:9;29176:30;:45::i;37418:853::-:0;37678:8;21879:15;21867:8;:27;;21859:65;;;;;-1:-1:-1;;;21859:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21859:65:0;;;;;;;;;;;;;;;37723:4:::1;-1:-1:-1::0;;;;;37712:15:0::1;:4;;37717:1;37712:7;;;;;;;;;;;;;-1:-1:-1::0;;;;;37712:7:0::1;-1:-1:-1::0;;;;;37712:15:0::1;;37704:58;;;::::0;;-1:-1:-1;;;37704:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;37704:58:0;;;;;;;;;;;;;::::1;;37773:13;37789:9;37773:25;;37815:4;-1:-1:-1::0;;;;;37809:19:0::1;;37836:8;37809:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;37871:4;-1:-1:-1::0;;;;;37865:20:0::1;;37886:52;37912:7;37921:4;;37926:1;37921:7;;;;;;37886:52;37940:8;37865:84;;;;;;;;;;;;;-1:-1:-1::0;;;;;37865:84:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;37865:84:0;37858:92:::1;;;;37961:18;37989:4:::0;;-1:-1:-1;;37994:15:0;;37989:21;;::::1;;;;;;;;;;;-1:-1:-1::0;;;;;37989:21:0::1;-1:-1:-1::0;;;;;37982:39:0::1;;38022:2;37982:43;;;;;;;;;;;;;-1:-1:-1::0;;;;;37982:43:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;37982:43:0;38036:44:::1;::::0;;37982:43:::1;38036:44:::0;;::::1;::::0;;;;;;;;;;;37982:43;;-1:-1:-1;38036:44:0::1;::::0;;;38071:4;;;;;;38036:44;::::1;::::0;38071:4;;38036:44;38071:4;38036:44;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;38077:2:0;;-1:-1:-1;38036:34:0::1;::::0;-1:-1:-1;;38036:44:0:i:1;:::-;38179:12:::0;38113:62:::1;38161:13:::0;38120:4;;-1:-1:-1;;38125:15:0;;38120:21;;::::1;;;;;;;;;;;-1:-1:-1::0;;;;;38120:21:0::1;-1:-1:-1::0;;;;;38113:39:0::1;;38153:2;38113:43;;;;;;;;;;;;;-1:-1:-1::0;;;;;38113:43:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;25531:871:::0;25785:12;25799;25766:8;21879:15;21867:8;:27;;21859:65;;;;;-1:-1:-1;;;21859:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21859:65:0;;;;;;;;;;;;;;;25824:12:::1;25839:50;25865:7;25874:6;25882;25839:25;:50::i;:::-;25900:63;::::0;;-1:-1:-1;;;25900:63:0;;25935:10:::1;25900:63;::::0;::::1;::::0;-1:-1:-1;;;;;25900:34:0;::::1;:63:::0;;;;;;;;;;;;;;25824:65;;-1:-1:-1;25900:34:0;;::::1;::::0;:63;;;;;::::1;::::0;;;;;;;;;-1:-1:-1;25900:34:0;:63;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;26031:30:0::1;::::0;;-1:-1:-1;;;26031:30:0;;-1:-1:-1;;;;;26031:30:0;;::::1;;::::0;::::1;::::0;;;26001:12:::1;::::0;;;26031:26;;::::1;::::0;::::1;::::0;:30;;;;;;;;;;;26001:12;26031:26;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;26031:30:0;;::::1;::::0;;::::1;::::0;;;-1:-1:-1;26031:30:0;-1:-1:-1;26073:14:0::1;26092:44;26121:6:::0;26129;26092:28:::1;:44::i;:::-;26072:64;;;26178:6;-1:-1:-1::0;;;;;26168:16:0::1;:6;-1:-1:-1::0;;;;;26168:16:0::1;;:58;;26209:7;26218;26168:58;;;26188:7;26197;26168:58;26147:79:::0;;-1:-1:-1;26147:79:0;-1:-1:-1;26245:21:0;;::::1;;26237:73;;;;-1:-1:-1::0;;;26237:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26340:10;26329:7;:21;;26321:73;;;;-1:-1:-1::0;;;26321:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21935:1;;;;25531:871:::0;;;;;;;;;;;:::o;21722:41::-;;;:::o;39695:319::-;39880:13;39918:88;39948:7;39957:9;39968;39979:10;39991:6;39999;39918:29;:88::i;40022:254::-;40166:21;40212:56;40244:7;40253:8;40263:4;40212:31;:56::i;27778:672::-;28067:16;28085:14;28112:12;28127:47;28153:7;28162:5;28169:4;28127:25;:47::i;:::-;28112:62;;28185:10;28198;:33;;28222:9;28198:33;;;-1:-1:-1;;28198:33:0;28242:81;;;-1:-1:-1;;;28242:81:0;;28271:10;28242:81;;;;28291:4;28242:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28185:46;;-1:-1:-1;;;;;;28242:28:0;;;;;:81;;;;;-1:-1:-1;;28242:81:0;;;;;;;;-1:-1:-1;28242:28:0;:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28361;28380:5;28387:9;28398:14;28414:12;28428:2;28433:8;28361:18;:81::i;:::-;28334:108;;;;-1:-1:-1;27778:672:0;-1:-1:-1;;;;;;;;;;;;;27778:672:0:o;23642:861::-;23930:12;23944;23958:14;23911:8;21879:15;21867:8;:27;;21859:65;;;;;-1:-1:-1;;;21859:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21859:65:0;;;;;;;;;;;;;;;24012:10:::1;23994:14;:28;;23993:64;;;;;24046:10;24028:14;:28;;23993:64;23985:109;;;::::0;;-1:-1:-1;;;23985:109:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;24126:86;24140:6;24148;24156:14;24172;24188:10;24201;24126:13;:86::i;:::-;24105:107:::0;;-1:-1:-1;24105:107:0;-1:-1:-1;24223:12:0::1;24238:50;24264:7;24273:6:::0;24281;24238:25:::1;:50::i;:::-;24223:65;;24299:66;24331:6;24339:10;24351:4;24357:7;24299:31;:66::i;:::-;24376;24408:6;24416:10;24428:4;24434:7;24376:31;:66::i;:::-;24481:4;-1:-1:-1::0;;;;;24465:26:0::1;;24492:2;24465:30;;;;;;;;;;;;;-1:-1:-1::0;;;;;24465:30:0::1;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;24465:30:0;23642:861;;;;-1:-1:-1;24465:30:0;;-1:-1:-1;23642:861:0;;-1:-1:-1;;;;;;;;;23642:861:0:o;24511:977::-;24764:16;24782:14;24798:15;24745:8;21879:15;21867:8;:27;;21859:65;;;;;-1:-1:-1;;;21859:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21859:65:0;;;;;;;;;;;;;;;24853:176:::1;24881:5;24901:4;24920:18;24953:9;24977:14;25006:12;24853:13;:176::i;:::-;24826:203:::0;;-1:-1:-1;24826:203:0;-1:-1:-1;25040:12:0::1;25055:47;25081:7;25090:5:::0;25097:4:::1;25055:25;:47::i;:::-;25040:62;;25113:69;25145:5;25152:10;25164:4;25170:11;25113:31;:69::i;:::-;25199:4;-1:-1:-1::0;;;;;25193:19:0::1;;25220:9;25193:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;25256:4;-1:-1:-1::0;;;;;25250:20:0::1;;25271:4;25277:9;25250:37;;;;;;;;;;;;;-1:-1:-1::0;;;;;25250:37:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;25250:37:0;25243:45:::1;;;;25327:4;-1:-1:-1::0;;;;;25311:26:0::1;;25338:2;25311:30;;;;;;;;;;;;;-1:-1:-1::0;;;;;25311:30:0::1;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;25311:30:0;;-1:-1:-1;25392:9:0::1;:21:::0;-1:-1:-1;25388:92:0::1;;;25415:65;25446:10;25470:9;25458;:21;25415:30;:65::i;:::-;21935:1;24511:977:::0;;;;;;;;;;;:::o;34480:814::-;34693:21;34665:8;21879:15;21867:8;:27;;21859:65;;;;;-1:-1:-1;;;21859:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21859:65:0;;;;;;;;;;;;;;;34751:4:::1;-1:-1:-1::0;;;;;34740:15:0::1;:4;;34745:1;34740:7;;;;;;;;;;;;;-1:-1:-1::0;;;;;34740:7:0::1;-1:-1:-1::0;;;;;34740:15:0::1;;34732:58;;;::::0;;-1:-1:-1;;;34732:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;34732:58:0;;;;;;;;;;;;;::::1;;34811:56;34842:7;34851:9;34862:4;;34811:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;34811:30:0::1;::::0;-1:-1:-1;;;34811:56:0:i:1;:::-;34801:66;;34900:9;34886:7;34894:1;34886:10;;;;;;;;;;;;;;:23;;34878:76;;;;-1:-1:-1::0;;;34878:76:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34971:4;-1:-1:-1::0;;;;;34965:19:0::1;;34992:7;35000:1;34992:10;;;;;;;;;;;;;;34965:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;35029:4;-1:-1:-1::0;;;;;35023:20:0::1;;35044:52;35070:7;35079:4;;35084:1;35079:7;;;;;;35044:52;35098:7;35106:1;35098:10;;;;;;;;;;;;;;35023:86;;;;;;;;;;;;;-1:-1:-1::0;;;;;35023:86:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;35023:86:0;35016:94:::1;;;;35121:24;35127:7;35136:4;;35121:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;35142:2:0;;-1:-1:-1;35121:5:0::1;::::0;-1:-1:-1;;35121:24:0:i:1;:::-;35208:7;35216:1;35208:10;;;;;;;;;;;;;;35196:9;:22;35192:94;;;35220:66;35251:10;35275:7;35283:1;35275:10;;;;;;;;;;;;;;35263:9;:22;35220:30;:66::i;14323:361::-:0;14518:45;;;-1:-1:-1;;;;;14518:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14518:45:0;-1:-1:-1;;;14518:45:0;;;14507:57;;;;14472:12;;14486:17;;14507:10;;;;14518:45;14507:57;;;14518:45;14507:57;;14518:45;14507:57;;;;;;;;;;-1:-1:-1;;14507:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14471:93;;;;14583:7;:57;;;;-1:-1:-1;14595:11:0;;:16;;:44;;;14626:4;14615:24;;;;;;;;;;;;;;;-1:-1:-1;14615:24:0;14595:44;14575:101;;;;;-1:-1:-1;;;14575:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14323:361;;;;;:::o;15102:195::-;15210:12;;;15172;15210;;;;;;;;;-1:-1:-1;;;;;15189:7:0;;;15203:5;;15189:34;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15189:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15171:52;;;15242:7;15234:55;;;;-1:-1:-1;;;15234:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15102:195;;;:::o;12542:543::-;12643:21;12700:1;12685:4;:11;:16;;12677:60;;;;;-1:-1:-1;;;12677:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12769:4;:11;12758:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12758:23:0;;12748:33;;12805:8;12792:7;12800:1;12792:10;;;;;;;;;;;;;:21;;;;;12829:6;12824:254;12855:1;12841:4;:11;:15;12837:1;:19;12824:254;;;12879:14;12895:15;12914:42;12926:7;12935:4;12940:1;12935:7;;;;;;;;;;;;;;12944:4;12949:1;12953;12949:5;12944:11;;;;;;;;;;;;;;12914;:42::i;:::-;12878:78;;;;12988;13001:7;13010;13018:1;13010:10;;;;;;;;;;;;;;13022:9;13033:10;13045:4;13050:1;13045:7;;;;;;;;;;;;;;13054:4;13059:1;13063;13059:5;13054:11;;;;;;;;;;;;;;12988:12;:78::i;:::-;12971:7;12979:1;12983;12979:5;12971:14;;;;;;;;;;;;;;;;;:95;-1:-1:-1;;12858:3:0;;12824:254;;;;12542:543;;;;;:::o;9353:509::-;9442:12;9468:14;9484;9502:26;9513:6;9521;9502:10;:26::i;:::-;9666:32;;;-1:-1:-1;;9666:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9656:43;;;;;;-1:-1:-1;;;;;;9569:282:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9559:293;;;;;;;;;9353:509;-1:-1:-1;;;;;9353:509:0:o;14692:402::-;14917:51;;;-1:-1:-1;;;;;14917:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14917:51:0;-1:-1:-1;;;14917:51:0;;;14906:63;;;;14871:12;;14885:17;;14906:10;;;;14917:51;14906:63;;;14917:51;14906:63;;14917:51;14906:63;;;;;;;;;;-1:-1:-1;;14906:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14870:99;;;;14988:7;:57;;;;-1:-1:-1;15000:11:0;;:16;;:44;;;15031:4;15020:24;;;;;;;;;;;;;;;-1:-1:-1;15020:24:0;15000:44;14980:106;;;;-1:-1:-1;;;14980:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14692:402;;;;;;:::o;30068:739::-;30175:6;30170:630;30201:1;30187:4;:11;:15;30183:1;:19;30170:630;;;30225:13;30240:14;30259:4;30264:1;30259:7;;;;;;;;;;;;;;30268:4;30273:1;30277;30273:5;30268:11;;;;;;;;;;;;;;30224:56;;;;30296:14;30315:43;30344:5;30351:6;30315:28;:43::i;:::-;30295:63;;;30373:14;30390:7;30398:1;30402;30398:5;30390:14;;;;;;;;;;;;;;30373:31;;30420:15;30437;30465:6;-1:-1:-1;;;;;30456:15:0;:5;-1:-1:-1;;;;;30456:15:0;;:61;;30498:9;30514:1;30456:61;;;30480:1;30484:9;30456:61;30419:98;;;;30532:10;30563:1;30549:4;:11;:15;30545:1;:19;:83;;30625:3;30545:83;;;30567:55;30593:7;30602:6;30610:4;30615:1;30619;30615:5;30610:11;;;;;;;;;;;;;;30567:25;:55::i;:::-;30532:96;;30659:49;30685:7;30694:5;30701:6;30659:25;:49::i;:::-;-1:-1:-1;;;;;30643:71:0;;30733:10;30745;30757:2;30771:1;30761:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30761:12:0;;30643:145;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30643:145:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30204:3:0;;;;;-1:-1:-1;30170:630:0;;-1:-1:-1;;;;;;;;30170:630:0;;;30068:739;;;:::o;13166:564::-;13267:21;13324:1;13309:4;:11;:16;;13301:60;;;;;-1:-1:-1;;;13301:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13393:4;:11;13382:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13382:23:0;;13372:33;;13446:9;13416:7;13441:1;13424:7;:14;:18;13416:27;;;;;;;;;;;;;;;;;:39;13480:11;;-1:-1:-1;;13480:15:0;13466:257;13497:5;;13466:257;;13525:14;13541:15;13560:42;13572:7;13581:4;13590:1;13586;:5;13581:11;;;;;;;;;;;;;;13594:4;13599:1;13594:7;;;;;;;13560:42;13524:78;;;;13634:77;13646:7;13655;13663:1;13655:10;;;;;;;;;;;;;;13667:9;13678:10;13690:4;13699:1;13695;:5;13690:11;;;;;;;;;;;;;;13703:4;13708:1;13703:7;;;;;;;;;;;;;;13634:11;:77::i;:::-;13617:7;13629:1;13625;:5;13617:14;;;;;;;;;;;;;;;;;:94;-1:-1:-1;;;;13504:3:0;13466:257;;35441:1247;35554:6;35549:1132;35580:1;35566:4;:11;:15;35562:1;:19;35549:1132;;;35604:13;35619:14;35638:4;35643:1;35638:7;;;;;;;;;;;;;;35647:4;35652:1;35656;35652:5;35647:11;;;;;;;;;;;;;;35603:56;;;;35675:14;35694:43;35723:5;35730:6;35694:28;:43::i;:::-;35674:63;;;35752:20;35791:49;35817:7;35826:5;35833:6;35791:25;:49::i;:::-;35752:89;;35856:16;35887:17;35975:13;35990;36008:4;-1:-1:-1;;;;;36008:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36008:18:0;;;;;;;-1:-1:-1;;;;;35974:52:0;;;;-1:-1:-1;35974:52:0;;-1:-1:-1;36042:17:0;;-1:-1:-1;;;;;36083:15:0;;;;;;;:62;;36125:8;36136;36083:62;;;36102:8;36112;36083:62;36041:104;;;;36174:56;36217:12;36181:5;-1:-1:-1;;;;;36174:23:0;;36206:4;36174:38;;;;;;;;;;;;;-1:-1:-1;;;;;36174:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;:56;36160:70;;36260:97;36291:7;36300:11;36313:12;36327:13;36343:5;36350:6;36260:30;:97::i;:::-;36245:112;;35549:1132;;;;36388:15;36405;36433:6;-1:-1:-1;;;;;36424:15:0;:5;-1:-1:-1;;;;;36424:15:0;;:68;;36469:12;36489:1;36424:68;;;36448:1;36452:12;36424:68;36387:105;;;;36507:10;36538:1;36524:4;:11;:15;36520:1;:19;:83;;36600:3;36520:83;;;36542:55;36568:7;36577:6;36585:4;36590:1;36594;36590:5;36585:11;;;;;;;36542:55;36656:12;;;36666:1;36656:12;;;;;;;;;;-1:-1:-1;;;36618:51:0;;;;;;;;;;;;;;-1:-1:-1;;;;;36618:51:0;;;;;;;;;;;;;;;;;;;;;;36507:96;;-1:-1:-1;36618:9:0;;;;;;36628:10;;36640;;36507:96;;36656:12;;36618:51;;;;;;;;36656:12;;36618:51;;;;36656:12;;36618:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;35583:3:0;;;;;-1:-1:-1;35549:1132:0;;-1:-1:-1;;;;;;;;;;35549:1132:0;5911:136;5969:7;5996:43;6000:1;6003;5996:43;;;;;;;;;;;;;;;;;:3;:43::i;10870:757::-;11012:14;11058:1;11047:8;:12;11039:69;;;;-1:-1:-1;;;11039:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11139:1;11127:9;:13;:31;;;;;11157:1;11144:10;:14;11127:31;11119:85;;;;-1:-1:-1;;;11119:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11215:11;11248:7;-1:-1:-1;;;;;11229:38:0;;11268:32;11276:7;11285:6;11293;11268:7;:32::i;:::-;11229:72;;;;;;;;;;;;;-1:-1:-1;;;;;11229:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11229:72:0;11348:45;;;-1:-1:-1;;;11348:45:0;;;;11229:72;;-1:-1:-1;11312:20:0;;11335:68;;11348:54;;11229:72;;-1:-1:-1;;;;;11348:43:0;;;;;:45;;;;;11229:72;;11348:45;;;;;;;;:43;:45;;;;;;;;;;:54;11335:8;;:12;:68::i;:::-;11312:91;-1:-1:-1;11414:14:0;11431:31;11312:91;11451:10;11431:19;:31::i;:::-;11414:48;;11473:16;11492:81;11557:15;11492:60;11525:7;-1:-1:-1;;;;;11506:43:0;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11506:45:0;11492:9;;:13;:60::i;:::-;:64;;:81::i;:::-;11473:100;;11608:11;11596:9;:23;;;;;;;10870:757;-1:-1:-1;;;;;;;;;;;10870:757:0:o;10425:323::-;10507:12;10550:1;10540:7;:11;10532:62;;;;-1:-1:-1;;;10532:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10624:1;10613:8;:12;:28;;;;;10640:1;10629:8;:12;10613:28;10605:82;;;;-1:-1:-1;;;10605:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10732:8;10708:21;:7;10720:8;10708:11;:21::i;:::-;:32;;;;;;;10425:323;-1:-1:-1;;;;10425:323:0:o;8910:351::-;8985:14;9001;9046:6;-1:-1:-1;;;;;9036:16:0;:6;-1:-1:-1;;;;;9036:16:0;;;9028:67;;;;-1:-1:-1;;;9028:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9134:6;-1:-1:-1;;;;;9125:15:0;:6;-1:-1:-1;;;;;9125:15:0;;:53;;9163:6;9171;9125:53;;;9144:6;9152;9125:53;9106:72;;-1:-1:-1;9106:72:0;-1:-1:-1;;;;;;9197:20:0;;9189:64;;;;;-1:-1:-1;;;9189:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8910:351;;;;;:::o;11748:712::-;11890:13;11936:1;11924:9;:13;11916:71;;;;-1:-1:-1;;;11916:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12018:1;12006:9;:13;:31;;;;;12036:1;12023:10;:14;12006:31;11998:85;;;;-1:-1:-1;;;11998:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12094:11;12127:7;-1:-1:-1;;;;;12108:38:0;;12147:32;12155:7;12164:6;12172;12147:7;:32::i;:::-;12108:72;;;;;;;;;;;;;-1:-1:-1;;;;;12108:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12108:72:0;12237:45;;;-1:-1:-1;;;12237:45:0;;;;12108:72;;-1:-1:-1;12191:14:0;;12208:75;;-1:-1:-1;;;;;12237:43:0;;;;;:45;;;;;12108:72;;12237:45;;;;;;;;:43;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12237:45:0;12208:24;:9;12222;12208:13;:24::i;:::-;:28;;:75::i;:::-;12191:92;;12294:16;12313:85;12343:54;12393:3;12362:7;-1:-1:-1;;;;;12343:43:0;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:54;12313:25;:10;12328:9;12313:14;:25::i;:85::-;12294:104;;12420:32;12450:1;12433:11;12421:9;:23;;;;;;;12420:29;:32::i;:::-;12409:43;11748:712;-1:-1:-1;;;;;;;;;;11748:712:0:o;22239:1397::-;22457:12;22471;22615:1;-1:-1:-1;;;;;22552:65:0;22571:7;-1:-1:-1;;;;;22552:35:0;;22588:6;22596;22552:51;;;;;;;;;;;;;-1:-1:-1;;;;;22552:51:0;;;;;;-1:-1:-1;;;;;22552:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22552:51:0;-1:-1:-1;;;;;22552:65:0;;22548:152;;;22653:7;-1:-1:-1;;;;;22634:38:0;;22673:6;22681;22634:54;;;;;;;;;;;;;-1:-1:-1;;;;;22634:54:0;;;;;;-1:-1:-1;;;;;22634:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;22548:152:0;22711:13;22726;22743:54;22773:7;22782:6;22790;22743:29;:54::i;:::-;22710:87;;;;22812:8;22824:1;22812:13;:30;;;;-1:-1:-1;22829:13:0;;22812:30;22808:821;;;22881:14;;-1:-1:-1;22897:14:0;;-1:-1:-1;22808:821:0;;;22945:19;22967:59;22991:14;23007:8;23017;22967:23;:59::i;:::-;22945:81;;23063:14;23045;:32;23041:577;;23124:10;23106:14;:28;;23098:80;;;;-1:-1:-1;;;23098:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23219:14;;-1:-1:-1;23235:14:0;-1:-1:-1;23235:14:0;23041:577;;;23291:19;23313:59;23337:14;23353:8;23363;23313:23;:59::i;:::-;23291:81;;23416:14;23398;:32;;23391:40;;;;23476:10;23458:14;:28;;23450:80;;;;-1:-1:-1;;;23450:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23571:14;-1:-1:-1;23587:14:0;;-1:-1:-1;23041:577:0;22808:821;;22239:1397;;;;;;;;;;;:::o;9920:392::-;10013:13;10028;10055:14;10074:26;10085:6;10093;10074:10;:26::i;:::-;10054:46;;;10112:13;10127;10161:32;10169:7;10178:6;10186;10161:7;:32::i;:::-;-1:-1:-1;;;;;10145:61:0;;:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10145:63:0;;;;;;;-1:-1:-1;;;;;10111:97:0;;;;-1:-1:-1;10111:97:0;;-1:-1:-1;;;;;;10242:16:0;;;;;;;:62;;10285:8;10295;10242:62;;;10262:8;10272;10242:62;10219:85;;;;-1:-1:-1;9920:392:0;-1:-1:-1;;;;;;;9920:392:0:o;6350:192::-;6436:7;6472:12;6464:6;;;;6456:29;;;;-1:-1:-1;;;6456:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6508:5:0;;;6350:192::o;6801:471::-;6859:7;7104:6;7100:47;;-1:-1:-1;7134:1:0;7127:8;;7100:47;7171:5;;;7175:1;7171;:5;:1;7195:5;;;;;:10;7187:56;;;;-1:-1:-1;;;7187:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5447:181;5505:7;5537:5;;;5561:6;;;;5553:46;;;;;-1:-1:-1;;;5553:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://864932b811975c58bddfdd5a2c51ee3f47236a0ff638e42fcfbd729d3175850d
Block Transaction Difficulty Gas Used Reward
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.