export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K] }; export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; export type MakeEmpty = { [_ in K]?: never }; export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: { input: string; output: string; } String: { input: string; output: string; } Boolean: { input: boolean; output: boolean; } Int: { input: number; output: number; } Float: { input: number; output: number; } BigDecimal: { input: any; output: any; } BigInt: { input: any; output: any; } Bytes: { input: any; output: any; } }; export type Position = { __typename?: 'Position'; creationTime: Scalars['Int']['output']; id: Scalars['Bytes']['output']; lastTaxTime?: Maybe; owner: Scalars['Bytes']['output']; share: Scalars['BigDecimal']['output']; status: PositionStatus; taxRate: Scalars['BigDecimal']['output']; }; export enum PositionStatus { Active = 'Active', Closed = 'Closed' } export type Query = { __typename?: 'Query'; positions?: Maybe>>; stats?: Maybe>>; }; export type Stats = { __typename?: 'Stats'; activeSupply: Scalars['BigInt']['output']; id: Scalars['Bytes']['output']; outstandingSupply: Scalars['BigInt']['output']; }; export type GetPositionsQueryVariables = Exact<{ [key: string]: never; }>; export type GetPositionsQuery = { __typename?: 'Query', positions?: Array<{ __typename?: 'Position', id: any, owner: any, share: any, creationTime: number, lastTaxTime?: number | null, taxRate: any, status: PositionStatus } | null> | null };