@superfluid-finance/sdk-core
Version:
SDK Core for building with Superfluid Protocol
55 lines • 1.79 kB
TypeScript
import * as Types from '../schema.generated';
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
export type GetStreamsQueryVariables = Types.Exact<{
where?: Types.Stream_Filter;
skip?: Types.Scalars['Int']['input'];
first?: Types.Scalars['Int']['input'];
orderBy?: Types.Stream_OrderBy;
orderDirection?: Types.OrderDirection;
}>;
export type GetStreamsQuery = {
result: Array<{
id: string;
createdAtTimestamp: string;
createdAtBlockNumber: string;
updatedAtTimestamp: string;
updatedAtBlockNumber: string;
currentFlowRate: string;
streamedUntilUpdatedAt: string;
userData: string;
token: {
id: string;
createdAtTimestamp: string;
createdAtBlockNumber: string;
name: string;
symbol: string;
isListed: boolean;
isNativeAssetSuperToken: boolean;
underlyingAddress: string;
};
sender: {
id: string;
};
receiver: {
id: string;
};
flowUpdatedEvents: Array<{
id: string;
blockNumber: string;
timestamp: string;
transactionHash: string;
token: string;
sender: string;
receiver: string;
flowRate: string;
totalSenderFlowRate: string;
totalReceiverFlowRate: string;
userData: string;
oldFlowRate: string;
type: number;
totalAmountStreamedUntilTimestamp: string;
}>;
}>;
};
export declare const GetStreamsDocument: DocumentNode<GetStreamsQuery, GetStreamsQueryVariables>;
//# sourceMappingURL=getStreams.generated.d.ts.map