Contract 0x4e22399070aD5aD7f7BEb7d3A7b543e8EcBf1d85 4

 
Ad
Ad
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xd42f583451d12143b0e8531343b84876e9e73074c9774f562ddb85b75406b5b1Enter Staking193093992021-09-20 11:25:404 mins ago0xaa98679c650accec8924650c271a697011a2d052 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.00097327575
0x619a6943948a4c6b1a6f53a2b6019d4eb9e2bb4a6b43c6f13e6e85a8e046e629Enter Staking193092012021-09-20 11:18:4811 mins ago0x92c16c15428e692f141ec486846781ab85b7f589 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.001466810269
0x1c58a25ca2d6498834976fa15e75fbc8d1e3b93bb38933b9caaf114c5bcdd9b6Leave Staking193091832021-09-20 11:18:0811 mins ago0x92c16c15428e692f141ec486846781ab85b7f589 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.001264636112
0x786b9d8d3889997387fb46d6533e947f593e9813b6560a5dc3222d5866632fbfDeposit193091832021-09-20 11:18:0811 mins ago0x92c16c15428e692f141ec486846781ab85b7f589 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.001200891573
0x3f1cbb0506bac06723bf92ab0cade87eac9111a338e57b21f0c38c6ae0639902Leave Staking193090422021-09-20 11:13:1716 mins ago0x5ef09f57bf64eb1974a873e0ef70ffe8b282feaa IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.0049257472
0x2069ba6bc3f1d8a1d9e8fea338b1415feb55ec32224e2b40bd7284a6e93e062cWithdraw193088302021-09-20 11:01:4528 mins ago0x9e32643153bb21a77a5a757d6c51a01aebea0fa7 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.0001797279
0x7287af6a8ab635cadca54ec5934fe0b50c6b7d16f414deee36abca076a984d91Enter Staking193082792021-09-20 10:42:4747 mins ago0x6d50f81413684ae7f9abcb29236a3c3e6b87eee3 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.00035073
0x1a551d6b969acf65bdc1a165c8bf064a2436c9de3ec07657fffe9d00ec2d8ec0Deposit193081592021-09-20 10:38:3951 mins ago0xd54f6dc09fdec7d9c3dd7d7f3fedaa7154f4836d IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.000873150086
0x17275ca6980bf075110bf3af382b2cf1e9f299c1cd6932a2c510b9687604bff9Deposit193080422021-09-20 10:34:4155 mins ago0xf62d9637740a6b93ee818433ee68e92f29dc9179 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.00321346
0x42dd910c0f0c0f566ea7c6dec872d75e0b49d5bb1959d62ac1e99f40b0d22df7Leave Staking193079932021-09-20 10:31:4358 mins ago0x6d50f81413684ae7f9abcb29236a3c3e6b87eee3 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.0001663134
0x96dc41cd55d68c41752c00575d166920b5a17a4940b04067d0e3823e2310cb88Enter Staking193079222021-09-20 10:28:251 hr 1 min ago0x7b7c3bef63260f0df25a3f47377608d3da07bf01 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.002226895
0x3bb408ff45a4fc3a56338ebb3536c0acace9fcff5c28623d1717a697bf4f1af6Deposit193078352021-09-20 10:25:231 hr 4 mins ago0xbf338c11a8fcf47db38ae6ab63efd469f81d1b98 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.002153595
0x20fa41c792b6f5522fa0b1bab0a948bb72e8aa51a41effb4593e6fc7e08706f8Leave Staking193078292021-09-20 10:25:111 hr 4 mins ago0x6d50f81413684ae7f9abcb29236a3c3e6b87eee3 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.000227136
0xdbcb02eabf2f0119da3119a5c990db06b4f379153ff17b825202ef624cbfa9e4Leave Staking193077882021-09-20 10:23:471 hr 6 mins ago0x7b7c3bef63260f0df25a3f47377608d3da07bf01 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.00029201303
0x7f2d36683f23489af37491b09856d998e53c6bcddae4783886be549b684532ceLeave Staking193077872021-09-20 10:23:451 hr 6 mins ago0x7b7c3bef63260f0df25a3f47377608d3da07bf01 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.0000565147
0x536146bb8355e0bcedd43e108462fb5a9c7665f6774bb8eecf4e44850bb11850Leave Staking193077172021-09-20 10:21:171 hr 8 mins ago0x7cf252c354e33c236e0c193dc00cc929c708b8e4 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.00168294
0xed35de55be717fd78f63fb3cc5ded1f7010b7268fc650b7936701c46834878d5Enter Staking193076262021-09-20 10:18:071 hr 11 mins ago0x6d807e6564d90de613e2280a3e943c32a57e18d6 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.000876825
0x96d1dfefe0cc3f5a2e71c6febf8a6c8d12f9acc3f96d7eccc2e66673897d3a2dEnter Staking193073142021-09-20 10:03:071 hr 26 mins ago0x181c8e62563ac16e2e42b9d14560c31cf8a5425b IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.0002226895
0xb1ce127d0067ac8a1afc7fe10a17cb0324338eba663f628b8a0807bd4d6cd191Deposit193071652021-09-20 9:58:011 hr 32 mins ago0x181c8e62563ac16e2e42b9d14560c31cf8a5425b IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.000589654311
0xd2581efaf301c0449af66d1b378713bc2154e6247cdb262ce0396e477370cd6eEnter Staking193069272021-09-20 9:49:491 hr 40 mins ago0xf1779d01ba54484ec562b46ec5a7e1b3e4795998 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.000876765
0xc3826a45887f76cd4d5afd18a9db67f7bc0790ddb940b12ccca8bffdbcc811f5Deposit193068512021-09-20 9:46:171 hr 43 mins ago0xf1779d01ba54484ec562b46ec5a7e1b3e4795998 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.000717865
0x5f3be6815defb98408235535d9dc1b72e5c6519f71cb2df9ca142a9f6541eeaaDeposit193068082021-09-20 9:43:351 hr 46 mins ago0x87b556eed9f2e97fba23887fa2e59eeea6239e81 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.0001603833
0xc4f56dd2368c3439594c1090f1f6704ae6c422efa2d5964bc0e86d85ef0ea344Deposit193067982021-09-20 9:43:151 hr 46 mins ago0x2f257996ee4938662a75f7c9a157e906158e94f3 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.0001791933
0x08cc26ff11936b10884b25e403a58eb071fa73797d3121f5081ccb0b5bbad45cDeposit193067972021-09-20 9:43:131 hr 46 mins ago0x87b556eed9f2e97fba23887fa2e59eeea6239e81 IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.0001767403
0xc577d7c88d39cb413ad827a131eeb11a7f040ff73671628b3625e35c1b6c41deDeposit193067382021-09-20 9:41:111 hr 48 mins ago0x785051048445f58733247c3e2574cedaf9ca948e IN  0x4e22399070ad5ad7f7beb7d3a7b543e8ecbf1d850 MATIC0.0003405234
[ 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:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

pragma solidity 0.6.12;

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

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

//
interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the token name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

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

//
/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

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

    function safeTransferFrom(
        IBEP20 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
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IBEP20 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),
            "SafeBEP20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.approve.selector, spender, value)
        );
    }

    function safeIncreaseAllowance(
        IBEP20 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(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance =
            token.allowance(address(this), spender).sub(
                value,
                "SafeBEP20: 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(IBEP20 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,
                "SafeBEP20: low-level call failed"
            );
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(
                abi.decode(returndata, (bool)),
                "SafeBEP20: BEP20 operation did not succeed"
            );
        }
    }
}

//
/*
 * @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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view 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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

//
/**
 * @dev Implementation of the {IBEP20} 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 {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-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 BEP20 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 {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, 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 bep token owner.
     */
    function getOwner() external view override returns (address) {
        return owner();
    }

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public view override returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public view override returns (string memory) {
        return _symbol;
    }

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

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

    /**
     * @dev See {BEP20-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
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

    /**
     * @dev See {BEP20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {BEP20};
     *
     * 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 override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "BEP20: 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 {BEP20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue)
        public
        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 {BEP20-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
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "BEP20: decreased allowance below zero"
            )
        );
        return true;
    }

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        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 {
        require(sender != address(0), "BEP20: transfer from the zero address");
        require(recipient != address(0), "BEP20: transfer to the zero address");

        _balances[sender] = _balances[sender].sub(
            amount,
            "BEP20: 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 {
        require(account != address(0), "BEP20: mint to the zero address");

        _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 {
        require(account != address(0), "BEP20: burn from the zero address");

        _balances[account] = _balances[account].sub(
            amount,
            "BEP20: 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 {
        require(owner != address(0), "BEP20: approve from the zero address");
        require(spender != address(0), "BEP20: approve to the zero address");

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

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(
                amount,
                "BEP20: burn amount exceeds allowance"
            )
        );
    }
}

// WingsToken with Governance.
contract CakeToken is BEP20("Jetswap Polygon Token", "pWINGS") {
    /// @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 => uint256) 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,
        uint256 previousBalance,
        uint256 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,
        uint256 nonce,
        uint256 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),
            "pWINGS::delegateBySig: invalid signature"
        );
        require(
            nonce == nonces[signatory]++,
            "pWINGS::delegateBySig: invalid nonce"
        );
        require(now <= expiry, "pWINGS::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, uint256 blockNumber)
        external
        view
        returns (uint256)
    {
        require(
            blockNumber < block.number,
            "pWINGS::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 pWINGS (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,
                "pWINGS::_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(uint256 n, string memory errorMessage)
        internal
        pure
        returns (uint32)
    {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

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

contract SyrupBar is BEP20("JetswapBar Polygon Token", "xPWINGS") {
    /// @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);
    }

    function burn(address _from, uint256 _amount) public onlyOwner {
        _burn(_from, _amount);
        _moveDelegates(address(0), _delegates[_from], _amount);
    }

    // The WIGNS TOKEN!
    CakeToken public cake;

    constructor(CakeToken _cake) public {
        cake = _cake;
    }

    // Safe wings transfer function, just in case if rounding error causes pool to not have enough pWINGSs.
    function safeCakeTransfer(address _to, uint256 _amount) public onlyOwner {
        uint256 cakeBal = cake.balanceOf(address(this));
        if (_amount > cakeBal) {
            cake.transfer(_to, cakeBal);
        } else {
            cake.transfer(_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 => uint256) 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,
        uint256 previousBalance,
        uint256 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,
        uint256 nonce,
        uint256 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),
            "pWINGS::delegateBySig: invalid signature"
        );
        require(
            nonce == nonces[signatory]++,
            "pWINGS::delegateBySig: invalid nonce"
        );
        require(now <= expiry, "pWINGS::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, uint256 blockNumber)
        external
        view
        returns (uint256)
    {
        require(
            blockNumber < block.number,
            "pWINGS::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 CAKEs (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,
                "pWINGS::_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(uint256 n, string memory errorMessage)
        internal
        pure
        returns (uint32)
    {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

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

// MasterChef is the master of pWINGS. He can make pWINGS 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 pWINGS 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 {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;

    // 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 pWINGSs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accCakePerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accCakePerShare` (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 {
        IBEP20 lpToken; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. CAKEs to distribute per block.
        uint256 lastRewardBlock; // Last block number that CAKEs distribution occurs.
        uint256 accCakePerShare; // Accumulated CAKEs per share, times 1e12. See below.
    }

    // The pWINGS TOKEN!
    CakeToken public cake;
    // The SYRUP TOKEN!
    SyrupBar public syrup;
    // Dev address.
    address public devaddr;
    // Burn address.
    address public burnaddr;
    // Boost vault address.
    address public boostvaultaddr;
    
        
    // pWINGS tokens created per block.
    uint256 public cakePerBlock;
    // Bonus muliplier for early wings makers.
    uint256 public BONUS_MULTIPLIER = 1;

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

    // The pWINGS pool weight  default = 4  //20%
    uint256 public wingsPoolWeight = 4;

    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
    );

    constructor(
        CakeToken _cake,
        SyrupBar _syrup,
        address _devaddr,
        address _boostvaultaddr,
        uint256 _cakePerBlock,
        uint256 _startBlock
    ) public {
        cake = _cake;
        syrup = _syrup;
        devaddr = _devaddr;
        burnaddr = 0x000000000000000000000000000000000000dEaD;
        boostvaultaddr = _boostvaultaddr;
        cakePerBlock = _cakePerBlock;
        startBlock = _startBlock;

        // staking pool
        poolInfo.push(
            PoolInfo({
                lpToken: _cake,
                allocPoint: 1000,
                lastRewardBlock: startBlock,
                accCakePerShare: 0
            })
        );

        totalAllocPoint = 1000;
    }

    function updateMultiplier(uint256 multiplierNumber) public onlyOwner {
        BONUS_MULTIPLIER = multiplierNumber;
    }

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

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add(
        uint256 _allocPoint,
        IBEP20 _lpToken,
        bool _withUpdate
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock =
            block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(
            PoolInfo({
                lpToken: _lpToken,
                allocPoint: _allocPoint,
                lastRewardBlock: lastRewardBlock,
                accCakePerShare: 0
            })
        );
        updateStakingPool();
    }

    // Update the given pool's pWINGS allocation point. Can only be called by the owner.
    function set(
        uint256 _pid,
        uint256 _allocPoint,
        bool _withUpdate
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(
            _allocPoint
        );
        uint256 prevAllocPoint = poolInfo[_pid].allocPoint;
        poolInfo[_pid].allocPoint = _allocPoint;
        if (prevAllocPoint != _allocPoint) {
            updateStakingPool();
        }
    }

    function updateStakingPool() internal {
        uint256 length = poolInfo.length;
        uint256 points = 0;
        for (uint256 pid = 1; pid < length; ++pid) {
            points = points.add(poolInfo[pid].allocPoint);
        }
        if (points != 0) {
            points = points.div(wingsPoolWeight);
            totalAllocPoint = totalAllocPoint.sub(poolInfo[0].allocPoint).add(
                points
            );
            poolInfo[0].allocPoint = points;
        }
    }

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

    // View function to see pending pWINGSs on frontend.
    function pendingCake(uint256 _pid, address _user)
        external
        view
        returns (uint256)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accCakePerShare = pool.accCakePerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier =
                getMultiplier(pool.lastRewardBlock, block.number);
            uint256 cakeReward =
                multiplier.mul(cakePerBlock).mul(pool.allocPoint).div(
                    totalAllocPoint
                );
            accCakePerShare = accCakePerShare.add(
                cakeReward.mul(1e12).div(lpSupply)
            );
        }
        return user.amount.mul(accCakePerShare).div(1e12).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.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 cakeReward =
            multiplier.mul(cakePerBlock).mul(pool.allocPoint).div(
                totalAllocPoint
            );
        
        // Jetswap Tokenomics    
        // 2 pWINGS per block to farm & pools
        // 10% to treasury address
        // 5% to burn address
        // 10% is stored and used for boost vault address

        cake.mint(devaddr, cakeReward.div(10));
        cake.mint(burnaddr, cakeReward.div(20));
        cake.mint(boostvaultaddr, cakeReward.div(10));

        cake.mint(address(syrup), cakeReward);
        pool.accCakePerShare = pool.accCakePerShare.add(
            cakeReward.mul(1e12).div(lpSupply)
        );
        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to MasterChef for pWINGS allocation.
    function deposit(uint256 _pid, uint256 _amount) public {
        require(_pid != 0, "deposit pWINGS by staking");

        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending =
                user.amount.mul(pool.accCakePerShare).div(1e12).sub(
                    user.rewardDebt
                );
            if (pending > 0) {
                safeCakeTransfer(msg.sender, pending);
            }
        }
        if (_amount > 0) {
            pool.lpToken.safeTransferFrom(
                address(msg.sender),
                address(this),
                _amount
            );
            user.amount = user.amount.add(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accCakePerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public {
        require(_pid != 0, "withdraw pWINGS by unstaking");

        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.accCakePerShare).div(1e12).sub(
                user.rewardDebt
            );
        if (pending > 0) {
            safeCakeTransfer(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.accCakePerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Stake pWINGS tokens to MasterChef
    function enterStaking(uint256 _amount) public {
        PoolInfo storage pool = poolInfo[0];
        UserInfo storage user = userInfo[0][msg.sender];
        updatePool(0);
        if (user.amount > 0) {
            uint256 pending =
                user.amount.mul(pool.accCakePerShare).div(1e12).sub(
                    user.rewardDebt
                );
            if (pending > 0) {
                safeCakeTransfer(msg.sender, pending);
            }
        }
        if (_amount > 0) {
            pool.lpToken.safeTransferFrom(
                address(msg.sender),
                address(this),
                _amount
            );
            user.amount = user.amount.add(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accCakePerShare).div(1e12);

        syrup.mint(msg.sender, _amount);
        emit Deposit(msg.sender, 0, _amount);
    }

    // Withdraw pWINGS tokens from STAKING.
    function leaveStaking(uint256 _amount) public {
        PoolInfo storage pool = poolInfo[0];
        UserInfo storage user = userInfo[0][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(0);
        uint256 pending =
            user.amount.mul(pool.accCakePerShare).div(1e12).sub(
                user.rewardDebt
            );
        if (pending > 0) {
            safeCakeTransfer(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.accCakePerShare).div(1e12);

        syrup.burn(msg.sender, _amount);
        emit Withdraw(msg.sender, 0, _amount);
    }

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

    // Safe wings transfer function, just in case if rounding error causes pool to not have enough pWINGSs.
    function safeCakeTransfer(address _to, uint256 _amount) internal {
        syrup.safeCakeTransfer(_to, _amount);
    }

    // Update dev address by the previous dev.
    function dev(address _devaddr) public {
        require(msg.sender == devaddr, "dev: wut?");
        devaddr = _devaddr;
    }

    // Update boostvaultaddr by the previous boostvaultaddr.
    function setBoostvaultaddr(address _addr) public {
        require(msg.sender == boostvaultaddr, "boostvaultaddr: wut?");
        boostvaultaddr = _addr;
    }

    // Update wingsPoolWeight.
    function setWINGSPoolWeight(uint256 _weight) public onlyOwner {
        require(_weight > 0, "must be bigger than 0");
        wingsPoolWeight = _weight;
        updateStakingPool();
    }
}

Contract ABI

[{"inputs":[{"internalType":"contract CakeToken","name":"_cake","type":"address"},{"internalType":"contract SyrupBar","name":"_syrup","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"address","name":"_boostvaultaddr","type":"address"},{"internalType":"uint256","name":"_cakePerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"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":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IBEP20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"boostvaultaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cake","outputs":[{"internalType":"contract CakeToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cakePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","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":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"enterStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"leaveStaking","outputs":[],"stateMutability":"nonpayable","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":"pendingCake","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IBEP20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accCakePerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setBoostvaultaddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_weight","type":"uint256"}],"name":"setWINGSPoolWeight","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"syrup","outputs":[{"internalType":"contract SyrupBar","name":"","type":"address"}],"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":"multiplierNumber","type":"uint256"}],"name":"updateMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","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":[],"name":"wingsPoolWeight","outputs":[{"internalType":"uint256","name":"","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"}]

608060405260016007556000600a556004600c5534801561001f57600080fd5b5060405161216c38038061216c833981810160405260c081101561004257600080fd5b508051602082015160408301516060840151608085015160a0909501519394929391929091600061007161020a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039788166001600160a01b03199182168117835560028054988a1698831698909817909755600380549689169682169690961790955560048054861661dead1781556005805495891695871695909517909455600692909255600b819055604080516080810182529586526103e8602087018181529187019283526000606088018181526008805496870181559091529651939094027ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee381018054949098169390951692909217909555517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee483015592517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee582015590517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee690910155600a5561020e565b3390565b611f4f8061021d6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c806364482f791161010f5780639ef400f8116100a2578063dce1748411610071578063dce17484146104d7578063e2bbb158146104df578063f137dd7414610502578063f2fde38b1461050a576101e5565b80639ef400f814610484578063b251abe61461048c578063d1cdd1b5146104b2578063d49e77cd146104cf576101e5565b80638d88a90e116100de5780638d88a90e146103ee5780638da5cb5b146104145780638dbb1e3a1461041c57806393f1a40b1461043f576101e5565b806364482f79146103ab578063715018a6146103d657806386a952c4146103de5780638aa28550146103e6576101e5565b80631eaaa0451161018757806351eb05a61161015657806351eb05a61461034c5780635312ea8e146103695780635ffe614614610386578063630b5ba1146103a3576101e5565b80631eaaa045146102d057806341441d3b14610304578063441a3e701461032157806348cd4cb114610344576101e5565b80631058d281116101c35780631058d281146102305780631175a1dd1461024f5780631526fe271461027b57806317caf6f1146102c8576101e5565b8063029206c3146101ea5780630755e0b61461020e578063081e3eda14610228575b600080fd5b6101f2610530565b604080516001600160a01b039092168252519081900360200190f35b61021661053f565b60408051918252519081900360200190f35b610216610545565b61024d6004803603602081101561024657600080fd5b503561054b565b005b6102166004803603604081101561026557600080fd5b50803590602001356001600160a01b031661072f565b6102986004803603602081101561029157600080fd5b5035610899565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b6102166108da565b61024d600480360360608110156102e657600080fd5b508035906001600160a01b03602082013516906040013515156108e0565b61024d6004803603602081101561031a57600080fd5b5035610a66565b61024d6004803603604081101561033757600080fd5b5080359060200135610bfa565b610216610d9f565b61024d6004803603602081101561036257600080fd5b5035610da5565b61024d6004803603602081101561037f57600080fd5b50356110cf565b61024d6004803603602081101561039c57600080fd5b503561116a565b61024d6111c7565b61024d600480360360608110156103c157600080fd5b508035906020810135906040013515156111ea565b61024d6112e8565b6101f261138a565b610216611399565b61024d6004803603602081101561040457600080fd5b50356001600160a01b031661139f565b6101f261140c565b6102166004803603604081101561043257600080fd5b508035906020013561141b565b61046b6004803603604081101561045557600080fd5b50803590602001356001600160a01b0316611436565b6040805192835260208301919091528051918290030190f35b61021661145a565b61024d600480360360208110156104a257600080fd5b50356001600160a01b0316611460565b61024d600480360360208110156104c857600080fd5b50356114d8565b6101f261158a565b6101f2611599565b61024d600480360360408110156104f557600080fd5b50803590602001356115a8565b6101f261170c565b61024d6004803603602081101561052057600080fd5b50356001600160a01b031661171b565b6004546001600160a01b031681565b60065481565b60085490565b6000600860008154811061055b57fe5b600091825260208083203384527fec8156718a8372b1db44bb411437d0870f3e3790d4a08526d024ce1b0b668f6b90915260409092208054600490920290920192508311156105e6576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b6105f06000610da5565b600061062a826001015461062464e8d4a5100061061e8760030154876000015461177c90919063ffffffff16565b906117d5565b90611817565b9050801561063c5761063c3382611859565b831561066657815461064e9085611817565b82558254610666906001600160a01b031633866118ca565b600383015482546106819164e8d4a510009161061e9161177c565b600183015560025460408051632770a7eb60e21b81523360048201526024810187905290516001600160a01b0390921691639dc29fac9160448082019260009290919082900301818387803b1580156106d957600080fd5b505af11580156106ed573d6000803e3d6000fd5b5050604080518781529051600093503392507ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a350505050565b6000806008848154811061073f57fe5b600091825260208083208784526009825260408085206001600160a01b03898116875290845281862060049586029093016003810154815484516370a0823160e01b81523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b1580156107bd57600080fd5b505afa1580156107d1573d6000803e3d6000fd5b505050506040513d60208110156107e757600080fd5b50516002850154909150431180156107fe57508015155b1561086457600061081385600201544361141b565b90506000610840600a5461061e886001015461083a6006548761177c90919063ffffffff16565b9061177c565b905061085f6108588461061e8464e8d4a5100061177c565b8590611921565b935050505b61088c836001015461062464e8d4a5100061061e86886000015461177c90919063ffffffff16565b9450505050505b92915050565b600881815481106108a657fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b600a5481565b6108e861197b565b6000546001600160a01b03908116911614610938576040805162461bcd60e51b81526020600482018190526024820152600080516020611efa833981519152604482015290519081900360640190fd5b8015610946576109466111c7565b6000600b54431161095957600b5461095b565b435b600a5490915061096b9085611921565b600a55604080516080810182526001600160a01b0385811682526020820187815292820184815260006060840181815260088054600181018255925293517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3600490920291820180546001600160a01b031916919094161790925592517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee482015591517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee5830155517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee690910155610a6061197f565b50505050565b60006008600081548110610a7657fe5b600091825260208083203384527fec8156718a8372b1db44bb411437d0870f3e3790d4a08526d024ce1b0b668f6b90915260408320600490920201925090610abd90610da5565b805415610b06576000610af2826001015461062464e8d4a5100061061e8760030154876000015461177c90919063ffffffff16565b90508015610b0457610b043382611859565b505b8215610b32578154610b23906001600160a01b0316333086611a24565b8054610b2f9084611921565b81555b60038201548154610b4d9164e8d4a510009161061e9161177c565b6001820155600254604080516340c10f1960e01b81523360048201526024810186905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b158015610ba557600080fd5b505af1158015610bb9573d6000803e3d6000fd5b5050604080518681529051600093503392507f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a3505050565b81610c4c576040805162461bcd60e51b815260206004820152601c60248201527f7769746864726177207057494e475320627920756e7374616b696e6700000000604482015290519081900360640190fd5b600060088381548110610c5b57fe5b600091825260208083208684526009825260408085203386529092529220805460049092029092019250831115610cce576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610cd784610da5565b6000610d05826001015461062464e8d4a5100061061e8760030154876000015461177c90919063ffffffff16565b90508015610d1757610d173382611859565b8315610d41578154610d299085611817565b82558254610d41906001600160a01b031633866118ca565b60038301548254610d5c9164e8d4a510009161061e9161177c565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b600b5481565b600060088281548110610db457fe5b9060005260206000209060040201905080600201544311610dd557506110cc565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610e1f57600080fd5b505afa158015610e33573d6000803e3d6000fd5b505050506040513d6020811015610e4957600080fd5b5051905080610e5f5750436002909101556110cc565b6000610e6f83600201544361141b565b90506000610e96600a5461061e866001015461083a6006548761177c90919063ffffffff16565b6001546003549192506001600160a01b03908116916340c10f199116610ebd84600a6117d5565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610f0357600080fd5b505af1158015610f17573d6000803e3d6000fd5b50506001546004546001600160a01b0391821693506340c10f19925016610f3f8460146117d5565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610f8557600080fd5b505af1158015610f99573d6000803e3d6000fd5b50506001546005546001600160a01b0391821693506340c10f19925016610fc184600a6117d5565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561100757600080fd5b505af115801561101b573d6000803e3d6000fd5b5050600154600254604080516340c10f1960e01b81526001600160a01b0392831660048201526024810187905290519190921693506340c10f199250604480830192600092919082900301818387803b15801561107757600080fd5b505af115801561108b573d6000803e3d6000fd5b505050506110b96110ae8461061e64e8d4a510008561177c90919063ffffffff16565b600386015490611921565b6003850155505043600290920191909155505b50565b6000600882815481106110de57fe5b60009182526020808320858452600982526040808520338087529352909320805460049093029093018054909450611123926001600160a01b039190911691906118ca565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b61117261197b565b6000546001600160a01b039081169116146111c2576040805162461bcd60e51b81526020600482018190526024820152600080516020611efa833981519152604482015290519081900360640190fd5b600755565b60085460005b818110156111e6576111de81610da5565b6001016111cd565b5050565b6111f261197b565b6000546001600160a01b03908116911614611242576040805162461bcd60e51b81526020600482018190526024820152600080516020611efa833981519152604482015290519081900360640190fd5b8015611250576112506111c7565b61128d826112876008868154811061126457fe5b906000526020600020906004020160010154600a5461181790919063ffffffff16565b90611921565b600a819055506000600884815481106112a257fe5b906000526020600020906004020160010154905082600885815481106112c457fe5b906000526020600020906004020160010181905550828114610a6057610a6061197f565b6112f061197b565b6000546001600160a01b03908116911614611340576040805162461bcd60e51b81526020600482018190526024820152600080516020611efa833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6002546001600160a01b031681565b60075481565b6003546001600160a01b031633146113ea576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b60075460009061142f9061083a8486611817565b9392505050565b60096020908152600092835260408084209091529082529020805460019091015482565b600c5481565b6005546001600160a01b031633146114b6576040805162461bcd60e51b8152602060048201526014602482015273626f6f73747661756c74616464723a207775743f60601b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6114e061197b565b6000546001600160a01b03908116911614611530576040805162461bcd60e51b81526020600482018190526024820152600080516020611efa833981519152604482015290519081900360640190fd5b6000811161157d576040805162461bcd60e51b815260206004820152601560248201527406d75737420626520626967676572207468616e203605c1b604482015290519081900360640190fd5b600c8190556110cc61197f565b6003546001600160a01b031681565b6001546001600160a01b031681565b816115fa576040805162461bcd60e51b815260206004820152601960248201527f6465706f736974207057494e4753206279207374616b696e6700000000000000604482015290519081900360640190fd5b60006008838154811061160957fe5b6000918252602080832086845260098252604080852033865290925292206004909102909101915061163a84610da5565b80541561168357600061166f826001015461062464e8d4a5100061061e8760030154876000015461177c90919063ffffffff16565b90508015611681576116813382611859565b505b82156116af5781546116a0906001600160a01b0316333086611a24565b80546116ac9084611921565b81555b600382015481546116ca9164e8d4a510009161061e9161177c565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b6005546001600160a01b031681565b61172361197b565b6000546001600160a01b03908116911614611773576040805162461bcd60e51b81526020600482018190526024820152600080516020611efa833981519152604482015290519081900360640190fd5b6110cc81611a7e565b60008261178b57506000610893565b8282028284828161179857fe5b041461142f5760405162461bcd60e51b8152600401808060200182810382526021815260200180611ed96021913960400191505060405180910390fd5b600061142f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611b1e565b600061142f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611bc0565b600254604080516328b9b77360e21b81526001600160a01b038581166004830152602482018590529151919092169163a2e6ddcc91604480830192600092919082900301818387803b1580156118ae57600080fd5b505af11580156118c2573d6000803e3d6000fd5b505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261191c908490611c1a565b505050565b60008282018381101561142f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b600854600060015b828110156119ca576119c06008828154811061199f57fe5b9060005260206000209060040201600101548361192190919063ffffffff16565b9150600101611987565b5080156111e657600c546119df9082906117d5565b90506119f681611287600860008154811061126457fe5b600a81905550806008600081548110611a0b57fe5b9060005260206000209060040201600101819055505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610a60908590611c1a565b6001600160a01b038116611ac35760405162461bcd60e51b8152600401808060200182810382526026815260200180611eb36026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008183611baa5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b6f578181015183820152602001611b57565b50505050905090810190601f168015611b9c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611bb657fe5b0495945050505050565b60008184841115611c125760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611b6f578181015183820152602001611b57565b505050900390565b6060611c6f826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611ccb9092919063ffffffff16565b80519091501561191c57808060200190516020811015611c8e57600080fd5b505161191c5760405162461bcd60e51b815260040180806020018281038252602a815260200180611e89602a913960400191505060405180910390fd5b6060611cda8484600085611ce2565b949350505050565b6060611ced85611e4f565b611d3e576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611d7d5780518252601f199092019160209182019101611d5e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611ddf576040519150601f19603f3d011682016040523d82523d6000602084013e611de4565b606091505b50915091508115611df8579150611cda9050565b805115611e085780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611b6f578181015183820152602001611b57565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611cda57505015159291505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220eb0e4b05de77144af84b2a56f0dcd7982182e227c56bf44ebddbf95272db18b864736f6c634300060c0033000000000000000000000000845e76a8691423fbc4ecb8dd77556cb61c09ee25000000000000000000000000c8af7517227287638d1cbf32398c5889577bd781000000000000000000000000df68a114da2949addc4246941af9f535b40c16ce000000000000000000000000e8b8cf540e64d4576c77edfae4d08a80eb028e910000000000000000000000000000000000000000000000001bc16d674ec800000000000000000000000000000000000000000000000000000000000000fdfb88

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

000000000000000000000000845e76a8691423fbc4ecb8dd77556cb61c09ee25000000000000000000000000c8af7517227287638d1cbf32398c5889577bd781000000000000000000000000df68a114da2949addc4246941af9f535b40c16ce000000000000000000000000e8b8cf540e64d4576c77edfae4d08a80eb028e910000000000000000000000000000000000000000000000001bc16d674ec800000000000000000000000000000000000000000000000000000000000000fdfb88

-----Decoded View---------------
Arg [0] : _cake (address): 0x845e76a8691423fbc4ecb8dd77556cb61c09ee25
Arg [1] : _syrup (address): 0xc8af7517227287638d1cbf32398c5889577bd781
Arg [2] : _devaddr (address): 0xdf68a114da2949addc4246941af9f535b40c16ce
Arg [3] : _boostvaultaddr (address): 0xe8b8cf540e64d4576c77edfae4d08a80eb028e91
Arg [4] : _cakePerBlock (uint256): 2000000000000000000
Arg [5] : _startBlock (uint256): 16645000

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000845e76a8691423fbc4ecb8dd77556cb61c09ee25
Arg [1] : 000000000000000000000000c8af7517227287638d1cbf32398c5889577bd781
Arg [2] : 000000000000000000000000df68a114da2949addc4246941af9f535b40c16ce
Arg [3] : 000000000000000000000000e8b8cf540e64d4576c77edfae4d08a80eb028e91
Arg [4] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000fdfb88


Deployed ByteCode Sourcemap

54114:13251:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55633:23;;;:::i;:::-;;;;-1:-1:-1;;;;;55633:23:0;;;;;;;;;;;;;;55785:27;;;:::i;:::-;;;;;;;;;;;;;;;;57578:95;;;:::i;65240:809::-;;;;;;;;;;;;;;;;-1:-1:-1;65240:809:0;;:::i;:::-;;59912:897;;;;;;;;;;;;;;;;-1:-1:-1;59912:897:0;;;;;;-1:-1:-1;;;;;59912:897:0;;:::i;55938:26::-;;;;;;;;;;;;;;;;-1:-1:-1;55938:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;55938:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56179:34;;;:::i;57842:634::-;;;;;;;;;;;;;;;;-1:-1:-1;57842:634:0;;;-1:-1:-1;;;;;57842:634:0;;;;;;;;;;;;:::i;64287:900::-;;;;;;;;;;;;;;;;-1:-1:-1;64287:900:0;;:::i;63387:850::-;;;;;;;;;;;;;;;;-1:-1:-1;63387:850:0;;;;;;;:::i;56272:25::-;;;:::i;61148:1179::-;;;;;;;;;;;;;;;;-1:-1:-1;61148:1179:0;;:::i;66120:356::-;;;;;;;;;;;;;;;;-1:-1:-1;66120:356:0;;:::i;57447:123::-;;;;;;;;;;;;;;;;-1:-1:-1;57447:123:0;;:::i;60892:180::-;;;:::i;58574:514::-;;;;;;;;;;;;;;;;-1:-1:-1;58574:514:0;;;;;;;;;;;;;;:::i;22885:140::-;;;:::i;55533:21::-;;;:::i;55867:35::-;;;:::i;66769:129::-;;;;;;;;;;;;;;;;-1:-1:-1;66769:129:0;-1:-1:-1;;;;;66769:129:0;;:::i;22243:79::-;;;:::i;59671:175::-;;;;;;;;;;;;;;;;-1:-1:-1;59671:175:0;;;;;;;:::i;56020:64::-;;;;;;;;;;;;;;;;-1:-1:-1;56020:64:0;;;;;;-1:-1:-1;;;;;56020:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;56357:34;;;:::i;66968:162::-;;;;;;;;;;;;;;;;-1:-1:-1;66968:162:0;-1:-1:-1;;;;;66968:162:0;;:::i;67170:192::-;;;;;;;;;;;;;;;;-1:-1:-1;67170:192:0;;:::i;55582:22::-;;;:::i;55480:21::-;;;:::i;62398:937::-;;;;;;;;;;;;;;;;-1:-1:-1;62398:937:0;;;;;;;:::i;55692:29::-;;;:::i;23180:109::-;;;;;;;;;;;;;;;;-1:-1:-1;23180:109:0;-1:-1:-1;;;;;23180:109:0;;:::i;55633:23::-;;;-1:-1:-1;;;;;55633:23:0;;:::o;55785:27::-;;;;:::o;57578:95::-;57650:8;:15;57578:95;:::o;65240:809::-;65297:21;65321:8;65330:1;65321:11;;;;;;;;;;;;;;;;65379:10;65367:23;;:11;:23;;;:11;:23;;;65409:11;;65321;;;;;;;;-1:-1:-1;65409:22:0;-1:-1:-1;65409:22:0;65401:53;;;;;-1:-1:-1;;;65401:53:0;;;;;;;;;;;;-1:-1:-1;;;65401:53:0;;;;;;;;;;;;;;;65465:13;65476:1;65465:10;:13::i;:::-;65489:15;65520:100;65590:4;:15;;;65520:47;65562:4;65520:37;65536:4;:20;;;65520:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47::i;:::-;:51;;:100::i;:::-;65489:131;-1:-1:-1;65635:11:0;;65631:81;;65663:37;65680:10;65692:7;65663:16;:37::i;:::-;65726:11;;65722:152;;65768:11;;:24;;65784:7;65768:15;:24::i;:::-;65754:38;;65807:12;;:55;;-1:-1:-1;;;;;65807:12:0;65841:10;65854:7;65807:25;:55::i;:::-;65918:20;;;;65902:11;;:47;;65944:4;;65902:37;;:15;:37::i;:47::-;65884:15;;;:65;65962:5;;:31;;;-1:-1:-1;;;65962:31:0;;65973:10;65962:31;;;;;;;;;;;;-1:-1:-1;;;;;65962:5:0;;;;:10;;:31;;;;;:5;;:31;;;;;;;;:5;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;66009:32:0;;;;;;;;66030:1;;-1:-1:-1;66018:10:0;;-1:-1:-1;66009:32:0;;;;;;;;;65240:809;;;;:::o;59912:897::-;60012:7;60037:21;60061:8;60070:4;60061:14;;;;;;;;;;;;;;;;60110;;;:8;:14;;;;;;-1:-1:-1;;;;;60110:21:0;;;;;;;;;;;60061:14;;;;;;;60168:20;;;;60218:12;;:37;;-1:-1:-1;;;60218:37:0;;60249:4;60218:37;;;;;;;;;60061:14;;-1:-1:-1;60110:21:0;;60168:20;;60061:14;;60218:12;;;;;:22;;:37;;;;;60061:14;;60218:37;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60218:37:0;60285:20;;;;60218:37;;-1:-1:-1;60270:12:0;:35;:52;;;;-1:-1:-1;60309:13:0;;;60270:52;60266:455;;;60339:18;60377:49;60391:4;:20;;;60413:12;60377:13;:49::i;:::-;60339:87;;60441:18;60479:110;60555:15;;60479:49;60512:4;:15;;;60479:28;60494:12;;60479:10;:14;;:28;;;;:::i;:::-;:32;;:49::i;:110::-;60441:148;-1:-1:-1;60622:87:0;60660:34;60685:8;60660:20;60441:148;60675:4;60660:14;:20::i;:34::-;60622:15;;:19;:87::i;:::-;60604:105;;60266:455;;;60738:63;60785:4;:15;;;60738:42;60775:4;60738:32;60754:15;60738:4;:11;;;:15;;:32;;;;:::i;:63::-;60731:70;;;;;;59912:897;;;;;:::o;55938:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55938:26:0;;;;-1:-1:-1;55938:26:0;;;:::o;56179:34::-;;;;:::o;57842:634::-;22465:12;:10;:12::i;:::-;22455:6;;-1:-1:-1;;;;;22455:6:0;;;:22;;;22447:67;;;;;-1:-1:-1;;;22447:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22447:67:0;;;;;;;;;;;;;;;57977:11:::1;57973:61;;;58005:17;:15;:17::i;:::-;58044:23;58098:10;;58083:12;:25;:53;;58126:10;;58083:53;;;58111:12;58083:53;58165:15;::::0;58044:92;;-1:-1:-1;58165:32:0::1;::::0;58185:11;58165:19:::1;:32::i;:::-;58147:15;:50:::0;58236:191:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;58236:191:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;58236:191:0;;;;;;58208:8:::1;:230:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;58208:230:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;58449:19:::1;:17;:19::i;:::-;22525:1;57842:634:::0;;;:::o;64287:900::-;64344:21;64368:8;64377:1;64368:11;;;;;;;;;;;;;;;;64426:10;64414:23;;:11;:23;;;:11;:23;;64368:11;;;;;;-1:-1:-1;64414:23:0;64448:13;;:10;:13::i;:::-;64476:11;;:15;64472:294;;64508:15;64543:108;64617:4;:15;;;64543:47;64585:4;64543:37;64559:4;:20;;;64543:4;:11;;;:15;;:37;;;;:::i;:108::-;64508:143;-1:-1:-1;64670:11:0;;64666:89;;64702:37;64719:10;64731:7;64702:16;:37::i;:::-;64472:294;;64780:11;;64776:237;;64808:12;;:140;;-1:-1:-1;;;;;64808:12:0;64864:10;64902:4;64926:7;64808:29;:140::i;:::-;64977:11;;:24;;64993:7;64977:15;:24::i;:::-;64963:38;;64776:237;65057:20;;;;65041:11;;:47;;65083:4;;65041:37;;:15;:37::i;:47::-;65023:15;;;:65;65101:5;;:31;;;-1:-1:-1;;;65101:31:0;;65112:10;65101:31;;;;;;;;;;;;-1:-1:-1;;;;;65101:5:0;;;;:10;;:31;;;;;:5;;:31;;;;;;;;:5;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;65148:31:0;;;;;;;;65168:1;;-1:-1:-1;65156:10:0;;-1:-1:-1;65148:31:0;;;;;;;;;64287:900;;;:::o;63387:850::-;63462:9;63454:50;;;;;-1:-1:-1;;;63454:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;63517:21;63541:8;63550:4;63541:14;;;;;;;;;;;;;;;;63590;;;:8;:14;;;;;;63605:10;63590:26;;;;;;;63635:11;;63541:14;;;;;;;;-1:-1:-1;63635:22:0;-1:-1:-1;63635:22:0;63627:53;;;;;-1:-1:-1;;;63627:53:0;;;;;;;;;;;;-1:-1:-1;;;63627:53:0;;;;;;;;;;;;;;;63691:16;63702:4;63691:10;:16::i;:::-;63718:15;63749:100;63819:4;:15;;;63749:47;63791:4;63749:37;63765:4;:20;;;63749:4;:11;;;:15;;:37;;;;:::i;:100::-;63718:131;-1:-1:-1;63864:11:0;;63860:81;;63892:37;63909:10;63921:7;63892:16;:37::i;:::-;63955:11;;63951:152;;63997:11;;:24;;64013:7;63997:15;:24::i;:::-;63983:38;;64036:12;;:55;;-1:-1:-1;;;;;64036:12:0;64070:10;64083:7;64036:25;:55::i;:::-;64147:20;;;;64131:11;;:47;;64173:4;;64131:37;;:15;:37::i;:47::-;64113:15;;;:65;64194:35;;;;;;;;64215:4;;64203:10;;64194:35;;;;;;;;;63387:850;;;;;:::o;56272:25::-;;;;:::o;61148:1179::-;61200:21;61224:8;61233:4;61224:14;;;;;;;;;;;;;;;;;;61200:38;;61269:4;:20;;;61253:12;:36;61249:75;;61306:7;;;61249:75;61353:12;;:37;;;-1:-1:-1;;;61353:37:0;;61384:4;61353:37;;;;;;61334:16;;-1:-1:-1;;;;;61353:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61353:37:0;;-1:-1:-1;61405:13:0;61401:102;;-1:-1:-1;61458:12:0;61435:20;;;;:35;61485:7;;61401:102;61513:18;61534:49;61548:4;:20;;;61570:12;61534:13;:49::i;:::-;61513:70;;61594:18;61628:102;61700:15;;61628:49;61661:4;:15;;;61628:28;61643:12;;61628:10;:14;;:28;;;;:::i;:102::-;61961:4;;61971:7;;61594:136;;-1:-1:-1;;;;;;61961:4:0;;;;:9;;61971:7;61980:18;61594:136;61995:2;61980:14;:18::i;:::-;61961:38;;;;;;;;;;;;;-1:-1:-1;;;;;61961:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62010:4:0;;62020:8;;-1:-1:-1;;;;;62010:4:0;;;;-1:-1:-1;62010:9:0;;-1:-1:-1;62020:8:0;62030:18;:10;62045:2;62030:14;:18::i;:::-;62010:39;;;;;;;;;;;;;-1:-1:-1;;;;;62010:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62060:4:0;;62070:14;;-1:-1:-1;;;;;62060:4:0;;;;-1:-1:-1;62060:9:0;;-1:-1:-1;62070:14:0;62086:18;:10;62101:2;62086:14;:18::i;:::-;62060:45;;;;;;;;;;;;;-1:-1:-1;;;;;62060:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62118:4:0;;62136:5;;62118:37;;;-1:-1:-1;;;62118:37:0;;-1:-1:-1;;;;;62136:5:0;;;62118:37;;;;;;;;;;;;:4;;;;;-1:-1:-1;62118:9:0;;-1:-1:-1;62118:37:0;;;;;:4;;:37;;;;;;;:4;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62189:84;62228:34;62253:8;62228:20;62243:4;62228:10;:14;;:20;;;;:::i;:34::-;62189:20;;;;;:24;:84::i;:::-;62166:20;;;:107;-1:-1:-1;;62307:12:0;62284:20;;;;:35;;;;-1:-1:-1;61148:1179:0;;:::o;66120:356::-;66179:21;66203:8;66212:4;66203:14;;;;;;;;;;;;;;;;66252;;;:8;:14;;;;;;66267:10;66252:26;;;;;;;;66336:11;;66203:14;;;;;;;66289:12;;66203:14;;-1:-1:-1;66289:59:0;;-1:-1:-1;;;;;66289:12:0;;;;;66267:10;66289:25;:59::i;:::-;66400:11;;66364:48;;;;;;;66394:4;;66382:10;;66364:48;;;;;;;;;66437:1;66423:15;;;66449;;;;:19;-1:-1:-1;;66120:356:0:o;57447:123::-;22465:12;:10;:12::i;:::-;22455:6;;-1:-1:-1;;;;;22455:6:0;;;:22;;;22447:67;;;;;-1:-1:-1;;;22447:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22447:67:0;;;;;;;;;;;;;;;57527:16:::1;:35:::0;57447:123::o;60892:180::-;60954:8;:15;60937:14;60980:85;61008:6;61002:3;:12;60980:85;;;61038:15;61049:3;61038:10;:15::i;:::-;61016:5;;60980:85;;;;60892:180;:::o;58574:514::-;22465:12;:10;:12::i;:::-;22455:6;;-1:-1:-1;;;;;22455:6:0;;;:22;;;22447:67;;;;;-1:-1:-1;;;22447:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22447:67:0;;;;;;;;;;;;;;;58706:11:::1;58702:61;;;58734:17;:15;:17::i;:::-;58791:87;58856:11;58791:46;58811:8;58820:4;58811:14;;;;;;;;;;;;;;;;;;:25;;;58791:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:87::i;:::-;58773:15;:105;;;;58889:22;58914:8;58923:4;58914:14;;;;;;;;;;;;;;;;;;:25;;;58889:50;;58978:11;58950:8;58959:4;58950:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;59022:11;59004:14;:29;59000:81;;59050:19;:17;:19::i;22885:140::-:0;22465:12;:10;:12::i;:::-;22455:6;;-1:-1:-1;;;;;22455:6:0;;;:22;;;22447:67;;;;;-1:-1:-1;;;22447:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22447:67:0;;;;;;;;;;;;;;;22984:1:::1;22968:6:::0;;22947:40:::1;::::0;-1:-1:-1;;;;;22968:6:0;;::::1;::::0;22947:40:::1;::::0;22984:1;;22947:40:::1;23015:1;22998:19:::0;;-1:-1:-1;;;;;;22998:19:0::1;::::0;;22885:140::o;55533:21::-;;;-1:-1:-1;;;;;55533:21:0;;:::o;55867:35::-;;;;:::o;66769:129::-;66840:7;;-1:-1:-1;;;;;66840:7:0;66826:10;:21;66818:43;;;;;-1:-1:-1;;;66818:43:0;;;;;;;;;;;;-1:-1:-1;;;66818:43:0;;;;;;;;;;;;;;;66872:7;:18;;-1:-1:-1;;;;;;66872:18:0;-1:-1:-1;;;;;66872:18:0;;;;;;;;;;66769:129::o;22243:79::-;22281:7;22308:6;-1:-1:-1;;;;;22308:6:0;22243:79;:::o;59671:175::-;59821:16;;59770:7;;59802:36;;:14;:3;59810:5;59802:7;:14::i;:36::-;59795:43;59671:175;-1:-1:-1;;;59671:175:0:o;56020:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;56357:34::-;;;;:::o;66968:162::-;67050:14;;-1:-1:-1;;;;;67050:14:0;67036:10;:28;67028:61;;;;;-1:-1:-1;;;67028:61:0;;;;;;;;;;;;-1:-1:-1;;;67028:61:0;;;;;;;;;;;;;;;67100:14;:22;;-1:-1:-1;;;;;;67100:22:0;-1:-1:-1;;;;;67100:22:0;;;;;;;;;;66968:162::o;67170:192::-;22465:12;:10;:12::i;:::-;22455:6;;-1:-1:-1;;;;;22455:6:0;;;:22;;;22447:67;;;;;-1:-1:-1;;;22447:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22447:67:0;;;;;;;;;;;;;;;67261:1:::1;67251:7;:11;67243:45;;;::::0;;-1:-1:-1;;;67243:45:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;67243:45:0;;;;;;;;;;;;;::::1;;67299:15;:25:::0;;;67335:19:::1;:17;:19::i;55582:22::-:0;;;-1:-1:-1;;;;;55582:22:0;;:::o;55480:21::-;;;-1:-1:-1;;;;;55480:21:0;;:::o;62398:937::-;62472:9;62464:47;;;;;-1:-1:-1;;;62464:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;62524:21;62548:8;62557:4;62548:14;;;;;;;;;;;;;;;;62597;;;:8;:14;;;;;;62612:10;62597:26;;;;;;;62548:14;;;;;;;;-1:-1:-1;62634:16:0;62606:4;62634:10;:16::i;:::-;62665:11;;:15;62661:294;;62697:15;62732:108;62806:4;:15;;;62732:47;62774:4;62732:37;62748:4;:20;;;62732:4;:11;;;:15;;:37;;;;:::i;:108::-;62697:143;-1:-1:-1;62859:11:0;;62855:89;;62891:37;62908:10;62920:7;62891:16;:37::i;:::-;62661:294;;62969:11;;62965:237;;62997:12;;:140;;-1:-1:-1;;;;;62997:12:0;63053:10;63091:4;63115:7;62997:29;:140::i;:::-;63166:11;;:24;;63182:7;63166:15;:24::i;:::-;63152:38;;62965:237;63246:20;;;;63230:11;;:47;;63272:4;;63230:37;;:15;:37::i;:47::-;63212:15;;;:65;63293:34;;;;;;;;63313:4;;63301:10;;63293:34;;;;;;;;;62398:937;;;;:::o;55692:29::-;;;-1:-1:-1;;;;;55692:29:0;;:::o;23180:109::-;22465:12;:10;:12::i;:::-;22455:6;;-1:-1:-1;;;;;22455:6:0;;;:22;;;22447:67;;;;;-1:-1:-1;;;22447:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22447:67:0;;;;;;;;;;;;;;;23253:28:::1;23272:8;23253:18;:28::i;2255:471::-:0;2313:7;2558:6;2554:47;;-1:-1:-1;2588:1:0;2581:8;;2554:47;2625:5;;;2629:1;2625;:5;:1;2649:5;;;;;:10;2641:56;;;;-1:-1:-1;;;2641:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3202:132;3260:7;3287:39;3291:1;3294;3287:39;;;;;;;;;;;;;;;;;:3;:39::i;1331:136::-;1389:7;1416:43;1420:1;1423;1416:43;;;;;;;;;;;;;;;;;:3;:43::i;66593:120::-;66669:5;;:36;;;-1:-1:-1;;;66669:36:0;;-1:-1:-1;;;;;66669:36:0;;;;;;;;;;;;;;;:5;;;;;:22;;:36;;;;;:5;;:36;;;;;;;:5;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66593:120;;:::o;16360:248::-;16531:58;;;-1:-1:-1;;;;;16531:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16531:58:0;-1:-1:-1;;;16531:58:0;;;16477:123;;16511:5;;16477:19;:123::i;:::-;16360:248;;;:::o;867:181::-;925:7;957:5;;;981:6;;;;973:46;;;;;-1:-1:-1;;;973:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;20869:98;20949:10;20869:98;:::o;59096:499::-;59162:8;:15;59145:14;59236:1;59217:115;59245:6;59239:3;:12;59217:115;;;59284:36;59295:8;59304:3;59295:13;;;;;;;;;;;;;;;;;;:24;;;59284:6;:10;;:36;;;;:::i;:::-;59275:45;-1:-1:-1;59253:5:0;;59217:115;;;-1:-1:-1;59346:11:0;;59342:246;;59394:15;;59383:27;;:6;;:10;:27::i;:::-;59374:36;;59443:87;59509:6;59443:43;59463:8;59472:1;59463:11;;;;;;;59443:87;59425:15;:105;;;;59570:6;59545:8;59554:1;59545:11;;;;;;;;;;;;;;;;;;:22;;:31;;;;59096:499;;:::o;16616:285::-;16814:68;;;-1:-1:-1;;;;;16814:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16814:68:0;-1:-1:-1;;;16814:68:0;;;16760:133;;16794:5;;16760:19;:133::i;23395:266::-;-1:-1:-1;;;;;23483:22:0;;23461:110;;;;-1:-1:-1;;;23461:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23608:6;;;23587:38;;-1:-1:-1;;;;;23587:38:0;;;;23608:6;;;23587:38;;;23636:6;:17;;-1:-1:-1;;;;;;23636:17:0;-1:-1:-1;;;;;23636:17:0;;;;;;;;;;23395:266::o;3830:312::-;3950:7;3985:12;3978:5;3970:28;;;;-1:-1:-1;;;3970:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4009:9;4025:1;4021;:5;;;;;;;3830:312;-1:-1:-1;;;;;3830:312:0:o;1770:226::-;1890:7;1926:12;1918:6;;;;1910:29;;;;-1:-1:-1;;;1910:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1962:5:0;;;1770:226::o;19250:885::-;19674:23;19713:118;19759:4;19713:118;;;;;;;;;;;;;;;;;19721:5;-1:-1:-1;;;;;19713:27:0;;;:118;;;;;:::i;:::-;19846:17;;19674:157;;-1:-1:-1;19846:21:0;19842:286;;20019:10;20008:30;;;;;;;;;;;;;;;-1:-1:-1;20008:30:0;19982:134;;;;-1:-1:-1;;;19982:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13136:230;13273:12;13305:53;13328:6;13336:4;13342:1;13345:12;13305:22;:53::i;:::-;13298:60;13136:230;-1:-1:-1;;;;13136:230:0:o;14757:1033::-;14930:12;14963:18;14974:6;14963:10;:18::i;:::-;14955:60;;;;;-1:-1:-1;;;14955:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15089:12;15103:23;15143:6;-1:-1:-1;;;;;15143:11:0;15162:8;15172:4;15143:34;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15143:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15088:89;;;;15192:7;15188:595;;;15223:10;-1:-1:-1;15216:17:0;;-1:-1:-1;15216:17:0;15188:595;15337:17;;:21;15333:439;;15600:10;15594:17;15661:15;15648:10;15644:2;15640:19;15633:44;15548:148;15736:20;;-1:-1:-1;;;15736:20:0;;;;;;;;;;;;;;;;;15743:12;;15736:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9889:654;9949:4;10443:20;;10273:66;10492:23;;;;;;:42;;-1:-1:-1;;10519:15:0;;;10484:51;-1:-1:-1;;9889:654:0:o

Swarm Source

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