"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.useUserVaultBalanceLazyQuery = exports.useUserVaultBalanceQuery = exports.UserVaultBalanceDocument = exports.useUserBalancesLazyQuery = exports.useUserBalancesQuery = exports.UserBalancesDocument = exports.useTotalTvlLazyQuery = exports.useTotalTvlQuery = exports.TotalTvlDocument = exports.useScyVaultLazyQuery = exports.useScyVaultQuery = exports.ScyVaultDocument = exports.useScyVaultAprLazyQuery = exports.useScyVaultAprQuery = exports.ScyVaultAprDocument = exports.useScyPreviewLazyQuery = exports.useScyPreviewQuery = exports.ScyPreviewDocument = exports.useEventsLazyQuery = exports.useEventsQuery = exports.EventsDocument = exports.useCallsLazyQuery = exports.useCallsQuery = exports.CallsDocument = exports.useAggregatorVaultLazyQuery = exports.useAggregatorVaultQuery = exports.AggregatorVaultDocument = exports.useAggregatorBalancesLazyQuery = exports.useAggregatorBalancesQuery = exports.AggregatorBalancesDocument = exports.useAggPreviewLazyQuery = exports.useAggPreviewQuery = exports.AggPreviewDocument = exports.useIvaultAdminLazyQuery = exports.useIvaultAdminQuery = exports.IvaultAdminDocument = exports._SubgraphErrorPolicy_ = exports.Withdraw_OrderBy = exports.UserBalance_OrderBy = exports.Transfer_OrderBy = exports.Timelock_OrderBy = exports.ScyVault_OrderBy = exports.RequestWithdraw_OrderBy = exports.OrderDirection = exports.IVault_OrderBy = exports.Deposit_OrderBy = exports.DataPoint_OrderBy = exports.Call_OrderBy = exports.AggregatorVault_OrderBy = exports.AggBalance_OrderBy = void 0;
exports.useVaultPerformanceLazyQuery = exports.useVaultPerformanceQuery = exports.VaultPerformanceDocument = void 0;
var client_1 = require("@apollo/client");
var Apollo = __importStar(require("@apollo/client"));
var defaultOptions = {};
var AggBalance_OrderBy;
(function (AggBalance_OrderBy) {
    AggBalance_OrderBy["Aggregator"] = "aggregator";
    AggBalance_OrderBy["AggregatorGuardian"] = "aggregator__GUARDIAN";
    AggBalance_OrderBy["AggregatorManager"] = "aggregator__MANAGER";
    AggBalance_OrderBy["AggregatorAddress"] = "aggregator__address";
    AggBalance_OrderBy["AggregatorAprAllTime"] = "aggregator__aprAllTime";
    AggBalance_OrderBy["AggregatorAprCurrent"] = "aggregator__aprCurrent";
    AggBalance_OrderBy["AggregatorAprDaily"] = "aggregator__aprDaily";
    AggBalance_OrderBy["AggregatorAprMonthly"] = "aggregator__aprMonthly";
    AggBalance_OrderBy["AggregatorAprThreeDay"] = "aggregator__aprThreeDay";
    AggBalance_OrderBy["AggregatorAprWeekly"] = "aggregator__aprWeekly";
    AggBalance_OrderBy["AggregatorAprYearly"] = "aggregator__aprYearly";
    AggBalance_OrderBy["AggregatorAvgHarvestInterval"] = "aggregator__avgHarvestInterval";
    AggBalance_OrderBy["AggregatorDecimals"] = "aggregator__decimals";
    AggBalance_OrderBy["AggregatorFeePercent"] = "aggregator__feePercent";
    AggBalance_OrderBy["AggregatorFirstDepositTimestamp"] = "aggregator__firstDepositTimestamp";
    AggBalance_OrderBy["AggregatorFloat"] = "aggregator__float";
    AggBalance_OrderBy["AggregatorId"] = "aggregator__id";
    AggBalance_OrderBy["AggregatorInitPricePerShare"] = "aggregator__initPricePerShare";
    AggBalance_OrderBy["AggregatorInitTimestamp"] = "aggregator__initTimestamp";
    AggBalance_OrderBy["AggregatorLastAprUpdate"] = "aggregator__lastAprUpdate";
    AggBalance_OrderBy["AggregatorLastClaim"] = "aggregator__lastClaim";
    AggBalance_OrderBy["AggregatorLastHarvest"] = "aggregator__lastHarvest";
    AggBalance_OrderBy["AggregatorLastUpdated"] = "aggregator__lastUpdated";
    AggBalance_OrderBy["AggregatorManagementFee"] = "aggregator__managementFee";
    AggBalance_OrderBy["AggregatorMaxTvl"] = "aggregator__maxTvl";
    AggBalance_OrderBy["AggregatorName"] = "aggregator__name";
    AggBalance_OrderBy["AggregatorNetwork"] = "aggregator__network";
    AggBalance_OrderBy["AggregatorOwner"] = "aggregator__owner";
    AggBalance_OrderBy["AggregatorPrevTvl"] = "aggregator__prevTvl";
    AggBalance_OrderBy["AggregatorPricePerShare"] = "aggregator__pricePerShare";
    AggBalance_OrderBy["AggregatorSymbol"] = "aggregator__symbol";
    AggBalance_OrderBy["AggregatorTotalStrategyHoldings"] = "aggregator__totalStrategyHoldings";
    AggBalance_OrderBy["AggregatorTotalSupply"] = "aggregator__totalSupply";
    AggBalance_OrderBy["AggregatorTreasury"] = "aggregator__treasury";
    AggBalance_OrderBy["AggregatorTvl"] = "aggregator__tvl";
    AggBalance_OrderBy["AggregatorTvl2WeekAvg"] = "aggregator__tvl2WeekAvg";
    AggBalance_OrderBy["AggregatorTvl2WeekAvgUpdated"] = "aggregator__tvl2WeekAvgUpdated";
    AggBalance_OrderBy["AggregatorType"] = "aggregator__type";
    AggBalance_OrderBy["AggregatorUnderlying"] = "aggregator__underlying";
    AggBalance_OrderBy["AggregatorUnderlyingDecimals"] = "aggregator__underlyingDecimals";
    AggBalance_OrderBy["AggregatorUnderlyingSymbol"] = "aggregator__underlyingSymbol";
    AggBalance_OrderBy["Id"] = "id";
    AggBalance_OrderBy["Network"] = "network";
    AggBalance_OrderBy["UnderlyingVault"] = "underlyingVault";
    AggBalance_OrderBy["UnderlyingVaultGuardian"] = "underlyingVault__GUARDIAN";
    AggBalance_OrderBy["UnderlyingVaultManager"] = "underlyingVault__MANAGER";
    AggBalance_OrderBy["UnderlyingVaultAddress"] = "underlyingVault__address";
    AggBalance_OrderBy["UnderlyingVaultAprAllTime"] = "underlyingVault__aprAllTime";
    AggBalance_OrderBy["UnderlyingVaultAprCurrent"] = "underlyingVault__aprCurrent";
    AggBalance_OrderBy["UnderlyingVaultAprDaily"] = "underlyingVault__aprDaily";
    AggBalance_OrderBy["UnderlyingVaultAprMonthly"] = "underlyingVault__aprMonthly";
    AggBalance_OrderBy["UnderlyingVaultAprThreeDay"] = "underlyingVault__aprThreeDay";
    AggBalance_OrderBy["UnderlyingVaultAprWeekly"] = "underlyingVault__aprWeekly";
    AggBalance_OrderBy["UnderlyingVaultAprYearly"] = "underlyingVault__aprYearly";
    AggBalance_OrderBy["UnderlyingVaultDecimals"] = "underlyingVault__decimals";
    AggBalance_OrderBy["UnderlyingVaultFirstDepositTimestamp"] = "underlyingVault__firstDepositTimestamp";
    AggBalance_OrderBy["UnderlyingVaultId"] = "underlyingVault__id";
    AggBalance_OrderBy["UnderlyingVaultInitPricePerShare"] = "underlyingVault__initPricePerShare";
    AggBalance_OrderBy["UnderlyingVaultLastHarvest"] = "underlyingVault__lastHarvest";
    AggBalance_OrderBy["UnderlyingVaultMaxTvl"] = "underlyingVault__maxTvl";
    AggBalance_OrderBy["UnderlyingVaultName"] = "underlyingVault__name";
    AggBalance_OrderBy["UnderlyingVaultNetwork"] = "underlyingVault__network";
    AggBalance_OrderBy["UnderlyingVaultOwner"] = "underlyingVault__owner";
    AggBalance_OrderBy["UnderlyingVaultPrevTvl"] = "underlyingVault__prevTvl";
    AggBalance_OrderBy["UnderlyingVaultSymbol"] = "underlyingVault__symbol";
    AggBalance_OrderBy["UnderlyingVaultTvl"] = "underlyingVault__tvl";
    AggBalance_OrderBy["UnderlyingVaultTvl2WeekAvg"] = "underlyingVault__tvl2WeekAvg";
    AggBalance_OrderBy["UnderlyingVaultTvl2WeekAvgUpdated"] = "underlyingVault__tvl2WeekAvgUpdated";
    AggBalance_OrderBy["UnderlyingVaultType"] = "underlyingVault__type";
    AggBalance_OrderBy["UnderlyingVaultUnderlyingDecimals"] = "underlyingVault__underlyingDecimals";
    AggBalance_OrderBy["UnderlyingVaultUnderlyingSymbol"] = "underlyingVault__underlyingSymbol";
    AggBalance_OrderBy["Value"] = "value";
})(AggBalance_OrderBy = exports.AggBalance_OrderBy || (exports.AggBalance_OrderBy = {}));
var AggregatorVault_OrderBy;
(function (AggregatorVault_OrderBy) {
    AggregatorVault_OrderBy["Guardian"] = "GUARDIAN";
    AggregatorVault_OrderBy["Manager"] = "MANAGER";
    AggregatorVault_OrderBy["Address"] = "address";
    AggregatorVault_OrderBy["AggBalances"] = "aggBalances";
    AggregatorVault_OrderBy["AprAllTime"] = "aprAllTime";
    AggregatorVault_OrderBy["AprCurrent"] = "aprCurrent";
    AggregatorVault_OrderBy["AprDaily"] = "aprDaily";
    AggregatorVault_OrderBy["AprMonthly"] = "aprMonthly";
    AggregatorVault_OrderBy["AprThreeDay"] = "aprThreeDay";
    AggregatorVault_OrderBy["AprWeekly"] = "aprWeekly";
    AggregatorVault_OrderBy["AprYearly"] = "aprYearly";
    AggregatorVault_OrderBy["AvgHarvestInterval"] = "avgHarvestInterval";
    AggregatorVault_OrderBy["DataPoints"] = "dataPoints";
    AggregatorVault_OrderBy["Decimals"] = "decimals";
    AggregatorVault_OrderBy["FeePercent"] = "feePercent";
    AggregatorVault_OrderBy["FirstDepositTimestamp"] = "firstDepositTimestamp";
    AggregatorVault_OrderBy["Float"] = "float";
    AggregatorVault_OrderBy["Id"] = "id";
    AggregatorVault_OrderBy["InitPricePerShare"] = "initPricePerShare";
    AggregatorVault_OrderBy["InitTimestamp"] = "initTimestamp";
    AggregatorVault_OrderBy["LastAprUpdate"] = "lastAprUpdate";
    AggregatorVault_OrderBy["LastClaim"] = "lastClaim";
    AggregatorVault_OrderBy["LastHarvest"] = "lastHarvest";
    AggregatorVault_OrderBy["LastUpdated"] = "lastUpdated";
    AggregatorVault_OrderBy["ManagementFee"] = "managementFee";
    AggregatorVault_OrderBy["MaxTvl"] = "maxTvl";
    AggregatorVault_OrderBy["Name"] = "name";
    AggregatorVault_OrderBy["Network"] = "network";
    AggregatorVault_OrderBy["Owner"] = "owner";
    AggregatorVault_OrderBy["PrevTvl"] = "prevTvl";
    AggregatorVault_OrderBy["PricePerShare"] = "pricePerShare";
    AggregatorVault_OrderBy["Strategies"] = "strategies";
    AggregatorVault_OrderBy["Symbol"] = "symbol";
    AggregatorVault_OrderBy["TotalStrategyHoldings"] = "totalStrategyHoldings";
    AggregatorVault_OrderBy["TotalSupply"] = "totalSupply";
    AggregatorVault_OrderBy["Treasury"] = "treasury";
    AggregatorVault_OrderBy["Tvl"] = "tvl";
    AggregatorVault_OrderBy["Tvl2WeekAvg"] = "tvl2WeekAvg";
    AggregatorVault_OrderBy["Tvl2WeekAvgUpdated"] = "tvl2WeekAvgUpdated";
    AggregatorVault_OrderBy["Type"] = "type";
    AggregatorVault_OrderBy["Underlying"] = "underlying";
    AggregatorVault_OrderBy["UnderlyingDecimals"] = "underlyingDecimals";
    AggregatorVault_OrderBy["UnderlyingSymbol"] = "underlyingSymbol";
    AggregatorVault_OrderBy["UserBalances"] = "userBalances";
})(AggregatorVault_OrderBy = exports.AggregatorVault_OrderBy || (exports.AggregatorVault_OrderBy = {}));
var Call_OrderBy;
(function (Call_OrderBy) {
    Call_OrderBy["Address"] = "address";
    Call_OrderBy["CancelledAt"] = "cancelledAt";
    Call_OrderBy["CreatedAt"] = "createdAt";
    Call_OrderBy["Data"] = "data";
    Call_OrderBy["Delay"] = "delay";
    Call_OrderBy["ExecutedAt"] = "executedAt";
    Call_OrderBy["Id"] = "id";
    Call_OrderBy["Network"] = "network";
    Call_OrderBy["Predecessor"] = "predecessor";
    Call_OrderBy["ReadyAt"] = "readyAt";
    Call_OrderBy["Salt"] = "salt";
    Call_OrderBy["SecondTxAddress"] = "secondTxAddress";
    Call_OrderBy["Target"] = "target";
    Call_OrderBy["Timelock"] = "timelock";
    Call_OrderBy["TimelockExecutorRole"] = "timelock__EXECUTOR_ROLE";
    Call_OrderBy["TimelockProposerRole"] = "timelock__PROPOSER_ROLE";
    Call_OrderBy["TimelockTimelockAdminRole"] = "timelock__TIMELOCK_ADMIN_ROLE";
    Call_OrderBy["TimelockAddress"] = "timelock__address";
    Call_OrderBy["TimelockId"] = "timelock__id";
    Call_OrderBy["TimelockMinDelay"] = "timelock__minDelay";
    Call_OrderBy["TimelockNetwork"] = "timelock__network";
    Call_OrderBy["TxAddress"] = "txAddress";
    Call_OrderBy["Value"] = "value";
})(Call_OrderBy = exports.Call_OrderBy || (exports.Call_OrderBy = {}));
var DataPoint_OrderBy;
(function (DataPoint_OrderBy) {
    DataPoint_OrderBy["Id"] = "id";
    DataPoint_OrderBy["PricePerShare"] = "pricePerShare";
    DataPoint_OrderBy["Timestamp"] = "timestamp";
    DataPoint_OrderBy["Tvl"] = "tvl";
    DataPoint_OrderBy["TxHash"] = "txHash";
    DataPoint_OrderBy["Vault"] = "vault";
    DataPoint_OrderBy["VaultGuardian"] = "vault__GUARDIAN";
    DataPoint_OrderBy["VaultManager"] = "vault__MANAGER";
    DataPoint_OrderBy["VaultAddress"] = "vault__address";
    DataPoint_OrderBy["VaultAprAllTime"] = "vault__aprAllTime";
    DataPoint_OrderBy["VaultAprCurrent"] = "vault__aprCurrent";
    DataPoint_OrderBy["VaultAprDaily"] = "vault__aprDaily";
    DataPoint_OrderBy["VaultAprMonthly"] = "vault__aprMonthly";
    DataPoint_OrderBy["VaultAprThreeDay"] = "vault__aprThreeDay";
    DataPoint_OrderBy["VaultAprWeekly"] = "vault__aprWeekly";
    DataPoint_OrderBy["VaultAprYearly"] = "vault__aprYearly";
    DataPoint_OrderBy["VaultDecimals"] = "vault__decimals";
    DataPoint_OrderBy["VaultFirstDepositTimestamp"] = "vault__firstDepositTimestamp";
    DataPoint_OrderBy["VaultId"] = "vault__id";
    DataPoint_OrderBy["VaultInitPricePerShare"] = "vault__initPricePerShare";
    DataPoint_OrderBy["VaultLastHarvest"] = "vault__lastHarvest";
    DataPoint_OrderBy["VaultMaxTvl"] = "vault__maxTvl";
    DataPoint_OrderBy["VaultName"] = "vault__name";
    DataPoint_OrderBy["VaultNetwork"] = "vault__network";
    DataPoint_OrderBy["VaultOwner"] = "vault__owner";
    DataPoint_OrderBy["VaultPrevTvl"] = "vault__prevTvl";
    DataPoint_OrderBy["VaultSymbol"] = "vault__symbol";
    DataPoint_OrderBy["VaultTvl"] = "vault__tvl";
    DataPoint_OrderBy["VaultTvl2WeekAvg"] = "vault__tvl2WeekAvg";
    DataPoint_OrderBy["VaultTvl2WeekAvgUpdated"] = "vault__tvl2WeekAvgUpdated";
    DataPoint_OrderBy["VaultType"] = "vault__type";
    DataPoint_OrderBy["VaultUnderlyingDecimals"] = "vault__underlyingDecimals";
    DataPoint_OrderBy["VaultUnderlyingSymbol"] = "vault__underlyingSymbol";
})(DataPoint_OrderBy = exports.DataPoint_OrderBy || (exports.DataPoint_OrderBy = {}));
var Deposit_OrderBy;
(function (Deposit_OrderBy) {
    Deposit_OrderBy["Account"] = "account";
    Deposit_OrderBy["Id"] = "id";
    Deposit_OrderBy["Network"] = "network";
    Deposit_OrderBy["Timestamp"] = "timestamp";
    Deposit_OrderBy["TxHash"] = "txHash";
    Deposit_OrderBy["Value"] = "value";
    Deposit_OrderBy["Vault"] = "vault";
    Deposit_OrderBy["VaultGuardian"] = "vault__GUARDIAN";
    Deposit_OrderBy["VaultManager"] = "vault__MANAGER";
    Deposit_OrderBy["VaultAddress"] = "vault__address";
    Deposit_OrderBy["VaultAprAllTime"] = "vault__aprAllTime";
    Deposit_OrderBy["VaultAprCurrent"] = "vault__aprCurrent";
    Deposit_OrderBy["VaultAprDaily"] = "vault__aprDaily";
    Deposit_OrderBy["VaultAprMonthly"] = "vault__aprMonthly";
    Deposit_OrderBy["VaultAprThreeDay"] = "vault__aprThreeDay";
    Deposit_OrderBy["VaultAprWeekly"] = "vault__aprWeekly";
    Deposit_OrderBy["VaultAprYearly"] = "vault__aprYearly";
    Deposit_OrderBy["VaultDecimals"] = "vault__decimals";
    Deposit_OrderBy["VaultFirstDepositTimestamp"] = "vault__firstDepositTimestamp";
    Deposit_OrderBy["VaultId"] = "vault__id";
    Deposit_OrderBy["VaultInitPricePerShare"] = "vault__initPricePerShare";
    Deposit_OrderBy["VaultLastHarvest"] = "vault__lastHarvest";
    Deposit_OrderBy["VaultMaxTvl"] = "vault__maxTvl";
    Deposit_OrderBy["VaultName"] = "vault__name";
    Deposit_OrderBy["VaultNetwork"] = "vault__network";
    Deposit_OrderBy["VaultOwner"] = "vault__owner";
    Deposit_OrderBy["VaultPrevTvl"] = "vault__prevTvl";
    Deposit_OrderBy["VaultSymbol"] = "vault__symbol";
    Deposit_OrderBy["VaultTvl"] = "vault__tvl";
    Deposit_OrderBy["VaultTvl2WeekAvg"] = "vault__tvl2WeekAvg";
    Deposit_OrderBy["VaultTvl2WeekAvgUpdated"] = "vault__tvl2WeekAvgUpdated";
    Deposit_OrderBy["VaultType"] = "vault__type";
    Deposit_OrderBy["VaultUnderlyingDecimals"] = "vault__underlyingDecimals";
    Deposit_OrderBy["VaultUnderlyingSymbol"] = "vault__underlyingSymbol";
})(Deposit_OrderBy = exports.Deposit_OrderBy || (exports.Deposit_OrderBy = {}));
var IVault_OrderBy;
(function (IVault_OrderBy) {
    IVault_OrderBy["Guardian"] = "GUARDIAN";
    IVault_OrderBy["Manager"] = "MANAGER";
    IVault_OrderBy["Address"] = "address";
    IVault_OrderBy["AprAllTime"] = "aprAllTime";
    IVault_OrderBy["AprCurrent"] = "aprCurrent";
    IVault_OrderBy["AprDaily"] = "aprDaily";
    IVault_OrderBy["AprMonthly"] = "aprMonthly";
    IVault_OrderBy["AprThreeDay"] = "aprThreeDay";
    IVault_OrderBy["AprWeekly"] = "aprWeekly";
    IVault_OrderBy["AprYearly"] = "aprYearly";
    IVault_OrderBy["DataPoints"] = "dataPoints";
    IVault_OrderBy["Decimals"] = "decimals";
    IVault_OrderBy["FirstDepositTimestamp"] = "firstDepositTimestamp";
    IVault_OrderBy["Id"] = "id";
    IVault_OrderBy["InitPricePerShare"] = "initPricePerShare";
    IVault_OrderBy["LastHarvest"] = "lastHarvest";
    IVault_OrderBy["MaxTvl"] = "maxTvl";
    IVault_OrderBy["Name"] = "name";
    IVault_OrderBy["Network"] = "network";
    IVault_OrderBy["Owner"] = "owner";
    IVault_OrderBy["PrevTvl"] = "prevTvl";
    IVault_OrderBy["Symbol"] = "symbol";
    IVault_OrderBy["Tvl"] = "tvl";
    IVault_OrderBy["Tvl2WeekAvg"] = "tvl2WeekAvg";
    IVault_OrderBy["Tvl2WeekAvgUpdated"] = "tvl2WeekAvgUpdated";
    IVault_OrderBy["Type"] = "type";
    IVault_OrderBy["UnderlyingDecimals"] = "underlyingDecimals";
    IVault_OrderBy["UnderlyingSymbol"] = "underlyingSymbol";
    IVault_OrderBy["UserBalances"] = "userBalances";
})(IVault_OrderBy = exports.IVault_OrderBy || (exports.IVault_OrderBy = {}));
/** Defines the order direction, either ascending or descending */
var OrderDirection;
(function (OrderDirection) {
    OrderDirection["Asc"] = "asc";
    OrderDirection["Desc"] = "desc";
})(OrderDirection = exports.OrderDirection || (exports.OrderDirection = {}));
var RequestWithdraw_OrderBy;
(function (RequestWithdraw_OrderBy) {
    RequestWithdraw_OrderBy["Account"] = "account";
    RequestWithdraw_OrderBy["Id"] = "id";
    RequestWithdraw_OrderBy["Network"] = "network";
    RequestWithdraw_OrderBy["Timestamp"] = "timestamp";
    RequestWithdraw_OrderBy["TxHash"] = "txHash";
    RequestWithdraw_OrderBy["Value"] = "value";
    RequestWithdraw_OrderBy["Vault"] = "vault";
    RequestWithdraw_OrderBy["VaultGuardian"] = "vault__GUARDIAN";
    RequestWithdraw_OrderBy["VaultManager"] = "vault__MANAGER";
    RequestWithdraw_OrderBy["VaultAddress"] = "vault__address";
    RequestWithdraw_OrderBy["VaultAprAllTime"] = "vault__aprAllTime";
    RequestWithdraw_OrderBy["VaultAprCurrent"] = "vault__aprCurrent";
    RequestWithdraw_OrderBy["VaultAprDaily"] = "vault__aprDaily";
    RequestWithdraw_OrderBy["VaultAprMonthly"] = "vault__aprMonthly";
    RequestWithdraw_OrderBy["VaultAprThreeDay"] = "vault__aprThreeDay";
    RequestWithdraw_OrderBy["VaultAprWeekly"] = "vault__aprWeekly";
    RequestWithdraw_OrderBy["VaultAprYearly"] = "vault__aprYearly";
    RequestWithdraw_OrderBy["VaultDecimals"] = "vault__decimals";
    RequestWithdraw_OrderBy["VaultFirstDepositTimestamp"] = "vault__firstDepositTimestamp";
    RequestWithdraw_OrderBy["VaultId"] = "vault__id";
    RequestWithdraw_OrderBy["VaultInitPricePerShare"] = "vault__initPricePerShare";
    RequestWithdraw_OrderBy["VaultLastHarvest"] = "vault__lastHarvest";
    RequestWithdraw_OrderBy["VaultMaxTvl"] = "vault__maxTvl";
    RequestWithdraw_OrderBy["VaultName"] = "vault__name";
    RequestWithdraw_OrderBy["VaultNetwork"] = "vault__network";
    RequestWithdraw_OrderBy["VaultOwner"] = "vault__owner";
    RequestWithdraw_OrderBy["VaultPrevTvl"] = "vault__prevTvl";
    RequestWithdraw_OrderBy["VaultSymbol"] = "vault__symbol";
    RequestWithdraw_OrderBy["VaultTvl"] = "vault__tvl";
    RequestWithdraw_OrderBy["VaultTvl2WeekAvg"] = "vault__tvl2WeekAvg";
    RequestWithdraw_OrderBy["VaultTvl2WeekAvgUpdated"] = "vault__tvl2WeekAvgUpdated";
    RequestWithdraw_OrderBy["VaultType"] = "vault__type";
    RequestWithdraw_OrderBy["VaultUnderlyingDecimals"] = "vault__underlyingDecimals";
    RequestWithdraw_OrderBy["VaultUnderlyingSymbol"] = "vault__underlyingSymbol";
})(RequestWithdraw_OrderBy = exports.RequestWithdraw_OrderBy || (exports.RequestWithdraw_OrderBy = {}));
var ScyVault_OrderBy;
(function (ScyVault_OrderBy) {
    ScyVault_OrderBy["Guardian"] = "GUARDIAN";
    ScyVault_OrderBy["Manager"] = "MANAGER";
    ScyVault_OrderBy["Address"] = "address";
    ScyVault_OrderBy["AprAllTime"] = "aprAllTime";
    ScyVault_OrderBy["AprCurrent"] = "aprCurrent";
    ScyVault_OrderBy["AprDaily"] = "aprDaily";
    ScyVault_OrderBy["AprMonthly"] = "aprMonthly";
    ScyVault_OrderBy["AprThreeDay"] = "aprThreeDay";
    ScyVault_OrderBy["AprWeekly"] = "aprWeekly";
    ScyVault_OrderBy["AprYearly"] = "aprYearly";
    ScyVault_OrderBy["AvgHarvestInterval"] = "avgHarvestInterval";
    ScyVault_OrderBy["DataPoints"] = "dataPoints";
    ScyVault_OrderBy["Decimals"] = "decimals";
    ScyVault_OrderBy["FeePercent"] = "feePercent";
    ScyVault_OrderBy["FirstDepositTimestamp"] = "firstDepositTimestamp";
    ScyVault_OrderBy["Id"] = "id";
    ScyVault_OrderBy["InitPricePerShare"] = "initPricePerShare";
    ScyVault_OrderBy["InitTimestamp"] = "initTimestamp";
    ScyVault_OrderBy["LastAprUpdate"] = "lastAprUpdate";
    ScyVault_OrderBy["LastClaim"] = "lastClaim";
    ScyVault_OrderBy["LastHarvest"] = "lastHarvest";
    ScyVault_OrderBy["LastUpdated"] = "lastUpdated";
    ScyVault_OrderBy["ManagementFee"] = "managementFee";
    ScyVault_OrderBy["MaxTvl"] = "maxTvl";
    ScyVault_OrderBy["Name"] = "name";
    ScyVault_OrderBy["Network"] = "network";
    ScyVault_OrderBy["Owner"] = "owner";
    ScyVault_OrderBy["PrevTvl"] = "prevTvl";
    ScyVault_OrderBy["PricePerShare"] = "pricePerShare";
    ScyVault_OrderBy["Strategy"] = "strategy";
    ScyVault_OrderBy["StrategyId"] = "strategyId";
    ScyVault_OrderBy["Symbol"] = "symbol";
    ScyVault_OrderBy["TotalSupply"] = "totalSupply";
    ScyVault_OrderBy["Treasury"] = "treasury";
    ScyVault_OrderBy["Tvl"] = "tvl";
    ScyVault_OrderBy["Tvl2WeekAvg"] = "tvl2WeekAvg";
    ScyVault_OrderBy["Tvl2WeekAvgUpdated"] = "tvl2WeekAvgUpdated";
    ScyVault_OrderBy["Type"] = "type";
    ScyVault_OrderBy["Underlying"] = "underlying";
    ScyVault_OrderBy["UnderlyingDecimals"] = "underlyingDecimals";
    ScyVault_OrderBy["UnderlyingSymbol"] = "underlyingSymbol";
    ScyVault_OrderBy["UserBalances"] = "userBalances";
    ScyVault_OrderBy["YieldToken"] = "yieldToken";
})(ScyVault_OrderBy = exports.ScyVault_OrderBy || (exports.ScyVault_OrderBy = {}));
var Timelock_OrderBy;
(function (Timelock_OrderBy) {
    Timelock_OrderBy["ExecutorRole"] = "EXECUTOR_ROLE";
    Timelock_OrderBy["ProposerRole"] = "PROPOSER_ROLE";
    Timelock_OrderBy["TimelockAdminRole"] = "TIMELOCK_ADMIN_ROLE";
    Timelock_OrderBy["Address"] = "address";
    Timelock_OrderBy["Id"] = "id";
    Timelock_OrderBy["MinDelay"] = "minDelay";
    Timelock_OrderBy["Network"] = "network";
})(Timelock_OrderBy = exports.Timelock_OrderBy || (exports.Timelock_OrderBy = {}));
var Transfer_OrderBy;
(function (Transfer_OrderBy) {
    Transfer_OrderBy["From"] = "from";
    Transfer_OrderBy["Id"] = "id";
    Transfer_OrderBy["Network"] = "network";
    Transfer_OrderBy["Timestamp"] = "timestamp";
    Transfer_OrderBy["To"] = "to";
    Transfer_OrderBy["TxHash"] = "txHash";
    Transfer_OrderBy["UValue"] = "uValue";
    Transfer_OrderBy["Vault"] = "vault";
    Transfer_OrderBy["VaultGuardian"] = "vault__GUARDIAN";
    Transfer_OrderBy["VaultManager"] = "vault__MANAGER";
    Transfer_OrderBy["VaultAddress"] = "vault__address";
    Transfer_OrderBy["VaultAprAllTime"] = "vault__aprAllTime";
    Transfer_OrderBy["VaultAprCurrent"] = "vault__aprCurrent";
    Transfer_OrderBy["VaultAprDaily"] = "vault__aprDaily";
    Transfer_OrderBy["VaultAprMonthly"] = "vault__aprMonthly";
    Transfer_OrderBy["VaultAprThreeDay"] = "vault__aprThreeDay";
    Transfer_OrderBy["VaultAprWeekly"] = "vault__aprWeekly";
    Transfer_OrderBy["VaultAprYearly"] = "vault__aprYearly";
    Transfer_OrderBy["VaultDecimals"] = "vault__decimals";
    Transfer_OrderBy["VaultFirstDepositTimestamp"] = "vault__firstDepositTimestamp";
    Transfer_OrderBy["VaultId"] = "vault__id";
    Transfer_OrderBy["VaultInitPricePerShare"] = "vault__initPricePerShare";
    Transfer_OrderBy["VaultLastHarvest"] = "vault__lastHarvest";
    Transfer_OrderBy["VaultMaxTvl"] = "vault__maxTvl";
    Transfer_OrderBy["VaultName"] = "vault__name";
    Transfer_OrderBy["VaultNetwork"] = "vault__network";
    Transfer_OrderBy["VaultOwner"] = "vault__owner";
    Transfer_OrderBy["VaultPrevTvl"] = "vault__prevTvl";
    Transfer_OrderBy["VaultSymbol"] = "vault__symbol";
    Transfer_OrderBy["VaultTvl"] = "vault__tvl";
    Transfer_OrderBy["VaultTvl2WeekAvg"] = "vault__tvl2WeekAvg";
    Transfer_OrderBy["VaultTvl2WeekAvgUpdated"] = "vault__tvl2WeekAvgUpdated";
    Transfer_OrderBy["VaultType"] = "vault__type";
    Transfer_OrderBy["VaultUnderlyingDecimals"] = "vault__underlyingDecimals";
    Transfer_OrderBy["VaultUnderlyingSymbol"] = "vault__underlyingSymbol";
})(Transfer_OrderBy = exports.Transfer_OrderBy || (exports.Transfer_OrderBy = {}));
var UserBalance_OrderBy;
(function (UserBalance_OrderBy) {
    UserBalance_OrderBy["Account"] = "account";
    UserBalance_OrderBy["Deposited"] = "deposited";
    UserBalance_OrderBy["Id"] = "id";
    UserBalance_OrderBy["Network"] = "network";
    UserBalance_OrderBy["Vault"] = "vault";
    UserBalance_OrderBy["VaultGuardian"] = "vault__GUARDIAN";
    UserBalance_OrderBy["VaultManager"] = "vault__MANAGER";
    UserBalance_OrderBy["VaultAddress"] = "vault__address";
    UserBalance_OrderBy["VaultAprAllTime"] = "vault__aprAllTime";
    UserBalance_OrderBy["VaultAprCurrent"] = "vault__aprCurrent";
    UserBalance_OrderBy["VaultAprDaily"] = "vault__aprDaily";
    UserBalance_OrderBy["VaultAprMonthly"] = "vault__aprMonthly";
    UserBalance_OrderBy["VaultAprThreeDay"] = "vault__aprThreeDay";
    UserBalance_OrderBy["VaultAprWeekly"] = "vault__aprWeekly";
    UserBalance_OrderBy["VaultAprYearly"] = "vault__aprYearly";
    UserBalance_OrderBy["VaultDecimals"] = "vault__decimals";
    UserBalance_OrderBy["VaultFirstDepositTimestamp"] = "vault__firstDepositTimestamp";
    UserBalance_OrderBy["VaultId"] = "vault__id";
    UserBalance_OrderBy["VaultInitPricePerShare"] = "vault__initPricePerShare";
    UserBalance_OrderBy["VaultLastHarvest"] = "vault__lastHarvest";
    UserBalance_OrderBy["VaultMaxTvl"] = "vault__maxTvl";
    UserBalance_OrderBy["VaultName"] = "vault__name";
    UserBalance_OrderBy["VaultNetwork"] = "vault__network";
    UserBalance_OrderBy["VaultOwner"] = "vault__owner";
    UserBalance_OrderBy["VaultPrevTvl"] = "vault__prevTvl";
    UserBalance_OrderBy["VaultSymbol"] = "vault__symbol";
    UserBalance_OrderBy["VaultTvl"] = "vault__tvl";
    UserBalance_OrderBy["VaultTvl2WeekAvg"] = "vault__tvl2WeekAvg";
    UserBalance_OrderBy["VaultTvl2WeekAvgUpdated"] = "vault__tvl2WeekAvgUpdated";
    UserBalance_OrderBy["VaultType"] = "vault__type";
    UserBalance_OrderBy["VaultUnderlyingDecimals"] = "vault__underlyingDecimals";
    UserBalance_OrderBy["VaultUnderlyingSymbol"] = "vault__underlyingSymbol";
})(UserBalance_OrderBy = exports.UserBalance_OrderBy || (exports.UserBalance_OrderBy = {}));
var Withdraw_OrderBy;
(function (Withdraw_OrderBy) {
    Withdraw_OrderBy["Account"] = "account";
    Withdraw_OrderBy["Id"] = "id";
    Withdraw_OrderBy["Network"] = "network";
    Withdraw_OrderBy["Timestamp"] = "timestamp";
    Withdraw_OrderBy["TxHash"] = "txHash";
    Withdraw_OrderBy["Value"] = "value";
    Withdraw_OrderBy["Vault"] = "vault";
    Withdraw_OrderBy["VaultGuardian"] = "vault__GUARDIAN";
    Withdraw_OrderBy["VaultManager"] = "vault__MANAGER";
    Withdraw_OrderBy["VaultAddress"] = "vault__address";
    Withdraw_OrderBy["VaultAprAllTime"] = "vault__aprAllTime";
    Withdraw_OrderBy["VaultAprCurrent"] = "vault__aprCurrent";
    Withdraw_OrderBy["VaultAprDaily"] = "vault__aprDaily";
    Withdraw_OrderBy["VaultAprMonthly"] = "vault__aprMonthly";
    Withdraw_OrderBy["VaultAprThreeDay"] = "vault__aprThreeDay";
    Withdraw_OrderBy["VaultAprWeekly"] = "vault__aprWeekly";
    Withdraw_OrderBy["VaultAprYearly"] = "vault__aprYearly";
    Withdraw_OrderBy["VaultDecimals"] = "vault__decimals";
    Withdraw_OrderBy["VaultFirstDepositTimestamp"] = "vault__firstDepositTimestamp";
    Withdraw_OrderBy["VaultId"] = "vault__id";
    Withdraw_OrderBy["VaultInitPricePerShare"] = "vault__initPricePerShare";
    Withdraw_OrderBy["VaultLastHarvest"] = "vault__lastHarvest";
    Withdraw_OrderBy["VaultMaxTvl"] = "vault__maxTvl";
    Withdraw_OrderBy["VaultName"] = "vault__name";
    Withdraw_OrderBy["VaultNetwork"] = "vault__network";
    Withdraw_OrderBy["VaultOwner"] = "vault__owner";
    Withdraw_OrderBy["VaultPrevTvl"] = "vault__prevTvl";
    Withdraw_OrderBy["VaultSymbol"] = "vault__symbol";
    Withdraw_OrderBy["VaultTvl"] = "vault__tvl";
    Withdraw_OrderBy["VaultTvl2WeekAvg"] = "vault__tvl2WeekAvg";
    Withdraw_OrderBy["VaultTvl2WeekAvgUpdated"] = "vault__tvl2WeekAvgUpdated";
    Withdraw_OrderBy["VaultType"] = "vault__type";
    Withdraw_OrderBy["VaultUnderlyingDecimals"] = "vault__underlyingDecimals";
    Withdraw_OrderBy["VaultUnderlyingSymbol"] = "vault__underlyingSymbol";
})(Withdraw_OrderBy = exports.Withdraw_OrderBy || (exports.Withdraw_OrderBy = {}));
var _SubgraphErrorPolicy_;
(function (_SubgraphErrorPolicy_) {
    /** Data will be returned even if the subgraph has indexing errors */
    _SubgraphErrorPolicy_["Allow"] = "allow";
    /** If the subgraph has indexing errors, data will be omitted. The default. */
    _SubgraphErrorPolicy_["Deny"] = "deny";
})(_SubgraphErrorPolicy_ = exports._SubgraphErrorPolicy_ || (exports._SubgraphErrorPolicy_ = {}));
exports.IvaultAdminDocument = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n    query ivaultAdmin($id: ID!) {\n  ivault(id: $id) {\n    id\n    address\n    network\n    owner\n    GUARDIAN\n    MANAGER\n  }\n  timelocks(first: 1) {\n    id\n    TIMELOCK_ADMIN_ROLE\n    PROPOSER_ROLE\n    EXECUTOR_ROLE\n  }\n}\n    "], ["\n    query ivaultAdmin($id: ID!) {\n  ivault(id: $id) {\n    id\n    address\n    network\n    owner\n    GUARDIAN\n    MANAGER\n  }\n  timelocks(first: 1) {\n    id\n    TIMELOCK_ADMIN_ROLE\n    PROPOSER_ROLE\n    EXECUTOR_ROLE\n  }\n}\n    "])));
/**
 * __useIvaultAdminQuery__
 *
 * To run a query within a React component, call `useIvaultAdminQuery` and pass it any options that fit your needs.
 * When your component renders, `useIvaultAdminQuery` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useIvaultAdminQuery({
 *   variables: {
 *      id: // value for 'id'
 *   },
 * });
 */
function useIvaultAdminQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useQuery(exports.IvaultAdminDocument, options);
}
exports.useIvaultAdminQuery = useIvaultAdminQuery;
function useIvaultAdminLazyQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useLazyQuery(exports.IvaultAdminDocument, options);
}
exports.useIvaultAdminLazyQuery = useIvaultAdminLazyQuery;
exports.AggPreviewDocument = (0, client_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n    query aggPreview($id: ID!) {\n  aggregatorVault(id: $id) {\n    id\n    network\n    tvl\n    underlyingDecimals\n    aprDaily\n  }\n}\n    "], ["\n    query aggPreview($id: ID!) {\n  aggregatorVault(id: $id) {\n    id\n    network\n    tvl\n    underlyingDecimals\n    aprDaily\n  }\n}\n    "])));
/**
 * __useAggPreviewQuery__
 *
 * To run a query within a React component, call `useAggPreviewQuery` and pass it any options that fit your needs.
 * When your component renders, `useAggPreviewQuery` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useAggPreviewQuery({
 *   variables: {
 *      id: // value for 'id'
 *   },
 * });
 */
function useAggPreviewQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useQuery(exports.AggPreviewDocument, options);
}
exports.useAggPreviewQuery = useAggPreviewQuery;
function useAggPreviewLazyQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useLazyQuery(exports.AggPreviewDocument, options);
}
exports.useAggPreviewLazyQuery = useAggPreviewLazyQuery;
exports.AggregatorBalancesDocument = (0, client_1.gql)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n    query aggregatorBalances($id: ID!) {\n  aggregatorVault(id: $id) {\n    id\n    address\n    network\n    name\n    symbol\n    underlyingDecimals\n    underlyingSymbol\n    owner\n    treasury\n    underlying\n    totalSupply\n    tvl\n    float\n    feePercent\n    maxTvl\n    aprAllTime\n    aprCurrent\n    aprDaily\n    aprThreeDay\n    aprWeekly\n    aprMonthly\n    aprYearly\n    firstDepositTimestamp\n    avgHarvestInterval\n    lastHarvest\n    lastClaim\n    strategies {\n      symbol\n    }\n    aggBalances(where: {value_gt: 0}) {\n      id\n      network\n      value\n      underlyingVault {\n        id\n        address\n        network\n        symbol\n        aprThreeDay\n        firstDepositTimestamp\n        tvl\n        underlyingSymbol\n      }\n    }\n  }\n}\n    "], ["\n    query aggregatorBalances($id: ID!) {\n  aggregatorVault(id: $id) {\n    id\n    address\n    network\n    name\n    symbol\n    underlyingDecimals\n    underlyingSymbol\n    owner\n    treasury\n    underlying\n    totalSupply\n    tvl\n    float\n    feePercent\n    maxTvl\n    aprAllTime\n    aprCurrent\n    aprDaily\n    aprThreeDay\n    aprWeekly\n    aprMonthly\n    aprYearly\n    firstDepositTimestamp\n    avgHarvestInterval\n    lastHarvest\n    lastClaim\n    strategies {\n      symbol\n    }\n    aggBalances(where: {value_gt: 0}) {\n      id\n      network\n      value\n      underlyingVault {\n        id\n        address\n        network\n        symbol\n        aprThreeDay\n        firstDepositTimestamp\n        tvl\n        underlyingSymbol\n      }\n    }\n  }\n}\n    "])));
/**
 * __useAggregatorBalancesQuery__
 *
 * To run a query within a React component, call `useAggregatorBalancesQuery` and pass it any options that fit your needs.
 * When your component renders, `useAggregatorBalancesQuery` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useAggregatorBalancesQuery({
 *   variables: {
 *      id: // value for 'id'
 *   },
 * });
 */
function useAggregatorBalancesQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useQuery(exports.AggregatorBalancesDocument, options);
}
exports.useAggregatorBalancesQuery = useAggregatorBalancesQuery;
function useAggregatorBalancesLazyQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useLazyQuery(exports.AggregatorBalancesDocument, options);
}
exports.useAggregatorBalancesLazyQuery = useAggregatorBalancesLazyQuery;
exports.AggregatorVaultDocument = (0, client_1.gql)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n    query aggregatorVault($id: ID!) {\n  aggregatorVault(id: $id) {\n    id\n    address\n    network\n    name\n    symbol\n    underlyingDecimals\n    underlyingSymbol\n    owner\n    treasury\n    underlying\n    totalSupply\n    tvl\n    float\n    feePercent\n    maxTvl\n    aprAllTime\n    aprCurrent\n    aprDaily\n    aprThreeDay\n    aprWeekly\n    aprMonthly\n    aprYearly\n    firstDepositTimestamp\n    avgHarvestInterval\n    lastHarvest\n    feePercent\n    managementFee\n    lastClaim\n    strategies(orderBy: aprThreeDay, orderDirection: desc) {\n      id\n      address\n      network\n      symbol\n      aprThreeDay\n      firstDepositTimestamp\n      tvl\n      underlyingSymbol\n    }\n  }\n  timelocks(first: 1) {\n    id\n    address\n    minDelay\n    network\n  }\n}\n    "], ["\n    query aggregatorVault($id: ID!) {\n  aggregatorVault(id: $id) {\n    id\n    address\n    network\n    name\n    symbol\n    underlyingDecimals\n    underlyingSymbol\n    owner\n    treasury\n    underlying\n    totalSupply\n    tvl\n    float\n    feePercent\n    maxTvl\n    aprAllTime\n    aprCurrent\n    aprDaily\n    aprThreeDay\n    aprWeekly\n    aprMonthly\n    aprYearly\n    firstDepositTimestamp\n    avgHarvestInterval\n    lastHarvest\n    feePercent\n    managementFee\n    lastClaim\n    strategies(orderBy: aprThreeDay, orderDirection: desc) {\n      id\n      address\n      network\n      symbol\n      aprThreeDay\n      firstDepositTimestamp\n      tvl\n      underlyingSymbol\n    }\n  }\n  timelocks(first: 1) {\n    id\n    address\n    minDelay\n    network\n  }\n}\n    "])));
/**
 * __useAggregatorVaultQuery__
 *
 * To run a query within a React component, call `useAggregatorVaultQuery` and pass it any options that fit your needs.
 * When your component renders, `useAggregatorVaultQuery` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useAggregatorVaultQuery({
 *   variables: {
 *      id: // value for 'id'
 *   },
 * });
 */
function useAggregatorVaultQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useQuery(exports.AggregatorVaultDocument, options);
}
exports.useAggregatorVaultQuery = useAggregatorVaultQuery;
function useAggregatorVaultLazyQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useLazyQuery(exports.AggregatorVaultDocument, options);
}
exports.useAggregatorVaultLazyQuery = useAggregatorVaultLazyQuery;
exports.CallsDocument = (0, client_1.gql)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n    query calls {\n  calls(first: 100, orderBy: createdAt, orderDirection: desc) {\n    id\n    address\n    target\n    value\n    data\n    predecessor\n    salt\n    delay\n    createdAt\n    readyAt\n    executedAt\n    cancelledAt\n    txAddress\n    secondTxAddress\n  }\n}\n    "], ["\n    query calls {\n  calls(first: 100, orderBy: createdAt, orderDirection: desc) {\n    id\n    address\n    target\n    value\n    data\n    predecessor\n    salt\n    delay\n    createdAt\n    readyAt\n    executedAt\n    cancelledAt\n    txAddress\n    secondTxAddress\n  }\n}\n    "])));
/**
 * __useCallsQuery__
 *
 * To run a query within a React component, call `useCallsQuery` and pass it any options that fit your needs.
 * When your component renders, `useCallsQuery` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useCallsQuery({
 *   variables: {
 *   },
 * });
 */
function useCallsQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useQuery(exports.CallsDocument, options);
}
exports.useCallsQuery = useCallsQuery;
function useCallsLazyQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useLazyQuery(exports.CallsDocument, options);
}
exports.useCallsLazyQuery = useCallsLazyQuery;
exports.EventsDocument = (0, client_1.gql)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n    query events($skip: Int!) {\n  aggregatorVaults(first: 1000, skip: $skip) {\n    address\n    network\n  }\n  deposits(first: 1000, skip: $skip) {\n    id\n    txHash\n    network\n    value\n    account\n    timestamp\n    vault {\n      id\n      type\n      network\n      underlyingDecimals\n      underlyingSymbol\n    }\n  }\n  withdraws(first: 1000, skip: $skip) {\n    id\n    txHash\n    network\n    value\n    account\n    timestamp\n    vault {\n      id\n      type\n      network\n      underlyingDecimals\n      underlyingSymbol\n    }\n  }\n  requestWithdraws(first: 1000, skip: $skip) {\n    id\n    txHash\n    network\n    value\n    account\n    timestamp\n    vault {\n      id\n      type\n      network\n      underlyingDecimals\n      underlyingSymbol\n    }\n  }\n  transfers(first: 1000, skip: $skip) {\n    id\n    txHash\n    network\n    uValue\n    from\n    to\n    timestamp\n    vault {\n      id\n      type\n      network\n      underlyingDecimals\n      underlyingSymbol\n    }\n  }\n}\n    "], ["\n    query events($skip: Int!) {\n  aggregatorVaults(first: 1000, skip: $skip) {\n    address\n    network\n  }\n  deposits(first: 1000, skip: $skip) {\n    id\n    txHash\n    network\n    value\n    account\n    timestamp\n    vault {\n      id\n      type\n      network\n      underlyingDecimals\n      underlyingSymbol\n    }\n  }\n  withdraws(first: 1000, skip: $skip) {\n    id\n    txHash\n    network\n    value\n    account\n    timestamp\n    vault {\n      id\n      type\n      network\n      underlyingDecimals\n      underlyingSymbol\n    }\n  }\n  requestWithdraws(first: 1000, skip: $skip) {\n    id\n    txHash\n    network\n    value\n    account\n    timestamp\n    vault {\n      id\n      type\n      network\n      underlyingDecimals\n      underlyingSymbol\n    }\n  }\n  transfers(first: 1000, skip: $skip) {\n    id\n    txHash\n    network\n    uValue\n    from\n    to\n    timestamp\n    vault {\n      id\n      type\n      network\n      underlyingDecimals\n      underlyingSymbol\n    }\n  }\n}\n    "])));
/**
 * __useEventsQuery__
 *
 * To run a query within a React component, call `useEventsQuery` and pass it any options that fit your needs.
 * When your component renders, `useEventsQuery` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useEventsQuery({
 *   variables: {
 *      skip: // value for 'skip'
 *   },
 * });
 */
function useEventsQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useQuery(exports.EventsDocument, options);
}
exports.useEventsQuery = useEventsQuery;
function useEventsLazyQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useLazyQuery(exports.EventsDocument, options);
}
exports.useEventsLazyQuery = useEventsLazyQuery;
exports.ScyPreviewDocument = (0, client_1.gql)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n    query scyPreview($id: ID!) {\n  scyVault(id: $id) {\n    id\n    address\n    network\n    tvl\n    underlyingDecimals\n    aprDaily\n  }\n}\n    "], ["\n    query scyPreview($id: ID!) {\n  scyVault(id: $id) {\n    id\n    address\n    network\n    tvl\n    underlyingDecimals\n    aprDaily\n  }\n}\n    "])));
/**
 * __useScyPreviewQuery__
 *
 * To run a query within a React component, call `useScyPreviewQuery` and pass it any options that fit your needs.
 * When your component renders, `useScyPreviewQuery` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useScyPreviewQuery({
 *   variables: {
 *      id: // value for 'id'
 *   },
 * });
 */
function useScyPreviewQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useQuery(exports.ScyPreviewDocument, options);
}
exports.useScyPreviewQuery = useScyPreviewQuery;
function useScyPreviewLazyQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useLazyQuery(exports.ScyPreviewDocument, options);
}
exports.useScyPreviewLazyQuery = useScyPreviewLazyQuery;
exports.ScyVaultAprDocument = (0, client_1.gql)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n    query scyVaultApr($id: ID!) {\n  scyVault(id: $id) {\n    id\n    aprAllTime\n    aprCurrent\n    aprDaily\n    aprThreeDay\n    aprWeekly\n    aprMonthly\n    aprYearly\n    lastHarvest\n    firstDepositTimestamp\n    lastAprUpdate\n    pricePerShare\n    initPricePerShare\n    tvl\n  }\n}\n    "], ["\n    query scyVaultApr($id: ID!) {\n  scyVault(id: $id) {\n    id\n    aprAllTime\n    aprCurrent\n    aprDaily\n    aprThreeDay\n    aprWeekly\n    aprMonthly\n    aprYearly\n    lastHarvest\n    firstDepositTimestamp\n    lastAprUpdate\n    pricePerShare\n    initPricePerShare\n    tvl\n  }\n}\n    "])));
/**
 * __useScyVaultAprQuery__
 *
 * To run a query within a React component, call `useScyVaultAprQuery` and pass it any options that fit your needs.
 * When your component renders, `useScyVaultAprQuery` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useScyVaultAprQuery({
 *   variables: {
 *      id: // value for 'id'
 *   },
 * });
 */
function useScyVaultAprQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useQuery(exports.ScyVaultAprDocument, options);
}
exports.useScyVaultAprQuery = useScyVaultAprQuery;
function useScyVaultAprLazyQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useLazyQuery(exports.ScyVaultAprDocument, options);
}
exports.useScyVaultAprLazyQuery = useScyVaultAprLazyQuery;
exports.ScyVaultDocument = (0, client_1.gql)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n    query scyVault($id: ID!) {\n  scyVault(id: $id) {\n    id\n    address\n    network\n    name\n    symbol\n    underlyingDecimals\n    owner\n    strategy\n    yieldToken\n    strategyId\n    treasury\n    underlying\n    totalSupply\n    tvl\n    maxTvl\n    feePercent\n    aprAllTime\n    aprCurrent\n    aprDaily\n    aprThreeDay\n    aprWeekly\n    aprMonthly\n    aprYearly\n    firstDepositTimestamp\n    avgHarvestInterval\n    feePercent\n    managementFee\n    underlyingSymbol\n    lastHarvest\n    lastClaim\n  }\n  timelocks(first: 1) {\n    id\n    address\n    minDelay\n    network\n  }\n  aggregatorVaults(first: 15, where: {strategies_: {id: $id}}) {\n    id\n    address\n    name\n    aprDaily\n    aprThreeDay\n    firstDepositTimestamp\n    aprWeekly\n  }\n}\n    "], ["\n    query scyVault($id: ID!) {\n  scyVault(id: $id) {\n    id\n    address\n    network\n    name\n    symbol\n    underlyingDecimals\n    owner\n    strategy\n    yieldToken\n    strategyId\n    treasury\n    underlying\n    totalSupply\n    tvl\n    maxTvl\n    feePercent\n    aprAllTime\n    aprCurrent\n    aprDaily\n    aprThreeDay\n    aprWeekly\n    aprMonthly\n    aprYearly\n    firstDepositTimestamp\n    avgHarvestInterval\n    feePercent\n    managementFee\n    underlyingSymbol\n    lastHarvest\n    lastClaim\n  }\n  timelocks(first: 1) {\n    id\n    address\n    minDelay\n    network\n  }\n  aggregatorVaults(first: 15, where: {strategies_: {id: $id}}) {\n    id\n    address\n    name\n    aprDaily\n    aprThreeDay\n    firstDepositTimestamp\n    aprWeekly\n  }\n}\n    "])));
/**
 * __useScyVaultQuery__
 *
 * To run a query within a React component, call `useScyVaultQuery` and pass it any options that fit your needs.
 * When your component renders, `useScyVaultQuery` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useScyVaultQuery({
 *   variables: {
 *      id: // value for 'id'
 *   },
 * });
 */
function useScyVaultQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useQuery(exports.ScyVaultDocument, options);
}
exports.useScyVaultQuery = useScyVaultQuery;
function useScyVaultLazyQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useLazyQuery(exports.ScyVaultDocument, options);
}
exports.useScyVaultLazyQuery = useScyVaultLazyQuery;
exports.TotalTvlDocument = (0, client_1.gql)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n    query totalTvl($network: String!) {\n  scyVaults(first: 100, where: {network: $network}) {\n    tvl\n    underlyingSymbol\n    underlyingDecimals\n    network\n  }\n  aggregatorVaults(first: 100, where: {network: $network}) {\n    float\n    underlyingSymbol\n    underlyingDecimals\n  }\n}\n    "], ["\n    query totalTvl($network: String!) {\n  scyVaults(first: 100, where: {network: $network}) {\n    tvl\n    underlyingSymbol\n    underlyingDecimals\n    network\n  }\n  aggregatorVaults(first: 100, where: {network: $network}) {\n    float\n    underlyingSymbol\n    underlyingDecimals\n  }\n}\n    "])));
/**
 * __useTotalTvlQuery__
 *
 * To run a query within a React component, call `useTotalTvlQuery` and pass it any options that fit your needs.
 * When your component renders, `useTotalTvlQuery` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useTotalTvlQuery({
 *   variables: {
 *      network: // value for 'network'
 *   },
 * });
 */
function useTotalTvlQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useQuery(exports.TotalTvlDocument, options);
}
exports.useTotalTvlQuery = useTotalTvlQuery;
function useTotalTvlLazyQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useLazyQuery(exports.TotalTvlDocument, options);
}
exports.useTotalTvlLazyQuery = useTotalTvlLazyQuery;
exports.UserBalancesDocument = (0, client_1.gql)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n    query userBalances($account: Bytes!, $network: String!) {\n  userBalances(first: 200, where: {account: $account, network: $network}) {\n    id\n    account\n    deposited\n    network\n    vault {\n      id\n      type\n      address\n      underlyingSymbol\n      underlyingDecimals\n      aprDaily\n      aprThreeDay\n      aprWeekly\n      aprMonthly\n      aprYearly\n      aprAllTime\n      firstDepositTimestamp\n    }\n  }\n}\n    "], ["\n    query userBalances($account: Bytes!, $network: String!) {\n  userBalances(first: 200, where: {account: $account, network: $network}) {\n    id\n    account\n    deposited\n    network\n    vault {\n      id\n      type\n      address\n      underlyingSymbol\n      underlyingDecimals\n      aprDaily\n      aprThreeDay\n      aprWeekly\n      aprMonthly\n      aprYearly\n      aprAllTime\n      firstDepositTimestamp\n    }\n  }\n}\n    "])));
/**
 * __useUserBalancesQuery__
 *
 * To run a query within a React component, call `useUserBalancesQuery` and pass it any options that fit your needs.
 * When your component renders, `useUserBalancesQuery` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useUserBalancesQuery({
 *   variables: {
 *      account: // value for 'account'
 *      network: // value for 'network'
 *   },
 * });
 */
function useUserBalancesQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useQuery(exports.UserBalancesDocument, options);
}
exports.useUserBalancesQuery = useUserBalancesQuery;
function useUserBalancesLazyQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useLazyQuery(exports.UserBalancesDocument, options);
}
exports.useUserBalancesLazyQuery = useUserBalancesLazyQuery;
exports.UserVaultBalanceDocument = (0, client_1.gql)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n    query userVaultBalance($account: Bytes!, $vaultId: String!, $network: String!) {\n  userBalances(where: {account: $account, vault: $vaultId, network: $network}) {\n    id\n    account\n    deposited\n    network\n    vault {\n      id\n      address\n      underlyingSymbol\n      underlyingDecimals\n    }\n  }\n}\n    "], ["\n    query userVaultBalance($account: Bytes!, $vaultId: String!, $network: String!) {\n  userBalances(where: {account: $account, vault: $vaultId, network: $network}) {\n    id\n    account\n    deposited\n    network\n    vault {\n      id\n      address\n      underlyingSymbol\n      underlyingDecimals\n    }\n  }\n}\n    "])));
/**
 * __useUserVaultBalanceQuery__
 *
 * To run a query within a React component, call `useUserVaultBalanceQuery` and pass it any options that fit your needs.
 * When your component renders, `useUserVaultBalanceQuery` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useUserVaultBalanceQuery({
 *   variables: {
 *      account: // value for 'account'
 *      vaultId: // value for 'vaultId'
 *      network: // value for 'network'
 *   },
 * });
 */
function useUserVaultBalanceQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useQuery(exports.UserVaultBalanceDocument, options);
}
exports.useUserVaultBalanceQuery = useUserVaultBalanceQuery;
function useUserVaultBalanceLazyQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useLazyQuery(exports.UserVaultBalanceDocument, options);
}
exports.useUserVaultBalanceLazyQuery = useUserVaultBalanceLazyQuery;
exports.VaultPerformanceDocument = (0, client_1.gql)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n    query vaultPerformance($addr: String!, $first: Int!, $skip: Int!) {\n  dataPoints(\n    where: {vault: $addr}\n    first: $first\n    skip: $skip\n    orderBy: timestamp\n    orderDirection: asc\n  ) {\n    id\n    txHash\n    timestamp\n    pricePerShare\n    tvl\n    vault {\n      id\n      address\n      name\n      network\n      underlyingDecimals\n      initPricePerShare\n    }\n  }\n}\n    "], ["\n    query vaultPerformance($addr: String!, $first: Int!, $skip: Int!) {\n  dataPoints(\n    where: {vault: $addr}\n    first: $first\n    skip: $skip\n    orderBy: timestamp\n    orderDirection: asc\n  ) {\n    id\n    txHash\n    timestamp\n    pricePerShare\n    tvl\n    vault {\n      id\n      address\n      name\n      network\n      underlyingDecimals\n      initPricePerShare\n    }\n  }\n}\n    "])));
/**
 * __useVaultPerformanceQuery__
 *
 * To run a query within a React component, call `useVaultPerformanceQuery` and pass it any options that fit your needs.
 * When your component renders, `useVaultPerformanceQuery` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useVaultPerformanceQuery({
 *   variables: {
 *      addr: // value for 'addr'
 *      first: // value for 'first'
 *      skip: // value for 'skip'
 *   },
 * });
 */
function useVaultPerformanceQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useQuery(exports.VaultPerformanceDocument, options);
}
exports.useVaultPerformanceQuery = useVaultPerformanceQuery;
function useVaultPerformanceLazyQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useLazyQuery(exports.VaultPerformanceDocument, options);
}
exports.useVaultPerformanceLazyQuery = useVaultPerformanceLazyQuery;
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13;
//# sourceMappingURL=types.js.map