"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.USER_VAULT_BALANCE_QUERY = exports.USER_BALANCES_QUERY = void 0;
var graphql_tag_1 = require("graphql-tag");
exports.USER_BALANCES_QUERY = (0, graphql_tag_1.gql)(templateObject_1 || (templateObject_1 = __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"])));
// Need to include network or else caching breaks
exports.USER_VAULT_BALANCE_QUERY = (0, graphql_tag_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n  query userVaultBalance(\n    $account: Bytes!\n    $vaultId: String!\n    $network: String!\n  ) {\n    userBalances(\n      where: { account: $account, vault: $vaultId, network: $network }\n    ) {\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(\n    $account: Bytes!\n    $vaultId: String!\n    $network: String!\n  ) {\n    userBalances(\n      where: { account: $account, vault: $vaultId, network: $network }\n    ) {\n      id\n      account\n      deposited\n      network\n      vault {\n        id\n        address\n        underlyingSymbol\n        underlyingDecimals\n      }\n    }\n  }\n"])));
var templateObject_1, templateObject_2;
//# sourceMappingURL=getUserBalancesQuery.js.map