"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.useScionEventsLazyQuery = exports.useScionEventsQuery = exports.ScionEventsDocument = exports._SubgraphErrorPolicy_ = exports.Withdraw_OrderBy = exports.Vault_OrderBy = exports.VaultWithdrawal_OrderBy = exports.VaultDeposit_OrderBy = exports.Transfer_OrderBy = exports.Timelock_OrderBy = exports.Strategy_OrderBy = exports.StrategyHarvest_OrderBy = exports.Rebalance_OrderBy = exports.RebalanceLoan_OrderBy = exports.OrderDirection = exports.Deposit_OrderBy = exports.DataPoint_OrderBy = exports.Call_OrderBy = void 0;
var client_1 = require("@apollo/client");
var Apollo = __importStar(require("@apollo/client"));
var defaultOptions = {};
var Call_OrderBy;
(function (Call_OrderBy) {
    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["Predecessor"] = "predecessor";
    Call_OrderBy["ReadyAt"] = "readyAt";
    Call_OrderBy["Salt"] = "salt";
    Call_OrderBy["SecondTxAddress"] = "secondTxAddress";
    Call_OrderBy["Target"] = "target";
    Call_OrderBy["Timelock"] = "timelock";
    Call_OrderBy["TimelockAddress"] = "timelock__address";
    Call_OrderBy["TimelockId"] = "timelock__id";
    Call_OrderBy["TimelockMinDelay"] = "timelock__minDelay";
    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["Vault"] = "vault";
    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["VaultFeePercent"] = "vault__feePercent";
    DataPoint_OrderBy["VaultFirstDepositTimestamp"] = "vault__firstDepositTimestamp";
    DataPoint_OrderBy["VaultHarvestDelay"] = "vault__harvestDelay";
    DataPoint_OrderBy["VaultHarvestWindow"] = "vault__harvestWindow";
    DataPoint_OrderBy["VaultId"] = "vault__id";
    DataPoint_OrderBy["VaultInitPricePerShare"] = "vault__initPricePerShare";
    DataPoint_OrderBy["VaultInitTimestamp"] = "vault__initTimestamp";
    DataPoint_OrderBy["VaultIsPublic"] = "vault__isPublic";
    DataPoint_OrderBy["VaultLastAprUpdate"] = "vault__lastAprUpdate";
    DataPoint_OrderBy["VaultLastClaim"] = "vault__lastClaim";
    DataPoint_OrderBy["VaultLastHarvest"] = "vault__lastHarvest";
    DataPoint_OrderBy["VaultLastUpdated"] = "vault__lastUpdated";
    DataPoint_OrderBy["VaultMaxTvl"] = "vault__maxTvl";
    DataPoint_OrderBy["VaultName"] = "vault__name";
    DataPoint_OrderBy["VaultNetwork"] = "vault__network";
    DataPoint_OrderBy["VaultOwner"] = "vault__owner";
    DataPoint_OrderBy["VaultPricePerShare"] = "vault__pricePerShare";
    DataPoint_OrderBy["VaultPricePerShareWlp"] = "vault__pricePerShareWLP";
    DataPoint_OrderBy["VaultSymbol"] = "vault__symbol";
    DataPoint_OrderBy["VaultTargetFloatPercent"] = "vault__targetFloatPercent";
    DataPoint_OrderBy["VaultTotalSupply"] = "vault__totalSupply";
    DataPoint_OrderBy["VaultTvl"] = "vault__tvl";
    DataPoint_OrderBy["VaultUnderlying"] = "vault__underlying";
    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["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["VaultFeePercent"] = "vault__feePercent";
    Deposit_OrderBy["VaultFirstDepositTimestamp"] = "vault__firstDepositTimestamp";
    Deposit_OrderBy["VaultHarvestDelay"] = "vault__harvestDelay";
    Deposit_OrderBy["VaultHarvestWindow"] = "vault__harvestWindow";
    Deposit_OrderBy["VaultId"] = "vault__id";
    Deposit_OrderBy["VaultInitPricePerShare"] = "vault__initPricePerShare";
    Deposit_OrderBy["VaultInitTimestamp"] = "vault__initTimestamp";
    Deposit_OrderBy["VaultIsPublic"] = "vault__isPublic";
    Deposit_OrderBy["VaultLastAprUpdate"] = "vault__lastAprUpdate";
    Deposit_OrderBy["VaultLastClaim"] = "vault__lastClaim";
    Deposit_OrderBy["VaultLastHarvest"] = "vault__lastHarvest";
    Deposit_OrderBy["VaultLastUpdated"] = "vault__lastUpdated";
    Deposit_OrderBy["VaultMaxTvl"] = "vault__maxTvl";
    Deposit_OrderBy["VaultName"] = "vault__name";
    Deposit_OrderBy["VaultNetwork"] = "vault__network";
    Deposit_OrderBy["VaultOwner"] = "vault__owner";
    Deposit_OrderBy["VaultPricePerShare"] = "vault__pricePerShare";
    Deposit_OrderBy["VaultPricePerShareWlp"] = "vault__pricePerShareWLP";
    Deposit_OrderBy["VaultSymbol"] = "vault__symbol";
    Deposit_OrderBy["VaultTargetFloatPercent"] = "vault__targetFloatPercent";
    Deposit_OrderBy["VaultTotalSupply"] = "vault__totalSupply";
    Deposit_OrderBy["VaultTvl"] = "vault__tvl";
    Deposit_OrderBy["VaultUnderlying"] = "vault__underlying";
    Deposit_OrderBy["VaultUnderlyingSymbol"] = "vault__underlyingSymbol";
})(Deposit_OrderBy = exports.Deposit_OrderBy || (exports.Deposit_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 RebalanceLoan_OrderBy;
(function (RebalanceLoan_OrderBy) {
    RebalanceLoan_OrderBy["Id"] = "id";
    RebalanceLoan_OrderBy["Sender"] = "sender";
    RebalanceLoan_OrderBy["StartLoanHealth"] = "startLoanHealth";
    RebalanceLoan_OrderBy["Strategy"] = "strategy";
    RebalanceLoan_OrderBy["StrategyAddress"] = "strategy__address";
    RebalanceLoan_OrderBy["StrategyAprAllTime"] = "strategy__aprAllTime";
    RebalanceLoan_OrderBy["StrategyAprCurrent"] = "strategy__aprCurrent";
    RebalanceLoan_OrderBy["StrategyAprDaily"] = "strategy__aprDaily";
    RebalanceLoan_OrderBy["StrategyAprMonthly"] = "strategy__aprMonthly";
    RebalanceLoan_OrderBy["StrategyAprThreeDay"] = "strategy__aprThreeDay";
    RebalanceLoan_OrderBy["StrategyAprWeekly"] = "strategy__aprWeekly";
    RebalanceLoan_OrderBy["StrategyAprYearly"] = "strategy__aprYearly";
    RebalanceLoan_OrderBy["StrategyCollateralBalance"] = "strategy__collateralBalance";
    RebalanceLoan_OrderBy["StrategyDecimals"] = "strategy__decimals";
    RebalanceLoan_OrderBy["StrategyFirstDepositTimestamp"] = "strategy__firstDepositTimestamp";
    RebalanceLoan_OrderBy["StrategyId"] = "strategy__id";
    RebalanceLoan_OrderBy["StrategyInitPricePerShare"] = "strategy__initPricePerShare";
    RebalanceLoan_OrderBy["StrategyInitTimestamp"] = "strategy__initTimestamp";
    RebalanceLoan_OrderBy["StrategyLastAprUpdate"] = "strategy__lastAprUpdate";
    RebalanceLoan_OrderBy["StrategyLastHarvest"] = "strategy__lastHarvest";
    RebalanceLoan_OrderBy["StrategyLastRebalance"] = "strategy__lastRebalance";
    RebalanceLoan_OrderBy["StrategyLastUpdated"] = "strategy__lastUpdated";
    RebalanceLoan_OrderBy["StrategyLpBalance"] = "strategy__lpBalance";
    RebalanceLoan_OrderBy["StrategyMaxTvl"] = "strategy__maxTvl";
    RebalanceLoan_OrderBy["StrategyName"] = "strategy__name";
    RebalanceLoan_OrderBy["StrategyNetwork"] = "strategy__network";
    RebalanceLoan_OrderBy["StrategyOwner"] = "strategy__owner";
    RebalanceLoan_OrderBy["StrategyPrevRebalanceDirection"] = "strategy__prevRebalanceDirection";
    RebalanceLoan_OrderBy["StrategyPrevShortPrice"] = "strategy__prevShortPrice";
    RebalanceLoan_OrderBy["StrategyPricePerShare"] = "strategy__pricePerShare";
    RebalanceLoan_OrderBy["StrategyShortBalance"] = "strategy__shortBalance";
    RebalanceLoan_OrderBy["StrategyShortPosition"] = "strategy__shortPosition";
    RebalanceLoan_OrderBy["StrategySymbol"] = "strategy__symbol";
    RebalanceLoan_OrderBy["StrategyTotalSupply"] = "strategy__totalSupply";
    RebalanceLoan_OrderBy["StrategyTrusted"] = "strategy__trusted";
    RebalanceLoan_OrderBy["StrategyTvl"] = "strategy__tvl";
    RebalanceLoan_OrderBy["StrategyUnderlying"] = "strategy__underlying";
    RebalanceLoan_OrderBy["StrategyUnderlyingBalance"] = "strategy__underlyingBalance";
    RebalanceLoan_OrderBy["StrategyUnderlyingSymbol"] = "strategy__underlyingSymbol";
    RebalanceLoan_OrderBy["Timestamp"] = "timestamp";
    RebalanceLoan_OrderBy["UpdatedLoanHealth"] = "updatedLoanHealth";
})(RebalanceLoan_OrderBy = exports.RebalanceLoan_OrderBy || (exports.RebalanceLoan_OrderBy = {}));
var Rebalance_OrderBy;
(function (Rebalance_OrderBy) {
    Rebalance_OrderBy["Direction"] = "direction";
    Rebalance_OrderBy["Id"] = "id";
    Rebalance_OrderBy["PositionOffset"] = "positionOffset";
    Rebalance_OrderBy["ShortPrice"] = "shortPrice";
    Rebalance_OrderBy["Strategy"] = "strategy";
    Rebalance_OrderBy["StrategyAddress"] = "strategy__address";
    Rebalance_OrderBy["StrategyAprAllTime"] = "strategy__aprAllTime";
    Rebalance_OrderBy["StrategyAprCurrent"] = "strategy__aprCurrent";
    Rebalance_OrderBy["StrategyAprDaily"] = "strategy__aprDaily";
    Rebalance_OrderBy["StrategyAprMonthly"] = "strategy__aprMonthly";
    Rebalance_OrderBy["StrategyAprThreeDay"] = "strategy__aprThreeDay";
    Rebalance_OrderBy["StrategyAprWeekly"] = "strategy__aprWeekly";
    Rebalance_OrderBy["StrategyAprYearly"] = "strategy__aprYearly";
    Rebalance_OrderBy["StrategyCollateralBalance"] = "strategy__collateralBalance";
    Rebalance_OrderBy["StrategyDecimals"] = "strategy__decimals";
    Rebalance_OrderBy["StrategyFirstDepositTimestamp"] = "strategy__firstDepositTimestamp";
    Rebalance_OrderBy["StrategyId"] = "strategy__id";
    Rebalance_OrderBy["StrategyInitPricePerShare"] = "strategy__initPricePerShare";
    Rebalance_OrderBy["StrategyInitTimestamp"] = "strategy__initTimestamp";
    Rebalance_OrderBy["StrategyLastAprUpdate"] = "strategy__lastAprUpdate";
    Rebalance_OrderBy["StrategyLastHarvest"] = "strategy__lastHarvest";
    Rebalance_OrderBy["StrategyLastRebalance"] = "strategy__lastRebalance";
    Rebalance_OrderBy["StrategyLastUpdated"] = "strategy__lastUpdated";
    Rebalance_OrderBy["StrategyLpBalance"] = "strategy__lpBalance";
    Rebalance_OrderBy["StrategyMaxTvl"] = "strategy__maxTvl";
    Rebalance_OrderBy["StrategyName"] = "strategy__name";
    Rebalance_OrderBy["StrategyNetwork"] = "strategy__network";
    Rebalance_OrderBy["StrategyOwner"] = "strategy__owner";
    Rebalance_OrderBy["StrategyPrevRebalanceDirection"] = "strategy__prevRebalanceDirection";
    Rebalance_OrderBy["StrategyPrevShortPrice"] = "strategy__prevShortPrice";
    Rebalance_OrderBy["StrategyPricePerShare"] = "strategy__pricePerShare";
    Rebalance_OrderBy["StrategyShortBalance"] = "strategy__shortBalance";
    Rebalance_OrderBy["StrategyShortPosition"] = "strategy__shortPosition";
    Rebalance_OrderBy["StrategySymbol"] = "strategy__symbol";
    Rebalance_OrderBy["StrategyTotalSupply"] = "strategy__totalSupply";
    Rebalance_OrderBy["StrategyTrusted"] = "strategy__trusted";
    Rebalance_OrderBy["StrategyTvl"] = "strategy__tvl";
    Rebalance_OrderBy["StrategyUnderlying"] = "strategy__underlying";
    Rebalance_OrderBy["StrategyUnderlyingBalance"] = "strategy__underlyingBalance";
    Rebalance_OrderBy["StrategyUnderlyingSymbol"] = "strategy__underlyingSymbol";
    Rebalance_OrderBy["Timestamp"] = "timestamp";
    Rebalance_OrderBy["TvlBeforeRebalance"] = "tvlBeforeRebalance";
})(Rebalance_OrderBy = exports.Rebalance_OrderBy || (exports.Rebalance_OrderBy = {}));
var StrategyHarvest_OrderBy;
(function (StrategyHarvest_OrderBy) {
    StrategyHarvest_OrderBy["Amount"] = "amount";
    StrategyHarvest_OrderBy["Id"] = "id";
    StrategyHarvest_OrderBy["Strategy"] = "strategy";
    StrategyHarvest_OrderBy["StrategyAddress"] = "strategy__address";
    StrategyHarvest_OrderBy["StrategyAprAllTime"] = "strategy__aprAllTime";
    StrategyHarvest_OrderBy["StrategyAprCurrent"] = "strategy__aprCurrent";
    StrategyHarvest_OrderBy["StrategyAprDaily"] = "strategy__aprDaily";
    StrategyHarvest_OrderBy["StrategyAprMonthly"] = "strategy__aprMonthly";
    StrategyHarvest_OrderBy["StrategyAprThreeDay"] = "strategy__aprThreeDay";
    StrategyHarvest_OrderBy["StrategyAprWeekly"] = "strategy__aprWeekly";
    StrategyHarvest_OrderBy["StrategyAprYearly"] = "strategy__aprYearly";
    StrategyHarvest_OrderBy["StrategyCollateralBalance"] = "strategy__collateralBalance";
    StrategyHarvest_OrderBy["StrategyDecimals"] = "strategy__decimals";
    StrategyHarvest_OrderBy["StrategyFirstDepositTimestamp"] = "strategy__firstDepositTimestamp";
    StrategyHarvest_OrderBy["StrategyId"] = "strategy__id";
    StrategyHarvest_OrderBy["StrategyInitPricePerShare"] = "strategy__initPricePerShare";
    StrategyHarvest_OrderBy["StrategyInitTimestamp"] = "strategy__initTimestamp";
    StrategyHarvest_OrderBy["StrategyLastAprUpdate"] = "strategy__lastAprUpdate";
    StrategyHarvest_OrderBy["StrategyLastHarvest"] = "strategy__lastHarvest";
    StrategyHarvest_OrderBy["StrategyLastRebalance"] = "strategy__lastRebalance";
    StrategyHarvest_OrderBy["StrategyLastUpdated"] = "strategy__lastUpdated";
    StrategyHarvest_OrderBy["StrategyLpBalance"] = "strategy__lpBalance";
    StrategyHarvest_OrderBy["StrategyMaxTvl"] = "strategy__maxTvl";
    StrategyHarvest_OrderBy["StrategyName"] = "strategy__name";
    StrategyHarvest_OrderBy["StrategyNetwork"] = "strategy__network";
    StrategyHarvest_OrderBy["StrategyOwner"] = "strategy__owner";
    StrategyHarvest_OrderBy["StrategyPrevRebalanceDirection"] = "strategy__prevRebalanceDirection";
    StrategyHarvest_OrderBy["StrategyPrevShortPrice"] = "strategy__prevShortPrice";
    StrategyHarvest_OrderBy["StrategyPricePerShare"] = "strategy__pricePerShare";
    StrategyHarvest_OrderBy["StrategyShortBalance"] = "strategy__shortBalance";
    StrategyHarvest_OrderBy["StrategyShortPosition"] = "strategy__shortPosition";
    StrategyHarvest_OrderBy["StrategySymbol"] = "strategy__symbol";
    StrategyHarvest_OrderBy["StrategyTotalSupply"] = "strategy__totalSupply";
    StrategyHarvest_OrderBy["StrategyTrusted"] = "strategy__trusted";
    StrategyHarvest_OrderBy["StrategyTvl"] = "strategy__tvl";
    StrategyHarvest_OrderBy["StrategyUnderlying"] = "strategy__underlying";
    StrategyHarvest_OrderBy["StrategyUnderlyingBalance"] = "strategy__underlyingBalance";
    StrategyHarvest_OrderBy["StrategyUnderlyingSymbol"] = "strategy__underlyingSymbol";
    StrategyHarvest_OrderBy["Timestamp"] = "timestamp";
})(StrategyHarvest_OrderBy = exports.StrategyHarvest_OrderBy || (exports.StrategyHarvest_OrderBy = {}));
var Strategy_OrderBy;
(function (Strategy_OrderBy) {
    Strategy_OrderBy["Address"] = "address";
    Strategy_OrderBy["AprAllTime"] = "aprAllTime";
    Strategy_OrderBy["AprCurrent"] = "aprCurrent";
    Strategy_OrderBy["AprDaily"] = "aprDaily";
    Strategy_OrderBy["AprMonthly"] = "aprMonthly";
    Strategy_OrderBy["AprThreeDay"] = "aprThreeDay";
    Strategy_OrderBy["AprWeekly"] = "aprWeekly";
    Strategy_OrderBy["AprYearly"] = "aprYearly";
    Strategy_OrderBy["CollateralBalance"] = "collateralBalance";
    Strategy_OrderBy["Decimals"] = "decimals";
    Strategy_OrderBy["FirstDepositTimestamp"] = "firstDepositTimestamp";
    Strategy_OrderBy["Harvests"] = "harvests";
    Strategy_OrderBy["Id"] = "id";
    Strategy_OrderBy["InitPricePerShare"] = "initPricePerShare";
    Strategy_OrderBy["InitTimestamp"] = "initTimestamp";
    Strategy_OrderBy["LastAprUpdate"] = "lastAprUpdate";
    Strategy_OrderBy["LastHarvest"] = "lastHarvest";
    Strategy_OrderBy["LastRebalance"] = "lastRebalance";
    Strategy_OrderBy["LastUpdated"] = "lastUpdated";
    Strategy_OrderBy["LpBalance"] = "lpBalance";
    Strategy_OrderBy["MaxTvl"] = "maxTvl";
    Strategy_OrderBy["Name"] = "name";
    Strategy_OrderBy["Network"] = "network";
    Strategy_OrderBy["Owner"] = "owner";
    Strategy_OrderBy["PrevRebalanceDirection"] = "prevRebalanceDirection";
    Strategy_OrderBy["PrevShortPrice"] = "prevShortPrice";
    Strategy_OrderBy["PricePerShare"] = "pricePerShare";
    Strategy_OrderBy["RebalanceLoans"] = "rebalanceLoans";
    Strategy_OrderBy["Rebalances"] = "rebalances";
    Strategy_OrderBy["ShortBalance"] = "shortBalance";
    Strategy_OrderBy["ShortPosition"] = "shortPosition";
    Strategy_OrderBy["Symbol"] = "symbol";
    Strategy_OrderBy["TotalSupply"] = "totalSupply";
    Strategy_OrderBy["Trusted"] = "trusted";
    Strategy_OrderBy["Tvl"] = "tvl";
    Strategy_OrderBy["Underlying"] = "underlying";
    Strategy_OrderBy["UnderlyingBalance"] = "underlyingBalance";
    Strategy_OrderBy["UnderlyingSymbol"] = "underlyingSymbol";
    Strategy_OrderBy["Vault"] = "vault";
    Strategy_OrderBy["VaultAprAllTime"] = "vault__aprAllTime";
    Strategy_OrderBy["VaultAprCurrent"] = "vault__aprCurrent";
    Strategy_OrderBy["VaultAprDaily"] = "vault__aprDaily";
    Strategy_OrderBy["VaultAprMonthly"] = "vault__aprMonthly";
    Strategy_OrderBy["VaultAprThreeDay"] = "vault__aprThreeDay";
    Strategy_OrderBy["VaultAprWeekly"] = "vault__aprWeekly";
    Strategy_OrderBy["VaultAprYearly"] = "vault__aprYearly";
    Strategy_OrderBy["VaultDecimals"] = "vault__decimals";
    Strategy_OrderBy["VaultFeePercent"] = "vault__feePercent";
    Strategy_OrderBy["VaultFirstDepositTimestamp"] = "vault__firstDepositTimestamp";
    Strategy_OrderBy["VaultHarvestDelay"] = "vault__harvestDelay";
    Strategy_OrderBy["VaultHarvestWindow"] = "vault__harvestWindow";
    Strategy_OrderBy["VaultId"] = "vault__id";
    Strategy_OrderBy["VaultInitPricePerShare"] = "vault__initPricePerShare";
    Strategy_OrderBy["VaultInitTimestamp"] = "vault__initTimestamp";
    Strategy_OrderBy["VaultIsPublic"] = "vault__isPublic";
    Strategy_OrderBy["VaultLastAprUpdate"] = "vault__lastAprUpdate";
    Strategy_OrderBy["VaultLastClaim"] = "vault__lastClaim";
    Strategy_OrderBy["VaultLastHarvest"] = "vault__lastHarvest";
    Strategy_OrderBy["VaultLastUpdated"] = "vault__lastUpdated";
    Strategy_OrderBy["VaultMaxTvl"] = "vault__maxTvl";
    Strategy_OrderBy["VaultName"] = "vault__name";
    Strategy_OrderBy["VaultNetwork"] = "vault__network";
    Strategy_OrderBy["VaultOwner"] = "vault__owner";
    Strategy_OrderBy["VaultPricePerShare"] = "vault__pricePerShare";
    Strategy_OrderBy["VaultPricePerShareWlp"] = "vault__pricePerShareWLP";
    Strategy_OrderBy["VaultSymbol"] = "vault__symbol";
    Strategy_OrderBy["VaultTargetFloatPercent"] = "vault__targetFloatPercent";
    Strategy_OrderBy["VaultTotalSupply"] = "vault__totalSupply";
    Strategy_OrderBy["VaultTvl"] = "vault__tvl";
    Strategy_OrderBy["VaultUnderlying"] = "vault__underlying";
    Strategy_OrderBy["VaultUnderlyingSymbol"] = "vault__underlyingSymbol";
})(Strategy_OrderBy = exports.Strategy_OrderBy || (exports.Strategy_OrderBy = {}));
var Timelock_OrderBy;
(function (Timelock_OrderBy) {
    Timelock_OrderBy["Address"] = "address";
    Timelock_OrderBy["Id"] = "id";
    Timelock_OrderBy["MinDelay"] = "minDelay";
})(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["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["VaultFeePercent"] = "vault__feePercent";
    Transfer_OrderBy["VaultFirstDepositTimestamp"] = "vault__firstDepositTimestamp";
    Transfer_OrderBy["VaultHarvestDelay"] = "vault__harvestDelay";
    Transfer_OrderBy["VaultHarvestWindow"] = "vault__harvestWindow";
    Transfer_OrderBy["VaultId"] = "vault__id";
    Transfer_OrderBy["VaultInitPricePerShare"] = "vault__initPricePerShare";
    Transfer_OrderBy["VaultInitTimestamp"] = "vault__initTimestamp";
    Transfer_OrderBy["VaultIsPublic"] = "vault__isPublic";
    Transfer_OrderBy["VaultLastAprUpdate"] = "vault__lastAprUpdate";
    Transfer_OrderBy["VaultLastClaim"] = "vault__lastClaim";
    Transfer_OrderBy["VaultLastHarvest"] = "vault__lastHarvest";
    Transfer_OrderBy["VaultLastUpdated"] = "vault__lastUpdated";
    Transfer_OrderBy["VaultMaxTvl"] = "vault__maxTvl";
    Transfer_OrderBy["VaultName"] = "vault__name";
    Transfer_OrderBy["VaultNetwork"] = "vault__network";
    Transfer_OrderBy["VaultOwner"] = "vault__owner";
    Transfer_OrderBy["VaultPricePerShare"] = "vault__pricePerShare";
    Transfer_OrderBy["VaultPricePerShareWlp"] = "vault__pricePerShareWLP";
    Transfer_OrderBy["VaultSymbol"] = "vault__symbol";
    Transfer_OrderBy["VaultTargetFloatPercent"] = "vault__targetFloatPercent";
    Transfer_OrderBy["VaultTotalSupply"] = "vault__totalSupply";
    Transfer_OrderBy["VaultTvl"] = "vault__tvl";
    Transfer_OrderBy["VaultUnderlying"] = "vault__underlying";
    Transfer_OrderBy["VaultUnderlyingSymbol"] = "vault__underlyingSymbol";
})(Transfer_OrderBy = exports.Transfer_OrderBy || (exports.Transfer_OrderBy = {}));
var VaultDeposit_OrderBy;
(function (VaultDeposit_OrderBy) {
    VaultDeposit_OrderBy["Id"] = "id";
    VaultDeposit_OrderBy["Timestamp"] = "timestamp";
    VaultDeposit_OrderBy["UnderlyingAmount"] = "underlyingAmount";
    VaultDeposit_OrderBy["User"] = "user";
    VaultDeposit_OrderBy["Vault"] = "vault";
    VaultDeposit_OrderBy["VaultAprAllTime"] = "vault__aprAllTime";
    VaultDeposit_OrderBy["VaultAprCurrent"] = "vault__aprCurrent";
    VaultDeposit_OrderBy["VaultAprDaily"] = "vault__aprDaily";
    VaultDeposit_OrderBy["VaultAprMonthly"] = "vault__aprMonthly";
    VaultDeposit_OrderBy["VaultAprThreeDay"] = "vault__aprThreeDay";
    VaultDeposit_OrderBy["VaultAprWeekly"] = "vault__aprWeekly";
    VaultDeposit_OrderBy["VaultAprYearly"] = "vault__aprYearly";
    VaultDeposit_OrderBy["VaultDecimals"] = "vault__decimals";
    VaultDeposit_OrderBy["VaultFeePercent"] = "vault__feePercent";
    VaultDeposit_OrderBy["VaultFirstDepositTimestamp"] = "vault__firstDepositTimestamp";
    VaultDeposit_OrderBy["VaultHarvestDelay"] = "vault__harvestDelay";
    VaultDeposit_OrderBy["VaultHarvestWindow"] = "vault__harvestWindow";
    VaultDeposit_OrderBy["VaultId"] = "vault__id";
    VaultDeposit_OrderBy["VaultInitPricePerShare"] = "vault__initPricePerShare";
    VaultDeposit_OrderBy["VaultInitTimestamp"] = "vault__initTimestamp";
    VaultDeposit_OrderBy["VaultIsPublic"] = "vault__isPublic";
    VaultDeposit_OrderBy["VaultLastAprUpdate"] = "vault__lastAprUpdate";
    VaultDeposit_OrderBy["VaultLastClaim"] = "vault__lastClaim";
    VaultDeposit_OrderBy["VaultLastHarvest"] = "vault__lastHarvest";
    VaultDeposit_OrderBy["VaultLastUpdated"] = "vault__lastUpdated";
    VaultDeposit_OrderBy["VaultMaxTvl"] = "vault__maxTvl";
    VaultDeposit_OrderBy["VaultName"] = "vault__name";
    VaultDeposit_OrderBy["VaultNetwork"] = "vault__network";
    VaultDeposit_OrderBy["VaultOwner"] = "vault__owner";
    VaultDeposit_OrderBy["VaultPricePerShare"] = "vault__pricePerShare";
    VaultDeposit_OrderBy["VaultPricePerShareWlp"] = "vault__pricePerShareWLP";
    VaultDeposit_OrderBy["VaultSymbol"] = "vault__symbol";
    VaultDeposit_OrderBy["VaultTargetFloatPercent"] = "vault__targetFloatPercent";
    VaultDeposit_OrderBy["VaultTotalSupply"] = "vault__totalSupply";
    VaultDeposit_OrderBy["VaultTvl"] = "vault__tvl";
    VaultDeposit_OrderBy["VaultUnderlying"] = "vault__underlying";
    VaultDeposit_OrderBy["VaultUnderlyingSymbol"] = "vault__underlyingSymbol";
})(VaultDeposit_OrderBy = exports.VaultDeposit_OrderBy || (exports.VaultDeposit_OrderBy = {}));
var VaultWithdrawal_OrderBy;
(function (VaultWithdrawal_OrderBy) {
    VaultWithdrawal_OrderBy["Id"] = "id";
    VaultWithdrawal_OrderBy["Timestamp"] = "timestamp";
    VaultWithdrawal_OrderBy["UnderlyingAmount"] = "underlyingAmount";
    VaultWithdrawal_OrderBy["User"] = "user";
    VaultWithdrawal_OrderBy["Vault"] = "vault";
    VaultWithdrawal_OrderBy["VaultAprAllTime"] = "vault__aprAllTime";
    VaultWithdrawal_OrderBy["VaultAprCurrent"] = "vault__aprCurrent";
    VaultWithdrawal_OrderBy["VaultAprDaily"] = "vault__aprDaily";
    VaultWithdrawal_OrderBy["VaultAprMonthly"] = "vault__aprMonthly";
    VaultWithdrawal_OrderBy["VaultAprThreeDay"] = "vault__aprThreeDay";
    VaultWithdrawal_OrderBy["VaultAprWeekly"] = "vault__aprWeekly";
    VaultWithdrawal_OrderBy["VaultAprYearly"] = "vault__aprYearly";
    VaultWithdrawal_OrderBy["VaultDecimals"] = "vault__decimals";
    VaultWithdrawal_OrderBy["VaultFeePercent"] = "vault__feePercent";
    VaultWithdrawal_OrderBy["VaultFirstDepositTimestamp"] = "vault__firstDepositTimestamp";
    VaultWithdrawal_OrderBy["VaultHarvestDelay"] = "vault__harvestDelay";
    VaultWithdrawal_OrderBy["VaultHarvestWindow"] = "vault__harvestWindow";
    VaultWithdrawal_OrderBy["VaultId"] = "vault__id";
    VaultWithdrawal_OrderBy["VaultInitPricePerShare"] = "vault__initPricePerShare";
    VaultWithdrawal_OrderBy["VaultInitTimestamp"] = "vault__initTimestamp";
    VaultWithdrawal_OrderBy["VaultIsPublic"] = "vault__isPublic";
    VaultWithdrawal_OrderBy["VaultLastAprUpdate"] = "vault__lastAprUpdate";
    VaultWithdrawal_OrderBy["VaultLastClaim"] = "vault__lastClaim";
    VaultWithdrawal_OrderBy["VaultLastHarvest"] = "vault__lastHarvest";
    VaultWithdrawal_OrderBy["VaultLastUpdated"] = "vault__lastUpdated";
    VaultWithdrawal_OrderBy["VaultMaxTvl"] = "vault__maxTvl";
    VaultWithdrawal_OrderBy["VaultName"] = "vault__name";
    VaultWithdrawal_OrderBy["VaultNetwork"] = "vault__network";
    VaultWithdrawal_OrderBy["VaultOwner"] = "vault__owner";
    VaultWithdrawal_OrderBy["VaultPricePerShare"] = "vault__pricePerShare";
    VaultWithdrawal_OrderBy["VaultPricePerShareWlp"] = "vault__pricePerShareWLP";
    VaultWithdrawal_OrderBy["VaultSymbol"] = "vault__symbol";
    VaultWithdrawal_OrderBy["VaultTargetFloatPercent"] = "vault__targetFloatPercent";
    VaultWithdrawal_OrderBy["VaultTotalSupply"] = "vault__totalSupply";
    VaultWithdrawal_OrderBy["VaultTvl"] = "vault__tvl";
    VaultWithdrawal_OrderBy["VaultUnderlying"] = "vault__underlying";
    VaultWithdrawal_OrderBy["VaultUnderlyingSymbol"] = "vault__underlyingSymbol";
})(VaultWithdrawal_OrderBy = exports.VaultWithdrawal_OrderBy || (exports.VaultWithdrawal_OrderBy = {}));
var Vault_OrderBy;
(function (Vault_OrderBy) {
    Vault_OrderBy["AprAllTime"] = "aprAllTime";
    Vault_OrderBy["AprCurrent"] = "aprCurrent";
    Vault_OrderBy["AprDaily"] = "aprDaily";
    Vault_OrderBy["AprMonthly"] = "aprMonthly";
    Vault_OrderBy["AprThreeDay"] = "aprThreeDay";
    Vault_OrderBy["AprWeekly"] = "aprWeekly";
    Vault_OrderBy["AprYearly"] = "aprYearly";
    Vault_OrderBy["DataPoints"] = "dataPoints";
    Vault_OrderBy["Decimals"] = "decimals";
    Vault_OrderBy["Deposits"] = "deposits";
    Vault_OrderBy["FeePercent"] = "feePercent";
    Vault_OrderBy["FirstDepositTimestamp"] = "firstDepositTimestamp";
    Vault_OrderBy["HarvestDelay"] = "harvestDelay";
    Vault_OrderBy["HarvestWindow"] = "harvestWindow";
    Vault_OrderBy["Id"] = "id";
    Vault_OrderBy["InitPricePerShare"] = "initPricePerShare";
    Vault_OrderBy["InitTimestamp"] = "initTimestamp";
    Vault_OrderBy["IsPublic"] = "isPublic";
    Vault_OrderBy["LastAprUpdate"] = "lastAprUpdate";
    Vault_OrderBy["LastClaim"] = "lastClaim";
    Vault_OrderBy["LastHarvest"] = "lastHarvest";
    Vault_OrderBy["LastUpdated"] = "lastUpdated";
    Vault_OrderBy["MaxTvl"] = "maxTvl";
    Vault_OrderBy["Name"] = "name";
    Vault_OrderBy["Network"] = "network";
    Vault_OrderBy["Owner"] = "owner";
    Vault_OrderBy["PricePerShare"] = "pricePerShare";
    Vault_OrderBy["PricePerShareWlp"] = "pricePerShareWLP";
    Vault_OrderBy["Strategies"] = "strategies";
    Vault_OrderBy["Symbol"] = "symbol";
    Vault_OrderBy["TargetFloatPercent"] = "targetFloatPercent";
    Vault_OrderBy["TotalSupply"] = "totalSupply";
    Vault_OrderBy["Tvl"] = "tvl";
    Vault_OrderBy["Underlying"] = "underlying";
    Vault_OrderBy["UnderlyingSymbol"] = "underlyingSymbol";
    Vault_OrderBy["WithdrawalQueue"] = "withdrawalQueue";
    Vault_OrderBy["Withdrawals"] = "withdrawals";
})(Vault_OrderBy = exports.Vault_OrderBy || (exports.Vault_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["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["VaultFeePercent"] = "vault__feePercent";
    Withdraw_OrderBy["VaultFirstDepositTimestamp"] = "vault__firstDepositTimestamp";
    Withdraw_OrderBy["VaultHarvestDelay"] = "vault__harvestDelay";
    Withdraw_OrderBy["VaultHarvestWindow"] = "vault__harvestWindow";
    Withdraw_OrderBy["VaultId"] = "vault__id";
    Withdraw_OrderBy["VaultInitPricePerShare"] = "vault__initPricePerShare";
    Withdraw_OrderBy["VaultInitTimestamp"] = "vault__initTimestamp";
    Withdraw_OrderBy["VaultIsPublic"] = "vault__isPublic";
    Withdraw_OrderBy["VaultLastAprUpdate"] = "vault__lastAprUpdate";
    Withdraw_OrderBy["VaultLastClaim"] = "vault__lastClaim";
    Withdraw_OrderBy["VaultLastHarvest"] = "vault__lastHarvest";
    Withdraw_OrderBy["VaultLastUpdated"] = "vault__lastUpdated";
    Withdraw_OrderBy["VaultMaxTvl"] = "vault__maxTvl";
    Withdraw_OrderBy["VaultName"] = "vault__name";
    Withdraw_OrderBy["VaultNetwork"] = "vault__network";
    Withdraw_OrderBy["VaultOwner"] = "vault__owner";
    Withdraw_OrderBy["VaultPricePerShare"] = "vault__pricePerShare";
    Withdraw_OrderBy["VaultPricePerShareWlp"] = "vault__pricePerShareWLP";
    Withdraw_OrderBy["VaultSymbol"] = "vault__symbol";
    Withdraw_OrderBy["VaultTargetFloatPercent"] = "vault__targetFloatPercent";
    Withdraw_OrderBy["VaultTotalSupply"] = "vault__totalSupply";
    Withdraw_OrderBy["VaultTvl"] = "vault__tvl";
    Withdraw_OrderBy["VaultUnderlying"] = "vault__underlying";
    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.ScionEventsDocument = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  query scionEvents {\n    vaults(first: 1000) {\n      id\n    }\n    deposits(first: 1000) {\n      id\n      txHash\n      network\n      value\n      account\n      timestamp\n      vault {\n        id\n        network\n        decimals\n        underlyingSymbol\n      }\n    }\n    withdraws(first: 1000) {\n      id\n      txHash\n      network\n      value\n      account\n      timestamp\n      vault {\n        id\n        network\n        decimals\n        underlyingSymbol\n      }\n    }\n    transfers(first: 1000) {\n      id\n      txHash\n      network\n      uValue\n      from\n      to\n      timestamp\n      vault {\n        id\n        network\n        decimals\n        underlyingSymbol\n      }\n    }\n  }\n"], ["\n  query scionEvents {\n    vaults(first: 1000) {\n      id\n    }\n    deposits(first: 1000) {\n      id\n      txHash\n      network\n      value\n      account\n      timestamp\n      vault {\n        id\n        network\n        decimals\n        underlyingSymbol\n      }\n    }\n    withdraws(first: 1000) {\n      id\n      txHash\n      network\n      value\n      account\n      timestamp\n      vault {\n        id\n        network\n        decimals\n        underlyingSymbol\n      }\n    }\n    transfers(first: 1000) {\n      id\n      txHash\n      network\n      uValue\n      from\n      to\n      timestamp\n      vault {\n        id\n        network\n        decimals\n        underlyingSymbol\n      }\n    }\n  }\n"])));
/**
 * __useScionEventsQuery__
 *
 * To run a query within a React component, call `useScionEventsQuery` and pass it any options that fit your needs.
 * When your component renders, `useScionEventsQuery` 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 } = useScionEventsQuery({
 *   variables: {
 *   },
 * });
 */
function useScionEventsQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useQuery(exports.ScionEventsDocument, options);
}
exports.useScionEventsQuery = useScionEventsQuery;
function useScionEventsLazyQuery(baseOptions) {
    var options = __assign(__assign({}, defaultOptions), baseOptions);
    return Apollo.useLazyQuery(exports.ScionEventsDocument, options);
}
exports.useScionEventsLazyQuery = useScionEventsLazyQuery;
var templateObject_1;
//# sourceMappingURL=scionTypes.js.map