@gmx-io/sdk 1.5.0-alpha-3 → 1.5.0-alpha-5

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.
Files changed (47) hide show
  1. package/build/cjs/scripts/subsquid-codegen.js +1 -1
  2. package/build/cjs/src/clients/v1/modules/trades/trades.js +2 -5
  3. package/build/cjs/src/clients/v1/testUtil.js +1 -1
  4. package/build/cjs/src/codegen/prebuilt/hashedKinkModelMarketRatesKeys.json +16 -0
  5. package/build/cjs/src/codegen/prebuilt/hashedMarketConfigKeys.json +114 -0
  6. package/build/cjs/src/codegen/prebuilt/hashedMarketValuesKeys.json +30 -0
  7. package/build/cjs/src/codegen/subsquid.js +94 -424
  8. package/build/cjs/src/configs/express.js +7 -2
  9. package/build/cjs/src/configs/markets.js +14 -0
  10. package/build/cjs/src/configs/tokens.js +22 -0
  11. package/build/cjs/src/utils/__tests__/numbers.spec.js +19 -0
  12. package/build/cjs/src/utils/__tests__/orderTransactions/batchUtils.spec.js +45 -0
  13. package/build/cjs/src/utils/errors/transactionsErrors.js +32 -0
  14. package/build/cjs/src/utils/fees/priceImpact.js +5 -1
  15. package/build/cjs/src/utils/gelatoRelay/utils.js +14 -8
  16. package/build/cjs/src/utils/numbers/utils.js +45 -8
  17. package/build/cjs/src/utils/orderTransactions/utils.js +6 -3
  18. package/build/cjs/src/utils/positions/utils.js +3 -1
  19. package/build/cjs/src/utils/tradeHistory/utils.js +2 -2
  20. package/build/esm/scripts/subsquid-codegen.js +1 -1
  21. package/build/esm/src/clients/v1/modules/trades/trades.js +2 -5
  22. package/build/esm/src/clients/v1/testUtil.js +1 -1
  23. package/build/esm/src/codegen/prebuilt/hashedKinkModelMarketRatesKeys.json +16 -0
  24. package/build/esm/src/codegen/prebuilt/hashedMarketConfigKeys.json +114 -0
  25. package/build/esm/src/codegen/prebuilt/hashedMarketValuesKeys.json +30 -0
  26. package/build/esm/src/codegen/subsquid.js +93 -423
  27. package/build/esm/src/configs/express.js +6 -1
  28. package/build/esm/src/configs/markets.js +14 -0
  29. package/build/esm/src/configs/tokens.js +22 -0
  30. package/build/esm/src/utils/__tests__/numbers.spec.js +20 -1
  31. package/build/esm/src/utils/__tests__/orderTransactions/batchUtils.spec.js +45 -0
  32. package/build/esm/src/utils/errors/transactionsErrors.js +32 -0
  33. package/build/esm/src/utils/fees/priceImpact.js +5 -1
  34. package/build/esm/src/utils/gelatoRelay/utils.js +11 -4
  35. package/build/esm/src/utils/numbers/utils.js +45 -8
  36. package/build/esm/src/utils/orderTransactions/utils.js +6 -3
  37. package/build/esm/src/utils/positions/utils.js +3 -1
  38. package/build/esm/src/utils/tradeHistory/utils.js +2 -2
  39. package/build/types/src/codegen/prebuilt/index.d.ts +160 -0
  40. package/build/types/src/codegen/subsquid.d.ts +392 -587
  41. package/build/types/src/configs/express.d.ts +2 -1
  42. package/build/types/src/utils/errors/transactionsErrors.d.ts +33 -1
  43. package/build/types/src/utils/gelatoRelay/utils.d.ts +4 -2
  44. package/build/types/src/utils/numbers/utils.d.ts +2 -1
  45. package/build/types/src/utils/orderTransactions/utils.d.ts +2 -2
  46. package/build/types/src/utils/tradeHistory/types.d.ts +2 -6
  47. package/package.json +2 -2
@@ -390,6 +390,7 @@ export interface AccountVolumeStatObject {
390
390
  __typename?: "AccountVolumeStatObject";
391
391
  last7DaysVolume: Scalars["BigInt"]["output"];
392
392
  last14DaysVolume: Scalars["BigInt"]["output"];
393
+ last30DaysVolume: Scalars["BigInt"]["output"];
393
394
  maxDailyVolume: Scalars["BigInt"]["output"];
394
395
  }
395
396
  export interface AccountVolumeWhereInput {
@@ -686,7 +687,7 @@ export interface ClaimAction {
686
687
  timestamp: Scalars["Int"]["output"];
687
688
  tokenAddresses: Array<Scalars["String"]["output"]>;
688
689
  tokenPrices: Array<Scalars["String"]["output"]>;
689
- transaction: Transaction;
690
+ transactionHash: Scalars["String"]["output"];
690
691
  }
691
692
  export interface ClaimActionEdge {
692
693
  __typename?: "ClaimActionEdge";
@@ -718,48 +719,12 @@ export declare enum ClaimActionOrderByInput {
718
719
  timestamp_DESC = "timestamp_DESC",
719
720
  timestamp_DESC_NULLS_FIRST = "timestamp_DESC_NULLS_FIRST",
720
721
  timestamp_DESC_NULLS_LAST = "timestamp_DESC_NULLS_LAST",
721
- transaction_blockNumber_ASC = "transaction_blockNumber_ASC",
722
- transaction_blockNumber_ASC_NULLS_FIRST = "transaction_blockNumber_ASC_NULLS_FIRST",
723
- transaction_blockNumber_ASC_NULLS_LAST = "transaction_blockNumber_ASC_NULLS_LAST",
724
- transaction_blockNumber_DESC = "transaction_blockNumber_DESC",
725
- transaction_blockNumber_DESC_NULLS_FIRST = "transaction_blockNumber_DESC_NULLS_FIRST",
726
- transaction_blockNumber_DESC_NULLS_LAST = "transaction_blockNumber_DESC_NULLS_LAST",
727
- transaction_from_ASC = "transaction_from_ASC",
728
- transaction_from_ASC_NULLS_FIRST = "transaction_from_ASC_NULLS_FIRST",
729
- transaction_from_ASC_NULLS_LAST = "transaction_from_ASC_NULLS_LAST",
730
- transaction_from_DESC = "transaction_from_DESC",
731
- transaction_from_DESC_NULLS_FIRST = "transaction_from_DESC_NULLS_FIRST",
732
- transaction_from_DESC_NULLS_LAST = "transaction_from_DESC_NULLS_LAST",
733
- transaction_hash_ASC = "transaction_hash_ASC",
734
- transaction_hash_ASC_NULLS_FIRST = "transaction_hash_ASC_NULLS_FIRST",
735
- transaction_hash_ASC_NULLS_LAST = "transaction_hash_ASC_NULLS_LAST",
736
- transaction_hash_DESC = "transaction_hash_DESC",
737
- transaction_hash_DESC_NULLS_FIRST = "transaction_hash_DESC_NULLS_FIRST",
738
- transaction_hash_DESC_NULLS_LAST = "transaction_hash_DESC_NULLS_LAST",
739
- transaction_id_ASC = "transaction_id_ASC",
740
- transaction_id_ASC_NULLS_FIRST = "transaction_id_ASC_NULLS_FIRST",
741
- transaction_id_ASC_NULLS_LAST = "transaction_id_ASC_NULLS_LAST",
742
- transaction_id_DESC = "transaction_id_DESC",
743
- transaction_id_DESC_NULLS_FIRST = "transaction_id_DESC_NULLS_FIRST",
744
- transaction_id_DESC_NULLS_LAST = "transaction_id_DESC_NULLS_LAST",
745
- transaction_timestamp_ASC = "transaction_timestamp_ASC",
746
- transaction_timestamp_ASC_NULLS_FIRST = "transaction_timestamp_ASC_NULLS_FIRST",
747
- transaction_timestamp_ASC_NULLS_LAST = "transaction_timestamp_ASC_NULLS_LAST",
748
- transaction_timestamp_DESC = "transaction_timestamp_DESC",
749
- transaction_timestamp_DESC_NULLS_FIRST = "transaction_timestamp_DESC_NULLS_FIRST",
750
- transaction_timestamp_DESC_NULLS_LAST = "transaction_timestamp_DESC_NULLS_LAST",
751
- transaction_to_ASC = "transaction_to_ASC",
752
- transaction_to_ASC_NULLS_FIRST = "transaction_to_ASC_NULLS_FIRST",
753
- transaction_to_ASC_NULLS_LAST = "transaction_to_ASC_NULLS_LAST",
754
- transaction_to_DESC = "transaction_to_DESC",
755
- transaction_to_DESC_NULLS_FIRST = "transaction_to_DESC_NULLS_FIRST",
756
- transaction_to_DESC_NULLS_LAST = "transaction_to_DESC_NULLS_LAST",
757
- transaction_transactionIndex_ASC = "transaction_transactionIndex_ASC",
758
- transaction_transactionIndex_ASC_NULLS_FIRST = "transaction_transactionIndex_ASC_NULLS_FIRST",
759
- transaction_transactionIndex_ASC_NULLS_LAST = "transaction_transactionIndex_ASC_NULLS_LAST",
760
- transaction_transactionIndex_DESC = "transaction_transactionIndex_DESC",
761
- transaction_transactionIndex_DESC_NULLS_FIRST = "transaction_transactionIndex_DESC_NULLS_FIRST",
762
- transaction_transactionIndex_DESC_NULLS_LAST = "transaction_transactionIndex_DESC_NULLS_LAST"
722
+ transactionHash_ASC = "transactionHash_ASC",
723
+ transactionHash_ASC_NULLS_FIRST = "transactionHash_ASC_NULLS_FIRST",
724
+ transactionHash_ASC_NULLS_LAST = "transactionHash_ASC_NULLS_LAST",
725
+ transactionHash_DESC = "transactionHash_DESC",
726
+ transactionHash_DESC_NULLS_FIRST = "transactionHash_DESC_NULLS_FIRST",
727
+ transactionHash_DESC_NULLS_LAST = "transactionHash_DESC_NULLS_LAST"
763
728
  }
764
729
  export declare enum ClaimActionType {
765
730
  ClaimFunding = "ClaimFunding",
@@ -839,8 +804,23 @@ export interface ClaimActionWhereInput {
839
804
  tokenPrices_containsAny?: InputMaybe<Array<Scalars["String"]["input"]>>;
840
805
  tokenPrices_containsNone?: InputMaybe<Array<Scalars["String"]["input"]>>;
841
806
  tokenPrices_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
842
- transaction?: InputMaybe<TransactionWhereInput>;
843
- transaction_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
807
+ transactionHash_contains?: InputMaybe<Scalars["String"]["input"]>;
808
+ transactionHash_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
809
+ transactionHash_endsWith?: InputMaybe<Scalars["String"]["input"]>;
810
+ transactionHash_eq?: InputMaybe<Scalars["String"]["input"]>;
811
+ transactionHash_gt?: InputMaybe<Scalars["String"]["input"]>;
812
+ transactionHash_gte?: InputMaybe<Scalars["String"]["input"]>;
813
+ transactionHash_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
814
+ transactionHash_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
815
+ transactionHash_lt?: InputMaybe<Scalars["String"]["input"]>;
816
+ transactionHash_lte?: InputMaybe<Scalars["String"]["input"]>;
817
+ transactionHash_not_contains?: InputMaybe<Scalars["String"]["input"]>;
818
+ transactionHash_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
819
+ transactionHash_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
820
+ transactionHash_not_eq?: InputMaybe<Scalars["String"]["input"]>;
821
+ transactionHash_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
822
+ transactionHash_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
823
+ transactionHash_startsWith?: InputMaybe<Scalars["String"]["input"]>;
844
824
  }
845
825
  export interface ClaimActionsConnection {
846
826
  __typename?: "ClaimActionsConnection";
@@ -2090,8 +2070,9 @@ export interface Distribution {
2090
2070
  amountsInUsd: Array<Scalars["String"]["output"]>;
2091
2071
  id: Scalars["String"]["output"];
2092
2072
  receiver: Scalars["String"]["output"];
2073
+ timestamp: Scalars["Int"]["output"];
2093
2074
  tokens: Array<Scalars["String"]["output"]>;
2094
- transaction: Transaction;
2075
+ transactionHash: Scalars["String"]["output"];
2095
2076
  typeId: Scalars["BigInt"]["output"];
2096
2077
  }
2097
2078
  export interface DistributionEdge {
@@ -2112,48 +2093,18 @@ export declare enum DistributionOrderByInput {
2112
2093
  receiver_DESC = "receiver_DESC",
2113
2094
  receiver_DESC_NULLS_FIRST = "receiver_DESC_NULLS_FIRST",
2114
2095
  receiver_DESC_NULLS_LAST = "receiver_DESC_NULLS_LAST",
2115
- transaction_blockNumber_ASC = "transaction_blockNumber_ASC",
2116
- transaction_blockNumber_ASC_NULLS_FIRST = "transaction_blockNumber_ASC_NULLS_FIRST",
2117
- transaction_blockNumber_ASC_NULLS_LAST = "transaction_blockNumber_ASC_NULLS_LAST",
2118
- transaction_blockNumber_DESC = "transaction_blockNumber_DESC",
2119
- transaction_blockNumber_DESC_NULLS_FIRST = "transaction_blockNumber_DESC_NULLS_FIRST",
2120
- transaction_blockNumber_DESC_NULLS_LAST = "transaction_blockNumber_DESC_NULLS_LAST",
2121
- transaction_from_ASC = "transaction_from_ASC",
2122
- transaction_from_ASC_NULLS_FIRST = "transaction_from_ASC_NULLS_FIRST",
2123
- transaction_from_ASC_NULLS_LAST = "transaction_from_ASC_NULLS_LAST",
2124
- transaction_from_DESC = "transaction_from_DESC",
2125
- transaction_from_DESC_NULLS_FIRST = "transaction_from_DESC_NULLS_FIRST",
2126
- transaction_from_DESC_NULLS_LAST = "transaction_from_DESC_NULLS_LAST",
2127
- transaction_hash_ASC = "transaction_hash_ASC",
2128
- transaction_hash_ASC_NULLS_FIRST = "transaction_hash_ASC_NULLS_FIRST",
2129
- transaction_hash_ASC_NULLS_LAST = "transaction_hash_ASC_NULLS_LAST",
2130
- transaction_hash_DESC = "transaction_hash_DESC",
2131
- transaction_hash_DESC_NULLS_FIRST = "transaction_hash_DESC_NULLS_FIRST",
2132
- transaction_hash_DESC_NULLS_LAST = "transaction_hash_DESC_NULLS_LAST",
2133
- transaction_id_ASC = "transaction_id_ASC",
2134
- transaction_id_ASC_NULLS_FIRST = "transaction_id_ASC_NULLS_FIRST",
2135
- transaction_id_ASC_NULLS_LAST = "transaction_id_ASC_NULLS_LAST",
2136
- transaction_id_DESC = "transaction_id_DESC",
2137
- transaction_id_DESC_NULLS_FIRST = "transaction_id_DESC_NULLS_FIRST",
2138
- transaction_id_DESC_NULLS_LAST = "transaction_id_DESC_NULLS_LAST",
2139
- transaction_timestamp_ASC = "transaction_timestamp_ASC",
2140
- transaction_timestamp_ASC_NULLS_FIRST = "transaction_timestamp_ASC_NULLS_FIRST",
2141
- transaction_timestamp_ASC_NULLS_LAST = "transaction_timestamp_ASC_NULLS_LAST",
2142
- transaction_timestamp_DESC = "transaction_timestamp_DESC",
2143
- transaction_timestamp_DESC_NULLS_FIRST = "transaction_timestamp_DESC_NULLS_FIRST",
2144
- transaction_timestamp_DESC_NULLS_LAST = "transaction_timestamp_DESC_NULLS_LAST",
2145
- transaction_to_ASC = "transaction_to_ASC",
2146
- transaction_to_ASC_NULLS_FIRST = "transaction_to_ASC_NULLS_FIRST",
2147
- transaction_to_ASC_NULLS_LAST = "transaction_to_ASC_NULLS_LAST",
2148
- transaction_to_DESC = "transaction_to_DESC",
2149
- transaction_to_DESC_NULLS_FIRST = "transaction_to_DESC_NULLS_FIRST",
2150
- transaction_to_DESC_NULLS_LAST = "transaction_to_DESC_NULLS_LAST",
2151
- transaction_transactionIndex_ASC = "transaction_transactionIndex_ASC",
2152
- transaction_transactionIndex_ASC_NULLS_FIRST = "transaction_transactionIndex_ASC_NULLS_FIRST",
2153
- transaction_transactionIndex_ASC_NULLS_LAST = "transaction_transactionIndex_ASC_NULLS_LAST",
2154
- transaction_transactionIndex_DESC = "transaction_transactionIndex_DESC",
2155
- transaction_transactionIndex_DESC_NULLS_FIRST = "transaction_transactionIndex_DESC_NULLS_FIRST",
2156
- transaction_transactionIndex_DESC_NULLS_LAST = "transaction_transactionIndex_DESC_NULLS_LAST",
2096
+ timestamp_ASC = "timestamp_ASC",
2097
+ timestamp_ASC_NULLS_FIRST = "timestamp_ASC_NULLS_FIRST",
2098
+ timestamp_ASC_NULLS_LAST = "timestamp_ASC_NULLS_LAST",
2099
+ timestamp_DESC = "timestamp_DESC",
2100
+ timestamp_DESC_NULLS_FIRST = "timestamp_DESC_NULLS_FIRST",
2101
+ timestamp_DESC_NULLS_LAST = "timestamp_DESC_NULLS_LAST",
2102
+ transactionHash_ASC = "transactionHash_ASC",
2103
+ transactionHash_ASC_NULLS_FIRST = "transactionHash_ASC_NULLS_FIRST",
2104
+ transactionHash_ASC_NULLS_LAST = "transactionHash_ASC_NULLS_LAST",
2105
+ transactionHash_DESC = "transactionHash_DESC",
2106
+ transactionHash_DESC_NULLS_FIRST = "transactionHash_DESC_NULLS_FIRST",
2107
+ transactionHash_DESC_NULLS_LAST = "transactionHash_DESC_NULLS_LAST",
2157
2108
  typeId_ASC = "typeId_ASC",
2158
2109
  typeId_ASC_NULLS_FIRST = "typeId_ASC_NULLS_FIRST",
2159
2110
  typeId_ASC_NULLS_LAST = "typeId_ASC_NULLS_LAST",
@@ -2206,12 +2157,36 @@ export interface DistributionWhereInput {
2206
2157
  receiver_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
2207
2158
  receiver_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
2208
2159
  receiver_startsWith?: InputMaybe<Scalars["String"]["input"]>;
2160
+ timestamp_eq?: InputMaybe<Scalars["Int"]["input"]>;
2161
+ timestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
2162
+ timestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
2163
+ timestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
2164
+ timestamp_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
2165
+ timestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
2166
+ timestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
2167
+ timestamp_not_eq?: InputMaybe<Scalars["Int"]["input"]>;
2168
+ timestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
2209
2169
  tokens_containsAll?: InputMaybe<Array<Scalars["String"]["input"]>>;
2210
2170
  tokens_containsAny?: InputMaybe<Array<Scalars["String"]["input"]>>;
2211
2171
  tokens_containsNone?: InputMaybe<Array<Scalars["String"]["input"]>>;
2212
2172
  tokens_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
2213
- transaction?: InputMaybe<TransactionWhereInput>;
2214
- transaction_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
2173
+ transactionHash_contains?: InputMaybe<Scalars["String"]["input"]>;
2174
+ transactionHash_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
2175
+ transactionHash_endsWith?: InputMaybe<Scalars["String"]["input"]>;
2176
+ transactionHash_eq?: InputMaybe<Scalars["String"]["input"]>;
2177
+ transactionHash_gt?: InputMaybe<Scalars["String"]["input"]>;
2178
+ transactionHash_gte?: InputMaybe<Scalars["String"]["input"]>;
2179
+ transactionHash_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
2180
+ transactionHash_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
2181
+ transactionHash_lt?: InputMaybe<Scalars["String"]["input"]>;
2182
+ transactionHash_lte?: InputMaybe<Scalars["String"]["input"]>;
2183
+ transactionHash_not_contains?: InputMaybe<Scalars["String"]["input"]>;
2184
+ transactionHash_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
2185
+ transactionHash_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
2186
+ transactionHash_not_eq?: InputMaybe<Scalars["String"]["input"]>;
2187
+ transactionHash_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
2188
+ transactionHash_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
2189
+ transactionHash_startsWith?: InputMaybe<Scalars["String"]["input"]>;
2215
2190
  typeId_eq?: InputMaybe<Scalars["BigInt"]["input"]>;
2216
2191
  typeId_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
2217
2192
  typeId_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
@@ -2232,6 +2207,122 @@ export declare enum EntityType {
2232
2207
  Glv = "Glv",
2233
2208
  Market = "Market"
2234
2209
  }
2210
+ export interface FundingRateSnapshot {
2211
+ __typename?: "FundingRateSnapshot";
2212
+ fundingFactorPerSecondLong: Scalars["BigInt"]["output"];
2213
+ fundingFactorPerSecondShort: Scalars["BigInt"]["output"];
2214
+ id: Scalars["String"]["output"];
2215
+ marketAddress: Scalars["String"]["output"];
2216
+ snapshotTimestamp: Scalars["Int"]["output"];
2217
+ }
2218
+ export interface FundingRateSnapshotEdge {
2219
+ __typename?: "FundingRateSnapshotEdge";
2220
+ cursor: Scalars["String"]["output"];
2221
+ node: FundingRateSnapshot;
2222
+ }
2223
+ export declare enum FundingRateSnapshotOrderByInput {
2224
+ fundingFactorPerSecondLong_ASC = "fundingFactorPerSecondLong_ASC",
2225
+ fundingFactorPerSecondLong_ASC_NULLS_FIRST = "fundingFactorPerSecondLong_ASC_NULLS_FIRST",
2226
+ fundingFactorPerSecondLong_ASC_NULLS_LAST = "fundingFactorPerSecondLong_ASC_NULLS_LAST",
2227
+ fundingFactorPerSecondLong_DESC = "fundingFactorPerSecondLong_DESC",
2228
+ fundingFactorPerSecondLong_DESC_NULLS_FIRST = "fundingFactorPerSecondLong_DESC_NULLS_FIRST",
2229
+ fundingFactorPerSecondLong_DESC_NULLS_LAST = "fundingFactorPerSecondLong_DESC_NULLS_LAST",
2230
+ fundingFactorPerSecondShort_ASC = "fundingFactorPerSecondShort_ASC",
2231
+ fundingFactorPerSecondShort_ASC_NULLS_FIRST = "fundingFactorPerSecondShort_ASC_NULLS_FIRST",
2232
+ fundingFactorPerSecondShort_ASC_NULLS_LAST = "fundingFactorPerSecondShort_ASC_NULLS_LAST",
2233
+ fundingFactorPerSecondShort_DESC = "fundingFactorPerSecondShort_DESC",
2234
+ fundingFactorPerSecondShort_DESC_NULLS_FIRST = "fundingFactorPerSecondShort_DESC_NULLS_FIRST",
2235
+ fundingFactorPerSecondShort_DESC_NULLS_LAST = "fundingFactorPerSecondShort_DESC_NULLS_LAST",
2236
+ id_ASC = "id_ASC",
2237
+ id_ASC_NULLS_FIRST = "id_ASC_NULLS_FIRST",
2238
+ id_ASC_NULLS_LAST = "id_ASC_NULLS_LAST",
2239
+ id_DESC = "id_DESC",
2240
+ id_DESC_NULLS_FIRST = "id_DESC_NULLS_FIRST",
2241
+ id_DESC_NULLS_LAST = "id_DESC_NULLS_LAST",
2242
+ marketAddress_ASC = "marketAddress_ASC",
2243
+ marketAddress_ASC_NULLS_FIRST = "marketAddress_ASC_NULLS_FIRST",
2244
+ marketAddress_ASC_NULLS_LAST = "marketAddress_ASC_NULLS_LAST",
2245
+ marketAddress_DESC = "marketAddress_DESC",
2246
+ marketAddress_DESC_NULLS_FIRST = "marketAddress_DESC_NULLS_FIRST",
2247
+ marketAddress_DESC_NULLS_LAST = "marketAddress_DESC_NULLS_LAST",
2248
+ snapshotTimestamp_ASC = "snapshotTimestamp_ASC",
2249
+ snapshotTimestamp_ASC_NULLS_FIRST = "snapshotTimestamp_ASC_NULLS_FIRST",
2250
+ snapshotTimestamp_ASC_NULLS_LAST = "snapshotTimestamp_ASC_NULLS_LAST",
2251
+ snapshotTimestamp_DESC = "snapshotTimestamp_DESC",
2252
+ snapshotTimestamp_DESC_NULLS_FIRST = "snapshotTimestamp_DESC_NULLS_FIRST",
2253
+ snapshotTimestamp_DESC_NULLS_LAST = "snapshotTimestamp_DESC_NULLS_LAST"
2254
+ }
2255
+ export interface FundingRateSnapshotWhereInput {
2256
+ AND?: InputMaybe<Array<FundingRateSnapshotWhereInput>>;
2257
+ OR?: InputMaybe<Array<FundingRateSnapshotWhereInput>>;
2258
+ fundingFactorPerSecondLong_eq?: InputMaybe<Scalars["BigInt"]["input"]>;
2259
+ fundingFactorPerSecondLong_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
2260
+ fundingFactorPerSecondLong_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
2261
+ fundingFactorPerSecondLong_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
2262
+ fundingFactorPerSecondLong_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
2263
+ fundingFactorPerSecondLong_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
2264
+ fundingFactorPerSecondLong_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
2265
+ fundingFactorPerSecondLong_not_eq?: InputMaybe<Scalars["BigInt"]["input"]>;
2266
+ fundingFactorPerSecondLong_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
2267
+ fundingFactorPerSecondShort_eq?: InputMaybe<Scalars["BigInt"]["input"]>;
2268
+ fundingFactorPerSecondShort_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
2269
+ fundingFactorPerSecondShort_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
2270
+ fundingFactorPerSecondShort_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
2271
+ fundingFactorPerSecondShort_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
2272
+ fundingFactorPerSecondShort_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
2273
+ fundingFactorPerSecondShort_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
2274
+ fundingFactorPerSecondShort_not_eq?: InputMaybe<Scalars["BigInt"]["input"]>;
2275
+ fundingFactorPerSecondShort_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
2276
+ id_contains?: InputMaybe<Scalars["String"]["input"]>;
2277
+ id_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
2278
+ id_endsWith?: InputMaybe<Scalars["String"]["input"]>;
2279
+ id_eq?: InputMaybe<Scalars["String"]["input"]>;
2280
+ id_gt?: InputMaybe<Scalars["String"]["input"]>;
2281
+ id_gte?: InputMaybe<Scalars["String"]["input"]>;
2282
+ id_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
2283
+ id_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
2284
+ id_lt?: InputMaybe<Scalars["String"]["input"]>;
2285
+ id_lte?: InputMaybe<Scalars["String"]["input"]>;
2286
+ id_not_contains?: InputMaybe<Scalars["String"]["input"]>;
2287
+ id_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
2288
+ id_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
2289
+ id_not_eq?: InputMaybe<Scalars["String"]["input"]>;
2290
+ id_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
2291
+ id_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
2292
+ id_startsWith?: InputMaybe<Scalars["String"]["input"]>;
2293
+ marketAddress_contains?: InputMaybe<Scalars["String"]["input"]>;
2294
+ marketAddress_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
2295
+ marketAddress_endsWith?: InputMaybe<Scalars["String"]["input"]>;
2296
+ marketAddress_eq?: InputMaybe<Scalars["String"]["input"]>;
2297
+ marketAddress_gt?: InputMaybe<Scalars["String"]["input"]>;
2298
+ marketAddress_gte?: InputMaybe<Scalars["String"]["input"]>;
2299
+ marketAddress_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
2300
+ marketAddress_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
2301
+ marketAddress_lt?: InputMaybe<Scalars["String"]["input"]>;
2302
+ marketAddress_lte?: InputMaybe<Scalars["String"]["input"]>;
2303
+ marketAddress_not_contains?: InputMaybe<Scalars["String"]["input"]>;
2304
+ marketAddress_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
2305
+ marketAddress_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
2306
+ marketAddress_not_eq?: InputMaybe<Scalars["String"]["input"]>;
2307
+ marketAddress_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
2308
+ marketAddress_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
2309
+ marketAddress_startsWith?: InputMaybe<Scalars["String"]["input"]>;
2310
+ snapshotTimestamp_eq?: InputMaybe<Scalars["Int"]["input"]>;
2311
+ snapshotTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
2312
+ snapshotTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
2313
+ snapshotTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
2314
+ snapshotTimestamp_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
2315
+ snapshotTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
2316
+ snapshotTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
2317
+ snapshotTimestamp_not_eq?: InputMaybe<Scalars["Int"]["input"]>;
2318
+ snapshotTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
2319
+ }
2320
+ export interface FundingRateSnapshotsConnection {
2321
+ __typename?: "FundingRateSnapshotsConnection";
2322
+ edges: Array<FundingRateSnapshotEdge>;
2323
+ pageInfo: PageInfo;
2324
+ totalCount: Scalars["Int"]["output"];
2325
+ }
2235
2326
  export interface Glv {
2236
2327
  __typename?: "Glv";
2237
2328
  glvTokenAddress: Scalars["String"]["output"];
@@ -4001,6 +4092,27 @@ export interface MarketInfosConnection {
4001
4092
  pageInfo: PageInfo;
4002
4093
  totalCount: Scalars["Int"]["output"];
4003
4094
  }
4095
+ export interface MarketNetRates {
4096
+ __typename?: "MarketNetRates";
4097
+ borrowingRateLong: Scalars["BigInt"]["output"];
4098
+ borrowingRateShort: Scalars["BigInt"]["output"];
4099
+ fundingRateLong: Scalars["BigInt"]["output"];
4100
+ fundingRateShort: Scalars["BigInt"]["output"];
4101
+ netRateLong: Scalars["BigInt"]["output"];
4102
+ netRateShort: Scalars["BigInt"]["output"];
4103
+ timestamp: Scalars["Float"]["output"];
4104
+ }
4105
+ export interface MarketNetRatesResponse {
4106
+ __typename?: "MarketNetRatesResponse";
4107
+ marketAddress: Scalars["String"]["output"];
4108
+ ratesSnapshots: Array<MarketNetRates>;
4109
+ }
4110
+ export interface MarketNetRatesWhereInput {
4111
+ averageBy?: InputMaybe<Scalars["String"]["input"]>;
4112
+ marketAddresses?: InputMaybe<Array<Scalars["String"]["input"]>>;
4113
+ periodEnd: Scalars["Float"]["input"];
4114
+ periodStart: Scalars["Float"]["input"];
4115
+ }
4004
4116
  export declare enum MarketOrderByInput {
4005
4117
  id_ASC = "id_ASC",
4006
4118
  id_ASC_NULLS_FIRST = "id_ASC_NULLS_FIRST",
@@ -4823,10 +4935,10 @@ export interface Order {
4823
4935
  callbackGasLimit: Scalars["BigInt"]["output"];
4824
4936
  cancelledReason?: Maybe<Scalars["String"]["output"]>;
4825
4937
  cancelledReasonBytes?: Maybe<Scalars["String"]["output"]>;
4826
- cancelledTxn?: Maybe<Transaction>;
4827
- createdTxn: Transaction;
4938
+ cancelledTxnHash?: Maybe<Scalars["String"]["output"]>;
4939
+ createdTxnHash: Scalars["String"]["output"];
4828
4940
  decreasePositionSwapType: Scalars["Int"]["output"];
4829
- executedTxn?: Maybe<Transaction>;
4941
+ executedTxnHash?: Maybe<Scalars["String"]["output"]>;
4830
4942
  executionFee: Scalars["BigInt"]["output"];
4831
4943
  frozenReason?: Maybe<Scalars["String"]["output"]>;
4832
4944
  frozenReasonBytes?: Maybe<Scalars["String"]["output"]>;
@@ -4891,138 +5003,30 @@ export declare enum OrderOrderByInput {
4891
5003
  cancelledReason_DESC = "cancelledReason_DESC",
4892
5004
  cancelledReason_DESC_NULLS_FIRST = "cancelledReason_DESC_NULLS_FIRST",
4893
5005
  cancelledReason_DESC_NULLS_LAST = "cancelledReason_DESC_NULLS_LAST",
4894
- cancelledTxn_blockNumber_ASC = "cancelledTxn_blockNumber_ASC",
4895
- cancelledTxn_blockNumber_ASC_NULLS_FIRST = "cancelledTxn_blockNumber_ASC_NULLS_FIRST",
4896
- cancelledTxn_blockNumber_ASC_NULLS_LAST = "cancelledTxn_blockNumber_ASC_NULLS_LAST",
4897
- cancelledTxn_blockNumber_DESC = "cancelledTxn_blockNumber_DESC",
4898
- cancelledTxn_blockNumber_DESC_NULLS_FIRST = "cancelledTxn_blockNumber_DESC_NULLS_FIRST",
4899
- cancelledTxn_blockNumber_DESC_NULLS_LAST = "cancelledTxn_blockNumber_DESC_NULLS_LAST",
4900
- cancelledTxn_from_ASC = "cancelledTxn_from_ASC",
4901
- cancelledTxn_from_ASC_NULLS_FIRST = "cancelledTxn_from_ASC_NULLS_FIRST",
4902
- cancelledTxn_from_ASC_NULLS_LAST = "cancelledTxn_from_ASC_NULLS_LAST",
4903
- cancelledTxn_from_DESC = "cancelledTxn_from_DESC",
4904
- cancelledTxn_from_DESC_NULLS_FIRST = "cancelledTxn_from_DESC_NULLS_FIRST",
4905
- cancelledTxn_from_DESC_NULLS_LAST = "cancelledTxn_from_DESC_NULLS_LAST",
4906
- cancelledTxn_hash_ASC = "cancelledTxn_hash_ASC",
4907
- cancelledTxn_hash_ASC_NULLS_FIRST = "cancelledTxn_hash_ASC_NULLS_FIRST",
4908
- cancelledTxn_hash_ASC_NULLS_LAST = "cancelledTxn_hash_ASC_NULLS_LAST",
4909
- cancelledTxn_hash_DESC = "cancelledTxn_hash_DESC",
4910
- cancelledTxn_hash_DESC_NULLS_FIRST = "cancelledTxn_hash_DESC_NULLS_FIRST",
4911
- cancelledTxn_hash_DESC_NULLS_LAST = "cancelledTxn_hash_DESC_NULLS_LAST",
4912
- cancelledTxn_id_ASC = "cancelledTxn_id_ASC",
4913
- cancelledTxn_id_ASC_NULLS_FIRST = "cancelledTxn_id_ASC_NULLS_FIRST",
4914
- cancelledTxn_id_ASC_NULLS_LAST = "cancelledTxn_id_ASC_NULLS_LAST",
4915
- cancelledTxn_id_DESC = "cancelledTxn_id_DESC",
4916
- cancelledTxn_id_DESC_NULLS_FIRST = "cancelledTxn_id_DESC_NULLS_FIRST",
4917
- cancelledTxn_id_DESC_NULLS_LAST = "cancelledTxn_id_DESC_NULLS_LAST",
4918
- cancelledTxn_timestamp_ASC = "cancelledTxn_timestamp_ASC",
4919
- cancelledTxn_timestamp_ASC_NULLS_FIRST = "cancelledTxn_timestamp_ASC_NULLS_FIRST",
4920
- cancelledTxn_timestamp_ASC_NULLS_LAST = "cancelledTxn_timestamp_ASC_NULLS_LAST",
4921
- cancelledTxn_timestamp_DESC = "cancelledTxn_timestamp_DESC",
4922
- cancelledTxn_timestamp_DESC_NULLS_FIRST = "cancelledTxn_timestamp_DESC_NULLS_FIRST",
4923
- cancelledTxn_timestamp_DESC_NULLS_LAST = "cancelledTxn_timestamp_DESC_NULLS_LAST",
4924
- cancelledTxn_to_ASC = "cancelledTxn_to_ASC",
4925
- cancelledTxn_to_ASC_NULLS_FIRST = "cancelledTxn_to_ASC_NULLS_FIRST",
4926
- cancelledTxn_to_ASC_NULLS_LAST = "cancelledTxn_to_ASC_NULLS_LAST",
4927
- cancelledTxn_to_DESC = "cancelledTxn_to_DESC",
4928
- cancelledTxn_to_DESC_NULLS_FIRST = "cancelledTxn_to_DESC_NULLS_FIRST",
4929
- cancelledTxn_to_DESC_NULLS_LAST = "cancelledTxn_to_DESC_NULLS_LAST",
4930
- cancelledTxn_transactionIndex_ASC = "cancelledTxn_transactionIndex_ASC",
4931
- cancelledTxn_transactionIndex_ASC_NULLS_FIRST = "cancelledTxn_transactionIndex_ASC_NULLS_FIRST",
4932
- cancelledTxn_transactionIndex_ASC_NULLS_LAST = "cancelledTxn_transactionIndex_ASC_NULLS_LAST",
4933
- cancelledTxn_transactionIndex_DESC = "cancelledTxn_transactionIndex_DESC",
4934
- cancelledTxn_transactionIndex_DESC_NULLS_FIRST = "cancelledTxn_transactionIndex_DESC_NULLS_FIRST",
4935
- cancelledTxn_transactionIndex_DESC_NULLS_LAST = "cancelledTxn_transactionIndex_DESC_NULLS_LAST",
4936
- createdTxn_blockNumber_ASC = "createdTxn_blockNumber_ASC",
4937
- createdTxn_blockNumber_ASC_NULLS_FIRST = "createdTxn_blockNumber_ASC_NULLS_FIRST",
4938
- createdTxn_blockNumber_ASC_NULLS_LAST = "createdTxn_blockNumber_ASC_NULLS_LAST",
4939
- createdTxn_blockNumber_DESC = "createdTxn_blockNumber_DESC",
4940
- createdTxn_blockNumber_DESC_NULLS_FIRST = "createdTxn_blockNumber_DESC_NULLS_FIRST",
4941
- createdTxn_blockNumber_DESC_NULLS_LAST = "createdTxn_blockNumber_DESC_NULLS_LAST",
4942
- createdTxn_from_ASC = "createdTxn_from_ASC",
4943
- createdTxn_from_ASC_NULLS_FIRST = "createdTxn_from_ASC_NULLS_FIRST",
4944
- createdTxn_from_ASC_NULLS_LAST = "createdTxn_from_ASC_NULLS_LAST",
4945
- createdTxn_from_DESC = "createdTxn_from_DESC",
4946
- createdTxn_from_DESC_NULLS_FIRST = "createdTxn_from_DESC_NULLS_FIRST",
4947
- createdTxn_from_DESC_NULLS_LAST = "createdTxn_from_DESC_NULLS_LAST",
4948
- createdTxn_hash_ASC = "createdTxn_hash_ASC",
4949
- createdTxn_hash_ASC_NULLS_FIRST = "createdTxn_hash_ASC_NULLS_FIRST",
4950
- createdTxn_hash_ASC_NULLS_LAST = "createdTxn_hash_ASC_NULLS_LAST",
4951
- createdTxn_hash_DESC = "createdTxn_hash_DESC",
4952
- createdTxn_hash_DESC_NULLS_FIRST = "createdTxn_hash_DESC_NULLS_FIRST",
4953
- createdTxn_hash_DESC_NULLS_LAST = "createdTxn_hash_DESC_NULLS_LAST",
4954
- createdTxn_id_ASC = "createdTxn_id_ASC",
4955
- createdTxn_id_ASC_NULLS_FIRST = "createdTxn_id_ASC_NULLS_FIRST",
4956
- createdTxn_id_ASC_NULLS_LAST = "createdTxn_id_ASC_NULLS_LAST",
4957
- createdTxn_id_DESC = "createdTxn_id_DESC",
4958
- createdTxn_id_DESC_NULLS_FIRST = "createdTxn_id_DESC_NULLS_FIRST",
4959
- createdTxn_id_DESC_NULLS_LAST = "createdTxn_id_DESC_NULLS_LAST",
4960
- createdTxn_timestamp_ASC = "createdTxn_timestamp_ASC",
4961
- createdTxn_timestamp_ASC_NULLS_FIRST = "createdTxn_timestamp_ASC_NULLS_FIRST",
4962
- createdTxn_timestamp_ASC_NULLS_LAST = "createdTxn_timestamp_ASC_NULLS_LAST",
4963
- createdTxn_timestamp_DESC = "createdTxn_timestamp_DESC",
4964
- createdTxn_timestamp_DESC_NULLS_FIRST = "createdTxn_timestamp_DESC_NULLS_FIRST",
4965
- createdTxn_timestamp_DESC_NULLS_LAST = "createdTxn_timestamp_DESC_NULLS_LAST",
4966
- createdTxn_to_ASC = "createdTxn_to_ASC",
4967
- createdTxn_to_ASC_NULLS_FIRST = "createdTxn_to_ASC_NULLS_FIRST",
4968
- createdTxn_to_ASC_NULLS_LAST = "createdTxn_to_ASC_NULLS_LAST",
4969
- createdTxn_to_DESC = "createdTxn_to_DESC",
4970
- createdTxn_to_DESC_NULLS_FIRST = "createdTxn_to_DESC_NULLS_FIRST",
4971
- createdTxn_to_DESC_NULLS_LAST = "createdTxn_to_DESC_NULLS_LAST",
4972
- createdTxn_transactionIndex_ASC = "createdTxn_transactionIndex_ASC",
4973
- createdTxn_transactionIndex_ASC_NULLS_FIRST = "createdTxn_transactionIndex_ASC_NULLS_FIRST",
4974
- createdTxn_transactionIndex_ASC_NULLS_LAST = "createdTxn_transactionIndex_ASC_NULLS_LAST",
4975
- createdTxn_transactionIndex_DESC = "createdTxn_transactionIndex_DESC",
4976
- createdTxn_transactionIndex_DESC_NULLS_FIRST = "createdTxn_transactionIndex_DESC_NULLS_FIRST",
4977
- createdTxn_transactionIndex_DESC_NULLS_LAST = "createdTxn_transactionIndex_DESC_NULLS_LAST",
5006
+ cancelledTxnHash_ASC = "cancelledTxnHash_ASC",
5007
+ cancelledTxnHash_ASC_NULLS_FIRST = "cancelledTxnHash_ASC_NULLS_FIRST",
5008
+ cancelledTxnHash_ASC_NULLS_LAST = "cancelledTxnHash_ASC_NULLS_LAST",
5009
+ cancelledTxnHash_DESC = "cancelledTxnHash_DESC",
5010
+ cancelledTxnHash_DESC_NULLS_FIRST = "cancelledTxnHash_DESC_NULLS_FIRST",
5011
+ cancelledTxnHash_DESC_NULLS_LAST = "cancelledTxnHash_DESC_NULLS_LAST",
5012
+ createdTxnHash_ASC = "createdTxnHash_ASC",
5013
+ createdTxnHash_ASC_NULLS_FIRST = "createdTxnHash_ASC_NULLS_FIRST",
5014
+ createdTxnHash_ASC_NULLS_LAST = "createdTxnHash_ASC_NULLS_LAST",
5015
+ createdTxnHash_DESC = "createdTxnHash_DESC",
5016
+ createdTxnHash_DESC_NULLS_FIRST = "createdTxnHash_DESC_NULLS_FIRST",
5017
+ createdTxnHash_DESC_NULLS_LAST = "createdTxnHash_DESC_NULLS_LAST",
4978
5018
  decreasePositionSwapType_ASC = "decreasePositionSwapType_ASC",
4979
5019
  decreasePositionSwapType_ASC_NULLS_FIRST = "decreasePositionSwapType_ASC_NULLS_FIRST",
4980
5020
  decreasePositionSwapType_ASC_NULLS_LAST = "decreasePositionSwapType_ASC_NULLS_LAST",
4981
5021
  decreasePositionSwapType_DESC = "decreasePositionSwapType_DESC",
4982
5022
  decreasePositionSwapType_DESC_NULLS_FIRST = "decreasePositionSwapType_DESC_NULLS_FIRST",
4983
5023
  decreasePositionSwapType_DESC_NULLS_LAST = "decreasePositionSwapType_DESC_NULLS_LAST",
4984
- executedTxn_blockNumber_ASC = "executedTxn_blockNumber_ASC",
4985
- executedTxn_blockNumber_ASC_NULLS_FIRST = "executedTxn_blockNumber_ASC_NULLS_FIRST",
4986
- executedTxn_blockNumber_ASC_NULLS_LAST = "executedTxn_blockNumber_ASC_NULLS_LAST",
4987
- executedTxn_blockNumber_DESC = "executedTxn_blockNumber_DESC",
4988
- executedTxn_blockNumber_DESC_NULLS_FIRST = "executedTxn_blockNumber_DESC_NULLS_FIRST",
4989
- executedTxn_blockNumber_DESC_NULLS_LAST = "executedTxn_blockNumber_DESC_NULLS_LAST",
4990
- executedTxn_from_ASC = "executedTxn_from_ASC",
4991
- executedTxn_from_ASC_NULLS_FIRST = "executedTxn_from_ASC_NULLS_FIRST",
4992
- executedTxn_from_ASC_NULLS_LAST = "executedTxn_from_ASC_NULLS_LAST",
4993
- executedTxn_from_DESC = "executedTxn_from_DESC",
4994
- executedTxn_from_DESC_NULLS_FIRST = "executedTxn_from_DESC_NULLS_FIRST",
4995
- executedTxn_from_DESC_NULLS_LAST = "executedTxn_from_DESC_NULLS_LAST",
4996
- executedTxn_hash_ASC = "executedTxn_hash_ASC",
4997
- executedTxn_hash_ASC_NULLS_FIRST = "executedTxn_hash_ASC_NULLS_FIRST",
4998
- executedTxn_hash_ASC_NULLS_LAST = "executedTxn_hash_ASC_NULLS_LAST",
4999
- executedTxn_hash_DESC = "executedTxn_hash_DESC",
5000
- executedTxn_hash_DESC_NULLS_FIRST = "executedTxn_hash_DESC_NULLS_FIRST",
5001
- executedTxn_hash_DESC_NULLS_LAST = "executedTxn_hash_DESC_NULLS_LAST",
5002
- executedTxn_id_ASC = "executedTxn_id_ASC",
5003
- executedTxn_id_ASC_NULLS_FIRST = "executedTxn_id_ASC_NULLS_FIRST",
5004
- executedTxn_id_ASC_NULLS_LAST = "executedTxn_id_ASC_NULLS_LAST",
5005
- executedTxn_id_DESC = "executedTxn_id_DESC",
5006
- executedTxn_id_DESC_NULLS_FIRST = "executedTxn_id_DESC_NULLS_FIRST",
5007
- executedTxn_id_DESC_NULLS_LAST = "executedTxn_id_DESC_NULLS_LAST",
5008
- executedTxn_timestamp_ASC = "executedTxn_timestamp_ASC",
5009
- executedTxn_timestamp_ASC_NULLS_FIRST = "executedTxn_timestamp_ASC_NULLS_FIRST",
5010
- executedTxn_timestamp_ASC_NULLS_LAST = "executedTxn_timestamp_ASC_NULLS_LAST",
5011
- executedTxn_timestamp_DESC = "executedTxn_timestamp_DESC",
5012
- executedTxn_timestamp_DESC_NULLS_FIRST = "executedTxn_timestamp_DESC_NULLS_FIRST",
5013
- executedTxn_timestamp_DESC_NULLS_LAST = "executedTxn_timestamp_DESC_NULLS_LAST",
5014
- executedTxn_to_ASC = "executedTxn_to_ASC",
5015
- executedTxn_to_ASC_NULLS_FIRST = "executedTxn_to_ASC_NULLS_FIRST",
5016
- executedTxn_to_ASC_NULLS_LAST = "executedTxn_to_ASC_NULLS_LAST",
5017
- executedTxn_to_DESC = "executedTxn_to_DESC",
5018
- executedTxn_to_DESC_NULLS_FIRST = "executedTxn_to_DESC_NULLS_FIRST",
5019
- executedTxn_to_DESC_NULLS_LAST = "executedTxn_to_DESC_NULLS_LAST",
5020
- executedTxn_transactionIndex_ASC = "executedTxn_transactionIndex_ASC",
5021
- executedTxn_transactionIndex_ASC_NULLS_FIRST = "executedTxn_transactionIndex_ASC_NULLS_FIRST",
5022
- executedTxn_transactionIndex_ASC_NULLS_LAST = "executedTxn_transactionIndex_ASC_NULLS_LAST",
5023
- executedTxn_transactionIndex_DESC = "executedTxn_transactionIndex_DESC",
5024
- executedTxn_transactionIndex_DESC_NULLS_FIRST = "executedTxn_transactionIndex_DESC_NULLS_FIRST",
5025
- executedTxn_transactionIndex_DESC_NULLS_LAST = "executedTxn_transactionIndex_DESC_NULLS_LAST",
5024
+ executedTxnHash_ASC = "executedTxnHash_ASC",
5025
+ executedTxnHash_ASC_NULLS_FIRST = "executedTxnHash_ASC_NULLS_FIRST",
5026
+ executedTxnHash_ASC_NULLS_LAST = "executedTxnHash_ASC_NULLS_LAST",
5027
+ executedTxnHash_DESC = "executedTxnHash_DESC",
5028
+ executedTxnHash_DESC_NULLS_FIRST = "executedTxnHash_DESC_NULLS_FIRST",
5029
+ executedTxnHash_DESC_NULLS_LAST = "executedTxnHash_DESC_NULLS_LAST",
5026
5030
  executionFee_ASC = "executionFee_ASC",
5027
5031
  executionFee_ASC_NULLS_FIRST = "executionFee_ASC_NULLS_FIRST",
5028
5032
  executionFee_ASC_NULLS_LAST = "executionFee_ASC_NULLS_LAST",
@@ -5239,10 +5243,40 @@ export interface OrderWhereInput {
5239
5243
  cancelledReason_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5240
5244
  cancelledReason_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
5241
5245
  cancelledReason_startsWith?: InputMaybe<Scalars["String"]["input"]>;
5242
- cancelledTxn?: InputMaybe<TransactionWhereInput>;
5243
- cancelledTxn_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
5244
- createdTxn?: InputMaybe<TransactionWhereInput>;
5245
- createdTxn_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
5246
+ cancelledTxnHash_contains?: InputMaybe<Scalars["String"]["input"]>;
5247
+ cancelledTxnHash_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
5248
+ cancelledTxnHash_endsWith?: InputMaybe<Scalars["String"]["input"]>;
5249
+ cancelledTxnHash_eq?: InputMaybe<Scalars["String"]["input"]>;
5250
+ cancelledTxnHash_gt?: InputMaybe<Scalars["String"]["input"]>;
5251
+ cancelledTxnHash_gte?: InputMaybe<Scalars["String"]["input"]>;
5252
+ cancelledTxnHash_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5253
+ cancelledTxnHash_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
5254
+ cancelledTxnHash_lt?: InputMaybe<Scalars["String"]["input"]>;
5255
+ cancelledTxnHash_lte?: InputMaybe<Scalars["String"]["input"]>;
5256
+ cancelledTxnHash_not_contains?: InputMaybe<Scalars["String"]["input"]>;
5257
+ cancelledTxnHash_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
5258
+ cancelledTxnHash_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
5259
+ cancelledTxnHash_not_eq?: InputMaybe<Scalars["String"]["input"]>;
5260
+ cancelledTxnHash_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5261
+ cancelledTxnHash_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
5262
+ cancelledTxnHash_startsWith?: InputMaybe<Scalars["String"]["input"]>;
5263
+ createdTxnHash_contains?: InputMaybe<Scalars["String"]["input"]>;
5264
+ createdTxnHash_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
5265
+ createdTxnHash_endsWith?: InputMaybe<Scalars["String"]["input"]>;
5266
+ createdTxnHash_eq?: InputMaybe<Scalars["String"]["input"]>;
5267
+ createdTxnHash_gt?: InputMaybe<Scalars["String"]["input"]>;
5268
+ createdTxnHash_gte?: InputMaybe<Scalars["String"]["input"]>;
5269
+ createdTxnHash_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5270
+ createdTxnHash_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
5271
+ createdTxnHash_lt?: InputMaybe<Scalars["String"]["input"]>;
5272
+ createdTxnHash_lte?: InputMaybe<Scalars["String"]["input"]>;
5273
+ createdTxnHash_not_contains?: InputMaybe<Scalars["String"]["input"]>;
5274
+ createdTxnHash_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
5275
+ createdTxnHash_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
5276
+ createdTxnHash_not_eq?: InputMaybe<Scalars["String"]["input"]>;
5277
+ createdTxnHash_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5278
+ createdTxnHash_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
5279
+ createdTxnHash_startsWith?: InputMaybe<Scalars["String"]["input"]>;
5246
5280
  decreasePositionSwapType_eq?: InputMaybe<Scalars["Int"]["input"]>;
5247
5281
  decreasePositionSwapType_gt?: InputMaybe<Scalars["Int"]["input"]>;
5248
5282
  decreasePositionSwapType_gte?: InputMaybe<Scalars["Int"]["input"]>;
@@ -5252,8 +5286,23 @@ export interface OrderWhereInput {
5252
5286
  decreasePositionSwapType_lte?: InputMaybe<Scalars["Int"]["input"]>;
5253
5287
  decreasePositionSwapType_not_eq?: InputMaybe<Scalars["Int"]["input"]>;
5254
5288
  decreasePositionSwapType_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
5255
- executedTxn?: InputMaybe<TransactionWhereInput>;
5256
- executedTxn_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
5289
+ executedTxnHash_contains?: InputMaybe<Scalars["String"]["input"]>;
5290
+ executedTxnHash_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
5291
+ executedTxnHash_endsWith?: InputMaybe<Scalars["String"]["input"]>;
5292
+ executedTxnHash_eq?: InputMaybe<Scalars["String"]["input"]>;
5293
+ executedTxnHash_gt?: InputMaybe<Scalars["String"]["input"]>;
5294
+ executedTxnHash_gte?: InputMaybe<Scalars["String"]["input"]>;
5295
+ executedTxnHash_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5296
+ executedTxnHash_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
5297
+ executedTxnHash_lt?: InputMaybe<Scalars["String"]["input"]>;
5298
+ executedTxnHash_lte?: InputMaybe<Scalars["String"]["input"]>;
5299
+ executedTxnHash_not_contains?: InputMaybe<Scalars["String"]["input"]>;
5300
+ executedTxnHash_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
5301
+ executedTxnHash_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
5302
+ executedTxnHash_not_eq?: InputMaybe<Scalars["String"]["input"]>;
5303
+ executedTxnHash_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5304
+ executedTxnHash_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
5305
+ executedTxnHash_startsWith?: InputMaybe<Scalars["String"]["input"]>;
5257
5306
  executionFee_eq?: InputMaybe<Scalars["BigInt"]["input"]>;
5258
5307
  executionFee_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
5259
5308
  executionFee_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
@@ -6300,7 +6349,7 @@ export interface PositionFeesEntity {
6300
6349
  totalRebateFactor: Scalars["BigInt"]["output"];
6301
6350
  trader: Scalars["String"]["output"];
6302
6351
  traderDiscountAmount: Scalars["BigInt"]["output"];
6303
- transaction: Transaction;
6352
+ transactionHash: Scalars["String"]["output"];
6304
6353
  type: PositionFeesEntityType;
6305
6354
  }
6306
6355
  export interface PositionFeesEntityEdge {
@@ -6417,48 +6466,12 @@ export declare enum PositionFeesEntityOrderByInput {
6417
6466
  trader_DESC = "trader_DESC",
6418
6467
  trader_DESC_NULLS_FIRST = "trader_DESC_NULLS_FIRST",
6419
6468
  trader_DESC_NULLS_LAST = "trader_DESC_NULLS_LAST",
6420
- transaction_blockNumber_ASC = "transaction_blockNumber_ASC",
6421
- transaction_blockNumber_ASC_NULLS_FIRST = "transaction_blockNumber_ASC_NULLS_FIRST",
6422
- transaction_blockNumber_ASC_NULLS_LAST = "transaction_blockNumber_ASC_NULLS_LAST",
6423
- transaction_blockNumber_DESC = "transaction_blockNumber_DESC",
6424
- transaction_blockNumber_DESC_NULLS_FIRST = "transaction_blockNumber_DESC_NULLS_FIRST",
6425
- transaction_blockNumber_DESC_NULLS_LAST = "transaction_blockNumber_DESC_NULLS_LAST",
6426
- transaction_from_ASC = "transaction_from_ASC",
6427
- transaction_from_ASC_NULLS_FIRST = "transaction_from_ASC_NULLS_FIRST",
6428
- transaction_from_ASC_NULLS_LAST = "transaction_from_ASC_NULLS_LAST",
6429
- transaction_from_DESC = "transaction_from_DESC",
6430
- transaction_from_DESC_NULLS_FIRST = "transaction_from_DESC_NULLS_FIRST",
6431
- transaction_from_DESC_NULLS_LAST = "transaction_from_DESC_NULLS_LAST",
6432
- transaction_hash_ASC = "transaction_hash_ASC",
6433
- transaction_hash_ASC_NULLS_FIRST = "transaction_hash_ASC_NULLS_FIRST",
6434
- transaction_hash_ASC_NULLS_LAST = "transaction_hash_ASC_NULLS_LAST",
6435
- transaction_hash_DESC = "transaction_hash_DESC",
6436
- transaction_hash_DESC_NULLS_FIRST = "transaction_hash_DESC_NULLS_FIRST",
6437
- transaction_hash_DESC_NULLS_LAST = "transaction_hash_DESC_NULLS_LAST",
6438
- transaction_id_ASC = "transaction_id_ASC",
6439
- transaction_id_ASC_NULLS_FIRST = "transaction_id_ASC_NULLS_FIRST",
6440
- transaction_id_ASC_NULLS_LAST = "transaction_id_ASC_NULLS_LAST",
6441
- transaction_id_DESC = "transaction_id_DESC",
6442
- transaction_id_DESC_NULLS_FIRST = "transaction_id_DESC_NULLS_FIRST",
6443
- transaction_id_DESC_NULLS_LAST = "transaction_id_DESC_NULLS_LAST",
6444
- transaction_timestamp_ASC = "transaction_timestamp_ASC",
6445
- transaction_timestamp_ASC_NULLS_FIRST = "transaction_timestamp_ASC_NULLS_FIRST",
6446
- transaction_timestamp_ASC_NULLS_LAST = "transaction_timestamp_ASC_NULLS_LAST",
6447
- transaction_timestamp_DESC = "transaction_timestamp_DESC",
6448
- transaction_timestamp_DESC_NULLS_FIRST = "transaction_timestamp_DESC_NULLS_FIRST",
6449
- transaction_timestamp_DESC_NULLS_LAST = "transaction_timestamp_DESC_NULLS_LAST",
6450
- transaction_to_ASC = "transaction_to_ASC",
6451
- transaction_to_ASC_NULLS_FIRST = "transaction_to_ASC_NULLS_FIRST",
6452
- transaction_to_ASC_NULLS_LAST = "transaction_to_ASC_NULLS_LAST",
6453
- transaction_to_DESC = "transaction_to_DESC",
6454
- transaction_to_DESC_NULLS_FIRST = "transaction_to_DESC_NULLS_FIRST",
6455
- transaction_to_DESC_NULLS_LAST = "transaction_to_DESC_NULLS_LAST",
6456
- transaction_transactionIndex_ASC = "transaction_transactionIndex_ASC",
6457
- transaction_transactionIndex_ASC_NULLS_FIRST = "transaction_transactionIndex_ASC_NULLS_FIRST",
6458
- transaction_transactionIndex_ASC_NULLS_LAST = "transaction_transactionIndex_ASC_NULLS_LAST",
6459
- transaction_transactionIndex_DESC = "transaction_transactionIndex_DESC",
6460
- transaction_transactionIndex_DESC_NULLS_FIRST = "transaction_transactionIndex_DESC_NULLS_FIRST",
6461
- transaction_transactionIndex_DESC_NULLS_LAST = "transaction_transactionIndex_DESC_NULLS_LAST",
6469
+ transactionHash_ASC = "transactionHash_ASC",
6470
+ transactionHash_ASC_NULLS_FIRST = "transactionHash_ASC_NULLS_FIRST",
6471
+ transactionHash_ASC_NULLS_LAST = "transactionHash_ASC_NULLS_LAST",
6472
+ transactionHash_DESC = "transactionHash_DESC",
6473
+ transactionHash_DESC_NULLS_FIRST = "transactionHash_DESC_NULLS_FIRST",
6474
+ transactionHash_DESC_NULLS_LAST = "transactionHash_DESC_NULLS_LAST",
6462
6475
  type_ASC = "type_ASC",
6463
6476
  type_ASC_NULLS_FIRST = "type_ASC_NULLS_FIRST",
6464
6477
  type_ASC_NULLS_LAST = "type_ASC_NULLS_LAST",
@@ -6691,8 +6704,23 @@ export interface PositionFeesEntityWhereInput {
6691
6704
  trader_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
6692
6705
  trader_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
6693
6706
  trader_startsWith?: InputMaybe<Scalars["String"]["input"]>;
6694
- transaction?: InputMaybe<TransactionWhereInput>;
6695
- transaction_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
6707
+ transactionHash_contains?: InputMaybe<Scalars["String"]["input"]>;
6708
+ transactionHash_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
6709
+ transactionHash_endsWith?: InputMaybe<Scalars["String"]["input"]>;
6710
+ transactionHash_eq?: InputMaybe<Scalars["String"]["input"]>;
6711
+ transactionHash_gt?: InputMaybe<Scalars["String"]["input"]>;
6712
+ transactionHash_gte?: InputMaybe<Scalars["String"]["input"]>;
6713
+ transactionHash_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
6714
+ transactionHash_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
6715
+ transactionHash_lt?: InputMaybe<Scalars["String"]["input"]>;
6716
+ transactionHash_lte?: InputMaybe<Scalars["String"]["input"]>;
6717
+ transactionHash_not_contains?: InputMaybe<Scalars["String"]["input"]>;
6718
+ transactionHash_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
6719
+ transactionHash_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
6720
+ transactionHash_not_eq?: InputMaybe<Scalars["String"]["input"]>;
6721
+ transactionHash_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
6722
+ transactionHash_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
6723
+ transactionHash_startsWith?: InputMaybe<Scalars["String"]["input"]>;
6696
6724
  type_eq?: InputMaybe<PositionFeesEntityType>;
6697
6725
  type_in?: InputMaybe<Array<PositionFeesEntityType>>;
6698
6726
  type_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
@@ -7818,6 +7846,9 @@ export interface Query {
7818
7846
  distributionById?: Maybe<Distribution>;
7819
7847
  distributions: Array<Distribution>;
7820
7848
  distributionsConnection: DistributionsConnection;
7849
+ fundingRateSnapshotById?: Maybe<FundingRateSnapshot>;
7850
+ fundingRateSnapshots: Array<FundingRateSnapshot>;
7851
+ fundingRateSnapshotsConnection: FundingRateSnapshotsConnection;
7821
7852
  glvById?: Maybe<Glv>;
7822
7853
  glvs: Array<Glv>;
7823
7854
  glvsAprByPeriod: Array<GlvApr>;
@@ -7830,6 +7861,7 @@ export interface Query {
7830
7861
  markets: Array<Market>;
7831
7862
  marketsAprByPeriod: Array<MarketApr>;
7832
7863
  marketsConnection: MarketsConnection;
7864
+ marketsNetRatesByPeriod: Array<MarketNetRatesResponse>;
7833
7865
  marketsPnlAprByPeriod: Array<MarketPnlApr>;
7834
7866
  multichainFunding: Array<MultichainFundingInfo>;
7835
7867
  multichainFundingReceiveEventById?: Maybe<MultichainFundingReceiveEvent>;
@@ -7896,9 +7928,6 @@ export interface Query {
7896
7928
  tradeActionById?: Maybe<TradeAction>;
7897
7929
  tradeActions: Array<TradeAction>;
7898
7930
  tradeActionsConnection: TradeActionsConnection;
7899
- transactionById?: Maybe<Transaction>;
7900
- transactions: Array<Transaction>;
7901
- transactionsConnection: TransactionsConnection;
7902
7931
  volumeInfoById?: Maybe<VolumeInfo>;
7903
7932
  volumeInfos: Array<VolumeInfo>;
7904
7933
  volumeInfosConnection: VolumeInfosConnection;
@@ -8108,6 +8137,21 @@ export interface QuerydistributionsConnectionArgs {
8108
8137
  orderBy: Array<DistributionOrderByInput>;
8109
8138
  where?: InputMaybe<DistributionWhereInput>;
8110
8139
  }
8140
+ export interface QueryfundingRateSnapshotByIdArgs {
8141
+ id: Scalars["String"]["input"];
8142
+ }
8143
+ export interface QueryfundingRateSnapshotsArgs {
8144
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
8145
+ offset?: InputMaybe<Scalars["Int"]["input"]>;
8146
+ orderBy?: InputMaybe<Array<FundingRateSnapshotOrderByInput>>;
8147
+ where?: InputMaybe<FundingRateSnapshotWhereInput>;
8148
+ }
8149
+ export interface QueryfundingRateSnapshotsConnectionArgs {
8150
+ after?: InputMaybe<Scalars["String"]["input"]>;
8151
+ first?: InputMaybe<Scalars["Int"]["input"]>;
8152
+ orderBy: Array<FundingRateSnapshotOrderByInput>;
8153
+ where?: InputMaybe<FundingRateSnapshotWhereInput>;
8154
+ }
8111
8155
  export interface QueryglvByIdArgs {
8112
8156
  id: Scalars["String"]["input"];
8113
8157
  }
@@ -8162,6 +8206,9 @@ export interface QuerymarketsConnectionArgs {
8162
8206
  orderBy: Array<MarketOrderByInput>;
8163
8207
  where?: InputMaybe<MarketWhereInput>;
8164
8208
  }
8209
+ export interface QuerymarketsNetRatesByPeriodArgs {
8210
+ where?: InputMaybe<MarketNetRatesWhereInput>;
8211
+ }
8165
8212
  export interface QuerymarketsPnlAprByPeriodArgs {
8166
8213
  where?: InputMaybe<MarketPnlAprsWhereInput>;
8167
8214
  }
@@ -8470,21 +8517,6 @@ export interface QuerytradeActionsConnectionArgs {
8470
8517
  orderBy: Array<TradeActionOrderByInput>;
8471
8518
  where?: InputMaybe<TradeActionWhereInput>;
8472
8519
  }
8473
- export interface QuerytransactionByIdArgs {
8474
- id: Scalars["String"]["input"];
8475
- }
8476
- export interface QuerytransactionsArgs {
8477
- limit?: InputMaybe<Scalars["Int"]["input"]>;
8478
- offset?: InputMaybe<Scalars["Int"]["input"]>;
8479
- orderBy?: InputMaybe<Array<TransactionOrderByInput>>;
8480
- where?: InputMaybe<TransactionWhereInput>;
8481
- }
8482
- export interface QuerytransactionsConnectionArgs {
8483
- after?: InputMaybe<Scalars["String"]["input"]>;
8484
- first?: InputMaybe<Scalars["Int"]["input"]>;
8485
- orderBy: Array<TransactionOrderByInput>;
8486
- where?: InputMaybe<TransactionWhereInput>;
8487
- }
8488
8520
  export interface QueryvolumeInfoByIdArgs {
8489
8521
  id: Scalars["String"]["input"];
8490
8522
  }
@@ -8514,7 +8546,7 @@ export interface SwapFeesInfo {
8514
8546
  swapFeeType: Scalars["String"]["output"];
8515
8547
  tokenAddress: Scalars["String"]["output"];
8516
8548
  tokenPrice: Scalars["BigInt"]["output"];
8517
- transaction: Transaction;
8549
+ transactionHash: Scalars["String"]["output"];
8518
8550
  }
8519
8551
  export interface SwapFeesInfoEdge {
8520
8552
  __typename?: "SwapFeesInfoEdge";
@@ -8564,48 +8596,12 @@ export declare enum SwapFeesInfoOrderByInput {
8564
8596
  tokenPrice_DESC = "tokenPrice_DESC",
8565
8597
  tokenPrice_DESC_NULLS_FIRST = "tokenPrice_DESC_NULLS_FIRST",
8566
8598
  tokenPrice_DESC_NULLS_LAST = "tokenPrice_DESC_NULLS_LAST",
8567
- transaction_blockNumber_ASC = "transaction_blockNumber_ASC",
8568
- transaction_blockNumber_ASC_NULLS_FIRST = "transaction_blockNumber_ASC_NULLS_FIRST",
8569
- transaction_blockNumber_ASC_NULLS_LAST = "transaction_blockNumber_ASC_NULLS_LAST",
8570
- transaction_blockNumber_DESC = "transaction_blockNumber_DESC",
8571
- transaction_blockNumber_DESC_NULLS_FIRST = "transaction_blockNumber_DESC_NULLS_FIRST",
8572
- transaction_blockNumber_DESC_NULLS_LAST = "transaction_blockNumber_DESC_NULLS_LAST",
8573
- transaction_from_ASC = "transaction_from_ASC",
8574
- transaction_from_ASC_NULLS_FIRST = "transaction_from_ASC_NULLS_FIRST",
8575
- transaction_from_ASC_NULLS_LAST = "transaction_from_ASC_NULLS_LAST",
8576
- transaction_from_DESC = "transaction_from_DESC",
8577
- transaction_from_DESC_NULLS_FIRST = "transaction_from_DESC_NULLS_FIRST",
8578
- transaction_from_DESC_NULLS_LAST = "transaction_from_DESC_NULLS_LAST",
8579
- transaction_hash_ASC = "transaction_hash_ASC",
8580
- transaction_hash_ASC_NULLS_FIRST = "transaction_hash_ASC_NULLS_FIRST",
8581
- transaction_hash_ASC_NULLS_LAST = "transaction_hash_ASC_NULLS_LAST",
8582
- transaction_hash_DESC = "transaction_hash_DESC",
8583
- transaction_hash_DESC_NULLS_FIRST = "transaction_hash_DESC_NULLS_FIRST",
8584
- transaction_hash_DESC_NULLS_LAST = "transaction_hash_DESC_NULLS_LAST",
8585
- transaction_id_ASC = "transaction_id_ASC",
8586
- transaction_id_ASC_NULLS_FIRST = "transaction_id_ASC_NULLS_FIRST",
8587
- transaction_id_ASC_NULLS_LAST = "transaction_id_ASC_NULLS_LAST",
8588
- transaction_id_DESC = "transaction_id_DESC",
8589
- transaction_id_DESC_NULLS_FIRST = "transaction_id_DESC_NULLS_FIRST",
8590
- transaction_id_DESC_NULLS_LAST = "transaction_id_DESC_NULLS_LAST",
8591
- transaction_timestamp_ASC = "transaction_timestamp_ASC",
8592
- transaction_timestamp_ASC_NULLS_FIRST = "transaction_timestamp_ASC_NULLS_FIRST",
8593
- transaction_timestamp_ASC_NULLS_LAST = "transaction_timestamp_ASC_NULLS_LAST",
8594
- transaction_timestamp_DESC = "transaction_timestamp_DESC",
8595
- transaction_timestamp_DESC_NULLS_FIRST = "transaction_timestamp_DESC_NULLS_FIRST",
8596
- transaction_timestamp_DESC_NULLS_LAST = "transaction_timestamp_DESC_NULLS_LAST",
8597
- transaction_to_ASC = "transaction_to_ASC",
8598
- transaction_to_ASC_NULLS_FIRST = "transaction_to_ASC_NULLS_FIRST",
8599
- transaction_to_ASC_NULLS_LAST = "transaction_to_ASC_NULLS_LAST",
8600
- transaction_to_DESC = "transaction_to_DESC",
8601
- transaction_to_DESC_NULLS_FIRST = "transaction_to_DESC_NULLS_FIRST",
8602
- transaction_to_DESC_NULLS_LAST = "transaction_to_DESC_NULLS_LAST",
8603
- transaction_transactionIndex_ASC = "transaction_transactionIndex_ASC",
8604
- transaction_transactionIndex_ASC_NULLS_FIRST = "transaction_transactionIndex_ASC_NULLS_FIRST",
8605
- transaction_transactionIndex_ASC_NULLS_LAST = "transaction_transactionIndex_ASC_NULLS_LAST",
8606
- transaction_transactionIndex_DESC = "transaction_transactionIndex_DESC",
8607
- transaction_transactionIndex_DESC_NULLS_FIRST = "transaction_transactionIndex_DESC_NULLS_FIRST",
8608
- transaction_transactionIndex_DESC_NULLS_LAST = "transaction_transactionIndex_DESC_NULLS_LAST"
8599
+ transactionHash_ASC = "transactionHash_ASC",
8600
+ transactionHash_ASC_NULLS_FIRST = "transactionHash_ASC_NULLS_FIRST",
8601
+ transactionHash_ASC_NULLS_LAST = "transactionHash_ASC_NULLS_LAST",
8602
+ transactionHash_DESC = "transactionHash_DESC",
8603
+ transactionHash_DESC_NULLS_FIRST = "transactionHash_DESC_NULLS_FIRST",
8604
+ transactionHash_DESC_NULLS_LAST = "transactionHash_DESC_NULLS_LAST"
8609
8605
  }
8610
8606
  export interface SwapFeesInfoWhereInput {
8611
8607
  AND?: InputMaybe<Array<SwapFeesInfoWhereInput>>;
@@ -8705,8 +8701,23 @@ export interface SwapFeesInfoWhereInput {
8705
8701
  tokenPrice_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
8706
8702
  tokenPrice_not_eq?: InputMaybe<Scalars["BigInt"]["input"]>;
8707
8703
  tokenPrice_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
8708
- transaction?: InputMaybe<TransactionWhereInput>;
8709
- transaction_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
8704
+ transactionHash_contains?: InputMaybe<Scalars["String"]["input"]>;
8705
+ transactionHash_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
8706
+ transactionHash_endsWith?: InputMaybe<Scalars["String"]["input"]>;
8707
+ transactionHash_eq?: InputMaybe<Scalars["String"]["input"]>;
8708
+ transactionHash_gt?: InputMaybe<Scalars["String"]["input"]>;
8709
+ transactionHash_gte?: InputMaybe<Scalars["String"]["input"]>;
8710
+ transactionHash_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
8711
+ transactionHash_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
8712
+ transactionHash_lt?: InputMaybe<Scalars["String"]["input"]>;
8713
+ transactionHash_lte?: InputMaybe<Scalars["String"]["input"]>;
8714
+ transactionHash_not_contains?: InputMaybe<Scalars["String"]["input"]>;
8715
+ transactionHash_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
8716
+ transactionHash_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
8717
+ transactionHash_not_eq?: InputMaybe<Scalars["String"]["input"]>;
8718
+ transactionHash_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
8719
+ transactionHash_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
8720
+ transactionHash_startsWith?: InputMaybe<Scalars["String"]["input"]>;
8710
8721
  }
8711
8722
  export interface SwapFeesInfoWithPeriod {
8712
8723
  __typename?: "SwapFeesInfoWithPeriod";
@@ -8844,7 +8855,7 @@ export interface SwapInfo {
8844
8855
  tokenInPrice: Scalars["BigInt"]["output"];
8845
8856
  tokenOutAddress: Scalars["String"]["output"];
8846
8857
  tokenOutPrice: Scalars["BigInt"]["output"];
8847
- transaction: Transaction;
8858
+ transactionHash: Scalars["String"]["output"];
8848
8859
  }
8849
8860
  export interface SwapInfoEdge {
8850
8861
  __typename?: "SwapInfoEdge";
@@ -8924,48 +8935,12 @@ export declare enum SwapInfoOrderByInput {
8924
8935
  tokenOutPrice_DESC = "tokenOutPrice_DESC",
8925
8936
  tokenOutPrice_DESC_NULLS_FIRST = "tokenOutPrice_DESC_NULLS_FIRST",
8926
8937
  tokenOutPrice_DESC_NULLS_LAST = "tokenOutPrice_DESC_NULLS_LAST",
8927
- transaction_blockNumber_ASC = "transaction_blockNumber_ASC",
8928
- transaction_blockNumber_ASC_NULLS_FIRST = "transaction_blockNumber_ASC_NULLS_FIRST",
8929
- transaction_blockNumber_ASC_NULLS_LAST = "transaction_blockNumber_ASC_NULLS_LAST",
8930
- transaction_blockNumber_DESC = "transaction_blockNumber_DESC",
8931
- transaction_blockNumber_DESC_NULLS_FIRST = "transaction_blockNumber_DESC_NULLS_FIRST",
8932
- transaction_blockNumber_DESC_NULLS_LAST = "transaction_blockNumber_DESC_NULLS_LAST",
8933
- transaction_from_ASC = "transaction_from_ASC",
8934
- transaction_from_ASC_NULLS_FIRST = "transaction_from_ASC_NULLS_FIRST",
8935
- transaction_from_ASC_NULLS_LAST = "transaction_from_ASC_NULLS_LAST",
8936
- transaction_from_DESC = "transaction_from_DESC",
8937
- transaction_from_DESC_NULLS_FIRST = "transaction_from_DESC_NULLS_FIRST",
8938
- transaction_from_DESC_NULLS_LAST = "transaction_from_DESC_NULLS_LAST",
8939
- transaction_hash_ASC = "transaction_hash_ASC",
8940
- transaction_hash_ASC_NULLS_FIRST = "transaction_hash_ASC_NULLS_FIRST",
8941
- transaction_hash_ASC_NULLS_LAST = "transaction_hash_ASC_NULLS_LAST",
8942
- transaction_hash_DESC = "transaction_hash_DESC",
8943
- transaction_hash_DESC_NULLS_FIRST = "transaction_hash_DESC_NULLS_FIRST",
8944
- transaction_hash_DESC_NULLS_LAST = "transaction_hash_DESC_NULLS_LAST",
8945
- transaction_id_ASC = "transaction_id_ASC",
8946
- transaction_id_ASC_NULLS_FIRST = "transaction_id_ASC_NULLS_FIRST",
8947
- transaction_id_ASC_NULLS_LAST = "transaction_id_ASC_NULLS_LAST",
8948
- transaction_id_DESC = "transaction_id_DESC",
8949
- transaction_id_DESC_NULLS_FIRST = "transaction_id_DESC_NULLS_FIRST",
8950
- transaction_id_DESC_NULLS_LAST = "transaction_id_DESC_NULLS_LAST",
8951
- transaction_timestamp_ASC = "transaction_timestamp_ASC",
8952
- transaction_timestamp_ASC_NULLS_FIRST = "transaction_timestamp_ASC_NULLS_FIRST",
8953
- transaction_timestamp_ASC_NULLS_LAST = "transaction_timestamp_ASC_NULLS_LAST",
8954
- transaction_timestamp_DESC = "transaction_timestamp_DESC",
8955
- transaction_timestamp_DESC_NULLS_FIRST = "transaction_timestamp_DESC_NULLS_FIRST",
8956
- transaction_timestamp_DESC_NULLS_LAST = "transaction_timestamp_DESC_NULLS_LAST",
8957
- transaction_to_ASC = "transaction_to_ASC",
8958
- transaction_to_ASC_NULLS_FIRST = "transaction_to_ASC_NULLS_FIRST",
8959
- transaction_to_ASC_NULLS_LAST = "transaction_to_ASC_NULLS_LAST",
8960
- transaction_to_DESC = "transaction_to_DESC",
8961
- transaction_to_DESC_NULLS_FIRST = "transaction_to_DESC_NULLS_FIRST",
8962
- transaction_to_DESC_NULLS_LAST = "transaction_to_DESC_NULLS_LAST",
8963
- transaction_transactionIndex_ASC = "transaction_transactionIndex_ASC",
8964
- transaction_transactionIndex_ASC_NULLS_FIRST = "transaction_transactionIndex_ASC_NULLS_FIRST",
8965
- transaction_transactionIndex_ASC_NULLS_LAST = "transaction_transactionIndex_ASC_NULLS_LAST",
8966
- transaction_transactionIndex_DESC = "transaction_transactionIndex_DESC",
8967
- transaction_transactionIndex_DESC_NULLS_FIRST = "transaction_transactionIndex_DESC_NULLS_FIRST",
8968
- transaction_transactionIndex_DESC_NULLS_LAST = "transaction_transactionIndex_DESC_NULLS_LAST"
8938
+ transactionHash_ASC = "transactionHash_ASC",
8939
+ transactionHash_ASC_NULLS_FIRST = "transactionHash_ASC_NULLS_FIRST",
8940
+ transactionHash_ASC_NULLS_LAST = "transactionHash_ASC_NULLS_LAST",
8941
+ transactionHash_DESC = "transactionHash_DESC",
8942
+ transactionHash_DESC_NULLS_FIRST = "transactionHash_DESC_NULLS_FIRST",
8943
+ transactionHash_DESC_NULLS_LAST = "transactionHash_DESC_NULLS_LAST"
8969
8944
  }
8970
8945
  export interface SwapInfoWhereInput {
8971
8946
  AND?: InputMaybe<Array<SwapInfoWhereInput>>;
@@ -9126,8 +9101,23 @@ export interface SwapInfoWhereInput {
9126
9101
  tokenOutPrice_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
9127
9102
  tokenOutPrice_not_eq?: InputMaybe<Scalars["BigInt"]["input"]>;
9128
9103
  tokenOutPrice_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
9129
- transaction?: InputMaybe<TransactionWhereInput>;
9130
- transaction_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
9104
+ transactionHash_contains?: InputMaybe<Scalars["String"]["input"]>;
9105
+ transactionHash_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
9106
+ transactionHash_endsWith?: InputMaybe<Scalars["String"]["input"]>;
9107
+ transactionHash_eq?: InputMaybe<Scalars["String"]["input"]>;
9108
+ transactionHash_gt?: InputMaybe<Scalars["String"]["input"]>;
9109
+ transactionHash_gte?: InputMaybe<Scalars["String"]["input"]>;
9110
+ transactionHash_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
9111
+ transactionHash_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
9112
+ transactionHash_lt?: InputMaybe<Scalars["String"]["input"]>;
9113
+ transactionHash_lte?: InputMaybe<Scalars["String"]["input"]>;
9114
+ transactionHash_not_contains?: InputMaybe<Scalars["String"]["input"]>;
9115
+ transactionHash_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
9116
+ transactionHash_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
9117
+ transactionHash_not_eq?: InputMaybe<Scalars["String"]["input"]>;
9118
+ transactionHash_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
9119
+ transactionHash_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
9120
+ transactionHash_startsWith?: InputMaybe<Scalars["String"]["input"]>;
9131
9121
  }
9132
9122
  export interface SwapInfosConnection {
9133
9123
  __typename?: "SwapInfosConnection";
@@ -9326,7 +9316,7 @@ export interface TradeAction {
9326
9316
  swapPath: Array<Scalars["String"]["output"]>;
9327
9317
  timestamp: Scalars["Int"]["output"];
9328
9318
  totalImpactUsd?: Maybe<Scalars["BigInt"]["output"]>;
9329
- transaction: Transaction;
9319
+ transactionHash: Scalars["String"]["output"];
9330
9320
  triggerPrice?: Maybe<Scalars["BigInt"]["output"]>;
9331
9321
  twapGroupId?: Maybe<Scalars["String"]["output"]>;
9332
9322
  uiFeeReceiver: Scalars["String"]["output"];
@@ -9577,48 +9567,12 @@ export declare enum TradeActionOrderByInput {
9577
9567
  totalImpactUsd_DESC = "totalImpactUsd_DESC",
9578
9568
  totalImpactUsd_DESC_NULLS_FIRST = "totalImpactUsd_DESC_NULLS_FIRST",
9579
9569
  totalImpactUsd_DESC_NULLS_LAST = "totalImpactUsd_DESC_NULLS_LAST",
9580
- transaction_blockNumber_ASC = "transaction_blockNumber_ASC",
9581
- transaction_blockNumber_ASC_NULLS_FIRST = "transaction_blockNumber_ASC_NULLS_FIRST",
9582
- transaction_blockNumber_ASC_NULLS_LAST = "transaction_blockNumber_ASC_NULLS_LAST",
9583
- transaction_blockNumber_DESC = "transaction_blockNumber_DESC",
9584
- transaction_blockNumber_DESC_NULLS_FIRST = "transaction_blockNumber_DESC_NULLS_FIRST",
9585
- transaction_blockNumber_DESC_NULLS_LAST = "transaction_blockNumber_DESC_NULLS_LAST",
9586
- transaction_from_ASC = "transaction_from_ASC",
9587
- transaction_from_ASC_NULLS_FIRST = "transaction_from_ASC_NULLS_FIRST",
9588
- transaction_from_ASC_NULLS_LAST = "transaction_from_ASC_NULLS_LAST",
9589
- transaction_from_DESC = "transaction_from_DESC",
9590
- transaction_from_DESC_NULLS_FIRST = "transaction_from_DESC_NULLS_FIRST",
9591
- transaction_from_DESC_NULLS_LAST = "transaction_from_DESC_NULLS_LAST",
9592
- transaction_hash_ASC = "transaction_hash_ASC",
9593
- transaction_hash_ASC_NULLS_FIRST = "transaction_hash_ASC_NULLS_FIRST",
9594
- transaction_hash_ASC_NULLS_LAST = "transaction_hash_ASC_NULLS_LAST",
9595
- transaction_hash_DESC = "transaction_hash_DESC",
9596
- transaction_hash_DESC_NULLS_FIRST = "transaction_hash_DESC_NULLS_FIRST",
9597
- transaction_hash_DESC_NULLS_LAST = "transaction_hash_DESC_NULLS_LAST",
9598
- transaction_id_ASC = "transaction_id_ASC",
9599
- transaction_id_ASC_NULLS_FIRST = "transaction_id_ASC_NULLS_FIRST",
9600
- transaction_id_ASC_NULLS_LAST = "transaction_id_ASC_NULLS_LAST",
9601
- transaction_id_DESC = "transaction_id_DESC",
9602
- transaction_id_DESC_NULLS_FIRST = "transaction_id_DESC_NULLS_FIRST",
9603
- transaction_id_DESC_NULLS_LAST = "transaction_id_DESC_NULLS_LAST",
9604
- transaction_timestamp_ASC = "transaction_timestamp_ASC",
9605
- transaction_timestamp_ASC_NULLS_FIRST = "transaction_timestamp_ASC_NULLS_FIRST",
9606
- transaction_timestamp_ASC_NULLS_LAST = "transaction_timestamp_ASC_NULLS_LAST",
9607
- transaction_timestamp_DESC = "transaction_timestamp_DESC",
9608
- transaction_timestamp_DESC_NULLS_FIRST = "transaction_timestamp_DESC_NULLS_FIRST",
9609
- transaction_timestamp_DESC_NULLS_LAST = "transaction_timestamp_DESC_NULLS_LAST",
9610
- transaction_to_ASC = "transaction_to_ASC",
9611
- transaction_to_ASC_NULLS_FIRST = "transaction_to_ASC_NULLS_FIRST",
9612
- transaction_to_ASC_NULLS_LAST = "transaction_to_ASC_NULLS_LAST",
9613
- transaction_to_DESC = "transaction_to_DESC",
9614
- transaction_to_DESC_NULLS_FIRST = "transaction_to_DESC_NULLS_FIRST",
9615
- transaction_to_DESC_NULLS_LAST = "transaction_to_DESC_NULLS_LAST",
9616
- transaction_transactionIndex_ASC = "transaction_transactionIndex_ASC",
9617
- transaction_transactionIndex_ASC_NULLS_FIRST = "transaction_transactionIndex_ASC_NULLS_FIRST",
9618
- transaction_transactionIndex_ASC_NULLS_LAST = "transaction_transactionIndex_ASC_NULLS_LAST",
9619
- transaction_transactionIndex_DESC = "transaction_transactionIndex_DESC",
9620
- transaction_transactionIndex_DESC_NULLS_FIRST = "transaction_transactionIndex_DESC_NULLS_FIRST",
9621
- transaction_transactionIndex_DESC_NULLS_LAST = "transaction_transactionIndex_DESC_NULLS_LAST",
9570
+ transactionHash_ASC = "transactionHash_ASC",
9571
+ transactionHash_ASC_NULLS_FIRST = "transactionHash_ASC_NULLS_FIRST",
9572
+ transactionHash_ASC_NULLS_LAST = "transactionHash_ASC_NULLS_LAST",
9573
+ transactionHash_DESC = "transactionHash_DESC",
9574
+ transactionHash_DESC_NULLS_FIRST = "transactionHash_DESC_NULLS_FIRST",
9575
+ transactionHash_DESC_NULLS_LAST = "transactionHash_DESC_NULLS_LAST",
9622
9576
  triggerPrice_ASC = "triggerPrice_ASC",
9623
9577
  triggerPrice_ASC_NULLS_FIRST = "triggerPrice_ASC_NULLS_FIRST",
9624
9578
  triggerPrice_ASC_NULLS_LAST = "triggerPrice_ASC_NULLS_LAST",
@@ -10057,8 +10011,23 @@ export interface TradeActionWhereInput {
10057
10011
  totalImpactUsd_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
10058
10012
  totalImpactUsd_not_eq?: InputMaybe<Scalars["BigInt"]["input"]>;
10059
10013
  totalImpactUsd_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
10060
- transaction?: InputMaybe<TransactionWhereInput>;
10061
- transaction_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
10014
+ transactionHash_contains?: InputMaybe<Scalars["String"]["input"]>;
10015
+ transactionHash_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
10016
+ transactionHash_endsWith?: InputMaybe<Scalars["String"]["input"]>;
10017
+ transactionHash_eq?: InputMaybe<Scalars["String"]["input"]>;
10018
+ transactionHash_gt?: InputMaybe<Scalars["String"]["input"]>;
10019
+ transactionHash_gte?: InputMaybe<Scalars["String"]["input"]>;
10020
+ transactionHash_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
10021
+ transactionHash_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
10022
+ transactionHash_lt?: InputMaybe<Scalars["String"]["input"]>;
10023
+ transactionHash_lte?: InputMaybe<Scalars["String"]["input"]>;
10024
+ transactionHash_not_contains?: InputMaybe<Scalars["String"]["input"]>;
10025
+ transactionHash_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
10026
+ transactionHash_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
10027
+ transactionHash_not_eq?: InputMaybe<Scalars["String"]["input"]>;
10028
+ transactionHash_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
10029
+ transactionHash_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
10030
+ transactionHash_startsWith?: InputMaybe<Scalars["String"]["input"]>;
10062
10031
  triggerPrice_eq?: InputMaybe<Scalars["BigInt"]["input"]>;
10063
10032
  triggerPrice_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
10064
10033
  triggerPrice_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
@@ -10109,170 +10078,6 @@ export interface TradeActionsConnection {
10109
10078
  pageInfo: PageInfo;
10110
10079
  totalCount: Scalars["Int"]["output"];
10111
10080
  }
10112
- export interface Transaction {
10113
- __typename?: "Transaction";
10114
- blockNumber: Scalars["Int"]["output"];
10115
- from: Scalars["String"]["output"];
10116
- hash: Scalars["String"]["output"];
10117
- id: Scalars["String"]["output"];
10118
- timestamp: Scalars["Int"]["output"];
10119
- to: Scalars["String"]["output"];
10120
- transactionIndex: Scalars["Int"]["output"];
10121
- }
10122
- export interface TransactionEdge {
10123
- __typename?: "TransactionEdge";
10124
- cursor: Scalars["String"]["output"];
10125
- node: Transaction;
10126
- }
10127
- export declare enum TransactionOrderByInput {
10128
- blockNumber_ASC = "blockNumber_ASC",
10129
- blockNumber_ASC_NULLS_FIRST = "blockNumber_ASC_NULLS_FIRST",
10130
- blockNumber_ASC_NULLS_LAST = "blockNumber_ASC_NULLS_LAST",
10131
- blockNumber_DESC = "blockNumber_DESC",
10132
- blockNumber_DESC_NULLS_FIRST = "blockNumber_DESC_NULLS_FIRST",
10133
- blockNumber_DESC_NULLS_LAST = "blockNumber_DESC_NULLS_LAST",
10134
- from_ASC = "from_ASC",
10135
- from_ASC_NULLS_FIRST = "from_ASC_NULLS_FIRST",
10136
- from_ASC_NULLS_LAST = "from_ASC_NULLS_LAST",
10137
- from_DESC = "from_DESC",
10138
- from_DESC_NULLS_FIRST = "from_DESC_NULLS_FIRST",
10139
- from_DESC_NULLS_LAST = "from_DESC_NULLS_LAST",
10140
- hash_ASC = "hash_ASC",
10141
- hash_ASC_NULLS_FIRST = "hash_ASC_NULLS_FIRST",
10142
- hash_ASC_NULLS_LAST = "hash_ASC_NULLS_LAST",
10143
- hash_DESC = "hash_DESC",
10144
- hash_DESC_NULLS_FIRST = "hash_DESC_NULLS_FIRST",
10145
- hash_DESC_NULLS_LAST = "hash_DESC_NULLS_LAST",
10146
- id_ASC = "id_ASC",
10147
- id_ASC_NULLS_FIRST = "id_ASC_NULLS_FIRST",
10148
- id_ASC_NULLS_LAST = "id_ASC_NULLS_LAST",
10149
- id_DESC = "id_DESC",
10150
- id_DESC_NULLS_FIRST = "id_DESC_NULLS_FIRST",
10151
- id_DESC_NULLS_LAST = "id_DESC_NULLS_LAST",
10152
- timestamp_ASC = "timestamp_ASC",
10153
- timestamp_ASC_NULLS_FIRST = "timestamp_ASC_NULLS_FIRST",
10154
- timestamp_ASC_NULLS_LAST = "timestamp_ASC_NULLS_LAST",
10155
- timestamp_DESC = "timestamp_DESC",
10156
- timestamp_DESC_NULLS_FIRST = "timestamp_DESC_NULLS_FIRST",
10157
- timestamp_DESC_NULLS_LAST = "timestamp_DESC_NULLS_LAST",
10158
- to_ASC = "to_ASC",
10159
- to_ASC_NULLS_FIRST = "to_ASC_NULLS_FIRST",
10160
- to_ASC_NULLS_LAST = "to_ASC_NULLS_LAST",
10161
- to_DESC = "to_DESC",
10162
- to_DESC_NULLS_FIRST = "to_DESC_NULLS_FIRST",
10163
- to_DESC_NULLS_LAST = "to_DESC_NULLS_LAST",
10164
- transactionIndex_ASC = "transactionIndex_ASC",
10165
- transactionIndex_ASC_NULLS_FIRST = "transactionIndex_ASC_NULLS_FIRST",
10166
- transactionIndex_ASC_NULLS_LAST = "transactionIndex_ASC_NULLS_LAST",
10167
- transactionIndex_DESC = "transactionIndex_DESC",
10168
- transactionIndex_DESC_NULLS_FIRST = "transactionIndex_DESC_NULLS_FIRST",
10169
- transactionIndex_DESC_NULLS_LAST = "transactionIndex_DESC_NULLS_LAST"
10170
- }
10171
- export interface TransactionWhereInput {
10172
- AND?: InputMaybe<Array<TransactionWhereInput>>;
10173
- OR?: InputMaybe<Array<TransactionWhereInput>>;
10174
- blockNumber_eq?: InputMaybe<Scalars["Int"]["input"]>;
10175
- blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
10176
- blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
10177
- blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10178
- blockNumber_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
10179
- blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
10180
- blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
10181
- blockNumber_not_eq?: InputMaybe<Scalars["Int"]["input"]>;
10182
- blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10183
- from_contains?: InputMaybe<Scalars["String"]["input"]>;
10184
- from_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
10185
- from_endsWith?: InputMaybe<Scalars["String"]["input"]>;
10186
- from_eq?: InputMaybe<Scalars["String"]["input"]>;
10187
- from_gt?: InputMaybe<Scalars["String"]["input"]>;
10188
- from_gte?: InputMaybe<Scalars["String"]["input"]>;
10189
- from_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
10190
- from_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
10191
- from_lt?: InputMaybe<Scalars["String"]["input"]>;
10192
- from_lte?: InputMaybe<Scalars["String"]["input"]>;
10193
- from_not_contains?: InputMaybe<Scalars["String"]["input"]>;
10194
- from_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
10195
- from_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
10196
- from_not_eq?: InputMaybe<Scalars["String"]["input"]>;
10197
- from_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
10198
- from_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
10199
- from_startsWith?: InputMaybe<Scalars["String"]["input"]>;
10200
- hash_contains?: InputMaybe<Scalars["String"]["input"]>;
10201
- hash_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
10202
- hash_endsWith?: InputMaybe<Scalars["String"]["input"]>;
10203
- hash_eq?: InputMaybe<Scalars["String"]["input"]>;
10204
- hash_gt?: InputMaybe<Scalars["String"]["input"]>;
10205
- hash_gte?: InputMaybe<Scalars["String"]["input"]>;
10206
- hash_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
10207
- hash_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
10208
- hash_lt?: InputMaybe<Scalars["String"]["input"]>;
10209
- hash_lte?: InputMaybe<Scalars["String"]["input"]>;
10210
- hash_not_contains?: InputMaybe<Scalars["String"]["input"]>;
10211
- hash_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
10212
- hash_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
10213
- hash_not_eq?: InputMaybe<Scalars["String"]["input"]>;
10214
- hash_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
10215
- hash_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
10216
- hash_startsWith?: InputMaybe<Scalars["String"]["input"]>;
10217
- id_contains?: InputMaybe<Scalars["String"]["input"]>;
10218
- id_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
10219
- id_endsWith?: InputMaybe<Scalars["String"]["input"]>;
10220
- id_eq?: InputMaybe<Scalars["String"]["input"]>;
10221
- id_gt?: InputMaybe<Scalars["String"]["input"]>;
10222
- id_gte?: InputMaybe<Scalars["String"]["input"]>;
10223
- id_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
10224
- id_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
10225
- id_lt?: InputMaybe<Scalars["String"]["input"]>;
10226
- id_lte?: InputMaybe<Scalars["String"]["input"]>;
10227
- id_not_contains?: InputMaybe<Scalars["String"]["input"]>;
10228
- id_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
10229
- id_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
10230
- id_not_eq?: InputMaybe<Scalars["String"]["input"]>;
10231
- id_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
10232
- id_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
10233
- id_startsWith?: InputMaybe<Scalars["String"]["input"]>;
10234
- timestamp_eq?: InputMaybe<Scalars["Int"]["input"]>;
10235
- timestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
10236
- timestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
10237
- timestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10238
- timestamp_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
10239
- timestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
10240
- timestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
10241
- timestamp_not_eq?: InputMaybe<Scalars["Int"]["input"]>;
10242
- timestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10243
- to_contains?: InputMaybe<Scalars["String"]["input"]>;
10244
- to_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
10245
- to_endsWith?: InputMaybe<Scalars["String"]["input"]>;
10246
- to_eq?: InputMaybe<Scalars["String"]["input"]>;
10247
- to_gt?: InputMaybe<Scalars["String"]["input"]>;
10248
- to_gte?: InputMaybe<Scalars["String"]["input"]>;
10249
- to_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
10250
- to_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
10251
- to_lt?: InputMaybe<Scalars["String"]["input"]>;
10252
- to_lte?: InputMaybe<Scalars["String"]["input"]>;
10253
- to_not_contains?: InputMaybe<Scalars["String"]["input"]>;
10254
- to_not_containsInsensitive?: InputMaybe<Scalars["String"]["input"]>;
10255
- to_not_endsWith?: InputMaybe<Scalars["String"]["input"]>;
10256
- to_not_eq?: InputMaybe<Scalars["String"]["input"]>;
10257
- to_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
10258
- to_not_startsWith?: InputMaybe<Scalars["String"]["input"]>;
10259
- to_startsWith?: InputMaybe<Scalars["String"]["input"]>;
10260
- transactionIndex_eq?: InputMaybe<Scalars["Int"]["input"]>;
10261
- transactionIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
10262
- transactionIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
10263
- transactionIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10264
- transactionIndex_isNull?: InputMaybe<Scalars["Boolean"]["input"]>;
10265
- transactionIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
10266
- transactionIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
10267
- transactionIndex_not_eq?: InputMaybe<Scalars["Int"]["input"]>;
10268
- transactionIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10269
- }
10270
- export interface TransactionsConnection {
10271
- __typename?: "TransactionsConnection";
10272
- edges: Array<TransactionEdge>;
10273
- pageInfo: PageInfo;
10274
- totalCount: Scalars["Int"]["output"];
10275
- }
10276
10081
  export interface VolumeInfo {
10277
10082
  __typename?: "VolumeInfo";
10278
10083
  depositVolumeUsd: Scalars["BigInt"]["output"];