Contract 0xa5d6abb985cA77654eD9c342a077b86a98458910

 
Ad
Ad
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x1f94f41a3b9b9c4dd37bc6ff88c612e948ced1328921601e4ac395e6fa73ff4bWithdraw All204793212021-10-22 7:07:469 mins ago0x7563b59c81ce69732862b7c26c4d3a11b2f6263a IN  Boneswap Finance: Auto Bone0 MATIC0.00187524
0x7aff3a6a48a806bde986600fc8a8567bdd3e966f08d4d91a90d5b3d0e60c7fbfWithdraw All204464742021-10-21 9:24:1821 hrs 52 mins ago0x2898349b9118228de7b532d406ea820c0cce289b IN  Boneswap Finance: Auto Bone0 MATIC0.000125016
0x5dcfb5dc1f54110243092df00835c3fb4291d245674aa25d30d35b263e3d0f5aWithdraw204150252021-10-20 12:28:531 day 18 hrs ago0xc292af00345457f2758ac1555c0273119cb1183c IN  Boneswap Finance: Auto Bone0 MATIC0.000060075
0x7cfda5f2488bace6633db280fa4d7063e779933ea19b87d221371b7fb508a416Withdraw204150252021-10-20 12:28:531 day 18 hrs ago0xc292af00345457f2758ac1555c0273119cb1183c IN  Boneswap Finance: Auto Bone0 MATIC0.000060045
0xc5e9caf4dbee534cad73c07608dab362a38bae722718db3a4b4be71b699efcdcWithdraw204150242021-10-20 12:28:511 day 18 hrs ago0xc292af00345457f2758ac1555c0273119cb1183c IN  Boneswap Finance: Auto Bone0 MATIC0.00012015
0xad45704fb0638118a53ccfbdbecf484625fc7ca8eda983e05808f8efaa271004Withdraw All204150242021-10-20 12:28:511 day 18 hrs ago0xc292af00345457f2758ac1555c0273119cb1183c IN  Boneswap Finance: Auto Bone0 MATIC0.00006007
0x31978ece2d5ad2c50622a4e4c92fb593724e602472005e5f6a07d05859408496Withdraw204150242021-10-20 12:28:511 day 18 hrs ago0xc292af00345457f2758ac1555c0273119cb1183c IN  Boneswap Finance: Auto Bone0 MATIC0.00012015
0xe507e80be12dc948e8ecd93077f7c772798d14ad58b88165fa3ea642393f49cbWithdraw204150242021-10-20 12:28:511 day 18 hrs ago0xc292af00345457f2758ac1555c0273119cb1183c IN  Boneswap Finance: Auto Bone0 MATIC0.0002403
0xbfbb5577fa53d238a5b96086581650452fa58bf066144514151d667cf86b7b9aWithdraw204150242021-10-20 12:28:511 day 18 hrs ago0xc292af00345457f2758ac1555c0273119cb1183c IN  Boneswap Finance: Auto Bone0 MATIC0.000060075
0x50b727b8e893b882df41a7700302c97f4266bf8763f79acd8867bf78385f1c0aWithdraw All204150242021-10-20 12:28:511 day 18 hrs ago0xc292af00345457f2758ac1555c0273119cb1183c IN  Boneswap Finance: Auto Bone0 MATIC0.00015627
0xce6c96327fa6b93f0ee896f813ca1845794ee7ade388c25378519cb1a56da251Withdraw All204058202021-10-20 6:08:532 days 1 hr ago0x940ea024d9b821c79fe8a2aa20ecdedfaba71f68 IN  Boneswap Finance: Auto Bone0 MATIC0.00072084
0x9d4ca85c525a35b9accd1a129f91d7303cd6bf62163a746e32cf193799808bd7Withdraw All204046972021-10-20 5:21:472 days 1 hr ago0x1963ace5aa05f2e56f34e04663152ab014431192 IN  Boneswap Finance: Auto Bone0 MATIC0.00072084
0x3079915faa90779f58c87afd067f47803c8814cc7c2cd237056c9314d80ea229Emergency Withdr...203874232021-10-19 17:39:192 days 13 hrs ago0x03827daa642b7e409e4d08fb34836c22d0a3556b IN  Boneswap Finance: Auto Bone0 MATIC0.000776952
0x513d88da172940fed10d2cd18d2df25a260069f11d86025b63f63427863d8a14Withdraw All203873772021-10-19 17:37:432 days 13 hrs ago0x03827daa642b7e409e4d08fb34836c22d0a3556b IN  Boneswap Finance: Auto Bone0 MATIC0.000792924
0x77a52c0c47091f0f110ab111dc71d8612d902ab25f633d002dcfe3bfb30a8f0dWithdraw All203689792021-10-19 5:09:563 days 2 hrs ago0x4437674d9dd31ec43a0883007d331439e36442f2 IN  Boneswap Finance: Auto Bone0 MATIC0.00187524
0x1cf20025a5c6a00b4195d9a8995aaa87571992e2085df0b1ce6c8fce1df3f948Withdraw All203679672021-10-19 4:20:593 days 2 hrs ago0x1963ace5aa05f2e56f34e04663152ab014431192 IN  Boneswap Finance: Auto Bone0 MATIC0.001132754734
0x53b2e4177386b871f6c0b5fe0bbbbbd44ca6646ecf1fd902719fa892ec55768dWithdraw All203679672021-10-19 4:20:593 days 2 hrs ago0x1963ace5aa05f2e56f34e04663152ab014431192 IN  Boneswap Finance: Auto Bone0 MATIC0.00072084
0x446ec7b1ce79c300820b96f8d41a6c7df6384ea732fe4fa8140cda52948ac225Withdraw All203329842021-10-18 3:11:054 days 4 hrs ago0xba438f5396058cd21e5bf5af7430a4de2b8a967b IN  Boneswap Finance: Auto Bone0 MATIC0.00136224
0xc47f5a8a765213c2bfe3980a18223a349751dab22ef22de6b87e145e3290c20dWithdraw All203311642021-10-18 1:57:534 days 5 hrs ago0x6a2eac21be1f7649a02ef5ad6cfd0073c857fde0 IN  Boneswap Finance: Auto Bone0 MATIC0.00375048
0xc4770d0a402bd717a757582e2416a21d8ddd736e85738002b078e97ba4a86573Withdraw All203062802021-10-17 8:32:474 days 22 hrs ago0x53dacd424d4025c62585a780f5b8490d11ff56ad IN  Boneswap Finance: Auto Bone0 MATIC0.000792924
0xc385b5dc0b83843daaa236a25e066ee8d7f35f0cbd30304ce798a319832e2448Withdraw All203062742021-10-17 8:32:354 days 22 hrs ago0x53dacd424d4025c62585a780f5b8490d11ff56ad IN  Boneswap Finance: Auto Bone0 MATIC0.002062764
0x02f3863536769c61a71657d4827eb016da7c8d1980579c19957b4d6580eebd39Emergency Withdr...202953012021-10-17 1:00:455 days 6 hrs ago0xf0511828aa56f033b7a342d756baca3c4b5ff9af IN  Boneswap Finance: Auto Bone0 MATIC0.00070632
0x29844ee519773a320cb3ce2529196f573a9354cde09432479332295bbb0344f1Withdraw All202906912021-10-16 21:50:395 days 9 hrs ago0x03769155db50560de6b3eb73085fb853560543a0 IN  Boneswap Finance: Auto Bone0 MATIC0.00072084
0x4453af4398ece03a8b04aa989874e76bf92f6c9d60775f027c78bc6c3b9abf35Withdraw All202906882021-10-16 21:50:335 days 9 hrs ago0x03769155db50560de6b3eb73085fb853560543a0 IN  Boneswap Finance: Auto Bone0 MATIC0.00187524
0x7dedf18e38d181d7f6980d25a5c3c6f84a7a5b78b71d262bdc7cc6ae472104cfWithdraw All202297862021-10-15 2:12:187 days 5 hrs ago0x940ea024d9b821c79fe8a2aa20ecdedfaba71f68 IN  Boneswap Finance: Auto Bone0 MATIC0.00072084
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BoneVault

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 polygonscan.com on 2021-06-29
*/

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

pragma solidity >=0.6.0 <0.8.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.
 */
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: @openzeppelin/contracts/math/SafeMath.sol

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 subtraction 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: @openzeppelin/contracts/token/ERC20/IERC20.sol

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: @openzeppelin/contracts/utils/Address.sol

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity >=0.6.0 <0.8.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/utils/Pausable.sol

pragma solidity >=0.6.0 <0.8.0;

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

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

    bool private _paused;

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

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

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

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

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

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

pragma solidity 0.6.12;

interface IMasterChef {
    function deposit(uint256 _pid, uint256 _amount, address _referrer) external;

    function withdraw(uint256 _pid, uint256 _amount) external;

    function pendingBone(uint256 _pid, address _user) external view returns (uint256);

    function userInfo(uint256 _pid, address _user) external view returns (uint256, uint256);

    function emergencyWithdraw(uint256 _pid) external;
}

pragma solidity 0.6.12;

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

    address public burnAddress = 0x0000000000000000000000000000000000000000;

    struct UserInfo {
        uint256 shares; // number of shares for a user
        uint256 lastDepositedTime; // keeps track of deposited time for potential penalty
        uint256 boneAtLastUserAction; // keeps track of bone deposited at the last user action
        uint256 lastUserActionTime; // keeps track of the last user action time
    }

    IERC20 public immutable token; // BONE token

    IMasterChef public immutable masterChef;

    mapping(address => UserInfo) public userInfo;

    uint256 public totalShares;
    uint256 public lastHarvestedTime;
    address public admin;
    address public treasury;

    uint256 public constant MAX_PERFORMANCE_FEE = 500; // 5%
    uint256 public constant MAX_CALL_FEE = 100; // 1%
    uint256 public constant MAX_WITHDRAW_FEE = 100; // 1%
    uint256 public constant MAX_WITHDRAW_FEE_PERIOD = 72 hours; // 3 days

    uint256 public performanceFee = 200; // 2%
    uint256 public callFee = 25; // 0.25%
    uint256 public withdrawFee = 10; // 0.1%
    uint256 public withdrawFeePeriod = 72 hours; // 3 days

    event Deposit(address indexed sender, uint256 amount, uint256 shares, uint256 lastDepositedTime);
    event Withdraw(address indexed sender, uint256 amount, uint256 shares);
    event Harvest(address indexed sender, uint256 performanceFee, uint256 callFee);
    event Pause();
    event Unpause();

    /**
     * @notice Constructor
     * @param _token: Bone token contract
     * @param _masterChef: MasterChef contract
     * @param _admin: address of the admin
     * @param _treasury: address of the treasury (collects fees)
     */
    constructor(
        IERC20 _token,
        IMasterChef _masterChef,
        address _admin,
        address _treasury
    ) public {
        token = _token;
        masterChef = _masterChef;
        admin = _admin;
        treasury = _treasury;

        // Infinite approve
        IERC20(_token).safeApprove(address(_masterChef), uint256(-1));
    }

    /**
     * @notice Checks if the msg.sender is the admin address
     */
    modifier onlyAdmin() {
        require(msg.sender == admin, "admin: wut?");
        _;
    }

    /**
     * @notice Checks if the msg.sender is a contract or a proxy
     */
    modifier notContract() {
        require(!_isContract(msg.sender), "contract not allowed");
        require(msg.sender == tx.origin, "proxy contract not allowed");
        _;
    }

    /**
     * @notice Deposits funds into the BONE Vault
     * @dev Only possible when contract not paused.
     * @param _amount: number of tokens to deposit (in BONE)
     */
    function deposit(uint256 _amount) external whenNotPaused notContract {
        require(_amount > 0, "Nothing to deposit");

        uint256 pool = balanceOf();
        token.safeTransferFrom(msg.sender, address(this), _amount);
        uint256 currentShares = 0;
        if (totalShares != 0) {
            currentShares = (_amount.mul(totalShares)).div(pool);
        } else {
            currentShares = _amount;
        }
        UserInfo storage user = userInfo[msg.sender];

        user.shares = user.shares.add(currentShares);
        user.lastDepositedTime = block.timestamp;

        totalShares = totalShares.add(currentShares);

        user.boneAtLastUserAction = user.shares.mul(balanceOf()).div(totalShares);
        user.lastUserActionTime = block.timestamp;

        _earn();

        emit Deposit(msg.sender, _amount, currentShares, block.timestamp);
    }

    /**
     * @notice Withdraws all funds for a user
     */
    function withdrawAll() external notContract {
        withdraw(userInfo[msg.sender].shares);
    }

    /**
     * @notice Reinvests BONE tokens into MasterChef
     * @dev Only possible when contract not paused.
     */
    function harvest() external notContract whenNotPaused {
        IMasterChef(masterChef).withdraw(0, 0);

        uint256 bal = available();
        uint256 currentPerformanceFee = bal.mul(performanceFee).div(10000);
        token.safeTransfer(treasury, currentPerformanceFee);

        uint256 currentCallFee = bal.mul(callFee).div(10000);
        token.safeTransfer(msg.sender, currentCallFee);

        _earn();

        lastHarvestedTime = block.timestamp;

        emit Harvest(msg.sender, currentPerformanceFee, currentCallFee);
    }

    /**
     * @notice Sets admin address
     * @dev Only callable by the contract owner.
     */
    function setAdmin(address _admin) external onlyOwner {
        require(_admin != address(0), "Cannot be zero address");
        admin = _admin;
    }

    /**
     * @notice Sets treasury address
     * @dev Only callable by the contract owner.
     */
    function setTreasury(address _treasury) external onlyOwner {
        require(_treasury != address(0), "Cannot be zero address");
        treasury = _treasury;
    }

    /**
     * @notice Sets performance fee
     * @dev Only callable by the contract admin.
     */
    function setPerformanceFee(uint256 _performanceFee) external onlyAdmin {
        require(_performanceFee <= MAX_PERFORMANCE_FEE, "performanceFee cannot be more than MAX_PERFORMANCE_FEE");
        performanceFee = _performanceFee;
    }

    /**
     * @notice Sets call fee
     * @dev Only callable by the contract admin.
     */
    function setCallFee(uint256 _callFee) external onlyAdmin {
        require(_callFee <= MAX_CALL_FEE, "callFee cannot be more than MAX_CALL_FEE");
        callFee = _callFee;
    }

    /**
     * @notice Sets withdraw fee
     * @dev Only callable by the contract admin.
     */
    function setWithdrawFee(uint256 _withdrawFee) external onlyAdmin {
        require(_withdrawFee <= MAX_WITHDRAW_FEE, "withdrawFee cannot be more than MAX_WITHDRAW_FEE");
        withdrawFee = _withdrawFee;
    }

    /**
     * @notice Sets withdraw fee period
     * @dev Only callable by the contract admin.
     */
    function setWithdrawFeePeriod(uint256 _withdrawFeePeriod) external onlyAdmin {
        require(
            _withdrawFeePeriod <= MAX_WITHDRAW_FEE_PERIOD,
            "withdrawFeePeriod cannot be more than MAX_WITHDRAW_FEE_PERIOD"
        );
        withdrawFeePeriod = _withdrawFeePeriod;
    }

    /**
     * @notice Withdraws from MasterChef to Vault without caring about rewards.
     * @dev EMERGENCY ONLY. Only callable by the contract admin.
     */
    function emergencyWithdraw() external onlyAdmin {
        IMasterChef(masterChef).emergencyWithdraw(0);
    }

    /**
     * @notice Withdraw unexpected tokens sent to the BONE Vault
     */
    function inCaseTokensGetStuck(address _token) external onlyAdmin {
        require(_token != address(token), "Token cannot be same as deposit token");

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

    /**
     * @notice Triggers stopped state
     * @dev Only possible when contract not paused.
     */
    function pause() external onlyAdmin whenNotPaused {
        _pause();
        emit Pause();
    }

    /**
     * @notice Returns to normal state
     * @dev Only possible when contract is paused.
     */
    function unpause() external onlyAdmin whenPaused {
        _unpause();
        emit Unpause();
    }

    /**
     * @notice Calculates the expected harvest reward from third party
     * @return Expected reward to collect in BONE
     */
    function calculateHarvestBoneRewards() external view returns (uint256) {
        uint256 amount = IMasterChef(masterChef).pendingBone(0, address(this));
        amount = amount.add(available());
        uint256 currentCallFee = amount.mul(callFee).div(10000);

        return currentCallFee;
    }

    /**
     * @notice Calculates the total pending rewards that can be restaked
     * @return Returns total pending BONE rewards
     */
    function calculateTotalPendingBoneRewards() external view returns (uint256) {
        uint256 amount = IMasterChef(masterChef).pendingBone(0, address(this));
        amount = amount.add(available());

        return amount;
    }

    /**
     * @notice Calculates the price per share
     */
    function getPricePerFullShare() external view returns (uint256) {
        return totalShares == 0 ? 1e18 : balanceOf().mul(1e18).div(totalShares);
    }

    /**
     * @notice Withdraws from funds from the BONE Vault
     * @param _shares: Number of shares to withdraw
     */
    function withdraw(uint256 _shares) public notContract {
        UserInfo storage user = userInfo[msg.sender];
        require(_shares > 0, "Nothing to withdraw");
        require(_shares <= user.shares, "Withdraw amount exceeds balance");

        uint256 currentAmount = (balanceOf().mul(_shares)).div(totalShares);
        user.shares = user.shares.sub(_shares);
        totalShares = totalShares.sub(_shares);

        uint256 bal = available();
        if (bal < currentAmount) {
            uint256 balWithdraw = currentAmount.sub(bal);
            IMasterChef(masterChef).withdraw(0, balWithdraw);
            uint256 balAfter = available();
            uint256 diff = balAfter.sub(bal);
            if (diff < balWithdraw) {
                currentAmount = bal.add(diff);
            }
        }

        if (block.timestamp < user.lastDepositedTime.add(withdrawFeePeriod)) {
            uint256 currentWithdrawFee = currentAmount.mul(withdrawFee).div(10000);
            token.safeTransfer(treasury, currentWithdrawFee);
            currentAmount = currentAmount.sub(currentWithdrawFee);
        }

        if (user.shares > 0) {
            user.boneAtLastUserAction = user.shares.mul(balanceOf()).div(totalShares);
        } else {
            user.boneAtLastUserAction = 0;
        }

        user.lastUserActionTime = block.timestamp;

        token.safeTransfer(msg.sender, currentAmount);

        emit Withdraw(msg.sender, currentAmount, _shares);
    }

    /**
     * @notice Custom logic for how much the vault allows to be borrowed
     * @dev The contract puts 100% of the tokens to work.
     */
    function available() public view returns (uint256) {
        return token.balanceOf(address(this));
    }

    /**
     * @notice Calculates the total underlying tokens
     * @dev It includes tokens held by the contract and held in MasterChef
     */
    function balanceOf() public view returns (uint256) {
        (uint256 amount, ) = IMasterChef(masterChef).userInfo(0, address(this));
        return token.balanceOf(address(this)).add(amount);
    }

    /**
     * @notice Deposits tokens into MasterChef to earn staking rewards
     */
    function _earn() internal {
        uint256 bal = available();
        if (bal > 0) {
            IMasterChef(masterChef).deposit(0, bal, burnAddress);
        }
    }

    /**
     * @notice Checks if address is a contract
     * @dev It prevents contract from being targetted
     */
    function _isContract(address addr) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(addr)
        }
        return size > 0;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"contract IMasterChef","name":"_masterChef","type":"address"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastDepositedTime","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"performanceFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"callFee","type":"uint256"}],"name":"Harvest","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MAX_CALL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PERFORMANCE_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WITHDRAW_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WITHDRAW_FEE_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateHarvestBoneRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateTotalPendingBoneRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"callFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastHarvestedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterChef","outputs":[{"internalType":"contract IMasterChef","name":"","type":"address"}],"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":"performanceFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_callFee","type":"uint256"}],"name":"setCallFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_performanceFee","type":"uint256"}],"name":"setPerformanceFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawFee","type":"uint256"}],"name":"setWithdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawFeePeriod","type":"uint256"}],"name":"setWithdrawFeePeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"lastDepositedTime","type":"uint256"},{"internalType":"uint256","name":"boneAtLastUserAction","type":"uint256"},{"internalType":"uint256","name":"lastUserActionTime","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"},{"inputs":[],"name":"withdrawFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFeePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60c0604052600180546001600160a01b031916905560c86007556019600855600a60098190556203f48090553480156200003857600080fd5b5060405162002c7b38038062002c7b833981810160405260808110156200005e57600080fd5b50805160208201516040830151606090930151919290916000620000816200014a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b191690556001600160601b0319606085811b821660805284901b1660a052600580546001600160a01b038481166001600160a01b031992831617909255600680548484169216919091179055620001409085168460001962001c226200014e602090811b91909117901c565b5050505062000561565b3390565b801580620001d8575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015620001a857600080fd5b505afa158015620001bd573d6000803e3d6000fd5b505050506040513d6020811015620001d457600080fd5b5051155b620002155760405162461bcd60e51b815260040180806020018281038252603681526020018062002c456036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b179091526200026d9185916200027216565b505050565b6060620002ce826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200032e60201b62001d3a179092919060201c565b8051909150156200026d57808060200190516020811015620002ef57600080fd5b50516200026d5760405162461bcd60e51b815260040180806020018281038252602a81526020018062002c1b602a913960400191505060405180910390fd5b60606200033f848460008562000349565b90505b9392505050565b6060824710156200038c5760405162461bcd60e51b815260040180806020018281038252602681526020018062002bf56026913960400191505060405180910390fd5b6200039785620004b1565b620003e9576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106200042a5780518252601f19909201916020918201910162000409565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146200048e576040519150601f19603f3d011682016040523d82523d6000602084013e62000493565b606091505b509092509050620004a6828286620004b7565b979650505050505050565b3b151590565b60608315620004c857508162000342565b825115620004d95782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620005255781810151838201526020016200050b565b50505050905090810190601f168015620005535780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60805160601c60a05160601c61261f620005d6600039806108005280610abf5280610cb35280610eb45280611120528061144c52806118375280612015525080610901528061097d5280610d4b5280610da05280610e1652806111e852806116e452806119055280611c00525061261f6000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c806377c7b8fc1161013b578063bdca9165116100b8578063e941fa781161007c578063e941fa781461048c578063f0f4426014610494578063f2fde38b146104ba578063f851a440146104e0578063fc0c546a146104e85761023d565b8063bdca91651461044e578063d4b0de2f146102ca578063db2e21bc14610456578063def68a9c1461045e578063df10b4e6146104845761023d565b806390321e1a116100ff57806390321e1a146103fc578063963c279c14610404578063b60f05311461040c578063b6ac642a14610414578063b6b55f25146104315761023d565b806377c7b8fc146103d45780638456cb59146103dc578063853828b6146103e457806387788782146103ec5780638da5cb5b146103f45761023d565b80634641257d116101c9578063704b6c021161018d578063704b6c021461037957806370897b231461039f57806370d5ae05146103bc578063715018a6146103c4578063722713f7146103cc5761023d565b80634641257d1461032157806348a0d75414610329578063575a86b2146103315780635c975abb1461035557806361d027b3146103715761023d565b80632cfc5f01116102105780632cfc5f01146102e45780632e1a7d4d146102ec5780633a98ef39146103095780633f4ba83a146103115780634339ed4e146103195761023d565b80631959a002146102425780631efac1b81461028e57806326465826146102ad5780632ad5a53f146102ca575b600080fd5b6102686004803603602081101561025857600080fd5b50356001600160a01b03166104f0565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6102ab600480360360208110156102a457600080fd5b5035610519565b005b6102ab600480360360208110156102c357600080fd5b50356105ad565b6102d261063f565b60408051918252519081900360200190f35b6102d2610644565b6102ab6004803603602081101561030257600080fd5b503561064b565b6102d26109e4565b6102ab6109ea565b6102d2610aba565b6102ab610b99565b6102d2610e12565b610339610eb2565b604080516001600160a01b039092168252519081900360200190f35b61035d610ed6565b604080519115158252519081900360200190f35b610339610ee6565b6102ab6004803603602081101561038f57600080fd5b50356001600160a01b0316610ef5565b6102ab600480360360208110156103b557600080fd5b5035610fcd565b610339611060565b6102ab61106f565b6102d261111b565b6102d2611267565b6102ab6112a1565b6102ab61136e565b6102d261142c565b610339611432565b6102d2611441565b6102d2611447565b6102d26114f9565b6102ab6004803603602081101561042a57600080fd5b50356114ff565b6102ab6004803603602081101561044757600080fd5b5035611591565b6102d26117e2565b6102ab6117e8565b6102ab6004803603602081101561047457600080fd5b50356001600160a01b03166118b6565b6102d2611a09565b6102d2611a0f565b6102ab600480360360208110156104aa57600080fd5b50356001600160a01b0316611a15565b6102ab600480360360208110156104d057600080fd5b50356001600160a01b0316611aed565b610339611bef565b610339611bfe565b600260208190526000918252604090912080546001820154928201546003909201549092919084565b6005546001600160a01b03163314610566576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b6203f4808111156105a85760405162461bcd60e51b815260040180806020018281038252603d81526020018061251d603d913960400191505060405180910390fd5b600a55565b6005546001600160a01b031633146105fa576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b606481111561063a5760405162461bcd60e51b815260040180806020018281038252602881526020018061247e6028913960400191505060405180910390fd5b600855565b606481565b6203f48081565b61065433611d53565b1561069d576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b3332146106ee576040805162461bcd60e51b815260206004820152601a6024820152791c1c9bde1e4818dbdb9d1c9858dd081b9bdd08185b1b1bddd95960321b604482015290519081900360640190fd5b33600090815260026020526040902081610745576040805162461bcd60e51b81526020600482015260136024820152724e6f7468696e6720746f20776974686472617760681b604482015290519081900360640190fd5b805482111561079b576040805162461bcd60e51b815260206004820152601f60248201527f576974686472617720616d6f756e7420657863656564732062616c616e636500604482015290519081900360640190fd5b60006107bb6003546107b5856107af61111b565b90611d59565b90611dbb565b82549091506107ca9084611e22565b82556003546107d99084611e22565b60035560006107e6610e12565b9050818110156108b85760006107fc8383611e22565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663441a3e706000836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561086d57600080fd5b505af1158015610881573d6000803e3d6000fd5b50505050600061088f610e12565b9050600061089d8285611e22565b9050828110156108b4576108b18482611e7f565b94505b5050505b600a5460018401546108c991611e7f565b4210156109385760006108ed6127106107b560095486611d5990919063ffffffff16565b60065490915061092a906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116911683611ed9565b6109348382611e22565b9250505b825415610962576109586003546107b561095061111b565b865490611d59565b600284015561096a565b600060028401555b4260038401556109a46001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163384611ed9565b6040805183815260208101869052815133927ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568928290030190a250505050565b60035481565b6005546001600160a01b03163314610a37576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b610a3f610ed6565b610a87576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b610a8f611f2b565b6040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166374849c536000306040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b158015610b3357600080fd5b505afa158015610b47573d6000803e3d6000fd5b505050506040513d6020811015610b5d57600080fd5b50519050610b73610b6c610e12565b8290611e7f565b90506000610b926127106107b560085485611d5990919063ffffffff16565b9250505090565b610ba233611d53565b15610beb576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b333214610c3c576040805162461bcd60e51b815260206004820152601a6024820152791c1c9bde1e4818dbdb9d1c9858dd081b9bdd08185b1b1bddd95960321b604482015290519081900360640190fd5b610c44610ed6565b15610c89576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60408051630441a3e760e41b81526000600482018190526024820181905291516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169263441a3e70926044808201939182900301818387803b158015610cf657600080fd5b505af1158015610d0a573d6000803e3d6000fd5b505050506000610d18610e12565b90506000610d376127106107b560075485611d5990919063ffffffff16565b600654909150610d74906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116911683611ed9565b6000610d916127106107b560085486611d5990919063ffffffff16565b9050610dc76001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163383611ed9565b610dcf611fce565b426004556040805183815260208101839052815133927f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954928290030190a2505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e8157600080fd5b505afa158015610e95573d6000803e3d6000fd5b505050506040513d6020811015610eab57600080fd5b5051905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b600054600160a01b900460ff1690565b6006546001600160a01b031681565b610efd612078565b6001600160a01b0316610f0e611432565b6001600160a01b031614610f57576040805162461bcd60e51b815260206004820181905260248201526000805160206124fd833981519152604482015290519081900360640190fd5b6001600160a01b038116610fab576040805162461bcd60e51b815260206004820152601660248201527543616e6e6f74206265207a65726f206164647265737360501b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461101a576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b6101f481111561105b5760405162461bcd60e51b81526004018080602001828103825260368152602001806124a66036913960400191505060405180910390fd5b600755565b6001546001600160a01b031681565b611077612078565b6001600160a01b0316611088611432565b6001600160a01b0316146110d1576040805162461bcd60e51b815260206004820181905260248201526000805160206124fd833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166393f1a40b6000306040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050604080518083038186803b15801561119357600080fd5b505afa1580156111a7573d6000803e3d6000fd5b505050506040513d60408110156111bd57600080fd5b5051604080516370a0823160e01b815230600482015290519192506112619183916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b15801561122f57600080fd5b505afa158015611243573d6000803e3d6000fd5b505050506040513d602081101561125957600080fd5b505190611e7f565b91505090565b60006003546000146112925761128d6003546107b5670de0b6b3a76400006107af61111b565b61129c565b670de0b6b3a76400005b905090565b6005546001600160a01b031633146112ee576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b6112f6610ed6565b1561133b576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61134361207c565b6040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b61137733611d53565b156113c0576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b333214611411576040805162461bcd60e51b815260206004820152601a6024820152791c1c9bde1e4818dbdb9d1c9858dd081b9bdd08185b1b1bddd95960321b604482015290519081900360640190fd5b3360009081526002602052604090205461142a9061064b565b565b60075481565b6000546001600160a01b031690565b60085481565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166374849c536000306040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b1580156114c057600080fd5b505afa1580156114d4573d6000803e3d6000fd5b505050506040513d60208110156114ea57600080fd5b50519050611261610b6c610e12565b60045481565b6005546001600160a01b0316331461154c576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b606481111561158c5760405162461bcd60e51b81526004018080602001828103825260308152602001806125846030913960400191505060405180910390fd5b600955565b611599610ed6565b156115de576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6115e733611d53565b15611630576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b333214611681576040805162461bcd60e51b815260206004820152601a6024820152791c1c9bde1e4818dbdb9d1c9858dd081b9bdd08185b1b1bddd95960321b604482015290519081900360640190fd5b600081116116cb576040805162461bcd60e51b8152602060048201526012602482015271139bdd1a1a5b99c81d1bc819195c1bdcda5d60721b604482015290519081900360640190fd5b60006116d561111b565b905061170c6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333085612105565b600060035460001461173857611731826107b560035486611d5990919063ffffffff16565b905061173b565b50815b33600090815260026020526040902080546117569083611e7f565b815542600182015560035461176b9083611e7f565b6003819055611787906107b561177f61111b565b845490611d59565b600282015542600382015561179a611fce565b60408051858152602081018490524281830152905133917f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e919081900360600190a250505050565b6101f481565b6005546001600160a01b03163314611835576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635312ea8e60006040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561189c57600080fd5b505af11580156118b0573d6000803e3d6000fd5b50505050565b6005546001600160a01b03163314611903576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031614156119745760405162461bcd60e51b81526004018080602001828103825260258152602001806124336025913960400191505060405180910390fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156119c357600080fd5b505afa1580156119d7573d6000803e3d6000fd5b505050506040513d60208110156119ed57600080fd5b50519050611a056001600160a01b0383163383611ed9565b5050565b600a5481565b60095481565b611a1d612078565b6001600160a01b0316611a2e611432565b6001600160a01b031614611a77576040805162461bcd60e51b815260206004820181905260248201526000805160206124fd833981519152604482015290519081900360640190fd5b6001600160a01b038116611acb576040805162461bcd60e51b815260206004820152601660248201527543616e6e6f74206265207a65726f206164647265737360501b604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b611af5612078565b6001600160a01b0316611b06611432565b6001600160a01b031614611b4f576040805162461bcd60e51b815260206004820181905260248201526000805160206124fd833981519152604482015290519081900360640190fd5b6001600160a01b038116611b945760405162461bcd60e51b815260040180806020018281038252602681526020018061240d6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b801580611ca8575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611c7a57600080fd5b505afa158015611c8e573d6000803e3d6000fd5b505050506040513d6020811015611ca457600080fd5b5051155b611ce35760405162461bcd60e51b81526004018080602001828103825260368152602001806125b46036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611d3590849061215b565b505050565b6060611d49848460008561220c565b90505b9392505050565b3b151590565b600082611d6857506000611db5565b82820282848281611d7557fe5b0414611db25760405162461bcd60e51b81526004018080602001828103825260218152602001806124dc6021913960400191505060405180910390fd5b90505b92915050565b6000808211611e11576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611e1a57fe5b049392505050565b600082821115611e79576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082820183811015611db2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611d3590849061215b565b611f33610ed6565b611f7b576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611fb1612078565b604080516001600160a01b039092168252519081900360200190a1565b6000611fd8610e12565b905080156120755760015460408051638dbdbe6d60e01b8152600060048201819052602482018590526001600160a01b03938416604483015291517f000000000000000000000000000000000000000000000000000000000000000090931692638dbdbe6d9260648084019391929182900301818387803b15801561205c57600080fd5b505af1158015612070573d6000803e3d6000fd5b505050505b50565b3390565b612084610ed6565b156120c9576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611fb1612078565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526118b09085905b60606121b0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611d3a9092919063ffffffff16565b805190915015611d35578080602001905160208110156121cf57600080fd5b5051611d355760405162461bcd60e51b815260040180806020018281038252602a81526020018061255a602a913960400191505060405180910390fd5b60608247101561224d5760405162461bcd60e51b81526004018080602001828103825260268152602001806124586026913960400191505060405180910390fd5b61225685611d53565b6122a7576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106122e65780518252601f1990920191602091820191016122c7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612348576040519150601f19603f3d011682016040523d82523d6000602084013e61234d565b606091505b509150915061235d828286612368565b979650505050505050565b60608315612377575081611d4c565b8251156123875782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156123d15781810151838201526020016123b9565b50505050905090810190601f1680156123fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546f6b656e2063616e6e6f742062652073616d65206173206465706f73697420746f6b656e416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c63616c6c4665652063616e6e6f74206265206d6f7265207468616e204d41585f43414c4c5f464545706572666f726d616e63654665652063616e6e6f74206265206d6f7265207468616e204d41585f504552464f524d414e43455f464545536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65727769746864726177466565506572696f642063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455f504552494f445361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656477697468647261774665652063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122044b15e7617045ba63e86c7d7b041f81f2647b318121836aa69ff19f0d3ed904264736f6c634300060c0033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000000080244c2441779361f35803b8c711c6c8fc6054a30000000000000000000000000d17c30afbd4d29eef3639c7b1f009fd6c9f1f72000000000000000000000000ee7ec0647eeea0eb864b6ddf9f2d3b71edf8453f000000000000000000000000070c9dea1fb64b951460545a9b09a754b7208039

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

00000000000000000000000080244c2441779361f35803b8c711c6c8fc6054a30000000000000000000000000d17c30afbd4d29eef3639c7b1f009fd6c9f1f72000000000000000000000000ee7ec0647eeea0eb864b6ddf9f2d3b71edf8453f000000000000000000000000070c9dea1fb64b951460545a9b09a754b7208039

-----Decoded View---------------
Arg [0] : _token (address): 0x80244c2441779361f35803b8c711c6c8fc6054a3
Arg [1] : _masterChef (address): 0x0d17c30afbd4d29eef3639c7b1f009fd6c9f1f72
Arg [2] : _admin (address): 0xee7ec0647eeea0eb864b6ddf9f2d3b71edf8453f
Arg [3] : _treasury (address): 0x070c9dea1fb64b951460545a9b09a754b7208039

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000080244c2441779361f35803b8c711c6c8fc6054a3
Arg [1] : 0000000000000000000000000d17c30afbd4d29eef3639c7b1f009fd6c9f1f72
Arg [2] : 000000000000000000000000ee7ec0647eeea0eb864b6ddf9f2d3b71edf8453f
Arg [3] : 000000000000000000000000070c9dea1fb64b951460545a9b09a754b7208039


Deployed ByteCode Sourcemap

28631:11562:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29282:44;;;;;;;;;;;;;;;;-1:-1:-1;29282:44:0;-1:-1:-1;;;;;29282:44:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34870:301;;;;;;;;;;;;;;;;-1:-1:-1;34870:301:0;;:::i;:::-;;34247:182;;;;;;;;;;;;;;;;-1:-1:-1;34247:182:0;;:::i;29528:42::-;;;:::i;:::-;;;;;;;;;;;;;;;;29642:58;;;:::i;37471:1505::-;;;;;;;;;;;;;;;;-1:-1:-1;37471:1505:0;;:::i;29335:26::-;;;:::i;36168:103::-;;;:::i;36420:303::-;;;:::i;32692:554::-;;;:::i;39135:107::-;;;:::i;29234:39::-;;;:::i;:::-;;;;-1:-1:-1;;;;;29234:39:0;;;;;;;;;;;;;;26969:86;;;:::i;:::-;;;;;;;;;;;;;;;;;;29434:23;;;:::i;33357:152::-;;;;;;;;;;;;;;;;-1:-1:-1;33357:152:0;-1:-1:-1;;;;;33357:152:0;;:::i;33903:238::-;;;;;;;;;;;;;;;;-1:-1:-1;33903:238:0;;:::i;28746:71::-;;;:::i;2724:148::-;;;:::i;39399:201::-;;;:::i;37181:154::-;;;:::i;35950:100::-;;;:::i;32459:::-;;;:::i;29719:35::-;;;:::i;2073:87::-;;;:::i;29767:27::-;;;:::i;36874:234::-;;;:::i;29368:32::-;;;:::i;34539:214::-;;;;;;;;;;;;;;;;-1:-1:-1;34539:214:0;;:::i;31489:897::-;;;;;;;;;;;;;;;;-1:-1:-1;31489:897:0;;:::i;29466:49::-;;;:::i;35344:111::-;;;:::i;35547:285::-;;;;;;;;;;;;;;;;-1:-1:-1;35547:285:0;-1:-1:-1;;;;;35547:285:0;;:::i;29856:43::-;;;:::i;29810:31::-;;;:::i;33623:167::-;;;;;;;;;;;;;;;;-1:-1:-1;33623:167:0;-1:-1:-1;;;;;33623:167:0;;:::i;3027:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3027:244:0;-1:-1:-1;;;;;3027:244:0;;:::i;29407:20::-;;;:::i;29182:29::-;;;:::i;29282:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;34870:301::-;30980:5;;-1:-1:-1;;;;;30980:5:0;30966:10;:19;30958:43;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;;;;29692:8:::1;34980:18;:45;;34958:156;;;;-1:-1:-1::0;;;34958:156:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35125:17;:38:::0;34870:301::o;34247:182::-;30980:5;;-1:-1:-1;;;;;30980:5:0;30966:10;:19;30958:43;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;;;;29567:3:::1;34323:8;:24;;34315:77;;;;-1:-1:-1::0;;;34315:77:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34403:7;:18:::0;34247:182::o;29528:42::-;29567:3;29528:42;:::o;29642:58::-;29692:8;29642:58;:::o;37471:1505::-;31156:23;31168:10;31156:11;:23::i;:::-;31155:24;31147:57;;;;;-1:-1:-1;;;31147:57:0;;;;;;;;;;;;-1:-1:-1;;;31147:57:0;;;;;;;;;;;;;;;31223:10;31237:9;31223:23;31215:62;;;;;-1:-1:-1;;;31215:62:0;;;;;;;;;;;;-1:-1:-1;;;31215:62:0;;;;;;;;;;;;;;;37569:10:::1;37536:21;37560:20:::0;;;:8:::1;:20;::::0;;;;37599:11;37591:43:::1;;;::::0;;-1:-1:-1;;;37591:43:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;37591:43:0;;;;;;;;;;;;;::::1;;37664:11:::0;;37653:22;::::1;;37645:66;;;::::0;;-1:-1:-1;;;37645:66:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;37724:21;37748:43;37779:11;;37749:24;37765:7;37749:11;:9;:11::i;:::-;:15:::0;::::1;:24::i;:::-;37748:30:::0;::::1;:43::i;:::-;37816:11:::0;;37724:67;;-1:-1:-1;37816:24:0::1;::::0;37832:7;37816:15:::1;:24::i;:::-;37802:38:::0;;37865:11:::1;::::0;:24:::1;::::0;37881:7;37865:15:::1;:24::i;:::-;37851:11;:38:::0;37902:11:::1;37916;:9;:11::i;:::-;37902:25;;37948:13;37942:3;:19;37938:353;;;37978:19;38000:22;:13:::0;38018:3;38000:17:::1;:22::i;:::-;37978:44;;38049:10;-1:-1:-1::0;;;;;38037:32:0::1;;38070:1;38073:11;38037:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;38100:16;38119:11;:9;:11::i;:::-;38100:30:::0;-1:-1:-1;38145:12:0::1;38160:17;38100:30:::0;38173:3;38160:12:::1;:17::i;:::-;38145:32;;38203:11;38196:4;:18;38192:88;;;38251:13;:3:::0;38259:4;38251:7:::1;:13::i;:::-;38235:29;;38192:88;37938:353;;;;38352:17;::::0;38325:22:::1;::::0;::::1;::::0;:45:::1;::::0;:26:::1;:45::i;:::-;38307:15;:63;38303:297;;;38387:26;38416:41;38451:5;38416:30;38434:11;;38416:13;:17;;:30;;;;:::i;:41::-;38491:8;::::0;38387:70;;-1:-1:-1;38472:48:0::1;::::0;-1:-1:-1;;;;;38472:5:0::1;:18:::0;::::1;::::0;38491:8:::1;38387:70:::0;38472:18:::1;:48::i;:::-;38551:37;:13:::0;38569:18;38551:17:::1;:37::i;:::-;38535:53;;38303:297;;38616:11:::0;;:15;38612:183:::1;;38676:45;38709:11;;38676:28;38692:11;:9;:11::i;:::-;38676::::0;;;:15:::1;:28::i;:45::-;38648:25;::::0;::::1;:73:::0;38612:183:::1;;;38782:1;38754:25;::::0;::::1;:29:::0;38612:183:::1;38833:15;38807:23;::::0;::::1;:41:::0;38861:45:::1;-1:-1:-1::0;;;;;38861:5:0::1;:18;38880:10;38892:13:::0;38861:18:::1;:45::i;:::-;38924:44;::::0;;;;;::::1;::::0;::::1;::::0;;;;;38933:10:::1;::::0;38924:44:::1;::::0;;;;;;::::1;31288:1;;;37471:1505:::0;:::o;29335:26::-;;;;:::o;36168:103::-;30980:5;;-1:-1:-1;;;;;30980:5:0;30966:10;:19;30958:43;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;;;;27572:8:::1;:6;:8::i;:::-;27564:41;;;::::0;;-1:-1:-1;;;27564:41:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27564:41:0;;;;;;;;;;;;;::::1;;36228:10:::2;:8;:10::i;:::-;36254:9;::::0;::::2;::::0;;;::::2;36168:103::o:0;36420:303::-;36482:7;36502:14;36531:10;-1:-1:-1;;;;;36519:35:0;;36555:1;36566:4;36519:53;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36519:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36519:53:0;;-1:-1:-1;36592:23:0;36603:11;:9;:11::i;:::-;36592:6;;:10;:23::i;:::-;36583:32;;36626:22;36651:30;36675:5;36651:19;36662:7;;36651:6;:10;;:19;;;;:::i;:30::-;36626:55;-1:-1:-1;;;36420:303:0;:::o;32692:554::-;31156:23;31168:10;31156:11;:23::i;:::-;31155:24;31147:57;;;;;-1:-1:-1;;;31147:57:0;;;;;;;;;;;;-1:-1:-1;;;31147:57:0;;;;;;;;;;;;;;;31223:10;31237:9;31223:23;31215:62;;;;;-1:-1:-1;;;31215:62:0;;;;;;;;;;;;-1:-1:-1;;;31215:62:0;;;;;;;;;;;;;;;27295:8:::1;:6;:8::i;:::-;27294:9;27286:38;;;::::0;;-1:-1:-1;;;27286:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27286:38:0;;;;;;;;;;;;;::::1;;32757::::2;::::0;;-1:-1:-1;;;32757:38:0;;32790:1:::2;32757:38;::::0;::::2;::::0;;;;;;;;;;;-1:-1:-1;;;;;32769:10:0::2;32757:32;::::0;::::2;::::0;:38;;;;;;;;;;;32790:1;32757:32;:38;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;32808:11;32822;:9;:11::i;:::-;32808:25;;32844:29;32876:34;32904:5;32876:23;32884:14;;32876:3;:7;;:23;;;;:::i;:34::-;32940:8;::::0;32844:66;;-1:-1:-1;32921:51:0::2;::::0;-1:-1:-1;;;;;32921:5:0::2;:18:::0;::::2;::::0;32940:8:::2;32844:66:::0;32921:18:::2;:51::i;:::-;32985:22;33010:27;33031:5;33010:16;33018:7;;33010:3;:7;;:16;;;;:::i;:27::-;32985:52:::0;-1:-1:-1;33048:46:0::2;-1:-1:-1::0;;;;;33048:5:0::2;:18;33067:10;32985:52:::0;33048:18:::2;:46::i;:::-;33107:7;:5;:7::i;:::-;33147:15;33127:17;:35:::0;33180:58:::2;::::0;;;;;::::2;::::0;::::2;::::0;;;;;33188:10:::2;::::0;33180:58:::2;::::0;;;;;;::::2;27335:1;;;32692:554::o:0;39135:107::-;39177:7;39204:5;-1:-1:-1;;;;;39204:15:0;;39228:4;39204:30;;;;;;;;;;;;;-1:-1:-1;;;;;39204:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39204:30:0;;-1:-1:-1;39135:107:0;:::o;29234:39::-;;;:::o;26969:86::-;27016:4;27040:7;-1:-1:-1;;;27040:7:0;;;;;26969:86::o;29434:23::-;;;-1:-1:-1;;;;;29434:23:0;;:::o;33357:152::-;2304:12;:10;:12::i;:::-;-1:-1:-1;;;;;2293:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2293:23:0;;2285:68;;;;;-1:-1:-1;;;2285:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2285:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;33429:20:0;::::1;33421:55;;;::::0;;-1:-1:-1;;;33421:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33421:55:0;;;;;;;;;;;;;::::1;;33487:5;:14:::0;;-1:-1:-1;;;;;;33487:14:0::1;-1:-1:-1::0;;;;;33487:14:0;;;::::1;::::0;;;::::1;::::0;;33357:152::o;33903:238::-;30980:5;;-1:-1:-1;;;;;30980:5:0;30966:10;:19;30958:43;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;;;;29512:3:::1;33993:15;:38;;33985:105;;;;-1:-1:-1::0;;;33985:105:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34101:14;:32:::0;33903:238::o;28746:71::-;;;-1:-1:-1;;;;;28746:71:0;;:::o;2724:148::-;2304:12;:10;:12::i;:::-;-1:-1:-1;;;;;2293:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2293:23:0;;2285:68;;;;;-1:-1:-1;;;2285:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2285:68:0;;;;;;;;;;;;;;;2831:1:::1;2815:6:::0;;2794:40:::1;::::0;-1:-1:-1;;;;;2815:6:0;;::::1;::::0;2794:40:::1;::::0;2831:1;;2794:40:::1;2862:1;2845:19:::0;;-1:-1:-1;;;;;;2845:19:0::1;::::0;;2724:148::o;39399:201::-;39441:7;39462:14;39494:10;-1:-1:-1;;;;;39482:32:0;;39515:1;39526:4;39482:50;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39482:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39482:50:0;;39550:30;;-1:-1:-1;;;39550:30:0;;39574:4;39550:30;;;;;;39482:50;;-1:-1:-1;39550:42:0;;39482:50;;-1:-1:-1;;;;;39550:5:0;:15;;;;:30;;;;;39482:50;;39550:30;;;;;;;;:15;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39550:30:0;;:34;:42::i;:::-;39543:49;;;39399:201;:::o;37181:154::-;37236:7;37263:11;;37278:1;37263:16;:64;;37289:38;37315:11;;37289:21;37305:4;37289:11;:9;:11::i;:38::-;37263:64;;;37282:4;37263:64;37256:71;;37181:154;:::o;35950:100::-;30980:5;;-1:-1:-1;;;;;30980:5:0;30966:10;:19;30958:43;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;;;;27295:8:::1;:6;:8::i;:::-;27294:9;27286:38;;;::::0;;-1:-1:-1;;;27286:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27286:38:0;;;;;;;;;;;;;::::1;;36011:8:::2;:6;:8::i;:::-;36035:7;::::0;::::2;::::0;;;::::2;35950:100::o:0;32459:::-;31156:23;31168:10;31156:11;:23::i;:::-;31155:24;31147:57;;;;;-1:-1:-1;;;31147:57:0;;;;;;;;;;;;-1:-1:-1;;;31147:57:0;;;;;;;;;;;;;;;31223:10;31237:9;31223:23;31215:62;;;;;-1:-1:-1;;;31215:62:0;;;;;;;;;;;;-1:-1:-1;;;31215:62:0;;;;;;;;;;;;;;;32532:10:::1;32523:20;::::0;;;:8:::1;:20;::::0;;;;:27;32514:37:::1;::::0;:8:::1;:37::i;:::-;32459:100::o:0;29719:35::-;;;;:::o;2073:87::-;2119:7;2146:6;-1:-1:-1;;;;;2146:6:0;2073:87;:::o;29767:27::-;;;;:::o;36874:234::-;36941:7;36961:14;36990:10;-1:-1:-1;;;;;36978:35:0;;37014:1;37025:4;36978:53;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36978:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36978:53:0;;-1:-1:-1;37051:23:0;37062:11;:9;:11::i;29368:32::-;;;;:::o;34539:214::-;30980:5;;-1:-1:-1;;;;;30980:5:0;30966:10;:19;30958:43;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;;;;29626:3:::1;34623:12;:32;;34615:93;;;;-1:-1:-1::0;;;34615:93:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34719:11;:26:::0;34539:214::o;31489:897::-;27295:8;:6;:8::i;:::-;27294:9;27286:38;;;;;-1:-1:-1;;;27286:38:0;;;;;;;;;;;;-1:-1:-1;;;27286:38:0;;;;;;;;;;;;;;;31156:23:::1;31168:10;31156:11;:23::i;:::-;31155:24;31147:57;;;::::0;;-1:-1:-1;;;31147:57:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;31147:57:0;;;;;;;;;;;;;::::1;;31223:10;31237:9;31223:23;31215:62;;;::::0;;-1:-1:-1;;;31215:62:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;31215:62:0;;;;;;;;;;;;;::::1;;31587:1:::2;31577:7;:11;31569:42;;;::::0;;-1:-1:-1;;;31569:42:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;31569:42:0;;;;;;;;;;;;;::::2;;31624:12;31639:11;:9;:11::i;:::-;31624:26:::0;-1:-1:-1;31661:58:0::2;-1:-1:-1::0;;;;;31661:5:0::2;:22;31684:10;31704:4;31711:7:::0;31661:22:::2;:58::i;:::-;31730:21;31770:11;;31785:1;31770:16;31766:157;;31819:36;31850:4;31820:24;31832:11;;31820:7;:11;;:24;;;;:::i;31819:36::-;31803:52;;31766:157;;;-1:-1:-1::0;31904:7:0;31766:157:::2;31966:10;31933:21;31957:20:::0;;;:8:::2;:20;::::0;;;;32004:11;;:30:::2;::::0;32020:13;32004:15:::2;:30::i;:::-;31990:44:::0;;32070:15:::2;32045:22;::::0;::::2;:40:::0;32112:11:::2;::::0;:30:::2;::::0;32128:13;32112:15:::2;:30::i;:::-;32098:11;:44:::0;;;32183:45:::2;::::0;:28:::2;32199:11;:9;:11::i;:::-;32183::::0;;;:15:::2;:28::i;:45::-;32155:25;::::0;::::2;:73:::0;32265:15:::2;32239:23;::::0;::::2;:41:::0;32293:7:::2;:5;:7::i;:::-;32318:60;::::0;;;;;::::2;::::0;::::2;::::0;;;32362:15:::2;32318:60:::0;;;;;;32326:10:::2;::::0;32318:60:::2;::::0;;;;;;;;::::2;31288:1;;;31489:897:::0;:::o;29466:49::-;29512:3;29466:49;:::o;35344:111::-;30980:5;;-1:-1:-1;;;;;30980:5:0;30966:10;:19;30958:43;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;;;;35415:10:::1;-1:-1:-1::0;;;;;35403:41:0::1;;35445:1;35403:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;35344:111::o:0;35547:285::-;30980:5;;-1:-1:-1;;;;;30980:5:0;30966:10;:19;30958:43;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;-1:-1:-1;;;30958:43:0;;;;;;;;;;;;;;;35649:5:::1;-1:-1:-1::0;;;;;35631:24:0::1;:6;-1:-1:-1::0;;;;;35631:24:0::1;;;35623:74;;;;-1:-1:-1::0;;;35623:74:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35710:14;35734:6;-1:-1:-1::0;;;;;35727:24:0::1;;35760:4;35727:39;;;;;;;;;;;;;-1:-1:-1::0;;;;;35727:39:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;35727:39:0;;-1:-1:-1;35777:47:0::1;-1:-1:-1::0;;;;;35777:27:0;::::1;35805:10;35727:39:::0;35777:27:::1;:47::i;:::-;31012:1;35547:285:::0;:::o;29856:43::-;;;;:::o;29810:31::-;;;;:::o;33623:167::-;2304:12;:10;:12::i;:::-;-1:-1:-1;;;;;2293:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2293:23:0;;2285:68;;;;;-1:-1:-1;;;2285:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2285:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;33701:23:0;::::1;33693:58;;;::::0;;-1:-1:-1;;;33693:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33693:58:0;;;;;;;;;;;;;::::1;;33762:8;:20:::0;;-1:-1:-1;;;;;;33762:20:0::1;-1:-1:-1::0;;;;;33762:20:0;;;::::1;::::0;;;::::1;::::0;;33623:167::o;3027:244::-;2304:12;:10;:12::i;:::-;-1:-1:-1;;;;;2293:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2293:23:0;;2285:68;;;;;-1:-1:-1;;;2285:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2285:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3116:22:0;::::1;3108:73;;;;-1:-1:-1::0;;;3108:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3218:6;::::0;;3197:38:::1;::::0;-1:-1:-1;;;;;3197:38:0;;::::1;::::0;3218:6;::::1;::::0;3197:38:::1;::::0;::::1;3246:6;:17:::0;;-1:-1:-1;;;;;;3246:17:0::1;-1:-1:-1::0;;;;;3246:17:0;;;::::1;::::0;;;::::1;::::0;;3027:244::o;29407:20::-;;;-1:-1:-1;;;;;29407:20:0;;:::o;29182:29::-;;;:::o;23335:670::-;23753:10;;;23752:62;;-1:-1:-1;23769:39:0;;;-1:-1:-1;;;23769:39:0;;23793:4;23769:39;;;;-1:-1:-1;;;;;23769:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23769:39:0;:44;23752:62;23730:166;;;;-1:-1:-1;;;23730:166:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23934:62;;;-1:-1:-1;;;;;23934:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23934:62:0;-1:-1:-1;;;23934:62:0;;;23907:90;;23927:5;;23907:19;:90::i;:::-;23335:670;;;:::o;17390:229::-;17527:12;17559:52;17581:6;17589:4;17595:1;17598:12;17559:21;:52::i;:::-;17552:59;;17390:229;;;;;;:::o;39999:191::-;40129:17;40174:8;;;39999:191::o;6949:220::-;7007:7;7031:6;7027:20;;-1:-1:-1;7046:1:0;7039:8;;7027:20;7070:5;;;7074:1;7070;:5;:1;7094:5;;;;;:10;7086:56;;;;-1:-1:-1;;;7086:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7160:1;-1:-1:-1;6949:220:0;;;;;:::o;7647:153::-;7705:7;7737:1;7733;:5;7725:44;;;;;-1:-1:-1;;;7725:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7791:1;7787;:5;;;;;;;7647:153;-1:-1:-1;;;7647:153:0:o;6532:158::-;6590:7;6623:1;6618;:6;;6610:49;;;;;-1:-1:-1;;;6610:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6677:5:0;;;6532:158::o;6070:179::-;6128:7;6160:5;;;6184:6;;;;6176:46;;;;;-1:-1:-1;;;6176:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;22599:211;22743:58;;;-1:-1:-1;;;;;22743:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22743:58:0;-1:-1:-1;;;22743:58:0;;;22716:86;;22736:5;;22716:19;:86::i;28028:120::-;27572:8;:6;:8::i;:::-;27564:41;;;;;-1:-1:-1;;;27564:41:0;;;;;;;;;;;;-1:-1:-1;;;27564:41:0;;;;;;;;;;;;;;;28097:5:::1;28087:15:::0;;-1:-1:-1;;;;28087:15:0::1;::::0;;28118:22:::1;28127:12;:10;:12::i;:::-;28118:22;::::0;;-1:-1:-1;;;;;28118:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;28028:120::o:0;39698:172::-;39735:11;39749;:9;:11::i;:::-;39735:25;-1:-1:-1;39775:7:0;;39771:92;;39839:11;;39799:52;;;-1:-1:-1;;;39799:52:0;;39831:1;39799:52;;;;;;;;;;;;-1:-1:-1;;;;;39839:11:0;;;39799:52;;;;;;39811:10;39799:31;;;;;;:52;;;;;39831:1;;39799:52;;;;;;39831:1;39799:31;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39771:92;39698:172;:::o;613:106::-;701:10;613:106;:::o;27769:118::-;27295:8;:6;:8::i;:::-;27294:9;27286:38;;;;;-1:-1:-1;;;27286:38:0;;;;;;;;;;;;-1:-1:-1;;;27286:38:0;;;;;;;;;;;;;;;27829:7:::1;:14:::0;;-1:-1:-1;;;;27829:14:0::1;-1:-1:-1::0;;;27829:14:0::1;::::0;;27859:20:::1;27866:12;:10;:12::i;22818:248::-:0;22989:68;;;-1:-1:-1;;;;;22989:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22989:68:0;-1:-1:-1;;;22989:68:0;;;22962:96;;22982:5;;25106:774;25530:23;25556:69;25584:4;25556:69;;;;;;;;;;;;;;;;;25564:5;-1:-1:-1;;;;;25556:27:0;;;:69;;;;;:::i;:::-;25640:17;;25530:95;;-1:-1:-1;25640:21:0;25636:237;;25795:10;25784:30;;;;;;;;;;;;;;;-1:-1:-1;25784:30:0;25776:85;;;;-1:-1:-1;;;25776:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18510:571;18680:12;18738:5;18713:21;:30;;18705:81;;;;-1:-1:-1;;;18705:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18805:18;18816:6;18805:10;:18::i;:::-;18797:60;;;;;-1:-1:-1;;;18797:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18931:12;18945:23;18972:6;-1:-1:-1;;;;;18972:11:0;18991:5;18998:4;18972:31;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;18972:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18930:73;;;;19021:52;19039:7;19048:10;19060:12;19021:17;:52::i;:::-;19014:59;18510:571;-1:-1:-1;;;;;;;18510:571:0:o;21159:777::-;21309:12;21338:7;21334:595;;;-1:-1:-1;21369:10:0;21362:17;;21334:595;21483:17;;:21;21479:439;;21746:10;21740:17;21807:15;21794:10;21790:2;21786:19;21779:44;21694:148;21889:12;21882:20;;-1:-1:-1;;;21882:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

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