FTM Price: $1.01 (+1.39%)
Gas: 114 GWei

Contract

0x067e35799315e58B5D25F9CF1Ce4E960FE60cb30
 

Overview

FTM Balance

Fantom LogoFantom LogoFantom Logo0 FTM

FTM Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
Value
Harvest760484742024-02-21 13:27:3236 days ago1708522052IN
0x067e3579...0FE60cb30
0 FTM0.0190854414.69857997
Harvest630373302023-05-25 8:04:33308 days ago1685001873IN
0x067e3579...0FE60cb30
0 FTM0.17081392118.51337781
Harvest627407282023-05-20 12:45:11313 days ago1684586711IN
0x067e3579...0FE60cb30
0 FTM0.0259099165.75618938
Harvest617353492023-05-08 3:50:14325 days ago1683517814IN
0x067e3579...0FE60cb30
0 FTM0.04761148125.22449523
Harvest605941232023-04-23 8:10:46340 days ago1682237446IN
0x067e3579...0FE60cb30
0 FTM0.35932064274.73454497
Harvest594388042023-04-08 23:29:18354 days ago1680996558IN
0x067e3579...0FE60cb30
0 FTM0.1259196688.12504113
Harvest589593242023-04-03 3:35:39360 days ago1680492939IN
0x067e3579...0FE60cb30
0 FTM0.0394407227.80607852
Harvest584685132023-03-27 4:55:45367 days ago1679892945IN
0x067e3579...0FE60cb30
0 FTM0.0298497622.01782623
Harvest583172692023-03-25 1:12:46369 days ago1679706766IN
0x067e3579...0FE60cb30
0 FTM0.0357518525.07170491
Harvest581011132023-03-22 2:56:54372 days ago1679453814IN
0x067e3579...0FE60cb30
0 FTM0.0322447726.66221742
Harvest564656532023-02-25 3:35:29397 days ago1677296129IN
0x067e3579...0FE60cb30
0 FTM0.0375297926.2590482
Harvest556114342023-02-12 6:11:02410 days ago1676182262IN
0x067e3579...0FE60cb30
0 FTM0.0287671822.42380682
Harvest544969432023-01-26 21:11:56427 days ago1674767516IN
0x067e3579...0FE60cb30
0 FTM0.47625493349.97386163
Harvest541140732023-01-21 2:56:06432 days ago1674269766IN
0x067e3579...0FE60cb30
0 FTM0.1150986184.89920744
Harvest539769462023-01-18 9:29:36435 days ago1674034176IN
0x067e3579...0FE60cb30
0 FTM0.0391344529
Harvest539725432023-01-18 7:29:08435 days ago1674026948IN
0x067e3579...0FE60cb30
0 FTM0.0422190831.14946943
Harvest519822692022-12-07 6:51:54477 days ago1670395914IN
0x067e3579...0FE60cb30
0 FTM0.0418974133.32189151
Harvest511531642022-11-19 22:34:37495 days ago1668897277IN
0x067e3579...0FE60cb30
0 FTM0.1069564157.93035652
Whitelist Harves...380552152022-05-11 18:35:17687 days ago1652294117IN
0x067e3579...0FE60cb30
0 FTM0.101320621,964.6441
Harvest327595802022-03-07 3:46:06752 days ago1646624766IN
0x067e3579...0FE60cb30
0 FTM0.88869565651.545
Harvest327595482022-03-07 3:45:42752 days ago1646624742IN
0x067e3579...0FE60cb30
0 FTM1.14613582715.672
0x60806040327590372022-03-07 3:37:57752 days ago1646624277IN
 Create: StrategySolidexVolatileG3crvGeistLp
0 FTM3.14847786918.9741

Latest 1 internal transaction

Parent Txn Hash Block From To Value
327590372022-03-07 3:37:57752 days ago1646624277  Contract Creation0 FTM
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StrategySolidexVolatileG3crvGeistLp

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : strategy-solidex-volatile-g3crv-geist-lp.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

import "../strategy-solidex-farm-base.sol";
import "../../../interfaces/solid-router.sol";

contract StrategySolidexVolatileG3crvGeistLp is StrategySolidexFarmLPBase {
    // Token addresses
    address public g3crv_geist_lp = 0x6c90B69aF6DBD929458497a8D1013Aa255ac71F1;
    address public geist = 0xd8321AA83Fb0a4ECd6348D4577431310A6E0814d;
    address public g3crv = 0xD02a30d33153877BC20e5721ee53DeDEE0422B2F;

    constructor(
        address _governance,
        address _strategist,
        address _controller,
        address _timelock
    )
        public
        StrategySolidexFarmLPBase(
            g3crv_geist_lp,
            _governance,
            _strategist,
            _controller,
            _timelock
        )
    {
        swapRoutes[geist].push(route(wftm, geist, false));
        swapRoutes[g3crv].push(route(wftm, geist, false));
        swapRoutes[g3crv].push(route(geist, g3crv, false));
    }

    // **** Views ****

    function getName() external pure override returns (string memory) {
        return "StrategySolidexVolatileG3crvGeistLp";
    }
}

File 2 of 11 : strategy-solidex-farm-base.sol
pragma solidity ^0.8.11;

import "./strategy-base.sol";
import "../../interfaces/solidex-farm.sol";
import "../../interfaces/solid-router.sol";
import {route} from "../../interfaces/solid-router.sol";

abstract contract StrategySolidexFarmLPBase is StrategyBase {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    address public constant solid = 0x888EF71766ca594DED1F0FA3AE64eD2941740A20;
    address public constant sex = 0xD31Fcd1f7Ba190dBc75354046F6024A9b86014d7;

    address public constant rewards =
        0x26E1A0d851CF28E697870e1b7F053B605C8b060F;
    address public constant solidRouter =
        0xa38cd27185a464914D3046f0AB9d43356B34829D;
    address public token0;
    address public token1;

    mapping(address => route[]) internal swapRoutes;
    address public pairRouter;

    // **** Getters ****
    constructor(
        address _want,
        address _governance,
        address _strategist,
        address _controller,
        address _timelock
    ) StrategyBase(_want, _governance, _strategist, _controller, _timelock) {
        // Spooky router for SOLID -> WFTM
        sushiRouter = 0xF491e7B69E4244ad4002BC14e878a34207E38c29;
        IUniswapV2Pair pair = IUniswapV2Pair(_want);
        token0 = pair.token0();
        token1 = pair.token1();

        IERC20(solid).approve(sushiRouter, type(uint256).max);
        IERC20(sex).approve(solidRouter, type(uint256).max);
        IERC20(wftm).approve(solidRouter, type(uint256).max);

        IERC20(token0).approve(solidRouter, type(uint256).max);
        IERC20(token1).approve(solidRouter, type(uint256).max);
    }

    function balanceOfPool() public view override returns (uint256) {
        uint256 amount = ISolidexFarm(rewards).userBalances(
            address(this),
            want
        );
        return amount;
    }

    function getHarvestable() external view returns (uint256, uint256) {
        address[] memory pools = new address[](1);
        pools[0] = want;
        ISolidexFarm.Amounts[] memory pending = ISolidexFarm(rewards)
            .pendingRewards(address(this), pools);
        if (pending.length == 0) return (0, 0);

        return (pending[0].solid, pending[0].sex);
    }

    function deposit() public override {
        uint256 _want = IERC20(want).balanceOf(address(this));
        if (_want > 0) {
            IERC20(want).approve(rewards, 0);
            IERC20(want).approve(rewards, _want);
            ISolidexFarm(rewards).deposit(want, _want);
        }
    }

    function _withdrawSome(uint256 _amount)
        internal
        override
        returns (uint256)
    {
        ISolidexFarm(rewards).withdraw(want, _amount);
        return _amount;
    }

    function harvest() public override {
        address[] memory pools = new address[](1);
        pools[0] = want;

        // Harvest SOLID and SEX rewards
        ISolidexFarm(rewards).getReward(pools);
        uint256 _solid = IERC20(solid).balanceOf(address(this));
        uint256 _sex = IERC20(sex).balanceOf(address(this));
        if (_solid == 0 && _sex == 0) return;

        // Spookyswap swap SOLID to FTM
        if (_solid > 0) _swapSushiswap(solid, wftm, _solid);

        // if (_solid > 0) {
        //     route[] memory solidRoute = new route[](1);
        //     solidRoute[0] = route(solid, wftm, false);
        //     ISolidRouter(solidRouter).swapExactTokensForTokens(
        //         _solid,
        //         0,
        //         solidRoute,
        //         address(this),
        //         block.timestamp + 60
        //     );
        // }

        // Solidly swap SOLID to FTM
        if (_sex > 0) {
            route[] memory sexRoute = new route[](1);
            sexRoute[0] = route(sex, wftm, false);
            ISolidRouter(solidRouter).swapExactTokensForTokens(
                _sex,
                0,
                sexRoute,
                address(this),
                block.timestamp + 60
            );
        }
        uint256 _wftm = IERC20(wftm).balanceOf(address(this));

        uint256 _keepWFTM = _wftm.mul(keepReward).div(keepRewardMax);
        IERC20(wftm).safeTransfer(
            IController(controller).treasury(),
            _keepWFTM
        );

        _wftm = _wftm.sub(_keepWFTM);
        uint256 toToken0 = _wftm.div(2);
        uint256 toToken1 = _wftm.sub(toToken0);

        if (_wftm > 0) {
            if (swapRoutes[token0].length > 0)
                _swapSolidswap(toToken0, swapRoutes[token0]);

            if (swapRoutes[token1].length > 0)
                _swapSolidswap(toToken1, swapRoutes[token1]);
        }

        uint256 _token0 = IERC20(token0).balanceOf(address(this));
        uint256 _token1 = IERC20(token1).balanceOf(address(this));

        if (_token0 > 0 && _token1 > 0) {
            ISolidRouter(solidRouter).addLiquidity(
                token0,
                token1,
                ISolidPair(want).stable(),
                _token0,
                _token1,
                0,
                0,
                address(this),
                block.timestamp + 60
            );

            // Donates DUST
            IERC20(token0).transfer(
                IController(controller).treasury(),
                IERC20(token0).balanceOf(address(this))
            );
            IERC20(token1).safeTransfer(
                IController(controller).treasury(),
                IERC20(token1).balanceOf(address(this))
            );
        }

        _distributePerformanceFeesAndDeposit();
    }

    function _swapSolidswap(uint256 amountIn, route[] memory routes) internal {
        ISolidRouter(solidRouter).swapExactTokensForTokens(
            amountIn,
            0,
            routes,
            address(this),
            block.timestamp
        );
    }
}

File 3 of 11 : solid-router.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

struct route {
    address from;
    address to;
    bool stable;
}

interface ISolidRouter {
    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        route[] calldata routes,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

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

interface ISolidPair {
    function stable() external returns (bool);
}

File 4 of 11 : strategy-base.sol
pragma solidity ^0.8.11;

import "../../lib/erc20.sol";
import "../../lib/safe-math.sol";

import "../../interfaces/jar.sol";
import "../../interfaces/uniswapv2.sol";
import "../../interfaces/controller.sol";

// Strategy Contract Basics

abstract contract StrategyBase {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    // Perfomance fees - start with 10%
    uint256 public performanceTreasuryFee = 0;
    uint256 public constant performanceTreasuryMax = 10000;

    uint256 public performanceDevFee = 0;
    uint256 public constant performanceDevMax = 10000;

    // Withdrawal fee 0%
    // - 0% to treasury
    // - 0% to dev fund
    uint256 public withdrawalTreasuryFee = 0;
    uint256 public constant withdrawalTreasuryMax = 100000;

    uint256 public withdrawalDevFundFee = 0;
    uint256 public constant withdrawalDevFundMax = 100000;

    // How much Reward tokens to keep?
    uint256 public keepReward = 420;
    uint256 public constant keepRewardMax = 10000;

    // Tokens
    address public want;
    address public constant wftm = 0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83;

    // User accounts
    address public governance;
    address public controller;
    address public strategist;
    address public timelock;

    // Dex - SpookyRouter
    address public sushiRouter;

    mapping(address => bool) public harvesters;

    constructor(
        address _want,
        address _governance,
        address _strategist,
        address _controller,
        address _timelock
    ) {
        require(_want != address(0));
        require(_governance != address(0));
        require(_strategist != address(0));
        require(_controller != address(0));
        require(_timelock != address(0));

        want = _want;
        governance = _governance;
        strategist = _strategist;
        controller = _controller;
        timelock = _timelock;
    }

    // **** Modifiers **** //

    modifier onlyBenevolent() {
        require(
            harvesters[msg.sender] ||
                msg.sender == governance ||
                msg.sender == strategist
        );
        _;
    }

    // **** Views **** //

    function balanceOfWant() public view returns (uint256) {
        return IERC20(want).balanceOf(address(this));
    }

    function balanceOfPool() public view virtual returns (uint256);

    function balanceOf() public view returns (uint256) {
        return balanceOfWant().add(balanceOfPool());
    }

    function getName() external pure virtual returns (string memory);

    // **** Setters **** //

    function setKeepReward(uint256 _keepReward) external {
        require(msg.sender == timelock, "!timelock");
        keepReward = _keepReward;
    }

    function whitelistHarvesters(address[] calldata _harvesters) external {
        require(
            msg.sender == governance ||
                msg.sender == strategist ||
                harvesters[msg.sender],
            "not authorized"
        );

        for (uint256 i = 0; i < _harvesters.length; i++) {
            harvesters[_harvesters[i]] = true;
        }
    }

    function revokeHarvesters(address[] calldata _harvesters) external {
        require(
            msg.sender == governance || msg.sender == strategist,
            "not authorized"
        );

        for (uint256 i = 0; i < _harvesters.length; i++) {
            harvesters[_harvesters[i]] = false;
        }
    }

    function setWithdrawalDevFundFee(uint256 _withdrawalDevFundFee) external {
        require(msg.sender == timelock, "!timelock");
        withdrawalDevFundFee = _withdrawalDevFundFee;
    }

    function setWithdrawalTreasuryFee(uint256 _withdrawalTreasuryFee) external {
        require(msg.sender == timelock, "!timelock");
        withdrawalTreasuryFee = _withdrawalTreasuryFee;
    }

    function setPerformanceDevFee(uint256 _performanceDevFee) external {
        require(msg.sender == timelock, "!timelock");
        performanceDevFee = _performanceDevFee;
    }

    function setPerformanceTreasuryFee(uint256 _performanceTreasuryFee)
        external
    {
        require(msg.sender == timelock, "!timelock");
        performanceTreasuryFee = _performanceTreasuryFee;
    }

    function setStrategist(address _strategist) external {
        require(msg.sender == governance, "!governance");
        strategist = _strategist;
    }

    function setGovernance(address _governance) external {
        require(msg.sender == governance, "!governance");
        governance = _governance;
    }

    function setTimelock(address _timelock) external {
        require(msg.sender == timelock, "!timelock");
        timelock = _timelock;
    }

    function setController(address _controller) external {
        require(msg.sender == timelock, "!timelock");
        controller = _controller;
    }

    // **** State mutations **** //
    function deposit() public virtual;

    // Controller only function for creating additional rewards from dust
    function withdraw(IERC20 _asset) external returns (uint256 balance) {
        require(msg.sender == controller, "!controller");
        require(want != address(_asset), "want");
        balance = _asset.balanceOf(address(this));
        _asset.safeTransfer(controller, balance);
    }

    // Withdraw partial funds, normally used with a jar withdrawal
    function withdraw(uint256 _amount) external {
        require(msg.sender == controller, "!controller");
        uint256 _balance = IERC20(want).balanceOf(address(this));
        if (_balance < _amount) {
            _amount = _withdrawSome(_amount.sub(_balance));
            _amount = _amount.add(_balance);
        }

        uint256 _feeDev = _amount.mul(withdrawalDevFundFee).div(
            withdrawalDevFundMax
        );
        IERC20(want).safeTransfer(IController(controller).devfund(), _feeDev);

        uint256 _feeTreasury = _amount.mul(withdrawalTreasuryFee).div(
            withdrawalTreasuryMax
        );
        IERC20(want).safeTransfer(
            IController(controller).treasury(),
            _feeTreasury
        );

        address _jar = IController(controller).jars(address(want));
        require(_jar != address(0), "!jar"); // additional protection so we don't burn the funds

        IERC20(want).safeTransfer(_jar, _amount.sub(_feeDev).sub(_feeTreasury));
    }

    // Withdraw funds, used to swap between strategies
    function withdrawForSwap(uint256 _amount)
        external
        returns (uint256 balance)
    {
        require(msg.sender == controller, "!controller");
        _withdrawSome(_amount);

        balance = IERC20(want).balanceOf(address(this));

        address _jar = IController(controller).jars(address(want));
        require(_jar != address(0), "!jar");
        IERC20(want).safeTransfer(_jar, balance);
    }

    // Withdraw all funds, normally used when migrating strategies
    function withdrawAll() external returns (uint256 balance) {
        require(msg.sender == controller, "!controller");
        _withdrawAll();

        balance = IERC20(want).balanceOf(address(this));

        address _jar = IController(controller).jars(address(want));
        require(_jar != address(0), "!jar"); // additional protection so we don't burn the funds
        IERC20(want).safeTransfer(_jar, balance);
    }

    function _withdrawAll() internal {
        _withdrawSome(balanceOfPool());
    }

    function _withdrawSome(uint256 _amount) internal virtual returns (uint256);

    function harvest() public virtual;

    // **** Emergency functions ****

    function execute(address _target, bytes memory _data)
        public
        payable
        returns (bytes memory response)
    {
        require(msg.sender == timelock, "!timelock");
        require(_target != address(0), "!target");

        // call contract in current context
        assembly {
            let succeeded := delegatecall(
                sub(gas(), 5000),
                _target,
                add(_data, 0x20),
                mload(_data),
                0,
                0
            )
            let size := returndatasize()

            response := mload(0x40)
            mstore(
                0x40,
                add(response, and(add(add(size, 0x20), 0x1f), not(0x1f)))
            )
            mstore(response, size)
            returndatacopy(add(response, 0x20), 0, size)

            switch iszero(succeeded)
            case 1 {
                // throw if delegatecall failed
                revert(add(response, 0x20), size)
            }
        }
    }

    // **** Internal functions ****
    function _swapSushiswap(
        address _from,
        address _to,
        uint256 _amount
    ) internal {
        require(_to != address(0));

        address[] memory path;

        if (_from == wftm || _to == wftm) {
            path = new address[](2);
            path[0] = _from;
            path[1] = _to;
        } else {
            path = new address[](3);
            path[0] = _from;
            path[1] = wftm;
            path[2] = _to;
        }

        UniswapRouterV2(sushiRouter).swapExactTokensForTokens(
            _amount,
            0,
            path,
            address(this),
            block.timestamp.add(60)
        );
    }

    function _swapSushiswapWithPath(address[] memory path, uint256 _amount)
        internal
    {
        require(path[1] != address(0));

        UniswapRouterV2(sushiRouter).swapExactTokensForTokens(
            _amount,
            0,
            path,
            address(this),
            block.timestamp.add(60)
        );
    }

    function _distributePerformanceFeesAndDeposit() internal {
        uint256 _want = IERC20(want).balanceOf(address(this));

        if (_want > 0) {
            deposit();
        }
    }
}

File 5 of 11 : solidex-farm.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

interface ISolidexFarm {
    struct Amounts {
        uint256 solid;
        uint256 sex;
    }

    function deposit(address pool, uint256 amount) external;

    function withdraw(address pool, uint256 amount) external;

    function getReward(address[] calldata pools) external;
    
    // user -> pool -> deposit amount
    function userBalances(address, address) external view returns (uint256);

    function pendingRewards(address account, address[] calldata pools)
        external
        view
        returns (Amounts[] calldata pending);

}

File 6 of 11 : erc20.sol
// File: contracts/GSN/Context.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.11;

import "./safe-math.sol";
import "./context.sol";

// File: contracts/token/ERC20/IERC20.sol

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

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

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

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

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

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

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

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

// File: contracts/utils/Address.sol

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(
            address(this).balance >= value,
            "Address: insufficient balance for call"
        );
        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: contracts/token/ERC20/ERC20.sol

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

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

/**
 * @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 7 of 11 : safe-math.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.11;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

File 8 of 11 : jar.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

import "../lib/erc20.sol";

interface IJar is IERC20 {
    function token() external view returns (address);
    
    function reward() external view returns (address);

    function claimInsurance() external; // NOTE: Only yDelegatedVault implements this

    function getRatio() external view returns (uint256);

    function depositAll() external;
    
    function balance() external view returns (uint256);

    function deposit(uint256) external;

    function withdrawAll() external;

    function withdraw(uint256) external;

    function earn() external;

    function decimals() external view returns (uint8);
}

File 9 of 11 : uniswapv2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

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

    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 getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

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

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

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

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

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;
}

interface IUniswapV2Factory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint256
    );

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

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

File 10 of 11 : controller.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.11;

interface IController {
    function jars(address) external view returns (address);

    function rewards() external view returns (address);

    function devfund() external view returns (address);

    function treasury() external view returns (address);

    function balanceOf(address) external view returns (uint256);

    function withdraw(address, uint256) external;

    function withdrawReward(address, uint256) external;

    function earn(address, uint256) external;

    function strategies(address) external view returns (address);
}

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

pragma solidity ^0.8.11;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_governance","type":"address"},{"internalType":"address","name":"_strategist","type":"address"},{"internalType":"address","name":"_controller","type":"address"},{"internalType":"address","name":"_timelock","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfWant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"execute","outputs":[{"internalType":"bytes","name":"response","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"g3crv","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"g3crv_geist_lp","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"geist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getHarvestable","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"harvesters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keepReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keepRewardMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pairRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"performanceDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"performanceDevMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"performanceTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"performanceTreasuryMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_harvesters","type":"address[]"}],"name":"revokeHarvesters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_keepReward","type":"uint256"}],"name":"setKeepReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_performanceDevFee","type":"uint256"}],"name":"setPerformanceDevFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_performanceTreasuryFee","type":"uint256"}],"name":"setPerformanceTreasuryFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_timelock","type":"address"}],"name":"setTimelock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawalDevFundFee","type":"uint256"}],"name":"setWithdrawalDevFundFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawalTreasuryFee","type":"uint256"}],"name":"setWithdrawalTreasuryFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sex","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"solid","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"solidRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sushiRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timelock","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"want","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wftm","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_harvesters","type":"address[]"}],"name":"whitelistHarvesters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_asset","type":"address"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawForSwap","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalDevFundFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawalDevFundMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawalTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawalTreasuryMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526000808055600181905560028190556003556101a4600455601080546001600160a01b0319908116736c90b69af6dbd929458497a8d1013aa255ac71f11790915560118054821673d8321aa83fb0a4ecd6348d4577431310a6e0814d1790556012805490911673d02a30d33153877bc20e5721ee53dedee0422b2f1790553480156200008f57600080fd5b5060405162003c3738038062003c37833981016040819052620000b2916200094e565b6010546001600160a01b031684848484848484848484620000d257600080fd5b6001600160a01b038416620000e657600080fd5b6001600160a01b038316620000fa57600080fd5b6001600160a01b0382166200010e57600080fd5b6001600160a01b0381166200012257600080fd5b600580546001600160a01b03199081166001600160a01b03978816179091556006805482169587169590951790945560088054851693861693909317909255600780548416918516919091179055600980548316918416919091179055600a805473f491e7b69e4244ad4002bc14e878a34207e38c29921691909117905560408051630dfe168160e01b815290518792831691630dfe16819160048083019260209291908290030181865afa158015620001e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002069190620009ab565b600c60006101000a8154816001600160a01b0302191690836001600160a01b03160217905550806001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200026b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002919190620009ab565b600d80546001600160a01b0319166001600160a01b03928316179055600a5460405163095ea7b360e01b815291166004820152600019602482015273888ef71766ca594ded1f0fa3ae64ed2941740a209063095ea7b3906044016020604051808303816000875af11580156200030b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003319190620009d0565b5060405163095ea7b360e01b815273a38cd27185a464914d3046f0ab9d43356b34829d6004820152600019602482015273d31fcd1f7ba190dbc75354046f6024a9b86014d79063095ea7b3906044016020604051808303816000875af1158015620003a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003c69190620009d0565b5060405163095ea7b360e01b815273a38cd27185a464914d3046f0ab9d43356b34829d600482015260001960248201527321be370d5312f44cb42ce377bc9b8a0cef1a4c839063095ea7b3906044016020604051808303816000875af115801562000435573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045b9190620009d0565b50600c5460405163095ea7b360e01b815273a38cd27185a464914d3046f0ab9d43356b34829d600482015260001960248201526001600160a01b039091169063095ea7b3906044016020604051808303816000875af1158015620004c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004e99190620009d0565b50600d5460405163095ea7b360e01b815273a38cd27185a464914d3046f0ab9d43356b34829d600482015260001960248201526001600160a01b039091169063095ea7b3906044016020604051808303816000875af115801562000551573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005779190620009d0565b50505050505050600e6000601160009054906101000a90046001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060405180606001604052807321be370d5312f44cb42ce377bc9b8a0cef1a4c836001600160a01b03168152602001601160009054906101000a90046001600160a01b03166001600160a01b0316815260200160001515815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160010160146101000a81548160ff0219169083151502179055505050600e6000601260009054906101000a90046001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060405180606001604052807321be370d5312f44cb42ce377bc9b8a0cef1a4c836001600160a01b03168152602001601160009054906101000a90046001600160a01b03166001600160a01b0316815260200160001515815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160010160146101000a81548160ff0219169083151502179055505050600e6000601260009054906101000a90046001600160a01b03166001600160a01b03166001600160a01b031681526020019081526020016000206040518060600160405280601160009054906101000a90046001600160a01b03166001600160a01b03168152602001601260009054906101000a90046001600160a01b03166001600160a01b0316815260200160001515815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160010160146101000a81548160ff021916908315150217905550505050505050620009f4565b80516001600160a01b03811681146200094957600080fd5b919050565b600080600080608085870312156200096557600080fd5b620009708562000931565b9350620009806020860162000931565b9250620009906040860162000931565b9150620009a06060860162000931565b905092959194509250565b600060208284031215620009be57600080fd5b620009c98262000931565b9392505050565b600060208284031215620009e357600080fd5b81518015158114620009c957600080fd5b6132338062000a046000396000f3fe6080604052600436106102e45760003560e01c8063853828b611610190578063c39d4334116100dc578063d21220a711610095578063f4f45b461161006f578063f4f45b4614610866578063f758ceab1461088e578063f77c4791146108b6578063fe1f8f7a1461049557600080fd5b8063d21220a714610826578063d33219b414610846578063e80028bf1461042a57600080fd5b8063c39d433414610773578063c6223e2614610789578063c65e3242146107a9578063c7b9d530146107c9578063c946f9ce146107e9578063d0e30db01461081157600080fd5b80639ec5a89411610149578063ab73e43311610123578063ab73e433146106fe578063b1f55bd41461071e578063bdacb3031461073e578063c1a3d44c1461075e57600080fd5b80639ec5a89414610696578063a250b218146106be578063ab033ea9146106de57600080fd5b8063853828b6146105d5578063866cb90d146105ea578063879765831461060a57806388993f221461064a5780638ccdbb701461066057806392eefe9b1461067657600080fd5b80634641257d1161024f57806353a3f616116102085780636d13582c116101e25780636d13582c14610560578063722713f7146105805780637bbf88cd1461059557806382378594146105b557600080fd5b806353a3f6161461050257806359739ec41461052a5780635aa6e6751461054057600080fd5b80634641257d14610480578063479119be146104955780634c2798ad146104ac5780634fe809cc1461042a57806351cff8d9146104cc57806351f3d0b8146104ec57600080fd5b80631f1fcd51116102a15780631f1fcd51146103ca5780631fe4a686146103ea578063249fb9b41461040a57806326e886c61461042a5780632e1a7d4d14610440578063430688201461046057600080fd5b80630547104d146102e95780630dfe1681146103185780630e364fb614610350578063115880861461037257806317d7de7c146103955780631cff79cd146103b7575b600080fd5b3480156102f557600080fd5b506102fe6108d6565b604080519283526020830191909152015b60405180910390f35b34801561032457600080fd5b50600c54610338906001600160a01b031681565b6040516001600160a01b03909116815260200161030f565b34801561035c57600080fd5b5061037061036b366004612b23565b610a15565b005b34801561037e57600080fd5b50610387610b0b565b60405190815260200161030f565b3480156103a157600080fd5b506103aa610b9c565b60405161030f9190612bf4565b6103aa6103c5366004612c8c565b610bbc565b3480156103d657600080fd5b50600554610338906001600160a01b031681565b3480156103f657600080fd5b50600854610338906001600160a01b031681565b34801561041657600080fd5b50610370610425366004612d34565b610c79565b34801561043657600080fd5b5061038761271081565b34801561044c57600080fd5b5061037061045b366004612d34565b610ca8565b34801561046c57600080fd5b50601154610338906001600160a01b031681565b34801561048c57600080fd5b50610370610f62565b3480156104a157600080fd5b50610387620186a081565b3480156104b857600080fd5b506103706104c7366004612d34565b611a16565b3480156104d857600080fd5b506103876104e7366004612d4d565b611a45565b3480156104f857600080fd5b5061038760035481565b34801561050e57600080fd5b5061033873888ef71766ca594ded1f0fa3ae64ed2941740a2081565b34801561053657600080fd5b5061038760005481565b34801561054c57600080fd5b50600654610338906001600160a01b031681565b34801561056c57600080fd5b50600a54610338906001600160a01b031681565b34801561058c57600080fd5b50610387611b43565b3480156105a157600080fd5b50601254610338906001600160a01b031681565b3480156105c157600080fd5b506103706105d0366004612d34565b611b63565b3480156105e157600080fd5b50610387611b92565b3480156105f657600080fd5b50600f54610338906001600160a01b031681565b34801561061657600080fd5b5061063a610625366004612d4d565b600b6020526000908152604090205460ff1681565b604051901515815260200161030f565b34801561065657600080fd5b5061038760015481565b34801561066c57600080fd5b5061038760025481565b34801561068257600080fd5b50610370610691366004612d4d565b611cec565b3480156106a257600080fd5b506103387326e1a0d851cf28e697870e1b7f053b605c8b060f81565b3480156106ca57600080fd5b50601054610338906001600160a01b031681565b3480156106ea57600080fd5b506103706106f9366004612d4d565b611d38565b34801561070a57600080fd5b50610370610719366004612d34565b611da2565b34801561072a57600080fd5b50610370610739366004612b23565b611dd1565b34801561074a57600080fd5b50610370610759366004612d4d565b611ea3565b34801561076a57600080fd5b50610387611eef565b34801561077f57600080fd5b5061038760045481565b34801561079557600080fd5b506103876107a4366004612d34565b611f5c565b3480156107b557600080fd5b506103706107c4366004612d34565b6120ba565b3480156107d557600080fd5b506103706107e4366004612d4d565b6120e9565b3480156107f557600080fd5b5061033873a38cd27185a464914d3046f0ab9d43356b34829d81565b34801561081d57600080fd5b50610370612153565b34801561083257600080fd5b50600d54610338906001600160a01b031681565b34801561085257600080fd5b50600954610338906001600160a01b031681565b34801561087257600080fd5b506103387321be370d5312f44cb42ce377bc9b8a0cef1a4c8381565b34801561089a57600080fd5b5061033873d31fcd1f7ba190dbc75354046f6024a9b86014d781565b3480156108c257600080fd5b50600754610338906001600160a01b031681565b6040805160018082528183019092526000918291829160208083019080368337505060055482519293506001600160a01b03169183915060009061091c5761091c612d6a565b6001600160a01b0390921660209283029190910190910152604051630f7e058760e21b81526000907326e1a0d851cf28e697870e1b7f053b605c8b060f90633df8161c906109709030908690600401612dc4565b600060405180830381865afa15801561098d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109b59190810190612e0c565b90508051600014156109cd5750600093849350915050565b806000815181106109e0576109e0612d6a565b602002602001015160000151816000815181106109ff576109ff612d6a565b6020026020010151602001519350935050509091565b6006546001600160a01b0316331480610a3857506008546001600160a01b031633145b80610a525750336000908152600b602052604090205460ff165b610a945760405162461bcd60e51b815260206004820152600e60248201526d1b9bdd08185d5d1a1bdc9a5e995960921b60448201526064015b60405180910390fd5b60005b81811015610b06576001600b6000858585818110610ab757610ab7612d6a565b9050602002016020810190610acc9190612d4d565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610afe81612edd565b915050610a97565b505050565b60055460405163015b6a3360e71b81523060048201526001600160a01b03909116602482015260009081907326e1a0d851cf28e697870e1b7f053b605c8b060f9063adb5198090604401602060405180830381865afa158015610b72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b969190612ef8565b92915050565b60606040518060600160405280602381526020016131db60239139905090565b6009546060906001600160a01b03163314610be95760405162461bcd60e51b8152600401610a8b90612f11565b6001600160a01b038316610c295760405162461bcd60e51b8152602060048201526007602482015266085d185c99d95d60ca1b6044820152606401610a8b565b600080835160208501866113885a03f43d6040519250601f19601f6020830101168301604052808352806000602085013e811560018114610c6957610c70565b8160208501fd5b50505092915050565b6009546001600160a01b03163314610ca35760405162461bcd60e51b8152600401610a8b90612f11565b600055565b6007546001600160a01b03163314610cd25760405162461bcd60e51b8152600401610a8b90612f34565b6005546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3f9190612ef8565b905081811015610d6a57610d5b610d568383612353565b61239c565b9150610d67828261241d565b91505b6000610d8e620186a0610d886003548661247c90919063ffffffff16565b906124fb565b9050610e1d600760009054906101000a90046001600160a01b03166001600160a01b0316638d8f1e676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610de6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0a9190612f59565b6005546001600160a01b0316908361253d565b6000610e3b620186a0610d886002548761247c90919063ffffffff16565b9050610e93600760009054906101000a90046001600160a01b03166001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610de6573d6000803e3d6000fd5b600754600554604051636535246160e11b81526001600160a01b039182166004820152600092919091169063ca6a48c290602401602060405180830381865afa158015610ee4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f089190612f59565b90506001600160a01b038116610f305760405162461bcd60e51b8152600401610a8b90612f76565b610f5b81610f4884610f428988612353565b90612353565b6005546001600160a01b0316919061253d565b5050505050565b60408051600180825281830190925260009160208083019080368337505060055482519293506001600160a01b031691839150600090610fa457610fa4612d6a565b6001600160a01b0390921660209283029190910190910152604051633febe83160e11b81527326e1a0d851cf28e697870e1b7f053b605c8b060f90637fd7d06290610ff3908490600401612f94565b600060405180830381600087803b15801561100d57600080fd5b505af1158015611021573d6000803e3d6000fd5b50506040516370a0823160e01b81523060048201526000925073888ef71766ca594ded1f0fa3ae64ed2941740a2091506370a0823190602401602060405180830381865afa158015611077573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109b9190612ef8565b6040516370a0823160e01b815230600482015290915060009073d31fcd1f7ba190dbc75354046f6024a9b86014d7906370a0823190602401602060405180830381865afa1580156110f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111149190612ef8565b905081158015611122575080155b1561112c57505050565b81156111655761116573888ef71766ca594ded1f0fa3ae64ed2941740a207321be370d5312f44cb42ce377bc9b8a0cef1a4c838461258f565b80156112a557604080516001808252818301909252600091816020015b60408051606081018252600080825260208083018290529282015282526000199092019101816111825750506040805160608101825273d31fcd1f7ba190dbc75354046f6024a9b86014d781527321be370d5312f44cb42ce377bc9b8a0cef1a4c836020820152600091810182905282519293509183919061120657611206612d6a565b602090810291909101015273a38cd27185a464914d3046f0ab9d43356b34829d63f41766d8836000843061123b42603c612fa7565b6040518663ffffffff1660e01b815260040161125b959493929190612fbf565b6000604051808303816000875af115801561127a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112a29190810190613054565b50505b6040516370a0823160e01b81523060048201526000907321be370d5312f44cb42ce377bc9b8a0cef1a4c83906370a0823190602401602060405180830381865afa1580156112f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131b9190612ef8565b9050600061133a612710610d886004548561247c90919063ffffffff16565b90506113d2600760009054906101000a90046001600160a01b03166001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611392573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b69190612f59565b7321be370d5312f44cb42ce377bc9b8a0cef1a4c83908361253d565b6113dc8282612353565b915060006113eb8360026124fb565b905060006113f98483612353565b9050831561157557600c546001600160a01b03166000908152600e6020526040902054156114c157600c546001600160a01b03166000908152600e6020908152604080832080548251818502810185019093528083526114c194879484015b828210156114b8576000848152602090819020604080516060810182526002860290920180546001600160a01b03908116845260019182015490811684860152600160a01b900460ff161515918301919091529083529092019101611458565b505050506127d7565b600d546001600160a01b03166000908152600e60205260409020541561157557600d546001600160a01b03166000908152600e602090815260408083208054825181850281018501909352808352611575948694840182156114b8576000848152602090819020604080516060810182526002860290920180546001600160a01b03908116845260019182015490811684860152600160a01b900460ff161515918301919091529083529092019101611458565b600c546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156115be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115e29190612ef8565b600d546040516370a0823160e01b81523060048201529192506000916001600160a01b03909116906370a0823190602401602060405180830381865afa158015611630573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116549190612ef8565b90506000821180156116665750600081115b15611a0357600c54600d54600554604080516322be3de160e01b8152905173a38cd27185a464914d3046f0ab9d43356b34829d94635a47ddc3946001600160a01b0391821694908216939116916322be3de19160048082019260209290919082900301816000875af11580156116e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170491906130da565b86866000803061171542603c612fa7565b60405160e08b901b6001600160e01b03191681526001600160a01b03998a166004820152978916602489015295151560448801526064870194909452608486019290925260a485015260c484015290921660e4820152610104810191909152610124016060604051808303816000875af1158015611797573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bb91906130fc565b5050600c54600754604080516361d027b360e01b815290516001600160a01b03938416945063a9059cbb93909216916361d027b3916004808201926020929091908290030181865afa158015611815573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118399190612f59565b600c546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611881573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a59190612ef8565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156118f0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191491906130da565b50600754604080516361d027b360e01b81529051611a03926001600160a01b0316916361d027b39160048083019260209291908290030181865afa158015611960573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119849190612f59565b600d546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156119cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f09190612ef8565b600d546001600160a01b0316919061253d565b611a0b61285e565b505050505050505050565b6009546001600160a01b03163314611a405760405162461bcd60e51b8152600401610a8b90612f11565b600455565b6007546000906001600160a01b03163314611a725760405162461bcd60e51b8152600401610a8b90612f34565b6005546001600160a01b0383811691161415611ab95760405162461bcd60e51b8152600401610a8b906020808252600490820152631dd85b9d60e21b604082015260600190565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa158015611afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b219190612ef8565b600754909150611b3e906001600160a01b0384811691168361253d565b919050565b6000611b5e611b50610b0b565b611b58611eef565b9061241d565b905090565b6009546001600160a01b03163314611b8d5760405162461bcd60e51b8152600401610a8b90612f11565b600255565b6007546000906001600160a01b03163314611bbf5760405162461bcd60e51b8152600401610a8b90612f34565b611bc76128db565b6005546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611c0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c339190612ef8565b600754600554604051636535246160e11b81526001600160a01b03918216600482015292935060009291169063ca6a48c290602401602060405180830381865afa158015611c85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca99190612f59565b90506001600160a01b038116611cd15760405162461bcd60e51b8152600401610a8b90612f76565b600554611ce8906001600160a01b0316828461253d565b5090565b6009546001600160a01b03163314611d165760405162461bcd60e51b8152600401610a8b90612f11565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314611d805760405162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b6044820152606401610a8b565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6009546001600160a01b03163314611dcc5760405162461bcd60e51b8152600401610a8b90612f11565b600355565b6006546001600160a01b0316331480611df457506008546001600160a01b031633145b611e315760405162461bcd60e51b815260206004820152600e60248201526d1b9bdd08185d5d1a1bdc9a5e995960921b6044820152606401610a8b565b60005b81811015610b06576000600b6000858585818110611e5457611e54612d6a565b9050602002016020810190611e699190612d4d565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611e9b81612edd565b915050611e34565b6009546001600160a01b03163314611ecd5760405162461bcd60e51b8152600401610a8b90612f11565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6005546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611f38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5e9190612ef8565b6007546000906001600160a01b03163314611f895760405162461bcd60e51b8152600401610a8b90612f34565b611f928261239c565b506005546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611fdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fff9190612ef8565b600754600554604051636535246160e11b81526001600160a01b03918216600482015292935060009291169063ca6a48c290602401602060405180830381865afa158015612051573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120759190612f59565b90506001600160a01b03811661209d5760405162461bcd60e51b8152600401610a8b90612f76565b6005546120b4906001600160a01b0316828461253d565b50919050565b6009546001600160a01b031633146120e45760405162461bcd60e51b8152600401610a8b90612f11565b600155565b6006546001600160a01b031633146121315760405162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b6044820152606401610a8b565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561219c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c09190612ef8565b905080156123505760055460405163095ea7b360e01b81527326e1a0d851cf28e697870e1b7f053b605c8b060f6004820152600060248201526001600160a01b039091169063095ea7b3906044016020604051808303816000875af115801561222d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061225191906130da565b5060055460405163095ea7b360e01b81527326e1a0d851cf28e697870e1b7f053b605c8b060f6004820152602481018390526001600160a01b039091169063095ea7b3906044016020604051808303816000875af11580156122b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122db91906130da565b506005546040516311f9fbc960e21b81526001600160a01b039091166004820152602481018290527326e1a0d851cf28e697870e1b7f053b605c8b060f906347e7ef2490604401600060405180830381600087803b15801561233c57600080fd5b505af1158015610f5b573d6000803e3d6000fd5b50565b600061239583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506128e6565b9392505050565b60055460405163f3fef3a360e01b81526001600160a01b039091166004820152602481018290526000907326e1a0d851cf28e697870e1b7f053b605c8b060f9063f3fef3a390604401600060405180830381600087803b1580156123ff57600080fd5b505af1158015612413573d6000803e3d6000fd5b5093949350505050565b60008061242a8385612fa7565b9050838110156123955760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a8b565b60008261248b57506000610b96565b6000612497838561312a565b9050826124a48583613149565b146123955760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a8b565b600061239583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612920565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610b0690849061294e565b6001600160a01b0382166125a257600080fd5b60606001600160a01b0384167321be370d5312f44cb42ce377bc9b8a0cef1a4c8314806125eb57506001600160a01b0383167321be370d5312f44cb42ce377bc9b8a0cef1a4c83145b1561267d576040805160028082526060820183529091602083019080368337019050509050838160008151811061262457612624612d6a565b60200260200101906001600160a01b031690816001600160a01b031681525050828160018151811061265857612658612d6a565b60200260200101906001600160a01b031690816001600160a01b03168152505061274f565b60408051600380825260808201909252906020820160608036833701905050905083816000815181106126b2576126b2612d6a565b60200260200101906001600160a01b031690816001600160a01b0316815250507321be370d5312f44cb42ce377bc9b8a0cef1a4c83816001815181106126fa576126fa612d6a565b60200260200101906001600160a01b031690816001600160a01b031681525050828160028151811061272e5761272e612d6a565b60200260200101906001600160a01b031690816001600160a01b0316815250505b600a546001600160a01b03166338ed1739836000843061277042603c61241d565b6040518663ffffffff1660e01b815260040161279095949392919061316b565b6000604051808303816000875af11580156127af573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f5b9190810190613054565b604051631e82ecdb60e31b815273a38cd27185a464914d3046f0ab9d43356b34829d9063f41766d890612817908590600090869030904290600401612fbf565b6000604051808303816000875af1158015612836573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b069190810190613054565b6005546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156128a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128cb9190612ef8565b9050801561235057612350612153565b612350610d56610b0b565b6000818484111561290a5760405162461bcd60e51b8152600401610a8b9190612bf4565b50600061291784866131a7565b95945050505050565b600081836129415760405162461bcd60e51b8152600401610a8b9190612bf4565b5060006129178486613149565b60006129a3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a209092919063ffffffff16565b805190915015610b0657808060200190518101906129c191906130da565b610b065760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a8b565b6060612a2f8484600085612a37565b949350505050565b6060843b612a875760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a8b565b600080866001600160a01b03168587604051612aa391906131be565b60006040518083038185875af1925050503d8060008114612ae0576040519150601f19603f3d011682016040523d82523d6000602084013e612ae5565b606091505b50915091508115612af9579150612a2f9050565b805115612b095780518082602001fd5b8360405162461bcd60e51b8152600401610a8b9190612bf4565b60008060208385031215612b3657600080fd5b823567ffffffffffffffff80821115612b4e57600080fd5b818501915085601f830112612b6257600080fd5b813581811115612b7157600080fd5b8660208260051b8501011115612b8657600080fd5b60209290920196919550909350505050565b60005b83811015612bb3578181015183820152602001612b9b565b83811115612bc2576000848401525b50505050565b60008151808452612be0816020860160208601612b98565b601f01601f19169290920160200192915050565b6020815260006123956020830184612bc8565b6001600160a01b038116811461235057600080fd5b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715612c5557612c55612c1c565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612c8457612c84612c1c565b604052919050565b60008060408385031215612c9f57600080fd5b8235612caa81612c07565b915060208381013567ffffffffffffffff80821115612cc857600080fd5b818601915086601f830112612cdc57600080fd5b813581811115612cee57612cee612c1c565b612d00601f8201601f19168501612c5b565b91508082528784828501011115612d1657600080fd5b80848401858401376000848284010152508093505050509250929050565b600060208284031215612d4657600080fd5b5035919050565b600060208284031215612d5f57600080fd5b813561239581612c07565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015612db95781516001600160a01b031687529582019590820190600101612d94565b509495945050505050565b6001600160a01b0383168152604060208201819052600090612a2f90830184612d80565b600067ffffffffffffffff821115612e0257612e02612c1c565b5060051b60200190565b60006020808385031215612e1f57600080fd5b825167ffffffffffffffff811115612e3657600080fd5b8301601f81018513612e4757600080fd5b8051612e5a612e5582612de8565b612c5b565b81815260069190911b82018301908381019087831115612e7957600080fd5b928401925b82841015612ebc5760408489031215612e975760008081fd5b612e9f612c32565b845181528585015186820152825260409093019290840190612e7e565b979650505050505050565b634e487b7160e01b600052601160045260246000fd5b6000600019821415612ef157612ef1612ec7565b5060010190565b600060208284031215612f0a57600080fd5b5051919050565b6020808252600990820152682174696d656c6f636b60b81b604082015260600190565b6020808252600b908201526a10b1b7b73a3937b63632b960a91b604082015260600190565b600060208284031215612f6b57600080fd5b815161239581612c07565b60208082526004908201526310b530b960e11b604082015260600190565b6020815260006123956020830184612d80565b60008219821115612fba57612fba612ec7565b500190565b600060a0820187835260208781850152604060a08186015282885180855260c087019150838a01945060005b8181101561302857855180516001600160a01b03908116855286820151168685015284015115158484015294840194606090920191600101612feb565b50506001600160a01b0388166060870152935061304492505050565b8260808301529695505050505050565b6000602080838503121561306757600080fd5b825167ffffffffffffffff81111561307e57600080fd5b8301601f8101851361308f57600080fd5b805161309d612e5582612de8565b81815260059190911b820183019083810190878311156130bc57600080fd5b928401925b82841015612ebc578351825292840192908401906130c1565b6000602082840312156130ec57600080fd5b8151801515811461239557600080fd5b60008060006060848603121561311157600080fd5b8351925060208401519150604084015190509250925092565b600081600019048311821515161561314457613144612ec7565b500290565b60008261316657634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a06040820152600061318a60a0830186612d80565b6001600160a01b0394909416606083015250608001529392505050565b6000828210156131b9576131b9612ec7565b500390565b600082516131d0818460208701612b98565b919091019291505056fe5374726174656779536f6c69646578566f6c6174696c65473363727647656973744c70a26469706673582212202a927dc7bced50c36ac087fc00c0ba3fc1ab8ac6dce45213caef77b2cb4e00c964736f6c634300080b0033000000000000000000000000e4ee7edddbebda077975505d11decb16498264fb0000000000000000000000004204fdd868ffe0e62f57e6a626f8c9530f7d5ad1000000000000000000000000c335740c951f45200b38c5ca84f0a9663b51aec6000000000000000000000000e4ee7edddbebda077975505d11decb16498264fb

Deployed Bytecode

0x6080604052600436106102e45760003560e01c8063853828b611610190578063c39d4334116100dc578063d21220a711610095578063f4f45b461161006f578063f4f45b4614610866578063f758ceab1461088e578063f77c4791146108b6578063fe1f8f7a1461049557600080fd5b8063d21220a714610826578063d33219b414610846578063e80028bf1461042a57600080fd5b8063c39d433414610773578063c6223e2614610789578063c65e3242146107a9578063c7b9d530146107c9578063c946f9ce146107e9578063d0e30db01461081157600080fd5b80639ec5a89411610149578063ab73e43311610123578063ab73e433146106fe578063b1f55bd41461071e578063bdacb3031461073e578063c1a3d44c1461075e57600080fd5b80639ec5a89414610696578063a250b218146106be578063ab033ea9146106de57600080fd5b8063853828b6146105d5578063866cb90d146105ea578063879765831461060a57806388993f221461064a5780638ccdbb701461066057806392eefe9b1461067657600080fd5b80634641257d1161024f57806353a3f616116102085780636d13582c116101e25780636d13582c14610560578063722713f7146105805780637bbf88cd1461059557806382378594146105b557600080fd5b806353a3f6161461050257806359739ec41461052a5780635aa6e6751461054057600080fd5b80634641257d14610480578063479119be146104955780634c2798ad146104ac5780634fe809cc1461042a57806351cff8d9146104cc57806351f3d0b8146104ec57600080fd5b80631f1fcd51116102a15780631f1fcd51146103ca5780631fe4a686146103ea578063249fb9b41461040a57806326e886c61461042a5780632e1a7d4d14610440578063430688201461046057600080fd5b80630547104d146102e95780630dfe1681146103185780630e364fb614610350578063115880861461037257806317d7de7c146103955780631cff79cd146103b7575b600080fd5b3480156102f557600080fd5b506102fe6108d6565b604080519283526020830191909152015b60405180910390f35b34801561032457600080fd5b50600c54610338906001600160a01b031681565b6040516001600160a01b03909116815260200161030f565b34801561035c57600080fd5b5061037061036b366004612b23565b610a15565b005b34801561037e57600080fd5b50610387610b0b565b60405190815260200161030f565b3480156103a157600080fd5b506103aa610b9c565b60405161030f9190612bf4565b6103aa6103c5366004612c8c565b610bbc565b3480156103d657600080fd5b50600554610338906001600160a01b031681565b3480156103f657600080fd5b50600854610338906001600160a01b031681565b34801561041657600080fd5b50610370610425366004612d34565b610c79565b34801561043657600080fd5b5061038761271081565b34801561044c57600080fd5b5061037061045b366004612d34565b610ca8565b34801561046c57600080fd5b50601154610338906001600160a01b031681565b34801561048c57600080fd5b50610370610f62565b3480156104a157600080fd5b50610387620186a081565b3480156104b857600080fd5b506103706104c7366004612d34565b611a16565b3480156104d857600080fd5b506103876104e7366004612d4d565b611a45565b3480156104f857600080fd5b5061038760035481565b34801561050e57600080fd5b5061033873888ef71766ca594ded1f0fa3ae64ed2941740a2081565b34801561053657600080fd5b5061038760005481565b34801561054c57600080fd5b50600654610338906001600160a01b031681565b34801561056c57600080fd5b50600a54610338906001600160a01b031681565b34801561058c57600080fd5b50610387611b43565b3480156105a157600080fd5b50601254610338906001600160a01b031681565b3480156105c157600080fd5b506103706105d0366004612d34565b611b63565b3480156105e157600080fd5b50610387611b92565b3480156105f657600080fd5b50600f54610338906001600160a01b031681565b34801561061657600080fd5b5061063a610625366004612d4d565b600b6020526000908152604090205460ff1681565b604051901515815260200161030f565b34801561065657600080fd5b5061038760015481565b34801561066c57600080fd5b5061038760025481565b34801561068257600080fd5b50610370610691366004612d4d565b611cec565b3480156106a257600080fd5b506103387326e1a0d851cf28e697870e1b7f053b605c8b060f81565b3480156106ca57600080fd5b50601054610338906001600160a01b031681565b3480156106ea57600080fd5b506103706106f9366004612d4d565b611d38565b34801561070a57600080fd5b50610370610719366004612d34565b611da2565b34801561072a57600080fd5b50610370610739366004612b23565b611dd1565b34801561074a57600080fd5b50610370610759366004612d4d565b611ea3565b34801561076a57600080fd5b50610387611eef565b34801561077f57600080fd5b5061038760045481565b34801561079557600080fd5b506103876107a4366004612d34565b611f5c565b3480156107b557600080fd5b506103706107c4366004612d34565b6120ba565b3480156107d557600080fd5b506103706107e4366004612d4d565b6120e9565b3480156107f557600080fd5b5061033873a38cd27185a464914d3046f0ab9d43356b34829d81565b34801561081d57600080fd5b50610370612153565b34801561083257600080fd5b50600d54610338906001600160a01b031681565b34801561085257600080fd5b50600954610338906001600160a01b031681565b34801561087257600080fd5b506103387321be370d5312f44cb42ce377bc9b8a0cef1a4c8381565b34801561089a57600080fd5b5061033873d31fcd1f7ba190dbc75354046f6024a9b86014d781565b3480156108c257600080fd5b50600754610338906001600160a01b031681565b6040805160018082528183019092526000918291829160208083019080368337505060055482519293506001600160a01b03169183915060009061091c5761091c612d6a565b6001600160a01b0390921660209283029190910190910152604051630f7e058760e21b81526000907326e1a0d851cf28e697870e1b7f053b605c8b060f90633df8161c906109709030908690600401612dc4565b600060405180830381865afa15801561098d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109b59190810190612e0c565b90508051600014156109cd5750600093849350915050565b806000815181106109e0576109e0612d6a565b602002602001015160000151816000815181106109ff576109ff612d6a565b6020026020010151602001519350935050509091565b6006546001600160a01b0316331480610a3857506008546001600160a01b031633145b80610a525750336000908152600b602052604090205460ff165b610a945760405162461bcd60e51b815260206004820152600e60248201526d1b9bdd08185d5d1a1bdc9a5e995960921b60448201526064015b60405180910390fd5b60005b81811015610b06576001600b6000858585818110610ab757610ab7612d6a565b9050602002016020810190610acc9190612d4d565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610afe81612edd565b915050610a97565b505050565b60055460405163015b6a3360e71b81523060048201526001600160a01b03909116602482015260009081907326e1a0d851cf28e697870e1b7f053b605c8b060f9063adb5198090604401602060405180830381865afa158015610b72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b969190612ef8565b92915050565b60606040518060600160405280602381526020016131db60239139905090565b6009546060906001600160a01b03163314610be95760405162461bcd60e51b8152600401610a8b90612f11565b6001600160a01b038316610c295760405162461bcd60e51b8152602060048201526007602482015266085d185c99d95d60ca1b6044820152606401610a8b565b600080835160208501866113885a03f43d6040519250601f19601f6020830101168301604052808352806000602085013e811560018114610c6957610c70565b8160208501fd5b50505092915050565b6009546001600160a01b03163314610ca35760405162461bcd60e51b8152600401610a8b90612f11565b600055565b6007546001600160a01b03163314610cd25760405162461bcd60e51b8152600401610a8b90612f34565b6005546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3f9190612ef8565b905081811015610d6a57610d5b610d568383612353565b61239c565b9150610d67828261241d565b91505b6000610d8e620186a0610d886003548661247c90919063ffffffff16565b906124fb565b9050610e1d600760009054906101000a90046001600160a01b03166001600160a01b0316638d8f1e676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610de6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0a9190612f59565b6005546001600160a01b0316908361253d565b6000610e3b620186a0610d886002548761247c90919063ffffffff16565b9050610e93600760009054906101000a90046001600160a01b03166001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610de6573d6000803e3d6000fd5b600754600554604051636535246160e11b81526001600160a01b039182166004820152600092919091169063ca6a48c290602401602060405180830381865afa158015610ee4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f089190612f59565b90506001600160a01b038116610f305760405162461bcd60e51b8152600401610a8b90612f76565b610f5b81610f4884610f428988612353565b90612353565b6005546001600160a01b0316919061253d565b5050505050565b60408051600180825281830190925260009160208083019080368337505060055482519293506001600160a01b031691839150600090610fa457610fa4612d6a565b6001600160a01b0390921660209283029190910190910152604051633febe83160e11b81527326e1a0d851cf28e697870e1b7f053b605c8b060f90637fd7d06290610ff3908490600401612f94565b600060405180830381600087803b15801561100d57600080fd5b505af1158015611021573d6000803e3d6000fd5b50506040516370a0823160e01b81523060048201526000925073888ef71766ca594ded1f0fa3ae64ed2941740a2091506370a0823190602401602060405180830381865afa158015611077573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109b9190612ef8565b6040516370a0823160e01b815230600482015290915060009073d31fcd1f7ba190dbc75354046f6024a9b86014d7906370a0823190602401602060405180830381865afa1580156110f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111149190612ef8565b905081158015611122575080155b1561112c57505050565b81156111655761116573888ef71766ca594ded1f0fa3ae64ed2941740a207321be370d5312f44cb42ce377bc9b8a0cef1a4c838461258f565b80156112a557604080516001808252818301909252600091816020015b60408051606081018252600080825260208083018290529282015282526000199092019101816111825750506040805160608101825273d31fcd1f7ba190dbc75354046f6024a9b86014d781527321be370d5312f44cb42ce377bc9b8a0cef1a4c836020820152600091810182905282519293509183919061120657611206612d6a565b602090810291909101015273a38cd27185a464914d3046f0ab9d43356b34829d63f41766d8836000843061123b42603c612fa7565b6040518663ffffffff1660e01b815260040161125b959493929190612fbf565b6000604051808303816000875af115801561127a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112a29190810190613054565b50505b6040516370a0823160e01b81523060048201526000907321be370d5312f44cb42ce377bc9b8a0cef1a4c83906370a0823190602401602060405180830381865afa1580156112f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131b9190612ef8565b9050600061133a612710610d886004548561247c90919063ffffffff16565b90506113d2600760009054906101000a90046001600160a01b03166001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611392573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b69190612f59565b7321be370d5312f44cb42ce377bc9b8a0cef1a4c83908361253d565b6113dc8282612353565b915060006113eb8360026124fb565b905060006113f98483612353565b9050831561157557600c546001600160a01b03166000908152600e6020526040902054156114c157600c546001600160a01b03166000908152600e6020908152604080832080548251818502810185019093528083526114c194879484015b828210156114b8576000848152602090819020604080516060810182526002860290920180546001600160a01b03908116845260019182015490811684860152600160a01b900460ff161515918301919091529083529092019101611458565b505050506127d7565b600d546001600160a01b03166000908152600e60205260409020541561157557600d546001600160a01b03166000908152600e602090815260408083208054825181850281018501909352808352611575948694840182156114b8576000848152602090819020604080516060810182526002860290920180546001600160a01b03908116845260019182015490811684860152600160a01b900460ff161515918301919091529083529092019101611458565b600c546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156115be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115e29190612ef8565b600d546040516370a0823160e01b81523060048201529192506000916001600160a01b03909116906370a0823190602401602060405180830381865afa158015611630573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116549190612ef8565b90506000821180156116665750600081115b15611a0357600c54600d54600554604080516322be3de160e01b8152905173a38cd27185a464914d3046f0ab9d43356b34829d94635a47ddc3946001600160a01b0391821694908216939116916322be3de19160048082019260209290919082900301816000875af11580156116e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170491906130da565b86866000803061171542603c612fa7565b60405160e08b901b6001600160e01b03191681526001600160a01b03998a166004820152978916602489015295151560448801526064870194909452608486019290925260a485015260c484015290921660e4820152610104810191909152610124016060604051808303816000875af1158015611797573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bb91906130fc565b5050600c54600754604080516361d027b360e01b815290516001600160a01b03938416945063a9059cbb93909216916361d027b3916004808201926020929091908290030181865afa158015611815573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118399190612f59565b600c546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611881573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a59190612ef8565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156118f0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191491906130da565b50600754604080516361d027b360e01b81529051611a03926001600160a01b0316916361d027b39160048083019260209291908290030181865afa158015611960573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119849190612f59565b600d546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156119cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f09190612ef8565b600d546001600160a01b0316919061253d565b611a0b61285e565b505050505050505050565b6009546001600160a01b03163314611a405760405162461bcd60e51b8152600401610a8b90612f11565b600455565b6007546000906001600160a01b03163314611a725760405162461bcd60e51b8152600401610a8b90612f34565b6005546001600160a01b0383811691161415611ab95760405162461bcd60e51b8152600401610a8b906020808252600490820152631dd85b9d60e21b604082015260600190565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa158015611afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b219190612ef8565b600754909150611b3e906001600160a01b0384811691168361253d565b919050565b6000611b5e611b50610b0b565b611b58611eef565b9061241d565b905090565b6009546001600160a01b03163314611b8d5760405162461bcd60e51b8152600401610a8b90612f11565b600255565b6007546000906001600160a01b03163314611bbf5760405162461bcd60e51b8152600401610a8b90612f34565b611bc76128db565b6005546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611c0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c339190612ef8565b600754600554604051636535246160e11b81526001600160a01b03918216600482015292935060009291169063ca6a48c290602401602060405180830381865afa158015611c85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca99190612f59565b90506001600160a01b038116611cd15760405162461bcd60e51b8152600401610a8b90612f76565b600554611ce8906001600160a01b0316828461253d565b5090565b6009546001600160a01b03163314611d165760405162461bcd60e51b8152600401610a8b90612f11565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314611d805760405162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b6044820152606401610a8b565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6009546001600160a01b03163314611dcc5760405162461bcd60e51b8152600401610a8b90612f11565b600355565b6006546001600160a01b0316331480611df457506008546001600160a01b031633145b611e315760405162461bcd60e51b815260206004820152600e60248201526d1b9bdd08185d5d1a1bdc9a5e995960921b6044820152606401610a8b565b60005b81811015610b06576000600b6000858585818110611e5457611e54612d6a565b9050602002016020810190611e699190612d4d565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611e9b81612edd565b915050611e34565b6009546001600160a01b03163314611ecd5760405162461bcd60e51b8152600401610a8b90612f11565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6005546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611f38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5e9190612ef8565b6007546000906001600160a01b03163314611f895760405162461bcd60e51b8152600401610a8b90612f34565b611f928261239c565b506005546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611fdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fff9190612ef8565b600754600554604051636535246160e11b81526001600160a01b03918216600482015292935060009291169063ca6a48c290602401602060405180830381865afa158015612051573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120759190612f59565b90506001600160a01b03811661209d5760405162461bcd60e51b8152600401610a8b90612f76565b6005546120b4906001600160a01b0316828461253d565b50919050565b6009546001600160a01b031633146120e45760405162461bcd60e51b8152600401610a8b90612f11565b600155565b6006546001600160a01b031633146121315760405162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b6044820152606401610a8b565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561219c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c09190612ef8565b905080156123505760055460405163095ea7b360e01b81527326e1a0d851cf28e697870e1b7f053b605c8b060f6004820152600060248201526001600160a01b039091169063095ea7b3906044016020604051808303816000875af115801561222d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061225191906130da565b5060055460405163095ea7b360e01b81527326e1a0d851cf28e697870e1b7f053b605c8b060f6004820152602481018390526001600160a01b039091169063095ea7b3906044016020604051808303816000875af11580156122b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122db91906130da565b506005546040516311f9fbc960e21b81526001600160a01b039091166004820152602481018290527326e1a0d851cf28e697870e1b7f053b605c8b060f906347e7ef2490604401600060405180830381600087803b15801561233c57600080fd5b505af1158015610f5b573d6000803e3d6000fd5b50565b600061239583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506128e6565b9392505050565b60055460405163f3fef3a360e01b81526001600160a01b039091166004820152602481018290526000907326e1a0d851cf28e697870e1b7f053b605c8b060f9063f3fef3a390604401600060405180830381600087803b1580156123ff57600080fd5b505af1158015612413573d6000803e3d6000fd5b5093949350505050565b60008061242a8385612fa7565b9050838110156123955760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a8b565b60008261248b57506000610b96565b6000612497838561312a565b9050826124a48583613149565b146123955760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a8b565b600061239583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612920565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610b0690849061294e565b6001600160a01b0382166125a257600080fd5b60606001600160a01b0384167321be370d5312f44cb42ce377bc9b8a0cef1a4c8314806125eb57506001600160a01b0383167321be370d5312f44cb42ce377bc9b8a0cef1a4c83145b1561267d576040805160028082526060820183529091602083019080368337019050509050838160008151811061262457612624612d6a565b60200260200101906001600160a01b031690816001600160a01b031681525050828160018151811061265857612658612d6a565b60200260200101906001600160a01b031690816001600160a01b03168152505061274f565b60408051600380825260808201909252906020820160608036833701905050905083816000815181106126b2576126b2612d6a565b60200260200101906001600160a01b031690816001600160a01b0316815250507321be370d5312f44cb42ce377bc9b8a0cef1a4c83816001815181106126fa576126fa612d6a565b60200260200101906001600160a01b031690816001600160a01b031681525050828160028151811061272e5761272e612d6a565b60200260200101906001600160a01b031690816001600160a01b0316815250505b600a546001600160a01b03166338ed1739836000843061277042603c61241d565b6040518663ffffffff1660e01b815260040161279095949392919061316b565b6000604051808303816000875af11580156127af573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f5b9190810190613054565b604051631e82ecdb60e31b815273a38cd27185a464914d3046f0ab9d43356b34829d9063f41766d890612817908590600090869030904290600401612fbf565b6000604051808303816000875af1158015612836573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b069190810190613054565b6005546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156128a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128cb9190612ef8565b9050801561235057612350612153565b612350610d56610b0b565b6000818484111561290a5760405162461bcd60e51b8152600401610a8b9190612bf4565b50600061291784866131a7565b95945050505050565b600081836129415760405162461bcd60e51b8152600401610a8b9190612bf4565b5060006129178486613149565b60006129a3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a209092919063ffffffff16565b805190915015610b0657808060200190518101906129c191906130da565b610b065760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a8b565b6060612a2f8484600085612a37565b949350505050565b6060843b612a875760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a8b565b600080866001600160a01b03168587604051612aa391906131be565b60006040518083038185875af1925050503d8060008114612ae0576040519150601f19603f3d011682016040523d82523d6000602084013e612ae5565b606091505b50915091508115612af9579150612a2f9050565b805115612b095780518082602001fd5b8360405162461bcd60e51b8152600401610a8b9190612bf4565b60008060208385031215612b3657600080fd5b823567ffffffffffffffff80821115612b4e57600080fd5b818501915085601f830112612b6257600080fd5b813581811115612b7157600080fd5b8660208260051b8501011115612b8657600080fd5b60209290920196919550909350505050565b60005b83811015612bb3578181015183820152602001612b9b565b83811115612bc2576000848401525b50505050565b60008151808452612be0816020860160208601612b98565b601f01601f19169290920160200192915050565b6020815260006123956020830184612bc8565b6001600160a01b038116811461235057600080fd5b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715612c5557612c55612c1c565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612c8457612c84612c1c565b604052919050565b60008060408385031215612c9f57600080fd5b8235612caa81612c07565b915060208381013567ffffffffffffffff80821115612cc857600080fd5b818601915086601f830112612cdc57600080fd5b813581811115612cee57612cee612c1c565b612d00601f8201601f19168501612c5b565b91508082528784828501011115612d1657600080fd5b80848401858401376000848284010152508093505050509250929050565b600060208284031215612d4657600080fd5b5035919050565b600060208284031215612d5f57600080fd5b813561239581612c07565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015612db95781516001600160a01b031687529582019590820190600101612d94565b509495945050505050565b6001600160a01b0383168152604060208201819052600090612a2f90830184612d80565b600067ffffffffffffffff821115612e0257612e02612c1c565b5060051b60200190565b60006020808385031215612e1f57600080fd5b825167ffffffffffffffff811115612e3657600080fd5b8301601f81018513612e4757600080fd5b8051612e5a612e5582612de8565b612c5b565b81815260069190911b82018301908381019087831115612e7957600080fd5b928401925b82841015612ebc5760408489031215612e975760008081fd5b612e9f612c32565b845181528585015186820152825260409093019290840190612e7e565b979650505050505050565b634e487b7160e01b600052601160045260246000fd5b6000600019821415612ef157612ef1612ec7565b5060010190565b600060208284031215612f0a57600080fd5b5051919050565b6020808252600990820152682174696d656c6f636b60b81b604082015260600190565b6020808252600b908201526a10b1b7b73a3937b63632b960a91b604082015260600190565b600060208284031215612f6b57600080fd5b815161239581612c07565b60208082526004908201526310b530b960e11b604082015260600190565b6020815260006123956020830184612d80565b60008219821115612fba57612fba612ec7565b500190565b600060a0820187835260208781850152604060a08186015282885180855260c087019150838a01945060005b8181101561302857855180516001600160a01b03908116855286820151168685015284015115158484015294840194606090920191600101612feb565b50506001600160a01b0388166060870152935061304492505050565b8260808301529695505050505050565b6000602080838503121561306757600080fd5b825167ffffffffffffffff81111561307e57600080fd5b8301601f8101851361308f57600080fd5b805161309d612e5582612de8565b81815260059190911b820183019083810190878311156130bc57600080fd5b928401925b82841015612ebc578351825292840192908401906130c1565b6000602082840312156130ec57600080fd5b8151801515811461239557600080fd5b60008060006060848603121561311157600080fd5b8351925060208401519150604084015190509250925092565b600081600019048311821515161561314457613144612ec7565b500290565b60008261316657634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a06040820152600061318a60a0830186612d80565b6001600160a01b0394909416606083015250608001529392505050565b6000828210156131b9576131b9612ec7565b500390565b600082516131d0818460208701612b98565b919091019291505056fe5374726174656779536f6c69646578566f6c6174696c65473363727647656973744c70a26469706673582212202a927dc7bced50c36ac087fc00c0ba3fc1ab8ac6dce45213caef77b2cb4e00c964736f6c634300080b0033

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

000000000000000000000000e4ee7edddbebda077975505d11decb16498264fb0000000000000000000000004204fdd868ffe0e62f57e6a626f8c9530f7d5ad1000000000000000000000000c335740c951f45200b38c5ca84f0a9663b51aec6000000000000000000000000e4ee7edddbebda077975505d11decb16498264fb

-----Decoded View---------------
Arg [0] : _governance (address): 0xE4ee7EdDDBEBDA077975505d11dEcb16498264fB
Arg [1] : _strategist (address): 0x4204FDD868FFe0e62F57e6A626F8C9530F7d5AD1
Arg [2] : _controller (address): 0xc335740c951F45200b38C5Ca84F0A9663b51AEC6
Arg [3] : _timelock (address): 0xE4ee7EdDDBEBDA077975505d11dEcb16498264fB

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000e4ee7edddbebda077975505d11decb16498264fb
Arg [1] : 0000000000000000000000004204fdd868ffe0e62f57e6a626f8c9530f7d5ad1
Arg [2] : 000000000000000000000000c335740c951f45200b38c5ca84f0a9663b51aec6
Arg [3] : 000000000000000000000000e4ee7edddbebda077975505d11decb16498264fb


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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