Contract 0x8166994d9ebbe5829ec86bd81258149b87facfd3 7

Contract Overview

Balance:
0 FTM

FTM Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xbd7f6d0e97c2ac0129f14d9f582818c32549a77d9d80651b6f62c63a5919ee10Harvest All243763762021-12-08 18:06:194 mins ago0xb0fabe3bcac50f065dbf68c0b271118ddc005402 IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.015328028451
0xcce90b2aeb92d32ef855fce591cfb8131278d44fd14aeacc294e006596aa5e58Harvest243762962021-12-08 18:05:165 mins ago0xf6c1196db0079766c8f38e8de120879ef633d0b6 IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.017244966322
0x43e21d0be0b28e474d11c6dd19ee20115dadbbd9873113cc893dba7fd16d7bf1Harvest243762332021-12-08 18:04:226 mins ago0x4d169658b435ffe9596ab3e98b7306d9c841678e IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.017163011851
0x36fe754e3bcf65d606ab5737920ca8ea0ae74ccfcefa8808e744ef123f022e81Deposit243761342021-12-08 18:02:588 mins ago0x73f766e1fdfb6555e955039186b38108a9ea7b2e IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.026114080011
0x6472fcd6522366129f738ea231a23d7ecfd2efe2366ab66d6a2745621aeca916Harvest All243760402021-12-08 18:01:059 mins ago0xdc13b815c055b6c620cbe16bcb9f684db69246ea IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.018008697781
0xacca0f852f2ef1f9a8d406bed269ebf5e51f4dae00ccbfa124358ad35634f039Deposit243759402021-12-08 17:59:4211 mins ago0x40f5ccc19e2e831eaef19820dd8ad5bce531cbcf IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.008805670232
0xc99cccf678529fb54c855e4dd21c559e75dc0f9d126437d94c685ecddffc9992Harvest All243759302021-12-08 17:59:3411 mins ago0x85b3c124a704ae638622a1e99310f22eee7279c6 IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.01805769537
0x961a2d3d72306ec90c8f77c00e0aceb364d043f37dba9e09304ced9a1a745e34Harvest All243757502021-12-08 17:57:0713 mins ago0x40f5ccc19e2e831eaef19820dd8ad5bce531cbcf IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.015508820908
0x9a63a1ab00106701362e7c683861f66e4e3e7721f1addadab8ef1cc2a3156331Harvest243757302021-12-08 17:56:4714 mins ago0x1b683e480aa2723496af6a6c05264665b838cc92 IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.015142273526
0x62aae2f5191978a69c4abacd5f6f77fd8c899cea9d80feb61c006577d5d54f76Harvest All243755542021-12-08 17:53:3117 mins ago0xae9e90c2b8bf7352b02d35896b1f5fd938b64e29 IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.029448649709
0x78120a76be1d262a6e53ac0d3662ff869acc1ab4abf4ee6a11123ad3cd235842Harvest All243754422021-12-08 17:51:5919 mins ago0x73f766e1fdfb6555e955039186b38108a9ea7b2e IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.057488518444
0x4c2806e18e320a0fda2c74c5fc5df609e79c65e85957bfaaf40e9eebd66652d0Harvest243750552021-12-08 17:46:2524 mins ago0xf24f45e530dd4a0e0ef436dccba0eee848c80749 IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.018616453851
0x49f92e8a6cc7ba4844dbd71ebdbe32474e361c21f7a76da5e04d6df2a1d343d3Harvest All243748292021-12-08 17:43:0827 mins ago0xb0867191f3ad2d2a538e8bda5f15827da7f1ce81 IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.019274624046
0x1b585e720b7d1004749faf02cfe527653e56f63ccde2c6dad182d93c791b901eHarvest All243742452021-12-08 17:34:5736 mins ago0x268ea73ffc9440f8bee8f9ba763c9e3b698a5280 IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.01749023384
0x278e5f074b5a94775bdd4cb73727ee71bbfe53ee6334f0a8b4dc22607a634500Withdraw And Har...243738812021-12-08 17:29:5641 mins ago0x854ffee7d6bcb2429564a2184d6c92a461d8a1a7 IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.026944690536
0x1798eda3269e625824acba372c20f3c332b2654e62e5526461a9dd9bcab1cd61Deposit243738322021-12-08 17:29:1541 mins ago0x7e13d2193212b70ebe8ecefdf9f01024ad7f5591 IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.017636866082
0x46a18401d863cd09daa32f7c0d2e620a96c16ec287fdc32df9226b7f1d9676b4Harvest243736142021-12-08 17:26:1644 mins ago0x7e13d2193212b70ebe8ecefdf9f01024ad7f5591 IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.02081481867
0x4f3932ac54ee5b53b096219561795e8e61195b81553ff31a83bbb1c2218ec325Deposit243732442021-12-08 17:21:1349 mins ago0xd813155f8561566876293214275c3211e0c7612a IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.018768544518
0x041e2f954b9cac020857a77940898177cfee8bdd3bfb673b8d0d1678c3597923Deposit243731572021-12-08 17:20:0051 mins ago0x3cc6ce92eefb01732d88e54e7b2542e70d603aaf IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.024029673934
0xb2318169b713d4430195dace7359c45a1d7451a27c0e73d21e1a3b4dc6baa995Harvest All243731212021-12-08 17:19:2651 mins ago0xd813155f8561566876293214275c3211e0c7612a IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.034631868907
0xa0026d229b5bcc43bfff430a5f37209cf027bd3ee0680177d07d90b789115ed5Deposit243730252021-12-08 17:18:0053 mins ago0x5bfaad4a04ab0fab6d206c9ea1144da886d31f9a IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.019733259464
0x3f1854819629d0b4d3d04691776a89018932c2e921a3151061156963c7c6c045Harvest All243729752021-12-08 17:17:1453 mins ago0xc45d05cdc809d20c7b14959e8cd4a1199e3e966f IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.035337818731
0xe7b6592a5cca178c17b69617ec99ab8974b18e8ef321cb8d92c1ff42aa9dad98Deposit243727212021-12-08 17:13:3557 mins ago0xabebdb7d35f38d519d1c3ed72d3975424f420417 IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.031392351872
0xb75359954254b5f1ab6cf40e87d8c2063fa7e58566a215433b77e0e92f623912Withdraw And Har...243726072021-12-08 17:12:0159 mins ago0x68bae94202b7d692923f7f94721d2d3a5bcc95a7 IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.022182362181
0xdc374dc70d8c3f8291d07d178f00199ee29ffa9d411ebb8175dc66716c48fbd8Deposit243725172021-12-08 17:10:351 hr ago0x854ffee7d6bcb2429564a2184d6c92a461d8a1a7 IN  0x8166994d9ebbe5829ec86bd81258149b87facfd30 FTM0.020235713332
[ Download CSV Export 
Latest 2 internal transactions
Parent Txn Hash Block From To Value
0x3c5233ca1f2dc922db4c22a1421322eecd2f698449e576f17f76e75ad1305d95192266102021-10-16 7:21:4753 days 10 hrs ago 0xbe9ac29980aa7a800273863b4b31a03110c7777f 0x8166994d9ebbe5829ec86bd81258149b87facfd312.7099179376337 FTM
0xc6c649488eecbebefff44d4f22043bfd8816f30dc8bebd7449b3a96ca4ddbf7a185083482021-10-07 9:34:0662 days 8 hrs ago 0x4fbe899d37fb7514adf2f41b0630e018ec275a0c  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BeethovenxMasterChef

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2021-10-07
*/

// SPDX-License-Identifier: MIXED

// Sources flattened with hardhat v2.6.4 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]

// License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}


// File @openzeppelin/contracts/utils/[email protected]

// License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


// File @openzeppelin/contracts/token/ERC20/utils/[email protected]

// License-Identifier: MIT

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/structs/[email protected]

// License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
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;

            if (lastIndex != toDeleteIndex) {
                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] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // 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) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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


// File @openzeppelin/contracts/utils/[email protected]

// License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}


// File @openzeppelin/contracts/token/ERC20/[email protected].3.2

// License-Identifier: MIT

pragma solidity ^0.8.0;



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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

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

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

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

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


// File @openzeppelin/contracts/access/[email protected]

// License-Identifier: MIT

pragma solidity ^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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File contracts_unflattened/token/BeethovenxToken.sol

// License-Identifier: MIT

pragma solidity 0.8.7;


contract BeethovenxToken is ERC20("BeethovenxToken", "BEETS"), Ownable {
    uint256 public constant MAX_SUPPLY = 250_000_000e18; // 250 million beets

    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        require(
            totalSupply() + _amount <= MAX_SUPPLY,
            "BEETS::mint: cannot exceed max supply"
        );
        _mint(_to, _amount);
    }
}


// File contracts_unflattened/interfaces/IRewarder.sol

// License-Identifier: MIT

pragma solidity 0.8.7;

interface IRewarder {
    function onBeetsReward(
        uint256 pid,
        address user,
        address recipient,
        uint256 beetsAmount,
        uint256 newLpAmount
    ) external;

    function pendingTokens(
        uint256 pid,
        address user,
        uint256 beetsAmount
    ) external view returns (IERC20[] memory, uint256[] memory);
}


// File contracts_unflattened/token/BeethovenxMasterChef.sol

// License-Identifier: MIT

pragma solidity 0.8.7;




/*
    This master chef is based on SUSHI's version with some adjustments:
     - Upgrade to pragma 0.8.7
     - therefore remove usage of SafeMath (built in overflow check for solidity > 8)
     - Merge sushi's master chef V1 & V2 (no usage of dummy pool)
     - remove withdraw function (without harvest) => requires the rewardDebt to be an signed int instead of uint which requires a lot of casting and has no real usecase for us
     - no dev emissions, but treasury emissions instead
     - treasury percentage is subtracted from emissions instead of added on top
     - update of emission rate with upper limit of 6 BEETS/block
     - more require checks in general
*/

// Have fun reading it. Hopefully it's still bug-free
contract BeethovenxMasterChef is Ownable {
    using SafeERC20 for IERC20;
    using EnumerableSet for EnumerableSet.AddressSet;

    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of BEETS
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accBeetsPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accBeetsPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }
    // Info of each pool.
    struct PoolInfo {
        // we have a fixed number of BEETS tokens released per block, each pool gets his fraction based on the allocPoint
        uint256 allocPoint; // How many allocation points assigned to this pool. the fraction BEETS to distribute per block.
        uint256 lastRewardBlock; // Last block number that BEETS distribution occurs.
        uint256 accBeetsPerShare; // Accumulated BEETS per LP share. this is multiplied by ACC_BEETS_PRECISION for more exact results (rounding errors)
    }
    // The BEETS TOKEN!
    BeethovenxToken public beets;

    // Treasury address.
    address public treasuryAddress;

    // BEETS tokens created per block.
    uint256 public beetsPerBlock;

    uint256 private constant ACC_BEETS_PRECISION = 1e12;

    // distribution percentages: a value of 1000 = 100%
    // 12.8% percentage of pool rewards that goes to the treasury.
    uint256 public constant TREASURY_PERCENTAGE = 128;

    // 87.2% percentage of pool rewards that goes to LP holders.
    uint256 public constant POOL_PERCENTAGE = 872;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens per pool. poolId => address => userInfo
    /// @notice Address of the LP token for each MCV pool.
    IERC20[] public lpTokens;

    EnumerableSet.AddressSet private lpTokenAddresses;

    /// @notice Address of each `IRewarder` contract in MCV.
    IRewarder[] public rewarder;

    mapping(uint256 => mapping(address => UserInfo)) public userInfo; // mapping form poolId => user Address => User Info
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when BEETS mining starts.
    uint256 public startBlock;

    event Deposit(
        address indexed user,
        uint256 indexed pid,
        uint256 amount,
        address indexed to
    );
    event Withdraw(
        address indexed user,
        uint256 indexed pid,
        uint256 amount,
        address indexed to
    );
    event EmergencyWithdraw(
        address indexed user,
        uint256 indexed pid,
        uint256 amount,
        address indexed to
    );
    event Harvest(address indexed user, uint256 indexed pid, uint256 amount);
    event LogPoolAddition(
        uint256 indexed pid,
        uint256 allocPoint,
        IERC20 indexed lpToken,
        IRewarder indexed rewarder
    );
    event LogSetPool(
        uint256 indexed pid,
        uint256 allocPoint,
        IRewarder indexed rewarder,
        bool overwrite
    );
    event LogUpdatePool(
        uint256 indexed pid,
        uint256 lastRewardBlock,
        uint256 lpSupply,
        uint256 accBeetsPerShare
    );
    event SetTreasuryAddress(
        address indexed oldAddress,
        address indexed newAddress
    );
    event UpdateEmissionRate(address indexed user, uint256 _beetsPerSec);

    constructor(
        BeethovenxToken _beets,
        address _treasuryAddress,
        uint256 _beetsPerBlock,
        uint256 _startBlock
    ) {
        require(
            _beetsPerBlock <= 6e18,
            "maximum emission rate of 6 beets per block exceeded"
        );
        beets = _beets;
        treasuryAddress = _treasuryAddress;
        beetsPerBlock = _beetsPerBlock;
        startBlock = _startBlock;
    }

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

    // Add a new lp to the pool. Can only be called by the owner.
    function add(
        uint256 _allocPoint,
        IERC20 _lpToken,
        IRewarder _rewarder
    ) public onlyOwner {
        require(
            Address.isContract(address(_lpToken)),
            "add: LP token must be a valid contract"
        );
        require(
            Address.isContract(address(_rewarder)) ||
                address(_rewarder) == address(0),
            "add: rewarder must be contract or zero"
        );
        // we make sure the same LP cannot be added twice which would cause trouble
        require(
            !lpTokenAddresses.contains(address(_lpToken)),
            "add: LP already added"
        );

        // respect startBlock!
        uint256 lastRewardBlock = block.number > startBlock
            ? block.number
            : startBlock;
        totalAllocPoint = totalAllocPoint + _allocPoint;

        // LP tokens, rewarders & pools are always on the same index which translates into the pid
        lpTokens.push(_lpToken);
        lpTokenAddresses.add(address(_lpToken));
        rewarder.push(_rewarder);

        poolInfo.push(
            PoolInfo({
                allocPoint: _allocPoint,
                lastRewardBlock: lastRewardBlock,
                accBeetsPerShare: 0
            })
        );
        emit LogPoolAddition(
            lpTokens.length - 1,
            _allocPoint,
            _lpToken,
            _rewarder
        );
    }

    // Update the given pool's BEETS allocation point. 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
    ) public onlyOwner {
        require(
            Address.isContract(address(_rewarder)) ||
                address(_rewarder) == address(0),
            "set: rewarder must be contract or zero"
        );

        // we re-adjust the total allocation points
        totalAllocPoint =
            totalAllocPoint -
            poolInfo[_pid].allocPoint +
            _allocPoint;

        poolInfo[_pid].allocPoint = _allocPoint;

        if (overwrite) {
            rewarder[_pid] = _rewarder;
        }
        emit LogSetPool(
            _pid,
            _allocPoint,
            overwrite ? _rewarder : rewarder[_pid],
            overwrite
        );
    }

    // View function to see pending BEETS on frontend.
    function pendingBeets(uint256 _pid, address _user)
        external
        view
        returns (uint256 pending)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        // how many BEETS per lp token
        uint256 accBeetsPerShare = pool.accBeetsPerShare;
        // total staked lp tokens in this pool
        uint256 lpSupply = lpTokens[_pid].balanceOf(address(this));

        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 blocksSinceLastReward = block.number - pool.lastRewardBlock;
            // based on the pool weight (allocation points) we calculate the beets rewarded for this specific pool
            uint256 beetsRewards = (blocksSinceLastReward *
                beetsPerBlock *
                pool.allocPoint) / totalAllocPoint;

            // we take parts of the rewards for treasury, these can be subject to change, so we recalculate it
            // a value of 1000 = 100%
            uint256 beetsRewardsForPool = (beetsRewards * POOL_PERCENTAGE) /
                1000;

            // we calculate the new amount of accumulated beets per LP token
            accBeetsPerShare =
                accBeetsPerShare +
                ((beetsRewardsForPool * ACC_BEETS_PRECISION) / lpSupply);
        }
        // based on the number of LP tokens the user owns, we calculate the pending amount by subtracting the amount
        // which he is not eligible for (joined the pool later) or has already harvested
        pending =
            (user.amount * accBeetsPerShare) /
            ACC_BEETS_PRECISION -
            user.rewardDebt;
    }

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

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public returns (PoolInfo memory pool) {
        pool = poolInfo[_pid];

        if (block.number > pool.lastRewardBlock) {
            // total lp tokens staked for this pool
            uint256 lpSupply = lpTokens[_pid].balanceOf(address(this));
            if (lpSupply > 0) {
                uint256 blocksSinceLastReward = block.number -
                    pool.lastRewardBlock;

                // rewards for this pool based on his allocation points
                uint256 beetsRewards = (blocksSinceLastReward *
                    beetsPerBlock *
                    pool.allocPoint) / totalAllocPoint;

                uint256 beetsRewardsForPool = (beetsRewards * POOL_PERCENTAGE) /
                    1000;

                beets.mint(
                    treasuryAddress,
                    (beetsRewards * TREASURY_PERCENTAGE) / 1000
                );

                beets.mint(address(this), beetsRewardsForPool);

                pool.accBeetsPerShare =
                    pool.accBeetsPerShare +
                    ((beetsRewardsForPool * ACC_BEETS_PRECISION) / lpSupply);
            }
            pool.lastRewardBlock = block.number;
            poolInfo[_pid] = pool;

            emit LogUpdatePool(
                _pid,
                pool.lastRewardBlock,
                lpSupply,
                pool.accBeetsPerShare
            );
        }
    }

    // Deposit LP tokens to MasterChef for BEETS allocation.
    function deposit(
        uint256 _pid,
        uint256 _amount,
        address _to
    ) public {
        PoolInfo memory pool = updatePool(_pid);
        UserInfo storage user = userInfo[_pid][_to];

        user.amount = user.amount + _amount;
        // since we add more LP tokens, we have to keep track of the rewards he is not eligible for
        // if we would not do that, he would get rewards like he added them since the beginning of this pool
        // note that only the accBeetsPerShare have the precision applied
        user.rewardDebt =
            user.rewardDebt +
            (_amount * pool.accBeetsPerShare) /
            ACC_BEETS_PRECISION;

        IRewarder _rewarder = rewarder[_pid];
        if (address(_rewarder) != address(0)) {
            _rewarder.onBeetsReward(_pid, _to, _to, 0, user.amount);
        }

        lpTokens[_pid].safeTransferFrom(msg.sender, address(this), _amount);

        emit Deposit(msg.sender, _pid, _amount, _to);
    }

    function harvestAll(uint256[] calldata _pids, address _to) external {
        for (uint256 i = 0; i < _pids.length; i++) {
            if (userInfo[_pids[i]][msg.sender].amount > 0) {
                harvest(_pids[i], _to);
            }
        }
    }

    /// @notice Harvest proceeds for transaction sender to `_to`.
    /// @param _pid The index of the pool. See `poolInfo`.
    /// @param _to Receiver of BEETS rewards.
    function harvest(uint256 _pid, address _to) public {
        PoolInfo memory pool = updatePool(_pid);
        UserInfo storage user = userInfo[_pid][msg.sender];

        // this would  be the amount if the user joined right from the start of the farm
        uint256 accumulatedBeets = (user.amount * pool.accBeetsPerShare) /
            ACC_BEETS_PRECISION;
        // subtracting the rewards the user is not eligible for
        uint256 eligibleBeets = accumulatedBeets - user.rewardDebt;

        // we set the new rewardDebt to the current accumulated amount of rewards for his amount of LP token
        user.rewardDebt = accumulatedBeets;

        if (eligibleBeets > 0) {
            safeBeetsTransfer(_to, eligibleBeets);
        }

        IRewarder _rewarder = rewarder[_pid];
        if (address(_rewarder) != address(0)) {
            _rewarder.onBeetsReward(
                _pid,
                msg.sender,
                _to,
                eligibleBeets,
                user.amount
            );
        }

        emit Harvest(msg.sender, _pid, eligibleBeets);
    }

    /// @notice Withdraw LP tokens from MCV and harvest proceeds for transaction sender to `_to`.
    /// @param _pid The index of the pool. See `poolInfo`.
    /// @param _amount LP token amount to withdraw.
    /// @param _to Receiver of the LP tokens and BEETS rewards.
    function withdrawAndHarvest(
        uint256 _pid,
        uint256 _amount,
        address _to
    ) public {
        PoolInfo memory pool = updatePool(_pid);
        UserInfo storage user = userInfo[_pid][msg.sender];

        require(_amount <= user.amount, "cannot withdraw more than deposited");

        // this would  be the amount if the user joined right from the start of the farm
        uint256 accumulatedBeets = (user.amount * pool.accBeetsPerShare) /
            ACC_BEETS_PRECISION;
        // subtracting the rewards the user is not eligible for
        uint256 eligibleBeets = accumulatedBeets - user.rewardDebt;

        /*
            after harvest & withdraw, he should be eligible for exactly 0 tokens
            => userInfo.amount * pool.accBeetsPerShare / ACC_BEETS_PRECISION == userInfo.rewardDebt
            since we are removing some LP's from userInfo.amount, we also have to remove
            the equivalent amount of reward debt
        */

        user.rewardDebt =
            accumulatedBeets -
            (_amount * pool.accBeetsPerShare) /
            ACC_BEETS_PRECISION;
        user.amount = user.amount - _amount;

        safeBeetsTransfer(_to, eligibleBeets);

        IRewarder _rewarder = rewarder[_pid];
        if (address(_rewarder) != address(0)) {
            _rewarder.onBeetsReward(
                _pid,
                msg.sender,
                _to,
                eligibleBeets,
                user.amount
            );
        }

        lpTokens[_pid].safeTransfer(_to, _amount);

        emit Withdraw(msg.sender, _pid, _amount, _to);
        emit Harvest(msg.sender, _pid, eligibleBeets);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid, address _to) public {
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;

        IRewarder _rewarder = rewarder[_pid];
        if (address(_rewarder) != address(0)) {
            _rewarder.onBeetsReward(_pid, msg.sender, _to, 0, 0);
        }

        // Note: transfer can fail or succeed if `amount` is zero.
        lpTokens[_pid].safeTransfer(_to, amount);
        emit EmergencyWithdraw(msg.sender, _pid, amount, _to);
    }

    // Safe BEETS transfer function, just in case if rounding error causes pool to not have enough BEETS.
    function safeBeetsTransfer(address _to, uint256 _amount) internal {
        uint256 beetsBalance = beets.balanceOf(address(this));
        if (_amount > beetsBalance) {
            beets.transfer(_to, beetsBalance);
        } else {
            beets.transfer(_to, _amount);
        }
    }

    // Update treasury address by the owner.
    function treasury(address _treasuryAddress) public onlyOwner {
        treasuryAddress = _treasuryAddress;
        emit SetTreasuryAddress(treasuryAddress, _treasuryAddress);
    }

    function updateEmissionRate(uint256 _beetsPerBlock) public onlyOwner {
        require(
            _beetsPerBlock <= 6e18,
            "maximum emission rate of 6 beets per block exceeded"
        );
        beetsPerBlock = _beetsPerBlock;
        emit UpdateEmissionRate(msg.sender, _beetsPerBlock);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract BeethovenxToken","name":"_beets","type":"address"},{"internalType":"address","name":"_treasuryAddress","type":"address"},{"internalType":"uint256","name":"_beetsPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"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"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"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":[{"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":"LogPoolAddition","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":"LogSetPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accBeetsPerShare","type":"uint256"}],"name":"LogUpdatePool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetTreasuryAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_beetsPerSec","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"POOL_PERCENTAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY_PERCENTAGE","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":[],"name":"beets","outputs":[{"internalType":"contract BeethovenxToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beetsPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_pids","type":"uint256[]"},{"internalType":"address","name":"_to","type":"address"}],"name":"harvestAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lpTokens","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"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":"pendingBeets","outputs":[{"internalType":"uint256","name":"pending","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accBeetsPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewarder","outputs":[{"internalType":"contract IRewarder","name":"","type":"address"}],"stateMutability":"view","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":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryAddress","type":"address"}],"name":"treasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_beetsPerBlock","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[{"components":[{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accBeetsPerShare","type":"uint256"}],"internalType":"struct BeethovenxMasterChef.PoolInfo","name":"pool","type":"tuple"}],"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"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawAndHarvest","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600a553480156200001657600080fd5b506040516200228b3803806200228b833981016040819052620000399162000156565b620000443362000106565b6753444835ec580000821115620000c75760405162461bcd60e51b815260206004820152603360248201527f6d6178696d756d20656d697373696f6e2072617465206f66203620626565747360448201527f2070657220626c6f636b20657863656564656400000000000000000000000000606482015260840160405180910390fd5b600180546001600160a01b039586166001600160a01b0319918216179091556002805494909516931692909217909255600391909155600b55620001bc565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600080608085870312156200016d57600080fd5b84516200017a81620001a3565b60208601519094506200018d81620001a3565b6040860151606090960151949790965092505050565b6001600160a01b0381168114620001b957600080fd5b50565b6120bf80620001cc6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806351eb05a6116100f95780638dbdbe6d11610097578063c346253d11610071578063c346253d146103b2578063c5f956af146103c5578063d1abb907146103d8578063f2fde38b146103eb57600080fd5b80638dbdbe6d1461034557806393f1a40b14610358578063ab7de0981461039f57600080fd5b8063715018a6116100d3578063715018a6146103065780638519359d1461030e57806388bba42f146103215780638da5cb5b1461033457600080fd5b806351eb05a6146102b557806357a5b58c146102ea5780636a44e1f3146102fd57600080fd5b80631bb5e2dc116101665780632f940c70116101405780632f940c701461027d57806339e5f4ff1461029057806348cd4cb1146102995780634bf37df6146102a257600080fd5b80631bb5e2dc1461022c578063269db900146102575780632d809cb61461026a57600080fd5b8063081e3eda146101ae5780630ba84cd2146101c55780631526fe27146101da578063173b31d81461020857806317caf6f11461021057806318fccc7614610219575b600080fd5b6004545b6040519081526020015b60405180910390f35b6101d86101d3366004611dbf565b6103fe565b005b6101ed6101e8366004611dbf565b6104e2565b604080519384526020840192909252908201526060016101bc565b6101b2608081565b6101b2600a5481565b6101d8610227366004611df1565b610515565b61023f61023a366004611dbf565b610666565b6040516001600160a01b0390911681526020016101bc565b6101b2610265366004611df1565b610690565b6101d8610278366004611cec565b610853565b6101d861028b366004611df1565b6108c9565b6101b261036881565b6101b2600b5481565b6101d86102b0366004611d4b565b610a14565b6102c86102c3366004611dbf565b610a9e565b60408051825181526020808401519082015291810151908201526060016101bc565b6101d86102f8366004611d09565b610dcd565b6101b260035481565b6101d8610e0b565b60015461023f906001600160a01b031681565b6101d861032f366004611e86565b610e41565b6000546001600160a01b031661023f565b6101d8610353366004611e58565b611015565b61038a610366366004611df1565b60096020908152600092835260408084209091529082529020805460019091015482565b604080519283526020830191909152016101bc565b6101d86103ad366004611e21565b6111b3565b61023f6103c0366004611dbf565b6114ae565b60025461023f906001600160a01b031681565b6101d86103e6366004611e58565b6114be565b6101d86103f9366004611cec565b611708565b6000546001600160a01b031633146104315760405162461bcd60e51b815260040161042890611f1f565b60405180910390fd5b6753444835ec5800008111156104a55760405162461bcd60e51b815260206004820152603360248201527f6d6178696d756d20656d697373696f6e2072617465206f662036206265657473604482015272081c195c88189b1bd8dac8195e18d959591959606a1b6064820152608401610428565b600381905560405181815233907fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c40539060200160405180910390a250565b600481815481106104f257600080fd5b600091825260209091206003909102018054600182015460029092015490925083565b600061052083610a9e565b6000848152600960209081526040808320338452909152808220908301518154939450909264e8d4a510009161055591611fbd565b61055f9190611f9b565b905060008260010154826105739190611fdc565b600184018390559050801561058c5761058c85826117a3565b6000600887815481106105a1576105a1612050565b6000918252602090912001546001600160a01b03169050801561062657835460405163494dffe160e11b81526001600160a01b0383169163929bffc2916105f3918b9133918c91899190600401611f54565b600060405180830381600087803b15801561060d57600080fd5b505af1158015610621573d6000803e3d6000fd5b505050505b604051828152879033907f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae06609249549060200160405180910390a350505050505050565b6005818154811061067657600080fd5b6000918252602090912001546001600160a01b0316905081565b600080600484815481106106a6576106a6612050565b600091825260208083208784526009825260408085206001600160a01b038916865290925290832060039290920201600281015460058054929550929390929091889081106106f7576106f7612050565b6000918252602090912001546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b15801561074357600080fd5b505afa158015610757573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077b9190611dd8565b905083600101544311801561078f57508015155b1561081b5760008460010154436107a69190611fdc565b600a5486546003549293506000926107be9085611fbd565b6107c89190611fbd565b6107d29190611f9b565b905060006103e86107e561036884611fbd565b6107ef9190611f9b565b90508361080164e8d4a5100083611fbd565b61080b9190611f9b565b6108159086611f83565b94505050505b6001830154835464e8d4a5100090610834908590611fbd565b61083e9190611f9b565b6108489190611fdc565b979650505050505050565b6000546001600160a01b0316331461087d5760405162461bcd60e51b815260040161042890611f1f565b600280546001600160a01b0319166001600160a01b03831690811790915560405181907f61885cdba916be748ff3e3f6f15e4206153b8ea3b7acabade9d04b4063a8351090600090a350565b6000828152600960209081526040808320338452909152812080548282556001820183905560088054929391928690811061090657610906612050565b6000918252602090912001546001600160a01b03169050801561098b5760405163494dffe160e11b81526001600160a01b0382169063929bffc290610958908890339089906000908190600401611f54565b600060405180830381600087803b15801561097257600080fd5b505af1158015610986573d6000803e3d6000fd5b505050505b6109bf8483600588815481106109a3576109a3612050565b6000918252602090912001546001600160a01b031691906118ee565b836001600160a01b031685336001600160a01b03167f2cac5e20e1541d836381527a43f651851e302817b71dc8e810284e69210c1c6b85604051610a0591815260200190565b60405180910390a45050505050565b60005b82811015610a9857600060096000868685818110610a3757610a37612050565b6020908102929092013583525081810192909252604090810160009081203382529092529020541115610a8657610a86848483818110610a7957610a79612050565b9050602002013583610515565b80610a908161201f565b915050610a17565b50505050565b610ac260405180606001604052806000815260200160008152602001600081525090565b60048281548110610ad557610ad5612050565b600091825260209182902060408051606081018252600390930290910180548352600181015493830184905260020154908201529150431115610dc857600060058381548110610b2757610b27612050565b6000918252602090912001546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015610b7357600080fd5b505afa158015610b87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bab9190611dd8565b90508015610d38576000826020015143610bc59190611fdc565b600a548451600354929350600092610bdd9085611fbd565b610be79190611fbd565b610bf19190611f9b565b905060006103e8610c0461036884611fbd565b610c0e9190611f9b565b6001546002549192506001600160a01b03908116916340c10f1991166103e8610c38608087611fbd565b610c429190611f9b565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015610c8857600080fd5b505af1158015610c9c573d6000803e3d6000fd5b50506001546040516340c10f1960e01b8152306004820152602481018590526001600160a01b0390911692506340c10f199150604401600060405180830381600087803b158015610cec57600080fd5b505af1158015610d00573d6000803e3d6000fd5b505050508364e8d4a5100082610d169190611fbd565b610d209190611f9b565b8560400151610d2f9190611f83565b60408601525050505b4360208301526004805483919085908110610d5557610d55612050565b60009182526020918290208351600390920201908155828201516001820155604092830151600290910155838101518483015183519182529181018490529182015283907fcb7325664a4a3b7c7223eefc492a97ca4fdf94d46884621e5a8fae5a04b2b9d29060600160405180910390a2505b919050565b8060005b81811015610a9857610dfa848483818110610dee57610dee612050565b90506020020135610a9e565b50610e048161201f565b9050610dd1565b6000546001600160a01b03163314610e355760405162461bcd60e51b815260040161042890611f1f565b610e3f6000611951565b565b6000546001600160a01b03163314610e6b5760405162461bcd60e51b815260040161042890611f1f565b813b151580610e8157506001600160a01b038216155b610edc5760405162461bcd60e51b815260206004820152602660248201527f7365743a207265776172646572206d75737420626520636f6e7472616374206f60448201526572207a65726f60d01b6064820152608401610428565b8260048581548110610ef057610ef0612050565b906000526020600020906003020160000154600a54610f0f9190611fdc565b610f199190611f83565b600a819055508260048581548110610f3357610f33612050565b60009182526020909120600390910201558015610f8d578160088581548110610f5e57610f5e612050565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b80610fbf5760088481548110610fa557610fa5612050565b6000918252602090912001546001600160a01b0316610fc1565b815b6001600160a01b0316847f95895a6ab1df54420d241b55243258a33e61b2194db66c1179ec521aae8e186585846040516110079291909182521515602082015260400190565b60405180910390a350505050565b600061102084610a9e565b60008581526009602090815260408083206001600160a01b03871684529091529020805491925090611053908590611f83565b8155604082015164e8d4a510009061106b9086611fbd565b6110759190611f9b565b81600101546110849190611f83565b81600101819055506000600886815481106110a1576110a1612050565b6000918252602090912001546001600160a01b03169050801561112757815460405163494dffe160e11b81526001600160a01b0383169163929bffc2916110f4918a918991829160009190600401611f54565b600060405180830381600087803b15801561110e57600080fd5b505af1158015611122573d6000803e3d6000fd5b505050505b61115d33308760058a8154811061114057611140612050565b6000918252602090912001546001600160a01b03169291906119a1565b836001600160a01b031686336001600160a01b03167f02d7e648dd130fc184d383e55bb126ac4c9c60e8f94bf05acdf557ba2d540b47886040516111a391815260200190565b60405180910390a4505050505050565b6000546001600160a01b031633146111dd5760405162461bcd60e51b815260040161042890611f1f565b813b61123a5760405162461bcd60e51b815260206004820152602660248201527f6164643a204c5020746f6b656e206d75737420626520612076616c696420636f6044820152651b9d1c9858dd60d21b6064820152608401610428565b803b15158061125057506001600160a01b038116155b6112ab5760405162461bcd60e51b815260206004820152602660248201527f6164643a207265776172646572206d75737420626520636f6e7472616374206f60448201526572207a65726f60d01b6064820152608401610428565b6112b66006836119d9565b156112fb5760405162461bcd60e51b81526020600482015260156024820152741859190e88131408185b1c9958591e481859191959605a1b6044820152606401610428565b6000600b54431161130e57600b54611310565b435b905083600a546113209190611f83565b600a55600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b038516179055611379600684611a00565b506008805460018082019092557ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319166001600160a01b0385811691821790925560408051606081018252888152602081018681526000928201838152600480548089018255945291517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b600390940293840155517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c830155517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19d9091015560055490929186169161147591611fdc565b6040518781527f81ee0f8c5c46e2cb41984886f77a84181724abb86c32a5f6de539b07509d45e59060200160405180910390a450505050565b6008818154811061067657600080fd5b60006114c984610a9e565b600085815260096020908152604080832033845290915290208054919250908411156115435760405162461bcd60e51b815260206004820152602360248201527f63616e6e6f74207769746864726177206d6f7265207468616e206465706f73696044820152621d195960ea1b6064820152608401610428565b600064e8d4a510008360400151836000015461155f9190611fbd565b6115699190611f9b565b9050600082600101548261157d9190611fdc565b905064e8d4a510008460400151876115959190611fbd565b61159f9190611f9b565b6115a99083611fdc565b600184015582546115bb908790611fdc565b83556115c785826117a3565b6000600888815481106115dc576115dc612050565b6000918252602090912001546001600160a01b03169050801561166157835460405163494dffe160e11b81526001600160a01b0383169163929bffc29161162e918c9133918c91899190600401611f54565b600060405180830381600087803b15801561164857600080fd5b505af115801561165c573d6000803e3d6000fd5b505050505b611679868860058b815481106109a3576109a3612050565b856001600160a01b031688336001600160a01b03167f8166bf25f8a2b7ed3c85049207da4358d16edbed977d23fa2ee6f0dde3ec21328a6040516116bf91815260200190565b60405180910390a4604051828152889033907f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae06609249549060200160405180910390a35050505050505050565b6000546001600160a01b031633146117325760405162461bcd60e51b815260040161042890611f1f565b6001600160a01b0381166117975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610428565b6117a081611951565b50565b6001546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156117e757600080fd5b505afa1580156117fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181f9190611dd8565b9050808211156118b05760015460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018490529091169063a9059cbb906044015b602060405180830381600087803b15801561187857600080fd5b505af115801561188c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a989190611da2565b60015460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529091169063a9059cbb9060440161185e565b505050565b6040516001600160a01b0383166024820152604481018290526118e990849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611a15565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0380851660248301528316604482015260648101829052610a989085906323b872dd60e01b9060840161191a565b6001600160a01b038116600090815260018301602052604081205415155b90505b92915050565b60006119f7836001600160a01b038416611ae7565b6000611a6a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b369092919063ffffffff16565b8051909150156118e95780806020019051810190611a889190611da2565b6118e95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610428565b6000818152600183016020526040812054611b2e575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556119fa565b5060006119fa565b6060611b458484600085611b4f565b90505b9392505050565b606082471015611bb05760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610428565b843b611bfe5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610428565b600080866001600160a01b03168587604051611c1a9190611ed0565b60006040518083038185875af1925050503d8060008114611c57576040519150601f19603f3d011682016040523d82523d6000602084013e611c5c565b606091505b509150915061084882828660608315611c76575081611b48565b825115611c865782518084602001fd5b8160405162461bcd60e51b81526004016104289190611eec565b60008083601f840112611cb257600080fd5b50813567ffffffffffffffff811115611cca57600080fd5b6020830191508360208260051b8501011115611ce557600080fd5b9250929050565b600060208284031215611cfe57600080fd5b8135611b4881612066565b60008060208385031215611d1c57600080fd5b823567ffffffffffffffff811115611d3357600080fd5b611d3f85828601611ca0565b90969095509350505050565b600080600060408486031215611d6057600080fd5b833567ffffffffffffffff811115611d7757600080fd5b611d8386828701611ca0565b9094509250506020840135611d9781612066565b809150509250925092565b600060208284031215611db457600080fd5b8151611b488161207b565b600060208284031215611dd157600080fd5b5035919050565b600060208284031215611dea57600080fd5b5051919050565b60008060408385031215611e0457600080fd5b823591506020830135611e1681612066565b809150509250929050565b600080600060608486031215611e3657600080fd5b833592506020840135611e4881612066565b91506040840135611d9781612066565b600080600060608486031215611e6d57600080fd5b83359250602084013591506040840135611d9781612066565b60008060008060808587031215611e9c57600080fd5b84359350602085013592506040850135611eb581612066565b91506060850135611ec58161207b565b939692955090935050565b60008251611ee2818460208701611ff3565b9190910192915050565b6020815260008251806020840152611f0b816040850160208701611ff3565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b9485526001600160a01b0393841660208601529190921660408401526060830191909152608082015260a00190565b60008219821115611f9657611f9661203a565b500190565b600082611fb857634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611fd757611fd761203a565b500290565b600082821015611fee57611fee61203a565b500390565b60005b8381101561200e578181015183820152602001611ff6565b83811115610a985750506000910152565b60006000198214156120335761203361203a565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146117a057600080fd5b80151581146117a057600080fdfea2646970667358221220921e8c514f9f88cb565905ffaea407e91a7923cb95e2f06443ab1ac35c841aff64736f6c63430008070033000000000000000000000000f24bcf4d1e507740041c9cfd2dddb29585adce1e000000000000000000000000a1e849b1d6c2fd31c63eef7822e9e0632411ada70000000000000000000000000000000000000000000000004615343e73b9000000000000000000000000000000000000000000000000000000000000011c1690

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

000000000000000000000000f24bcf4d1e507740041c9cfd2dddb29585adce1e000000000000000000000000a1e849b1d6c2fd31c63eef7822e9e0632411ada70000000000000000000000000000000000000000000000004615343e73b9000000000000000000000000000000000000000000000000000000000000011c1690

-----Decoded View---------------
Arg [0] : _beets (address): 0xf24bcf4d1e507740041c9cfd2dddb29585adce1e
Arg [1] : _treasuryAddress (address): 0xa1e849b1d6c2fd31c63eef7822e9e0632411ada7
Arg [2] : _beetsPerBlock (uint256): 5050000000000000000
Arg [3] : _startBlock (uint256): 18618000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000f24bcf4d1e507740041c9cfd2dddb29585adce1e
Arg [1] : 000000000000000000000000a1e849b1d6c2fd31c63eef7822e9e0632411ada7
Arg [2] : 0000000000000000000000000000000000000000000000004615343e73b90000
Arg [3] : 00000000000000000000000000000000000000000000000000000000011c1690


Deployed ByteCode Sourcemap

45520:17166:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49956:95;50028:8;:15;49956:95;;;11088:25:1;;;11076:2;11061:18;49956:95:0;;;;;;;;62369:314;;;;;;:::i;:::-;;:::i;:::-;;47624:26;;;;;;:::i;:::-;;:::i;:::-;;;;13438:25:1;;;13494:2;13479:18;;13472:34;;;;13522:18;;;13515:34;13426:2;13411:18;47624:26:0;13236:319:1;47419:49:0;;47465:3;47419:49;;48205:34;;;;;;57946:1118;;;;;;:::i;:::-;;:::i;47805:24::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4466:32:1;;;4448:51;;4436:2;4421:18;47805:24:0;4302:203:1;52819:1696:0;;;;;;:::i;:::-;;:::i;62178:183::-;;;;;;:::i;:::-;;:::i;61126:586::-;;;;;;:::i;:::-;;:::i;47543:45::-;;47585:3;47543:45;;48297:25;;;;;;57505:259;;;;;;:::i;:::-;;:::i;54966:1456::-;;;;;;:::i;:::-;;:::i;:::-;;;;10791:13:1;;10773:32;;10861:4;10849:17;;;10843:24;10821:20;;;10814:54;10912:17;;;10906:24;10884:20;;;10877:54;10761:2;10746:18;54966:1456:0;10575:362:1;54697:193:0;;;;;;:::i;:::-;;:::i;47197:28::-;;;;;;42910:94;;;:::i;47055:28::-;;;;;-1:-1:-1;;;;;47055:28:0;;;51941:814;;;;;;:::i;:::-;;:::i;42259:87::-;42305:7;42332:6;-1:-1:-1;;;;;42332:6:0;42259:87;;56492:1005;;;;;;:::i;:::-;;:::i;47994:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13157:25:1;;;13213:2;13198:18;;13191:34;;;;13130:18;47994:64:0;12983:248:1;50126:1455:0;;;;;;:::i;:::-;;:::i;47958:27::-;;;;;;:::i;:::-;;:::i;47118:30::-;;;;;-1:-1:-1;;;;;47118:30:0;;;59349:1706;;;;;;:::i;:::-;;:::i;43159:192::-;;;;;;:::i;:::-;;:::i;62369:314::-;42305:7;42332:6;-1:-1:-1;;;;;42332:6:0;29029:10;42479:23;42471:68;;;;-1:-1:-1;;;42471:68:0;;;;;;;:::i;:::-;;;;;;;;;62489:4:::1;62471:14;:22;;62449:123;;;::::0;-1:-1:-1;;;62449:123:0;;7963:2:1;62449:123:0::1;::::0;::::1;7945:21:1::0;8002:2;7982:18;;;7975:30;8041:34;8021:18;;;8014:62;-1:-1:-1;;;8092:18:1;;;8085:49;8151:19;;62449:123:0::1;7761:415:1::0;62449:123:0::1;62583:13;:30:::0;;;62629:46:::1;::::0;11088:25:1;;;62648:10:0::1;::::0;62629:46:::1;::::0;11076:2:1;11061:18;62629:46:0::1;;;;;;;62369:314:::0;:::o;47624:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47624:26:0;:::o;57946:1118::-;58008:20;58031:16;58042:4;58031:10;:16::i;:::-;58058:21;58082:14;;;:8;:14;;;;;;;;58097:10;58082:26;;;;;;;;58253:21;;;;58239:11;;58008:39;;-1:-1:-1;58082:26:0;;47281:4;;58239:35;;;:::i;:::-;58238:72;;;;:::i;:::-;58211:99;;58386:21;58429:4;:15;;;58410:16;:34;;;;:::i;:::-;58567:15;;;:34;;;58386:58;-1:-1:-1;58618:17:0;;58614:87;;58652:37;58670:3;58675:13;58652:17;:37::i;:::-;58713:19;58735:8;58744:4;58735:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;58735:14:0;;-1:-1:-1;58764:32:0;;58760:239;;58961:11;;58813:174;;-1:-1:-1;;;58813:174:0;;-1:-1:-1;;;;;58813:23:0;;;;;:174;;58855:4;;58878:10;;58907:3;;58929:13;;58961:11;58813:174;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58760:239;59016:40;;11088:25:1;;;59036:4:0;;59024:10;;59016:40;;11076:2:1;11061:18;59016:40:0;;;;;;;57997:1067;;;;;57946:1118;;:::o;47805:24::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47805:24:0;;-1:-1:-1;47805:24:0;:::o;52819:1696::-;52920:15;52953:21;52977:8;52986:4;52977:14;;;;;;;;:::i;:::-;;;;;;;;;53026;;;:8;:14;;;;;;-1:-1:-1;;;;;53026:21:0;;;;;;;;;;52977:14;;;;;;53125:21;;;;53224:8;:14;;52977;;-1:-1:-1;53026:21:0;;53125;;52977:14;;53026;;53224;;;;;;:::i;:::-;;;;;;;;;;;:39;;-1:-1:-1;;;53224:39:0;;53257:4;53224:39;;;4448:51:1;-1:-1:-1;;;;;53224:14:0;;;;:24;;4421:18:1;;53224:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53205:58;;53295:4;:20;;;53280:12;:35;:52;;;;-1:-1:-1;53319:13:0;;;53280:52;53276:892;;;53349:29;53396:4;:20;;;53381:12;:35;;;;:::i;:::-;53664:15;;53645;;53612:13;;53349:67;;-1:-1:-1;53547:20:0;;53571:54;;53349:67;53571:54;:::i;:::-;:89;;;;:::i;:::-;53570:109;;;;:::i;:::-;53547:132;-1:-1:-1;53847:27:0;53929:4;53878:30;47585:3;53547:132;53878:30;:::i;:::-;53877:56;;;;:::i;:::-;53847:86;-1:-1:-1;54147:8:0;54102:41;47281:4;53847:86;54102:41;:::i;:::-;54101:54;;;;:::i;:::-;54064:92;;:16;:92;:::i;:::-;54028:128;;53334:834;;;53276:892;54492:15;;;;54410:11;;47281:4;;54410:30;;54424:16;;54410:30;:::i;:::-;54409:67;;;;:::i;:::-;:98;;;;:::i;:::-;54386:121;52819:1696;-1:-1:-1;;;;;;;52819:1696:0:o;62178:183::-;42305:7;42332:6;-1:-1:-1;;;;;42332:6:0;29029:10;42479:23;42471:68;;;;-1:-1:-1;;;42471:68:0;;;;;;;:::i;:::-;62250:15:::1;:34:::0;;-1:-1:-1;;;;;;62250:34:0::1;-1:-1:-1::0;;;;;62250:34:0;::::1;::::0;;::::1;::::0;;;62300:53:::1;::::0;62250:34;;62300:53:::1;::::0;-1:-1:-1;;62300:53:0::1;62178:183:::0;:::o;61126:586::-;61198:21;61222:14;;;:8;:14;;;;;;;;61237:10;61222:26;;;;;;;61276:11;;61298:15;;;-1:-1:-1;61324:15:0;;:19;;;61378:8;:14;;61222:26;;61276:11;;61231:4;;61378:14;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;61378:14:0;;-1:-1:-1;61407:32:0;;61403:117;;61456:52;;-1:-1:-1;;;61456:52:0;;-1:-1:-1;;;;;61456:23:0;;;;;:52;;61480:4;;61486:10;;61498:3;;61503:1;;;;61456:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61403:117;61600:40;61628:3;61633:6;61600:8;61609:4;61600:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;61600:14:0;;:40;:27;:40::i;:::-;61700:3;-1:-1:-1;;;;;61656:48:0;61686:4;61674:10;-1:-1:-1;;;;;61656:48:0;;61692:6;61656:48;;;;11088:25:1;;11076:2;11061:18;;10942:177;61656:48:0;;;;;;;;61187:525;;;61126:586;;:::o;57505:259::-;57589:9;57584:173;57604:16;;;57584:173;;;57686:1;57646:8;:18;57655:5;;57661:1;57655:8;;;;;;;:::i;:::-;;;;;;;;;;57646:18;;-1:-1:-1;57646:18:0;;;;;;;;;;;-1:-1:-1;57646:18:0;;;57665:10;57646:30;;;;;;;:37;:41;57642:104;;;57708:22;57716:5;;57722:1;57716:8;;;;;;;:::i;:::-;;;;;;;57726:3;57708:7;:22::i;:::-;57622:3;;;;:::i;:::-;;;;57584:173;;;;57505:259;;;:::o;54966:1456::-;55016:20;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;55016:20:0;55056:8;55065:4;55056:14;;;;;;;;:::i;:::-;;;;;;;;;;55049:21;;;;;;;;55056:14;;;;;;;55049:21;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55087:12:0;:35;55083:1332;;;55192:16;55211:8;55220:4;55211:14;;;;;;;;:::i;:::-;;;;;;;;;;;:39;;-1:-1:-1;;;55211:39:0;;55244:4;55211:39;;;4448:51:1;-1:-1:-1;;;;;55211:14:0;;;;:24;;4421:18:1;;55211:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55192:58;-1:-1:-1;55269:12:0;;55265:874;;55302:29;55370:4;:20;;;55334:12;:56;;;;:::i;:::-;55609:15;;55590;;55553:13;;55302:88;;-1:-1:-1;55484:20:0;;55508:58;;55302:88;55508:58;:::i;:::-;:97;;;;:::i;:::-;55507:117;;;;:::i;:::-;55484:140;-1:-1:-1;55645:27:0;55731:4;55676:30;47585:3;55484:140;55676:30;:::i;:::-;55675:60;;;;:::i;:::-;55756:5;;55789:15;;55645:90;;-1:-1:-1;;;;;;55756:5:0;;;;:10;;55789:15;55866:4;55828:34;47465:3;55828:12;:34;:::i;:::-;55827:43;;;;:::i;:::-;55756:133;;-1:-1:-1;;;;;;55756:133:0;;;;;;;-1:-1:-1;;;;;5082:32:1;;;55756:133:0;;;5064:51:1;5131:18;;;5124:34;5037:18;;55756:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;55910:5:0;;:46;;-1:-1:-1;;;55910:46:0;;55929:4;55910:46;;;5064:51:1;5131:18;;;5124:34;;;-1:-1:-1;;;;;55910:5:0;;;;-1:-1:-1;55910:10:0;;-1:-1:-1;5037:18:1;;55910:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56114:8;47281:4;56069:19;:41;;;;:::i;:::-;56068:54;;;;:::i;:::-;56022:4;:21;;;:101;;;;:::i;:::-;55977:21;;;:146;-1:-1:-1;;;55265:874:0;56176:12;56153:20;;;:35;56203:8;:14;;56153:4;;56203:8;56212:4;;56203:14;;;;;;:::i;:::-;;;;;;;;;;:21;;:14;;;;;:21;;;;;;;;;;;;;;;;;;;;;56301:20;;;;56367:21;;;;56246:157;;13438:25:1;;;13479:18;;;13472:34;;;13522:18;;;13515:34;56278:4:0;;56246:157;;13426:2:1;13411:18;56246:157:0;;;;;;;55124:1291;55083:1332;54966:1456;;;:::o;54697:193::-;54781:4;54767:11;54803:80;54827:3;54823:1;:7;54803:80;;;54852:19;54863:4;;54868:1;54863:7;;;;;;;:::i;:::-;;;;;;;54852:10;:19::i;:::-;-1:-1:-1;54832:3:0;;;:::i;:::-;;;54803:80;;42910:94;42305:7;42332:6;-1:-1:-1;;;;;42332:6:0;29029:10;42479:23;42471:68;;;;-1:-1:-1;;;42471:68:0;;;;;;;:::i;:::-;42975:21:::1;42993:1;42975:9;:21::i;:::-;42910:94::o:0;51941:814::-;42305:7;42332:6;-1:-1:-1;;;;;42332:6:0;29029:10;42479:23;42471:68;;;;-1:-1:-1;;;42471:68:0;;;;;;;:::i;:::-;4093:20;;4141:8;;52119:91:::1;;;-1:-1:-1::0;;;;;;52178:32:0;::::1;::::0;52119:91:::1;52097:179;;;::::0;-1:-1:-1;;;52097:179:0;;9148:2:1;52097:179:0::1;::::0;::::1;9130:21:1::0;9187:2;9167:18;;;9160:30;9226:34;9206:18;;;9199:62;-1:-1:-1;;;9277:18:1;;;9270:36;9323:19;;52097:179:0::1;8946:402:1::0;52097:179:0::1;52445:11;52404:8;52413:4;52404:14;;;;;;;;:::i;:::-;;;;;;;;;;;:25;;;52373:15;;:56;;;;:::i;:::-;:83;;;;:::i;:::-;52342:15;:114;;;;52497:11;52469:8;52478:4;52469:14;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:39:::0;52521:68;::::1;;;52568:9;52551:8;52560:4;52551:14;;;;;;;;:::i;:::-;;;;;;;;;:26;;;;;-1:-1:-1::0;;;;;52551:26:0::1;;;;;-1:-1:-1::0;;;;;52551:26:0::1;;;;;;52521:68;52674:9;:38;;52698:8;52707:4;52698:14;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;52698:14:0::1;52674:38;;;52686:9;52674:38;-1:-1:-1::0;;;;;52604:143:0::1;52629:4;52604:143;52648:11;52727:9;52604:143;;;;;;12888:25:1::0;;;12956:14;12949:22;12944:2;12929:18;;12922:50;12876:2;12861:18;;12720:258;52604:143:0::1;;;;;;;;51941:814:::0;;;;:::o;56492:1005::-;56605:20;56628:16;56639:4;56628:10;:16::i;:::-;56655:21;56679:14;;;:8;:14;;;;;;;;-1:-1:-1;;;;;56679:19:0;;;;;;;;;56725:11;;56605:39;;-1:-1:-1;56679:19:0;56725:21;;56739:7;;56725:21;:::i;:::-;56711:35;;57116:21;;;;47281:4;;57106:31;;:7;:31;:::i;:::-;57105:68;;;;:::i;:::-;57074:4;:15;;;:99;;;;:::i;:::-;57043:4;:15;;:130;;;;57186:19;57208:8;57217:4;57208:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;57208:14:0;;-1:-1:-1;57237:32:0;;57233:120;;57329:11;;57286:55;;-1:-1:-1;;;57286:55:0;;-1:-1:-1;;;;;57286:23:0;;;;;:55;;57310:4;;57316:3;;;;57326:1;;57329:11;57286:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57233:120;57365:67;57397:10;57417:4;57424:7;57365:8;57374:4;57365:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;57365:14:0;;:67;;:31;:67::i;:::-;57485:3;-1:-1:-1;;;;;57450:39:0;57470:4;57458:10;-1:-1:-1;;;;;57450:39:0;;57476:7;57450:39;;;;11088:25:1;;11076:2;11061:18;;10942:177;57450:39:0;;;;;;;;56594:903;;;56492:1005;;;:::o;50126:1455::-;42305:7;42332:6;-1:-1:-1;;;;;42332:6:0;29029:10;42479:23;42471:68;;;;-1:-1:-1;;;42471:68:0;;;;;;;:::i;:::-;4093:20;;50260:125:::1;;;::::0;-1:-1:-1;;;50260:125:0;;8383:2:1;50260:125:0::1;::::0;::::1;8365:21:1::0;8422:2;8402:18;;;8395:30;8461:34;8441:18;;;8434:62;-1:-1:-1;;;8512:18:1;;;8505:36;8558:19;;50260:125:0::1;8181:402:1::0;50260:125:0::1;4093:20:::0;;4141:8;;50418:91:::1;;;-1:-1:-1::0;;;;;;50477:32:0;::::1;::::0;50418:91:::1;50396:179;;;::::0;-1:-1:-1;;;50396:179:0;;9555:2:1;50396:179:0::1;::::0;::::1;9537:21:1::0;9594:2;9574:18;;;9567:30;9633:34;9613:18;;;9606:62;-1:-1:-1;;;9684:18:1;;;9677:36;9730:19;;50396:179:0::1;9353:402:1::0;50396:179:0::1;50694:44;:16;50728:8:::0;50694:25:::1;:44::i;:::-;50693:45;50671:116;;;::::0;-1:-1:-1;;;50671:116:0;;7252:2:1;50671:116:0::1;::::0;::::1;7234:21:1::0;7291:2;7271:18;;;7264:30;-1:-1:-1;;;7310:18:1;;;7303:51;7371:18;;50671:116:0::1;7050:345:1::0;50671:116:0::1;50832:23;50873:10;;50858:12;:25;:79;;50927:10;;50858:79;;;50899:12;50858:79;50832:105;;50984:11;50966:15;;:29;;;;:::i;:::-;50948:15;:47:::0;51108:8:::1;:23:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;51108:23:0;;;;;::::1;::::0;;-1:-1:-1;;;;;;51108:23:0::1;-1:-1:-1::0;;;;;51108:23:0;::::1;;::::0;;51142:39:::1;:16;51108:23:::0;51142:20:::1;:39::i;:::-;-1:-1:-1::0;51192:8:0::1;:24:::0;;::::1;::::0;;::::1;::::0;;;;::::1;::::0;;-1:-1:-1;;;;;;51192:24:0::1;-1:-1:-1::0;;;;;51192:24:0;;::::1;::::0;;::::1;::::0;;;51257:156:::1;::::0;;::::1;::::0;::::1;::::0;;;;;51192:24:::1;51257:156:::0;::::1;::::0;;;-1:-1:-1;51257:156:0;;;;;;51229:8:::1;:195:::0;;;;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;51470:8:::1;:15:::0;51192:24;;51440:133;;::::1;::::0;51470:19:::1;::::0;::::1;:::i;:::-;51440:133;::::0;11088:25:1;;;51440:133:0::1;::::0;11076:2:1;11061:18;51440:133:0::1;;;;;;;50249:1332;50126:1455:::0;;;:::o;47958:27::-;;;;;;;;;;;;59349:1706;59473:20;59496:16;59507:4;59496:10;:16::i;:::-;59523:21;59547:14;;;:8;:14;;;;;;;;59562:10;59547:26;;;;;;;59605:11;;59473:39;;-1:-1:-1;59547:26:0;59594:22;;;59586:70;;;;-1:-1:-1;;;59586:70:0;;9962:2:1;59586:70:0;;;9944:21:1;10001:2;9981:18;;;9974:30;10040:34;10020:18;;;10013:62;-1:-1:-1;;;10091:18:1;;;10084:33;10134:19;;59586:70:0;9760:399:1;59586:70:0;59759:24;47281:4;59801;:21;;;59787:4;:11;;;:35;;;;:::i;:::-;59786:72;;;;:::i;:::-;59759:99;;59934:21;59977:4;:15;;;59958:16;:34;;;;:::i;:::-;59934:58;;47281:4;60428;:21;;;60418:7;:31;;;;:::i;:::-;60417:68;;;;:::i;:::-;60385:100;;:16;:100;:::i;:::-;60354:15;;;:131;60510:11;;:21;;60524:7;;60510:21;:::i;:::-;60496:35;;60544:37;60562:3;60567:13;60544:17;:37::i;:::-;60594:19;60616:8;60625:4;60616:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;60616:14:0;;-1:-1:-1;60645:32:0;;60641:239;;60842:11;;60694:174;;-1:-1:-1;;;60694:174:0;;-1:-1:-1;;;;;60694:23:0;;;;;:174;;60736:4;;60759:10;;60788:3;;60810:13;;60842:11;60694:174;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60641:239;60892:41;60920:3;60925:7;60892:8;60901:4;60892:14;;;;;;;;:::i;:41::-;60987:3;-1:-1:-1;;;;;60951:40:0;60972:4;60960:10;-1:-1:-1;;;;;60951:40:0;;60978:7;60951:40;;;;11088:25:1;;11076:2;11061:18;;10942:177;60951:40:0;;;;;;;;61007;;11088:25:1;;;61027:4:0;;61015:10;;61007:40;;11076:2:1;11061:18;61007:40:0;;;;;;;59462:1593;;;;;59349:1706;;;:::o;43159:192::-;42305:7;42332:6;-1:-1:-1;;;;;42332:6:0;29029:10;42479:23;42471:68;;;;-1:-1:-1;;;42471:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43248:22:0;::::1;43240:73;;;::::0;-1:-1:-1;;;43240:73:0;;6438:2:1;43240:73:0::1;::::0;::::1;6420:21:1::0;6477:2;6457:18;;;6450:30;6516:34;6496:18;;;6489:62;-1:-1:-1;;;6567:18:1;;;6560:36;6613:19;;43240:73:0::1;6236:402:1::0;43240:73:0::1;43324:19;43334:8;43324:9;:19::i;:::-;43159:192:::0;:::o;61827:297::-;61927:5;;:30;;-1:-1:-1;;;61927:30:0;;61951:4;61927:30;;;4448:51:1;61904:20:0;;-1:-1:-1;;;;;61927:5:0;;:15;;4421:18:1;;61927:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;61904:53;;61982:12;61972:7;:22;61968:149;;;62011:5;;:33;;-1:-1:-1;;;62011:33:0;;-1:-1:-1;;;;;5082:32:1;;;62011:33:0;;;5064:51:1;5131:18;;;5124:34;;;62011:5:0;;;;:14;;5037:18:1;;62011:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;61968:149::-;62077:5;;:28;;-1:-1:-1;;;62077:28:0;;-1:-1:-1;;;;;5082:32:1;;;62077:28:0;;;5064:51:1;5131:18;;;5124:34;;;62077:5:0;;;;:14;;5037:18:1;;62077:28:0;4890:274:1;61968:149:0;61893:231;61827:297;;:::o;11762:211::-;11906:58;;-1:-1:-1;;;;;5082:32:1;;11906:58:0;;;5064:51:1;5131:18;;;5124:34;;;11879:86:0;;11899:5;;-1:-1:-1;;;11929:23:0;5037:18:1;;11906:58:0;;;;-1:-1:-1;;11906:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;11906:58:0;-1:-1:-1;;;;;;11906:58:0;;;;;;;;;;11879:19;:86::i;43359:173::-;43415:16;43434:6;;-1:-1:-1;;;;;43451:17:0;;;-1:-1:-1;;;;;;43451:17:0;;;;;;43484:40;;43434:6;;;;;;;43484:40;;43415:16;43484:40;43404:128;43359:173;:::o;11981:248::-;12152:68;;-1:-1:-1;;;;;4768:15:1;;;12152:68:0;;;4750:34:1;4820:15;;4800:18;;;4793:43;4852:18;;;4845:34;;;12125:96:0;;12145:5;;-1:-1:-1;;;12175:27:0;4685:18:1;;12152:68:0;4510:375:1;23468:167:0;-1:-1:-1;;;;;23602:23:0;;23548:4;19004:19;;;:12;;;:19;;;;;;:24;;23572:55;23565:62;;23468:167;;;;;:::o;22896:152::-;22966:4;22990:50;22995:3;-1:-1:-1;;;;;23015:23:0;;22990:4;:50::i;14335:716::-;14759:23;14785:69;14813:4;14785:69;;;;;;;;;;;;;;;;;14793:5;-1:-1:-1;;;;;14785:27:0;;;:69;;;;;:::i;:::-;14869:17;;14759:95;;-1:-1:-1;14869:21:0;14865:179;;14966:10;14955:30;;;;;;;;;;;;:::i;:::-;14947:85;;;;-1:-1:-1;;;14947:85:0;;10366:2:1;14947:85:0;;;10348:21:1;10405:2;10385:18;;;10378:30;10444:34;10424:18;;;10417:62;-1:-1:-1;;;10495:18:1;;;10488:40;10545:19;;14947:85:0;10164:406:1;16811:414:0;16874:4;19004:19;;;:12;;;:19;;;;;;16891:327;;-1:-1:-1;16934:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;17117:18;;17095:19;;;:12;;;:19;;;;;;:40;;;;17150:11;;16891:327;-1:-1:-1;17201:5:0;17194:12;;6576:229;6713:12;6745:52;6767:6;6775:4;6781:1;6784:12;6745:21;:52::i;:::-;6738:59;;6576:229;;;;;;:::o;7696:510::-;7866:12;7924:5;7899:21;:30;;7891:81;;;;-1:-1:-1;;;7891:81:0;;6845:2:1;7891:81:0;;;6827:21:1;6884:2;6864:18;;;6857:30;6923:34;6903:18;;;6896:62;-1:-1:-1;;;6974:18:1;;;6967:36;7020:19;;7891:81:0;6643:402:1;7891:81:0;4093:20;;7983:60;;;;-1:-1:-1;;;7983:60:0;;8790:2:1;7983:60:0;;;8772:21:1;8829:2;8809:18;;;8802:30;8868:31;8848:18;;;8841:59;8917:18;;7983:60:0;8588:353:1;7983:60:0;8057:12;8071:23;8098:6;-1:-1:-1;;;;;8098:11:0;8117:5;8124:4;8098:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8056:73;;;;8147:51;8164:7;8173:10;8185:12;10532;10561:7;10557:530;;;-1:-1:-1;10592:10:0;10585:17;;10557:530;10706:17;;:21;10702:374;;10904:10;10898:17;10965:15;10952:10;10948:2;10944:19;10937:44;10702:374;11047:12;11040:20;;-1:-1:-1;;;11040:20:0;;;;;;;;:::i;14:367:1:-;77:8;87:6;141:3;134:4;126:6;122:17;118:27;108:55;;159:1;156;149:12;108:55;-1:-1:-1;182:20:1;;225:18;214:30;;211:50;;;257:1;254;247:12;211:50;294:4;286:6;282:17;270:29;;354:3;347:4;337:6;334:1;330:14;322:6;318:27;314:38;311:47;308:67;;;371:1;368;361:12;308:67;14:367;;;;;:::o;386:247::-;445:6;498:2;486:9;477:7;473:23;469:32;466:52;;;514:1;511;504:12;466:52;553:9;540:23;572:31;597:5;572:31;:::i;638:437::-;724:6;732;785:2;773:9;764:7;760:23;756:32;753:52;;;801:1;798;791:12;753:52;841:9;828:23;874:18;866:6;863:30;860:50;;;906:1;903;896:12;860:50;945:70;1007:7;998:6;987:9;983:22;945:70;:::i;:::-;1034:8;;919:96;;-1:-1:-1;638:437:1;-1:-1:-1;;;;638:437:1:o;1080:572::-;1175:6;1183;1191;1244:2;1232:9;1223:7;1219:23;1215:32;1212:52;;;1260:1;1257;1250:12;1212:52;1300:9;1287:23;1333:18;1325:6;1322:30;1319:50;;;1365:1;1362;1355:12;1319:50;1404:70;1466:7;1457:6;1446:9;1442:22;1404:70;:::i;:::-;1493:8;;-1:-1:-1;1378:96:1;-1:-1:-1;;1578:2:1;1563:18;;1550:32;1591:31;1550:32;1591:31;:::i;:::-;1641:5;1631:15;;;1080:572;;;;;:::o;1657:245::-;1724:6;1777:2;1765:9;1756:7;1752:23;1748:32;1745:52;;;1793:1;1790;1783:12;1745:52;1825:9;1819:16;1844:28;1866:5;1844:28;:::i;1907:180::-;1966:6;2019:2;2007:9;1998:7;1994:23;1990:32;1987:52;;;2035:1;2032;2025:12;1987:52;-1:-1:-1;2058:23:1;;1907:180;-1:-1:-1;1907:180:1:o;2092:184::-;2162:6;2215:2;2203:9;2194:7;2190:23;2186:32;2183:52;;;2231:1;2228;2221:12;2183:52;-1:-1:-1;2254:16:1;;2092:184;-1:-1:-1;2092:184:1:o;2281:315::-;2349:6;2357;2410:2;2398:9;2389:7;2385:23;2381:32;2378:52;;;2426:1;2423;2416:12;2378:52;2462:9;2449:23;2439:33;;2522:2;2511:9;2507:18;2494:32;2535:31;2560:5;2535:31;:::i;:::-;2585:5;2575:15;;;2281:315;;;;;:::o;2601:487::-;2709:6;2717;2725;2778:2;2766:9;2757:7;2753:23;2749:32;2746:52;;;2794:1;2791;2784:12;2746:52;2830:9;2817:23;2807:33;;2890:2;2879:9;2875:18;2862:32;2903:31;2928:5;2903:31;:::i;:::-;2953:5;-1:-1:-1;3010:2:1;2995:18;;2982:32;3023:33;2982:32;3023:33;:::i;3093:383::-;3170:6;3178;3186;3239:2;3227:9;3218:7;3214:23;3210:32;3207:52;;;3255:1;3252;3245:12;3207:52;3291:9;3278:23;3268:33;;3348:2;3337:9;3333:18;3320:32;3310:42;;3402:2;3391:9;3387:18;3374:32;3415:31;3440:5;3415:31;:::i;3481:537::-;3582:6;3590;3598;3606;3659:3;3647:9;3638:7;3634:23;3630:33;3627:53;;;3676:1;3673;3666:12;3627:53;3712:9;3699:23;3689:33;;3769:2;3758:9;3754:18;3741:32;3731:42;;3823:2;3812:9;3808:18;3795:32;3836:31;3861:5;3836:31;:::i;:::-;3886:5;-1:-1:-1;3943:2:1;3928:18;;3915:32;3956:30;3915:32;3956:30;:::i;:::-;3481:537;;;;-1:-1:-1;3481:537:1;;-1:-1:-1;;3481:537:1:o;4023:274::-;4152:3;4190:6;4184:13;4206:53;4252:6;4247:3;4240:4;4232:6;4228:17;4206:53;:::i;:::-;4275:16;;;;;4023:274;-1:-1:-1;;4023:274:1:o;5848:383::-;5997:2;5986:9;5979:21;5960:4;6029:6;6023:13;6072:6;6067:2;6056:9;6052:18;6045:34;6088:66;6147:6;6142:2;6131:9;6127:18;6122:2;6114:6;6110:15;6088:66;:::i;:::-;6215:2;6194:15;-1:-1:-1;;6190:29:1;6175:45;;;;6222:2;6171:54;;5848:383;-1:-1:-1;;5848:383:1:o;7400:356::-;7602:2;7584:21;;;7621:18;;;7614:30;7680:34;7675:2;7660:18;;7653:62;7747:2;7732:18;;7400:356::o;11124:535::-;11399:25;;;-1:-1:-1;;;;;11498:15:1;;;11493:2;11478:18;;11471:43;11550:15;;;;11545:2;11530:18;;11523:43;11597:2;11582:18;;11575:34;;;;11640:3;11625:19;;11618:35;11386:3;11371:19;;11124:535::o;13560:128::-;13600:3;13631:1;13627:6;13624:1;13621:13;13618:39;;;13637:18;;:::i;:::-;-1:-1:-1;13673:9:1;;13560:128::o;13693:217::-;13733:1;13759;13749:132;;13803:10;13798:3;13794:20;13791:1;13784:31;13838:4;13835:1;13828:15;13866:4;13863:1;13856:15;13749:132;-1:-1:-1;13895:9:1;;13693:217::o;13915:168::-;13955:7;14021:1;14017;14013:6;14009:14;14006:1;14003:21;13998:1;13991:9;13984:17;13980:45;13977:71;;;14028:18;;:::i;:::-;-1:-1:-1;14068:9:1;;13915:168::o;14088:125::-;14128:4;14156:1;14153;14150:8;14147:34;;;14161:18;;:::i;:::-;-1:-1:-1;14198:9:1;;14088:125::o;14218:258::-;14290:1;14300:113;14314:6;14311:1;14308:13;14300:113;;;14390:11;;;14384:18;14371:11;;;14364:39;14336:2;14329:10;14300:113;;;14431:6;14428:1;14425:13;14422:48;;;-1:-1:-1;;14466:1:1;14448:16;;14441:27;14218:258::o;14481:135::-;14520:3;-1:-1:-1;;14541:17:1;;14538:43;;;14561:18;;:::i;:::-;-1:-1:-1;14608:1:1;14597:13;;14481:135::o;14621:127::-;14682:10;14677:3;14673:20;14670:1;14663:31;14713:4;14710:1;14703:15;14737:4;14734:1;14727:15;14753:127;14814:10;14809:3;14805:20;14802:1;14795:31;14845:4;14842:1;14835:15;14869:4;14866:1;14859:15;14885:131;-1:-1:-1;;;;;14960:31:1;;14950:42;;14940:70;;15006:1;15003;14996:12;15021:118;15107:5;15100:13;15093:21;15086:5;15083:32;15073:60;;15129:1;15126;15119:12

Swarm Source

ipfs://921e8c514f9f88cb565905ffaea407e91a7923cb95e2f06443ab1ac35c841aff
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.