Contract 0x188bED1968b795d5c9022F6a0bb5931Ac4c18F00 5

Contract Overview

Balance:
0 AVAX

AVAX Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x3252501836840873b36a8c823f7a6a90a9fd089c343355dd8b7ec367659d0bcaWithdraw148062272022-05-17 8:15:2910 secs ago0x2c92bca2edaeaa0f37b566e13c6699203148ce8d IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.008249238 26.5
0xeec54b44450f8f93b3f05a360f9d6e3f6049933a7d6def09f2b96c63fef5ff1dWithdraw148061622022-05-17 8:13:192 mins ago0x7c44af01822e1d376174f00bab9c31ad5f8ef0ed IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.0087162475 26.5
0x2addae08674c3128ee3cdd99d3f8403c90430876b823f200b47a8cbbbdfad0e4Deposit148061542022-05-17 8:13:022 mins ago0x5f5b35611f822a83578347e41fee3ca13a7a6436 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.008403362 26.5
0x67670eb0bf59f93f4b235b5414b47e55ae6e10659b575b6daa942789afab3f5fDeposit148061442022-05-17 8:12:432 mins ago0x351dcba6957080867e713d08526da05b9a98c485 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.0087658025 26.5
0xe8e2c7642d93543abefca1c4830c84db9dc31f886a3bf439f2da2a9a63bf6d88Withdraw148060712022-05-17 8:10:175 mins ago0x24fd35dd183f55a79dd9b8347778bc3ec0118973 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.00848901 26.5
0x6600f9da68691e8299153f2c4d4471652056ea57e4924ecb9a7363d18b15364dDeposit148059992022-05-17 8:07:497 mins ago0x24fd35dd183f55a79dd9b8347778bc3ec0118973 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.00787739 26.5
0x4a103c9e466b73efe525e0c1377fcf6536ca34bbfd1013d35a96af509355c2d6Deposit148059632022-05-17 8:06:329 mins ago0x24fd35dd183f55a79dd9b8347778bc3ec0118973 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.008271496041 26.859082027
0x76f64c85df9abb9d077502b6144f795c58845e63c6590bc0d41a401ed31ec400Deposit148059162022-05-17 8:05:0310 mins ago0x5f5b35611f822a83578347e41fee3ca13a7a6436 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.007692261 26.5
0xd677c1269c61cc868fbb5f7c35f32ccdfbec9ecae6611953a1e65eb1660b5fcbDeposit148058992022-05-17 8:04:2711 mins ago0x3e438d83a1db7841b4955eb585884d4e624745ad IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.0083056525
0xda7c43ec3b5d075cdb3ea44887953a70b89f83520edb1c0d548fa50502e4178bDeposit148058872022-05-17 8:04:0311 mins ago0x3400ec59781a41d198190540a678a968d266a27c IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.0081337245 26.5
0x580ac3104cbe9312e7014c5668d3e29f4a7e2d27b828bb38fd1daebd217d708eDeposit148058782022-05-17 8:03:4411 mins ago0xdef97f60cb3224a5cbec29f9a2aaf35578e06ce5 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.009117431 26.5
0x1938ddbd864498962c935550c69c862ae5a939d272666dd0a2487ef0f7c3b675Deposit148058532022-05-17 8:02:5512 mins ago0x5f5b35611f822a83578347e41fee3ca13a7a6436 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.0078210245 26.5
0x1c965fffafcf5a6f7fb2a2aa9347d48d85c46ce7d1a1e48f0052246c493445e9Deposit148058002022-05-17 8:01:0814 mins ago0x3e438d83a1db7841b4955eb585884d4e624745ad IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.0071682525
0x2ce9aa91612e298d6887fb280248318b385c0c4f85ca2fbabd99b69da4be777eDeposit148057182022-05-17 7:58:2017 mins ago0x3400ec59781a41d198190540a678a968d266a27c IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.0082872125 26.5
0x3abffc41d251a4dc6335927fc9522e14e9e8175120fd1178d98f6c74eda04bfcWithdraw148055812022-05-17 7:53:4621 mins ago0xd9e23cab4dbfc40613247ea97518a3bc55e2bd1d IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.009524524 26.5
0x8dd6d746b909780864769fa998b60185ca3e47dfa8fbac80e985ccecc27faa00Deposit148055042022-05-17 7:51:0924 mins ago0x3ce295a8b2f726870e03af52ed1a16986beb79c0 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.008010694252 27.002673917
0xa12074b5970d4267860dc0556240896a3ae3e436b8085b488e1ba8ea661d9a2fDeposit148054942022-05-17 7:50:5324 mins ago0x3ce295a8b2f726870e03af52ed1a16986beb79c0 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.0078615695 26.5
0x7e9cad377920afc2340ba08323e1e4aef54bd47557775b002d04c3dbe4521defDeposit148054712022-05-17 7:50:0725 mins ago0x7d5600635079d2d371e99bf57eee3987eed5e8a6 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.0078595025 26.5
0x46a5abd6426e731cc99b4a9ff1b794acc1300f68fd8e886d7e214d1f41f3c52dDeposit148054482022-05-17 7:49:1826 mins ago0xc41ba3190d043e2ef434ac23287d9ba68c58106a IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.0085826345 26.5
0x560e14dfc1f68f6f28e0d27ae5a31abc45e0daf145af9d2f3c36737de8194eb3Deposit148053972022-05-17 7:47:3628 mins ago0xc41ba3190d043e2ef434ac23287d9ba68c58106a IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.0078295045 26.5
0xfd7e6e5692df06f6b591e329d78b8c18272fa529513b4463322d0ea3a0888f38Deposit148053662022-05-17 7:46:3329 mins ago0x0b51212af97ca60357302e764b33fbf136122b08 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.00990026433
0x39dbdcb38a47e51c95742162b76eaf266c02248dea7b9fb3576d25d8bf1c20d8Deposit148053622022-05-17 7:46:2629 mins ago0x0b51212af97ca60357302e764b33fbf136122b08 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.00977139933
0xba3ab5c44142e5a3ec8852c23773ea96ec8147e0206fc8599731f5e49c490133Deposit148052612022-05-17 7:43:0632 mins ago0x020945b787f5e05f5ac6a01550664ac36fb1b79c IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.0083126525 26.5
0x45cc327751dee9c551f9d27f68bd821bc003002e2f690c9990f13d7fc4331eacWithdraw148051942022-05-17 7:40:5234 mins ago0x3d49af93c5ba392c4fd8e52937312e562ac37763 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.0081716195 26.5
0x570508930d90b534742593b3d8cb98769448f517303bd7e84044d26a3d6fe290Deposit148051732022-05-17 7:40:1035 mins ago0x3d49af93c5ba392c4fd8e52937312e562ac37763 IN  0x188bed1968b795d5c9022f6a0bb5931ac4c18f000 AVAX0.008145411 26.5
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterChefJoeV3

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 snowtrace.io on 2021-11-05
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

interface IERC20 {
    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    // EIP 2612
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;
}



pragma experimental ABIEncoderV2;







interface IMasterChef {
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
    }

    struct PoolInfo {
        IERC20 lpToken; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. JOE to distribute per block.
        uint256 lastRewardTimestamp; // Last block number that JOE distribution occurs.
        uint256 accJoePerShare; // Accumulated JOE per share, times 1e12. See below.
    }

    function poolInfo(uint256 pid) external view returns (IMasterChef.PoolInfo memory);

    function totalAllocPoint() external view returns (uint256);

    function joePerSec() external view returns (uint256);

    function deposit(uint256 _pid, uint256 _amount) external;

    function devPercent() external view returns (uint256);

    function treasuryPercent() external view returns (uint256);

    function investorPercent() external view returns (uint256);
}

interface IRewarder {
    function onJoeReward(address user, uint256 newLpAmount) external;

    function pendingTokens(address user) external view returns (uint256 pending);

    function rewardToken() external view returns (IERC20);
}

library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

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

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

library BoringERC20 {
    bytes4 private constant SIG_SYMBOL = 0x95d89b41; // symbol()
    bytes4 private constant SIG_NAME = 0x06fdde03; // name()
    bytes4 private constant SIG_DECIMALS = 0x313ce567; // decimals()
    bytes4 private constant SIG_TRANSFER = 0xa9059cbb; // transfer(address,uint256)
    bytes4 private constant SIG_TRANSFER_FROM = 0x23b872dd; // transferFrom(address,address,uint256)

    function returnDataToString(bytes memory data) internal pure returns (string memory) {
        if (data.length >= 64) {
            return abi.decode(data, (string));
        } else if (data.length == 32) {
            uint8 i = 0;
            while (i < 32 && data[i] != 0) {
                i++;
            }
            bytes memory bytesArray = new bytes(i);
            for (i = 0; i < 32 && data[i] != 0; i++) {
                bytesArray[i] = data[i];
            }
            return string(bytesArray);
        } else {
            return "???";
        }
    }

    /// @notice Provides a safe ERC20.symbol version which returns '???' as fallback string.
    /// @param token The address of the ERC-20 token contract.
    /// @return (string) Token symbol.
    function safeSymbol(IERC20 token) internal view returns (string memory) {
        (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(SIG_SYMBOL));
        return success ? returnDataToString(data) : "???";
    }

    /// @notice Provides a safe ERC20.name version which returns '???' as fallback string.
    /// @param token The address of the ERC-20 token contract.
    /// @return (string) Token name.
    function safeName(IERC20 token) internal view returns (string memory) {
        (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(SIG_NAME));
        return success ? returnDataToString(data) : "???";
    }

    /// @notice Provides a safe ERC20.decimals version which returns '18' as fallback value.
    /// @param token The address of the ERC-20 token contract.
    /// @return (uint8) Token decimals.
    function safeDecimals(IERC20 token) internal view returns (uint8) {
        (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(SIG_DECIMALS));
        return success && data.length == 32 ? abi.decode(data, (uint8)) : 18;
    }

    /// @notice Provides a safe ERC20.transfer version for different ERC-20 implementations.
    /// Reverts on a failed transfer.
    /// @param token The address of the ERC-20 token.
    /// @param to Transfer tokens to.
    /// @param amount The token amount.
    function safeTransfer(
        IERC20 token,
        address to,
        uint256 amount
    ) internal {
        (bool success, bytes memory data) = address(token).call(abi.encodeWithSelector(SIG_TRANSFER, to, amount));
        require(success && (data.length == 0 || abi.decode(data, (bool))), "BoringERC20: Transfer failed");
    }

    /// @notice Provides a safe ERC20.transferFrom version for different ERC-20 implementations.
    /// Reverts on a failed transfer.
    /// @param token The address of the ERC-20 token.
    /// @param from Transfer tokens from.
    /// @param to Transfer tokens to.
    /// @param amount The token amount.
    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 amount
    ) internal {
        (bool success, bytes memory data) = address(token).call(
            abi.encodeWithSelector(SIG_TRANSFER_FROM, from, to, amount)
        );
        require(success && (data.length == 0 || abi.decode(data, (bool))), "BoringERC20: TransferFrom failed");
    }
}

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

/// @notice The (older) MasterChefJoeV2 contract gives out a constant number of JOE tokens per block.
/// It is the only address with minting rights for JOE.
/// The idea for this MasterChefJoeV3 (MCJV3) contract is therefore to be the owner of a dummy token
/// that is deposited into the MasterChefJoeV2 (MCJV2) contract.
/// The allocation point for this pool on MCJV3 is the total allocation point for all pools that receive double incentives.
contract MasterChefJoeV3 is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using BoringERC20 for IERC20;
    using EnumerableSet for EnumerableSet.AddressSet;

    /// @notice Info of each MCJV3 user.
    /// `amount` LP token amount the user has provided.
    /// `rewardDebt` The amount of JOE entitled to the user.
    struct UserInfo {
        uint256 amount;
        uint256 rewardDebt;
    }

    /// @notice Info of each MCJV3 pool.
    /// `allocPoint` The amount of allocation points assigned to the pool.
    /// Also known as the amount of JOE to distribute per block.
    struct PoolInfo {
        IERC20 lpToken;
        uint256 accJoePerShare;
        uint256 lastRewardTimestamp;
        uint256 allocPoint;
        IRewarder rewarder;
    }

    /// @notice Address of MCJV2 contract.
    IMasterChef public immutable MASTER_CHEF_V2;
    /// @notice Address of JOE contract.
    IERC20 public immutable JOE;
    /// @notice The index of MCJV3 master pool in MCJV2
    uint256 public immutable MASTER_PID;
    /// @notice Info of each MCJV3 pool.
    PoolInfo[] public poolInfo;
    // Set of all LP tokens that have been added as pools
    EnumerableSet.AddressSet private lpTokens;
    /// @notice Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    /// @dev Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint;
    uint256 private constant ACC_TOKEN_PRECISION = 1e18;

    event Add(uint256 indexed pid, uint256 allocPoint, IERC20 indexed lpToken, IRewarder indexed rewarder);
    event Set(uint256 indexed pid, uint256 allocPoint, IRewarder indexed rewarder, bool overwrite);
    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event UpdatePool(uint256 indexed pid, uint256 lastRewardTimestamp, uint256 lpSupply, uint256 accJoePerShare);
    event Harvest(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event Init();

    /// @param _MASTER_CHEF_V2 The JoeSwap MCJV2 contract address.
    /// @param _joe The JOE token contract address.
    /// @param _MASTER_PID The pool ID of the dummy token on the base MCJV2 contract.
    constructor(
        IMasterChef _MASTER_CHEF_V2,
        IERC20 _joe,
        uint256 _MASTER_PID
    ) public {
        MASTER_CHEF_V2 = _MASTER_CHEF_V2;
        JOE = _joe;
        MASTER_PID = _MASTER_PID;
    }

    /// @notice Deposits a dummy token to `MASTER_CHEF_V2` MCJV2. This is required because MCJV2 holds the minting rights for JOE.
    /// Any balance of transaction sender in `dummyToken` is transferred.
    /// The allocation point for the pool on MCJV2 is the total allocation point for all pools that receive double incentives.
    /// @param dummyToken The address of the ERC-20 token to deposit into MCJV2.
    function init(IERC20 dummyToken) external onlyOwner {
        uint256 balance = dummyToken.balanceOf(msg.sender);
        require(balance != 0, "MasterChefV2: Balance must exceed 0");
        dummyToken.safeTransferFrom(msg.sender, address(this), balance);
        dummyToken.approve(address(MASTER_CHEF_V2), balance);
        MASTER_CHEF_V2.deposit(MASTER_PID, balance);
        emit Init();
    }

    /// @notice Returns the number of MCJV3 pools.
    function poolLength() external view returns (uint256 pools) {
        pools = poolInfo.length;
    }

    /// @notice Add a new LP to the pool. Can only be called by the owner.
    /// DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    /// @param allocPoint AP of the new pool.
    /// @param _lpToken Address of the LP ERC-20 token.
    /// @param _rewarder Address of the rewarder delegate.
    function add(
        uint256 allocPoint,
        IERC20 _lpToken,
        IRewarder _rewarder
    ) external onlyOwner {
        require(!lpTokens.contains(address(_lpToken)), "add: LP already added");
        // Sanity check to ensure _lpToken is an ERC20 token
        _lpToken.balanceOf(address(this));
        // Sanity check if we add a rewarder
        if (address(_rewarder) != address(0)) {
            _rewarder.onJoeReward(address(0), 0);
        }

        uint256 lastRewardTimestamp = block.timestamp;
        totalAllocPoint = totalAllocPoint.add(allocPoint);

        poolInfo.push(
            PoolInfo({
                lpToken: _lpToken,
                allocPoint: allocPoint,
                lastRewardTimestamp: lastRewardTimestamp,
                accJoePerShare: 0,
                rewarder: _rewarder
            })
        );
        lpTokens.add(address(_lpToken));
        emit Add(poolInfo.length.sub(1), allocPoint, _lpToken, _rewarder);
    }

    /// @notice Update the given pool's JOE allocation point and `IRewarder` contract. Can only be called by the owner.
    /// @param _pid The index of the pool. See `poolInfo`.
    /// @param _allocPoint New AP of the pool.
    /// @param _rewarder Address of the rewarder delegate.
    /// @param overwrite True if _rewarder should be `set`. Otherwise `_rewarder` is ignored.
    function set(
        uint256 _pid,
        uint256 _allocPoint,
        IRewarder _rewarder,
        bool overwrite
    ) external onlyOwner {
        PoolInfo memory pool = poolInfo[_pid];
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        pool.allocPoint = _allocPoint;
        if (overwrite) {
            _rewarder.onJoeReward(address(0), 0); // sanity check
            pool.rewarder = _rewarder;
        }
        poolInfo[_pid] = pool;
        emit Set(_pid, _allocPoint, overwrite ? _rewarder : pool.rewarder, overwrite);
    }

    /// @notice View function to see pending JOE on frontend.
    /// @param _pid The index of the pool. See `poolInfo`.
    /// @param _user Address of user.
    /// @return pendingJoe JOE reward for a given user.
    //          bonusTokenAddress The address of the bonus reward.
    //          bonusTokenSymbol The symbol of the bonus token.
    //          pendingBonusToken The amount of bonus rewards pending.
    function pendingTokens(uint256 _pid, address _user)
        external
        view
        returns (
            uint256 pendingJoe,
            address bonusTokenAddress,
            string memory bonusTokenSymbol,
            uint256 pendingBonusToken
        )
    {
        PoolInfo memory pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accJoePerShare = pool.accJoePerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.timestamp > pool.lastRewardTimestamp && lpSupply != 0) {
            uint256 secondsElapsed = block.timestamp.sub(pool.lastRewardTimestamp);
            uint256 joeReward = secondsElapsed.mul(joePerSec()).mul(pool.allocPoint).div(totalAllocPoint);
            accJoePerShare = accJoePerShare.add(joeReward.mul(ACC_TOKEN_PRECISION).div(lpSupply));
        }
        pendingJoe = user.amount.mul(accJoePerShare).div(ACC_TOKEN_PRECISION).sub(user.rewardDebt);

        // If it's a double reward farm, we return info about the bonus token
        if (address(pool.rewarder) != address(0)) {
            bonusTokenAddress = address(pool.rewarder.rewardToken());
            bonusTokenSymbol = IERC20(pool.rewarder.rewardToken()).safeSymbol();
            pendingBonusToken = pool.rewarder.pendingTokens(_user);
        }
    }

    /// @notice Update reward variables for all pools. Be careful of gas spending!
    /// @param pids Pool IDs of all to be updated. Make sure to update all active pools.
    function massUpdatePools(uint256[] calldata pids) external {
        uint256 len = pids.length;
        for (uint256 i = 0; i < len; ++i) {
            updatePool(pids[i]);
        }
    }

    /// @notice Calculates and returns the `amount` of JOE per block.
    function joePerSec() public view returns (uint256 amount) {
        uint256 total = 1000;
        uint256 lpPercent = total.sub(MASTER_CHEF_V2.devPercent()).sub(MASTER_CHEF_V2.treasuryPercent()).sub(
            MASTER_CHEF_V2.investorPercent()
        );
        uint256 lpShare = MASTER_CHEF_V2.joePerSec().mul(lpPercent).div(total);
        amount = lpShare.mul(MASTER_CHEF_V2.poolInfo(MASTER_PID).allocPoint).div(MASTER_CHEF_V2.totalAllocPoint());
    }

    /// @notice Update reward variables of the given pool.
    /// @param pid The index of the pool. See `poolInfo`.
    function updatePool(uint256 pid) public {
        PoolInfo memory pool = poolInfo[pid];
        if (block.timestamp > pool.lastRewardTimestamp) {
            uint256 lpSupply = pool.lpToken.balanceOf(address(this));
            if (lpSupply > 0) {
                uint256 secondsElapsed = block.timestamp.sub(pool.lastRewardTimestamp);
                uint256 joeReward = secondsElapsed.mul(joePerSec()).mul(pool.allocPoint).div(totalAllocPoint);
                pool.accJoePerShare = pool.accJoePerShare.add((joeReward.mul(ACC_TOKEN_PRECISION).div(lpSupply)));
            }
            pool.lastRewardTimestamp = block.timestamp;
            poolInfo[pid] = pool;
            emit UpdatePool(pid, pool.lastRewardTimestamp, lpSupply, pool.accJoePerShare);
        }
    }

    /// @notice Deposit LP tokens to MCJV3 for JOE allocation.
    /// @param pid The index of the pool. See `poolInfo`.
    /// @param amount LP token amount to deposit.
    function deposit(uint256 pid, uint256 amount) external nonReentrant {
        harvestFromMasterChef();
        updatePool(pid);
        PoolInfo memory pool = poolInfo[pid];
        UserInfo storage user = userInfo[pid][msg.sender];

        if (user.amount > 0) {
            // Harvest JOE
            uint256 pending = user.amount.mul(pool.accJoePerShare).div(ACC_TOKEN_PRECISION).sub(user.rewardDebt);
            JOE.safeTransfer(msg.sender, pending);
            emit Harvest(msg.sender, pid, pending);
        }

        uint256 balanceBefore = pool.lpToken.balanceOf(address(this));
        pool.lpToken.safeTransferFrom(msg.sender, address(this), amount);
        uint256 receivedAmount = pool.lpToken.balanceOf(address(this)).sub(balanceBefore);

        // Effects
        user.amount = user.amount.add(receivedAmount);
        user.rewardDebt = user.amount.mul(pool.accJoePerShare).div(ACC_TOKEN_PRECISION);

        // Interactions
        IRewarder _rewarder = pool.rewarder;
        if (address(_rewarder) != address(0)) {
            _rewarder.onJoeReward(msg.sender, user.amount);
        }

        emit Deposit(msg.sender, pid, receivedAmount);
    }

    /// @notice Withdraw LP tokens from MCJV3.
    /// @param pid The index of the pool. See `poolInfo`.
    /// @param amount LP token amount to withdraw.
    function withdraw(uint256 pid, uint256 amount) external nonReentrant {
        harvestFromMasterChef();
        updatePool(pid);
        PoolInfo memory pool = poolInfo[pid];
        UserInfo storage user = userInfo[pid][msg.sender];

        if (user.amount > 0) {
            // Harvest JOE
            uint256 pending = user.amount.mul(pool.accJoePerShare).div(ACC_TOKEN_PRECISION).sub(user.rewardDebt);
            JOE.safeTransfer(msg.sender, pending);
            emit Harvest(msg.sender, pid, pending);
        }

        // Effects
        user.amount = user.amount.sub(amount);
        user.rewardDebt = user.amount.mul(pool.accJoePerShare).div(ACC_TOKEN_PRECISION);

        // Interactions
        IRewarder _rewarder = pool.rewarder;
        if (address(_rewarder) != address(0)) {
            _rewarder.onJoeReward(msg.sender, user.amount);
        }

        pool.lpToken.safeTransfer(msg.sender, amount);

        emit Withdraw(msg.sender, pid, amount);
    }

    /// @notice Harvests JOE from `MASTER_CHEF_V2` MCJV2 and pool `MASTER_PID` to this MCJV3 contract.
    function harvestFromMasterChef() public {
        MASTER_CHEF_V2.deposit(MASTER_PID, 0);
    }

    /// @notice Withdraw without caring about rewards. EMERGENCY ONLY.
    /// @param pid The index of the pool. See `poolInfo`.
    function emergencyWithdraw(uint256 pid) external nonReentrant {
        PoolInfo memory pool = poolInfo[pid];
        UserInfo storage user = userInfo[pid][msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;

        IRewarder _rewarder = pool.rewarder;
        if (address(_rewarder) != address(0)) {
            _rewarder.onJoeReward(msg.sender, 0);
        }

        // Note: transfer can fail or succeed if `amount` is zero.
        pool.lpToken.safeTransfer(msg.sender, amount);
        emit EmergencyWithdraw(msg.sender, pid, amount);
    }
}

Contract ABI

[{"inputs":[{"internalType":"contract IMasterChef","name":"_MASTER_CHEF_V2","type":"address"},{"internalType":"contract IERC20","name":"_joe","type":"address"},{"internalType":"uint256","name":"_MASTER_PID","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":true,"internalType":"contract IERC20","name":"lpToken","type":"address"},{"indexed":true,"internalType":"contract IRewarder","name":"rewarder","type":"address"}],"name":"Add","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":"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":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Harvest","type":"event"},{"anonymous":false,"inputs":[],"name":"Init","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":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":true,"internalType":"contract IRewarder","name":"rewarder","type":"address"},{"indexed":false,"internalType":"bool","name":"overwrite","type":"bool"}],"name":"Set","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastRewardTimestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accJoePerShare","type":"uint256"}],"name":"UpdatePool","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":"JOE","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MASTER_CHEF_V2","outputs":[{"internalType":"contract IMasterChef","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MASTER_PID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"contract IRewarder","name":"_rewarder","type":"address"}],"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":"uint256","name":"pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestFromMasterChef","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"dummyToken","type":"address"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"joePerSec","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"pids","type":"uint256[]"}],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingTokens","outputs":[{"internalType":"uint256","name":"pendingJoe","type":"uint256"},{"internalType":"address","name":"bonusTokenAddress","type":"address"},{"internalType":"string","name":"bonusTokenSymbol","type":"string"},{"internalType":"uint256","name":"pendingBonusToken","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"accJoePerShare","type":"uint256"},{"internalType":"uint256","name":"lastRewardTimestamp","type":"uint256"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"contract IRewarder","name":"rewarder","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"pools","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":"contract IRewarder","name":"_rewarder","type":"address"},{"internalType":"bool","name":"overwrite","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"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"}]

60e06040523480156200001157600080fd5b5060405162002c6038038062002c608339810160408190526200003491620000b6565b600062000040620000b2565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180556001600160601b0319606093841b81166080529190921b1660a05260c05262000116565b3390565b600080600060608486031215620000cb578283fd5b8351620000d881620000fd565b6020850151909350620000eb81620000fd565b80925050604084015190509250925092565b6001600160a01b03811681146200011357600080fd5b50565b60805160601c60a05160601c60c051612ad16200018f600039806104f352806108615280610c9552806115f05250806106a952806117785280611e0752508061043252806104c6528061057e528061083452806112b7528061134b52806113df5280611483528061151952806115c35250612ad16000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806361621aaa116100b8578063ab7de0981161007c578063ab7de09814610250578063ca418d2314610263578063e2bbb1581461026b578063f2fde38b1461027e578063ffcd426314610291578063ffebad30146102b457610137565b806361621aaa14610204578063715018a61461020c57806388bba42f146102145780638da5cb5b1461022757806393f1a40b1461022f57610137565b8063441a3e70116100ff578063441a3e70146101b05780634f70b15a146101c357806351eb05a6146101cb5780635312ea8e146101de57806357a5b58c146101f157610137565b8063081e3eda1461013c5780631526fe271461015a57806317caf6f11461017e57806319ab453c1461018657806327bf88ad1461019b575b600080fd5b6101446102bc565b6040516101519190612994565b60405180910390f35b61016d610168366004612577565b6102c2565b6040516101519594939291906126ee565b61014461030d565b6101996101943660046123d6565b610313565b005b6101a361057c565b604051610151919061269d565b6101996101be366004612617565b6105a0565b61019961081d565b6101996101d9366004612577565b6108c0565b6101996101ec366004612577565b610af3565b6101996101ff3660046123f2565b610c64565b610144610c93565b610199610cb7565b610199610222366004612638565b610d40565b6101a3610f81565b61024261023d3660046125a7565b610f90565b6040516101519291906129fe565b61019961025e3660046125d6565b610fb4565b6101446112a8565b610199610279366004612617565b61167b565b61019961028c3660046123d6565b6119fb565b6102a461029f3660046125a7565b611abb565b604051610151949392919061299d565b6101a3611e05565b60025490565b600281815481106102cf57fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0393841695509193909290911685565b60065481565b61031b611e29565b6001600160a01b031661032c610f81565b6001600160a01b03161461035b5760405162461bcd60e51b8152600401610352906128f3565b60405180910390fd5b6040516370a0823160e01b81526000906001600160a01b038316906370a082319061038a90339060040161269d565b60206040518083038186803b1580156103a257600080fd5b505afa1580156103b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103da919061258f565b9050806103f95760405162461bcd60e51b81526004016103529061271e565b61040e6001600160a01b038316333084611e2d565b60405163095ea7b360e01b81526001600160a01b0383169063095ea7b39061045c907f00000000000000000000000000000000000000000000000000000000000000009085906004016126b1565b602060405180830381600087803b15801561047657600080fd5b505af115801561048a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ae9190612461565b50604051631c57762b60e31b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e2bbb1589061051d907f00000000000000000000000000000000000000000000000000000000000000009085906004016129fe565b600060405180830381600087803b15801561053757600080fd5b505af115801561054b573d6000803e3d6000fd5b50506040517f57a86f7d14ccde89e22870afe839e3011216827daa9b24e18629f0a1e9d6cc14925060009150a15050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600260015414156105c35760405162461bcd60e51b81526004016103529061295d565b60026001556105d061081d565b6105d9826108c0565b6105e1612395565b600283815481106105ee57fe5b600091825260208083206040805160a081018252600594850290920180546001600160a01b0390811684526001820154848601526002820154848401526003820154606085015260049091015416608083015287855292825282842033855290915291208054919250901561071457600061069a8260010154610694670de0b6b3a764000061068e87602001518760000154611f2690919063ffffffff16565b90611f69565b90611f9b565b90506106d06001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163383611fc3565b84336001600160a01b03167f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae06609249548360405161070a9190612994565b60405180910390a3505b80546107209084611f9b565b808255602083015161074091670de0b6b3a76400009161068e9190611f26565b600182015560808201516001600160a01b038116156107ba5781546040516301a7af8b60e41b81526001600160a01b03831691631a7af8b0916107879133916004016126b1565b600060405180830381600087803b1580156107a157600080fd5b505af11580156107b5573d6000803e3d6000fd5b505050505b82516107d0906001600160a01b03163386611fc3565b84336001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688660405161080a9190612994565b60405180910390a3505060018055505050565b604051631c57762b60e31b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e2bbb1589061088c907f0000000000000000000000000000000000000000000000000000000000000000906000906004016129fe565b600060405180830381600087803b1580156108a657600080fd5b505af11580156108ba573d6000803e3d6000fd5b50505050565b6108c8612395565b600282815481106108d557fe5b60009182526020918290206040805160a081018252600590930290910180546001600160a01b0390811684526001820154948401949094526002810154918301829052600381015460608401526004015490921660808201529150421115610aef5780516040516370a0823160e01b81526000916001600160a01b0316906370a082319061096790309060040161269d565b60206040518083038186803b15801561097f57600080fd5b505afa158015610993573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b7919061258f565b90508015610a305760006109d8836040015142611f9b90919063ffffffff16565b90506000610a0260065461068e86606001516109fc6109f56112a8565b8790611f26565b90611f26565b9050610a28610a1d8461068e84670de0b6b3a7640000611f26565b6020860151906120b9565b602085015250505b4260408301526002805483919085908110610a4757fe5b6000918252602091829020835160059092020180546001600160a01b039283166001600160a01b0319918216178255848401516001830155604080860151600284015560608601516003840155608090950151600490920180549290931691161790558382015190840151915185927f3be3541fc42237d611b30329040bfa4569541d156560acdbbae57640d20b8f4692610ae59290918691612a0c565b60405180910390a2505b5050565b60026001541415610b165760405162461bcd60e51b81526004016103529061295d565b6002600155610b23612395565b60028281548110610b3057fe5b600091825260208083206040805160a081018252600594850290920180546001600160a01b0390811684526001808301548587015260028301548585015260038301546060860152600490920154811660808501908152898852958552828720338852909452908520805486825591810195909555925190945090811615610c14576040516301a7af8b60e41b81526001600160a01b03821690631a7af8b090610be19033906000906004016126b1565b600060405180830381600087803b158015610bfb57600080fd5b505af1158015610c0f573d6000803e3d6000fd5b505050505b8351610c2a906001600160a01b03163384611fc3565b84336001600160a01b03167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05958460405161080a9190612994565b8060005b818110156108ba57610c8b848483818110610c7f57fe5b905060200201356108c0565b600101610c68565b7f000000000000000000000000000000000000000000000000000000000000000081565b610cbf611e29565b6001600160a01b0316610cd0610f81565b6001600160a01b031614610cf65760405162461bcd60e51b8152600401610352906128f3565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610d48611e29565b6001600160a01b0316610d59610f81565b6001600160a01b031614610d7f5760405162461bcd60e51b8152600401610352906128f3565b610d87612395565b60028581548110610d9457fe5b60009182526020918290206040805160a081018252600590930290910180546001600160a01b03908116845260018201549484019490945260028082015492840192909252600381015460608401526004015490921660808201528154909250610e32918691610e2c919089908110610e0957fe5b906000526020600020906005020160030154600654611f9b90919063ffffffff16565b906120b9565b600655606081018490528115610eb3576040516301a7af8b60e41b81526001600160a01b03841690631a7af8b090610e719060009081906004016126b1565b600060405180830381600087803b158015610e8b57600080fd5b505af1158015610e9f573d6000803e3d6000fd5b5050506001600160a01b0384166080830152505b8060028681548110610ec157fe5b600091825260209182902083516005929092020180546001600160a01b03199081166001600160a01b03938416178255928401516001820155604084015160028201556060840151600382015560809093015160049093018054909216921691909117905581610f35578060800151610f37565b825b6001600160a01b0316857fa54644aae5c48c5971516f334e4fe8ecbc7930e23f34877d4203c6551e67ffaa8685604051610f729291906129ee565b60405180910390a35050505050565b6000546001600160a01b031690565b60056020908152600092835260408084209091529082529020805460019091015482565b610fbc611e29565b6001600160a01b0316610fcd610f81565b6001600160a01b031614610ff35760405162461bcd60e51b8152600401610352906128f3565b610ffe6003836120de565b1561101b5760405162461bcd60e51b8152600401610352906128c4565b6040516370a0823160e01b81526001600160a01b038316906370a082319061104790309060040161269d565b60206040518083038186803b15801561105f57600080fd5b505afa158015611073573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611097919061258f565b506001600160a01b03811615611109576040516301a7af8b60e41b81526001600160a01b03821690631a7af8b0906110d69060009081906004016126b1565b600060405180830381600087803b1580156110f057600080fd5b505af1158015611104573d6000803e3d6000fd5b505050505b600654429061111890856120b9565b6006556040805160a0810182526001600160a01b038581168252600060208301818152938301858152606084018981528784166080860190815260028054600181018255945294517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace600590940293840180546001600160a01b031990811692871692909217905595517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf84015590517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad0830155517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad182015591517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad29092018054909316911617905561124c6003846120f3565b506002546001600160a01b03808416919085169061126b906001611f9b565b7f4b16bd2431ad24dc020ab0e1de7fcb6563dead6a24fb10089d6c23e97a70381f8760405161129a9190612994565b60405180910390a450505050565b6000806103e8905060006114757f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630735b2086040518163ffffffff1660e01b815260040160206040518083038186803b15801561130e57600080fd5b505afa158015611322573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611346919061258f565b6106947f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166304ef9d586040518163ffffffff1660e01b815260040160206040518083038186803b1580156113a257600080fd5b505afa1580156113b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113da919061258f565b6106947f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fc3c28af6040518163ffffffff1660e01b815260040160206040518083038186803b15801561143657600080fd5b505afa15801561144a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146e919061258f565b8790611f9b565b905060006115128361068e847f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ca418d236040518163ffffffff1660e01b815260040160206040518083038186803b1580156114da57600080fd5b505afa1580156114ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fc919061258f565b90506116737f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166317caf6f16040518163ffffffff1660e01b815260040160206040518083038186803b15801561157057600080fd5b505afa158015611584573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a8919061258f565b604051631526fe2760e01b815261068e906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690631526fe2790611618907f000000000000000000000000000000000000000000000000000000000000000090600401612994565b60806040518083038186803b15801561163057600080fd5b505afa158015611644573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116689190612525565b602001518490611f26565b935050505090565b6002600154141561169e5760405162461bcd60e51b81526004016103529061295d565b60026001556116ab61081d565b6116b4826108c0565b6116bc612395565b600283815481106116c957fe5b600091825260208083206040805160a081018252600594850290920180546001600160a01b039081168452600182015484860152600282015484840152600382015460608501526004909101541660808301528785529282528284203385529091529120805491925090156117e35760006117698260010154610694670de0b6b3a764000061068e87602001518760000154611f2690919063ffffffff16565b905061179f6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163383611fc3565b84336001600160a01b03167f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954836040516117d99190612994565b60405180910390a3505b81516040516370a0823160e01b81526000916001600160a01b0316906370a082319061181390309060040161269d565b60206040518083038186803b15801561182b57600080fd5b505afa15801561183f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611863919061258f565b835190915061187d906001600160a01b0316333087611e2d565b82516040516370a0823160e01b81526000916119039184916001600160a01b0316906370a08231906118b390309060040161269d565b60206040518083038186803b1580156118cb57600080fd5b505afa1580156118df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610694919061258f565b835490915061191290826120b9565b808455602085015161193291670de0b6b3a76400009161068e9190611f26565b600184015560808401516001600160a01b038116156119ac5783546040516301a7af8b60e41b81526001600160a01b03831691631a7af8b0916119799133916004016126b1565b600060405180830381600087803b15801561199357600080fd5b505af11580156119a7573d6000803e3d6000fd5b505050505b86336001600160a01b03167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15846040516119e69190612994565b60405180910390a35050600180555050505050565b611a03611e29565b6001600160a01b0316611a14610f81565b6001600160a01b031614611a3a5760405162461bcd60e51b8152600401610352906128f3565b6001600160a01b038116611a605760405162461bcd60e51b815260040161035290612798565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008060606000611aca612395565b60028781548110611ad757fe5b600091825260208083206040805160a081018252600594850290920180546001600160a01b039081168452600182015484860190815260028301548585015260038301546060860152600492830154821660808601528e88529585528287208d821688529094528186209451835192516370a0823160e01b815293975094959391909116916370a0823191611b6e9130910161269d565b60206040518083038186803b158015611b8657600080fd5b505afa158015611b9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bbe919061258f565b9050836040015142118015611bd257508015155b15611c34576000611bf0856040015142611f9b90919063ffffffff16565b90506000611c0d60065461068e88606001516109fc6109f56112a8565b9050611c2f611c288461068e84670de0b6b3a7640000611f26565b85906120b9565b935050505b611c5f8360010154610694670de0b6b3a764000061068e868860000154611f2690919063ffffffff16565b60808501519098506001600160a01b031615611df85783608001516001600160a01b031663f7c618c16040518163ffffffff1660e01b815260040160206040518083038186803b158015611cb257600080fd5b505afa158015611cc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cea919061247d565b9650611d7284608001516001600160a01b031663f7c618c16040518163ffffffff1660e01b815260040160206040518083038186803b158015611d2c57600080fd5b505afa158015611d40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d64919061247d565b6001600160a01b0316612108565b608085015160405163c031a66f60e01b81529197506001600160a01b03169063c031a66f90611da5908c9060040161269d565b60206040518083038186803b158015611dbd57600080fd5b505afa158015611dd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df5919061258f565b94505b5050505092959194509250565b7f000000000000000000000000000000000000000000000000000000000000000081565b3390565b60006060856001600160a01b03166323b872dd60e01b868686604051602401611e58939291906126ca565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051611e969190612681565b6000604051808303816000865af19150503d8060008114611ed3576040519150601f19603f3d011682016040523d82523d6000602084013e611ed8565b606091505b5091509150818015611f02575080511580611f02575080806020019051810190611f029190612461565b611f1e5760405162461bcd60e51b815260040161035290612928565b505050505050565b600082611f3557506000611f63565b82820282848281611f4257fe5b0414611f605760405162461bcd60e51b815260040161035290612883565b90505b92915050565b6000808211611f8a5760405162461bcd60e51b81526004016103529061284c565b818381611f9357fe5b049392505050565b600082821115611fbd5760405162461bcd60e51b815260040161035290612815565b50900390565b60006060846001600160a01b031663a9059cbb60e01b8585604051602401611fec9291906126b1565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252905161202a9190612681565b6000604051808303816000865af19150503d8060008114612067576040519150601f19603f3d011682016040523d82523d6000602084013e61206c565b606091505b50915091508180156120965750805115806120965750808060200190518101906120969190612461565b6120b25760405162461bcd60e51b815260040161035290612761565b5050505050565b600082820183811015611f605760405162461bcd60e51b8152600401610352906127de565b6000611f60836001600160a01b0384166121cd565b6000611f60836001600160a01b0384166121e5565b60408051600481526024810182526020810180516001600160e01b03166395d89b4160e01b179052905160609160009183916001600160a01b0386169161214f9190612681565b600060405180830381855afa9150503d806000811461218a576040519150601f19603f3d011682016040523d82523d6000602084013e61218f565b606091505b5091509150816121ba57604051806040016040528060038152602001623f3f3f60e81b8152506121c3565b6121c38161222f565b925050505b919050565b60009081526001919091016020526040902054151590565b60006121f183836121cd565b61222757508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611f63565b506000611f63565b60606040825110612255578180602001905181019061224e9190612499565b90506121c8565b8151602014156123755760005b60208160ff161080156122915750828160ff168151811061227f57fe5b01602001516001600160f81b03191615155b1561229e57600101612262565b60608160ff1667ffffffffffffffff811180156122ba57600080fd5b506040519080825280601f01601f1916602001820160405280156122e5576020820181803683370190505b509050600091505b60208260ff1610801561231c5750838260ff168151811061230a57fe5b01602001516001600160f81b03191615155b1561236c57838260ff168151811061233057fe5b602001015160f81c60f81b818360ff168151811061234a57fe5b60200101906001600160f81b031916908160001a9053506001909101906122ed565b91506121c89050565b506040805180820190915260038152623f3f3f60e81b60208201526121c8565b6040518060a0016040528060006001600160a01b0316815260200160008152602001600081526020016000815260200160006001600160a01b031681525090565b6000602082840312156123e7578081fd5b8135611f6081612a75565b60008060208385031215612404578081fd5b823567ffffffffffffffff8082111561241b578283fd5b818501915085601f83011261242e578283fd5b81358181111561243c578384fd5b866020808302850101111561244f578384fd5b60209290920196919550909350505050565b600060208284031215612472578081fd5b8151611f6081612a8d565b60006020828403121561248e578081fd5b8151611f6081612a75565b6000602082840312156124aa578081fd5b815167ffffffffffffffff808211156124c1578283fd5b818401915084601f8301126124d4578283fd5b8151818111156124e2578384fd5b6124f5601f8201601f1916602001612a22565b915080825285602082850101111561250b578384fd5b61251c816020840160208601612a49565b50949350505050565b600060808284031215612536578081fd5b6125406080612a22565b825161254b81612a75565b808252506020830151602082015260408301516040820152606083015160608201528091505092915050565b600060208284031215612588578081fd5b5035919050565b6000602082840312156125a0578081fd5b5051919050565b600080604083850312156125b9578182fd5b8235915060208301356125cb81612a75565b809150509250929050565b6000806000606084860312156125ea578081fd5b8335925060208401356125fc81612a75565b9150604084013561260c81612a75565b809150509250925092565b60008060408385031215612629578182fd5b50508035926020909101359150565b6000806000806080858703121561264d578081fd5b8435935060208501359250604085013561266681612a75565b9150606085013561267681612a8d565b939692955090935050565b60008251612693818460208701612a49565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b039586168152602081019490945260408401929092526060830152909116608082015260a00190565b60208082526023908201527f4d61737465724368656656323a2042616c616e6365206d75737420657863656560408201526206420360ec1b606082015260800190565b6020808252601c908201527f426f72696e6745524332303a205472616e73666572206661696c656400000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252601590820152741859190e88131408185b1c9958591e481859191959605a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252818101527f426f72696e6745524332303a205472616e7366657246726f6d206661696c6564604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b90815260200190565b600085825260018060a01b03851660208301526080604083015283518060808401526129d08160a0850160208801612a49565b606083019390935250601f91909101601f19160160a0019392505050565b9182521515602082015260400190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60405181810167ffffffffffffffff81118282101715612a4157600080fd5b604052919050565b60005b83811015612a64578181015183820152602001612a4c565b838111156108ba5750506000910152565b6001600160a01b0381168114612a8a57600080fd5b50565b8015158114612a8a57600080fdfea2646970667358221220b595d4af7f51efcac67e5b061b0a64d851234791c450f7a7d7f81f5b4a93476c64736f6c634300060c0033000000000000000000000000d6a4f121ca35509af06a0be99093d08462f530520000000000000000000000006e84a6216ea6dacc71ee8e6b0a5b7322eebc0fdd0000000000000000000000000000000000000000000000000000000000000042

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

000000000000000000000000d6a4f121ca35509af06a0be99093d08462f530520000000000000000000000006e84a6216ea6dacc71ee8e6b0a5b7322eebc0fdd0000000000000000000000000000000000000000000000000000000000000042

-----Decoded View---------------
Arg [0] : _MASTER_CHEF_V2 (address): 0xd6a4f121ca35509af06a0be99093d08462f53052
Arg [1] : _joe (address): 0x6e84a6216ea6dacc71ee8e6b0a5b7322eebc0fdd
Arg [2] : _MASTER_PID (uint256): 66

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000d6a4f121ca35509af06a0be99093d08462f53052
Arg [1] : 0000000000000000000000006e84a6216ea6dacc71ee8e6b0a5b7322eebc0fdd
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000042


Deployed ByteCode Sourcemap

27054:13130:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30621:102;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28167:26;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;:::i;28530:30::-;;;:::i;30156:405::-;;;;;;:::i;:::-;;:::i;:::-;;27900:43;;;:::i;:::-;;;;;;;:::i;38219:1000::-;;;;;;:::i;:::-;;:::i;39331:96::-;;;:::i;35888:785::-;;;;;;:::i;:::-;;:::i;39566:615::-;;;;;;:::i;:::-;;:::i;35025:193::-;;;;;;:::i;:::-;;:::i;28083:35::-;;;:::i;15302:148::-;;;:::i;32454:599::-;;;;;;:::i;:::-;;:::i;14651:87::-;;;:::i;28365:64::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;31062:1000::-;;;;;;:::i;:::-;;:::i;35297:464::-;;;:::i;36855:1197::-;;;;;;:::i;:::-;;:::i;15605:244::-;;;;;;:::i;:::-;;:::i;33485:1358::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;27992:27::-;;;:::i;30621:102::-;30700:8;:15;;30621:102::o;28167:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28167:26:0;;;;-1:-1:-1;28167:26:0;;;;;;;;:::o;28530:30::-;;;;:::o;30156:405::-;14882:12;:10;:12::i;:::-;-1:-1:-1;;;;;14871:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;14871:23:0;;14863:68;;;;-1:-1:-1;;;14863:68:0;;;;;;;:::i;:::-;;;;;;;;;30237:32:::1;::::0;-1:-1:-1;;;30237:32:0;;30219:15:::1;::::0;-1:-1:-1;;;;;30237:20:0;::::1;::::0;::::1;::::0;:32:::1;::::0;30258:10:::1;::::0;30237:32:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;30219:50:::0;-1:-1:-1;30288:12:0;30280:60:::1;;;;-1:-1:-1::0;;;30280:60:0::1;;;;;;;:::i;:::-;30351:63;-1:-1:-1::0;;;;;30351:27:0;::::1;30379:10;30399:4;30406:7:::0;30351:27:::1;:63::i;:::-;30425:52;::::0;-1:-1:-1;;;30425:52:0;;-1:-1:-1;;;;;30425:18:0;::::1;::::0;::::1;::::0;:52:::1;::::0;30452:14:::1;::::0;30469:7;;30425:52:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;30488:43:0::1;::::0;-1:-1:-1;;;30488:43:0;;-1:-1:-1;;;;;30488:14:0::1;:22;::::0;::::1;::::0;:43:::1;::::0;30511:10:::1;::::0;30523:7;;30488:43:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;30547:6:0::1;::::0;::::1;::::0;-1:-1:-1;30547:6:0;;-1:-1:-1;30547:6:0::1;14942:1;30156:405:::0;:::o;27900:43::-;;;:::o;38219:1000::-;16740:1;17346:7;;:19;;17338:63;;;;-1:-1:-1;;;17338:63:0;;;;;;;:::i;:::-;16740:1;17479:7;:18;38299:23:::1;:21;:23::i;:::-;38333:15;38344:3;38333:10;:15::i;:::-;38359:20;;:::i;:::-;38382:8;38391:3;38382:13;;;;;;;;;::::0;;;::::1;::::0;;;38359:36:::1;::::0;;::::1;::::0;::::1;::::0;;38382:13:::1;::::0;;::::1;::::0;;::::1;38359:36:::0;;-1:-1:-1;;;;;38359:36:0;;::::1;::::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;38430:13;;;;;;;;;38444:10:::1;38430:25:::0;;;;;;;38472:11;;38359:36;;-1:-1:-1;38430:25:0;38472:15;38468:281:::1;;38532:15;38550:82;38616:4;:15;;;38550:61;28614:4;38550:36;38566:4;:19;;;38550:4;:11;;;:15;;:36;;;;:::i;:::-;:40:::0;::::1;:61::i;:::-;:65:::0;::::1;:82::i;:::-;38532:100:::0;-1:-1:-1;38647:37:0::1;-1:-1:-1::0;;;;;38647:3:0::1;:16;38664:10;38532:100:::0;38647:16:::1;:37::i;:::-;38724:3;38712:10;-1:-1:-1::0;;;;;38704:33:0::1;;38729:7;38704:33;;;;;;:::i;:::-;;;;;;;;38468:281;;38795:11:::0;;:23:::1;::::0;38811:6;38795:15:::1;:23::i;:::-;38781:37:::0;;;38863:19:::1;::::0;::::1;::::0;38847:61:::1;::::0;28614:4:::1;::::0;38847:36:::1;::::0;38781:37;38847:15:::1;:36::i;:61::-;38829:15;::::0;::::1;:79:::0;38968:13:::1;::::0;::::1;::::0;-1:-1:-1;;;;;38996:32:0;::::1;::::0;38992:111:::1;;39079:11:::0;;39045:46:::1;::::0;-1:-1:-1;;;39045:46:0;;-1:-1:-1;;;;;39045:21:0;::::1;::::0;::::1;::::0;:46:::1;::::0;39067:10:::1;::::0;39045:46:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;38992:111;39115:12:::0;;:45:::1;::::0;-1:-1:-1;;;;;39115:25:0::1;39141:10;39153:6:::0;39115:25:::1;:45::i;:::-;39199:3;39187:10;-1:-1:-1::0;;;;;39178:33:0::1;;39204:6;39178:33;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;16696:1:0;17658:22;;-1:-1:-1;;;38219:1000:0:o;39331:96::-;39382:37;;-1:-1:-1;;;39382:37:0;;-1:-1:-1;;;;;39382:14:0;:22;;;;:37;;39405:10;;39417:1;;39382:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39331:96::o;35888:785::-;35939:20;;:::i;:::-;35962:8;35971:3;35962:13;;;;;;;;;;;;;;;;;35939:36;;;;;;;;35962:13;;;;;;;35939:36;;-1:-1:-1;;;;;35939:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35990:15:0;:42;35986:680;;;36068:12;;:37;;-1:-1:-1;;;36068:37:0;;36049:16;;-1:-1:-1;;;;;36068:22:0;;;;:37;;36099:4;;36068:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;36049:56;-1:-1:-1;36124:12:0;;36120:351;;36157:22;36182:45;36202:4;:24;;;36182:15;:19;;:45;;;;:::i;:::-;36157:70;;36246:17;36266:73;36323:15;;36266:52;36302:4;:15;;;36266:31;36285:11;:9;:11::i;:::-;36266:14;;:18;:31::i;:::-;:35;;:52::i;:73::-;36246:93;-1:-1:-1;36380:75:0;36405:48;36444:8;36405:34;36246:93;28614:4;36405:13;:34::i;:48::-;36380:19;;;;;:23;:75::i;:::-;36358:19;;;:97;-1:-1:-1;;36120:351:0;36512:15;36485:24;;;:42;36542:8;:13;;36485:4;;36542:8;36551:3;;36542:13;;;;;;;;;;;;;;;:20;;:13;;;;;:20;;-1:-1:-1;;;;;36542:20:0;;;-1:-1:-1;;;;;;36542:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36598:24;;;;36634:19;;;;36582:72;;36593:3;;36582:72;;;;36598:24;;36624:8;;36582:72;:::i;:::-;;;;;;;;35986:680;;35888:785;;:::o;39566:615::-;16740:1;17346:7;;:19;;17338:63;;;;-1:-1:-1;;;17338:63:0;;;;;;;:::i;:::-;16740:1;17479:7;:18;39639:20:::1;;:::i;:::-;39662:8;39671:3;39662:13;;;;;;;;;::::0;;;::::1;::::0;;;39639:36:::1;::::0;;::::1;::::0;::::1;::::0;;39662:13:::1;::::0;;::::1;::::0;;::::1;39639:36:::0;;-1:-1:-1;;;;;39639:36:0;;::::1;::::0;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;39710:13;;;;;;;;;39724:10:::1;39710:25:::0;;;;;;;;39763:11;;39785:15;;;39811;;::::1;:19:::0;;;;39865:13;;39639:36;;-1:-1:-1;39865:13:0;39893:32;::::1;::::0;39889:101:::1;;39942:36;::::0;-1:-1:-1;;;39942:36:0;;-1:-1:-1;;;;;39942:21:0;::::1;::::0;::::1;::::0;:36:::1;::::0;39964:10:::1;::::0;39976:1:::1;::::0;39942:36:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;39889:101;40070:12:::0;;:45:::1;::::0;-1:-1:-1;;;;;40070:25:0::1;40096:10;40108:6:::0;40070:25:::1;:45::i;:::-;40161:3;40149:10;-1:-1:-1::0;;;;;40131:42:0::1;;40166:6;40131:42;;;;;;:::i;35025:193::-:0;35109:4;35095:11;35131:80;35155:3;35151:1;:7;35131:80;;;35180:19;35191:4;;35196:1;35191:7;;;;;;;;;;;;;35180:10;:19::i;:::-;35160:3;;35131:80;;28083:35;;;:::o;15302:148::-;14882:12;:10;:12::i;:::-;-1:-1:-1;;;;;14871:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;14871:23:0;;14863:68;;;;-1:-1:-1;;;14863:68:0;;;;;;;:::i;:::-;15409:1:::1;15393:6:::0;;15372:40:::1;::::0;-1:-1:-1;;;;;15393:6:0;;::::1;::::0;15372:40:::1;::::0;15409:1;;15372:40:::1;15440:1;15423:19:::0;;-1:-1:-1;;;;;;15423:19:0::1;::::0;;15302:148::o;32454:599::-;14882:12;:10;:12::i;:::-;-1:-1:-1;;;;;14871:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;14871:23:0;;14863:68;;;;-1:-1:-1;;;14863:68:0;;;;;;;:::i;:::-;32612:20:::1;;:::i;:::-;32635:8;32644:4;32635:14;;;;;;;;;::::0;;;::::1;::::0;;;;32612:37:::1;::::0;;::::1;::::0;::::1;::::0;;32635:14:::1;::::0;;::::1;::::0;;::::1;32612:37:::0;;-1:-1:-1;;;;;32612:37:0;;::::1;::::0;;;;::::1;::::0;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;;;;;;;::::1;::::0;::::1;::::0;;;;;::::1;;::::0;;;::::1;::::0;;;;32698:14;;32612:37;;-1:-1:-1;32678:63:0::1;::::0;32729:11;;32678:46:::1;::::0;32612:37;32707:4;;32698:14;::::1;;;;;;;;;;;;;;;:25;;;32678:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;32660:15;:81:::0;32752:15:::1;::::0;::::1;:29:::0;;;32792:134;::::1;;;32822:36;::::0;-1:-1:-1;;;32822:36:0;;-1:-1:-1;;;;;32822:21:0;::::1;::::0;::::1;::::0;:36:::1;::::0;32852:1:::1;::::0;;;32822:36:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;;;;;;32889:25:0;::::1;:13;::::0;::::1;:25:::0;-1:-1:-1;32792:134:0::1;32953:4;32936:8;32945:4;32936:14;;;;;;;;;::::0;;;::::1;::::0;;;;:21;;:14:::1;::::0;;;::::1;;:21:::0;;-1:-1:-1;;;;;;32936:21:0;;::::1;-1:-1:-1::0;;;;;32936:21:0;;::::1;;::::0;;;;::::1;::::0;-1:-1:-1;32936:21:0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;32996:9;:37:::1;;33020:4;:13;;;32996:37;;;33008:9;32996:37;-1:-1:-1::0;;;;;32973:72:0::1;32977:4;32973:72;32983:11;33035:9;32973:72;;;;;;;:::i;:::-;;;;;;;;14942:1;32454:599:::0;;;;:::o;14651:87::-;14697:7;14724:6;-1:-1:-1;;;;;14724:6:0;14651:87;:::o;28365:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31062:1000::-;14882:12;:10;:12::i;:::-;-1:-1:-1;;;;;14871:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;14871:23:0;;14863:68;;;;-1:-1:-1;;;14863:68:0;;;;;;;:::i;:::-;31206:36:::1;:8;31232::::0;31206:17:::1;:36::i;:::-;31205:37;31197:71;;;;-1:-1:-1::0;;;31197:71:0::1;;;;;;;:::i;:::-;31341:33;::::0;-1:-1:-1;;;31341:33:0;;-1:-1:-1;;;;;31341:18:0;::::1;::::0;::::1;::::0;:33:::1;::::0;31368:4:::1;::::0;31341:33:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;;31435:32:0;::::1;::::0;31431:101:::1;;31484:36;::::0;-1:-1:-1;;;31484:36:0;;-1:-1:-1;;;;;31484:21:0;::::1;::::0;::::1;::::0;:36:::1;::::0;31514:1:::1;::::0;;;31484:36:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;31431:101;31618:15;::::0;31574::::1;::::0;31618:31:::1;::::0;31638:10;31618:19:::1;:31::i;:::-;31600:15;:49:::0;31690:235:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;31690:235:0;;::::1;::::0;;-1:-1:-1;31690:235:0::1;::::0;::::1;::::0;;;;;;;;;;;;;;;;;::::1;::::0;;;;;;31662:8:::1;:274:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;31662:274:0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;::::1;;::::0;;31947:31:::1;31662:274;31690:235:::0;31947:12:::1;:31::i;:::-;-1:-1:-1::0;31998:8:0::1;:15:::0;-1:-1:-1;;;;;31994:60:0;;::::1;::::0;;;::::1;::::0;31998:22:::1;::::0;32018:1:::1;31998:19;:22::i;:::-;31994:60;32022:10;31994:60;;;;;;:::i;:::-;;;;;;;;14942:1;31062:1000:::0;;;:::o;35297:464::-;35339:14;35366:13;35382:4;35366:20;;35397:17;35417:138;35512:14;-1:-1:-1;;;;;35512:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;35417:76;35460:14;-1:-1:-1;;;;;35460:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;35417:38;35427:14;-1:-1:-1;;;;;35427:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;35417:5;;:9;:38::i;:138::-;35397:158;;35566:15;35584:52;35630:5;35584:41;35615:9;35584:14;-1:-1:-1;;;;;35584:24:0;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:52::-;35566:70;;35656:97;35720:14;-1:-1:-1;;;;;35720:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;35668:35;;-1:-1:-1;;;35668:35:0;;35656:59;;-1:-1:-1;;;;;35668:14:0;:23;;;;:35;;35692:10;;35668:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;;;35656:7;;:11;:59::i;:97::-;35647:106;;35297:464;;;;:::o;36855:1197::-;16740:1;17346:7;;:19;;17338:63;;;;-1:-1:-1;;;17338:63:0;;;;;;;:::i;:::-;16740:1;17479:7;:18;36934:23:::1;:21;:23::i;:::-;36968:15;36979:3;36968:10;:15::i;:::-;36994:20;;:::i;:::-;37017:8;37026:3;37017:13;;;;;;;;;::::0;;;::::1;::::0;;;36994:36:::1;::::0;;::::1;::::0;::::1;::::0;;37017:13:::1;::::0;;::::1;::::0;;::::1;36994:36:::0;;-1:-1:-1;;;;;36994:36:0;;::::1;::::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;37065:13;;;;;;;;;37079:10:::1;37065:25:::0;;;;;;;37107:11;;36994:36;;-1:-1:-1;37065:25:0;37107:15;37103:281:::1;;37167:15;37185:82;37251:4;:15;;;37185:61;28614:4;37185:36;37201:4;:19;;;37185:4;:11;;;:15;;:36;;;;:::i;:82::-;37167:100:::0;-1:-1:-1;37282:37:0::1;-1:-1:-1::0;;;;;37282:3:0::1;:16;37299:10;37167:100:::0;37282:16:::1;:37::i;:::-;37359:3;37347:10;-1:-1:-1::0;;;;;37339:33:0::1;;37364:7;37339:33;;;;;;:::i;:::-;;;;;;;;37103:281;;37420:12:::0;;:37:::1;::::0;-1:-1:-1;;;37420:37:0;;37396:21:::1;::::0;-1:-1:-1;;;;;37420:22:0::1;::::0;::::1;::::0;:37:::1;::::0;37451:4:::1;::::0;37420:37:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;37468:12:::0;;37396:61;;-1:-1:-1;37468:64:0::1;::::0;-1:-1:-1;;;;;37468:29:0::1;37498:10;37518:4;37525:6:::0;37468:29:::1;:64::i;:::-;37568:12:::0;;:37:::1;::::0;-1:-1:-1;;;37568:37:0;;37543:22:::1;::::0;37568:56:::1;::::0;37610:13;;-1:-1:-1;;;;;37568:22:0::1;::::0;::::1;::::0;:37:::1;::::0;37599:4:::1;::::0;37568:37:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:56::-;37671:11:::0;;37543:81;;-1:-1:-1;37671:31:0::1;::::0;37543:81;37671:15:::1;:31::i;:::-;37657:45:::0;;;37747:19:::1;::::0;::::1;::::0;37731:61:::1;::::0;28614:4:::1;::::0;37731:36:::1;::::0;37657:45;37731:15:::1;:36::i;:61::-;37713:15;::::0;::::1;:79:::0;37852:13:::1;::::0;::::1;::::0;-1:-1:-1;;;;;37880:32:0;::::1;::::0;37876:111:::1;;37963:11:::0;;37929:46:::1;::::0;-1:-1:-1;;;37929:46:0;;-1:-1:-1;;;;;37929:21:0;::::1;::::0;::::1;::::0;:46:::1;::::0;37951:10:::1;::::0;37929:46:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;37876:111;38024:3;38012:10;-1:-1:-1::0;;;;;38004:40:0::1;;38029:14;38004:40;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;16696:1:0;17658:22;;-1:-1:-1;;;;;36855:1197:0:o;15605:244::-;14882:12;:10;:12::i;:::-;-1:-1:-1;;;;;14871:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;14871:23:0;;14863:68;;;;-1:-1:-1;;;14863:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;15694:22:0;::::1;15686:73;;;;-1:-1:-1::0;;;15686:73:0::1;;;;;;;:::i;:::-;15796:6;::::0;;15775:38:::1;::::0;-1:-1:-1;;;;;15775:38:0;;::::1;::::0;15796:6;::::1;::::0;15775:38:::1;::::0;::::1;15824:6;:17:::0;;-1:-1:-1;;;;;;15824:17:0::1;-1:-1:-1::0;;;;;15824:17:0;;;::::1;::::0;;;::::1;::::0;;15605:244::o;33485:1358::-;33601:18;33634:25;33674:30;33719:25;33772:20;;:::i;:::-;33795:8;33804:4;33795:14;;;;;;;;;;;;;;;;33772:37;;;;;;;;33795:14;;;;;;;33772:37;;-1:-1:-1;;;;;33772:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33844:14;;;;;;;;;:21;;;;;;;;;;;33901:19;;33950:12;;:37;;-1:-1:-1;;;33950:37:0;;33772;;-1:-1:-1;33844:21:0;;33795:14;33950:22;;;;;;;:37;;33981:4;;33950:37;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33931:56;;34020:4;:24;;;34002:15;:42;:59;;;;-1:-1:-1;34048:13:0;;;34002:59;33998:370;;;34078:22;34103:45;34123:4;:24;;;34103:15;:19;;:45;;;;:::i;:::-;34078:70;;34163:17;34183:73;34240:15;;34183:52;34219:4;:15;;;34183:31;34202:11;:9;:11::i;34183:73::-;34163:93;-1:-1:-1;34288:68:0;34307:48;34346:8;34307:34;34163:93;28614:4;34307:13;:34::i;:48::-;34288:14;;:18;:68::i;:::-;34271:85;;33998:370;;;34391:77;34452:4;:15;;;34391:56;28614:4;34391:31;34407:14;34391:4;:11;;;:15;;:31;;;;:::i;:77::-;34572:13;;;;34378:90;;-1:-1:-1;;;;;;34564:36:0;;34560:276;;34645:4;:13;;;-1:-1:-1;;;;;34645:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;34617:56;;34707:48;34714:4;:13;;;-1:-1:-1;;;;;34714:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;34707:46:0;;:48::i;:::-;34790:13;;;;:34;;-1:-1:-1;;;34790:34:0;;34688:67;;-1:-1:-1;;;;;;34790:27:0;;;;:34;;34818:5;;34790:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;34770:54;;34560:276;33485:1358;;;;;;;;;;;:::o;27992:27::-;;;:::o;13188:106::-;13276:10;13188:106;:::o;12232:406::-;12378:12;12392:17;12421:5;-1:-1:-1;;;;;12413:19:0;9276:10;12470:17;;12489:4;12495:2;12499:6;12447:59;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;12447:59:0;;;;;;;;;;;;;;-1:-1:-1;;;;;12447:59:0;-1:-1:-1;;;;;;12447:59:0;;;;;;;;;;12413:104;;;;12447:59;12413:104;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12377:140;;;;12536:7;:57;;;;-1:-1:-1;12548:11:0;;:16;;:44;;;12579:4;12568:24;;;;;;;;;;;;:::i;:::-;12528:102;;;;-1:-1:-1;;;12528:102:0;;;;;;;:::i;:::-;12232:406;;;;;;:::o;5134:220::-;5192:7;5216:6;5212:20;;-1:-1:-1;5231:1:0;5224:8;;5212:20;5255:5;;;5259:1;5255;:5;:1;5279:5;;;;;:10;5271:56;;;;-1:-1:-1;;;5271:56:0;;;;;;;:::i;:::-;5345:1;-1:-1:-1;5134:220:0;;;;;:::o;5832:153::-;5890:7;5922:1;5918;:5;5910:44;;;;-1:-1:-1;;;5910:44:0;;;;;;;:::i;:::-;5976:1;5972;:5;;;;;;;5832:153;-1:-1:-1;;;5832:153:0:o;4717:158::-;4775:7;4808:1;4803;:6;;4795:49;;;;-1:-1:-1;;;4795:49:0;;;;;;;:::i;:::-;-1:-1:-1;4862:5:0;;;4717:158::o;11569:340::-;11688:12;11702:17;11731:5;-1:-1:-1;;;;;11723:19:0;9186:10;11766:12;;11780:2;11784:6;11743:48;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;11743:48:0;;;;;;;;;;;;;;-1:-1:-1;;;;;11743:48:0;-1:-1:-1;;;;;;11743:48:0;;;;;;;;;;11723:69;;;;11743:48;11723:69;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11687:105;;;;11811:7;:57;;;;-1:-1:-1;11823:11:0;;:16;;:44;;;11854:4;11843:24;;;;;;;;;;;;:::i;:::-;11803:98;;;;-1:-1:-1;;;11803:98:0;;;;;;;:::i;:::-;11569:340;;;;;:::o;4255:179::-;4313:7;4345:5;;;4369:6;;;;4361:46;;;;-1:-1:-1;;;4361:46:0;;;;;;;:::i;24115:167::-;24195:4;24219:55;24229:3;-1:-1:-1;;;;;24249:23:0;;24219:9;:55::i;23543:152::-;23613:4;23637:50;23642:3;-1:-1:-1;;;;;23662:23:0;;23637:4;:50::i;10129:248::-;10274:34;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10274:34:0;-1:-1:-1;;;10274:34:0;;;10248:61;;10186:13;;10213:12;;10186:13;;-1:-1:-1;;;;;10248:25:0;;;:61;;10274:34;10248:61;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10212:97;;;;10327:7;:42;;;;;;;;;;;;;;;-1:-1:-1;;;10327:42:0;;;;;;10337:24;10356:4;10337:18;:24::i;:::-;10320:49;;;;10129:248;;;;:::o;20827:129::-;20900:4;20924:19;;;:12;;;;;:19;;;;;;:24;;;20827:129::o;18607:414::-;18670:4;18692:21;18702:3;18707:5;18692:9;:21::i;:::-;18687:327;;-1:-1:-1;18730:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;18913:18;;18891:19;;;:12;;;:19;;;;;;:40;;;;18946:11;;18687:327;-1:-1:-1;18997:5:0;18990:12;;9336:587;9406:13;9451:2;9436:4;:11;:17;9432:484;;9488:4;9477:26;;;;;;;;;;;;:::i;:::-;9470:33;;;;9432:484;9525:4;:11;9540:2;9525:17;9521:395;;;9559:7;9585:69;9596:2;9592:1;:6;;;:22;;;;;9602:4;9607:1;9602:7;;;;;;;;;;;;;;-1:-1:-1;;;;;;9602:7:0;:12;;9592:22;9585:69;;;9635:3;;9585:69;;;9668:23;9704:1;9694:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9694:12:0;;9668:38;;9730:1;9726:5;;9721:99;9737:2;9733:1;:6;;;:22;;;;;9743:4;9748:1;9743:7;;;;;;;;;;;;;;-1:-1:-1;;;;;;9743:7:0;:12;;9733:22;9721:99;;;9797:4;9802:1;9797:7;;;;;;;;;;;;;;;;;;9781:10;9792:1;9781:13;;;;;;;;;;;;;:23;-1:-1:-1;;;;;9781:23:0;;;;;;;;-1:-1:-1;9757:3:0;;;;;9721:99;;;9848:10;-1:-1:-1;9834:25:0;;-1:-1:-1;9834:25:0;9521:395;-1:-1:-1;9892:12:0;;;;;;;;;;;;-1:-1:-1;;;9892:12:0;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2915:241::-;;3019:2;3007:9;2998:7;2994:23;2990:32;2987:2;;;-1:-1;;3025:12;2987:2;85:6;72:20;97:33;124:5;97:33;:::i;3163:397::-;;;3302:2;3290:9;3281:7;3277:23;3273:32;3270:2;;;-1:-1;;3308:12;3270:2;3366:17;3353:31;3404:18;;3396:6;3393:30;3390:2;;;-1:-1;;3426:12;3390:2;3527:6;3516:9;3512:22;;;290:3;283:4;275:6;271:17;267:27;257:2;;-1:-1;;298:12;257:2;341:6;328:20;3404:18;360:6;357:30;354:2;;;-1:-1;;390:12;354:2;485:3;3302:2;;469:6;465:17;426:6;451:32;;448:41;445:2;;;-1:-1;;492:12;445:2;3302;422:17;;;;;3446:98;;-1:-1;3264:296;;-1:-1;;;;3264:296::o;3567:257::-;;3679:2;3667:9;3658:7;3654:23;3650:32;3647:2;;;-1:-1;;3685:12;3647:2;732:6;726:13;744:30;768:5;744:30;:::i;4105:289::-;;4233:2;4221:9;4212:7;4208:23;4204:32;4201:2;;;-1:-1;;4239:12;4201:2;1046:6;1040:13;1058:46;1098:5;1058:46;:::i;4401:362::-;;4526:2;4514:9;4505:7;4501:23;4497:32;4494:2;;;-1:-1;;4532:12;4494:2;4583:17;4577:24;4621:18;;4613:6;4610:30;4607:2;;;-1:-1;;4643:12;4607:2;4730:6;4719:9;4715:22;;;1401:3;1394:4;1386:6;1382:17;1378:27;1368:2;;-1:-1;;1409:12;1368:2;1449:6;1443:13;4621:18;24204:6;24201:30;24198:2;;;-1:-1;;24234:12;24198:2;1471:65;24307:9;24288:17;;-1:-1;;24284:33;4526:2;24365:15;1471:65;:::i;:::-;1462:74;;1556:6;1549:5;1542:21;1660:3;4526:2;1651:6;1584;1642:16;;1639:25;1636:2;;;-1:-1;;1667:12;1636:2;1687:39;1719:6;4526:2;1618:5;1614:16;4526:2;1584:6;1580:17;1687:39;:::i;:::-;-1:-1;4663:84;4488:275;-1:-1;;;;4488:275::o;4770:312::-;;4909:3;4897:9;4888:7;4884:23;4880:33;4877:2;;;-1:-1;;4916:12;4877:2;1934:20;4909:3;1934:20;:::i;:::-;1046:6;1040:13;1058:46;1098:5;1058:46;:::i;:::-;2039:73;2021:16;2014:99;;2180:2;2249:9;2245:22;2852:13;2180:2;2199:5;2195:16;2188:86;2350:2;2419:9;2415:22;2852:13;2350:2;2369:5;2365:16;2358:86;2515:2;2584:9;2580:22;2852:13;2515:2;2534:5;2530:16;2523:86;4968:98;;;;4871:211;;;;:::o;5089:241::-;;5193:2;5181:9;5172:7;5168:23;5164:32;5161:2;;;-1:-1;;5199:12;5161:2;-1:-1;2704:20;;5155:175;-1:-1;5155:175::o;5337:263::-;;5452:2;5440:9;5431:7;5427:23;5423:32;5420:2;;;-1:-1;;5458:12;5420:2;-1:-1;2852:13;;5414:186;-1:-1;5414:186::o;5607:366::-;;;5728:2;5716:9;5707:7;5703:23;5699:32;5696:2;;;-1:-1;;5734:12;5696:2;2717:6;2704:20;5786:63;;5886:2;5929:9;5925:22;72:20;97:33;124:5;97:33;:::i;:::-;5894:63;;;;5690:283;;;;;:::o;5980:551::-;;;;6148:2;6136:9;6127:7;6123:23;6119:32;6116:2;;;-1:-1;;6154:12;6116:2;2717:6;2704:20;6206:63;;6306:2;6362:9;6358:22;866:20;891:46;931:5;891:46;:::i;:::-;6314:76;-1:-1;6427:2;6483:22;;1200:20;1225:50;1200:20;1225:50;:::i;:::-;6435:80;;;;6110:421;;;;;:::o;6538:366::-;;;6659:2;6647:9;6638:7;6634:23;6630:32;6627:2;;;-1:-1;;6665:12;6627:2;-1:-1;;2704:20;;;6817:2;6856:22;;;2704:20;;-1:-1;6621:283::o;6911:645::-;;;;;7080:3;7068:9;7059:7;7055:23;7051:33;7048:2;;;-1:-1;;7087:12;7048:2;2717:6;2704:20;7139:63;;7239:2;7282:9;7278:22;2704:20;7247:63;;7347:2;7407:9;7403:22;1200:20;1225:50;1269:5;1225:50;:::i;:::-;7355:80;-1:-1;7472:2;7508:22;;584:20;609:30;584:20;609:30;:::i;:::-;7042:514;;;;-1:-1;7042:514;;-1:-1;;7042:514::o;13269:271::-;;8103:5;24484:12;8214:52;8259:6;8254:3;8247:4;8240:5;8236:16;8214:52;:::i;:::-;8278:16;;;;;13403:137;-1:-1;;13403:137::o;13547:222::-;-1:-1;;;;;25457:54;;;;7783:37;;13674:2;13659:18;;13645:124::o;14021:365::-;-1:-1;;;;;25457:54;;;;7642:58;;14372:2;14357:18;;8882:58;14192:2;14177:18;;14163:223::o;14749:444::-;-1:-1;;;;;25457:54;;;7783:37;;25457:54;;;;15096:2;15081:18;;7783:37;15179:2;15164:18;;13220:37;;;;14932:2;14917:18;;14903:290::o;15795:728::-;-1:-1;;;;;25457:54;;;8390:63;;16242:2;16227:18;;13220:37;;;;16325:2;16310:18;;13220:37;;;;16408:2;16393:18;;13220:37;25457:54;;;16508:3;16493:19;;8390:63;16064:3;16049:19;;16035:488::o;16797:416::-;16997:2;17011:47;;;9531:2;16982:18;;;24911:19;9567:34;24951:14;;;9547:55;-1:-1;;;9622:12;;;9615:27;9661:12;;;16968:245::o;17220:416::-;17420:2;17434:47;;;9912:2;17405:18;;;24911:19;9948:30;24951:14;;;9928:51;9998:12;;;17391:245::o;17643:416::-;17843:2;17857:47;;;10249:2;17828:18;;;24911:19;10285:34;24951:14;;;10265:55;-1:-1;;;10340:12;;;10333:30;10382:12;;;17814:245::o;18066:416::-;18266:2;18280:47;;;10633:2;18251:18;;;24911:19;10669:29;24951:14;;;10649:50;10718:12;;;18237:245::o;18489:416::-;18689:2;18703:47;;;10969:2;18674:18;;;24911:19;11005:32;24951:14;;;10985:53;11057:12;;;18660:245::o;18912:416::-;19112:2;19126:47;;;11308:2;19097:18;;;24911:19;11344:28;24951:14;;;11324:49;11392:12;;;19083:245::o;19335:416::-;19535:2;19549:47;;;11643:2;19520:18;;;24911:19;11679:34;24951:14;;;11659:55;-1:-1;;;11734:12;;;11727:25;11771:12;;;19506:245::o;19758:416::-;19958:2;19972:47;;;12022:2;19943:18;;;24911:19;-1:-1;;;24951:14;;;12038:44;12101:12;;;19929:245::o;20181:416::-;20381:2;20395:47;;;20366:18;;;24911:19;12388:34;24951:14;;;12368:55;12442:12;;;20352:245::o;20604:416::-;20804:2;20818:47;;;20789:18;;;24911:19;12729:34;24951:14;;;12709:55;12783:12;;;20775:245::o;21027:416::-;21227:2;21241:47;;;13034:2;21212:18;;;24911:19;13070:33;24951:14;;;13050:54;13123:12;;;21198:245::o;21450:222::-;13220:37;;;21577:2;21562:18;;21548:124::o;21679:644::-;;13250:5;13227:3;13220:37;3404:18;;25468:42;;;25059:5;25457:54;22075:2;22064:9;22060:18;7783:37;21910:3;22112:2;22101:9;22097:18;22090:48;9097:5;24484:12;24923:6;21910:3;21899:9;21895:19;24911;9191:52;9236:6;24951:14;21899:9;24951:14;22075:2;9217:5;9213:16;9191:52;:::i;:::-;22309:2;22294:18;;13220:37;;;;-1:-1;24307:9;27325:14;;;;-1:-1;;27321:28;9255:39;24951:14;9255:39;;21881:442;-1:-1;;;21881:442::o;22330:321::-;13220:37;;;25143:13;25136:21;22637:2;22622:18;;7897:34;22479:2;22464:18;;22450:201::o;22658:349::-;13220:37;;;22993:2;22978:18;;8882:58;22821:2;22806:18;;22792:215::o;23354:444::-;13220:37;;;23701:2;23686:18;;13220:37;;;;23784:2;23769:18;;13220:37;23537:2;23522:18;;23508:290::o;23805:256::-;23867:2;23861:9;23893:17;;;23968:18;23953:34;;23989:22;;;23950:62;23947:2;;;24025:1;;24015:12;23947:2;23867;24034:22;23845:216;;-1:-1;23845:216::o;26981:268::-;27046:1;27053:101;27067:6;27064:1;27061:13;27053:101;;;27134:11;;;27128:18;27115:11;;;27108:39;27089:2;27082:10;27053:101;;;27169:6;27166:1;27163:13;27160:2;;;-1:-1;;27046:1;27216:16;;27209:27;27030:219::o;27362:117::-;-1:-1;;;;;25457:54;;27421:35;;27411:2;;27470:1;;27460:12;27411:2;27405:74;:::o;27486:111::-;27567:5;25143:13;25136:21;27545:5;27542:32;27532:2;;27588:1;;27578:12

Swarm Source

ipfs://b595d4af7f51efcac67e5b061b0a64d851234791c450f7a7d7f81f5b4a93476c
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.