Contract 0xf385481610a72d7f5e5248871303f5410dd33356

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x8c584d2e7d4fe9d679985cff067e227b573531aa1f9f411921a06da2c3c683baDeposit All103688392021-08-26 15:09:3622 days 13 hrs ago0xe55b2caa578daf4abf3c948927ace526a739c442 IN  0xf385481610a72d7f5e5248871303f5410dd333560 BNB0.001114655
0xe7d2158040464b111b3472af34a7ec0f8bf6810297aedbb11c9340a70cd4a87aWithdraw All103686402021-08-26 14:59:2822 days 13 hrs ago0xe55b2caa578daf4abf3c948927ace526a739c442 IN  0xf385481610a72d7f5e5248871303f5410dd333560 BNB0.00113284
0x3e834a53d73d4bc4393a2d397755a248e45eefd595b8e13c11738fe814c885d2Deposit All74639492021-05-16 16:24:07124 days 12 hrs ago0xe55b2caa578daf4abf3c948927ace526a739c442 IN  0xf385481610a72d7f5e5248871303f5410dd333560 BNB0.001114655
0xf4ff003bece5e6df871f3bf59a6b526279affd18376befa0bc7dd8c5c91f4ff7Deposit All74635812021-05-16 16:05:23124 days 12 hrs ago0xe55b2caa578daf4abf3c948927ace526a739c442 IN  0xf385481610a72d7f5e5248871303f5410dd333560 BNB0.000464405
0xdccdcdfa50c424d0ef7e1643188a04f5215b19b8f86479617fdf3696dc3c5df5Deposit All74297202021-05-15 11:30:31125 days 17 hrs ago0xfdb537fb4cab61796d95427a885b2a3dad72b169 IN  0xf385481610a72d7f5e5248871303f5410dd333560 BNB0.001218675
0x0990e360cd1c7bfaac8bb388a1443d5fc2da6b4a2aba2ba1b14df831d11b7a0dTransfer Ownersh...73383912021-05-12 4:42:28128 days 23 hrs ago0xbbb73a2c968c26f745154ee7bc9243f9045f6298 IN  0xf385481610a72d7f5e5248871303f5410dd333560 BNB0.000278046
0x49f1a5a00887ec4c8c7231e011aa00e7db25c145bb64213db7421a773e250a50Upgrade Strat73380182021-05-12 4:21:07129 days 14 mins ago0xbbb73a2c968c26f745154ee7bc9243f9045f6298 IN  0xf385481610a72d7f5e5248871303f5410dd333560 BNB0.000580877
0x9588dbcbf832cbccb361f03440c9ef41dca760d71bacfaf83a00adb8fa111944Propose Strat73380092021-05-12 4:20:31129 days 15 mins ago0xbbb73a2c968c26f745154ee7bc9243f9045f6298 IN  0xf385481610a72d7f5e5248871303f5410dd333560 BNB0.0008013817
0x57f0a05a7b1590be8eb64cfdf55c78b8142ebecd86e18d1b2491ed5f2259862f0x60a0604073376502021-05-12 4:00:02129 days 35 mins ago0xbbb73a2c968c26f745154ee7bc9243f9045f6298 IN  Contract Creation0 BNB0.01990273
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CakeLPVaultV1

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-05-12
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/GSN/Context.sol

pragma solidity ^0.6.0;

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

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

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


pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/math/SafeMath.sol


pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

// File: @openzeppelin/contracts/utils/Address.sol


pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in 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: @openzeppelin/contracts/token/ERC20/ERC20.sol


pragma solidity ^0.6.0;





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

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol


pragma solidity ^0.6.0;




/**
 * @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: @openzeppelin/contracts/access/Ownable.sol


pragma solidity ^0.6.0;

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

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

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

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

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

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

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



pragma solidity ^0.6.0;

interface IStrategy {
    function vault() external view returns (address);
    function want() external view returns (address);
    function deposit() external;
    function withdraw(uint256) external;
    function balanceOf() external view returns (uint256);
    function harvest() external;
}




pragma solidity ^0.6.0;



/**
 * @dev Implementation of a vault to deposit funds for yield optimizing.
 * This is the contract that receives funds and that users interface with.
 * The yield optimizing strategy itself is implemented in a separate 'Strategy.sol' contract.
 */
contract CakeLPVaultV1 is ERC20, Ownable {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    struct StratCandidate {
        address implementation;
        uint proposedTime;
    }

    // The last proposed strategy to switch to.
    StratCandidate public stratCandidate; 
    // The strategy currently in use by the vault.
    address public strategy;
    // The token the vault accepts and looks to maximize.
    IERC20 public token;
    // The minimum time it has to pass before a strat cantidate can be approved.
    uint256 public immutable approvalDelay;
    
    /*
    *non-reentry check
    *use bool check instead of uint
    */
    bool locked;

    modifier noReentrancy() {
        require(!locked);
        locked = true;
        _;
        locked = false;
    }

    event NewStratCandidate(address implementation);
    event UpgradeStrat(address implementation);
    
    /**
     * @dev Sets the value of {token} to the token that the vault will
     * hold as underlying value. It initializes the vault's own 'moo' token.
     * This token is minted when someone does a deposit. It is burned in order
     * to withdraw the corresponding portion of the underlying assets.
     * @param _token the LP token to maximize.
     * @param _strategy the address of the strategy.
     * @param _name the name of the vault token.
     * @param _symbol the symbol of the vault token.
     * @param _approvalDelay the delay before a new strat can be approved.
     */
    constructor (
        address _token, 
        address _strategy, 
        string memory _name, 
        string memory _symbol, 
        uint256 _approvalDelay
    ) public ERC20(
        string(abi.encodePacked(_name)),
        string(abi.encodePacked(_symbol))
    ) {
        token = IERC20(_token);
        strategy = _strategy;
        approvalDelay = _approvalDelay;
    }

    /**
     * @dev It calculates the total underlying value of {token} held by the system.
     * It takes into account the vault contract balance, the strategy contract balance
     *  and the balance deployed in other contracts as part of the strategy.
     */
    function balance() public view returns (uint) {
        return token.balanceOf(address(this)).add(IStrategy(strategy).balanceOf());
    }

    /**
     * @dev Custom logic in here for how much the vault allows to be borrowed.
     * We return 100% of tokens for now. Under certain conditions we might
     * want to keep some of the system funds at hand in the vault, instead
     * of putting them to work.
     */
    function available() public view returns (uint256) {
        return token.balanceOf(address(this));
    }

    /**
     * @dev Function for various UIs to display the current value of one of our yield tokens.
     * Returns an uint256 with 18 decimals of how much underlying asset one vault share represents.
     */
    function getPricePerFullShare() public view returns (uint256) {
        return totalSupply() == 0 ? 1e18 : balance().mul(1e18).div(totalSupply());
    }

    /**
     * @dev A helper function to call deposit() with all the sender's funds.
     */
    function depositAll() external {
        deposit(token.balanceOf(msg.sender));
    }

    /**
     * @dev The entrypoint of funds into the system. People deposit with this function
     * into the vault. The vault is then in charge of sending funds into the strategy.
     */
    function deposit(uint _amount) public noReentrancy {
        uint256 _pool = balance();
        uint256 _before = token.balanceOf(address(this));
        token.safeTransferFrom(msg.sender, address(this), _amount);
        uint256 _after = token.balanceOf(address(this));
        _amount = _after.sub(_before); // Additional check for deflationary tokens
        uint256 shares = 0;
        if (totalSupply() == 0) {
            shares = _amount;
        } else {
            shares = (_amount.mul(totalSupply())).div(_pool);
        }
        _mint(msg.sender, shares);

        earn();
    }

    /**
     * @dev Function to send funds into the strategy and put them to work. It's primarily called
     * by the vault's deposit() function.
     */
    function earn() public {
        uint _bal = available();
        token.safeTransfer(strategy, _bal);
        IStrategy(strategy).deposit();
    }

    /**
     * @dev A helper function to call withdraw() with all the sender's funds.
     */
    function withdrawAll() external {
        withdraw(balanceOf(msg.sender));
    }

    /**
     * @dev Function to exit the system. The vault will withdraw the required tokens
     * from the strategy and pay up the token holder. A proportional number of IOU
     * tokens are burned in the process.
     */
    function withdraw(uint256 _shares) public noReentrancy {
        uint256 r = (balance().mul(_shares)).div(totalSupply());
        _burn(msg.sender, _shares);

        uint b = token.balanceOf(address(this));
        if (b < r) {
            uint _withdraw = r.sub(b);
            IStrategy(strategy).withdraw(_withdraw);
            uint _after = token.balanceOf(address(this));
            uint _diff = _after.sub(b);
            if (_diff < _withdraw) {
                r = b.add(_diff);
            }
        }

        token.safeTransfer(msg.sender, r);
    }

    /** 
     * @dev Sets the candidate for the new strat to use with this vault.
     * @param _implementation The address of the candidate strategy.  
     */
    function proposeStrat(address _implementation) public onlyOwner {
        require(address(this) == IStrategy(_implementation).vault(), "Proposal not valid for this Vault");
        stratCandidate = StratCandidate({ 
            implementation: _implementation,
            proposedTime: block.timestamp
         });

        emit NewStratCandidate(_implementation);
    }

    /** 
     * @dev It switches the active strat for the strat candidate. You have to call 'retireStrat'
     * in the strategy contract before. This pauses the old strat and makes sure that all the old 
     * strategy funds are sent back to this vault before switching strats. When upgrading, the 
     * candidate implementation is set to the 0x00 address, and proposedTime to a time happening in +100 years for safety. 
     */

    function upgradeStrat() public onlyOwner noReentrancy {
        require(stratCandidate.implementation != address(0), "There is no candidate");
        require(stratCandidate.proposedTime.add(approvalDelay) < block.timestamp, "Delay has not passed");
        
        emit UpgradeStrat(stratCandidate.implementation);

        strategy = stratCandidate.implementation;
        stratCandidate.implementation = address(0);
        stratCandidate.proposedTime = 1;
        
        earn();
    }

    /**
     * @dev Rescues other tokens mistakenly sent to this vault
     * @param _otherToken address of the token to rescue.
     */
    function inCaseTokensGetStuck(address _otherToken) external onlyOwner {
        require(_otherToken != address(token), "!token");

        uint256 amount = IERC20(_otherToken).balanceOf(address(this));
        IERC20(_otherToken).safeTransfer(msg.sender, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_strategy","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_approvalDelay","type":"uint256"}],"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":false,"internalType":"address","name":"implementation","type":"address"}],"name":"NewStratCandidate","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":[{"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":[{"indexed":false,"internalType":"address","name":"implementation","type":"address"}],"name":"UpgradeStrat","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":[],"name":"approvalDelay","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":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"earn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_otherToken","type":"address"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","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":"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":[{"internalType":"address","name":"_implementation","type":"address"}],"name":"proposeStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stratCandidate","outputs":[{"internalType":"address","name":"implementation","type":"address"},{"internalType":"uint256","name":"proposedTime","type":"uint256"}],"stateMutability":"view","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":"upgradeStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b50604051620024de380380620024de833981810160405260a08110156200003757600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200006357600080fd5b9083019060208201858111156200007957600080fd5b82516401000000008111828201881017156200009457600080fd5b82525081516020918201929091019080838360005b83811015620000c3578181015183820152602001620000a9565b50505050905090810190601f168015620000f15780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011557600080fd5b9083019060208201858111156200012b57600080fd5b82516401000000008111828201881017156200014657600080fd5b82525081516020918201929091019080838360005b83811015620001755781810151838201526020016200015b565b50505050905090810190601f168015620001a35780820380516001836020036101000a031916815260200191505b5060408190526020918201518651909450869350908201918291908401908083835b60208310620001e65780518252601f199092019160209182019101620001c5565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052826040516020018082805190602001908083835b602083106200024f5780518252601f1990920191602091820191016200022e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405281600390805190602001906200029b92919062000362565b508051620002b190600490602084019062000362565b50506005805460ff19166012179055506000620002cd6200035e565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600980546001600160a01b039687166001600160a01b03199182161790915560088054959096169416939093179093555060805250620003fe565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620003a557805160ff1916838001178555620003d5565b82800160010185558215620003d5579182015b82811115620003d5578251825591602001919060010190620003b8565b50620003e3929150620003e7565b5090565b5b80821115620003e35760008155600101620003e8565b6080516120c06200041e60003980611223528061132c52506120c06000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80638da5cb5b11610104578063d389800f116100a2578063e2d1e75c11610071578063e2d1e75c146104f6578063e6685244146104fe578063f2fde38b14610506578063fc0c546a1461052c576101cf565b8063d389800f14610492578063dd62ed3e1461049a578063de5f6268146104c8578063def68a9c146104d0576101cf565b8063a8c62e76116100de578063a8c62e7614610439578063a9059cbb14610441578063b69ef8a81461046d578063b6b55f2514610475576101cf565b80638da5cb5b146103e157806395d89b4114610405578063a457c2d71461040d576101cf565b806348a0d75411610171578063715018a61161014b578063715018a61461039e57806376dfabb8146103a657806377c7b8fc146103d1578063853828b6146103d9576101cf565b806348a0d7541461034a5780635b12ff9b1461035257806370a0823114610378576101cf565b806323b872dd116101ad57806323b872dd146102ab5780632e1a7d4d146102e1578063313ce56714610300578063395093511461031e576101cf565b806306fdde03146101d4578063095ea7b31461025157806318160ddd14610291575b600080fd5b6101dc610534565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102165781810151838201526020016101fe565b50505050905090810190601f1680156102435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61027d6004803603604081101561026757600080fd5b506001600160a01b0381351690602001356105ca565b604080519115158252519081900360200190f35b6102996105e8565b60408051918252519081900360200190f35b61027d600480360360608110156102c157600080fd5b506001600160a01b038135811691602081013590911690604001356105ee565b6102fe600480360360208110156102f757600080fd5b5035610675565b005b610308610890565b6040805160ff9092168252519081900360200190f35b61027d6004803603604081101561033457600080fd5b506001600160a01b038135169060200135610899565b6102996108e7565b6102fe6004803603602081101561036857600080fd5b50356001600160a01b0316610963565b6102996004803603602081101561038e57600080fd5b50356001600160a01b0316610ad3565b6102fe610aee565b6103ae610b9b565b604080516001600160a01b03909316835260208301919091528051918290030190f35b610299610bb0565b6102fe610bf2565b6103e9610c05565b604080516001600160a01b039092168252519081900360200190f35b6101dc610c19565b61027d6004803603604081101561042357600080fd5b506001600160a01b038135169060200135610c7a565b6103e9610ce2565b61027d6004803603604081101561045757600080fd5b506001600160a01b038135169060200135610cf1565b610299610d05565b6102fe6004803603602081101561048b57600080fd5b5035610e01565b6102fe610fa6565b610299600480360360408110156104b057600080fd5b506001600160a01b038135811691602001351661103b565b6102fe611066565b6102fe600480360360208110156104e657600080fd5b50356001600160a01b03166110e3565b610299611221565b6102fe611245565b6102fe6004803603602081101561051c57600080fd5b50356001600160a01b0316611419565b6103e9611522565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105c05780601f10610595576101008083540402835291602001916105c0565b820191906000526020600020905b8154815290600101906020018083116105a357829003601f168201915b5050505050905090565b60006105de6105d7611531565b8484611535565b5060015b92915050565b60025490565b60006105fb848484611621565b61066b84610607611531565b61066685604051806060016040528060288152602001611f8a602891396001600160a01b038a16600090815260016020526040812090610645611531565b6001600160a01b03168152602081019190915260400160002054919061177c565b611535565b5060019392505050565b600954600160a01b900460ff161561068c57600080fd5b6009805460ff60a01b1916600160a01b17905560006106c46106ac6105e8565b6106be846106b8610d05565b90611813565b90611873565b90506106d033836118b5565b600954604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561071b57600080fd5b505afa15801561072f573d6000803e3d6000fd5b505050506040513d602081101561074557600080fd5b505190508181101561086757600061075d83836119b1565b60085460408051632e1a7d4d60e01b81526004810184905290519293506001600160a01b0390911691632e1a7d4d9160248082019260009290919082900301818387803b1580156107ad57600080fd5b505af11580156107c1573d6000803e3d6000fd5b5050600954604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b15801561081257600080fd5b505afa158015610826573d6000803e3d6000fd5b505050506040513d602081101561083c57600080fd5b50519050600061084c82856119b1565b9050828110156108635761086084826119f3565b94505b5050505b60095461087e906001600160a01b03163384611a4d565b50506009805460ff60a01b1916905550565b60055460ff1690565b60006105de6108a6611531565b8461066685600160006108b7611531565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906119f3565b600954604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561093257600080fd5b505afa158015610946573d6000803e3d6000fd5b505050506040513d602081101561095c57600080fd5b5051905090565b61096b611531565b60055461010090046001600160a01b039081169116146109c0576040805162461bcd60e51b81526020600482018190526024820152600080516020611fb2833981519152604482015290519081900360640190fd5b806001600160a01b031663fbfa77cf6040518163ffffffff1660e01b815260040160206040518083038186803b1580156109f957600080fd5b505afa158015610a0d573d6000803e3d6000fd5b505050506040513d6020811015610a2357600080fd5b50516001600160a01b03163014610a6b5760405162461bcd60e51b8152600401808060200182810382526021815260200180611f486021913960400191505060405180910390fd5b6040805180820182526001600160a01b038316808252426020928301819052600680546001600160a01b03191683179055600755825190815291517f1aae2ec5647db56da2d513de40528ba3565c6057525637050660c4323bbac7df9281900390910190a150565b6001600160a01b031660009081526020819052604090205490565b610af6611531565b60055461010090046001600160a01b03908116911614610b4b576040805162461bcd60e51b81526020600482018190526024820152600080516020611fb2833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6006546007546001600160a01b039091169082565b6000610bba6105e8565b15610be357610bde610bca6105e8565b6106be670de0b6b3a76400006106b8610d05565b610bed565b670de0b6b3a76400005b905090565b610c03610bfe33610ad3565b610675565b565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105c05780601f10610595576101008083540402835291602001916105c0565b60006105de610c87611531565b84610666856040518060600160405280602581526020016120666025913960016000610cb1611531565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061177c565b6008546001600160a01b031681565b60006105de610cfe611531565b8484611621565b6000610bed600860009054906101000a90046001600160a01b03166001600160a01b031663722713f76040518163ffffffff1660e01b815260040160206040518083038186803b158015610d5857600080fd5b505afa158015610d6c573d6000803e3d6000fd5b505050506040513d6020811015610d8257600080fd5b5051600954604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015610dcf57600080fd5b505afa158015610de3573d6000803e3d6000fd5b505050506040513d6020811015610df957600080fd5b5051906119f3565b600954600160a01b900460ff1615610e1857600080fd5b6009805460ff60a01b1916600160a01b1790556000610e35610d05565b600954604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015610e8657600080fd5b505afa158015610e9a573d6000803e3d6000fd5b505050506040513d6020811015610eb057600080fd5b5051600954909150610ecd906001600160a01b0316333086611aa4565b600954604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610f1857600080fd5b505afa158015610f2c573d6000803e3d6000fd5b505050506040513d6020811015610f4257600080fd5b50519050610f5081836119b1565b93506000610f5c6105e8565b610f67575083610f80565b610f7d846106be610f766105e8565b8890611813565b90505b610f8a3382611b04565b610f92610fa6565b50506009805460ff60a01b19169055505050565b6000610fb06108e7565b600854600954919250610fd0916001600160a01b03908116911683611a4d565b600860009054906101000a90046001600160a01b03166001600160a01b031663d0e30db06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561102057600080fd5b505af1158015611034573d6000803e3d6000fd5b5050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600954604080516370a0823160e01b81523360048201529051610c03926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156110b257600080fd5b505afa1580156110c6573d6000803e3d6000fd5b505050506040513d60208110156110dc57600080fd5b5051610e01565b6110eb611531565b60055461010090046001600160a01b03908116911614611140576040805162461bcd60e51b81526020600482018190526024820152600080516020611fb2833981519152604482015290519081900360640190fd5b6009546001600160a01b038281169116141561118c576040805162461bcd60e51b815260206004820152600660248201526510ba37b5b2b760d11b604482015290519081900360640190fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156111db57600080fd5b505afa1580156111ef573d6000803e3d6000fd5b505050506040513d602081101561120557600080fd5b5051905061121d6001600160a01b0383163383611a4d565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b61124d611531565b60055461010090046001600160a01b039081169116146112a2576040805162461bcd60e51b81526020600482018190526024820152600080516020611fb2833981519152604482015290519081900360640190fd5b600954600160a01b900460ff16156112b957600080fd5b6009805460ff60a01b1916600160a01b1790556006546001600160a01b0316611321576040805162461bcd60e51b81526020600482015260156024820152745468657265206973206e6f2063616e64696461746560581b604482015290519081900360640190fd5b6007544290611350907f00000000000000000000000000000000000000000000000000000000000000006119f3565b10611399576040805162461bcd60e51b815260206004820152601460248201527311195b185e481a185cc81b9bdd081c185cdcd95960621b604482015290519081900360640190fd5b600654604080516001600160a01b039092168252517f7f37d440e85aba7fbf641c4bda5ca4ef669a80bffaacde2aa8d9feb1b048c82c9181900360200190a160068054600880546001600160a01b03199081166001600160a01b03841617909155169055600160075561140a610fa6565b6009805460ff60a01b19169055565b611421611531565b60055461010090046001600160a01b03908116911614611476576040805162461bcd60e51b81526020600482018190526024820152600080516020611fb2833981519152604482015290519081900360640190fd5b6001600160a01b0381166114bb5760405162461bcd60e51b8152600401808060200182810382526026815260200180611eda6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6009546001600160a01b031681565b3390565b6001600160a01b03831661157a5760405162461bcd60e51b81526004018080602001828103825260248152602001806120186024913960400191505060405180910390fd5b6001600160a01b0382166115bf5760405162461bcd60e51b8152600401808060200182810382526022815260200180611f006022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166116665760405162461bcd60e51b8152600401808060200182810382526025815260200180611ff36025913960400191505060405180910390fd5b6001600160a01b0382166116ab5760405162461bcd60e51b8152600401808060200182810382526023815260200180611e956023913960400191505060405180910390fd5b6116b6838383611a9f565b6116f381604051806060016040528060268152602001611f22602691396001600160a01b038616600090815260208190526040902054919061177c565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461172290826119f3565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561180b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156117d05781810151838201526020016117b8565b50505050905090810190601f1680156117fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082611822575060006105e2565b8282028284828161182f57fe5b041461186c5760405162461bcd60e51b8152600401808060200182810382526021815260200180611f696021913960400191505060405180910390fd5b9392505050565b600061186c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611bf4565b6001600160a01b0382166118fa5760405162461bcd60e51b8152600401808060200182810382526021815260200180611fd26021913960400191505060405180910390fd5b61190682600083611a9f565b61194381604051806060016040528060228152602001611eb8602291396001600160a01b038516600090815260208190526040902054919061177c565b6001600160a01b03831660009081526020819052604090205560025461196990826119b1565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600061186c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061177c565b60008282018381101561186c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611a9f908490611c59565b505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611afe908590611c59565b50505050565b6001600160a01b038216611b5f576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611b6b60008383611a9f565b600254611b7890826119f3565b6002556001600160a01b038216600090815260208190526040902054611b9e90826119f3565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183611c435760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156117d05781810151838201526020016117b8565b506000838581611c4f57fe5b0495945050505050565b6060611cae826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611d0a9092919063ffffffff16565b805190915015611a9f57808060200190516020811015611ccd57600080fd5b5051611a9f5760405162461bcd60e51b815260040180806020018281038252602a81526020018061203c602a913960400191505060405180910390fd5b6060611d198484600085611d21565b949350505050565b6060611d2c85611e8e565b611d7d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611dbc5780518252601f199092019160209182019101611d9d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611e1e576040519150601f19603f3d011682016040523d82523d6000602084013e611e23565b606091505b50915091508115611e37579150611d199050565b805115611e475780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156117d05781810151838201526020016117b8565b3b15159056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636550726f706f73616c206e6f742076616c696420666f722074686973205661756c74536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220e065da4f784a02d318cbca9f5aa7e9bd0d25ec1dd52cba56321019b4916cd15c64736f6c634300060c003300000000000000000000000016b9a82891338f9ba80e2d6970fdda79d1eb0dae00000000000000000000000016b9a82891338f9ba80e2d6970fdda79d1eb0dae00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000011555344542d424e42205661756c74204c50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b555344542d424e422d4c50000000000000000000000000000000000000000000

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

00000000000000000000000016b9a82891338f9ba80e2d6970fdda79d1eb0dae00000000000000000000000016b9a82891338f9ba80e2d6970fdda79d1eb0dae00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000011555344542d424e42205661756c74204c50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b555344542d424e422d4c50000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _token (address): 0x16b9a82891338f9ba80e2d6970fdda79d1eb0dae
Arg [1] : _strategy (address): 0x16b9a82891338f9ba80e2d6970fdda79d1eb0dae
Arg [2] : _name (string): USDT-BNB Vault LP
Arg [3] : _symbol (string): USDT-BNB-LP
Arg [4] : _approvalDelay (uint256): 1

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000016b9a82891338f9ba80e2d6970fdda79d1eb0dae
Arg [1] : 00000000000000000000000016b9a82891338f9ba80e2d6970fdda79d1eb0dae
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [6] : 555344542d424e42205661756c74204c50000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [8] : 555344542d424e422d4c50000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

32887:7406:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17426:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19532:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19532:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;18501:100;;;:::i;:::-;;;;;;;;;;;;;;;;20175:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20175:321:0;;;;;;;;;;;;;;;;;:::i;37785:579::-;;;;;;;;;;;;;;;;-1:-1:-1;37785:579:0;;:::i;:::-;;18353:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20905:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20905:218:0;;;;;;;;:::i;35561:107::-;;;:::i;38537:379::-;;;;;;;;;;;;;;;;-1:-1:-1;38537:379:0;-1:-1:-1;;;;;38537:379:0;;:::i;18664:119::-;;;;;;;;;;;;;;;;-1:-1:-1;18664:119:0;-1:-1:-1;;;;;18664:119:0;;:::i;31704:148::-;;;:::i;33183:36::-;;;:::i;:::-;;;;-1:-1:-1;;;;;33183:36:0;;;;;;;;;;;;;;;;;;;;;35890:154;;;:::i;37465:82::-;;;:::i;31062:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;31062:79:0;;;;;;;;;;;;;;17628:87;;;:::i;21626:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21626:269:0;;;;;;;;:::i;33279:23::-;;;:::i;18996:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18996:175:0;;;;;;;;:::i;35131:139::-;;;:::i;36436:607::-;;;;;;;;;;;;;;;;-1:-1:-1;36436:607:0;;:::i;37210:150::-;;;:::i;19234:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19234:151:0;;;;;;;;;;:::i;36148:86::-;;;:::i;40016:274::-;;;;;;;;;;;;;;;;-1:-1:-1;40016:274:0;-1:-1:-1;;;;;40016:274:0;;:::i;33476:38::-;;;:::i;39365:502::-;;;:::i;32007:244::-;;;;;;;;;;;;;;;;-1:-1:-1;32007:244:0;-1:-1:-1;;;;;32007:244:0;;:::i;33368:19::-;;;:::i;17426:83::-;17496:5;17489:12;;;;;;;;-1:-1:-1;;17489:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17463:13;;17489:12;;17496:5;;17489:12;;17496:5;17489:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17426:83;:::o;19532:169::-;19615:4;19632:39;19641:12;:10;:12::i;:::-;19655:7;19664:6;19632:8;:39::i;:::-;-1:-1:-1;19689:4:0;19532:169;;;;;:::o;18501:100::-;18581:12;;18501:100;:::o;20175:321::-;20281:4;20298:36;20308:6;20316:9;20327:6;20298:9;:36::i;:::-;20345:121;20354:6;20362:12;:10;:12::i;:::-;20376:89;20414:6;20376:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20376:19:0;;;;;;:11;:19;;;;;;20396:12;:10;:12::i;:::-;-1:-1:-1;;;;;20376:33:0;;;;;;;;;;;;-1:-1:-1;20376:33:0;;;:89;:37;:89::i;:::-;20345:8;:121::i;:::-;-1:-1:-1;20484:4:0;20175:321;;;;;:::o;37785:579::-;33668:6;;-1:-1:-1;;;33668:6:0;;;;33667:7;33659:16;;;;;;33686:6;:13;;-1:-1:-1;;;;33686:13:0;-1:-1:-1;;;33686:13:0;;;;37863:43:::1;37892:13;:11;:13::i;:::-;37864:22;37878:7;37864:9;:7;:9::i;:::-;:13:::0;::::1;:22::i;:::-;37863:28:::0;::::1;:43::i;:::-;37851:55;;37917:26;37923:10;37935:7;37917:5;:26::i;:::-;37965:5;::::0;:30:::1;::::0;;-1:-1:-1;;;37965:30:0;;37989:4:::1;37965:30;::::0;::::1;::::0;;;37956:6:::1;::::0;-1:-1:-1;;;;;37965:5:0::1;::::0;:15:::1;::::0;:30;;;;;::::1;::::0;;;;;;;;:5;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;37965:30:0;;-1:-1:-1;38010:5:0;;::::1;38006:305;;;38032:14;38049:8;:1:::0;38055;38049:5:::1;:8::i;:::-;38082;::::0;38072:39:::1;::::0;;-1:-1:-1;;;38072:39:0;;::::1;::::0;::::1;::::0;;;;;38032:25;;-1:-1:-1;;;;;;38082:8:0;;::::1;::::0;38072:28:::1;::::0;:39;;;;;38082:8:::1;::::0;38072:39;;;;;;;;38082:8;;38072:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;38140:5:0::1;::::0;:30:::1;::::0;;-1:-1:-1;;;38140:30:0;;38164:4:::1;38140:30;::::0;::::1;::::0;;;38126:11:::1;::::0;-1:-1:-1;;;;;;38140:5:0;;::::1;::::0;-1:-1:-1;38140:15:0::1;::::0;:30;;;;;::::1;::::0;;;;;;;;:5;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;38140:30:0;;-1:-1:-1;38185:10:0::1;38198:13;38140:30:::0;38209:1;38198:10:::1;:13::i;:::-;38185:26;;38238:9;38230:5;:17;38226:74;;;38272:12;:1:::0;38278:5;38272::::1;:12::i;:::-;38268:16;;38226:74;38006:305;;;;38323:5;::::0;:33:::1;::::0;-1:-1:-1;;;;;38323:5:0::1;38342:10;38354:1:::0;38323:18:::1;:33::i;:::-;-1:-1:-1::0;;33722:6:0;:14;;-1:-1:-1;;;;33722:14:0;;;-1:-1:-1;37785:579:0:o;18353:83::-;18419:9;;;;18353:83;:::o;20905:218::-;20993:4;21010:83;21019:12;:10;:12::i;:::-;21033:7;21042:50;21081:10;21042:11;:25;21054:12;:10;:12::i;:::-;-1:-1:-1;;;;;21042:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21042:25:0;;;:34;;;;;;;;;;;:38;:50::i;35561:107::-;35630:5;;:30;;;-1:-1:-1;;;35630:30:0;;35654:4;35630:30;;;;;;35603:7;;-1:-1:-1;;;;;35630:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35630:30:0;;-1:-1:-1;35561:107:0;:::o;38537:379::-;31284:12;:10;:12::i;:::-;31274:6;;;;;-1:-1:-1;;;;;31274:6:0;;;:22;;;31266:67;;;;;-1:-1:-1;;;31266:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31266:67:0;;;;;;;;;;;;;;;38647:15:::1;-1:-1:-1::0;;;;;38637:32:0::1;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;38637:34:0;-1:-1:-1;;;;;38620:51:0::1;38628:4;38620:51;38612:97;;;;-1:-1:-1::0;;;38612:97:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38737:119;::::0;;;;::::1;::::0;;-1:-1:-1;;;;;38737:119:0;::::1;::::0;;;38828:15:::1;38737:119;::::0;;::::1;::::0;;;38720:14:::1;:136:::0;;-1:-1:-1;;;;;;38720:136:0::1;::::0;::::1;::::0;;;;38874:34;;;;;;;::::1;::::0;;;;;;;;::::1;38537:379:::0;:::o;18664:119::-;-1:-1:-1;;;;;18757:18:0;18730:7;18757:18;;;;;;;;;;;;18664:119::o;31704:148::-;31284:12;:10;:12::i;:::-;31274:6;;;;;-1:-1:-1;;;;;31274:6:0;;;:22;;;31266:67;;;;;-1:-1:-1;;;31266:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31266:67:0;;;;;;;;;;;;;;;31795:6:::1;::::0;31774:40:::1;::::0;31811:1:::1;::::0;31795:6:::1;::::0;::::1;-1:-1:-1::0;;;;;31795:6:0::1;::::0;31774:40:::1;::::0;31811:1;;31774:40:::1;31825:6;:19:::0;;-1:-1:-1;;;;;;31825:19:0::1;::::0;;31704:148::o;33183:36::-;;;;;-1:-1:-1;;;;;33183:36:0;;;;;:::o;35890:154::-;35943:7;35970:13;:11;:13::i;:::-;:18;:66;;35998:38;36022:13;:11;:13::i;:::-;35998:19;36012:4;35998:9;:7;:9::i;:38::-;35970:66;;;35991:4;35970:66;35963:73;;35890:154;:::o;37465:82::-;37508:31;37517:21;37527:10;37517:9;:21::i;:::-;37508:8;:31::i;:::-;37465:82::o;31062:79::-;31127:6;;;;;-1:-1:-1;;;;;31127:6:0;;31062:79::o;17628:87::-;17700:7;17693:14;;;;;;;;-1:-1:-1;;17693:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17667:13;;17693:14;;17700:7;;17693:14;;17700:7;17693:14;;;;;;;;;;;;;;;;;;;;;;;;21626:269;21719:4;21736:129;21745:12;:10;:12::i;:::-;21759:7;21768:96;21807:15;21768:96;;;;;;;;;;;;;;;;;:11;:25;21780:12;:10;:12::i;:::-;-1:-1:-1;;;;;21768:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21768:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;33279:23::-;;;-1:-1:-1;;;;;33279:23:0;;:::o;18996:175::-;19082:4;19099:42;19109:12;:10;:12::i;:::-;19123:9;19134:6;19099:9;:42::i;35131:139::-;35171:4;35195:67;35240:8;;;;;;;;;-1:-1:-1;;;;;35240:8:0;-1:-1:-1;;;;;35230:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35230:31:0;35195:5;;:30;;;-1:-1:-1;;;35195:30:0;;35219:4;35195:30;;;;;;-1:-1:-1;;;;;35195:5:0;;;;:15;;:30;;;;;35230:31;;35195:30;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35195:30:0;;:34;:67::i;36436:607::-;33668:6;;-1:-1:-1;;;33668:6:0;;;;33667:7;33659:16;;;;;;33686:6;:13;;-1:-1:-1;;;;33686:13:0;-1:-1:-1;;;33686:13:0;;;;36514:9:::1;:7;:9::i;:::-;36552:5;::::0;:30:::1;::::0;;-1:-1:-1;;;36552:30:0;;36576:4:::1;36552:30;::::0;::::1;::::0;;;36498:25;;-1:-1:-1;36534:15:0::1;::::0;-1:-1:-1;;;;;36552:5:0;;::::1;::::0;:15:::1;::::0;:30;;;;;::::1;::::0;;;;;;;;;:5;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;36552:30:0;36593:5:::1;::::0;36552:30;;-1:-1:-1;36593:58:0::1;::::0;-1:-1:-1;;;;;36593:5:0::1;36616:10;36636:4;36643:7:::0;36593:22:::1;:58::i;:::-;36679:5;::::0;:30:::1;::::0;;-1:-1:-1;;;36679:30:0;;36703:4:::1;36679:30;::::0;::::1;::::0;;;36662:14:::1;::::0;-1:-1:-1;;;;;36679:5:0::1;::::0;:15:::1;::::0;:30;;;;;::::1;::::0;;;;;;;;:5;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;36679:30:0;;-1:-1:-1;36730:19:0::1;36679:30:::0;36741:7;36730:10:::1;:19::i;:::-;36720:29;;36804:14;36837:13;:11;:13::i;:::-;36833:148;;-1:-1:-1::0;36881:7:0;36833:148:::1;;;36930:39;36963:5;36931:26;36943:13;:11;:13::i;:::-;36931:7:::0;;:11:::1;:26::i;36930:39::-;36921:48;;36833:148;36991:25;36997:10;37009:6;36991:5;:25::i;:::-;37029:6;:4;:6::i;:::-;-1:-1:-1::0;;33722:6:0;:14;;-1:-1:-1;;;;33722:14:0;;;-1:-1:-1;;;36436:607:0:o;37210:150::-;37244:9;37256:11;:9;:11::i;:::-;37297:8;;37278:5;;37244:23;;-1:-1:-1;37278:34:0;;-1:-1:-1;;;;;37278:5:0;;;;37297:8;37244:23;37278:18;:34::i;:::-;37333:8;;;;;;;;;-1:-1:-1;;;;;37333:8:0;-1:-1:-1;;;;;37323:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37210:150;:::o;19234:151::-;-1:-1:-1;;;;;19350:18:0;;;19323:7;19350:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19234:151::o;36148:86::-;36198:5;;:27;;;-1:-1:-1;;;36198:27:0;;36214:10;36198:27;;;;;;36190:36;;-1:-1:-1;;;;;36198:5:0;;:15;;:27;;;;;;;;;;;;;;:5;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36198:27:0;36190:7;:36::i;40016:274::-;31284:12;:10;:12::i;:::-;31274:6;;;;;-1:-1:-1;;;;;31274:6:0;;;:22;;;31266:67;;;;;-1:-1:-1;;;31266:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31266:67:0;;;;;;;;;;;;;;;40128:5:::1;::::0;-1:-1:-1;;;;;40105:29:0;;::::1;40128:5:::0;::::1;40105:29;;40097:48;;;::::0;;-1:-1:-1;;;40097:48:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;40097:48:0;;;;;;;;;;;;;::::1;;40158:14;40182:11;-1:-1:-1::0;;;;;40175:29:0::1;;40213:4;40175:44;;;;;;;;;;;;;-1:-1:-1::0;;;;;40175:44:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;40175:44:0;;-1:-1:-1;40230:52:0::1;-1:-1:-1::0;;;;;40230:32:0;::::1;40263:10;40175:44:::0;40230:32:::1;:52::i;:::-;31344:1;40016:274:::0;:::o;33476:38::-;;;:::o;39365:502::-;31284:12;:10;:12::i;:::-;31274:6;;;;;-1:-1:-1;;;;;31274:6:0;;;:22;;;31266:67;;;;;-1:-1:-1;;;31266:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31266:67:0;;;;;;;;;;;;;;;33668:6:::1;::::0;-1:-1:-1;;;33668:6:0;::::1;;;33667:7;33659:16;;;::::0;::::1;;33686:6;:13:::0;;-1:-1:-1;;;;33686:13:0::1;-1:-1:-1::0;;;33686:13:0::1;::::0;;39438:14:::2;:29:::0;-1:-1:-1;;;;;39438:29:0::2;39430:77;;;::::0;;-1:-1:-1;;;39430:77:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;39430:77:0;;;;;;;;;;;;;::::2;;39526:27:::0;;39575:15:::2;::::0;39526:46:::2;::::0;39558:13:::2;39526:31;:46::i;:::-;:64;39518:97;;;::::0;;-1:-1:-1;;;39518:97:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;39518:97:0;;;;;;;;;;;;;::::2;;39654:14;:29:::0;39641:43:::2;::::0;;-1:-1:-1;;;;;39654:29:0;;::::2;39641:43:::0;;;::::2;::::0;;;;::::2;::::0;;::::2;39708:14;:29:::0;;39697:8:::2;:40:::0;;-1:-1:-1;;;;;;39697:40:0;;::::2;-1:-1:-1::0;;;;;39708:29:0;::::2;39697:40;::::0;;;39748:42:::2;::::0;;39708:29;39801:27;:31;39853:6:::2;:4;:6::i;:::-;33722::::1;:14:::0;;-1:-1:-1;;;;33722:14:0::1;::::0;;39365:502::o;32007:244::-;31284:12;:10;:12::i;:::-;31274:6;;;;;-1:-1:-1;;;;;31274:6:0;;;:22;;;31266:67;;;;;-1:-1:-1;;;31266:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31266:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;32096:22:0;::::1;32088:73;;;;-1:-1:-1::0;;;32088:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32198:6;::::0;32177:38:::1;::::0;-1:-1:-1;;;;;32177:38:0;;::::1;::::0;32198:6:::1;::::0;::::1;;::::0;32177:38:::1;::::0;;;::::1;32226:6;:17:::0;;-1:-1:-1;;;;;32226:17:0;;::::1;;;-1:-1:-1::0;;;;;;32226:17:0;;::::1;::::0;;;::::1;::::0;;32007:244::o;33368:19::-;;;-1:-1:-1;;;;;33368:19:0;;:::o;655:106::-;743:10;655:106;:::o;24771:346::-;-1:-1:-1;;;;;24873:19:0;;24865:68;;;;-1:-1:-1;;;24865:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24952:21:0;;24944:68;;;;-1:-1:-1;;;24944:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25025:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25077:32;;;;;;;;;;;;;;;;;24771:346;;;:::o;22385:539::-;-1:-1:-1;;;;;22491:20:0;;22483:70;;;;-1:-1:-1;;;22483:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22572:23:0;;22564:71;;;;-1:-1:-1;;;22564:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22648:47;22669:6;22677:9;22688:6;22648:20;:47::i;:::-;22728:71;22750:6;22728:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22728:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;22708:17:0;;;:9;:17;;;;;;;;;;;:91;;;;22833:20;;;;;;;:32;;22858:6;22833:24;:32::i;:::-;-1:-1:-1;;;;;22810:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;22881:35;;;;;;;22810:20;;22881:35;;;;;;;;;;;;;22385:539;;;:::o;5636:192::-;5722:7;5758:12;5750:6;;;;5742:29;;;;-1:-1:-1;;;5742:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5794:5:0;;;5636:192::o;6087:471::-;6145:7;6390:6;6386:47;;-1:-1:-1;6420:1:0;6413:8;;6386:47;6457:5;;;6461:1;6457;:5;:1;6481:5;;;;;:10;6473:56;;;;-1:-1:-1;;;6473:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6549:1;6087:471;-1:-1:-1;;;6087:471:0:o;7034:132::-;7092:7;7119:39;7123:1;7126;7119:39;;;;;;;;;;;;;;;;;:3;:39::i;23915:418::-;-1:-1:-1;;;;;23999:21:0;;23991:67;;;;-1:-1:-1;;;23991:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24071:49;24092:7;24109:1;24113:6;24071:20;:49::i;:::-;24154:68;24177:6;24154:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24154:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;24133:18:0;;:9;:18;;;;;;;;;;:89;24248:12;;:24;;24265:6;24248:16;:24::i;:::-;24233:12;:39;24288:37;;;;;;;;24314:1;;-1:-1:-1;;;;;24288:37:0;;;;;;;;;;;;23915:418;;:::o;5197:136::-;5255:7;5282:43;5286:1;5289;5282:43;;;;;;;;;;;;;;;;;:3;:43::i;4733:181::-;4791:7;4823:5;;;4847:6;;;;4839:46;;;;;-1:-1:-1;;;4839:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;26897:177;27007:58;;;-1:-1:-1;;;;;27007:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27007:58:0;-1:-1:-1;;;27007:58:0;;;26980:86;;27000:5;;26980:19;:86::i;:::-;26897:177;;;:::o;27082:205::-;27210:68;;;-1:-1:-1;;;;;27210:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27210:68:0;-1:-1:-1;;;27210:68:0;;;27183:96;;27203:5;;27183:19;:96::i;:::-;27082:205;;;;:::o;23205:378::-;-1:-1:-1;;;;;23289:21:0;;23281:65;;;;;-1:-1:-1;;;23281:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23359:49;23388:1;23392:7;23401:6;23359:20;:49::i;:::-;23436:12;;:24;;23453:6;23436:16;:24::i;:::-;23421:12;:39;-1:-1:-1;;;;;23492:18:0;;:9;:18;;;;;;;;;;;:30;;23515:6;23492:22;:30::i;:::-;-1:-1:-1;;;;;23471:18:0;;:9;:18;;;;;;;;;;;:51;;;;23538:37;;;;;;;23471:18;;:9;;23538:37;;;;;;;;;;23205:378;;:::o;7662:278::-;7748:7;7783:12;7776:5;7768:28;;;;-1:-1:-1;;;7768:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7807:9;7823:1;7819;:5;;;;;;;7662:278;-1:-1:-1;;;;;7662:278:0:o;29202:761::-;29626:23;29652:69;29680:4;29652:69;;;;;;;;;;;;;;;;;29660:5;-1:-1:-1;;;;;29652:27:0;;;:69;;;;;:::i;:::-;29736:17;;29626:95;;-1:-1:-1;29736:21:0;29732:224;;29878:10;29867:30;;;;;;;;;;;;;;;-1:-1:-1;29867:30:0;29859:85;;;;-1:-1:-1;;;29859:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12875:196;12978:12;13010:53;13033:6;13041:4;13047:1;13050:12;13010:22;:53::i;:::-;13003:60;12875:196;-1:-1:-1;;;;12875:196:0:o;14252:979::-;14382:12;14415:18;14426:6;14415:10;:18::i;:::-;14407:60;;;;;-1:-1:-1;;;14407:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14541:12;14555:23;14582:6;-1:-1:-1;;;;;14582:11:0;14602:8;14613:4;14582:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14582:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14540:78;;;;14633:7;14629:595;;;14664:10;-1:-1:-1;14657:17:0;;-1:-1:-1;14657:17:0;14629:595;14778:17;;:21;14774:439;;15041:10;15035:17;15102:15;15089:10;15085:2;15081:19;15074:44;14989:148;15177:20;;-1:-1:-1;;;15177:20:0;;;;;;;;;;;;;;;;;15184:12;;15177:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9957:422;10324:20;10363:8;;;9957:422::o

Swarm Source

ipfs://e065da4f784a02d318cbca9f5aa7e9bd0d25ec1dd52cba56321019b4916cd15c
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.