Contract 0x678c356f019e305ecdc88c470042a0bfcb59db88

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xb93ac28c27faf0269397baad4bebf917bff28c010afe0abfd8486f85d7f26c9dEarn221082662021-12-04 1:31:322 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.046195146
0x05c1dad39d770e5551b37bfb18603dedb8274309254740ba1b91cf90c027c00dEarn221081082021-12-04 1:21:5211 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047547304
0xb39f16b9b182c9f2a1649a37ecb6a6efed1bb92f99aa9746036b9291a20a7b16Earn221078182021-12-04 1:11:5221 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047546033
0x849da526cbe328332d9d0f33abe7fcc78a5ca34edcb67281533e8f626aaeb974Earn221075302021-12-04 1:02:0031 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.046195146
0x570a08577b8025ebd92cff572d5af374515000732d35390ccc1727613ba2010dEarn221072992021-12-04 0:52:0841 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047224408
0x97955eb7ad326011399b40ba4d2ff7fd1208187de32aaad936309d01ffa3ec7aEarn221071002021-12-04 0:42:5450 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047224408
0xc352e20abf5c046bfa76f0422525eee18098c44f399a7b34a45c9a554e7a492cEarn221068552021-12-04 0:31:501 hr 1 min ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047547304
0xf98301207255c9662c8098c49d162e5063e279e2811d41055d36c0789819aea1Earn221065782021-12-04 0:22:191 hr 11 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047224408
0x167b114b9fcff35b9de20f3c3b3cd0c74f786178151106388357b297ccb9eb37Earn221063252021-12-04 0:11:281 hr 22 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047547304
0x18c79715b0dae62e955b5d9d38c70b2dc572394021bdd79efa45cd3690711d1eEarn221062092021-12-04 0:07:281 hr 26 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047275868
0x554a5f3381c4f389f8e0b090854a253c005da73150b37ee10e466ac7c9a1a551Earn221062082021-12-04 0:07:261 hr 26 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.04587225
0xf1c87b846e213371b1a6e3c136cc7bd2e953136ca5e57247677171152b2f0807Earn221058712021-12-03 23:51:361 hr 42 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047547304
0x08a9f08d0a94864af4618b5216c92dc04c96b1d8fba380cf6544d02e86e42e58Earn221055972021-12-03 23:41:361 hr 52 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.045540116
0x658d3bf93de1e364a69b98c971dcc6a3980d45ad82863591a53554f2b3963d41Earn221053632021-12-03 23:33:362 hrs ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047224408
0x070b9474cf088b8d44bf2a8a1dd3ab2809807dc2215c630bf2f9ac1435037907Earn221050802021-12-03 23:22:242 hrs 11 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.04587225
0x1c0b48e8d2b055aab04470e37f2a18132ff00d2893cd934f30a6ca4861255581Earn221048202021-12-03 23:11:342 hrs 22 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047546033
0x95de52466c0b7eee07c066251c4eeb97db017fea6df5daa615e98a48093eb148Earn221046032021-12-03 23:02:002 hrs 31 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047547304
0xfdadc80ce5322c47faa8ce7a33cafbc0c3208c2b86f815846cffb350ee5c92acEarn221043052021-12-03 22:51:442 hrs 42 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047547304
0x3194949b593626f41bae818f8d81e89fb56b89f255f861098856641418fea299Earn221040382021-12-03 22:42:042 hrs 51 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047546033
0x4a065e8e5cadb27b127338c17938e81feeaf026c61838ea9619538c009ef1413Earn221037332021-12-03 22:31:343 hrs 2 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047547304
0x6139b7e32cd5fcab42981dacd158010a0dd4cab049a0288972168ec2784eedafEarn221035852021-12-03 22:22:143 hrs 11 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047546033
0x8b1e7411124099b64f7d6b57cc544cfd52e2038967b5d6196fa6a59748bd20e7Earn221032872021-12-03 22:11:423 hrs 22 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.046195146
0x0b8da1a1e7589b13cbac0c5104ab51dab5aa5840060742b5801bb3e8639032c4Earn221030592021-12-03 22:02:023 hrs 31 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047547304
0xc0430e8210a5fc5dc1e3be9821cf9547440082df53effe8e4f89c2cb3f09e132Earn221027582021-12-03 21:51:403 hrs 42 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.047546033
0xb2e46e80c011b703d5223b29b4b8043318d9e1b36490523097285ec1ec16921aEarn221024972021-12-03 21:42:023 hrs 51 mins ago0x1200048dc4997141f9c61fb29dd5de7cecc0dc31 IN  0x678c356f019e305ecdc88c470042a0bfcb59db880 MATIC0.046195146
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xb93ac28c27faf0269397baad4bebf917bff28c010afe0abfd8486f85d7f26c9d221082662021-12-04 1:31:322 mins ago 0x678c356f019e305ecdc88c470042a0bfcb59db88Polycat Finance: Deployer0.007329328383360482 MATIC
0xb93ac28c27faf0269397baad4bebf917bff28c010afe0abfd8486f85d7f26c9d221082662021-12-04 1:31:322 mins ago Polygon: WMATIC Token 0x678c356f019e305ecdc88c470042a0bfcb59db880.007329328383360482 MATIC
0x05c1dad39d770e5551b37bfb18603dedb8274309254740ba1b91cf90c027c00d221081082021-12-04 1:21:5211 mins ago 0x678c356f019e305ecdc88c470042a0bfcb59db88Polycat Finance: Deployer0.007478724995395031 MATIC
0x05c1dad39d770e5551b37bfb18603dedb8274309254740ba1b91cf90c027c00d221081082021-12-04 1:21:5211 mins ago Polygon: WMATIC Token 0x678c356f019e305ecdc88c470042a0bfcb59db880.007478724995395031 MATIC
0xb39f16b9b182c9f2a1649a37ecb6a6efed1bb92f99aa9746036b9291a20a7b16221078182021-12-04 1:11:5221 mins ago 0x678c356f019e305ecdc88c470042a0bfcb59db88Polycat Finance: Deployer0.007406534032905896 MATIC
0xb39f16b9b182c9f2a1649a37ecb6a6efed1bb92f99aa9746036b9291a20a7b16221078182021-12-04 1:11:5221 mins ago Polygon: WMATIC Token 0x678c356f019e305ecdc88c470042a0bfcb59db880.007406534032905896 MATIC
0x849da526cbe328332d9d0f33abe7fcc78a5ca34edcb67281533e8f626aaeb974221075302021-12-04 1:02:0031 mins ago 0x678c356f019e305ecdc88c470042a0bfcb59db88Polycat Finance: Deployer0.007270357336374483 MATIC
0x849da526cbe328332d9d0f33abe7fcc78a5ca34edcb67281533e8f626aaeb974221075302021-12-04 1:02:0031 mins ago Polygon: WMATIC Token 0x678c356f019e305ecdc88c470042a0bfcb59db880.007270357336374483 MATIC
0x570a08577b8025ebd92cff572d5af374515000732d35390ccc1727613ba2010d221072992021-12-04 0:52:0841 mins ago 0x678c356f019e305ecdc88c470042a0bfcb59db88Polycat Finance: Deployer0.007321568017126252 MATIC
0x570a08577b8025ebd92cff572d5af374515000732d35390ccc1727613ba2010d221072992021-12-04 0:52:0841 mins ago Polygon: WMATIC Token 0x678c356f019e305ecdc88c470042a0bfcb59db880.007321568017126252 MATIC
0x97955eb7ad326011399b40ba4d2ff7fd1208187de32aaad936309d01ffa3ec7a221071002021-12-04 0:42:5450 mins ago 0x678c356f019e305ecdc88c470042a0bfcb59db88Polycat Finance: Deployer0.007963897499938126 MATIC
0x97955eb7ad326011399b40ba4d2ff7fd1208187de32aaad936309d01ffa3ec7a221071002021-12-04 0:42:5450 mins ago Polygon: WMATIC Token 0x678c356f019e305ecdc88c470042a0bfcb59db880.007963897499938126 MATIC
0xc352e20abf5c046bfa76f0422525eee18098c44f399a7b34a45c9a554e7a492c221068552021-12-04 0:31:501 hr 1 min ago 0x678c356f019e305ecdc88c470042a0bfcb59db88Polycat Finance: Deployer0.007423077042743866 MATIC
0xc352e20abf5c046bfa76f0422525eee18098c44f399a7b34a45c9a554e7a492c221068552021-12-04 0:31:501 hr 1 min ago Polygon: WMATIC Token 0x678c356f019e305ecdc88c470042a0bfcb59db880.007423077042743866 MATIC
0xf98301207255c9662c8098c49d162e5063e279e2811d41055d36c0789819aea1221065782021-12-04 0:22:191 hr 11 mins ago 0x678c356f019e305ecdc88c470042a0bfcb59db88Polycat Finance: Deployer0.006656235097904026 MATIC
0xf98301207255c9662c8098c49d162e5063e279e2811d41055d36c0789819aea1221065782021-12-04 0:22:191 hr 11 mins ago Polygon: WMATIC Token 0x678c356f019e305ecdc88c470042a0bfcb59db880.006656235097904026 MATIC
0x167b114b9fcff35b9de20f3c3b3cd0c74f786178151106388357b297ccb9eb37221063252021-12-04 0:11:281 hr 22 mins ago 0x678c356f019e305ecdc88c470042a0bfcb59db88Polycat Finance: Deployer0.002140995048804514 MATIC
0x167b114b9fcff35b9de20f3c3b3cd0c74f786178151106388357b297ccb9eb37221063252021-12-04 0:11:281 hr 22 mins ago Polygon: WMATIC Token 0x678c356f019e305ecdc88c470042a0bfcb59db880.002140995048804514 MATIC
0x18c79715b0dae62e955b5d9d38c70b2dc572394021bdd79efa45cd3690711d1e221062092021-12-04 0:07:281 hr 26 mins ago 0x678c356f019e305ecdc88c470042a0bfcb59db88Polycat Finance: Deployer0.000839508183315072 MATIC
0x18c79715b0dae62e955b5d9d38c70b2dc572394021bdd79efa45cd3690711d1e221062092021-12-04 0:07:281 hr 26 mins ago Polygon: WMATIC Token 0x678c356f019e305ecdc88c470042a0bfcb59db880.000839508183315072 MATIC
0x554a5f3381c4f389f8e0b090854a253c005da73150b37ee10e466ac7c9a1a551221062082021-12-04 0:07:261 hr 26 mins ago 0x678c356f019e305ecdc88c470042a0bfcb59db88Polycat Finance: Deployer0.011278929015659484 MATIC
0x554a5f3381c4f389f8e0b090854a253c005da73150b37ee10e466ac7c9a1a551221062082021-12-04 0:07:261 hr 26 mins ago Polygon: WMATIC Token 0x678c356f019e305ecdc88c470042a0bfcb59db880.011278929015659484 MATIC
0xf1c87b846e213371b1a6e3c136cc7bd2e953136ca5e57247677171152b2f0807221058712021-12-03 23:51:361 hr 42 mins ago 0x678c356f019e305ecdc88c470042a0bfcb59db88Polycat Finance: Deployer0.008733554844392973 MATIC
0xf1c87b846e213371b1a6e3c136cc7bd2e953136ca5e57247677171152b2f0807221058712021-12-03 23:51:361 hr 42 mins ago Polygon: WMATIC Token 0x678c356f019e305ecdc88c470042a0bfcb59db880.008733554844392973 MATIC
0x08a9f08d0a94864af4618b5216c92dc04c96b1d8fba380cf6544d02e86e42e58221055972021-12-03 23:41:361 hr 52 mins ago 0x678c356f019e305ecdc88c470042a0bfcb59db88Polycat Finance: Deployer0.006693088095225997 MATIC
[ Download CSV Export 
Loading

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

Contract Name:
StrategyAave

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 1 of 16: StrategyAave.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import "./Ownable.sol";
import "./SafeERC20.sol";
import "./Pausable.sol";
import "./ReentrancyGuard.sol";

import "./IAaveStake.sol";
import "./IProtocolDataProvider.sol";
import "./IStrategyFish.sol";
import "./IUniPair.sol";
import "./IUniRouter02.sol";
import "./IWETH.sol";

contract StrategyAave is Ownable, ReentrancyGuard, Pausable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    address public constant aaveDataAddress = 0x7551b5D2763519d4e37e8B81929D336De671d46d;
    address public constant aaveDepositAddress = 0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf;
    address public constant aaveClaimAddress = 0x357D51124f59836DeD84c8a1730D72B749d8BC23;
    address public wantAddress;
    address public vTokenAddress;
    address public debtTokenAddress;
    address public earnedAddress;
    uint16 public referralCode = 0;
    
    address public uniRouterAddress = 0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff;
    address public constant wmaticAddress = 0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270;
    address public constant usdcAddress = 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174;
    address public constant fishAddress = 0x3a3Df212b7AA91Aa0402B9035b098891d276572B;
    address public rewardAddress = 0x917FB15E8aAA12264DCBdC15AFef7cD3cE76BA39;
    address public constant vaultAddress = 0x4879712c5D1A98C0B88Fb700daFF5c65d12Fd729;
    address public constant feeAddress = 0x1cb757f1eB92F25A917CE9a92ED88c1aC0734334;
    address public constant withdrawFeeAddress = 0x47231b2EcB18b7724560A78cd7191b121f53FABc;
    address public vaultChefAddress;
    address public govAddress;

    uint256 public lastEarnBlock = block.number;
    uint256 public sharesTotal = 0;

    address public constant buyBackAddress = 0x000000000000000000000000000000000000dEaD;
    uint256 public controllerFee = 50;
    uint256 public rewardRate = 0;
    uint256 public buyBackRate = 450;
    uint256 public constant feeMaxTotal = 1000;
    uint256 public constant feeMax = 10000; // 100 = 1%

    uint256 public withdrawFeeFactor = 10000; // 0% withdraw fee
    uint256 public constant withdrawFeeFactorMax = 10000;
    uint256 public constant withdrawFeeFactorLL = 9900;

    uint256 public slippageFactor = 950; // 5% default slippage tolerance
    uint256 public constant slippageFactorUL = 995;
    
    /**
     * @dev Variables that can be changed to config profitability and risk:
     * {borrowRate}          - At What % of our collateral do we borrow per leverage level.
     * {borrowDepth}         - Ma How many levels of leverage do we take.
     * {BORROW_RATE_MAX}     - Cat A limit on how much we can push borrow risk.
     * {BORROW_DEPTH_MAX}    - Kevin A limit on how many steps we can leverage.
     */
    uint256 public borrowRate;
    uint256 public borrowDepth = 6;
    uint256 public minLeverage;
    uint256 public BORROW_RATE_MAX;
    uint256 public BORROW_RATE_MAX_HARD;
    uint256 public BORROW_DEPTH_MAX = 8;
    uint256 public constant BORROW_RATE_DIVISOR = 10000;

    address[] public vTokenArray;
    address[] public earnedToUsdcPath;
    address[] public earnedToFishPath;
    address[] public earnedToWantPath;

    constructor(
        address _vaultChefAddress,
        uint256 _minLeverage,
        address _wantAddress,
        address _vTokenAddress,
        address _debtTokenAddress,
        address _earnedAddress,
        address[] memory _earnedToUsdcPath,
        address[] memory _earnedToFishPath,
        address[] memory _earnedToWantPath
    ) public {
        govAddress = msg.sender;
        vaultChefAddress = _vaultChefAddress;

        minLeverage = _minLeverage;

        wantAddress = _wantAddress;
        vTokenAddress = _vTokenAddress;
        vTokenArray = [vTokenAddress];
        debtTokenAddress = _debtTokenAddress;

        earnedAddress = _earnedAddress;

        earnedToUsdcPath = _earnedToUsdcPath;
        earnedToFishPath = _earnedToFishPath;
        earnedToWantPath = _earnedToWantPath;
        
        (, uint256 ltv, uint256 threshold, , , bool collateral, bool borrow, , , ) = 
            IProtocolDataProvider(aaveDataAddress).getReserveConfigurationData(wantAddress);
        BORROW_RATE_MAX = ltv.mul(99).div(100); // 1%
        BORROW_RATE_MAX_HARD = ltv.mul(999).div(1000); // 0.1%
        // At minimum, borrow rate always 10% lower than liquidation threshold
        if (threshold.mul(9).div(10) > BORROW_RATE_MAX) {
            borrowRate = BORROW_RATE_MAX;
        } else {
            borrowRate = threshold.mul(9).div(10);
        }
        // Only leverage if you can
        if (!(collateral && borrow)) {
            borrowDepth = 0;
            BORROW_DEPTH_MAX = 0;
        }

        transferOwnership(vaultChefAddress);
        
        _resetAllowances();
    }
    
    event SetSettings(
        uint256 _controllerFee,
        uint256 _rewardRate,
        uint256 _buyBackRate,
        uint256 _withdrawFeeFactor,
        uint256 _slippageFactor,
        address _uniRouterAddress,
        address _rewardAddress,
        uint16 _referralCode
    );
    
    modifier onlyGov() {
        require(msg.sender == govAddress, "!gov");
        _;
    }
    
    function deposit(address _userAddress, uint256 _wantAmt) external onlyOwner nonReentrant whenNotPaused returns (uint256) {
        // Call must happen before transfer
        uint256 wantLockedBefore = wantLockedTotal();

        IERC20(wantAddress).safeTransferFrom(
            address(msg.sender),
            address(this),
            _wantAmt
        );

        // Proper deposit amount for tokens with fees, or vaults with deposit fees
        uint256 sharesAdded = _farm(_wantAmt);
        if (sharesTotal > 0) {
            sharesAdded = sharesAdded.mul(sharesTotal).div(wantLockedBefore);
        }
        sharesTotal = sharesTotal.add(sharesAdded);

        return sharesAdded;
    }

    function _farm(uint256 _wantAmt) internal returns (uint256) {
        uint256 wantAmt = wantLockedInHere();
        if (wantAmt == 0) return 0;
        
        // Cheat method to check for deposit fees in Aave
        uint256 sharesBefore = wantLockedTotal().sub(_wantAmt);
        _leverage(wantAmt);
        
        return wantLockedTotal().sub(sharesBefore);
    }

    function withdraw(address _userAddress, uint256 _wantAmt) external onlyOwner nonReentrant returns (uint256) {
        require(_wantAmt > 0, "_wantAmt is 0");
        
        uint256 wantAmt = IERC20(wantAddress).balanceOf(address(this));
        
        if (_wantAmt > wantAmt) {
            // Fully deleverage, cheap in Polygon
            _deleverage();
            wantAmt = IERC20(wantAddress).balanceOf(address(this));
        }

        if (_wantAmt > wantAmt) {
            _wantAmt = wantAmt;
        }

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

        uint256 sharesRemoved = _wantAmt.mul(sharesTotal).div(wantLockedTotal());
        if (sharesRemoved > sharesTotal) {
            sharesRemoved = sharesTotal;
        }
        sharesTotal = sharesTotal.sub(sharesRemoved);
        
        // Withdraw fee
        uint256 withdrawFee = _wantAmt
            .mul(withdrawFeeFactorMax.sub(withdrawFeeFactor))
            .div(withdrawFeeFactorMax);
        IERC20(wantAddress).safeTransfer(vaultAddress, withdrawFee);
        
        _wantAmt = _wantAmt.sub(withdrawFee);

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

        if (!paused()) {
            // Put it all back in
            _leverage(wantLockedInHere());
        }

        return sharesRemoved;
    }
    
    function _supply(uint256 _amount) internal {
        IAaveStake(aaveDepositAddress).deposit(wantAddress, _amount, address(this), referralCode);
    }
    
    function _removeSupply(uint256 _amount) internal {
        IAaveStake(aaveDepositAddress).withdraw(wantAddress, _amount, address(this));
    }
    
    function _borrow(uint256 _amount) internal {
        IAaveStake(aaveDepositAddress).borrow(wantAddress, _amount, 2, referralCode, address(this));
    }
    
    function _repayBorrow(uint256 _amount) internal {
        IAaveStake(aaveDepositAddress).repay(wantAddress, _amount, 2, address(this));
    }
    
    /**
     * @dev Deposits token, withdraws a percentage, and deposits again
     * We stop at _borrow because we need some tokens to deleverage
     */
    function _leverage(uint256 _amount) internal {
        if (borrowDepth == 0) {
            _supply(_amount);
        } else if (_amount > minLeverage) {
            for (uint256 i = 0; i < borrowDepth; i++) {
                _supply(_amount);
                _amount = _amount.mul(borrowRate).div(BORROW_RATE_DIVISOR);
                _borrow(_amount);
            }
        }
    }
    
    /**
     * @dev Manually wind back one step in case contract gets stuck
     */
    function deleverageOnce() external onlyGov {
        _deleverageOnce();
    }
    
    function _deleverageOnce() internal {
        if (vTokenTotal() <= supplyBalTargeted()) {
            _removeSupply(vTokenTotal().sub(supplyBalMin()));
        } else {
            _removeSupply(vTokenTotal().sub(supplyBalTargeted()));
        }

        _repayBorrow(wantLockedInHere());
    }
    
    /**
     * @dev In Polygon, we can fully deleverage due to absurdly cheap fees
     */
    function _deleverage() internal {
        uint256 wantBal = wantLockedInHere();

        if (borrowDepth > 0) {
            while (wantBal < debtTotal()) {
                _repayBorrow(wantBal);
                _removeSupply(vTokenTotal().sub(supplyBalMin()));
                wantBal = wantLockedInHere();
            }
            
            _repayBorrow(wantBal);
        }
        _removeSupply(uint256(-1));
    }

    function earn() external nonReentrant whenNotPaused onlyGov {
        uint256 preEarn = IERC20(earnedAddress).balanceOf(address(this));

        // Harvest farm tokens
        IAaveStake(aaveClaimAddress).claimRewards(vTokenArray, uint256(-1), address(this));
        
        // Because we keep some tokens in this contract, we have to do this if earned is the same as want
        uint256 earnedAmt = IERC20(earnedAddress).balanceOf(address(this)).sub(preEarn);

        if (earnedAmt > 0) {
            earnedAmt = distributeFees(earnedAmt);
            earnedAmt = distributeRewards(earnedAmt);
            earnedAmt = buyBack(earnedAmt);
            
            if (earnedAddress != wantAddress) {
                _safeSwap(
                    earnedAmt,
                    earnedToWantPath,
                    address(this)
                );
            }
    
            lastEarnBlock = block.number;
    
            _leverage(wantLockedInHere());
        }
    }

    // To pay for earn function
    function distributeFees(uint256 _earnedAmt) internal returns (uint256) {
        if (controllerFee > 0) {
            uint256 fee = _earnedAmt.mul(controllerFee).div(feeMax);
            
            IWETH(wmaticAddress).withdraw(fee);
            safeTransferETH(feeAddress, fee);
            
            _earnedAmt = _earnedAmt.sub(fee);
        }

        return _earnedAmt;
    }

    function distributeRewards(uint256 _earnedAmt) internal returns (uint256) {
        if (rewardRate > 0) {
            uint256 fee = _earnedAmt.mul(rewardRate).div(feeMax);
    
            uint256 usdcBefore = IERC20(usdcAddress).balanceOf(address(this));
            
            _safeSwap(
                fee,
                earnedToUsdcPath,
                address(this)
            );
            
            uint256 usdcAfter = IERC20(usdcAddress).balanceOf(address(this)).sub(usdcBefore);
            
            IStrategyFish(rewardAddress).depositReward(usdcAfter);
            
            _earnedAmt = _earnedAmt.sub(fee);
        }

        return _earnedAmt;
    }

    function buyBack(uint256 _earnedAmt) internal returns (uint256) {
        if (buyBackRate > 0) {
            uint256 buyBackAmt = _earnedAmt.mul(buyBackRate).div(feeMax);
    
            _safeSwap(
                buyBackAmt,
                earnedToFishPath,
                buyBackAddress
            );

            _earnedAmt = _earnedAmt.sub(buyBackAmt);
        }
        
        return _earnedAmt;
    }

    // Emergency!!
    function pause() external onlyGov {
        _pause();
    }

    // False alarm
    function unpause() external onlyGov {
        _unpause();
        _resetAllowances();
    }
    
    function debtTotal() public view returns (uint256) {
        return IERC20(debtTokenAddress).balanceOf(address(this));
    }
    
    function supplyBalTargeted() public view returns (uint256) {
        return debtTotal().mul(BORROW_RATE_DIVISOR).div(borrowRate);
    }
    
    function supplyBalMin() public view returns (uint256) {
        return debtTotal().mul(BORROW_RATE_DIVISOR).div(BORROW_RATE_MAX_HARD);
    }
    
    function vTokenTotal() public view returns (uint256) {
        return IERC20(vTokenAddress).balanceOf(address(this));
    }
    
    function wantLockedInHere() public view returns (uint256) {
        return IERC20(wantAddress).balanceOf(address(this));
    }
    
    function wantLockedTotal() public view returns (uint256) {
        return wantLockedInHere()
            .add(vTokenTotal())
            .sub(debtTotal());
    }

    function _resetAllowances() internal {
        IERC20(wantAddress).safeApprove(aaveDepositAddress, uint256(0));
        IERC20(wantAddress).safeIncreaseAllowance(
            aaveDepositAddress,
            uint256(-1)
        );

        IERC20(earnedAddress).safeApprove(uniRouterAddress, uint256(0));
        IERC20(earnedAddress).safeIncreaseAllowance(
            uniRouterAddress,
            uint256(-1)
        );

        IERC20(usdcAddress).safeApprove(rewardAddress, uint256(0));
        IERC20(usdcAddress).safeIncreaseAllowance(
            rewardAddress,
            uint256(-1)
        );
    }

    function resetAllowances() external onlyGov {
        _resetAllowances();
    }

    function panic() external onlyGov {
        _pause();
        _deleverage();
    }

    function unpanic() external onlyGov {
        _unpause();
        _leverage(wantLockedInHere());
    }
    

    function rebalance(uint256 _borrowRate, uint256 _borrowDepth) external onlyGov {
        require(_borrowRate <= BORROW_RATE_MAX, "!rate");
        require(_borrowRate != 0, "borrowRate is used as a divisor");
        require(_borrowDepth <= BORROW_DEPTH_MAX, "!depth");

        _deleverage();
        borrowRate = _borrowRate;
        borrowDepth = _borrowDepth;
        _leverage(wantLockedInHere());
    }
    
    function setSettings(
        uint256 _controllerFee,
        uint256 _rewardRate,
        uint256 _buyBackRate,
        uint256 _withdrawFeeFactor,
        uint256 _slippageFactor,
        address _uniRouterAddress,
        address _rewardAddress,
        uint16 _referralCode
    ) external onlyGov {
        require(_controllerFee.add(_rewardRate).add(_buyBackRate) <= feeMaxTotal, "Max fee of 10%");
        require(_withdrawFeeFactor >= withdrawFeeFactorLL, "_withdrawFeeFactor too low");
        require(_withdrawFeeFactor <= withdrawFeeFactorMax, "_withdrawFeeFactor too high");
        require(_slippageFactor <= slippageFactorUL, "_slippageFactor too high");
        controllerFee = _controllerFee;
        rewardRate = _rewardRate;
        buyBackRate = _buyBackRate;
        withdrawFeeFactor = _withdrawFeeFactor;
        slippageFactor = _slippageFactor;
        uniRouterAddress = _uniRouterAddress;
        rewardAddress = _rewardAddress;
        referralCode = _referralCode;

        emit SetSettings(
            _controllerFee,
            _rewardRate,
            _buyBackRate,
            _withdrawFeeFactor,
            _slippageFactor,
            _uniRouterAddress,
            _rewardAddress,
            _referralCode
        );
    }

    function setGov(address _govAddress) external onlyGov {
        govAddress = _govAddress;
    }
    
    function _safeSwap(
        uint256 _amountIn,
        address[] memory _path,
        address _to
    ) internal {
        uint256[] memory amounts = IUniRouter02(uniRouterAddress).getAmountsOut(_amountIn, _path);
        uint256 amountOut = amounts[amounts.length.sub(1)];

        IUniRouter02(uniRouterAddress).swapExactTokensForTokens(
            _amountIn,
            amountOut.mul(slippageFactor).div(1000),
            _path,
            _to,
            now.add(600)
        );
    }

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

    // tg @macatkevin
    receive() external payable {}
}

File 2 of 16: Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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 3 of 16: Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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 4 of 16: IAaveStake.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface IAaveStake {
    function depositETH(address lendingPool, address onBehalfOf, uint16 referralCode) external payable;
    
    function withdrawETH(address lendingPool, uint256 amount, address onBehalfOf) external;

    function repayETH(address lendingPool, uint256 amount, uint256 rateMode, address onBehalfOf) external payable;

    function borrowETH(address lendingPool, uint256 amount, uint256 interesRateMode, uint16 referralCode) external;
    
    function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) external payable;
    
    function withdraw(address asset, uint256 amount, address to) external;

    function borrow(address asset, uint256 amount, uint256 interesRateMode, uint16 referralCode, address onBehalfOf) external;

    function repay(address asset, uint256 amount, uint256 rateMode, address onBehalfOf) external payable;
    
    function getUserAccountData(address user) external view returns (uint256, uint256, uint256, uint256, uint256, uint256);
    
    
    function claimRewards(address[] calldata assets, uint256 amount, address to) external returns (uint256);
}

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

pragma solidity ^0.6.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 16: IProtocolDataProvider.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;

interface IProtocolDataProvider {
  struct TokenData {
    string symbol;
    address tokenAddress;
  }

  function getAllReservesTokens() external view returns (TokenData[] memory);
  function getAllATokens() external view returns (TokenData[] memory);
  function getReserveConfigurationData(address asset) external view returns (uint256 decimals, uint256 ltv, uint256 liquidationThreshold, uint256 liquidationBonus, uint256 reserveFactor, bool usageAsCollateralEnabled, bool borrowingEnabled, bool stableBorrowRateEnabled, bool isActive, bool isFrozen);
  function getReserveData(address asset) external view returns (uint256 availableLiquidity, uint256 totalStableDebt, uint256 totalVariableDebt, uint256 liquidityRate, uint256 variableBorrowRate, uint256 stableBorrowRate, uint256 averageStableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex, uint40 lastUpdateTimestamp);
  function getUserReserveData(address asset, address user) external view returns (uint256 currentATokenBalance, uint256 currentStableDebt, uint256 currentVariableDebt, uint256 principalStableDebt, uint256 scaledVariableDebt, uint256 stableBorrowRate, uint256 liquidityRate, uint40 stableRateLastUpdated, bool usageAsCollateralEnabled);
  function getReserveTokensAddresses(address asset) external view returns (address aTokenAddress, address stableDebtTokenAddress, address variableDebtTokenAddress);
}

File 7 of 16: IStrategyFish.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface IStrategyFish {
    function depositReward(uint256 _depositAmt) external returns (bool);
}

File 8 of 16: IUniPair.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface IUniPair {
    function token0() external view returns (address);
    function token1() external view returns (address);
}

File 9 of 16: IUniRouter01.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

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

    function WETH() external pure returns (address);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure 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);
}

File 10 of 16: IUniRouter02.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import "./IUniRouter01.sol";

interface IUniRouter02 is IUniRouter01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

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

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

File 11 of 16: IWETH.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0;

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

File 12 of 16: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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.
 */
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 13 of 16: Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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.
 */
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 14 of 16: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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].
 */
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 15 of 16: SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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 16 of 16: SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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":"_vaultChefAddress","type":"address"},{"internalType":"uint256","name":"_minLeverage","type":"uint256"},{"internalType":"address","name":"_wantAddress","type":"address"},{"internalType":"address","name":"_vTokenAddress","type":"address"},{"internalType":"address","name":"_debtTokenAddress","type":"address"},{"internalType":"address","name":"_earnedAddress","type":"address"},{"internalType":"address[]","name":"_earnedToUsdcPath","type":"address[]"},{"internalType":"address[]","name":"_earnedToFishPath","type":"address[]"},{"internalType":"address[]","name":"_earnedToWantPath","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":"uint256","name":"_controllerFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_rewardRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_buyBackRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_withdrawFeeFactor","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_slippageFactor","type":"uint256"},{"indexed":false,"internalType":"address","name":"_uniRouterAddress","type":"address"},{"indexed":false,"internalType":"address","name":"_rewardAddress","type":"address"},{"indexed":false,"internalType":"uint16","name":"_referralCode","type":"uint16"}],"name":"SetSettings","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BORROW_DEPTH_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BORROW_RATE_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BORROW_RATE_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BORROW_RATE_MAX_HARD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"aaveClaimAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"aaveDataAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"aaveDepositAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"borrowDepth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"borrowRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"controllerFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"debtTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"debtTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleverageOnce","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":[],"name":"earn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"earnedAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"earnedToFishPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"earnedToUsdcPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"earnedToWantPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeMaxTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fishAddress","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":"lastEarnBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minLeverage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"panic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_borrowRate","type":"uint256"},{"internalType":"uint256","name":"_borrowDepth","type":"uint256"}],"name":"rebalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"referralCode","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetAllowances","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_govAddress","type":"address"}],"name":"setGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_controllerFee","type":"uint256"},{"internalType":"uint256","name":"_rewardRate","type":"uint256"},{"internalType":"uint256","name":"_buyBackRate","type":"uint256"},{"internalType":"uint256","name":"_withdrawFeeFactor","type":"uint256"},{"internalType":"uint256","name":"_slippageFactor","type":"uint256"},{"internalType":"address","name":"_uniRouterAddress","type":"address"},{"internalType":"address","name":"_rewardAddress","type":"address"},{"internalType":"uint16","name":"_referralCode","type":"uint16"}],"name":"setSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sharesTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slippageFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slippageFactorUL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supplyBalMin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supplyBalTargeted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"unpanic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdcAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"vTokenArray","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vTokenTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vaultAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vaultChefAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wantAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wantLockedInHere","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"inputs":[],"name":"withdrawFeeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFeeFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFeeFactorLL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFeeFactorMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wmaticAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526005805461ffff60a01b19169055600680546001600160a01b031990811673a5e0829caced8ffdd4de3c43696c57f7d7a678ff1782556007805490911673917fb15e8aaa12264dcbdc15afef7cd3ce76ba3917905543600a556000600b8190556032600c55600d556101c2600e55612710600f556103b660105560125560086016553480156200009357600080fd5b506040516200437d3803806200437d8339818101604052610120811015620000ba57600080fd5b815160208301516040808501516060860151608087015160a088015160c089018051955197999698949793969295919483019291846401000000008211156200010257600080fd5b9083019060208201858111156200011857600080fd5b82518660208202830111640100000000821117156200013657600080fd5b82525081516020918201928201910280838360005b83811015620001655781810151838201526020016200014b565b50505050905001604052602001805160405193929190846401000000008211156200018f57600080fd5b908301906020820185811115620001a557600080fd5b8251866020820283011164010000000082111715620001c357600080fd5b82525081516020918201928201910280838360005b83811015620001f2578181015183820152602001620001d8565b50505050905001604052602001805160405193929190846401000000008211156200021c57600080fd5b9083019060208201858111156200023257600080fd5b82518660208202830111640100000000821117156200025057600080fd5b82525081516020918201928201910280838360005b838110156200027f57818101518382015260200162000265565b5050505090500160405250505060006200029e6200058960201b60201c565b600080546001600160a01b0319166001600160a01b038316908117825560405192935091600080516020620042fd833981519152908290a35060018080556002805460098054336001600160a01b0319918216179091556008805482166001600160a01b038f81169190911790915560138d90556001600160a81b03199092166101008c8416021790925560038054909216898216179182905560408051602081019091529116815262000356916017919062000e44565b50600480546001600160a01b038088166001600160a01b031992831617909255600580549287169290911691909117905582516200039c90601890602086019062000e44565b508151620003b290601990602085019062000e44565b508051620003c890601a90602084019062000e44565b5060025460408051633e15014160e01b81526101009092046001600160a01b0316600483015251600091829182918291737551b5d2763519d4e37e8b81929d336de671d46d91633e15014191602480830192610140929190829003018186803b1580156200043557600080fd5b505afa1580156200044a573d6000803e3d6000fd5b505050506040513d6101408110156200046257600080fd5b50602080820151604083015160a084015160c0909401519197509550919350909150620004b990606490620004a590879060639062001e1d6200058d821b17901c565b620005f460201b62001e7f1790919060201c565b601455620004dd6103e8620004a5866103e76200058d602090811b62001e1d17901c565b60155560145462000502600a620004a58660096200058d602090811b62001e1d17901c565b111562000515576014546011556200053a565b62000536600a620004a56009866200058d60201b62001e1d1790919060201c565b6011555b818015620005455750805b6200055557600060128190556016555b6008546200056c906001600160a01b03166200063e565b620005766200073c565b5050505050505050505050505062000ecf565b3390565b6000826200059e57506000620005ee565b82820282848281620005ac57fe5b0414620005eb5760405162461bcd60e51b8152600401808060200182810382526021815260200180620042dc6021913960400191505060405180910390fd5b90505b92915050565b6000620005eb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506200088d60201b60201c565b6200064862000589565b6000546001600160a01b03908116911614620006ab576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116620006f25760405162461bcd60e51b8152600401808060200182810382526026815260200180620042b66026913960400191505060405180910390fd5b600080546040516001600160a01b0380851693921691600080516020620042fd83398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6002546200077b9061010090046001600160a01b0316738dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf600062000934602090811b62001ec117901c565b600254620007bb9061010090046001600160a01b0316738dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf60001962000a58602090811b62001fd917901c565b600654600554620007e7916001600160a01b039182169116600062000934602090811b62001ec117901c565b60065460055462000814916001600160a01b03918216911660001962000a58602090811b62001fd917901c565b6007546200084f90732791bca1f2de4661ed88a30c99a7a9449aa84174906001600160a01b0316600062000934602090811b62001ec117901c565b6007546200088b90732791bca1f2de4661ed88a30c99a7a9449aa84174906001600160a01b031660001962000a58602090811b62001fd917901c565b565b600081836200091d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620008e1578181015183820152602001620008c7565b50505050905090810190601f1680156200090f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816200092a57fe5b0495945050505050565b801580620009be575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156200098e57600080fd5b505afa158015620009a3573d6000803e3d6000fd5b505050506040513d6020811015620009ba57600080fd5b5051155b620009fb5760405162461bcd60e51b8152600401808060200182810382526036815260200180620043476036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b1790915262000a5391859162000b6116565b505050565b600062000aff82856001600160a01b031663dd62ed3e30876040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b031681526020019250505060206040518083038186803b15801562000abe57600080fd5b505afa15801562000ad3573d6000803e3d6000fd5b505050506040513d602081101562000aea57600080fd5b50519062000c1d602090811b620020ca17901c565b604080516001600160a01b038616602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b1790915291925062000b5b9186919062000b6116565b50505050565b606062000bbd826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031662000c7860201b62002124179092919060201c565b80519091501562000a535780806020019051602081101562000bde57600080fd5b505162000a535760405162461bcd60e51b815260040180806020018281038252602a8152602001806200431d602a913960400191505060405180910390fd5b600082820183811015620005eb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b606062000c89848460008562000c91565b949350505050565b606062000c9e8562000e0a565b62000cf0576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831062000d315780518252601f19909201916020918201910162000d10565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462000d95576040519150601f19603f3d011682016040523d82523d6000602084013e62000d9a565b606091505b5091509150811562000db057915062000c899050565b80511562000dc15780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315620008e1578181015183820152602001620008c7565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159062000c89575050151592915050565b82805482825590600052602060002090810192821562000e9c579160200282015b8281111562000e9c57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000e65565b5062000eaa92915062000eae565b5090565b5b8082111562000eaa5780546001600160a01b031916815560010162000eaf565b6133d78062000edf6000396000f3fe6080604052600436106103c75760003560e01c80637c3f1e8c116101f2578063b74cd2421161010d578063e6384d95116100a0578063f2fde38b1161006f578063f2fde38b14610a08578063f3fef3a314610a3b578063ffbd3b1f14610a74578063ffbe9f1e14610672576103ce565b8063e6384d9514610672578063e7198474146109c9578063e7a03679146109de578063e7e7e387146109f3576103ce565b8063d8b6d252116100dc578063d8b6d252146108f1578063db4b7eee1461091d578063de294ca714610932578063df8879b814610999576103ce565b8063b74cd2421461087f578063c914b43714610894578063cfad57a2146108a9578063d389800f146108dc576103ce565b80638fefda06116101855780639872317f116101545780639872317f1461082b5780639e6b2ded14610840578063a430204414610855578063b4896ecc1461086a576103ce565b80638fefda06146107d7578063933a9e63146107ec57806393790113146108015780639768431714610816576103ce565b8063866b2018116101c1578063866b20181461076e5780638811dad0146107835780638cf57cb9146107ad5780638da5cb5b146107c2576103ce565b80637c3f1e8c146107055780637c44477e1461071a5780638456cb591461074457806385f02dd614610759576103ce565b806344a3955e116102e257806365a5e30b11610275578063715018a611610244578063715018a6146106b1578063783478ad146106c6578063784def8c146106db5780637b0a47ee146106f0576103ce565b806365a5e30b1461065d57806367057b6c1461067257806368f5416214610687578063693a090b1461069c576103ce565b806349281683116102b157806349281683146105e05780634f7405261461060a5780635c975abb1461061f578063624e260f14610648576103ce565b806344a3955e1461056857806346008a071461057d5780634700d3051461059257806347e7ef24146105a7576103ce565b80633505b09f1161035a57806341275358116103295780634127535814610514578063424ef45a1461052957806342da4eb31461053e578063430bf08a14610553576103ce565b80633505b09f146104a957806338946a8c146104c05780633ec80dcd146104ea5780633f4ba83a146104ff576103ce565b806320f6f76f1161039657806320f6f76f1461045557806325d8a5301461046a5780632792bd571461047f5780633220d73214610494576103ce565b806302d45457146103d35780630fa4e01e1461040457806314b5f8d11461042b578063178a8d0714610440576103ce565b366103ce57005b600080fd5b3480156103df57600080fd5b506103e8610a89565b604080516001600160a01b039092168252519081900360200190f35b34801561041057600080fd5b50610419610aa1565b60408051918252519081900360200190f35b34801561043757600080fd5b50610419610aa7565b34801561044c57600080fd5b50610419610ace565b34801561046157600080fd5b50610419610ad4565b34801561047657600080fd5b506103e8610ada565b34801561048b57600080fd5b506103e8610af2565b3480156104a057600080fd5b506103e8610b01565b3480156104b557600080fd5b506104be610b10565b005b3480156104cc57600080fd5b506103e8600480360360208110156104e357600080fd5b5035610b62565b3480156104f657600080fd5b50610419610b89565b34801561050b57600080fd5b506104be610c05565b34801561052057600080fd5b506103e8610c55565b34801561053557600080fd5b506103e8610c6d565b34801561054a57600080fd5b50610419610c85565b34801561055f57600080fd5b506103e8610cb1565b34801561057457600080fd5b50610419610cc9565b34801561058957600080fd5b506103e8610ccf565b34801561059e57600080fd5b506104be610cde565b3480156105b357600080fd5b50610419600480360360408110156105ca57600080fd5b506001600160a01b038135169060200135610d36565b3480156105ec57600080fd5b506103e86004803603602081101561060357600080fd5b5035610eb0565b34801561061657600080fd5b506103e8610ebd565b34801561062b57600080fd5b50610634610ed5565b604080519115158252519081900360200190f35b34801561065457600080fd5b50610419610ede565b34801561066957600080fd5b506104be610ee4565b34801561067e57600080fd5b50610419610f44565b34801561069357600080fd5b50610419610f4a565b3480156106a857600080fd5b506103e8610f50565b3480156106bd57600080fd5b506104be610f5f565b3480156106d257600080fd5b506103e8611001565b3480156106e757600080fd5b506103e8611007565b3480156106fc57600080fd5b5061041961101f565b34801561071157600080fd5b506104be611025565b34801561072657600080fd5b506103e86004803603602081101561073d57600080fd5b5035611075565b34801561075057600080fd5b506104be611082565b34801561076557600080fd5b506104196110d2565b34801561077a57600080fd5b506104196110d8565b34801561078f57600080fd5b506103e8600480360360208110156107a657600080fd5b50356110de565b3480156107b957600080fd5b506103e86110eb565b3480156107ce57600080fd5b506103e86110fa565b3480156107e357600080fd5b50610419611109565b3480156107f857600080fd5b506103e861110f565b34801561080d57600080fd5b5061041961111e565b34801561082257600080fd5b5061041961116e565b34801561083757600080fd5b506103e8611174565b34801561084c57600080fd5b5061041961118c565b34801561086157600080fd5b50610419611192565b34801561087657600080fd5b506104196111a8565b34801561088b57600080fd5b506104196111ae565b3480156108a057600080fd5b506104196111b4565b3480156108b557600080fd5b506104be600480360360208110156108cc57600080fd5b50356001600160a01b03166111ba565b3480156108e857600080fd5b506104be611224565b3480156108fd57600080fd5b506109066115b8565b6040805161ffff9092168252519081900360200190f35b34801561092957600080fd5b506103e86115c9565b34801561093e57600080fd5b506104be600480360361010081101561095657600080fd5b5080359060208101359060408101359060608101359060808101359060a08101356001600160a01b039081169160c08101359091169060e0013561ffff166115e1565b3480156109a557600080fd5b506104be600480360360408110156109bc57600080fd5b508035906020013561185a565b3480156109d557600080fd5b506103e8611994565b3480156109ea57600080fd5b506103e86119a3565b3480156109ff57600080fd5b506104196119b7565b348015610a1457600080fd5b506104be60048036036020811015610a2b57600080fd5b50356001600160a01b0316611a06565b348015610a4757600080fd5b5061041960048036036040811015610a5e57600080fd5b506001600160a01b038135169060200135611afe565b348015610a8057600080fd5b50610419611e17565b732791bca1f2de4661ed88a30c99a7a9449aa8417481565b600a5481565b6000610ac9601554610ac3612710610abd6119b7565b90611e1d565b90611e7f565b905090565b600e5481565b60135481565b73357d51124f59836ded84c8a1730d72b749d8bc2381565b6003546001600160a01b031681565b6008546001600160a01b031681565b6009546001600160a01b03163314610b58576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b610b6061213b565b565b601a8181548110610b6f57fe5b6000918252602090912001546001600160a01b0316905081565b600354604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610bd457600080fd5b505afa158015610be8573d6000803e3d6000fd5b505050506040513d6020811015610bfe57600080fd5b5051905090565b6009546001600160a01b03163314610c4d576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b610b58612236565b731cb757f1eb92f25a917ce9a92ed88c1ac073433481565b737551b5d2763519d4e37e8b81929d336de671d46d81565b6000610ac9610c926119b7565b610cab610c9d610b89565b610ca561111e565b906120ca565b906122d4565b734879712c5d1a98c0b88fb700daff5c65d12fd72981565b600b5481565b6009546001600160a01b031681565b6009546001600160a01b03163314610d26576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b610d2e612316565b610b60612397565b6000610d40612406565b6000546001600160a01b03908116911614610d90576040805162461bcd60e51b81526020600482018190526024820152600080516020613322833981519152604482015290519081900360640190fd5b60026001541415610de8576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260018190555460ff1615610e38576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000610e42610c85565b600254909150610e629061010090046001600160a01b031633308661240a565b6000610e6d84612464565b600b5490915015610e9457610e9182610ac3600b5484611e1d90919063ffffffff16565b90505b600b54610ea190826120ca565b600b5560018055949350505050565b60188181548110610b6f57fe5b738dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf81565b60025460ff1690565b60145481565b6009546001600160a01b03163314610f2c576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b610f34612236565b610b60610f3f61111e565b6124af565b61271081565b600f5481565b6006546001600160a01b031681565b610f67612406565b6000546001600160a01b03908116911614610fb7576040805162461bcd60e51b81526020600482018190526024820152600080516020613322833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61dead81565b7347231b2ecb18b7724560a78cd7191b121f53fabc81565b600d5481565b6009546001600160a01b0316331461106d576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b610b60612512565b60178181548110610b6f57fe5b6009546001600160a01b031633146110ca576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b610b60612316565b600c5481565b6126ac81565b60198181548110610b6f57fe5b6007546001600160a01b031681565b6000546001600160a01b031690565b6103e881565b6004546001600160a01b031681565b600254604080516370a0823160e01b8152306004820152905160009261010090046001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610bd457600080fd5b60125481565b733a3df212b7aa91aa0402b9035b098891d276572b81565b60155481565b6000610ac9601154610ac3612710610abd6119b7565b60165481565b6103e381565b60115481565b6009546001600160a01b03163314611202576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6002600154141561127c576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260018190555460ff16156112cc576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6009546001600160a01b03163314611314576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b600554604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561135f57600080fd5b505afa158015611373573d6000803e3d6000fd5b505050506040513d602081101561138957600080fd5b5051604051633111e7b360e01b8152600019602482018190523060448301819052606060048401908152601780546064860181905295965073357d51124f59836ded84c8a1730d72b749d8bc2395633111e7b395919493929182916084909101908690801561142157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611403575b5050945050505050602060405180830381600087803b15801561144357600080fd5b505af1158015611457573d6000803e3d6000fd5b505050506040513d602081101561146d57600080fd5b5050600554604080516370a0823160e01b815230600482015290516000926114f59285926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156114c357600080fd5b505afa1580156114d7573d6000803e3d6000fd5b505050506040513d60208110156114ed57600080fd5b5051906122d4565b905080156115b05761150681612558565b905061151181612624565b905061151c8161282d565b60025460055491925061010090046001600160a01b039081169116146115a1576115a181601a80548060200260200160405190810160405280929190818152602001828054801561159657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611578575b5050505050306128ba565b43600a556115b0610f3f61111e565b505060018055565b600554600160a01b900461ffff1681565b730d500b1d8e8ef31e21c99d1db9a6444d3adf127081565b6009546001600160a01b03163314611629576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b6103e861163a87610ca58b8b6120ca565b111561167e576040805162461bcd60e51b815260206004820152600e60248201526d4d617820666565206f662031302560901b604482015290519081900360640190fd5b6126ac8510156116d5576040805162461bcd60e51b815260206004820152601a60248201527f5f7769746864726177466565466163746f7220746f6f206c6f77000000000000604482015290519081900360640190fd5b61271085111561172c576040805162461bcd60e51b815260206004820152601b60248201527f5f7769746864726177466565466163746f7220746f6f20686967680000000000604482015290519081900360640190fd5b6103e3841115611783576040805162461bcd60e51b815260206004820152601860248201527f5f736c697070616765466163746f7220746f6f20686967680000000000000000604482015290519081900360640190fd5b600c889055600d879055600e869055600f8590556010849055600680546001600160a01b038086166001600160a01b03199283168117909355600780549186169190921681179091556005805461ffff8516600160a01b810261ffff60a01b1990921691909117909155604080518c8152602081018c90528082018b9052606081018a90526080810189905260a081019490945260c084019290925260e0830152517f84af26b24b8c7c70678de6e024602835c121997f99b6cd2b8dacca4674af60f4918190036101000190a15050505050505050565b6009546001600160a01b031633146118a2576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b6014548211156118e1576040805162461bcd60e51b8152602060048201526005602482015264217261746560d81b604482015290519081900360640190fd5b81611933576040805162461bcd60e51b815260206004820152601f60248201527f626f72726f7752617465206973207573656420617320612064697669736f7200604482015290519081900360640190fd5b601654811115611973576040805162461bcd60e51b8152602060048201526006602482015265042c8cae0e8d60d31b604482015290519081900360640190fd5b61197b612397565b60118290556012819055611990610f3f61111e565b5050565b6005546001600160a01b031681565b60025461010090046001600160a01b031681565b60048054604080516370a0823160e01b81523093810193909352516000926001600160a01b03909216916370a08231916024808301926020929190829003018186803b158015610bd457600080fd5b611a0e612406565b6000546001600160a01b03908116911614611a5e576040805162461bcd60e51b81526020600482018190526024820152600080516020613322833981519152604482015290519081900360640190fd5b6001600160a01b038116611aa35760405162461bcd60e51b81526004018080602001828103825260268152602001806132a76026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000611b08612406565b6000546001600160a01b03908116911614611b58576040805162461bcd60e51b81526020600482018190526024820152600080516020613322833981519152604482015290519081900360640190fd5b60026001541415611bb0576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260015581611bf7576040805162461bcd60e51b815260206004820152600d60248201526c05f77616e74416d74206973203609c1b604482015290519081900360640190fd5b600254604080516370a0823160e01b8152306004820152905160009261010090046001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611c4757600080fd5b505afa158015611c5b573d6000803e3d6000fd5b505050506040513d6020811015611c7157600080fd5b5051905080831115611d0357611c85612397565b600254604080516370a0823160e01b815230600482015290516101009092046001600160a01b0316916370a0823191602480820192602092909190829003018186803b158015611cd457600080fd5b505afa158015611ce8573d6000803e3d6000fd5b505050506040513d6020811015611cfe57600080fd5b505190505b80831115611d0f578092505b611d17610c85565b831115611d2957611d26610c85565b92505b6000611d44611d36610c85565b600b54610ac3908790611e1d565b9050600b54811115611d555750600b545b600b54611d6290826122d4565b600b819055506000611d91612710610ac3611d8a600f546127106122d490919063ffffffff16565b8890611e1d565b600254909150611dc49061010090046001600160a01b0316734879712c5d1a98c0b88fb700daff5c65d12fd72983612bf8565b611dce85826122d4565b600854600254919650611df39161010090046001600160a01b03908116911687612bf8565b611dfb610ed5565b611e0a57611e0a610f3f61111e565b5060018055949350505050565b60105481565b600082611e2c57506000611e79565b82820282848281611e3957fe5b0414611e765760405162461bcd60e51b81526004018080602001828103825260218152602001806133016021913960400191505060405180910390fd5b90505b92915050565b6000611e7683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612c4a565b801580611f47575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611f1957600080fd5b505afa158015611f2d573d6000803e3d6000fd5b505050506040513d6020811015611f4357600080fd5b5051155b611f825760405162461bcd60e51b815260040180806020018281038252603681526020018061336c6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611fd4908490612cec565b505050565b600061206f82856001600160a01b031663dd62ed3e30876040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b031681526020019250505060206040518083038186803b15801561203d57600080fd5b505afa158015612051573d6000803e3d6000fd5b505050506040513d602081101561206757600080fd5b5051906120ca565b604080516001600160a01b038616602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790529091506120c4908590612cec565b50505050565b600082820183811015611e76576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60606121338484600085612d9d565b949350505050565b60025461216c9061010090046001600160a01b0316738dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf6000611ec1565b60025461219e9061010090046001600160a01b0316738dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf600019611fd9565b6006546005546121bc916001600160a01b0391821691166000611ec1565b6006546005546121db916001600160a01b039182169116600019611fd9565b60075461220890732791bca1f2de4661ed88a30c99a7a9449aa84174906001600160a01b03166000611ec1565b600754610b6090732791bca1f2de4661ed88a30c99a7a9449aa84174906001600160a01b0316600019611fd9565b60025460ff16612284576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6122b7612406565b604080516001600160a01b039092168252519081900360200190a1565b6000611e7683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612f0a565b60025460ff1615612361576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586122b7612406565b60006123a161111e565b601254909150156123f8575b6123b56119b7565b8110156123ef576123c581612f64565b6123e06123db6123d3610aa7565b610cab610b89565b612ff8565b6123e861111e565b90506123ad565b6123f881612f64565b612403600019612ff8565b50565b3390565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526120c4908590612cec565b60008061246f61111e565b9050806124805760009150506124aa565b600061248e84610cab610c85565b9050612499826124af565b6124a581610cab610c85565b925050505b919050565b6012546124c4576124bf81613067565b612403565b6013548111156124035760005b601254811015611990576124e482613067565b6124ff612710610ac360115485611e1d90919063ffffffff16565b915061250a826130ed565b6001016124d1565b61251a611192565b612522610b89565b1161253a576125356123db6123d3610aa7565b612548565b6125486123db6123d3611192565b610b6061255361111e565b612f64565b600c5460009015612620576000612580612710610ac3600c5486611e1d90919063ffffffff16565b9050730d500b1d8e8ef31e21c99d1db9a6444d3adf12706001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156125dc57600080fd5b505af11580156125f0573d6000803e3d6000fd5b50505050612612731cb757f1eb92f25a917ce9a92ed88c1ac07343348261317a565b61261c83826122d4565b9250505b5090565b600d546000901561262057600061264c612710610ac3600d5486611e1d90919063ffffffff16565b604080516370a0823160e01b81523060048201529051919250600091732791bca1f2de4661ed88a30c99a7a9449aa84174916370a08231916024808301926020929190829003018186803b1580156126a357600080fd5b505afa1580156126b7573d6000803e3d6000fd5b505050506040513d60208110156126cd57600080fd5b5051601880546040805160208381028201810190925282815293945061273593869390929091830182828015611596576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311611578575050505050306128ba565b600061279c82732791bca1f2de4661ed88a30c99a7a9449aa841746001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156114c357600080fd5b60075460408051631e2720ff60e01b81526004810184905290519293506001600160a01b0390911691631e2720ff916024808201926020929091908290030181600087803b1580156127ed57600080fd5b505af1158015612801573d6000803e3d6000fd5b505050506040513d602081101561281757600080fd5b50612824905085846122d4565b95945050505050565b600e5460009015612620576000612855612710610ac3600e5486611e1d90919063ffffffff16565b90506126128160198054806020026020016040519081016040528092919081815260200182805480156128b157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612893575b505050505061dead5b6006546040805163d06ca61f60e01b815260048101868152602482019283528551604483015285516060946001600160a01b03169363d06ca61f9389938993909291606401906020808601910280838360005b8381101561292557818101518382015260200161290d565b50505050905001935050505060006040518083038186803b15801561294957600080fd5b505afa15801561295d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561298657600080fd5b81019080805160405193929190846401000000008211156129a657600080fd5b9083019060208201858111156129bb57600080fd5b82518660208202830111640100000000821117156129d857600080fd5b82525081516020918201928201910280838360005b83811015612a055781810151838201526020016129ed565b505050509050016040525050509050600081612a2c600184516122d490919063ffffffff16565b81518110612a3657fe5b60200260200101519050600660009054906101000a90046001600160a01b03166001600160a01b03166338ed173986612a806103e8610ac360105487611e1d90919063ffffffff16565b8787612a8e426102586120ca565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015612afe578181015183820152602001612ae6565b505050509050019650505050505050600060405180830381600087803b158015612b2757600080fd5b505af1158015612b3b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612b6457600080fd5b8101908080516040519392919084640100000000821115612b8457600080fd5b908301906020820185811115612b9957600080fd5b8251866020820283011164010000000082111715612bb657600080fd5b82525081516020918201928201910280838360005b83811015612be3578181015183820152602001612bcb565b50505050905001604052505050505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611fd4908490612cec565b60008183612cd65760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612c9b578181015183820152602001612c83565b50505050905090810190601f168015612cc85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612ce257fe5b0495945050505050565b6060612d41826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166121249092919063ffffffff16565b805190915015611fd457808060200190516020811015612d6057600080fd5b5051611fd45760405162461bcd60e51b815260040180806020018281038252602a815260200180613342602a913960400191505060405180910390fd5b6060612da88561326d565b612df9576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612e385780518252601f199092019160209182019101612e19565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612e9a576040519150601f19603f3d011682016040523d82523d6000602084013e612e9f565b606091505b50915091508115612eb35791506121339050565b805115612ec35780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612c9b578181015183820152602001612c83565b60008184841115612f5c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612c9b578181015183820152602001612c83565b505050900390565b600280546040805163573ade8160e01b81526101009092046001600160a01b031660048301526024820184905260448201929092523060648201529051738dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf9163573ade8191608480830192600092919082900301818387803b158015612fdd57600080fd5b505af1158015612ff1573d6000803e3d6000fd5b5050505050565b60025460408051631a4ca37b60e21b81526101009092046001600160a01b031660048301526024820183905230604483015251738dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf916369328dec91606480830192600092919082900301818387803b158015612fdd57600080fd5b6002546005546040805163e8eda9df60e01b81526101009093046001600160a01b031660048401526024830184905230604484015261ffff600160a01b90920491909116606483015251738dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf9163e8eda9df91608480830192600092919082900301818387803b158015612fdd57600080fd5b600280546005546040805163a415bcad60e01b81526101009093046001600160a01b0316600484015260248301859052604483019390935261ffff600160a01b9091041660648201523060848201529051738dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf9163a415bcad9160a480830192600092919082900301818387803b158015612fdd57600080fd5b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b602083106131c65780518252601f1990920191602091820191016131a7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613228576040519150601f19603f3d011682016040523d82523d6000602084013e61322d565b606091505b5050905080611fd45760405162461bcd60e51b81526004018080602001828103825260348152602001806132cd6034913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906124a557505015159291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122011f5df09718e63ff0d6093a68d0c3370719fc09dc0e3bc04cd72a5a11ec9d9a664736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f778be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000bda1f897e851c7ef22cd490d2cf2dace4645a9040000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000008f3cf7ad23cd3cadbd9735aff958023239c6a06300000000000000000000000027f8d03b3a2196956ed754badc28d73be8830a6e00000000000000000000000075c4d1fb84429023170086f06e682dcbbf537b7d0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf12700000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf12700000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa8417400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf12700000000000000000000000003a3df212b7aa91aa0402b9035b098891d276572b00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf12700000000000000000000000008f3cf7ad23cd3cadbd9735aff958023239c6a063

Deployed ByteCode Sourcemap

338:16545:15:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1091:80;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1091:80:15;;;;;;;;;;;;;;1676:43;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;12834:140;;;;;;;;;;;;;:::i;1925:32::-;;;;;;;;;;;;;:::i;2864:26::-;;;;;;;;;;;;;:::i;652:85::-;;;;;;;;;;;;;:::i;775:28::-;;;;;;;;;;;;;:::i;1607:31::-;;;;;;;;;;;;;:::i;14035:79::-;;;;;;;;;;;;;:::i;:::-;;3184:33;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3184:33:15;;:::i;12984:123::-;;;;;;;;;;;;;:::i;12454:91::-;;;;;;;;;;;;;:::i;1429:79::-;;;;;;;;;;;;;:::i;469:84::-;;;;;;;;;;;;;:::i;13253:161::-;;;;;;;;;;;;;:::i;1342:81::-;;;;;;;;;;;;;:::i;1725:30::-;;;;;;;;;;;;;:::i;1644:25::-;;;;;;;;;;;;;:::i;14120:82::-;;;;;;;;;;;;;:::i;5232:696::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5232:696:15;;;;;;;;:::i;3106:33::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3106:33:15;;:::i;559:87::-;;;;;;;;;;;;;:::i;1073:78:11:-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2896:30:15;;;;;;;;;;;;;:::i;14208:102::-;;;;;;;;;;;;;:::i;2133:52::-;;;;;;;;;;;;;:::i;2068:40::-;;;;;;;;;;;;;:::i;921:76::-;;;;;;;;;;;;;:::i;1737:148:10:-;;;;;;;;;;;;;:::i;1762:83:15:-;;;;;;;;;;;;;:::i;1514:87::-;;;;;;;;;;;;;:::i;1890:29::-;;;;;;;;;;;;;:::i;8933:77::-;;;;;;;;;;;;;:::i;3072:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3072:28:15;;:::i;12370:59::-;;;;;;;;;;;;;:::i;1851:33::-;;;;;;;;;;;;;:::i;2191:50::-;;;;;;;;;;;;;:::i;3145:33::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3145:33:15;;:::i;1263:73::-;;;;;;;;;;;;;:::i;1095:79:10:-;;;;;;;;;;;;;:::i;1963:42:15:-;;;;;;;;;;;;;:::i;809:31::-;;;;;;;;;;;;;:::i;13117:126::-;;;;;;;;;;;;;:::i;2828:30::-;;;;;;;;;;;;;:::i;1177:80::-;;;;;;;;;;;;;:::i;2932:35::-;;;;;;;;;;;;;:::i;12689:135::-;;;;;;;;;;;;;:::i;2973:35::-;;;;;;;;;;;;;:::i;2322:46::-;;;;;;;;;;;;;:::i;2797:25::-;;;;;;;;;;;;;:::i;16005:95::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16005:95:15;-1:-1:-1;;;;;16005:95:15;;:::i;9841:977::-;;;;;;;;;;;;;:::i;880:30::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1003:82;;;;;;;;;;;;;:::i;14739:1260::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14739:1260:15;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14739:1260:15;;;;;;;;;;;;;;;;;;:::i;14321:408::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14321:408:15;;;;;;;:::i;846:28::-;;;;;;;;;;;;;:::i;743:26::-;;;;;;;;;;;;;:::i;12555:124::-;;;;;;;;;;;;;:::i;2040:244:10:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2040:244:10;-1:-1:-1;;;;;2040:244:10;;:::i;6309:1360:15:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6309:1360:15;;;;;;;;:::i;2248:35::-;;;;;;;;;;;;;:::i;1091:80::-;1129:42;1091:80;:::o;1676:43::-;;;;:::o;12834:140::-;12879:7;12905:62;12946:20;;12905:36;3060:5;12905:11;:9;:11::i;:::-;:15;;:36::i;:::-;:40;;:62::i;:::-;12898:69;;12834:140;:::o;1925:32::-;;;;:::o;2864:26::-;;;;:::o;652:85::-;695:42;652:85;:::o;775:28::-;;;-1:-1:-1;;;;;775:28:15;;:::o;1607:31::-;;;-1:-1:-1;;;;;1607:31:15;;:::o;14035:79::-;5185:10;;-1:-1:-1;;;;;5185:10:15;5171;:24;5163:41;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;14089:18:::1;:16;:18::i;:::-;14035:79::o:0;3184:33::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3184:33:15;;-1:-1:-1;3184:33:15;:::o;12984:123::-;13061:13;;13054:46;;;-1:-1:-1;;;13054:46:15;;13094:4;13054:46;;;;;;13028:7;;-1:-1:-1;;;;;13061:13:15;;13054:31;;:46;;;;;;;;;;;;;;13061:13;13054:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13054:46:15;;-1:-1:-1;12984:123:15;:::o;12454:91::-;5185:10;;-1:-1:-1;;;;;5185:10:15;5171;:24;5163:41;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;12500:10:::1;:8;:10::i;1429:79::-:0;1466:42;1429:79;:::o;469:84::-;511:42;469:84;:::o;13253:161::-;13301:7;13327:80;13395:11;:9;:11::i;:::-;13327:50;13363:13;:11;:13::i;:::-;13327:18;:16;:18::i;:::-;:35;;:50::i;:::-;:67;;:80::i;1342:81::-;1381:42;1342:81;:::o;1725:30::-;;;;:::o;1644:25::-;;;-1:-1:-1;;;;;1644:25:15;;:::o;14120:82::-;5185:10;;-1:-1:-1;;;;;5185:10:15;5171;:24;5163:41;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;14164:8:::1;:6;:8::i;:::-;14182:13;:11;:13::i;5232:696::-:0;5344:7;1317:12:10;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:10;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:10;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:10;;;;;;;;;;;;;;;1704:1:12::1;2310:7;;:19;;2302:63;;;::::0;;-1:-1:-1;;;2302:63:12;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;1704:1;2443:7;:18:::0;;;1391:7:11;::::2;;1390:8;1382:37;;;::::0;;-1:-1:-1;;;1382:37:11;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;1382:37:11;;;;;;;;;;;;;::::2;;5407:24:15::3;5434:17;:15;:17::i;:::-;5469:11;::::0;5407:44;;-1:-1:-1;5462:128:15::3;::::0;5469:11:::3;::::0;::::3;-1:-1:-1::0;;;;;5469:11:15::3;5520:10;5553:4;5572:8:::0;5462:36:::3;:128::i;:::-;5684:19;5706:15;5712:8;5706:5;:15::i;:::-;5735:11;::::0;5684:37;;-1:-1:-1;5735:15:15;5731:110:::3;;5780:50;5813:16;5780:28;5796:11;;5780;:15;;:28;;;;:::i;:50::-;5766:64;;5731:110;5864:11;::::0;:28:::3;::::0;5880:11;5864:15:::3;:28::i;:::-;5850:11;:42:::0;1660:1:12::1;2622:22:::0;;5910:11:15;5232:696;-1:-1:-1;;;;5232:696:15:o;3106:33::-;;;;;;;;;;559:87;604:42;559:87;:::o;1073:78:11:-;1136:7;;;;1073:78;:::o;2896:30:15:-;;;;:::o;14208:102::-;5185:10;;-1:-1:-1;;;;;5185:10:15;5171;:24;5163:41;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;14254:10:::1;:8;:10::i;:::-;14274:29;14284:18;:16;:18::i;:::-;14274:9;:29::i;2133:52::-:0;2180:5;2133:52;:::o;2068:40::-;;;;:::o;921:76::-;;;-1:-1:-1;;;;;921:76:15;;:::o;1737:148:10:-;1317:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:10;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:10;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:10;;;;;;;;;;;;;;;1844:1:::1;1828:6:::0;;1807:40:::1;::::0;-1:-1:-1;;;;;1828:6:10;;::::1;::::0;1807:40:::1;::::0;1844:1;;1807:40:::1;1875:1;1858:19:::0;;-1:-1:-1;;;;;;1858:19:10::1;::::0;;1737:148::o;1762:83:15:-;1803:42;1762:83;:::o;1514:87::-;1559:42;1514:87;:::o;1890:29::-;;;;:::o;8933:77::-;5185:10;;-1:-1:-1;;;;;5185:10:15;5171;:24;5163:41;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;8986:17:::1;:15;:17::i;3072:28::-:0;;;;;;;;;;12370:59;5185:10;;-1:-1:-1;;;;;5185:10:15;5171;:24;5163:41;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;12414:8:::1;:6;:8::i;1851:33::-:0;;;;:::o;2191:50::-;2237:4;2191:50;:::o;3145:33::-;;;;;;;;;;1263:73;;;-1:-1:-1;;;;;1263:73:15;;:::o;1095:79:10:-;1133:7;1160:6;-1:-1:-1;;;;;1160:6:10;1095:79;:::o;1963:42:15:-;2001:4;1963:42;:::o;809:31::-;;;-1:-1:-1;;;;;809:31:15;;:::o;13117:126::-;13199:11;;13192:44;;;-1:-1:-1;;;13192:44:15;;13230:4;13192:44;;;;;;-1:-1:-1;;13199:11:15;;;-1:-1:-1;;;;;13199:11:15;;13192:29;;:44;;;;;;;;;;;;;;13199:11;13192:44;;;;;;;;;;2828:30;;;;:::o;1177:80::-;1215:42;1177:80;:::o;2932:35::-;;;;:::o;12689:135::-;12739:7;12765:52;12806:10;;12765:36;3060:5;12765:11;:9;:11::i;2973:35::-;;;;:::o;2322:46::-;2365:3;2322:46;:::o;2797:25::-;;;;:::o;16005:95::-;5185:10;;-1:-1:-1;;;;;5185:10:15;5171;:24;5163:41;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;16069:10:::1;:24:::0;;-1:-1:-1;;;;;;16069:24:15::1;-1:-1:-1::0;;;;;16069:24:15;;;::::1;::::0;;;::::1;::::0;;16005:95::o;9841:977::-;1704:1:12;2310:7;;:19;;2302:63;;;;;-1:-1:-1;;;2302:63:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;1704:1;2443:7;:18;;;1391:7:11;::::1;;1390:8;1382:37;;;::::0;;-1:-1:-1;;;1382:37:11;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;1382:37:11;;;;;;;;;;;;;::::1;;5185:10:15::2;::::0;-1:-1:-1;;;;;5185:10:15::2;5171;:24;5163:41;;;::::0;;-1:-1:-1;;;5163:41:15;;::::2;;::::0;;::::2;::::0;;;;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;::::2;;9936:13:::3;::::0;9929:46:::3;::::0;;-1:-1:-1;;;9929:46:15;;9969:4:::3;9929:46;::::0;::::3;::::0;;;9911:15:::3;::::0;-1:-1:-1;;;;;9936:13:15::3;::::0;9929:31:::3;::::0;:46;;;;;::::3;::::0;;;;;;;;9936:13;9929:46;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;9929:46:15;10017:82:::3;::::0;-1:-1:-1;;;10017:82:15;;-1:-1:-1;;10017:82:15;;;;;;10093:4:::3;10017:82:::0;;;;;;;::::3;::::0;::::3;::::0;;;10059:11:::3;10017:82:::0;;;;;;;;9929:46;;-1:-1:-1;695:42:15::3;::::0;10017:41:::3;::::0;10059:11;;10080:2;10093:4;10017:82;;;;;;;;10059:11;;10017:82;::::3;;;;;;;;;;;;;;;;::::0;;-1:-1:-1;;;;;10017:82:15::3;::::0;;;;;::::3;::::0;::::3;;::::0;;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;;10251:13:15::3;::::0;10244:46:::3;::::0;;-1:-1:-1;;;10244:46:15;;10284:4:::3;10244:46;::::0;::::3;::::0;;;10224:17:::3;::::0;10244:59:::3;::::0;10295:7;;-1:-1:-1;;;;;10251:13:15;;::::3;::::0;10244:31:::3;::::0;:46;;;;;10017:82:::3;::::0;10244:46;;;;;;;;10251:13;10244:46;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;10244:46:15;;:50:::3;:59::i;:::-;10224:79:::0;-1:-1:-1;10318:13:15;;10314:498:::3;;10359:25;10374:9;10359:14;:25::i;:::-;10347:37;;10410:28;10428:9;10410:17;:28::i;:::-;10398:40;;10464:18;10472:9;10464:7;:18::i;:::-;10530:11;::::0;10513:13:::3;::::0;10452:30;;-1:-1:-1;10530:11:15::3;::::0;::::3;-1:-1:-1::0;;;;;10530:11:15;;::::3;10513:13:::0;::::3;:28;10509:198;;10561:131;10592:9;10623:16;10561:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;-1:-1:-1;;;;;10561:131:15::3;::::0;;;;;::::3;::::0;::::3;;::::0;;::::3;;;;;;;;;10669:4;10561:9;:131::i;:::-;10741:12;10725:13;:28:::0;10772:29:::3;10782:18;:16;:18::i;10772:29::-;-1:-1:-1::0;;1660:1:12;2622:22;;9841:977:15:o;880:30::-;;;-1:-1:-1;;;880:30:15;;;;;:::o;1003:82::-;1043:42;1003:82;:::o;14739:1260::-;5185:10;;-1:-1:-1;;;;;5185:10:15;5171;:24;5163:41;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;2001:4:::1;15058:49;15094:12:::0;15058:31:::1;:14:::0;15077:11;15058:18:::1;:31::i;:49::-;:64;;15050:91;;;::::0;;-1:-1:-1;;;15050:91:15;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;15050:91:15;;;;;;;;;;;;;::::1;;2237:4;15159:18;:41;;15151:80;;;::::0;;-1:-1:-1;;;15151:80:15;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;2180:5;15249:18;:42;;15241:82;;;::::0;;-1:-1:-1;;;15241:82:15;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;2365:3;15341:15;:35;;15333:72;;;::::0;;-1:-1:-1;;;15333:72:15;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;15415:13;:30:::0;;;15455:10:::1;:24:::0;;;15489:11:::1;:26:::0;;;15525:17:::1;:38:::0;;;15573:14:::1;:32:::0;;;15615:16:::1;:36:::0;;-1:-1:-1;;;;;15615:36:15;;::::1;-1:-1:-1::0;;;;;;15615:36:15;;::::1;::::0;::::1;::::0;;;-1:-1:-1;15661:30:15;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;-1:-1:-1;15701:28:15;;::::1;::::0;::::1;-1:-1:-1::0;;;15701:28:15;::::1;-1:-1:-1::0;;;;15701:28:15;;::::1;::::0;;;::::1;::::0;;;15745:247:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;;;;15615:36:::1;15745:247:::0;;::::1;14739:1260:::0;;;;;;;;:::o;14321:408::-;5185:10;;-1:-1:-1;;;;;5185:10:15;5171;:24;5163:41;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;-1:-1:-1;;;5163:41:15;;;;;;;;;;;;;;;14433:15:::1;;14418:11;:30;;14410:48;;;::::0;;-1:-1:-1;;;14410:48:15;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;14410:48:15;;;;;;;;;;;;;::::1;;14476:16:::0;14468:60:::1;;;::::0;;-1:-1:-1;;;14468:60:15;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;14562:16;;14546:12;:32;;14538:51;;;::::0;;-1:-1:-1;;;14538:51:15;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;14538:51:15;;;;;;;;;;;;;::::1;;14600:13;:11;:13::i;:::-;14623:10;:24:::0;;;14657:11:::1;:26:::0;;;14693:29:::1;14703:18;:16;:18::i;14693:29::-;14321:408:::0;;:::o;846:28::-;;;-1:-1:-1;;;;;846:28:15;;:::o;743:26::-;;;;;;-1:-1:-1;;;;;743:26:15;;:::o;12555:124::-;12630:16;;;12623:49;;;-1:-1:-1;;;12623:49:15;;12666:4;12623:49;;;;;;;;12597:7;;-1:-1:-1;;;;;12630:16:15;;;;12623:34;;:49;;;;;;;;;;;;;;12630:16;12623:49;;;;;;;;;;2040:244:10;1317:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:10;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:10;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:10;;;;;;;;;;;;;;;-1:-1:-1;;;;;2129:22:10;::::1;2121:73;;;;-1:-1:-1::0;;;2121:73:10::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2231:6;::::0;;2210:38:::1;::::0;-1:-1:-1;;;;;2210:38:10;;::::1;::::0;2231:6;::::1;::::0;2210:38:::1;::::0;::::1;2259:6;:17:::0;;-1:-1:-1;;;;;;2259:17:10::1;-1:-1:-1::0;;;;;2259:17:10;;;::::1;::::0;;;::::1;::::0;;2040:244::o;6309:1360:15:-;6408:7;1317:12:10;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:10;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:10;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:10;;;;;;;;;;;;;;;1704:1:12::1;2310:7;;:19;;2302:63;;;::::0;;-1:-1:-1;;;2302:63:12;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;1704:1;2443:7;:18:::0;6435:12:15;6427:38:::2;;;::::0;;-1:-1:-1;;;6427:38:15;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;6427:38:15;;;;;;;;;;;;;::::2;;6509:11;::::0;6502:44:::2;::::0;;-1:-1:-1;;;6502:44:15;;6540:4:::2;6502:44;::::0;::::2;::::0;;;-1:-1:-1;;6509:11:15::2;::::0;::::2;-1:-1:-1::0;;;;;6509:11:15::2;::::0;6502:29:::2;::::0;:44;;;;;::::2;::::0;;;;;;;;6509:11;6502:44;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;6502:44:15;;-1:-1:-1;6569:18:15;;::::2;6565:180;;;6653:13;:11;:13::i;:::-;6697:11;::::0;6690:44:::2;::::0;;-1:-1:-1;;;6690:44:15;;6728:4:::2;6690:44;::::0;::::2;::::0;;;6697:11:::2;::::0;;::::2;-1:-1:-1::0;;;;;6697:11:15::2;::::0;6690:29:::2;::::0;:44;;;;;::::2;::::0;;;;;;;;;6697:11;6690:44;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;6690:44:15;;-1:-1:-1;6565:180:15::2;6770:7;6759:8;:18;6755:67;;;6804:7;6793:18;;6755:67;6847:17;:15;:17::i;:::-;6836:8;:28;6832:87;;;6891:17;:15;:17::i;:::-;6880:28;;6832:87;6929:21;6953:48;6983:17;:15;:17::i;:::-;6966:11;::::0;6953:25:::2;::::0;:8;;:12:::2;:25::i;:48::-;6929:72;;7031:11;;7015:13;:27;7011:85;;;-1:-1:-1::0;7074:11:15::2;::::0;7011:85:::2;7119:11;::::0;:30:::2;::::0;7135:13;7119:15:::2;:30::i;:::-;7105:11;:44;;;;7192:19;7214:109;2180:5;7214:70;7240:43;7265:17;;2180:5;7240:24;;:43;;;;:::i;:::-;7214:8:::0;;:25:::2;:70::i;:109::-;7340:11;::::0;7192:131;;-1:-1:-1;7333:59:15::2;::::0;7340:11:::2;::::0;::::2;-1:-1:-1::0;;;;;7340:11:15::2;1381:42;7192:131:::0;7333:32:::2;:59::i;:::-;7422:25;:8:::0;7435:11;7422:12:::2;:25::i;:::-;7491:16;::::0;7465:11:::2;::::0;7411:36;;-1:-1:-1;7458:60:15::2;::::0;7491:16:::2;7465:11:::0;::::2;-1:-1:-1::0;;;;;7465:11:15;;::::2;::::0;7491:16:::2;7411:36:::0;7458:32:::2;:60::i;:::-;7534:8;:6;:8::i;:::-;7529:103;;7592:29;7602:18;:16;:18::i;7592:29::-;-1:-1:-1::0;1660:1:12::1;2622:22:::0;;7649:13:15;6309:1360;-1:-1:-1;;;;6309:1360:15:o;2248:35::-;;;;:::o;2256:471:14:-;2314:7;2559:6;2555:47;;-1:-1:-1;2589:1:14;2582:8;;2555:47;2626:5;;;2630:1;2626;:5;:1;2650:5;;;;;:10;2642:56;;;;-1:-1:-1;;;2642:56:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2718:1;-1:-1:-1;2256:471:14;;;;;:::o;3203:132::-;3261:7;3288:39;3292:1;3295;3288:39;;;;;;;;;;;;;;;;;:3;:39::i;1357:622:13:-;1727:10;;;1726:62;;-1:-1:-1;1743:39:13;;;-1:-1:-1;;;1743:39:13;;1767:4;1743:39;;;;-1:-1:-1;;;;;1743:39:13;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1743:39:13;:44;1726:62;1718:152;;;;-1:-1:-1;;;1718:152:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1908:62;;;-1:-1:-1;;;;;1908:62:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1908:62:13;-1:-1:-1;;;1908:62:13;;;1881:90;;1901:5;;1881:19;:90::i;:::-;1357:622;;;:::o;1987:286::-;2084:20;2107:50;2151:5;2107;-1:-1:-1;;;;;2107:15:13;;2131:4;2138:7;2107:39;;;;;;;;;;;;;-1:-1:-1;;;;;2107:39:13;;;;;;-1:-1:-1;;;;;2107:39:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2107:39:13;;:43;:50::i;:::-;2195:69;;;-1:-1:-1;;;;;2195:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2195:69:13;-1:-1:-1;;;2195:69:13;;;2084:73;;-1:-1:-1;2168:97:13;;2188:5;;2168:19;:97::i;:::-;1987:286;;;;:::o;902:181:14:-;960:7;992:5;;;1016:6;;;;1008:46;;;;;-1:-1:-1;;;1008:46:14;;;;;;;;;;;;;;;;;;;;;;;;;;;3858:196:0;3961:12;3993:53;4016:6;4024:4;4030:1;4033:12;3993:22;:53::i;:::-;3986:60;3858:196;-1:-1:-1;;;;3858:196:0:o;13420:609:15:-;13474:11;;13467:63;;13474:11;;;-1:-1:-1;;;;;13474:11:15;604:42;13527:1;13467:31;:63::i;:::-;13547:11;;13540:108;;13547:11;;;-1:-1:-1;;;;;13547:11:15;604:42;-1:-1:-1;;13540:41:15;:108::i;:::-;13693:16;;13666:13;;13659:63;;-1:-1:-1;;;;;13666:13:15;;;;13693:16;;13659:33;:63::i;:::-;13789:16;;13739:13;;13732:108;;-1:-1:-1;;;;;13739:13:15;;;;13789:16;-1:-1:-1;;13732:43:15;:108::i;:::-;13883:13;;13851:58;;1129:42;;-1:-1:-1;;;;;13883:13:15;;13851:31;:58::i;:::-;13974:13;;13919:103;;1129:42;;-1:-1:-1;;;;;13974:13:15;-1:-1:-1;;13919:41:15;:103::i;2122:120:11:-;1667:7;;;;1659:40;;;;;-1:-1:-1;;;1659:40:11;;;;;;;;;;;;-1:-1:-1;;;1659:40:11;;;;;;;;;;;;;;;2181:7:::1;:15:::0;;-1:-1:-1;;2181:15:11::1;::::0;;2212:22:::1;2221:12;:10;:12::i;:::-;2212:22;::::0;;-1:-1:-1;;;;;2212:22:11;;::::1;::::0;;;;;;;::::1;::::0;;::::1;2122:120::o:0;1366:136:14:-;1424:7;1451:43;1455:1;1458;1451:43;;;;;;;;;;;;;;;;;:3;:43::i;1863:118:11:-;1391:7;;;;1390:8;1382:37;;;;;-1:-1:-1;;;1382:37:11;;;;;;;;;;;;-1:-1:-1;;;1382:37:11;;;;;;;;;;;;;;;1923:7:::1;:14:::0;;-1:-1:-1;;1923:14:11::1;1933:4;1923:14;::::0;;1953:20:::1;1960:12;:10;:12::i;9415:420:15:-:0;9457:15;9475:18;:16;:18::i;:::-;9508:11;;9457:36;;-1:-1:-1;9508:15:15;9504:289;;9539:196;9556:11;:9;:11::i;:::-;9546:7;:21;9539:196;;;9587:21;9600:7;9587:12;:21::i;:::-;9626:48;9640:33;9658:14;:12;:14::i;:::-;9640:13;:11;:13::i;:33::-;9626:13;:48::i;:::-;9702:18;:16;:18::i;:::-;9692:28;;9539:196;;;9761:21;9774:7;9761:12;:21::i;:::-;9802:26;-1:-1:-1;;9802:13:15;:26::i;:::-;9415:420;:::o;605:106:1:-;693:10;605:106;:::o;883:205:13:-;1011:68;;;-1:-1:-1;;;;;1011:68:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1011:68:13;-1:-1:-1;;;1011:68:13;;;984:96;;1004:5;;984:19;:96::i;5934:369:15:-;5985:7;6004:15;6022:18;:16;:18::i;:::-;6004:36;-1:-1:-1;6054:12:15;6050:26;;6075:1;6068:8;;;;;6050:26;6153:20;6176:31;6198:8;6176:17;:15;:17::i;:31::-;6153:54;;6217:18;6227:7;6217:9;:18::i;:::-;6261:35;6283:12;6261:17;:15;:17::i;:35::-;6254:42;;;;5934:369;;;;:::o;8457:382::-;8516:11;;8512:321;;8548:16;8556:7;8548;:16::i;:::-;8512:321;;;8595:11;;8585:7;:21;8581:252;;;8627:9;8622:201;8646:11;;8642:1;:15;8622:201;;;8682:16;8690:7;8682;:16::i;:::-;8726:48;3060:5;8726:23;8738:10;;8726:7;:11;;:23;;;;:::i;:48::-;8716:58;;8792:16;8800:7;8792;:16::i;:::-;8659:3;;8622:201;;9020:294;9087:19;:17;:19::i;:::-;9070:13;:11;:13::i;:::-;:36;9066:199;;9122:48;9136:33;9154:14;:12;:14::i;9122:48::-;9066:199;;;9201:53;9215:38;9233:19;:17;:19::i;9201:53::-;9275:32;9288:18;:16;:18::i;:::-;9275:12;:32::i;10856:384::-;10941:13;;10918:7;;10941:17;10937:269;;10974:11;10988:41;2044:5;10988:29;11003:13;;10988:10;:14;;:29;;;;:::i;:41::-;10974:55;;1043:42;-1:-1:-1;;;;;11056:29:15;;11086:3;11056:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11104:32;1466:42;11132:3;11104:15;:32::i;:::-;11176:19;:10;11191:3;11176:14;:19::i;:::-;11163:32;;10937:269;;-1:-1:-1;11223:10:15;10856:384::o;11246:681::-;11334:10;;11311:7;;11334:14;11330:563;;11364:11;11378:38;2044:5;11378:26;11393:10;;11378;:14;;:26;;;;:::i;:38::-;11456:44;;;-1:-1:-1;;;11456:44:15;;11494:4;11456:44;;;;;;11364:52;;-1:-1:-1;11435:18:15;;1129:42;;11456:29;;:44;;;;;;;;;;;;;;1129:42;11456:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11456:44:15;11575:16;11527:109;;;;;11456:44;11527:109;;;;;;;;;;;;;11456:44;;-1:-1:-1;11527:109:15;;11554:3;;11527:109;;11575:16;;11527:109;;11575:16;11527:109;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11527:109:15;;;;;;;;;;;;;;;;;;;;11617:4;11527:9;:109::i;:::-;11663:17;11683:60;11732:10;1129:42;-1:-1:-1;;;;;11683:29:15;;11721:4;11683:44;;;;;;;;;;;;;-1:-1:-1;;;;;11683:44:15;;;;;;;;;;;;;;;;;;;;;;;;;;:60;11784:13;;11770:53;;;-1:-1:-1;;;11770:53:15;;;;;;;;;;11663:80;;-1:-1:-1;;;;;;11784:13:15;;;;11770:42;;:53;;;;;;;;;;;;;;;11784:13;;11770:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11863:19:15;;-1:-1:-1;11863:10:15;11878:3;11863:14;:19::i;:::-;11850:32;11246:681;-1:-1:-1;;;;;11246:681:15:o;11933:412::-;12011:11;;11988:7;;12011:15;12007:296;;12042:18;12063:39;2044:5;12063:27;12078:11;;12063:10;:14;;:27;;;;:::i;:39::-;12042:60;;12121:117;12148:10;12176:16;12121:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12121:117:15;;;;;;;;;;;;;;;;;;;;;1803:42;16110:494;16274:16;;16261:62;;;-1:-1:-1;;;16261:62:15;;;;;;;;;;;;;;;;;;;;;;16234:24;;-1:-1:-1;;;;;16274:16:15;;16261:44;;16306:9;;16317:5;;16261:62;;;;;;;;;;;;;;;16274:16;16261:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16261:62:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16261:62:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16234:89;;16333:17;16353:7;16361:21;16380:1;16361:7;:14;:18;;:21;;;;:::i;:::-;16353:30;;;;;;;;;;;;;;16333:50;;16407:16;;;;;;;;;-1:-1:-1;;;;;16407:16:15;-1:-1:-1;;;;;16394:55:15;;16463:9;16486:39;16520:4;16486:29;16500:14;;16486:9;:13;;:29;;;;:::i;:39::-;16539:5;16558:3;16575:12;:3;16583;16575:7;:12::i;:::-;16394:203;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16394:203:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16394:203:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16394:203:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16110:494;;;;;:::o;698:177:13:-;808:58;;;-1:-1:-1;;;;;808:58:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;808:58:13;-1:-1:-1;;;808:58:13;;;781:86;;801:5;;781:19;:86::i;3831:278:14:-;3917:7;3952:12;3945:5;3937:28;;;;-1:-1:-1;;;3937:28:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3976:9;3992:1;3988;:5;;;;;;;3831:278;-1:-1:-1;;;;;3831:278:14:o;3003:761:13:-;3427:23;3453:69;3481:4;3453:69;;;;;;;;;;;;;;;;;3461:5;-1:-1:-1;;;;;3453:27:13;;;:69;;;;;:::i;:::-;3537:17;;3427:95;;-1:-1:-1;3537:21:13;3533:224;;3679:10;3668:30;;;;;;;;;;;;;;;-1:-1:-1;3668:30:13;3660:85;;;;-1:-1:-1;;;3660:85:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5235:979:0;5365:12;5398:18;5409:6;5398:10;:18::i;:::-;5390:60;;;;;-1:-1:-1;;;5390:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5524:12;5538:23;5565:6;-1:-1:-1;;;;;5565:11:0;5585:8;5596:4;5565:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5565:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5523:78;;;;5616:7;5612:595;;;5647:10;-1:-1:-1;5640:17:0;;-1:-1:-1;5640:17:0;5612:595;5761:17;;:21;5757:439;;6024:10;6018:17;6085:15;6072:10;6068:2;6064:19;6057:44;5972:148;6160:20;;-1:-1:-1;;;6160:20:0;;;;;;;;;;;;;;;;;6167:12;;6160:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1805:192:14;1891:7;1927:12;1919:6;;;;1911:29;;;;-1:-1:-1;;;1911:29:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1963:5:14;;;1805:192::o;8151:141:15:-;8246:11;;;8209:76;;;-1:-1:-1;;;8209:76:15;;8246:11;;;;-1:-1:-1;;;;;8246:11:15;8209:76;;;;;;;;;;;;;;;;;8279:4;8209:76;;;;;;604:42;;8209:36;;:76;;;;;-1:-1:-1;;8209:76:15;;;;;;;-1:-1:-1;604:42:15;8209:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8151:141;:::o;7838:142::-;7937:11;;7897:76;;;-1:-1:-1;;;7897:76:15;;7937:11;;;;-1:-1:-1;;;;;7937:11:15;7897:76;;;;;;;;;;7967:4;7897:76;;;;;604:42;;7897:39;;:76;;;;;-1:-1:-1;;7897:76:15;;;;;;;-1:-1:-1;604:42:15;7897:76;;;;;;;;;;7679:149;7771:11;;7808:12;;7732:89;;;-1:-1:-1;;;7732:89:15;;7771:11;;;;-1:-1:-1;;;;;7771:11:15;7732:89;;;;;;;;;;7801:4;7732:89;;;;7808:12;-1:-1:-1;;;7808:12:15;;;;;;;7732:89;;;;;604:42;;7732:38;;:89;;;;;-1:-1:-1;;7732:89:15;;;;;;;-1:-1:-1;604:42:15;7732:89;;;;;;;;;;7990:151;8081:11;;;8106:12;;8043:91;;;-1:-1:-1;;;8043:91:15;;8081:11;;;;-1:-1:-1;;;;;8081:11:15;8043:91;;;;;;;;;;;;;;;;;8106:12;-1:-1:-1;;;8106:12:15;;;;8043:91;;;;8128:4;8043:91;;;;;;604:42;;8043:37;;:91;;;;;-1:-1:-1;;8043:91:15;;;;;;;-1:-1:-1;604:42:15;8043:91;;;;;;;;;;16610:214;16722:12;;;16682;16722;;;;;;;;;-1:-1:-1;;;;;16700:7:15;;;16715:5;;16700:35;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16700:35:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16681:54;;;16753:7;16745:72;;;;-1:-1:-1;;;16745:72:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;743:619:0;803:4;1271:20;;1114:66;1311:23;;;;;;:42;;-1:-1:-1;;1338:15:0;;;743:619;-1:-1:-1;;743:619:0:o

Swarm Source

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