"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GET_USER_BONDS = exports.GET_BONDS = exports.SUBGRAPH_URL = void 0;
const graphql_request_1 = require("graphql-request");
exports.SUBGRAPH_URL = 'https://api.thegraph.com/subgraphs/name/0xged/keep3r-v2-canary';
exports.GET_BONDS = (0, graphql_request_1.gql) `
  query getBonds($first: Int, $lastId: String) {
    bonds(where: { id_gt: $lastId }, first: $first) {
      id
      keeper {
        id
      }
      bonded
      token {
        id
        name
        symbol
        decimals
      }
    }
  }
`;
exports.GET_USER_BONDS = (0, graphql_request_1.gql) `
  query getUserUnbonds($address: String!, $first: Int, $lastId: String) {
    bonds(where: { keeper: $address, id_gt: $lastId }, first: $first) {
      id
      keeper {
        id
      }
      bonded
      token {
        id
        name
        symbol
        decimals
      }
    }
  }
`;
//# sourceMappingURL=keeper.keeper-bond.queries.js.map