Contract 0x2DC11B394BD0f1CC6AC0a269cfe3CC0b333601B4 4

 

Contract Overview

PolyYeld Finance: Masterchef Staking Pool
Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xb4aa83b9e13136c0efd9f3395a8bce36776cf324160264cd36f593bb3f8a77e4Emergency Withdr...332577242022-09-18 10:53:1771 days 11 hrs ago0xfa86499fb61ffe573842c6f0d845cf128294a04d IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.00138774 30.000000015
0xd6cdd2631648b83fd177097f92c56e465ec0438d2943d6632f24180df8c47b23Emergency Withdr...332577222022-09-18 10:53:1371 days 11 hrs ago0xfa86499fb61ffe573842c6f0d845cf128294a04d IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.00155088 30.000000015
0xd902bdadb9e1a2a7270eecb9aebb416d96b1b11282218ed8d13380969514e764Emergency Withdr...306787342022-07-13 11:59:00138 days 10 hrs ago0x28f8dd20d5f093c9edb4d6ae546508ba9895f0a6 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.001393894948 30.379995393
0xfc290b92e54687261044a7f911c87d648c86116f7ace0d9de13f84edde1395fdEmergency Withdr...306786842022-07-13 11:57:16138 days 10 hrs ago0x28f8dd20d5f093c9edb4d6ae546508ba9895f0a6 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.001391403257 30.000070233
0x953c23ed4623911a9e5afe123e3381065a32e21e9e76fc5323943e58bac343c4Emergency Withdr...306786532022-07-13 11:56:06138 days 10 hrs ago0x28f8dd20d5f093c9edb4d6ae546508ba9895f0a6 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.001552200757 30.000014641
0xcf85b499271f2e2efaecde39ba1139f6fd6f10447fbc6eec733d211a2510027cEmergency Withdr...306786332022-07-13 11:54:46138 days 10 hrs ago0x28f8dd20d5f093c9edb4d6ae546508ba9895f0a6 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.001550880199 30.000003857
0x358dae2fa8948407971c84f8ae73e3b509df58ae7e2da36ebe16150f4e828660Emergency Withdr...306786152022-07-13 11:53:34138 days 10 hrs ago0x28f8dd20d5f093c9edb4d6ae546508ba9895f0a6 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.001554960099 30.00000192
0x45b757212e419904f10cd0d3daf6771976ff2f83573a70bb17c6eab74aa37c30Emergency Withdr...306785712022-07-13 11:51:14138 days 10 hrs ago0x28f8dd20d5f093c9edb4d6ae546508ba9895f0a6 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.001743638741 30.069995192
0xd8c058d8c9468b1d8c0299ea62ecf171265e9dfe9fc2d7a51bdc0d143cd384d7Emergency Withdr...306784972022-07-13 11:48:42138 days 10 hrs ago0x28f8dd20d5f093c9edb4d6ae546508ba9895f0a6 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.00205013018 44.202893065
0xb1beeac92b89e7f90240f0318248065230984495fc7c9be0b0fa8b120f35b68fEmergency Withdr...306783562022-07-13 11:43:52138 days 10 hrs ago0x28f8dd20d5f093c9edb4d6ae546508ba9895f0a6 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.001557822177 30.108662118
0x4cafd40afaedaf64c5a7f518c0e13242686d6b972256f5c8b4900710c30f3c70Emergency Withdr...306783562022-07-13 11:43:52138 days 10 hrs ago0x28f8dd20d5f093c9edb4d6ae546508ba9895f0a6 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.00149550994 32.340244798
0x5c182e0962efd411b2cccb9d50cc9a1112256df4b21c18f394336bcd0919dc97Emergency Withdr...306783562022-07-13 11:43:52138 days 10 hrs ago0x28f8dd20d5f093c9edb4d6ae546508ba9895f0a6 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.001475917691 32.059380316
0xd89ec404daab82e1b25e6f16a91f14d458c7722885b7d0888a1b4c310fcde07fEmergency Withdr...292490692022-06-06 20:43:37175 days 1 hr ago0xf926e6e7a328802da2323ae3c4d6cba6aa3a38b0 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.009565380036 30.000000116
0x89989cb1f1b774aca2b76ff7b99c728dc4d26648a03c2b14d4738e40c52b2e31Withdraw279336232022-05-05 0:44:32207 days 21 hrs ago0xc8c76dffb61017328954f30530bc739a200864e0 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.001951777742 32.010000038
0x986dc1bb2a4db984d63120133cef77f1589693dd0caf5259778b110f815d920eWithdraw271854132022-04-16 0:22:04226 days 21 hrs ago0xc8c76dffb61017328954f30530bc739a200864e0 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.002091598504 34.266030544
0x25269f40438c1e2ad77af1d1a764c121b638a74850e284adb8d0a76d615c632aWithdraw271853902022-04-16 0:21:14226 days 21 hrs ago0xc8c76dffb61017328954f30530bc739a200864e0 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.002228382396 36.50692
0x8fa2e8803c197ddd3d863815b23ceaaa543734e24fbce143d80497b84ada99c9Emergency Withdr...263053352022-03-24 12:07:21249 days 10 hrs ago0xd22ded954c972a9da94c356486604737c151e866 IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.001949634582 30.013771709
0xf6c10986b3763c9f44d4a4faad0bbe4a2096eecfd0ceb10a4ec98bd1adaad021Emergency Withdr...261146032022-03-19 14:50:23254 days 7 hrs ago0x66e9e855315fee013e5aeec5aa5f38ffddae1f4b IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.001392757528 30.118234737
0x6e9bb9d6440c898206337bde4d1d09b907fa2bc3cd9c6cd3b28931b6c964ec98Emergency Withdr...261144672022-03-19 14:41:27254 days 7 hrs ago0x66e9e855315fee013e5aeec5aa5f38ffddae1f4b IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.001949320866 30.00894218
0xb581854f1bd93d443419bb89efcbb71b3a86fa3876a4472b81bf5ec9a9b3d252Emergency Withdr...234477542022-01-07 17:01:07325 days 5 hrs ago0x5f49e2f21ea2144dc0f536228d480fd21fdcb8ff IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.025916500
0x76409f17bfa15bc37f8092335efb7aa02ea410c71f38b77bd91567bf26da65a6Emergency Withdr...234477542022-01-07 17:01:07325 days 5 hrs ago0x5f49e2f21ea2144dc0f536228d480fd21fdcb8ff IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.025848500
0x2f92ecf4f5d950fcf0507d0f9aa63205f6153a0e2fe64ef48b38f14d3e078b18Emergency Withdr...234477542022-01-07 17:01:07325 days 5 hrs ago0x5f49e2f21ea2144dc0f536228d480fd21fdcb8ff IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.018109350
0x92fe380156890f295d3d6df6c165fda5b4f7244fe847ef18ed3df4cddf4d0f13Emergency Withdr...234477542022-01-07 17:01:07325 days 5 hrs ago0x5f49e2f21ea2144dc0f536228d480fd21fdcb8ff IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.01964193423.5
0x3cda65dfe3d5662ea34d519f05ee75a8bb6f7b57678527c6267044884fe47393Emergency Withdr...234477542022-01-07 17:01:07325 days 5 hrs ago0x5f49e2f21ea2144dc0f536228d480fd21fdcb8ff IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.0206469450
0x778fa04e514151210925515e0e82cf839c600147f41402e703187baca8f71c68Emergency Withdr...234477542022-01-07 17:01:07325 days 5 hrs ago0x5f49e2f21ea2144dc0f536228d480fd21fdcb8ff IN  PolyYeld Finance: Masterchef Staking Pool0 MATIC0.022711590017495.000000385
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-06-10
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

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

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

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

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

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

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

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

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

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

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

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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


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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

contract YeldToken is ERC20('PolyYeld Token', 'YELD') {
    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    /// @notice A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

      /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
        external
        view
        returns (address)
    {
        return _delegates[delegator];
    }

   /**
    * @notice Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "TOKEN::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "TOKEN::delegateBySig: invalid nonce");
        require(now <= expiry, "TOKEN::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "TOKEN::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
        internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying TOKENs (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, "TOKEN::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

interface IReferral {
    /**
     * @dev Record referral.
     */
    function recordReferral(address user, address referrer) external;

    /**
     * @dev Get the referrer address that referred the user.
     */
    function getReferrer(address user) external view returns (address);
}

// MasterChef is the master of Yeld. He can make Yeld and he is a fair guy.
//
// Note that it's ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance smart contract once Yeld is sufficiently
// distributed and the community can show to govern itself.
// Have fun reading it. Hopefully it's bug-free. God bless.
contract MasterChef is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // Info of each user.
    struct UserInfo {
        uint256 amount;         // How many LP tokens the user has provided.
        uint256 rewardDebt;     // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of Yeldes
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accYeldPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accYeldPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. Yeldes to distribute per block.
        uint256 lastRewardBlock;  // Last block number that Yeldes distribution occurs.
        uint256 accYeldPerShare;   // Accumulated Yeldes per share, times 1e18. See below.
        uint16 depositFeeBP;      // Deposit fee in basis points
    }

    // The Yeld TOKEN!
    YeldToken public Yeld;
    address public devAddress;
    address public feeAddress;
    // address public vaultAddress;

    // Yeld tokens created per block.
    uint256 public YeldPerBlock = 0.015 ether;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when Yeld mining starts.
    uint256 public startBlock;

    // Yeld referral contract address.
    IReferral public referral;
    // Referral commission rate in basis points.
    uint16 public referralCommissionRate = 200;
    // Max referral commission rate: 5%.
    uint16 public constant MAXIMUM_REFERRAL_COMMISSION_RATE = 500;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event SetFeeAddress(address indexed user, address indexed newAddress);
    event SetDevAddress(address indexed user, address indexed newAddress);
    event SetVaultAddress(address indexed user, address indexed newAddress);
    event SetReferralAddress(address indexed user, IReferral indexed newAddress);
    event UpdateEmissionRate(address indexed user, uint256 YeldPerBlock);
    event ReferralCommissionPaid(address indexed user, address indexed referrer, uint256 commissionAmount);

    constructor(
        YeldToken _Yeld,
        uint256 _startBlock,
        address _devAddress,
        address _feeAddress
        // address _vaultAddress
    ) public {
        Yeld = _Yeld;
        startBlock = _startBlock;

        devAddress = _devAddress;
        feeAddress = _feeAddress;
        // vaultAddress = _vaultAddress;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    mapping(IERC20 => bool) public poolExistence;
    modifier nonDuplicated(IERC20 _lpToken) {
        require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated");
        _;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    function add(uint256 _allocPoint, IERC20 _lpToken, uint16 _depositFeeBP) external onlyOwner nonDuplicated(_lpToken) {
        require(_depositFeeBP <= 10000, "add: invalid deposit fee basis points");
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolExistence[_lpToken] = true;
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlock: lastRewardBlock,
            accYeldPerShare: 0,
            depositFeeBP: _depositFeeBP
        }));
    }

    // Update the given pool's Yeld allocation point and deposit fee. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP) external onlyOwner {
        require(_depositFeeBP <= 10000, "set: invalid deposit fee basis points");
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) {
        return _to.sub(_from);
    }

    // View function to see pending Yeldes on frontend.
    function pendingYeld(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accYeldPerShare = pool.accYeldPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 YeldReward = multiplier.mul(YeldPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accYeldPerShare = accYeldPerShare.add(YeldReward.mul(1e18).div(lpSupply));
        }
        return user.amount.mul(accYeldPerShare).div(1e18).sub(user.rewardDebt);
    }

    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0 || pool.allocPoint == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 YeldReward = multiplier.mul(YeldPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        Yeld.mint(devAddress, YeldReward.div(10));
        Yeld.mint(address(this), YeldReward);
        pool.accYeldPerShare = pool.accYeldPerShare.add(YeldReward.mul(1e18).div(lpSupply));
        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to MasterChef for Yeld allocation.
    function deposit(uint256 _pid, uint256 _amount, address _referrer) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (_amount > 0 && address(referral) != address(0) && _referrer != address(0) && _referrer != msg.sender) {
            referral.recordReferral(msg.sender, _referrer);
        }
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accYeldPerShare).div(1e18).sub(user.rewardDebt);
            if (pending > 0) {
                safeYeldTransfer(msg.sender, pending);
                payReferralCommission(msg.sender, pending);
            }
        }
        if (_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            if (pool.depositFeeBP > 0) {
                uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000);
                pool.lpToken.safeTransfer(feeAddress, depositFee);
                // pool.lpToken.safeTransfer(vaultAddress, depositFee.div(2));
                user.amount = user.amount.add(_amount).sub(depositFee);
            } else {
                user.amount = user.amount.add(_amount);
            }
        }
        user.rewardDebt = user.amount.mul(pool.accYeldPerShare).div(1e18);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accYeldPerShare).div(1e18).sub(user.rewardDebt);
        if (pending > 0) {
            safeYeldTransfer(msg.sender, pending);
            payReferralCommission(msg.sender, pending);
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accYeldPerShare).div(1e18);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        pool.lpToken.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    // Safe Yeld transfer function, just in case if rounding error causes pool to not have enough FOXs.
    function safeYeldTransfer(address _to, uint256 _amount) internal {
        uint256 YeldBal = Yeld.balanceOf(address(this));
        bool transferSuccess = false;
        if (_amount > YeldBal) {
            transferSuccess = Yeld.transfer(_to, YeldBal);
        } else {
            transferSuccess = Yeld.transfer(_to, _amount);
        }
        require(transferSuccess, "safeYeldTransfer: Transfer failed");
    }

    // Update dev address by the previous dev.
    function setDevAddress(address _devAddress) external onlyOwner {
        devAddress = _devAddress;
        emit SetDevAddress(msg.sender, _devAddress);
    }

    function setFeeAddress(address _feeAddress) external onlyOwner {
        feeAddress = _feeAddress;
        emit SetFeeAddress(msg.sender, _feeAddress);
    }

    // function setVaultAddress(address _vaultAddress) external onlyOwner {
    //     vaultAddress = _vaultAddress;
    //     emit SetVaultAddress(msg.sender, _vaultAddress);
    // }

    function updateEmissionRate(uint256 _YeldPerBlock) external onlyOwner {
        massUpdatePools();
        YeldPerBlock = _YeldPerBlock;
        emit UpdateEmissionRate(msg.sender, _YeldPerBlock);
    }

    // Update the referral contract address by the owner
    function setReferralAddress(IReferral _referral) external onlyOwner {
        referral = _referral;
        emit SetReferralAddress(msg.sender, _referral);
    }

    // Update referral commission rate by the owner
    function setReferralCommissionRate(uint16 _referralCommissionRate) external onlyOwner {
        require(_referralCommissionRate <= MAXIMUM_REFERRAL_COMMISSION_RATE, "setReferralCommissionRate: invalid referral commission rate basis points");
        referralCommissionRate = _referralCommissionRate;
    }

    // Pay referral commission to the referrer who referred this user.
    function payReferralCommission(address _user, uint256 _pending) internal {
        if (address(referral) != address(0) && referralCommissionRate > 0) {
            address referrer = referral.getReferrer(_user);
            uint256 commissionAmount = _pending.mul(referralCommissionRate).div(10000);

            if (referrer != address(0) && commissionAmount > 0) {
                Yeld.mint(referrer, commissionAmount);
                emit ReferralCommissionPaid(_user, referrer, commissionAmount);
            }
        }
    }

    // Only update before start of farm
    function updateStartBlock(uint256 _startBlock) public onlyOwner {
        startBlock = _startBlock;
    }
    
    
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract YeldToken","name":"_Yeld","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"address","name":"_devAddress","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"referrer","type":"address"},{"indexed":false,"internalType":"uint256","name":"commissionAmount","type":"uint256"}],"name":"ReferralCommissionPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetFeeAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"contract IReferral","name":"newAddress","type":"address"}],"name":"SetReferralAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetVaultAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"YeldPerBlock","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MAXIMUM_REFERRAL_COMMISSION_RATE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Yeld","outputs":[{"internalType":"contract YeldToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YeldPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_referrer","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingYeld","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"poolExistence","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accYeldPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referral","outputs":[{"internalType":"contract IReferral","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralCommissionRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddress","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IReferral","name":"_referral","type":"address"}],"name":"setReferralAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_referralCommissionRate","type":"uint16"}],"name":"setReferralCommissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","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":[{"internalType":"uint256","name":"_YeldPerBlock","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"name":"updateStartBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266354a6ba7a18000600555600060085560c8600a60146101000a81548161ffff021916908361ffff1602179055503480156200003f57600080fd5b5060405162003bdc38038062003bdc833981810160405260808110156200006557600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291905050506000620000a66200021f60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506001808190555083600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260098190555081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000227565b600033905090565b6139a580620002376000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063630b5ba11161010f578063b3caba5a116100a2578063d0d41fe111610071578063d0d41fe1146107fb578063d30ef61b1461083f578063f2fde38b14610861578063fac2b9ba146108a5576101e5565b8063b3caba5a146106dd578063c0953c0614610721578063c28d7a3b1461073f578063cbd258b5146107a1576101e5565b80638dbb1e3a116100de5780638dbb1e3a1461059c5780638dbdbe6d146105e857806393f1a40b14610640578063942d8e4f146106a9576101e5565b8063630b5ba114610510578063715018a61461051a5780638705fcd4146105245780638da5cb5b14610568576101e5565b80633ad10ef61161018757806348cd4cb11161015657806348cd4cb11461046457806351eb05a6146104825780635312ea8e146104b057806355dbc826146104de576101e5565b80633ad10ef6146103a257806341275358146103d6578063441a3e701461040a57806348b22bfb14610442576101e5565b80631441a5a9116101c35780631441a5a9146102925780631526fe27146102c657806317caf6f11461033e57806324bcb38c1461035c576101e5565b806306539275146101ea578063081e3eda146102465780630ba84cd214610264575b600080fd5b6102446004803603606081101561020057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803561ffff1690602001909291905050506108d3565b005b61024e610c49565b6040518082815260200191505060405180910390f35b6102906004803603602081101561027a57600080fd5b8101908080359060200190929190505050610c56565b005b61029a610d7e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102f2600480360360208110156102dc57600080fd5b8101908080359060200190929190505050610da4565b604051808673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020018261ffff1681526020019550505050505060405180910390f35b610346610e15565b6040518082815260200191505060405180910390f35b6103a06004803603606081101561037257600080fd5b810190808035906020019092919080359060200190929190803561ffff169060200190929190505050610e1b565b005b6103aa610fee565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103de611014565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104406004803603604081101561042057600080fd5b81019080803590602001909291908035906020019092919050505061103a565b005b61044a611330565b604051808261ffff16815260200191505060405180910390f35b61046c611336565b6040518082815260200191505060405180910390f35b6104ae6004803603602081101561049857600080fd5b810190808035906020019092919050505061133c565b005b6104dc600480360360208110156104c657600080fd5b810190808035906020019092919050505061169a565b005b61050e600480360360208110156104f457600080fd5b81019080803561ffff169060200190929190505050611856565b005b6105186119a1565b005b6105226119ce565b005b6105666004803603602081101561053a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b54565b005b610570611cba565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105d2600480360360408110156105b257600080fd5b810190808035906020019092919080359060200190929190505050611ce3565b6040518082815260200191505060405180910390f35b61063e600480360360608110156105fe57600080fd5b810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d00565b005b61068c6004803603604081101561065657600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061222d565b604051808381526020018281526020019250505060405180910390f35b6106b161225e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61071f600480360360208110156106f357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612284565b005b6107296123ea565b6040518082815260200191505060405180910390f35b61078b6004803603604081101561075557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506123f0565b6040518082815260200191505060405180910390f35b6107e3600480360360208110156107b757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061263c565b60405180821515815260200191505060405180910390f35b61083d6004803603602081101561081157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061265c565b005b6108476127c2565b604051808261ffff16815260200191505060405180910390f35b6108a36004803603602081101561087757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506127d6565b005b6108d1600480360360208110156108bb57600080fd5b81019080803590602001909291905050506129e1565b005b6108db612ab3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461099b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8160001515600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610a62576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f6e6f6e4475706c6963617465643a206475706c6963617465640000000000000081525060200191505060405180910390fd5b6127108261ffff161115610ac1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061386d6025913960400191505060405180910390fd5b60006009544311610ad457600954610ad6565b435b9050610aed85600854612abb90919063ffffffff16565b6008819055506001600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060066040518060a001604052808673ffffffffffffffffffffffffffffffffffffffff168152602001878152602001838152602001600081526020018561ffff16815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff16021790555050505050505050565b6000600680549050905090565b610c5e612ab3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d1e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610d266119a1565b806005819055503373ffffffffffffffffffffffffffffffffffffffff167fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053826040518082815260200191505060405180910390a250565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60068181548110610db157fe5b90600052602060002090600502016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900461ffff16905085565b60085481565b610e23612ab3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ee3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6127108161ffff161115610f42576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806139216025913960400191505060405180910390fd5b610f8782610f7960068681548110610f5657fe5b906000526020600020906005020160010154600854612b4390919063ffffffff16565b612abb90919063ffffffff16565b6008819055508160068481548110610f9b57fe5b9060005260206000209060050201600101819055508060068481548110610fbe57fe5b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff160217905550505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260015414156110b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000600683815481106110ca57fe5b9060005260206000209060050201905060006007600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905082816000015410156111a8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b6111b18461133c565b60006111fe82600101546111f0670de0b6b3a76400006111e287600301548760000154612b8d90919063ffffffff16565b612c1390919063ffffffff16565b612b4390919063ffffffff16565b9050600081111561121e576112133382612c5d565b61121d3382612f31565b5b60008411156112965761123e848360000154612b4390919063ffffffff16565b826000018190555061129533858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661320a9092919063ffffffff16565b5b6112cb670de0b6b3a76400006112bd85600301548560000154612b8d90919063ffffffff16565b612c1390919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a3505050600180819055505050565b6101f481565b60095481565b60006006828154811061134b57fe5b906000526020600020906005020190508060020154431161136c5750611697565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156113f957600080fd5b505afa15801561140d573d6000803e3d6000fd5b505050506040513d602081101561142357600080fd5b810190808051906020019092919050505090506000811480611449575060008260010154145b1561145e574382600201819055505050611697565b600061146e836002015443611ce3565b905060006114b16008546114a3866001015461149560055487612b8d90919063ffffffff16565b612b8d90919063ffffffff16565b612c1390919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611528600a85612c1390919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561157b57600080fd5b505af115801561158f573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561162657600080fd5b505af115801561163a573d6000803e3d6000fd5b5050505061168161166e84611660670de0b6b3a764000085612b8d90919063ffffffff16565b612c1390919063ffffffff16565b8560030154612abb90919063ffffffff16565b8460030181905550438460020181905550505050505b50565b60026001541415611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060006006828154811061172a57fe5b9060005260206000209060050201905060006007600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905060008260000181905550600082600101819055506117fa33828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661320a9092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a35050506001808190555050565b61185e612ab3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461191e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6101f461ffff168161ffff161115611981576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260488152602001806138926048913960600191505060405180910390fd5b80600a60146101000a81548161ffff021916908361ffff16021790555050565b6000600680549050905060005b818110156119ca576119bf8161133c565b8060010190506119ae565b5050565b6119d6612ab3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a96576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611b5c612ab3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611c1c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f760405160405180910390a350565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611cf88383612b4390919063ffffffff16565b905092915050565b60026001541415611d79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600060068481548110611d9057fe5b9060005260206000209060050201905060006007600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611dfd8561133c565b600084118015611e5c5750600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b8015611e955750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b8015611ecd57503373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15611f9457600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c7f7b6b33856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050600060405180830381600087803b158015611f7b57600080fd5b505af1158015611f8f573d6000803e3d6000fd5b505050505b600081600001541115612010576000611fee8260010154611fe0670de0b6b3a7640000611fd287600301548760000154612b8d90919063ffffffff16565b612c1390919063ffffffff16565b612b4390919063ffffffff16565b9050600081111561200e576120033382612c5d565b61200d3382612f31565b5b505b60008411156121935761206a3330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166132ac909392919063ffffffff16565b60008260040160009054906101000a900461ffff1661ffff1611156121725760006120c86127106120ba8560040160009054906101000a900461ffff1661ffff1688612b8d90919063ffffffff16565b612c1390919063ffffffff16565b905061213b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661320a9092919063ffffffff16565b61216481612156878560000154612abb90919063ffffffff16565b612b4390919063ffffffff16565b826000018190555050612192565b612189848260000154612abb90919063ffffffff16565b81600001819055505b5b6121c8670de0b6b3a76400006121ba84600301548460000154612b8d90919063ffffffff16565b612c1390919063ffffffff16565b8160010181905550843373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040518082815260200191505060405180910390a3505060018081905550505050565b6007602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61228c612ab3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461234c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fee63201fedda9e28e92efef9abb99bd9d2f90208a4fd0d0186c14daf364a273160405160405180910390a350565b60055481565b6000806006848154811061240057fe5b9060005260206000209060050201905060006007600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156124fa57600080fd5b505afa15801561250e573d6000803e3d6000fd5b505050506040513d602081101561252457600080fd5b8101908080519060200190929190505050905083600201544311801561254b575060008114155b156125e9576000612560856002015443611ce3565b905060006125a3600854612595886001015461258760055487612b8d90919063ffffffff16565b612b8d90919063ffffffff16565b612c1390919063ffffffff16565b90506125e46125d5846125c7670de0b6b3a764000085612b8d90919063ffffffff16565b612c1390919063ffffffff16565b85612abb90919063ffffffff16565b935050505b6126308360010154612622670de0b6b3a7640000612614868860000154612b8d90919063ffffffff16565b612c1390919063ffffffff16565b612b4390919063ffffffff16565b94505050505092915050565b600b6020528060005260406000206000915054906101000a900460ff1681565b612664612ab3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612724576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e760405160405180910390a350565b600a60149054906101000a900461ffff1681565b6127de612ab3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461289e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612924576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806138da6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6129e9612ab3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612aa9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060098190555050565b600033905090565b600080828401905083811015612b39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000612b8583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061336d565b905092915050565b600080831415612ba05760009050612c0d565b6000828402905082848281612bb157fe5b0414612c08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806139006021913960400191505060405180910390fd5b809150505b92915050565b6000612c5583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061342d565b905092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612ce857600080fd5b505afa158015612cfc573d6000803e3d6000fd5b505050506040513d6020811015612d1257600080fd5b81019080805190602001909291905050509050600081831115612e0457600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612dc257600080fd5b505af1158015612dd6573d6000803e3d6000fd5b505050506040513d6020811015612dec57600080fd5b81019080805190602001909291905050509050612ed5565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612e9757600080fd5b505af1158015612eab573d6000803e3d6000fd5b505050506040513d6020811015612ec157600080fd5b810190808051906020019092919050505090505b80612f2b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061384c6021913960400191505060405180910390fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015612fa457506000600a60149054906101000a900461ffff1661ffff16115b15613206576000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634a9fefc7846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561303457600080fd5b505afa158015613048573d6000803e3d6000fd5b505050506040513d602081101561305e57600080fd5b8101908080519060200190929190505050905060006130ae6127106130a0600a60149054906101000a900461ffff1661ffff1686612b8d90919063ffffffff16565b612c1390919063ffffffff16565b9050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156130ed5750600081115b1561320357600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1983836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561318557600080fd5b505af1158015613199573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f86ddab457291316e0f5496737e5ca67c4037234c32c3be04c48ae96186893a7b836040518082815260200191505060405180910390a35b50505b5050565b6132a78363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506134f3565b505050565b613367846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506134f3565b50505050565b600083831115829061341a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156133df5780820151818401526020810190506133c4565b50505050905090810190601f16801561340c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906134d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561349e578082015181840152602081019050613483565b50505050905090810190601f1680156134cb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816134e557fe5b049050809150509392505050565b6060613555826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166135e29092919063ffffffff16565b90506000815111156135dd5780806020019051602081101561357657600080fd5b81019080805190602001909291905050506135dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613946602a913960400191505060405180910390fd5b5b505050565b60606135f184846000856135fa565b90509392505050565b606061360585613800565b613677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106136c757805182526020820191506020810190506020830392506136a4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613729576040519150601f19603f3d011682016040523d82523d6000602084013e61372e565b606091505b509150915081156137435780925050506137f8565b6000815111156137565780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156137bd5780820151818401526020810190506137a2565b50505050905090810190601f1680156137ea5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561384257506000801b8214155b9250505091905056fe7361666559656c645472616e736665723a205472616e73666572206661696c65646164643a20696e76616c6964206465706f7369742066656520626173697320706f696e7473736574526566657272616c436f6d6d697373696f6e526174653a20696e76616c696420726566657272616c20636f6d6d697373696f6e207261746520626173697320706f696e74734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122017e0d72f6fa5a281a7f1d9316770e5983525badfb1d52ad5414e606d6a27b34664736f6c634300060c0033000000000000000000000000d0f3121a190d85de0ab6131f2bcecdbfcfb388910000000000000000000000000000000000000000000000000000000000edd26900000000000000000000000049854708a8c42eeb837a97dd97d597890ceb133400000000000000000000000049854708a8c42eeb837a97dd97d597890ceb1334

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

000000000000000000000000d0f3121a190d85de0ab6131f2bcecdbfcfb388910000000000000000000000000000000000000000000000000000000000edd26900000000000000000000000049854708a8c42eeb837a97dd97d597890ceb133400000000000000000000000049854708a8c42eeb837a97dd97d597890ceb1334

-----Decoded View---------------
Arg [0] : _Yeld (address): 0xd0f3121a190d85de0ab6131f2bcecdbfcfb38891
Arg [1] : _startBlock (uint256): 15585897
Arg [2] : _devAddress (address): 0x49854708a8c42eeb837a97dd97d597890ceb1334
Arg [3] : _feeAddress (address): 0x49854708a8c42eeb837a97dd97d597890ceb1334

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000d0f3121a190d85de0ab6131f2bcecdbfcfb38891
Arg [1] : 0000000000000000000000000000000000000000000000000000000000edd269
Arg [2] : 00000000000000000000000049854708a8c42eeb837a97dd97d597890ceb1334
Arg [3] : 00000000000000000000000049854708a8c42eeb837a97dd97d597890ceb1334


Deployed ByteCode Sourcemap

44077:12693:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47934:638;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47564:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55173:206;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46210:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;45804:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46045:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;48684:376;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;45585:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;45617;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;52770:812;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46383:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;46136:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;50420:808;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;53653:398;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55670:308;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50164:180;;;:::i;:::-;;2609:148;;;:::i;:::-;;54813:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1967:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;49136:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51297:1421;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;45886:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;45557:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;55445:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;45727:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;49322:759;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;47667:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;54645:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46292:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2912:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56648:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47934:638;2189:12;:10;:12::i;:::-;2179:22;;:6;;;;;;;;;;:22;;;2171:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48040:8:::1;47804:5;47777:32;;:13;:23;47791:8;47777:23;;;;;;;;;;;;;;;;;;;;;;;;;:32;;;47769:70;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;48086:5:::2;48069:13;:22;;;;48061:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48144:23;48185:10;;48170:12;:25;:53;;48213:10;;48170:53;;;48198:12;48170:53;48144:79;;48252:32;48272:11;48252:15;;:19;;:32;;;;:::i;:::-;48234:15;:50;;;;48321:4;48295:13;:23;48309:8;48295:23;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;48336:8;48350:213;;;;;;;;48383:8;48350:213;;;;;;48418:11;48350:213;;;;48461:15;48350:213;;;;48508:1;48350:213;;;;48538:13;48350:213;;;;::::0;48336:228:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47850:1;2249::::1;47934:638:::0;;;:::o;47564:95::-;47609:7;47636:8;:15;;;;47629:22;;47564:95;:::o;55173:206::-;2189:12;:10;:12::i;:::-;2179:22;;:6;;;;;;;;;;:22;;;2171:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55254:17:::1;:15;:17::i;:::-;55297:13;55282:12;:28;;;;55345:10;55326:45;;;55357:13;55326:45;;;;;;;;;;;;;;;;;;55173:206:::0;:::o;46210:25::-;;;;;;;;;;;;;:::o;45804:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;46045:34::-;;;;:::o;48684:376::-;2189:12;:10;:12::i;:::-;2179:22;;:6;;;;;;;;;;:22;;;2171:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48809:5:::1;48792:13;:22;;;;48784:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48885:63;48936:11;48885:46;48905:8;48914:4;48905:14;;;;;;;;;;;;;;;;;;:25;;;48885:15;;:19;;:46;;;;:::i;:::-;:50;;:63;;;;:::i;:::-;48867:15;:81;;;;48987:11;48959:8;48968:4;48959:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;49039:13;49009:8;49018:4;49009:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;48684:376:::0;;;:::o;45585:25::-;;;;;;;;;;;;;:::o;45617:::-;;;;;;;;;;;;;:::o;52770:812::-;33529:1;34135:7;;:19;;34127:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33529:1;34268:7;:18;;;;52850:21:::1;52874:8;52883:4;52874:14;;;;;;;;;;;;;;;;;;52850:38;;52899:21;52923:8;:14;52932:4;52923:14;;;;;;;;;;;:26;52938:10;52923:26;;;;;;;;;;;;;;;52899:50;;52983:7;52968:4;:11;;;:22;;52960:53;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;53024:16;53035:4;53024:10;:16::i;:::-;53051:15;53069:68;53121:4;:15;;;53069:47;53111:4;53069:37;53085:4;:20;;;53069:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;:51;;:68;;;;:::i;:::-;53051:86;;53162:1;53152:7;:11;53148:138;;;53180:37;53197:10;53209:7;53180:16;:37::i;:::-;53232:42;53254:10;53266:7;53232:21;:42::i;:::-;53148:138;53310:1;53300:7;:11;53296:152;;;53342:24;53358:7;53342:4;:11;;;:15;;:24;;;;:::i;:::-;53328:4;:11;;:38;;;;53381:55;53415:10;53428:7;53381:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;53296:152;53476:47;53518:4;53476:37;53492:4;:20;;;53476:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;53458:4;:15;;:65;;;;53560:4;53548:10;53539:35;;;53566:7;53539:35;;;;;;;;;;;;;;;;;;34299:1;;;33485::::0;34447:7;:22;;;;52770:812;;:::o;46383:61::-;46441:3;46383:61;:::o;46136:25::-;;;;:::o;50420:808::-;50472:21;50496:8;50505:4;50496:14;;;;;;;;;;;;;;;;;;50472:38;;50541:4;:20;;;50525:12;:36;50521:75;;50578:7;;;50521:75;50606:16;50625:4;:12;;;;;;;;;;;;:22;;;50656:4;50625:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50606:56;;50689:1;50677:8;:13;:37;;;;50713:1;50694:4;:15;;;:20;50677:37;50673:126;;;50754:12;50731:4;:20;;:35;;;;50781:7;;;;50673:126;50809:18;50830:49;50844:4;:20;;;50866:12;50830:13;:49::i;:::-;50809:70;;50890:18;50911:70;50965:15;;50911:49;50944:4;:15;;;50911:28;50926:12;;50911:10;:14;;:28;;;;:::i;:::-;:32;;:49;;;;:::i;:::-;:53;;:70;;;;:::i;:::-;50890:91;;50992:4;;;;;;;;;;;:9;;;51002:10;;;;;;;;;;;51014:18;51029:2;51014:10;:14;;:18;;;;:::i;:::-;50992:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51044:4;;;;;;;;;;;:9;;;51062:4;51069:10;51044:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51114:60;51139:34;51164:8;51139:20;51154:4;51139:10;:14;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;51114:4;:20;;;:24;;:60;;;;:::i;:::-;51091:4;:20;;:83;;;;51208:12;51185:4;:20;;:35;;;;50420:808;;;;;;:::o;53653:398::-;33529:1;34135:7;;:19;;34127:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33529:1;34268:7;:18;;;;53725:21:::1;53749:8;53758:4;53749:14;;;;;;;;;;;;;;;;;;53725:38;;53774:21;53798:8;:14;53807:4;53798:14;;;;;;;;;;;:26;53813:10;53798:26;;;;;;;;;;;;;;;53774:50;;53835:14;53852:4;:11;;;53835:28;;53888:1;53874:4;:11;;:15;;;;53918:1;53900:4;:15;;:19;;;;53930:54;53964:10;53977:6;53930:4;:12;;;;;;;;;;;;:25;;;;:54;;;;;:::i;:::-;54030:4;54018:10;54000:43;;;54036:6;54000:43;;;;;;;;;;;;;;;;;;34299:1;;;33485::::0;34447:7;:22;;;;53653:398;:::o;55670:308::-;2189:12;:10;:12::i;:::-;2179:22;;:6;;;;;;;;;;:22;;;2171:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46441:3:::1;55775:59;;:23;:59;;;;55767:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55947:23;55922:22;;:48;;;;;;;;;;;;;;;;;;55670:308:::0;:::o;50164:180::-;50209:14;50226:8;:15;;;;50209:32;;50257:11;50252:85;50280:6;50274:3;:12;50252:85;;;50310:15;50321:3;50310:10;:15::i;:::-;50288:5;;;;;50252:85;;;;50164:180;:::o;2609:148::-;2189:12;:10;:12::i;:::-;2179:22;;:6;;;;;;;;;;:22;;;2171:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2716:1:::1;2679:40;;2700:6;::::0;::::1;;;;;;;;2679:40;;;;;;;;;;;;2747:1;2730:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;2609:148::o:0;54813:160::-;2189:12;:10;:12::i;:::-;2179:22;;:6;;;;;;;;;;:22;;;2171:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54900:11:::1;54887:10;;:24;;;;;;;;;;;;;;;;;;54953:11;54927:38;;54941:10;54927:38;;;;;;;;;;;;54813:160:::0;:::o;1967:79::-;2005:7;2032:6;;;;;;;;;;;2025:13;;1967:79;:::o;49136:121::-;49208:7;49235:14;49243:5;49235:3;:7;;:14;;;;:::i;:::-;49228:21;;49136:121;;;;:::o;51297:1421::-;33529:1;34135:7;;:19;;34127:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33529:1;34268:7;:18;;;;51395:21:::1;51419:8;51428:4;51419:14;;;;;;;;;;;;;;;;;;51395:38;;51444:21;51468:8;:14;51477:4;51468:14;;;;;;;;;;;:26;51483:10;51468:26;;;;;;;;;;;;;;;51444:50;;51505:16;51516:4;51505:10;:16::i;:::-;51546:1;51536:7;:11;:46;;;;;51580:1;51551:31;;51559:8;;;;;;;;;;;51551:31;;;;51536:46;:73;;;;;51607:1;51586:23;;:9;:23;;;;51536:73;:100;;;;;51626:10;51613:23;;:9;:23;;;;51536:100;51532:179;;;51653:8;;;;;;;;;;;:23;;;51677:10;51689:9;51653:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;51532:179;51739:1;51725:4;:11;;;:15;51721:298;;;51757:15;51775:68;51827:4;:15;;;51775:47;51817:4;51775:37;51791:4;:20;;;51775:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;:51;;:68;;;;:::i;:::-;51757:86;;51872:1;51862:7;:11;51858:150;;;51894:37;51911:10;51923:7;51894:16;:37::i;:::-;51950:42;51972:10;51984:7;51950:21;:42::i;:::-;51858:150;51721:298;;52043:1;52033:7;:11;52029:556;;;52061:74;52099:10;52120:4;52127:7;52061:4;:12;;;;;;;;;;;;:29;;;;:74;;;;;;:::i;:::-;52174:1;52154:4;:17;;;;;;;;;;;;:21;;;52150:424;;;52196:18;52217:41;52252:5;52217:30;52229:4;:17;;;;;;;;;;;;52217:30;;:7;:11;;:30;;;;:::i;:::-;:34;;:41;;;;:::i;:::-;52196:62;;52277:49;52303:10;;;;;;;;;;;52315;52277:4;:12;;;;;;;;;;;;:25;;;;:49;;;;;:::i;:::-;52439:40;52468:10;52439:24;52455:7;52439:4;:11;;;:15;;:24;;;;:::i;:::-;:28;;:40;;;;:::i;:::-;52425:4;:11;;:54;;;;52150:424;;;;52534:24;52550:7;52534:4;:11;;;:15;;:24;;;;:::i;:::-;52520:4;:11;;:38;;;;52150:424;52029:556;52613:47;52655:4;52613:37;52629:4;:20;;;52613:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;52595:4;:15;;:65;;;;52696:4;52684:10;52676:34;;;52702:7;52676:34;;;;;;;;;;;;;;;;;;34299:1;;33485::::0;34447:7;:22;;;;51297:1421;;;:::o;45886:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;45557:21::-;;;;;;;;;;;;;:::o;55445:164::-;2189:12;:10;:12::i;:::-;2179:22;;:6;;;;;;;;;;:22;;;2171:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55535:9:::1;55524:8;;:20;;;;;;;;;;;;;;;;;;55591:9;55560:41;;55579:10;55560:41;;;;;;;;;;;;55445:164:::0;:::o;45727:41::-;;;;:::o;49322:759::-;49395:7;49415:21;49439:8;49448:4;49439:14;;;;;;;;;;;;;;;;;;49415:38;;49464:21;49488:8;:14;49497:4;49488:14;;;;;;;;;;;:21;49503:5;49488:21;;;;;;;;;;;;;;;49464:45;;49520:23;49546:4;:20;;;49520:46;;49577:16;49596:4;:12;;;;;;;;;;;;:22;;;49627:4;49596:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49577:56;;49663:4;:20;;;49648:12;:35;:52;;;;;49699:1;49687:8;:13;;49648:52;49644:349;;;49717:18;49738:49;49752:4;:20;;;49774:12;49738:13;:49::i;:::-;49717:70;;49802:18;49823:70;49877:15;;49823:49;49856:4;:15;;;49823:28;49838:12;;49823:10;:14;;:28;;;;:::i;:::-;:32;;:49;;;;:::i;:::-;:53;;:70;;;;:::i;:::-;49802:91;;49926:55;49946:34;49971:8;49946:20;49961:4;49946:10;:14;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;49926:15;:19;;:55;;;;:::i;:::-;49908:73;;49644:349;;;50010:63;50057:4;:15;;;50010:42;50047:4;50010:32;50026:15;50010:4;:11;;;:15;;:32;;;;:::i;:::-;:36;;:42;;;;:::i;:::-;:46;;:63;;;;:::i;:::-;50003:70;;;;;;49322:759;;;;:::o;47667:44::-;;;;;;;;;;;;;;;;;;;;;;:::o;54645:160::-;2189:12;:10;:12::i;:::-;2179:22;;:6;;;;;;;;;;:22;;;2171:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54732:11:::1;54719:10;;:24;;;;;;;;;;;;;;;;;;54785:11;54759:38;;54773:10;54759:38;;;;;;;;;;;;54645:160:::0;:::o;46292:42::-;;;;;;;;;;;;;:::o;2912:244::-;2189:12;:10;:12::i;:::-;2179:22;;:6;;;;;;;;;;:22;;;2171:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3021:1:::1;3001:22;;:8;:22;;;;2993:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3111:8;3082:38;;3103:6;::::0;::::1;;;;;;;;3082:38;;;;;;;;;;;;3140:8;3131:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;2912:244:::0;:::o;56648:107::-;2189:12;:10;:12::i;:::-;2179:22;;:6;;;;;;;;;;:22;;;2171:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56736:11:::1;56723:10;:24;;;;56648:107:::0;:::o;605:106::-;658:15;693:10;686:17;;605:106;:::o;4003:181::-;4061:7;4081:9;4097:1;4093;:5;4081:17;;4122:1;4117;:6;;4109:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4175:1;4168:8;;;4003:181;;;;:::o;4467:136::-;4525:7;4552:43;4556:1;4559;4552:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4545:50;;4467:136;;;;:::o;5357:471::-;5415:7;5665:1;5660;:6;5656:47;;;5690:1;5683:8;;;;5656:47;5715:9;5731:1;5727;:5;5715:17;;5760:1;5755;5751;:5;;;;;;:10;5743:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5819:1;5812:8;;;5357:471;;;;;:::o;6304:132::-;6362:7;6389:39;6393:1;6396;6389:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;6382:46;;6304:132;;;;:::o;54164:425::-;54240:15;54258:4;;;;;;;;;;;:14;;;54281:4;54258:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54240:47;;54298:20;54351:7;54341;:17;54337:173;;;54393:4;;;;;;;;;;;:13;;;54407:3;54412:7;54393:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54375:45;;54337:173;;;54471:4;;;;;;;;;;;:13;;;54485:3;54490:7;54471:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54453:45;;54337:173;54528:15;54520:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54164:425;;;;:::o;56058:541::-;56175:1;56146:31;;56154:8;;;;;;;;;;;56146:31;;;;:61;;;;;56206:1;56181:22;;;;;;;;;;;:26;;;56146:61;56142:450;;;56224:16;56243:8;;;;;;;;;;;:20;;;56264:5;56243:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56224:46;;56285:24;56312:47;56353:5;56312:36;56325:22;;;;;;;;;;;56312:36;;:8;:12;;:36;;;;:::i;:::-;:40;;:47;;;;:::i;:::-;56285:74;;56400:1;56380:22;;:8;:22;;;;:46;;;;;56425:1;56406:16;:20;56380:46;56376:205;;;56447:4;;;;;;;;;;;:9;;;56457:8;56467:16;56447:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56538:8;56508:57;;56531:5;56508:57;;;56548:16;56508:57;;;;;;;;;;;;;;;;;;56376:205;56142:450;;;56058:541;;:::o;28814:177::-;28897:86;28917:5;28947:23;;;28972:2;28976:5;28924:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28897:19;:86::i;:::-;28814:177;;;:::o;28999:205::-;29100:96;29120:5;29150:27;;;29179:4;29185:2;29189:5;29127:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29100:19;:96::i;:::-;28999:205;;;;:::o;4906:192::-;4992:7;5025:1;5020;:6;;5028:12;5012:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5052:9;5068:1;5064;:5;5052:17;;5089:1;5082:8;;;4906:192;;;;;:::o;6932:278::-;7018:7;7050:1;7046;:5;7053:12;7038:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7077:9;7093:1;7089;:5;;;;;;7077:17;;7201:1;7194:8;;;6932:278;;;;;:::o;31119:761::-;31543:23;31569:69;31597:4;31569:69;;;;;;;;;;;;;;;;;31577:5;31569:27;;;;:69;;;;;:::i;:::-;31543:95;;31673:1;31653:10;:17;:21;31649:224;;;31795:10;31784:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31776:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31649:224;31119:761;;;:::o;12259:196::-;12362:12;12394:53;12417:6;12425:4;12431:1;12434:12;12394:22;:53::i;:::-;12387:60;;12259:196;;;;;:::o;13636:979::-;13766:12;13799:18;13810:6;13799:10;:18::i;:::-;13791:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13925:12;13939:23;13966:6;:11;;13986:8;13997:4;13966:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13924:78;;;;14017:7;14013:595;;;14048:10;14041:17;;;;;;14013:595;14182:1;14162:10;:17;:21;14158:439;;;14425:10;14419:17;14486:15;14473:10;14469:2;14465:19;14458:44;14373:148;14568:12;14561:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13636:979;;;;;;;:::o;9144:619::-;9204:4;9466:16;9493:19;9515:66;9493:88;;;;9684:7;9672:20;9660:32;;9724:11;9712:8;:23;;:42;;;;;9751:3;9739:15;;:8;:15;;9712:42;9704:51;;;;9144:619;;;:::o

Swarm Source

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