-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.graphql
4693 lines (4464 loc) · 145 KB
/
schema.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
"""
Marks the GraphQL type as indexable entity. Each type that should be an entity
is required to be annotated with this directive.
"""
directive @entity on OBJECT
"""Defined a Subgraph ID for an object type"""
directive @subgraphId(id: String!) on OBJECT
"""
creates a virtual field on the entity that may be queried but cannot be set manually through the mappings API.
"""
directive @derivedFrom(field: String!) on FIELD_DEFINITION
type _Block_ {
"""The hash of the block"""
hash: Bytes
"""The block number"""
number: Int!
"""Integer representation of the timestamp stored in blocks for the chain"""
timestamp: Int
}
"""The type for the top-level _meta field"""
type _Meta_ {
"""
Information about a specific subgraph block. The hash of the block
will be null if the _meta field has a block constraint that asks for
a block number. It will be filled if the _meta field has no block constraint
and therefore asks for the latest block
"""
block: _Block_!
"""The deployment ID"""
deployment: String!
"""If `true`, the subgraph encountered indexing errors at some past block"""
hasIndexingErrors: Boolean!
}
enum _SubgraphErrorPolicy_ {
"""Data will be returned even if the subgraph has indexing errors"""
allow
"""
If the subgraph has indexing errors, data will be omitted. The default.
"""
deny
}
type Account {
id: Bytes!
address: Bytes!
user: User!
type: String!
vaultId: BigInt!
createPositionEvents(skip: Int = 0, first: Int = 100, orderBy: CreatePositionEvent_orderBy, orderDirection: OrderDirection, where: CreatePositionEvent_filter): [CreatePositionEvent!]!
summerEvents(skip: Int = 0, first: Int = 100, orderBy: SummerEvent_orderBy, orderDirection: OrderDirection, where: SummerEvent_filter): [SummerEvent!]!
feePaids(skip: Int = 0, first: Int = 100, orderBy: FeePaid_orderBy, orderDirection: OrderDirection, where: FeePaid_filter): [FeePaid!]!
automationEvents(skip: Int = 0, first: Int = 100, orderBy: TriggerEvent_orderBy, orderDirection: OrderDirection, where: TriggerEvent_filter): [TriggerEvent!]!
swaps(skip: Int = 0, first: Int = 100, orderBy: AssetSwap_orderBy, orderDirection: OrderDirection, where: AssetSwap_filter): [AssetSwap!]!
positions(skip: Int = 0, first: Int = 100, orderBy: Position_orderBy, orderDirection: OrderDirection, where: Position_filter): [Position!]!
latestCreatePositionEvent: CreatePositionEvent
}
input Account_filter {
id: Bytes
id_not: Bytes
id_gt: Bytes
id_lt: Bytes
id_gte: Bytes
id_lte: Bytes
id_in: [Bytes!]
id_not_in: [Bytes!]
id_contains: Bytes
id_not_contains: Bytes
address: Bytes
address_not: Bytes
address_gt: Bytes
address_lt: Bytes
address_gte: Bytes
address_lte: Bytes
address_in: [Bytes!]
address_not_in: [Bytes!]
address_contains: Bytes
address_not_contains: Bytes
user: String
user_not: String
user_gt: String
user_lt: String
user_gte: String
user_lte: String
user_in: [String!]
user_not_in: [String!]
user_contains: String
user_contains_nocase: String
user_not_contains: String
user_not_contains_nocase: String
user_starts_with: String
user_starts_with_nocase: String
user_not_starts_with: String
user_not_starts_with_nocase: String
user_ends_with: String
user_ends_with_nocase: String
user_not_ends_with: String
user_not_ends_with_nocase: String
user_: User_filter
type: String
type_not: String
type_gt: String
type_lt: String
type_gte: String
type_lte: String
type_in: [String!]
type_not_in: [String!]
type_contains: String
type_contains_nocase: String
type_not_contains: String
type_not_contains_nocase: String
type_starts_with: String
type_starts_with_nocase: String
type_not_starts_with: String
type_not_starts_with_nocase: String
type_ends_with: String
type_ends_with_nocase: String
type_not_ends_with: String
type_not_ends_with_nocase: String
vaultId: BigInt
vaultId_not: BigInt
vaultId_gt: BigInt
vaultId_lt: BigInt
vaultId_gte: BigInt
vaultId_lte: BigInt
vaultId_in: [BigInt!]
vaultId_not_in: [BigInt!]
createPositionEvents_: CreatePositionEvent_filter
summerEvents_: SummerEvent_filter
feePaids_: FeePaid_filter
automationEvents_: TriggerEvent_filter
swaps_: AssetSwap_filter
positions_: Position_filter
latestCreatePositionEvent: String
latestCreatePositionEvent_not: String
latestCreatePositionEvent_gt: String
latestCreatePositionEvent_lt: String
latestCreatePositionEvent_gte: String
latestCreatePositionEvent_lte: String
latestCreatePositionEvent_in: [String!]
latestCreatePositionEvent_not_in: [String!]
latestCreatePositionEvent_contains: String
latestCreatePositionEvent_contains_nocase: String
latestCreatePositionEvent_not_contains: String
latestCreatePositionEvent_not_contains_nocase: String
latestCreatePositionEvent_starts_with: String
latestCreatePositionEvent_starts_with_nocase: String
latestCreatePositionEvent_not_starts_with: String
latestCreatePositionEvent_not_starts_with_nocase: String
latestCreatePositionEvent_ends_with: String
latestCreatePositionEvent_ends_with_nocase: String
latestCreatePositionEvent_not_ends_with: String
latestCreatePositionEvent_not_ends_with_nocase: String
latestCreatePositionEvent_: CreatePositionEvent_filter
"""Filter for the block changed event."""
_change_block: BlockChangedFilter
and: [Account_filter]
or: [Account_filter]
}
enum Account_orderBy {
id
address
user
user__id
user__openPositions
type
vaultId
createPositionEvents
summerEvents
feePaids
automationEvents
swaps
positions
latestCreatePositionEvent
latestCreatePositionEvent__id
latestCreatePositionEvent__blockNumber
latestCreatePositionEvent__timestamp
latestCreatePositionEvent__txHash
latestCreatePositionEvent__logIndex
latestCreatePositionEvent__protocol
latestCreatePositionEvent__positionType
latestCreatePositionEvent__marketId
}
type AssetSwap {
id: Bytes!
assetIn: Token!
assetOut: Token!
amountIn: BigInt!
amountOut: BigInt!
assetInPrice: BigDecimal!
oracle: String!
amountInUSD: BigDecimal!
mainEventHash: SummerEvent
user: User!
proxy: Account!
timestamp: BigInt!
block: BigInt!
}
input AssetSwap_filter {
id: Bytes
id_not: Bytes
id_gt: Bytes
id_lt: Bytes
id_gte: Bytes
id_lte: Bytes
id_in: [Bytes!]
id_not_in: [Bytes!]
id_contains: Bytes
id_not_contains: Bytes
assetIn: String
assetIn_not: String
assetIn_gt: String
assetIn_lt: String
assetIn_gte: String
assetIn_lte: String
assetIn_in: [String!]
assetIn_not_in: [String!]
assetIn_contains: String
assetIn_contains_nocase: String
assetIn_not_contains: String
assetIn_not_contains_nocase: String
assetIn_starts_with: String
assetIn_starts_with_nocase: String
assetIn_not_starts_with: String
assetIn_not_starts_with_nocase: String
assetIn_ends_with: String
assetIn_ends_with_nocase: String
assetIn_not_ends_with: String
assetIn_not_ends_with_nocase: String
assetIn_: Token_filter
assetOut: String
assetOut_not: String
assetOut_gt: String
assetOut_lt: String
assetOut_gte: String
assetOut_lte: String
assetOut_in: [String!]
assetOut_not_in: [String!]
assetOut_contains: String
assetOut_contains_nocase: String
assetOut_not_contains: String
assetOut_not_contains_nocase: String
assetOut_starts_with: String
assetOut_starts_with_nocase: String
assetOut_not_starts_with: String
assetOut_not_starts_with_nocase: String
assetOut_ends_with: String
assetOut_ends_with_nocase: String
assetOut_not_ends_with: String
assetOut_not_ends_with_nocase: String
assetOut_: Token_filter
amountIn: BigInt
amountIn_not: BigInt
amountIn_gt: BigInt
amountIn_lt: BigInt
amountIn_gte: BigInt
amountIn_lte: BigInt
amountIn_in: [BigInt!]
amountIn_not_in: [BigInt!]
amountOut: BigInt
amountOut_not: BigInt
amountOut_gt: BigInt
amountOut_lt: BigInt
amountOut_gte: BigInt
amountOut_lte: BigInt
amountOut_in: [BigInt!]
amountOut_not_in: [BigInt!]
assetInPrice: BigDecimal
assetInPrice_not: BigDecimal
assetInPrice_gt: BigDecimal
assetInPrice_lt: BigDecimal
assetInPrice_gte: BigDecimal
assetInPrice_lte: BigDecimal
assetInPrice_in: [BigDecimal!]
assetInPrice_not_in: [BigDecimal!]
oracle: String
oracle_not: String
oracle_gt: String
oracle_lt: String
oracle_gte: String
oracle_lte: String
oracle_in: [String!]
oracle_not_in: [String!]
oracle_contains: String
oracle_contains_nocase: String
oracle_not_contains: String
oracle_not_contains_nocase: String
oracle_starts_with: String
oracle_starts_with_nocase: String
oracle_not_starts_with: String
oracle_not_starts_with_nocase: String
oracle_ends_with: String
oracle_ends_with_nocase: String
oracle_not_ends_with: String
oracle_not_ends_with_nocase: String
amountInUSD: BigDecimal
amountInUSD_not: BigDecimal
amountInUSD_gt: BigDecimal
amountInUSD_lt: BigDecimal
amountInUSD_gte: BigDecimal
amountInUSD_lte: BigDecimal
amountInUSD_in: [BigDecimal!]
amountInUSD_not_in: [BigDecimal!]
mainEventHash: String
mainEventHash_not: String
mainEventHash_gt: String
mainEventHash_lt: String
mainEventHash_gte: String
mainEventHash_lte: String
mainEventHash_in: [String!]
mainEventHash_not_in: [String!]
mainEventHash_contains: String
mainEventHash_contains_nocase: String
mainEventHash_not_contains: String
mainEventHash_not_contains_nocase: String
mainEventHash_starts_with: String
mainEventHash_starts_with_nocase: String
mainEventHash_not_starts_with: String
mainEventHash_not_starts_with_nocase: String
mainEventHash_ends_with: String
mainEventHash_ends_with_nocase: String
mainEventHash_not_ends_with: String
mainEventHash_not_ends_with_nocase: String
mainEventHash_: SummerEvent_filter
user: String
user_not: String
user_gt: String
user_lt: String
user_gte: String
user_lte: String
user_in: [String!]
user_not_in: [String!]
user_contains: String
user_contains_nocase: String
user_not_contains: String
user_not_contains_nocase: String
user_starts_with: String
user_starts_with_nocase: String
user_not_starts_with: String
user_not_starts_with_nocase: String
user_ends_with: String
user_ends_with_nocase: String
user_not_ends_with: String
user_not_ends_with_nocase: String
user_: User_filter
proxy: String
proxy_not: String
proxy_gt: String
proxy_lt: String
proxy_gte: String
proxy_lte: String
proxy_in: [String!]
proxy_not_in: [String!]
proxy_contains: String
proxy_contains_nocase: String
proxy_not_contains: String
proxy_not_contains_nocase: String
proxy_starts_with: String
proxy_starts_with_nocase: String
proxy_not_starts_with: String
proxy_not_starts_with_nocase: String
proxy_ends_with: String
proxy_ends_with_nocase: String
proxy_not_ends_with: String
proxy_not_ends_with_nocase: String
proxy_: Account_filter
timestamp: BigInt
timestamp_not: BigInt
timestamp_gt: BigInt
timestamp_lt: BigInt
timestamp_gte: BigInt
timestamp_lte: BigInt
timestamp_in: [BigInt!]
timestamp_not_in: [BigInt!]
block: BigInt
block_not: BigInt
block_gt: BigInt
block_lt: BigInt
block_gte: BigInt
block_lte: BigInt
block_in: [BigInt!]
block_not_in: [BigInt!]
"""Filter for the block changed event."""
_change_block: BlockChangedFilter
and: [AssetSwap_filter]
or: [AssetSwap_filter]
}
enum AssetSwap_orderBy {
id
assetIn
assetIn__id
assetIn__address
assetIn__symbol
assetIn__decimals
assetIn__precision
assetOut
assetOut__id
assetOut__address
assetOut__symbol
assetOut__decimals
assetOut__precision
amountIn
amountOut
assetInPrice
oracle
amountInUSD
mainEventHash
mainEventHash__id
mainEventHash__blockNumber
mainEventHash__timestamp
mainEventHash__txHash
mainEventHash__logIndex
mainEventHash__sender
mainEventHash__kind
mainEventHash__depositedUSD
mainEventHash__withdrawnUSD
mainEventHash__deltaUSD
mainEventHash__feePaidUSD
mainEventHash__protocol
mainEventHash__marketId
mainEventHash__debtBefore
mainEventHash__debtInUSDBefore
mainEventHash__debtAfter
mainEventHash__debtInUSDAfter
mainEventHash__collateralBefore
mainEventHash__collateralInUSDBefore
mainEventHash__collateralAfter
mainEventHash__collateralInUSDAfter
mainEventHash__supplyBefore
mainEventHash__supplyInUSDBefore
mainEventHash__supplyAfter
mainEventHash__supplyInUSDAfter
mainEventHash__netValueBefore
mainEventHash__netValueAfter
mainEventHash__collateralTokenPriceInUSD
mainEventHash__debtTokenPriceInUSD
mainEventHash__supplyTokenPriceInUSD
user
user__id
user__openPositions
proxy
proxy__id
proxy__address
proxy__type
proxy__vaultId
timestamp
block
}
scalar BigDecimal
scalar BigInt
input Block_height {
hash: Bytes
number: Int
number_gte: Int
}
input BlockChangedFilter {
number_gte: Int!
}
scalar Bytes
type CreatePositionEvent {
id: Bytes!
blockNumber: BigInt!
timestamp: BigInt!
txHash: Bytes!
logIndex: BigInt!
protocol: String!
positionType: String!
debtToken: Token!
collateralToken: Token!
marketId: String
user: User!
account: Account!
}
input CreatePositionEvent_filter {
id: Bytes
id_not: Bytes
id_gt: Bytes
id_lt: Bytes
id_gte: Bytes
id_lte: Bytes
id_in: [Bytes!]
id_not_in: [Bytes!]
id_contains: Bytes
id_not_contains: Bytes
blockNumber: BigInt
blockNumber_not: BigInt
blockNumber_gt: BigInt
blockNumber_lt: BigInt
blockNumber_gte: BigInt
blockNumber_lte: BigInt
blockNumber_in: [BigInt!]
blockNumber_not_in: [BigInt!]
timestamp: BigInt
timestamp_not: BigInt
timestamp_gt: BigInt
timestamp_lt: BigInt
timestamp_gte: BigInt
timestamp_lte: BigInt
timestamp_in: [BigInt!]
timestamp_not_in: [BigInt!]
txHash: Bytes
txHash_not: Bytes
txHash_gt: Bytes
txHash_lt: Bytes
txHash_gte: Bytes
txHash_lte: Bytes
txHash_in: [Bytes!]
txHash_not_in: [Bytes!]
txHash_contains: Bytes
txHash_not_contains: Bytes
logIndex: BigInt
logIndex_not: BigInt
logIndex_gt: BigInt
logIndex_lt: BigInt
logIndex_gte: BigInt
logIndex_lte: BigInt
logIndex_in: [BigInt!]
logIndex_not_in: [BigInt!]
protocol: String
protocol_not: String
protocol_gt: String
protocol_lt: String
protocol_gte: String
protocol_lte: String
protocol_in: [String!]
protocol_not_in: [String!]
protocol_contains: String
protocol_contains_nocase: String
protocol_not_contains: String
protocol_not_contains_nocase: String
protocol_starts_with: String
protocol_starts_with_nocase: String
protocol_not_starts_with: String
protocol_not_starts_with_nocase: String
protocol_ends_with: String
protocol_ends_with_nocase: String
protocol_not_ends_with: String
protocol_not_ends_with_nocase: String
positionType: String
positionType_not: String
positionType_gt: String
positionType_lt: String
positionType_gte: String
positionType_lte: String
positionType_in: [String!]
positionType_not_in: [String!]
positionType_contains: String
positionType_contains_nocase: String
positionType_not_contains: String
positionType_not_contains_nocase: String
positionType_starts_with: String
positionType_starts_with_nocase: String
positionType_not_starts_with: String
positionType_not_starts_with_nocase: String
positionType_ends_with: String
positionType_ends_with_nocase: String
positionType_not_ends_with: String
positionType_not_ends_with_nocase: String
debtToken: String
debtToken_not: String
debtToken_gt: String
debtToken_lt: String
debtToken_gte: String
debtToken_lte: String
debtToken_in: [String!]
debtToken_not_in: [String!]
debtToken_contains: String
debtToken_contains_nocase: String
debtToken_not_contains: String
debtToken_not_contains_nocase: String
debtToken_starts_with: String
debtToken_starts_with_nocase: String
debtToken_not_starts_with: String
debtToken_not_starts_with_nocase: String
debtToken_ends_with: String
debtToken_ends_with_nocase: String
debtToken_not_ends_with: String
debtToken_not_ends_with_nocase: String
debtToken_: Token_filter
collateralToken: String
collateralToken_not: String
collateralToken_gt: String
collateralToken_lt: String
collateralToken_gte: String
collateralToken_lte: String
collateralToken_in: [String!]
collateralToken_not_in: [String!]
collateralToken_contains: String
collateralToken_contains_nocase: String
collateralToken_not_contains: String
collateralToken_not_contains_nocase: String
collateralToken_starts_with: String
collateralToken_starts_with_nocase: String
collateralToken_not_starts_with: String
collateralToken_not_starts_with_nocase: String
collateralToken_ends_with: String
collateralToken_ends_with_nocase: String
collateralToken_not_ends_with: String
collateralToken_not_ends_with_nocase: String
collateralToken_: Token_filter
marketId: String
marketId_not: String
marketId_gt: String
marketId_lt: String
marketId_gte: String
marketId_lte: String
marketId_in: [String!]
marketId_not_in: [String!]
marketId_contains: String
marketId_contains_nocase: String
marketId_not_contains: String
marketId_not_contains_nocase: String
marketId_starts_with: String
marketId_starts_with_nocase: String
marketId_not_starts_with: String
marketId_not_starts_with_nocase: String
marketId_ends_with: String
marketId_ends_with_nocase: String
marketId_not_ends_with: String
marketId_not_ends_with_nocase: String
user: String
user_not: String
user_gt: String
user_lt: String
user_gte: String
user_lte: String
user_in: [String!]
user_not_in: [String!]
user_contains: String
user_contains_nocase: String
user_not_contains: String
user_not_contains_nocase: String
user_starts_with: String
user_starts_with_nocase: String
user_not_starts_with: String
user_not_starts_with_nocase: String
user_ends_with: String
user_ends_with_nocase: String
user_not_ends_with: String
user_not_ends_with_nocase: String
user_: User_filter
account: String
account_not: String
account_gt: String
account_lt: String
account_gte: String
account_lte: String
account_in: [String!]
account_not_in: [String!]
account_contains: String
account_contains_nocase: String
account_not_contains: String
account_not_contains_nocase: String
account_starts_with: String
account_starts_with_nocase: String
account_not_starts_with: String
account_not_starts_with_nocase: String
account_ends_with: String
account_ends_with_nocase: String
account_not_ends_with: String
account_not_ends_with_nocase: String
account_: Account_filter
"""Filter for the block changed event."""
_change_block: BlockChangedFilter
and: [CreatePositionEvent_filter]
or: [CreatePositionEvent_filter]
}
enum CreatePositionEvent_orderBy {
id
blockNumber
timestamp
txHash
logIndex
protocol
positionType
debtToken
debtToken__id
debtToken__address
debtToken__symbol
debtToken__decimals
debtToken__precision
collateralToken
collateralToken__id
collateralToken__address
collateralToken__symbol
collateralToken__decimals
collateralToken__precision
marketId
user
user__id
user__openPositions
account
account__id
account__address
account__type
account__vaultId
}
type FeePaid {
id: ID!
block: BigInt!
timestamp: BigInt!
transactionHash: Bytes!
logIndex: BigInt!
sender: Bytes!
beneficiary: Bytes!
amount: BigDecimal!
amountInFeeToken: BigInt
feeTokenPrice: BigDecimal
oracle: String!
feeToken: Token
mainEventHash: SummerEvent
user: User!
proxy: Account!
}
input FeePaid_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
block: BigInt
block_not: BigInt
block_gt: BigInt
block_lt: BigInt
block_gte: BigInt
block_lte: BigInt
block_in: [BigInt!]
block_not_in: [BigInt!]
timestamp: BigInt
timestamp_not: BigInt
timestamp_gt: BigInt
timestamp_lt: BigInt
timestamp_gte: BigInt
timestamp_lte: BigInt
timestamp_in: [BigInt!]
timestamp_not_in: [BigInt!]
transactionHash: Bytes
transactionHash_not: Bytes
transactionHash_gt: Bytes
transactionHash_lt: Bytes
transactionHash_gte: Bytes
transactionHash_lte: Bytes
transactionHash_in: [Bytes!]
transactionHash_not_in: [Bytes!]
transactionHash_contains: Bytes
transactionHash_not_contains: Bytes
logIndex: BigInt
logIndex_not: BigInt
logIndex_gt: BigInt
logIndex_lt: BigInt
logIndex_gte: BigInt
logIndex_lte: BigInt
logIndex_in: [BigInt!]
logIndex_not_in: [BigInt!]
sender: Bytes
sender_not: Bytes
sender_gt: Bytes
sender_lt: Bytes
sender_gte: Bytes
sender_lte: Bytes
sender_in: [Bytes!]
sender_not_in: [Bytes!]
sender_contains: Bytes
sender_not_contains: Bytes
beneficiary: Bytes
beneficiary_not: Bytes
beneficiary_gt: Bytes
beneficiary_lt: Bytes
beneficiary_gte: Bytes
beneficiary_lte: Bytes
beneficiary_in: [Bytes!]
beneficiary_not_in: [Bytes!]
beneficiary_contains: Bytes
beneficiary_not_contains: Bytes
amount: BigDecimal
amount_not: BigDecimal
amount_gt: BigDecimal
amount_lt: BigDecimal
amount_gte: BigDecimal
amount_lte: BigDecimal
amount_in: [BigDecimal!]
amount_not_in: [BigDecimal!]
amountInFeeToken: BigInt
amountInFeeToken_not: BigInt
amountInFeeToken_gt: BigInt
amountInFeeToken_lt: BigInt
amountInFeeToken_gte: BigInt
amountInFeeToken_lte: BigInt
amountInFeeToken_in: [BigInt!]
amountInFeeToken_not_in: [BigInt!]
feeTokenPrice: BigDecimal
feeTokenPrice_not: BigDecimal
feeTokenPrice_gt: BigDecimal
feeTokenPrice_lt: BigDecimal
feeTokenPrice_gte: BigDecimal
feeTokenPrice_lte: BigDecimal
feeTokenPrice_in: [BigDecimal!]
feeTokenPrice_not_in: [BigDecimal!]
oracle: String
oracle_not: String
oracle_gt: String
oracle_lt: String
oracle_gte: String
oracle_lte: String
oracle_in: [String!]
oracle_not_in: [String!]
oracle_contains: String
oracle_contains_nocase: String
oracle_not_contains: String
oracle_not_contains_nocase: String
oracle_starts_with: String
oracle_starts_with_nocase: String
oracle_not_starts_with: String
oracle_not_starts_with_nocase: String
oracle_ends_with: String
oracle_ends_with_nocase: String
oracle_not_ends_with: String
oracle_not_ends_with_nocase: String
feeToken: String
feeToken_not: String
feeToken_gt: String
feeToken_lt: String
feeToken_gte: String
feeToken_lte: String
feeToken_in: [String!]
feeToken_not_in: [String!]
feeToken_contains: String
feeToken_contains_nocase: String
feeToken_not_contains: String
feeToken_not_contains_nocase: String
feeToken_starts_with: String
feeToken_starts_with_nocase: String
feeToken_not_starts_with: String
feeToken_not_starts_with_nocase: String
feeToken_ends_with: String
feeToken_ends_with_nocase: String
feeToken_not_ends_with: String
feeToken_not_ends_with_nocase: String
feeToken_: Token_filter
mainEventHash: String
mainEventHash_not: String
mainEventHash_gt: String
mainEventHash_lt: String
mainEventHash_gte: String
mainEventHash_lte: String
mainEventHash_in: [String!]
mainEventHash_not_in: [String!]
mainEventHash_contains: String
mainEventHash_contains_nocase: String
mainEventHash_not_contains: String
mainEventHash_not_contains_nocase: String
mainEventHash_starts_with: String
mainEventHash_starts_with_nocase: String
mainEventHash_not_starts_with: String
mainEventHash_not_starts_with_nocase: String
mainEventHash_ends_with: String
mainEventHash_ends_with_nocase: String
mainEventHash_not_ends_with: String
mainEventHash_not_ends_with_nocase: String
mainEventHash_: SummerEvent_filter
user: String
user_not: String
user_gt: String
user_lt: String
user_gte: String
user_lte: String
user_in: [String!]
user_not_in: [String!]
user_contains: String
user_contains_nocase: String
user_not_contains: String
user_not_contains_nocase: String
user_starts_with: String
user_starts_with_nocase: String
user_not_starts_with: String
user_not_starts_with_nocase: String
user_ends_with: String
user_ends_with_nocase: String
user_not_ends_with: String
user_not_ends_with_nocase: String
user_: User_filter
proxy: String
proxy_not: String
proxy_gt: String
proxy_lt: String
proxy_gte: String
proxy_lte: String
proxy_in: [String!]
proxy_not_in: [String!]
proxy_contains: String
proxy_contains_nocase: String
proxy_not_contains: String
proxy_not_contains_nocase: String
proxy_starts_with: String
proxy_starts_with_nocase: String
proxy_not_starts_with: String
proxy_not_starts_with_nocase: String
proxy_ends_with: String
proxy_ends_with_nocase: String
proxy_not_ends_with: String
proxy_not_ends_with_nocase: String
proxy_: Account_filter
"""Filter for the block changed event."""
_change_block: BlockChangedFilter
and: [FeePaid_filter]
or: [FeePaid_filter]
}
enum FeePaid_orderBy {
id
block
timestamp
transactionHash
logIndex
sender
beneficiary
amount
amountInFeeToken
feeTokenPrice
oracle
feeToken
feeToken__id
feeToken__address
feeToken__symbol
feeToken__decimals
feeToken__precision
mainEventHash
mainEventHash__id
mainEventHash__blockNumber
mainEventHash__timestamp
mainEventHash__txHash
mainEventHash__logIndex
mainEventHash__sender
mainEventHash__kind
mainEventHash__depositedUSD
mainEventHash__withdrawnUSD
mainEventHash__deltaUSD
mainEventHash__feePaidUSD
mainEventHash__protocol
mainEventHash__marketId
mainEventHash__debtBefore
mainEventHash__debtInUSDBefore
mainEventHash__debtAfter
mainEventHash__debtInUSDAfter
mainEventHash__collateralBefore
mainEventHash__collateralInUSDBefore
mainEventHash__collateralAfter
mainEventHash__collateralInUSDAfter
mainEventHash__supplyBefore
mainEventHash__supplyInUSDBefore
mainEventHash__supplyAfter
mainEventHash__supplyInUSDAfter
mainEventHash__netValueBefore
mainEventHash__netValueAfter
mainEventHash__collateralTokenPriceInUSD
mainEventHash__debtTokenPriceInUSD
mainEventHash__supplyTokenPriceInUSD
user
user__id
user__openPositions
proxy
proxy__id
proxy__address
proxy__type
proxy__vaultId
}
type Ilk {