Contract 0xA68494DB7591e633b6902b8d61dCeb81a225667A 1

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xd4bb4850bafb6668c93b004ee05c4aa16151c965758cb2a6ad49ffaa287974a4Earn84764182021-09-22 15:05:08276 days 17 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x7045309c703132cfb6511c8a35fb4f5bd3492c884cb467fce30093a72013c725Earn84476212021-09-21 15:05:07277 days 17 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x65d8dbcad17ac6d06122e3935ba5d0d1b523715bfd2afeab8f51f6811d62da2fEarn84200212021-09-20 16:05:07278 days 16 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x8202bddd7427805fe7aaa81490b762ec45bdbb6daefe6c6c42617e8f6b61066cEarn84188202021-09-20 15:05:04278 days 17 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x8b4a976037576439f38e935c00a48255669e1996f4a64397cbd56526632e263fEarn83912242021-09-19 16:05:07279 days 16 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x121a42d76d5c2ef3899fd0646f3c470a49356fcbbec1ec32d589fb2d755b79a2Earn83900242021-09-19 15:05:07279 days 17 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00361273964.1
0x488622ffe025a8f78f4563211abccb69344c25f977bdfa0cf51b917204937e48Earn83624252021-09-18 16:05:07280 days 16 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0xfd6cfbf43890e4e9dd072addccf7d0d1bafa4c429a1109de7a8e71ccd45d1983Earn83612252021-09-18 15:05:06280 days 17 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x5e6334076706a4e5c8af89f36f367dad00f5d35d3253605178067eacdaa334e1Earn83048282021-09-16 16:05:06282 days 16 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x8b5847bb5f2f60e12e6aebb5116d99b8c9fbe271e60a4213d42a8f7d87820f30Earn83036292021-09-16 15:05:08282 days 17 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0xf0bd2d116e25feb7bb1689092190dbe2e698ad322460a4e410b58c6315e68f06Earn82760302021-09-15 16:05:08283 days 16 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x6acdc00403aa507f123fb4c53403255ea89706a0c0d7fd3300cebbfe73379b1fEarn82748302021-09-15 15:05:08283 days 17 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0xc3c2c7ebd7ead0f800d3a7209af08dbfdb78470deedb0a69dfcb0f6dcd2beabcEarn82472312021-09-14 16:05:06284 days 16 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x0e650bdf9b0fd936c2470d7b7d2311bc619c178dad1546fafe5cca2e22250fa5Earn82460322021-09-14 15:05:09284 days 17 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0xa59d895a922dacb6d029f345a55fcd567ae72ac4c6e0916bf494003b2329688aEarn82184322021-09-13 16:05:08285 days 16 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x537310252e347dab9ac3236ab1cb74f7509b93592760759a60e8c174c687ccfdEarn82172322021-09-13 15:05:08285 days 17 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0xadd3d8eef687967cca8d119bd3d81ada752c05db743de702e9f902e5a8c8fd3aEarn81896322021-09-12 16:05:07286 days 16 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x8c8d88937e488be53831cebc082803670f61b669a0b1866d1154a92a47cb2b0fEarn81884322021-09-12 15:05:07286 days 17 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x0c1ff3901a9d48d5dfe3b891ef815b5180ec5c3e4b2a9042ab74244a638188f7Earn81608342021-09-11 16:05:07287 days 16 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0xff3707cca448dac32b28395353262fc22df4584ad200491c488475a619857734Earn81596342021-09-11 15:05:07287 days 17 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0xbab8ae909f06115ed312916e402bb96957575e5da98ed3801463d1c5b1aa2f97Earn81320342021-09-10 16:05:07288 days 16 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x25e20f824b605ae4b34011933c8182cf284eab6c79e7cb16765a712ef4cfab7fEarn81308342021-09-10 15:05:07288 days 17 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x4cde6af83b0cef36165b91b5198f096fd4203cda65fba5b1d90752e0fb8bbb20Earn81032342021-09-09 16:05:07289 days 16 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00361273964.1
0xf04ebd5e6bccfb049939bf23dfdf15c14bd0f377295eea22893a553a37aa7f4aEarn81020342021-09-09 15:05:07289 days 17 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
0x98e239d2b91c2566036835fca2062dd8cf23429091917c84dec510546d0455a2Earn80744342021-09-08 16:05:07290 days 16 hrs ago0xce3fc0dd022a371704f472c8de0472591827e087 IN  0xa68494db7591e633b6902b8d61dceb81a225667a0 HT0.00383782964.1
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x02E8629065e5827942B588B9ABD114Ae35e80360

Contract Name:
Strat_Guru

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 13 of 13: Strat_Guru.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;
import './SafeMath.sol';
import './IERC20.sol';
import './ERC20.sol';
import './SafeERC20.sol';
import './Address.sol';
import './EnumerableSet.sol';
import './Context.sol';
import './Ownable.sol';
import './ReentrancyGuard.sol';
import './Pausable.sol';
import './IMdexRouter.sol';
import './ISwapMining.sol';


interface IMasterChefHeco {
    function pending(uint256 pid, address user) external view returns (uint256);

    function deposit(uint256 pid, uint256 amount) external;

    function withdraw(uint256 pid, uint256 amount) external;

    function emergencyWithdraw(uint256 pid) external;

   
}
 interface IBitGuruFarm {
    function   setAccBonus(uint256 _pid,uint256 _bonusAmt) external ;

    }


contract Strat_Guru is Ownable, ReentrancyGuard, Pausable {

    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    bool public isCAKEStaking; // only for staking CAKE using pancakeswap's native CAKE staking contract.
    bool public isAutoComp; //

    address public farmContractAddress; // address of farm, eg, Hecopool,PCS, Thugs etc.
    uint256 public pid; // pid of pool in farmContractAddress
    address public wantAddress;
    address public token0Address;
    address public token1Address;
    address public earnedAddress;
    address public uniRouterAddress; // uniswap, pancakeswap,mdex etc

    address public constant midAddress =
        0xa71EdC38d189767582C38A3145b5873052c3e47a;

    address public GuruFarmAddress;
    address public GuruAddress;
    address public govAddress; // timelock contract
    address public govTGSAddress = 0x17d8259e3BCdc4a07Ab9B3197c9c67A7D27eab55; //TGS timelock contract
    address public rewardsMigratorAddress;
    bool public onlyGov = true;

    uint256 public lastEarnBlock = 0;
    uint256 public wantLockedTotal = 0;
    uint256 public sharesTotal = 0;

    uint256 public controllerFee = 110;
    uint256 public constant controllerFeeMax = 10000; // 100 = 1%
    uint256 public constant controllerFeeUL = 300;

    uint256 public buyBackRate = 0;
    uint256 public constant buyBackRateMax = 10000; // 100 = 1%
    uint256 public constant buyBackRateUL = 800;
    address public constant buyBackAddress = 0x000000000000000000000000000000000000dEaD;


    uint256 public bonusRate = 700;
    uint256 public constant bonusRateMax = 10000; // 100 = 1%
    uint256 public constant bonusRateUL = 800;
    address public bonusToken = 0xa71EdC38d189767582C38A3145b5873052c3e47a;//USDT

    uint256 public entranceFeeFactor = 9990; // < 0.1% entrance fee - goes to pool + prevents front-running
    uint256 public constant entranceFeeFactorMax = 10000;
    uint256 public constant entranceFeeFactorLL = 9950; // 0.5% is the max entrance fee settable. LL = lowerlimit

    address[] public earnedToGuruPath;
    address[] public earnedToToken0Path;
    address[] public earnedToToken1Path;
    address[] public token0ToEarnedPath;
    address[] public token1ToEarnedPath;
    address[] public  earnedToBonusPath ;

    uint256 public  earnamountTest = 0;//test
    uint256 public  BonusTest = 0;//test
    uint256 public  nXVer = 8;


    constructor(
        address _govAddress,
        address _rewardsMigratorAddress,
        address _GuruFarmAddress,
        address _GuruAddress,
        bool _isCAKEStaking,
        bool _isAutoComp,
        address _farmContractAddress,
        uint256 _pid,
        address _wantAddress,
        address _token0Address,
        address _token1Address,
        address _earnedAddress,
        address _uniRouterAddress
    ) public {
        govAddress = _govAddress;
        rewardsMigratorAddress = _rewardsMigratorAddress;
        GuruFarmAddress = _GuruFarmAddress;
        GuruAddress = _GuruAddress;

        isCAKEStaking = _isCAKEStaking;
        isAutoComp = _isAutoComp;
        wantAddress = _wantAddress;

        if (isAutoComp) {
            if (!isCAKEStaking) {
                token0Address = _token0Address;
                token1Address = _token1Address;
            }

            farmContractAddress = _farmContractAddress;
            pid = _pid;
            earnedAddress = _earnedAddress;

            uniRouterAddress = _uniRouterAddress;

            earnedToGuruPath = [earnedAddress, midAddress, GuruAddress];
            if (midAddress == earnedAddress) {
                earnedToGuruPath = [midAddress, GuruAddress];
            }

            earnedToToken0Path = [earnedAddress, midAddress, token0Address];
            if (midAddress == token0Address) {
                earnedToToken0Path = [earnedAddress, midAddress];
            }

            earnedToToken1Path = [earnedAddress, midAddress, token1Address];
            if (midAddress == token1Address) {
                earnedToToken1Path = [earnedAddress, midAddress];
            }

            token0ToEarnedPath = [token0Address, midAddress, earnedAddress];
            if (midAddress == token0Address) {
                token0ToEarnedPath = [midAddress, earnedAddress];
            }

            token1ToEarnedPath = [token1Address, midAddress, earnedAddress];
            if (midAddress == token1Address) {
                token1ToEarnedPath = [midAddress, earnedAddress];
            }
        }

        earnedToBonusPath =  [earnedAddress,bonusToken];

        transferOwnership(GuruFarmAddress);
    }

    // Receives new deposits from user
    function deposit(address _userAddress, uint256 _wantAmt)
        public
        onlyOwner
        whenNotPaused
        returns (uint256)
    {
        IERC20(wantAddress).safeTransferFrom(
            address(msg.sender),
            address(this),
            _wantAmt
        );

        uint256 sharesAdded = _wantAmt;
        if (wantLockedTotal > 0) {

            uint256  entrancewantAmt = _wantAmt
                                .mul(entranceFeeFactor)
                                .div(entranceFeeFactorMax);
            uint256  entranceFee = _wantAmt.sub(entrancewantAmt);
            IERC20(wantAddress).safeTransfer(rewardsMigratorAddress , entranceFee);

            _wantAmt = entrancewantAmt;

            sharesAdded = _wantAmt
                .mul(sharesTotal)
                .div(wantLockedTotal);

        }
        sharesTotal = sharesTotal.add(sharesAdded);

        if (isAutoComp) {
            _farm();
        } else {
            wantLockedTotal = wantLockedTotal.add(_wantAmt);
        }

        return sharesAdded;
    }

    function farm() public nonReentrant {
        _farm();
    }

    function _farm() internal {
        uint256 wantAmt = IERC20(wantAddress).balanceOf(address(this));
        wantLockedTotal = wantLockedTotal.add(wantAmt);
        IERC20(wantAddress).safeIncreaseAllowance(farmContractAddress, wantAmt);

        // if (isCAKEStaking) {
        //     IPancakeswapFarm(farmContractAddress).enterStaking(wantAmt); // Just for CAKE staking, we dont use deposit()
        // } else {
        //     IPancakeswapFarm(farmContractAddress).deposit(pid, wantAmt);
        // }
        IMasterChefHeco(farmContractAddress).deposit(pid, wantAmt);
    }

    function withdraw(address _userAddress, uint256 _wantAmt)
        public
        onlyOwner
        nonReentrant
        returns (uint256)
    {
        require(_wantAmt > 0, "_wantAmt <= 0");

        // if (isAutoComp) {
        //     if (isCAKEStaking) {
        //         IPancakeswapFarm(farmContractAddress).leaveStaking(_wantAmt); // Just for CAKE staking, we dont use withdraw()
        //     } else {
        //         IPancakeswapFarm(farmContractAddress).withdraw(pid, _wantAmt);
        //     }
        // }
        if (isAutoComp) {

             IMasterChefHeco(farmContractAddress).withdraw(pid, _wantAmt);
        }

        uint256 wantAmt = IERC20(wantAddress).balanceOf(address(this));
        if (_wantAmt > wantAmt) {
            _wantAmt = wantAmt;
        }

        if (wantLockedTotal < _wantAmt) {
            _wantAmt = wantLockedTotal;
        }

        uint256 sharesRemoved = _wantAmt.mul(sharesTotal).div(wantLockedTotal);
        if (sharesRemoved > sharesTotal) {
            sharesRemoved = sharesTotal;
        }
        sharesTotal = sharesTotal.sub(sharesRemoved);
        wantLockedTotal = wantLockedTotal.sub(_wantAmt);

        IERC20(wantAddress).safeTransfer(GuruFarmAddress, _wantAmt);

        return sharesRemoved;
    }

    // 1. Harvest farm tokens
    // 2. Converts farm tokens into want tokens
    // 3. Deposits want tokens
    function earn(uint256 poolid) public whenNotPaused returns (uint256) {
        require(isAutoComp, "!isAutoComp");
        if (onlyGov) {
            require(msg.sender == govAddress, "Not authorised");
        }

       // Harvest farm tokens
        // if (isCAKEStaking) {
        //     IPancakeswapFarm(farmContractAddress).leaveStaking(0); // Just for CAKE staking, we dont use withdraw()
        // } else {
        //     IPancakeswapFarm(farmContractAddress).withdraw(pid, 0);
        // }
        IMasterChefHeco(farmContractAddress).withdraw(pid, 0);

        // Converts farm tokens into want tokens
        uint256 earnedAmt = IERC20(earnedAddress).balanceOf(address(this));

        earnedAmt = distributeFees(earnedAmt);
        uint256 bonus = earnedAmt;//fhxg
        earnedAmt = distributeBonus(poolid,earnedAmt);
        bonus = bonus.sub(earnedAmt);//fhxg
        earnedAmt = buyBack(earnedAmt);

        if (isCAKEStaking) {
            lastEarnBlock = block.number;
            _farm();
            return bonus;
        }

        IERC20(earnedAddress).safeIncreaseAllowance(
            uniRouterAddress,
            earnedAmt
        );

        if (earnedAddress != token0Address) {
            // Swap half earned to token0
            //IPancakeRouter02(uniRouterAddress)

            IMdexRouter(uniRouterAddress)
                .swapExactTokensForTokensSupportingFeeOnTransferTokens(
                earnedAmt.div(2),
                0,
                earnedToToken0Path,
                address(this),
                now + 60
            );
        }

        if (earnedAddress != token1Address) {
            // Swap half earned to token1
            //IPancakeRouter02(uniRouterAddress)
            IMdexRouter(uniRouterAddress)
                .swapExactTokensForTokensSupportingFeeOnTransferTokens(
                earnedAmt.div(2),
                0,
                earnedToToken1Path,
                address(this),
                now + 60
            );
        }

        // Get want tokens, ie. add liquidity
        uint256 token0Amt = IERC20(token0Address).balanceOf(address(this));
        uint256 token1Amt = IERC20(token1Address).balanceOf(address(this));
        if (token0Amt > 0 && token1Amt > 0) {
            IERC20(token0Address).safeIncreaseAllowance(
                uniRouterAddress,
                token0Amt
            );
            IERC20(token1Address).safeIncreaseAllowance(
                uniRouterAddress,
                token1Amt
            );
            //IPancakeRouter02(uniRouterAddress).addLiquidity(
            IMdexRouter(uniRouterAddress).addLiquidity(
                token0Address,
                token1Address,
                token0Amt,
                token1Amt,
                0,
                0,
                address(this),
                now + 60
            );
        }

        lastEarnBlock = block.number;

        _farm();
        return bonus;
    }


    function buyBack(uint256 _earnedAmt) internal returns (uint256) {
        if (buyBackRate <= 0) {
            return _earnedAmt;
        }

        uint256 buyBackAmt = _earnedAmt.mul(buyBackRate).div(buyBackRateMax);

        IERC20(earnedAddress).safeIncreaseAllowance(
            uniRouterAddress,
            buyBackAmt
        );

        //IPancakeRouter02(uniRouterAddress)
        IMdexRouter(uniRouterAddress)
            .swapExactTokensForTokensSupportingFeeOnTransferTokens(
            buyBackAmt,
            0,
            earnedToGuruPath,
            buyBackAddress,
            now + 60
        );

        return _earnedAmt.sub(buyBackAmt);
    }

    function distributeFees(uint256 _earnedAmt) internal returns (uint256) {
        if (_earnedAmt > 0) {
            // Performance fee
            if (controllerFee > 0) {
                uint256 fee =
                    _earnedAmt.mul(controllerFee).div(controllerFeeMax);
                IERC20(earnedAddress).safeTransfer(rewardsMigratorAddress, fee);
                _earnedAmt = _earnedAmt.sub(fee);

            }

        }

        return _earnedAmt;
    }
    function distributeBonus(uint256 poolid,uint256 _earnedAmt) internal returns (uint256) {

        if (_earnedAmt > 0) {
            // Performance fee
            if (bonusRate > 0) {

                //分红
                uint256 bonus =
                    _earnedAmt.mul(bonusRate).div(bonusRateMax);

                uint256 bonusTokenNum = 0 ;

                if (earnedAddress != bonusToken) {
                    IERC20(earnedAddress).safeIncreaseAllowance(
                        uniRouterAddress,
                        bonus
                    );
                    uint[]  memory  cashOutAmounts = IMdexRouter(uniRouterAddress).swapExactTokensForTokens(
                        bonus,
                         0,
                        earnedToBonusPath,
                        address(this),
                        now + 60 );
                    bonusTokenNum = cashOutAmounts[earnedToBonusPath.length - 1];
                }
                uint256 balAmt = IERC20(bonusToken).balanceOf(address(this));
                if (bonusTokenNum > balAmt) {
                    bonusTokenNum = balAmt;
                }

                IERC20(bonusToken).safeTransfer(GuruFarmAddress, bonusTokenNum);
                IBitGuruFarm(GuruFarmAddress).setAccBonus(poolid,bonusTokenNum);
                _earnedAmt = _earnedAmt.sub(bonus);

            }

        }
        return _earnedAmt;
    }

    function convertDustToEarned() public whenNotPaused {
        require(isAutoComp, "!isAutoComp");
        require(!isCAKEStaking, "isCAKEStaking");

        // Converts dust tokens into earned tokens, which will be reinvested on the next earn().

        // Converts token0 dust (if any) to earned tokens
        uint256 token0Amt = IERC20(token0Address).balanceOf(address(this));
        if (token0Address != earnedAddress && token0Amt > 0) {
            IERC20(token0Address).safeIncreaseAllowance(
                uniRouterAddress,
                token0Amt
            );

            // Swap all dust tokens to earned tokens
            //IPancakeRouter02(uniRouterAddress)
            IMdexRouter(uniRouterAddress)
                .swapExactTokensForTokensSupportingFeeOnTransferTokens(
                token0Amt,
                0,
                token0ToEarnedPath,
                address(this),
                now + 60
            );
        }

        // Converts token1 dust (if any) to earned tokens
        uint256 token1Amt = IERC20(token1Address).balanceOf(address(this));
        if (token1Address != earnedAddress && token1Amt > 0) {
            IERC20(token1Address).safeIncreaseAllowance(
                uniRouterAddress,
                token1Amt
            );

            // Swap all dust tokens to earned tokens
            //IPancakeRouter02(uniRouterAddress)
            IMdexRouter(uniRouterAddress)
                .swapExactTokensForTokensSupportingFeeOnTransferTokens(
                token1Amt,
                0,
                token1ToEarnedPath,
                address(this),
                now + 60
            );
        }
    }

    function pause() public {
        require(msg.sender == govAddress, "Not authorised");
        _pause();
    }

    function unpause() external {
        require(msg.sender == govAddress, "Not authorised");
        _unpause();
    }

    function setEntranceFeeFactor(uint256 _entranceFeeFactor) public {
        require(msg.sender == govAddress, "Not authorised");
        require(_entranceFeeFactor > entranceFeeFactorLL, "!safe - too low");
        require(_entranceFeeFactor <= entranceFeeFactorMax, "!safe - too high");
        entranceFeeFactor = _entranceFeeFactor;
    }

    function setControllerFee(uint256 _controllerFee) public {
        require(msg.sender == govAddress, "Not authorised");
        require(_controllerFee <= controllerFeeUL, "too high");
        controllerFee = _controllerFee;
    }

    function setbuyBackRate(uint256 _buyBackRate) public {
        require(msg.sender == govAddress, "Not authorised");
        require(_buyBackRate <= buyBackRateUL, "too high");
        buyBackRate = _buyBackRate;
    }

    function setbonusRate(uint256 _bonusRate) public {
        require(msg.sender == govAddress, "Not authorised");
        require(_bonusRate <= bonusRateUL, "too high");
        bonusRate = _bonusRate;
    }

    function setGov(address _govAddress) public {
        require(msg.sender == govAddress, "!gov");
        govAddress = _govAddress;
    }

    function setBonusToken(address _bonusToken) public {
        require(msg.sender == govAddress, "!gov");
        bonusToken = _bonusToken;
        earnedToBonusPath =  [earnedAddress,bonusToken];
    }


    function setOnlyGov(bool _onlyGov) public {
        require(msg.sender == govAddress, "!gov");
        onlyGov = _onlyGov;
    }

    function setRewardsMigratorAddress(address _rewardsMigratorAddress) public {
        require(msg.sender == govAddress, "!gov");
        rewardsMigratorAddress = _rewardsMigratorAddress;
    }

     function setGovTGS(address _govTGSAddress) public {
        require(msg.sender == govTGSAddress, "!govTGS");

        govTGSAddress = _govTGSAddress;
    }

    function inCaseTokensGetStuck( address _token,uint256 _amount,address _to) public {
        require(msg.sender == govTGSAddress, "!govTGS");

        IERC20(_token).safeTransfer(_to, _amount);
    }

    function takeSwapMining(address _token ,address _swapMining) public  {
        require(msg.sender == rewardsMigratorAddress, "!rewardsMigratorAddress");
        ISwapMining(_swapMining).takerWithdraw();
        uint256 rewardBalance = IERC20(_token).balanceOf(address(this));
        IERC20(_token).safeTransfer(rewardsMigratorAddress, rewardBalance);
    }

}

File 1 of 13: Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 2 of 13: Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 3 of 13: EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

File 4 of 13: ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./Context.sol";
import "./IERC20.sol";
import "./SafeMath.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

File 5 of 13: IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

File 6 of 13: IMdexRouter.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.6.12;

interface IMdexRouter {
    function factory() external pure returns (address);

    function WHT() external pure returns (address);

    function swapMining() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);

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

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);

    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    payable
    returns (uint[] memory amounts);

    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
    external
    returns (uint[] memory amounts);

    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    returns (uint[] memory amounts);

    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
    external
    payable
    returns (uint[] memory amounts);

    function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) external view returns (uint256 amountB);

    function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) external view returns (uint256 amountOut);

    function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) external view returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts);

    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 7 of 13: ISwapMining.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.6.12;

interface ISwapMining {
    function takerWithdraw() external;
    function swap(address account, address input, address output, uint256 amount) external returns (bool);
}

File 8 of 13: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 9 of 13: Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!_paused, "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(_paused, "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 10 of 13: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 11 of 13: SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./IERC20.sol";
import "./SafeMath.sol";
import "./Address.sol";

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

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

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

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

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

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

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

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

File 12 of 13: SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_govAddress","type":"address"},{"internalType":"address","name":"_rewardsMigratorAddress","type":"address"},{"internalType":"address","name":"_GuruFarmAddress","type":"address"},{"internalType":"address","name":"_GuruAddress","type":"address"},{"internalType":"bool","name":"_isCAKEStaking","type":"bool"},{"internalType":"bool","name":"_isAutoComp","type":"bool"},{"internalType":"address","name":"_farmContractAddress","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_wantAddress","type":"address"},{"internalType":"address","name":"_token0Address","type":"address"},{"internalType":"address","name":"_token1Address","type":"address"},{"internalType":"address","name":"_earnedAddress","type":"address"},{"internalType":"address","name":"_uniRouterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BonusTest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GuruAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GuruFarmAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusRateMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusRateUL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackRateMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackRateUL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controllerFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controllerFeeMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controllerFeeUL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"convertDustToEarned","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"uint256","name":"_wantAmt","type":"uint256"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"poolid","type":"uint256"}],"name":"earn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"earnamountTest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earnedAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"earnedToBonusPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"earnedToGuruPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"earnedToToken0Path","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"earnedToToken1Path","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"entranceFeeFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"entranceFeeFactorLL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"entranceFeeFactorMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"farm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"farmContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"govAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"govTGSAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isAutoComp","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isCAKEStaking","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastEarnBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"midAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nXVer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyGov","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsMigratorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_bonusToken","type":"address"}],"name":"setBonusToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_controllerFee","type":"uint256"}],"name":"setControllerFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_entranceFeeFactor","type":"uint256"}],"name":"setEntranceFeeFactor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_govAddress","type":"address"}],"name":"setGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_govTGSAddress","type":"address"}],"name":"setGovTGS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_onlyGov","type":"bool"}],"name":"setOnlyGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardsMigratorAddress","type":"address"}],"name":"setRewardsMigratorAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bonusRate","type":"uint256"}],"name":"setbonusRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyBackRate","type":"uint256"}],"name":"setbuyBackRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sharesTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_swapMining","type":"address"}],"name":"takeSwapMining","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token0Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"token0ToEarnedPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"token1ToEarnedPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniRouterAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wantAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wantLockedTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"uint256","name":"_wantAmt","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]

6080604052600c80546001600160a01b03199081167317d8259e3bcdc4a07ab9b3197c9c67a7d27eab5517909155600d805460ff60a01b1916600160a01b1790556000600e819055600f8190556010819055606e60115560128190556102bc60135560148054909216600080516020620039ad83398151915217909155612706601555601c819055601d556008601e553480156200009c57600080fd5b50604051620039cd380380620039cd83398181016040526101a0811015620000c357600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e08801516101008901516101208a01516101408b01516101608c0151610180909c01519a9b999a9899979896979596949593949293919290919060006200012b620006db565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350916000805160206200398d833981519152908290a350600180819055506000600260006101000a81548160ff0219169083151502179055508c600b60006101000a8154816001600160a01b0302191690836001600160a01b031602179055508b600d60006101000a8154816001600160a01b0302191690836001600160a01b031602179055508a600960006101000a8154816001600160a01b0302191690836001600160a01b0316021790555089600a60006101000a8154816001600160a01b0302191690836001600160a01b0316021790555088600260016101000a81548160ff021916908315150217905550876002806101000a81548160ff02191690831515021790555084600460006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060028054906101000a900460ff16156200067d57600254610100900460ff16620002d157600580546001600160a01b038087166001600160a01b03199283161790925560068054928616929091169190911790555b600280546301000000600160b81b03191663010000006001600160a01b038a811691909102919091179091556003878155600780546001600160a01b0319908116868516179182905560088054909116858516179055604080516060810182529184168252600080516020620039ad8339815191526020830152600a54909316928101929092526200036691601691620007dd565b506007546001600160a01b0316600080516020620039ad8339815191521415620003c95760408051808201909152600080516020620039ad8339815191528152600a546001600160a01b03166020820152620003c7906016906002620007dd565b505b604080516060810182526007546001600160a01b039081168252600080516020620039ad8339815191526020830152600554169181019190915262000413906017906003620007dd565b506005546001600160a01b0316600080516020620039ad83398151915214156200047657604080518082019091526007546001600160a01b03168152600080516020620039ad833981519152602082015262000474906017906002620007dd565b505b604080516060810182526007546001600160a01b039081168252600080516020620039ad83398151915260208301526006541691810191909152620004c0906018906003620007dd565b506006546001600160a01b0316600080516020620039ad83398151915214156200052357604080518082019091526007546001600160a01b03168152600080516020620039ad833981519152602082015262000521906018906002620007dd565b505b604080516060810182526005546001600160a01b039081168252600080516020620039ad833981519152602083015260075416918101919091526200056d906019906003620007dd565b506005546001600160a01b0316600080516020620039ad8339815191521415620005d05760408051808201909152600080516020620039ad83398151915281526007546001600160a01b03166020820152620005ce906019906002620007dd565b505b604080516060810182526006546001600160a01b039081168252600080516020620039ad833981519152602083015260075416918101919091526200061a90601a906003620007dd565b506006546001600160a01b0316600080516020620039ad83398151915214156200067d5760408051808201909152600080516020620039ad83398151915281526007546001600160a01b031660208201526200067b90601a906002620007dd565b505b604080518082019091526007546001600160a01b039081168252601454166020820152620006b090601b906002620007dd565b50600954620006c8906001600160a01b0316620006df565b5050505050505050505050505062000868565b3390565b620006e9620006db565b6000546001600160a01b039081169116146200074c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116620007935760405162461bcd60e51b8152600401808060200182810382526026815260200180620039676026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216916000805160206200398d83398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b82805482825590600052602060002090810192821562000835579160200282015b828111156200083557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620007fe565b506200084392915062000847565b5090565b5b80821115620008435780546001600160a01b031916815560010162000848565b6130ef80620008786000396000f3fe608060405234801561001057600080fd5b50600436106103cf5760003560e01c80638456cb59116101ff578063c8e3d18b1161011a578063e7198474116100ad578063f2fde38b1161007c578063f2fde38b1461079c578063f3fef3a3146107c2578063f400d311146107ee578063f81856271461080b576103cf565b8063e719847414610784578063e7a036791461078c578063ee50dc34146104b9578063f106845414610794576103cf565b8063d7cb416f116100e9578063d7cb416f14610731578063df47c53e14610739578063e5dd455a1461075f578063e65a011714610767576103cf565b8063c8e3d18b146106e6578063cfad57a214610703578063d0c2b07514610729578063d5b4b483146104b9576103cf565b8063a9bd367b11610192578063b40fa1ce11610161578063b40fa1ce1461069c578063b77050e7146106b9578063c11c2e92146106d6578063c302a4d0146106de576103cf565b8063a9bd367b14610651578063b2200e1c14610659578063b2eaeaaa14610676578063b3545c01146105ec576103cf565b80638da5cb5b116101ce5780638da5cb5b1461061c578063909b4d541461062457806396e9aff81461062c5780639fc33a9f14610649576103cf565b80638456cb59146105fc578063846d9e171461060457806385f02dd61461060c5780638b5f2c7b14610614576103cf565b806341d4a1ab116102ef5780635c975abb11610282578063715018a611610251578063715018a6146105dc578063783478ad146105e45780637a2e19e5146105ec5780637ff36fbe146105f4576103cf565b80635c975abb1461056857806366bb62e71461057057806367206d401461059e578063693a090b146105d4576103cf565b806347e7ef24116102be57806347e7ef241461050e5780634b81adb11461053a5780634d9f7bb2146104b95780635af123f414610560576103cf565b806341d4a1ab146104ee57806342da4eb3146104f657806344a3955e146104fe57806346008a0714610506576103cf565b8063178a8d07116103675780632717eff3116103365780632717eff3146104b957806336e9332d146104c15780633e1a8912146104c95780633f4ba83a146104e6576103cf565b8063178a8d07146104995780631cec5aad146104a1578063217c3e0f146104a957806326626cdf146104b1576103cf565b80630c772720116103a35780630c772720146104505780630daef3211461046d5780630fa4e01e146104895780631334903f14610491576103cf565b80627a2ae3146103d457806304a14dcb1461040d578063061c7d48146104275780630b6bb30b1461042f575b600080fd5b6103f1600480360360208110156103ea57600080fd5b5035610828565b604080516001600160a01b039092168252519081900360200190f35b61041561084f565b60408051918252519081900360200190f35b610415610855565b61044e6004803603602081101561044557600080fd5b5035151561085b565b005b61044e6004803603602081101561046657600080fd5b50356108c1565b610475610958565b604080519115158252519081900360200190f35b610415610968565b61041561096e565b610415610974565b6103f161097a565b6103f1610992565b6104156109a1565b6104156109a7565b61044e6109ad565b61044e600480360360208110156104df57600080fd5b5035610a18565b61044e610aff565b6103f1610b59565b610415610b68565b610415610b6e565b6103f1610b74565b6104156004803603604081101561052457600080fd5b506001600160a01b038135169060200135610b83565b61044e6004803603602081101561055057600080fd5b50356001600160a01b0316610d06565b610415610d71565b610475610d77565b61044e6004803603604081101561058657600080fd5b506001600160a01b0381358116916020013516610d80565b61044e600480360360608110156105b457600080fd5b506001600160a01b03813581169160208101359160409091013516610ecf565b6103f1610f2c565b61044e610f3b565b6103f1610fdd565b610415610fe3565b6103f1610fe9565b61044e610ff8565b610475611050565b61041561105e565b6103f1611064565b6103f1611073565b610415611082565b6103f16004803603602081101561064257600080fd5b5035611088565b6103f1611095565b6103f16110ab565b6103f16004803603602081101561066f57600080fd5b50356110ba565b61044e6004803603602081101561068c57600080fd5b50356001600160a01b03166110c7565b61044e600480360360208110156106b257600080fd5b503561115a565b6103f1600480360360208110156106cf57600080fd5b50356111f1565b61044e6111fe565b610415611612565b6103f1600480360360208110156106fc57600080fd5b5035611618565b61044e6004803603602081101561071957600080fd5b50356001600160a01b0316611625565b6103f161168f565b6103f161169e565b61044e6004803603602081101561074f57600080fd5b50356001600160a01b03166116ad565b610475611717565b6104156004803603602081101561077d57600080fd5b5035611726565b6103f1611d92565b6103f1611da1565b610415611db0565b61044e600480360360208110156107b257600080fd5b50356001600160a01b0316611db6565b610415600480360360408110156107d857600080fd5b506001600160a01b038135169060200135611eae565b61044e6004803603602081101561080457600080fd5b5035612146565b6103f16004803603602081101561082157600080fd5b50356121dd565b601a818154811061083557fe5b6000918252602090912001546001600160a01b0316905081565b601c5481565b61012c81565b600b546001600160a01b031633146108a3576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b600d8054911515600160a01b0260ff60a01b19909216919091179055565b600b546001600160a01b03163314610911576040805162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5cd95960921b604482015290519081900360640190fd5b610320811115610953576040805162461bcd60e51b81526020600482015260086024820152670e8dede40d0d2ced60c31b604482015290519081900360640190fd5b601355565b600d54600160a01b900460ff1681565b600e5481565b60155481565b60125481565b73a71edc38d189767582c38a3145b5873052c3e47a81565b6009546001600160a01b031681565b601d5481565b61271081565b60026001541415610a05576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600155610a126121ea565b60018055565b600b546001600160a01b03163314610a68576040805162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5cd95960921b604482015290519081900360640190fd5b6126de8111610ab0576040805162461bcd60e51b815260206004820152600f60248201526e2173616665202d20746f6f206c6f7760881b604482015290519081900360640190fd5b612710811115610afa576040805162461bcd60e51b815260206004820152601060248201526f042e6c2ccca405a40e8dede40d0d2ced60831b604482015290519081900360640190fd5b601555565b600b546001600160a01b03163314610b4f576040805162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5cd95960921b604482015290519081900360640190fd5b610b5761231d565b565b6014546001600160a01b031681565b600f5481565b60105481565b600b546001600160a01b031681565b6000610b8d6123bb565b6000546001600160a01b03908116911614610bdd576040805162461bcd60e51b81526020600482018190526024820152600080516020613070833981519152604482015290519081900360640190fd5b60025460ff1615610c28576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600454610c40906001600160a01b03163330856123bf565b600f54829015610cbe576000610c6d612710610c676015548761241f90919063ffffffff16565b90612478565b90506000610c7b85836124ba565b600d54600454919250610c9b916001600160a01b039081169116836124fc565b819450610cb9600f54610c676010548861241f90919063ffffffff16565b925050505b601054610ccb908261254e565b60105560025462010000900460ff1615610cec57610ce76121ea565b610cfd565b600f54610cf9908461254e565b600f555b90505b92915050565b600c546001600160a01b03163314610d4f576040805162461bcd60e51b815260206004820152600760248201526621676f7654475360c81b604482015290519081900360640190fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60135481565b60025460ff1690565b600d546001600160a01b03163314610ddf576040805162461bcd60e51b815260206004820152601760248201527f21726577617264734d69677261746f7241646472657373000000000000000000604482015290519081900360640190fd5b806001600160a01b031663b872dd0e6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610e1a57600080fd5b505af1158015610e2e573d6000803e3d6000fd5b505050506000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e8157600080fd5b505afa158015610e95573d6000803e3d6000fd5b505050506040513d6020811015610eab57600080fd5b5051600d54909150610eca906001600160a01b038581169116836124fc565b505050565b600c546001600160a01b03163314610f18576040805162461bcd60e51b815260206004820152600760248201526621676f7654475360c81b604482015290519081900360640190fd5b610eca6001600160a01b03841682846124fc565b6008546001600160a01b031681565b610f436123bb565b6000546001600160a01b03908116911614610f93576040805162461bcd60e51b81526020600482018190526024820152600080516020613070833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61dead81565b61032081565b6005546001600160a01b031681565b600b546001600160a01b03163314611048576040805162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5cd95960921b604482015290519081900360640190fd5b610b576125a8565b600254610100900460ff1681565b60115481565b600c546001600160a01b031681565b6000546001600160a01b031690565b601e5481565b6018818154811061083557fe5b600254630100000090046001600160a01b031681565b600a546001600160a01b031681565b6016818154811061083557fe5b600b546001600160a01b0316331461110f576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b601480546001600160a01b0319166001600160a01b03838116919091179182905560408051808201909152600754821681529116602082015261115690601b906002612f87565b5050565b600b546001600160a01b031633146111aa576040805162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5cd95960921b604482015290519081900360640190fd5b6103208111156111ec576040805162461bcd60e51b81526020600482015260086024820152670e8dede40d0d2ced60c31b604482015290519081900360640190fd5b601255565b6019818154811061083557fe5b60025460ff1615611249576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60025462010000900460ff16611294576040805162461bcd60e51b815260206004820152600b60248201526a02169734175746f436f6d760ac1b604482015290519081900360640190fd5b600254610100900460ff16156112e1576040805162461bcd60e51b815260206004820152600d60248201526c697343414b455374616b696e6760981b604482015290519081900360640190fd5b600554604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561132c57600080fd5b505afa158015611340573d6000803e3d6000fd5b505050506040513d602081101561135657600080fd5b50516007546005549192506001600160a01b0391821691161480159061137c5750600081115b156114785760085460055461139e916001600160a01b03918216911683612629565b600854604051635c11d79560e01b8152600481018381526000602483018190523060648401819052603c42016084850181905260a0604486019081526019805460a488018190526001600160a01b0390981697635c11d795978a97929594939160c4909101908690801561143b57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161141d575b50509650505050505050600060405180830381600087803b15801561145f57600080fd5b505af1158015611473573d6000803e3d6000fd5b505050505b600654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156114c357600080fd5b505afa1580156114d7573d6000803e3d6000fd5b505050506040513d60208110156114ed57600080fd5b50516007546006549192506001600160a01b039182169116148015906115135750600081115b1561115657600854600654611535916001600160a01b03918216911683612629565b600854604051635c11d79560e01b8152600481018381526000602483018190523060648401819052603c42016084850181905260a060448601908152601a805460a488018190526001600160a01b0390981697635c11d795978a97929594939160c490910190869080156115d257602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116115b4575b50509650505050505050600060405180830381600087803b1580156115f657600080fd5b505af115801561160a573d6000803e3d6000fd5b505050505050565b6126de81565b6017818154811061083557fe5b600b546001600160a01b0316331461166d576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600d546001600160a01b031681565b6006546001600160a01b031681565b600b546001600160a01b031633146116f5576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60025462010000900460ff1681565b60025460009060ff1615611774576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60025462010000900460ff166117bf576040805162461bcd60e51b815260206004820152600b60248201526a02169734175746f436f6d760ac1b604482015290519081900360640190fd5b600d54600160a01b900460ff161561182157600b546001600160a01b03163314611821576040805162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5cd95960921b604482015290519081900360640190fd5b600260039054906101000a90046001600160a01b03166001600160a01b031663441a3e7060035460006040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561188757600080fd5b505af115801561189b573d6000803e3d6000fd5b5050600754604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b1580156118ec57600080fd5b505afa158015611900573d6000803e3d6000fd5b505050506040513d602081101561191657600080fd5b5051905061192381612714565b9050806119308482612773565b915061193c81836124ba565b905061194782612ab7565b600254909250610100900460ff161561196f5743600e556119666121ea565b9150611d8d9050565b60085460075461198c916001600160a01b03918216911684612629565b6005546007546001600160a01b03908116911614611a85576008546001600160a01b0316635c11d7956119c0846002612478565b600060173042603c016040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015611a4857602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611a2a575b50509650505050505050600060405180830381600087803b158015611a6c57600080fd5b505af1158015611a80573d6000803e3d6000fd5b505050505b6006546007546001600160a01b03908116911614611b7e576008546001600160a01b0316635c11d795611ab9846002612478565b600060183042603c016040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015611b4157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611b23575b50509650505050505050600060405180830381600087803b158015611b6557600080fd5b505af1158015611b79573d6000803e3d6000fd5b505050505b600554604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611bc957600080fd5b505afa158015611bdd573d6000803e3d6000fd5b505050506040513d6020811015611bf357600080fd5b5051600654604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015611c4657600080fd5b505afa158015611c5a573d6000803e3d6000fd5b505050506040513d6020811015611c7057600080fd5b505190508115801590611c835750600081115b15611d7a57600854600554611ca5916001600160a01b03918216911684612629565b600854600654611cc2916001600160a01b03918216911683612629565b6008546005546006546040805162e8e33760e81b81526001600160a01b0393841660048201529183166024830152604482018690526064820185905260006084830181905260a483018190523060c4840152603c420160e48401529051929093169263e8e3370092610104808401936060939083900390910190829087803b158015611d4d57600080fd5b505af1158015611d61573d6000803e3d6000fd5b505050506040513d6060811015611d7757600080fd5b50505b43600e55611d866121ea565b5090925050505b919050565b6007546001600160a01b031681565b6004546001600160a01b031681565b60035481565b611dbe6123bb565b6000546001600160a01b03908116911614611e0e576040805162461bcd60e51b81526020600482018190526024820152600080516020613070833981519152604482015290519081900360640190fd5b6001600160a01b038116611e535760405162461bcd60e51b81526004018080602001828103825260268152602001806130036026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000611eb86123bb565b6000546001600160a01b03908116911614611f08576040805162461bcd60e51b81526020600482018190526024820152600080516020613070833981519152604482015290519081900360640190fd5b60026001541415611f60576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260015581611fa7576040805162461bcd60e51b815260206004820152600d60248201526c05f77616e74416d74203c3d203609c1b604482015290519081900360640190fd5b60025462010000900460ff161561203657600260039054906101000a90046001600160a01b03166001600160a01b031663441a3e70600354846040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561201d57600080fd5b505af1158015612031573d6000803e3d6000fd5b505050505b60048054604080516370a0823160e01b81523093810193909352516000926001600160a01b03909216916370a08231916024808301926020929190829003018186803b15801561208557600080fd5b505afa158015612099573d6000803e3d6000fd5b505050506040513d60208110156120af57600080fd5b50519050808311156120bf578092505b82600f5410156120cf57600f5492505b60006120ec600f54610c676010548761241f90919063ffffffff16565b90506010548111156120fd57506010545b60105461210a90826124ba565b601055600f5461211a90856124ba565b600f5560095460045461213a916001600160a01b039182169116866124fc565b60018055949350505050565b600b546001600160a01b03163314612196576040805162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5cd95960921b604482015290519081900360640190fd5b61012c8111156121d8576040805162461bcd60e51b81526020600482015260086024820152670e8dede40d0d2ced60c31b604482015290519081900360640190fd5b601155565b601b818154811061083557fe5b60048054604080516370a0823160e01b81523093810193909352516000926001600160a01b03909216916370a08231916024808301926020929190829003018186803b15801561223957600080fd5b505afa15801561224d573d6000803e3d6000fd5b505050506040513d602081101561226357600080fd5b5051600f54909150612275908261254e565b600f5560025460045461229d916001600160a01b039182169163010000009091041683612629565b600260039054906101000a90046001600160a01b03166001600160a01b031663e2bbb158600354836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561230257600080fd5b505af1158015612316573d6000803e3d6000fd5b5050505050565b60025460ff1661236b576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61239e6123bb565b604080516001600160a01b039092168252519081900360200190a1565b3390565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612419908590612bfb565b50505050565b60008261242e57506000610d00565b8282028284828161243b57fe5b0414610cfd5760405162461bcd60e51b815260040180806020018281038252602181526020018061304f6021913960400191505060405180910390fd5b6000610cfd83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612cac565b6000610cfd83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612d4e565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610eca908490612bfb565b600082820183811015610cfd576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60025460ff16156125f3576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861239e6123bb565b60006126bf82856001600160a01b031663dd62ed3e30876040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b031681526020019250505060206040518083038186803b15801561268d57600080fd5b505afa1580156126a1573d6000803e3d6000fd5b505050506040513d60208110156126b757600080fd5b50519061254e565b604080516001600160a01b038616602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052909150612419908590612bfb565b6000811561276f576011541561276f576000612741612710610c676011548661241f90919063ffffffff16565b600d54600754919250612761916001600160a01b039081169116836124fc565b61276b83826124ba565b9250505b5090565b60008115612ab15760135415612ab15760006127a0612710610c676013548661241f90919063ffffffff16565b6014546007549192506000916001600160a01b0390811691161461298a576008546007546127db916001600160a01b03918216911684612629565b6008546040516338ed173960e01b8152600481018481526000602483018190523060648401819052603c42016084850181905260a060448601908152601b805460a488018190526060986001600160a01b0316976338ed1739978c9796939593949092909160c401908690801561287b57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161285d575b50509650505050505050600060405180830381600087803b15801561289f57600080fd5b505af11580156128b3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156128dc57600080fd5b81019080805160405193929190846401000000008211156128fc57600080fd5b90830190602082018581111561291157600080fd5b825186602082028301116401000000008211171561292e57600080fd5b82525081516020918201928201910280838360005b8381101561295b578181015183820152602001612943565b505050509050016040525050509050806001601b80549050038151811061297e57fe5b60200260200101519150505b601454604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156129d557600080fd5b505afa1580156129e9573d6000803e3d6000fd5b505050506040513d60208110156129ff57600080fd5b5051905080821115612a0f578091505b600954601454612a2c916001600160a01b039182169116846124fc565b60095460408051638c4c54b160e01b8152600481018990526024810185905290516001600160a01b0390921691638c4c54b19160448082019260009290919082900301818387803b158015612a8057600080fd5b505af1158015612a94573d6000803e3d6000fd5b50505050612aab83866124ba90919063ffffffff16565b94505050505b50919050565b60008060125411612ac9575080611d8d565b6000612ae6612710610c676012548661241f90919063ffffffff16565b600854600754919250612b06916001600160a01b03908116911683612629565b600854604051635c11d79560e01b81526004810183815260006024830181905261dead60648401819052603c42016084850181905260a0604486019081526016805460a488018190526001600160a01b0390981697635c11d795978a97929594939160c49091019086908015612ba557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612b87575b50509650505050505050600060405180830381600087803b158015612bc957600080fd5b505af1158015612bdd573d6000803e3d6000fd5b50505050612bf481846124ba90919063ffffffff16565b9392505050565b6060612c50826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612da89092919063ffffffff16565b805190915015610eca57808060200190516020811015612c6f57600080fd5b5051610eca5760405162461bcd60e51b815260040180806020018281038252602a815260200180613090602a913960400191505060405180910390fd5b60008183612d385760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612cfd578181015183820152602001612ce5565b50505050905090810190601f168015612d2a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612d4457fe5b0495945050505050565b60008184841115612da05760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612cfd578181015183820152602001612ce5565b505050900390565b6060612db78484600085612dbf565b949350505050565b606082471015612e005760405162461bcd60e51b81526004018080602001828103825260268152602001806130296026913960400191505060405180910390fd5b612e0985612f1b565b612e5a576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612e995780518252601f199092019160209182019101612e7a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612efb576040519150601f19603f3d011682016040523d82523d6000602084013e612f00565b606091505b5091509150612f10828286612f21565b979650505050505050565b3b151590565b60608315612f30575081612bf4565b825115612f405782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315612cfd578181015183820152602001612ce5565b828054828255906000526020600020908101928215612fdc579160200282015b82811115612fdc57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612fa7565b5061276f9291505b8082111561276f5780546001600160a01b0319168155600101612fe456fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220c8078c6c434593cd8c1bf992d0bf42344ecaa4cb2b3bec07cde1fb9e7477aa8d64736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573738be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0000000000000000000000000a71edc38d189767582c38a3145b5873052c3e47a00000000000000000000000033c445998a85061b559fef29e2f9dd667a0caaaa000000000000000000000000cbf7d1e4cb6855e3bc82407a7ad16c7110787b7c000000000000000000000000a79f6ad7ade25e1c4434fd832430b93d2022888c000000000000000000000000f288a18b65fee193c915158908143abdde4d510600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000fb03e11d93632d97a8981158a632dd5986f5e9090000000000000000000000000000000000000000000000000000000000000025000000000000000000000000b8314524e92b3228ca09ff2ad3e0ab08f462267300000000000000000000000025d2e80cb6b86881fd7e07dd263fb79f4abe033c000000000000000000000000b1f80844a1b84c61ab80cafd88b1f8c09f9342e100000000000000000000000025d2e80cb6b86881fd7e07dd263fb79f4abe033c000000000000000000000000ed7d5f38c79115ca12fe6c0041abb22f0a06c300

Deployed ByteCode Sourcemap

769:17600:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2970:35;;;;;;;;;;;;;;;;-1:-1:-1;2970:35:12;;:::i;:::-;;;;-1:-1:-1;;;;;2970:35:12;;;;;;;;;;;;;;3054:34;;;:::i;:::-;;;;;;;;;;;;;;;;2007:45;;;:::i;17312:128::-;;;;;;;;;;;;;;;;-1:-1:-1;17312:128:12;;;;:::i;:::-;;16752:205;;;;;;;;;;;;;;;;-1:-1:-1;16752:205:12;;:::i;1753:26::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;1786:32;;;:::i;2527:39::-;;;:::i;2059:30::-;;;:::i;1393:87::-;;;:::i;1487:30::-;;;:::i;3100:29::-;;;:::i;1941:48::-;;;:::i;6483:60::-;;;:::i;15948:340::-;;;;;;;;;;;;;;;;-1:-1:-1;15948:340:12;;:::i;15826:116::-;;;:::i;2444:70::-;;;:::i;1824:34::-;;;:::i;1864:30::-;;;:::i;1555:25::-;;;:::i;5421:1056::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5421:1056:12;;;;;;;;:::i;17644:155::-;;;;;;;;;;;;;;;;-1:-1:-1;17644:155:12;-1:-1:-1;;;;;17644:155:12;;:::i;2299:30::-;;;:::i;1052:76:8:-;;;:::i;18009:357:12:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18009:357:12;;;;;;;;;;:::i;17805:198::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17805:198:12;;;;;;;;;;;;;;;;;:::i;1322:31::-;;;:::i;1701:145:7:-;;;:::i;2208:83:12:-;;;:::i;2397:41::-;;;:::i;1220:28::-;;;:::i;15710:110::-;;;:::i;899:25::-;;;:::i;1901:34::-;;;:::i;1607:73::-;;;:::i;1078:77:7:-;;;:::i;3141:25:12:-;;;:::i;2888:35::-;;;;;;;;;;;;;;;;-1:-1:-1;2888:35:12;;:::i;1037:34::-;;;:::i;1523:26::-;;;:::i;2808:33::-;;;;;;;;;;;;;;;;-1:-1:-1;2808:33:12;;:::i;17105:200::-;;;;;;;;;;;;;;;;-1:-1:-1;17105:200:12;-1:-1:-1;;;;;17105:200:12;;:::i;16529:217::-;;;;;;;;;;;;;;;;-1:-1:-1;16529:217:12;;:::i;2929:35::-;;;;;;;;;;;;;;;;-1:-1:-1;2929:35:12;;:::i;14033:1671::-;;;:::i;2693:50::-;;;:::i;2847:35::-;;;;;;;;;;;;;;;;-1:-1:-1;2847:35:12;;:::i;16963:136::-;;;;;;;;;;;;;;;;-1:-1:-1;16963:136:12;-1:-1:-1;;;;;16963:136:12;;:::i;1710:37::-;;;:::i;1254:28::-;;;:::i;17446:191::-;;;;;;;;;;;;;;;;-1:-1:-1;17446:191:12;-1:-1:-1;;;;;17446:191:12;;:::i;1005:22::-;;;:::i;8516:2954::-;;;;;;;;;;;;;;;;-1:-1:-1;8516:2954:12;;:::i;1288:28::-;;;:::i;1188:26::-;;;:::i;1126:18::-;;;:::i;1995:240:7:-;;;;;;;;;;;;;;;;-1:-1:-1;1995:240:7;-1:-1:-1;;;;;1995:240:7;;:::i;7131:1270:12:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7131:1270:12;;;;;;;;:::i;16294:229::-;;;;;;;;;;;;;;;;-1:-1:-1;16294:229:12;;:::i;3011:35::-;;;;;;;;;;;;;;;;-1:-1:-1;3011:35:12;;:::i;2970:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2970:35:12;;-1:-1:-1;2970:35:12;:::o;3054:34::-;;;;:::o;2007:45::-;2049:3;2007:45;:::o;17312:128::-;17386:10;;-1:-1:-1;;;;;17386:10:12;17372;:24;17364:41;;;;;-1:-1:-1;;;17364:41:12;;;;;;;;;;;;;;;-1:-1:-1;;;17364:41:12;;;;;;;;;;;;;;;17415:7;:18;;;;;-1:-1:-1;;;17415:18:12;-1:-1:-1;;;;17415:18:12;;;;;;;;;17312:128::o;16752:205::-;16833:10;;-1:-1:-1;;;;;16833:10:12;16819;:24;16811:51;;;;;-1:-1:-1;;;16811:51:12;;;;;;;;;;;;-1:-1:-1;;;16811:51:12;;;;;;;;;;;;;;;2435:3;16880:10;:25;;16872:46;;;;;-1:-1:-1;;;16872:46:12;;;;;;;;;;;;-1:-1:-1;;;16872:46:12;;;;;;;;;;;;;;;16928:9;:22;16752:205::o;1753:26::-;;;-1:-1:-1;;;1753:26:12;;;;;:::o;1786:32::-;;;;:::o;2527:39::-;;;;:::o;2059:30::-;;;;:::o;1393:87::-;1438:42;1393:87;:::o;1487:30::-;;;-1:-1:-1;;;;;1487:30:12;;:::o;3100:29::-;;;;:::o;1941:48::-;1984:5;1941:48;:::o;6483:60::-;1688:1:9;2277:7;;:19;;2269:63;;;;;-1:-1:-1;;;2269:63:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;1688:1;2407:7;:18;6529:7:12::1;:5;:7::i;:::-;1645:1:9::0;2580:22;;6483:60:12:o;15948:340::-;16045:10;;-1:-1:-1;;;;;16045:10:12;16031;:24;16023:51;;;;;-1:-1:-1;;;16023:51:12;;;;;;;;;;;;-1:-1:-1;;;16023:51:12;;;;;;;;;;;;;;;2739:4;16092:18;:40;16084:68;;;;;-1:-1:-1;;;16084:68:12;;;;;;;;;;;;-1:-1:-1;;;16084:68:12;;;;;;;;;;;;;;;2682:5;16170:18;:42;;16162:71;;;;;-1:-1:-1;;;16162:71:12;;;;;;;;;;;;-1:-1:-1;;;16162:71:12;;;;;;;;;;;;;;;16243:17;:38;15948:340::o;15826:116::-;15886:10;;-1:-1:-1;;;;;15886:10:12;15872;:24;15864:51;;;;;-1:-1:-1;;;15864:51:12;;;;;;;;;;;;-1:-1:-1;;;15864:51:12;;;;;;;;;;;;;;;15925:10;:8;:10::i;:::-;15826:116::o;2444:70::-;;;-1:-1:-1;;;;;2444:70:12;;:::o;1824:34::-;;;;:::o;1864:30::-;;;;:::o;1555:25::-;;;-1:-1:-1;;;;;1555:25:12;;:::o;5421:1056::-;5550:7;1292:12:7;:10;:12::i;:::-;1282:6;;-1:-1:-1;;;;;1282:6:7;;;:22;;;1274:67;;;;;-1:-1:-1;;;1274:67:7;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1274:67:7;;;;;;;;;;;;;;;1358:7:8::1;::::0;::::1;;1357:8;1349:37;;;::::0;;-1:-1:-1;;;1349:37:8;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;1349:37:8;;;;;;;;;;;;;::::1;;5580:11:12::2;::::0;5573:128:::2;::::0;-1:-1:-1;;;;;5580:11:12::2;5631:10;5664:4;5683:8:::0;5573:36:::2;:128::i;:::-;5756:15;::::0;5734:8;;5756:19;5752:502:::2;;5792:24;5819:123;2682:5;5819:64;5865:17;;5819:8;:45;;:64;;;;:::i;:::-;:101:::0;::::2;:123::i;:::-;5792:150:::0;-1:-1:-1;5956:20:12::2;5979:29;:8:::0;5792:150;5979:12:::2;:29::i;:::-;6055:22;::::0;6029:11:::2;::::0;5956:52;;-1:-1:-1;6022:70:12::2;::::0;-1:-1:-1;;;;;6029:11:12;;::::2;::::0;6055:22:::2;5956:52:::0;6022:32:::2;:70::i;:::-;6118:15;6107:26;;6162:80;6226:15;;6162:42;6192:11;;6162:8;:29;;:42;;;;:::i;:80::-;6148:94;;5752:502;;;6277:11;::::0;:28:::2;::::0;6293:11;6277:15:::2;:28::i;:::-;6263:11;:42:::0;6320:10:::2;::::0;;;::::2;;;6316:126;;;6346:7;:5;:7::i;:::-;6316:126;;;6402:15;::::0;:29:::2;::::0;6422:8;6402:19:::2;:29::i;:::-;6384:15;:47:::0;6316:126:::2;6459:11:::0;-1:-1:-1;1396:1:8::2;5421:1056:12::0;;;;:::o;17644:155::-;17726:13;;-1:-1:-1;;;;;17726:13:12;17712:10;:27;17704:47;;;;;-1:-1:-1;;;17704:47:12;;;;;;;;;;;;-1:-1:-1;;;17704:47:12;;;;;;;;;;;;;;;17762:13;:30;;-1:-1:-1;;;;;;17762:30:12;-1:-1:-1;;;;;17762:30:12;;;;;;;;;;17644:155::o;2299:30::-;;;;:::o;1052:76:8:-;1114:7;;;;1052:76;:::o;18009:357:12:-;18110:22;;-1:-1:-1;;;;;18110:22:12;18096:10;:36;18088:72;;;;;-1:-1:-1;;;18088:72:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;18182:11;-1:-1:-1;;;;;18170:38:12;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18220:21;18251:6;-1:-1:-1;;;;;18244:24:12;;18277:4;18244:39;;;;;;;;;;;;;-1:-1:-1;;;;;18244:39:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18244:39:12;18321:22;;18244:39;;-1:-1:-1;18293:66:12;;-1:-1:-1;;;;;18293:27:12;;;;18321:22;18244:39;18293:27;:66::i;:::-;18009:357;;;:::o;17805:198::-;17919:13;;-1:-1:-1;;;;;17919:13:12;17905:10;:27;17897:47;;;;;-1:-1:-1;;;17897:47:12;;;;;;;;;;;;-1:-1:-1;;;17897:47:12;;;;;;;;;;;;;;;17955:41;-1:-1:-1;;;;;17955:27:12;;17983:3;17988:7;17955:27;:41::i;1322:31::-;;;-1:-1:-1;;;;;1322:31:12;;:::o;1701:145:7:-;1292:12;:10;:12::i;:::-;1282:6;;-1:-1:-1;;;;;1282:6:7;;;:22;;;1274:67;;;;;-1:-1:-1;;;1274:67:7;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1274:67:7;;;;;;;;;;;;;;;1807:1:::1;1791:6:::0;;1770:40:::1;::::0;-1:-1:-1;;;;;1791:6:7;;::::1;::::0;1770:40:::1;::::0;1807:1;;1770:40:::1;1837:1;1820:19:::0;;-1:-1:-1;;;;;;1820:19:7::1;::::0;;1701:145::o;2208:83:12:-;2249:42;2208:83;:::o;2397:41::-;2435:3;2397:41;:::o;1220:28::-;;;-1:-1:-1;;;;;1220:28:12;;:::o;15710:110::-;15766:10;;-1:-1:-1;;;;;15766:10:12;15752;:24;15744:51;;;;;-1:-1:-1;;;15744:51:12;;;;;;;;;;;;-1:-1:-1;;;15744:51:12;;;;;;;;;;;;;;;15805:8;:6;:8::i;899:25::-;;;;;;;;;:::o;1901:34::-;;;;:::o;1607:73::-;;;-1:-1:-1;;;;;1607:73:12;;:::o;1078:77:7:-;1116:7;1142:6;-1:-1:-1;;;;;1142:6:7;1078:77;:::o;3141:25:12:-;;;;:::o;2888:35::-;;;;;;;;;;1037:34;;;;;;-1:-1:-1;;;;;1037:34:12;;:::o;1523:26::-;;;-1:-1:-1;;;;;1523:26:12;;:::o;2808:33::-;;;;;;;;;;17105:200;17188:10;;-1:-1:-1;;;;;17188:10:12;17174;:24;17166:41;;;;;-1:-1:-1;;;17166:41:12;;;;;;;;;;;;;;;-1:-1:-1;;;17166:41:12;;;;;;;;;;;;;;;17217:10;:24;;-1:-1:-1;;;;;;17217:24:12;-1:-1:-1;;;;;17217:24:12;;;;;;;;;;;17251:47;;;;;;;;;17273:13;;;;17251:47;;17287:10;;17251:47;;;;;;:17;;:47;;:::i;:::-;;17105:200;:::o;16529:217::-;16614:10;;-1:-1:-1;;;;;16614:10:12;16600;:24;16592:51;;;;;-1:-1:-1;;;16592:51:12;;;;;;;;;;;;-1:-1:-1;;;16592:51:12;;;;;;;;;;;;;;;2199:3;16661:12;:29;;16653:50;;;;;-1:-1:-1;;;16653:50:12;;;;;;;;;;;;-1:-1:-1;;;16653:50:12;;;;;;;;;;;;;;;16713:11;:26;16529:217::o;2929:35::-;;;;;;;;;;14033:1671;1358:7:8;;;;1357:8;1349:37;;;;;-1:-1:-1;;;1349:37:8;;;;;;;;;;;;-1:-1:-1;;;1349:37:8;;;;;;;;;;;;;;;14103:10:12::1;::::0;;;::::1;;;14095:34;;;::::0;;-1:-1:-1;;;14095:34:12;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;14095:34:12;;;;;;;;;;;;;::::1;;14148:13;::::0;::::1;::::0;::::1;;;14147:14;14139:40;;;::::0;;-1:-1:-1;;;14139:40:12;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;14139:40:12;;;;;;;;;;;;;::::1;;14373:13;::::0;14366:46:::1;::::0;;-1:-1:-1;;;14366:46:12;;14406:4:::1;14366:46;::::0;::::1;::::0;;;14346:17:::1;::::0;-1:-1:-1;;;;;14373:13:12::1;::::0;14366:31:::1;::::0;:46;;;;;::::1;::::0;;;;;;;;14373:13;14366:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;14366:46:12;14443:13:::1;::::0;14426::::1;::::0;14366:46;;-1:-1:-1;;;;;;14426:13:12;;::::1;14443::::0;::::1;14426:30;::::0;::::1;::::0;:47:::1;;;14472:1;14460:9;:13;14426:47;14422:566;;;14550:16;::::0;14496:13:::1;::::0;14489:118:::1;::::0;-1:-1:-1;;;;;14496:13:12;;::::1;::::0;14550:16:::1;14584:9:::0;14489:43:::1;:118::i;:::-;14736:16;::::0;14724:253:::1;::::0;-1:-1:-1;;;14724:253:12;;::::1;::::0;::::1;::::0;;;14736:16:::1;14724:253:::0;;;;;;14932:4:::1;14724:253:::0;;;;;;14961:2:::1;14955:3;:8;14724:253:::0;;;;;;;;;;;;;14888:18:::1;14724:253:::0;;;;;;;;-1:-1:-1;;;;;14736:16:12;;::::1;::::0;14724:100:::1;::::0;14842:9;;14888:18;;14932:4;14955:8;14724:253;;;;;;14888:18;;14724:253;::::1;;;;;;;;;;;;;;;;::::0;;-1:-1:-1;;;;;14724:253:12::1;::::0;;;;;::::1;::::0;::::1;;::::0;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;14422:566;15083:13;::::0;15076:46:::1;::::0;;-1:-1:-1;;;15076:46:12;;15116:4:::1;15076:46;::::0;::::1;::::0;;;15056:17:::1;::::0;-1:-1:-1;;;;;15083:13:12::1;::::0;15076:31:::1;::::0;:46;;;;;::::1;::::0;;;;;;;;15083:13;15076:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;15076:46:12;15153:13:::1;::::0;15136::::1;::::0;15076:46;;-1:-1:-1;;;;;;15136:13:12;;::::1;15153::::0;::::1;15136:30;::::0;::::1;::::0;:47:::1;;;15182:1;15170:9;:13;15136:47;15132:566;;;15260:16;::::0;15206:13:::1;::::0;15199:118:::1;::::0;-1:-1:-1;;;;;15206:13:12;;::::1;::::0;15260:16:::1;15294:9:::0;15199:43:::1;:118::i;:::-;15446:16;::::0;15434:253:::1;::::0;-1:-1:-1;;;15434:253:12;;::::1;::::0;::::1;::::0;;;15446:16:::1;15434:253:::0;;;;;;15642:4:::1;15434:253:::0;;;;;;15671:2:::1;15665:3;:8;15434:253:::0;;;;;;;;;;;;;15598:18:::1;15434:253:::0;;;;;;;;-1:-1:-1;;;;;15446:16:12;;::::1;::::0;15434:100:::1;::::0;15552:9;;15598:18;;15642:4;15665:8;15434:253;;;;;;15598:18;;15434:253;::::1;;;;;;;;;;;;;;;;::::0;;-1:-1:-1;;;;;15434:253:12::1;::::0;;;;;::::1;::::0;::::1;;::::0;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;1396:1:8;;14033:1671:12:o:0;2693:50::-;2739:4;2693:50;:::o;2847:35::-;;;;;;;;;;16963:136;17039:10;;-1:-1:-1;;;;;17039:10:12;17025;:24;17017:41;;;;;-1:-1:-1;;;17017:41:12;;;;;;;;;;;;;;;-1:-1:-1;;;17017:41:12;;;;;;;;;;;;;;;17068:10;:24;;-1:-1:-1;;;;;;17068:24:12;-1:-1:-1;;;;;17068:24:12;;;;;;;;;;16963:136::o;1710:37::-;;;-1:-1:-1;;;;;1710:37:12;;:::o;1254:28::-;;;-1:-1:-1;;;;;1254:28:12;;:::o;17446:191::-;17553:10;;-1:-1:-1;;;;;17553:10:12;17539;:24;17531:41;;;;;-1:-1:-1;;;17531:41:12;;;;;;;;;;;;;;;-1:-1:-1;;;17531:41:12;;;;;;;;;;;;;;;17582:22;:48;;-1:-1:-1;;;;;;17582:48:12;-1:-1:-1;;;;;17582:48:12;;;;;;;;;;17446:191::o;1005:22::-;;;;;;;;;:::o;8516:2954::-;1358:7:8;;8576::12;;1358::8;;1357:8;1349:37;;;;;-1:-1:-1;;;1349:37:8;;;;;;;;;;;;-1:-1:-1;;;1349:37:8;;;;;;;;;;;;;;;8603:10:12::1;::::0;;;::::1;;;8595:34;;;::::0;;-1:-1:-1;;;8595:34:12;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;8595:34:12;;;;;;;;;;;;;::::1;;8643:7;::::0;-1:-1:-1;;;8643:7:12;::::1;;;8639:89;;;8688:10;::::0;-1:-1:-1;;;;;8688:10:12::1;8674;:24;8666:51;;;::::0;;-1:-1:-1;;;8666:51:12;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;8666:51:12;;;;;;;;;;;;;::::1;;9039:19;;;;;;;;;-1:-1:-1::0;;;;;9039:19:12::1;-1:-1:-1::0;;;;;9023:45:12::1;;9069:3;;9074:1;9023:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;9163:13:12::1;::::0;9156:46:::1;::::0;;-1:-1:-1;;;9156:46:12;;9196:4:::1;9156:46;::::0;::::1;::::0;;;9136:17:::1;::::0;-1:-1:-1;;;;;;9163:13:12;;::::1;::::0;-1:-1:-1;9156:31:12::1;::::0;:46;;;;;::::1;::::0;;;;;;;;9163:13;9156:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;9156:46:12;;-1:-1:-1;9225:25:12::1;9156:46:::0;9225:14:::1;:25::i;:::-;9213:37:::0;-1:-1:-1;9213:37:12;9313:33:::1;9329:6:::0;9213:37;9313:15:::1;:33::i;:::-;9301:45:::0;-1:-1:-1;9364:20:12::1;:5:::0;9301:45;9364:9:::1;:20::i;:::-;9356:28;;9412:18;9420:9;9412:7;:18::i;:::-;9445:13;::::0;9400:30;;-1:-1:-1;9445:13:12::1;::::0;::::1;;;9441:119;;;9490:12;9474:13;:28:::0;9516:7:::1;:5;:7::i;:::-;9544:5:::0;-1:-1:-1;9537:12:12::1;::::0;-1:-1:-1;9537:12:12::1;9441:119;9627:16;::::0;9577:13:::1;::::0;9570:106:::1;::::0;-1:-1:-1;;;;;9577:13:12;;::::1;::::0;9627:16:::1;9657:9:::0;9570:43:::1;:106::i;:::-;9708:13;::::0;9691::::1;::::0;-1:-1:-1;;;;;9691:13:12;;::::1;9708::::0;::::1;9691:30;9687:413;;9841:16;::::0;-1:-1:-1;;;;;9841:16:12::1;9829:100;9947:16;:9:::0;9961:1:::1;9947:13;:16::i;:::-;9981:1;10000:18;10044:4;10067:3;10073:2;10067:8;9829:260;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;9829:260:12::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;-1:-1:-1;;;;;9829:260:12::1;::::0;;;;;::::1;::::0;::::1;;::::0;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;9687:413;10131:13;::::0;10114::::1;::::0;-1:-1:-1;;;;;10114:13:12;;::::1;10131::::0;::::1;10114:30;10110:412;;10263:16;::::0;-1:-1:-1;;;;;10263:16:12::1;10251:100;10369:16;:9:::0;10383:1:::1;10369:13;:16::i;:::-;10403:1;10422:18;10466:4;10489:3;10495:2;10489:8;10251:260;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;10251:260:12::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;-1:-1:-1;;;;;10251:260:12::1;::::0;;;;;::::1;::::0;::::1;;::::0;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;10110:412;10605:13;::::0;10598:46:::1;::::0;;-1:-1:-1;;;10598:46:12;;10638:4:::1;10598:46;::::0;::::1;::::0;;;10578:17:::1;::::0;-1:-1:-1;;;;;10605:13:12::1;::::0;10598:31:::1;::::0;:46;;;;;::::1;::::0;;;;;;;;10605:13;10598:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;10598:46:12;10681:13:::1;::::0;10674:46:::1;::::0;;-1:-1:-1;;;10674:46:12;;10714:4:::1;10674:46;::::0;::::1;::::0;;;10598;;-1:-1:-1;10654:17:12::1;::::0;-1:-1:-1;;;;;10681:13:12;;::::1;::::0;10674:31:::1;::::0;:46;;;;;10598::::1;::::0;10674;;;;;;;;10681:13;10674:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;10674:46:12;;-1:-1:-1;10734:13:12;;;;;:30:::1;;;10763:1;10751:9;:13;10734:30;10730:655;;;10841:16;::::0;10787:13:::1;::::0;10780:118:::1;::::0;-1:-1:-1;;;;;10787:13:12;;::::1;::::0;10841:16:::1;10875:9:::0;10780:43:::1;:118::i;:::-;10973:16;::::0;10919:13:::1;::::0;10912:118:::1;::::0;-1:-1:-1;;;;;10919:13:12;;::::1;::::0;10973:16:::1;11007:9:::0;10912:43:::1;:118::i;:::-;11119:16;::::0;11167:13:::1;::::0;11198::::1;::::0;11107:267:::1;::::0;;-1:-1:-1;;;11107:267:12;;-1:-1:-1;;;;;11167:13:12;;::::1;11107:267;::::0;::::1;::::0;11198:13;;::::1;11107:267:::0;;;;;;;;;;;;;;;;11119:16:::1;11107:267:::0;;;;;;;;;;;;11329:4:::1;11107:267:::0;;;;11358:2:::1;11352:3;:8;11107:267:::0;;;;;;11119:16;;;::::1;::::0;11107:42:::1;::::0;:267;;;;;::::1;::::0;;;;;;;;;;;11119:16;11107:267;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;10730:655:12::1;11411:12;11395:13;:28:::0;11434:7:::1;:5;:7::i;:::-;-1:-1:-1::0;11458:5:12;;-1:-1:-1;;;1396:1:8::1;8516:2954:12::0;;;:::o;1288:28::-;;;-1:-1:-1;;;;;1288:28:12;;:::o;1188:26::-;;;-1:-1:-1;;;;;1188:26:12;;:::o;1126:18::-;;;;:::o;1995:240:7:-;1292:12;:10;:12::i;:::-;1282:6;;-1:-1:-1;;;;;1282:6:7;;;:22;;;1274:67;;;;;-1:-1:-1;;;1274:67:7;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1274:67:7;;;;;;;;;;;;;;;-1:-1:-1;;;;;2083:22:7;::::1;2075:73;;;;-1:-1:-1::0;;;2075:73:7::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2184:6;::::0;;2163:38:::1;::::0;-1:-1:-1;;;;;2163:38:7;;::::1;::::0;2184:6;::::1;::::0;2163:38:::1;::::0;::::1;2211:6;:17:::0;;-1:-1:-1;;;;;;2211:17:7::1;-1:-1:-1::0;;;;;2211:17:7;;;::::1;::::0;;;::::1;::::0;;1995:240::o;7131:1270:12:-;7260:7;1292:12:7;:10;:12::i;:::-;1282:6;;-1:-1:-1;;;;;1282:6:7;;;:22;;;1274:67;;;;;-1:-1:-1;;;1274:67:7;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1274:67:7;;;;;;;;;;;;;;;1688:1:9::1;2277:7;;:19;;2269:63;;;::::0;;-1:-1:-1;;;2269:63:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;1688:1;2407:7;:18:::0;7291:12:12;7283:38:::2;;;::::0;;-1:-1:-1;;;7283:38:12;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;7283:38:12;;;;;;;;;;;;;::::2;;7667:10;::::0;;;::::2;;;7663:103;;;7711:19;;;;;;;;;-1:-1:-1::0;;;;;7711:19:12::2;-1:-1:-1::0;;;;;7695:45:12::2;;7741:3;;7746:8;7695:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;7663:103;7801:11;::::0;;7794:44:::2;::::0;;-1:-1:-1;;;7794:44:12;;7832:4:::2;7794:44:::0;;::::2;::::0;;;;;7776:15:::2;::::0;-1:-1:-1;;;;;7801:11:12;;::::2;::::0;7794:29:::2;::::0;:44;;;;;::::2;::::0;;;;;;;;7801:11;7794:44;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;7794:44:12;;-1:-1:-1;7852:18:12;;::::2;7848:67;;;7897:7;7886:18;;7848:67;7947:8;7929:15;;:26;7925:83;;;7982:15;;7971:26;;7925:83;8018:21;8042:46;8072:15;;8042:25;8055:11;;8042:8;:12;;:25;;;;:::i;:46::-;8018:70;;8118:11;;8102:13;:27;8098:85;;;-1:-1:-1::0;8161:11:12::2;::::0;8098:85:::2;8206:11;::::0;:30:::2;::::0;8222:13;8206:15:::2;:30::i;:::-;8192:11;:44:::0;8264:15:::2;::::0;:29:::2;::::0;8284:8;8264:19:::2;:29::i;:::-;8246:15;:47:::0;8337:15:::2;::::0;8311:11:::2;::::0;8304:59:::2;::::0;-1:-1:-1;;;;;8311:11:12;;::::2;::::0;8337:15:::2;8354:8:::0;8304:32:::2;:59::i;:::-;1645:1:9::1;2580:22:::0;;8381:13:12;7131:1270;-1:-1:-1;;;;7131:1270:12:o;16294:229::-;16383:10;;-1:-1:-1;;;;;16383:10:12;16369;:24;16361:51;;;;;-1:-1:-1;;;16361:51:12;;;;;;;;;;;;-1:-1:-1;;;16361:51:12;;;;;;;;;;;;;;;2049:3;16430:14;:33;;16422:54;;;;;-1:-1:-1;;;16422:54:12;;;;;;;;;;;;-1:-1:-1;;;16422:54:12;;;;;;;;;;;;;;;16486:13;:30;16294:229::o;3011:35::-;;;;;;;;;;6549:576;6610:11;;;6603:44;;;-1:-1:-1;;;6603:44:12;;6641:4;6603:44;;;;;;;;6585:15;;-1:-1:-1;;;;;6610:11:12;;;;6603:29;;:44;;;;;;;;;;;;;;6610:11;6603:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6603:44:12;6675:15;;6603:44;;-1:-1:-1;6675:28:12;;6603:44;6675:19;:28::i;:::-;6657:15;:46;6755:19;;6720:11;;6713:71;;-1:-1:-1;;;;;6720:11:12;;;;6755:19;;;;;6776:7;6713:41;:71::i;:::-;7076:19;;;;;;;;;-1:-1:-1;;;;;7076:19:12;-1:-1:-1;;;;;7060:44:12;;7105:3;;7110:7;7060:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6549:576;:::o;2054:117:8:-;1622:7;;;;1614:40;;;;;-1:-1:-1;;;1614:40:8;;;;;;;;;;;;-1:-1:-1;;;1614:40:8;;;;;;;;;;;;;;;2112:7:::1;:15:::0;;-1:-1:-1;;2112:15:8::1;::::0;;2142:22:::1;2151:12;:10;:12::i;:::-;2142:22;::::0;;-1:-1:-1;;;;;2142:22:8;;::::1;::::0;;;;;;;::::1;::::0;;::::1;2054:117::o:0;598:104:1:-;685:10;598:104;:::o;866:203:10:-;993:68;;;-1:-1:-1;;;;;993:68:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;993:68:10;-1:-1:-1;;;993:68:10;;;966:96;;986:5;;966:19;:96::i;:::-;866:203;;;;:::o;2188:459:11:-;2246:7;2487:6;2483:45;;-1:-1:-1;2516:1:11;2509:8;;2483:45;2550:5;;;2554:1;2550;:5;:1;2573:5;;;;;:10;2565:56;;;;-1:-1:-1;;;2565:56:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3109:130;3167:7;3193:39;3197:1;3200;3193:39;;;;;;;;;;;;;;;;;:3;:39::i;1329:134::-;1387:7;1413:43;1417:1;1420;1413:43;;;;;;;;;;;;;;;;;:3;:43::i;685:175:10:-;794:58;;;-1:-1:-1;;;;;794:58:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;794:58:10;-1:-1:-1;;;794:58:10;;;767:86;;787:5;;767:19;:86::i;882:176:11:-;940:7;971:5;;;994:6;;;;986:46;;;;;-1:-1:-1;;;986:46:11;;;;;;;;;;;;;;;;;;;;;;;;;;;1807:115:8;1358:7;;;;1357:8;1349:37;;;;;-1:-1:-1;;;1349:37:8;;;;;;;;;;;;-1:-1:-1;;;1349:37:8;;;;;;;;;;;;;;;1866:7:::1;:14:::0;;-1:-1:-1;;1866:14:8::1;1876:4;1866:14;::::0;;1895:20:::1;1902:12;:10;:12::i;1948:283:10:-:0;2044:20;2067:50;2111:5;2067;-1:-1:-1;;;;;2067:15:10;;2091:4;2098:7;2067:39;;;;;;;;;;;;;-1:-1:-1;;;;;2067:39:10;;;;;;-1:-1:-1;;;;;2067:39:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2067:39:10;;:43;:50::i;:::-;2154:69;;;-1:-1:-1;;;;;2154:69:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2154:69:10;-1:-1:-1;;;2154:69:10;;;2044:73;;-1:-1:-1;2127:97:10;;2147:5;;2127:19;:97::i;12149:464:12:-;12211:7;12234:14;;12230:349;;12299:13;;:17;12295:273;;12336:11;12370:51;1984:5;12370:29;12385:13;;12370:10;:14;;:29;;;;:::i;:51::-;12474:22;;12446:13;;12336:85;;-1:-1:-1;12439:63:12;;-1:-1:-1;;;;;12446:13:12;;;;12474:22;12336:85;12439:34;:63::i;:::-;12533:19;:10;12548:3;12533:14;:19::i;:::-;12520:32;;12295:273;;-1:-1:-1;12596:10:12;12149:464::o;12618:1409::-;12696:7;12720:14;;12716:1278;;12785:9;;:13;12781:1202;;12844:13;12880:43;2374:5;12880:25;12895:9;;12880:10;:14;;:25;;;;:::i;:43::-;13008:10;;12991:13;;12844:79;;-1:-1:-1;12942:21:12;;-1:-1:-1;;;;;12991:13:12;;;13008:10;;12991:27;12987:580;;13111:16;;13049:13;;13042:138;;-1:-1:-1;;;;;13049:13:12;;;;13111:16;13153:5;13042:43;:138::i;:::-;13247:16;;13235:231;;-1:-1:-1;;;13235:231:12;;;;;;;;13247:16;13235:231;;;;;;13425:4;13235:231;;;;;;13462:2;13456:3;:8;13235:231;;;;;;;;;;;;;13374:17;13235:231;;;;;;;;13202:30;;-1:-1:-1;;;;;13247:16:12;;13235:54;;13315:5;;13247:16;13374:17;;13425:4;;13235:231;;;;;;;13374:17;;13235:231;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13235:231:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13235:231:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13235:231:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13202:264;;13504:14;13546:1;13519:17;:24;;;;:28;13504:44;;;;;;;;;;;;;;13488:60;;12987:580;;13608:10;;13601:43;;;-1:-1:-1;;;13601:43:12;;13638:4;13601:43;;;;;;13584:14;;-1:-1:-1;;;;;13608:10:12;;13601:28;;:43;;;;;;;;;;;;;;13608:10;13601:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13601:43:12;;-1:-1:-1;13666:22:12;;;13662:91;;;13728:6;13712:22;;13662:91;13803:15;;13778:10;;13771:63;;-1:-1:-1;;;;;13778:10:12;;;;13803:15;13820:13;13771:31;:63::i;:::-;13865:15;;13852:63;;;-1:-1:-1;;;13852:63:12;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13865:15:12;;;;13852:41;;:63;;;;;13865:15;;13852:63;;;;;;;;13865:15;;13852:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13946:21;13961:5;13946:10;:14;;:21;;;;:::i;:::-;13933:34;;12781:1202;;;;-1:-1:-1;14010:10:12;12618:1409;-1:-1:-1;12618:1409:12:o;11477:666::-;11532:7;11570:1;11555:11;;:16;11551:64;;-1:-1:-1;11594:10:12;11587:17;;11551:64;11625:18;11646:47;2136:5;11646:27;11661:11;;11646:10;:14;;:27;;;;:::i;:47::-;11761:16;;11711:13;;11625:68;;-1:-1:-1;11704:107:12;;-1:-1:-1;;;;;11711:13:12;;;;11761:16;11625:68;11704:43;:107::i;:::-;11879:16;;11867:225;;-1:-1:-1;;;11867:225:12;;;;;;;;11879:16;11867:225;;;;;;2249:42;11867:225;;;;;;12080:2;12074:3;:8;11867:225;;;;;;;;;;;;;12016:16;11867:225;;;;;;;;-1:-1:-1;;;;;11879:16:12;;;;11867:96;;11977:10;;12016:16;;2249:42;12074:8;11867:225;;;;;;12016:16;;11867:225;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11867:225:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12110:26;12125:10;12110;:14;;:26;;;;:::i;:::-;12103:33;11477:666;-1:-1:-1;;;11477:666:12:o;2948:751:10:-;3367:23;3393:69;3421:4;3393:69;;;;;;;;;;;;;;;;;3401:5;-1:-1:-1;;;;;3393:27:10;;;:69;;;;;:::i;:::-;3476:17;;3367:95;;-1:-1:-1;3476:21:10;3472:221;;3616:10;3605:30;;;;;;;;;;;;;;;-1:-1:-1;3605:30:10;3597:85;;;;-1:-1:-1;;;3597:85:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3721:272:11;3807:7;3841:12;3834:5;3826:28;;;;-1:-1:-1;;;3826:28:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3864:9;3880:1;3876;:5;;;;;;;3721:272;-1:-1:-1;;;;;3721:272:11:o;1754:187::-;1840:7;1875:12;1867:6;;;;1859:29;;;;-1:-1:-1;;;1859:29:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1910:5:11;;;1754:187::o;3581:193:0:-;3684:12;3715:52;3737:6;3745:4;3751:1;3754:12;3715:21;:52::i;:::-;3708:59;3581:193;-1:-1:-1;;;;3581:193:0:o;4608:523::-;4735:12;4792:5;4767:21;:30;;4759:81;;;;-1:-1:-1;;;4759:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4858:18;4869:6;4858:10;:18::i;:::-;4850:60;;;;;-1:-1:-1;;;4850:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4981:12;4995:23;5022:6;-1:-1:-1;;;;;5022:11:0;5042:5;5050:4;5022:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5022:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4980:75;;;;5072:52;5090:7;5099:10;5111:12;5072:17;:52::i;:::-;5065:59;4608:523;-1:-1:-1;;;;;;;4608:523:0:o;726:413::-;1086:20;1124:8;;;726:413::o;7091:725::-;7206:12;7234:7;7230:580;;;-1:-1:-1;7264:10:0;7257:17;;7230:580;7375:17;;:21;7371:429;;7633:10;7627:17;7693:15;7680:10;7676:2;7672:19;7665:44;7582:145;7765:20;;-1:-1:-1;;;7765:20:0;;;;;;;;;;;;;;;;;7772:12;;7765:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://c8078c6c434593cd8c1bf992d0bf42344ecaa4cb2b3bec07cde1fb9e7477aa8d
Block Transaction Gas Used Reward
Age Block Fee Address Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading