Contract 0xe981676633dcf0256aa512f4923a7e8da180c595

 
Txn Hash
Block
From
To
Value [Txn Fee]
0x16bc7dacfb4c05c29ac9457808c43c939e22d49e7e9e5fa6fa7498c0dc714bf283451342021-06-16 11:08:1514 mins ago0x9f165b83b733a6c58e1a9276e6d51ba35e492ed0 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000683845
0xf23473594fbccc91d71f7365961b73cd36f0ae471a4cd1ad8a7a590ee508692783451112021-06-16 11:07:0615 mins ago0x9f165b83b733a6c58e1a9276e6d51ba35e492ed0 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000661255
0x6a93b202953e32d609de18a97830f84bdf6fa480c9743ad76855cc187149dce583443652021-06-16 10:29:4853 mins ago0xf493045bd6cb91289731e0e149dc61880eef1634 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000635565
0x37aa49349473e0ac7eaed23706de25b063c5000713b4c2d62e15733261ab067483443612021-06-16 10:29:3653 mins ago0xf493045bd6cb91289731e0e149dc61880eef1634 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000586255
0xbdc1ef6d86438957aeb23763eefd67dfe93c2a16ff39a4231c597676648434e783442122021-06-16 10:22:091 hr ago0xe6ea364f78a96c94865b5c19044a496dd553a566 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000586255
0xedf45279da9bbe54a6125fb32d6c2c30ba3f840fcf21891da9b1183fa1c65ba983441822021-06-16 10:20:391 hr 2 mins ago0x9e4ffead3a6fd77d651d8bf5b9a51afb95a3922a IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000586315
0xc3024fef57690a36ba6e96cae6191a99938f1079d39adc549ec0cc96a1a20cb483441812021-06-16 10:20:361 hr 2 mins ago0x9e4ffead3a6fd77d651d8bf5b9a51afb95a3922a IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000586255
0xed19170fd5bb6da7f21da066cac83a2a91a821b5d0601bbcf9335cb84055cbc083440782021-06-16 10:15:271 hr 7 mins ago0xe255b82de33763956500af754fb4d26411131fde IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000586315
0xb09a8aa921750fae0dda5dcaa806daff47a796fb8db718753dfd45590099a4db83440772021-06-16 10:15:241 hr 7 mins ago0xe255b82de33763956500af754fb4d26411131fde IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000661255
0x879a35cacfc1a3be5dd0e045e678865e0ccaf55baf877ac311ecd911a7d3a8c683440042021-06-16 10:11:451 hr 11 mins ago0x1e17570de636aeecadbe3f9e845a24a57250e537 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000710565
0x7990155f8e2d4387cf28f14db6f27fa8d6d90c695dbf72766747c86f336fa06283439662021-06-16 10:09:511 hr 13 mins ago0x1e17570de636aeecadbe3f9e845a24a57250e537 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000586255
0x707b7a02b17d3ca63f65d5d3d5d72afded1924b47d491395185cf0b4383af7e283436782021-06-16 9:55:081 hr 27 mins ago0xc4a9e12a3f64dd2bdb262a478d2796a47ca0e378 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000710565
0xdab78916328cf06c99992a490049f3efac37291f705a1236cc81e71e2cee675383436592021-06-16 9:54:111 hr 28 mins ago0xc4a9e12a3f64dd2bdb262a478d2796a47ca0e378 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000586255
0xcbe7c6d7a0db85abb7b72a1be6880eb4838235b9170bd80757abb4c52616b08283436472021-06-16 9:53:351 hr 29 mins ago0x6cc203f950d844866bbd94c58ef1871da1a77c51 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000635565
0xad0382d883d50a91f732d496225e941a586926d5b87734f4370a81eb940bcc5983435102021-06-16 9:46:371 hr 36 mins ago0xf6811c562402210b88aa6a0e140678666b80b11e IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000586315
0xff709ff64a1f137d5836f3c74884cd5794764108f86c8634e3e8a75f51267b4f83435082021-06-16 9:46:311 hr 36 mins ago0xf6811c562402210b88aa6a0e140678666b80b11e IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000586255
0x9cb5c8da40fe1b862494a788347d76589026de021b8b4e794935bda4ac93d52783431212021-06-16 9:27:021 hr 56 mins ago0x2d6fa1719b8daf4fe1f583674c202ea006b62682 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.00068735
0x825485e7d816312ad426c2ab09a2538d3551ff0554a9f22df86ba3ea75a93ad483428412021-06-16 9:13:022 hrs 10 mins ago0xd9070f5230704935e47a1658b1b534c0f161d60d IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000586315
0x5e6931e238ef2a79d0d0eead16070a52d566843c83b98d361d391ab303ab6b5083428372021-06-16 9:12:502 hrs 10 mins ago0xd9070f5230704935e47a1658b1b534c0f161d60d IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000710505
0x2e41118db13f6af931376cbc289c1f3dc900e4c60a47896e693d10d8e97f8d6283428352021-06-16 9:12:442 hrs 10 mins ago0x93a9105a727bbd2763d56fba0cff54549f968950 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000586315
0x46eb0efb23352f7f2764fc36f2b0926281150b1109664ddda867fe5118b7f3c483428322021-06-16 9:12:352 hrs 10 mins ago0x93a9105a727bbd2763d56fba0cff54549f968950 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000661255
0xa1615ee0d83d9c9816475090092f53ce79f07049107be240c95841f456f37e8983426062021-06-16 9:01:172 hrs 21 mins ago0xd9070f5230704935e47a1658b1b534c0f161d60d IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000586255
0x9ff9dc340fa1adc69d10fc100505ed19edc7761ea6740e4ab8ab3f022dd5b93483425402021-06-16 8:57:362 hrs 25 mins ago0xc7060fb415206fa8e2e627b465db30c4b4c5000a IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000661255
0x70840e6598d4a9248d0dfc16a63ab9e6ab58d4bdc1f01eab9db23c190dc713ba83423782021-06-16 8:49:282 hrs 33 mins ago0x6b61f6c4d1810f270a90bf33c71b099fdd7a3592 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000635505
0xf00ea2a3723b354f73a9799195e12aa1766d5677cd08a91bc9c78004ae16dbf283422412021-06-16 8:42:372 hrs 40 mins ago0x951ea513992e4d331609c96f12c4c4ca85070f53 IN  0xe981676633dcf0256aa512f4923a7e8da180c5950 BNB0.000661255
[ 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 BscScan.com on 2021-05-30
*/

// Dependency file: @pinkswap/pinkswap-lib/contracts/math/SafeMath.sol

// SPDX-License-Identifier: MIT

// pragma solidity >=0.4.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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


// Dependency file: @pinkswap/pinkswap-lib/contracts/token/BEP20/IBEP20.sol


// pragma solidity >=0.4.0;

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


// Dependency file: @pinkswap/pinkswap-lib/contracts/utils/Address.sol


// pragma solidity ^0.6.2;

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


// Dependency file: @pinkswap/pinkswap-lib/contracts/token/BEP20/SafeBEP20.sol


// pragma solidity ^0.6.0;

// import '/Users/fish/Documents/pinkswap/pinkswap-farm/node_modules/@pinkswap/pinkswap-lib/contracts/token/BEP20/IBEP20.sol';
// import '/Users/fish/Documents/pinkswap/pinkswap-farm/node_modules/@pinkswap/pinkswap-lib/contracts/math/SafeMath.sol';
// import '/Users/fish/Documents/pinkswap/pinkswap-farm/node_modules/@pinkswap/pinkswap-lib/contracts/utils/Address.sol';

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


// Dependency file: @pinkswap/pinkswap-lib/contracts/GSN/Context.sol


// pragma solidity >=0.4.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
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;
    }
}


// Dependency file: @pinkswap/pinkswap-lib/contracts/access/Ownable.sol


// pragma solidity >=0.4.0;

// import '/Users/fish/Documents/pinkswap/pinkswap-farm/node_modules/@pinkswap/pinkswap-lib/contracts/GSN/Context.sol';

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


// Dependency file: @pinkswap/pinkswap-lib/contracts/token/BEP20/BEP20.sol


// pragma solidity >=0.4.0;

// import '/Users/fish/Documents/pinkswap/pinkswap-farm/node_modules/@pinkswap/pinkswap-lib/contracts/access/Ownable.sol';
// import '/Users/fish/Documents/pinkswap/pinkswap-farm/node_modules/@pinkswap/pinkswap-lib/contracts/GSN/Context.sol';
// import '/Users/fish/Documents/pinkswap/pinkswap-farm/node_modules/@pinkswap/pinkswap-lib/contracts/token/BEP20/IBEP20.sol';
// import '/Users/fish/Documents/pinkswap/pinkswap-farm/node_modules/@pinkswap/pinkswap-lib/contracts/math/SafeMath.sol';
// import '/Users/fish/Documents/pinkswap/pinkswap-farm/node_modules/@pinkswap/pinkswap-lib/contracts/utils/Address.sol';

/**
 * @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 override view returns (address) {
        return owner();
    }

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

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

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

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

    /**
     * @dev See {BEP20-balanceOf}.
     */
    function balanceOf(address account) public override view 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 override view 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')
        );
    }
}


// Dependency file: contracts/PinkSwapToken.sol

// pragma solidity 0.6.12;

// import "@pinkswap/pinkswap-lib/contracts/token/BEP20/BEP20.sol";

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "PinkS::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 PinkSs (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, "PinkS::_writeCheckpoint: block number exceeds 32 bits");

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

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

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

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

// Root file: contracts/MasterChef.sol

pragma solidity 0.6.12;

// import '/Users/fish/Documents/pinkswap/pinkswap-farm/node_modules/@pinkswap/pinkswap-lib/contracts/math/SafeMath.sol';
// import '/Users/fish/Documents/pinkswap/pinkswap-farm/node_modules/@pinkswap/pinkswap-lib/contracts/token/BEP20/IBEP20.sol';
// import '/Users/fish/Documents/pinkswap/pinkswap-farm/node_modules/@pinkswap/pinkswap-lib/contracts/token/BEP20/SafeBEP20.sol';
// import '/Users/fish/Documents/pinkswap/pinkswap-farm/node_modules/@pinkswap/pinkswap-lib/contracts/access/Ownable.sol';
// import "contracts/PinkSwapToken.sol";

interface IMigratorChef {
    // Perform LP token migration from legacy PinkSwap to PinkSwap.
    // Take the current LP token address and return the new LP token address.
    // Migrator should have full access to the caller's LP token.
    // Return the new LP token address.
    //
    // XXX Migrator must have allowance access to PinkSwap LP tokens.
    // PinkSwap must mint EXACTLY the same amount of PinkSwap LP tokens or
    // else something bad will happen. Traditional PinkSwap does not
    // do that so be careful!
    function migrate(IBEP20 token) external returns (IBEP20);
}

// MasterChef is the master of PINKS. He can make PINKS 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 PINKS 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 PINKS
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accPinksPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accPinksPerShare` (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. PINKS to distribute per block.
        uint256 lastRewardBlock;  // Last block number that PINKS distribution occurs.
        uint256 accPinksPerShare; // Accumulated PINKS per share, times 1e12. See below.
    }

    // The PinkSwap TOKEN!
    PinkSwapToken public pinks;
    // Dev address.
    address public devaddr;
    // PINKS tokens created per block.
    uint256 public pinksPerBlock;
    // Bonus muliplier for early pinks makers.
    uint256 public BONUS_MULTIPLIER = 1;
    // The migrator contract. It has a lot of power. Can only be set through governance (owner).
    IMigratorChef public migrator;

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

    uint256 public totalPinksReward;

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

     modifier totalRewardNotReached {
        require(pinks.totalSupply() < totalPinksReward, "Masterchief no more rewards");
        _;
    }

    constructor(
        PinkSwapToken _pink,
        address _devaddr,
        uint256 _pinksPerBlock,
        uint256 _startBlock,
        uint256 _totalPinksReward
    ) public {
        pinks = _pink;
        devaddr = _devaddr;
        pinksPerBlock = _pinksPerBlock;
        startBlock = _startBlock;
        totalPinksReward = _totalPinksReward;
    }

    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 totalRewardNotReached {
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlock: lastRewardBlock,
            accPinksPerShare: 0
        }));
    }

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

    // Set the migrator contract. Can only be called by the owner.
    function setMigrator(IMigratorChef _migrator) public onlyOwner {
        migrator = _migrator;
    }

    // Migrate lp token to another lp contract. Can be called by anyone. We trust that migrator contract is good.
    function migrate(uint256 _pid) public {
        require(address(migrator) != address(0), "migrate: no migrator");
        PoolInfo storage pool = poolInfo[_pid];
        IBEP20 lpToken = pool.lpToken;
        uint256 bal = lpToken.balanceOf(address(this));
        lpToken.safeApprove(address(migrator), bal);
        IBEP20 newLpToken = migrator.migrate(lpToken);
        require(bal == newLpToken.balanceOf(address(this)), "migrate: bad");
        pool.lpToken = newLpToken;
    }

    // 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 PINKS on frontend.
    function pendingPinks(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accPinksPerShare = pool.accPinksPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 pinksReward = multiplier.mul(pinksPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accPinksPerShare = accPinksPerShare.add(pinksReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accPinksPerShare).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 currentSupply = pinks.totalSupply();
        // Current supply is more than specified max supply
        if (currentSupply >= totalPinksReward) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 pinksReward = multiplier.mul(pinksPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        uint256 pinksRewardAndFee = pinksReward.add(pinksReward.div(10));

        if (currentSupply.add(pinksRewardAndFee) > totalPinksReward) {
            uint256 remaining = totalPinksReward.sub(currentSupply);
            pinks.mint(address(this), remaining);
            pool.accPinksPerShare = pool.accPinksPerShare.add(remaining.mul(1e12).div(lpSupply));
        } else {
            pinks.mint(devaddr, pinksReward.div(10));
            pinks.mint(address(this), pinksReward);
            pool.accPinksPerShare = pool.accPinksPerShare.add(pinksReward.mul(1e12).div(lpSupply));
        }

        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to MasterChef for PINKS allocation.
    function deposit(uint256 _pid, uint256 _amount) public totalRewardNotReached {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accPinksPerShare).div(1e12).sub(user.rewardDebt);
            if (pending > 0) {
                safePinksTransfer(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.accPinksPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public {
        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.accPinksPerShare).div(1e12).sub(user.rewardDebt);
        if (pending > 0 ) {
            safePinksTransfer(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.accPinksPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _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 pinks transfer function, just in case if rounding error causes pool to not have enough PINKS.
    function safePinksTransfer(address _to, uint256 _amount) internal {
        uint256 pinkBal = pinks.balanceOf(address(this));
        if (_amount > pinkBal) {
            pinks.transfer(_to, pinkBal);
        } else {
            pinks.transfer(_to, _amount);
        }
    }

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

    //Pancake has to add hidden dummy pools inorder to alter the emission, here we make it simple and transparent to all.
    function updateEmissionRate(uint256 _pinksPerBlock) public onlyOwner {
        massUpdatePools();
        pinksPerBlock = _pinksPerBlock;
    }
}

Contract ABI

[{"inputs":[{"internalType":"contract PinkSwapToken","name":"_pink","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"uint256","name":"_pinksPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_totalPinksReward","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":[{"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":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrator","outputs":[{"internalType":"contract IMigratorChef","name":"","type":"address"}],"stateMutability":"view","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":"pendingPinks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pinks","outputs":[{"internalType":"contract PinkSwapToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pinksPerBlock","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":"accPinksPerShare","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":"contract IMigratorChef","name":"_migrator","type":"address"}],"name":"setMigrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPinksReward","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":"_pinksPerBlock","type":"uint256"}],"name":"updateEmissionRate","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":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600455600060085534801561001a57600080fd5b50604051612227380380612227833981810160405260a081101561003d57600080fd5b5080516020820151604083015160608401516080909401519293919290919060006100666100f1565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039687166001600160a01b0319918216179091556002805495909616941693909317909355600355600991909155600a556100f5565b3390565b612123806101046000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80635ffe6146116100f95780638da5cb5b11610097578063d49e77cd11610071578063d49e77cd14610489578063e2bbb15814610491578063ee6c2536146104b4578063f2fde38b146104bc576101c4565b80638da5cb5b146104195780638dbb1e3a1461042157806393f1a40b14610444576101c4565b8063715018a6116100d3578063715018a6146103db5780637cd07e47146103e35780638aa28550146103eb5780638d88a90e146103f3576101c4565b80635ffe61461461038b578063630b5ba1146103a857806364482f79146103b0576101c4565b8063441a3e70116101665780634ea81f2b116101405780634ea81f2b1461032557806351eb05a61461032d5780635312ea8e1461034a5780635e95482c14610367576101c4565b8063441a3e70146102dd578063454b06081461030057806348cd4cb11461031d576101c4565b8063170153a7116101a2578063170153a71461024f57806317caf6f11461027b5780631eaaa0451461028357806323cf3118146102b7576101c4565b8063081e3eda146101c95780630ba84cd2146101e35780631526fe2714610202575b600080fd5b6101d16104e2565b60408051918252519081900360200190f35b610200600480360360208110156101f957600080fd5b50356104e8565b005b61021f6004803603602081101561021857600080fd5b503561054d565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b6101d16004803603604081101561026557600080fd5b50803590602001356001600160a01b031661058e565b6101d1610704565b6102006004803603606081101561029957600080fd5b508035906001600160a01b036020820135169060400135151561070a565b610200600480360360208110156102cd57600080fd5b50356001600160a01b0316610954565b610200600480360360408110156102f357600080fd5b50803590602001356109ce565b6102006004803603602081101561031657600080fd5b5035610b21565b6101d1610d7d565b6101d1610d83565b6102006004803603602081101561034357600080fd5b5035610d89565b6102006004803603602081101561036057600080fd5b5035611117565b61036f6111b2565b604080516001600160a01b039092168252519081900360200190f35b610200600480360360208110156103a157600080fd5b50356111c1565b61020061121e565b610200600480360360608110156103c657600080fd5b50803590602081013590604001351515611241565b6102006113c2565b61036f611464565b6101d1611473565b6102006004803603602081101561040957600080fd5b50356001600160a01b0316611479565b61036f6114e6565b6101d16004803603604081101561043757600080fd5b50803590602001356114f5565b6104706004803603604081101561045a57600080fd5b50803590602001356001600160a01b0316611510565b6040805192835260208301919091528051918290030190f35b61036f611534565b610200600480360360408110156104a757600080fd5b5080359060200135611543565b6101d1611724565b610200600480360360208110156104d257600080fd5b50356001600160a01b031661172a565b60065490565b6104f061178b565b6000546001600160a01b03908116911614610540576040805162461bcd60e51b815260206004820181905260248201526000805160206120ce833981519152604482015290519081900360640190fd5b61054861121e565b600355565b6006818154811061055a57fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b6000806006848154811061059e57fe5b600091825260208083208784526007825260408085206001600160a01b03898116875290845281862060049586029093016003810154815484516370a0823160e01b81523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b15801561061c57600080fd5b505afa158015610630573d6000803e3d6000fd5b505050506040513d602081101561064657600080fd5b505160028501549091504311801561065d57508015155b156106c95760006106728560020154436114f5565b905060006106a560085461069f88600101546106996003548761178f90919063ffffffff16565b9061178f565b906117e8565b90506106c46106bd8461069f8464e8d4a5100061178f565b859061182a565b935050505b6106f783600101546106f164e8d4a5100061069f86886000015461178f90919063ffffffff16565b90611884565b9450505050505b92915050565b60085481565b61071261178b565b6000546001600160a01b03908116911614610762576040805162461bcd60e51b815260206004820181905260248201526000805160206120ce833981519152604482015290519081900360640190fd5b600a54600160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107b357600080fd5b505afa1580156107c7573d6000803e3d6000fd5b505050506040513d60208110156107dd57600080fd5b505110610831576040805162461bcd60e51b815260206004820152601b60248201527f4d61737465726368696566206e6f206d6f726520726577617264730000000000604482015290519081900360640190fd5b801561083f5761083f61121e565b6000600954431161085257600954610854565b435b600854909150610864908561182a565b600855604080516080810182526001600160a01b0394851681526020810195865290810191825260006060820181815260068054600181018255925291517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f600490920291820180546001600160a01b031916919096161790945593517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d40840155517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d418301555090517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4290910155565b61095c61178b565b6000546001600160a01b039081169116146109ac576040805162461bcd60e51b815260206004820181905260248201526000805160206120ce833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000600683815481106109dd57fe5b600091825260208083208684526007825260408085203386529092529220805460049092029092019250831115610a50576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610a5984610d89565b6000610a8782600101546106f164e8d4a5100061069f8760030154876000015461178f90919063ffffffff16565b90508015610a9957610a9933826118c6565b8315610ac3578154610aab9085611884565b82558254610ac3906001600160a01b03163386611a57565b60038301548254610ade9164e8d4a510009161069f9161178f565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b6005546001600160a01b0316610b75576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d1037379036b4b3b930ba37b960611b604482015290519081900360640190fd5b600060068281548110610b8457fe5b600091825260208083206004928302018054604080516370a0823160e01b81523095810195909552519195506001600160a01b0316939284926370a0823192602480840193829003018186803b158015610bdd57600080fd5b505afa158015610bf1573d6000803e3d6000fd5b505050506040513d6020811015610c0757600080fd5b5051600554909150610c26906001600160a01b03848116911683611aa9565b6005546040805163ce5494bb60e01b81526001600160a01b0385811660048301529151600093929092169163ce5494bb9160248082019260209290919082900301818787803b158015610c7857600080fd5b505af1158015610c8c573d6000803e3d6000fd5b505050506040513d6020811015610ca257600080fd5b5051604080516370a0823160e01b815230600482015290519192506001600160a01b038316916370a0823191602480820192602092909190829003018186803b158015610cee57600080fd5b505afa158015610d02573d6000803e3d6000fd5b505050506040513d6020811015610d1857600080fd5b50518214610d5c576040805162461bcd60e51b815260206004820152600c60248201526b1b5a59dc985d194e8818985960a21b604482015290519081900360640190fd5b83546001600160a01b0319166001600160a01b039190911617909255505050565b60095481565b60035481565b600060068281548110610d9857fe5b9060005260206000209060040201905080600201544311610db95750611114565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610e0357600080fd5b505afa158015610e17573d6000803e3d6000fd5b505050506040513d6020811015610e2d57600080fd5b5051905080610e43575043600290910155611114565b600154604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b158015610e8857600080fd5b505afa158015610e9c573d6000803e3d6000fd5b505050506040513d6020811015610eb257600080fd5b5051600a549091508110610ece57505043600290910155611114565b6000610ede8460020154436114f5565b90506000610f0560085461069f87600101546106996003548761178f90919063ffffffff16565b90506000610f1e610f1783600a6117e8565b839061182a565b600a54909150610f2e858361182a565b1115610fe757600a54600090610f449086611884565b600154604080516340c10f1960e01b81523060048201526024810184905290519293506001600160a01b03909116916340c10f199160448082019260009290919082900301818387803b158015610f9a57600080fd5b505af1158015610fae573d6000803e3d6000fd5b50505050610fdc610fd18761069f64e8d4a510008561178f90919063ffffffff16565b60038901549061182a565b600388015550611104565b6001546002546001600160a01b03918216916340c10f19911661100b85600a6117e8565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561105157600080fd5b505af1158015611065573d6000803e3d6000fd5b5050600154604080516340c10f1960e01b81523060048201526024810187905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b1580156110bc57600080fd5b505af11580156110d0573d6000803e3d6000fd5b505050506110fe6110f38661069f64e8d4a510008661178f90919063ffffffff16565b60038801549061182a565b60038701555b4386600201819055505050505050505b50565b60006006828154811061112657fe5b6000918252602080832085845260078252604080852033808752935290932080546004909302909301805490945061116b926001600160a01b03919091169190611a57565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b6001546001600160a01b031681565b6111c961178b565b6000546001600160a01b03908116911614611219576040805162461bcd60e51b815260206004820181905260248201526000805160206120ce833981519152604482015290519081900360640190fd5b600455565b60065460005b8181101561123d5761123581610d89565b600101611224565b5050565b61124961178b565b6000546001600160a01b03908116911614611299576040805162461bcd60e51b815260206004820181905260248201526000805160206120ce833981519152604482015290519081900360640190fd5b600a54600160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156112ea57600080fd5b505afa1580156112fe573d6000803e3d6000fd5b505050506040513d602081101561131457600080fd5b505110611368576040805162461bcd60e51b815260206004820152601b60248201527f4d61737465726368696566206e6f206d6f726520726577617264730000000000604482015290519081900360640190fd5b80156113765761137661121e565b60006006848154811061138557fe5b906000526020600020906004020160010154905082600685815481106113a757fe5b90600052602060002090600402016001018190555050505050565b6113ca61178b565b6000546001600160a01b0390811691161461141a576040805162461bcd60e51b815260206004820181905260248201526000805160206120ce833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6005546001600160a01b031681565b60045481565b6002546001600160a01b031633146114c4576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b600454600090611509906106998486611884565b9392505050565b60076020908152600092835260408084209091529082529020805460019091015482565b6002546001600160a01b031681565b600a54600160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561159457600080fd5b505afa1580156115a8573d6000803e3d6000fd5b505050506040513d60208110156115be57600080fd5b505110611612576040805162461bcd60e51b815260206004820152601b60248201527f4d61737465726368696566206e6f206d6f726520726577617264730000000000604482015290519081900360640190fd5b60006006838154811061162157fe5b6000918252602080832086845260078252604080852033865290925292206004909102909101915061165284610d89565b80541561169b57600061168782600101546106f164e8d4a5100061069f8760030154876000015461178f90919063ffffffff16565b905080156116995761169933826118c6565b505b82156116c75781546116b8906001600160a01b0316333086611bbc565b80546116c4908461182a565b81555b600382015481546116e29164e8d4a510009161069f9161178f565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b600a5481565b61173261178b565b6000546001600160a01b03908116911614611782576040805162461bcd60e51b815260206004820181905260248201526000805160206120ce833981519152604482015290519081900360640190fd5b61111481611c1c565b3390565b60008261179e575060006106fe565b828202828482816117ab57fe5b04146115095760405162461bcd60e51b81526004018080602001828103825260218152602001806120776021913960400191505060405180910390fd5b600061150983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611cbc565b600082820183811015611509576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061150983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d5e565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561191157600080fd5b505afa158015611925573d6000803e3d6000fd5b505050506040513d602081101561193b57600080fd5b50519050808211156119cf576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561199d57600080fd5b505af11580156119b1573d6000803e3d6000fd5b505050506040513d60208110156119c757600080fd5b50611a529050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611a2557600080fd5b505af1158015611a39573d6000803e3d6000fd5b505050506040513d6020811015611a4f57600080fd5b50505b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611a52908490611db8565b801580611b2f575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611b0157600080fd5b505afa158015611b15573d6000803e3d6000fd5b505050506040513d6020811015611b2b57600080fd5b5051155b611b6a5760405162461bcd60e51b81526004018080602001828103825260368152602001806120986036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611a52908490611db8565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611c16908590611db8565b50505050565b6001600160a01b038116611c615760405162461bcd60e51b81526004018080602001828103825260268152602001806120516026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008183611d485760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d0d578181015183820152602001611cf5565b50505050905090810190601f168015611d3a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611d5457fe5b0495945050505050565b60008184841115611db05760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611d0d578181015183820152602001611cf5565b505050900390565b6060611e0d826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611e699092919063ffffffff16565b805190915015611a5257808060200190516020811015611e2c57600080fd5b5051611a525760405162461bcd60e51b815260040180806020018281038252602a815260200180612027602a913960400191505060405180910390fd5b6060611e788484600085611e80565b949350505050565b6060611e8b85611fed565b611edc576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611f1b5780518252601f199092019160209182019101611efc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611f7d576040519150601f19603f3d011682016040523d82523d6000602084013e611f82565b606091505b50915091508115611f96579150611e789050565b805115611fa65780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611d0d578181015183820152602001611cf5565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611e7857505015159291505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666542455032303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220511dc9ada259a704c8b5883be34ecb4dbe6e27d4c47fe0d116fa1673918403fe64736f6c634300060c0033000000000000000000000000702b3f41772e321aaccdea91e1fcef682d21125d000000000000000000000000d855e3f4d3f9e443afc84b4fcfc7cf495eb186990000000000000000000000000000000000000000000dc5465f6bbf1230600000000000000000000000000000000000000000000000000000000000000077f98400000000000000000000000000000000000022833dfcc980a7ba8c8700000000

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

000000000000000000000000702b3f41772e321aaccdea91e1fcef682d21125d000000000000000000000000d855e3f4d3f9e443afc84b4fcfc7cf495eb186990000000000000000000000000000000000000000000dc5465f6bbf1230600000000000000000000000000000000000000000000000000000000000000077f98400000000000000000000000000000000000022833dfcc980a7ba8c8700000000

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000702b3f41772e321aaccdea91e1fcef682d21125d
Arg [1] : 000000000000000000000000d855e3f4d3f9e443afc84b4fcfc7cf495eb18699
Arg [2] : 0000000000000000000000000000000000000000000dc5465f6bbf1230600000
Arg [3] : 000000000000000000000000000000000000000000000000000000000077f984
Arg [4] : 00000000000000000000000000000000000022833dfcc980a7ba8c8700000000


Deployed ByteCode Sourcemap

45503:10873:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48617:95;;;:::i;:::-;;;;;;;;;;;;;;;;56227:146;;;;;;;;;;;;;;;;-1:-1:-1;56227:146:0;;:::i;:::-;;47304:26;;;;;;;;;;;;;;;;-1:-1:-1;47304:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;47304:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50884:768;;;;;;;;;;;;;;;;-1:-1:-1;50884:768:0;;;;;;-1:-1:-1;;;;;50884:768:0;;:::i;47547:34::-;;;:::i;48881:536::-;;;;;;;;;;;;;;;;-1:-1:-1;48881:536:0;;;-1:-1:-1;;;;;48881:536:0;;;;;;;;;;;;:::i;49885:102::-;;;;;;;;;;;;;;;;-1:-1:-1;49885:102:0;-1:-1:-1;;;;;49885:102:0;;:::i;54341:746::-;;;;;;;;;;;;;;;;-1:-1:-1;54341:746:0;;;;;;;:::i;50110:491::-;;;;;;;;;;;;;;;;-1:-1:-1;50110:491:0;;:::i;47639:25::-;;;:::i;47016:28::-;;;:::i;51991:1449::-;;;;;;;;;;;;;;;;-1:-1:-1;51991:1449:0;;:::i;55158:356::-;;;;;;;;;;;;;;;;-1:-1:-1;55158:356:0;;:::i;46893:26::-;;;:::i;:::-;;;;-1:-1:-1;;;;;46893:26:0;;;;;;;;;;;;;;48486:123;;;;;;;;;;;;;;;;-1:-1:-1;48486:123:0;;:::i;51735:180::-;;;:::i;49514:295::-;;;;;;;;;;;;;;;;-1:-1:-1;49514:295:0;;;;;;;;;;;;;;:::i;23206:140::-;;;:::i;47239:29::-;;;:::i;47099:35::-;;;:::i;55967:129::-;;;;;;;;;;;;;;;;-1:-1:-1;55967:129:0;-1:-1:-1;;;;;55967:129:0;;:::i;22564:79::-;;;:::i;50677:143::-;;;;;;;;;;;;;;;;-1:-1:-1;50677:143:0;;;;;;;:::i;47386:66::-;;;;;;;;;;;;;;;;-1:-1:-1;47386:66:0;;;;;;-1:-1:-1;;;;;47386:66:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;46947:22;;;:::i;53510:779::-;;;;;;;;;;;;;;;;-1:-1:-1;53510:779:0;;;;;;;:::i;47673:31::-;;;:::i;23501:109::-;;;;;;;;;;;;;;;;-1:-1:-1;23501:109:0;-1:-1:-1;;;;;23501:109:0;;:::i;48617:95::-;48689:8;:15;48617:95;:::o;56227:146::-;22786:12;:10;:12::i;:::-;22776:6;;-1:-1:-1;;;;;22776:6:0;;;:22;;;22768:67;;;;;-1:-1:-1;;;22768:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22768:67:0;;;;;;;;;;;;;;;56307:17:::1;:15;:17::i;:::-;56335:13;:30:::0;56227:146::o;47304:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47304:26:0;;;;-1:-1:-1;47304:26:0;;;:::o;50884:768::-;50958:7;50978:21;51002:8;51011:4;51002:14;;;;;;;;;;;;;;;;51051;;;:8;:14;;;;;;-1:-1:-1;;;;;51051:21:0;;;;;;;;;;;51002:14;;;;;;;51110:21;;;;51161:12;;:37;;-1:-1:-1;;;51161:37:0;;51192:4;51161:37;;;;;;;;;51002:14;;-1:-1:-1;51051:21:0;;51110;;51002:14;;51161:12;;;;;:22;;:37;;;;;51002:14;;51161:37;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51161:37:0;51228:20;;;;51161:37;;-1:-1:-1;51213:12:0;:35;:52;;;;-1:-1:-1;51252:13:0;;;51213:52;51209:354;;;51282:18;51303:49;51317:4;:20;;;51339:12;51303:13;:49::i;:::-;51282:70;;51367:19;51389:71;51444:15;;51389:50;51423:4;:15;;;51389:29;51404:13;;51389:10;:14;;:29;;;;:::i;:::-;:33;;:50::i;:::-;:54;;:71::i;:::-;51367:93;-1:-1:-1;51494:57:0;51515:35;51541:8;51515:21;51367:93;51531:4;51515:15;:21::i;:35::-;51494:16;;:20;:57::i;:::-;51475:76;;51209:354;;;51580:64;51628:4;:15;;;51580:43;51618:4;51580:33;51596:16;51580:4;:11;;;:15;;:33;;;;:::i;:43::-;:47;;:64::i;:::-;51573:71;;;;;;50884:768;;;;;:::o;47547:34::-;;;;:::o;48881:536::-;22786:12;:10;:12::i;:::-;22776:6;;-1:-1:-1;;;;;22776:6:0;;;:22;;;22768:67;;;;;-1:-1:-1;;;22768:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22768:67:0;;;;;;;;;;;;;;;48036:16:::1;;48014:5;;;;;;;;;-1:-1:-1::0;;;;;48014:5:0::1;-1:-1:-1::0;;;;;48014:17:0::1;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;48014:19:0;:38:::1;48006:78;;;::::0;;-1:-1:-1;;;48006:78:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;49004:11:::2;49000:61;;;49032:17;:15;:17::i;:::-;49071:23;49112:10;;49097:12;:25;:53;;49140:10;;49097:53;;;49125:12;49097:53;49179:15;::::0;49071:79;;-1:-1:-1;49179:32:0::2;::::0;49199:11;49179:19:::2;:32::i;:::-;49161:15;:50:::0;49236:172:::2;::::0;;::::2;::::0;::::2;::::0;;-1:-1:-1;;;;;49236:172:0;;::::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;;-1:-1:-1;49236:172:0;;;;;;49222:8:::2;:187:::0;;::::2;::::0;::::2;::::0;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;-1:-1:-1;;;;;;49222:187:0::2;::::0;;;::::2;;::::0;;;;;;;;;;;;;;-1:-1:-1;49222:187:0;;;;;;;48881:536::o;49885:102::-;22786:12;:10;:12::i;:::-;22776:6;;-1:-1:-1;;;;;22776:6:0;;;:22;;;22768:67;;;;;-1:-1:-1;;;22768:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22768:67:0;;;;;;;;;;;;;;;49959:8:::1;:20:::0;;-1:-1:-1;;;;;;49959:20:0::1;-1:-1:-1::0;;;;;49959:20:0;;;::::1;::::0;;;::::1;::::0;;49885:102::o;54341:746::-;54408:21;54432:8;54441:4;54432:14;;;;;;;;;;;;;;;;54481;;;:8;:14;;;;;;54496:10;54481:26;;;;;;;54526:11;;54432:14;;;;;;;;-1:-1:-1;54526:22:0;-1:-1:-1;54526:22:0;54518:53;;;;;-1:-1:-1;;;54518:53:0;;;;;;;;;;;;-1:-1:-1;;;54518:53:0;;;;;;;;;;;;;;;54582:16;54593:4;54582:10;:16::i;:::-;54609:15;54627:69;54680:4;:15;;;54627:48;54670:4;54627:38;54643:4;:21;;;54627:4;:11;;;:15;;:38;;;;:::i;:69::-;54609:87;-1:-1:-1;54711:11:0;;54707:83;;54740:38;54758:10;54770:7;54740:17;:38::i;:::-;54804:11;;54800:152;;54846:11;;:24;;54862:7;54846:15;:24::i;:::-;54832:38;;54885:12;;:55;;-1:-1:-1;;;;;54885:12:0;54919:10;54932:7;54885:25;:55::i;:::-;54996:21;;;;54980:11;;:48;;55023:4;;54980:38;;:15;:38::i;:48::-;54962:15;;;:66;55044:35;;;;;;;;55065:4;;55053:10;;55044:35;;;;;;;;;54341:746;;;;;:::o;50110:491::-;50175:8;;-1:-1:-1;;;;;50175:8:0;50159:64;;;;;-1:-1:-1;;;50159:64:0;;;;;;;;;;;;-1:-1:-1;;;50159:64:0;;;;;;;;;;;;;;;50234:21;50258:8;50267:4;50258:14;;;;;;;;;;;;;;;;;;;;;50300:12;;50337:32;;;-1:-1:-1;;;50337:32:0;;50363:4;50337:32;;;;;;;;50258:14;;-1:-1:-1;;;;;;50300:12:0;;50258:14;50300:12;;50337:17;;:32;;;;;;;;;;50300:12;50337:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50337:32:0;50408:8;;50337:32;;-1:-1:-1;50380:43:0;;-1:-1:-1;;;;;50380:19:0;;;;50408:8;50337:32;50380:19;:43::i;:::-;50454:8;;:25;;;-1:-1:-1;;;50454:25:0;;-1:-1:-1;;;;;50454:25:0;;;;;;;;;50434:17;;50454:8;;;;;:16;;:25;;;;;;;;;;;;;;;50434:17;50454:8;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50454:25:0;50505:35;;;-1:-1:-1;;;50505:35:0;;50534:4;50505:35;;;;;;50454:25;;-1:-1:-1;;;;;;50505:20:0;;;;;:35;;;;;50454:25;;50505:35;;;;;;;;:20;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50505:35:0;50498:42;;50490:67;;;;;-1:-1:-1;;;50490:67:0;;;;;;;;;;;;-1:-1:-1;;;50490:67:0;;;;;;;;;;;;;;;50568:25;;-1:-1:-1;;;;;;50568:25:0;-1:-1:-1;;;;;50568:25:0;;;;;;;;-1:-1:-1;;;50110:491:0:o;47639:25::-;;;;:::o;47016:28::-;;;;:::o;51991:1449::-;52043:21;52067:8;52076:4;52067:14;;;;;;;;;;;;;;;;;;52043:38;;52112:4;:20;;;52096:12;:36;52092:75;;52149:7;;;52092:75;52196:12;;:37;;;-1:-1:-1;;;52196:37:0;;52227:4;52196:37;;;;;;52177:16;;-1:-1:-1;;;;;52196:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52196:37:0;;-1:-1:-1;52248:13:0;52244:102;;-1:-1:-1;52301:12:0;52278:20;;;;:35;52328:7;;52244:102;52380:5;;:19;;;-1:-1:-1;;;52380:19:0;;;;52356:21;;-1:-1:-1;;;;;52380:5:0;;:17;;:19;;;;;;;;;;;;;;:5;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52380:19:0;52492:16;;52380:19;;-1:-1:-1;52475:33:0;;52471:122;;-1:-1:-1;;52548:12:0;52525:20;;;;:35;52575:7;;52471:122;52603:18;52624:49;52638:4;:20;;;52660:12;52624:13;:49::i;:::-;52603:70;;52684:19;52706:71;52761:15;;52706:50;52740:4;:15;;;52706:29;52721:13;;52706:10;:14;;:29;;;;:::i;:71::-;52684:93;-1:-1:-1;52788:25:0;52816:36;52832:19;52684:93;52848:2;52832:15;:19::i;:::-;52816:11;;:15;:36::i;:::-;52908:16;;52788:64;;-1:-1:-1;52869:36:0;:13;52788:64;52869:17;:36::i;:::-;:55;52865:520;;;52961:16;;52941:17;;52961:35;;52982:13;52961:20;:35::i;:::-;53011:5;;:36;;;-1:-1:-1;;;53011:36:0;;53030:4;53011:36;;;;;;;;;;;;52941:55;;-1:-1:-1;;;;;;53011:5:0;;;;:10;;:36;;;;;:5;;:36;;;;;;;;:5;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53086:60;53112:33;53136:8;53112:19;53126:4;53112:9;:13;;:19;;;;:::i;:33::-;53086:21;;;;;:25;:60::i;:::-;53062:21;;;:84;-1:-1:-1;52865:520:0;;;53179:5;;53190:7;;-1:-1:-1;;;;;53179:5:0;;;;:10;;53190:7;53199:19;:11;53215:2;53199:15;:19::i;:::-;53179:40;;;;;;;;;;;;;-1:-1:-1;;;;;53179:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53234:5:0;;:38;;;-1:-1:-1;;;53234:38:0;;53253:4;53234:38;;;;;;;;;;;;-1:-1:-1;;;;;53234:5:0;;;;-1:-1:-1;53234:10:0;;-1:-1:-1;53234:38:0;;;;;:5;;:38;;;;;;;;:5;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53311:62;53337:35;53363:8;53337:21;53353:4;53337:11;:15;;:21;;;;:::i;:35::-;53311:21;;;;;:25;:62::i;:::-;53287:21;;;:86;52865:520;53420:12;53397:4;:20;;:35;;;;51991:1449;;;;;;;;:::o;55158:356::-;55217:21;55241:8;55250:4;55241:14;;;;;;;;;;;;;;;;55290;;;:8;:14;;;;;;55305:10;55290:26;;;;;;;;55374:11;;55241:14;;;;;;;55327:12;;55241:14;;-1:-1:-1;55327:59:0;;-1:-1:-1;;;;;55327:12:0;;;;;55305:10;55327:25;:59::i;:::-;55438:11;;55402:48;;;;;;;55432:4;;55420:10;;55402:48;;;;;;;;;55475:1;55461:15;;;55487;;;;:19;-1:-1:-1;;55158:356:0:o;46893:26::-;;;-1:-1:-1;;;;;46893:26:0;;:::o;48486:123::-;22786:12;:10;:12::i;:::-;22776:6;;-1:-1:-1;;;;;22776:6:0;;;:22;;;22768:67;;;;;-1:-1:-1;;;22768:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22768:67:0;;;;;;;;;;;;;;;48566:16:::1;:35:::0;48486:123::o;51735:180::-;51797:8;:15;51780:14;51823:85;51851:6;51845:3;:12;51823:85;;;51881:15;51892:3;51881:10;:15::i;:::-;51859:5;;51823:85;;;;51735:180;:::o;49514:295::-;22786:12;:10;:12::i;:::-;22776:6;;-1:-1:-1;;;;;22776:6:0;;;:22;;;22768:67;;;;;-1:-1:-1;;;22768:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22768:67:0;;;;;;;;;;;;;;;48036:16:::1;;48014:5;;;;;;;;;-1:-1:-1::0;;;;;48014:5:0::1;-1:-1:-1::0;;;;;48014:17:0::1;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;48014:19:0;:38:::1;48006:78;;;::::0;;-1:-1:-1;;;48006:78:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;49634:11:::2;49630:61;;;49662:17;:15;:17::i;:::-;49701:22;49726:8;49735:4;49726:14;;;;;;;;;;;;;;;;;;:25;;;49701:50;;49790:11;49762:8;49771:4;49762:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;48095:1;49514:295:::0;;;:::o;23206:140::-;22786:12;:10;:12::i;:::-;22776:6;;-1:-1:-1;;;;;22776:6:0;;;:22;;;22768:67;;;;;-1:-1:-1;;;22768:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22768:67:0;;;;;;;;;;;;;;;23305:1:::1;23289:6:::0;;23268:40:::1;::::0;-1:-1:-1;;;;;23289:6:0;;::::1;::::0;23268:40:::1;::::0;23305:1;;23268:40:::1;23336:1;23319:19:::0;;-1:-1:-1;;;;;;23319:19:0::1;::::0;;23206:140::o;47239:29::-;;;-1:-1:-1;;;;;47239:29:0;;:::o;47099:35::-;;;;:::o;55967:129::-;56038:7;;-1:-1:-1;;;;;56038:7:0;56024:10;:21;56016:43;;;;;-1:-1:-1;;;56016:43:0;;;;;;;;;;;;-1:-1:-1;;;56016:43:0;;;;;;;;;;;;;;;56070:7;:18;;-1:-1:-1;;;;;;56070:18:0;-1:-1:-1;;;;;56070:18:0;;;;;;;;;;55967:129::o;22564:79::-;22602:7;22629:6;-1:-1:-1;;;;;22629:6:0;22564:79;:::o;50677:143::-;50795:16;;50749:7;;50776:36;;:14;:3;50784:5;50776:7;:14::i;:36::-;50769:43;50677:143;-1:-1:-1;;;50677:143:0:o;47386:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;46947:22::-;;;-1:-1:-1;;;;;46947:22:0;;:::o;53510:779::-;48036:16;;48014:5;;;;;;;;;-1:-1:-1;;;;;48014:5:0;-1:-1:-1;;;;;48014:17:0;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48014:19:0;:38;48006:78;;;;;-1:-1:-1;;;48006:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;53598:21:::1;53622:8;53631:4;53622:14;;;;;;;;;::::0;;;::::1;::::0;;;53671;;;:8:::1;:14:::0;;;;;;53686:10:::1;53671:26:::0;;;;;;;53622:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;53708:16:0::1;53680:4:::0;53708:10:::1;:16::i;:::-;53739:11:::0;;:15;53735:239:::1;;53771:15;53789:69;53842:4;:15;;;53789:48;53832:4;53789:38;53805:4;:21;;;53789:4;:11;;;:15;;:38;;;;:::i;:69::-;53771:87:::0;-1:-1:-1;53877:11:0;;53873:90:::1;;53909:38;53927:10;53939:7;53909:17;:38::i;:::-;53735:239;;53988:11:::0;;53984:171:::1;;54016:12:::0;;:74:::1;::::0;-1:-1:-1;;;;;54016:12:0::1;54054:10;54075:4;54082:7:::0;54016:29:::1;:74::i;:::-;54119:11:::0;;:24:::1;::::0;54135:7;54119:15:::1;:24::i;:::-;54105:38:::0;;53984:171:::1;54199:21;::::0;::::1;::::0;54183:11;;:48:::1;::::0;54226:4:::1;::::0;54183:38:::1;::::0;:15:::1;:38::i;:48::-;54165:15;::::0;::::1;:66:::0;54247:34:::1;::::0;;;;;;;54267:4;;54255:10:::1;::::0;54247:34:::1;::::0;;;;::::1;::::0;;::::1;48095:1;;53510:779:::0;;:::o;47673:31::-;;;;:::o;23501:109::-;22786:12;:10;:12::i;:::-;22776:6;;-1:-1:-1;;;;;22776:6:0;;;:22;;;22768:67;;;;;-1:-1:-1;;;22768:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22768:67:0;;;;;;;;;;;;;;;23574:28:::1;23593:8;23574:18;:28::i;20986:98::-:0;21066:10;20986:98;:::o;2368:471::-;2426:7;2671:6;2667:47;;-1:-1:-1;2701:1:0;2694:8;;2667:47;2738:5;;;2742:1;2738;:5;:1;2762:5;;;;;:10;2754:56;;;;-1:-1:-1;;;2754:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3315:132;3373:7;3400:39;3404:1;3407;3400:39;;;;;;;;;;;;;;;;;:3;:39::i;980:181::-;1038:7;1070:5;;;1094:6;;;;1086:46;;;;;-1:-1:-1;;;1086:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;1444:136;1502:7;1529:43;1533:1;1536;1529:43;;;;;;;;;;;;;;;;;:3;:43::i;55629:282::-;55724:5;;:30;;;-1:-1:-1;;;55724:30:0;;55748:4;55724:30;;;;;;55706:15;;-1:-1:-1;;;;;55724:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55724:30:0;;-1:-1:-1;55769:17:0;;;55765:139;;;55803:5;;:28;;;-1:-1:-1;;;55803:28:0;;-1:-1:-1;;;;;55803:28:0;;;;;;;;;;;;;;;:5;;;;;:14;;:28;;;;;;;;;;;;;;:5;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55765:139:0;;-1:-1:-1;55765:139:0;;55864:5;;:28;;;-1:-1:-1;;;55864:28:0;;-1:-1:-1;;;;;55864:28:0;;;;;;;;;;;;;;;:5;;;;;:14;;:28;;;;;;;;;;;;;;:5;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;55765:139:0;55629:282;;;:::o;16840:211::-;16984:58;;;-1:-1:-1;;;;;16984:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16984:58:0;-1:-1:-1;;;16984:58:0;;;16957:86;;16977:5;;16957:19;:86::i;17576:670::-;17994:10;;;17993:62;;-1:-1:-1;18010:39:0;;;-1:-1:-1;;;18010:39:0;;18034:4;18010:39;;;;-1:-1:-1;;;;;18010:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18010:39:0;:44;17993:62;17971:166;;;;-1:-1:-1;;;17971:166:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18175:62;;;-1:-1:-1;;;;;18175:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18175:62:0;-1:-1:-1;;;18175:62:0;;;18148:90;;18168:5;;18148:19;:90::i;17059:248::-;17230:68;;;-1:-1:-1;;;;;17230:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17230:68:0;-1:-1:-1;;;17230:68:0;;;17203:96;;17223:5;;17203:19;:96::i;:::-;17059:248;;;;:::o;23716:229::-;-1:-1:-1;;;;;23790:22:0;;23782:73;;;;-1:-1:-1;;;23782:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23892:6;;;23871:38;;-1:-1:-1;;;;;23871:38:0;;;;23892:6;;;23871:38;;;23920:6;:17;;-1:-1:-1;;;;;;23920:17:0;-1:-1:-1;;;;;23920:17:0;;;;;;;;;;23716:229::o;3943:312::-;4063:7;4098:12;4091:5;4083:28;;;;-1:-1:-1;;;4083:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4122:9;4138:1;4134;:5;;;;;;;3943:312;-1:-1:-1;;;;;3943:312:0:o;1883:226::-;2003:7;2039:12;2031:6;;;;2023:29;;;;-1:-1:-1;;;2023:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2075:5:0;;;1883:226::o;19375:774::-;19799:23;19825:69;19853:4;19825:69;;;;;;;;;;;;;;;;;19833:5;-1:-1:-1;;;;;19825:27:0;;;:69;;;;;:::i;:::-;19909:17;;19799:95;;-1:-1:-1;19909:21:0;19905:237;;20064:10;20053:30;;;;;;;;;;;;;;;-1:-1:-1;20053:30:0;20045:85;;;;-1:-1:-1;;;20045:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13274:230;13411:12;13443:53;13466:6;13474:4;13480:1;13483:12;13443:22;:53::i;:::-;13436:60;13274:230;-1:-1:-1;;;;13274:230:0:o;14762:1020::-;14935:12;14968:18;14979:6;14968:10;:18::i;:::-;14960:60;;;;;-1:-1:-1;;;14960:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15094:12;15108:23;15135:6;-1:-1:-1;;;;;15135:11:0;15154:8;15164:4;15135:34;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15135:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15093:76;;;;15184:7;15180:595;;;15215:10;-1:-1:-1;15208:17:0;;-1:-1:-1;15208:17:0;15180:595;15329:17;;:21;15325:439;;15592:10;15586:17;15653:15;15640:10;15636:2;15632:19;15625:44;15540:148;15728:20;;-1:-1:-1;;;15728:20:0;;;;;;;;;;;;;;;;;15735:12;;15728:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10137:641;10197:4;10678:20;;10508:66;10727:23;;;;;;:42;;-1:-1:-1;;10754:15:0;;;10719:51;-1:-1:-1;;10137:641:0:o

Swarm Source

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