forked from OasisDEX/oasis-borrow
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschema.graphql
1670 lines (1585 loc) · 55 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
# This file was generated based on ".graphqlconfig". Do not edit manually.
schema {
query: Query
mutation: Mutation
}
"An object with a globally unique `ID`."
interface Node {
"A globally unique identifier. Can be used in various places throughout the system to identify this single value."
nodeId: ID!
}
type ActiveTrigger {
blockId: Int
cdpId: BigFloat
commandAddress: String
id: Int
logIndex: Int
triggerData: String
triggerId: BigFloat
txId: Int
}
"A connection to a list of `ActiveTrigger` values."
type ActiveTriggersConnection {
"A list of edges which contains the `ActiveTrigger` and cursor to aid in pagination."
edges: [ActiveTriggersEdge!]!
"A list of `ActiveTrigger` objects."
nodes: [ActiveTrigger]!
"Information to aid in pagination."
pageInfo: PageInfo!
"The count of *all* `ActiveTrigger` you could get from the connection."
totalCount: Int!
}
"A `ActiveTrigger` edge in the connection."
type ActiveTriggersEdge {
"A cursor for use in pagination."
cursor: Cursor
"The `ActiveTrigger` at the end of the edge."
node: ActiveTrigger
}
"The output of our `getHistoricalTokenPrices` mutation."
type GetHistoricalTokenPricesPayload {
"""
The exact same `clientMutationId` that was provided in the mutation input,
unchanged and unused. May be used by a client to track mutations.
"""
clientMutationId: String
"Our root query field type. Allows us to run any query from our mutation payload."
query: Query
results: [GetHistoricalTokenPricesRecord]
}
"The return type of our `getHistoricalTokenPrices` mutation."
type GetHistoricalTokenPricesRecord {
absoluteDate: Date
daysAgo: Int
price: BigFloat
referenceDate: Date
token: String
}
type HistoricTokenPrice {
price: BigFloat
price30: BigFloat
price7: BigFloat
price90: BigFloat
token: String
}
"A connection to a list of `HistoricTokenPrice` values."
type HistoricTokenPricesConnection {
"A list of edges which contains the `HistoricTokenPrice` and cursor to aid in pagination."
edges: [HistoricTokenPricesEdge!]!
"A list of `HistoricTokenPrice` objects."
nodes: [HistoricTokenPrice]!
"Information to aid in pagination."
pageInfo: PageInfo!
"The count of *all* `HistoricTokenPrice` you could get from the connection."
totalCount: Int!
}
"A `HistoricTokenPrice` edge in the connection."
type HistoricTokenPricesEdge {
"A cursor for use in pagination."
cursor: Cursor
"The `HistoricTokenPrice` at the end of the edge."
node: HistoricTokenPrice
}
"The output of our `makerOracleTokenPricesInDates` mutation."
type MakerOracleTokenPricesInDatesPayload {
"""
The exact same `clientMutationId` that was provided in the mutation input,
unchanged and unused. May be used by a client to track mutations.
"""
clientMutationId: String
"Our root query field type. Allows us to run any query from our mutation payload."
query: Query
tokenPrices: [TokenPrice]
}
"The output of our `makerOracleTokenPrices` mutation."
type MakerOracleTokenPricesPayload {
"""
The exact same `clientMutationId` that was provided in the mutation input,
unchanged and unused. May be used by a client to track mutations.
"""
clientMutationId: String
"Our root query field type. Allows us to run any query from our mutation payload."
query: Query
tokenPrice: TokenPrice
}
"The root mutation type which contains root level fields which mutate data."
type Mutation {
getHistoricalTokenPrices(
"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."
input: GetHistoricalTokenPricesInput!
): GetHistoricalTokenPricesPayload
makerOracleTokenPrices(
"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."
input: MakerOracleTokenPricesInput!
): MakerOracleTokenPricesPayload
makerOracleTokenPricesInDates(
"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."
input: MakerOracleTokenPricesInDatesInput!
): MakerOracleTokenPricesInDatesPayload
}
type OraclePrice {
blockNumber: Int
nextPrice: BigFloat
osmAddress: String
price: BigFloat
token: String
txHash: String
}
"A connection to a list of `OraclePrice` values."
type OraclePricesConnection {
"A list of edges which contains the `OraclePrice` and cursor to aid in pagination."
edges: [OraclePricesEdge!]!
"A list of `OraclePrice` objects."
nodes: [OraclePrice]!
"Information to aid in pagination."
pageInfo: PageInfo!
"The count of *all* `OraclePrice` you could get from the connection."
totalCount: Int!
}
"A `OraclePrice` edge in the connection."
type OraclePricesEdge {
"A cursor for use in pagination."
cursor: Cursor
"The `OraclePrice` at the end of the edge."
node: OraclePrice
}
"Information about pagination in a connection."
type PageInfo {
"When paginating forwards, the cursor to continue."
endCursor: Cursor
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"When paginating backwards, the cursor to continue."
startCursor: Cursor
}
"The root query type which gives access points into the data universe."
type Query implements Node {
"Reads and enables pagination through a set of `ActiveTrigger`."
allActiveTriggers(
"Read all values in the set after (below) this cursor."
after: Cursor,
"Read all values in the set before (above) this cursor."
before: Cursor,
"A condition to be used in determining which values should be returned by the collection."
condition: ActiveTriggerCondition,
"A filter to be used in determining which values should be returned by the collection."
filter: ActiveTriggerFilter,
"Only read the first `n` values of the set."
first: Int,
"Only read the last `n` values of the set."
last: Int,
"""
Skip the first `n` values from our `after` cursor, an alternative to cursor
based pagination. May not be used with `last`.
"""
offset: Int,
"The method to use when ordering `ActiveTrigger`."
orderBy: [ActiveTriggersOrderBy!] = [NATURAL]
): ActiveTriggersConnection
"Reads and enables pagination through a set of `HistoricTokenPrice`."
allHistoricTokenPrices(
"Read all values in the set after (below) this cursor."
after: Cursor,
"Read all values in the set before (above) this cursor."
before: Cursor,
"A condition to be used in determining which values should be returned by the collection."
condition: HistoricTokenPriceCondition,
"A filter to be used in determining which values should be returned by the collection."
filter: HistoricTokenPriceFilter,
"Only read the first `n` values of the set."
first: Int,
"Only read the last `n` values of the set."
last: Int,
"""
Skip the first `n` values from our `after` cursor, an alternative to cursor
based pagination. May not be used with `last`.
"""
offset: Int,
"The method to use when ordering `HistoricTokenPrice`."
orderBy: [HistoricTokenPricesOrderBy!] = [NATURAL]
): HistoricTokenPricesConnection
"Reads and enables pagination through a set of `OraclePrice`."
allOraclePrices(
"Read all values in the set after (below) this cursor."
after: Cursor,
"Read all values in the set before (above) this cursor."
before: Cursor,
"A condition to be used in determining which values should be returned by the collection."
condition: OraclePriceCondition,
"A filter to be used in determining which values should be returned by the collection."
filter: OraclePriceFilter,
"Only read the first `n` values of the set."
first: Int,
"Only read the last `n` values of the set."
last: Int,
"""
Skip the first `n` values from our `after` cursor, an alternative to cursor
based pagination. May not be used with `last`.
"""
offset: Int,
"The method to use when ordering `OraclePrice`."
orderBy: [OraclePricesOrderBy!] = [NATURAL]
): OraclePricesConnection
"Reads and enables pagination through a set of `TriggerEvent`."
allTriggerEvents(
"Read all values in the set after (below) this cursor."
after: Cursor,
"Read all values in the set before (above) this cursor."
before: Cursor,
"A condition to be used in determining which values should be returned by the collection."
condition: TriggerEventCondition,
"A filter to be used in determining which values should be returned by the collection."
filter: TriggerEventFilter,
"Only read the first `n` values of the set."
first: Int,
"Only read the last `n` values of the set."
last: Int,
"""
Skip the first `n` values from our `after` cursor, an alternative to cursor
based pagination. May not be used with `last`.
"""
offset: Int,
"The method to use when ordering `TriggerEvent`."
orderBy: [TriggerEventsOrderBy!] = [NATURAL]
): TriggerEventsConnection
"Reads and enables pagination through a set of `VaultEvent`."
allVaultEvents(
"Read all values in the set after (below) this cursor."
after: Cursor,
"Read all values in the set before (above) this cursor."
before: Cursor,
"A condition to be used in determining which values should be returned by the collection."
condition: VaultEventCondition,
"A filter to be used in determining which values should be returned by the collection."
filter: VaultEventFilter,
"Only read the first `n` values of the set."
first: Int,
"Only read the last `n` values of the set."
last: Int,
"""
Skip the first `n` values from our `after` cursor, an alternative to cursor
based pagination. May not be used with `last`.
"""
offset: Int,
"The method to use when ordering `VaultEvent`."
orderBy: [VaultEventsOrderBy!] = [NATURAL]
): VaultEventsConnection
"Reads and enables pagination through a set of `VaultMultiplyEvent`."
allVaultMultiplyEvents(
"Read all values in the set after (below) this cursor."
after: Cursor,
"Read all values in the set before (above) this cursor."
before: Cursor,
"A condition to be used in determining which values should be returned by the collection."
condition: VaultMultiplyEventCondition,
"A filter to be used in determining which values should be returned by the collection."
filter: VaultMultiplyEventFilter,
"Only read the first `n` values of the set."
first: Int,
"Only read the last `n` values of the set."
last: Int,
"""
Skip the first `n` values from our `after` cursor, an alternative to cursor
based pagination. May not be used with `last`.
"""
offset: Int,
"The method to use when ordering `VaultMultiplyEvent`."
orderBy: [VaultMultiplyEventsOrderBy!] = [NATURAL]
): VaultMultiplyEventsConnection
"Reads and enables pagination through a set of `VaultMultiplyHistory`."
allVaultMultiplyHistories(
"Read all values in the set after (below) this cursor."
after: Cursor,
"Read all values in the set before (above) this cursor."
before: Cursor,
"A condition to be used in determining which values should be returned by the collection."
condition: VaultMultiplyHistoryCondition,
"A filter to be used in determining which values should be returned by the collection."
filter: VaultMultiplyHistoryFilter,
"Only read the first `n` values of the set."
first: Int,
"Only read the last `n` values of the set."
last: Int,
"""
Skip the first `n` values from our `after` cursor, an alternative to cursor
based pagination. May not be used with `last`.
"""
offset: Int,
"The method to use when ordering `VaultMultiplyHistory`."
orderBy: [VaultMultiplyHistoriesOrderBy!] = [NATURAL]
): VaultMultiplyHistoriesConnection
"Fetches an object given its globally unique `ID`."
node(
"The globally unique `ID`."
nodeId: ID!
): Node
"The root query type must be a `Node` to work well with Relay 1 mutations. This just resolves to `query`."
nodeId: ID!
"""
Exposes the root query type nested one level down. This is helpful for Relay 1
which can only query top level fields if they are in a particular form.
"""
query: Query!
}
type TokenPrice {
price: BigFloat
requestedTimestamp: Datetime
timestamp: Datetime
token: String
}
type TriggerEvent {
cdpId: BigFloat
commandAddress: String
eventType: String
hash: String
id: Int
kind: String
logIndex: Int
number: Int
timestamp: Datetime
triggerId: BigFloat
}
"A connection to a list of `TriggerEvent` values."
type TriggerEventsConnection {
"A list of edges which contains the `TriggerEvent` and cursor to aid in pagination."
edges: [TriggerEventsEdge!]!
"A list of `TriggerEvent` objects."
nodes: [TriggerEvent]!
"Information to aid in pagination."
pageInfo: PageInfo!
"The count of *all* `TriggerEvent` you could get from the connection."
totalCount: Int!
}
"A `TriggerEvent` edge in the connection."
type TriggerEventsEdge {
"A cursor for use in pagination."
cursor: Cursor
"The `TriggerEvent` at the end of the edge."
node: TriggerEvent
}
type VaultEvent {
auctionId: String
blockId: Int
cdpId: String
collateral: String
collateralAmount: BigFloat
collateralPrice: BigFloat
collateralTaken: BigFloat
coveredDebt: BigFloat
daiAmount: BigFloat
depositor: String
hash: String
id: Int
ilk: String
kind: String
liqPenalty: BigFloat
logIndex: Int
oraclePrice: BigFloat
rate: BigFloat
remainingCollateral: BigFloat
remainingDebt: BigFloat
timestamp: Datetime
transferFrom: String
transferTo: String
txId: Int
urn: String
vaultCreator: String
}
"A connection to a list of `VaultEvent` values."
type VaultEventsConnection {
"A list of edges which contains the `VaultEvent` and cursor to aid in pagination."
edges: [VaultEventsEdge!]!
"A list of `VaultEvent` objects."
nodes: [VaultEvent]!
"Information to aid in pagination."
pageInfo: PageInfo!
"The count of *all* `VaultEvent` you could get from the connection."
totalCount: Int!
}
"A `VaultEvent` edge in the connection."
type VaultEventsEdge {
"A cursor for use in pagination."
cursor: Cursor
"The `VaultEvent` at the end of the edge."
node: VaultEvent
}
type VaultMultiplyEvent {
blockId: Int
cdpId: String
collateralLeft: BigFloat
daiLeft: BigFloat
flBorrowed: BigFloat
flDue: BigFloat
hash: String
id: Int
ilk: String
kind: String
liquidationRatio: BigFloat
logIndex: Int
methodName: String
oazoFee: BigFloat
swapMinAmount: BigFloat
swapOptimistAmount: BigFloat
timestamp: Datetime
txId: Int
}
"A connection to a list of `VaultMultiplyEvent` values."
type VaultMultiplyEventsConnection {
"A list of edges which contains the `VaultMultiplyEvent` and cursor to aid in pagination."
edges: [VaultMultiplyEventsEdge!]!
"A list of `VaultMultiplyEvent` objects."
nodes: [VaultMultiplyEvent]!
"Information to aid in pagination."
pageInfo: PageInfo!
"The count of *all* `VaultMultiplyEvent` you could get from the connection."
totalCount: Int!
}
"A `VaultMultiplyEvent` edge in the connection."
type VaultMultiplyEventsEdge {
"A cursor for use in pagination."
cursor: Cursor
"The `VaultMultiplyEvent` at the end of the edge."
node: VaultMultiplyEvent
}
"A connection to a list of `VaultMultiplyHistory` values."
type VaultMultiplyHistoriesConnection {
"A list of edges which contains the `VaultMultiplyHistory` and cursor to aid in pagination."
edges: [VaultMultiplyHistoriesEdge!]!
"A list of `VaultMultiplyHistory` objects."
nodes: [VaultMultiplyHistory]!
"Information to aid in pagination."
pageInfo: PageInfo!
"The count of *all* `VaultMultiplyHistory` you could get from the connection."
totalCount: Int!
}
"A `VaultMultiplyHistory` edge in the connection."
type VaultMultiplyHistoriesEdge {
"A cursor for use in pagination."
cursor: Cursor
"The `VaultMultiplyHistory` at the end of the edge."
node: VaultMultiplyHistory
}
type VaultMultiplyHistory {
auctionId: String
beforeCollateralizationRatio: BigFloat
beforeDebt: BigFloat
beforeLiquidationPrice: BigFloat
beforeLockedCollateral: BigFloat
beforeMultiple: BigFloat
blockHash: String
blockId: Int
blockNumber: Int
bought: BigFloat
cdpId: String
collateral: String
collateralAmount: BigFloat
collateralPrice: BigFloat
collateralTaken: BigFloat
collateralizationRatio: BigFloat
coveredDebt: BigFloat
daiAmount: BigFloat
debt: BigFloat
depositCollateral: BigFloat
depositDai: BigFloat
depositor: String
ethPrice: BigFloat
exitCollateral: BigFloat
exitDai: BigFloat
gasFee: BigFloat
hash: String
id: Int
ilk: String
kind: String
liqPenalty: BigFloat
liquidationPrice: BigFloat
loanFee: BigFloat
lockedCollateral: BigFloat
logIndex: Int
marketPrice: BigFloat
multiple: BigFloat
netValue: BigFloat
oazoFee: BigFloat
oraclePrice: BigFloat
rate: BigFloat
remainingCollateral: BigFloat
remainingDebt: BigFloat
sold: BigFloat
timestamp: Datetime
totalFee: BigFloat
transferFrom: String
transferTo: String
txId: Int
urn: String
vaultCreator: String
withdrawnCollateral: BigFloat
withdrawnDai: BigFloat
}
"Methods to use when ordering `ActiveTrigger`."
enum ActiveTriggersOrderBy {
BLOCK_ID_ASC
BLOCK_ID_DESC
CDP_ID_ASC
CDP_ID_DESC
COMMAND_ADDRESS_ASC
COMMAND_ADDRESS_DESC
ID_ASC
ID_DESC
LOG_INDEX_ASC
LOG_INDEX_DESC
NATURAL
TRIGGER_DATA_ASC
TRIGGER_DATA_DESC
TRIGGER_ID_ASC
TRIGGER_ID_DESC
TX_ID_ASC
TX_ID_DESC
}
"Methods to use when ordering `HistoricTokenPrice`."
enum HistoricTokenPricesOrderBy {
NATURAL
PRICE_30_ASC
PRICE_30_DESC
PRICE_7_ASC
PRICE_7_DESC
PRICE_90_ASC
PRICE_90_DESC
PRICE_ASC
PRICE_DESC
TOKEN_ASC
TOKEN_DESC
}
"Methods to use when ordering `OraclePrice`."
enum OraclePricesOrderBy {
BLOCK_NUMBER_ASC
BLOCK_NUMBER_DESC
NATURAL
NEXT_PRICE_ASC
NEXT_PRICE_DESC
OSM_ADDRESS_ASC
OSM_ADDRESS_DESC
PRICE_ASC
PRICE_DESC
TOKEN_ASC
TOKEN_DESC
TX_HASH_ASC
TX_HASH_DESC
}
"Methods to use when ordering `TriggerEvent`."
enum TriggerEventsOrderBy {
CDP_ID_ASC
CDP_ID_DESC
COMMAND_ADDRESS_ASC
COMMAND_ADDRESS_DESC
EVENT_TYPE_ASC
EVENT_TYPE_DESC
HASH_ASC
HASH_DESC
ID_ASC
ID_DESC
KIND_ASC
KIND_DESC
LOG_INDEX_ASC
LOG_INDEX_DESC
NATURAL
NUMBER_ASC
NUMBER_DESC
TIMESTAMP_ASC
TIMESTAMP_DESC
TRIGGER_ID_ASC
TRIGGER_ID_DESC
}
"Methods to use when ordering `VaultEvent`."
enum VaultEventsOrderBy {
AUCTION_ID_ASC
AUCTION_ID_DESC
BLOCK_ID_ASC
BLOCK_ID_DESC
CDP_ID_ASC
CDP_ID_DESC
COLLATERAL_AMOUNT_ASC
COLLATERAL_AMOUNT_DESC
COLLATERAL_ASC
COLLATERAL_DESC
COLLATERAL_PRICE_ASC
COLLATERAL_PRICE_DESC
COLLATERAL_TAKEN_ASC
COLLATERAL_TAKEN_DESC
COVERED_DEBT_ASC
COVERED_DEBT_DESC
DAI_AMOUNT_ASC
DAI_AMOUNT_DESC
DEPOSITOR_ASC
DEPOSITOR_DESC
HASH_ASC
HASH_DESC
ID_ASC
ID_DESC
ILK_ASC
ILK_DESC
KIND_ASC
KIND_DESC
LIQ_PENALTY_ASC
LIQ_PENALTY_DESC
LOG_INDEX_ASC
LOG_INDEX_DESC
NATURAL
ORACLE_PRICE_ASC
ORACLE_PRICE_DESC
RATE_ASC
RATE_DESC
REMAINING_COLLATERAL_ASC
REMAINING_COLLATERAL_DESC
REMAINING_DEBT_ASC
REMAINING_DEBT_DESC
TIMESTAMP_ASC
TIMESTAMP_DESC
TRANSFER_FROM_ASC
TRANSFER_FROM_DESC
TRANSFER_TO_ASC
TRANSFER_TO_DESC
TX_ID_ASC
TX_ID_DESC
URN_ASC
URN_DESC
VAULT_CREATOR_ASC
VAULT_CREATOR_DESC
}
"Methods to use when ordering `VaultMultiplyEvent`."
enum VaultMultiplyEventsOrderBy {
BLOCK_ID_ASC
BLOCK_ID_DESC
CDP_ID_ASC
CDP_ID_DESC
COLLATERAL_LEFT_ASC
COLLATERAL_LEFT_DESC
DAI_LEFT_ASC
DAI_LEFT_DESC
FL_BORROWED_ASC
FL_BORROWED_DESC
FL_DUE_ASC
FL_DUE_DESC
HASH_ASC
HASH_DESC
ID_ASC
ID_DESC
ILK_ASC
ILK_DESC
KIND_ASC
KIND_DESC
LIQUIDATION_RATIO_ASC
LIQUIDATION_RATIO_DESC
LOG_INDEX_ASC
LOG_INDEX_DESC
METHOD_NAME_ASC
METHOD_NAME_DESC
NATURAL
OAZO_FEE_ASC
OAZO_FEE_DESC
SWAP_MIN_AMOUNT_ASC
SWAP_MIN_AMOUNT_DESC
SWAP_OPTIMIST_AMOUNT_ASC
SWAP_OPTIMIST_AMOUNT_DESC
TIMESTAMP_ASC
TIMESTAMP_DESC
TX_ID_ASC
TX_ID_DESC
}
"Methods to use when ordering `VaultMultiplyHistory`."
enum VaultMultiplyHistoriesOrderBy {
AUCTION_ID_ASC
AUCTION_ID_DESC
BEFORE_COLLATERALIZATION_RATIO_ASC
BEFORE_COLLATERALIZATION_RATIO_DESC
BEFORE_DEBT_ASC
BEFORE_DEBT_DESC
BEFORE_LIQUIDATION_PRICE_ASC
BEFORE_LIQUIDATION_PRICE_DESC
BEFORE_LOCKED_COLLATERAL_ASC
BEFORE_LOCKED_COLLATERAL_DESC
BEFORE_MULTIPLE_ASC
BEFORE_MULTIPLE_DESC
BLOCK_HASH_ASC
BLOCK_HASH_DESC
BLOCK_ID_ASC
BLOCK_ID_DESC
BLOCK_NUMBER_ASC
BLOCK_NUMBER_DESC
BOUGHT_ASC
BOUGHT_DESC
CDP_ID_ASC
CDP_ID_DESC
COLLATERALIZATION_RATIO_ASC
COLLATERALIZATION_RATIO_DESC
COLLATERAL_AMOUNT_ASC
COLLATERAL_AMOUNT_DESC
COLLATERAL_ASC
COLLATERAL_DESC
COLLATERAL_PRICE_ASC
COLLATERAL_PRICE_DESC
COLLATERAL_TAKEN_ASC
COLLATERAL_TAKEN_DESC
COVERED_DEBT_ASC
COVERED_DEBT_DESC
DAI_AMOUNT_ASC
DAI_AMOUNT_DESC
DEBT_ASC
DEBT_DESC
DEPOSITOR_ASC
DEPOSITOR_DESC
DEPOSIT_COLLATERAL_ASC
DEPOSIT_COLLATERAL_DESC
DEPOSIT_DAI_ASC
DEPOSIT_DAI_DESC
ETH_PRICE_ASC
ETH_PRICE_DESC
EXIT_COLLATERAL_ASC
EXIT_COLLATERAL_DESC
EXIT_DAI_ASC
EXIT_DAI_DESC
GAS_FEE_ASC
GAS_FEE_DESC
HASH_ASC
HASH_DESC
ID_ASC
ID_DESC
ILK_ASC
ILK_DESC
KIND_ASC
KIND_DESC
LIQUIDATION_PRICE_ASC
LIQUIDATION_PRICE_DESC
LIQ_PENALTY_ASC
LIQ_PENALTY_DESC
LOAN_FEE_ASC
LOAN_FEE_DESC
LOCKED_COLLATERAL_ASC
LOCKED_COLLATERAL_DESC
LOG_INDEX_ASC
LOG_INDEX_DESC
MARKET_PRICE_ASC
MARKET_PRICE_DESC
MULTIPLE_ASC
MULTIPLE_DESC
NATURAL
NET_VALUE_ASC
NET_VALUE_DESC
OAZO_FEE_ASC
OAZO_FEE_DESC
ORACLE_PRICE_ASC
ORACLE_PRICE_DESC
RATE_ASC
RATE_DESC
REMAINING_COLLATERAL_ASC
REMAINING_COLLATERAL_DESC
REMAINING_DEBT_ASC
REMAINING_DEBT_DESC
SOLD_ASC
SOLD_DESC
TIMESTAMP_ASC
TIMESTAMP_DESC
TOTAL_FEE_ASC
TOTAL_FEE_DESC
TRANSFER_FROM_ASC
TRANSFER_FROM_DESC
TRANSFER_TO_ASC
TRANSFER_TO_DESC
TX_ID_ASC
TX_ID_DESC
URN_ASC
URN_DESC
VAULT_CREATOR_ASC
VAULT_CREATOR_DESC
WITHDRAWN_COLLATERAL_ASC
WITHDRAWN_COLLATERAL_DESC
WITHDRAWN_DAI_ASC
WITHDRAWN_DAI_DESC
}
"A floating point number that requires more precision than IEEE 754 binary 64"
scalar BigFloat
"A location in a connection that can be used for resuming pagination."
scalar Cursor
"The day, does not include a time."
scalar Date
"""
A point in time as described by the [ISO
8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone.
"""
scalar Datetime
"""
A condition to be used against `ActiveTrigger` object types. All fields are
tested for equality and combined with a logical ‘and.’
"""
input ActiveTriggerCondition {
"Checks for equality with the object’s `blockId` field."
blockId: Int
"Checks for equality with the object’s `cdpId` field."
cdpId: BigFloat
"Checks for equality with the object’s `commandAddress` field."
commandAddress: String
"Checks for equality with the object’s `id` field."
id: Int
"Checks for equality with the object’s `logIndex` field."
logIndex: Int
"Checks for equality with the object’s `triggerData` field."
triggerData: String
"Checks for equality with the object’s `triggerId` field."
triggerId: BigFloat
"Checks for equality with the object’s `txId` field."
txId: Int
}
"A filter to be used against `ActiveTrigger` object types. All fields are combined with a logical ‘and.’"
input ActiveTriggerFilter {
"Checks for all expressions in this list."
and: [ActiveTriggerFilter!]
"Filter by the object’s `blockId` field."
blockId: IntFilter
"Filter by the object’s `cdpId` field."
cdpId: BigFloatFilter
"Filter by the object’s `commandAddress` field."
commandAddress: StringFilter
"Filter by the object’s `id` field."
id: IntFilter
"Filter by the object’s `logIndex` field."
logIndex: IntFilter
"Negates the expression."
not: ActiveTriggerFilter
"Checks for any expressions in this list."
or: [ActiveTriggerFilter!]
"Filter by the object’s `triggerData` field."
triggerData: StringFilter
"Filter by the object’s `triggerId` field."
triggerId: BigFloatFilter
"Filter by the object’s `txId` field."
txId: IntFilter
}
"A filter to be used against BigFloat fields. All fields are combined with a logical ‘and.’"
input BigFloatFilter {
"Not equal to the specified value, treating null like an ordinary value."
distinctFrom: BigFloat
"Equal to the specified value."
equalTo: BigFloat
"Greater than the specified value."
greaterThan: BigFloat
"Greater than or equal to the specified value."
greaterThanOrEqualTo: BigFloat
"Included in the specified list."
in: [BigFloat!]
"Is null (if `true` is specified) or is not null (if `false` is specified)."
isNull: Boolean
"Less than the specified value."
lessThan: BigFloat
"Less than or equal to the specified value."
lessThanOrEqualTo: BigFloat
"Equal to the specified value, treating null like an ordinary value."
notDistinctFrom: BigFloat
"Not equal to the specified value."
notEqualTo: BigFloat
"Not included in the specified list."
notIn: [BigFloat!]
}
"A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’"
input DatetimeFilter {
"Not equal to the specified value, treating null like an ordinary value."
distinctFrom: Datetime
"Equal to the specified value."
equalTo: Datetime
"Greater than the specified value."
greaterThan: Datetime
"Greater than or equal to the specified value."
greaterThanOrEqualTo: Datetime
"Included in the specified list."
in: [Datetime!]
"Is null (if `true` is specified) or is not null (if `false` is specified)."
isNull: Boolean
"Less than the specified value."
lessThan: Datetime
"Less than or equal to the specified value."
lessThanOrEqualTo: Datetime
"Equal to the specified value, treating null like an ordinary value."
notDistinctFrom: Datetime
"Not equal to the specified value."
notEqualTo: Datetime
"Not included in the specified list."
notIn: [Datetime!]
}
"All input for the `getHistoricalTokenPrices` mutation."
input GetHistoricalTokenPricesInput {
"""
An arbitrary string value with no semantic meaning. Will be included in the
payload verbatim. May be used to track mutations by the client.
"""
clientMutationId: String
days: [Int]
referenceDate: Date
token: String
}
"""
A condition to be used against `HistoricTokenPrice` object types. All fields are
tested for equality and combined with a logical ‘and.’
"""
input HistoricTokenPriceCondition {
"Checks for equality with the object’s `price` field."
price: BigFloat
"Checks for equality with the object’s `price30` field."
price30: BigFloat
"Checks for equality with the object’s `price7` field."
price7: BigFloat
"Checks for equality with the object’s `price90` field."
price90: BigFloat
"Checks for equality with the object’s `token` field."
token: String
}
"A filter to be used against `HistoricTokenPrice` object types. All fields are combined with a logical ‘and.’"
input HistoricTokenPriceFilter {
"Checks for all expressions in this list."