Contract 0x28c6c6e459E8e6AF7f8C9d61D7d4C3932854b8f3 1

 
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x547d45645b390c5c94924a5f0555bec19206e07b8503916672bbb87058207051Withdraw430136702023-05-22 12:47:5415 days 24 mins ago0x468fd68b81475ac46d00f491bfa52ef8aaa17e97 IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.04377185143 201.22028681
0x924a11499bef3ab91469c51d85aad02f2983d7f1c6168c19f9cd906bff39e119Deposit429677312023-05-21 8:31:1416 days 4 hrs ago0x2c6d56885b2d3ebcf5c5a8f50484d49188e4717e IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.058150342853 165.135566138
0x78212384fca1f3bc962894a2fd024d8b31adbf7e4c2f075da0b3cc565719fbb7Withdraw424034662023-05-07 6:11:1430 days 7 hrs ago0xa67f4d6dd924cd89587fc742365970716f9a8f51 IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.048758679193 224.144857739
0x4b6e788387e73e411db1f0af1f257e4fdd183d060603c7cf063e0eb7892bf69aWithdraw423706602023-05-06 10:27:2031 days 2 hrs ago0xd25f3ff4d63179800dce837dc5412dac1ba6133f IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.051772616238
0xbbe6e27a5f6e4232892a408d9b44d2e163fd71f644a3717e58008f73f5e59949Withdraw423256812023-05-05 6:54:4732 days 6 hrs ago0xa67f4d6dd924cd89587fc742365970716f9a8f51 IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.051193423262 251.142665705
0x036dbab7ebfad3668e7308f58fed2c7ff389fcf183b322f128b166be93dc3ce5Withdraw422948782023-05-04 12:12:5233 days 59 mins ago0xb1f71ac4f2589d88db8ff3e483f35783d20bed9d IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.055696642733 256.038848231
0x61448c190f55157ef5679cfe90a42c7c19c7a9c3d882cf84ea1f4484e5f37a01Deposit421794142023-05-01 14:29:3735 days 22 hrs ago0xd25f3ff4d63179800dce837dc5412dac1ba6133f IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.088988898274
0x994e5e0cda4dfbc5617b248f129868e665f7306b4810c1b385586a581ae574f2Withdraw420933332023-04-29 10:11:3438 days 3 hrs ago0xb5f85ba5157e266b41d8771ff16292e93c339d2b IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.085763922403 394.25887871
0xca635af3c4b6fa15ec0fe032187668fb27957288e4c803ea4a04f5649e250321Deposit419844022023-04-26 14:54:5740 days 22 hrs ago0xb5f85ba5157e266b41d8771ff16292e93c339d2b IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.152324484995 432.571655338
0xc0c545a0dc09a0e5d98c7311733756b9882a08bc371d1a1688f862f5346edb12Withdraw418988472023-04-24 10:43:1643 days 2 hrs ago0x35f19a99afa1fee682c28fd6d6e77ae95d8d017d IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.095156756953 437.43797213
0x9289c2da82f3035fd9d0379868ece9b83b592d6d43feb8d06b7baf43bad5564cDeposit418408342023-04-22 22:02:4344 days 15 hrs ago0x35f19a99afa1fee682c28fd6d6e77ae95d8d017d IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.103070139876 292.698977604
0x105415ecabdbd5fb8a5ab83adfa8989c1d98bf224d5ee54d529b6eab11cccde5Withdraw417580382023-04-20 19:20:5446 days 17 hrs ago0x34fc4e661f2dce5ef93c9afbb53bd35ca8aab650 IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.059234221805 272.301186978
0xfcdd5b0f6ddc8318c41584a2f723f91f37c179a616aa935381a55f99972912afDeposit417577542023-04-20 19:10:1846 days 18 hrs ago0x34fc4e661f2dce5ef93c9afbb53bd35ca8aab650 IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.07205441006 231.606521425
0x676797642d3faf0fd2cfe2eb7adb397c79c798c7447a1852ef554fb6d222df80Deposit417575782023-04-20 19:04:0446 days 18 hrs ago0x34fc4e661f2dce5ef93c9afbb53bd35ca8aab650 IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.082783522003 235.082286669
0x6b5cd2e8e9382b62413ebe19a6e571faafdcdd5cc336722a43ff3b515c98353eWithdraw417425342023-04-20 9:44:4947 days 3 hrs ago0x8bc493dfdf7820facfc68c251b26bd7a888dd39e IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.066200376431 304.324772592
0x413384ca20f7d6854a530c596ec9d7fdcb75beef48acc37fe68ce6aa9b9c6b3bDeposit417133332023-04-19 15:30:1747 days 21 hrs ago0x8bc493dfdf7820facfc68c251b26bd7a888dd39e IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.194281697262 547.519155853
0xe3b5546bfabb76d7019ab0963b7beddb01ab504ba583a882f5695410e6b728d8Deposit416282762023-04-17 8:20:5250 days 4 hrs ago0xb1f71ac4f2589d88db8ff3e483f35783d20bed9d IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.083879329152 236.386340753
0x10a095f0c52da0f87c3ef982fbeaa6e969b1d8916c07ed4c482e32d95355ff90Withdraw415055802023-04-14 2:30:3053 days 10 hrs ago0xa67f4d6dd924cd89587fc742365970716f9a8f51 IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.030670468082 150.461966046
0x1bb6d4dcb1e0b0a47ff9e5c8b132317d080d95a113d3f8befec1b975f810d1b2Deposit414206622023-04-11 21:23:5955 days 15 hrs ago0x1f7d671deaa2f9a13c9740bd5bdc6d7304620ddb IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.05519214763 156.734872026
0x5d1d10ac753f7bfcead454978eac10ee5e2cb3119e0c04992af2f139e5b0e2c7Withdraw413391262023-04-09 19:02:4257 days 18 hrs ago0x8cb88f6a0856fc5f9afa3255bc3dbefa3cf49272 IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.023958012492 110.135577721
0xdab8a57029a46b46b50776532a2785dd11e4ee9a0f6df5c2749e615b5e698c81Withdraw413240472023-04-09 9:44:2458 days 3 hrs ago0x55e05929b8cbf0e7111f5517c8e8a76b11fb2cf1 IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.034751170332159.745382858
0x1ed2a589a85436d8201195c4f6a4d8a99ed8e767306896f7664416a2d530e3f9Deposit412497112023-04-07 11:54:1460 days 1 hr ago0x55e05929b8cbf0e7111f5517c8e8a76b11fb2cf1 IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.039931391271113.394097555
0xc04922f30c60d9adbd7c761ecd9a9ca142d744cf7ee176100cf60976a869f291Withdraw411608112023-04-05 5:21:3762 days 7 hrs ago0xa67f4d6dd924cd89587fc742365970716f9a8f51 IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.01815814827 89.079523704
0xac7ab1d9a8ab2f31f1752bdfeb6905730d1b8d46acac74cfd78afb51bc24d946Deposit410548832023-04-02 11:29:2665 days 1 hr ago0x8cb88f6a0856fc5f9afa3255bc3dbefa3cf49272 IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.025298827735 81.321349081
0x27d33302f0e203d659609f9b215541acc7d21919be9de6133d8a06bbbdde0882Withdraw410079122023-04-01 6:22:5166 days 6 hrs ago0xfff1555301ad9cd7cce0bf8f0ee679d9a94b77ac IN  0x28c6c6e459e8e6af7f8c9d61d7d4c3932854b8f30 MATIC0.020096995 92.386384533
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
vaultBase

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : vaultBase.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.6.12;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "./interfaces/IStrategy.sol";


/**
// OpenZeppelin pausable: https://github.com/ConsenSysMesh/openzeppelin-solidity/blob/master/contracts/lifecycle/Pausable.sol
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is Ownable {
  event Pause();
  event Unpause();

  bool public paused = false;


  /**
   * @dev Modifier to make a function callable only when the contract is not paused.
   */
  modifier whenNotPaused() {
    require(!paused);
    _;
  }

  /**
   * @dev Modifier to make a function callable only when the contract is paused.
   */
  modifier whenPaused() {
    require(paused);
    _;
  }

  /**
   * @dev called by the owner to pause, triggers stopped state
   */
  function pause() onlyOwner whenNotPaused public {
    paused = true;
    emit Pause();
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause() onlyOwner whenPaused public {
    paused = false;
    emit Unpause();
  }
}


/* JarBase contract */

abstract contract JarBase is ERC20, Ownable, Pausable, ReentrancyGuard {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    IERC20 public immutable token;
    address public immutable strategy;

    struct UserInfo {
        uint256 lastTimeStaked;     // How many LP tokens the user has provided.
        uint256 lastAmountStaked; // Reward debt. See explanation below.
    }

    mapping (address => UserInfo) public userInfo;

    uint256 public constant keepMax = 10000;
    uint256 public constant maxDepositFeeMC = 1000;

    event Deposit(address indexed _from, uint256 _value);
    event Withdraw(address indexed _from, uint256 _value);

    constructor(IStrategy _strategy, string memory name, string memory symbol)
        public
        ERC20(name, symbol)
    {
        require(address(_strategy) != address(0));
        _setupDecimals(ERC20(_strategy.want()).decimals());
        token = IERC20(_strategy.want());
        strategy = address(_strategy);
    }

    modifier onlyEOA() {
        require(msg.sender == tx.origin && !address(msg.sender).isContract(), "no contracts");
        _;
    }

    function transfer(address recipient, uint256 amount) public override returns (bool)
    {
        require(recipient != address(this));
        return super.transfer(recipient, amount);
    }

    function balance() public view returns (uint256) {
        return
            token.balanceOf(address(this)).add(
                IStrategy(strategy).balanceOf()
            );
    }

    function depositAll() external {
        deposit(token.balanceOf(msg.sender));
    }

    function deposit(uint256 _amount) public nonReentrant whenNotPaused onlyEOA {

        IStrategy(strategy).harvest();

        // Calculate initial pool balance
        uint256 _pool = balance();

        // Transfer token to strategy and calculate amount to stake
        uint256 _before = token.balanceOf(strategy);
        token.safeTransferFrom(msg.sender, strategy, _amount);
        uint256 _after = token.balanceOf(strategy);
        uint256 _toDeposit = _after.sub(_before); // Additional check for deflationary tokens or deposit fees

        // Stake and calculate pool balance after
        IStrategy(strategy).jarDeposit(_toDeposit);
        uint256 _afterPool = balance();
        uint256 _newStaked = _afterPool.sub(_pool);

        // Require deposit fee to be within reasonable bounds
        uint256 maxDepositFee = _amount.mul(maxDepositFeeMC).div(keepMax);
        require(_newStaked.add(maxDepositFee) >= _amount, "!MC DEPOSIT FEE");

        // Compute share
        uint256 shares = 0;
        if (totalSupply() == 0) {
            shares = _newStaked;
        } else {
            shares = (_newStaked.mul(totalSupply())).div(_pool);
        }

        // Send share of pool
        _mint(msg.sender, shares);

        // Save last time/amount staked
        UserInfo storage user = userInfo[msg.sender];
        user.lastAmountStaked = balanceOf(msg.sender).mul(_afterPool).div(totalSupply());
        user.lastTimeStaked = now;

        // Emit event
        emit Deposit(msg.sender, _amount);
    }

    // Withdraw all balanaces
    function withdrawAll() external {
        withdraw(balanceOf(msg.sender));
    }

    // Withdraw some balances
    function withdraw(uint256 _shares) public nonReentrant {
        uint256 r = (balance().mul(_shares)).div(totalSupply());
        _burn(msg.sender, _shares);

        // Check balance
        uint256 b = token.balanceOf(address(this));
        if (b < r) {
            uint256 _withdraw = r.sub(b);
            IStrategy(strategy).withdraw(_withdraw);
            uint256 _after = token.balanceOf(address(this));
            uint256 _diff = _after.sub(b);
            if (_diff < _withdraw) {
                r = _after;
            }
        }

        token.safeTransfer(msg.sender, r);

        // Emit event
        emit Withdraw(msg.sender, r);
    }

    // A view function that makes it easier for the UI to display LPs of users
    function getRatio() external view returns (uint256) {
        if (totalSupply() == 0) {
            return 1e18;
        }
        return balance().mul(1e18).div(totalSupply());
    }


}


contract vaultBase is JarBase {

    constructor(IStrategy _strategy)
        public
        JarBase(_strategy,
            string(abi.encodePacked(_strategy.pairName(), " ","vault")),
            string(abi.encodePacked("v", _strategy.pairName()))
        )
    {

    }
}

File 2 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 virtual returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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 virtual {
        _decimals = decimals_;
    }

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

File 3 of 10 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

pragma solidity >=0.6.0 <0.8.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 6 of 10 : IStrategy.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.6.12;

interface IStrategy {
    function harvestedToken() external view returns (address);

    function rewards() external view returns (address);

    function emergencyStatus() external view returns (bool);

    function want() external view returns (address);

    function jarDeposit(uint256) external;

    function withdraw(uint256) external;

    function withdrawAll() external returns (uint256);

    function balanceOf() external view returns (uint256);

    function balanceOfPool() external view returns (uint256);

    function getHarvestable() external view returns (uint256);

    function pairName() external view returns (string memory);

    function harvest() external;

    function setJar(address _jar) external;
}

File 7 of 10 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

File 8 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

File 9 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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 10 of 10 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IStrategy","name":"_strategy","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"keepMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDepositFeeMC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strategy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"lastTimeStaked","type":"uint256"},{"internalType":"uint256","name":"lastAmountStaked","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526005805460ff60a81b191690553480156200001e57600080fd5b506040516200282038038062002820833981810160405260208110156200004457600080fd5b5051604080516340794c3b60e01b8152905182916001600160a01b038316916340794c3b91600480820192600092909190829003018186803b1580156200008a57600080fd5b505afa1580156200009f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015620000c957600080fd5b8101908080516040519392919084640100000000821115620000ea57600080fd5b9083019060208201858111156200010057600080fd5b82516401000000008111828201881017156200011b57600080fd5b82525081516020918201929091019080838360005b838110156200014a57818101518382015260200162000130565b50505050905090810190601f168015620001785780820380516001836020036101000a031916815260200191505b506040525050506040516020018082805190602001908083835b60208310620001b35780518252601f19909201916020918201910162000192565b6001836020036101000a03801982511681845116808217855250505050505090500180600160fd1b81525060010180641d985d5b1d60da1b815250600501915050604051602081830303815290604052826001600160a01b03166340794c3b6040518163ffffffff1660e01b815260040160006040518083038186803b1580156200023d57600080fd5b505afa15801562000252573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156200027c57600080fd5b81019080805160405193929190846401000000008211156200029d57600080fd5b908301906020820185811115620002b357600080fd5b8251640100000000811182820188101715620002ce57600080fd5b82525081516020918201929091019080838360005b83811015620002fd578181015183820152602001620002e3565b50505050905090810190601f1680156200032b5780820380516001836020036101000a031916815260200191505b506040525050506040516020018080603b60f91b81525060010182805190602001908083835b60208310620003725780518252601f19909201916020918201910162000351565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405281818160039080519060200190620003c0929190620005ec565b508051620003d6906004906020840190620005ec565b50506005805460ff19166012179055506000620003f2620005d2565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060016006556001600160a01b0383166200046157600080fd5b62000544836001600160a01b0316631f1fcd516040518163ffffffff1660e01b815260040160206040518083038186803b1580156200049f57600080fd5b505afa158015620004b4573d6000803e3d6000fd5b505050506040513d6020811015620004cb57600080fd5b50516040805163313ce56760e01b815290516001600160a01b039092169163313ce56791600480820192602092909190829003018186803b1580156200051057600080fd5b505afa15801562000525573d6000803e3d6000fd5b505050506040513d60208110156200053c57600080fd5b5051620005d6565b826001600160a01b0316631f1fcd516040518163ffffffff1660e01b815260040160206040518083038186803b1580156200057e57600080fd5b505afa15801562000593573d6000803e3d6000fd5b505050506040513d6020811015620005aa57600080fd5b50516001600160601b0319606091821b811660805293901b90921660a0525062000688915050565b3390565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200062f57805160ff19168380011785556200065f565b828001600101855582156200065f579182015b828111156200065f57825182559160200191906001019062000642565b506200066d92915062000671565b5090565b5b808211156200066d576000815560010162000672565b60805160601c60a05160601c612123620006fd6000398061079e5280610cdc5280610d275280610f125280610fc2528061107c52806110d4528061116e5250806106ed528061081e52806108e25280610dca5280610f93528061105952806110a55280611348528061153052506121236000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063853828b6116100f9578063b69ef8a811610097578063de5f626811610071578063de5f6268146104bb578063ec1ebd7a146104c3578063f2fde38b146104cb578063fc0c546a146104f1576101c4565b8063b69ef8a814610468578063b6b55f2514610470578063dd62ed3e1461048d576101c4565b806397c335eb116100d357806397c335eb14610400578063a457c2d714610408578063a8c62e7614610434578063a9059cbb1461043c576101c4565b8063853828b6146103cc5780638da5cb5b146103d457806395d89b41146103f8576101c4565b8063313ce567116101665780635c975abb116101405780635c975abb1461038e57806370a0823114610396578063715018a6146103bc5780638456cb59146103c4576101c4565b8063313ce5671461033c578063395093511461035a5780633f4ba83a14610386576101c4565b806318160ddd116101a257806318160ddd146102a05780631959a002146102a857806323b872dd146102e75780632e1a7d4d1461031d576101c4565b806306fdde03146101c9578063095ea7b3146102465780630975d8d814610286575b600080fd5b6101d16104f9565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561020b5781810151838201526020016101f3565b50505050905090810190601f1680156102385780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102726004803603604081101561025c57600080fd5b506001600160a01b038135169060200135610590565b604080519115158252519081900360200190f35b61028e6105ae565b60408051918252519081900360200190f35b61028e6105b4565b6102ce600480360360208110156102be57600080fd5b50356001600160a01b03166105ba565b6040805192835260208301919091528051918290030190f35b610272600480360360608110156102fd57600080fd5b506001600160a01b038135811691602081013590911690604001356105d3565b61033a6004803603602081101561033357600080fd5b503561065b565b005b610344610949565b6040805160ff9092168252519081900360200190f35b6102726004803603604081101561037057600080fd5b506001600160a01b038135169060200135610952565b61033a6109a0565b610272610a50565b61028e600480360360208110156103ac57600080fd5b50356001600160a01b0316610a60565b61033a610a7b565b61033a610b2d565b61033a610be4565b6103dc610bf7565b604080516001600160a01b039092168252519081900360200190f35b6101d1610c0b565b61028e610c6c565b6102726004803603604081101561041e57600080fd5b506001600160a01b038135169060200135610c72565b6103dc610cda565b6102726004803603604081101561045257600080fd5b506001600160a01b038135169060200135610cfe565b61028e610d20565b61033a6004803603602081101561048657600080fd5b5035610e47565b61028e600480360360408110156104a357600080fd5b506001600160a01b0381358116916020013516611318565b61033a611343565b61028e6113e4565b61033a600480360360208110156104e157600080fd5b50356001600160a01b0316611420565b6103dc61152e565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105855780601f1061055a57610100808354040283529160200191610585565b820191906000526020600020905b81548152906001019060200180831161056857829003601f168201915b505050505090505b90565b60006105a461059d611552565b8484611556565b5060015b92915050565b61271081565b60025490565b6007602052600090815260409020805460019091015482565b60006105e0848484611642565b610650846105ec611552565b61064b85604051806060016040528060288152602001611fed602891396001600160a01b038a1660009081526001602052604081209061062a611552565b6001600160a01b03168152602081019190915260400160002054919061179d565b611556565b5060015b9392505050565b600260065414156106b3576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260065560006106dd6106c56105b4565b6106d7846106d1610d20565b90611834565b9061188d565b90506106e933836118f4565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561075857600080fd5b505afa15801561076c573d6000803e3d6000fd5b505050506040513d602081101561078257600080fd5b50519050818110156108d557600061079a83836119f0565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561080257600080fd5b505af1158015610816573d6000803e3d6000fd5b5050505060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561088957600080fd5b505afa15801561089d573d6000803e3d6000fd5b505050506040513d60208110156108b357600080fd5b5051905060006108c382856119f0565b9050828110156108d1578194505b5050505b6109096001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163384611a4d565b60408051838152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a25050600160065550565b60055460ff1690565b60006105a461095f611552565b8461064b8560016000610970611552565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611aa4565b6109a8611552565b6001600160a01b03166109b9610bf7565b6001600160a01b031614610a02576040805162461bcd60e51b81526020600482018190526024820152600080516020612015833981519152604482015290519081900360640190fd5b600554600160a81b900460ff16610a1857600080fd5b6005805460ff60a81b191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600554600160a81b900460ff1681565b6001600160a01b031660009081526020819052604090205490565b610a83611552565b6001600160a01b0316610a94610bf7565b6001600160a01b031614610add576040805162461bcd60e51b81526020600482018190526024820152600080516020612015833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b610b35611552565b6001600160a01b0316610b46610bf7565b6001600160a01b031614610b8f576040805162461bcd60e51b81526020600482018190526024820152600080516020612015833981519152604482015290519081900360640190fd5b600554600160a81b900460ff1615610ba657600080fd5b6005805460ff60a81b1916600160a81b1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b610bf5610bf033610a60565b61065b565b565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105855780601f1061055a57610100808354040283529160200191610585565b6103e881565b60006105a4610c7f611552565b8461064b856040518060600160405280602581526020016120c96025913960016000610ca9611552565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061179d565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160a01b038316301415610d1657600080fd5b6106548383611afe565b6000610e427f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663722713f76040518163ffffffff1660e01b815260040160206040518083038186803b158015610d7e57600080fd5b505afa158015610d92573d6000803e3d6000fd5b505050506040513d6020811015610da857600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a08231916024808301926020929190829003018186803b158015610e1057600080fd5b505afa158015610e24573d6000803e3d6000fd5b505050506040513d6020811015610e3a57600080fd5b505190611aa4565b905090565b60026006541415610e9f576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655600554600160a81b900460ff1615610ebb57600080fd5b3332148015610ed05750610ece33611b12565b155b610f10576040805162461bcd60e51b815260206004820152600c60248201526b6e6f20636f6e74726163747360a01b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634641257d6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610f6b57600080fd5b505af1158015610f7f573d6000803e3d6000fd5b505050506000610f8d610d20565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561101e57600080fd5b505afa158015611032573d6000803e3d6000fd5b505050506040513d602081101561104857600080fd5b505190506110a16001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016337f000000000000000000000000000000000000000000000000000000000000000086611b18565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561113057600080fd5b505afa158015611144573d6000803e3d6000fd5b505050506040513d602081101561115a57600080fd5b50519050600061116a82846119f0565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b4bdc3d9826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156111d257600080fd5b505af11580156111e6573d6000803e3d6000fd5b5050505060006111f4610d20565b9050600061120282876119f0565b905060006112186127106106d78a6103e8611834565b9050876112258383611aa4565b101561126a576040805162461bcd60e51b815260206004820152600f60248201526e214d43204445504f5349542046454560881b604482015290519081900360640190fd5b60006112746105b4565b61127f575081611298565b611295886106d761128e6105b4565b8690611834565b90505b6112a23382611b78565b3360009081526007602052604090206112c96112bc6105b4565b6106d7876106d133610a60565b6001820155428155604080518b8152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a2505060016006555050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610bf57f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156113b357600080fd5b505afa1580156113c7573d6000803e3d6000fd5b505050506040513d60208110156113dd57600080fd5b5051610e47565b60006113ee6105b4565b6114015750670de0b6b3a764000061058d565b610e4261140c6105b4565b6106d7670de0b6b3a76400006106d1610d20565b611428611552565b6001600160a01b0316611439610bf7565b6001600160a01b031614611482576040805162461bcd60e51b81526020600482018190526024820152600080516020612015833981519152604482015290519081900360640190fd5b6001600160a01b0381166114c75760405162461bcd60e51b8152600401808060200182810382526026815260200180611f386026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b3390565b6001600160a01b03831661159b5760405162461bcd60e51b815260040180806020018281038252602481526020018061207b6024913960400191505060405180910390fd5b6001600160a01b0382166115e05760405162461bcd60e51b8152600401808060200182810382526022815260200180611f5e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166116875760405162461bcd60e51b81526004018080602001828103825260258152602001806120566025913960400191505060405180910390fd5b6001600160a01b0382166116cc5760405162461bcd60e51b8152600401808060200182810382526023815260200180611ef36023913960400191505060405180910390fd5b6116d7838383611a9f565b61171481604051806060016040528060268152602001611f80602691396001600160a01b038616600090815260208190526040902054919061179d565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546117439082611aa4565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561182c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156117f15781810151838201526020016117d9565b50505050905090810190601f16801561181e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082611843575060006105a8565b8282028284828161185057fe5b04146106545760405162461bcd60e51b8152600401808060200182810382526021815260200180611fcc6021913960400191505060405180910390fd5b60008082116118e3576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816118ec57fe5b049392505050565b6001600160a01b0382166119395760405162461bcd60e51b81526004018080602001828103825260218152602001806120356021913960400191505060405180910390fd5b61194582600083611a9f565b61198281604051806060016040528060228152602001611f16602291396001600160a01b038516600090815260208190526040902054919061179d565b6001600160a01b0383166000908152602081905260409020556002546119a890826119f0565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600082821115611a47576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611a9f908490611c68565b505050565b600082820183811015610654576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006105a4611b0b611552565b8484611642565b3b151590565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611b72908590611c68565b50505050565b6001600160a01b038216611bd3576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611bdf60008383611a9f565b600254611bec9082611aa4565b6002556001600160a01b038216600090815260208190526040902054611c129082611aa4565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6060611cbd826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611d199092919063ffffffff16565b805190915015611a9f57808060200190516020811015611cdc57600080fd5b5051611a9f5760405162461bcd60e51b815260040180806020018281038252602a81526020018061209f602a913960400191505060405180910390fd5b6060611d288484600085611d30565b949350505050565b606082471015611d715760405162461bcd60e51b8152600401808060200182810382526026815260200180611fa66026913960400191505060405180910390fd5b611d7a85611b12565b611dcb576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611e0a5780518252601f199092019160209182019101611deb565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611e6c576040519150601f19603f3d011682016040523d82523d6000602084013e611e71565b606091505b5091509150611e81828286611e8c565b979650505050505050565b60608315611e9b575081610654565b825115611eab5782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156117f15781810151838201526020016117d956fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220a94174a78b9792801f6f28c796a9d5ae9ae5f96c75c7e1ed920e3f7a8cfa17b564736f6c634300060c00330000000000000000000000002d6e4c67f362738ea48cb3a742edae74ba8eb3e5

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

0000000000000000000000002d6e4c67f362738ea48cb3a742edae74ba8eb3e5

-----Decoded View---------------
Arg [0] : _strategy (address): 0x2d6e4c67f362738ea48cb3a742edae74ba8eb3e5

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002d6e4c67f362738ea48cb3a742edae74ba8eb3e5


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