UNPKG

@superfluid-finance/sdk-core

Version:
76 lines 2.74 kB
import * as Types from '../../schema.generated'; import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; export type GetPoolQueryVariables = Types.Exact<{ id: Types.Scalars['ID']['input']; }>; export type GetPoolQuery = { pool?: { id: string; createdAtTimestamp: string; createdAtBlockNumber: string; updatedAtTimestamp: string; updatedAtBlockNumber: string; totalMembers: number; totalUnits: string; totalConnectedMembers: number; totalConnectedUnits: string; totalDisconnectedMembers: number; totalDisconnectedUnits: string; totalAmountInstantlyDistributedUntilUpdatedAt: string; flowRate: string; perUnitSettledValue: string; perUnitFlowRate: string; totalBuffer: string; totalAmountFlowedDistributedUntilUpdatedAt: string; totalAmountDistributedUntilUpdatedAt: string; adjustmentFlowRate: string; totalFlowAdjustmentAmountDistributedUntilUpdatedAt: string; admin: { id: string; }; token: { id: string; }; } | undefined; }; export type PoolsQueryVariables = Types.Exact<{ first?: Types.InputMaybe<Types.Scalars['Int']['input']>; orderBy?: Types.InputMaybe<Types.Pool_OrderBy>; orderDirection?: Types.InputMaybe<Types.OrderDirection>; skip?: Types.InputMaybe<Types.Scalars['Int']['input']>; where?: Types.InputMaybe<Types.Pool_Filter>; block?: Types.InputMaybe<Types.Block_Height>; }>; export type PoolsQuery = { pools: Array<{ id: string; createdAtTimestamp: string; createdAtBlockNumber: string; updatedAtTimestamp: string; updatedAtBlockNumber: string; totalMembers: number; totalUnits: string; totalConnectedMembers: number; totalConnectedUnits: string; totalDisconnectedMembers: number; totalDisconnectedUnits: string; totalAmountInstantlyDistributedUntilUpdatedAt: string; flowRate: string; perUnitSettledValue: string; perUnitFlowRate: string; totalBuffer: string; totalAmountFlowedDistributedUntilUpdatedAt: string; totalAmountDistributedUntilUpdatedAt: string; adjustmentFlowRate: string; totalFlowAdjustmentAmountDistributedUntilUpdatedAt: string; admin: { id: string; }; token: { id: string; }; }>; }; export declare const GetPoolDocument: DocumentNode<GetPoolQuery, GetPoolQueryVariables>; export declare const PoolsDocument: DocumentNode<PoolsQuery, PoolsQueryVariables>; //# sourceMappingURL=pools.generated.d.ts.map