@0xslots/sdk 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -74,6 +74,7 @@ type Account = {
74
74
  slotCount: Scalars['Int']['output'];
75
75
  slotsAsOccupant: Array<Slot>;
76
76
  slotsAsRecipient: Array<Slot>;
77
+ type: AccountType;
77
78
  };
78
79
  type AccountSlotsAsOccupantArgs = {
79
80
  first?: InputMaybe<Scalars['Int']['input']>;
@@ -89,6 +90,7 @@ type AccountSlotsAsRecipientArgs = {
89
90
  skip?: InputMaybe<Scalars['Int']['input']>;
90
91
  where?: InputMaybe<Slot_Filter>;
91
92
  };
93
+ type AccountType = 'CONTRACT' | 'DELEGATED' | 'EOA' | 'SPLIT';
92
94
  type Account_Filter = {
93
95
  /** Filter for the block changed event. */
94
96
  _change_block?: InputMaybe<BlockChangedFilter>;
@@ -120,8 +122,12 @@ type Account_Filter = {
120
122
  slotCount_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
121
123
  slotsAsOccupant_?: InputMaybe<Slot_Filter>;
122
124
  slotsAsRecipient_?: InputMaybe<Slot_Filter>;
125
+ type?: InputMaybe<AccountType>;
126
+ type_in?: InputMaybe<Array<AccountType>>;
127
+ type_not?: InputMaybe<AccountType>;
128
+ type_not_in?: InputMaybe<Array<AccountType>>;
123
129
  };
124
- type Account_OrderBy = 'id' | 'occupiedCount' | 'slotCount' | 'slotsAsOccupant' | 'slotsAsRecipient';
130
+ type Account_OrderBy = 'id' | 'occupiedCount' | 'slotCount' | 'slotsAsOccupant' | 'slotsAsRecipient' | 'type';
125
131
  /** Indicates whether the current, partially filled bucket should be included in the response. Defaults to `exclude` */
126
132
  type Aggregation_Current =
127
133
  /** Exclude the current, partially filled bucket from the response */
@@ -141,6 +147,7 @@ type BoughtEvent = {
141
147
  __typename?: 'BoughtEvent';
142
148
  blockNumber: Scalars['BigInt']['output'];
143
149
  buyer: Scalars['Bytes']['output'];
150
+ currency: Currency;
144
151
  deposit: Scalars['BigInt']['output'];
145
152
  id: Scalars['ID']['output'];
146
153
  previousOccupant: Scalars['Bytes']['output'];
@@ -172,6 +179,27 @@ type BoughtEvent_Filter = {
172
179
  buyer_not?: InputMaybe<Scalars['Bytes']['input']>;
173
180
  buyer_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
174
181
  buyer_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
182
+ currency?: InputMaybe<Scalars['String']['input']>;
183
+ currency_?: InputMaybe<Currency_Filter>;
184
+ currency_contains?: InputMaybe<Scalars['String']['input']>;
185
+ currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
186
+ currency_ends_with?: InputMaybe<Scalars['String']['input']>;
187
+ currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
188
+ currency_gt?: InputMaybe<Scalars['String']['input']>;
189
+ currency_gte?: InputMaybe<Scalars['String']['input']>;
190
+ currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
191
+ currency_lt?: InputMaybe<Scalars['String']['input']>;
192
+ currency_lte?: InputMaybe<Scalars['String']['input']>;
193
+ currency_not?: InputMaybe<Scalars['String']['input']>;
194
+ currency_not_contains?: InputMaybe<Scalars['String']['input']>;
195
+ currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
196
+ currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
197
+ currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
198
+ currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
199
+ currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
200
+ currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
201
+ currency_starts_with?: InputMaybe<Scalars['String']['input']>;
202
+ currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
175
203
  deposit?: InputMaybe<Scalars['BigInt']['input']>;
176
204
  deposit_gt?: InputMaybe<Scalars['BigInt']['input']>;
177
205
  deposit_gte?: InputMaybe<Scalars['BigInt']['input']>;
@@ -255,11 +283,82 @@ type BoughtEvent_Filter = {
255
283
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
256
284
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
257
285
  };
258
- type BoughtEvent_OrderBy = 'blockNumber' | 'buyer' | 'deposit' | 'id' | 'previousOccupant' | 'price' | 'selfAssessedPrice' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__currency' | 'slot__currencyDecimals' | 'slot__currencyName' | 'slot__currencySymbol' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
286
+ type BoughtEvent_OrderBy = 'blockNumber' | 'buyer' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'deposit' | 'id' | 'previousOccupant' | 'price' | 'selfAssessedPrice' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
287
+ type Currency = {
288
+ __typename?: 'Currency';
289
+ decimals: Scalars['Int']['output'];
290
+ id: Scalars['ID']['output'];
291
+ name?: Maybe<Scalars['String']['output']>;
292
+ symbol?: Maybe<Scalars['String']['output']>;
293
+ };
294
+ type Currency_Filter = {
295
+ /** Filter for the block changed event. */
296
+ _change_block?: InputMaybe<BlockChangedFilter>;
297
+ and?: InputMaybe<Array<InputMaybe<Currency_Filter>>>;
298
+ decimals?: InputMaybe<Scalars['Int']['input']>;
299
+ decimals_gt?: InputMaybe<Scalars['Int']['input']>;
300
+ decimals_gte?: InputMaybe<Scalars['Int']['input']>;
301
+ decimals_in?: InputMaybe<Array<Scalars['Int']['input']>>;
302
+ decimals_lt?: InputMaybe<Scalars['Int']['input']>;
303
+ decimals_lte?: InputMaybe<Scalars['Int']['input']>;
304
+ decimals_not?: InputMaybe<Scalars['Int']['input']>;
305
+ decimals_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
306
+ id?: InputMaybe<Scalars['ID']['input']>;
307
+ id_gt?: InputMaybe<Scalars['ID']['input']>;
308
+ id_gte?: InputMaybe<Scalars['ID']['input']>;
309
+ id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
310
+ id_lt?: InputMaybe<Scalars['ID']['input']>;
311
+ id_lte?: InputMaybe<Scalars['ID']['input']>;
312
+ id_not?: InputMaybe<Scalars['ID']['input']>;
313
+ id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
314
+ name?: InputMaybe<Scalars['String']['input']>;
315
+ name_contains?: InputMaybe<Scalars['String']['input']>;
316
+ name_contains_nocase?: InputMaybe<Scalars['String']['input']>;
317
+ name_ends_with?: InputMaybe<Scalars['String']['input']>;
318
+ name_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
319
+ name_gt?: InputMaybe<Scalars['String']['input']>;
320
+ name_gte?: InputMaybe<Scalars['String']['input']>;
321
+ name_in?: InputMaybe<Array<Scalars['String']['input']>>;
322
+ name_lt?: InputMaybe<Scalars['String']['input']>;
323
+ name_lte?: InputMaybe<Scalars['String']['input']>;
324
+ name_not?: InputMaybe<Scalars['String']['input']>;
325
+ name_not_contains?: InputMaybe<Scalars['String']['input']>;
326
+ name_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
327
+ name_not_ends_with?: InputMaybe<Scalars['String']['input']>;
328
+ name_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
329
+ name_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
330
+ name_not_starts_with?: InputMaybe<Scalars['String']['input']>;
331
+ name_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
332
+ name_starts_with?: InputMaybe<Scalars['String']['input']>;
333
+ name_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
334
+ or?: InputMaybe<Array<InputMaybe<Currency_Filter>>>;
335
+ symbol?: InputMaybe<Scalars['String']['input']>;
336
+ symbol_contains?: InputMaybe<Scalars['String']['input']>;
337
+ symbol_contains_nocase?: InputMaybe<Scalars['String']['input']>;
338
+ symbol_ends_with?: InputMaybe<Scalars['String']['input']>;
339
+ symbol_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
340
+ symbol_gt?: InputMaybe<Scalars['String']['input']>;
341
+ symbol_gte?: InputMaybe<Scalars['String']['input']>;
342
+ symbol_in?: InputMaybe<Array<Scalars['String']['input']>>;
343
+ symbol_lt?: InputMaybe<Scalars['String']['input']>;
344
+ symbol_lte?: InputMaybe<Scalars['String']['input']>;
345
+ symbol_not?: InputMaybe<Scalars['String']['input']>;
346
+ symbol_not_contains?: InputMaybe<Scalars['String']['input']>;
347
+ symbol_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
348
+ symbol_not_ends_with?: InputMaybe<Scalars['String']['input']>;
349
+ symbol_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
350
+ symbol_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
351
+ symbol_not_starts_with?: InputMaybe<Scalars['String']['input']>;
352
+ symbol_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
353
+ symbol_starts_with?: InputMaybe<Scalars['String']['input']>;
354
+ symbol_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
355
+ };
356
+ type Currency_OrderBy = 'decimals' | 'id' | 'name' | 'symbol';
259
357
  type DepositedEvent = {
260
358
  __typename?: 'DepositedEvent';
261
359
  amount: Scalars['BigInt']['output'];
262
360
  blockNumber: Scalars['BigInt']['output'];
361
+ currency: Currency;
263
362
  depositor: Scalars['Bytes']['output'];
264
363
  id: Scalars['ID']['output'];
265
364
  slot: Slot;
@@ -286,6 +385,27 @@ type DepositedEvent_Filter = {
286
385
  blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
287
386
  blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
288
387
  blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
388
+ currency?: InputMaybe<Scalars['String']['input']>;
389
+ currency_?: InputMaybe<Currency_Filter>;
390
+ currency_contains?: InputMaybe<Scalars['String']['input']>;
391
+ currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
392
+ currency_ends_with?: InputMaybe<Scalars['String']['input']>;
393
+ currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
394
+ currency_gt?: InputMaybe<Scalars['String']['input']>;
395
+ currency_gte?: InputMaybe<Scalars['String']['input']>;
396
+ currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
397
+ currency_lt?: InputMaybe<Scalars['String']['input']>;
398
+ currency_lte?: InputMaybe<Scalars['String']['input']>;
399
+ currency_not?: InputMaybe<Scalars['String']['input']>;
400
+ currency_not_contains?: InputMaybe<Scalars['String']['input']>;
401
+ currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
402
+ currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
403
+ currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
404
+ currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
405
+ currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
406
+ currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
407
+ currency_starts_with?: InputMaybe<Scalars['String']['input']>;
408
+ currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
289
409
  depositor?: InputMaybe<Scalars['Bytes']['input']>;
290
410
  depositor_contains?: InputMaybe<Scalars['Bytes']['input']>;
291
411
  depositor_gt?: InputMaybe<Scalars['Bytes']['input']>;
@@ -345,7 +465,7 @@ type DepositedEvent_Filter = {
345
465
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
346
466
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
347
467
  };
348
- type DepositedEvent_OrderBy = 'amount' | 'blockNumber' | 'depositor' | 'id' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__currency' | 'slot__currencyDecimals' | 'slot__currencyName' | 'slot__currencySymbol' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
468
+ type DepositedEvent_OrderBy = 'amount' | 'blockNumber' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'depositor' | 'id' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
349
469
  type Factory = {
350
470
  __typename?: 'Factory';
351
471
  id: Scalars['ID']['output'];
@@ -387,6 +507,7 @@ type LiquidatedEvent = {
387
507
  __typename?: 'LiquidatedEvent';
388
508
  blockNumber: Scalars['BigInt']['output'];
389
509
  bounty: Scalars['BigInt']['output'];
510
+ currency: Currency;
390
511
  id: Scalars['ID']['output'];
391
512
  liquidator: Scalars['Bytes']['output'];
392
513
  occupant: Scalars['Bytes']['output'];
@@ -414,6 +535,27 @@ type LiquidatedEvent_Filter = {
414
535
  bounty_lte?: InputMaybe<Scalars['BigInt']['input']>;
415
536
  bounty_not?: InputMaybe<Scalars['BigInt']['input']>;
416
537
  bounty_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
538
+ currency?: InputMaybe<Scalars['String']['input']>;
539
+ currency_?: InputMaybe<Currency_Filter>;
540
+ currency_contains?: InputMaybe<Scalars['String']['input']>;
541
+ currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
542
+ currency_ends_with?: InputMaybe<Scalars['String']['input']>;
543
+ currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
544
+ currency_gt?: InputMaybe<Scalars['String']['input']>;
545
+ currency_gte?: InputMaybe<Scalars['String']['input']>;
546
+ currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
547
+ currency_lt?: InputMaybe<Scalars['String']['input']>;
548
+ currency_lte?: InputMaybe<Scalars['String']['input']>;
549
+ currency_not?: InputMaybe<Scalars['String']['input']>;
550
+ currency_not_contains?: InputMaybe<Scalars['String']['input']>;
551
+ currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
552
+ currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
553
+ currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
554
+ currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
555
+ currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
556
+ currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
557
+ currency_starts_with?: InputMaybe<Scalars['String']['input']>;
558
+ currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
417
559
  id?: InputMaybe<Scalars['ID']['input']>;
418
560
  id_gt?: InputMaybe<Scalars['ID']['input']>;
419
561
  id_gte?: InputMaybe<Scalars['ID']['input']>;
@@ -483,7 +625,98 @@ type LiquidatedEvent_Filter = {
483
625
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
484
626
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
485
627
  };
486
- type LiquidatedEvent_OrderBy = 'blockNumber' | 'bounty' | 'id' | 'liquidator' | 'occupant' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__currency' | 'slot__currencyDecimals' | 'slot__currencyName' | 'slot__currencySymbol' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
628
+ type LiquidatedEvent_OrderBy = 'blockNumber' | 'bounty' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'id' | 'liquidator' | 'occupant' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
629
+ type MetadataUpdatedEvent = {
630
+ __typename?: 'MetadataUpdatedEvent';
631
+ blockNumber: Scalars['BigInt']['output'];
632
+ id: Scalars['ID']['output'];
633
+ slot: Slot;
634
+ timestamp: Scalars['BigInt']['output'];
635
+ tx: Scalars['Bytes']['output'];
636
+ uri: Scalars['String']['output'];
637
+ };
638
+ type MetadataUpdatedEvent_Filter = {
639
+ /** Filter for the block changed event. */
640
+ _change_block?: InputMaybe<BlockChangedFilter>;
641
+ and?: InputMaybe<Array<InputMaybe<MetadataUpdatedEvent_Filter>>>;
642
+ blockNumber?: InputMaybe<Scalars['BigInt']['input']>;
643
+ blockNumber_gt?: InputMaybe<Scalars['BigInt']['input']>;
644
+ blockNumber_gte?: InputMaybe<Scalars['BigInt']['input']>;
645
+ blockNumber_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
646
+ blockNumber_lt?: InputMaybe<Scalars['BigInt']['input']>;
647
+ blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
648
+ blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
649
+ blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
650
+ id?: InputMaybe<Scalars['ID']['input']>;
651
+ id_gt?: InputMaybe<Scalars['ID']['input']>;
652
+ id_gte?: InputMaybe<Scalars['ID']['input']>;
653
+ id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
654
+ id_lt?: InputMaybe<Scalars['ID']['input']>;
655
+ id_lte?: InputMaybe<Scalars['ID']['input']>;
656
+ id_not?: InputMaybe<Scalars['ID']['input']>;
657
+ id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
658
+ or?: InputMaybe<Array<InputMaybe<MetadataUpdatedEvent_Filter>>>;
659
+ slot?: InputMaybe<Scalars['String']['input']>;
660
+ slot_?: InputMaybe<Slot_Filter>;
661
+ slot_contains?: InputMaybe<Scalars['String']['input']>;
662
+ slot_contains_nocase?: InputMaybe<Scalars['String']['input']>;
663
+ slot_ends_with?: InputMaybe<Scalars['String']['input']>;
664
+ slot_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
665
+ slot_gt?: InputMaybe<Scalars['String']['input']>;
666
+ slot_gte?: InputMaybe<Scalars['String']['input']>;
667
+ slot_in?: InputMaybe<Array<Scalars['String']['input']>>;
668
+ slot_lt?: InputMaybe<Scalars['String']['input']>;
669
+ slot_lte?: InputMaybe<Scalars['String']['input']>;
670
+ slot_not?: InputMaybe<Scalars['String']['input']>;
671
+ slot_not_contains?: InputMaybe<Scalars['String']['input']>;
672
+ slot_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
673
+ slot_not_ends_with?: InputMaybe<Scalars['String']['input']>;
674
+ slot_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
675
+ slot_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
676
+ slot_not_starts_with?: InputMaybe<Scalars['String']['input']>;
677
+ slot_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
678
+ slot_starts_with?: InputMaybe<Scalars['String']['input']>;
679
+ slot_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
680
+ timestamp?: InputMaybe<Scalars['BigInt']['input']>;
681
+ timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
682
+ timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
683
+ timestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
684
+ timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
685
+ timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
686
+ timestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
687
+ timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
688
+ tx?: InputMaybe<Scalars['Bytes']['input']>;
689
+ tx_contains?: InputMaybe<Scalars['Bytes']['input']>;
690
+ tx_gt?: InputMaybe<Scalars['Bytes']['input']>;
691
+ tx_gte?: InputMaybe<Scalars['Bytes']['input']>;
692
+ tx_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
693
+ tx_lt?: InputMaybe<Scalars['Bytes']['input']>;
694
+ tx_lte?: InputMaybe<Scalars['Bytes']['input']>;
695
+ tx_not?: InputMaybe<Scalars['Bytes']['input']>;
696
+ tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
697
+ tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
698
+ uri?: InputMaybe<Scalars['String']['input']>;
699
+ uri_contains?: InputMaybe<Scalars['String']['input']>;
700
+ uri_contains_nocase?: InputMaybe<Scalars['String']['input']>;
701
+ uri_ends_with?: InputMaybe<Scalars['String']['input']>;
702
+ uri_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
703
+ uri_gt?: InputMaybe<Scalars['String']['input']>;
704
+ uri_gte?: InputMaybe<Scalars['String']['input']>;
705
+ uri_in?: InputMaybe<Array<Scalars['String']['input']>>;
706
+ uri_lt?: InputMaybe<Scalars['String']['input']>;
707
+ uri_lte?: InputMaybe<Scalars['String']['input']>;
708
+ uri_not?: InputMaybe<Scalars['String']['input']>;
709
+ uri_not_contains?: InputMaybe<Scalars['String']['input']>;
710
+ uri_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
711
+ uri_not_ends_with?: InputMaybe<Scalars['String']['input']>;
712
+ uri_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
713
+ uri_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
714
+ uri_not_starts_with?: InputMaybe<Scalars['String']['input']>;
715
+ uri_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
716
+ uri_starts_with?: InputMaybe<Scalars['String']['input']>;
717
+ uri_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
718
+ };
719
+ type MetadataUpdatedEvent_OrderBy = 'blockNumber' | 'id' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx' | 'uri';
487
720
  type Module = {
488
721
  __typename?: 'Module';
489
722
  factory: Factory;
@@ -572,7 +805,7 @@ type ModuleUpdateProposedEvent_Filter = {
572
805
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
573
806
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
574
807
  };
575
- type ModuleUpdateProposedEvent_OrderBy = 'blockNumber' | 'id' | 'newModule' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__currency' | 'slot__currencyDecimals' | 'slot__currencyName' | 'slot__currencySymbol' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
808
+ type ModuleUpdateProposedEvent_OrderBy = 'blockNumber' | 'id' | 'newModule' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
576
809
  type Module_Filter = {
577
810
  /** Filter for the block changed event. */
578
811
  _change_block?: InputMaybe<BlockChangedFilter>;
@@ -724,10 +957,11 @@ type PendingUpdateCancelledEvent_Filter = {
724
957
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
725
958
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
726
959
  };
727
- type PendingUpdateCancelledEvent_OrderBy = 'blockNumber' | 'id' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__currency' | 'slot__currencyDecimals' | 'slot__currencyName' | 'slot__currencySymbol' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
960
+ type PendingUpdateCancelledEvent_OrderBy = 'blockNumber' | 'id' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
728
961
  type PriceUpdatedEvent = {
729
962
  __typename?: 'PriceUpdatedEvent';
730
963
  blockNumber: Scalars['BigInt']['output'];
964
+ currency: Currency;
731
965
  id: Scalars['ID']['output'];
732
966
  newPrice: Scalars['BigInt']['output'];
733
967
  oldPrice: Scalars['BigInt']['output'];
@@ -747,6 +981,27 @@ type PriceUpdatedEvent_Filter = {
747
981
  blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
748
982
  blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
749
983
  blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
984
+ currency?: InputMaybe<Scalars['String']['input']>;
985
+ currency_?: InputMaybe<Currency_Filter>;
986
+ currency_contains?: InputMaybe<Scalars['String']['input']>;
987
+ currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
988
+ currency_ends_with?: InputMaybe<Scalars['String']['input']>;
989
+ currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
990
+ currency_gt?: InputMaybe<Scalars['String']['input']>;
991
+ currency_gte?: InputMaybe<Scalars['String']['input']>;
992
+ currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
993
+ currency_lt?: InputMaybe<Scalars['String']['input']>;
994
+ currency_lte?: InputMaybe<Scalars['String']['input']>;
995
+ currency_not?: InputMaybe<Scalars['String']['input']>;
996
+ currency_not_contains?: InputMaybe<Scalars['String']['input']>;
997
+ currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
998
+ currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
999
+ currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1000
+ currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
1001
+ currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
1002
+ currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1003
+ currency_starts_with?: InputMaybe<Scalars['String']['input']>;
1004
+ currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
750
1005
  id?: InputMaybe<Scalars['ID']['input']>;
751
1006
  id_gt?: InputMaybe<Scalars['ID']['input']>;
752
1007
  id_gte?: InputMaybe<Scalars['ID']['input']>;
@@ -812,7 +1067,7 @@ type PriceUpdatedEvent_Filter = {
812
1067
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
813
1068
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
814
1069
  };
815
- type PriceUpdatedEvent_OrderBy = 'blockNumber' | 'id' | 'newPrice' | 'oldPrice' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__currency' | 'slot__currencyDecimals' | 'slot__currencyName' | 'slot__currencySymbol' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
1070
+ type PriceUpdatedEvent_OrderBy = 'blockNumber' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'id' | 'newPrice' | 'oldPrice' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
816
1071
  type Query = {
817
1072
  __typename?: 'Query';
818
1073
  /** Access to subgraph metadata */
@@ -821,12 +1076,16 @@ type Query = {
821
1076
  accounts: Array<Account>;
822
1077
  boughtEvent?: Maybe<BoughtEvent>;
823
1078
  boughtEvents: Array<BoughtEvent>;
1079
+ currencies: Array<Currency>;
1080
+ currency?: Maybe<Currency>;
824
1081
  depositedEvent?: Maybe<DepositedEvent>;
825
1082
  depositedEvents: Array<DepositedEvent>;
826
1083
  factories: Array<Factory>;
827
1084
  factory?: Maybe<Factory>;
828
1085
  liquidatedEvent?: Maybe<LiquidatedEvent>;
829
1086
  liquidatedEvents: Array<LiquidatedEvent>;
1087
+ metadataUpdatedEvent?: Maybe<MetadataUpdatedEvent>;
1088
+ metadataUpdatedEvents: Array<MetadataUpdatedEvent>;
830
1089
  module?: Maybe<Module>;
831
1090
  moduleUpdateProposedEvent?: Maybe<ModuleUpdateProposedEvent>;
832
1091
  moduleUpdateProposedEvents: Array<ModuleUpdateProposedEvent>;
@@ -879,6 +1138,20 @@ type QueryBoughtEventsArgs = {
879
1138
  subgraphError?: _SubgraphErrorPolicy_;
880
1139
  where?: InputMaybe<BoughtEvent_Filter>;
881
1140
  };
1141
+ type QueryCurrenciesArgs = {
1142
+ block?: InputMaybe<Block_Height>;
1143
+ first?: InputMaybe<Scalars['Int']['input']>;
1144
+ orderBy?: InputMaybe<Currency_OrderBy>;
1145
+ orderDirection?: InputMaybe<OrderDirection>;
1146
+ skip?: InputMaybe<Scalars['Int']['input']>;
1147
+ subgraphError?: _SubgraphErrorPolicy_;
1148
+ where?: InputMaybe<Currency_Filter>;
1149
+ };
1150
+ type QueryCurrencyArgs = {
1151
+ block?: InputMaybe<Block_Height>;
1152
+ id: Scalars['ID']['input'];
1153
+ subgraphError?: _SubgraphErrorPolicy_;
1154
+ };
882
1155
  type QueryDepositedEventArgs = {
883
1156
  block?: InputMaybe<Block_Height>;
884
1157
  id: Scalars['ID']['input'];
@@ -921,6 +1194,20 @@ type QueryLiquidatedEventsArgs = {
921
1194
  subgraphError?: _SubgraphErrorPolicy_;
922
1195
  where?: InputMaybe<LiquidatedEvent_Filter>;
923
1196
  };
1197
+ type QueryMetadataUpdatedEventArgs = {
1198
+ block?: InputMaybe<Block_Height>;
1199
+ id: Scalars['ID']['input'];
1200
+ subgraphError?: _SubgraphErrorPolicy_;
1201
+ };
1202
+ type QueryMetadataUpdatedEventsArgs = {
1203
+ block?: InputMaybe<Block_Height>;
1204
+ first?: InputMaybe<Scalars['Int']['input']>;
1205
+ orderBy?: InputMaybe<MetadataUpdatedEvent_OrderBy>;
1206
+ orderDirection?: InputMaybe<OrderDirection>;
1207
+ skip?: InputMaybe<Scalars['Int']['input']>;
1208
+ subgraphError?: _SubgraphErrorPolicy_;
1209
+ where?: InputMaybe<MetadataUpdatedEvent_Filter>;
1210
+ };
924
1211
  type QueryModuleArgs = {
925
1212
  block?: InputMaybe<Block_Height>;
926
1213
  id: Scalars['ID']['input'];
@@ -1064,6 +1351,7 @@ type QueryWithdrawnEventsArgs = {
1064
1351
  type ReleasedEvent = {
1065
1352
  __typename?: 'ReleasedEvent';
1066
1353
  blockNumber: Scalars['BigInt']['output'];
1354
+ currency: Currency;
1067
1355
  id: Scalars['ID']['output'];
1068
1356
  occupant: Scalars['Bytes']['output'];
1069
1357
  refund: Scalars['BigInt']['output'];
@@ -1083,6 +1371,27 @@ type ReleasedEvent_Filter = {
1083
1371
  blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
1084
1372
  blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
1085
1373
  blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
1374
+ currency?: InputMaybe<Scalars['String']['input']>;
1375
+ currency_?: InputMaybe<Currency_Filter>;
1376
+ currency_contains?: InputMaybe<Scalars['String']['input']>;
1377
+ currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1378
+ currency_ends_with?: InputMaybe<Scalars['String']['input']>;
1379
+ currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1380
+ currency_gt?: InputMaybe<Scalars['String']['input']>;
1381
+ currency_gte?: InputMaybe<Scalars['String']['input']>;
1382
+ currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
1383
+ currency_lt?: InputMaybe<Scalars['String']['input']>;
1384
+ currency_lte?: InputMaybe<Scalars['String']['input']>;
1385
+ currency_not?: InputMaybe<Scalars['String']['input']>;
1386
+ currency_not_contains?: InputMaybe<Scalars['String']['input']>;
1387
+ currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1388
+ currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
1389
+ currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1390
+ currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
1391
+ currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
1392
+ currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1393
+ currency_starts_with?: InputMaybe<Scalars['String']['input']>;
1394
+ currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1086
1395
  id?: InputMaybe<Scalars['ID']['input']>;
1087
1396
  id_gt?: InputMaybe<Scalars['ID']['input']>;
1088
1397
  id_gte?: InputMaybe<Scalars['ID']['input']>;
@@ -1150,10 +1459,11 @@ type ReleasedEvent_Filter = {
1150
1459
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
1151
1460
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1152
1461
  };
1153
- type ReleasedEvent_OrderBy = 'blockNumber' | 'id' | 'occupant' | 'refund' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__currency' | 'slot__currencyDecimals' | 'slot__currencyName' | 'slot__currencySymbol' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
1462
+ type ReleasedEvent_OrderBy = 'blockNumber' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'id' | 'occupant' | 'refund' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
1154
1463
  type SettledEvent = {
1155
1464
  __typename?: 'SettledEvent';
1156
1465
  blockNumber: Scalars['BigInt']['output'];
1466
+ currency: Currency;
1157
1467
  depositRemaining: Scalars['BigInt']['output'];
1158
1468
  id: Scalars['ID']['output'];
1159
1469
  slot: Slot;
@@ -1174,6 +1484,27 @@ type SettledEvent_Filter = {
1174
1484
  blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
1175
1485
  blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
1176
1486
  blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
1487
+ currency?: InputMaybe<Scalars['String']['input']>;
1488
+ currency_?: InputMaybe<Currency_Filter>;
1489
+ currency_contains?: InputMaybe<Scalars['String']['input']>;
1490
+ currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1491
+ currency_ends_with?: InputMaybe<Scalars['String']['input']>;
1492
+ currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1493
+ currency_gt?: InputMaybe<Scalars['String']['input']>;
1494
+ currency_gte?: InputMaybe<Scalars['String']['input']>;
1495
+ currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
1496
+ currency_lt?: InputMaybe<Scalars['String']['input']>;
1497
+ currency_lte?: InputMaybe<Scalars['String']['input']>;
1498
+ currency_not?: InputMaybe<Scalars['String']['input']>;
1499
+ currency_not_contains?: InputMaybe<Scalars['String']['input']>;
1500
+ currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1501
+ currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
1502
+ currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1503
+ currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
1504
+ currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
1505
+ currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1506
+ currency_starts_with?: InputMaybe<Scalars['String']['input']>;
1507
+ currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1177
1508
  depositRemaining?: InputMaybe<Scalars['BigInt']['input']>;
1178
1509
  depositRemaining_gt?: InputMaybe<Scalars['BigInt']['input']>;
1179
1510
  depositRemaining_gte?: InputMaybe<Scalars['BigInt']['input']>;
@@ -1247,22 +1578,21 @@ type SettledEvent_Filter = {
1247
1578
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
1248
1579
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1249
1580
  };
1250
- type SettledEvent_OrderBy = 'blockNumber' | 'depositRemaining' | 'id' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__currency' | 'slot__currencyDecimals' | 'slot__currencyName' | 'slot__currencySymbol' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'taxOwed' | 'taxPaid' | 'timestamp' | 'tx';
1581
+ type SettledEvent_OrderBy = 'blockNumber' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'depositRemaining' | 'id' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'taxOwed' | 'taxPaid' | 'timestamp' | 'tx';
1251
1582
  type Slot = {
1252
1583
  __typename?: 'Slot';
1253
1584
  collectedTax: Scalars['BigInt']['output'];
1254
1585
  createdAt: Scalars['BigInt']['output'];
1255
1586
  createdTx: Scalars['Bytes']['output'];
1256
- currency: Scalars['Bytes']['output'];
1257
- currencyDecimals?: Maybe<Scalars['Int']['output']>;
1258
- currencyName?: Maybe<Scalars['String']['output']>;
1259
- currencySymbol?: Maybe<Scalars['String']['output']>;
1587
+ currency: Currency;
1260
1588
  deposit: Scalars['BigInt']['output'];
1261
1589
  deposits: Array<DepositedEvent>;
1262
1590
  id: Scalars['ID']['output'];
1263
1591
  liquidationBountyBps: Scalars['BigInt']['output'];
1264
1592
  liquidations: Array<LiquidatedEvent>;
1265
1593
  manager: Scalars['Bytes']['output'];
1594
+ metadataURI?: Maybe<Scalars['String']['output']>;
1595
+ metadataUpdates: Array<MetadataUpdatedEvent>;
1266
1596
  minDepositSeconds: Scalars['BigInt']['output'];
1267
1597
  module?: Maybe<Module>;
1268
1598
  moduleUpdateProposals: Array<ModuleUpdateProposedEvent>;
@@ -1299,6 +1629,13 @@ type SlotLiquidationsArgs = {
1299
1629
  skip?: InputMaybe<Scalars['Int']['input']>;
1300
1630
  where?: InputMaybe<LiquidatedEvent_Filter>;
1301
1631
  };
1632
+ type SlotMetadataUpdatesArgs = {
1633
+ first?: InputMaybe<Scalars['Int']['input']>;
1634
+ orderBy?: InputMaybe<MetadataUpdatedEvent_OrderBy>;
1635
+ orderDirection?: InputMaybe<OrderDirection>;
1636
+ skip?: InputMaybe<Scalars['Int']['input']>;
1637
+ where?: InputMaybe<MetadataUpdatedEvent_Filter>;
1638
+ };
1302
1639
  type SlotModuleUpdateProposalsArgs = {
1303
1640
  first?: InputMaybe<Scalars['Int']['input']>;
1304
1641
  orderBy?: InputMaybe<ModuleUpdateProposedEvent_OrderBy>;
@@ -1392,64 +1729,27 @@ type Slot_Filter = {
1392
1729
  createdTx_not?: InputMaybe<Scalars['Bytes']['input']>;
1393
1730
  createdTx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
1394
1731
  createdTx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1395
- currency?: InputMaybe<Scalars['Bytes']['input']>;
1396
- currencyDecimals?: InputMaybe<Scalars['Int']['input']>;
1397
- currencyDecimals_gt?: InputMaybe<Scalars['Int']['input']>;
1398
- currencyDecimals_gte?: InputMaybe<Scalars['Int']['input']>;
1399
- currencyDecimals_in?: InputMaybe<Array<Scalars['Int']['input']>>;
1400
- currencyDecimals_lt?: InputMaybe<Scalars['Int']['input']>;
1401
- currencyDecimals_lte?: InputMaybe<Scalars['Int']['input']>;
1402
- currencyDecimals_not?: InputMaybe<Scalars['Int']['input']>;
1403
- currencyDecimals_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
1404
- currencyName?: InputMaybe<Scalars['String']['input']>;
1405
- currencyName_contains?: InputMaybe<Scalars['String']['input']>;
1406
- currencyName_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1407
- currencyName_ends_with?: InputMaybe<Scalars['String']['input']>;
1408
- currencyName_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1409
- currencyName_gt?: InputMaybe<Scalars['String']['input']>;
1410
- currencyName_gte?: InputMaybe<Scalars['String']['input']>;
1411
- currencyName_in?: InputMaybe<Array<Scalars['String']['input']>>;
1412
- currencyName_lt?: InputMaybe<Scalars['String']['input']>;
1413
- currencyName_lte?: InputMaybe<Scalars['String']['input']>;
1414
- currencyName_not?: InputMaybe<Scalars['String']['input']>;
1415
- currencyName_not_contains?: InputMaybe<Scalars['String']['input']>;
1416
- currencyName_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1417
- currencyName_not_ends_with?: InputMaybe<Scalars['String']['input']>;
1418
- currencyName_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1419
- currencyName_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
1420
- currencyName_not_starts_with?: InputMaybe<Scalars['String']['input']>;
1421
- currencyName_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1422
- currencyName_starts_with?: InputMaybe<Scalars['String']['input']>;
1423
- currencyName_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1424
- currencySymbol?: InputMaybe<Scalars['String']['input']>;
1425
- currencySymbol_contains?: InputMaybe<Scalars['String']['input']>;
1426
- currencySymbol_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1427
- currencySymbol_ends_with?: InputMaybe<Scalars['String']['input']>;
1428
- currencySymbol_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1429
- currencySymbol_gt?: InputMaybe<Scalars['String']['input']>;
1430
- currencySymbol_gte?: InputMaybe<Scalars['String']['input']>;
1431
- currencySymbol_in?: InputMaybe<Array<Scalars['String']['input']>>;
1432
- currencySymbol_lt?: InputMaybe<Scalars['String']['input']>;
1433
- currencySymbol_lte?: InputMaybe<Scalars['String']['input']>;
1434
- currencySymbol_not?: InputMaybe<Scalars['String']['input']>;
1435
- currencySymbol_not_contains?: InputMaybe<Scalars['String']['input']>;
1436
- currencySymbol_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1437
- currencySymbol_not_ends_with?: InputMaybe<Scalars['String']['input']>;
1438
- currencySymbol_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1439
- currencySymbol_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
1440
- currencySymbol_not_starts_with?: InputMaybe<Scalars['String']['input']>;
1441
- currencySymbol_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1442
- currencySymbol_starts_with?: InputMaybe<Scalars['String']['input']>;
1443
- currencySymbol_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1444
- currency_contains?: InputMaybe<Scalars['Bytes']['input']>;
1445
- currency_gt?: InputMaybe<Scalars['Bytes']['input']>;
1446
- currency_gte?: InputMaybe<Scalars['Bytes']['input']>;
1447
- currency_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1448
- currency_lt?: InputMaybe<Scalars['Bytes']['input']>;
1449
- currency_lte?: InputMaybe<Scalars['Bytes']['input']>;
1450
- currency_not?: InputMaybe<Scalars['Bytes']['input']>;
1451
- currency_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
1452
- currency_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1732
+ currency?: InputMaybe<Scalars['String']['input']>;
1733
+ currency_?: InputMaybe<Currency_Filter>;
1734
+ currency_contains?: InputMaybe<Scalars['String']['input']>;
1735
+ currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1736
+ currency_ends_with?: InputMaybe<Scalars['String']['input']>;
1737
+ currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1738
+ currency_gt?: InputMaybe<Scalars['String']['input']>;
1739
+ currency_gte?: InputMaybe<Scalars['String']['input']>;
1740
+ currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
1741
+ currency_lt?: InputMaybe<Scalars['String']['input']>;
1742
+ currency_lte?: InputMaybe<Scalars['String']['input']>;
1743
+ currency_not?: InputMaybe<Scalars['String']['input']>;
1744
+ currency_not_contains?: InputMaybe<Scalars['String']['input']>;
1745
+ currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1746
+ currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
1747
+ currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1748
+ currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
1749
+ currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
1750
+ currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1751
+ currency_starts_with?: InputMaybe<Scalars['String']['input']>;
1752
+ currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1453
1753
  deposit?: InputMaybe<Scalars['BigInt']['input']>;
1454
1754
  deposit_gt?: InputMaybe<Scalars['BigInt']['input']>;
1455
1755
  deposit_gte?: InputMaybe<Scalars['BigInt']['input']>;
@@ -1486,6 +1786,27 @@ type Slot_Filter = {
1486
1786
  manager_not?: InputMaybe<Scalars['Bytes']['input']>;
1487
1787
  manager_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
1488
1788
  manager_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1789
+ metadataURI?: InputMaybe<Scalars['String']['input']>;
1790
+ metadataURI_contains?: InputMaybe<Scalars['String']['input']>;
1791
+ metadataURI_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1792
+ metadataURI_ends_with?: InputMaybe<Scalars['String']['input']>;
1793
+ metadataURI_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1794
+ metadataURI_gt?: InputMaybe<Scalars['String']['input']>;
1795
+ metadataURI_gte?: InputMaybe<Scalars['String']['input']>;
1796
+ metadataURI_in?: InputMaybe<Array<Scalars['String']['input']>>;
1797
+ metadataURI_lt?: InputMaybe<Scalars['String']['input']>;
1798
+ metadataURI_lte?: InputMaybe<Scalars['String']['input']>;
1799
+ metadataURI_not?: InputMaybe<Scalars['String']['input']>;
1800
+ metadataURI_not_contains?: InputMaybe<Scalars['String']['input']>;
1801
+ metadataURI_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1802
+ metadataURI_not_ends_with?: InputMaybe<Scalars['String']['input']>;
1803
+ metadataURI_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1804
+ metadataURI_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
1805
+ metadataURI_not_starts_with?: InputMaybe<Scalars['String']['input']>;
1806
+ metadataURI_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1807
+ metadataURI_starts_with?: InputMaybe<Scalars['String']['input']>;
1808
+ metadataURI_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1809
+ metadataUpdates_?: InputMaybe<MetadataUpdatedEvent_Filter>;
1489
1810
  minDepositSeconds?: InputMaybe<Scalars['BigInt']['input']>;
1490
1811
  minDepositSeconds_gt?: InputMaybe<Scalars['BigInt']['input']>;
1491
1812
  minDepositSeconds_gte?: InputMaybe<Scalars['BigInt']['input']>;
@@ -1628,11 +1949,12 @@ type Slot_Filter = {
1628
1949
  updatedAt_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
1629
1950
  withdrawals_?: InputMaybe<WithdrawnEvent_Filter>;
1630
1951
  };
1631
- type Slot_OrderBy = 'collectedTax' | 'createdAt' | 'createdTx' | 'currency' | 'currencyDecimals' | 'currencyName' | 'currencySymbol' | 'deposit' | 'deposits' | 'id' | 'liquidationBountyBps' | 'liquidations' | 'manager' | 'minDepositSeconds' | 'module' | 'moduleUpdateProposals' | 'module__id' | 'module__name' | 'module__verified' | 'module__version' | 'mutableModule' | 'mutableTax' | 'occupant' | 'occupantAccount' | 'occupantAccount__id' | 'occupantAccount__occupiedCount' | 'occupantAccount__slotCount' | 'pendingUpdateCancellations' | 'price' | 'priceUpdates' | 'purchases' | 'recipient' | 'recipientAccount' | 'recipientAccount__id' | 'recipientAccount__occupiedCount' | 'recipientAccount__slotCount' | 'releases' | 'settlements' | 'taxCollections' | 'taxPercentage' | 'taxUpdateProposals' | 'totalCollected' | 'updatedAt' | 'withdrawals';
1952
+ type Slot_OrderBy = 'collectedTax' | 'createdAt' | 'createdTx' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'deposit' | 'deposits' | 'id' | 'liquidationBountyBps' | 'liquidations' | 'manager' | 'metadataURI' | 'metadataUpdates' | 'minDepositSeconds' | 'module' | 'moduleUpdateProposals' | 'module__id' | 'module__name' | 'module__verified' | 'module__version' | 'mutableModule' | 'mutableTax' | 'occupant' | 'occupantAccount' | 'occupantAccount__id' | 'occupantAccount__occupiedCount' | 'occupantAccount__slotCount' | 'occupantAccount__type' | 'pendingUpdateCancellations' | 'price' | 'priceUpdates' | 'purchases' | 'recipient' | 'recipientAccount' | 'recipientAccount__id' | 'recipientAccount__occupiedCount' | 'recipientAccount__slotCount' | 'recipientAccount__type' | 'releases' | 'settlements' | 'taxCollections' | 'taxPercentage' | 'taxUpdateProposals' | 'totalCollected' | 'updatedAt' | 'withdrawals';
1632
1953
  type TaxCollectedEvent = {
1633
1954
  __typename?: 'TaxCollectedEvent';
1634
1955
  amount: Scalars['BigInt']['output'];
1635
1956
  blockNumber: Scalars['BigInt']['output'];
1957
+ currency: Currency;
1636
1958
  id: Scalars['ID']['output'];
1637
1959
  recipient: Scalars['Bytes']['output'];
1638
1960
  slot: Slot;
@@ -1659,6 +1981,27 @@ type TaxCollectedEvent_Filter = {
1659
1981
  blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
1660
1982
  blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
1661
1983
  blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
1984
+ currency?: InputMaybe<Scalars['String']['input']>;
1985
+ currency_?: InputMaybe<Currency_Filter>;
1986
+ currency_contains?: InputMaybe<Scalars['String']['input']>;
1987
+ currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1988
+ currency_ends_with?: InputMaybe<Scalars['String']['input']>;
1989
+ currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1990
+ currency_gt?: InputMaybe<Scalars['String']['input']>;
1991
+ currency_gte?: InputMaybe<Scalars['String']['input']>;
1992
+ currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
1993
+ currency_lt?: InputMaybe<Scalars['String']['input']>;
1994
+ currency_lte?: InputMaybe<Scalars['String']['input']>;
1995
+ currency_not?: InputMaybe<Scalars['String']['input']>;
1996
+ currency_not_contains?: InputMaybe<Scalars['String']['input']>;
1997
+ currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1998
+ currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
1999
+ currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
2000
+ currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
2001
+ currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
2002
+ currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
2003
+ currency_starts_with?: InputMaybe<Scalars['String']['input']>;
2004
+ currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1662
2005
  id?: InputMaybe<Scalars['ID']['input']>;
1663
2006
  id_gt?: InputMaybe<Scalars['ID']['input']>;
1664
2007
  id_gte?: InputMaybe<Scalars['ID']['input']>;
@@ -1718,7 +2061,7 @@ type TaxCollectedEvent_Filter = {
1718
2061
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
1719
2062
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1720
2063
  };
1721
- type TaxCollectedEvent_OrderBy = 'amount' | 'blockNumber' | 'id' | 'recipient' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__currency' | 'slot__currencyDecimals' | 'slot__currencyName' | 'slot__currencySymbol' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
2064
+ type TaxCollectedEvent_OrderBy = 'amount' | 'blockNumber' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'id' | 'recipient' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
1722
2065
  type TaxUpdateProposedEvent = {
1723
2066
  __typename?: 'TaxUpdateProposedEvent';
1724
2067
  blockNumber: Scalars['BigInt']['output'];
@@ -1797,11 +2140,12 @@ type TaxUpdateProposedEvent_Filter = {
1797
2140
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
1798
2141
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1799
2142
  };
1800
- type TaxUpdateProposedEvent_OrderBy = 'blockNumber' | 'id' | 'newPercentage' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__currency' | 'slot__currencyDecimals' | 'slot__currencyName' | 'slot__currencySymbol' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
2143
+ type TaxUpdateProposedEvent_OrderBy = 'blockNumber' | 'id' | 'newPercentage' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
1801
2144
  type WithdrawnEvent = {
1802
2145
  __typename?: 'WithdrawnEvent';
1803
2146
  amount: Scalars['BigInt']['output'];
1804
2147
  blockNumber: Scalars['BigInt']['output'];
2148
+ currency: Currency;
1805
2149
  id: Scalars['ID']['output'];
1806
2150
  occupant: Scalars['Bytes']['output'];
1807
2151
  slot: Slot;
@@ -1828,6 +2172,27 @@ type WithdrawnEvent_Filter = {
1828
2172
  blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
1829
2173
  blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
1830
2174
  blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
2175
+ currency?: InputMaybe<Scalars['String']['input']>;
2176
+ currency_?: InputMaybe<Currency_Filter>;
2177
+ currency_contains?: InputMaybe<Scalars['String']['input']>;
2178
+ currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
2179
+ currency_ends_with?: InputMaybe<Scalars['String']['input']>;
2180
+ currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
2181
+ currency_gt?: InputMaybe<Scalars['String']['input']>;
2182
+ currency_gte?: InputMaybe<Scalars['String']['input']>;
2183
+ currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
2184
+ currency_lt?: InputMaybe<Scalars['String']['input']>;
2185
+ currency_lte?: InputMaybe<Scalars['String']['input']>;
2186
+ currency_not?: InputMaybe<Scalars['String']['input']>;
2187
+ currency_not_contains?: InputMaybe<Scalars['String']['input']>;
2188
+ currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
2189
+ currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
2190
+ currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
2191
+ currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
2192
+ currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
2193
+ currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
2194
+ currency_starts_with?: InputMaybe<Scalars['String']['input']>;
2195
+ currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1831
2196
  id?: InputMaybe<Scalars['ID']['input']>;
1832
2197
  id_gt?: InputMaybe<Scalars['ID']['input']>;
1833
2198
  id_gte?: InputMaybe<Scalars['ID']['input']>;
@@ -1887,7 +2252,7 @@ type WithdrawnEvent_Filter = {
1887
2252
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
1888
2253
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1889
2254
  };
1890
- type WithdrawnEvent_OrderBy = 'amount' | 'blockNumber' | 'id' | 'occupant' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__currency' | 'slot__currencyDecimals' | 'slot__currencyName' | 'slot__currencySymbol' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
2255
+ type WithdrawnEvent_OrderBy = 'amount' | 'blockNumber' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'id' | 'occupant' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
1891
2256
  type _Block_ = {
1892
2257
  __typename?: '_Block_';
1893
2258
  /** The hash of the block */
@@ -1922,6 +2287,7 @@ type _SubgraphErrorPolicy_ =
1922
2287
  type AccountFieldsFragment = {
1923
2288
  __typename?: 'Account';
1924
2289
  id: string;
2290
+ type: AccountType;
1925
2291
  slotCount: number;
1926
2292
  occupiedCount: number;
1927
2293
  slotsAsRecipient: Array<{
@@ -1942,6 +2308,7 @@ type GetAccountQuery = {
1942
2308
  account?: {
1943
2309
  __typename?: 'Account';
1944
2310
  id: string;
2311
+ type: AccountType;
1945
2312
  slotCount: number;
1946
2313
  occupiedCount: number;
1947
2314
  slotsAsRecipient: Array<{
@@ -1967,6 +2334,7 @@ type GetAccountsQuery = {
1967
2334
  accounts: Array<{
1968
2335
  __typename?: 'Account';
1969
2336
  id: string;
2337
+ type: AccountType;
1970
2338
  slotCount: number;
1971
2339
  occupiedCount: number;
1972
2340
  slotsAsRecipient: Array<{
@@ -1979,6 +2347,13 @@ type GetAccountsQuery = {
1979
2347
  }>;
1980
2348
  }>;
1981
2349
  };
2350
+ type CurrencyFieldsFragment = {
2351
+ __typename?: 'Currency';
2352
+ id: string;
2353
+ name?: string | null;
2354
+ symbol?: string | null;
2355
+ decimals: number;
2356
+ };
1982
2357
  type GetRecentEventsQueryVariables = Exact<{
1983
2358
  first: Scalars['Int']['input'];
1984
2359
  }>;
@@ -1998,6 +2373,13 @@ type GetRecentEventsQuery = {
1998
2373
  __typename?: 'Slot';
1999
2374
  id: string;
2000
2375
  };
2376
+ currency: {
2377
+ __typename?: 'Currency';
2378
+ id: string;
2379
+ name?: string | null;
2380
+ symbol?: string | null;
2381
+ decimals: number;
2382
+ };
2001
2383
  }>;
2002
2384
  releasedEvents: Array<{
2003
2385
  __typename?: 'ReleasedEvent';
@@ -2010,6 +2392,13 @@ type GetRecentEventsQuery = {
2010
2392
  __typename?: 'Slot';
2011
2393
  id: string;
2012
2394
  };
2395
+ currency: {
2396
+ __typename?: 'Currency';
2397
+ id: string;
2398
+ name?: string | null;
2399
+ symbol?: string | null;
2400
+ decimals: number;
2401
+ };
2013
2402
  }>;
2014
2403
  liquidatedEvents: Array<{
2015
2404
  __typename?: 'LiquidatedEvent';
@@ -2023,6 +2412,13 @@ type GetRecentEventsQuery = {
2023
2412
  __typename?: 'Slot';
2024
2413
  id: string;
2025
2414
  };
2415
+ currency: {
2416
+ __typename?: 'Currency';
2417
+ id: string;
2418
+ name?: string | null;
2419
+ symbol?: string | null;
2420
+ decimals: number;
2421
+ };
2026
2422
  }>;
2027
2423
  priceUpdatedEvents: Array<{
2028
2424
  __typename?: 'PriceUpdatedEvent';
@@ -2035,6 +2431,13 @@ type GetRecentEventsQuery = {
2035
2431
  __typename?: 'Slot';
2036
2432
  id: string;
2037
2433
  };
2434
+ currency: {
2435
+ __typename?: 'Currency';
2436
+ id: string;
2437
+ name?: string | null;
2438
+ symbol?: string | null;
2439
+ decimals: number;
2440
+ };
2038
2441
  }>;
2039
2442
  depositedEvents: Array<{
2040
2443
  __typename?: 'DepositedEvent';
@@ -2047,6 +2450,13 @@ type GetRecentEventsQuery = {
2047
2450
  __typename?: 'Slot';
2048
2451
  id: string;
2049
2452
  };
2453
+ currency: {
2454
+ __typename?: 'Currency';
2455
+ id: string;
2456
+ name?: string | null;
2457
+ symbol?: string | null;
2458
+ decimals: number;
2459
+ };
2050
2460
  }>;
2051
2461
  withdrawnEvents: Array<{
2052
2462
  __typename?: 'WithdrawnEvent';
@@ -2059,6 +2469,13 @@ type GetRecentEventsQuery = {
2059
2469
  __typename?: 'Slot';
2060
2470
  id: string;
2061
2471
  };
2472
+ currency: {
2473
+ __typename?: 'Currency';
2474
+ id: string;
2475
+ name?: string | null;
2476
+ symbol?: string | null;
2477
+ decimals: number;
2478
+ };
2062
2479
  }>;
2063
2480
  taxCollectedEvents: Array<{
2064
2481
  __typename?: 'TaxCollectedEvent';
@@ -2071,6 +2488,13 @@ type GetRecentEventsQuery = {
2071
2488
  __typename?: 'Slot';
2072
2489
  id: string;
2073
2490
  };
2491
+ currency: {
2492
+ __typename?: 'Currency';
2493
+ id: string;
2494
+ name?: string | null;
2495
+ symbol?: string | null;
2496
+ decimals: number;
2497
+ };
2074
2498
  }>;
2075
2499
  taxUpdateProposedEvents: Array<{
2076
2500
  __typename?: 'TaxUpdateProposedEvent';
@@ -2130,6 +2554,13 @@ type GetBoughtEventsQuery = {
2130
2554
  __typename?: 'Slot';
2131
2555
  id: string;
2132
2556
  };
2557
+ currency: {
2558
+ __typename?: 'Currency';
2559
+ id: string;
2560
+ name?: string | null;
2561
+ symbol?: string | null;
2562
+ decimals: number;
2563
+ };
2133
2564
  }>;
2134
2565
  };
2135
2566
  type GetReleasedEventsQueryVariables = Exact<{
@@ -2154,6 +2585,13 @@ type GetReleasedEventsQuery = {
2154
2585
  __typename?: 'Slot';
2155
2586
  id: string;
2156
2587
  };
2588
+ currency: {
2589
+ __typename?: 'Currency';
2590
+ id: string;
2591
+ name?: string | null;
2592
+ symbol?: string | null;
2593
+ decimals: number;
2594
+ };
2157
2595
  }>;
2158
2596
  };
2159
2597
  type GetLiquidatedEventsQueryVariables = Exact<{
@@ -2179,6 +2617,13 @@ type GetLiquidatedEventsQuery = {
2179
2617
  __typename?: 'Slot';
2180
2618
  id: string;
2181
2619
  };
2620
+ currency: {
2621
+ __typename?: 'Currency';
2622
+ id: string;
2623
+ name?: string | null;
2624
+ symbol?: string | null;
2625
+ decimals: number;
2626
+ };
2182
2627
  }>;
2183
2628
  };
2184
2629
  type GetSettledEventsQueryVariables = Exact<{
@@ -2204,6 +2649,13 @@ type GetSettledEventsQuery = {
2204
2649
  __typename?: 'Slot';
2205
2650
  id: string;
2206
2651
  };
2652
+ currency: {
2653
+ __typename?: 'Currency';
2654
+ id: string;
2655
+ name?: string | null;
2656
+ symbol?: string | null;
2657
+ decimals: number;
2658
+ };
2207
2659
  }>;
2208
2660
  };
2209
2661
  type GetTaxCollectedEventsQueryVariables = Exact<{
@@ -2228,6 +2680,13 @@ type GetTaxCollectedEventsQuery = {
2228
2680
  __typename?: 'Slot';
2229
2681
  id: string;
2230
2682
  };
2683
+ currency: {
2684
+ __typename?: 'Currency';
2685
+ id: string;
2686
+ name?: string | null;
2687
+ symbol?: string | null;
2688
+ decimals: number;
2689
+ };
2231
2690
  }>;
2232
2691
  };
2233
2692
  type GetDepositedEventsQueryVariables = Exact<{
@@ -2252,6 +2711,13 @@ type GetDepositedEventsQuery = {
2252
2711
  __typename?: 'Slot';
2253
2712
  id: string;
2254
2713
  };
2714
+ currency: {
2715
+ __typename?: 'Currency';
2716
+ id: string;
2717
+ name?: string | null;
2718
+ symbol?: string | null;
2719
+ decimals: number;
2720
+ };
2255
2721
  }>;
2256
2722
  };
2257
2723
  type GetWithdrawnEventsQueryVariables = Exact<{
@@ -2276,6 +2742,13 @@ type GetWithdrawnEventsQuery = {
2276
2742
  __typename?: 'Slot';
2277
2743
  id: string;
2278
2744
  };
2745
+ currency: {
2746
+ __typename?: 'Currency';
2747
+ id: string;
2748
+ name?: string | null;
2749
+ symbol?: string | null;
2750
+ decimals: number;
2751
+ };
2279
2752
  }>;
2280
2753
  };
2281
2754
  type GetPriceUpdatedEventsQueryVariables = Exact<{
@@ -2300,6 +2773,13 @@ type GetPriceUpdatedEventsQuery = {
2300
2773
  __typename?: 'Slot';
2301
2774
  id: string;
2302
2775
  };
2776
+ currency: {
2777
+ __typename?: 'Currency';
2778
+ id: string;
2779
+ name?: string | null;
2780
+ symbol?: string | null;
2781
+ decimals: number;
2782
+ };
2303
2783
  }>;
2304
2784
  };
2305
2785
  type GetSlotActivityQueryVariables = Exact<{
@@ -2318,6 +2798,13 @@ type GetSlotActivityQuery = {
2318
2798
  deposit: string;
2319
2799
  timestamp: string;
2320
2800
  tx: string;
2801
+ currency: {
2802
+ __typename?: 'Currency';
2803
+ id: string;
2804
+ name?: string | null;
2805
+ symbol?: string | null;
2806
+ decimals: number;
2807
+ };
2321
2808
  }>;
2322
2809
  releasedEvents: Array<{
2323
2810
  __typename?: 'ReleasedEvent';
@@ -2326,6 +2813,13 @@ type GetSlotActivityQuery = {
2326
2813
  refund: string;
2327
2814
  timestamp: string;
2328
2815
  tx: string;
2816
+ currency: {
2817
+ __typename?: 'Currency';
2818
+ id: string;
2819
+ name?: string | null;
2820
+ symbol?: string | null;
2821
+ decimals: number;
2822
+ };
2329
2823
  }>;
2330
2824
  liquidatedEvents: Array<{
2331
2825
  __typename?: 'LiquidatedEvent';
@@ -2335,6 +2829,13 @@ type GetSlotActivityQuery = {
2335
2829
  bounty: string;
2336
2830
  timestamp: string;
2337
2831
  tx: string;
2832
+ currency: {
2833
+ __typename?: 'Currency';
2834
+ id: string;
2835
+ name?: string | null;
2836
+ symbol?: string | null;
2837
+ decimals: number;
2838
+ };
2338
2839
  }>;
2339
2840
  priceUpdatedEvents: Array<{
2340
2841
  __typename?: 'PriceUpdatedEvent';
@@ -2343,6 +2844,13 @@ type GetSlotActivityQuery = {
2343
2844
  newPrice: string;
2344
2845
  timestamp: string;
2345
2846
  tx: string;
2847
+ currency: {
2848
+ __typename?: 'Currency';
2849
+ id: string;
2850
+ name?: string | null;
2851
+ symbol?: string | null;
2852
+ decimals: number;
2853
+ };
2346
2854
  }>;
2347
2855
  depositedEvents: Array<{
2348
2856
  __typename?: 'DepositedEvent';
@@ -2351,6 +2859,13 @@ type GetSlotActivityQuery = {
2351
2859
  amount: string;
2352
2860
  timestamp: string;
2353
2861
  tx: string;
2862
+ currency: {
2863
+ __typename?: 'Currency';
2864
+ id: string;
2865
+ name?: string | null;
2866
+ symbol?: string | null;
2867
+ decimals: number;
2868
+ };
2354
2869
  }>;
2355
2870
  withdrawnEvents: Array<{
2356
2871
  __typename?: 'WithdrawnEvent';
@@ -2359,6 +2874,13 @@ type GetSlotActivityQuery = {
2359
2874
  amount: string;
2360
2875
  timestamp: string;
2361
2876
  tx: string;
2877
+ currency: {
2878
+ __typename?: 'Currency';
2879
+ id: string;
2880
+ name?: string | null;
2881
+ symbol?: string | null;
2882
+ decimals: number;
2883
+ };
2362
2884
  }>;
2363
2885
  taxCollectedEvents: Array<{
2364
2886
  __typename?: 'TaxCollectedEvent';
@@ -2367,6 +2889,13 @@ type GetSlotActivityQuery = {
2367
2889
  amount: string;
2368
2890
  timestamp: string;
2369
2891
  tx: string;
2892
+ currency: {
2893
+ __typename?: 'Currency';
2894
+ id: string;
2895
+ name?: string | null;
2896
+ symbol?: string | null;
2897
+ decimals: number;
2898
+ };
2370
2899
  }>;
2371
2900
  taxUpdateProposedEvents: Array<{
2372
2901
  __typename?: 'TaxUpdateProposedEvent';
@@ -2417,10 +2946,6 @@ type SlotFieldsFragment = {
2417
2946
  __typename?: 'Slot';
2418
2947
  id: string;
2419
2948
  recipient: string;
2420
- currency: string;
2421
- currencyName?: string | null;
2422
- currencySymbol?: string | null;
2423
- currencyDecimals?: number | null;
2424
2949
  manager: string;
2425
2950
  mutableTax: boolean;
2426
2951
  mutableModule: boolean;
@@ -2438,9 +2963,17 @@ type SlotFieldsFragment = {
2438
2963
  recipientAccount: {
2439
2964
  __typename?: 'Account';
2440
2965
  id: string;
2966
+ type: AccountType;
2441
2967
  slotCount: number;
2442
2968
  occupiedCount: number;
2443
2969
  };
2970
+ currency: {
2971
+ __typename?: 'Currency';
2972
+ id: string;
2973
+ name?: string | null;
2974
+ symbol?: string | null;
2975
+ decimals: number;
2976
+ };
2444
2977
  module?: {
2445
2978
  __typename?: 'Module';
2446
2979
  id: string;
@@ -2451,6 +2984,7 @@ type SlotFieldsFragment = {
2451
2984
  occupantAccount?: {
2452
2985
  __typename?: 'Account';
2453
2986
  id: string;
2987
+ type: AccountType;
2454
2988
  slotCount: number;
2455
2989
  occupiedCount: number;
2456
2990
  } | null;
@@ -2469,10 +3003,6 @@ type GetSlotsQuery = {
2469
3003
  __typename?: 'Slot';
2470
3004
  id: string;
2471
3005
  recipient: string;
2472
- currency: string;
2473
- currencyName?: string | null;
2474
- currencySymbol?: string | null;
2475
- currencyDecimals?: number | null;
2476
3006
  manager: string;
2477
3007
  mutableTax: boolean;
2478
3008
  mutableModule: boolean;
@@ -2490,9 +3020,17 @@ type GetSlotsQuery = {
2490
3020
  recipientAccount: {
2491
3021
  __typename?: 'Account';
2492
3022
  id: string;
3023
+ type: AccountType;
2493
3024
  slotCount: number;
2494
3025
  occupiedCount: number;
2495
3026
  };
3027
+ currency: {
3028
+ __typename?: 'Currency';
3029
+ id: string;
3030
+ name?: string | null;
3031
+ symbol?: string | null;
3032
+ decimals: number;
3033
+ };
2496
3034
  module?: {
2497
3035
  __typename?: 'Module';
2498
3036
  id: string;
@@ -2503,6 +3041,7 @@ type GetSlotsQuery = {
2503
3041
  occupantAccount?: {
2504
3042
  __typename?: 'Account';
2505
3043
  id: string;
3044
+ type: AccountType;
2506
3045
  slotCount: number;
2507
3046
  occupiedCount: number;
2508
3047
  } | null;
@@ -2518,10 +3057,6 @@ type GetSlotQuery = {
2518
3057
  __typename?: 'Slot';
2519
3058
  id: string;
2520
3059
  recipient: string;
2521
- currency: string;
2522
- currencyName?: string | null;
2523
- currencySymbol?: string | null;
2524
- currencyDecimals?: number | null;
2525
3060
  manager: string;
2526
3061
  mutableTax: boolean;
2527
3062
  mutableModule: boolean;
@@ -2539,9 +3074,17 @@ type GetSlotQuery = {
2539
3074
  recipientAccount: {
2540
3075
  __typename?: 'Account';
2541
3076
  id: string;
3077
+ type: AccountType;
2542
3078
  slotCount: number;
2543
3079
  occupiedCount: number;
2544
3080
  };
3081
+ currency: {
3082
+ __typename?: 'Currency';
3083
+ id: string;
3084
+ name?: string | null;
3085
+ symbol?: string | null;
3086
+ decimals: number;
3087
+ };
2545
3088
  module?: {
2546
3089
  __typename?: 'Module';
2547
3090
  id: string;
@@ -2552,6 +3095,7 @@ type GetSlotQuery = {
2552
3095
  occupantAccount?: {
2553
3096
  __typename?: 'Account';
2554
3097
  id: string;
3098
+ type: AccountType;
2555
3099
  slotCount: number;
2556
3100
  occupiedCount: number;
2557
3101
  } | null;
@@ -2571,10 +3115,6 @@ type GetSlotsByRecipientQuery = {
2571
3115
  __typename?: 'Slot';
2572
3116
  id: string;
2573
3117
  recipient: string;
2574
- currency: string;
2575
- currencyName?: string | null;
2576
- currencySymbol?: string | null;
2577
- currencyDecimals?: number | null;
2578
3118
  manager: string;
2579
3119
  mutableTax: boolean;
2580
3120
  mutableModule: boolean;
@@ -2592,9 +3132,17 @@ type GetSlotsByRecipientQuery = {
2592
3132
  recipientAccount: {
2593
3133
  __typename?: 'Account';
2594
3134
  id: string;
3135
+ type: AccountType;
2595
3136
  slotCount: number;
2596
3137
  occupiedCount: number;
2597
3138
  };
3139
+ currency: {
3140
+ __typename?: 'Currency';
3141
+ id: string;
3142
+ name?: string | null;
3143
+ symbol?: string | null;
3144
+ decimals: number;
3145
+ };
2598
3146
  module?: {
2599
3147
  __typename?: 'Module';
2600
3148
  id: string;
@@ -2605,6 +3153,7 @@ type GetSlotsByRecipientQuery = {
2605
3153
  occupantAccount?: {
2606
3154
  __typename?: 'Account';
2607
3155
  id: string;
3156
+ type: AccountType;
2608
3157
  slotCount: number;
2609
3158
  occupiedCount: number;
2610
3159
  } | null;
@@ -2624,10 +3173,6 @@ type GetSlotsByOccupantQuery = {
2624
3173
  __typename?: 'Slot';
2625
3174
  id: string;
2626
3175
  recipient: string;
2627
- currency: string;
2628
- currencyName?: string | null;
2629
- currencySymbol?: string | null;
2630
- currencyDecimals?: number | null;
2631
3176
  manager: string;
2632
3177
  mutableTax: boolean;
2633
3178
  mutableModule: boolean;
@@ -2645,9 +3190,17 @@ type GetSlotsByOccupantQuery = {
2645
3190
  recipientAccount: {
2646
3191
  __typename?: 'Account';
2647
3192
  id: string;
3193
+ type: AccountType;
2648
3194
  slotCount: number;
2649
3195
  occupiedCount: number;
2650
3196
  };
3197
+ currency: {
3198
+ __typename?: 'Currency';
3199
+ id: string;
3200
+ name?: string | null;
3201
+ symbol?: string | null;
3202
+ decimals: number;
3203
+ };
2651
3204
  module?: {
2652
3205
  __typename?: 'Module';
2653
3206
  id: string;
@@ -2658,12 +3211,14 @@ type GetSlotsByOccupantQuery = {
2658
3211
  occupantAccount?: {
2659
3212
  __typename?: 'Account';
2660
3213
  id: string;
3214
+ type: AccountType;
2661
3215
  slotCount: number;
2662
3216
  occupiedCount: number;
2663
3217
  } | null;
2664
3218
  }>;
2665
3219
  };
2666
3220
  declare const AccountFieldsFragmentDoc: graphql.DocumentNode;
3221
+ declare const CurrencyFieldsFragmentDoc: graphql.DocumentNode;
2667
3222
  declare const SlotFieldsFragmentDoc: graphql.DocumentNode;
2668
3223
  declare const GetAccountDocument: graphql.DocumentNode;
2669
3224
  declare const GetAccountsDocument: graphql.DocumentNode;
@@ -2754,6 +3309,22 @@ interface SlotsClientConfig {
2754
3309
  subgraphUrl?: string;
2755
3310
  headers?: Record<string, string>;
2756
3311
  }
3312
+ /**
3313
+ * Client for reading and writing 0xSlots protocol data.
3314
+ *
3315
+ * Reads come from a Graph Protocol subgraph (via graphql-request).
3316
+ * Writes go through a viem WalletClient and handle ERC-20 approvals automatically.
3317
+ *
3318
+ * @example
3319
+ * ```ts
3320
+ * const client = new SlotsClient({
3321
+ * chainId: SlotsChain.ARBITRUM,
3322
+ * publicClient,
3323
+ * walletClient,
3324
+ * });
3325
+ * const slots = await client.getSlots({ first: 10 });
3326
+ * ```
3327
+ */
2757
3328
  declare class SlotsClient {
2758
3329
  private readonly sdk;
2759
3330
  private readonly chainId;
@@ -2763,8 +3334,11 @@ declare class SlotsClient {
2763
3334
  private readonly _factory?;
2764
3335
  private _atomicSupport;
2765
3336
  constructor(config: SlotsClientConfig);
3337
+ /** Returns the chain ID this client was configured for. */
2766
3338
  getChainId(): SlotsChain;
3339
+ /** Returns the underlying GraphQL client (for advanced usage). */
2767
3340
  getClient(): GraphQLClient;
3341
+ /** Returns the generated GraphQL SDK (for queries not wrapped by this client). */
2768
3342
  getSdk(): {
2769
3343
  GetAccount(variables: GetAccountQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetAccountQuery>;
2770
3344
  GetAccounts(variables: GetAccountsQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetAccountsQuery>;
@@ -2789,26 +3363,53 @@ declare class SlotsClient {
2789
3363
  private get factory();
2790
3364
  private get wallet();
2791
3365
  private get account();
3366
+ private get chain();
3367
+ private assertPositive;
3368
+ private query;
3369
+ /** Fetch a paginated list of slots. */
2792
3370
  getSlots(...args: Parameters<ReturnType<typeof getSdk>["GetSlots"]>): Promise<GetSlotsQuery>;
3371
+ /** Fetch a single slot by its address. */
2793
3372
  getSlot(...args: Parameters<ReturnType<typeof getSdk>["GetSlot"]>): Promise<GetSlotQuery>;
3373
+ /** Fetch all slots owned by a given recipient address. */
2794
3374
  getSlotsByRecipient(...args: Parameters<ReturnType<typeof getSdk>["GetSlotsByRecipient"]>): Promise<GetSlotsByRecipientQuery>;
3375
+ /** Fetch all slots currently occupied by a given address. */
2795
3376
  getSlotsByOccupant(...args: Parameters<ReturnType<typeof getSdk>["GetSlotsByOccupant"]>): Promise<GetSlotsByOccupantQuery>;
3377
+ /** Fetch factory configuration. */
2796
3378
  getFactory(): Promise<GetFactoryQuery>;
3379
+ /** Fetch registered modules. */
2797
3380
  getModules(...args: Parameters<ReturnType<typeof getSdk>["GetModules"]>): Promise<GetModulesQuery>;
3381
+ /** Fetch bought events with optional filters. */
2798
3382
  getBoughtEvents(...args: Parameters<ReturnType<typeof getSdk>["GetBoughtEvents"]>): Promise<GetBoughtEventsQuery>;
3383
+ /** Fetch settled events with optional filters. */
2799
3384
  getSettledEvents(...args: Parameters<ReturnType<typeof getSdk>["GetSettledEvents"]>): Promise<GetSettledEventsQuery>;
3385
+ /** Fetch tax-collected events with optional filters. */
2800
3386
  getTaxCollectedEvents(...args: Parameters<ReturnType<typeof getSdk>["GetTaxCollectedEvents"]>): Promise<GetTaxCollectedEventsQuery>;
3387
+ /** Fetch all activity for a specific slot (all event types). */
2801
3388
  getSlotActivity(...args: Parameters<ReturnType<typeof getSdk>["GetSlotActivity"]>): Promise<GetSlotActivityQuery>;
3389
+ /** Fetch the most recent events across all slots. */
2802
3390
  getRecentEvents(...args: Parameters<ReturnType<typeof getSdk>["GetRecentEvents"]>): Promise<GetRecentEventsQuery>;
3391
+ /** Fetch a single account by address. */
2803
3392
  getAccount(...args: Parameters<ReturnType<typeof getSdk>["GetAccount"]>): Promise<GetAccountQuery>;
3393
+ /** Fetch a paginated list of accounts. */
2804
3394
  getAccounts(...args: Parameters<ReturnType<typeof getSdk>["GetAccounts"]>): Promise<GetAccountsQuery>;
3395
+ /** Fetch released events with optional filters. */
2805
3396
  getReleasedEvents(...args: Parameters<ReturnType<typeof getSdk>["GetReleasedEvents"]>): Promise<GetReleasedEventsQuery>;
3397
+ /** Fetch liquidated events with optional filters. */
2806
3398
  getLiquidatedEvents(...args: Parameters<ReturnType<typeof getSdk>["GetLiquidatedEvents"]>): Promise<GetLiquidatedEventsQuery>;
3399
+ /** Fetch deposited events with optional filters. */
2807
3400
  getDepositedEvents(...args: Parameters<ReturnType<typeof getSdk>["GetDepositedEvents"]>): Promise<GetDepositedEventsQuery>;
3401
+ /** Fetch withdrawn events with optional filters. */
2808
3402
  getWithdrawnEvents(...args: Parameters<ReturnType<typeof getSdk>["GetWithdrawnEvents"]>): Promise<GetWithdrawnEventsQuery>;
3403
+ /** Fetch price-updated events with optional filters. */
2809
3404
  getPriceUpdatedEvents(...args: Parameters<ReturnType<typeof getSdk>["GetPriceUpdatedEvents"]>): Promise<GetPriceUpdatedEventsQuery>;
3405
+ /** Fetch subgraph indexing metadata (latest block, indexing errors). */
2810
3406
  getMeta(): Promise<SubgraphMeta>;
2811
- /** Read full slot info from on-chain (RPC, not subgraph). */
3407
+ /**
3408
+ * Read full slot info from on-chain (RPC, not subgraph).
3409
+ * @param slot - Slot contract address.
3410
+ * @returns On-chain slot info tuple.
3411
+ * @throws {SlotsError} If the RPC call fails.
3412
+ */
2812
3413
  getSlotInfo(slot: Address): Promise<{
2813
3414
  recipient: `0x${string}`;
2814
3415
  currency: `0x${string}`;
@@ -2831,31 +3432,101 @@ declare class SlotsClient {
2831
3432
  hasPendingModule: boolean;
2832
3433
  pendingModule: `0x${string}`;
2833
3434
  }>;
3435
+ /**
3436
+ * Deploy a new slot via the factory contract.
3437
+ * @param params - Slot creation parameters (recipient, currency, config, initParams).
3438
+ * @returns Transaction hash.
3439
+ */
2834
3440
  createSlot(params: CreateSlotParams): Promise<Hash>;
3441
+ /**
3442
+ * Deploy multiple identical slots in a single transaction via the factory contract.
3443
+ * @param params - Slot creation parameters including count.
3444
+ * @returns Transaction hash.
3445
+ */
2835
3446
  createSlots(params: CreateSlotsParams): Promise<Hash>;
2836
- /** Buy a slot (or force buy an occupied one). Handles ERC-20 approval automatically. */
3447
+ /**
3448
+ * Buy a slot (or force-buy an occupied one). Handles ERC-20 approval automatically.
3449
+ * @param params - Buy parameters (slot address, deposit amount, self-assessed price).
3450
+ * @returns Transaction hash.
3451
+ * @throws {SlotsError} If depositAmount or selfAssessedPrice is not positive, or the transaction fails.
3452
+ */
2837
3453
  buy(params: BuyParams): Promise<Hash>;
2838
- /** Self-assess a new price for an occupied slot (occupant only). */
3454
+ /**
3455
+ * Self-assess a new price for an occupied slot (occupant only).
3456
+ * @param slot - The slot contract address.
3457
+ * @param newPrice - The new self-assessed price (can be 0).
3458
+ * @returns Transaction hash.
3459
+ */
2839
3460
  selfAssess(slot: Address, newPrice: bigint): Promise<Hash>;
2840
- /** Top up deposit on a slot (occupant only). Handles ERC-20 approval automatically. */
3461
+ /**
3462
+ * Top up deposit on a slot (occupant only). Handles ERC-20 approval automatically.
3463
+ * @param slot - The slot contract address.
3464
+ * @param amount - The amount to deposit (must be > 0).
3465
+ * @returns Transaction hash.
3466
+ * @throws {SlotsError} If amount is not positive, or the transaction fails.
3467
+ */
2841
3468
  topUp(slot: Address, amount: bigint): Promise<Hash>;
2842
- /** Withdraw from deposit (occupant only). Cannot go below minimum deposit. */
3469
+ /**
3470
+ * Withdraw from deposit (occupant only). Cannot go below minimum deposit.
3471
+ * @param slot - The slot contract address.
3472
+ * @param amount - The amount to withdraw (must be > 0).
3473
+ * @returns Transaction hash.
3474
+ * @throws {SlotsError} If amount is not positive, or the transaction fails.
3475
+ */
2843
3476
  withdraw(slot: Address, amount: bigint): Promise<Hash>;
2844
- /** Release a slot (occupant only). Returns remaining deposit. */
3477
+ /**
3478
+ * Release a slot (occupant only). Returns remaining deposit to the occupant.
3479
+ * @param slot - The slot contract address.
3480
+ * @returns Transaction hash.
3481
+ */
2845
3482
  release(slot: Address): Promise<Hash>;
2846
- /** Collect accumulated tax (permissionless). */
3483
+ /**
3484
+ * Collect accumulated tax (permissionless).
3485
+ * @param slot - The slot contract address.
3486
+ * @returns Transaction hash.
3487
+ */
2847
3488
  collect(slot: Address): Promise<Hash>;
2848
- /** Liquidate an insolvent slot (permissionless). Caller receives bounty. */
3489
+ /**
3490
+ * Liquidate an insolvent slot (permissionless). Caller receives bounty.
3491
+ * @param slot - The slot contract address.
3492
+ * @returns Transaction hash.
3493
+ */
2849
3494
  liquidate(slot: Address): Promise<Hash>;
2850
- /** Propose a tax rate update (manager only, slot must have mutableTax). */
3495
+ /**
3496
+ * Propose a tax rate update (manager only, slot must have mutableTax).
3497
+ * @param slot - The slot contract address.
3498
+ * @param newPct - The new tax percentage.
3499
+ * @returns Transaction hash.
3500
+ */
2851
3501
  proposeTaxUpdate(slot: Address, newPct: bigint): Promise<Hash>;
2852
- /** Propose a module update (manager only, slot must have mutableModule). */
3502
+ /**
3503
+ * Propose a module update (manager only, slot must have mutableModule).
3504
+ * @param slot - The slot contract address.
3505
+ * @param newModule - The new module contract address.
3506
+ * @returns Transaction hash.
3507
+ */
2853
3508
  proposeModuleUpdate(slot: Address, newModule: Address): Promise<Hash>;
2854
- /** Cancel pending updates (manager only). */
3509
+ /**
3510
+ * Cancel pending updates (manager only).
3511
+ * @param slot - The slot contract address.
3512
+ * @returns Transaction hash.
3513
+ */
2855
3514
  cancelPendingUpdates(slot: Address): Promise<Hash>;
2856
- /** Set liquidation bounty bps (manager only). */
3515
+ /**
3516
+ * Set liquidation bounty bps (manager only).
3517
+ * @param slot - The slot contract address.
3518
+ * @param newBps - The new bounty in basis points (0-10000).
3519
+ * @returns Transaction hash.
3520
+ * @throws {SlotsError} If newBps is outside 0-10000, or the transaction fails.
3521
+ */
2857
3522
  setLiquidationBounty(slot: Address, newBps: bigint): Promise<Hash>;
2858
- /** Batch multiple slot calls into one transaction via multicall. */
3523
+ /**
3524
+ * Batch multiple slot calls into one transaction via multicall.
3525
+ * @param slot - The slot contract address.
3526
+ * @param calls - Array of function calls to batch.
3527
+ * @returns Transaction hash.
3528
+ * @throws {SlotsError} If calls array is empty, or the transaction fails.
3529
+ */
2859
3530
  multicall(slot: Address, calls: {
2860
3531
  functionName: string;
2861
3532
  args?: any[];
@@ -2873,4 +3544,11 @@ declare class SlotsClient {
2873
3544
  }
2874
3545
  declare function createSlotsClient(config: SlotsClientConfig): SlotsClient;
2875
3546
 
2876
- export { type Account, type AccountFieldsFragment, AccountFieldsFragmentDoc, type AccountSlotsAsOccupantArgs, type AccountSlotsAsRecipientArgs, type Account_Filter, type Account_OrderBy, type Aggregation_Current, type Aggregation_Interval, type BlockChangedFilter, type Block_Height, type BoughtEvent, type BoughtEvent_Filter, type BoughtEvent_OrderBy, type BuyParams, type CreateSlotParams, type CreateSlotsParams, type DepositedEvent, type DepositedEvent_Filter, type DepositedEvent_OrderBy, type Exact, type Factory, type FactoryModulesArgs, type Factory_Filter, type Factory_OrderBy, GetAccountDocument, type GetAccountQuery, type GetAccountQueryVariables, GetAccountsDocument, type GetAccountsQuery, type GetAccountsQueryVariables, GetBoughtEventsDocument, type GetBoughtEventsQuery, type GetBoughtEventsQueryVariables, GetDepositedEventsDocument, type GetDepositedEventsQuery, type GetDepositedEventsQueryVariables, GetFactoryDocument, type GetFactoryQuery, type GetFactoryQueryVariables, GetLiquidatedEventsDocument, type GetLiquidatedEventsQuery, type GetLiquidatedEventsQueryVariables, GetModulesDocument, type GetModulesQuery, type GetModulesQueryVariables, GetPriceUpdatedEventsDocument, type GetPriceUpdatedEventsQuery, type GetPriceUpdatedEventsQueryVariables, GetRecentEventsDocument, type GetRecentEventsQuery, type GetRecentEventsQueryVariables, GetReleasedEventsDocument, type GetReleasedEventsQuery, type GetReleasedEventsQueryVariables, GetSettledEventsDocument, type GetSettledEventsQuery, type GetSettledEventsQueryVariables, GetSlotActivityDocument, type GetSlotActivityQuery, type GetSlotActivityQueryVariables, GetSlotDocument, type GetSlotQuery, type GetSlotQueryVariables, GetSlotsByOccupantDocument, type GetSlotsByOccupantQuery, type GetSlotsByOccupantQueryVariables, GetSlotsByRecipientDocument, type GetSlotsByRecipientQuery, type GetSlotsByRecipientQueryVariables, GetSlotsDocument, type GetSlotsQuery, type GetSlotsQueryVariables, GetTaxCollectedEventsDocument, type GetTaxCollectedEventsQuery, type GetTaxCollectedEventsQueryVariables, GetWithdrawnEventsDocument, type GetWithdrawnEventsQuery, type GetWithdrawnEventsQueryVariables, type Incremental, type InputMaybe, type LiquidatedEvent, type LiquidatedEvent_Filter, type LiquidatedEvent_OrderBy, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type Module, type ModuleUpdateProposedEvent, type ModuleUpdateProposedEvent_Filter, type ModuleUpdateProposedEvent_OrderBy, type Module_Filter, type Module_OrderBy, type OrderDirection, type PendingUpdateCancelledEvent, type PendingUpdateCancelledEvent_Filter, type PendingUpdateCancelledEvent_OrderBy, type PriceUpdatedEvent, type PriceUpdatedEvent_Filter, type PriceUpdatedEvent_OrderBy, type Query, type QueryAccountArgs, type QueryAccountsArgs, type QueryBoughtEventArgs, type QueryBoughtEventsArgs, type QueryDepositedEventArgs, type QueryDepositedEventsArgs, type QueryFactoriesArgs, type QueryFactoryArgs, type QueryLiquidatedEventArgs, type QueryLiquidatedEventsArgs, type QueryModuleArgs, type QueryModuleUpdateProposedEventArgs, type QueryModuleUpdateProposedEventsArgs, type QueryModulesArgs, type QueryPendingUpdateCancelledEventArgs, type QueryPendingUpdateCancelledEventsArgs, type QueryPriceUpdatedEventArgs, type QueryPriceUpdatedEventsArgs, type QueryReleasedEventArgs, type QueryReleasedEventsArgs, type QuerySettledEventArgs, type QuerySettledEventsArgs, type QuerySlotArgs, type QuerySlotsArgs, type QueryTaxCollectedEventArgs, type QueryTaxCollectedEventsArgs, type QueryTaxUpdateProposedEventArgs, type QueryTaxUpdateProposedEventsArgs, type QueryWithdrawnEventArgs, type QueryWithdrawnEventsArgs, type Query_MetaArgs, type ReleasedEvent, type ReleasedEvent_Filter, type ReleasedEvent_OrderBy, SUBGRAPH_URLS, type Scalars, type Sdk, type SdkFunctionWrapper, type SettledEvent, type SettledEvent_Filter, type SettledEvent_OrderBy, type Slot, type SlotConfig, type SlotDepositsArgs, type SlotFieldsFragment, SlotFieldsFragmentDoc, type SlotInitParams, type SlotLiquidationsArgs, type SlotModuleUpdateProposalsArgs, type SlotPendingUpdateCancellationsArgs, type SlotPriceUpdatesArgs, type SlotPurchasesArgs, type SlotReleasesArgs, type SlotSettlementsArgs, type SlotTaxCollectionsArgs, type SlotTaxUpdateProposalsArgs, type SlotWithdrawalsArgs, type Slot_Filter, type Slot_OrderBy, SlotsChain, SlotsClient, type SlotsClientConfig, type SubgraphMeta, type TaxCollectedEvent, type TaxCollectedEvent_Filter, type TaxCollectedEvent_OrderBy, type TaxUpdateProposedEvent, type TaxUpdateProposedEvent_Filter, type TaxUpdateProposedEvent_OrderBy, type WithdrawnEvent, type WithdrawnEvent_Filter, type WithdrawnEvent_OrderBy, type _Block_, type _Meta_, type _SubgraphErrorPolicy_, createSlotsClient, getSdk };
3547
+ /** Error thrown by SlotsClient operations, wrapping the original cause with operation context. */
3548
+ declare class SlotsError extends Error {
3549
+ readonly operation: string;
3550
+ readonly cause: unknown;
3551
+ constructor(operation: string, cause: unknown);
3552
+ }
3553
+
3554
+ export { type Account, type AccountFieldsFragment, AccountFieldsFragmentDoc, type AccountSlotsAsOccupantArgs, type AccountSlotsAsRecipientArgs, type AccountType, type Account_Filter, type Account_OrderBy, type Aggregation_Current, type Aggregation_Interval, type BlockChangedFilter, type Block_Height, type BoughtEvent, type BoughtEvent_Filter, type BoughtEvent_OrderBy, type BuyParams, type CreateSlotParams, type CreateSlotsParams, type Currency, type CurrencyFieldsFragment, CurrencyFieldsFragmentDoc, type Currency_Filter, type Currency_OrderBy, type DepositedEvent, type DepositedEvent_Filter, type DepositedEvent_OrderBy, type Exact, type Factory, type FactoryModulesArgs, type Factory_Filter, type Factory_OrderBy, GetAccountDocument, type GetAccountQuery, type GetAccountQueryVariables, GetAccountsDocument, type GetAccountsQuery, type GetAccountsQueryVariables, GetBoughtEventsDocument, type GetBoughtEventsQuery, type GetBoughtEventsQueryVariables, GetDepositedEventsDocument, type GetDepositedEventsQuery, type GetDepositedEventsQueryVariables, GetFactoryDocument, type GetFactoryQuery, type GetFactoryQueryVariables, GetLiquidatedEventsDocument, type GetLiquidatedEventsQuery, type GetLiquidatedEventsQueryVariables, GetModulesDocument, type GetModulesQuery, type GetModulesQueryVariables, GetPriceUpdatedEventsDocument, type GetPriceUpdatedEventsQuery, type GetPriceUpdatedEventsQueryVariables, GetRecentEventsDocument, type GetRecentEventsQuery, type GetRecentEventsQueryVariables, GetReleasedEventsDocument, type GetReleasedEventsQuery, type GetReleasedEventsQueryVariables, GetSettledEventsDocument, type GetSettledEventsQuery, type GetSettledEventsQueryVariables, GetSlotActivityDocument, type GetSlotActivityQuery, type GetSlotActivityQueryVariables, GetSlotDocument, type GetSlotQuery, type GetSlotQueryVariables, GetSlotsByOccupantDocument, type GetSlotsByOccupantQuery, type GetSlotsByOccupantQueryVariables, GetSlotsByRecipientDocument, type GetSlotsByRecipientQuery, type GetSlotsByRecipientQueryVariables, GetSlotsDocument, type GetSlotsQuery, type GetSlotsQueryVariables, GetTaxCollectedEventsDocument, type GetTaxCollectedEventsQuery, type GetTaxCollectedEventsQueryVariables, GetWithdrawnEventsDocument, type GetWithdrawnEventsQuery, type GetWithdrawnEventsQueryVariables, type Incremental, type InputMaybe, type LiquidatedEvent, type LiquidatedEvent_Filter, type LiquidatedEvent_OrderBy, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type MetadataUpdatedEvent, type MetadataUpdatedEvent_Filter, type MetadataUpdatedEvent_OrderBy, type Module, type ModuleUpdateProposedEvent, type ModuleUpdateProposedEvent_Filter, type ModuleUpdateProposedEvent_OrderBy, type Module_Filter, type Module_OrderBy, type OrderDirection, type PendingUpdateCancelledEvent, type PendingUpdateCancelledEvent_Filter, type PendingUpdateCancelledEvent_OrderBy, type PriceUpdatedEvent, type PriceUpdatedEvent_Filter, type PriceUpdatedEvent_OrderBy, type Query, type QueryAccountArgs, type QueryAccountsArgs, type QueryBoughtEventArgs, type QueryBoughtEventsArgs, type QueryCurrenciesArgs, type QueryCurrencyArgs, type QueryDepositedEventArgs, type QueryDepositedEventsArgs, type QueryFactoriesArgs, type QueryFactoryArgs, type QueryLiquidatedEventArgs, type QueryLiquidatedEventsArgs, type QueryMetadataUpdatedEventArgs, type QueryMetadataUpdatedEventsArgs, type QueryModuleArgs, type QueryModuleUpdateProposedEventArgs, type QueryModuleUpdateProposedEventsArgs, type QueryModulesArgs, type QueryPendingUpdateCancelledEventArgs, type QueryPendingUpdateCancelledEventsArgs, type QueryPriceUpdatedEventArgs, type QueryPriceUpdatedEventsArgs, type QueryReleasedEventArgs, type QueryReleasedEventsArgs, type QuerySettledEventArgs, type QuerySettledEventsArgs, type QuerySlotArgs, type QuerySlotsArgs, type QueryTaxCollectedEventArgs, type QueryTaxCollectedEventsArgs, type QueryTaxUpdateProposedEventArgs, type QueryTaxUpdateProposedEventsArgs, type QueryWithdrawnEventArgs, type QueryWithdrawnEventsArgs, type Query_MetaArgs, type ReleasedEvent, type ReleasedEvent_Filter, type ReleasedEvent_OrderBy, SUBGRAPH_URLS, type Scalars, type Sdk, type SdkFunctionWrapper, type SettledEvent, type SettledEvent_Filter, type SettledEvent_OrderBy, type Slot, type SlotConfig, type SlotDepositsArgs, type SlotFieldsFragment, SlotFieldsFragmentDoc, type SlotInitParams, type SlotLiquidationsArgs, type SlotMetadataUpdatesArgs, type SlotModuleUpdateProposalsArgs, type SlotPendingUpdateCancellationsArgs, type SlotPriceUpdatesArgs, type SlotPurchasesArgs, type SlotReleasesArgs, type SlotSettlementsArgs, type SlotTaxCollectionsArgs, type SlotTaxUpdateProposalsArgs, type SlotWithdrawalsArgs, type Slot_Filter, type Slot_OrderBy, SlotsChain, SlotsClient, type SlotsClientConfig, SlotsError, type SubgraphMeta, type TaxCollectedEvent, type TaxCollectedEvent_Filter, type TaxCollectedEvent_OrderBy, type TaxUpdateProposedEvent, type TaxUpdateProposedEvent_Filter, type TaxUpdateProposedEvent_OrderBy, type WithdrawnEvent, type WithdrawnEvent_Filter, type WithdrawnEvent_OrderBy, type _Block_, type _Meta_, type _SubgraphErrorPolicy_, createSlotsClient, getSdk };