@bosonprotocol/core-sdk 1.16.0-alpha.21 → 1.16.0-alpha.22

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 (43) hide show
  1. package/dist/cjs/core-sdk.d.ts +6 -0
  2. package/dist/cjs/core-sdk.d.ts.map +1 -1
  3. package/dist/cjs/core-sdk.js +14 -0
  4. package/dist/cjs/core-sdk.js.map +1 -1
  5. package/dist/cjs/event-logs/index.d.ts +2 -0
  6. package/dist/cjs/event-logs/index.d.ts.map +1 -0
  7. package/dist/cjs/event-logs/index.js +28 -0
  8. package/dist/cjs/event-logs/index.js.map +1 -0
  9. package/dist/cjs/event-logs/subgraph.d.ts +3 -0
  10. package/dist/cjs/event-logs/subgraph.d.ts.map +1 -0
  11. package/dist/cjs/event-logs/subgraph.js +22 -0
  12. package/dist/cjs/event-logs/subgraph.js.map +1 -0
  13. package/dist/cjs/subgraph.d.ts +2167 -65
  14. package/dist/cjs/subgraph.d.ts.map +1 -1
  15. package/dist/cjs/subgraph.js +233 -2
  16. package/dist/cjs/subgraph.js.map +1 -1
  17. package/dist/cjs/utils/graphql.d.ts +43 -0
  18. package/dist/cjs/utils/graphql.d.ts.map +1 -1
  19. package/dist/esm/core-sdk.d.ts +6 -0
  20. package/dist/esm/core-sdk.d.ts.map +1 -1
  21. package/dist/esm/core-sdk.js +12 -0
  22. package/dist/esm/core-sdk.js.map +1 -1
  23. package/dist/esm/event-logs/index.d.ts +2 -0
  24. package/dist/esm/event-logs/index.d.ts.map +1 -0
  25. package/dist/esm/event-logs/index.js +2 -0
  26. package/dist/esm/event-logs/index.js.map +1 -0
  27. package/dist/esm/event-logs/subgraph.d.ts +3 -0
  28. package/dist/esm/event-logs/subgraph.d.ts.map +1 -0
  29. package/dist/esm/event-logs/subgraph.js +7 -0
  30. package/dist/esm/event-logs/subgraph.js.map +1 -0
  31. package/dist/esm/subgraph.d.ts +2167 -65
  32. package/dist/esm/subgraph.d.ts.map +1 -1
  33. package/dist/esm/subgraph.js +230 -0
  34. package/dist/esm/subgraph.js.map +1 -1
  35. package/dist/esm/utils/graphql.d.ts +43 -0
  36. package/dist/esm/utils/graphql.d.ts.map +1 -1
  37. package/package.json +3 -3
  38. package/src/accounts/queries.graphql +63 -0
  39. package/src/core-sdk.ts +16 -0
  40. package/src/event-logs/index.ts +1 -0
  41. package/src/event-logs/queries.graphql +53 -0
  42. package/src/event-logs/subgraph.ts +14 -0
  43. package/src/subgraph.ts +1892 -2
package/src/subgraph.ts CHANGED
@@ -31,6 +31,7 @@ export type Scalars = {
31
31
  export type Account = {
32
32
  funds: Array<FundsEntity>;
33
33
  id: Scalars["ID"];
34
+ logs: Array<EventLog>;
34
35
  };
35
36
 
36
37
  /**
@@ -45,6 +46,106 @@ export type AccountFundsArgs = {
45
46
  where?: InputMaybe<FundsEntity_Filter>;
46
47
  };
47
48
 
49
+ /**
50
+ * Accounts
51
+ *
52
+ */
53
+ export type AccountLogsArgs = {
54
+ first?: InputMaybe<Scalars["Int"]>;
55
+ orderBy?: InputMaybe<EventLog_OrderBy>;
56
+ orderDirection?: InputMaybe<OrderDirection>;
57
+ skip?: InputMaybe<Scalars["Int"]>;
58
+ where?: InputMaybe<EventLog_Filter>;
59
+ };
60
+
61
+ export type AccountEventLog = EventLog & {
62
+ __typename?: "AccountEventLog";
63
+ account: Account;
64
+ executedBy: Scalars["Bytes"];
65
+ hash: Scalars["String"];
66
+ id: Scalars["ID"];
67
+ timestamp: Scalars["BigInt"];
68
+ type: EventType;
69
+ };
70
+
71
+ export type AccountEventLog_Filter = {
72
+ account?: InputMaybe<Scalars["String"]>;
73
+ account_contains?: InputMaybe<Scalars["String"]>;
74
+ account_contains_nocase?: InputMaybe<Scalars["String"]>;
75
+ account_ends_with?: InputMaybe<Scalars["String"]>;
76
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]>;
77
+ account_gt?: InputMaybe<Scalars["String"]>;
78
+ account_gte?: InputMaybe<Scalars["String"]>;
79
+ account_in?: InputMaybe<Array<Scalars["String"]>>;
80
+ account_lt?: InputMaybe<Scalars["String"]>;
81
+ account_lte?: InputMaybe<Scalars["String"]>;
82
+ account_not?: InputMaybe<Scalars["String"]>;
83
+ account_not_contains?: InputMaybe<Scalars["String"]>;
84
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]>;
85
+ account_not_ends_with?: InputMaybe<Scalars["String"]>;
86
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
87
+ account_not_in?: InputMaybe<Array<Scalars["String"]>>;
88
+ account_not_starts_with?: InputMaybe<Scalars["String"]>;
89
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
90
+ account_starts_with?: InputMaybe<Scalars["String"]>;
91
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]>;
92
+ executedBy?: InputMaybe<Scalars["Bytes"]>;
93
+ executedBy_contains?: InputMaybe<Scalars["Bytes"]>;
94
+ executedBy_in?: InputMaybe<Array<Scalars["Bytes"]>>;
95
+ executedBy_not?: InputMaybe<Scalars["Bytes"]>;
96
+ executedBy_not_contains?: InputMaybe<Scalars["Bytes"]>;
97
+ executedBy_not_in?: InputMaybe<Array<Scalars["Bytes"]>>;
98
+ hash?: InputMaybe<Scalars["String"]>;
99
+ hash_contains?: InputMaybe<Scalars["String"]>;
100
+ hash_contains_nocase?: InputMaybe<Scalars["String"]>;
101
+ hash_ends_with?: InputMaybe<Scalars["String"]>;
102
+ hash_ends_with_nocase?: InputMaybe<Scalars["String"]>;
103
+ hash_gt?: InputMaybe<Scalars["String"]>;
104
+ hash_gte?: InputMaybe<Scalars["String"]>;
105
+ hash_in?: InputMaybe<Array<Scalars["String"]>>;
106
+ hash_lt?: InputMaybe<Scalars["String"]>;
107
+ hash_lte?: InputMaybe<Scalars["String"]>;
108
+ hash_not?: InputMaybe<Scalars["String"]>;
109
+ hash_not_contains?: InputMaybe<Scalars["String"]>;
110
+ hash_not_contains_nocase?: InputMaybe<Scalars["String"]>;
111
+ hash_not_ends_with?: InputMaybe<Scalars["String"]>;
112
+ hash_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
113
+ hash_not_in?: InputMaybe<Array<Scalars["String"]>>;
114
+ hash_not_starts_with?: InputMaybe<Scalars["String"]>;
115
+ hash_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
116
+ hash_starts_with?: InputMaybe<Scalars["String"]>;
117
+ hash_starts_with_nocase?: InputMaybe<Scalars["String"]>;
118
+ id?: InputMaybe<Scalars["ID"]>;
119
+ id_gt?: InputMaybe<Scalars["ID"]>;
120
+ id_gte?: InputMaybe<Scalars["ID"]>;
121
+ id_in?: InputMaybe<Array<Scalars["ID"]>>;
122
+ id_lt?: InputMaybe<Scalars["ID"]>;
123
+ id_lte?: InputMaybe<Scalars["ID"]>;
124
+ id_not?: InputMaybe<Scalars["ID"]>;
125
+ id_not_in?: InputMaybe<Array<Scalars["ID"]>>;
126
+ timestamp?: InputMaybe<Scalars["BigInt"]>;
127
+ timestamp_gt?: InputMaybe<Scalars["BigInt"]>;
128
+ timestamp_gte?: InputMaybe<Scalars["BigInt"]>;
129
+ timestamp_in?: InputMaybe<Array<Scalars["BigInt"]>>;
130
+ timestamp_lt?: InputMaybe<Scalars["BigInt"]>;
131
+ timestamp_lte?: InputMaybe<Scalars["BigInt"]>;
132
+ timestamp_not?: InputMaybe<Scalars["BigInt"]>;
133
+ timestamp_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
134
+ type?: InputMaybe<EventType>;
135
+ type_in?: InputMaybe<Array<EventType>>;
136
+ type_not?: InputMaybe<EventType>;
137
+ type_not_in?: InputMaybe<Array<EventType>>;
138
+ };
139
+
140
+ export enum AccountEventLog_OrderBy {
141
+ Account = "account",
142
+ ExecutedBy = "executedBy",
143
+ Hash = "hash",
144
+ Id = "id",
145
+ Timestamp = "timestamp",
146
+ Type = "type"
147
+ }
148
+
48
149
  export type Account_Filter = {
49
150
  id?: InputMaybe<Scalars["ID"]>;
50
151
  id_gt?: InputMaybe<Scalars["ID"]>;
@@ -58,7 +159,8 @@ export type Account_Filter = {
58
159
 
59
160
  export enum Account_OrderBy {
60
161
  Funds = "funds",
61
- Id = "id"
162
+ Id = "id",
163
+ Logs = "logs"
62
164
  }
63
165
 
64
166
  export type BaseMetadataEntity = MetadataInterface & {
@@ -380,6 +482,7 @@ export type Buyer = Account & {
380
482
  exchanges: Array<Exchange>;
381
483
  funds: Array<FundsEntity>;
382
484
  id: Scalars["ID"];
485
+ logs: Array<EventLog>;
383
486
  wallet: Scalars["Bytes"];
384
487
  };
385
488
 
@@ -399,6 +502,14 @@ export type BuyerFundsArgs = {
399
502
  where?: InputMaybe<FundsEntity_Filter>;
400
503
  };
401
504
 
505
+ export type BuyerLogsArgs = {
506
+ first?: InputMaybe<Scalars["Int"]>;
507
+ orderBy?: InputMaybe<EventLog_OrderBy>;
508
+ orderDirection?: InputMaybe<OrderDirection>;
509
+ skip?: InputMaybe<Scalars["Int"]>;
510
+ where?: InputMaybe<EventLog_Filter>;
511
+ };
512
+
402
513
  export type Buyer_Filter = {
403
514
  active?: InputMaybe<Scalars["Boolean"]>;
404
515
  active_in?: InputMaybe<Array<Scalars["Boolean"]>>;
@@ -425,6 +536,7 @@ export enum Buyer_OrderBy {
425
536
  Exchanges = "exchanges",
426
537
  Funds = "funds",
427
538
  Id = "id",
539
+ Logs = "logs",
428
540
  Wallet = "wallet"
429
541
  }
430
542
 
@@ -433,6 +545,7 @@ export type Dispute = {
433
545
  buyer: Buyer;
434
546
  buyerPercent: Scalars["BigInt"];
435
547
  decidedDate?: Maybe<Scalars["BigInt"]>;
548
+ disputeResolver: DisputeResolver;
436
549
  disputedDate: Scalars["BigInt"];
437
550
  escalatedDate?: Maybe<Scalars["BigInt"]>;
438
551
  exchange: Exchange;
@@ -447,6 +560,116 @@ export type Dispute = {
447
560
  timeout: Scalars["BigInt"];
448
561
  };
449
562
 
563
+ export type DisputeEventLog = EventLog & {
564
+ __typename?: "DisputeEventLog";
565
+ account: Account;
566
+ dispute: Dispute;
567
+ executedBy: Scalars["Bytes"];
568
+ hash: Scalars["String"];
569
+ id: Scalars["ID"];
570
+ timestamp: Scalars["BigInt"];
571
+ type: EventType;
572
+ };
573
+
574
+ export type DisputeEventLog_Filter = {
575
+ account?: InputMaybe<Scalars["String"]>;
576
+ account_contains?: InputMaybe<Scalars["String"]>;
577
+ account_contains_nocase?: InputMaybe<Scalars["String"]>;
578
+ account_ends_with?: InputMaybe<Scalars["String"]>;
579
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]>;
580
+ account_gt?: InputMaybe<Scalars["String"]>;
581
+ account_gte?: InputMaybe<Scalars["String"]>;
582
+ account_in?: InputMaybe<Array<Scalars["String"]>>;
583
+ account_lt?: InputMaybe<Scalars["String"]>;
584
+ account_lte?: InputMaybe<Scalars["String"]>;
585
+ account_not?: InputMaybe<Scalars["String"]>;
586
+ account_not_contains?: InputMaybe<Scalars["String"]>;
587
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]>;
588
+ account_not_ends_with?: InputMaybe<Scalars["String"]>;
589
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
590
+ account_not_in?: InputMaybe<Array<Scalars["String"]>>;
591
+ account_not_starts_with?: InputMaybe<Scalars["String"]>;
592
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
593
+ account_starts_with?: InputMaybe<Scalars["String"]>;
594
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]>;
595
+ dispute?: InputMaybe<Scalars["String"]>;
596
+ dispute_contains?: InputMaybe<Scalars["String"]>;
597
+ dispute_contains_nocase?: InputMaybe<Scalars["String"]>;
598
+ dispute_ends_with?: InputMaybe<Scalars["String"]>;
599
+ dispute_ends_with_nocase?: InputMaybe<Scalars["String"]>;
600
+ dispute_gt?: InputMaybe<Scalars["String"]>;
601
+ dispute_gte?: InputMaybe<Scalars["String"]>;
602
+ dispute_in?: InputMaybe<Array<Scalars["String"]>>;
603
+ dispute_lt?: InputMaybe<Scalars["String"]>;
604
+ dispute_lte?: InputMaybe<Scalars["String"]>;
605
+ dispute_not?: InputMaybe<Scalars["String"]>;
606
+ dispute_not_contains?: InputMaybe<Scalars["String"]>;
607
+ dispute_not_contains_nocase?: InputMaybe<Scalars["String"]>;
608
+ dispute_not_ends_with?: InputMaybe<Scalars["String"]>;
609
+ dispute_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
610
+ dispute_not_in?: InputMaybe<Array<Scalars["String"]>>;
611
+ dispute_not_starts_with?: InputMaybe<Scalars["String"]>;
612
+ dispute_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
613
+ dispute_starts_with?: InputMaybe<Scalars["String"]>;
614
+ dispute_starts_with_nocase?: InputMaybe<Scalars["String"]>;
615
+ executedBy?: InputMaybe<Scalars["Bytes"]>;
616
+ executedBy_contains?: InputMaybe<Scalars["Bytes"]>;
617
+ executedBy_in?: InputMaybe<Array<Scalars["Bytes"]>>;
618
+ executedBy_not?: InputMaybe<Scalars["Bytes"]>;
619
+ executedBy_not_contains?: InputMaybe<Scalars["Bytes"]>;
620
+ executedBy_not_in?: InputMaybe<Array<Scalars["Bytes"]>>;
621
+ hash?: InputMaybe<Scalars["String"]>;
622
+ hash_contains?: InputMaybe<Scalars["String"]>;
623
+ hash_contains_nocase?: InputMaybe<Scalars["String"]>;
624
+ hash_ends_with?: InputMaybe<Scalars["String"]>;
625
+ hash_ends_with_nocase?: InputMaybe<Scalars["String"]>;
626
+ hash_gt?: InputMaybe<Scalars["String"]>;
627
+ hash_gte?: InputMaybe<Scalars["String"]>;
628
+ hash_in?: InputMaybe<Array<Scalars["String"]>>;
629
+ hash_lt?: InputMaybe<Scalars["String"]>;
630
+ hash_lte?: InputMaybe<Scalars["String"]>;
631
+ hash_not?: InputMaybe<Scalars["String"]>;
632
+ hash_not_contains?: InputMaybe<Scalars["String"]>;
633
+ hash_not_contains_nocase?: InputMaybe<Scalars["String"]>;
634
+ hash_not_ends_with?: InputMaybe<Scalars["String"]>;
635
+ hash_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
636
+ hash_not_in?: InputMaybe<Array<Scalars["String"]>>;
637
+ hash_not_starts_with?: InputMaybe<Scalars["String"]>;
638
+ hash_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
639
+ hash_starts_with?: InputMaybe<Scalars["String"]>;
640
+ hash_starts_with_nocase?: InputMaybe<Scalars["String"]>;
641
+ id?: InputMaybe<Scalars["ID"]>;
642
+ id_gt?: InputMaybe<Scalars["ID"]>;
643
+ id_gte?: InputMaybe<Scalars["ID"]>;
644
+ id_in?: InputMaybe<Array<Scalars["ID"]>>;
645
+ id_lt?: InputMaybe<Scalars["ID"]>;
646
+ id_lte?: InputMaybe<Scalars["ID"]>;
647
+ id_not?: InputMaybe<Scalars["ID"]>;
648
+ id_not_in?: InputMaybe<Array<Scalars["ID"]>>;
649
+ timestamp?: InputMaybe<Scalars["BigInt"]>;
650
+ timestamp_gt?: InputMaybe<Scalars["BigInt"]>;
651
+ timestamp_gte?: InputMaybe<Scalars["BigInt"]>;
652
+ timestamp_in?: InputMaybe<Array<Scalars["BigInt"]>>;
653
+ timestamp_lt?: InputMaybe<Scalars["BigInt"]>;
654
+ timestamp_lte?: InputMaybe<Scalars["BigInt"]>;
655
+ timestamp_not?: InputMaybe<Scalars["BigInt"]>;
656
+ timestamp_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
657
+ type?: InputMaybe<EventType>;
658
+ type_in?: InputMaybe<Array<EventType>>;
659
+ type_not?: InputMaybe<EventType>;
660
+ type_not_in?: InputMaybe<Array<EventType>>;
661
+ };
662
+
663
+ export enum DisputeEventLog_OrderBy {
664
+ Account = "account",
665
+ Dispute = "dispute",
666
+ ExecutedBy = "executedBy",
667
+ Hash = "hash",
668
+ Id = "id",
669
+ Timestamp = "timestamp",
670
+ Type = "type"
671
+ }
672
+
450
673
  export type DisputeResolutionTermsEntity = {
451
674
  __typename?: "DisputeResolutionTermsEntity";
452
675
  buyerEscalationDeposit: Scalars["BigInt"];
@@ -552,14 +775,16 @@ export enum DisputeResolutionTermsEntity_OrderBy {
552
775
  Offer = "offer"
553
776
  }
554
777
 
555
- export type DisputeResolver = {
778
+ export type DisputeResolver = Account & {
556
779
  __typename?: "DisputeResolver";
557
780
  active: Scalars["Boolean"];
558
781
  admin: Scalars["Bytes"];
559
782
  clerk: Scalars["Bytes"];
560
783
  escalationResponsePeriod: Scalars["BigInt"];
561
784
  fees: Array<DisputeResolverFee>;
785
+ funds: Array<FundsEntity>;
562
786
  id: Scalars["ID"];
787
+ logs: Array<EventLog>;
563
788
  metadataUri: Scalars["String"];
564
789
  offers: Array<Offer>;
565
790
  operator: Scalars["Bytes"];
@@ -575,6 +800,22 @@ export type DisputeResolverFeesArgs = {
575
800
  where?: InputMaybe<DisputeResolverFee_Filter>;
576
801
  };
577
802
 
803
+ export type DisputeResolverFundsArgs = {
804
+ first?: InputMaybe<Scalars["Int"]>;
805
+ orderBy?: InputMaybe<FundsEntity_OrderBy>;
806
+ orderDirection?: InputMaybe<OrderDirection>;
807
+ skip?: InputMaybe<Scalars["Int"]>;
808
+ where?: InputMaybe<FundsEntity_Filter>;
809
+ };
810
+
811
+ export type DisputeResolverLogsArgs = {
812
+ first?: InputMaybe<Scalars["Int"]>;
813
+ orderBy?: InputMaybe<EventLog_OrderBy>;
814
+ orderDirection?: InputMaybe<OrderDirection>;
815
+ skip?: InputMaybe<Scalars["Int"]>;
816
+ where?: InputMaybe<EventLog_Filter>;
817
+ };
818
+
578
819
  export type DisputeResolverOffersArgs = {
579
820
  first?: InputMaybe<Scalars["Int"]>;
580
821
  orderBy?: InputMaybe<Offer_OrderBy>;
@@ -751,7 +992,9 @@ export enum DisputeResolver_OrderBy {
751
992
  Clerk = "clerk",
752
993
  EscalationResponsePeriod = "escalationResponsePeriod",
753
994
  Fees = "fees",
995
+ Funds = "funds",
754
996
  Id = "id",
997
+ Logs = "logs",
755
998
  MetadataUri = "metadataUri",
756
999
  Offers = "offers",
757
1000
  Operator = "operator",
@@ -809,6 +1052,26 @@ export type Dispute_Filter = {
809
1052
  decidedDate_lte?: InputMaybe<Scalars["BigInt"]>;
810
1053
  decidedDate_not?: InputMaybe<Scalars["BigInt"]>;
811
1054
  decidedDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1055
+ disputeResolver?: InputMaybe<Scalars["String"]>;
1056
+ disputeResolver_contains?: InputMaybe<Scalars["String"]>;
1057
+ disputeResolver_contains_nocase?: InputMaybe<Scalars["String"]>;
1058
+ disputeResolver_ends_with?: InputMaybe<Scalars["String"]>;
1059
+ disputeResolver_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1060
+ disputeResolver_gt?: InputMaybe<Scalars["String"]>;
1061
+ disputeResolver_gte?: InputMaybe<Scalars["String"]>;
1062
+ disputeResolver_in?: InputMaybe<Array<Scalars["String"]>>;
1063
+ disputeResolver_lt?: InputMaybe<Scalars["String"]>;
1064
+ disputeResolver_lte?: InputMaybe<Scalars["String"]>;
1065
+ disputeResolver_not?: InputMaybe<Scalars["String"]>;
1066
+ disputeResolver_not_contains?: InputMaybe<Scalars["String"]>;
1067
+ disputeResolver_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1068
+ disputeResolver_not_ends_with?: InputMaybe<Scalars["String"]>;
1069
+ disputeResolver_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1070
+ disputeResolver_not_in?: InputMaybe<Array<Scalars["String"]>>;
1071
+ disputeResolver_not_starts_with?: InputMaybe<Scalars["String"]>;
1072
+ disputeResolver_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1073
+ disputeResolver_starts_with?: InputMaybe<Scalars["String"]>;
1074
+ disputeResolver_starts_with_nocase?: InputMaybe<Scalars["String"]>;
812
1075
  disputedDate?: InputMaybe<Scalars["BigInt"]>;
813
1076
  disputedDate_gt?: InputMaybe<Scalars["BigInt"]>;
814
1077
  disputedDate_gte?: InputMaybe<Scalars["BigInt"]>;
@@ -931,6 +1194,7 @@ export enum Dispute_OrderBy {
931
1194
  Buyer = "buyer",
932
1195
  BuyerPercent = "buyerPercent",
933
1196
  DecidedDate = "decidedDate",
1197
+ DisputeResolver = "disputeResolver",
934
1198
  DisputedDate = "disputedDate",
935
1199
  EscalatedDate = "escalatedDate",
936
1200
  Exchange = "exchange",
@@ -945,6 +1209,137 @@ export enum Dispute_OrderBy {
945
1209
  Timeout = "timeout"
946
1210
  }
947
1211
 
1212
+ export type EventLog = {
1213
+ account: Account;
1214
+ executedBy: Scalars["Bytes"];
1215
+ hash: Scalars["String"];
1216
+ id: Scalars["ID"];
1217
+ timestamp: Scalars["BigInt"];
1218
+ type: EventType;
1219
+ };
1220
+
1221
+ export type EventLog_Filter = {
1222
+ account?: InputMaybe<Scalars["String"]>;
1223
+ account_contains?: InputMaybe<Scalars["String"]>;
1224
+ account_contains_nocase?: InputMaybe<Scalars["String"]>;
1225
+ account_ends_with?: InputMaybe<Scalars["String"]>;
1226
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1227
+ account_gt?: InputMaybe<Scalars["String"]>;
1228
+ account_gte?: InputMaybe<Scalars["String"]>;
1229
+ account_in?: InputMaybe<Array<Scalars["String"]>>;
1230
+ account_lt?: InputMaybe<Scalars["String"]>;
1231
+ account_lte?: InputMaybe<Scalars["String"]>;
1232
+ account_not?: InputMaybe<Scalars["String"]>;
1233
+ account_not_contains?: InputMaybe<Scalars["String"]>;
1234
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1235
+ account_not_ends_with?: InputMaybe<Scalars["String"]>;
1236
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1237
+ account_not_in?: InputMaybe<Array<Scalars["String"]>>;
1238
+ account_not_starts_with?: InputMaybe<Scalars["String"]>;
1239
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1240
+ account_starts_with?: InputMaybe<Scalars["String"]>;
1241
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1242
+ executedBy?: InputMaybe<Scalars["Bytes"]>;
1243
+ executedBy_contains?: InputMaybe<Scalars["Bytes"]>;
1244
+ executedBy_in?: InputMaybe<Array<Scalars["Bytes"]>>;
1245
+ executedBy_not?: InputMaybe<Scalars["Bytes"]>;
1246
+ executedBy_not_contains?: InputMaybe<Scalars["Bytes"]>;
1247
+ executedBy_not_in?: InputMaybe<Array<Scalars["Bytes"]>>;
1248
+ hash?: InputMaybe<Scalars["String"]>;
1249
+ hash_contains?: InputMaybe<Scalars["String"]>;
1250
+ hash_contains_nocase?: InputMaybe<Scalars["String"]>;
1251
+ hash_ends_with?: InputMaybe<Scalars["String"]>;
1252
+ hash_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1253
+ hash_gt?: InputMaybe<Scalars["String"]>;
1254
+ hash_gte?: InputMaybe<Scalars["String"]>;
1255
+ hash_in?: InputMaybe<Array<Scalars["String"]>>;
1256
+ hash_lt?: InputMaybe<Scalars["String"]>;
1257
+ hash_lte?: InputMaybe<Scalars["String"]>;
1258
+ hash_not?: InputMaybe<Scalars["String"]>;
1259
+ hash_not_contains?: InputMaybe<Scalars["String"]>;
1260
+ hash_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1261
+ hash_not_ends_with?: InputMaybe<Scalars["String"]>;
1262
+ hash_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1263
+ hash_not_in?: InputMaybe<Array<Scalars["String"]>>;
1264
+ hash_not_starts_with?: InputMaybe<Scalars["String"]>;
1265
+ hash_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1266
+ hash_starts_with?: InputMaybe<Scalars["String"]>;
1267
+ hash_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1268
+ id?: InputMaybe<Scalars["ID"]>;
1269
+ id_gt?: InputMaybe<Scalars["ID"]>;
1270
+ id_gte?: InputMaybe<Scalars["ID"]>;
1271
+ id_in?: InputMaybe<Array<Scalars["ID"]>>;
1272
+ id_lt?: InputMaybe<Scalars["ID"]>;
1273
+ id_lte?: InputMaybe<Scalars["ID"]>;
1274
+ id_not?: InputMaybe<Scalars["ID"]>;
1275
+ id_not_in?: InputMaybe<Array<Scalars["ID"]>>;
1276
+ timestamp?: InputMaybe<Scalars["BigInt"]>;
1277
+ timestamp_gt?: InputMaybe<Scalars["BigInt"]>;
1278
+ timestamp_gte?: InputMaybe<Scalars["BigInt"]>;
1279
+ timestamp_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1280
+ timestamp_lt?: InputMaybe<Scalars["BigInt"]>;
1281
+ timestamp_lte?: InputMaybe<Scalars["BigInt"]>;
1282
+ timestamp_not?: InputMaybe<Scalars["BigInt"]>;
1283
+ timestamp_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1284
+ type?: InputMaybe<EventType>;
1285
+ type_in?: InputMaybe<Array<EventType>>;
1286
+ type_not?: InputMaybe<EventType>;
1287
+ type_not_in?: InputMaybe<Array<EventType>>;
1288
+ };
1289
+
1290
+ export enum EventLog_OrderBy {
1291
+ Account = "account",
1292
+ ExecutedBy = "executedBy",
1293
+ Hash = "hash",
1294
+ Id = "id",
1295
+ Timestamp = "timestamp",
1296
+ Type = "type"
1297
+ }
1298
+
1299
+ /**
1300
+ * Events
1301
+ *
1302
+ */
1303
+ export enum EventType {
1304
+ AllowedSellersAdded = "ALLOWED_SELLERS_ADDED",
1305
+ AllowedSellersRemoved = "ALLOWED_SELLERS_REMOVED",
1306
+ /** ExchangeHandler events */
1307
+ BuyerCommitted = "BUYER_COMMITTED",
1308
+ BuyerCreated = "BUYER_CREATED",
1309
+ DisputeDecided = "DISPUTE_DECIDED",
1310
+ DisputeEscalated = "DISPUTE_ESCALATED",
1311
+ DisputeExpired = "DISPUTE_EXPIRED",
1312
+ /** DisputeHandler events */
1313
+ DisputeRaised = "DISPUTE_RAISED",
1314
+ DisputeResolved = "DISPUTE_RESOLVED",
1315
+ DisputeResolverActivated = "DISPUTE_RESOLVER_ACTIVATED",
1316
+ DisputeResolverCreated = "DISPUTE_RESOLVER_CREATED",
1317
+ DisputeResolverFeesAdded = "DISPUTE_RESOLVER_FEES_ADDED",
1318
+ DisputeResolverFeesRemoved = "DISPUTE_RESOLVER_FEES_REMOVED",
1319
+ DisputeResolverUpdated = "DISPUTE_RESOLVER_UPDATED",
1320
+ DisputeRetracted = "DISPUTE_RETRACTED",
1321
+ DisputeTimeoutExtended = "DISPUTE_TIMEOUT_EXTENDED",
1322
+ EscalatedDisputeExpired = "ESCALATED_DISPUTE_EXPIRED",
1323
+ EscalatedDisputeRefused = "ESCALATED_DISPUTE_REFUSED",
1324
+ ExchangeCompleted = "EXCHANGE_COMPLETED",
1325
+ /** FundsHandler events */
1326
+ FundsDeposited = "FUNDS_DEPOSITED",
1327
+ FundsEncumbered = "FUNDS_ENCUMBERED",
1328
+ FundsReleased = "FUNDS_RELEASED",
1329
+ FundsWithdrawn = "FUNDS_WITHDRAWN",
1330
+ /** OfferHandler events */
1331
+ OfferCreated = "OFFER_CREATED",
1332
+ OfferVoided = "OFFER_VOIDED",
1333
+ /** AccountHandler events */
1334
+ SellerCreated = "SELLER_CREATED",
1335
+ SellerUpdated = "SELLER_UPDATED",
1336
+ VoucherCanceled = "VOUCHER_CANCELED",
1337
+ VoucherExtended = "VOUCHER_EXTENDED",
1338
+ VoucherRedeemed = "VOUCHER_REDEEMED",
1339
+ VoucherRevoked = "VOUCHER_REVOKED",
1340
+ VoucherTransferred = "VOUCHER_TRANSFERRED"
1341
+ }
1342
+
948
1343
  export type Exchange = {
949
1344
  __typename?: "Exchange";
950
1345
  buyer: Buyer;
@@ -952,6 +1347,7 @@ export type Exchange = {
952
1347
  committedDate: Scalars["BigInt"];
953
1348
  completedDate?: Maybe<Scalars["BigInt"]>;
954
1349
  dispute?: Maybe<Dispute>;
1350
+ disputeResolver: DisputeResolver;
955
1351
  disputed: Scalars["Boolean"];
956
1352
  disputedDate?: Maybe<Scalars["BigInt"]>;
957
1353
  expired: Scalars["Boolean"];
@@ -965,6 +1361,116 @@ export type Exchange = {
965
1361
  validUntilDate: Scalars["BigInt"];
966
1362
  };
967
1363
 
1364
+ export type ExchangeEventLog = EventLog & {
1365
+ __typename?: "ExchangeEventLog";
1366
+ account: Account;
1367
+ exchange: Exchange;
1368
+ executedBy: Scalars["Bytes"];
1369
+ hash: Scalars["String"];
1370
+ id: Scalars["ID"];
1371
+ timestamp: Scalars["BigInt"];
1372
+ type: EventType;
1373
+ };
1374
+
1375
+ export type ExchangeEventLog_Filter = {
1376
+ account?: InputMaybe<Scalars["String"]>;
1377
+ account_contains?: InputMaybe<Scalars["String"]>;
1378
+ account_contains_nocase?: InputMaybe<Scalars["String"]>;
1379
+ account_ends_with?: InputMaybe<Scalars["String"]>;
1380
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1381
+ account_gt?: InputMaybe<Scalars["String"]>;
1382
+ account_gte?: InputMaybe<Scalars["String"]>;
1383
+ account_in?: InputMaybe<Array<Scalars["String"]>>;
1384
+ account_lt?: InputMaybe<Scalars["String"]>;
1385
+ account_lte?: InputMaybe<Scalars["String"]>;
1386
+ account_not?: InputMaybe<Scalars["String"]>;
1387
+ account_not_contains?: InputMaybe<Scalars["String"]>;
1388
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1389
+ account_not_ends_with?: InputMaybe<Scalars["String"]>;
1390
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1391
+ account_not_in?: InputMaybe<Array<Scalars["String"]>>;
1392
+ account_not_starts_with?: InputMaybe<Scalars["String"]>;
1393
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1394
+ account_starts_with?: InputMaybe<Scalars["String"]>;
1395
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1396
+ exchange?: InputMaybe<Scalars["String"]>;
1397
+ exchange_contains?: InputMaybe<Scalars["String"]>;
1398
+ exchange_contains_nocase?: InputMaybe<Scalars["String"]>;
1399
+ exchange_ends_with?: InputMaybe<Scalars["String"]>;
1400
+ exchange_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1401
+ exchange_gt?: InputMaybe<Scalars["String"]>;
1402
+ exchange_gte?: InputMaybe<Scalars["String"]>;
1403
+ exchange_in?: InputMaybe<Array<Scalars["String"]>>;
1404
+ exchange_lt?: InputMaybe<Scalars["String"]>;
1405
+ exchange_lte?: InputMaybe<Scalars["String"]>;
1406
+ exchange_not?: InputMaybe<Scalars["String"]>;
1407
+ exchange_not_contains?: InputMaybe<Scalars["String"]>;
1408
+ exchange_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1409
+ exchange_not_ends_with?: InputMaybe<Scalars["String"]>;
1410
+ exchange_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1411
+ exchange_not_in?: InputMaybe<Array<Scalars["String"]>>;
1412
+ exchange_not_starts_with?: InputMaybe<Scalars["String"]>;
1413
+ exchange_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1414
+ exchange_starts_with?: InputMaybe<Scalars["String"]>;
1415
+ exchange_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1416
+ executedBy?: InputMaybe<Scalars["Bytes"]>;
1417
+ executedBy_contains?: InputMaybe<Scalars["Bytes"]>;
1418
+ executedBy_in?: InputMaybe<Array<Scalars["Bytes"]>>;
1419
+ executedBy_not?: InputMaybe<Scalars["Bytes"]>;
1420
+ executedBy_not_contains?: InputMaybe<Scalars["Bytes"]>;
1421
+ executedBy_not_in?: InputMaybe<Array<Scalars["Bytes"]>>;
1422
+ hash?: InputMaybe<Scalars["String"]>;
1423
+ hash_contains?: InputMaybe<Scalars["String"]>;
1424
+ hash_contains_nocase?: InputMaybe<Scalars["String"]>;
1425
+ hash_ends_with?: InputMaybe<Scalars["String"]>;
1426
+ hash_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1427
+ hash_gt?: InputMaybe<Scalars["String"]>;
1428
+ hash_gte?: InputMaybe<Scalars["String"]>;
1429
+ hash_in?: InputMaybe<Array<Scalars["String"]>>;
1430
+ hash_lt?: InputMaybe<Scalars["String"]>;
1431
+ hash_lte?: InputMaybe<Scalars["String"]>;
1432
+ hash_not?: InputMaybe<Scalars["String"]>;
1433
+ hash_not_contains?: InputMaybe<Scalars["String"]>;
1434
+ hash_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1435
+ hash_not_ends_with?: InputMaybe<Scalars["String"]>;
1436
+ hash_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1437
+ hash_not_in?: InputMaybe<Array<Scalars["String"]>>;
1438
+ hash_not_starts_with?: InputMaybe<Scalars["String"]>;
1439
+ hash_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1440
+ hash_starts_with?: InputMaybe<Scalars["String"]>;
1441
+ hash_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1442
+ id?: InputMaybe<Scalars["ID"]>;
1443
+ id_gt?: InputMaybe<Scalars["ID"]>;
1444
+ id_gte?: InputMaybe<Scalars["ID"]>;
1445
+ id_in?: InputMaybe<Array<Scalars["ID"]>>;
1446
+ id_lt?: InputMaybe<Scalars["ID"]>;
1447
+ id_lte?: InputMaybe<Scalars["ID"]>;
1448
+ id_not?: InputMaybe<Scalars["ID"]>;
1449
+ id_not_in?: InputMaybe<Array<Scalars["ID"]>>;
1450
+ timestamp?: InputMaybe<Scalars["BigInt"]>;
1451
+ timestamp_gt?: InputMaybe<Scalars["BigInt"]>;
1452
+ timestamp_gte?: InputMaybe<Scalars["BigInt"]>;
1453
+ timestamp_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1454
+ timestamp_lt?: InputMaybe<Scalars["BigInt"]>;
1455
+ timestamp_lte?: InputMaybe<Scalars["BigInt"]>;
1456
+ timestamp_not?: InputMaybe<Scalars["BigInt"]>;
1457
+ timestamp_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1458
+ type?: InputMaybe<EventType>;
1459
+ type_in?: InputMaybe<Array<EventType>>;
1460
+ type_not?: InputMaybe<EventType>;
1461
+ type_not_in?: InputMaybe<Array<EventType>>;
1462
+ };
1463
+
1464
+ export enum ExchangeEventLog_OrderBy {
1465
+ Account = "account",
1466
+ Exchange = "exchange",
1467
+ ExecutedBy = "executedBy",
1468
+ Hash = "hash",
1469
+ Id = "id",
1470
+ Timestamp = "timestamp",
1471
+ Type = "type"
1472
+ }
1473
+
968
1474
  /**
969
1475
  * Exchange and Voucher
970
1476
  *
@@ -1138,6 +1644,26 @@ export type Exchange_Filter = {
1138
1644
  completedDate_not?: InputMaybe<Scalars["BigInt"]>;
1139
1645
  completedDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1140
1646
  dispute?: InputMaybe<Scalars["String"]>;
1647
+ disputeResolver?: InputMaybe<Scalars["String"]>;
1648
+ disputeResolver_contains?: InputMaybe<Scalars["String"]>;
1649
+ disputeResolver_contains_nocase?: InputMaybe<Scalars["String"]>;
1650
+ disputeResolver_ends_with?: InputMaybe<Scalars["String"]>;
1651
+ disputeResolver_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1652
+ disputeResolver_gt?: InputMaybe<Scalars["String"]>;
1653
+ disputeResolver_gte?: InputMaybe<Scalars["String"]>;
1654
+ disputeResolver_in?: InputMaybe<Array<Scalars["String"]>>;
1655
+ disputeResolver_lt?: InputMaybe<Scalars["String"]>;
1656
+ disputeResolver_lte?: InputMaybe<Scalars["String"]>;
1657
+ disputeResolver_not?: InputMaybe<Scalars["String"]>;
1658
+ disputeResolver_not_contains?: InputMaybe<Scalars["String"]>;
1659
+ disputeResolver_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1660
+ disputeResolver_not_ends_with?: InputMaybe<Scalars["String"]>;
1661
+ disputeResolver_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1662
+ disputeResolver_not_in?: InputMaybe<Array<Scalars["String"]>>;
1663
+ disputeResolver_not_starts_with?: InputMaybe<Scalars["String"]>;
1664
+ disputeResolver_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1665
+ disputeResolver_starts_with?: InputMaybe<Scalars["String"]>;
1666
+ disputeResolver_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1141
1667
  dispute_contains?: InputMaybe<Scalars["String"]>;
1142
1668
  dispute_contains_nocase?: InputMaybe<Scalars["String"]>;
1143
1669
  dispute_ends_with?: InputMaybe<Scalars["String"]>;
@@ -1265,6 +1791,7 @@ export enum Exchange_OrderBy {
1265
1791
  CommittedDate = "committedDate",
1266
1792
  CompletedDate = "completedDate",
1267
1793
  Dispute = "dispute",
1794
+ DisputeResolver = "disputeResolver",
1268
1795
  Disputed = "disputed",
1269
1796
  DisputedDate = "disputedDate",
1270
1797
  Expired = "expired",
@@ -1374,6 +1901,116 @@ export enum FundsEntity_OrderBy {
1374
1901
  TokenAddress = "tokenAddress"
1375
1902
  }
1376
1903
 
1904
+ export type FundsEventLog = EventLog & {
1905
+ __typename?: "FundsEventLog";
1906
+ account: Account;
1907
+ executedBy: Scalars["Bytes"];
1908
+ funds: FundsEntity;
1909
+ hash: Scalars["String"];
1910
+ id: Scalars["ID"];
1911
+ timestamp: Scalars["BigInt"];
1912
+ type: EventType;
1913
+ };
1914
+
1915
+ export type FundsEventLog_Filter = {
1916
+ account?: InputMaybe<Scalars["String"]>;
1917
+ account_contains?: InputMaybe<Scalars["String"]>;
1918
+ account_contains_nocase?: InputMaybe<Scalars["String"]>;
1919
+ account_ends_with?: InputMaybe<Scalars["String"]>;
1920
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1921
+ account_gt?: InputMaybe<Scalars["String"]>;
1922
+ account_gte?: InputMaybe<Scalars["String"]>;
1923
+ account_in?: InputMaybe<Array<Scalars["String"]>>;
1924
+ account_lt?: InputMaybe<Scalars["String"]>;
1925
+ account_lte?: InputMaybe<Scalars["String"]>;
1926
+ account_not?: InputMaybe<Scalars["String"]>;
1927
+ account_not_contains?: InputMaybe<Scalars["String"]>;
1928
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1929
+ account_not_ends_with?: InputMaybe<Scalars["String"]>;
1930
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1931
+ account_not_in?: InputMaybe<Array<Scalars["String"]>>;
1932
+ account_not_starts_with?: InputMaybe<Scalars["String"]>;
1933
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1934
+ account_starts_with?: InputMaybe<Scalars["String"]>;
1935
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1936
+ executedBy?: InputMaybe<Scalars["Bytes"]>;
1937
+ executedBy_contains?: InputMaybe<Scalars["Bytes"]>;
1938
+ executedBy_in?: InputMaybe<Array<Scalars["Bytes"]>>;
1939
+ executedBy_not?: InputMaybe<Scalars["Bytes"]>;
1940
+ executedBy_not_contains?: InputMaybe<Scalars["Bytes"]>;
1941
+ executedBy_not_in?: InputMaybe<Array<Scalars["Bytes"]>>;
1942
+ funds?: InputMaybe<Scalars["String"]>;
1943
+ funds_contains?: InputMaybe<Scalars["String"]>;
1944
+ funds_contains_nocase?: InputMaybe<Scalars["String"]>;
1945
+ funds_ends_with?: InputMaybe<Scalars["String"]>;
1946
+ funds_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1947
+ funds_gt?: InputMaybe<Scalars["String"]>;
1948
+ funds_gte?: InputMaybe<Scalars["String"]>;
1949
+ funds_in?: InputMaybe<Array<Scalars["String"]>>;
1950
+ funds_lt?: InputMaybe<Scalars["String"]>;
1951
+ funds_lte?: InputMaybe<Scalars["String"]>;
1952
+ funds_not?: InputMaybe<Scalars["String"]>;
1953
+ funds_not_contains?: InputMaybe<Scalars["String"]>;
1954
+ funds_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1955
+ funds_not_ends_with?: InputMaybe<Scalars["String"]>;
1956
+ funds_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1957
+ funds_not_in?: InputMaybe<Array<Scalars["String"]>>;
1958
+ funds_not_starts_with?: InputMaybe<Scalars["String"]>;
1959
+ funds_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1960
+ funds_starts_with?: InputMaybe<Scalars["String"]>;
1961
+ funds_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1962
+ hash?: InputMaybe<Scalars["String"]>;
1963
+ hash_contains?: InputMaybe<Scalars["String"]>;
1964
+ hash_contains_nocase?: InputMaybe<Scalars["String"]>;
1965
+ hash_ends_with?: InputMaybe<Scalars["String"]>;
1966
+ hash_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1967
+ hash_gt?: InputMaybe<Scalars["String"]>;
1968
+ hash_gte?: InputMaybe<Scalars["String"]>;
1969
+ hash_in?: InputMaybe<Array<Scalars["String"]>>;
1970
+ hash_lt?: InputMaybe<Scalars["String"]>;
1971
+ hash_lte?: InputMaybe<Scalars["String"]>;
1972
+ hash_not?: InputMaybe<Scalars["String"]>;
1973
+ hash_not_contains?: InputMaybe<Scalars["String"]>;
1974
+ hash_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1975
+ hash_not_ends_with?: InputMaybe<Scalars["String"]>;
1976
+ hash_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1977
+ hash_not_in?: InputMaybe<Array<Scalars["String"]>>;
1978
+ hash_not_starts_with?: InputMaybe<Scalars["String"]>;
1979
+ hash_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1980
+ hash_starts_with?: InputMaybe<Scalars["String"]>;
1981
+ hash_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1982
+ id?: InputMaybe<Scalars["ID"]>;
1983
+ id_gt?: InputMaybe<Scalars["ID"]>;
1984
+ id_gte?: InputMaybe<Scalars["ID"]>;
1985
+ id_in?: InputMaybe<Array<Scalars["ID"]>>;
1986
+ id_lt?: InputMaybe<Scalars["ID"]>;
1987
+ id_lte?: InputMaybe<Scalars["ID"]>;
1988
+ id_not?: InputMaybe<Scalars["ID"]>;
1989
+ id_not_in?: InputMaybe<Array<Scalars["ID"]>>;
1990
+ timestamp?: InputMaybe<Scalars["BigInt"]>;
1991
+ timestamp_gt?: InputMaybe<Scalars["BigInt"]>;
1992
+ timestamp_gte?: InputMaybe<Scalars["BigInt"]>;
1993
+ timestamp_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1994
+ timestamp_lt?: InputMaybe<Scalars["BigInt"]>;
1995
+ timestamp_lte?: InputMaybe<Scalars["BigInt"]>;
1996
+ timestamp_not?: InputMaybe<Scalars["BigInt"]>;
1997
+ timestamp_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1998
+ type?: InputMaybe<EventType>;
1999
+ type_in?: InputMaybe<Array<EventType>>;
2000
+ type_not?: InputMaybe<EventType>;
2001
+ type_not_in?: InputMaybe<Array<EventType>>;
2002
+ };
2003
+
2004
+ export enum FundsEventLog_OrderBy {
2005
+ Account = "account",
2006
+ ExecutedBy = "executedBy",
2007
+ Funds = "funds",
2008
+ Hash = "hash",
2009
+ Id = "id",
2010
+ Timestamp = "timestamp",
2011
+ Type = "type"
2012
+ }
2013
+
1377
2014
  export type MetadataAttribute = {
1378
2015
  __typename?: "MetadataAttribute";
1379
2016
  displayType: Scalars["String"];
@@ -1814,6 +2451,116 @@ export type OfferExchangesArgs = {
1814
2451
  where?: InputMaybe<Exchange_Filter>;
1815
2452
  };
1816
2453
 
2454
+ export type OfferEventLog = EventLog & {
2455
+ __typename?: "OfferEventLog";
2456
+ account: Account;
2457
+ executedBy: Scalars["Bytes"];
2458
+ hash: Scalars["String"];
2459
+ id: Scalars["ID"];
2460
+ offer: Offer;
2461
+ timestamp: Scalars["BigInt"];
2462
+ type: EventType;
2463
+ };
2464
+
2465
+ export type OfferEventLog_Filter = {
2466
+ account?: InputMaybe<Scalars["String"]>;
2467
+ account_contains?: InputMaybe<Scalars["String"]>;
2468
+ account_contains_nocase?: InputMaybe<Scalars["String"]>;
2469
+ account_ends_with?: InputMaybe<Scalars["String"]>;
2470
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2471
+ account_gt?: InputMaybe<Scalars["String"]>;
2472
+ account_gte?: InputMaybe<Scalars["String"]>;
2473
+ account_in?: InputMaybe<Array<Scalars["String"]>>;
2474
+ account_lt?: InputMaybe<Scalars["String"]>;
2475
+ account_lte?: InputMaybe<Scalars["String"]>;
2476
+ account_not?: InputMaybe<Scalars["String"]>;
2477
+ account_not_contains?: InputMaybe<Scalars["String"]>;
2478
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]>;
2479
+ account_not_ends_with?: InputMaybe<Scalars["String"]>;
2480
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2481
+ account_not_in?: InputMaybe<Array<Scalars["String"]>>;
2482
+ account_not_starts_with?: InputMaybe<Scalars["String"]>;
2483
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2484
+ account_starts_with?: InputMaybe<Scalars["String"]>;
2485
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2486
+ executedBy?: InputMaybe<Scalars["Bytes"]>;
2487
+ executedBy_contains?: InputMaybe<Scalars["Bytes"]>;
2488
+ executedBy_in?: InputMaybe<Array<Scalars["Bytes"]>>;
2489
+ executedBy_not?: InputMaybe<Scalars["Bytes"]>;
2490
+ executedBy_not_contains?: InputMaybe<Scalars["Bytes"]>;
2491
+ executedBy_not_in?: InputMaybe<Array<Scalars["Bytes"]>>;
2492
+ hash?: InputMaybe<Scalars["String"]>;
2493
+ hash_contains?: InputMaybe<Scalars["String"]>;
2494
+ hash_contains_nocase?: InputMaybe<Scalars["String"]>;
2495
+ hash_ends_with?: InputMaybe<Scalars["String"]>;
2496
+ hash_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2497
+ hash_gt?: InputMaybe<Scalars["String"]>;
2498
+ hash_gte?: InputMaybe<Scalars["String"]>;
2499
+ hash_in?: InputMaybe<Array<Scalars["String"]>>;
2500
+ hash_lt?: InputMaybe<Scalars["String"]>;
2501
+ hash_lte?: InputMaybe<Scalars["String"]>;
2502
+ hash_not?: InputMaybe<Scalars["String"]>;
2503
+ hash_not_contains?: InputMaybe<Scalars["String"]>;
2504
+ hash_not_contains_nocase?: InputMaybe<Scalars["String"]>;
2505
+ hash_not_ends_with?: InputMaybe<Scalars["String"]>;
2506
+ hash_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2507
+ hash_not_in?: InputMaybe<Array<Scalars["String"]>>;
2508
+ hash_not_starts_with?: InputMaybe<Scalars["String"]>;
2509
+ hash_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2510
+ hash_starts_with?: InputMaybe<Scalars["String"]>;
2511
+ hash_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2512
+ id?: InputMaybe<Scalars["ID"]>;
2513
+ id_gt?: InputMaybe<Scalars["ID"]>;
2514
+ id_gte?: InputMaybe<Scalars["ID"]>;
2515
+ id_in?: InputMaybe<Array<Scalars["ID"]>>;
2516
+ id_lt?: InputMaybe<Scalars["ID"]>;
2517
+ id_lte?: InputMaybe<Scalars["ID"]>;
2518
+ id_not?: InputMaybe<Scalars["ID"]>;
2519
+ id_not_in?: InputMaybe<Array<Scalars["ID"]>>;
2520
+ offer?: InputMaybe<Scalars["String"]>;
2521
+ offer_contains?: InputMaybe<Scalars["String"]>;
2522
+ offer_contains_nocase?: InputMaybe<Scalars["String"]>;
2523
+ offer_ends_with?: InputMaybe<Scalars["String"]>;
2524
+ offer_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2525
+ offer_gt?: InputMaybe<Scalars["String"]>;
2526
+ offer_gte?: InputMaybe<Scalars["String"]>;
2527
+ offer_in?: InputMaybe<Array<Scalars["String"]>>;
2528
+ offer_lt?: InputMaybe<Scalars["String"]>;
2529
+ offer_lte?: InputMaybe<Scalars["String"]>;
2530
+ offer_not?: InputMaybe<Scalars["String"]>;
2531
+ offer_not_contains?: InputMaybe<Scalars["String"]>;
2532
+ offer_not_contains_nocase?: InputMaybe<Scalars["String"]>;
2533
+ offer_not_ends_with?: InputMaybe<Scalars["String"]>;
2534
+ offer_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2535
+ offer_not_in?: InputMaybe<Array<Scalars["String"]>>;
2536
+ offer_not_starts_with?: InputMaybe<Scalars["String"]>;
2537
+ offer_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2538
+ offer_starts_with?: InputMaybe<Scalars["String"]>;
2539
+ offer_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2540
+ timestamp?: InputMaybe<Scalars["BigInt"]>;
2541
+ timestamp_gt?: InputMaybe<Scalars["BigInt"]>;
2542
+ timestamp_gte?: InputMaybe<Scalars["BigInt"]>;
2543
+ timestamp_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2544
+ timestamp_lt?: InputMaybe<Scalars["BigInt"]>;
2545
+ timestamp_lte?: InputMaybe<Scalars["BigInt"]>;
2546
+ timestamp_not?: InputMaybe<Scalars["BigInt"]>;
2547
+ timestamp_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2548
+ type?: InputMaybe<EventType>;
2549
+ type_in?: InputMaybe<Array<EventType>>;
2550
+ type_not?: InputMaybe<EventType>;
2551
+ type_not_in?: InputMaybe<Array<EventType>>;
2552
+ };
2553
+
2554
+ export enum OfferEventLog_OrderBy {
2555
+ Account = "account",
2556
+ ExecutedBy = "executedBy",
2557
+ Hash = "hash",
2558
+ Id = "id",
2559
+ Offer = "offer",
2560
+ Timestamp = "timestamp",
2561
+ Type = "type"
2562
+ }
2563
+
1817
2564
  export type Offer_Filter = {
1818
2565
  agentFee?: InputMaybe<Scalars["BigInt"]>;
1819
2566
  agentFee_gt?: InputMaybe<Scalars["BigInt"]>;
@@ -4938,12 +5685,16 @@ export type Query = {
4938
5685
  /** Access to subgraph metadata */
4939
5686
  _meta?: Maybe<_Meta_>;
4940
5687
  account?: Maybe<Account>;
5688
+ accountEventLog?: Maybe<AccountEventLog>;
5689
+ accountEventLogs: Array<AccountEventLog>;
4941
5690
  accounts: Array<Account>;
4942
5691
  baseMetadataEntities: Array<BaseMetadataEntity>;
4943
5692
  baseMetadataEntity?: Maybe<BaseMetadataEntity>;
4944
5693
  buyer?: Maybe<Buyer>;
4945
5694
  buyers: Array<Buyer>;
4946
5695
  dispute?: Maybe<Dispute>;
5696
+ disputeEventLog?: Maybe<DisputeEventLog>;
5697
+ disputeEventLogs: Array<DisputeEventLog>;
4947
5698
  disputeResolutionTermsEntities: Array<DisputeResolutionTermsEntity>;
4948
5699
  disputeResolutionTermsEntity?: Maybe<DisputeResolutionTermsEntity>;
4949
5700
  disputeResolver?: Maybe<DisputeResolver>;
@@ -4951,17 +5702,25 @@ export type Query = {
4951
5702
  disputeResolverFees: Array<DisputeResolverFee>;
4952
5703
  disputeResolvers: Array<DisputeResolver>;
4953
5704
  disputes: Array<Dispute>;
5705
+ eventLog?: Maybe<EventLog>;
5706
+ eventLogs: Array<EventLog>;
4954
5707
  exchange?: Maybe<Exchange>;
5708
+ exchangeEventLog?: Maybe<ExchangeEventLog>;
5709
+ exchangeEventLogs: Array<ExchangeEventLog>;
4955
5710
  exchangeToken?: Maybe<ExchangeToken>;
4956
5711
  exchangeTokens: Array<ExchangeToken>;
4957
5712
  exchanges: Array<Exchange>;
4958
5713
  fundsEntities: Array<FundsEntity>;
4959
5714
  fundsEntity?: Maybe<FundsEntity>;
5715
+ fundsEventLog?: Maybe<FundsEventLog>;
5716
+ fundsEventLogs: Array<FundsEventLog>;
4960
5717
  metadataAttribute?: Maybe<MetadataAttribute>;
4961
5718
  metadataAttributes: Array<MetadataAttribute>;
4962
5719
  metadataInterface?: Maybe<MetadataInterface>;
4963
5720
  metadataInterfaces: Array<MetadataInterface>;
4964
5721
  offer?: Maybe<Offer>;
5722
+ offerEventLog?: Maybe<OfferEventLog>;
5723
+ offerEventLogs: Array<OfferEventLog>;
4965
5724
  offers: Array<Offer>;
4966
5725
  productV1Brand?: Maybe<ProductV1Brand>;
4967
5726
  productV1Brands: Array<ProductV1Brand>;
@@ -5006,6 +5765,22 @@ export type QueryAccountArgs = {
5006
5765
  subgraphError?: _SubgraphErrorPolicy_;
5007
5766
  };
5008
5767
 
5768
+ export type QueryAccountEventLogArgs = {
5769
+ block?: InputMaybe<Block_Height>;
5770
+ id: Scalars["ID"];
5771
+ subgraphError?: _SubgraphErrorPolicy_;
5772
+ };
5773
+
5774
+ export type QueryAccountEventLogsArgs = {
5775
+ block?: InputMaybe<Block_Height>;
5776
+ first?: InputMaybe<Scalars["Int"]>;
5777
+ orderBy?: InputMaybe<AccountEventLog_OrderBy>;
5778
+ orderDirection?: InputMaybe<OrderDirection>;
5779
+ skip?: InputMaybe<Scalars["Int"]>;
5780
+ subgraphError?: _SubgraphErrorPolicy_;
5781
+ where?: InputMaybe<AccountEventLog_Filter>;
5782
+ };
5783
+
5009
5784
  export type QueryAccountsArgs = {
5010
5785
  block?: InputMaybe<Block_Height>;
5011
5786
  first?: InputMaybe<Scalars["Int"]>;
@@ -5054,6 +5829,22 @@ export type QueryDisputeArgs = {
5054
5829
  subgraphError?: _SubgraphErrorPolicy_;
5055
5830
  };
5056
5831
 
5832
+ export type QueryDisputeEventLogArgs = {
5833
+ block?: InputMaybe<Block_Height>;
5834
+ id: Scalars["ID"];
5835
+ subgraphError?: _SubgraphErrorPolicy_;
5836
+ };
5837
+
5838
+ export type QueryDisputeEventLogsArgs = {
5839
+ block?: InputMaybe<Block_Height>;
5840
+ first?: InputMaybe<Scalars["Int"]>;
5841
+ orderBy?: InputMaybe<DisputeEventLog_OrderBy>;
5842
+ orderDirection?: InputMaybe<OrderDirection>;
5843
+ skip?: InputMaybe<Scalars["Int"]>;
5844
+ subgraphError?: _SubgraphErrorPolicy_;
5845
+ where?: InputMaybe<DisputeEventLog_Filter>;
5846
+ };
5847
+
5057
5848
  export type QueryDisputeResolutionTermsEntitiesArgs = {
5058
5849
  block?: InputMaybe<Block_Height>;
5059
5850
  first?: InputMaybe<Scalars["Int"]>;
@@ -5112,12 +5903,44 @@ export type QueryDisputesArgs = {
5112
5903
  where?: InputMaybe<Dispute_Filter>;
5113
5904
  };
5114
5905
 
5906
+ export type QueryEventLogArgs = {
5907
+ block?: InputMaybe<Block_Height>;
5908
+ id: Scalars["ID"];
5909
+ subgraphError?: _SubgraphErrorPolicy_;
5910
+ };
5911
+
5912
+ export type QueryEventLogsArgs = {
5913
+ block?: InputMaybe<Block_Height>;
5914
+ first?: InputMaybe<Scalars["Int"]>;
5915
+ orderBy?: InputMaybe<EventLog_OrderBy>;
5916
+ orderDirection?: InputMaybe<OrderDirection>;
5917
+ skip?: InputMaybe<Scalars["Int"]>;
5918
+ subgraphError?: _SubgraphErrorPolicy_;
5919
+ where?: InputMaybe<EventLog_Filter>;
5920
+ };
5921
+
5115
5922
  export type QueryExchangeArgs = {
5116
5923
  block?: InputMaybe<Block_Height>;
5117
5924
  id: Scalars["ID"];
5118
5925
  subgraphError?: _SubgraphErrorPolicy_;
5119
5926
  };
5120
5927
 
5928
+ export type QueryExchangeEventLogArgs = {
5929
+ block?: InputMaybe<Block_Height>;
5930
+ id: Scalars["ID"];
5931
+ subgraphError?: _SubgraphErrorPolicy_;
5932
+ };
5933
+
5934
+ export type QueryExchangeEventLogsArgs = {
5935
+ block?: InputMaybe<Block_Height>;
5936
+ first?: InputMaybe<Scalars["Int"]>;
5937
+ orderBy?: InputMaybe<ExchangeEventLog_OrderBy>;
5938
+ orderDirection?: InputMaybe<OrderDirection>;
5939
+ skip?: InputMaybe<Scalars["Int"]>;
5940
+ subgraphError?: _SubgraphErrorPolicy_;
5941
+ where?: InputMaybe<ExchangeEventLog_Filter>;
5942
+ };
5943
+
5121
5944
  export type QueryExchangeTokenArgs = {
5122
5945
  block?: InputMaybe<Block_Height>;
5123
5946
  id: Scalars["ID"];
@@ -5160,6 +5983,22 @@ export type QueryFundsEntityArgs = {
5160
5983
  subgraphError?: _SubgraphErrorPolicy_;
5161
5984
  };
5162
5985
 
5986
+ export type QueryFundsEventLogArgs = {
5987
+ block?: InputMaybe<Block_Height>;
5988
+ id: Scalars["ID"];
5989
+ subgraphError?: _SubgraphErrorPolicy_;
5990
+ };
5991
+
5992
+ export type QueryFundsEventLogsArgs = {
5993
+ block?: InputMaybe<Block_Height>;
5994
+ first?: InputMaybe<Scalars["Int"]>;
5995
+ orderBy?: InputMaybe<FundsEventLog_OrderBy>;
5996
+ orderDirection?: InputMaybe<OrderDirection>;
5997
+ skip?: InputMaybe<Scalars["Int"]>;
5998
+ subgraphError?: _SubgraphErrorPolicy_;
5999
+ where?: InputMaybe<FundsEventLog_Filter>;
6000
+ };
6001
+
5163
6002
  export type QueryMetadataAttributeArgs = {
5164
6003
  block?: InputMaybe<Block_Height>;
5165
6004
  id: Scalars["ID"];
@@ -5198,6 +6037,22 @@ export type QueryOfferArgs = {
5198
6037
  subgraphError?: _SubgraphErrorPolicy_;
5199
6038
  };
5200
6039
 
6040
+ export type QueryOfferEventLogArgs = {
6041
+ block?: InputMaybe<Block_Height>;
6042
+ id: Scalars["ID"];
6043
+ subgraphError?: _SubgraphErrorPolicy_;
6044
+ };
6045
+
6046
+ export type QueryOfferEventLogsArgs = {
6047
+ block?: InputMaybe<Block_Height>;
6048
+ first?: InputMaybe<Scalars["Int"]>;
6049
+ orderBy?: InputMaybe<OfferEventLog_OrderBy>;
6050
+ orderDirection?: InputMaybe<OrderDirection>;
6051
+ skip?: InputMaybe<Scalars["Int"]>;
6052
+ subgraphError?: _SubgraphErrorPolicy_;
6053
+ where?: InputMaybe<OfferEventLog_Filter>;
6054
+ };
6055
+
5201
6056
  export type QueryOffersArgs = {
5202
6057
  block?: InputMaybe<Block_Height>;
5203
6058
  first?: InputMaybe<Scalars["Int"]>;
@@ -5468,6 +6323,7 @@ export type Seller = Account & {
5468
6323
  exchanges: Array<Exchange>;
5469
6324
  funds: Array<FundsEntity>;
5470
6325
  id: Scalars["ID"];
6326
+ logs: Array<EventLog>;
5471
6327
  offers: Array<Offer>;
5472
6328
  operator: Scalars["Bytes"];
5473
6329
  sellerId: Scalars["BigInt"];
@@ -5491,6 +6347,14 @@ export type SellerFundsArgs = {
5491
6347
  where?: InputMaybe<FundsEntity_Filter>;
5492
6348
  };
5493
6349
 
6350
+ export type SellerLogsArgs = {
6351
+ first?: InputMaybe<Scalars["Int"]>;
6352
+ orderBy?: InputMaybe<EventLog_OrderBy>;
6353
+ orderDirection?: InputMaybe<OrderDirection>;
6354
+ skip?: InputMaybe<Scalars["Int"]>;
6355
+ where?: InputMaybe<EventLog_Filter>;
6356
+ };
6357
+
5494
6358
  export type SellerOffersArgs = {
5495
6359
  first?: InputMaybe<Scalars["Int"]>;
5496
6360
  orderBy?: InputMaybe<Offer_OrderBy>;
@@ -5577,6 +6441,7 @@ export enum Seller_OrderBy {
5577
6441
  Exchanges = "exchanges",
5578
6442
  Funds = "funds",
5579
6443
  Id = "id",
6444
+ Logs = "logs",
5580
6445
  Offers = "offers",
5581
6446
  Operator = "operator",
5582
6447
  SellerId = "sellerId",
@@ -5589,12 +6454,16 @@ export type Subscription = {
5589
6454
  /** Access to subgraph metadata */
5590
6455
  _meta?: Maybe<_Meta_>;
5591
6456
  account?: Maybe<Account>;
6457
+ accountEventLog?: Maybe<AccountEventLog>;
6458
+ accountEventLogs: Array<AccountEventLog>;
5592
6459
  accounts: Array<Account>;
5593
6460
  baseMetadataEntities: Array<BaseMetadataEntity>;
5594
6461
  baseMetadataEntity?: Maybe<BaseMetadataEntity>;
5595
6462
  buyer?: Maybe<Buyer>;
5596
6463
  buyers: Array<Buyer>;
5597
6464
  dispute?: Maybe<Dispute>;
6465
+ disputeEventLog?: Maybe<DisputeEventLog>;
6466
+ disputeEventLogs: Array<DisputeEventLog>;
5598
6467
  disputeResolutionTermsEntities: Array<DisputeResolutionTermsEntity>;
5599
6468
  disputeResolutionTermsEntity?: Maybe<DisputeResolutionTermsEntity>;
5600
6469
  disputeResolver?: Maybe<DisputeResolver>;
@@ -5602,17 +6471,25 @@ export type Subscription = {
5602
6471
  disputeResolverFees: Array<DisputeResolverFee>;
5603
6472
  disputeResolvers: Array<DisputeResolver>;
5604
6473
  disputes: Array<Dispute>;
6474
+ eventLog?: Maybe<EventLog>;
6475
+ eventLogs: Array<EventLog>;
5605
6476
  exchange?: Maybe<Exchange>;
6477
+ exchangeEventLog?: Maybe<ExchangeEventLog>;
6478
+ exchangeEventLogs: Array<ExchangeEventLog>;
5606
6479
  exchangeToken?: Maybe<ExchangeToken>;
5607
6480
  exchangeTokens: Array<ExchangeToken>;
5608
6481
  exchanges: Array<Exchange>;
5609
6482
  fundsEntities: Array<FundsEntity>;
5610
6483
  fundsEntity?: Maybe<FundsEntity>;
6484
+ fundsEventLog?: Maybe<FundsEventLog>;
6485
+ fundsEventLogs: Array<FundsEventLog>;
5611
6486
  metadataAttribute?: Maybe<MetadataAttribute>;
5612
6487
  metadataAttributes: Array<MetadataAttribute>;
5613
6488
  metadataInterface?: Maybe<MetadataInterface>;
5614
6489
  metadataInterfaces: Array<MetadataInterface>;
5615
6490
  offer?: Maybe<Offer>;
6491
+ offerEventLog?: Maybe<OfferEventLog>;
6492
+ offerEventLogs: Array<OfferEventLog>;
5616
6493
  offers: Array<Offer>;
5617
6494
  productV1Brand?: Maybe<ProductV1Brand>;
5618
6495
  productV1Brands: Array<ProductV1Brand>;
@@ -5657,6 +6534,22 @@ export type SubscriptionAccountArgs = {
5657
6534
  subgraphError?: _SubgraphErrorPolicy_;
5658
6535
  };
5659
6536
 
6537
+ export type SubscriptionAccountEventLogArgs = {
6538
+ block?: InputMaybe<Block_Height>;
6539
+ id: Scalars["ID"];
6540
+ subgraphError?: _SubgraphErrorPolicy_;
6541
+ };
6542
+
6543
+ export type SubscriptionAccountEventLogsArgs = {
6544
+ block?: InputMaybe<Block_Height>;
6545
+ first?: InputMaybe<Scalars["Int"]>;
6546
+ orderBy?: InputMaybe<AccountEventLog_OrderBy>;
6547
+ orderDirection?: InputMaybe<OrderDirection>;
6548
+ skip?: InputMaybe<Scalars["Int"]>;
6549
+ subgraphError?: _SubgraphErrorPolicy_;
6550
+ where?: InputMaybe<AccountEventLog_Filter>;
6551
+ };
6552
+
5660
6553
  export type SubscriptionAccountsArgs = {
5661
6554
  block?: InputMaybe<Block_Height>;
5662
6555
  first?: InputMaybe<Scalars["Int"]>;
@@ -5705,6 +6598,22 @@ export type SubscriptionDisputeArgs = {
5705
6598
  subgraphError?: _SubgraphErrorPolicy_;
5706
6599
  };
5707
6600
 
6601
+ export type SubscriptionDisputeEventLogArgs = {
6602
+ block?: InputMaybe<Block_Height>;
6603
+ id: Scalars["ID"];
6604
+ subgraphError?: _SubgraphErrorPolicy_;
6605
+ };
6606
+
6607
+ export type SubscriptionDisputeEventLogsArgs = {
6608
+ block?: InputMaybe<Block_Height>;
6609
+ first?: InputMaybe<Scalars["Int"]>;
6610
+ orderBy?: InputMaybe<DisputeEventLog_OrderBy>;
6611
+ orderDirection?: InputMaybe<OrderDirection>;
6612
+ skip?: InputMaybe<Scalars["Int"]>;
6613
+ subgraphError?: _SubgraphErrorPolicy_;
6614
+ where?: InputMaybe<DisputeEventLog_Filter>;
6615
+ };
6616
+
5708
6617
  export type SubscriptionDisputeResolutionTermsEntitiesArgs = {
5709
6618
  block?: InputMaybe<Block_Height>;
5710
6619
  first?: InputMaybe<Scalars["Int"]>;
@@ -5763,12 +6672,44 @@ export type SubscriptionDisputesArgs = {
5763
6672
  where?: InputMaybe<Dispute_Filter>;
5764
6673
  };
5765
6674
 
6675
+ export type SubscriptionEventLogArgs = {
6676
+ block?: InputMaybe<Block_Height>;
6677
+ id: Scalars["ID"];
6678
+ subgraphError?: _SubgraphErrorPolicy_;
6679
+ };
6680
+
6681
+ export type SubscriptionEventLogsArgs = {
6682
+ block?: InputMaybe<Block_Height>;
6683
+ first?: InputMaybe<Scalars["Int"]>;
6684
+ orderBy?: InputMaybe<EventLog_OrderBy>;
6685
+ orderDirection?: InputMaybe<OrderDirection>;
6686
+ skip?: InputMaybe<Scalars["Int"]>;
6687
+ subgraphError?: _SubgraphErrorPolicy_;
6688
+ where?: InputMaybe<EventLog_Filter>;
6689
+ };
6690
+
5766
6691
  export type SubscriptionExchangeArgs = {
5767
6692
  block?: InputMaybe<Block_Height>;
5768
6693
  id: Scalars["ID"];
5769
6694
  subgraphError?: _SubgraphErrorPolicy_;
5770
6695
  };
5771
6696
 
6697
+ export type SubscriptionExchangeEventLogArgs = {
6698
+ block?: InputMaybe<Block_Height>;
6699
+ id: Scalars["ID"];
6700
+ subgraphError?: _SubgraphErrorPolicy_;
6701
+ };
6702
+
6703
+ export type SubscriptionExchangeEventLogsArgs = {
6704
+ block?: InputMaybe<Block_Height>;
6705
+ first?: InputMaybe<Scalars["Int"]>;
6706
+ orderBy?: InputMaybe<ExchangeEventLog_OrderBy>;
6707
+ orderDirection?: InputMaybe<OrderDirection>;
6708
+ skip?: InputMaybe<Scalars["Int"]>;
6709
+ subgraphError?: _SubgraphErrorPolicy_;
6710
+ where?: InputMaybe<ExchangeEventLog_Filter>;
6711
+ };
6712
+
5772
6713
  export type SubscriptionExchangeTokenArgs = {
5773
6714
  block?: InputMaybe<Block_Height>;
5774
6715
  id: Scalars["ID"];
@@ -5811,6 +6752,22 @@ export type SubscriptionFundsEntityArgs = {
5811
6752
  subgraphError?: _SubgraphErrorPolicy_;
5812
6753
  };
5813
6754
 
6755
+ export type SubscriptionFundsEventLogArgs = {
6756
+ block?: InputMaybe<Block_Height>;
6757
+ id: Scalars["ID"];
6758
+ subgraphError?: _SubgraphErrorPolicy_;
6759
+ };
6760
+
6761
+ export type SubscriptionFundsEventLogsArgs = {
6762
+ block?: InputMaybe<Block_Height>;
6763
+ first?: InputMaybe<Scalars["Int"]>;
6764
+ orderBy?: InputMaybe<FundsEventLog_OrderBy>;
6765
+ orderDirection?: InputMaybe<OrderDirection>;
6766
+ skip?: InputMaybe<Scalars["Int"]>;
6767
+ subgraphError?: _SubgraphErrorPolicy_;
6768
+ where?: InputMaybe<FundsEventLog_Filter>;
6769
+ };
6770
+
5814
6771
  export type SubscriptionMetadataAttributeArgs = {
5815
6772
  block?: InputMaybe<Block_Height>;
5816
6773
  id: Scalars["ID"];
@@ -5849,6 +6806,22 @@ export type SubscriptionOfferArgs = {
5849
6806
  subgraphError?: _SubgraphErrorPolicy_;
5850
6807
  };
5851
6808
 
6809
+ export type SubscriptionOfferEventLogArgs = {
6810
+ block?: InputMaybe<Block_Height>;
6811
+ id: Scalars["ID"];
6812
+ subgraphError?: _SubgraphErrorPolicy_;
6813
+ };
6814
+
6815
+ export type SubscriptionOfferEventLogsArgs = {
6816
+ block?: InputMaybe<Block_Height>;
6817
+ first?: InputMaybe<Scalars["Int"]>;
6818
+ orderBy?: InputMaybe<OfferEventLog_OrderBy>;
6819
+ orderDirection?: InputMaybe<OrderDirection>;
6820
+ skip?: InputMaybe<Scalars["Int"]>;
6821
+ subgraphError?: _SubgraphErrorPolicy_;
6822
+ where?: InputMaybe<OfferEventLog_Filter>;
6823
+ };
6824
+
5852
6825
  export type SubscriptionOffersArgs = {
5853
6826
  block?: InputMaybe<Block_Height>;
5854
6827
  first?: InputMaybe<Scalars["Int"]>;
@@ -6158,9 +7131,15 @@ export type GetSellerByIdQueryQueryVariables = Exact<{
6158
7131
  exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
6159
7132
  exchangesOrderDirection?: InputMaybe<OrderDirection>;
6160
7133
  exchangesFilter?: InputMaybe<Exchange_Filter>;
7134
+ logsSkip?: InputMaybe<Scalars["Int"]>;
7135
+ logsFirst?: InputMaybe<Scalars["Int"]>;
7136
+ logsOrderBy?: InputMaybe<EventLog_OrderBy>;
7137
+ logsOrderDirection?: InputMaybe<OrderDirection>;
7138
+ logsFilter?: InputMaybe<EventLog_Filter>;
6161
7139
  includeExchanges?: InputMaybe<Scalars["Boolean"]>;
6162
7140
  includeOffers?: InputMaybe<Scalars["Boolean"]>;
6163
7141
  includeFunds?: InputMaybe<Scalars["Boolean"]>;
7142
+ includeLogs?: InputMaybe<Scalars["Boolean"]>;
6164
7143
  }>;
6165
7144
 
6166
7145
  export type GetSellerByIdQueryQuery = {
@@ -6492,6 +7471,72 @@ export type GetSellerByIdQueryQuery = {
6492
7471
  active: boolean;
6493
7472
  };
6494
7473
  }>;
7474
+ logs?: Array<
7475
+ | {
7476
+ __typename?: "AccountEventLog";
7477
+ id: string;
7478
+ hash: string;
7479
+ type: EventType;
7480
+ timestamp: string;
7481
+ executedBy: string;
7482
+ account:
7483
+ | { __typename?: "Buyer"; id: string }
7484
+ | { __typename?: "DisputeResolver"; id: string }
7485
+ | { __typename?: "Seller"; id: string };
7486
+ }
7487
+ | {
7488
+ __typename?: "DisputeEventLog";
7489
+ id: string;
7490
+ hash: string;
7491
+ type: EventType;
7492
+ timestamp: string;
7493
+ executedBy: string;
7494
+ dispute: { __typename?: "Dispute"; id: string };
7495
+ account:
7496
+ | { __typename?: "Buyer"; id: string }
7497
+ | { __typename?: "DisputeResolver"; id: string }
7498
+ | { __typename?: "Seller"; id: string };
7499
+ }
7500
+ | {
7501
+ __typename?: "ExchangeEventLog";
7502
+ id: string;
7503
+ hash: string;
7504
+ type: EventType;
7505
+ timestamp: string;
7506
+ executedBy: string;
7507
+ exchange: { __typename?: "Exchange"; id: string };
7508
+ account:
7509
+ | { __typename?: "Buyer"; id: string }
7510
+ | { __typename?: "DisputeResolver"; id: string }
7511
+ | { __typename?: "Seller"; id: string };
7512
+ }
7513
+ | {
7514
+ __typename?: "FundsEventLog";
7515
+ id: string;
7516
+ hash: string;
7517
+ type: EventType;
7518
+ timestamp: string;
7519
+ executedBy: string;
7520
+ funds: { __typename?: "FundsEntity"; id: string };
7521
+ account:
7522
+ | { __typename?: "Buyer"; id: string }
7523
+ | { __typename?: "DisputeResolver"; id: string }
7524
+ | { __typename?: "Seller"; id: string };
7525
+ }
7526
+ | {
7527
+ __typename?: "OfferEventLog";
7528
+ id: string;
7529
+ hash: string;
7530
+ type: EventType;
7531
+ timestamp: string;
7532
+ executedBy: string;
7533
+ offer: { __typename?: "Offer"; id: string };
7534
+ account:
7535
+ | { __typename?: "Buyer"; id: string }
7536
+ | { __typename?: "DisputeResolver"; id: string }
7537
+ | { __typename?: "Seller"; id: string };
7538
+ }
7539
+ >;
6495
7540
  } | null;
6496
7541
  };
6497
7542
 
@@ -6516,9 +7561,15 @@ export type GetSellersQueryQueryVariables = Exact<{
6516
7561
  exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
6517
7562
  exchangesOrderDirection?: InputMaybe<OrderDirection>;
6518
7563
  exchangesFilter?: InputMaybe<Exchange_Filter>;
7564
+ logsSkip?: InputMaybe<Scalars["Int"]>;
7565
+ logsFirst?: InputMaybe<Scalars["Int"]>;
7566
+ logsOrderBy?: InputMaybe<EventLog_OrderBy>;
7567
+ logsOrderDirection?: InputMaybe<OrderDirection>;
7568
+ logsFilter?: InputMaybe<EventLog_Filter>;
6519
7569
  includeExchanges?: InputMaybe<Scalars["Boolean"]>;
6520
7570
  includeOffers?: InputMaybe<Scalars["Boolean"]>;
6521
7571
  includeFunds?: InputMaybe<Scalars["Boolean"]>;
7572
+ includeLogs?: InputMaybe<Scalars["Boolean"]>;
6522
7573
  }>;
6523
7574
 
6524
7575
  export type GetSellersQueryQuery = {
@@ -6850,6 +7901,72 @@ export type GetSellersQueryQuery = {
6850
7901
  active: boolean;
6851
7902
  };
6852
7903
  }>;
7904
+ logs?: Array<
7905
+ | {
7906
+ __typename?: "AccountEventLog";
7907
+ id: string;
7908
+ hash: string;
7909
+ type: EventType;
7910
+ timestamp: string;
7911
+ executedBy: string;
7912
+ account:
7913
+ | { __typename?: "Buyer"; id: string }
7914
+ | { __typename?: "DisputeResolver"; id: string }
7915
+ | { __typename?: "Seller"; id: string };
7916
+ }
7917
+ | {
7918
+ __typename?: "DisputeEventLog";
7919
+ id: string;
7920
+ hash: string;
7921
+ type: EventType;
7922
+ timestamp: string;
7923
+ executedBy: string;
7924
+ dispute: { __typename?: "Dispute"; id: string };
7925
+ account:
7926
+ | { __typename?: "Buyer"; id: string }
7927
+ | { __typename?: "DisputeResolver"; id: string }
7928
+ | { __typename?: "Seller"; id: string };
7929
+ }
7930
+ | {
7931
+ __typename?: "ExchangeEventLog";
7932
+ id: string;
7933
+ hash: string;
7934
+ type: EventType;
7935
+ timestamp: string;
7936
+ executedBy: string;
7937
+ exchange: { __typename?: "Exchange"; id: string };
7938
+ account:
7939
+ | { __typename?: "Buyer"; id: string }
7940
+ | { __typename?: "DisputeResolver"; id: string }
7941
+ | { __typename?: "Seller"; id: string };
7942
+ }
7943
+ | {
7944
+ __typename?: "FundsEventLog";
7945
+ id: string;
7946
+ hash: string;
7947
+ type: EventType;
7948
+ timestamp: string;
7949
+ executedBy: string;
7950
+ funds: { __typename?: "FundsEntity"; id: string };
7951
+ account:
7952
+ | { __typename?: "Buyer"; id: string }
7953
+ | { __typename?: "DisputeResolver"; id: string }
7954
+ | { __typename?: "Seller"; id: string };
7955
+ }
7956
+ | {
7957
+ __typename?: "OfferEventLog";
7958
+ id: string;
7959
+ hash: string;
7960
+ type: EventType;
7961
+ timestamp: string;
7962
+ executedBy: string;
7963
+ offer: { __typename?: "Offer"; id: string };
7964
+ account:
7965
+ | { __typename?: "Buyer"; id: string }
7966
+ | { __typename?: "DisputeResolver"; id: string }
7967
+ | { __typename?: "Seller"; id: string };
7968
+ }
7969
+ >;
6853
7970
  }>;
6854
7971
  };
6855
7972
 
@@ -6865,8 +7982,14 @@ export type GetBuyerByIdQueryQueryVariables = Exact<{
6865
7982
  exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
6866
7983
  exchangesOrderDirection?: InputMaybe<OrderDirection>;
6867
7984
  exchangesFilter?: InputMaybe<Exchange_Filter>;
7985
+ logsSkip?: InputMaybe<Scalars["Int"]>;
7986
+ logsFirst?: InputMaybe<Scalars["Int"]>;
7987
+ logsOrderBy?: InputMaybe<EventLog_OrderBy>;
7988
+ logsOrderDirection?: InputMaybe<OrderDirection>;
7989
+ logsFilter?: InputMaybe<EventLog_Filter>;
6868
7990
  includeExchanges?: InputMaybe<Scalars["Boolean"]>;
6869
7991
  includeFunds?: InputMaybe<Scalars["Boolean"]>;
7992
+ includeLogs?: InputMaybe<Scalars["Boolean"]>;
6870
7993
  }>;
6871
7994
 
6872
7995
  export type GetBuyerByIdQueryQuery = {
@@ -6938,6 +8061,72 @@ export type GetBuyerByIdQueryQuery = {
6938
8061
  active: boolean;
6939
8062
  };
6940
8063
  }>;
8064
+ logs?: Array<
8065
+ | {
8066
+ __typename?: "AccountEventLog";
8067
+ id: string;
8068
+ hash: string;
8069
+ type: EventType;
8070
+ timestamp: string;
8071
+ executedBy: string;
8072
+ account:
8073
+ | { __typename?: "Buyer"; id: string }
8074
+ | { __typename?: "DisputeResolver"; id: string }
8075
+ | { __typename?: "Seller"; id: string };
8076
+ }
8077
+ | {
8078
+ __typename?: "DisputeEventLog";
8079
+ id: string;
8080
+ hash: string;
8081
+ type: EventType;
8082
+ timestamp: string;
8083
+ executedBy: string;
8084
+ dispute: { __typename?: "Dispute"; id: string };
8085
+ account:
8086
+ | { __typename?: "Buyer"; id: string }
8087
+ | { __typename?: "DisputeResolver"; id: string }
8088
+ | { __typename?: "Seller"; id: string };
8089
+ }
8090
+ | {
8091
+ __typename?: "ExchangeEventLog";
8092
+ id: string;
8093
+ hash: string;
8094
+ type: EventType;
8095
+ timestamp: string;
8096
+ executedBy: string;
8097
+ exchange: { __typename?: "Exchange"; id: string };
8098
+ account:
8099
+ | { __typename?: "Buyer"; id: string }
8100
+ | { __typename?: "DisputeResolver"; id: string }
8101
+ | { __typename?: "Seller"; id: string };
8102
+ }
8103
+ | {
8104
+ __typename?: "FundsEventLog";
8105
+ id: string;
8106
+ hash: string;
8107
+ type: EventType;
8108
+ timestamp: string;
8109
+ executedBy: string;
8110
+ funds: { __typename?: "FundsEntity"; id: string };
8111
+ account:
8112
+ | { __typename?: "Buyer"; id: string }
8113
+ | { __typename?: "DisputeResolver"; id: string }
8114
+ | { __typename?: "Seller"; id: string };
8115
+ }
8116
+ | {
8117
+ __typename?: "OfferEventLog";
8118
+ id: string;
8119
+ hash: string;
8120
+ type: EventType;
8121
+ timestamp: string;
8122
+ executedBy: string;
8123
+ offer: { __typename?: "Offer"; id: string };
8124
+ account:
8125
+ | { __typename?: "Buyer"; id: string }
8126
+ | { __typename?: "DisputeResolver"; id: string }
8127
+ | { __typename?: "Seller"; id: string };
8128
+ }
8129
+ >;
6941
8130
  } | null;
6942
8131
  };
6943
8132
 
@@ -6962,9 +8151,15 @@ export type GetBuyersQueryQueryVariables = Exact<{
6962
8151
  exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
6963
8152
  exchangesOrderDirection?: InputMaybe<OrderDirection>;
6964
8153
  exchangesFilter?: InputMaybe<Exchange_Filter>;
8154
+ logsSkip?: InputMaybe<Scalars["Int"]>;
8155
+ logsFirst?: InputMaybe<Scalars["Int"]>;
8156
+ logsOrderBy?: InputMaybe<EventLog_OrderBy>;
8157
+ logsOrderDirection?: InputMaybe<OrderDirection>;
8158
+ logsFilter?: InputMaybe<EventLog_Filter>;
6965
8159
  includeExchanges?: InputMaybe<Scalars["Boolean"]>;
6966
8160
  includeOffers?: InputMaybe<Scalars["Boolean"]>;
6967
8161
  includeFunds?: InputMaybe<Scalars["Boolean"]>;
8162
+ includeLogs?: InputMaybe<Scalars["Boolean"]>;
6968
8163
  }>;
6969
8164
 
6970
8165
  export type GetBuyersQueryQuery = {
@@ -7036,6 +8231,72 @@ export type GetBuyersQueryQuery = {
7036
8231
  active: boolean;
7037
8232
  };
7038
8233
  }>;
8234
+ logs?: Array<
8235
+ | {
8236
+ __typename?: "AccountEventLog";
8237
+ id: string;
8238
+ hash: string;
8239
+ type: EventType;
8240
+ timestamp: string;
8241
+ executedBy: string;
8242
+ account:
8243
+ | { __typename?: "Buyer"; id: string }
8244
+ | { __typename?: "DisputeResolver"; id: string }
8245
+ | { __typename?: "Seller"; id: string };
8246
+ }
8247
+ | {
8248
+ __typename?: "DisputeEventLog";
8249
+ id: string;
8250
+ hash: string;
8251
+ type: EventType;
8252
+ timestamp: string;
8253
+ executedBy: string;
8254
+ dispute: { __typename?: "Dispute"; id: string };
8255
+ account:
8256
+ | { __typename?: "Buyer"; id: string }
8257
+ | { __typename?: "DisputeResolver"; id: string }
8258
+ | { __typename?: "Seller"; id: string };
8259
+ }
8260
+ | {
8261
+ __typename?: "ExchangeEventLog";
8262
+ id: string;
8263
+ hash: string;
8264
+ type: EventType;
8265
+ timestamp: string;
8266
+ executedBy: string;
8267
+ exchange: { __typename?: "Exchange"; id: string };
8268
+ account:
8269
+ | { __typename?: "Buyer"; id: string }
8270
+ | { __typename?: "DisputeResolver"; id: string }
8271
+ | { __typename?: "Seller"; id: string };
8272
+ }
8273
+ | {
8274
+ __typename?: "FundsEventLog";
8275
+ id: string;
8276
+ hash: string;
8277
+ type: EventType;
8278
+ timestamp: string;
8279
+ executedBy: string;
8280
+ funds: { __typename?: "FundsEntity"; id: string };
8281
+ account:
8282
+ | { __typename?: "Buyer"; id: string }
8283
+ | { __typename?: "DisputeResolver"; id: string }
8284
+ | { __typename?: "Seller"; id: string };
8285
+ }
8286
+ | {
8287
+ __typename?: "OfferEventLog";
8288
+ id: string;
8289
+ hash: string;
8290
+ type: EventType;
8291
+ timestamp: string;
8292
+ executedBy: string;
8293
+ offer: { __typename?: "Offer"; id: string };
8294
+ account:
8295
+ | { __typename?: "Buyer"; id: string }
8296
+ | { __typename?: "DisputeResolver"; id: string }
8297
+ | { __typename?: "Seller"; id: string };
8298
+ }
8299
+ >;
7039
8300
  }>;
7040
8301
  };
7041
8302
 
@@ -7046,7 +8307,13 @@ export type GetDisputeResolverByIdQueryQueryVariables = Exact<{
7046
8307
  offersOrderBy?: InputMaybe<Offer_OrderBy>;
7047
8308
  offersOrderDirection?: InputMaybe<OrderDirection>;
7048
8309
  offersFilter?: InputMaybe<Offer_Filter>;
8310
+ logsSkip?: InputMaybe<Scalars["Int"]>;
8311
+ logsFirst?: InputMaybe<Scalars["Int"]>;
8312
+ logsOrderBy?: InputMaybe<EventLog_OrderBy>;
8313
+ logsOrderDirection?: InputMaybe<OrderDirection>;
8314
+ logsFilter?: InputMaybe<EventLog_Filter>;
7049
8315
  includeOffers?: InputMaybe<Scalars["Boolean"]>;
8316
+ includeLogs?: InputMaybe<Scalars["Boolean"]>;
7050
8317
  }>;
7051
8318
 
7052
8319
  export type GetDisputeResolverByIdQueryQuery = {
@@ -7316,6 +8583,72 @@ export type GetDisputeResolverByIdQueryQuery = {
7316
8583
  }
7317
8584
  | null;
7318
8585
  }>;
8586
+ logs?: Array<
8587
+ | {
8588
+ __typename?: "AccountEventLog";
8589
+ id: string;
8590
+ hash: string;
8591
+ type: EventType;
8592
+ timestamp: string;
8593
+ executedBy: string;
8594
+ account:
8595
+ | { __typename?: "Buyer"; id: string }
8596
+ | { __typename?: "DisputeResolver"; id: string }
8597
+ | { __typename?: "Seller"; id: string };
8598
+ }
8599
+ | {
8600
+ __typename?: "DisputeEventLog";
8601
+ id: string;
8602
+ hash: string;
8603
+ type: EventType;
8604
+ timestamp: string;
8605
+ executedBy: string;
8606
+ dispute: { __typename?: "Dispute"; id: string };
8607
+ account:
8608
+ | { __typename?: "Buyer"; id: string }
8609
+ | { __typename?: "DisputeResolver"; id: string }
8610
+ | { __typename?: "Seller"; id: string };
8611
+ }
8612
+ | {
8613
+ __typename?: "ExchangeEventLog";
8614
+ id: string;
8615
+ hash: string;
8616
+ type: EventType;
8617
+ timestamp: string;
8618
+ executedBy: string;
8619
+ exchange: { __typename?: "Exchange"; id: string };
8620
+ account:
8621
+ | { __typename?: "Buyer"; id: string }
8622
+ | { __typename?: "DisputeResolver"; id: string }
8623
+ | { __typename?: "Seller"; id: string };
8624
+ }
8625
+ | {
8626
+ __typename?: "FundsEventLog";
8627
+ id: string;
8628
+ hash: string;
8629
+ type: EventType;
8630
+ timestamp: string;
8631
+ executedBy: string;
8632
+ funds: { __typename?: "FundsEntity"; id: string };
8633
+ account:
8634
+ | { __typename?: "Buyer"; id: string }
8635
+ | { __typename?: "DisputeResolver"; id: string }
8636
+ | { __typename?: "Seller"; id: string };
8637
+ }
8638
+ | {
8639
+ __typename?: "OfferEventLog";
8640
+ id: string;
8641
+ hash: string;
8642
+ type: EventType;
8643
+ timestamp: string;
8644
+ executedBy: string;
8645
+ offer: { __typename?: "Offer"; id: string };
8646
+ account:
8647
+ | { __typename?: "Buyer"; id: string }
8648
+ | { __typename?: "DisputeResolver"; id: string }
8649
+ | { __typename?: "Seller"; id: string };
8650
+ }
8651
+ >;
7319
8652
  fees: Array<{
7320
8653
  __typename?: "DisputeResolverFee";
7321
8654
  id: string;
@@ -7345,7 +8678,13 @@ export type GetDisputeResolversQueryQueryVariables = Exact<{
7345
8678
  offersOrderBy?: InputMaybe<Offer_OrderBy>;
7346
8679
  offersOrderDirection?: InputMaybe<OrderDirection>;
7347
8680
  offersFilter?: InputMaybe<Offer_Filter>;
8681
+ logsSkip?: InputMaybe<Scalars["Int"]>;
8682
+ logsFirst?: InputMaybe<Scalars["Int"]>;
8683
+ logsOrderBy?: InputMaybe<EventLog_OrderBy>;
8684
+ logsOrderDirection?: InputMaybe<OrderDirection>;
8685
+ logsFilter?: InputMaybe<EventLog_Filter>;
7348
8686
  includeOffers?: InputMaybe<Scalars["Boolean"]>;
8687
+ includeLogs?: InputMaybe<Scalars["Boolean"]>;
7349
8688
  }>;
7350
8689
 
7351
8690
  export type GetDisputeResolversQueryQuery = {
@@ -7615,6 +8954,72 @@ export type GetDisputeResolversQueryQuery = {
7615
8954
  }
7616
8955
  | null;
7617
8956
  }>;
8957
+ logs?: Array<
8958
+ | {
8959
+ __typename?: "AccountEventLog";
8960
+ id: string;
8961
+ hash: string;
8962
+ type: EventType;
8963
+ timestamp: string;
8964
+ executedBy: string;
8965
+ account:
8966
+ | { __typename?: "Buyer"; id: string }
8967
+ | { __typename?: "DisputeResolver"; id: string }
8968
+ | { __typename?: "Seller"; id: string };
8969
+ }
8970
+ | {
8971
+ __typename?: "DisputeEventLog";
8972
+ id: string;
8973
+ hash: string;
8974
+ type: EventType;
8975
+ timestamp: string;
8976
+ executedBy: string;
8977
+ dispute: { __typename?: "Dispute"; id: string };
8978
+ account:
8979
+ | { __typename?: "Buyer"; id: string }
8980
+ | { __typename?: "DisputeResolver"; id: string }
8981
+ | { __typename?: "Seller"; id: string };
8982
+ }
8983
+ | {
8984
+ __typename?: "ExchangeEventLog";
8985
+ id: string;
8986
+ hash: string;
8987
+ type: EventType;
8988
+ timestamp: string;
8989
+ executedBy: string;
8990
+ exchange: { __typename?: "Exchange"; id: string };
8991
+ account:
8992
+ | { __typename?: "Buyer"; id: string }
8993
+ | { __typename?: "DisputeResolver"; id: string }
8994
+ | { __typename?: "Seller"; id: string };
8995
+ }
8996
+ | {
8997
+ __typename?: "FundsEventLog";
8998
+ id: string;
8999
+ hash: string;
9000
+ type: EventType;
9001
+ timestamp: string;
9002
+ executedBy: string;
9003
+ funds: { __typename?: "FundsEntity"; id: string };
9004
+ account:
9005
+ | { __typename?: "Buyer"; id: string }
9006
+ | { __typename?: "DisputeResolver"; id: string }
9007
+ | { __typename?: "Seller"; id: string };
9008
+ }
9009
+ | {
9010
+ __typename?: "OfferEventLog";
9011
+ id: string;
9012
+ hash: string;
9013
+ type: EventType;
9014
+ timestamp: string;
9015
+ executedBy: string;
9016
+ offer: { __typename?: "Offer"; id: string };
9017
+ account:
9018
+ | { __typename?: "Buyer"; id: string }
9019
+ | { __typename?: "DisputeResolver"; id: string }
9020
+ | { __typename?: "Seller"; id: string };
9021
+ }
9022
+ >;
7618
9023
  fees: Array<{
7619
9024
  __typename?: "DisputeResolverFee";
7620
9025
  id: string;
@@ -7956,6 +9361,72 @@ export type SellerFieldsFragment = {
7956
9361
  active: boolean;
7957
9362
  };
7958
9363
  }>;
9364
+ logs?: Array<
9365
+ | {
9366
+ __typename?: "AccountEventLog";
9367
+ id: string;
9368
+ hash: string;
9369
+ type: EventType;
9370
+ timestamp: string;
9371
+ executedBy: string;
9372
+ account:
9373
+ | { __typename?: "Buyer"; id: string }
9374
+ | { __typename?: "DisputeResolver"; id: string }
9375
+ | { __typename?: "Seller"; id: string };
9376
+ }
9377
+ | {
9378
+ __typename?: "DisputeEventLog";
9379
+ id: string;
9380
+ hash: string;
9381
+ type: EventType;
9382
+ timestamp: string;
9383
+ executedBy: string;
9384
+ dispute: { __typename?: "Dispute"; id: string };
9385
+ account:
9386
+ | { __typename?: "Buyer"; id: string }
9387
+ | { __typename?: "DisputeResolver"; id: string }
9388
+ | { __typename?: "Seller"; id: string };
9389
+ }
9390
+ | {
9391
+ __typename?: "ExchangeEventLog";
9392
+ id: string;
9393
+ hash: string;
9394
+ type: EventType;
9395
+ timestamp: string;
9396
+ executedBy: string;
9397
+ exchange: { __typename?: "Exchange"; id: string };
9398
+ account:
9399
+ | { __typename?: "Buyer"; id: string }
9400
+ | { __typename?: "DisputeResolver"; id: string }
9401
+ | { __typename?: "Seller"; id: string };
9402
+ }
9403
+ | {
9404
+ __typename?: "FundsEventLog";
9405
+ id: string;
9406
+ hash: string;
9407
+ type: EventType;
9408
+ timestamp: string;
9409
+ executedBy: string;
9410
+ funds: { __typename?: "FundsEntity"; id: string };
9411
+ account:
9412
+ | { __typename?: "Buyer"; id: string }
9413
+ | { __typename?: "DisputeResolver"; id: string }
9414
+ | { __typename?: "Seller"; id: string };
9415
+ }
9416
+ | {
9417
+ __typename?: "OfferEventLog";
9418
+ id: string;
9419
+ hash: string;
9420
+ type: EventType;
9421
+ timestamp: string;
9422
+ executedBy: string;
9423
+ offer: { __typename?: "Offer"; id: string };
9424
+ account:
9425
+ | { __typename?: "Buyer"; id: string }
9426
+ | { __typename?: "DisputeResolver"; id: string }
9427
+ | { __typename?: "Seller"; id: string };
9428
+ }
9429
+ >;
7959
9430
  };
7960
9431
 
7961
9432
  export type BaseSellerFieldsFragment = {
@@ -8038,6 +9509,72 @@ export type BuyerFieldsFragment = {
8038
9509
  active: boolean;
8039
9510
  };
8040
9511
  }>;
9512
+ logs?: Array<
9513
+ | {
9514
+ __typename?: "AccountEventLog";
9515
+ id: string;
9516
+ hash: string;
9517
+ type: EventType;
9518
+ timestamp: string;
9519
+ executedBy: string;
9520
+ account:
9521
+ | { __typename?: "Buyer"; id: string }
9522
+ | { __typename?: "DisputeResolver"; id: string }
9523
+ | { __typename?: "Seller"; id: string };
9524
+ }
9525
+ | {
9526
+ __typename?: "DisputeEventLog";
9527
+ id: string;
9528
+ hash: string;
9529
+ type: EventType;
9530
+ timestamp: string;
9531
+ executedBy: string;
9532
+ dispute: { __typename?: "Dispute"; id: string };
9533
+ account:
9534
+ | { __typename?: "Buyer"; id: string }
9535
+ | { __typename?: "DisputeResolver"; id: string }
9536
+ | { __typename?: "Seller"; id: string };
9537
+ }
9538
+ | {
9539
+ __typename?: "ExchangeEventLog";
9540
+ id: string;
9541
+ hash: string;
9542
+ type: EventType;
9543
+ timestamp: string;
9544
+ executedBy: string;
9545
+ exchange: { __typename?: "Exchange"; id: string };
9546
+ account:
9547
+ | { __typename?: "Buyer"; id: string }
9548
+ | { __typename?: "DisputeResolver"; id: string }
9549
+ | { __typename?: "Seller"; id: string };
9550
+ }
9551
+ | {
9552
+ __typename?: "FundsEventLog";
9553
+ id: string;
9554
+ hash: string;
9555
+ type: EventType;
9556
+ timestamp: string;
9557
+ executedBy: string;
9558
+ funds: { __typename?: "FundsEntity"; id: string };
9559
+ account:
9560
+ | { __typename?: "Buyer"; id: string }
9561
+ | { __typename?: "DisputeResolver"; id: string }
9562
+ | { __typename?: "Seller"; id: string };
9563
+ }
9564
+ | {
9565
+ __typename?: "OfferEventLog";
9566
+ id: string;
9567
+ hash: string;
9568
+ type: EventType;
9569
+ timestamp: string;
9570
+ executedBy: string;
9571
+ offer: { __typename?: "Offer"; id: string };
9572
+ account:
9573
+ | { __typename?: "Buyer"; id: string }
9574
+ | { __typename?: "DisputeResolver"; id: string }
9575
+ | { __typename?: "Seller"; id: string };
9576
+ }
9577
+ >;
8041
9578
  };
8042
9579
 
8043
9580
  export type BaseBuyerFieldsFragment = {
@@ -8308,6 +9845,72 @@ export type DisputeResolverFieldsFragment = {
8308
9845
  }
8309
9846
  | null;
8310
9847
  }>;
9848
+ logs?: Array<
9849
+ | {
9850
+ __typename?: "AccountEventLog";
9851
+ id: string;
9852
+ hash: string;
9853
+ type: EventType;
9854
+ timestamp: string;
9855
+ executedBy: string;
9856
+ account:
9857
+ | { __typename?: "Buyer"; id: string }
9858
+ | { __typename?: "DisputeResolver"; id: string }
9859
+ | { __typename?: "Seller"; id: string };
9860
+ }
9861
+ | {
9862
+ __typename?: "DisputeEventLog";
9863
+ id: string;
9864
+ hash: string;
9865
+ type: EventType;
9866
+ timestamp: string;
9867
+ executedBy: string;
9868
+ dispute: { __typename?: "Dispute"; id: string };
9869
+ account:
9870
+ | { __typename?: "Buyer"; id: string }
9871
+ | { __typename?: "DisputeResolver"; id: string }
9872
+ | { __typename?: "Seller"; id: string };
9873
+ }
9874
+ | {
9875
+ __typename?: "ExchangeEventLog";
9876
+ id: string;
9877
+ hash: string;
9878
+ type: EventType;
9879
+ timestamp: string;
9880
+ executedBy: string;
9881
+ exchange: { __typename?: "Exchange"; id: string };
9882
+ account:
9883
+ | { __typename?: "Buyer"; id: string }
9884
+ | { __typename?: "DisputeResolver"; id: string }
9885
+ | { __typename?: "Seller"; id: string };
9886
+ }
9887
+ | {
9888
+ __typename?: "FundsEventLog";
9889
+ id: string;
9890
+ hash: string;
9891
+ type: EventType;
9892
+ timestamp: string;
9893
+ executedBy: string;
9894
+ funds: { __typename?: "FundsEntity"; id: string };
9895
+ account:
9896
+ | { __typename?: "Buyer"; id: string }
9897
+ | { __typename?: "DisputeResolver"; id: string }
9898
+ | { __typename?: "Seller"; id: string };
9899
+ }
9900
+ | {
9901
+ __typename?: "OfferEventLog";
9902
+ id: string;
9903
+ hash: string;
9904
+ type: EventType;
9905
+ timestamp: string;
9906
+ executedBy: string;
9907
+ offer: { __typename?: "Offer"; id: string };
9908
+ account:
9909
+ | { __typename?: "Buyer"; id: string }
9910
+ | { __typename?: "DisputeResolver"; id: string }
9911
+ | { __typename?: "Seller"; id: string };
9912
+ }
9913
+ >;
8311
9914
  fees: Array<{
8312
9915
  __typename?: "DisputeResolverFee";
8313
9916
  id: string;
@@ -9518,6 +11121,160 @@ export type BaseExchangeTokenFieldsFragment = {
9518
11121
  name: string;
9519
11122
  };
9520
11123
 
11124
+ export type GetEventLogsQueryQueryVariables = Exact<{
11125
+ logsSkip?: InputMaybe<Scalars["Int"]>;
11126
+ logsFirst?: InputMaybe<Scalars["Int"]>;
11127
+ logsOrderBy?: InputMaybe<EventLog_OrderBy>;
11128
+ logsOrderDirection?: InputMaybe<OrderDirection>;
11129
+ logsFilter?: InputMaybe<EventLog_Filter>;
11130
+ }>;
11131
+
11132
+ export type GetEventLogsQueryQuery = {
11133
+ __typename?: "Query";
11134
+ eventLogs: Array<
11135
+ | {
11136
+ __typename?: "AccountEventLog";
11137
+ id: string;
11138
+ hash: string;
11139
+ type: EventType;
11140
+ timestamp: string;
11141
+ executedBy: string;
11142
+ account:
11143
+ | { __typename?: "Buyer"; id: string }
11144
+ | { __typename?: "DisputeResolver"; id: string }
11145
+ | { __typename?: "Seller"; id: string };
11146
+ }
11147
+ | {
11148
+ __typename?: "DisputeEventLog";
11149
+ id: string;
11150
+ hash: string;
11151
+ type: EventType;
11152
+ timestamp: string;
11153
+ executedBy: string;
11154
+ dispute: { __typename?: "Dispute"; id: string };
11155
+ account:
11156
+ | { __typename?: "Buyer"; id: string }
11157
+ | { __typename?: "DisputeResolver"; id: string }
11158
+ | { __typename?: "Seller"; id: string };
11159
+ }
11160
+ | {
11161
+ __typename?: "ExchangeEventLog";
11162
+ id: string;
11163
+ hash: string;
11164
+ type: EventType;
11165
+ timestamp: string;
11166
+ executedBy: string;
11167
+ exchange: { __typename?: "Exchange"; id: string };
11168
+ account:
11169
+ | { __typename?: "Buyer"; id: string }
11170
+ | { __typename?: "DisputeResolver"; id: string }
11171
+ | { __typename?: "Seller"; id: string };
11172
+ }
11173
+ | {
11174
+ __typename?: "FundsEventLog";
11175
+ id: string;
11176
+ hash: string;
11177
+ type: EventType;
11178
+ timestamp: string;
11179
+ executedBy: string;
11180
+ funds: { __typename?: "FundsEntity"; id: string };
11181
+ account:
11182
+ | { __typename?: "Buyer"; id: string }
11183
+ | { __typename?: "DisputeResolver"; id: string }
11184
+ | { __typename?: "Seller"; id: string };
11185
+ }
11186
+ | {
11187
+ __typename?: "OfferEventLog";
11188
+ id: string;
11189
+ hash: string;
11190
+ type: EventType;
11191
+ timestamp: string;
11192
+ executedBy: string;
11193
+ offer: { __typename?: "Offer"; id: string };
11194
+ account:
11195
+ | { __typename?: "Buyer"; id: string }
11196
+ | { __typename?: "DisputeResolver"; id: string }
11197
+ | { __typename?: "Seller"; id: string };
11198
+ }
11199
+ >;
11200
+ };
11201
+
11202
+ type BaseEventLogFields_AccountEventLog_Fragment = {
11203
+ __typename?: "AccountEventLog";
11204
+ id: string;
11205
+ hash: string;
11206
+ type: EventType;
11207
+ timestamp: string;
11208
+ executedBy: string;
11209
+ account:
11210
+ | { __typename?: "Buyer"; id: string }
11211
+ | { __typename?: "DisputeResolver"; id: string }
11212
+ | { __typename?: "Seller"; id: string };
11213
+ };
11214
+
11215
+ type BaseEventLogFields_DisputeEventLog_Fragment = {
11216
+ __typename?: "DisputeEventLog";
11217
+ id: string;
11218
+ hash: string;
11219
+ type: EventType;
11220
+ timestamp: string;
11221
+ executedBy: string;
11222
+ dispute: { __typename?: "Dispute"; id: string };
11223
+ account:
11224
+ | { __typename?: "Buyer"; id: string }
11225
+ | { __typename?: "DisputeResolver"; id: string }
11226
+ | { __typename?: "Seller"; id: string };
11227
+ };
11228
+
11229
+ type BaseEventLogFields_ExchangeEventLog_Fragment = {
11230
+ __typename?: "ExchangeEventLog";
11231
+ id: string;
11232
+ hash: string;
11233
+ type: EventType;
11234
+ timestamp: string;
11235
+ executedBy: string;
11236
+ exchange: { __typename?: "Exchange"; id: string };
11237
+ account:
11238
+ | { __typename?: "Buyer"; id: string }
11239
+ | { __typename?: "DisputeResolver"; id: string }
11240
+ | { __typename?: "Seller"; id: string };
11241
+ };
11242
+
11243
+ type BaseEventLogFields_FundsEventLog_Fragment = {
11244
+ __typename?: "FundsEventLog";
11245
+ id: string;
11246
+ hash: string;
11247
+ type: EventType;
11248
+ timestamp: string;
11249
+ executedBy: string;
11250
+ funds: { __typename?: "FundsEntity"; id: string };
11251
+ account:
11252
+ | { __typename?: "Buyer"; id: string }
11253
+ | { __typename?: "DisputeResolver"; id: string }
11254
+ | { __typename?: "Seller"; id: string };
11255
+ };
11256
+
11257
+ type BaseEventLogFields_OfferEventLog_Fragment = {
11258
+ __typename?: "OfferEventLog";
11259
+ id: string;
11260
+ hash: string;
11261
+ type: EventType;
11262
+ timestamp: string;
11263
+ executedBy: string;
11264
+ offer: { __typename?: "Offer"; id: string };
11265
+ account:
11266
+ | { __typename?: "Buyer"; id: string }
11267
+ | { __typename?: "DisputeResolver"; id: string }
11268
+ | { __typename?: "Seller"; id: string };
11269
+ };
11270
+
11271
+ export type BaseEventLogFieldsFragment =
11272
+ | BaseEventLogFields_AccountEventLog_Fragment
11273
+ | BaseEventLogFields_DisputeEventLog_Fragment
11274
+ | BaseEventLogFields_ExchangeEventLog_Fragment
11275
+ | BaseEventLogFields_FundsEventLog_Fragment
11276
+ | BaseEventLogFields_OfferEventLog_Fragment;
11277
+
9521
11278
  export type GetExchangeByIdQueryQueryVariables = Exact<{
9522
11279
  exchangeId: Scalars["ID"];
9523
11280
  }>;
@@ -15288,6 +17045,38 @@ export const BaseExchangeFieldsFragmentDoc = gql`
15288
17045
  ${BaseBuyerFieldsFragmentDoc}
15289
17046
  ${BaseSellerFieldsFragmentDoc}
15290
17047
  `;
17048
+ export const BaseEventLogFieldsFragmentDoc = gql`
17049
+ fragment BaseEventLogFields on EventLog {
17050
+ id
17051
+ hash
17052
+ type
17053
+ timestamp
17054
+ executedBy
17055
+ account {
17056
+ id
17057
+ }
17058
+ ... on OfferEventLog {
17059
+ offer {
17060
+ id
17061
+ }
17062
+ }
17063
+ ... on ExchangeEventLog {
17064
+ exchange {
17065
+ id
17066
+ }
17067
+ }
17068
+ ... on FundsEventLog {
17069
+ funds {
17070
+ id
17071
+ }
17072
+ }
17073
+ ... on DisputeEventLog {
17074
+ dispute {
17075
+ id
17076
+ }
17077
+ }
17078
+ }
17079
+ `;
15291
17080
  export const SellerFieldsFragmentDoc = gql`
15292
17081
  fragment SellerFields on Seller {
15293
17082
  ...BaseSellerFields
@@ -15318,11 +17107,21 @@ export const SellerFieldsFragmentDoc = gql`
15318
17107
  ) @include(if: $includeExchanges) {
15319
17108
  ...BaseExchangeFields
15320
17109
  }
17110
+ logs(
17111
+ skip: $logsSkip
17112
+ first: $logsFirst
17113
+ orderBy: $logsOrderBy
17114
+ orderDirection: $logsOrderDirection
17115
+ where: $logsFilter
17116
+ ) @include(if: $includeLogs) {
17117
+ ...BaseEventLogFields
17118
+ }
15321
17119
  }
15322
17120
  ${BaseSellerFieldsFragmentDoc}
15323
17121
  ${FundsEntityFieldsFragmentDoc}
15324
17122
  ${BaseOfferFieldsFragmentDoc}
15325
17123
  ${BaseExchangeFieldsFragmentDoc}
17124
+ ${BaseEventLogFieldsFragmentDoc}
15326
17125
  `;
15327
17126
  export const BuyerFieldsFragmentDoc = gql`
15328
17127
  fragment BuyerFields on Buyer {
@@ -15345,10 +17144,20 @@ export const BuyerFieldsFragmentDoc = gql`
15345
17144
  ) @include(if: $includeExchanges) {
15346
17145
  ...BaseExchangeFields
15347
17146
  }
17147
+ logs(
17148
+ skip: $logsSkip
17149
+ first: $logsFirst
17150
+ orderBy: $logsOrderBy
17151
+ orderDirection: $logsOrderDirection
17152
+ where: $logsFilter
17153
+ ) @include(if: $includeLogs) {
17154
+ ...BaseEventLogFields
17155
+ }
15348
17156
  }
15349
17157
  ${BaseBuyerFieldsFragmentDoc}
15350
17158
  ${FundsEntityFieldsFragmentDoc}
15351
17159
  ${BaseExchangeFieldsFragmentDoc}
17160
+ ${BaseEventLogFieldsFragmentDoc}
15352
17161
  `;
15353
17162
  export const DisputeResolverFieldsFragmentDoc = gql`
15354
17163
  fragment DisputeResolverFields on DisputeResolver {
@@ -15362,9 +17171,19 @@ export const DisputeResolverFieldsFragmentDoc = gql`
15362
17171
  ) @include(if: $includeOffers) {
15363
17172
  ...BaseOfferFields
15364
17173
  }
17174
+ logs(
17175
+ skip: $logsSkip
17176
+ first: $logsFirst
17177
+ orderBy: $logsOrderBy
17178
+ orderDirection: $logsOrderDirection
17179
+ where: $logsFilter
17180
+ ) @include(if: $includeLogs) {
17181
+ ...BaseEventLogFields
17182
+ }
15365
17183
  }
15366
17184
  ${BaseDisputeResolverFieldsFragmentDoc}
15367
17185
  ${BaseOfferFieldsFragmentDoc}
17186
+ ${BaseEventLogFieldsFragmentDoc}
15368
17187
  `;
15369
17188
  export const DisputeFieldsFragmentDoc = gql`
15370
17189
  fragment DisputeFields on Dispute {
@@ -15587,9 +17406,15 @@ export const GetSellerByIdQueryDocument = gql`
15587
17406
  $exchangesOrderBy: Exchange_orderBy
15588
17407
  $exchangesOrderDirection: OrderDirection
15589
17408
  $exchangesFilter: Exchange_filter
17409
+ $logsSkip: Int
17410
+ $logsFirst: Int
17411
+ $logsOrderBy: EventLog_orderBy
17412
+ $logsOrderDirection: OrderDirection
17413
+ $logsFilter: EventLog_filter
15590
17414
  $includeExchanges: Boolean = false
15591
17415
  $includeOffers: Boolean = false
15592
17416
  $includeFunds: Boolean = false
17417
+ $includeLogs: Boolean = false
15593
17418
  ) {
15594
17419
  seller(id: $sellerId) {
15595
17420
  ...SellerFields
@@ -15619,9 +17444,15 @@ export const GetSellersQueryDocument = gql`
15619
17444
  $exchangesOrderBy: Exchange_orderBy
15620
17445
  $exchangesOrderDirection: OrderDirection
15621
17446
  $exchangesFilter: Exchange_filter
17447
+ $logsSkip: Int
17448
+ $logsFirst: Int
17449
+ $logsOrderBy: EventLog_orderBy
17450
+ $logsOrderDirection: OrderDirection
17451
+ $logsFilter: EventLog_filter
15622
17452
  $includeExchanges: Boolean = false
15623
17453
  $includeOffers: Boolean = false
15624
17454
  $includeFunds: Boolean = false
17455
+ $includeLogs: Boolean = false
15625
17456
  ) {
15626
17457
  sellers(
15627
17458
  skip: $sellersSkip
@@ -15648,8 +17479,14 @@ export const GetBuyerByIdQueryDocument = gql`
15648
17479
  $exchangesOrderBy: Exchange_orderBy
15649
17480
  $exchangesOrderDirection: OrderDirection
15650
17481
  $exchangesFilter: Exchange_filter
17482
+ $logsSkip: Int
17483
+ $logsFirst: Int
17484
+ $logsOrderBy: EventLog_orderBy
17485
+ $logsOrderDirection: OrderDirection
17486
+ $logsFilter: EventLog_filter
15651
17487
  $includeExchanges: Boolean = false
15652
17488
  $includeFunds: Boolean = false
17489
+ $includeLogs: Boolean = false
15653
17490
  ) {
15654
17491
  buyer(id: $buyerId) {
15655
17492
  ...BuyerFields
@@ -15679,9 +17516,15 @@ export const GetBuyersQueryDocument = gql`
15679
17516
  $exchangesOrderBy: Exchange_orderBy
15680
17517
  $exchangesOrderDirection: OrderDirection
15681
17518
  $exchangesFilter: Exchange_filter
17519
+ $logsSkip: Int
17520
+ $logsFirst: Int
17521
+ $logsOrderBy: EventLog_orderBy
17522
+ $logsOrderDirection: OrderDirection
17523
+ $logsFilter: EventLog_filter
15682
17524
  $includeExchanges: Boolean = false
15683
17525
  $includeOffers: Boolean = false
15684
17526
  $includeFunds: Boolean = false
17527
+ $includeLogs: Boolean = false
15685
17528
  ) {
15686
17529
  buyers(
15687
17530
  skip: $buyersSkip
@@ -15703,7 +17546,13 @@ export const GetDisputeResolverByIdQueryDocument = gql`
15703
17546
  $offersOrderBy: Offer_orderBy
15704
17547
  $offersOrderDirection: OrderDirection
15705
17548
  $offersFilter: Offer_filter
17549
+ $logsSkip: Int
17550
+ $logsFirst: Int
17551
+ $logsOrderBy: EventLog_orderBy
17552
+ $logsOrderDirection: OrderDirection
17553
+ $logsFilter: EventLog_filter
15706
17554
  $includeOffers: Boolean = false
17555
+ $includeLogs: Boolean = false
15707
17556
  ) {
15708
17557
  disputeResolver(id: $disputeResolverId) {
15709
17558
  ...DisputeResolverFields
@@ -15723,7 +17572,13 @@ export const GetDisputeResolversQueryDocument = gql`
15723
17572
  $offersOrderBy: Offer_orderBy
15724
17573
  $offersOrderDirection: OrderDirection
15725
17574
  $offersFilter: Offer_filter
17575
+ $logsSkip: Int
17576
+ $logsFirst: Int
17577
+ $logsOrderBy: EventLog_orderBy
17578
+ $logsOrderDirection: OrderDirection
17579
+ $logsFilter: EventLog_filter
15726
17580
  $includeOffers: Boolean = false
17581
+ $includeLogs: Boolean = false
15727
17582
  ) {
15728
17583
  disputeResolvers(
15729
17584
  skip: $disputeResolversSkip
@@ -15832,6 +17687,26 @@ export const GetExchangeTokensQueryDocument = gql`
15832
17687
  }
15833
17688
  ${ExchangeTokenFieldsFragmentDoc}
15834
17689
  `;
17690
+ export const GetEventLogsQueryDocument = gql`
17691
+ query getEventLogsQuery(
17692
+ $logsSkip: Int
17693
+ $logsFirst: Int
17694
+ $logsOrderBy: EventLog_orderBy
17695
+ $logsOrderDirection: OrderDirection
17696
+ $logsFilter: EventLog_filter
17697
+ ) {
17698
+ eventLogs(
17699
+ skip: $logsSkip
17700
+ first: $logsFirst
17701
+ orderBy: $logsOrderBy
17702
+ orderDirection: $logsOrderDirection
17703
+ where: $logsFilter
17704
+ ) {
17705
+ ...BaseEventLogFields
17706
+ }
17707
+ }
17708
+ ${BaseEventLogFieldsFragmentDoc}
17709
+ `;
15835
17710
  export const GetExchangeByIdQueryDocument = gql`
15836
17711
  query getExchangeByIdQuery($exchangeId: ID!) {
15837
17712
  exchange(id: $exchangeId) {
@@ -16208,6 +18083,21 @@ export function getSdk(
16208
18083
  "query"
16209
18084
  );
16210
18085
  },
18086
+ getEventLogsQuery(
18087
+ variables?: GetEventLogsQueryQueryVariables,
18088
+ requestHeaders?: Dom.RequestInit["headers"]
18089
+ ): Promise<GetEventLogsQueryQuery> {
18090
+ return withWrapper(
18091
+ (wrappedRequestHeaders) =>
18092
+ client.request<GetEventLogsQueryQuery>(
18093
+ GetEventLogsQueryDocument,
18094
+ variables,
18095
+ { ...requestHeaders, ...wrappedRequestHeaders }
18096
+ ),
18097
+ "getEventLogsQuery",
18098
+ "query"
18099
+ );
18100
+ },
16211
18101
  getExchangeByIdQuery(
16212
18102
  variables: GetExchangeByIdQueryQueryVariables,
16213
18103
  requestHeaders?: Dom.RequestInit["headers"]