@gmx-io/sdk 1.1.2 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/abis/ClaimHandler.json +439 -0
- package/build/cjs/src/abis/StBTC.json +1225 -0
- package/build/cjs/src/abis/SyntheticsReader.json +480 -19
- package/build/cjs/src/abis/index.js +4 -0
- package/build/cjs/src/configs/__tests__/markets.spec.js +1 -1
- package/build/cjs/src/configs/__tests__/tokens.spec.js +2 -1
- package/build/cjs/src/configs/batch.js +12 -0
- package/build/cjs/src/configs/chains.js +57 -6
- package/build/cjs/src/configs/contracts.js +66 -68
- package/build/cjs/src/configs/dataStore.js +14 -3
- package/build/cjs/src/configs/express.js +4 -2
- package/build/cjs/src/configs/markets.js +72 -0
- package/build/cjs/src/configs/oracleKeeper.js +19 -34
- package/build/cjs/src/configs/tokens.js +185 -1
- package/build/cjs/src/index.js +3 -3
- package/build/cjs/src/modules/orders/helpers.js +21 -13
- package/build/cjs/src/modules/orders/helpers.spec.js +1 -1
- package/build/cjs/src/modules/orders/orders.js +3 -3
- package/build/cjs/src/modules/positions/positions.js +9 -0
- package/build/cjs/src/modules/utils/utils.js +3 -3
- package/build/cjs/src/prebuilt/hashedKinkModelMarketRatesKeys.json +82 -0
- package/build/cjs/src/prebuilt/hashedMarketConfigKeys.json +512 -0
- package/build/cjs/src/prebuilt/hashedMarketValuesKeys.json +152 -0
- package/build/cjs/src/types/subsquid.js +193 -1
- package/build/cjs/src/types/swapStrategy.js +2 -0
- package/build/cjs/src/types/trade.js +1 -0
- package/build/cjs/src/utils/__tests__/numbers.spec.js +17 -9
- package/build/cjs/src/utils/__tests__/orderTransactions/decreaseOrders.spec.js +2 -0
- package/build/cjs/src/utils/__tests__/orderTransactions/exchangeRouterMulticall.spec.js +2 -0
- package/build/cjs/src/utils/__tests__/orderTransactions/increaseOrders.spec.js +4 -0
- package/build/cjs/src/utils/__tests__/orderTransactions/swapOrders.spec.js +1 -0
- package/build/cjs/src/utils/__tests__/prices.spec.js +3 -2
- package/build/cjs/src/utils/__tests__/uiFeeReceiver.spec.js +19 -0
- package/build/cjs/src/utils/errors/transactionsErrors.js +9 -2
- package/build/cjs/src/utils/fees/executionFee.js +9 -1
- package/build/cjs/src/utils/numbers.js +52 -34
- package/build/cjs/src/utils/orderTransactions.js +3 -1
- package/build/cjs/src/utils/orders.js +8 -2
- package/build/cjs/src/utils/prices.js +1 -1
- package/build/cjs/src/utils/swap/botanixStaking.js +90 -0
- package/build/cjs/src/utils/swap/buildSwapStrategy.js +224 -0
- package/build/cjs/src/utils/swap/externalSwapPath.js +41 -0
- package/build/cjs/src/utils/swap/externalSwapQuoteByPath.js +27 -0
- package/build/cjs/src/utils/swap/swapValues.js +288 -9
- package/build/cjs/src/utils/tokens.js +10 -1
- package/build/cjs/src/utils/trade/amounts.js +89 -41
- package/build/cjs/src/utils/trade/trade.js +2 -2
- package/build/cjs/src/utils/twap/uiFeeReceiver.js +26 -6
- package/build/esm/src/abis/ClaimHandler.json +439 -0
- package/build/esm/src/abis/StBTC.json +1225 -0
- package/build/esm/src/abis/SyntheticsReader.json +480 -19
- package/build/esm/src/abis/index.js +4 -0
- package/build/esm/src/configs/__tests__/markets.spec.js +1 -1
- package/build/esm/src/configs/__tests__/tokens.spec.js +3 -2
- package/build/esm/src/configs/batch.js +13 -1
- package/build/esm/src/configs/chains.js +56 -5
- package/build/esm/src/configs/contracts.js +67 -69
- package/build/esm/src/configs/dataStore.js +9 -0
- package/build/esm/src/configs/express.js +5 -3
- package/build/esm/src/configs/markets.js +73 -1
- package/build/esm/src/configs/oracleKeeper.js +18 -29
- package/build/esm/src/configs/tokens.js +186 -2
- package/build/esm/src/index.js +3 -3
- package/build/esm/src/modules/orders/helpers.js +21 -13
- package/build/esm/src/modules/orders/helpers.spec.js +1 -1
- package/build/esm/src/modules/orders/orders.js +3 -3
- package/build/esm/src/modules/positions/positions.js +9 -0
- package/build/esm/src/modules/utils/utils.js +3 -3
- package/build/esm/src/prebuilt/hashedKinkModelMarketRatesKeys.json +82 -0
- package/build/esm/src/prebuilt/hashedMarketConfigKeys.json +512 -0
- package/build/esm/src/prebuilt/hashedMarketValuesKeys.json +152 -0
- package/build/esm/src/types/subsquid.js +192 -0
- package/build/esm/src/types/swapStrategy.js +1 -0
- package/build/esm/src/types/trade.js +1 -0
- package/build/esm/src/utils/__tests__/numbers.spec.js +18 -10
- package/build/esm/src/utils/__tests__/orderTransactions/decreaseOrders.spec.js +2 -0
- package/build/esm/src/utils/__tests__/orderTransactions/exchangeRouterMulticall.spec.js +2 -0
- package/build/esm/src/utils/__tests__/orderTransactions/increaseOrders.spec.js +4 -0
- package/build/esm/src/utils/__tests__/orderTransactions/swapOrders.spec.js +1 -0
- package/build/esm/src/utils/__tests__/prices.spec.js +3 -2
- package/build/esm/src/utils/__tests__/uiFeeReceiver.spec.js +20 -1
- package/build/esm/src/utils/errors/transactionsErrors.js +9 -2
- package/build/esm/src/utils/fees/executionFee.js +11 -3
- package/build/esm/src/utils/numbers.js +50 -31
- package/build/esm/src/utils/orderTransactions.js +3 -1
- package/build/esm/src/utils/orders.js +8 -2
- package/build/esm/src/utils/prices.js +1 -1
- package/build/esm/src/utils/swap/botanixStaking.js +83 -0
- package/build/esm/src/utils/swap/buildSwapStrategy.js +219 -0
- package/build/esm/src/utils/swap/externalSwapPath.js +37 -0
- package/build/esm/src/utils/swap/externalSwapQuoteByPath.js +23 -0
- package/build/esm/src/utils/swap/swapValues.js +287 -8
- package/build/esm/src/utils/tokens.js +7 -0
- package/build/esm/src/utils/trade/amounts.js +89 -41
- package/build/esm/src/utils/trade/trade.js +2 -2
- package/build/esm/src/utils/twap/uiFeeReceiver.js +24 -5
- package/build/types/src/abis/index.d.ts +1 -1
- package/build/types/src/configs/batch.d.ts +2 -1
- package/build/types/src/configs/chains.d.ts +20 -37
- package/build/types/src/configs/contracts.d.ts +62 -63
- package/build/types/src/configs/dataStore.d.ts +5 -0
- package/build/types/src/configs/express.d.ts +1 -0
- package/build/types/src/configs/markets.d.ts +2 -1
- package/build/types/src/configs/oracleKeeper.d.ts +2 -3
- package/build/types/src/configs/tokens.d.ts +1 -0
- package/build/types/src/index.d.ts +1 -1
- package/build/types/src/modules/base.d.ts +1 -1
- package/build/types/src/modules/orders/helpers.d.ts +10 -2
- package/build/types/src/modules/orders/orders.d.ts +10 -1
- package/build/types/src/types/orders.d.ts +1 -1
- package/build/types/src/types/sdk.d.ts +2 -1
- package/build/types/src/types/subsquid.d.ts +691 -0
- package/build/types/src/types/swapStrategy.d.ts +33 -0
- package/build/types/src/types/tokens.d.ts +6 -0
- package/build/types/src/types/trade.d.ts +19 -4
- package/build/types/src/utils/multicall.d.ts +1 -1
- package/build/types/src/utils/numbers.d.ts +8 -3
- package/build/types/src/utils/orderTransactions.d.ts +2 -3
- package/build/types/src/utils/prices.d.ts +1 -1
- package/build/types/src/utils/swap/botanixStaking.d.ts +11 -0
- package/build/types/src/utils/swap/buildSwapStrategy.d.ts +22 -0
- package/build/types/src/utils/swap/externalSwapPath.d.ts +13 -0
- package/build/types/src/utils/swap/externalSwapQuoteByPath.d.ts +6 -0
- package/build/types/src/utils/swap/swapValues.d.ts +10 -3
- package/build/types/src/utils/tokens.d.ts +2 -0
- package/build/types/src/utils/trade/amounts.d.ts +5 -2
- package/build/types/src/utils/twap/uiFeeReceiver.d.ts +13 -0
- package/package.json +1 -1
|
@@ -348,6 +348,14 @@ export interface AccountStatsConnection {
|
|
|
348
348
|
pageInfo: PageInfo;
|
|
349
349
|
totalCount: Scalars['Int']['output'];
|
|
350
350
|
}
|
|
351
|
+
export interface AnnualizedPerformanceObject {
|
|
352
|
+
__typename?: 'AnnualizedPerformanceObject';
|
|
353
|
+
address: Scalars['String']['output'];
|
|
354
|
+
entity: Scalars['String']['output'];
|
|
355
|
+
longTokenPerformance: Scalars['BigInt']['output'];
|
|
356
|
+
shortTokenPerformance: Scalars['BigInt']['output'];
|
|
357
|
+
uniswapV2Performance: Scalars['BigInt']['output'];
|
|
358
|
+
}
|
|
351
359
|
export interface AprSnapshot {
|
|
352
360
|
__typename?: 'AprSnapshot';
|
|
353
361
|
address: Scalars['String']['output'];
|
|
@@ -1144,6 +1152,208 @@ export interface CollectedFeesInfosConnection {
|
|
|
1144
1152
|
pageInfo: PageInfo;
|
|
1145
1153
|
totalCount: Scalars['Int']['output'];
|
|
1146
1154
|
}
|
|
1155
|
+
export interface CumulativePnl {
|
|
1156
|
+
__typename?: 'CumulativePnl';
|
|
1157
|
+
address: Scalars['String']['output'];
|
|
1158
|
+
cumulativeRealizedPnlLong: Scalars['BigInt']['output'];
|
|
1159
|
+
cumulativeRealizedPnlShort: Scalars['BigInt']['output'];
|
|
1160
|
+
cumulativeUnrealizedPnlLong: Scalars['BigInt']['output'];
|
|
1161
|
+
cumulativeUnrealizedPnlShort: Scalars['BigInt']['output'];
|
|
1162
|
+
entityType: EntityType;
|
|
1163
|
+
id: Scalars['String']['output'];
|
|
1164
|
+
isSnapshot: Scalars['Boolean']['output'];
|
|
1165
|
+
lastUnrealizedPnlLong?: Maybe<Scalars['BigInt']['output']>;
|
|
1166
|
+
lastUnrealizedPnlShort?: Maybe<Scalars['BigInt']['output']>;
|
|
1167
|
+
snapshotTimestamp?: Maybe<Scalars['Int']['output']>;
|
|
1168
|
+
}
|
|
1169
|
+
export interface CumulativePnlEdge {
|
|
1170
|
+
__typename?: 'CumulativePnlEdge';
|
|
1171
|
+
cursor: Scalars['String']['output'];
|
|
1172
|
+
node: CumulativePnl;
|
|
1173
|
+
}
|
|
1174
|
+
export declare enum CumulativePnlOrderByInput {
|
|
1175
|
+
address_ASC = "address_ASC",
|
|
1176
|
+
address_ASC_NULLS_FIRST = "address_ASC_NULLS_FIRST",
|
|
1177
|
+
address_ASC_NULLS_LAST = "address_ASC_NULLS_LAST",
|
|
1178
|
+
address_DESC = "address_DESC",
|
|
1179
|
+
address_DESC_NULLS_FIRST = "address_DESC_NULLS_FIRST",
|
|
1180
|
+
address_DESC_NULLS_LAST = "address_DESC_NULLS_LAST",
|
|
1181
|
+
cumulativeRealizedPnlLong_ASC = "cumulativeRealizedPnlLong_ASC",
|
|
1182
|
+
cumulativeRealizedPnlLong_ASC_NULLS_FIRST = "cumulativeRealizedPnlLong_ASC_NULLS_FIRST",
|
|
1183
|
+
cumulativeRealizedPnlLong_ASC_NULLS_LAST = "cumulativeRealizedPnlLong_ASC_NULLS_LAST",
|
|
1184
|
+
cumulativeRealizedPnlLong_DESC = "cumulativeRealizedPnlLong_DESC",
|
|
1185
|
+
cumulativeRealizedPnlLong_DESC_NULLS_FIRST = "cumulativeRealizedPnlLong_DESC_NULLS_FIRST",
|
|
1186
|
+
cumulativeRealizedPnlLong_DESC_NULLS_LAST = "cumulativeRealizedPnlLong_DESC_NULLS_LAST",
|
|
1187
|
+
cumulativeRealizedPnlShort_ASC = "cumulativeRealizedPnlShort_ASC",
|
|
1188
|
+
cumulativeRealizedPnlShort_ASC_NULLS_FIRST = "cumulativeRealizedPnlShort_ASC_NULLS_FIRST",
|
|
1189
|
+
cumulativeRealizedPnlShort_ASC_NULLS_LAST = "cumulativeRealizedPnlShort_ASC_NULLS_LAST",
|
|
1190
|
+
cumulativeRealizedPnlShort_DESC = "cumulativeRealizedPnlShort_DESC",
|
|
1191
|
+
cumulativeRealizedPnlShort_DESC_NULLS_FIRST = "cumulativeRealizedPnlShort_DESC_NULLS_FIRST",
|
|
1192
|
+
cumulativeRealizedPnlShort_DESC_NULLS_LAST = "cumulativeRealizedPnlShort_DESC_NULLS_LAST",
|
|
1193
|
+
cumulativeUnrealizedPnlLong_ASC = "cumulativeUnrealizedPnlLong_ASC",
|
|
1194
|
+
cumulativeUnrealizedPnlLong_ASC_NULLS_FIRST = "cumulativeUnrealizedPnlLong_ASC_NULLS_FIRST",
|
|
1195
|
+
cumulativeUnrealizedPnlLong_ASC_NULLS_LAST = "cumulativeUnrealizedPnlLong_ASC_NULLS_LAST",
|
|
1196
|
+
cumulativeUnrealizedPnlLong_DESC = "cumulativeUnrealizedPnlLong_DESC",
|
|
1197
|
+
cumulativeUnrealizedPnlLong_DESC_NULLS_FIRST = "cumulativeUnrealizedPnlLong_DESC_NULLS_FIRST",
|
|
1198
|
+
cumulativeUnrealizedPnlLong_DESC_NULLS_LAST = "cumulativeUnrealizedPnlLong_DESC_NULLS_LAST",
|
|
1199
|
+
cumulativeUnrealizedPnlShort_ASC = "cumulativeUnrealizedPnlShort_ASC",
|
|
1200
|
+
cumulativeUnrealizedPnlShort_ASC_NULLS_FIRST = "cumulativeUnrealizedPnlShort_ASC_NULLS_FIRST",
|
|
1201
|
+
cumulativeUnrealizedPnlShort_ASC_NULLS_LAST = "cumulativeUnrealizedPnlShort_ASC_NULLS_LAST",
|
|
1202
|
+
cumulativeUnrealizedPnlShort_DESC = "cumulativeUnrealizedPnlShort_DESC",
|
|
1203
|
+
cumulativeUnrealizedPnlShort_DESC_NULLS_FIRST = "cumulativeUnrealizedPnlShort_DESC_NULLS_FIRST",
|
|
1204
|
+
cumulativeUnrealizedPnlShort_DESC_NULLS_LAST = "cumulativeUnrealizedPnlShort_DESC_NULLS_LAST",
|
|
1205
|
+
entityType_ASC = "entityType_ASC",
|
|
1206
|
+
entityType_ASC_NULLS_FIRST = "entityType_ASC_NULLS_FIRST",
|
|
1207
|
+
entityType_ASC_NULLS_LAST = "entityType_ASC_NULLS_LAST",
|
|
1208
|
+
entityType_DESC = "entityType_DESC",
|
|
1209
|
+
entityType_DESC_NULLS_FIRST = "entityType_DESC_NULLS_FIRST",
|
|
1210
|
+
entityType_DESC_NULLS_LAST = "entityType_DESC_NULLS_LAST",
|
|
1211
|
+
id_ASC = "id_ASC",
|
|
1212
|
+
id_ASC_NULLS_FIRST = "id_ASC_NULLS_FIRST",
|
|
1213
|
+
id_ASC_NULLS_LAST = "id_ASC_NULLS_LAST",
|
|
1214
|
+
id_DESC = "id_DESC",
|
|
1215
|
+
id_DESC_NULLS_FIRST = "id_DESC_NULLS_FIRST",
|
|
1216
|
+
id_DESC_NULLS_LAST = "id_DESC_NULLS_LAST",
|
|
1217
|
+
isSnapshot_ASC = "isSnapshot_ASC",
|
|
1218
|
+
isSnapshot_ASC_NULLS_FIRST = "isSnapshot_ASC_NULLS_FIRST",
|
|
1219
|
+
isSnapshot_ASC_NULLS_LAST = "isSnapshot_ASC_NULLS_LAST",
|
|
1220
|
+
isSnapshot_DESC = "isSnapshot_DESC",
|
|
1221
|
+
isSnapshot_DESC_NULLS_FIRST = "isSnapshot_DESC_NULLS_FIRST",
|
|
1222
|
+
isSnapshot_DESC_NULLS_LAST = "isSnapshot_DESC_NULLS_LAST",
|
|
1223
|
+
lastUnrealizedPnlLong_ASC = "lastUnrealizedPnlLong_ASC",
|
|
1224
|
+
lastUnrealizedPnlLong_ASC_NULLS_FIRST = "lastUnrealizedPnlLong_ASC_NULLS_FIRST",
|
|
1225
|
+
lastUnrealizedPnlLong_ASC_NULLS_LAST = "lastUnrealizedPnlLong_ASC_NULLS_LAST",
|
|
1226
|
+
lastUnrealizedPnlLong_DESC = "lastUnrealizedPnlLong_DESC",
|
|
1227
|
+
lastUnrealizedPnlLong_DESC_NULLS_FIRST = "lastUnrealizedPnlLong_DESC_NULLS_FIRST",
|
|
1228
|
+
lastUnrealizedPnlLong_DESC_NULLS_LAST = "lastUnrealizedPnlLong_DESC_NULLS_LAST",
|
|
1229
|
+
lastUnrealizedPnlShort_ASC = "lastUnrealizedPnlShort_ASC",
|
|
1230
|
+
lastUnrealizedPnlShort_ASC_NULLS_FIRST = "lastUnrealizedPnlShort_ASC_NULLS_FIRST",
|
|
1231
|
+
lastUnrealizedPnlShort_ASC_NULLS_LAST = "lastUnrealizedPnlShort_ASC_NULLS_LAST",
|
|
1232
|
+
lastUnrealizedPnlShort_DESC = "lastUnrealizedPnlShort_DESC",
|
|
1233
|
+
lastUnrealizedPnlShort_DESC_NULLS_FIRST = "lastUnrealizedPnlShort_DESC_NULLS_FIRST",
|
|
1234
|
+
lastUnrealizedPnlShort_DESC_NULLS_LAST = "lastUnrealizedPnlShort_DESC_NULLS_LAST",
|
|
1235
|
+
snapshotTimestamp_ASC = "snapshotTimestamp_ASC",
|
|
1236
|
+
snapshotTimestamp_ASC_NULLS_FIRST = "snapshotTimestamp_ASC_NULLS_FIRST",
|
|
1237
|
+
snapshotTimestamp_ASC_NULLS_LAST = "snapshotTimestamp_ASC_NULLS_LAST",
|
|
1238
|
+
snapshotTimestamp_DESC = "snapshotTimestamp_DESC",
|
|
1239
|
+
snapshotTimestamp_DESC_NULLS_FIRST = "snapshotTimestamp_DESC_NULLS_FIRST",
|
|
1240
|
+
snapshotTimestamp_DESC_NULLS_LAST = "snapshotTimestamp_DESC_NULLS_LAST"
|
|
1241
|
+
}
|
|
1242
|
+
export interface CumulativePnlWhereInput {
|
|
1243
|
+
AND?: InputMaybe<Array<CumulativePnlWhereInput>>;
|
|
1244
|
+
OR?: InputMaybe<Array<CumulativePnlWhereInput>>;
|
|
1245
|
+
address_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1246
|
+
address_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
|
|
1247
|
+
address_endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1248
|
+
address_eq?: InputMaybe<Scalars['String']['input']>;
|
|
1249
|
+
address_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1250
|
+
address_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1251
|
+
address_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1252
|
+
address_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1253
|
+
address_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1254
|
+
address_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1255
|
+
address_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1256
|
+
address_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
|
|
1257
|
+
address_not_endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1258
|
+
address_not_eq?: InputMaybe<Scalars['String']['input']>;
|
|
1259
|
+
address_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1260
|
+
address_not_startsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1261
|
+
address_startsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1262
|
+
cumulativeRealizedPnlLong_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1263
|
+
cumulativeRealizedPnlLong_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1264
|
+
cumulativeRealizedPnlLong_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1265
|
+
cumulativeRealizedPnlLong_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1266
|
+
cumulativeRealizedPnlLong_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1267
|
+
cumulativeRealizedPnlLong_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1268
|
+
cumulativeRealizedPnlLong_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1269
|
+
cumulativeRealizedPnlLong_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1270
|
+
cumulativeRealizedPnlLong_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1271
|
+
cumulativeRealizedPnlShort_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1272
|
+
cumulativeRealizedPnlShort_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1273
|
+
cumulativeRealizedPnlShort_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1274
|
+
cumulativeRealizedPnlShort_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1275
|
+
cumulativeRealizedPnlShort_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1276
|
+
cumulativeRealizedPnlShort_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1277
|
+
cumulativeRealizedPnlShort_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1278
|
+
cumulativeRealizedPnlShort_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1279
|
+
cumulativeRealizedPnlShort_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1280
|
+
cumulativeUnrealizedPnlLong_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1281
|
+
cumulativeUnrealizedPnlLong_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1282
|
+
cumulativeUnrealizedPnlLong_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1283
|
+
cumulativeUnrealizedPnlLong_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1284
|
+
cumulativeUnrealizedPnlLong_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1285
|
+
cumulativeUnrealizedPnlLong_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1286
|
+
cumulativeUnrealizedPnlLong_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1287
|
+
cumulativeUnrealizedPnlLong_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1288
|
+
cumulativeUnrealizedPnlLong_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1289
|
+
cumulativeUnrealizedPnlShort_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1290
|
+
cumulativeUnrealizedPnlShort_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1291
|
+
cumulativeUnrealizedPnlShort_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1292
|
+
cumulativeUnrealizedPnlShort_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1293
|
+
cumulativeUnrealizedPnlShort_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1294
|
+
cumulativeUnrealizedPnlShort_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1295
|
+
cumulativeUnrealizedPnlShort_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1296
|
+
cumulativeUnrealizedPnlShort_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1297
|
+
cumulativeUnrealizedPnlShort_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1298
|
+
entityType_eq?: InputMaybe<EntityType>;
|
|
1299
|
+
entityType_in?: InputMaybe<Array<EntityType>>;
|
|
1300
|
+
entityType_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1301
|
+
entityType_not_eq?: InputMaybe<EntityType>;
|
|
1302
|
+
entityType_not_in?: InputMaybe<Array<EntityType>>;
|
|
1303
|
+
id_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1304
|
+
id_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
|
|
1305
|
+
id_endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1306
|
+
id_eq?: InputMaybe<Scalars['String']['input']>;
|
|
1307
|
+
id_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1308
|
+
id_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1309
|
+
id_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1310
|
+
id_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1311
|
+
id_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1312
|
+
id_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1313
|
+
id_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1314
|
+
id_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
|
|
1315
|
+
id_not_endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1316
|
+
id_not_eq?: InputMaybe<Scalars['String']['input']>;
|
|
1317
|
+
id_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1318
|
+
id_not_startsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1319
|
+
id_startsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1320
|
+
isSnapshot_eq?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1321
|
+
isSnapshot_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1322
|
+
isSnapshot_not_eq?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1323
|
+
lastUnrealizedPnlLong_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1324
|
+
lastUnrealizedPnlLong_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1325
|
+
lastUnrealizedPnlLong_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1326
|
+
lastUnrealizedPnlLong_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1327
|
+
lastUnrealizedPnlLong_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1328
|
+
lastUnrealizedPnlLong_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1329
|
+
lastUnrealizedPnlLong_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1330
|
+
lastUnrealizedPnlLong_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1331
|
+
lastUnrealizedPnlLong_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1332
|
+
lastUnrealizedPnlShort_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1333
|
+
lastUnrealizedPnlShort_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1334
|
+
lastUnrealizedPnlShort_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1335
|
+
lastUnrealizedPnlShort_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1336
|
+
lastUnrealizedPnlShort_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1337
|
+
lastUnrealizedPnlShort_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1338
|
+
lastUnrealizedPnlShort_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1339
|
+
lastUnrealizedPnlShort_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1340
|
+
lastUnrealizedPnlShort_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1341
|
+
snapshotTimestamp_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
1342
|
+
snapshotTimestamp_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
1343
|
+
snapshotTimestamp_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
1344
|
+
snapshotTimestamp_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1345
|
+
snapshotTimestamp_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1346
|
+
snapshotTimestamp_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
1347
|
+
snapshotTimestamp_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
1348
|
+
snapshotTimestamp_not_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
1349
|
+
snapshotTimestamp_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1350
|
+
}
|
|
1351
|
+
export interface CumulativePnlsConnection {
|
|
1352
|
+
__typename?: 'CumulativePnlsConnection';
|
|
1353
|
+
edges: Array<CumulativePnlEdge>;
|
|
1354
|
+
pageInfo: PageInfo;
|
|
1355
|
+
totalCount: Scalars['Int']['output'];
|
|
1356
|
+
}
|
|
1147
1357
|
export interface CumulativePoolValue {
|
|
1148
1358
|
__typename?: 'CumulativePoolValue';
|
|
1149
1359
|
address: Scalars['String']['output'];
|
|
@@ -1314,6 +1524,150 @@ export interface CumulativePoolValuesConnection {
|
|
|
1314
1524
|
pageInfo: PageInfo;
|
|
1315
1525
|
totalCount: Scalars['Int']['output'];
|
|
1316
1526
|
}
|
|
1527
|
+
export interface Distribution {
|
|
1528
|
+
__typename?: 'Distribution';
|
|
1529
|
+
amounts: Array<Scalars['String']['output']>;
|
|
1530
|
+
amountsInUsd: Array<Scalars['String']['output']>;
|
|
1531
|
+
id: Scalars['String']['output'];
|
|
1532
|
+
receiver: Scalars['String']['output'];
|
|
1533
|
+
tokens: Array<Scalars['String']['output']>;
|
|
1534
|
+
transaction: Transaction;
|
|
1535
|
+
typeId: Scalars['BigInt']['output'];
|
|
1536
|
+
}
|
|
1537
|
+
export interface DistributionEdge {
|
|
1538
|
+
__typename?: 'DistributionEdge';
|
|
1539
|
+
cursor: Scalars['String']['output'];
|
|
1540
|
+
node: Distribution;
|
|
1541
|
+
}
|
|
1542
|
+
export declare enum DistributionOrderByInput {
|
|
1543
|
+
id_ASC = "id_ASC",
|
|
1544
|
+
id_ASC_NULLS_FIRST = "id_ASC_NULLS_FIRST",
|
|
1545
|
+
id_ASC_NULLS_LAST = "id_ASC_NULLS_LAST",
|
|
1546
|
+
id_DESC = "id_DESC",
|
|
1547
|
+
id_DESC_NULLS_FIRST = "id_DESC_NULLS_FIRST",
|
|
1548
|
+
id_DESC_NULLS_LAST = "id_DESC_NULLS_LAST",
|
|
1549
|
+
receiver_ASC = "receiver_ASC",
|
|
1550
|
+
receiver_ASC_NULLS_FIRST = "receiver_ASC_NULLS_FIRST",
|
|
1551
|
+
receiver_ASC_NULLS_LAST = "receiver_ASC_NULLS_LAST",
|
|
1552
|
+
receiver_DESC = "receiver_DESC",
|
|
1553
|
+
receiver_DESC_NULLS_FIRST = "receiver_DESC_NULLS_FIRST",
|
|
1554
|
+
receiver_DESC_NULLS_LAST = "receiver_DESC_NULLS_LAST",
|
|
1555
|
+
transaction_blockNumber_ASC = "transaction_blockNumber_ASC",
|
|
1556
|
+
transaction_blockNumber_ASC_NULLS_FIRST = "transaction_blockNumber_ASC_NULLS_FIRST",
|
|
1557
|
+
transaction_blockNumber_ASC_NULLS_LAST = "transaction_blockNumber_ASC_NULLS_LAST",
|
|
1558
|
+
transaction_blockNumber_DESC = "transaction_blockNumber_DESC",
|
|
1559
|
+
transaction_blockNumber_DESC_NULLS_FIRST = "transaction_blockNumber_DESC_NULLS_FIRST",
|
|
1560
|
+
transaction_blockNumber_DESC_NULLS_LAST = "transaction_blockNumber_DESC_NULLS_LAST",
|
|
1561
|
+
transaction_from_ASC = "transaction_from_ASC",
|
|
1562
|
+
transaction_from_ASC_NULLS_FIRST = "transaction_from_ASC_NULLS_FIRST",
|
|
1563
|
+
transaction_from_ASC_NULLS_LAST = "transaction_from_ASC_NULLS_LAST",
|
|
1564
|
+
transaction_from_DESC = "transaction_from_DESC",
|
|
1565
|
+
transaction_from_DESC_NULLS_FIRST = "transaction_from_DESC_NULLS_FIRST",
|
|
1566
|
+
transaction_from_DESC_NULLS_LAST = "transaction_from_DESC_NULLS_LAST",
|
|
1567
|
+
transaction_hash_ASC = "transaction_hash_ASC",
|
|
1568
|
+
transaction_hash_ASC_NULLS_FIRST = "transaction_hash_ASC_NULLS_FIRST",
|
|
1569
|
+
transaction_hash_ASC_NULLS_LAST = "transaction_hash_ASC_NULLS_LAST",
|
|
1570
|
+
transaction_hash_DESC = "transaction_hash_DESC",
|
|
1571
|
+
transaction_hash_DESC_NULLS_FIRST = "transaction_hash_DESC_NULLS_FIRST",
|
|
1572
|
+
transaction_hash_DESC_NULLS_LAST = "transaction_hash_DESC_NULLS_LAST",
|
|
1573
|
+
transaction_id_ASC = "transaction_id_ASC",
|
|
1574
|
+
transaction_id_ASC_NULLS_FIRST = "transaction_id_ASC_NULLS_FIRST",
|
|
1575
|
+
transaction_id_ASC_NULLS_LAST = "transaction_id_ASC_NULLS_LAST",
|
|
1576
|
+
transaction_id_DESC = "transaction_id_DESC",
|
|
1577
|
+
transaction_id_DESC_NULLS_FIRST = "transaction_id_DESC_NULLS_FIRST",
|
|
1578
|
+
transaction_id_DESC_NULLS_LAST = "transaction_id_DESC_NULLS_LAST",
|
|
1579
|
+
transaction_timestamp_ASC = "transaction_timestamp_ASC",
|
|
1580
|
+
transaction_timestamp_ASC_NULLS_FIRST = "transaction_timestamp_ASC_NULLS_FIRST",
|
|
1581
|
+
transaction_timestamp_ASC_NULLS_LAST = "transaction_timestamp_ASC_NULLS_LAST",
|
|
1582
|
+
transaction_timestamp_DESC = "transaction_timestamp_DESC",
|
|
1583
|
+
transaction_timestamp_DESC_NULLS_FIRST = "transaction_timestamp_DESC_NULLS_FIRST",
|
|
1584
|
+
transaction_timestamp_DESC_NULLS_LAST = "transaction_timestamp_DESC_NULLS_LAST",
|
|
1585
|
+
transaction_to_ASC = "transaction_to_ASC",
|
|
1586
|
+
transaction_to_ASC_NULLS_FIRST = "transaction_to_ASC_NULLS_FIRST",
|
|
1587
|
+
transaction_to_ASC_NULLS_LAST = "transaction_to_ASC_NULLS_LAST",
|
|
1588
|
+
transaction_to_DESC = "transaction_to_DESC",
|
|
1589
|
+
transaction_to_DESC_NULLS_FIRST = "transaction_to_DESC_NULLS_FIRST",
|
|
1590
|
+
transaction_to_DESC_NULLS_LAST = "transaction_to_DESC_NULLS_LAST",
|
|
1591
|
+
transaction_transactionIndex_ASC = "transaction_transactionIndex_ASC",
|
|
1592
|
+
transaction_transactionIndex_ASC_NULLS_FIRST = "transaction_transactionIndex_ASC_NULLS_FIRST",
|
|
1593
|
+
transaction_transactionIndex_ASC_NULLS_LAST = "transaction_transactionIndex_ASC_NULLS_LAST",
|
|
1594
|
+
transaction_transactionIndex_DESC = "transaction_transactionIndex_DESC",
|
|
1595
|
+
transaction_transactionIndex_DESC_NULLS_FIRST = "transaction_transactionIndex_DESC_NULLS_FIRST",
|
|
1596
|
+
transaction_transactionIndex_DESC_NULLS_LAST = "transaction_transactionIndex_DESC_NULLS_LAST",
|
|
1597
|
+
typeId_ASC = "typeId_ASC",
|
|
1598
|
+
typeId_ASC_NULLS_FIRST = "typeId_ASC_NULLS_FIRST",
|
|
1599
|
+
typeId_ASC_NULLS_LAST = "typeId_ASC_NULLS_LAST",
|
|
1600
|
+
typeId_DESC = "typeId_DESC",
|
|
1601
|
+
typeId_DESC_NULLS_FIRST = "typeId_DESC_NULLS_FIRST",
|
|
1602
|
+
typeId_DESC_NULLS_LAST = "typeId_DESC_NULLS_LAST"
|
|
1603
|
+
}
|
|
1604
|
+
export interface DistributionWhereInput {
|
|
1605
|
+
AND?: InputMaybe<Array<DistributionWhereInput>>;
|
|
1606
|
+
OR?: InputMaybe<Array<DistributionWhereInput>>;
|
|
1607
|
+
amountsInUsd_containsAll?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1608
|
+
amountsInUsd_containsAny?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1609
|
+
amountsInUsd_containsNone?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1610
|
+
amountsInUsd_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1611
|
+
amounts_containsAll?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1612
|
+
amounts_containsAny?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1613
|
+
amounts_containsNone?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1614
|
+
amounts_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1615
|
+
id_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1616
|
+
id_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
|
|
1617
|
+
id_endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1618
|
+
id_eq?: InputMaybe<Scalars['String']['input']>;
|
|
1619
|
+
id_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1620
|
+
id_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1621
|
+
id_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1622
|
+
id_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1623
|
+
id_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1624
|
+
id_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1625
|
+
id_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1626
|
+
id_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
|
|
1627
|
+
id_not_endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1628
|
+
id_not_eq?: InputMaybe<Scalars['String']['input']>;
|
|
1629
|
+
id_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1630
|
+
id_not_startsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1631
|
+
id_startsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1632
|
+
receiver_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1633
|
+
receiver_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
|
|
1634
|
+
receiver_endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1635
|
+
receiver_eq?: InputMaybe<Scalars['String']['input']>;
|
|
1636
|
+
receiver_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1637
|
+
receiver_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1638
|
+
receiver_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1639
|
+
receiver_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1640
|
+
receiver_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1641
|
+
receiver_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1642
|
+
receiver_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1643
|
+
receiver_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
|
|
1644
|
+
receiver_not_endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1645
|
+
receiver_not_eq?: InputMaybe<Scalars['String']['input']>;
|
|
1646
|
+
receiver_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1647
|
+
receiver_not_startsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1648
|
+
receiver_startsWith?: InputMaybe<Scalars['String']['input']>;
|
|
1649
|
+
tokens_containsAll?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1650
|
+
tokens_containsAny?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1651
|
+
tokens_containsNone?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1652
|
+
tokens_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1653
|
+
transaction?: InputMaybe<TransactionWhereInput>;
|
|
1654
|
+
transaction_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1655
|
+
typeId_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1656
|
+
typeId_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1657
|
+
typeId_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1658
|
+
typeId_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1659
|
+
typeId_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1660
|
+
typeId_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1661
|
+
typeId_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1662
|
+
typeId_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1663
|
+
typeId_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1664
|
+
}
|
|
1665
|
+
export interface DistributionsConnection {
|
|
1666
|
+
__typename?: 'DistributionsConnection';
|
|
1667
|
+
edges: Array<DistributionEdge>;
|
|
1668
|
+
pageInfo: PageInfo;
|
|
1669
|
+
totalCount: Scalars['Int']['output'];
|
|
1670
|
+
}
|
|
1317
1671
|
export declare enum EntityType {
|
|
1318
1672
|
Glv = "Glv",
|
|
1319
1673
|
Market = "Market"
|
|
@@ -1376,6 +1730,21 @@ export declare enum GlvOrderByInput {
|
|
|
1376
1730
|
shortTokenAddress_DESC_NULLS_FIRST = "shortTokenAddress_DESC_NULLS_FIRST",
|
|
1377
1731
|
shortTokenAddress_DESC_NULLS_LAST = "shortTokenAddress_DESC_NULLS_LAST"
|
|
1378
1732
|
}
|
|
1733
|
+
export interface GlvPnlApr {
|
|
1734
|
+
__typename?: 'GlvPnlApr';
|
|
1735
|
+
apr: Scalars['BigInt']['output'];
|
|
1736
|
+
glvAddress: Scalars['String']['output'];
|
|
1737
|
+
periodRealizedPnlLong: Scalars['BigInt']['output'];
|
|
1738
|
+
periodRealizedPnlShort: Scalars['BigInt']['output'];
|
|
1739
|
+
periodUnrealizedPnlLong: Scalars['BigInt']['output'];
|
|
1740
|
+
periodUnrealizedPnlShort: Scalars['BigInt']['output'];
|
|
1741
|
+
timeWeightedPoolValue: Scalars['BigInt']['output'];
|
|
1742
|
+
}
|
|
1743
|
+
export interface GlvPnlAprsWhereInputWhereInput {
|
|
1744
|
+
glvAddresses?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1745
|
+
periodEnd: Scalars['Float']['input'];
|
|
1746
|
+
periodStart: Scalars['Float']['input'];
|
|
1747
|
+
}
|
|
1379
1748
|
export interface GlvWhereInput {
|
|
1380
1749
|
AND?: InputMaybe<Array<GlvWhereInput>>;
|
|
1381
1750
|
OR?: InputMaybe<Array<GlvWhereInput>>;
|
|
@@ -3024,6 +3393,21 @@ export declare enum MarketOrderByInput {
|
|
|
3024
3393
|
shortToken_DESC_NULLS_FIRST = "shortToken_DESC_NULLS_FIRST",
|
|
3025
3394
|
shortToken_DESC_NULLS_LAST = "shortToken_DESC_NULLS_LAST"
|
|
3026
3395
|
}
|
|
3396
|
+
export interface MarketPnlApr {
|
|
3397
|
+
__typename?: 'MarketPnlApr';
|
|
3398
|
+
apr: Scalars['BigInt']['output'];
|
|
3399
|
+
marketAddress: Scalars['String']['output'];
|
|
3400
|
+
periodRealizedPnlLong: Scalars['BigInt']['output'];
|
|
3401
|
+
periodRealizedPnlShort: Scalars['BigInt']['output'];
|
|
3402
|
+
periodUnrealizedPnlLong: Scalars['BigInt']['output'];
|
|
3403
|
+
periodUnrealizedPnlShort: Scalars['BigInt']['output'];
|
|
3404
|
+
timeWeightedPoolValue: Scalars['BigInt']['output'];
|
|
3405
|
+
}
|
|
3406
|
+
export interface MarketPnlAprsWhereInput {
|
|
3407
|
+
marketAddresses?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3408
|
+
periodEnd: Scalars['Float']['input'];
|
|
3409
|
+
periodStart: Scalars['Float']['input'];
|
|
3410
|
+
}
|
|
3027
3411
|
export interface MarketWhereInput {
|
|
3028
3412
|
AND?: InputMaybe<Array<MarketWhereInput>>;
|
|
3029
3413
|
OR?: InputMaybe<Array<MarketWhereInput>>;
|
|
@@ -3865,6 +4249,21 @@ export interface PageInfo {
|
|
|
3865
4249
|
hasPreviousPage: Scalars['Boolean']['output'];
|
|
3866
4250
|
startCursor: Scalars['String']['output'];
|
|
3867
4251
|
}
|
|
4252
|
+
export interface PerformanceSnapshotObject {
|
|
4253
|
+
__typename?: 'PerformanceSnapshotObject';
|
|
4254
|
+
snapshotTimestamp: Scalars['String']['output'];
|
|
4255
|
+
uniswapV2Performance: Scalars['String']['output'];
|
|
4256
|
+
}
|
|
4257
|
+
export interface PerformanceSnapshots {
|
|
4258
|
+
__typename?: 'PerformanceSnapshots';
|
|
4259
|
+
address: Scalars['String']['output'];
|
|
4260
|
+
entity: Scalars['String']['output'];
|
|
4261
|
+
snapshots: Array<PerformanceSnapshotObject>;
|
|
4262
|
+
}
|
|
4263
|
+
export interface PerformanceWhereInput {
|
|
4264
|
+
addresses?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4265
|
+
period: Scalars['String']['input'];
|
|
4266
|
+
}
|
|
3868
4267
|
export interface PeriodAccountStatObject {
|
|
3869
4268
|
__typename?: 'PeriodAccountStatObject';
|
|
3870
4269
|
closedCount: Scalars['Float']['output'];
|
|
@@ -3884,6 +4283,118 @@ export interface PeriodAccountStatObject {
|
|
|
3884
4283
|
volume: Scalars['BigInt']['output'];
|
|
3885
4284
|
wins: Scalars['Float']['output'];
|
|
3886
4285
|
}
|
|
4286
|
+
export interface PnlAprSnapshot {
|
|
4287
|
+
__typename?: 'PnlAprSnapshot';
|
|
4288
|
+
address: Scalars['String']['output'];
|
|
4289
|
+
apr: Scalars['BigInt']['output'];
|
|
4290
|
+
entityType: EntityType;
|
|
4291
|
+
id: Scalars['String']['output'];
|
|
4292
|
+
snapshotTimestamp: Scalars['Int']['output'];
|
|
4293
|
+
}
|
|
4294
|
+
export interface PnlAprSnapshotEdge {
|
|
4295
|
+
__typename?: 'PnlAprSnapshotEdge';
|
|
4296
|
+
cursor: Scalars['String']['output'];
|
|
4297
|
+
node: PnlAprSnapshot;
|
|
4298
|
+
}
|
|
4299
|
+
export declare enum PnlAprSnapshotOrderByInput {
|
|
4300
|
+
address_ASC = "address_ASC",
|
|
4301
|
+
address_ASC_NULLS_FIRST = "address_ASC_NULLS_FIRST",
|
|
4302
|
+
address_ASC_NULLS_LAST = "address_ASC_NULLS_LAST",
|
|
4303
|
+
address_DESC = "address_DESC",
|
|
4304
|
+
address_DESC_NULLS_FIRST = "address_DESC_NULLS_FIRST",
|
|
4305
|
+
address_DESC_NULLS_LAST = "address_DESC_NULLS_LAST",
|
|
4306
|
+
apr_ASC = "apr_ASC",
|
|
4307
|
+
apr_ASC_NULLS_FIRST = "apr_ASC_NULLS_FIRST",
|
|
4308
|
+
apr_ASC_NULLS_LAST = "apr_ASC_NULLS_LAST",
|
|
4309
|
+
apr_DESC = "apr_DESC",
|
|
4310
|
+
apr_DESC_NULLS_FIRST = "apr_DESC_NULLS_FIRST",
|
|
4311
|
+
apr_DESC_NULLS_LAST = "apr_DESC_NULLS_LAST",
|
|
4312
|
+
entityType_ASC = "entityType_ASC",
|
|
4313
|
+
entityType_ASC_NULLS_FIRST = "entityType_ASC_NULLS_FIRST",
|
|
4314
|
+
entityType_ASC_NULLS_LAST = "entityType_ASC_NULLS_LAST",
|
|
4315
|
+
entityType_DESC = "entityType_DESC",
|
|
4316
|
+
entityType_DESC_NULLS_FIRST = "entityType_DESC_NULLS_FIRST",
|
|
4317
|
+
entityType_DESC_NULLS_LAST = "entityType_DESC_NULLS_LAST",
|
|
4318
|
+
id_ASC = "id_ASC",
|
|
4319
|
+
id_ASC_NULLS_FIRST = "id_ASC_NULLS_FIRST",
|
|
4320
|
+
id_ASC_NULLS_LAST = "id_ASC_NULLS_LAST",
|
|
4321
|
+
id_DESC = "id_DESC",
|
|
4322
|
+
id_DESC_NULLS_FIRST = "id_DESC_NULLS_FIRST",
|
|
4323
|
+
id_DESC_NULLS_LAST = "id_DESC_NULLS_LAST",
|
|
4324
|
+
snapshotTimestamp_ASC = "snapshotTimestamp_ASC",
|
|
4325
|
+
snapshotTimestamp_ASC_NULLS_FIRST = "snapshotTimestamp_ASC_NULLS_FIRST",
|
|
4326
|
+
snapshotTimestamp_ASC_NULLS_LAST = "snapshotTimestamp_ASC_NULLS_LAST",
|
|
4327
|
+
snapshotTimestamp_DESC = "snapshotTimestamp_DESC",
|
|
4328
|
+
snapshotTimestamp_DESC_NULLS_FIRST = "snapshotTimestamp_DESC_NULLS_FIRST",
|
|
4329
|
+
snapshotTimestamp_DESC_NULLS_LAST = "snapshotTimestamp_DESC_NULLS_LAST"
|
|
4330
|
+
}
|
|
4331
|
+
export interface PnlAprSnapshotWhereInput {
|
|
4332
|
+
AND?: InputMaybe<Array<PnlAprSnapshotWhereInput>>;
|
|
4333
|
+
OR?: InputMaybe<Array<PnlAprSnapshotWhereInput>>;
|
|
4334
|
+
address_contains?: InputMaybe<Scalars['String']['input']>;
|
|
4335
|
+
address_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
|
|
4336
|
+
address_endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
4337
|
+
address_eq?: InputMaybe<Scalars['String']['input']>;
|
|
4338
|
+
address_gt?: InputMaybe<Scalars['String']['input']>;
|
|
4339
|
+
address_gte?: InputMaybe<Scalars['String']['input']>;
|
|
4340
|
+
address_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4341
|
+
address_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4342
|
+
address_lt?: InputMaybe<Scalars['String']['input']>;
|
|
4343
|
+
address_lte?: InputMaybe<Scalars['String']['input']>;
|
|
4344
|
+
address_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
4345
|
+
address_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
|
|
4346
|
+
address_not_endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
4347
|
+
address_not_eq?: InputMaybe<Scalars['String']['input']>;
|
|
4348
|
+
address_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4349
|
+
address_not_startsWith?: InputMaybe<Scalars['String']['input']>;
|
|
4350
|
+
address_startsWith?: InputMaybe<Scalars['String']['input']>;
|
|
4351
|
+
apr_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4352
|
+
apr_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4353
|
+
apr_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4354
|
+
apr_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
4355
|
+
apr_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4356
|
+
apr_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4357
|
+
apr_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4358
|
+
apr_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4359
|
+
apr_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
4360
|
+
entityType_eq?: InputMaybe<EntityType>;
|
|
4361
|
+
entityType_in?: InputMaybe<Array<EntityType>>;
|
|
4362
|
+
entityType_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4363
|
+
entityType_not_eq?: InputMaybe<EntityType>;
|
|
4364
|
+
entityType_not_in?: InputMaybe<Array<EntityType>>;
|
|
4365
|
+
id_contains?: InputMaybe<Scalars['String']['input']>;
|
|
4366
|
+
id_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
|
|
4367
|
+
id_endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
4368
|
+
id_eq?: InputMaybe<Scalars['String']['input']>;
|
|
4369
|
+
id_gt?: InputMaybe<Scalars['String']['input']>;
|
|
4370
|
+
id_gte?: InputMaybe<Scalars['String']['input']>;
|
|
4371
|
+
id_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4372
|
+
id_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4373
|
+
id_lt?: InputMaybe<Scalars['String']['input']>;
|
|
4374
|
+
id_lte?: InputMaybe<Scalars['String']['input']>;
|
|
4375
|
+
id_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
4376
|
+
id_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
|
|
4377
|
+
id_not_endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
4378
|
+
id_not_eq?: InputMaybe<Scalars['String']['input']>;
|
|
4379
|
+
id_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4380
|
+
id_not_startsWith?: InputMaybe<Scalars['String']['input']>;
|
|
4381
|
+
id_startsWith?: InputMaybe<Scalars['String']['input']>;
|
|
4382
|
+
snapshotTimestamp_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
4383
|
+
snapshotTimestamp_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
4384
|
+
snapshotTimestamp_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
4385
|
+
snapshotTimestamp_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
4386
|
+
snapshotTimestamp_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4387
|
+
snapshotTimestamp_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
4388
|
+
snapshotTimestamp_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
4389
|
+
snapshotTimestamp_not_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
4390
|
+
snapshotTimestamp_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
4391
|
+
}
|
|
4392
|
+
export interface PnlAprSnapshotsConnection {
|
|
4393
|
+
__typename?: 'PnlAprSnapshotsConnection';
|
|
4394
|
+
edges: Array<PnlAprSnapshotEdge>;
|
|
4395
|
+
pageInfo: PageInfo;
|
|
4396
|
+
totalCount: Scalars['Int']['output'];
|
|
4397
|
+
}
|
|
3887
4398
|
export interface Position {
|
|
3888
4399
|
__typename?: 'Position';
|
|
3889
4400
|
account: Scalars['String']['output'];
|
|
@@ -5314,6 +5825,98 @@ export interface PricesConnection {
|
|
|
5314
5825
|
pageInfo: PageInfo;
|
|
5315
5826
|
totalCount: Scalars['Int']['output'];
|
|
5316
5827
|
}
|
|
5828
|
+
export interface ProcessorStatus {
|
|
5829
|
+
__typename?: 'ProcessorStatus';
|
|
5830
|
+
id: Scalars['String']['output'];
|
|
5831
|
+
lastParsedBlockNumber: Scalars['Int']['output'];
|
|
5832
|
+
lastParsedBlockTimestamp: Scalars['Int']['output'];
|
|
5833
|
+
lastProcessorCallTimestamp: Scalars['Int']['output'];
|
|
5834
|
+
}
|
|
5835
|
+
export interface ProcessorStatusEdge {
|
|
5836
|
+
__typename?: 'ProcessorStatusEdge';
|
|
5837
|
+
cursor: Scalars['String']['output'];
|
|
5838
|
+
node: ProcessorStatus;
|
|
5839
|
+
}
|
|
5840
|
+
export declare enum ProcessorStatusOrderByInput {
|
|
5841
|
+
id_ASC = "id_ASC",
|
|
5842
|
+
id_ASC_NULLS_FIRST = "id_ASC_NULLS_FIRST",
|
|
5843
|
+
id_ASC_NULLS_LAST = "id_ASC_NULLS_LAST",
|
|
5844
|
+
id_DESC = "id_DESC",
|
|
5845
|
+
id_DESC_NULLS_FIRST = "id_DESC_NULLS_FIRST",
|
|
5846
|
+
id_DESC_NULLS_LAST = "id_DESC_NULLS_LAST",
|
|
5847
|
+
lastParsedBlockNumber_ASC = "lastParsedBlockNumber_ASC",
|
|
5848
|
+
lastParsedBlockNumber_ASC_NULLS_FIRST = "lastParsedBlockNumber_ASC_NULLS_FIRST",
|
|
5849
|
+
lastParsedBlockNumber_ASC_NULLS_LAST = "lastParsedBlockNumber_ASC_NULLS_LAST",
|
|
5850
|
+
lastParsedBlockNumber_DESC = "lastParsedBlockNumber_DESC",
|
|
5851
|
+
lastParsedBlockNumber_DESC_NULLS_FIRST = "lastParsedBlockNumber_DESC_NULLS_FIRST",
|
|
5852
|
+
lastParsedBlockNumber_DESC_NULLS_LAST = "lastParsedBlockNumber_DESC_NULLS_LAST",
|
|
5853
|
+
lastParsedBlockTimestamp_ASC = "lastParsedBlockTimestamp_ASC",
|
|
5854
|
+
lastParsedBlockTimestamp_ASC_NULLS_FIRST = "lastParsedBlockTimestamp_ASC_NULLS_FIRST",
|
|
5855
|
+
lastParsedBlockTimestamp_ASC_NULLS_LAST = "lastParsedBlockTimestamp_ASC_NULLS_LAST",
|
|
5856
|
+
lastParsedBlockTimestamp_DESC = "lastParsedBlockTimestamp_DESC",
|
|
5857
|
+
lastParsedBlockTimestamp_DESC_NULLS_FIRST = "lastParsedBlockTimestamp_DESC_NULLS_FIRST",
|
|
5858
|
+
lastParsedBlockTimestamp_DESC_NULLS_LAST = "lastParsedBlockTimestamp_DESC_NULLS_LAST",
|
|
5859
|
+
lastProcessorCallTimestamp_ASC = "lastProcessorCallTimestamp_ASC",
|
|
5860
|
+
lastProcessorCallTimestamp_ASC_NULLS_FIRST = "lastProcessorCallTimestamp_ASC_NULLS_FIRST",
|
|
5861
|
+
lastProcessorCallTimestamp_ASC_NULLS_LAST = "lastProcessorCallTimestamp_ASC_NULLS_LAST",
|
|
5862
|
+
lastProcessorCallTimestamp_DESC = "lastProcessorCallTimestamp_DESC",
|
|
5863
|
+
lastProcessorCallTimestamp_DESC_NULLS_FIRST = "lastProcessorCallTimestamp_DESC_NULLS_FIRST",
|
|
5864
|
+
lastProcessorCallTimestamp_DESC_NULLS_LAST = "lastProcessorCallTimestamp_DESC_NULLS_LAST"
|
|
5865
|
+
}
|
|
5866
|
+
export interface ProcessorStatusWhereInput {
|
|
5867
|
+
AND?: InputMaybe<Array<ProcessorStatusWhereInput>>;
|
|
5868
|
+
OR?: InputMaybe<Array<ProcessorStatusWhereInput>>;
|
|
5869
|
+
id_contains?: InputMaybe<Scalars['String']['input']>;
|
|
5870
|
+
id_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
|
|
5871
|
+
id_endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
5872
|
+
id_eq?: InputMaybe<Scalars['String']['input']>;
|
|
5873
|
+
id_gt?: InputMaybe<Scalars['String']['input']>;
|
|
5874
|
+
id_gte?: InputMaybe<Scalars['String']['input']>;
|
|
5875
|
+
id_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5876
|
+
id_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5877
|
+
id_lt?: InputMaybe<Scalars['String']['input']>;
|
|
5878
|
+
id_lte?: InputMaybe<Scalars['String']['input']>;
|
|
5879
|
+
id_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
5880
|
+
id_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
|
|
5881
|
+
id_not_endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
5882
|
+
id_not_eq?: InputMaybe<Scalars['String']['input']>;
|
|
5883
|
+
id_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5884
|
+
id_not_startsWith?: InputMaybe<Scalars['String']['input']>;
|
|
5885
|
+
id_startsWith?: InputMaybe<Scalars['String']['input']>;
|
|
5886
|
+
lastParsedBlockNumber_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
5887
|
+
lastParsedBlockNumber_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
5888
|
+
lastParsedBlockNumber_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
5889
|
+
lastParsedBlockNumber_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
5890
|
+
lastParsedBlockNumber_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5891
|
+
lastParsedBlockNumber_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
5892
|
+
lastParsedBlockNumber_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
5893
|
+
lastParsedBlockNumber_not_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
5894
|
+
lastParsedBlockNumber_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
5895
|
+
lastParsedBlockTimestamp_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
5896
|
+
lastParsedBlockTimestamp_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
5897
|
+
lastParsedBlockTimestamp_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
5898
|
+
lastParsedBlockTimestamp_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
5899
|
+
lastParsedBlockTimestamp_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5900
|
+
lastParsedBlockTimestamp_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
5901
|
+
lastParsedBlockTimestamp_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
5902
|
+
lastParsedBlockTimestamp_not_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
5903
|
+
lastParsedBlockTimestamp_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
5904
|
+
lastProcessorCallTimestamp_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
5905
|
+
lastProcessorCallTimestamp_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
5906
|
+
lastProcessorCallTimestamp_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
5907
|
+
lastProcessorCallTimestamp_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
5908
|
+
lastProcessorCallTimestamp_isNull?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5909
|
+
lastProcessorCallTimestamp_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
5910
|
+
lastProcessorCallTimestamp_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
5911
|
+
lastProcessorCallTimestamp_not_eq?: InputMaybe<Scalars['Int']['input']>;
|
|
5912
|
+
lastProcessorCallTimestamp_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
5913
|
+
}
|
|
5914
|
+
export interface ProcessorStatusesConnection {
|
|
5915
|
+
__typename?: 'ProcessorStatusesConnection';
|
|
5916
|
+
edges: Array<ProcessorStatusEdge>;
|
|
5917
|
+
pageInfo: PageInfo;
|
|
5918
|
+
totalCount: Scalars['Int']['output'];
|
|
5919
|
+
}
|
|
5317
5920
|
export interface Query {
|
|
5318
5921
|
__typename?: 'Query';
|
|
5319
5922
|
accountPnlHistoryStats: Array<AccountPnlHistoryPointObject>;
|
|
@@ -5321,6 +5924,7 @@ export interface Query {
|
|
|
5321
5924
|
accountStatById?: Maybe<AccountStat>;
|
|
5322
5925
|
accountStats: Array<AccountStat>;
|
|
5323
5926
|
accountStatsConnection: AccountStatsConnection;
|
|
5927
|
+
annualizedPerformance: Array<AnnualizedPerformanceObject>;
|
|
5324
5928
|
aprSnapshotById?: Maybe<AprSnapshot>;
|
|
5325
5929
|
aprSnapshots: Array<AprSnapshot>;
|
|
5326
5930
|
aprSnapshotsConnection: AprSnapshotsConnection;
|
|
@@ -5339,13 +5943,20 @@ export interface Query {
|
|
|
5339
5943
|
collectedFeesInfoById?: Maybe<CollectedFeesInfo>;
|
|
5340
5944
|
collectedFeesInfos: Array<CollectedFeesInfo>;
|
|
5341
5945
|
collectedFeesInfosConnection: CollectedFeesInfosConnection;
|
|
5946
|
+
cumulativePnlById?: Maybe<CumulativePnl>;
|
|
5947
|
+
cumulativePnls: Array<CumulativePnl>;
|
|
5948
|
+
cumulativePnlsConnection: CumulativePnlsConnection;
|
|
5342
5949
|
cumulativePoolValueById?: Maybe<CumulativePoolValue>;
|
|
5343
5950
|
cumulativePoolValues: Array<CumulativePoolValue>;
|
|
5344
5951
|
cumulativePoolValuesConnection: CumulativePoolValuesConnection;
|
|
5952
|
+
distributionById?: Maybe<Distribution>;
|
|
5953
|
+
distributions: Array<Distribution>;
|
|
5954
|
+
distributionsConnection: DistributionsConnection;
|
|
5345
5955
|
glvById?: Maybe<Glv>;
|
|
5346
5956
|
glvs: Array<Glv>;
|
|
5347
5957
|
glvsAprByPeriod: Array<GlvApr>;
|
|
5348
5958
|
glvsConnection: GlvsConnection;
|
|
5959
|
+
glvsPnlAprByPeriod: Array<GlvPnlApr>;
|
|
5349
5960
|
marketById?: Maybe<Market>;
|
|
5350
5961
|
marketInfoById?: Maybe<MarketInfo>;
|
|
5351
5962
|
marketInfos: Array<MarketInfo>;
|
|
@@ -5353,13 +5964,18 @@ export interface Query {
|
|
|
5353
5964
|
markets: Array<Market>;
|
|
5354
5965
|
marketsAprByPeriod: Array<MarketApr>;
|
|
5355
5966
|
marketsConnection: MarketsConnection;
|
|
5967
|
+
marketsPnlAprByPeriod: Array<MarketPnlApr>;
|
|
5356
5968
|
onChainSettingById?: Maybe<OnChainSetting>;
|
|
5357
5969
|
onChainSettings: Array<OnChainSetting>;
|
|
5358
5970
|
onChainSettingsConnection: OnChainSettingsConnection;
|
|
5359
5971
|
orderById?: Maybe<Order>;
|
|
5360
5972
|
orders: Array<Order>;
|
|
5361
5973
|
ordersConnection: OrdersConnection;
|
|
5974
|
+
performanceSnapshots: Array<PerformanceSnapshots>;
|
|
5362
5975
|
periodAccountStats: Array<PeriodAccountStatObject>;
|
|
5976
|
+
pnlAprSnapshotById?: Maybe<PnlAprSnapshot>;
|
|
5977
|
+
pnlAprSnapshots: Array<PnlAprSnapshot>;
|
|
5978
|
+
pnlAprSnapshotsConnection: PnlAprSnapshotsConnection;
|
|
5363
5979
|
positionById?: Maybe<Position>;
|
|
5364
5980
|
positionChangeById?: Maybe<PositionChange>;
|
|
5365
5981
|
positionChanges: Array<PositionChange>;
|
|
@@ -5375,6 +5991,9 @@ export interface Query {
|
|
|
5375
5991
|
priceById?: Maybe<Price>;
|
|
5376
5992
|
prices: Array<Price>;
|
|
5377
5993
|
pricesConnection: PricesConnection;
|
|
5994
|
+
processorStatusById?: Maybe<ProcessorStatus>;
|
|
5995
|
+
processorStatuses: Array<ProcessorStatus>;
|
|
5996
|
+
processorStatusesConnection: ProcessorStatusesConnection;
|
|
5378
5997
|
squidStatus?: Maybe<SquidStatus>;
|
|
5379
5998
|
swapInfoById?: Maybe<SwapInfo>;
|
|
5380
5999
|
swapInfos: Array<SwapInfo>;
|
|
@@ -5409,6 +6028,9 @@ export interface QueryaccountStatsConnectionArgs {
|
|
|
5409
6028
|
orderBy: Array<AccountStatOrderByInput>;
|
|
5410
6029
|
where?: InputMaybe<AccountStatWhereInput>;
|
|
5411
6030
|
}
|
|
6031
|
+
export interface QueryannualizedPerformanceArgs {
|
|
6032
|
+
where?: InputMaybe<PerformanceWhereInput>;
|
|
6033
|
+
}
|
|
5412
6034
|
export interface QueryaprSnapshotByIdArgs {
|
|
5413
6035
|
id: Scalars['String']['input'];
|
|
5414
6036
|
}
|
|
@@ -5499,6 +6121,21 @@ export interface QuerycollectedFeesInfosConnectionArgs {
|
|
|
5499
6121
|
orderBy: Array<CollectedFeesInfoOrderByInput>;
|
|
5500
6122
|
where?: InputMaybe<CollectedFeesInfoWhereInput>;
|
|
5501
6123
|
}
|
|
6124
|
+
export interface QuerycumulativePnlByIdArgs {
|
|
6125
|
+
id: Scalars['String']['input'];
|
|
6126
|
+
}
|
|
6127
|
+
export interface QuerycumulativePnlsArgs {
|
|
6128
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6129
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
6130
|
+
orderBy?: InputMaybe<Array<CumulativePnlOrderByInput>>;
|
|
6131
|
+
where?: InputMaybe<CumulativePnlWhereInput>;
|
|
6132
|
+
}
|
|
6133
|
+
export interface QuerycumulativePnlsConnectionArgs {
|
|
6134
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6135
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6136
|
+
orderBy: Array<CumulativePnlOrderByInput>;
|
|
6137
|
+
where?: InputMaybe<CumulativePnlWhereInput>;
|
|
6138
|
+
}
|
|
5502
6139
|
export interface QuerycumulativePoolValueByIdArgs {
|
|
5503
6140
|
id: Scalars['String']['input'];
|
|
5504
6141
|
}
|
|
@@ -5514,6 +6151,21 @@ export interface QuerycumulativePoolValuesConnectionArgs {
|
|
|
5514
6151
|
orderBy: Array<CumulativePoolValueOrderByInput>;
|
|
5515
6152
|
where?: InputMaybe<CumulativePoolValueWhereInput>;
|
|
5516
6153
|
}
|
|
6154
|
+
export interface QuerydistributionByIdArgs {
|
|
6155
|
+
id: Scalars['String']['input'];
|
|
6156
|
+
}
|
|
6157
|
+
export interface QuerydistributionsArgs {
|
|
6158
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6159
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
6160
|
+
orderBy?: InputMaybe<Array<DistributionOrderByInput>>;
|
|
6161
|
+
where?: InputMaybe<DistributionWhereInput>;
|
|
6162
|
+
}
|
|
6163
|
+
export interface QuerydistributionsConnectionArgs {
|
|
6164
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6165
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6166
|
+
orderBy: Array<DistributionOrderByInput>;
|
|
6167
|
+
where?: InputMaybe<DistributionWhereInput>;
|
|
6168
|
+
}
|
|
5517
6169
|
export interface QueryglvByIdArgs {
|
|
5518
6170
|
id: Scalars['String']['input'];
|
|
5519
6171
|
}
|
|
@@ -5532,6 +6184,9 @@ export interface QueryglvsConnectionArgs {
|
|
|
5532
6184
|
orderBy: Array<GlvOrderByInput>;
|
|
5533
6185
|
where?: InputMaybe<GlvWhereInput>;
|
|
5534
6186
|
}
|
|
6187
|
+
export interface QueryglvsPnlAprByPeriodArgs {
|
|
6188
|
+
where?: InputMaybe<GlvPnlAprsWhereInputWhereInput>;
|
|
6189
|
+
}
|
|
5535
6190
|
export interface QuerymarketByIdArgs {
|
|
5536
6191
|
id: Scalars['String']['input'];
|
|
5537
6192
|
}
|
|
@@ -5565,6 +6220,9 @@ export interface QuerymarketsConnectionArgs {
|
|
|
5565
6220
|
orderBy: Array<MarketOrderByInput>;
|
|
5566
6221
|
where?: InputMaybe<MarketWhereInput>;
|
|
5567
6222
|
}
|
|
6223
|
+
export interface QuerymarketsPnlAprByPeriodArgs {
|
|
6224
|
+
where?: InputMaybe<MarketPnlAprsWhereInput>;
|
|
6225
|
+
}
|
|
5568
6226
|
export interface QueryonChainSettingByIdArgs {
|
|
5569
6227
|
id: Scalars['String']['input'];
|
|
5570
6228
|
}
|
|
@@ -5595,11 +6253,29 @@ export interface QueryordersConnectionArgs {
|
|
|
5595
6253
|
orderBy: Array<OrderOrderByInput>;
|
|
5596
6254
|
where?: InputMaybe<OrderWhereInput>;
|
|
5597
6255
|
}
|
|
6256
|
+
export interface QueryperformanceSnapshotsArgs {
|
|
6257
|
+
where?: InputMaybe<PerformanceWhereInput>;
|
|
6258
|
+
}
|
|
5598
6259
|
export interface QueryperiodAccountStatsArgs {
|
|
5599
6260
|
limit?: InputMaybe<Scalars['Float']['input']>;
|
|
5600
6261
|
offset?: InputMaybe<Scalars['Float']['input']>;
|
|
5601
6262
|
where?: InputMaybe<WhereInput>;
|
|
5602
6263
|
}
|
|
6264
|
+
export interface QuerypnlAprSnapshotByIdArgs {
|
|
6265
|
+
id: Scalars['String']['input'];
|
|
6266
|
+
}
|
|
6267
|
+
export interface QuerypnlAprSnapshotsArgs {
|
|
6268
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6269
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
6270
|
+
orderBy?: InputMaybe<Array<PnlAprSnapshotOrderByInput>>;
|
|
6271
|
+
where?: InputMaybe<PnlAprSnapshotWhereInput>;
|
|
6272
|
+
}
|
|
6273
|
+
export interface QuerypnlAprSnapshotsConnectionArgs {
|
|
6274
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6275
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6276
|
+
orderBy: Array<PnlAprSnapshotOrderByInput>;
|
|
6277
|
+
where?: InputMaybe<PnlAprSnapshotWhereInput>;
|
|
6278
|
+
}
|
|
5603
6279
|
export interface QuerypositionByIdArgs {
|
|
5604
6280
|
id: Scalars['String']['input'];
|
|
5605
6281
|
}
|
|
@@ -5669,6 +6345,21 @@ export interface QuerypricesConnectionArgs {
|
|
|
5669
6345
|
orderBy: Array<PriceOrderByInput>;
|
|
5670
6346
|
where?: InputMaybe<PriceWhereInput>;
|
|
5671
6347
|
}
|
|
6348
|
+
export interface QueryprocessorStatusByIdArgs {
|
|
6349
|
+
id: Scalars['String']['input'];
|
|
6350
|
+
}
|
|
6351
|
+
export interface QueryprocessorStatusesArgs {
|
|
6352
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6353
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
6354
|
+
orderBy?: InputMaybe<Array<ProcessorStatusOrderByInput>>;
|
|
6355
|
+
where?: InputMaybe<ProcessorStatusWhereInput>;
|
|
6356
|
+
}
|
|
6357
|
+
export interface QueryprocessorStatusesConnectionArgs {
|
|
6358
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6359
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6360
|
+
orderBy: Array<ProcessorStatusOrderByInput>;
|
|
6361
|
+
where?: InputMaybe<ProcessorStatusWhereInput>;
|
|
6362
|
+
}
|
|
5672
6363
|
export interface QueryswapInfoByIdArgs {
|
|
5673
6364
|
id: Scalars['String']['input'];
|
|
5674
6365
|
}
|