Token Violin Vault Receipt

 

Overview ERC-1155

Total Supply:
0 vVault

Holders:
2 addresses

Transfers:
-

Loading
[ Download CSV Export  ] 
Loading
Loading

Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WhitelistedVaultChef

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-29
*/

// SPDX-License-Identifier: MIXED

// File @openzeppelin/contracts/token/ERC20/[email protected]
// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

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 contracts/interfaces/IMasterChef.sol
// License-Identifier: MIT

pragma solidity ^0.8.6;

/// @dev The VaultChef implements the masterchef interface for compatibility with third-party tools.
interface IMasterChef {
    /// @dev An active vault has a dummy allocPoint of 1 while an inactive one has an allocPoint of zero.
    /// @dev This is done for better compatibility with third-party tools.
    function poolInfo(uint256 pid)
        external
        view
        returns (
            IERC20 lpToken,
            uint256 allocPoint,
            uint256 lastRewardBlock,
            uint256 accTokenPerShare
        );

    function userInfo(uint256 pid, address user)
        external
        view
        returns (uint256 amount, uint256 rewardDebt);

    function startBlock() external view returns (uint256);

    function poolLength() external view returns (uint256);

    /// @dev Returns the total number of active vaults.
    function totalAllocPoint() external view returns (uint256);

    function deposit(uint256 _pid, uint256 _amount) external;

    function withdraw(uint256 _pid, uint256 _amount) external;

    function emergencyWithdraw(uint256 _pid) external;
}

// File contracts/interfaces/IERC20Metadata.sol
// License-Identifier: MIT
// Based on: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/1b27c13096d6e4389d62e7b0766a1db53fbb3f1b/contracts/token/ERC20/extensions/IERC20Metadata.sol

pragma solidity ^0.8.6;
/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata {
    /**
     * @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 contracts/interfaces/IStrategy.sol
// License-Identifier: MIT

pragma solidity ^0.8.6;

interface IStrategy {
    /**
     * @notice Gets the token this strategy compounds.
     * @dev This token might have a transfer-tax.
     * @dev Invariant: This variable may never change.
     */
    function underlyingToken() external view returns (IERC20);

    /**
     * @notice Gets the total amount of tokens either idle in this strategy or staked in an underlying strategy.
     */
    function totalUnderlying() external view returns (uint256 totalUnderlying);
    /**
     * @notice Gets the total amount of tokens either idle in this strategy or staked in an underlying strategy and only the tokens actually staked.
     */
    function totalUnderlyingAndStaked() external view returns (uint256 totalUnderlying, uint256 totalUnderlyingStaked);

    /**
     * @notice The panic function unstakes all staked funds from the strategy and leaves them idle in the strategy for withdrawal
     * @dev Authority: This function must only be callable by the VaultChef.
     */
    function panic() external;

    /**
     * @notice Executes a harvest on the underlying vaultchef.
     * @dev Authority: This function must only be callable by the vaultchef.
     */
    function harvest() external;
    /**
     * @notice Deposits `amount` amount of underlying tokens in the underlying strategy
     * @dev Authority: This function must only be callable by the VaultChef.
     */
    function deposit(uint256 amount) external;

    /**
     * @notice Withdraws `amount` amount of underlying tokens to `to`.
     * @dev Authority: This function must only be callable by the VaultChef.
     */
    function withdraw(address to, uint256 amount) external;

    /**
     * @notice Withdraws `amount` amount of `token` to `to`.
     * @notice This function is used to withdraw non-staking and non-native tokens accidentally sent to the strategy.
     * @notice It will also be used to withdraw tokens airdropped to the strategies.
     * @notice The underlying token can never be withdrawn through this method because VaultChef prevents it.
     * @dev Requirement: This function should in no way allow withdrawal of staking tokens
     * @dev Requirement: This function should in no way allow for the decline in shares or share value (this is also checked in the VaultChef);
     * @dev Validation is already done in the VaultChef that the staking token cannot be withdrawn.
     * @dev Authority: This function must only be callable by the VaultChef.
     */
    function inCaseTokensGetStuck(
        IERC20 token,
        uint256 amount,
        address to
    ) external;
}

// File contracts/interfaces/IVaultChefWrapper.sol
// License-Identifier: MIT

pragma solidity ^0.8.6;



interface IVaultChefWrapper is IMasterChef, IERC20Metadata{
     /**
     * @notice Interface function to fetch the total underlying tokens inside a vault.
     * @notice Calls the totalUnderlying function on the vault strategy.
     * @param vaultId The id of the vault.
     */
    function totalUnderlying(uint256 vaultId) external view returns (uint256);

     /**
     * @notice Changes the ERC-20 metadata for etherscan listing.
     * @param newName The new ERC-20-like token name.
     * @param newSymbol The new ERC-20-like token symbol.
     * @param newDecimals The new ERC-20-like token decimals.
     */
    function changeMetadata(
        string memory newName,
        string memory newSymbol,
        uint8 newDecimals
    ) external;

     /**
     * @notice Sets the ERC-1155 metadata URI.
     * @param newURI The new ERC-1155 metadata URI.
     */
    function setURI(string memory newURI) external;

    /// @notice mapping that returns true if the strategy is set as a vault.
    function strategyExists(IStrategy strategy) external view returns(bool);


    /// @notice Utility mapping for UI to figure out the vault id of a strategy.
    function strategyVaultId(IStrategy strategy) external view returns(uint256);

}

// File @openzeppelin/contracts/utils/introspection/[email protected]
// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File @openzeppelin/contracts/token/ERC1155/[email protected]
// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

// File @openzeppelin/contracts/token/ERC1155/[email protected]
// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

// File @openzeppelin/contracts/token/ERC1155/extensions/[email protected]
// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

// File @openzeppelin/contracts/utils/[email protected]
// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

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/utils/[email protected]
// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

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/utils/introspection/[email protected]
// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File contracts/dependencies/ERC1155.sol
// License-Identifier: MIT
// Derived from openzeppeling ERC1155 without acceptance hooks on mints

pragma solidity ^0.8.0;






/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

    // Mapping from account to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC1155).interfaceId ||
            interfaceId == type(IERC1155MetadataURI).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC1155-isApprovedForAll}.
     */
    function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[account][operator];
    }

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(from != address(0), "ERC1155: transfer from the zero address");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(from != address(0), "ERC1155: transfer from the zero address");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value. [ DISABLED ]
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][account] += amount;
        emit TransferSingle(operator, address(0), account, id, amount);
        // DISABLED:
        // _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);
        // DISABLED:
        //_doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

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

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

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

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

// File contracts/dependencies/ERC1155Supply.sol
// License-Identifier: MIT
// Copy of ERC1155Supply using ./ERC1155 which omits the reentrancy hook on mints.
pragma solidity ^0.8.4;

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates whether any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_mint}.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual override {
        super._mint(account, id, amount, data);
        _totalSupply[id] += amount;
    }

    /**
     * @dev See {ERC1155-_mintBatch}.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._mintBatch(to, ids, amounts, data);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] += amounts[i];
        }
    }

    /**
     * @dev See {ERC1155-_burn}.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual override {
        super._burn(account, id, amount);
        _totalSupply[id] -= amount;
    }

    /**
     * @dev See {ERC1155-_burnBatch}.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual override {
        super._burnBatch(account, ids, amounts);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] -= amounts[i];
        }
    }
}

// File contracts/dependencies/Ownable.sol
// License-Identifier: MIT

// Derived from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/1b27c13096d6e4389d62e7b0766a1db53fbb3f1b/contracts/access/Ownable.sol
// Adds pending owner

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;
    address public pendingOwner;

    event PendingOwnershipTransferred(address indexed previousPendingOwner, address indexed newPendingOwner);
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_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 {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to the pendingOwner.
     * Can only be called by the pendingOwner.
     */
    function transferOwnership() public virtual {
        require(_msgSender() == pendingOwner, "Ownable: caller is not the pendingOwner");
        require(pendingOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(pendingOwner);
    }

    /**
     * @dev Sets the pendingOwner, ownership is only transferred when they call transferOwnership.
     * Can only be called by the current owner.
     */
    function setPendingOwner(address newPendingOwner) external onlyOwner {
        address oldPendingOwner = pendingOwner;
        pendingOwner = newPendingOwner;

        emit PendingOwnershipTransferred(oldPendingOwner, pendingOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        pendingOwner = address(0);
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File contracts/interfaces/IVaultChefCore.sol
// License-Identifier: MIT

pragma solidity ^0.8.6;



/**
 * @notice The VaultChef is a vault management contract that manages vaults, their strategies and the share positions of investors in these vaults.
 * @notice Positions are not hardcoded into the contract like traditional staking contracts, instead they are managed as ERC-1155 receipt tokens.
 * @notice This receipt-token mechanism is supposed to simplify zapping and other derivative protocols.
 * @dev The VaultChef contract has the following design principles.
 * @dev 1. Simplicity of Strategies: Strategies should be as simple as possible.
 * @dev 2. Control of Governance: Governance should never be able to steal underlying funds.
 * @dev 3. Auditability: It should be easy for third-party reviewers to assess the safety of the VaultChef.
 */
interface IVaultChefCore is IERC1155 {
    /// @notice A vault is a strategy users can stake underlying tokens in to receive a share of the vault value.
    struct Vault {
        /// @notice The token this strategy will compound.
        IERC20 underlyingToken;
        /// @notice The timestamp of the last harvest, set to zero while no harvests have happened.
        uint96 lastHarvestTimestamp;
        /// @notice The strategy contract.
        IStrategy strategy;
        /// @notice The performance fee portion of the harvests that is sent to the feeAddress, denominated by 10,000.
        uint16 performanceFeeBP;
        /// @notice Whether deposits are currently paused.
        bool paused;
        /// @notice Whether the vault has panicked which means the funds are pulled from the strategy and it is paused forever.
        bool panicked;
    }

    /**
     * @notice Deposit `underlyingAmount` amount of underlying tokens into the vault and receive `sharesReceived` proportional to the actually staked amount.
     * @notice Deposits mint `sharesReceived` receipt tokens as ERC-1155 tokens to msg.sender with the tokenId equal to the vaultId.
     * @notice The tokens are transferred from `msg.sender` which requires approval if pulled is set to false, otherwise `msg.sender` needs to implement IPullDepositor.
     * @param vaultId The id of the vault.
     * @param underlyingAmount The intended amount of tokens to deposit (this might not equal the actual deposited amount due to tx/stake fees or the pull mechanism).
     * @param pulled Uses a pull-based deposit hook if set to true, otherwise traditional safeTransferFrom. The pull-based mechanism allows the depositor to send tokens using a hook.
     * @param minSharesReceived The minimum amount of shares that must be received, or the transaction reverts.
     * @dev This pull-based methodology is extremely valuable for zapping transfer-tax tokens more economically.
     * @dev `msg.sender` must be a smart contract implementing the `IPullDepositor` interface.
     * @return sharesReceived The number of shares minted to the msg.sender.
     */
    function depositUnderlying(
        uint256 vaultId,
        uint256 underlyingAmount,
        bool pulled,
        uint256 minSharesReceived
    ) external returns (uint256 sharesReceived);

    /**
     * @notice Withdraws `shares` from the vault into underlying tokens to the `msg.sender`.
     * @notice Burns `shares` receipt tokens from the `msg.sender`.
     * @param vaultId The id of the vault.
     * @param shares The amount of shares to burn, underlying tokens will be sent to msg.sender proportionally.
     * @param minUnderlyingReceived The minimum amount of underlying tokens that must be received, or the transaction reverts.
     */
    function withdrawShares(
        uint256 vaultId,
        uint256 shares,
        uint256 minUnderlyingReceived
    ) external returns (uint256 underlyingReceived);

    /**
     * @notice Withdraws `shares` from the vault into underlying tokens to the `to` address.
     * @notice To prevent phishing, we require msg.sender to be a contract as this is intended for more economical zapping of transfer-tax token withdrawals.
     * @notice Burns `shares` receipt tokens from the `msg.sender`.
     * @param vaultId The id of the vault.
     * @param shares The amount of shares to burn, underlying tokens will be sent to msg.sender proportionally.
     * @param minUnderlyingReceived The minimum amount of underlying tokens that must be received, or the transaction reverts.
     */
    function withdrawSharesTo(
        uint256 vaultId,
        uint256 shares,
        uint256 minUnderlyingReceived,
        address to
    ) external returns (uint256 underlyingReceived);

    /**
     * @notice Total amount of shares in circulation for a given vaultId.
     * @param vaultId The id of the vault.
     * @return The total number of shares currently in circulation.
     */
    function totalSupply(uint256 vaultId) external view returns (uint256);

    /**
     * @notice Calls harvest on the underlying strategy to compound pending rewards to underlying tokens.
     * @notice The performance fee is minted to the owner as shares, it can never be greater than 5% of the underlyingIncrease.
     * @return underlyingIncrease The amount of underlying tokens generated.
     * @dev Can only be called by owner.
     */
    function harvest(uint256 vaultId)
        external
        returns (uint256 underlyingIncrease);

    /**
     * @notice Adds a new vault to the vaultchef.
     * @param strategy The strategy contract that manages the allocation of the funds for this vault, also defines the underlying token
     * @param performanceFeeBP The percentage of the harvest rewards that are given to the governance, denominated by 10,000 and maximum 5%.
     * @dev Can only be called by owner.
     */
    function addVault(IStrategy strategy, uint16 performanceFeeBP) external;

    /**
     * @notice Updates the performanceFee of the vault.
     * @param vaultId The id of the vault.
     * @param performanceFeeBP The percentage of the harvest rewards that are given to the governance, denominated by 10,000 and maximum 5%.
     * @dev Can only be called by owner.
     */
    function setVault(uint256 vaultId, uint16 performanceFeeBP) external;
    /**
     * @notice Allows the `pullDepositor` to create pull-based deposits (useful for zapping contract).
     * @notice Having a whitelist is not necessary for this functionality as it is safe but upon defensive code recommendations one was added in.
     * @dev Can only be called by owner.
     */
    function setPullDepositor(address pullDepositor, bool isAllowed) external;
    
    /**
     * @notice Withdraws funds from the underlying staking contract to the strategy and irreversibly pauses the vault.
     * @param vaultId The id of the vault.
     * @dev Can only be called by owner.
     */
    function panicVault(uint256 vaultId) external;

    /**
     * @notice Returns true if there is a vault associated with the `vaultId`.
     * @param vaultId The id of the vault.
     */
    function isValidVault(uint256 vaultId) external returns (bool);

    /**
     * @notice Returns the Vault information of the vault at `vaultId`, returns if non-existent.
     * @param vaultId The id of the vault.
     */
    function vaultInfo(uint256 vaultId) external returns (Vault memory);

    /**
     * @notice Pauses the vault which means deposits and harvests are no longer permitted, reverts if already set to the desired value.
     * @param vaultId The id of the vault.
     * @param paused True to pause, false to unpause.
     * @dev Can only be called by owner.
     */
    function pauseVault(uint256 vaultId, bool paused) external;

    /**
     * @notice Transfers tokens from the VaultChef to the `to` address.
     * @notice Cannot be abused by governance since the protocol never ever transfers tokens to the VaultChef. Any tokens stored there are accidentally sent there.
     * @param token The token to withdraw from the VaultChef.
     * @param to The address to send the token to.
     * @dev Can only be called by owner.
     */
    function inCaseTokensGetStuck(IERC20 token, address to) external;

    /**
     * @notice Transfers tokens from the underlying strategy to the `to` address.
     * @notice Cannot be abused by governance since VaultChef prevents token to be equal to the underlying token.
     * @param token The token to withdraw from the strategy.
     * @param to The address to send the token to.
     * @param amount The amount of tokens to withdraw.
     * @dev Can only be called by owner.
     */
    function inCaseVaultTokensGetStuck(
        uint256 vaultId,
        IERC20 token,
        address to,
        uint256 amount
    ) external;
}

// File contracts/interfaces/IPullDepositor.sol
// License-Identifier: MIT

pragma solidity ^0.8.6;

interface IPullDepositor {
    /**
     * @notice Called by a contract requesting tokens, with the aim of the PullDepositor implementing contract to send these tokens.
     * @dev This interface allows for an alternative flow compared to the traditional transferFrom flow.
     * @dev This flow is especially useful when in combination with a zapping contract.
     */
    function pullTokens(
        IERC20 token,
        uint256 amount,
        address to
    ) external;
}

// File @openzeppelin/contracts/token/ERC20/utils/[email protected]
// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol)

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/security/[email protected]
// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File contracts/vaultchef/VaultChefCore.sol
// License-Identifier: MIT

pragma solidity ^0.8.6;









/**
 * @title VaultChefCore
 * @notice A vault management contract that manages vaults, their strategies and the share positions of investors in these vaults.
 * @notice Documentation is present in the IVaultChefCore interface.
 */
contract VaultChefCore is
    ERC1155Supply,
    IVaultChefCore,
    Ownable,
    ReentrancyGuard
{
    using Address for address;
    using SafeERC20 for IERC20;

    /// @notice The list of all registered vaults.
    Vault[] internal vaults;

    /// @notice The maximum performance fee settable. This is the % of the harvests that are minted to the owner.
    uint256 private constant MAX_PERFORMANCE_FEE_BP = 1000;

    /// @notice The set of contracts that allow for pull-based deposits. Unnecessary but trims down privileges further.
    mapping(address => bool) public canDoPullDeposits;

    event VaultAdded(
        uint256 indexed vaultId,
        IStrategy indexed strategy,
        uint256 performanceFeeBP
    );
    event VaultPerformanceFeeSet(
        uint256 indexed vaultId,
        uint256 performanceFeeBP
    );
    event VaultPaused(uint256 indexed vaultId, bool paused);
    event VaultPanicked(uint256 indexed vaultId);
    event VaultHarvest(uint256 indexed vaultId, uint256 underlyingIncrease);
    event VaultInCaseTokenStuck(
        uint256 indexed vaultId,
        IERC20 indexed token,
        address indexed to,
        uint256 amount
    );
    event URIUpdated(string oldURI, string newURI);
    event InCaseTokenStuck(
        IERC20 indexed token,
        address indexed to,
        uint256 amount
    );

    event Deposit(
        uint256 indexed vaultId,
        address indexed user,
        uint256 sharesAmount,
        uint256 underlyingAmountReceived
    );
    event Withdraw(
        uint256 indexed vaultId,
        address indexed user,
        address indexed receiver,
        uint256 sharesAmount,
        uint256 underlyingAmountReceived
    );

    event PullDepositorSet(address indexed depositor, bool indexed allowPulls);

    constructor() ERC1155("https://violin.finance/api/vaults/{id}.json") {}

    modifier validVault(uint256 vaultId) {
        require(vaultId < vaults.length, "!no vault");
        _;
    }

    //** USER FUNCTIONS *//

    function depositUnderlying(
        uint256 vaultId,
        uint256 underlyingAmount,
        bool pulled,
        uint256 minSharesReceived
    )
        public
        virtual
        override
        validVault(vaultId)
        nonReentrant
        returns (uint256 sharesReceived)
    {
        _harvest(vaultId);
        Vault memory vault = vaults[vaultId];
        require(!vault.paused, "!paused");

        // Variables for shares calculation.
        uint256 totalSharesBefore = totalSupply(vaultId);
        (uint256 underlyingBefore, uint256 stakedBefore) = vault
            .strategy
            .totalUnderlyingAndStaked();

        // Transfer in the funds from the msg.sender to the strategy contract.
        underlyingAmount = _transferInFunds(
            vault.underlyingToken,
            address(vault.strategy),
            underlyingAmount,
            pulled
        );

        // Make the strategy stake the received funds.
        vault.strategy.deposit(underlyingAmount);

        (uint256 underlyingAfter, uint256 stakedAfter) = vault
            .strategy
            .totalUnderlyingAndStaked();
        underlyingAmount = stakedAfter - stakedBefore;

        // Mint shares according to the actually received underlyingAmount, based on the share value before deposit.
        uint256 shares = totalSharesBefore != 0 && underlyingBefore != 0
            ? (underlyingAmount * totalSharesBefore) / underlyingBefore
            : underlyingAmount;
        _mint(msg.sender, vaultId, shares, ""); // Reentrancy hook has been removed from our ERC-1155 implementation (only modification).

        // Gas optimized non-decreasing share value requirement (see nonDecreasingShareValue). Marked as assert as we could not find any way to fail this.
        assert(
            underlyingAfter * totalSharesBefore >=
                underlyingBefore * totalSupply(vaultId) ||
                totalSharesBefore == 0
        );
        // We require the total underlying in the vault to be within reasonable bounds to prevent mulDiv overflow on withdrawal (1e34^2 is still 9 magnitudes smaller than type(uint256).max).
        // Using https://github.com/Uniswap/v3-core/blob/2ac90dd32184f4c5378b19a08bce79492ea23d37/contracts/libraries/FullMath.sol would be a better alternative but goes against our simplicity principle.
        require(underlyingAfter <= 1e34, "!unsafe");
        require(shares >= minSharesReceived, "!min not received");
        require(shares > 0, "!zero shares");
        emit Deposit(vaultId, msg.sender, shares, underlyingAmount);
        return shares;
    }

    function withdrawShares(
        uint256 vaultId,
        uint256 shares,
        uint256 minReceived
    )
        public
        virtual
        override
        validVault(vaultId)
        nonDecreasingShareValue(vaultId)
        nonReentrant
        returns (uint256 underlyingReceived)
    {
        return _withdrawSharesTo(vaultId, shares, minReceived, msg.sender);
    }

    function withdrawSharesTo(
        uint256 vaultId,
        uint256 shares,
        uint256 minReceived,
        address to
    )
        public
        virtual
        override
        validVault(vaultId)
        nonDecreasingShareValue(vaultId)
        nonReentrant
        returns (uint256 underlyingReceived)
    {
        // Withdrawing to another wallet should only be done by zapping contracts thus we can add a phishing measure.
        require(address(msg.sender).isContract(), "!to phishing");
        return _withdrawSharesTo(vaultId, shares, minReceived, to);
    }

    /// @notice isValidVault is implicit through nonDecreasingShareValue (gas optimization).
    function _withdrawSharesTo(
        uint256 vaultId,
        uint256 shares,
        uint256 minReceived,
        address to
    ) internal returns (uint256 underlyingReceived) {
        require(
            balanceOf(msg.sender, vaultId) >= shares,
            "!insufficient shares"
        );
        require(shares > 0, "!zero shares");
        Vault memory vault = vaults[vaultId];

        uint256 withdrawAmount = (shares * vault.strategy.totalUnderlying()) /
            totalSupply(vaultId);
        _burn(msg.sender, vaultId, shares);

        uint256 balanceBefore = vault.underlyingToken.balanceOf(to);
        vault.strategy.withdraw(to, withdrawAmount);
        withdrawAmount = vault.underlyingToken.balanceOf(to) - balanceBefore;

        require(withdrawAmount >= minReceived, "!min not received");
        emit Withdraw(vaultId, msg.sender, to, shares, withdrawAmount);
        return withdrawAmount;
    }

    /// @notice Transfers in tokens from the `msg.sender` to `to`. Returns the actual receivedAmount that can be both lower and higher.
    /// @param pulled Whether to use a pulled-based mechanism.
    /// @dev Requires reentrancy-guard and no way for the staked funds to be sent back into the strategy within the before-after.
    function _transferInFunds(
        IERC20 token,
        address to,
        uint256 underlyingAmount,
        bool pulled
    ) internal returns (uint256 receivedAmount) {
        uint256 beforeBal = token.balanceOf(to);
        if (!pulled) {
            token.safeTransferFrom(msg.sender, to, underlyingAmount);
        } else {
            require(canDoPullDeposits[msg.sender], "!whitelist");
            IPullDepositor(msg.sender).pullTokens(token, underlyingAmount, to);
        }
        return token.balanceOf(to) - beforeBal;
    }

    //** GOVERNANCE FUNCTIONS *//

    /// @dev nonDecreasingUnderlyingValue(vaultId) omitted since it is implicitly defined.
    function harvest(uint256 vaultId)
        public
        virtual
        override
        validVault(vaultId)
        nonReentrant
        returns (uint256 underlyingIncrease)
    {
        require(!vaults[vaultId].paused, "!paused");
        return _harvest(vaultId);
    }

    /// @dev Gas optimization: Implicit nonDecreasingShareValue due to no supply change within _harvest (reentrancyGuards guarantee this).
    /// @dev Gas optimization: Implicit nonDecreasingUnderlyingValue check due to before-after underflow.
    function _harvest(uint256 vaultId)
        internal
        returns (uint256 underlyingIncrease)
    {
        Vault storage vault = vaults[vaultId];
        IStrategy strategy = vault.strategy;

        uint256 underlyingBefore = strategy.totalUnderlying();
        strategy.harvest();
        uint256 underlyingAfter = strategy.totalUnderlying();
        underlyingIncrease = underlyingAfter - underlyingBefore;

        vault.lastHarvestTimestamp = uint96(block.timestamp);

        // The performance fee is minted to the owner in shares to reduce governance risk, strategy complexity and gas fees.
        address feeRecipient = owner();
        if (underlyingIncrease > 0 && feeRecipient != address(0)) {
            uint256 performanceFeeShares = (underlyingIncrease *
                totalSupply(vaultId) *
                vault.performanceFeeBP) /
                underlyingAfter /
                10000;
            _mint(feeRecipient, vaultId, performanceFeeShares, "");
        }

        emit VaultHarvest(vaultId, underlyingIncrease);
        return underlyingIncrease;
    }

    function addVault(IStrategy strategy, uint16 performanceFeeBP)
        public
        virtual
        override
        onlyOwner
        nonReentrant
    {
        require(performanceFeeBP <= MAX_PERFORMANCE_FEE_BP, "!valid");
        vaults.push(
            Vault({
                underlyingToken: strategy.underlyingToken(),
                strategy: strategy,
                paused: false,
                panicked: false,
                lastHarvestTimestamp: 0,
                performanceFeeBP: performanceFeeBP
            })
        );
        emit VaultAdded(vaults.length - 1, strategy, performanceFeeBP);
    }

    function setVault(uint256 vaultId, uint16 performanceFeeBP)
        external
        virtual
        override
        onlyOwner
        validVault(vaultId)
        nonReentrant
    {
        require(performanceFeeBP <= MAX_PERFORMANCE_FEE_BP, "!valid");
        Vault storage vault = vaults[vaultId];
        vault.performanceFeeBP = performanceFeeBP;

        emit VaultPerformanceFeeSet(vaultId, performanceFeeBP);
    }

    function setPullDepositor(address pullDepositor, bool isAllowed)
        external
        override
        onlyOwner
        nonReentrant
    {
        require(canDoPullDeposits[pullDepositor] != isAllowed, "!set");
        canDoPullDeposits[pullDepositor] = isAllowed;
        emit PullDepositorSet(pullDepositor, isAllowed);
    }

    function panicVault(uint256 vaultId)
        external
        override
        onlyOwner
        validVault(vaultId)
        nonReentrant
    {
        Vault storage vault = vaults[vaultId];
        require(!vault.panicked, "!panicked");
        if (!vault.paused) _pauseVault(vaultId, true);
        vault.panicked = true;

        vault.strategy.panic();

        emit VaultPanicked(vaultId);
    }

    function pauseVault(uint256 vaultId, bool paused)
        external
        override
        onlyOwner
        validVault(vaultId)
        nonReentrant
    {
        _pauseVault(vaultId, paused);
    }

    /// @notice Marks the vault as paused which means no deposits or harvests can occur anymore.
    function _pauseVault(uint256 vaultId, bool paused) internal virtual {
        Vault storage vault = vaults[vaultId];
        require(!vault.panicked, "!panicked");
        require(paused != vault.paused, "!set");
        vault.paused = paused;
        emit VaultPaused(vaultId, paused);
    }

    /// @notice No staked tokens are ever sent to the VaultChef, only to the strategies.
    function inCaseTokensGetStuck(IERC20 token, address to)
        external
        override
        onlyOwner
        nonReentrant
    {
        require(to != address(0), "!zero");
        uint256 amount = token.balanceOf(address(this));
        token.safeTransfer(to, amount);
        emit InCaseTokenStuck(token, to, amount);
    }

    /// @notice Although the strategy could contain underlying tokens, this function reverts if governance tries to withdraw these.
    function inCaseVaultTokensGetStuck(
        uint256 vaultId,
        IERC20 token,
        address to,
        uint256 amount
    )
        external
        override
        onlyOwner
        validVault(vaultId)
        nonReentrant
        nonDecreasingUnderlyingValue(vaultId)
    {
        require(to != address(0), "!zero");
        Vault storage vault = vaults[vaultId];
        require(token != vault.underlyingToken, "!underlying");

        vault.strategy.inCaseTokensGetStuck(token, amount, to);
        emit VaultInCaseTokenStuck(vaultId, token, to, amount);
    }

    //** VIEW FUNCTIONS *//

    /// @notice Returns whether a vault exists at the provided vault id `vaultId`.
    function isValidVault(uint256 vaultId)
        external
        view
        override
        returns (bool)
    {
        return vaultId < vaults.length;
    }

    /// @notice Returns information about the vault for the frontend to use.
    function vaultInfo(uint256 vaultId)
        public
        view
        override
        validVault(vaultId)
        returns (Vault memory)
    {
        return vaults[vaultId];
    }

    //** MODIFIERS **//

    /// @dev The nonDecreasingShareValue modifier requires the vault's share value to be nondecreasing over the operation.
    modifier nonDecreasingShareValue(uint256 vaultId) {
        uint256 supply = totalSupply(vaultId);
        IStrategy strategy = vaults[vaultId].strategy;
        uint256 underlyingBefore = strategy.totalUnderlying();
        _;
        if (supply == 0) return;
        uint256 underlyingAfter = strategy.totalUnderlying();
        uint256 newSupply = totalSupply(vaultId);
        // This is a rewrite of shareValueAfter >= shareValueBefore which also passes if newSupply is zero. ShareValue is defined as totalUnderlying/totalShares.
        require(
            underlyingAfter * supply >= underlyingBefore * newSupply,
            "!unsafe"
        );
    }

    /// @dev the nonDecreasingVaultValue modifier requires the vault's total underlying tokens to not decrease over the operation.
    modifier nonDecreasingUnderlyingValue(uint256 vaultId) {
        Vault memory vault = vaults[vaultId];
        uint256 balanceBefore = vault.strategy.totalUnderlying();
        _;
        uint256 balanceAfter = vault.strategy.totalUnderlying();
        require(balanceAfter >= balanceBefore, "!unsafe");
    }

    //** REQUIRED OVERRIDES *//
    /// @dev Due to multiple inheritance, we require to overwrite the totalSupply method.
    function totalSupply(uint256 id)
        public
        view
        override(ERC1155Supply, IVaultChefCore)
        returns (uint256)
    {
        return super.totalSupply(id);
    }
}

// File contracts/vaultchef/VaultChef.sol
// License-Identifier: MIT

pragma solidity ^0.8.6;




/**
 * @notice The VaultChef is the wrapper of the core `VaultChefCore` logic that contains all non-essential functionality.
 * @notice It is isolated from the core functionality because all this functionality has no impact on the core functionality.
 * @notice This separation should enable third party reviewers to more easily assess the core component of the vaultchef.
 
 * @dev One of the main extensions is the added compatibility of the SushiSwap MasterChef interface, this is done to be compatible with third-party tools:
 * @dev Allocpoints have been made binary to indicate whether a vault is paused or not (1 alloc point means active, 0 means paused).
 * @dev Reward related variables are set to zero (lastRewardBlock, accTokenPerShare).
 * @dev Events are emitted on the lower level for more compatibility with third-party tools.
 * @dev EmergencyWithdraw event has been omitted intentionally since it is functionally identical to a normal withdrawal.
 * @dev There is no concept of receipt tokens on the compatibility layer, all amounts represent underlying tokens.
 *
 * @dev ERC-1155 transfers have been wrapped with nonReentrant to reduce the exploit freedom. Furthermore receipt tokens cannot be sent to the VaultChef as it does not implement the receipt interface.
 * 
 * @dev Furthermore the VaultChef implements IERC20Metadata for etherscan compatibility as it currently uses this metadata to identify ERC-1155 collection metadata.
 *
 * @dev Finally safeguards are added to the addVault function to only allow a strategy to be listed once.
 *
 * @dev For third-party reviewers: The security of this extension can be validated since no internal state is modified on the parent contract.
 */
contract VaultChef is VaultChefCore, IVaultChefWrapper {
    // ERC-20 metadata for etherscan compatibility.
    string private _name = "Violin Vault Receipt";
    string private _symbol = "vVault";
    uint8 private _decimals = 18;

    /// @notice how many vaults are not paused.
    uint256 private activeVaults;

    uint256 private immutable _startBlock;

    /// @notice mapping that returns true if the strategy is set as a vault.
    mapping(IStrategy => bool) public override strategyExists;
    /// @notice Utility mapping for UI to figure out the vault id of a strategy.
    mapping(IStrategy => uint256) public override strategyVaultId;

    event ChangeMetadata(string newName, string newSymbol, uint256 newDecimals);

    constructor(address _owner) {
        _startBlock = block.number;
        _transferOwnership(_owner);
    }

    //** MASTERCHEF COMPATIBILITY **/

    /// @notice Deposits `underlyingAmount` of underlying tokens in the vault at `vaultId`.
    /// @dev This function is identical to depositUnderlying, duplication has been permitted to match the masterchef interface.
    /// @dev Event emitted on lower level.
    function deposit(uint256 vaultId, uint256 underlyingAmount)
        public
        virtual
        override
    {
        depositUnderlying(vaultId, underlyingAmount, false, 0);
    }

    /// @notice withdraws `amount` of underlying tokens from the vault at `vaultId` to `msg.sender`.
    /// @dev Event emitted on lower level.
    function withdraw(uint256 vaultId, uint256 underlyingAmount)
        public
        virtual
        override
        validVault(vaultId)
    {
        uint256 underlyingBefore = vaults[vaultId].strategy.totalUnderlying();
        require(underlyingBefore != 0, "!empty");
        uint256 shares = (totalSupply(vaultId) * underlyingAmount) /
            underlyingBefore;
        withdrawShares(vaultId, shares, 0);
    }

    /// @notice withdraws the complete position of `msg.sender` to `msg.sender`.
    function emergencyWithdraw(uint256 vaultId)
        public
        virtual
        override
        validVault(vaultId)
    {
        uint256 shares = balanceOf(msg.sender, vaultId);
        withdrawShares(vaultId, shares, 0);
    }

    /// @notice poolInfo returns the vault information in a format compatible with the masterchef poolInfo.
    /// @dev allocPoint is either 0 or 1. Zero means paused while one means active.
    /// @dev _lastRewardBlock and _accTokenPerShare are zero since there is no concept of rewards in the VaultChef.
    function poolInfo(uint256 vaultId)
        external
        view
        override
        validVault(vaultId)
        returns (
            IERC20 _lpToken,
            uint256 _allocPoint,
            uint256 _lastRewardBlock,
            uint256 _accTokenPerShare
        )
    {
        uint256 allocPoints = vaults[vaultId].paused ? 0 : 1;
        return (vaults[vaultId].underlyingToken, allocPoints, 0, 0);
    }

    /// @notice Returns the total amount of underlying tokens a vault has under management.
    function totalUnderlying(uint256 vaultId)
        external
        view
        override
        validVault(vaultId)
        returns (uint256)
    {
        return vaults[vaultId].strategy.totalUnderlying();
    }

    /// @notice Since there is no concept of allocPoints we return the number of active vaults as allocPoints (each active vault has allocPoint 1) for MasterChef compatibility.
    function totalAllocPoint() external view override returns (uint256) {
        return activeVaults;
    }

    /// @notice Returns the number of vaults.
    function poolLength() external view override returns (uint256) {
        return vaults.length;
    }

    /// @notice the startBlock function indicates when rewards start in a masterchef, since there is no notion of rewards, it returns zero.
    /// @dev This function is kept for compatibility with third-party tools.
    function startBlock() external view override returns (uint256) {
        return _startBlock;
    }

    /// @notice userInfo returns the user their stake information about a specific vault in a format compatible with the masterchef userInfo.
    /// @dev amount represents the amount of underlying tokens.
    /// @dev _rewardDebt are zero since there is no concept of rewards in the VaultChef.
    function userInfo(uint256 vaultId, address user)
        external
        view
        override
        validVault(vaultId)
        returns (uint256 _amount, uint256 _rewardDebt)
    {
        uint256 supply = totalSupply((vaultId));
        uint256 underlyingAmount = supply == 0
            ? 0
            : (vaults[vaultId].strategy.totalUnderlying() *
                balanceOf(user, vaultId)) / supply;
        return (underlyingAmount, 0);
    }

    /** Active vault accounting for allocpoints **/

    /// @dev Add accounting for the allocPoints and also locking if the strategy already exists.
    function addVault(IStrategy strategy, uint16 performanceFeeBP)
        public
        override
    {
        require(!strategyExists[strategy], "!exists");
        strategyExists[strategy] = true;
        strategyVaultId[strategy] = vaults.length;
        activeVaults += 1;
        super.addVault(strategy, performanceFeeBP);
    }

    /// @dev _pauseVault is overridden to add accounting for the allocPoints
    /// @dev It should be noted that the first requirement is only present for auditability since it is redundant in the parent contract.
    function _pauseVault(uint256 vaultId, bool paused) internal override {
        require(paused != vaults[vaultId].paused, "!set");
        if (paused) {
            activeVaults -= 1;
        } else {
            activeVaults += 1;
        }
        super._pauseVault(vaultId, paused);
    }

    /** GOVERNANCE FUNCTIONS **/

    /// @notice ERC-20 metadata can be updated for potential rebrands, it is included for etherscan compatibility.
    function changeMetadata(
        string memory newName,
        string memory newSymbol,
        uint8 newDecimals
    ) external override onlyOwner {
        _name = newName;
        _symbol = newSymbol;
        _decimals = newDecimals;

        emit ChangeMetadata(newName, newSymbol, newDecimals);
    }

    /// @notice Override the ERC-1155 token api metadata URI, this is needed since we want to change it to include the chain slug.
    function setURI(string memory newURI) external override onlyOwner {
        string memory oldURI = uri(0);
        _setURI(newURI);

        emit URIUpdated(oldURI, newURI);
    }

    /** ERC-20 METADATA COMPATIBILITY **/

    /// @notice The name of the token collection.
    function name() external view override returns (string memory) {
        return _name;
    }

    /// @notice The shorthand symbol of the token collection.
    function symbol() external view override returns (string memory) {
        return _symbol;
    }

    /// @notice The amount of decimals of individual tokens.
    function decimals() external view override returns (uint8) {
        return _decimals;
    }

    /** ERC-1155 nonReentrant modification to reduce risks **/

    /// @notice override safeTransferFrom with nonReentrant modifier to safeguard system properties.
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override nonReentrant {
        super.safeTransferFrom(from, to, id, amount, data);
    }

    /// @notice override safeBatchTransferFrom with nonReentrant modifier to safeguard system properties.
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override nonReentrant {
        super.safeBatchTransferFrom(from, to, ids, amounts, data);
    }
}

// File contracts/vaultchef/WhitelistedVaultChef.sol
// License-Identifier: MIT

pragma solidity ^0.8.6;

contract WhitelistedVaultChef is VaultChef {
    mapping(address => bool) public whitelisted;
    address[] public whitelist;

    event UserWhitelisted(address indexed user);

    constructor(address _owner) VaultChef(_owner) {
        // Required for minting and burning
        _addToWhitelist(address(this));
        _addToWhitelist(address(0));
    }

    modifier onlyWhitelisted() {
        require(whitelisted[msg.sender], "!not whitelisted");
        _;
    }
    function addToWhitelist(address user) public onlyOwner {
        _addToWhitelist(user);
    }


    function addMultipleToWhitelist(address[] calldata users) external onlyOwner {
        for(uint256 i = 0; i < users.length; i++) {
            _addToWhitelist(users[i]);
        }
    }


    function _addToWhitelist(address user) internal {
        require(!whitelisted[user], "!already whitelisted");
        whitelisted[user] = true;
        whitelist.push(user);

        emit UserWhitelisted(user);
    }
    function depositUnderlying(
        uint256 vaultId,
        uint256 underlyingAmount,
        bool pulled,
        uint256 minSharesReceived
    ) public override onlyWhitelisted returns (uint256 sharesReceived) {
        return super.depositUnderlying(vaultId, underlyingAmount, pulled, minSharesReceived);
    }

    function withdrawShares(
        uint256 vaultId,
        uint256 shares,
        uint256 minUnderlyingReceived
    ) public override onlyWhitelisted returns (uint256 underlyingReceived) {
        return super.withdrawShares(vaultId, shares, minUnderlyingReceived);
    }

    function withdrawSharesTo(
        uint256 vaultId,
        uint256 shares,
        uint256 minUnderlyingReceived,
        address to
    ) public override onlyWhitelisted returns (uint256 underlyingReceived) {
        require(whitelisted[to], "!to not whitelisted");
        return super.withdrawSharesTo(vaultId, shares, minUnderlyingReceived, to);
    }

    function harvest(uint256 vaultId) public override onlyWhitelisted returns (uint256 underlyingIncrease) {
        return super.harvest(vaultId);
    }

    function deposit(uint256 _pid, uint256 _amount) public override onlyWhitelisted {
        super.deposit(_pid, _amount);
    }

    function withdraw(uint256 _pid, uint256 _amount) public override onlyWhitelisted {
        super.withdraw(_pid, _amount);
    }

    function emergencyWithdraw(uint256 _pid) public override onlyWhitelisted {
        super.emergencyWithdraw(_pid);
    }
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override onlyWhitelisted {
        require(whitelisted[from], "!from not whitelisted");
        require(whitelisted[to], "!to not whitelisted");
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }

    function whitelistLength() external view returns (uint256) {
        return whitelist.length;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newName","type":"string"},{"indexed":false,"internalType":"string","name":"newSymbol","type":"string"},{"indexed":false,"internalType":"uint256","name":"newDecimals","type":"uint256"}],"name":"ChangeMetadata","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"vaultId","type":"uint256"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"sharesAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"underlyingAmountReceived","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"InCaseTokenStuck","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":"previousPendingOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newPendingOwner","type":"address"}],"name":"PendingOwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"depositor","type":"address"},{"indexed":true,"internalType":"bool","name":"allowPulls","type":"bool"}],"name":"PullDepositorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"oldURI","type":"string"},{"indexed":false,"internalType":"string","name":"newURI","type":"string"}],"name":"URIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"}],"name":"UserWhitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"vaultId","type":"uint256"},{"indexed":true,"internalType":"contract IStrategy","name":"strategy","type":"address"},{"indexed":false,"internalType":"uint256","name":"performanceFeeBP","type":"uint256"}],"name":"VaultAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"vaultId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"underlyingIncrease","type":"uint256"}],"name":"VaultHarvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"vaultId","type":"uint256"},{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"VaultInCaseTokenStuck","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"vaultId","type":"uint256"}],"name":"VaultPanicked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"vaultId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"paused","type":"bool"}],"name":"VaultPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"vaultId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"performanceFeeBP","type":"uint256"}],"name":"VaultPerformanceFeeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"vaultId","type":"uint256"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"sharesAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"underlyingAmountReceived","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"}],"name":"addMultipleToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IStrategy","name":"strategy","type":"address"},{"internalType":"uint16","name":"performanceFeeBP","type":"uint16"}],"name":"addVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"canDoPullDeposits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"newName","type":"string"},{"internalType":"string","name":"newSymbol","type":"string"},{"internalType":"uint8","name":"newDecimals","type":"uint8"}],"name":"changeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultId","type":"uint256"},{"internalType":"uint256","name":"underlyingAmount","type":"uint256"},{"internalType":"bool","name":"pulled","type":"bool"},{"internalType":"uint256","name":"minSharesReceived","type":"uint256"}],"name":"depositUnderlying","outputs":[{"internalType":"uint256","name":"sharesReceived","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultId","type":"uint256"}],"name":"harvest","outputs":[{"internalType":"uint256","name":"underlyingIncrease","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultId","type":"uint256"},{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"inCaseVaultTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultId","type":"uint256"}],"name":"isValidVault","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultId","type":"uint256"}],"name":"panicVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultId","type":"uint256"},{"internalType":"bool","name":"paused","type":"bool"}],"name":"pauseVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultId","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint256","name":"_lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"_accTokenPerShare","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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPendingOwner","type":"address"}],"name":"setPendingOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pullDepositor","type":"address"},{"internalType":"bool","name":"isAllowed","type":"bool"}],"name":"setPullDepositor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultId","type":"uint256"},{"internalType":"uint16","name":"performanceFeeBP","type":"uint16"}],"name":"setVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IStrategy","name":"","type":"address"}],"name":"strategyExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IStrategy","name":"","type":"address"}],"name":"strategyVaultId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultId","type":"uint256"}],"name":"totalUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultId","type":"uint256"},{"internalType":"address","name":"user","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":"vaultId","type":"uint256"}],"name":"vaultInfo","outputs":[{"components":[{"internalType":"contract IERC20","name":"underlyingToken","type":"address"},{"internalType":"uint96","name":"lastHarvestTimestamp","type":"uint96"},{"internalType":"contract IStrategy","name":"strategy","type":"address"},{"internalType":"uint16","name":"performanceFeeBP","type":"uint16"},{"internalType":"bool","name":"paused","type":"bool"},{"internalType":"bool","name":"panicked","type":"bool"}],"internalType":"struct IVaultChefCore.Vault","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultId","type":"uint256"},{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"minUnderlyingReceived","type":"uint256"}],"name":"withdrawShares","outputs":[{"internalType":"uint256","name":"underlyingReceived","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultId","type":"uint256"},{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"minUnderlyingReceived","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawSharesTo","outputs":[{"internalType":"uint256","name":"underlyingReceived","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]

60e0604052601460a08190527f56696f6c696e205661756c74205265636569707400000000000000000000000060c090815262000040916009919062000283565b50604080518082019091526006808252651d95985d5b1d60d21b60209092019182526200007091600a9162000283565b50600b805460ff191660121790553480156200008b57600080fd5b50604051620061ed380380620061ed833981016040819052620000ae9162000329565b806040518060600160405280602b8152602001620061c2602b9139620000d48162000113565b50620000e0336200012c565b600160065543608052620000f4816200012c565b50620001003062000189565b6200010c600062000189565b5062000398565b80516200012890600290602084019062000283565b5050565b600480546001600160a01b038381166001600160a01b03198084168217909455600580549094169093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0381166000908152600f602052604090205460ff1615620001f75760405162461bcd60e51b815260206004820152601460248201527f21616c72656164792077686974656c6973746564000000000000000000000000604482015260640160405180910390fd5b6001600160a01b0381166000818152600f6020526040808220805460ff1916600190811790915560108054918201815583527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720180546001600160a01b03191684179055517f7409cb8e690bcd1487fd4fd27dad3fa92388d201ba6f953631d6d6b26299f8499190a250565b82805462000291906200035b565b90600052602060002090601f016020900481019282620002b5576000855562000300565b82601f10620002d057805160ff191683800117855562000300565b8280016001018555821562000300579182015b8281111562000300578251825591602001919060010190620002e3565b506200030e92915062000312565b5090565b5b808211156200030e576000815560010162000313565b6000602082840312156200033c57600080fd5b81516001600160a01b03811681146200035457600080fd5b9392505050565b600181811c908216806200037057607f821691505b602082108114156200039257634e487b7160e01b600052602260045260246000fd5b50919050565b608051615e0e620003b460003960006104cc0152615e0e6000f3fe608060405234801561001057600080fd5b50600436106103355760003560e01c806378bb5164116101b2578063bd85b039116100f9578063ddc63262116100a2578063e3f62d5d1161007c578063e3f62d5d146107ad578063e43252d7146107d0578063e985e9c5146107e3578063f242432a1461081f57600080fd5b8063ddc6326214610774578063e2bbb15814610787578063e30c39781461079a57600080fd5b8063ce192fc9116100d3578063ce192fc91461072b578063d23c437f1461073e578063d936547e1461075157600080fd5b8063bd85b039146106f2578063c42069ec14610705578063cde3d5f11461071857600080fd5b8063929060d81161015b578063a049657011610135578063a0496570146106b7578063a22cb465146106ca578063b5da3a38146106dd57600080fd5b8063929060d81461060557806393f1a40b1461068757806395d89b41146106af57600080fd5b80638401f8d11161018c5780638401f8d1146105d9578063880ad0af146105ec5780638da5cb5b146105f457600080fd5b806378bb5164146105865780637ae3780d1461058e5780637ebd1b30146105ae57600080fd5b8063313ce567116102815780634b30b4221161022a5780635312ea8e116102045780635312ea8e1461054557806364ee87de14610558578063661ac7b11461056b578063715018a61461057e57600080fd5b80634b30b422146104f05780634e1273f4146105035780634f558e791461052357600080fd5b806341f3b9961161025b57806341f3b996146104a4578063441a3e70146104b757806348cd4cb1146104ca57600080fd5b8063313ce56714610459578063324625861461046e57806332bccfb21461048157600080fd5b80631526fe27116102e35780631939bbc1116102bd5780631939bbc114610420578063215f5c66146104335780632eb2c2d61461044657600080fd5b80631526fe27146103c857806317caf6f114610405578063181eeb2c1461040d57600080fd5b806306fdde031161031457806306fdde0314610398578063081e3eda146103ad5780630e89341c146103b557600080fd5b8062fdd58e1461033a57806301ffc9a71461036057806302fe530514610383575b600080fd5b61034d6103483660046154c1565b610832565b6040519081526020015b60405180910390f35b61037361036e366004615652565b6108db565b6040519015158152602001610357565b6103966103913660046156de565b610978565b005b6103a0610a14565b6040516103579190615ab3565b60075461034d565b6103a06103c3366004615799565b610aa6565b6103db6103d6366004615799565b610b3a565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610357565b600c5461034d565b61034d61041b3660046158c6565b610c04565b61039661042e366004615343565b610c6b565b61039661044136600461571b565b610e1e565b61039661045436600461537c565b610ede565b600b5460405160ff9091168152602001610357565b61034d61047c3660046158f5565b610f3d565b61037361048f366004615326565b60086020526000908152604090205460ff1681565b6103966104b2366004615493565b610fa4565b6103966104c5366004615880565b6110e3565b7f000000000000000000000000000000000000000000000000000000000000000061034d565b6103966104fe366004615799565b611143565b610516610511366004615562565b611361565b6040516103579190615a7b565b610373610531366004615799565b600090815260036020526040902054151590565b610396610553366004615799565b61149f565b6103966105663660046157f0565b6114fd565b61034d610579366004615921565b6115de565b6103966116a4565b60105461034d565b61034d61059c366004615326565b600e6020526000908152604090205481565b6105c16105bc366004615799565b6116f8565b6040516001600160a01b039091168152602001610357565b6103966105e73660046154ed565b611722565b6103966117bb565b6004546001600160a01b03166105c1565b610618610613366004615799565b6118d7565b6040516103579190600060c0820190506001600160a01b038084511683526bffffffffffffffffffffffff60208501511660208401528060408501511660408401525061ffff606084015116606083015260808301511515608083015260a0830151151560a083015292915050565b61069a6106953660046157cb565b6119ee565b60408051928352602083019190915201610357565b6103a0611b18565b61034d6106c5366004615799565b611b27565b6103966106d8366004615493565b611c05565b6103736106eb366004615799565b6007541190565b61034d610700366004615799565b611cf0565b610396610713366004615326565b611d04565b61039661072636600461585d565b611dab565b6103966107393660046156a9565b611f5b565b61039661074c366004615815565b61201f565b61037361075f366004615326565b600f6020526000908152604090205460ff1681565b61034d610782366004615799565b612459565b610396610795366004615880565b6124b9565b6005546105c1906001600160a01b031681565b6103736107bb366004615326565b600d6020526000908152604090205460ff1681565b6103966107de366004615326565b612515565b6103736107f1366004615343565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61039661082d36600461542a565b612566565b60006001600160a01b0383166108b55760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b031982167fd9b67a2600000000000000000000000000000000000000000000000000000000148061093e57506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061097257507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6004546001600160a01b031633146109c05760405162461bcd60e51b81526020600482018190526024820152600080516020615db983398151915260448201526064016108ac565b60006109cc6000610aa6565b90506109d7826125b9565b7f927a41e440ce6a96781dbee2e5693388ce49325e4729d62114f699d43dea385e8183604051610a08929190615ac6565b60405180910390a15050565b606060098054610a2390615be4565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4f90615be4565b8015610a9c5780601f10610a7157610100808354040283529160200191610a9c565b820191906000526020600020905b815481529060010190602001808311610a7f57829003601f168201915b5050505050905090565b606060028054610ab590615be4565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae190615be4565b8015610b2e5780601f10610b0357610100808354040283529160200191610b2e565b820191906000526020600020905b815481529060010190602001808311610b1157829003601f168201915b50505050509050919050565b600080600080846007805490508110610b815760405162461bcd60e51b8152602060048201526009602482015268085b9bc81d985d5b1d60ba1b60448201526064016108ac565b600060078781548110610b9657610b96615c8d565b906000526020600020906002020160010160169054906101000a900460ff16610bc0576001610bc3565b60005b60ff16905060078781548110610bdb57610bdb615c8d565b60009182526020822060029190910201546001600160a01b031698919750955085945092505050565b336000908152600f602052604081205460ff16610c565760405162461bcd60e51b815260206004820152601060248201526f085b9bdd081dda1a5d195b1a5cdd195960821b60448201526064016108ac565b610c62858585856125cc565b95945050505050565b6004546001600160a01b03163314610cb35760405162461bcd60e51b81526020600482018190526024820152600080516020615db983398151915260448201526064016108ac565b60026006541415610cf45760405162461bcd60e51b815260206004820152601f6024820152600080516020615d9983398151915260448201526064016108ac565b60026006556001600160a01b038116610d375760405162461bcd60e51b8152602060048201526005602482015264217a65726f60d81b60448201526064016108ac565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a082319060240160206040518083038186803b158015610d7957600080fd5b505afa158015610d8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db191906157b2565b9050610dc76001600160a01b0384168383612a7c565b816001600160a01b0316836001600160a01b03167f3efa79200d9ba2e6620549e323094ea02cd2ce4643d5a9848300fdfc73cc6bf083604051610e0c91815260200190565b60405180910390a35050600160065550565b6004546001600160a01b03163314610e665760405162461bcd60e51b81526020600482018190526024820152600080516020615db983398151915260448201526064016108ac565b8251610e79906009906020860190615190565b508151610e8d90600a906020850190615190565b50600b805460ff191660ff83161790556040517ffd39229047c7bff3f4fe35a03235de35468c3a40c81742e06df54b7d8c0b69e290610ed190859085908590615aeb565b60405180910390a1505050565b60026006541415610f1f5760405162461bcd60e51b815260206004820152601f6024820152600080516020615d9983398151915260448201526064016108ac565b6002600655610f318585858585612b0d565b50506001600655505050565b336000908152600f602052604081205460ff16610f8f5760405162461bcd60e51b815260206004820152601060248201526f085b9bdd081dda1a5d195b1a5cdd195960821b60448201526064016108ac565b610f9a848484612baf565b90505b9392505050565b6004546001600160a01b03163314610fec5760405162461bcd60e51b81526020600482018190526024820152600080516020615db983398151915260448201526064016108ac565b6002600654141561102d5760405162461bcd60e51b815260206004820152601f6024820152600080516020615d9983398151915260448201526064016108ac565b60026006556001600160a01b03821660009081526008602052604090205460ff161515811515141561108a5760405162461bcd60e51b81526004016108ac90602080825260049082015263085cd95d60e21b604082015260600190565b6001600160a01b038216600081815260086020526040808220805460ff191685151590811790915590519092917f7b37e6ccec64f609193fb5822b7e7327dacd6df08d00fc79d2170614aedc5e4891a350506001600655565b336000908152600f602052604090205460ff166111355760405162461bcd60e51b815260206004820152601060248201526f085b9bdd081dda1a5d195b1a5cdd195960821b60448201526064016108ac565b61113f8282612df3565b5050565b6004546001600160a01b0316331461118b5760405162461bcd60e51b81526020600482018190526024820152600080516020615db983398151915260448201526064016108ac565b600754819081106111ca5760405162461bcd60e51b8152602060048201526009602482015268085b9bc81d985d5b1d60ba1b60448201526064016108ac565b6002600654141561120b5760405162461bcd60e51b815260206004820152601f6024820152600080516020615d9983398151915260448201526064016108ac565b600260068190555060006007838154811061122857611228615c8d565b906000526020600020906002020190508060010160179054906101000a900460ff16156112835760405162461bcd60e51b8152602060048201526009602482015268085c185b9a58dad95960ba1b60448201526064016108ac565b6001810154600160b01b900460ff166112a1576112a1836001612f56565b60018101805460ff60b81b198116600160b81b17909155604080517f4700d30500000000000000000000000000000000000000000000000000000000815290516001600160a01b0390921691634700d3059160048082019260009290919082900301818387803b15801561131457600080fd5b505af1158015611328573d6000803e3d6000fd5b50506040518592507f7d92b43e7c53a09f584f40d37dd9c01e5efa719c4765332eb18a7b636c9784099150600090a25050600160065550565b606081518351146113da5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016108ac565b6000835167ffffffffffffffff8111156113f6576113f6615ca3565b60405190808252806020026020018201604052801561141f578160200160208202803683370190505b50905060005b84518110156114975761146a85828151811061144357611443615c8d565b602002602001015185838151811061145d5761145d615c8d565b6020026020010151610832565b82828151811061147c5761147c615c8d565b602090810291909101015261149081615c46565b9050611425565b509392505050565b336000908152600f602052604090205460ff166114f15760405162461bcd60e51b815260206004820152601060248201526f085b9bdd081dda1a5d195b1a5cdd195960821b60448201526064016108ac565b6114fa8161300b565b50565b6004546001600160a01b031633146115455760405162461bcd60e51b81526020600482018190526024820152600080516020615db983398151915260448201526064016108ac565b600754829081106115845760405162461bcd60e51b8152602060048201526009602482015268085b9bc81d985d5b1d60ba1b60448201526064016108ac565b600260065414156115c55760405162461bcd60e51b815260206004820152601f6024820152600080516020615d9983398151915260448201526064016108ac565b60026006556115d48383612f56565b5050600160065550565b336000908152600f602052604081205460ff166116305760405162461bcd60e51b815260206004820152601060248201526f085b9bdd081dda1a5d195b1a5cdd195960821b60448201526064016108ac565b6001600160a01b0382166000908152600f602052604090205460ff166116985760405162461bcd60e51b815260206004820152601360248201527f21746f206e6f742077686974656c69737465640000000000000000000000000060448201526064016108ac565b610c628585858561306a565b6004546001600160a01b031633146116ec5760405162461bcd60e51b81526020600482018190526024820152600080516020615db983398151915260448201526064016108ac565b6116f660006132fd565b565b6010818154811061170857600080fd5b6000918252602090912001546001600160a01b0316905081565b6004546001600160a01b0316331461176a5760405162461bcd60e51b81526020600482018190526024820152600080516020615db983398151915260448201526064016108ac565b60005b818110156117b6576117a483838381811061178a5761178a615c8d565b905060200201602081019061179f9190615326565b613367565b806117ae81615c46565b91505061176d565b505050565b6005546001600160a01b0316336001600160a01b0316146118445760405162461bcd60e51b815260206004820152602760248201527f4f776e61626c653a2063616c6c6572206973206e6f74207468652070656e646960448201527f6e674f776e65720000000000000000000000000000000000000000000000000060648201526084016108ac565b6005546001600160a01b03166118c25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108ac565b6005546116f6906001600160a01b03166132fd565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a0810191909152600754829081106119485760405162461bcd60e51b8152602060048201526009602482015268085b9bc81d985d5b1d60ba1b60448201526064016108ac565b6007838154811061195b5761195b615c8d565b60009182526020918290206040805160c081018252600290930290910180546001600160a01b0380821685526bffffffffffffffffffffffff600160a01b9283900416958501959095526001909101549384169183019190915261ffff90830416606082015260ff600160b01b8304811615156080830152600160b81b909204909116151560a082015291505b50919050565b600080836007805490508110611a325760405162461bcd60e51b8152602060048201526009602482015268085b9bc81d985d5b1d60ba1b60448201526064016108ac565b6000611a3d86611cf0565b905060008115611b075781611a528789610832565b60078981548110611a6557611a65615c8d565b600091825260209182902060016002909202010154604080516331c2482f60e21b815290516001600160a01b039092169263c70920bc92600480840193829003018186803b158015611ab657600080fd5b505afa158015611aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aee91906157b2565b611af89190615b82565b611b029190615b60565b611b0a565b60005b976000975095505050505050565b6060600a8054610a2390615be4565b60075460009082908110611b695760405162461bcd60e51b8152602060048201526009602482015268085b9bc81d985d5b1d60ba1b60448201526064016108ac565b60078381548110611b7c57611b7c615c8d565b600091825260209182902060016002909202010154604080516331c2482f60e21b815290516001600160a01b039092169263c70920bc92600480840193829003018186803b158015611bcd57600080fd5b505afa158015611be1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9d91906157b2565b336001600160a01b0383161415611c845760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016108ac565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600081815260036020526040812054610972565b6004546001600160a01b03163314611d4c5760405162461bcd60e51b81526020600482018190526024820152600080516020615db983398151915260448201526064016108ac565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f1e1c2f9f5b763f63f56cae5a9a406c263521f324917ae0fe29e5cf9955e81ec890600090a35050565b6004546001600160a01b03163314611df35760405162461bcd60e51b81526020600482018190526024820152600080516020615db983398151915260448201526064016108ac565b60075482908110611e325760405162461bcd60e51b8152602060048201526009602482015268085b9bc81d985d5b1d60ba1b60448201526064016108ac565b60026006541415611e735760405162461bcd60e51b815260206004820152601f6024820152600080516020615d9983398151915260448201526064016108ac565b60026006556103e861ffff83161115611eb75760405162461bcd60e51b8152602060048201526006602482015265085d985b1a5960d21b60448201526064016108ac565b600060078481548110611ecc57611ecc615c8d565b6000918252602091829020600291909102016001810180547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff16600160a01b61ffff88169081029190911790915560405190815290925085917ff02ed140436d9ffdae9753b8b5eee795873d3949a4d17379ee696f5ed324da4d910160405180910390a2505060016006555050565b6001600160a01b0382166000908152600d602052604090205460ff1615611fc45760405162461bcd60e51b815260206004820152600760248201527f216578697374730000000000000000000000000000000000000000000000000060448201526064016108ac565b6001600160a01b0382166000908152600d60209081526040808320805460ff19166001908117909155600754600e90935290832091909155600c80549192909161200f908490615b48565b9091555061113f90508282613469565b6004546001600160a01b031633146120675760405162461bcd60e51b81526020600482018190526024820152600080516020615db983398151915260448201526064016108ac565b600754849081106120a65760405162461bcd60e51b8152602060048201526009602482015268085b9bc81d985d5b1d60ba1b60448201526064016108ac565b600260065414156120e75760405162461bcd60e51b815260206004820152601f6024820152600080516020615d9983398151915260448201526064016108ac565b60026006819055508460006007828154811061210557612105615c8d565b600091825260208083206040805160c08101825260029490940290910180546001600160a01b038082168652600160a01b918290046bffffffffffffffffffffffff168686015260019092015491821685840181905290820461ffff166060860152600160b01b820460ff90811615156080870152600160b81b909204909116151560a085015281516331c2482f60e21b815291519395509263c70920bc92600480840193919291829003018186803b1580156121c157600080fd5b505afa1580156121d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f991906157b2565b90506001600160a01b0386166122395760405162461bcd60e51b8152602060048201526005602482015264217a65726f60d81b60448201526064016108ac565b60006007898154811061224e5761224e615c8d565b6000918252602090912060029091020180549091506001600160a01b03898116911614156122be5760405162461bcd60e51b815260206004820152600b60248201527f21756e6465726c79696e6700000000000000000000000000000000000000000060448201526064016108ac565b60018101546040517f67206d400000000000000000000000000000000000000000000000000000000081526001600160a01b038a81166004830152602482018990528981166044830152909116906367206d4090606401600060405180830381600087803b15801561232f57600080fd5b505af1158015612343573d6000803e3d6000fd5b50505050866001600160a01b0316886001600160a01b03168a7f972618f3b15dd25e2724d45b15a9b96facf12fe259754132d6d57678793af9008960405161238d91815260200190565b60405180910390a450600082604001516001600160a01b031663c70920bc6040518163ffffffff1660e01b815260040160206040518083038186803b1580156123d557600080fd5b505afa1580156123e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061240d91906157b2565b9050818110156124495760405162461bcd60e51b815260206004820152600760248201526621756e7361666560c81b60448201526064016108ac565b5050600160065550505050505050565b336000908152600f602052604081205460ff166124ab5760405162461bcd60e51b815260206004820152601060248201526f085b9bdd081dda1a5d195b1a5cdd195960821b60448201526064016108ac565b61097282613713565b919050565b336000908152600f602052604090205460ff1661250b5760405162461bcd60e51b815260206004820152601060248201526f085b9bdd081dda1a5d195b1a5cdd195960821b60448201526064016108ac565b61113f828261381a565b6004546001600160a01b0316331461255d5760405162461bcd60e51b81526020600482018190526024820152600080516020615db983398151915260448201526064016108ac565b6114fa81613367565b600260065414156125a75760405162461bcd60e51b815260206004820152601f6024820152600080516020615d9983398151915260448201526064016108ac565b6002600655610f318585858585613827565b805161113f906002906020840190615190565b6007546000908590811061260e5760405162461bcd60e51b8152602060048201526009602482015268085b9bc81d985d5b1d60ba1b60448201526064016108ac565b6002600654141561264f5760405162461bcd60e51b815260206004820152601f6024820152600080516020615d9983398151915260448201526064016108ac565b600260065561265d866138c2565b5060006007878154811061267357612673615c8d565b60009182526020918290206040805160c081018252600290930290910180546001600160a01b0380821685526bffffffffffffffffffffffff600160a01b9283900416958501959095526001909101549384169183019190915261ffff90830416606082015260ff600160b01b830481161580156080840152600160b81b90930416151560a082015291506127345760405162461bcd60e51b8152602060048201526007602482015266085c185d5cd95960ca1b60448201526064016108ac565b600061273f88611cf0565b905060008083604001516001600160a01b031663432b05cc6040518163ffffffff1660e01b8152600401604080518083038186803b15801561278057600080fd5b505afa158015612794573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127b891906158a2565b915091506127d0846000015185604001518b8b613b44565b60408086015190517fb6b55f2500000000000000000000000000000000000000000000000000000000815260048101839052919a506001600160a01b03169063b6b55f2590602401600060405180830381600087803b15801561283257600080fd5b505af1158015612846573d6000803e3d6000fd5b5050505060008085604001516001600160a01b031663432b05cc6040518163ffffffff1660e01b8152600401604080518083038186803b15801561288957600080fd5b505afa15801561289d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128c191906158a2565b90925090506128d08382615ba1565b9a50600085158015906128e257508415155b6128ec578b612901565b846128f7878e615b82565b6129019190615b60565b905061291e338e8360405180602001604052806000815250613d54565b6129278d611cf0565b6129319086615b82565b61293b8785615b82565b101580612946575085155b61295257612952615c61565b6e01ed09bead87c0378d8e640000000083111561299b5760405162461bcd60e51b815260206004820152600760248201526621756e7361666560c81b60448201526064016108ac565b898110156129eb5760405162461bcd60e51b815260206004820152601160248201527f216d696e206e6f7420726563656976656400000000000000000000000000000060448201526064016108ac565b60008111612a2a5760405162461bcd60e51b815260206004820152600c60248201526b217a65726f2073686172657360a01b60448201526064016108ac565b60408051828152602081018e905233918f917fd36a2f67d06d285786f61a32b052b9ace6b0b7abef5177b54358abdc83a0b69b910160405180910390a360016006559c9b505050505050505050505050565b6040516001600160a01b0383166024820152604481018290526117b69084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b031990931692909217909152613d89565b6001600160a01b038516331480612b295750612b2985336107f1565b612b9b5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016108ac565b612ba88585858585613e6e565b5050505050565b60075460009084908110612bf15760405162461bcd60e51b8152602060048201526009602482015268085b9bc81d985d5b1d60ba1b60448201526064016108ac565b846000612bfd82611cf0565b9050600060078381548110612c1457612c14615c8d565b906000526020600020906002020160010160009054906101000a90046001600160a01b031690506000816001600160a01b031663c70920bc6040518163ffffffff1660e01b815260040160206040518083038186803b158015612c7657600080fd5b505afa158015612c8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cae91906157b2565b905060026006541415612cf15760405162461bcd60e51b815260206004820152601f6024820152600080516020615d9983398151915260448201526064016108ac565b6002600655612d028989893361414d565b9550600160065582612d1657505050612dea565b6000826001600160a01b031663c70920bc6040518163ffffffff1660e01b815260040160206040518083038186803b158015612d5157600080fd5b505afa158015612d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d8991906157b2565b90506000612d9686611cf0565b9050612da28184615b82565b612dac8684615b82565b1015612de45760405162461bcd60e51b815260206004820152600760248201526621756e7361666560c81b60448201526064016108ac565b50505050505b50509392505050565b60075482908110612e325760405162461bcd60e51b8152602060048201526009602482015268085b9bc81d985d5b1d60ba1b60448201526064016108ac565b600060078481548110612e4757612e47615c8d565b600091825260209182902060016002909202010154604080516331c2482f60e21b815290516001600160a01b039092169263c70920bc92600480840193829003018186803b158015612e9857600080fd5b505afa158015612eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed091906157b2565b905080612f1f5760405162461bcd60e51b815260206004820152600660248201527f21656d707479000000000000000000000000000000000000000000000000000060448201526064016108ac565b60008184612f2c87611cf0565b612f369190615b82565b612f409190615b60565b9050612f4e85826000610f3d565b505050505050565b60078281548110612f6957612f69615c8d565b906000526020600020906002020160010160169054906101000a900460ff1615158115151415612fc45760405162461bcd60e51b81526004016108ac90602080825260049082015263085cd95d60e21b604082015260600190565b8015612fe8576001600c6000828254612fdd9190615ba1565b909155506130019050565b6001600c6000828254612ffb9190615b48565b90915550505b61113f8282614551565b6007548190811061304a5760405162461bcd60e51b8152602060048201526009602482015268085b9bc81d985d5b1d60ba1b60448201526064016108ac565b60006130563384610832565b905061306483826000610f3d565b50505050565b600754600090859081106130ac5760405162461bcd60e51b8152602060048201526009602482015268085b9bc81d985d5b1d60ba1b60448201526064016108ac565b8560006130b882611cf0565b90506000600783815481106130cf576130cf615c8d565b906000526020600020906002020160010160009054906101000a90046001600160a01b031690506000816001600160a01b031663c70920bc6040518163ffffffff1660e01b815260040160206040518083038186803b15801561313157600080fd5b505afa158015613145573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061316991906157b2565b9050600260065414156131ac5760405162461bcd60e51b815260206004820152601f6024820152600080516020615d9983398151915260448201526064016108ac565b6002600655333b6131ff5760405162461bcd60e51b815260206004820152600c60248201527f21746f207068697368696e67000000000000000000000000000000000000000060448201526064016108ac565b61320b8a8a8a8a61414d565b955060016006558261321f575050506132f3565b6000826001600160a01b031663c70920bc6040518163ffffffff1660e01b815260040160206040518083038186803b15801561325a57600080fd5b505afa15801561326e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061329291906157b2565b9050600061329f86611cf0565b90506132ab8184615b82565b6132b58684615b82565b10156132ed5760405162461bcd60e51b815260206004820152600760248201526621756e7361666560c81b60448201526064016108ac565b50505050505b5050949350505050565b600480546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff198084168217909455600580549094169093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0381166000908152600f602052604090205460ff16156133d05760405162461bcd60e51b815260206004820152601460248201527f21616c72656164792077686974656c697374656400000000000000000000000060448201526064016108ac565b6001600160a01b0381166000818152600f6020526040808220805460ff1916600190811790915560108054918201815583527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae67201805473ffffffffffffffffffffffffffffffffffffffff191684179055517f7409cb8e690bcd1487fd4fd27dad3fa92388d201ba6f953631d6d6b26299f8499190a250565b6004546001600160a01b031633146134b15760405162461bcd60e51b81526020600482018190526024820152600080516020615db983398151915260448201526064016108ac565b600260065414156134f25760405162461bcd60e51b815260206004820152601f6024820152600080516020615d9983398151915260448201526064016108ac565b60026006556103e861ffff821611156135365760405162461bcd60e51b8152602060048201526006602482015265085d985b1a5960d21b60448201526064016108ac565b60076040518060c00160405280846001600160a01b0316632495a5996040518163ffffffff1660e01b815260040160206040518083038186803b15801561357c57600080fd5b505afa158015613590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135b4919061568c565b6001600160a01b03908116825260006020808401829052878316604080860182905261ffff898116606080890191909152608080890187905260a09889018790528a5460018082018d559b8852968690208a51968b0151968916600160a01b6bffffffffffffffffffffffff90981688021760029098020196875592890151958a018054918a0151938a01519990980151959096167fffffffffffffffffffff00000000000000000000000000000000000000000000909616959095179416909102929092177fffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffff16600160b01b9415159490940260ff60b81b191693909317600160b81b9315159390930292909217905560075490916136d391615ba1565b60405161ffff841681527fe5aa23fc3cd3497e4f2914b1c75cb9f6f38a95bf82277c2c6c94b625e2e399e19060200160405180910390a350506001600655565b600754600090829081106137555760405162461bcd60e51b8152602060048201526009602482015268085b9bc81d985d5b1d60ba1b60448201526064016108ac565b600260065414156137965760405162461bcd60e51b815260206004820152601f6024820152600080516020615d9983398151915260448201526064016108ac565b600260065560078054849081106137af576137af615c8d565b906000526020600020906002020160010160169054906101000a900460ff16156138055760405162461bcd60e51b8152602060048201526007602482015266085c185d5cd95960ca1b60448201526064016108ac565b61380e836138c2565b60016006559392505050565b6117b68282600080610c04565b6001600160a01b038516331480613843575061384385336107f1565b6138b55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016108ac565b612ba88585858585614688565b600080600783815481106138d8576138d8615c8d565b60009182526020808320600160029093020191820154604080516331c2482f60e21b815290519395506001600160a01b039091169392849263c70920bc9260048082019391829003018186803b15801561393157600080fd5b505afa158015613945573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061396991906157b2565b9050816001600160a01b0316634641257d6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156139a657600080fd5b505af11580156139ba573d6000803e3d6000fd5b505050506000826001600160a01b031663c70920bc6040518163ffffffff1660e01b815260040160206040518083038186803b1580156139f957600080fd5b505afa158015613a0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a3191906157b2565b9050613a3d8282615ba1565b84546bffffffffffffffffffffffff4216600160a01b026001600160a01b0390911617855594506000613a786004546001600160a01b031690565b9050600086118015613a9257506001600160a01b03811615155b15613b00576001850154600090612710908490600160a01b900461ffff16613ab98b611cf0565b613ac3908b615b82565b613acd9190615b82565b613ad79190615b60565b613ae19190615b60565b9050613afe82898360405180602001604052806000815250613d54565b505b867f66f92fe49933a34399778ab0220bb497297ecdfa463d7b8120928ff17de5904187604051613b3291815260200190565b60405180910390a25050505050919050565b6040516370a0823160e01b81526001600160a01b03848116600483015260009182918716906370a082319060240160206040518083038186803b158015613b8a57600080fd5b505afa158015613b9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bc291906157b2565b905082613be357613bde6001600160a01b03871633878761489b565b613cc4565b3360009081526008602052604090205460ff16613c425760405162461bcd60e51b815260206004820152600a60248201527f2177686974656c6973740000000000000000000000000000000000000000000060448201526064016108ac565b6040517fafb1fbd90000000000000000000000000000000000000000000000000000000081526001600160a01b0380881660048301526024820186905286166044820152339063afb1fbd990606401600060405180830381600087803b158015613cab57600080fd5b505af1158015613cbf573d6000803e3d6000fd5b505050505b6040516370a0823160e01b81526001600160a01b0386811660048301528291908816906370a082319060240160206040518083038186803b158015613d0857600080fd5b505afa158015613d1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d4091906157b2565b613d4a9190615ba1565b9695505050505050565b613d60848484846148ec565b60008381526003602052604081208054849290613d7e908490615b48565b909155505050505050565b6000613dde826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614a029092919063ffffffff16565b8051909150156117b65780806020019051810190613dfc9190615635565b6117b65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016108ac565b8151835114613ee55760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016108ac565b6001600160a01b038516613f4b5760405162461bcd60e51b815260206004820152602760248201527f455243313135353a207472616e736665722066726f6d20746865207a65726f206044820152666164647265737360c81b60648201526084016108ac565b6001600160a01b038416613faf5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016108ac565b33613fbe818787878787614a11565b60005b84518110156140e7576000858281518110613fde57613fde615c8d565b602002602001015190506000858381518110613ffc57613ffc615c8d565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561408f5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016108ac565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906140cc908490615b48565b92505081905550505050806140e090615c46565b9050613fc1565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051614137929190615a8e565b60405180910390a4612f4e818787878787614b38565b60008361415a3387610832565b10156141a85760405162461bcd60e51b815260206004820152601460248201527f21696e73756666696369656e742073686172657300000000000000000000000060448201526064016108ac565b600084116141e75760405162461bcd60e51b815260206004820152600c60248201526b217a65726f2073686172657360a01b60448201526064016108ac565b6000600786815481106141fc576141fc615c8d565b600091825260208083206040805160c081018252600290940290910180546001600160a01b0380821686526bffffffffffffffffffffffff600160a01b9283900416948601949094526001909101549283169184019190915261ffff90820416606083015260ff600160b01b8204811615156080840152600160b81b90910416151560a0820152915061428e87611cf0565b82604001516001600160a01b031663c70920bc6040518163ffffffff1660e01b815260040160206040518083038186803b1580156142cb57600080fd5b505afa1580156142df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061430391906157b2565b61430d9088615b82565b6143179190615b60565b9050614324338888614ced565b81516040516370a0823160e01b81526001600160a01b03868116600483015260009216906370a082319060240160206040518083038186803b15801561436957600080fd5b505afa15801561437d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143a191906157b2565b60408085015190517ff3fef3a30000000000000000000000000000000000000000000000000000000081526001600160a01b0388811660048301526024820186905292935091169063f3fef3a390604401600060405180830381600087803b15801561440c57600080fd5b505af1158015614420573d6000803e3d6000fd5b505084516040516370a0823160e01b81526001600160a01b03898116600483015285945090911691506370a082319060240160206040518083038186803b15801561446a57600080fd5b505afa15801561447e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144a291906157b2565b6144ac9190615ba1565b9150858210156144fe5760405162461bcd60e51b815260206004820152601160248201527f216d696e206e6f7420726563656976656400000000000000000000000000000060448201526064016108ac565b60408051888152602081018490526001600160a01b0387169133918b917ffe7813e2866053d5c3938554e517b554fce6666a6561bed9eaa7419b29fa9b68910160405180910390a4509695505050505050565b60006007838154811061456657614566615c8d565b906000526020600020906002020190508060010160179054906101000a900460ff16156145c15760405162461bcd60e51b8152602060048201526009602482015268085c185b9a58dad95960ba1b60448201526064016108ac565b8060010160169054906101000a900460ff161515821515141561460f5760405162461bcd60e51b81526004016108ac90602080825260049082015263085cd95d60e21b604082015260600190565b600181018054831515600160b01b027fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff90911617905560405183907fda8e1d197cc6fd7c91a84b75b5773c11d9f6a3f04bce892b468227617e9f28d99061467b90851515815260200190565b60405180910390a2505050565b6001600160a01b0385166146ee5760405162461bcd60e51b815260206004820152602760248201527f455243313135353a207472616e736665722066726f6d20746865207a65726f206044820152666164647265737360c81b60648201526084016108ac565b6001600160a01b0384166147525760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016108ac565b3361477181878761476288614d20565b61476b88614d20565b87614a11565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156147f55760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016108ac565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290614832908490615b48565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4614892828888888888614d6b565b50505050505050565b6040516001600160a01b03808516602483015283166044820152606481018290526130649085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401612ac1565b6001600160a01b0384166149685760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016108ac565b336149798160008761476288614d20565b6000848152602081815260408083206001600160a01b0389168452909152812080548592906149a9908490615b48565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6291015b60405180910390a45050505050565b6060610f9a8484600085614e76565b336000908152600f602052604090205460ff16614a635760405162461bcd60e51b815260206004820152601060248201526f085b9bdd081dda1a5d195b1a5cdd195960821b60448201526064016108ac565b6001600160a01b0385166000908152600f602052604090205460ff16614acb5760405162461bcd60e51b815260206004820152601560248201527f2166726f6d206e6f742077686974656c6973746564000000000000000000000060448201526064016108ac565b6001600160a01b0384166000908152600f602052604090205460ff16614b335760405162461bcd60e51b815260206004820152601360248201527f21746f206e6f742077686974656c69737465640000000000000000000000000060448201526064016108ac565b612f4e565b6001600160a01b0384163b15612f4e5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190614b7c90899089908890889088906004016159e5565b602060405180830381600087803b158015614b9657600080fd5b505af1925050508015614bc6575060408051601f3d908101601f19168201909252614bc39181019061566f565b60015b614c7c57614bd2615cb9565b806308c379a01415614c0c5750614be7615cd5565b80614bf25750614c0e565b8060405162461bcd60e51b81526004016108ac9190615ab3565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016108ac565b6001600160e01b0319811663bc197c8160e01b146148925760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016108ac565b614cf8838383614fb5565b60008281526003602052604081208054839290614d16908490615ba1565b9091555050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110614d5a57614d5a615c8d565b602090810291909101015292915050565b6001600160a01b0384163b15612f4e5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190614daf9089908990889088908890600401615a43565b602060405180830381600087803b158015614dc957600080fd5b505af1925050508015614df9575060408051601f3d908101601f19168201909252614df69181019061566f565b60015b614e0557614bd2615cb9565b6001600160e01b0319811663f23a6e6160e01b146148925760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016108ac565b606082471015614eee5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016108ac565b843b614f3c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108ac565b600080866001600160a01b03168587604051614f5891906159c9565b60006040518083038185875af1925050503d8060008114614f95576040519150601f19603f3d011682016040523d82523d6000602084013e614f9a565b606091505b5091509150614faa828286615157565b979650505050505050565b6001600160a01b0383166150315760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016108ac565b336150608185600061504287614d20565b61504b87614d20565b60405180602001604052806000815250614a11565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156150f65760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016108ac565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6291016149f3565b60608315615166575081610f9d565b8251156151765782518084602001fd5b8160405162461bcd60e51b81526004016108ac9190615ab3565b82805461519c90615be4565b90600052602060002090601f0160209004810192826151be5760008555615204565b82601f106151d757805160ff1916838001178555615204565b82800160010185558215615204579182015b828111156152045782518255916020019190600101906151e9565b50615210929150615214565b5090565b5b808211156152105760008155600101615215565b600082601f83011261523a57600080fd5b8135602061524782615b24565b6040516152548282615c19565b8381528281019150858301600585901b8701840188101561527457600080fd5b60005b8581101561529357813584529284019290840190600101615277565b5090979650505050505050565b600082601f8301126152b157600080fd5b813567ffffffffffffffff8111156152cb576152cb615ca3565b6040516152e2601f8301601f191660200182615c19565b8181528460208386010111156152f757600080fd5b816020850160208301376000918101602001919091529392505050565b803561ffff811681146124b457600080fd5b60006020828403121561533857600080fd5b8135610f9d81615d5f565b6000806040838503121561535657600080fd5b823561536181615d5f565b9150602083013561537181615d5f565b809150509250929050565b600080600080600060a0868803121561539457600080fd5b853561539f81615d5f565b945060208601356153af81615d5f565b9350604086013567ffffffffffffffff808211156153cc57600080fd5b6153d889838a01615229565b945060608801359150808211156153ee57600080fd5b6153fa89838a01615229565b9350608088013591508082111561541057600080fd5b5061541d888289016152a0565b9150509295509295909350565b600080600080600060a0868803121561544257600080fd5b853561544d81615d5f565b9450602086013561545d81615d5f565b93506040860135925060608601359150608086013567ffffffffffffffff81111561548757600080fd5b61541d888289016152a0565b600080604083850312156154a657600080fd5b82356154b181615d5f565b9150602083013561537181615d74565b600080604083850312156154d457600080fd5b82356154df81615d5f565b946020939093013593505050565b6000806020838503121561550057600080fd5b823567ffffffffffffffff8082111561551857600080fd5b818501915085601f83011261552c57600080fd5b81358181111561553b57600080fd5b8660208260051b850101111561555057600080fd5b60209290920196919550909350505050565b6000806040838503121561557557600080fd5b823567ffffffffffffffff8082111561558d57600080fd5b818501915085601f8301126155a157600080fd5b813560206155ae82615b24565b6040516155bb8282615c19565b8381528281019150858301600585901b870184018b10156155db57600080fd5b600096505b848710156156075780356155f381615d5f565b8352600196909601959183019183016155e0565b509650508601359250508082111561561e57600080fd5b5061562b85828601615229565b9150509250929050565b60006020828403121561564757600080fd5b8151610f9d81615d74565b60006020828403121561566457600080fd5b8135610f9d81615d82565b60006020828403121561568157600080fd5b8151610f9d81615d82565b60006020828403121561569e57600080fd5b8151610f9d81615d5f565b600080604083850312156156bc57600080fd5b82356156c781615d5f565b91506156d560208401615314565b90509250929050565b6000602082840312156156f057600080fd5b813567ffffffffffffffff81111561570757600080fd5b615713848285016152a0565b949350505050565b60008060006060848603121561573057600080fd5b833567ffffffffffffffff8082111561574857600080fd5b615754878388016152a0565b9450602086013591508082111561576a57600080fd5b50615777868287016152a0565b925050604084013560ff8116811461578e57600080fd5b809150509250925092565b6000602082840312156157ab57600080fd5b5035919050565b6000602082840312156157c457600080fd5b5051919050565b600080604083850312156157de57600080fd5b82359150602083013561537181615d5f565b6000806040838503121561580357600080fd5b82359150602083013561537181615d74565b6000806000806080858703121561582b57600080fd5b84359350602085013561583d81615d5f565b9250604085013561584d81615d5f565b9396929550929360600135925050565b6000806040838503121561587057600080fd5b823591506156d560208401615314565b6000806040838503121561589357600080fd5b50508035926020909101359150565b600080604083850312156158b557600080fd5b505080516020909101519092909150565b600080600080608085870312156158dc57600080fd5b8435935060208501359250604085013561584d81615d74565b60008060006060848603121561590a57600080fd5b505081359360208301359350604090920135919050565b6000806000806080858703121561593757600080fd5b843593506020850135925060408501359150606085013561595781615d5f565b939692955090935050565b600081518084526020808501945080840160005b8381101561599257815187529582019590820190600101615976565b509495945050505050565b600081518084526159b5816020860160208601615bb8565b601f01601f19169290920160200192915050565b600082516159db818460208701615bb8565b9190910192915050565b60006001600160a01b03808816835280871660208401525060a06040830152615a1160a0830186615962565b8281036060840152615a238186615962565b90508281036080840152615a37818561599d565b98975050505050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152614faa60a083018461599d565b602081526000610f9d6020830184615962565b604081526000615aa16040830185615962565b8281036020840152610c628185615962565b602081526000610f9d602083018461599d565b604081526000615ad9604083018561599d565b8281036020840152610c62818561599d565b606081526000615afe606083018661599d565b8281036020840152615b10818661599d565b91505060ff83166040830152949350505050565b600067ffffffffffffffff821115615b3e57615b3e615ca3565b5060051b60200190565b60008219821115615b5b57615b5b615c77565b500190565b600082615b7d57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615615b9c57615b9c615c77565b500290565b600082821015615bb357615bb3615c77565b500390565b60005b83811015615bd3578181015183820152602001615bbb565b838111156130645750506000910152565b600181811c90821680615bf857607f821691505b602082108114156119e857634e487b7160e01b600052602260045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715615c3f57615c3f615ca3565b6040525050565b6000600019821415615c5a57615c5a615c77565b5060010190565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115615cd25760046000803e5060005160e01c5b90565b600060443d1015615ce35790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715615d1357505050505090565b8285019150815181811115615d2b5750505050505090565b843d8701016020828501011115615d455750505050505090565b615d5460208286010187615c19565b509095945050505050565b6001600160a01b03811681146114fa57600080fd5b80151581146114fa57600080fd5b6001600160e01b0319811681146114fa57600080fdfe5265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212201c60c13a17ef2cffa057ee616782171caefb9abe5e5075a2bebbf131745ae64464736f6c6343000806003368747470733a2f2f76696f6c696e2e66696e616e63652f6170692f7661756c74732f7b69647d2e6a736f6e000000000000000000000000a66745f0092f7460f107e4c66c224553bf4cd727

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

000000000000000000000000a66745f0092f7460f107e4c66c224553bf4cd727

-----Decoded View---------------
Arg [0] : _owner (address): 0xa66745f0092f7460f107e4c66c224553bf4cd727

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a66745f0092f7460f107e4c66c224553bf4cd727


Deployed ByteCode Sourcemap

91054:3119:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29794:231;;;;;;:::i;:::-;;:::i;:::-;;;35359:25:1;;;35347:2;35332:18;29794:231:0;;;;;;;;28817:310;;;;;;:::i;:::-;;:::i;:::-;;;17426:14:1;;17419:22;17401:41;;17389:2;17374:18;28817:310:0;17356:92:1;89384:184:0;;;;;;:::i;:::-;;:::i;:::-;;89672:94;;;:::i;:::-;;;;;;;:::i;86543:102::-;86624:6;:13;86543:102;;29538:105;;;;;;:::i;:::-;;:::i;85442:432::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;18131:55:1;;;18113:74;;18218:2;18203:18;;18196:34;;;;18246:18;;;18239:34;18304:2;18289:18;;18282:34;18100:3;18085:19;85442:432:0;18067:255:1;86382:106:0;86468:12;;86382:106;;92076:321;;;;;;:::i;:::-;;:::i;77744:341::-;;;;;;:::i;:::-;;:::i;88928:316::-;;;;;;:::i;:::-;;:::i;90647:289::-;;;;;;:::i;:::-;;:::i;90005:94::-;90082:9;;90005:94;;90082:9;;;;35790:36:1;;35778:2;35763:18;90005:94:0;35745:87:1;92405:277:0;;;;;;:::i;:::-;;:::i;66240:49::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;76262:341;;;;;;:::i;:::-;;:::i;93356:129::-;;;;;;:::i;:::-;;:::i;86872:100::-;86953:11;86872:100;;76611:415;;;;;;:::i;:::-;;:::i;30191:524::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;44242:122::-;;;;;;:::i;:::-;44299:4;44120:16;;;:12;:16;;;;;;-1:-1:-1;;;44242:122:0;93493:121;;;;;;:::i;:::-;;:::i;77034:208::-;;;;;;:::i;:::-;;:::i;92690:364::-;;;;;;:::i;:::-;;:::i;47713:103::-;;;:::i;94069:101::-;94146:9;:16;94069:101;;83440:61;;;;;;:::i;:::-;;;;;;;;;;;;;;91154:26;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;14311:55:1;;;14293:74;;14281:2;14266:18;91154:26:0;14248:125:1;91648:189:0;;;;;;:::i;:::-;;:::i;47960:274::-;;;:::i;47062:87::-;47135:6;;-1:-1:-1;;;;;47135:6:0;47062:87;;79195:191;;;;;;:::i;:::-;;:::i;:::-;;;;;;34449:4:1;34491:3;34480:9;34476:19;34468:27;;-1:-1:-1;;;;;34602:2:1;34593:6;34587:13;34583:22;34572:9;34565:41;34674:26;34666:4;34658:6;34654:17;34648:24;34644:57;34637:4;34626:9;34622:20;34615:87;34770:2;34762:4;34754:6;34750:17;34744:24;34740:33;34733:4;34722:9;34718:20;34711:63;;34842:6;34834:4;34826:6;34822:17;34816:24;34812:37;34805:4;34794:9;34790:20;34783:67;34920:4;34912:6;34908:17;34902:24;34895:32;34888:40;34881:4;34870:9;34866:20;34859:70;34999:4;34991:6;34987:17;34981:24;34974:32;34967:40;34960:4;34949:9;34945:20;34938:70;34458:556;;;;;87278:465:0;;;;;;:::i;:::-;;:::i;:::-;;;;35569:25:1;;;35625:2;35610:18;;35603:34;;;;35542:18;87278:465:0;35524:119:1;89837:98:0;;;:::i;85975:221::-;;;;;;:::i;:::-;;:::i;30788:311::-;;;;;;:::i;:::-;;:::i;78942:167::-;;;;;;:::i;:::-;79088:6;:13;-1:-1:-1;79078:23:0;78942:167;80805:191;;;;;;:::i;:::-;;:::i;48409:243::-;;;;;;:::i;:::-;;:::i;75819:435::-;;;;;;:::i;:::-;;:::i;87904:341::-;;;;;;:::i;:::-;;:::i;78226:593::-;;;;;;:::i;:::-;;:::i;91104:43::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;93062:151;;;;;;:::i;:::-;;:::i;93221:127::-;;;;;;:::i;:::-;;:::i;46578:27::-;;;;;-1:-1:-1;;;;;46578:27:0;;;83294:57;;;;;;:::i;:::-;;;;;;;;;;;;;;;;91543:95;;;;;;:::i;:::-;;:::i;31171:168::-;;;;;;:::i;:::-;-1:-1:-1;;;;;31294:27:0;;;31270:4;31294:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;31171:168;90275:257;;;;;;:::i;:::-;;:::i;29794:231::-;29880:7;-1:-1:-1;;;;;29908:21:0;;29900:77;;;;-1:-1:-1;;;29900:77:0;;21178:2:1;29900:77:0;;;21160:21:1;21217:2;21197:18;;;21190:30;21256:34;21236:18;;;21229:62;21327:13;21307:18;;;21300:41;21358:19;;29900:77:0;;;;;;;;;-1:-1:-1;29995:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;29995:22:0;;;;;;;;;;;;29794:231::o;28817:310::-;28919:4;-1:-1:-1;;;;;;28956:41:0;;28971:26;28956:41;;:110;;-1:-1:-1;;;;;;;29014:52:0;;29029:37;29014:52;28956:110;:163;;;-1:-1:-1;27683:25:0;-1:-1:-1;;;;;;27668:40:0;;;29083:36;28936:183;28817:310;-1:-1:-1;;28817:310:0:o;89384:184::-;47135:6;;-1:-1:-1;;;;;47135:6:0;26532:10;47282:23;47274:68;;;;-1:-1:-1;;;47274:68:0;;28603:2:1;47274:68:0;;;28585:21:1;;;28622:18;;;28615:30;-1:-1:-1;;;;;;;;;;;28661:18:1;;;28654:62;28733:18;;47274:68:0;28575:182:1;47274:68:0;89461:20:::1;89484:6;89488:1;89484:3;:6::i;:::-;89461:29;;89501:15;89509:6;89501:7;:15::i;:::-;89534:26;89545:6;89553;89534:26;;;;;;;:::i;:::-;;;;;;;;89450:118;89384:184:::0;:::o;89672:94::-;89720:13;89753:5;89746:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89672:94;:::o;29538:105::-;29598:13;29631:4;29624:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29538:105;;;:::o;85442:432::-;85588:15;85618:19;85652:24;85691:25;85547:7;67670:6;:13;;;;67660:7;:23;67652:45;;;;-1:-1:-1;;;67652:45:0;;23161:2:1;67652:45:0;;;23143:21:1;23200:1;23180:18;;;23173:29;-1:-1:-1;;;23218:18:1;;;23211:39;23267:18;;67652:45:0;23133:158:1;67652:45:0;85744:19:::1;85766:6;85773:7;85766:15;;;;;;;;:::i;:::-;;;;;;;;;;;:22;;;;;;;;;;;;:30;;85795:1;85766:30;;;85791:1;85766:30;85744:52;;;;85815:6;85822:7;85815:15;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;;;::::1;;:31:::0;-1:-1:-1;;;;;85815:31:0::1;::::0;85848:11;;-1:-1:-1;85815:15:0;-1:-1:-1;85815:15:0;;-1:-1:-1;85442:432:0;-1:-1:-1;;;85442:432:0:o;92076:321::-;91485:10;92270:22;91473:23;;;:11;:23;;;;;;;;91465:52;;;;-1:-1:-1;;;91465:52:0;;26759:2:1;91465:52:0;;;26741:21:1;26798:2;26778:18;;;26771:30;-1:-1:-1;;;26817:18:1;;;26810:46;26873:18;;91465:52:0;26731:166:1;91465:52:0;92312:77:::1;92336:7;92345:16;92363:6;92371:17;92312:23;:77::i;:::-;92305:84:::0;92076:321;-1:-1:-1;;;;;92076:321:0:o;77744:341::-;47135:6;;-1:-1:-1;;;;;47135:6:0;26532:10;47282:23;47274:68;;;;-1:-1:-1;;;47274:68:0;;28603:2:1;47274:68:0;;;28585:21:1;;;28622:18;;;28615:30;-1:-1:-1;;;;;;;;;;;28661:18:1;;;28654:62;28733:18;;47274:68:0;28575:182:1;47274:68:0;64376:1:::1;64974:7;;:19;;64966:63;;;::::0;-1:-1:-1;;;64966:63:0;;33479:2:1;64966:63:0::1;::::0;::::1;33461:21:1::0;33518:2;33498:18;;;33491:30;-1:-1:-1;;;;;;;;;;;33537:18:1;;;33530:61;33608:18;;64966:63:0::1;33451:181:1::0;64966:63:0::1;64376:1;65107:7;:18:::0;-1:-1:-1;;;;;77901:16:0;::::2;77893:34;;;::::0;-1:-1:-1;;;77893:34:0;;28964:2:1;77893:34:0::2;::::0;::::2;28946:21:1::0;29003:1;28983:18;;;28976:29;-1:-1:-1;;;29021:18:1;;;29014:35;29066:18;;77893:34:0::2;28936:154:1::0;77893:34:0::2;77955:30;::::0;-1:-1:-1;;;77955:30:0;;77979:4:::2;77955:30;::::0;::::2;14293:74:1::0;77938:14:0::2;::::0;-1:-1:-1;;;;;77955:15:0;::::2;::::0;::::2;::::0;14266:18:1;;77955:30:0::2;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;77938:47:::0;-1:-1:-1;77996:30:0::2;-1:-1:-1::0;;;;;77996:18:0;::::2;78015:2:::0;77938:47;77996:18:::2;:30::i;:::-;78066:2;-1:-1:-1::0;;;;;78042:35:0::2;78059:5;-1:-1:-1::0;;;;;78042:35:0::2;;78070:6;78042:35;;;;35359:25:1::0;;35347:2;35332:18;;35314:76;78042:35:0::2;;;;;;;;-1:-1:-1::0;;64332:1:0::1;65286:7;:22:::0;-1:-1:-1;77744:341:0:o;88928:316::-;47135:6;;-1:-1:-1;;;;;47135:6:0;26532:10;47282:23;47274:68;;;;-1:-1:-1;;;47274:68:0;;28603:2:1;47274:68:0;;;28585:21:1;;;28622:18;;;28615:30;-1:-1:-1;;;;;;;;;;;28661:18:1;;;28654:62;28733:18;;47274:68:0;28575:182:1;47274:68:0;89092:15;;::::1;::::0;:5:::1;::::0;:15:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;89118:19:0;;::::1;::::0;:7:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;89148:9:0::1;:23:::0;;-1:-1:-1;;89148:23:0::1;;::::0;::::1;;::::0;;89189:47:::1;::::0;::::1;::::0;::::1;::::0;89204:7;;89213:9;;89148:23;;89189:47:::1;:::i;:::-;;;;;;;;88928:316:::0;;;:::o;90647:289::-;64376:1;64974:7;;:19;;64966:63;;;;-1:-1:-1;;;64966:63:0;;33479:2:1;64966:63:0;;;33461:21:1;33518:2;33498:18;;;33491:30;-1:-1:-1;;;;;;;;;;;33537:18:1;;;33530:61;33608:18;;64966:63:0;33451:181:1;64966:63:0;64376:1;65107:7;:18;90871:57:::1;90899:4:::0;90905:2;90909:3;90914:7;90923:4;90871:27:::1;:57::i;:::-;-1:-1:-1::0;;64332:1:0;65286:7;:22;-1:-1:-1;;;90647:289:0:o;92405:277::-;91485:10;92568:26;91473:23;;;:11;:23;;;;;;;;91465:52;;;;-1:-1:-1;;;91465:52:0;;26759:2:1;91465:52:0;;;26741:21:1;26798:2;26778:18;;;26771:30;-1:-1:-1;;;26817:18:1;;;26810:46;26873:18;;91465:52:0;26731:166:1;91465:52:0;92614:60:::1;92635:7;92644:6;92652:21;92614:20;:60::i;:::-;92607:67;;91528:1;92405:277:::0;;;;;:::o;76262:341::-;47135:6;;-1:-1:-1;;;;;47135:6:0;26532:10;47282:23;47274:68;;;;-1:-1:-1;;;47274:68:0;;28603:2:1;47274:68:0;;;28585:21:1;;;28622:18;;;28615:30;-1:-1:-1;;;;;;;;;;;28661:18:1;;;28654:62;28733:18;;47274:68:0;28575:182:1;47274:68:0;64376:1:::1;64974:7;;:19;;64966:63;;;::::0;-1:-1:-1;;;64966:63:0;;33479:2:1;64966:63:0::1;::::0;::::1;33461:21:1::0;33518:2;33498:18;;;33491:30;-1:-1:-1;;;;;;;;;;;33537:18:1;;;33530:61;33608:18;;64966:63:0::1;33451:181:1::0;64966:63:0::1;64376:1;65107:7;:18:::0;-1:-1:-1;;;;;76428:32:0;::::2;;::::0;;;:17:::2;:32;::::0;;;;;::::2;;:45;;::::0;::::2;;;;76420:62;;;;-1:-1:-1::0;;;76420:62:0::2;;;;;;24167:2:1::0;24149:21;;;24206:1;24186:18;;;24179:29;-1:-1:-1;;;24239:2:1;24224:18;;24217:34;24283:2;24268:18;;24139:153;76420:62:0::2;-1:-1:-1::0;;;;;76493:32:0;::::2;;::::0;;;:17:::2;:32;::::0;;;;;:44;;-1:-1:-1;;76493:44:0::2;::::0;::::2;;::::0;;::::2;::::0;;;76553:42;;76493:44;;:32;76553:42:::2;::::0;::::2;-1:-1:-1::0;;64332:1:0::1;65286:7;:22:::0;76262:341::o;93356:129::-;91485:10;91473:23;;;;:11;:23;;;;;;;;91465:52;;;;-1:-1:-1;;;91465:52:0;;26759:2:1;91465:52:0;;;26741:21:1;26798:2;26778:18;;;26771:30;-1:-1:-1;;;26817:18:1;;;26810:46;26873:18;;91465:52:0;26731:166:1;91465:52:0;93448:29:::1;93463:4;93469:7;93448:14;:29::i;:::-;93356:129:::0;;:::o;76611:415::-;47135:6;;-1:-1:-1;;;;;47135:6:0;26532:10;47282:23;47274:68;;;;-1:-1:-1;;;47274:68:0;;28603:2:1;47274:68:0;;;28585:21:1;;;28622:18;;;28615:30;-1:-1:-1;;;;;;;;;;;28661:18:1;;;28654:62;28733:18;;47274:68:0;28575:182:1;47274:68:0;67670:6:::1;:13:::0;76723:7;;67660:23;::::1;67652:45;;;::::0;-1:-1:-1;;;67652:45:0;;23161:2:1;67652:45:0::1;::::0;::::1;23143:21:1::0;23200:1;23180:18;;;23173:29;-1:-1:-1;;;23218:18:1;;;23211:39;23267:18;;67652:45:0::1;23133:158:1::0;67652:45:0::1;64376:1:::2;64974:7;;:19;;64966:63;;;::::0;-1:-1:-1;;;64966:63:0;;33479:2:1;64966:63:0::2;::::0;::::2;33461:21:1::0;33518:2;33498:18;;;33491:30;-1:-1:-1;;;;;;;;;;;33537:18:1;;;33530:61;33608:18;;64966:63:0::2;33451:181:1::0;64966:63:0::2;64376:1;65107:7;:18;;;;76770:19:::3;76792:6;76799:7;76792:15;;;;;;;;:::i;:::-;;;;;;;;;;;76770:37;;76827:5;:14;;;;;;;;;;;;76826:15;76818:37;;;::::0;-1:-1:-1;;;76818:37:0;;24499:2:1;76818:37:0::3;::::0;::::3;24481:21:1::0;24538:1;24518:18;;;24511:29;-1:-1:-1;;;24556:18:1;;;24549:39;24605:18;;76818:37:0::3;24471:158:1::0;76818:37:0::3;76871:12;::::0;::::3;::::0;-1:-1:-1;;;76871:12:0;::::3;;;76866:45;;76885:26;76897:7;76906:4;76885:11;:26::i;:::-;76939:4;76922:14:::0;::::3;:21:::0;;-1:-1:-1;;;;76922:21:0;::::3;-1:-1:-1::0;;;76922:21:0::3;::::0;;;76956:22:::3;::::0;;;;;;;-1:-1:-1;;;;;76956:14:0;;;;:20:::3;::::0;:22:::3;::::0;;::::3;::::0;76922:21;;76956:22;;;;;;;;76922:21;76956:14;:22;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;-1:-1:-1::0;;76996:22:0::3;::::0;77010:7;;-1:-1:-1;76996:22:0::3;::::0;-1:-1:-1;76996:22:0;;::::3;-1:-1:-1::0;;64332:1:0::2;65286:7;:22:::0;-1:-1:-1;76611:415:0:o;30191:524::-;30347:16;30408:3;:10;30389:8;:15;:29;30381:83;;;;-1:-1:-1;;;30381:83:0;;31917:2:1;30381:83:0;;;31899:21:1;31956:2;31936:18;;;31929:30;31995:34;31975:18;;;31968:62;32066:11;32046:18;;;32039:39;32095:19;;30381:83:0;31889:231:1;30381:83:0;30477:30;30524:8;:15;30510:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30510:30:0;;30477:63;;30558:9;30553:122;30577:8;:15;30573:1;:19;30553:122;;;30633:30;30643:8;30652:1;30643:11;;;;;;;;:::i;:::-;;;;;;;30656:3;30660:1;30656:6;;;;;;;;:::i;:::-;;;;;;;30633:9;:30::i;:::-;30614:13;30628:1;30614:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;30594:3;;;:::i;:::-;;;30553:122;;;-1:-1:-1;30694:13:0;30191:524;-1:-1:-1;;;30191:524:0:o;93493:121::-;91485:10;91473:23;;;;:11;:23;;;;;;;;91465:52;;;;-1:-1:-1;;;91465:52:0;;26759:2:1;91465:52:0;;;26741:21:1;26798:2;26778:18;;;26771:30;-1:-1:-1;;;26817:18:1;;;26810:46;26873:18;;91465:52:0;26731:166:1;91465:52:0;93577:29:::1;93601:4;93577:23;:29::i;:::-;93493:121:::0;:::o;77034:208::-;47135:6;;-1:-1:-1;;;;;47135:6:0;26532:10;47282:23;47274:68;;;;-1:-1:-1;;;47274:68:0;;28603:2:1;47274:68:0;;;28585:21:1;;;28622:18;;;28615:30;-1:-1:-1;;;;;;;;;;;28661:18:1;;;28654:62;28733:18;;47274:68:0;28575:182:1;47274:68:0;67670:6:::1;:13:::0;77159:7;;67660:23;::::1;67652:45;;;::::0;-1:-1:-1;;;67652:45:0;;23161:2:1;67652:45:0::1;::::0;::::1;23143:21:1::0;23200:1;23180:18;;;23173:29;-1:-1:-1;;;23218:18:1;;;23211:39;23267:18;;67652:45:0::1;23133:158:1::0;67652:45:0::1;64376:1:::2;64974:7;;:19;;64966:63;;;::::0;-1:-1:-1;;;64966:63:0;;33479:2:1;64966:63:0::2;::::0;::::2;33461:21:1::0;33518:2;33498:18;;;33491:30;-1:-1:-1;;;;;;;;;;;33537:18:1;;;33530:61;33608:18;;64966:63:0::2;33451:181:1::0;64966:63:0::2;64376:1;65107:7;:18:::0;77206:28:::3;77218:7:::0;77227:6;77206:11:::3;:28::i;:::-;-1:-1:-1::0;;64332:1:0::2;65286:7;:22:::0;-1:-1:-1;77034:208:0:o;92690:364::-;91485:10;92876:26;91473:23;;;:11;:23;;;;;;;;91465:52;;;;-1:-1:-1;;;91465:52:0;;26759:2:1;91465:52:0;;;26741:21:1;26798:2;26778:18;;;26771:30;-1:-1:-1;;;26817:18:1;;;26810:46;26873:18;;91465:52:0;26731:166:1;91465:52:0;-1:-1:-1;;;;;92923:15:0;::::1;;::::0;;;:11:::1;:15;::::0;;;;;::::1;;92915:47;;;::::0;-1:-1:-1;;;92915:47:0;;30748:2:1;92915:47:0::1;::::0;::::1;30730:21:1::0;30787:2;30767:18;;;30760:30;30826:21;30806:18;;;30799:49;30865:18;;92915:47:0::1;30720:169:1::0;92915:47:0::1;92980:66;93003:7;93012:6;93020:21;93043:2;92980:22;:66::i;47713:103::-:0;47135:6;;-1:-1:-1;;;;;47135:6:0;26532:10;47282:23;47274:68;;;;-1:-1:-1;;;47274:68:0;;28603:2:1;47274:68:0;;;28585:21:1;;;28622:18;;;28615:30;-1:-1:-1;;;;;;;;;;;28661:18:1;;;28654:62;28733:18;;47274:68:0;28575:182:1;47274:68:0;47778:30:::1;47805:1;47778:18;:30::i;:::-;47713:103::o:0;91154:26::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;91154:26:0;;-1:-1:-1;91154:26:0;:::o;91648:189::-;47135:6;;-1:-1:-1;;;;;47135:6:0;26532:10;47282:23;47274:68;;;;-1:-1:-1;;;47274:68:0;;28603:2:1;47274:68:0;;;28585:21:1;;;28622:18;;;28615:30;-1:-1:-1;;;;;;;;;;;28661:18:1;;;28654:62;28733:18;;47274:68:0;28575:182:1;47274:68:0;91740:9:::1;91736:94;91755:16:::0;;::::1;91736:94;;;91793:25;91809:5;;91815:1;91809:8;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;91793:15;:25::i;:::-;91773:3:::0;::::1;::::0;::::1;:::i;:::-;;;;91736:94;;;;91648:189:::0;;:::o;47960:274::-;48039:12;;-1:-1:-1;;;;;48039:12:0;26532:10;-1:-1:-1;;;;;48023:28:0;;48015:80;;;;-1:-1:-1;;;48015:80:0;;29297:2:1;48015:80:0;;;29279:21:1;29336:2;29316:18;;;29309:30;29375:34;29355:18;;;29348:62;29446:9;29426:18;;;29419:37;29473:19;;48015:80:0;29269:229:1;48015:80:0;48114:12;;-1:-1:-1;;;;;48114:12:0;48106:77;;;;-1:-1:-1;;;48106:77:0;;21590:2:1;48106:77:0;;;21572:21:1;21629:2;21609:18;;;21602:30;21668:34;21648:18;;;21641:62;21739:8;21719:18;;;21712:36;21765:19;;48106:77:0;21562:228:1;48106:77:0;48213:12;;48194:32;;-1:-1:-1;;;;;48213:12:0;48194:18;:32::i;79195:191::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67670:6:0;:13;79299:7;;67660:23;;67652:45;;;;-1:-1:-1;;;67652:45:0;;23161:2:1;67652:45:0;;;23143:21:1;23200:1;23180:18;;;23173:29;-1:-1:-1;;;23218:18:1;;;23211:39;23267:18;;67652:45:0;23133:158:1;67652:45:0;79363:6:::1;79370:7;79363:15;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;79356:22:::1;::::0;;::::1;::::0;::::1;::::0;;79363:15:::1;::::0;;::::1;::::0;;::::1;79356:22:::0;;-1:-1:-1;;;;;79356:22:0;;::::1;::::0;;::::1;-1:-1:-1::0;;;79356:22:0;;;::::1;;::::0;;::::1;::::0;;;;;;;::::1;::::0;;;::::1;::::0;;;;;;;::::1;::::0;;::::1;;::::0;;;;::::1;-1:-1:-1::0;;;79356:22:0;::::1;::::0;::::1;;;::::0;;;;-1:-1:-1;;;79356:22:0;;::::1;::::0;;::::1;;;::::0;;;;;-1:-1:-1;67708:1:0::1;79195:191:::0;;;;:::o;87278:465::-;87424:15;87441:19;87397:7;67670:6;:13;;;;67660:7;:23;67652:45;;;;-1:-1:-1;;;67652:45:0;;23161:2:1;67652:45:0;;;23143:21:1;23200:1;23180:18;;;23173:29;-1:-1:-1;;;23218:18:1;;;23211:39;23267:18;;67652:45:0;23133:158:1;67652:45:0;87478:14:::1;87495:22;87508:7;87495:11;:22::i;:::-;87478:39:::0;-1:-1:-1;87528:24:0::1;87555:11:::0;;:141:::1;;87690:6;87662:24;87672:4;87678:7;87662:9;:24::i;:::-;87600:6;87607:7;87600:15;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;:24:::1;:15;::::0;;::::1;;:24;::::0;:42:::1;::::0;;-1:-1:-1;;;87600:42:0;;;;-1:-1:-1;;;;;87600:24:0;;::::1;::::0;:40:::1;::::0;:42:::1;::::0;;::::1;::::0;;;;;;:24;:42;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:86;;;;:::i;:::-;87599:97;;;;:::i;:::-;87555:141;;;87582:1;87555:141;87528:168:::0;87733:1:::1;::::0;-1:-1:-1;87278:465:0;-1:-1:-1;;;;;;87278:465:0:o;89837:98::-;89887:13;89920:7;89913:14;;;;;:::i;85975:221::-;67670:6;:13;86114:7;;86087;;67660:23;;67652:45;;;;-1:-1:-1;;;67652:45:0;;23161:2:1;67652:45:0;;;23143:21:1;23200:1;23180:18;;;23173:29;-1:-1:-1;;;23218:18:1;;;23211:39;23267:18;;67652:45:0;23133:158:1;67652:45:0;86146:6:::1;86153:7;86146:15;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;:24:::1;:15;::::0;;::::1;;:24;::::0;:42:::1;::::0;;-1:-1:-1;;;86146:42:0;;;;-1:-1:-1;;;;;86146:24:0;;::::1;::::0;:40:::1;::::0;:42:::1;::::0;;::::1;::::0;;;;;;:24;:42;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;30788:311::-:0;26532:10;-1:-1:-1;;;;;30891:24:0;;;;30883:78;;;;-1:-1:-1;;;30883:78:0;;31096:2:1;30883:78:0;;;31078:21:1;31135:2;31115:18;;;31108:30;31174:34;31154:18;;;31147:62;31245:11;31225:18;;;31218:39;31274:19;;30883:78:0;31068:231:1;30883:78:0;26532:10;30974:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;30974:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;30974:53:0;;;;;;;;;;31043:48;;17401:41:1;;;30974:42:0;;26532:10;31043:48;;17374:18:1;31043:48:0;;;;;;;30788:311;;:::o;80805:191::-;80935:7;44120:16;;;:12;:16;;;;;;80967:21;44031:113;48409:243;47135:6;;-1:-1:-1;;;;;47135:6:0;26532:10;47282:23;47274:68;;;;-1:-1:-1;;;47274:68:0;;28603:2:1;47274:68:0;;;28585:21:1;;;28622:18;;;28615:30;-1:-1:-1;;;;;;;;;;;28661:18:1;;;28654:62;28733:18;;47274:68:0;28575:182:1;47274:68:0;48515:12:::1;::::0;;-1:-1:-1;;;;;48538:30:0;;::::1;-1:-1:-1::0;;48538:30:0;::::1;::::0;::::1;::::0;;;48586:58:::1;::::0;48515:12;::::1;::::0;48538:30;48515:12;;48586:58:::1;::::0;48489:23:::1;::::0;48586:58:::1;48478:174;48409:243:::0;:::o;75819:435::-;47135:6;;-1:-1:-1;;;;;47135:6:0;26532:10;47282:23;47274:68;;;;-1:-1:-1;;;47274:68:0;;28603:2:1;47274:68:0;;;28585:21:1;;;28622:18;;;28615:30;-1:-1:-1;;;;;;;;;;;28661:18:1;;;28654:62;28733:18;;47274:68:0;28575:182:1;47274:68:0;67670:6:::1;:13:::0;75971:7;;67660:23;::::1;67652:45;;;::::0;-1:-1:-1;;;67652:45:0;;23161:2:1;67652:45:0::1;::::0;::::1;23143:21:1::0;23200:1;23180:18;;;23173:29;-1:-1:-1;;;23218:18:1;;;23211:39;23267:18;;67652:45:0::1;23133:158:1::0;67652:45:0::1;64376:1:::2;64974:7;;:19;;64966:63;;;::::0;-1:-1:-1;;;64966:63:0;;33479:2:1;64966:63:0::2;::::0;::::2;33461:21:1::0;33518:2;33498:18;;;33491:30;-1:-1:-1;;;;;;;;;;;33537:18:1;;;33530:61;33608:18;;64966:63:0::2;33451:181:1::0;64966:63:0::2;64376:1;65107:7;:18:::0;66106:4:::3;76026:42;::::0;::::3;;;76018:61;;;::::0;-1:-1:-1;;;76018:61:0;;34179:2:1;76018:61:0::3;::::0;::::3;34161:21:1::0;34218:1;34198:18;;;34191:29;-1:-1:-1;;;34236:18:1;;;34229:36;34282:18;;76018:61:0::3;34151:155:1::0;76018:61:0::3;76090:19;76112:6;76119:7;76112:15;;;;;;;;:::i;:::-;;::::0;;;::::3;::::0;;;;::::3;::::0;;;::::3;;76138:22;::::0;::::3;:41:::0;;;::::3;-1:-1:-1::0;;;76138:41:0::3;::::0;::::3;::::0;;::::3;::::0;;;::::3;::::0;;;76197:49:::3;::::0;35164:38:1;;;76112:15:0;;-1:-1:-1;76220:7:0;;76197:49:::3;::::0;35137:18:1;76197:49:0::3;;;;;;;-1:-1:-1::0;;64332:1:0::2;65286:7;:22:::0;-1:-1:-1;;75819:435:0:o;87904:341::-;-1:-1:-1;;;;;88026:24:0;;;;;;:14;:24;;;;;;;;88025:25;88017:45;;;;-1:-1:-1;;;88017:45:0;;23832:2:1;88017:45:0;;;23814:21:1;23871:1;23851:18;;;23844:29;23909:9;23889:18;;;23882:37;23936:18;;88017:45:0;23804:156:1;88017:45:0;-1:-1:-1;;;;;88073:24:0;;;;;;:14;:24;;;;;;;;:31;;-1:-1:-1;;88073:31:0;88100:4;88073:31;;;;;;88143:6;:13;88115:15;:25;;;;;;:41;;;;88167:12;:17;;88100:4;;88167:12;;:17;;88100:4;;88167:17;:::i;:::-;;;;-1:-1:-1;88195:42:0;;-1:-1:-1;88210:8:0;88220:16;88195:14;:42::i;78226:593::-;47135:6;;-1:-1:-1;;;;;47135:6:0;26532:10;47282:23;47274:68;;;;-1:-1:-1;;;47274:68:0;;28603:2:1;47274:68:0;;;28585:21:1;;;28622:18;;;28615:30;-1:-1:-1;;;;;;;;;;;28661:18:1;;;28654:62;28733:18;;47274:68:0;28575:182:1;47274:68:0;67670:6:::1;:13:::0;78438:7;;67660:23;::::1;67652:45;;;::::0;-1:-1:-1;;;67652:45:0;;23161:2:1;67652:45:0::1;::::0;::::1;23143:21:1::0;23200:1;23180:18;;;23173:29;-1:-1:-1;;;23218:18:1;;;23211:39;23267:18;;67652:45:0::1;23133:158:1::0;67652:45:0::1;64376:1:::2;64974:7;;:19;;64966:63;;;::::0;-1:-1:-1;;;64966:63:0;;33479:2:1;64966:63:0::2;::::0;::::2;33461:21:1::0;33518:2;33498:18;;;33491:30;-1:-1:-1;;;;;;;;;;;33537:18:1;;;33530:61;33608:18;;64966:63:0::2;33451:181:1::0;64966:63:0::2;64376:1;65107:7;:18;;;;78507:7:::3;80424:18;80445:6;80452:7;80445:15;;;;;;;;:::i;:::-;;::::0;;;::::3;::::0;;;80424:36:::3;::::0;;::::3;::::0;::::3;::::0;;80445:15:::3;::::0;;;::::3;::::0;;::::3;80424:36:::0;;-1:-1:-1;;;;;80424:36:0;;::::3;::::0;;-1:-1:-1;;;80424:36:0;;;::::3;;;::::0;;::::3;::::0;;;;::::3;::::0;;;::::3;::::0;;;;;;;;::::3;;;::::0;;;;-1:-1:-1;;;80424:36:0;::::3;;::::0;;::::3;;;::::0;;;;-1:-1:-1;;;80424:36:0;;::::3;::::0;;::::3;;;::::0;;;;80495:32;;-1:-1:-1;;;80495:32:0;;;;80424:36;;-1:-1:-1;80424:36:0;80495:30:::3;::::0;:32:::3;::::0;;::::3;::::0;80445:15;;80495:32;;;;;;80424:36;80495:32;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;80471:56:::0;-1:-1:-1;;;;;;78540:16:0;::::4;78532:34;;;::::0;-1:-1:-1;;;78532:34:0;;28964:2:1;78532:34:0::4;::::0;::::4;28946:21:1::0;29003:1;28983:18;;;28976:29;-1:-1:-1;;;29021:18:1;;;29014:35;29066:18;;78532:34:0::4;28936:154:1::0;78532:34:0::4;78577:19;78599:6;78606:7;78599:15;;;;;;;;:::i;:::-;;::::0;;;::::4;::::0;;;::::4;::::0;;::::4;;78642:21:::0;;78599:15;;-1:-1:-1;;;;;;78633:30:0;;::::4;78642:21:::0;::::4;78633:30;;78625:54;;;::::0;-1:-1:-1;;;78625:54:0;;33839:2:1;78625:54:0::4;::::0;::::4;33821:21:1::0;33878:2;33858:18;;;33851:30;33917:13;33897:18;;;33890:41;33948:18;;78625:54:0::4;33811:161:1::0;78625:54:0::4;78692:14;::::0;::::4;::::0;:54:::4;::::0;;;;-1:-1:-1;;;;;17747:15:1;;;78692:54:0::4;::::0;::::4;17729:34:1::0;17779:18;;;17772:34;;;17842:15;;;17822:18;;;17815:43;78692:14:0;;::::4;::::0;:35:::4;::::0;17641:18:1;;78692:54:0::4;;;;;;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;78800:2;-1:-1:-1::0;;;;;78762:49:0::4;78793:5;-1:-1:-1::0;;;;;78762:49:0::4;78784:7;78762:49;78804:6;78762:49;;;;35359:25:1::0;;35347:2;35332:18;;35314:76;78762:49:0::4;;;;;;;;78521:298;80550:20:::3;80573:5;:14;;;-1:-1:-1::0;;;;;80573:30:0::3;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;80550:55;;80640:13;80624:12;:29;;80616:49;;;::::0;-1:-1:-1;;;80616:49:0;;20843:2:1;80616:49:0::3;::::0;::::3;20825:21:1::0;20882:1;20862:18;;;20855:29;-1:-1:-1;;;20900:18:1;;;20893:37;20947:18;;80616:49:0::3;20815:156:1::0;80616:49:0::3;-1:-1:-1::0;;64332:1:0::2;65286:7;:22:::0;-1:-1:-1;;;;;;;78226:593:0:o;93062:151::-;91485:10;93137:26;91473:23;;;:11;:23;;;;;;;;91465:52;;;;-1:-1:-1;;;91465:52:0;;26759:2:1;91465:52:0;;;26741:21:1;26798:2;26778:18;;;26771:30;-1:-1:-1;;;26817:18:1;;;26810:46;26873:18;;91465:52:0;26731:166:1;91465:52:0;93183:22:::1;93197:7;93183:13;:22::i;91528:1::-;93062:151:::0;;;:::o;93221:127::-;91485:10;91473:23;;;;:11;:23;;;;;;;;91465:52;;;;-1:-1:-1;;;91465:52:0;;26759:2:1;91465:52:0;;;26741:21:1;26798:2;26778:18;;;26771:30;-1:-1:-1;;;26817:18:1;;;26810:46;26873:18;;91465:52:0;26731:166:1;91465:52:0;93312:28:::1;93326:4;93332:7;93312:13;:28::i;91543:95::-:0;47135:6;;-1:-1:-1;;;;;47135:6:0;26532:10;47282:23;47274:68;;;;-1:-1:-1;;;47274:68:0;;28603:2:1;47274:68:0;;;28585:21:1;;;28622:18;;;28615:30;-1:-1:-1;;;;;;;;;;;28661:18:1;;;28654:62;28733:18;;47274:68:0;28575:182:1;47274:68:0;91609:21:::1;91625:4;91609:15;:21::i;90275:257::-:0;64376:1;64974:7;;:19;;64966:63;;;;-1:-1:-1;;;64966:63:0;;33479:2:1;64966:63:0;;;33461:21:1;33518:2;33498:18;;;33491:30;-1:-1:-1;;;;;;;;;;;33537:18:1;;;33530:61;33608:18;;64966:63:0;33451:181:1;64966:63:0;64376:1;65107:7;:18;90474:50:::1;90497:4:::0;90503:2;90507;90511:6;90519:4;90474:22:::1;:50::i;36053:88::-:0;36120:13;;;;:4;;:13;;;;;:::i;67756:2665::-;67670:6;:13;68029:22;;67980:7;;67660:23;;67652:45;;;;-1:-1:-1;;;67652:45:0;;23161:2:1;67652:45:0;;;23143:21:1;23200:1;23180:18;;;23173:29;-1:-1:-1;;;23218:18:1;;;23211:39;23267:18;;67652:45:0;23133:158:1;67652:45:0;64376:1:::1;64974:7;;:19;;64966:63;;;::::0;-1:-1:-1;;;64966:63:0;;33479:2:1;64966:63:0::1;::::0;::::1;33461:21:1::0;33518:2;33498:18;;;33491:30;-1:-1:-1;;;;;;;;;;;33537:18:1;;;33530:61;33608:18;;64966:63:0::1;33451:181:1::0;64966:63:0::1;64376:1;65107:7;:18:::0;68069:17:::2;68078:7:::0;68069:8:::2;:17::i;:::-;;68097:18;68118:6;68125:7;68118:15;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;;;68097:36:::2;::::0;;::::2;::::0;::::2;::::0;;68118:15:::2;::::0;;::::2;::::0;;::::2;68097:36:::0;;-1:-1:-1;;;;;68097:36:0;;::::2;::::0;;::::2;-1:-1:-1::0;;;68097:36:0;;;::::2;;::::0;;::::2;::::0;;;;;;;::::2;::::0;;;::::2;::::0;;;;;;;::::2;::::0;;::::2;;::::0;;;;::::2;-1:-1:-1::0;;;68097:36:0;::::2;::::0;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;;68097:36:0;;::::2;;;;::::0;;;;;-1:-1:-1;68144:33:0::2;;;::::0;-1:-1:-1;;;68144:33:0;;27104:2:1;68144:33:0::2;::::0;::::2;27086:21:1::0;27143:1;27123:18;;;27116:29;-1:-1:-1;;;27161:18:1;;;27154:37;27208:18;;68144:33:0::2;27076:156:1::0;68144:33:0::2;68236:25;68264:20;68276:7;68264:11;:20::i;:::-;68236:48;;68296:24;68322:20:::0;68346:5:::2;:28;;;-1:-1:-1::0;;;;;68346:67:0::2;;:69;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68295:120;;;;68527:153;68558:5;:21;;;68602:5;:14;;;68632:16;68663:6;68527:16;:153::i;:::-;68749:14;::::0;;::::2;::::0;:40;;;;;::::2;::::0;::::2;35359:25:1::0;;;68508:172:0;;-1:-1:-1;;;;;;68749:22:0::2;::::0;::::2;::::0;35332:18:1;;68749:40:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;68803:23;68828:19:::0;68851:5:::2;:28;;;-1:-1:-1::0;;;;;68851:67:0::2;;:69;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68802:118:::0;;-1:-1:-1;68802:118:0;-1:-1:-1;68950:26:0::2;68964:12:::0;68802:118;68950:26:::2;:::i;:::-;68931:45:::0;-1:-1:-1;69107:14:0::2;69124:22:::0;;;::::2;::::0;:47:::2;;-1:-1:-1::0;69150:21:0;;::::2;69124:47;:152;;69260:16;69124:152;;;69228:16:::0;69188:36:::2;69207:17:::0;69188:16;:36:::2;:::i;:::-;69187:57;;;;:::i;:::-;69107:169;;69287:38;69293:10;69305:7;69314:6;69287:38;;;;;;;;;;;::::0;:5:::2;:38::i;:::-;69680:20;69692:7;69680:11;:20::i;:::-;69661:39;::::0;:16;:39:::2;:::i;:::-;69605:35;69623:17:::0;69605:15;:35:::2;:::i;:::-;:95;;:138;;;-1:-1:-1::0;69721:22:0;;69605:138:::2;69584:170;;;;:::i;:::-;70189:4;70170:15;:23;;70162:43;;;::::0;-1:-1:-1;;;70162:43:0;;20843:2:1;70162:43:0::2;::::0;::::2;20825:21:1::0;20882:1;20862:18;;;20855:29;-1:-1:-1;;;20900:18:1;;;20893:37;20947:18;;70162:43:0::2;20815:156:1::0;70162:43:0::2;70234:17;70224:6;:27;;70216:57;;;::::0;-1:-1:-1;;;70216:57:0;;30402:2:1;70216:57:0::2;::::0;::::2;30384:21:1::0;30441:2;30421:18;;;30414:30;30480:19;30460:18;;;30453:47;30517:18;;70216:57:0::2;30374:167:1::0;70216:57:0::2;70301:1;70292:6;:10;70284:35;;;::::0;-1:-1:-1;;;70284:35:0;;32327:2:1;70284:35:0::2;::::0;::::2;32309:21:1::0;32366:2;32346:18;;;32339:30;-1:-1:-1;;;32385:18:1;;;32378:42;32437:18;;70284:35:0::2;32299:162:1::0;70284:35:0::2;70335:54;::::0;;35569:25:1;;;35625:2;35610:18;;35603:34;;;70352:10:0::2;::::0;70343:7;;70335:54:::2;::::0;35542:18:1;70335:54:0::2;;;;;;;64332:1:::1;65286:7;:22:::0;70407:6;67756:2665;-1:-1:-1;;;;;;;;;;;;67756:2665:0:o;59238:211::-;59382:58;;-1:-1:-1;;;;;16415:55:1;;59382:58:0;;;16397:74:1;16487:18;;;16480:34;;;59355:86:0;;59375:5;;59405:23;;16370:18:1;;59382:58:0;;;;-1:-1:-1;;59382:58:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;59382:58:0;;;;;;;;;;59355:19;:86::i;31889:442::-;-1:-1:-1;;;;;32122:20:0;;26532:10;32122:20;;:60;;-1:-1:-1;32146:36:0;32163:4;26532:10;31171:168;:::i;32146:36::-;32100:160;;;;-1:-1:-1;;;32100:160:0;;26340:2:1;32100:160:0;;;26322:21:1;26379:2;26359:18;;;26352:30;26418:34;26398:18;;;26391:62;26489:20;26469:18;;;26462:48;26527:19;;32100:160:0;26312:240:1;32100:160:0;32271:52;32294:4;32300:2;32304:3;32309:7;32318:4;32271:22;:52::i;:::-;31889:442;;;;;:::o;70429:392::-;67670:6;:13;70703:26;;70612:7;;67660:23;;67652:45;;;;-1:-1:-1;;;67652:45:0;;23161:2:1;67652:45:0;;;23143:21:1;23200:1;23180:18;;;23173:29;-1:-1:-1;;;23218:18:1;;;23211:39;23267:18;;67652:45:0;23133:158:1;67652:45:0;70654:7:::1;79606:14;79623:20;79635:7;79623:11;:20::i;:::-;79606:37;;79654:18;79675:6;79682:7;79675:15;;;;;;;;:::i;:::-;;;;;;;;;;;:24;;;;;;;;;;-1:-1:-1::0;;;;;79675:24:0::1;79654:45;;79710:24;79737:8;-1:-1:-1::0;;;;;79737:24:0::1;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;79710:53;;64376:1:::2;64974:7;;:19;;64966:63;;;::::0;-1:-1:-1;;;64966:63:0;;33479:2:1;64966:63:0::2;::::0;::::2;33461:21:1::0;33518:2;33498:18;;;33491:30;-1:-1:-1;;;;;;;;;;;33537:18:1;;;33530:61;33608:18;;64966:63:0::2;33451:181:1::0;64966:63:0::2;64376:1;65107:7;:18:::0;70754:59:::3;70772:7:::0;70781:6;70789:11;70802:10:::3;70754:17;:59::i;:::-;70747:66;;64332:1:::2;65286:7;:22:::0;79790:11;79786:24:::1;;79803:7;;;;;79786:24;79820:23;79846:8;-1:-1:-1::0;;;;;79846:24:0::1;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;79820:52;;79883:17;79903:20;79915:7;79903:11;:20::i;:::-;79883:40:::0;-1:-1:-1;80147:28:0::1;79883:40:::0;80147:16;:28:::1;:::i;:::-;80119:24;80137:6:::0;80119:15;:24:::1;:::i;:::-;:56;;80097:113;;;::::0;-1:-1:-1;;;80097:113:0;;20843:2:1;80097:113:0::1;::::0;::::1;20825:21:1::0;20882:1;20862:18;;;20855:29;-1:-1:-1;;;20900:18:1;;;20893:37;20947:18;;80097:113:0::1;20815:156:1::0;80097:113:0::1;79595:623;;;;;67708:1;;70429:392:::0;;;;;;:::o;84362:431::-;67670:6;:13;84494:7;;67660:23;;67652:45;;;;-1:-1:-1;;;67652:45:0;;23161:2:1;67652:45:0;;;23143:21:1;23200:1;23180:18;;;23173:29;-1:-1:-1;;;23218:18:1;;;23211:39;23267:18;;67652:45:0;23133:158:1;67652:45:0;84519:24:::1;84546:6;84553:7;84546:15;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;:24:::1;:15;::::0;;::::1;;:24;::::0;:42:::1;::::0;;-1:-1:-1;;;84546:42:0;;;;-1:-1:-1;;;;;84546:24:0;;::::1;::::0;:40:::1;::::0;:42:::1;::::0;;::::1;::::0;;;;;;:24;:42;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;84519:69:::0;-1:-1:-1;84607:21:0;84599:40:::1;;;::::0;-1:-1:-1;;;84599:40:0;;23498:2:1;84599:40:0::1;::::0;::::1;23480:21:1::0;23537:1;23517:18;;;23510:29;23575:8;23555:18;;;23548:36;23601:18;;84599:40:0::1;23470:155:1::0;84599:40:0::1;84650:14;84724:16;84691;84668:20;84680:7;84668:11;:20::i;:::-;:39;;;;:::i;:::-;84667:73;;;;:::i;:::-;84650:90;;84751:34;84766:7;84775:6;84783:1;84751:14;:34::i;:::-;;84508:285;;84362:431:::0;;;:::o;88470:298::-;88568:6;88575:7;88568:15;;;;;;;;:::i;:::-;;;;;;;;;;;:22;;;;;;;;;;;;88558:32;;:6;:32;;;;88550:49;;;;-1:-1:-1;;;88550:49:0;;;;;;24167:2:1;24149:21;;;24206:1;24186:18;;;24179:29;-1:-1:-1;;;24239:2:1;24224:18;;24217:34;24283:2;24268:18;;24139:153;88550:49:0;88614:6;88610:106;;;88653:1;88637:12;;:17;;;;;;;:::i;:::-;;;;-1:-1:-1;88610:106:0;;-1:-1:-1;88610:106:0;;88703:1;88687:12;;:17;;;;;;;:::i;:::-;;;;-1:-1:-1;;88610:106:0;88726:34;88744:7;88753:6;88726:17;:34::i;84883:240::-;67670:6;:13;84998:7;;67660:23;;67652:45;;;;-1:-1:-1;;;67652:45:0;;23161:2:1;67652:45:0;;;23143:21:1;23200:1;23180:18;;;23173:29;-1:-1:-1;;;23218:18:1;;;23211:39;23267:18;;67652:45:0;23133:158:1;67652:45:0;85023:14:::1;85040:30;85050:10;85062:7;85040:9;:30::i;:::-;85023:47;;85081:34;85096:7;85105:6;85113:1;85081:14;:34::i;:::-;;85012:111;84883:240:::0;;:::o;70829:594::-;67670:6;:13;71126:26;;71035:7;;67660:23;;67652:45;;;;-1:-1:-1;;;67652:45:0;;23161:2:1;67652:45:0;;;23143:21:1;23200:1;23180:18;;;23173:29;-1:-1:-1;;;23218:18:1;;;23211:39;23267:18;;67652:45:0;23133:158:1;67652:45:0;71077:7:::1;79606:14;79623:20;79635:7;79623:11;:20::i;:::-;79606:37;;79654:18;79675:6;79682:7;79675:15;;;;;;;;:::i;:::-;;;;;;;;;;;:24;;;;;;;;;;-1:-1:-1::0;;;;;79675:24:0::1;79654:45;;79710:24;79737:8;-1:-1:-1::0;;;;;79737:24:0::1;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;79710:53;;64376:1:::2;64974:7;;:19;;64966:63;;;::::0;-1:-1:-1;;;64966:63:0;;33479:2:1;64966:63:0::2;::::0;::::2;33461:21:1::0;33518:2;33498:18;;;33491:30;-1:-1:-1;;;;;;;;;;;33537:18:1;;;33530:61;33608:18;;64966:63:0::2;33451:181:1::0;64966:63:0::2;64376:1;65107:7;:18:::0;71305:10:::3;18735:20:::0;71289:57:::3;;;::::0;-1:-1:-1;;;71289:57:0;;24836:2:1;71289:57:0::3;::::0;::::3;24818:21:1::0;24875:2;24855:18;;;24848:30;24914:14;24894:18;;;24887:42;24946:18;;71289:57:0::3;24808:162:1::0;71289:57:0::3;71364:51;71382:7;71391:6;71399:11;71412:2;71364:17;:51::i;:::-;71357:58;;64332:1:::2;65286:7;:22:::0;79790:11;79786:24:::1;;79803:7;;;;;79786:24;79820:23;79846:8;-1:-1:-1::0;;;;;79846:24:0::1;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;79820:52;;79883:17;79903:20;79915:7;79903:11;:20::i;:::-;79883:40:::0;-1:-1:-1;80147:28:0::1;79883:40:::0;80147:16;:28:::1;:::i;:::-;80119:24;80137:6:::0;80119:15;:24:::1;:::i;:::-;:56;;80097:113;;;::::0;-1:-1:-1;;;80097:113:0;;20843:2:1;80097:113:0::1;::::0;::::1;20825:21:1::0;20882:1;20862:18;;;20855:29;-1:-1:-1;;;20900:18:1;;;20893:37;20947:18;;80097:113:0::1;20815:156:1::0;80097:113:0::1;79595:623;;;;;67708:1;;70829:594:::0;;;;;;;:::o;48812:227::-;48905:6;;;-1:-1:-1;;;;;48922:17:0;;;-1:-1:-1;;48922:17:0;;;;;;;;48950:12;:25;;;;;;;;48991:40;;48905:6;;;48922:17;48905:6;;48991:40;;48886:16;;48991:40;48875:164;48812:227;:::o;91847:223::-;-1:-1:-1;;;;;91915:17:0;;;;;;:11;:17;;;;;;;;91914:18;91906:51;;;;-1:-1:-1;;;91906:51:0;;22402:2:1;91906:51:0;;;22384:21:1;22441:2;22421:18;;;22414:30;22480:22;22460:18;;;22453:50;22520:18;;91906:51:0;22374:170:1;91906:51:0;-1:-1:-1;;;;;91968:17:0;;;;;;:11;:17;;;;;;:24;;-1:-1:-1;;91968:24:0;91988:4;91968:24;;;;;;92003:9;:20;;;;;;;;;;;;;-1:-1:-1;;92003:20:0;;;;;92041:21;;;91968:17;92041:21;91847:223;:::o;75168:643::-;47135:6;;-1:-1:-1;;;;;47135:6:0;26532:10;47282:23;47274:68;;;;-1:-1:-1;;;47274:68:0;;28603:2:1;47274:68:0;;;28585:21:1;;;28622:18;;;28615:30;-1:-1:-1;;;;;;;;;;;28661:18:1;;;28654:62;28733:18;;47274:68:0;28575:182:1;47274:68:0;64376:1:::1;64974:7;;:19;;64966:63;;;::::0;-1:-1:-1;;;64966:63:0;;33479:2:1;64966:63:0::1;::::0;::::1;33461:21:1::0;33518:2;33498:18;;;33491:30;-1:-1:-1;;;;;;;;;;;33537:18:1;;;33530:61;33608:18;;64966:63:0::1;33451:181:1::0;64966:63:0::1;64376:1;65107:7;:18:::0;66106:4:::2;75347:42;::::0;::::2;;;75339:61;;;::::0;-1:-1:-1;;;75339:61:0;;34179:2:1;75339:61:0::2;::::0;::::2;34161:21:1::0;34218:1;34198:18;;;34191:29;-1:-1:-1;;;34236:18:1;;;34229:36;34282:18;;75339:61:0::2;34151:155:1::0;75339:61:0::2;75411:6;75437:282;;;;;;;;75479:8;-1:-1:-1::0;;;;;75479:24:0::2;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;75437:282:0;;::::2;::::0;;75649:1:::2;75437:282;::::0;;::::2;::::0;;;;;::::2;::::0;;;;;;;::::2;::::0;;::::2;::::0;;;;;;;;;;;;;;;;;;;;;;75411:319;;75437:282;75411:319;;::::2;::::0;;;;;;;;;;;;;::::2;::::0;;;::::2;-1:-1:-1::0;;;75437:282:0::2;75411:319:::0;;::::2;::::0;::::2;;;::::0;;::::2;;::::0;;;;;::::2;::::0;;;::::2;::::0;;;;::::2;::::0;;;::::2;::::0;;;;::::2;::::0;;;;::::2;::::0;;;;;;;;;::::2;::::0;;::::2;::::0;;;::::2;::::0;;-1:-1:-1;;;75411:319:0;::::2;;::::0;;;::::2;-1:-1:-1::0;;;;75411:319:0;;;;;-1:-1:-1;;;75411:319:0;::::2;;::::0;;;::::2;::::0;;;::::2;::::0;;75757:6:::2;:13:::0;75437:282;;75757:17:::2;::::0;::::2;:::i;:::-;75746:57;::::0;35194:6:1;35182:19;;35164:38;;75746:57:0::2;::::0;35152:2:1;35137:18;75746:57:0::2;;;;;;;-1:-1:-1::0;;64332:1:0::1;65286:7;:22:::0;75168:643::o;73505:284::-;67670:6;:13;73659:26;;73610:7;;67660:23;;67652:45;;;;-1:-1:-1;;;67652:45:0;;23161:2:1;67652:45:0;;;23143:21:1;23200:1;23180:18;;;23173:29;-1:-1:-1;;;23218:18:1;;;23211:39;23267:18;;67652:45:0;23133:158:1;67652:45:0;64376:1:::1;64974:7;;:19;;64966:63;;;::::0;-1:-1:-1;;;64966:63:0;;33479:2:1;64966:63:0::1;::::0;::::1;33461:21:1::0;33518:2;33498:18;;;33491:30;-1:-1:-1;;;;;;;;;;;33537:18:1;;;33530:61;33608:18;;64966:63:0::1;33451:181:1::0;64966:63:0::1;64376:1;65107:7;:18:::0;73712:6:::2;:15:::0;;73719:7;;73712:15;::::2;;;;;:::i;:::-;;;;;;;;;;;:22;;;;;;;;;;;;73711:23;73703:43;;;::::0;-1:-1:-1;;;73703:43:0;;27104:2:1;73703:43:0::2;::::0;::::2;27086:21:1::0;27143:1;27123:18;;;27116:29;-1:-1:-1;;;27161:18:1;;;27154:37;27208:18;;73703:43:0::2;27076:156:1::0;73703:43:0::2;73764:17;73773:7;73764:8;:17::i;:::-;64332:1:::1;65286:7;:22:::0;73757:24;73505:284;-1:-1:-1;;;73505:284:0:o;84019:189::-;84146:54;84164:7;84173:16;84191:5;84198:1;84146:17;:54::i;31411:401::-;-1:-1:-1;;;;;31619:20:0;;26532:10;31619:20;;:60;;-1:-1:-1;31643:36:0;31660:4;26532:10;31171:168;:::i;31643:36::-;31597:151;;;;-1:-1:-1;;;31597:151:0;;22751:2:1;31597:151:0;;;22733:21:1;22790:2;22770:18;;;22763:30;22829:34;22809:18;;;22802:62;22900:11;22880:18;;;22873:39;22929:19;;31597:151:0;22723:231:1;31597:151:0;31759:45;31777:4;31783:2;31787;31791:6;31799:4;31759:17;:45::i;74044:1116::-;74115:26;74159:19;74181:6;74188:7;74181:15;;;;;;;;:::i;:::-;;;;;;;;;74228:14;74181:15;;;;;74228:14;;;;74282:26;;;-1:-1:-1;;;74282:26:0;;;;74181:15;;-1:-1:-1;;;;;;74228:14:0;;;;74181:15;74228:14;;74282:24;;:26;;;;;;;;;;;74228:14;74282:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74255:53;;74319:8;-1:-1:-1;;;;;74319:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74348:23;74374:8;-1:-1:-1;;;;;74374:24:0;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74348:52;-1:-1:-1;74432:34:0;74450:16;74348:52;74432:34;:::i;:::-;74479:52;;;74515:15;74479:52;-1:-1:-1;;;74479:52:0;-1:-1:-1;;;;;74479:52:0;;;;;;74411:55;-1:-1:-1;74479:26:0;74693:7;47135:6;;-1:-1:-1;;;;;47135:6:0;;47062:87;74693:7;74670:30;;74736:1;74715:18;:22;:52;;;;-1:-1:-1;;;;;;74741:26:0;;;;74715:52;74711:347;;;74894:22;;;;74784:28;;74972:5;;74937:15;;-1:-1:-1;;;74894:22:0;;;;74854:20;74866:7;74854:11;:20::i;:::-;74816:58;;:18;:58;:::i;:::-;:100;;;;:::i;:::-;74815:137;;;;:::i;:::-;:162;;;;:::i;:::-;74784:193;;74992:54;74998:12;75012:7;75021:20;74992:54;;;;;;;;;;;;:5;:54::i;:::-;74769:289;74711:347;75088:7;75075:41;75097:18;75075:41;;;;35359:25:1;;35347:2;35332:18;;35314:76;75075:41:0;;;;;;;;75127:25;;;;;74044:1116;;;:::o;72813:555::-;73020:19;;-1:-1:-1;;;73020:19:0;;-1:-1:-1;;;;;14311:55:1;;;73020:19:0;;;14293:74:1;72965:22:0;;;;73020:15;;;;;14266:18:1;;73020:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;73000:39;;73055:6;73050:262;;73078:56;-1:-1:-1;;;;;73078:22:0;;73101:10;73113:2;73117:16;73078:22;:56::i;:::-;73050:262;;;73193:10;73175:29;;;;:17;:29;;;;;;;;73167:52;;;;-1:-1:-1;;;73167:52:0;;29705:2:1;73167:52:0;;;29687:21:1;29744:2;29724:18;;;29717:30;29783:12;29763:18;;;29756:40;29813:18;;73167:52:0;29677:160:1;73167:52:0;73234:66;;;;;-1:-1:-1;;;;;17747:15:1;;;73234:66:0;;;17729:34:1;17779:18;;;17772:34;;;17842:15;;17822:18;;;17815:43;73249:10:0;;73234:37;;17641:18:1;;73234:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73050:262;73329:19;;-1:-1:-1;;;73329:19:0;;-1:-1:-1;;;;;14311:55:1;;;73329:19:0;;;14293:74:1;73351:9:0;;73329:15;;;;;;14266:18:1;;73329:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:31;;;;:::i;:::-;73322:38;72813:555;-1:-1:-1;;;;;;72813:555:0:o;44424:242::-;44583:38;44595:7;44604:2;44608:6;44616:4;44583:11;:38::i;:::-;44632:16;;;;:12;:16;;;;;:26;;44652:6;;44632:16;:26;;44652:6;;44632:26;:::i;:::-;;;;-1:-1:-1;;;;;;44424:242:0:o;61811:716::-;62235:23;62261:69;62289:4;62261:69;;;;;;;;;;;;;;;;;62269:5;-1:-1:-1;;;;;62261:27:0;;;:69;;;;;:::i;:::-;62345:17;;62235:95;;-1:-1:-1;62345:21:0;62341:179;;62442:10;62431:30;;;;;;;;;;;;:::i;:::-;62423:85;;;;-1:-1:-1;;;62423:85:0;;31506:2:1;62423:85:0;;;31488:21:1;31545:2;31525:18;;;31518:30;31584:34;31564:18;;;31557:62;31655:12;31635:18;;;31628:40;31685:19;;62423:85:0;31478:232:1;34054:1155:0;34281:7;:14;34267:3;:10;:28;34259:81;;;;-1:-1:-1;;;34259:81:0;;32668:2:1;34259:81:0;;;32650:21:1;32707:2;32687:18;;;32680:30;32746:34;32726:18;;;32719:62;32817:10;32797:18;;;32790:38;32845:19;;34259:81:0;32640:230:1;34259:81:0;-1:-1:-1;;;;;34359:18:0;;34351:70;;;;-1:-1:-1;;;34351:70:0;;20435:2:1;34351:70:0;;;20417:21:1;20474:2;20454:18;;;20447:30;20513:34;20493:18;;;20486:62;-1:-1:-1;;;20564:18:1;;;20557:37;20611:19;;34351:70:0;20407:229:1;34351:70:0;-1:-1:-1;;;;;34440:16:0;;34432:66;;;;-1:-1:-1;;;34432:66:0;;25934:2:1;34432:66:0;;;25916:21:1;25973:2;25953:18;;;25946:30;26012:34;25992:18;;;25985:62;-1:-1:-1;;;26063:18:1;;;26056:35;26108:19;;34432:66:0;25906:227:1;34432:66:0;26532:10;34555:60;26532:10;34586:4;34592:2;34596:3;34601:7;34610:4;34555:20;:60::i;:::-;34633:9;34628:421;34652:3;:10;34648:1;:14;34628:421;;;34684:10;34697:3;34701:1;34697:6;;;;;;;;:::i;:::-;;;;;;;34684:19;;34718:14;34735:7;34743:1;34735:10;;;;;;;;:::i;:::-;;;;;;;;;;;;34762:19;34784:13;;;;;;;;;;-1:-1:-1;;;;;34784:19:0;;;;;;;;;;;;34735:10;;-1:-1:-1;34826:21:0;;;;34818:76;;;;-1:-1:-1;;;34818:76:0;;27843:2:1;34818:76:0;;;27825:21:1;27882:2;27862:18;;;27855:30;27921:34;27901:18;;;27894:62;-1:-1:-1;;;27972:18:1;;;27965:40;28022:19;;34818:76:0;27815:232:1;34818:76:0;34938:9;:13;;;;;;;;;;;-1:-1:-1;;;;;34938:19:0;;;;;;;;;;34960:20;;;34938:42;;35010:17;;;;;;;:27;;34960:20;;34938:9;35010:27;;34960:20;;35010:27;:::i;:::-;;;;;;;;34669:380;;;34664:3;;;;:::i;:::-;;;34628:421;;;;35096:2;-1:-1:-1;;;;;35066:47:0;35090:4;-1:-1:-1;;;;;35066:47:0;35080:8;-1:-1:-1;;;;;35066:47:0;;35100:3;35105:7;35066:47;;;;;;;:::i;:::-;;;;;;;;35126:75;35162:8;35172:4;35178:2;35182:3;35187:7;35196:4;35126:35;:75::i;71525:948::-;71679:26;71774:6;71740:30;71750:10;71762:7;71740:9;:30::i;:::-;:40;;71718:110;;;;-1:-1:-1;;;71718:110:0;;28254:2:1;71718:110:0;;;28236:21:1;28293:2;28273:18;;;28266:30;28332:22;28312:18;;;28305:50;28372:18;;71718:110:0;28226:170:1;71718:110:0;71856:1;71847:6;:10;71839:35;;;;-1:-1:-1;;;71839:35:0;;32327:2:1;71839:35:0;;;32309:21:1;32366:2;32346:18;;;32339:30;-1:-1:-1;;;32385:18:1;;;32378:42;32437:18;;71839:35:0;32299:162:1;71839:35:0;71885:18;71906:6;71913:7;71906:15;;;;;;;;:::i;:::-;;;;;;;;;71885:36;;;;;;;;71906:15;;;;;;;71885:36;;-1:-1:-1;;;;;71885:36:0;;;;;;-1:-1:-1;;;71885:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71885:36:0;;;;;;;;;;-1:-1:-1;;;71885:36:0;;;;;;;;;;;-1:-1:-1;72018:20:0;72030:7;72018:11;:20::i;:::-;71969:5;:14;;;-1:-1:-1;;;;;71969:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71960:41;;:6;:41;:::i;:::-;71959:79;;;;:::i;:::-;71934:104;;72049:34;72055:10;72067:7;72076:6;72049:5;:34::i;:::-;72120:21;;:35;;-1:-1:-1;;;72120:35:0;;-1:-1:-1;;;;;14311:55:1;;;72120:35:0;;;14293:74:1;72096:21:0;;72120:31;;;;14266:18:1;;72120:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;72166:14;;;;;:43;;;;;-1:-1:-1;;;;;16415:55:1;;;72166:43:0;;;16397:74:1;16487:18;;;16480:34;;;72096:59:0;;-1:-1:-1;72166:23:0;;;;;16370:18:1;;72166:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;72237:21:0;;:35;;-1:-1:-1;;;72237:35:0;;-1:-1:-1;;;;;14311:55:1;;;72237:35:0;;;14293:74:1;72275:13:0;;-1:-1:-1;72237:31:0;;;;-1:-1:-1;72237:31:0;;14266:18:1;;72237:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:51;;;;:::i;:::-;72220:68;;72327:11;72309:14;:29;;72301:59;;;;-1:-1:-1;;;72301:59:0;;30402:2:1;72301:59:0;;;30384:21:1;30441:2;30421:18;;;30414:30;30480:19;30460:18;;;30453:47;30517:18;;72301:59:0;30374:167:1;72301:59:0;72376:57;;;35569:25:1;;;35625:2;35610:18;;35603:34;;;-1:-1:-1;;;;;72376:57:0;;;72394:10;;72385:7;;72376:57;;35542:18:1;72376:57:0;;;;;;;-1:-1:-1;72451:14:0;71525:948;-1:-1:-1;;;;;;71525:948:0:o;77348:298::-;77427:19;77449:6;77456:7;77449:15;;;;;;;;:::i;:::-;;;;;;;;;;;77427:37;;77484:5;:14;;;;;;;;;;;;77483:15;77475:37;;;;-1:-1:-1;;;77475:37:0;;24499:2:1;77475:37:0;;;24481:21:1;24538:1;24518:18;;;24511:29;-1:-1:-1;;;24556:18:1;;;24549:39;24605:18;;77475:37:0;24471:158:1;77475:37:0;77541:5;:12;;;;;;;;;;;;77531:22;;:6;:22;;;;77523:39;;;;-1:-1:-1;;;77523:39:0;;;;;;24167:2:1;24149:21;;;24206:1;24186:18;;;24179:29;-1:-1:-1;;;24239:2:1;24224:18;;24217:34;24283:2;24268:18;;24139:153;77523:39:0;77573:12;;;:21;;;;;-1:-1:-1;;;77573:21:0;;;;;;;;77610:28;;77622:7;;77610:28;;;;77588:6;17426:14:1;17419:22;17401:41;;17389:2;17374:18;;17356:92;77610:28:0;;;;;;;;77416:230;77348:298;;:::o;32795:901::-;-1:-1:-1;;;;;32983:18:0;;32975:70;;;;-1:-1:-1;;;32975:70:0;;20435:2:1;32975:70:0;;;20417:21:1;20474:2;20454:18;;;20447:30;20513:34;20493:18;;;20486:62;-1:-1:-1;;;20564:18:1;;;20557:37;20611:19;;32975:70:0;20407:229:1;32975:70:0;-1:-1:-1;;;;;33064:16:0;;33056:66;;;;-1:-1:-1;;;33056:66:0;;25934:2:1;33056:66:0;;;25916:21:1;25973:2;25953:18;;;25946:30;26012:34;25992:18;;;25985:62;-1:-1:-1;;;26063:18:1;;;26056:35;26108:19;;33056:66:0;25906:227:1;33056:66:0;26532:10;33179:96;26532:10;33210:4;33216:2;33220:21;33238:2;33220:17;:21::i;:::-;33243:25;33261:6;33243:17;:25::i;:::-;33270:4;33179:20;:96::i;:::-;33288:19;33310:13;;;;;;;;;;;-1:-1:-1;;;;;33310:19:0;;;;;;;;;;33348:21;;;;33340:76;;;;-1:-1:-1;;;33340:76:0;;27843:2:1;33340:76:0;;;27825:21:1;27882:2;27862:18;;;27855:30;27921:34;27901:18;;;27894:62;-1:-1:-1;;;27972:18:1;;;27965:40;28022:19;;33340:76:0;27815:232:1;33340:76:0;33452:9;:13;;;;;;;;;;;-1:-1:-1;;;;;33452:19:0;;;;;;;;;;33474:20;;;33452:42;;33516:17;;;;;;;:27;;33474:20;;33452:9;33516:27;;33474:20;;33516:27;:::i;:::-;;;;-1:-1:-1;;33561:46:0;;;35569:25:1;;;35625:2;35610:18;;35603:34;;;-1:-1:-1;;;;;33561:46:0;;;;;;;;;;;;;;35542:18:1;33561:46:0;;;;;;;33620:68;33651:8;33661:4;33667:2;33671;33675:6;33683:4;33620:30;:68::i;:::-;32964:732;;32795:901;;;;;:::o;59457:248::-;59628:68;;-1:-1:-1;;;;;15513:15:1;;;59628:68:0;;;15495:34:1;15565:15;;15545:18;;;15538:43;15597:18;;;15590:34;;;59601:96:0;;59621:5;;59651:27;;15407:18:1;;59628:68:0;15389:241:1;36555:622:0;-1:-1:-1;;;;;36713:21:0;;36705:67;;;;-1:-1:-1;;;36705:67:0;;33077:2:1;36705:67:0;;;33059:21:1;33116:2;33096:18;;;33089:30;33155:34;33135:18;;;33128:62;33226:3;33206:18;;;33199:31;33247:19;;36705:67:0;33049:223:1;36705:67:0;26532:10;36829:107;26532:10;36785:16;36872:7;36881:21;36899:2;36881:17;:21::i;36829:107::-;36949:9;:13;;;;;;;;;;;-1:-1:-1;;;;;36949:22:0;;;;;;;;;:32;;36975:6;;36949:9;:32;;36975:6;;36949:32;:::i;:::-;;;;-1:-1:-1;;36997:57:0;;;35569:25:1;;;35625:2;35610:18;;35603:34;;;-1:-1:-1;;;;;36997:57:0;;;;37030:1;;36997:57;;;;;;35542:18:1;36997:57:0;;;;;;;;36694:483;36555:622;;;;:::o;21218:229::-;21355:12;21387:52;21409:6;21417:4;21423:1;21426:12;21387:21;:52::i;93620:441::-;91485:10;91473:23;;;;:11;:23;;;;;;;;91465:52;;;;-1:-1:-1;;;91465:52:0;;26759:2:1;91465:52:0;;;26741:21:1;26798:2;26778:18;;;26771:30;-1:-1:-1;;;26817:18:1;;;26810:46;26873:18;;91465:52:0;26731:166:1;91465:52:0;-1:-1:-1;;;;;93875:17:0;::::1;;::::0;;;:11:::1;:17;::::0;;;;;::::1;;93867:51;;;::::0;-1:-1:-1;;;93867:51:0;;25584:2:1;93867:51:0::1;::::0;::::1;25566:21:1::0;25623:2;25603:18;;;25596:30;25662:23;25642:18;;;25635:51;25703:18;;93867:51:0::1;25556:171:1::0;93867:51:0::1;-1:-1:-1::0;;;;;93937:15:0;::::1;;::::0;;;:11:::1;:15;::::0;;;;;::::1;;93929:47;;;::::0;-1:-1:-1;;;93929:47:0;;30748:2:1;93929:47:0::1;::::0;::::1;30730:21:1::0;30787:2;30767:18;;;30760:30;30826:21;30806:18;;;30799:49;30865:18;;93929:47:0::1;30720:169:1::0;93929:47:0::1;93987:66;84362:431:::0;42282:813;-1:-1:-1;;;;;42522:13:0;;18735:20;18783:8;42518:570;;42558:79;;-1:-1:-1;;;42558:79:0;;-1:-1:-1;;;;;42558:43:0;;;;;:79;;42602:8;;42612:4;;42618:3;;42623:7;;42632:4;;42558:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42558:79:0;;;;;;;;-1:-1:-1;;42558:79:0;;;;;;;;;;;;:::i;:::-;;;42554:523;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;42950:6;42943:14;;-1:-1:-1;;;42943:14:0;;;;;;;;:::i;42554:523::-;;;42999:62;;-1:-1:-1;;;42999:62:0;;19605:2:1;42999:62:0;;;19587:21:1;19644:2;19624:18;;;19617:30;19683:34;19663:18;;;19656:62;19754:22;19734:18;;;19727:50;19794:19;;42999:62:0;19577:242:1;42554:523:0;-1:-1:-1;;;;;;42719:60:0;;-1:-1:-1;;;42719:60:0;42715:159;;42804:50;;-1:-1:-1;;;42804:50:0;;20026:2:1;42804:50:0;;;20008:21:1;20065:2;20045:18;;;20038:30;20104:34;20084:18;;;20077:62;-1:-1:-1;;;20155:18:1;;;20148:38;20203:19;;42804:50:0;19998:230:1;45130:208:0;45261:32;45273:7;45282:2;45286:6;45261:11;:32::i;:::-;45304:16;;;;:12;:16;;;;;:26;;45324:6;;45304:16;:26;;45324:6;;45304:26;:::i;:::-;;;;-1:-1:-1;;;;;45130:208:0:o;43103:198::-;43223:16;;;43237:1;43223:16;;;;;;;;;43169;;43198:22;;43223:16;;;;;;;;;;;;-1:-1:-1;43223:16:0;43198:41;;43261:7;43250:5;43256:1;43250:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;43288:5;43103:198;-1:-1:-1;;43103:198:0:o;41530:744::-;-1:-1:-1;;;;;41745:13:0;;18735:20;18783:8;41741:526;;41781:72;;-1:-1:-1;;;41781:72:0;;-1:-1:-1;;;;;41781:38:0;;;;;:72;;41820:8;;41830:4;;41836:2;;41840:6;;41848:4;;41781:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41781:72:0;;;;;;;;-1:-1:-1;;41781:72:0;;;;;;;;;;;;:::i;:::-;;;41777:479;;;;:::i;:::-;-1:-1:-1;;;;;;41903:55:0;;-1:-1:-1;;;41903:55:0;41899:154;;41983:50;;-1:-1:-1;;;41983:50:0;;20026:2:1;41983:50:0;;;20008:21:1;20065:2;20045:18;;;20038:30;20104:34;20084:18;;;20077:62;-1:-1:-1;;;20155:18:1;;;20148:38;20203:19;;41983:50:0;19998:230:1;22338:510:0;22508:12;22566:5;22541:21;:30;;22533:81;;;;-1:-1:-1;;;22533:81:0;;25177:2:1;22533:81:0;;;25159:21:1;25216:2;25196:18;;;25189:30;25255:34;25235:18;;;25228:62;25326:8;25306:18;;;25299:36;25352:19;;22533:81:0;25149:228:1;22533:81:0;18735:20;;22625:60;;;;-1:-1:-1;;;22625:60:0;;30044:2:1;22625:60:0;;;30026:21:1;30083:2;30063:18;;;30056:30;30122:31;30102:18;;;30095:59;30171:18;;22625:60:0;30016:179:1;22625:60:0;22699:12;22713:23;22740:6;-1:-1:-1;;;;;22740:11:0;22759:5;22766:4;22740:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22698:73;;;;22789:51;22806:7;22815:10;22827:12;22789:16;:51::i;:::-;22782:58;22338:510;-1:-1:-1;;;;;;;22338:510:0:o;38549:675::-;-1:-1:-1;;;;;38679:21:0;;38671:69;;;;-1:-1:-1;;;38671:69:0;;27439:2:1;38671:69:0;;;27421:21:1;27478:2;27458:18;;;27451:30;27517:34;27497:18;;;27490:62;27588:5;27568:18;;;27561:33;27611:19;;38671:69:0;27411:225:1;38671:69:0;26532:10;38797:105;26532:10;38828:7;38753:16;38849:21;38867:2;38849:17;:21::i;:::-;38872:25;38890:6;38872:17;:25::i;:::-;38797:105;;;;;;;;;;;;:20;:105::i;:::-;38915:22;38940:13;;;;;;;;;;;-1:-1:-1;;;;;38940:22:0;;;;;;;;;;38981:24;;;;38973:73;;;;-1:-1:-1;;;38973:73:0;;21997:2:1;38973:73:0;;;21979:21:1;22036:2;22016:18;;;22009:30;22075:34;22055:18;;;22048:62;22146:6;22126:18;;;22119:34;22170:19;;38973:73:0;21969:226:1;38973:73:0;39082:9;:13;;;;;;;;;;;-1:-1:-1;;;;;39082:22:0;;;;;;;;;;;;39107:23;;;39082:48;;39159:57;;35569:25:1;;;35610:18;;;35603:34;;;39082:22:0;;39159:57;;;;;;35542:18:1;39159:57:0;35524:119:1;25024:712:0;25174:12;25203:7;25199:530;;;-1:-1:-1;25234:10:0;25227:17;;25199:530;25348:17;;:21;25344:374;;25546:10;25540:17;25607:15;25594:10;25590:2;25586:19;25579:44;25344:374;25689:12;25682:20;;-1:-1:-1;;;25682:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:735:1;68:5;121:3;114:4;106:6;102:17;98:27;88:2;;139:1;136;129:12;88:2;175:6;162:20;201:4;224:43;264:2;224:43;:::i;:::-;296:2;290:9;308:31;336:2;328:6;308:31;:::i;:::-;374:18;;;408:15;;;;-1:-1:-1;443:15:1;;;493:1;489:10;;;477:23;;473:32;;470:41;-1:-1:-1;467:2:1;;;524:1;521;514:12;467:2;546:1;556:163;570:2;567:1;564:9;556:163;;;627:17;;615:30;;665:12;;;;697;;;;588:1;581:9;556:163;;;-1:-1:-1;737:6:1;;78:671;-1:-1:-1;;;;;;;78:671:1:o;754:555::-;796:5;849:3;842:4;834:6;830:17;826:27;816:2;;867:1;864;857:12;816:2;903:6;890:20;929:18;925:2;922:26;919:2;;;951:18;;:::i;:::-;1000:2;994:9;1012:67;1067:2;1048:13;;-1:-1:-1;;1044:27:1;1073:4;1040:38;994:9;1012:67;:::i;:::-;1103:2;1095:6;1088:18;1149:3;1142:4;1137:2;1129:6;1125:15;1121:26;1118:35;1115:2;;;1166:1;1163;1156:12;1115:2;1230;1223:4;1215:6;1211:17;1204:4;1196:6;1192:17;1179:54;1277:1;1253:15;;;1270:4;1249:26;1242:37;;;;1257:6;806:503;-1:-1:-1;;;806:503:1:o;1314:159::-;1381:20;;1441:6;1430:18;;1420:29;;1410:2;;1463:1;1460;1453:12;1478:247;1537:6;1590:2;1578:9;1569:7;1565:23;1561:32;1558:2;;;1606:1;1603;1596:12;1558:2;1645:9;1632:23;1664:31;1689:5;1664:31;:::i;1730:388::-;1798:6;1806;1859:2;1847:9;1838:7;1834:23;1830:32;1827:2;;;1875:1;1872;1865:12;1827:2;1914:9;1901:23;1933:31;1958:5;1933:31;:::i;:::-;1983:5;-1:-1:-1;2040:2:1;2025:18;;2012:32;2053:33;2012:32;2053:33;:::i;:::-;2105:7;2095:17;;;1817:301;;;;;:::o;2123:1071::-;2277:6;2285;2293;2301;2309;2362:3;2350:9;2341:7;2337:23;2333:33;2330:2;;;2379:1;2376;2369:12;2330:2;2418:9;2405:23;2437:31;2462:5;2437:31;:::i;:::-;2487:5;-1:-1:-1;2544:2:1;2529:18;;2516:32;2557:33;2516:32;2557:33;:::i;:::-;2609:7;-1:-1:-1;2667:2:1;2652:18;;2639:32;2690:18;2720:14;;;2717:2;;;2747:1;2744;2737:12;2717:2;2770:61;2823:7;2814:6;2803:9;2799:22;2770:61;:::i;:::-;2760:71;;2884:2;2873:9;2869:18;2856:32;2840:48;;2913:2;2903:8;2900:16;2897:2;;;2929:1;2926;2919:12;2897:2;2952:63;3007:7;2996:8;2985:9;2981:24;2952:63;:::i;:::-;2942:73;;3068:3;3057:9;3053:19;3040:33;3024:49;;3098:2;3088:8;3085:16;3082:2;;;3114:1;3111;3104:12;3082:2;;3137:51;3180:7;3169:8;3158:9;3154:24;3137:51;:::i;:::-;3127:61;;;2320:874;;;;;;;;:::o;3199:734::-;3303:6;3311;3319;3327;3335;3388:3;3376:9;3367:7;3363:23;3359:33;3356:2;;;3405:1;3402;3395:12;3356:2;3444:9;3431:23;3463:31;3488:5;3463:31;:::i;:::-;3513:5;-1:-1:-1;3570:2:1;3555:18;;3542:32;3583:33;3542:32;3583:33;:::i;:::-;3635:7;-1:-1:-1;3689:2:1;3674:18;;3661:32;;-1:-1:-1;3740:2:1;3725:18;;3712:32;;-1:-1:-1;3795:3:1;3780:19;;3767:33;3823:18;3812:30;;3809:2;;;3855:1;3852;3845:12;3809:2;3878:49;3919:7;3910:6;3899:9;3895:22;3878:49;:::i;3938:382::-;4003:6;4011;4064:2;4052:9;4043:7;4039:23;4035:32;4032:2;;;4080:1;4077;4070:12;4032:2;4119:9;4106:23;4138:31;4163:5;4138:31;:::i;:::-;4188:5;-1:-1:-1;4245:2:1;4230:18;;4217:32;4258:30;4217:32;4258:30;:::i;4325:315::-;4393:6;4401;4454:2;4442:9;4433:7;4429:23;4425:32;4422:2;;;4470:1;4467;4460:12;4422:2;4509:9;4496:23;4528:31;4553:5;4528:31;:::i;:::-;4578:5;4630:2;4615:18;;;;4602:32;;-1:-1:-1;;;4412:228:1:o;4645:615::-;4731:6;4739;4792:2;4780:9;4771:7;4767:23;4763:32;4760:2;;;4808:1;4805;4798:12;4760:2;4848:9;4835:23;4877:18;4918:2;4910:6;4907:14;4904:2;;;4934:1;4931;4924:12;4904:2;4972:6;4961:9;4957:22;4947:32;;5017:7;5010:4;5006:2;5002:13;4998:27;4988:2;;5039:1;5036;5029:12;4988:2;5079;5066:16;5105:2;5097:6;5094:14;5091:2;;;5121:1;5118;5111:12;5091:2;5174:7;5169:2;5159:6;5156:1;5152:14;5148:2;5144:23;5140:32;5137:45;5134:2;;;5195:1;5192;5185:12;5134:2;5226;5218:11;;;;;5248:6;;-1:-1:-1;4750:510:1;;-1:-1:-1;;;;4750:510:1:o;5265:1288::-;5383:6;5391;5444:2;5432:9;5423:7;5419:23;5415:32;5412:2;;;5460:1;5457;5450:12;5412:2;5500:9;5487:23;5529:18;5570:2;5562:6;5559:14;5556:2;;;5586:1;5583;5576:12;5556:2;5624:6;5613:9;5609:22;5599:32;;5669:7;5662:4;5658:2;5654:13;5650:27;5640:2;;5691:1;5688;5681:12;5640:2;5727;5714:16;5749:4;5772:43;5812:2;5772:43;:::i;:::-;5844:2;5838:9;5856:31;5884:2;5876:6;5856:31;:::i;:::-;5922:18;;;5956:15;;;;-1:-1:-1;5991:11:1;;;6033:1;6029:10;;;6021:19;;6017:28;;6014:41;-1:-1:-1;6011:2:1;;;6068:1;6065;6058:12;6011:2;6090:1;6081:10;;6100:238;6114:2;6111:1;6108:9;6100:238;;;6185:3;6172:17;6202:31;6227:5;6202:31;:::i;:::-;6246:18;;6132:1;6125:9;;;;;6284:12;;;;6316;;6100:238;;;-1:-1:-1;6357:6:1;-1:-1:-1;;6401:18:1;;6388:32;;-1:-1:-1;;6432:16:1;;;6429:2;;;6461:1;6458;6451:12;6429:2;;6484:63;6539:7;6528:8;6517:9;6513:24;6484:63;:::i;:::-;6474:73;;;5402:1151;;;;;:::o;6558:245::-;6625:6;6678:2;6666:9;6657:7;6653:23;6649:32;6646:2;;;6694:1;6691;6684:12;6646:2;6726:9;6720:16;6745:28;6767:5;6745:28;:::i;6808:245::-;6866:6;6919:2;6907:9;6898:7;6894:23;6890:32;6887:2;;;6935:1;6932;6925:12;6887:2;6974:9;6961:23;6993:30;7017:5;6993:30;:::i;7058:249::-;7127:6;7180:2;7168:9;7159:7;7155:23;7151:32;7148:2;;;7196:1;7193;7186:12;7148:2;7228:9;7222:16;7247:30;7271:5;7247:30;:::i;7312:264::-;7395:6;7448:2;7436:9;7427:7;7423:23;7419:32;7416:2;;;7464:1;7461;7454:12;7416:2;7496:9;7490:16;7515:31;7540:5;7515:31;:::i;8256:336::-;8340:6;8348;8401:2;8389:9;8380:7;8376:23;8372:32;8369:2;;;8417:1;8414;8407:12;8369:2;8456:9;8443:23;8475:31;8500:5;8475:31;:::i;:::-;8525:5;-1:-1:-1;8549:37:1;8582:2;8567:18;;8549:37;:::i;:::-;8539:47;;8359:233;;;;;:::o;8597:321::-;8666:6;8719:2;8707:9;8698:7;8694:23;8690:32;8687:2;;;8735:1;8732;8725:12;8687:2;8775:9;8762:23;8808:18;8800:6;8797:30;8794:2;;;8840:1;8837;8830:12;8794:2;8863:49;8904:7;8895:6;8884:9;8880:22;8863:49;:::i;:::-;8853:59;8677:241;-1:-1:-1;;;;8677:241:1:o;8923:698::-;9018:6;9026;9034;9087:2;9075:9;9066:7;9062:23;9058:32;9055:2;;;9103:1;9100;9093:12;9055:2;9143:9;9130:23;9172:18;9213:2;9205:6;9202:14;9199:2;;;9229:1;9226;9219:12;9199:2;9252:49;9293:7;9284:6;9273:9;9269:22;9252:49;:::i;:::-;9242:59;;9354:2;9343:9;9339:18;9326:32;9310:48;;9383:2;9373:8;9370:16;9367:2;;;9399:1;9396;9389:12;9367:2;;9422:51;9465:7;9454:8;9443:9;9439:24;9422:51;:::i;:::-;9412:61;;;9523:2;9512:9;9508:18;9495:32;9567:4;9560:5;9556:16;9549:5;9546:27;9536:2;;9587:1;9584;9577:12;9536:2;9610:5;9600:15;;;9045:576;;;;;:::o;9626:180::-;9685:6;9738:2;9726:9;9717:7;9713:23;9709:32;9706:2;;;9754:1;9751;9744:12;9706:2;-1:-1:-1;9777:23:1;;9696:110;-1:-1:-1;9696:110:1:o;9811:184::-;9881:6;9934:2;9922:9;9913:7;9909:23;9905:32;9902:2;;;9950:1;9947;9940:12;9902:2;-1:-1:-1;9973:16:1;;9892:103;-1:-1:-1;9892:103:1:o;10000:315::-;10068:6;10076;10129:2;10117:9;10108:7;10104:23;10100:32;10097:2;;;10145:1;10142;10135:12;10097:2;10181:9;10168:23;10158:33;;10241:2;10230:9;10226:18;10213:32;10254:31;10279:5;10254:31;:::i;10320:309::-;10385:6;10393;10446:2;10434:9;10425:7;10421:23;10417:32;10414:2;;;10462:1;10459;10452:12;10414:2;10498:9;10485:23;10475:33;;10558:2;10547:9;10543:18;10530:32;10571:28;10593:5;10571:28;:::i;10634:538::-;10733:6;10741;10749;10757;10810:3;10798:9;10789:7;10785:23;10781:33;10778:2;;;10827:1;10824;10817:12;10778:2;10863:9;10850:23;10840:33;;10923:2;10912:9;10908:18;10895:32;10936:31;10961:5;10936:31;:::i;:::-;10986:5;-1:-1:-1;11043:2:1;11028:18;;11015:32;11056:33;11015:32;11056:33;:::i;:::-;10768:404;;;;-1:-1:-1;11108:7:1;;11162:2;11147:18;11134:32;;-1:-1:-1;;10768:404:1:o;11177:252::-;11244:6;11252;11305:2;11293:9;11284:7;11280:23;11276:32;11273:2;;;11321:1;11318;11311:12;11273:2;11357:9;11344:23;11334:33;;11386:37;11419:2;11408:9;11404:18;11386:37;:::i;11434:248::-;11502:6;11510;11563:2;11551:9;11542:7;11538:23;11534:32;11531:2;;;11579:1;11576;11569:12;11531:2;-1:-1:-1;;11602:23:1;;;11672:2;11657:18;;;11644:32;;-1:-1:-1;11521:161:1:o;11687:245::-;11766:6;11774;11827:2;11815:9;11806:7;11802:23;11798:32;11795:2;;;11843:1;11840;11833:12;11795:2;-1:-1:-1;;11866:16:1;;11922:2;11907:18;;;11901:25;11866:16;;11901:25;;-1:-1:-1;11785:147:1:o;11937:446::-;12020:6;12028;12036;12044;12097:3;12085:9;12076:7;12072:23;12068:33;12065:2;;;12114:1;12111;12104:12;12065:2;12150:9;12137:23;12127:33;;12207:2;12196:9;12192:18;12179:32;12169:42;;12261:2;12250:9;12246:18;12233:32;12274:28;12296:5;12274:28;:::i;12388:316::-;12465:6;12473;12481;12534:2;12522:9;12513:7;12509:23;12505:32;12502:2;;;12550:1;12547;12540:12;12502:2;-1:-1:-1;;12573:23:1;;;12643:2;12628:18;;12615:32;;-1:-1:-1;12694:2:1;12679:18;;;12666:32;;12492:212;-1:-1:-1;12492:212:1:o;12709:452::-;12795:6;12803;12811;12819;12872:3;12860:9;12851:7;12847:23;12843:33;12840:2;;;12889:1;12886;12879:12;12840:2;12925:9;12912:23;12902:33;;12982:2;12971:9;12967:18;12954:32;12944:42;;13033:2;13022:9;13018:18;13005:32;12995:42;;13087:2;13076:9;13072:18;13059:32;13100:31;13125:5;13100:31;:::i;:::-;12830:331;;;;-1:-1:-1;12830:331:1;;-1:-1:-1;;12830:331:1:o;13166:435::-;13219:3;13257:5;13251:12;13284:6;13279:3;13272:19;13310:4;13339:2;13334:3;13330:12;13323:19;;13376:2;13369:5;13365:14;13397:1;13407:169;13421:6;13418:1;13415:13;13407:169;;;13482:13;;13470:26;;13516:12;;;;13551:15;;;;13443:1;13436:9;13407:169;;;-1:-1:-1;13592:3:1;;13227:374;-1:-1:-1;;;;;13227:374:1:o;13606:257::-;13647:3;13685:5;13679:12;13712:6;13707:3;13700:19;13728:63;13784:6;13777:4;13772:3;13768:14;13761:4;13754:5;13750:16;13728:63;:::i;:::-;13845:2;13824:15;-1:-1:-1;;13820:29:1;13811:39;;;;13852:4;13807:50;;13655:208;-1:-1:-1;;13655:208:1:o;13868:274::-;13997:3;14035:6;14029:13;14051:53;14097:6;14092:3;14085:4;14077:6;14073:17;14051:53;:::i;:::-;14120:16;;;;;14005:137;-1:-1:-1;;14005:137:1:o;14378:849::-;14700:4;-1:-1:-1;;;;;14810:2:1;14802:6;14798:15;14787:9;14780:34;14862:2;14854:6;14850:15;14845:2;14834:9;14830:18;14823:43;;14902:3;14897:2;14886:9;14882:18;14875:31;14929:57;14981:3;14970:9;14966:19;14958:6;14929:57;:::i;:::-;15034:9;15026:6;15022:22;15017:2;15006:9;15002:18;14995:50;15068:44;15105:6;15097;15068:44;:::i;:::-;15054:58;;15161:9;15153:6;15149:22;15143:3;15132:9;15128:19;15121:51;15189:32;15214:6;15206;15189:32;:::i;:::-;15181:40;14709:518;-1:-1:-1;;;;;;;;14709:518:1:o;15635:583::-;15857:4;-1:-1:-1;;;;;15967:2:1;15959:6;15955:15;15944:9;15937:34;16019:2;16011:6;16007:15;16002:2;15991:9;15987:18;15980:43;;16059:6;16054:2;16043:9;16039:18;16032:34;16102:6;16097:2;16086:9;16082:18;16075:34;16146:3;16140;16129:9;16125:19;16118:32;16167:45;16207:3;16196:9;16192:19;16184:6;16167:45;:::i;16525:261::-;16704:2;16693:9;16686:21;16667:4;16724:56;16776:2;16765:9;16761:18;16753:6;16724:56;:::i;16791:465::-;17048:2;17037:9;17030:21;17011:4;17074:56;17126:2;17115:9;17111:18;17103:6;17074:56;:::i;:::-;17178:9;17170:6;17166:22;17161:2;17150:9;17146:18;17139:50;17206:44;17243:6;17235;17206:44;:::i;18327:219::-;18476:2;18465:9;18458:21;18439:4;18496:44;18536:2;18525:9;18521:18;18513:6;18496:44;:::i;18551:381::-;18748:2;18737:9;18730:21;18711:4;18774:44;18814:2;18803:9;18799:18;18791:6;18774:44;:::i;:::-;18866:9;18858:6;18854:22;18849:2;18838:9;18834:18;18827:50;18894:32;18919:6;18911;18894:32;:::i;18937:461::-;19160:2;19149:9;19142:21;19123:4;19186:44;19226:2;19215:9;19211:18;19203:6;19186:44;:::i;:::-;19278:9;19270:6;19266:22;19261:2;19250:9;19246:18;19239:50;19306:32;19331:6;19323;19306:32;:::i;:::-;19298:40;;;19386:4;19378:6;19374:17;19369:2;19358:9;19354:18;19347:45;19132:266;;;;;;:::o;35837:183::-;35897:4;35930:18;35922:6;35919:30;35916:2;;;35952:18;;:::i;:::-;-1:-1:-1;35997:1:1;35993:14;36009:4;35989:25;;35906:114::o;36025:128::-;36065:3;36096:1;36092:6;36089:1;36086:13;36083:2;;;36102:18;;:::i;:::-;-1:-1:-1;36138:9:1;;36073:80::o;36158:274::-;36198:1;36224;36214:2;;-1:-1:-1;;;36256:1:1;36249:88;36360:4;36357:1;36350:15;36388:4;36385:1;36378:15;36214:2;-1:-1:-1;36417:9:1;;36204:228::o;36437:168::-;36477:7;36543:1;36539;36535:6;36531:14;36528:1;36525:21;36520:1;36513:9;36506:17;36502:45;36499:2;;;36550:18;;:::i;:::-;-1:-1:-1;36590:9:1;;36489:116::o;36610:125::-;36650:4;36678:1;36675;36672:8;36669:2;;;36683:18;;:::i;:::-;-1:-1:-1;36720:9:1;;36659:76::o;36740:258::-;36812:1;36822:113;36836:6;36833:1;36830:13;36822:113;;;36912:11;;;36906:18;36893:11;;;36886:39;36858:2;36851:10;36822:113;;;36953:6;36950:1;36947:13;36944:2;;;-1:-1:-1;;36988:1:1;36970:16;;36963:27;36793:205::o;37003:437::-;37082:1;37078:12;;;;37125;;;37146:2;;37200:4;37192:6;37188:17;37178:27;;37146:2;37253;37245:6;37242:14;37222:18;37219:38;37216:2;;;-1:-1:-1;;;37287:1:1;37280:88;37391:4;37388:1;37381:15;37419:4;37416:1;37409:15;37445:249;37555:2;37536:13;;-1:-1:-1;;37532:27:1;37520:40;;37590:18;37575:34;;37611:22;;;37572:62;37569:2;;;37637:18;;:::i;:::-;37673:2;37666:22;-1:-1:-1;;37492:202:1:o;37699:135::-;37738:3;-1:-1:-1;;37759:17:1;;37756:2;;;37779:18;;:::i;:::-;-1:-1:-1;37826:1:1;37815:13;;37746:88::o;37839:184::-;-1:-1:-1;;;37888:1:1;37881:88;37988:4;37985:1;37978:15;38012:4;38009:1;38002:15;38028:184;-1:-1:-1;;;38077:1:1;38070:88;38177:4;38174:1;38167:15;38201:4;38198:1;38191:15;38217:184;-1:-1:-1;;;38266:1:1;38259:88;38366:4;38363:1;38356:15;38390:4;38387:1;38380:15;38406:184;-1:-1:-1;;;38455:1:1;38448:88;38555:4;38552:1;38545:15;38579:4;38576:1;38569:15;38595:179;38630:3;38672:1;38654:16;38651:23;38648:2;;;38718:1;38715;38712;38697:23;-1:-1:-1;38755:1:1;38749:8;38744:3;38740:18;38648:2;38638:136;:::o;38779:671::-;38818:3;38860:4;38842:16;38839:26;38836:2;;;38826:624;:::o;38836:2::-;38902;38896:9;-1:-1:-1;;38967:16:1;38963:25;;38960:1;38896:9;38939:50;39018:4;39012:11;39042:16;39077:18;39148:2;39141:4;39133:6;39129:17;39126:25;39121:2;39113:6;39110:14;39107:45;39104:2;;;39155:5;;;;;38826:624;:::o;39104:2::-;39192:6;39186:4;39182:17;39171:28;;39228:3;39222:10;39255:2;39247:6;39244:14;39241:2;;;39261:5;;;;;;38826:624;:::o;39241:2::-;39345;39326:16;39320:4;39316:27;39312:36;39305:4;39296:6;39291:3;39287:16;39283:27;39280:69;39277:2;;;39352:5;;;;;;38826:624;:::o;39277:2::-;39368:57;39419:4;39410:6;39402;39398:19;39394:30;39388:4;39368:57;:::i;:::-;-1:-1:-1;39441:3:1;;38826:624;-1:-1:-1;;;;;38826:624:1:o;39455:154::-;-1:-1:-1;;;;;39534:5:1;39530:54;39523:5;39520:65;39510:2;;39599:1;39596;39589:12;39614:118;39700:5;39693:13;39686:21;39679:5;39676:32;39666:2;;39722:1;39719;39712:12;39737:177;-1:-1:-1;;;;;;39815:5:1;39811:78;39804:5;39801:89;39791:2;;39904:1;39901;39894:12

Swarm Source

ipfs://1c60c13a17ef2cffa057ee616782171caefb9abe5e5075a2bebbf131745ae644
Loading