@superfluid-finance/sdk-core
Version:
SDK Core for building with Superfluid Protocol
44 lines • 1.89 kB
TypeScript
import * as Types from '../../schema.generated';
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
export type AccountTokenSnapshotsQueryVariables = Types.Exact<{
first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
skip?: Types.InputMaybe<Types.Scalars['Int']['input']>;
orderBy?: Types.InputMaybe<Types.AccountTokenSnapshot_OrderBy>;
orderDirection?: Types.InputMaybe<Types.OrderDirection>;
where?: Types.InputMaybe<Types.AccountTokenSnapshot_Filter>;
block?: Types.InputMaybe<Types.Block_Height>;
}>;
export type AccountTokenSnapshotsQuery = {
accountTokenSnapshots: Array<{
balanceUntilUpdatedAt: string;
id: string;
totalAmountStreamedUntilUpdatedAt: string;
totalAmountStreamedInUntilUpdatedAt: string;
totalAmountStreamedOutUntilUpdatedAt: string;
totalAmountTransferredUntilUpdatedAt: string;
totalInflowRate: string;
totalApprovedSubscriptions: number;
totalNetFlowRate: string;
totalNumberOfActiveStreams: number;
activeOutgoingStreamCount: number;
activeIncomingStreamCount: number;
totalOutflowRate: string;
totalNumberOfClosedStreams: number;
inactiveOutgoingStreamCount: number;
inactiveIncomingStreamCount: number;
totalSubscriptionsWithUnits: number;
updatedAtBlockNumber: string;
updatedAtTimestamp: string;
maybeCriticalAtTimestamp?: string | undefined;
isLiquidationEstimateOptimistic: boolean;
account: {
id: string;
};
token: {
id: string;
symbol: string;
};
}>;
};
export declare const AccountTokenSnapshotsDocument: DocumentNode<AccountTokenSnapshotsQuery, AccountTokenSnapshotsQueryVariables>;
//# sourceMappingURL=accountTokenSnapshots.generated.d.ts.map