@0xslots/sdk 0.5.0 → 0.6.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
@@ -1,5 +1,6 @@
1
1
  import { GraphQLClient, RequestOptions } from 'graphql-request';
2
2
  import * as graphql from 'graphql';
3
+ import { Address, PublicClient, WalletClient, Hash } from 'viem';
3
4
 
4
5
  type Maybe<T> = T | null;
5
6
  type InputMaybe<T> = T | null;
@@ -121,6 +122,12 @@ type Account_Filter = {
121
122
  slotsAsRecipient_?: InputMaybe<Slot_Filter>;
122
123
  };
123
124
  type Account_OrderBy = 'id' | 'occupiedCount' | 'slotCount' | 'slotsAsOccupant' | 'slotsAsRecipient';
125
+ /** Indicates whether the current, partially filled bucket should be included in the response. Defaults to `exclude` */
126
+ type Aggregation_Current =
127
+ /** Exclude the current, partially filled bucket from the response */
128
+ 'exclude'
129
+ /** Include the current, partially filled bucket in the response */
130
+ | 'include';
124
131
  type Aggregation_Interval = 'day' | 'hour';
125
132
  type BlockChangedFilter = {
126
133
  number_gte: Scalars['Int']['input'];
@@ -248,7 +255,7 @@ type BoughtEvent_Filter = {
248
255
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
249
256
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
250
257
  };
251
- 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__module' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
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';
252
259
  type DepositedEvent = {
253
260
  __typename?: 'DepositedEvent';
254
261
  amount: Scalars['BigInt']['output'];
@@ -338,7 +345,7 @@ type DepositedEvent_Filter = {
338
345
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
339
346
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
340
347
  };
341
- 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__module' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
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';
342
349
  type Factory = {
343
350
  __typename?: 'Factory';
344
351
  id: Scalars['ID']['output'];
@@ -476,7 +483,7 @@ type LiquidatedEvent_Filter = {
476
483
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
477
484
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
478
485
  };
479
- 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__module' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
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';
480
487
  type Module = {
481
488
  __typename?: 'Module';
482
489
  factory: Factory;
@@ -485,6 +492,87 @@ type Module = {
485
492
  verified: Scalars['Boolean']['output'];
486
493
  version: Scalars['String']['output'];
487
494
  };
495
+ type ModuleUpdateProposedEvent = {
496
+ __typename?: 'ModuleUpdateProposedEvent';
497
+ blockNumber: Scalars['BigInt']['output'];
498
+ id: Scalars['ID']['output'];
499
+ newModule: Scalars['Bytes']['output'];
500
+ slot: Slot;
501
+ timestamp: Scalars['BigInt']['output'];
502
+ tx: Scalars['Bytes']['output'];
503
+ };
504
+ type ModuleUpdateProposedEvent_Filter = {
505
+ /** Filter for the block changed event. */
506
+ _change_block?: InputMaybe<BlockChangedFilter>;
507
+ and?: InputMaybe<Array<InputMaybe<ModuleUpdateProposedEvent_Filter>>>;
508
+ blockNumber?: InputMaybe<Scalars['BigInt']['input']>;
509
+ blockNumber_gt?: InputMaybe<Scalars['BigInt']['input']>;
510
+ blockNumber_gte?: InputMaybe<Scalars['BigInt']['input']>;
511
+ blockNumber_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
512
+ blockNumber_lt?: InputMaybe<Scalars['BigInt']['input']>;
513
+ blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
514
+ blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
515
+ blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
516
+ id?: InputMaybe<Scalars['ID']['input']>;
517
+ id_gt?: InputMaybe<Scalars['ID']['input']>;
518
+ id_gte?: InputMaybe<Scalars['ID']['input']>;
519
+ id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
520
+ id_lt?: InputMaybe<Scalars['ID']['input']>;
521
+ id_lte?: InputMaybe<Scalars['ID']['input']>;
522
+ id_not?: InputMaybe<Scalars['ID']['input']>;
523
+ id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
524
+ newModule?: InputMaybe<Scalars['Bytes']['input']>;
525
+ newModule_contains?: InputMaybe<Scalars['Bytes']['input']>;
526
+ newModule_gt?: InputMaybe<Scalars['Bytes']['input']>;
527
+ newModule_gte?: InputMaybe<Scalars['Bytes']['input']>;
528
+ newModule_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
529
+ newModule_lt?: InputMaybe<Scalars['Bytes']['input']>;
530
+ newModule_lte?: InputMaybe<Scalars['Bytes']['input']>;
531
+ newModule_not?: InputMaybe<Scalars['Bytes']['input']>;
532
+ newModule_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
533
+ newModule_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
534
+ or?: InputMaybe<Array<InputMaybe<ModuleUpdateProposedEvent_Filter>>>;
535
+ slot?: InputMaybe<Scalars['String']['input']>;
536
+ slot_?: InputMaybe<Slot_Filter>;
537
+ slot_contains?: InputMaybe<Scalars['String']['input']>;
538
+ slot_contains_nocase?: InputMaybe<Scalars['String']['input']>;
539
+ slot_ends_with?: InputMaybe<Scalars['String']['input']>;
540
+ slot_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
541
+ slot_gt?: InputMaybe<Scalars['String']['input']>;
542
+ slot_gte?: InputMaybe<Scalars['String']['input']>;
543
+ slot_in?: InputMaybe<Array<Scalars['String']['input']>>;
544
+ slot_lt?: InputMaybe<Scalars['String']['input']>;
545
+ slot_lte?: InputMaybe<Scalars['String']['input']>;
546
+ slot_not?: InputMaybe<Scalars['String']['input']>;
547
+ slot_not_contains?: InputMaybe<Scalars['String']['input']>;
548
+ slot_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
549
+ slot_not_ends_with?: InputMaybe<Scalars['String']['input']>;
550
+ slot_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
551
+ slot_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
552
+ slot_not_starts_with?: InputMaybe<Scalars['String']['input']>;
553
+ slot_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
554
+ slot_starts_with?: InputMaybe<Scalars['String']['input']>;
555
+ slot_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
556
+ timestamp?: InputMaybe<Scalars['BigInt']['input']>;
557
+ timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
558
+ timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
559
+ timestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
560
+ timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
561
+ timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
562
+ timestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
563
+ timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
564
+ tx?: InputMaybe<Scalars['Bytes']['input']>;
565
+ tx_contains?: InputMaybe<Scalars['Bytes']['input']>;
566
+ tx_gt?: InputMaybe<Scalars['Bytes']['input']>;
567
+ tx_gte?: InputMaybe<Scalars['Bytes']['input']>;
568
+ tx_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
569
+ tx_lt?: InputMaybe<Scalars['Bytes']['input']>;
570
+ tx_lte?: InputMaybe<Scalars['Bytes']['input']>;
571
+ tx_not?: InputMaybe<Scalars['Bytes']['input']>;
572
+ tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
573
+ tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
574
+ };
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';
488
576
  type Module_Filter = {
489
577
  /** Filter for the block changed event. */
490
578
  _change_block?: InputMaybe<BlockChangedFilter>;
@@ -567,6 +655,76 @@ type Module_Filter = {
567
655
  type Module_OrderBy = 'factory' | 'factory__id' | 'factory__slotCount' | 'id' | 'name' | 'verified' | 'version';
568
656
  /** Defines the order direction, either ascending or descending */
569
657
  type OrderDirection = 'asc' | 'desc';
658
+ type PendingUpdateCancelledEvent = {
659
+ __typename?: 'PendingUpdateCancelledEvent';
660
+ blockNumber: Scalars['BigInt']['output'];
661
+ id: Scalars['ID']['output'];
662
+ slot: Slot;
663
+ timestamp: Scalars['BigInt']['output'];
664
+ tx: Scalars['Bytes']['output'];
665
+ };
666
+ type PendingUpdateCancelledEvent_Filter = {
667
+ /** Filter for the block changed event. */
668
+ _change_block?: InputMaybe<BlockChangedFilter>;
669
+ and?: InputMaybe<Array<InputMaybe<PendingUpdateCancelledEvent_Filter>>>;
670
+ blockNumber?: InputMaybe<Scalars['BigInt']['input']>;
671
+ blockNumber_gt?: InputMaybe<Scalars['BigInt']['input']>;
672
+ blockNumber_gte?: InputMaybe<Scalars['BigInt']['input']>;
673
+ blockNumber_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
674
+ blockNumber_lt?: InputMaybe<Scalars['BigInt']['input']>;
675
+ blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
676
+ blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
677
+ blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
678
+ id?: InputMaybe<Scalars['ID']['input']>;
679
+ id_gt?: InputMaybe<Scalars['ID']['input']>;
680
+ id_gte?: InputMaybe<Scalars['ID']['input']>;
681
+ id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
682
+ id_lt?: InputMaybe<Scalars['ID']['input']>;
683
+ id_lte?: InputMaybe<Scalars['ID']['input']>;
684
+ id_not?: InputMaybe<Scalars['ID']['input']>;
685
+ id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
686
+ or?: InputMaybe<Array<InputMaybe<PendingUpdateCancelledEvent_Filter>>>;
687
+ slot?: InputMaybe<Scalars['String']['input']>;
688
+ slot_?: InputMaybe<Slot_Filter>;
689
+ slot_contains?: InputMaybe<Scalars['String']['input']>;
690
+ slot_contains_nocase?: InputMaybe<Scalars['String']['input']>;
691
+ slot_ends_with?: InputMaybe<Scalars['String']['input']>;
692
+ slot_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
693
+ slot_gt?: InputMaybe<Scalars['String']['input']>;
694
+ slot_gte?: InputMaybe<Scalars['String']['input']>;
695
+ slot_in?: InputMaybe<Array<Scalars['String']['input']>>;
696
+ slot_lt?: InputMaybe<Scalars['String']['input']>;
697
+ slot_lte?: InputMaybe<Scalars['String']['input']>;
698
+ slot_not?: InputMaybe<Scalars['String']['input']>;
699
+ slot_not_contains?: InputMaybe<Scalars['String']['input']>;
700
+ slot_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
701
+ slot_not_ends_with?: InputMaybe<Scalars['String']['input']>;
702
+ slot_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
703
+ slot_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
704
+ slot_not_starts_with?: InputMaybe<Scalars['String']['input']>;
705
+ slot_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
706
+ slot_starts_with?: InputMaybe<Scalars['String']['input']>;
707
+ slot_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
708
+ timestamp?: InputMaybe<Scalars['BigInt']['input']>;
709
+ timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
710
+ timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
711
+ timestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
712
+ timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
713
+ timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
714
+ timestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
715
+ timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
716
+ tx?: InputMaybe<Scalars['Bytes']['input']>;
717
+ tx_contains?: InputMaybe<Scalars['Bytes']['input']>;
718
+ tx_gt?: InputMaybe<Scalars['Bytes']['input']>;
719
+ tx_gte?: InputMaybe<Scalars['Bytes']['input']>;
720
+ tx_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
721
+ tx_lt?: InputMaybe<Scalars['Bytes']['input']>;
722
+ tx_lte?: InputMaybe<Scalars['Bytes']['input']>;
723
+ tx_not?: InputMaybe<Scalars['Bytes']['input']>;
724
+ tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
725
+ tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
726
+ };
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';
570
728
  type PriceUpdatedEvent = {
571
729
  __typename?: 'PriceUpdatedEvent';
572
730
  blockNumber: Scalars['BigInt']['output'];
@@ -654,7 +812,7 @@ type PriceUpdatedEvent_Filter = {
654
812
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
655
813
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
656
814
  };
657
- 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__module' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
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';
658
816
  type Query = {
659
817
  __typename?: 'Query';
660
818
  /** Access to subgraph metadata */
@@ -670,7 +828,11 @@ type Query = {
670
828
  liquidatedEvent?: Maybe<LiquidatedEvent>;
671
829
  liquidatedEvents: Array<LiquidatedEvent>;
672
830
  module?: Maybe<Module>;
831
+ moduleUpdateProposedEvent?: Maybe<ModuleUpdateProposedEvent>;
832
+ moduleUpdateProposedEvents: Array<ModuleUpdateProposedEvent>;
673
833
  modules: Array<Module>;
834
+ pendingUpdateCancelledEvent?: Maybe<PendingUpdateCancelledEvent>;
835
+ pendingUpdateCancelledEvents: Array<PendingUpdateCancelledEvent>;
674
836
  priceUpdatedEvent?: Maybe<PriceUpdatedEvent>;
675
837
  priceUpdatedEvents: Array<PriceUpdatedEvent>;
676
838
  releasedEvent?: Maybe<ReleasedEvent>;
@@ -681,6 +843,8 @@ type Query = {
681
843
  slots: Array<Slot>;
682
844
  taxCollectedEvent?: Maybe<TaxCollectedEvent>;
683
845
  taxCollectedEvents: Array<TaxCollectedEvent>;
846
+ taxUpdateProposedEvent?: Maybe<TaxUpdateProposedEvent>;
847
+ taxUpdateProposedEvents: Array<TaxUpdateProposedEvent>;
684
848
  withdrawnEvent?: Maybe<WithdrawnEvent>;
685
849
  withdrawnEvents: Array<WithdrawnEvent>;
686
850
  };
@@ -762,6 +926,20 @@ type QueryModuleArgs = {
762
926
  id: Scalars['ID']['input'];
763
927
  subgraphError?: _SubgraphErrorPolicy_;
764
928
  };
929
+ type QueryModuleUpdateProposedEventArgs = {
930
+ block?: InputMaybe<Block_Height>;
931
+ id: Scalars['ID']['input'];
932
+ subgraphError?: _SubgraphErrorPolicy_;
933
+ };
934
+ type QueryModuleUpdateProposedEventsArgs = {
935
+ block?: InputMaybe<Block_Height>;
936
+ first?: InputMaybe<Scalars['Int']['input']>;
937
+ orderBy?: InputMaybe<ModuleUpdateProposedEvent_OrderBy>;
938
+ orderDirection?: InputMaybe<OrderDirection>;
939
+ skip?: InputMaybe<Scalars['Int']['input']>;
940
+ subgraphError?: _SubgraphErrorPolicy_;
941
+ where?: InputMaybe<ModuleUpdateProposedEvent_Filter>;
942
+ };
765
943
  type QueryModulesArgs = {
766
944
  block?: InputMaybe<Block_Height>;
767
945
  first?: InputMaybe<Scalars['Int']['input']>;
@@ -771,6 +949,20 @@ type QueryModulesArgs = {
771
949
  subgraphError?: _SubgraphErrorPolicy_;
772
950
  where?: InputMaybe<Module_Filter>;
773
951
  };
952
+ type QueryPendingUpdateCancelledEventArgs = {
953
+ block?: InputMaybe<Block_Height>;
954
+ id: Scalars['ID']['input'];
955
+ subgraphError?: _SubgraphErrorPolicy_;
956
+ };
957
+ type QueryPendingUpdateCancelledEventsArgs = {
958
+ block?: InputMaybe<Block_Height>;
959
+ first?: InputMaybe<Scalars['Int']['input']>;
960
+ orderBy?: InputMaybe<PendingUpdateCancelledEvent_OrderBy>;
961
+ orderDirection?: InputMaybe<OrderDirection>;
962
+ skip?: InputMaybe<Scalars['Int']['input']>;
963
+ subgraphError?: _SubgraphErrorPolicy_;
964
+ where?: InputMaybe<PendingUpdateCancelledEvent_Filter>;
965
+ };
774
966
  type QueryPriceUpdatedEventArgs = {
775
967
  block?: InputMaybe<Block_Height>;
776
968
  id: Scalars['ID']['input'];
@@ -841,6 +1033,20 @@ type QueryTaxCollectedEventsArgs = {
841
1033
  subgraphError?: _SubgraphErrorPolicy_;
842
1034
  where?: InputMaybe<TaxCollectedEvent_Filter>;
843
1035
  };
1036
+ type QueryTaxUpdateProposedEventArgs = {
1037
+ block?: InputMaybe<Block_Height>;
1038
+ id: Scalars['ID']['input'];
1039
+ subgraphError?: _SubgraphErrorPolicy_;
1040
+ };
1041
+ type QueryTaxUpdateProposedEventsArgs = {
1042
+ block?: InputMaybe<Block_Height>;
1043
+ first?: InputMaybe<Scalars['Int']['input']>;
1044
+ orderBy?: InputMaybe<TaxUpdateProposedEvent_OrderBy>;
1045
+ orderDirection?: InputMaybe<OrderDirection>;
1046
+ skip?: InputMaybe<Scalars['Int']['input']>;
1047
+ subgraphError?: _SubgraphErrorPolicy_;
1048
+ where?: InputMaybe<TaxUpdateProposedEvent_Filter>;
1049
+ };
844
1050
  type QueryWithdrawnEventArgs = {
845
1051
  block?: InputMaybe<Block_Height>;
846
1052
  id: Scalars['ID']['input'];
@@ -944,7 +1150,7 @@ type ReleasedEvent_Filter = {
944
1150
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
945
1151
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
946
1152
  };
947
- 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__module' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
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';
948
1154
  type SettledEvent = {
949
1155
  __typename?: 'SettledEvent';
950
1156
  blockNumber: Scalars['BigInt']['output'];
@@ -1041,7 +1247,7 @@ type SettledEvent_Filter = {
1041
1247
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
1042
1248
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1043
1249
  };
1044
- 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__module' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'taxOwed' | 'taxPaid' | 'timestamp' | 'tx';
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';
1045
1251
  type Slot = {
1046
1252
  __typename?: 'Slot';
1047
1253
  collectedTax: Scalars['BigInt']['output'];
@@ -1058,11 +1264,13 @@ type Slot = {
1058
1264
  liquidations: Array<LiquidatedEvent>;
1059
1265
  manager: Scalars['Bytes']['output'];
1060
1266
  minDepositSeconds: Scalars['BigInt']['output'];
1061
- module: Scalars['Bytes']['output'];
1267
+ module?: Maybe<Module>;
1268
+ moduleUpdateProposals: Array<ModuleUpdateProposedEvent>;
1062
1269
  mutableModule: Scalars['Boolean']['output'];
1063
1270
  mutableTax: Scalars['Boolean']['output'];
1064
1271
  occupant?: Maybe<Scalars['Bytes']['output']>;
1065
1272
  occupantAccount?: Maybe<Account>;
1273
+ pendingUpdateCancellations: Array<PendingUpdateCancelledEvent>;
1066
1274
  price: Scalars['BigInt']['output'];
1067
1275
  priceUpdates: Array<PriceUpdatedEvent>;
1068
1276
  purchases: Array<BoughtEvent>;
@@ -1072,6 +1280,7 @@ type Slot = {
1072
1280
  settlements: Array<SettledEvent>;
1073
1281
  taxCollections: Array<TaxCollectedEvent>;
1074
1282
  taxPercentage: Scalars['BigInt']['output'];
1283
+ taxUpdateProposals: Array<TaxUpdateProposedEvent>;
1075
1284
  totalCollected: Scalars['BigInt']['output'];
1076
1285
  updatedAt: Scalars['BigInt']['output'];
1077
1286
  withdrawals: Array<WithdrawnEvent>;
@@ -1090,6 +1299,20 @@ type SlotLiquidationsArgs = {
1090
1299
  skip?: InputMaybe<Scalars['Int']['input']>;
1091
1300
  where?: InputMaybe<LiquidatedEvent_Filter>;
1092
1301
  };
1302
+ type SlotModuleUpdateProposalsArgs = {
1303
+ first?: InputMaybe<Scalars['Int']['input']>;
1304
+ orderBy?: InputMaybe<ModuleUpdateProposedEvent_OrderBy>;
1305
+ orderDirection?: InputMaybe<OrderDirection>;
1306
+ skip?: InputMaybe<Scalars['Int']['input']>;
1307
+ where?: InputMaybe<ModuleUpdateProposedEvent_Filter>;
1308
+ };
1309
+ type SlotPendingUpdateCancellationsArgs = {
1310
+ first?: InputMaybe<Scalars['Int']['input']>;
1311
+ orderBy?: InputMaybe<PendingUpdateCancelledEvent_OrderBy>;
1312
+ orderDirection?: InputMaybe<OrderDirection>;
1313
+ skip?: InputMaybe<Scalars['Int']['input']>;
1314
+ where?: InputMaybe<PendingUpdateCancelledEvent_Filter>;
1315
+ };
1093
1316
  type SlotPriceUpdatesArgs = {
1094
1317
  first?: InputMaybe<Scalars['Int']['input']>;
1095
1318
  orderBy?: InputMaybe<PriceUpdatedEvent_OrderBy>;
@@ -1125,6 +1348,13 @@ type SlotTaxCollectionsArgs = {
1125
1348
  skip?: InputMaybe<Scalars['Int']['input']>;
1126
1349
  where?: InputMaybe<TaxCollectedEvent_Filter>;
1127
1350
  };
1351
+ type SlotTaxUpdateProposalsArgs = {
1352
+ first?: InputMaybe<Scalars['Int']['input']>;
1353
+ orderBy?: InputMaybe<TaxUpdateProposedEvent_OrderBy>;
1354
+ orderDirection?: InputMaybe<OrderDirection>;
1355
+ skip?: InputMaybe<Scalars['Int']['input']>;
1356
+ where?: InputMaybe<TaxUpdateProposedEvent_Filter>;
1357
+ };
1128
1358
  type SlotWithdrawalsArgs = {
1129
1359
  first?: InputMaybe<Scalars['Int']['input']>;
1130
1360
  orderBy?: InputMaybe<WithdrawnEvent_OrderBy>;
@@ -1264,16 +1494,28 @@ type Slot_Filter = {
1264
1494
  minDepositSeconds_lte?: InputMaybe<Scalars['BigInt']['input']>;
1265
1495
  minDepositSeconds_not?: InputMaybe<Scalars['BigInt']['input']>;
1266
1496
  minDepositSeconds_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
1267
- module?: InputMaybe<Scalars['Bytes']['input']>;
1268
- module_contains?: InputMaybe<Scalars['Bytes']['input']>;
1269
- module_gt?: InputMaybe<Scalars['Bytes']['input']>;
1270
- module_gte?: InputMaybe<Scalars['Bytes']['input']>;
1271
- module_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1272
- module_lt?: InputMaybe<Scalars['Bytes']['input']>;
1273
- module_lte?: InputMaybe<Scalars['Bytes']['input']>;
1274
- module_not?: InputMaybe<Scalars['Bytes']['input']>;
1275
- module_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
1276
- module_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1497
+ module?: InputMaybe<Scalars['String']['input']>;
1498
+ moduleUpdateProposals_?: InputMaybe<ModuleUpdateProposedEvent_Filter>;
1499
+ module_?: InputMaybe<Module_Filter>;
1500
+ module_contains?: InputMaybe<Scalars['String']['input']>;
1501
+ module_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1502
+ module_ends_with?: InputMaybe<Scalars['String']['input']>;
1503
+ module_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1504
+ module_gt?: InputMaybe<Scalars['String']['input']>;
1505
+ module_gte?: InputMaybe<Scalars['String']['input']>;
1506
+ module_in?: InputMaybe<Array<Scalars['String']['input']>>;
1507
+ module_lt?: InputMaybe<Scalars['String']['input']>;
1508
+ module_lte?: InputMaybe<Scalars['String']['input']>;
1509
+ module_not?: InputMaybe<Scalars['String']['input']>;
1510
+ module_not_contains?: InputMaybe<Scalars['String']['input']>;
1511
+ module_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1512
+ module_not_ends_with?: InputMaybe<Scalars['String']['input']>;
1513
+ module_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1514
+ module_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
1515
+ module_not_starts_with?: InputMaybe<Scalars['String']['input']>;
1516
+ module_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1517
+ module_starts_with?: InputMaybe<Scalars['String']['input']>;
1518
+ module_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1277
1519
  mutableModule?: InputMaybe<Scalars['Boolean']['input']>;
1278
1520
  mutableModule_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
1279
1521
  mutableModule_not?: InputMaybe<Scalars['Boolean']['input']>;
@@ -1314,6 +1556,7 @@ type Slot_Filter = {
1314
1556
  occupant_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
1315
1557
  occupant_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1316
1558
  or?: InputMaybe<Array<InputMaybe<Slot_Filter>>>;
1559
+ pendingUpdateCancellations_?: InputMaybe<PendingUpdateCancelledEvent_Filter>;
1317
1560
  price?: InputMaybe<Scalars['BigInt']['input']>;
1318
1561
  priceUpdates_?: InputMaybe<PriceUpdatedEvent_Filter>;
1319
1562
  price_gt?: InputMaybe<Scalars['BigInt']['input']>;
@@ -1366,6 +1609,7 @@ type Slot_Filter = {
1366
1609
  taxPercentage_lte?: InputMaybe<Scalars['BigInt']['input']>;
1367
1610
  taxPercentage_not?: InputMaybe<Scalars['BigInt']['input']>;
1368
1611
  taxPercentage_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
1612
+ taxUpdateProposals_?: InputMaybe<TaxUpdateProposedEvent_Filter>;
1369
1613
  totalCollected?: InputMaybe<Scalars['BigInt']['input']>;
1370
1614
  totalCollected_gt?: InputMaybe<Scalars['BigInt']['input']>;
1371
1615
  totalCollected_gte?: InputMaybe<Scalars['BigInt']['input']>;
@@ -1384,7 +1628,7 @@ type Slot_Filter = {
1384
1628
  updatedAt_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
1385
1629
  withdrawals_?: InputMaybe<WithdrawnEvent_Filter>;
1386
1630
  };
1387
- type Slot_OrderBy = 'collectedTax' | 'createdAt' | 'createdTx' | 'currency' | 'currencyDecimals' | 'currencyName' | 'currencySymbol' | 'deposit' | 'deposits' | 'id' | 'liquidationBountyBps' | 'liquidations' | 'manager' | 'minDepositSeconds' | 'module' | 'mutableModule' | 'mutableTax' | 'occupant' | 'occupantAccount' | 'occupantAccount__id' | 'occupantAccount__occupiedCount' | 'occupantAccount__slotCount' | 'price' | 'priceUpdates' | 'purchases' | 'recipient' | 'recipientAccount' | 'recipientAccount__id' | 'recipientAccount__occupiedCount' | 'recipientAccount__slotCount' | 'releases' | 'settlements' | 'taxCollections' | 'taxPercentage' | 'totalCollected' | 'updatedAt' | 'withdrawals';
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';
1388
1632
  type TaxCollectedEvent = {
1389
1633
  __typename?: 'TaxCollectedEvent';
1390
1634
  amount: Scalars['BigInt']['output'];
@@ -1474,7 +1718,86 @@ type TaxCollectedEvent_Filter = {
1474
1718
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
1475
1719
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1476
1720
  };
1477
- 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__module' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
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';
1722
+ type TaxUpdateProposedEvent = {
1723
+ __typename?: 'TaxUpdateProposedEvent';
1724
+ blockNumber: Scalars['BigInt']['output'];
1725
+ id: Scalars['ID']['output'];
1726
+ newPercentage: Scalars['BigInt']['output'];
1727
+ slot: Slot;
1728
+ timestamp: Scalars['BigInt']['output'];
1729
+ tx: Scalars['Bytes']['output'];
1730
+ };
1731
+ type TaxUpdateProposedEvent_Filter = {
1732
+ /** Filter for the block changed event. */
1733
+ _change_block?: InputMaybe<BlockChangedFilter>;
1734
+ and?: InputMaybe<Array<InputMaybe<TaxUpdateProposedEvent_Filter>>>;
1735
+ blockNumber?: InputMaybe<Scalars['BigInt']['input']>;
1736
+ blockNumber_gt?: InputMaybe<Scalars['BigInt']['input']>;
1737
+ blockNumber_gte?: InputMaybe<Scalars['BigInt']['input']>;
1738
+ blockNumber_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
1739
+ blockNumber_lt?: InputMaybe<Scalars['BigInt']['input']>;
1740
+ blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
1741
+ blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
1742
+ blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
1743
+ id?: InputMaybe<Scalars['ID']['input']>;
1744
+ id_gt?: InputMaybe<Scalars['ID']['input']>;
1745
+ id_gte?: InputMaybe<Scalars['ID']['input']>;
1746
+ id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
1747
+ id_lt?: InputMaybe<Scalars['ID']['input']>;
1748
+ id_lte?: InputMaybe<Scalars['ID']['input']>;
1749
+ id_not?: InputMaybe<Scalars['ID']['input']>;
1750
+ id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
1751
+ newPercentage?: InputMaybe<Scalars['BigInt']['input']>;
1752
+ newPercentage_gt?: InputMaybe<Scalars['BigInt']['input']>;
1753
+ newPercentage_gte?: InputMaybe<Scalars['BigInt']['input']>;
1754
+ newPercentage_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
1755
+ newPercentage_lt?: InputMaybe<Scalars['BigInt']['input']>;
1756
+ newPercentage_lte?: InputMaybe<Scalars['BigInt']['input']>;
1757
+ newPercentage_not?: InputMaybe<Scalars['BigInt']['input']>;
1758
+ newPercentage_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
1759
+ or?: InputMaybe<Array<InputMaybe<TaxUpdateProposedEvent_Filter>>>;
1760
+ slot?: InputMaybe<Scalars['String']['input']>;
1761
+ slot_?: InputMaybe<Slot_Filter>;
1762
+ slot_contains?: InputMaybe<Scalars['String']['input']>;
1763
+ slot_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1764
+ slot_ends_with?: InputMaybe<Scalars['String']['input']>;
1765
+ slot_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1766
+ slot_gt?: InputMaybe<Scalars['String']['input']>;
1767
+ slot_gte?: InputMaybe<Scalars['String']['input']>;
1768
+ slot_in?: InputMaybe<Array<Scalars['String']['input']>>;
1769
+ slot_lt?: InputMaybe<Scalars['String']['input']>;
1770
+ slot_lte?: InputMaybe<Scalars['String']['input']>;
1771
+ slot_not?: InputMaybe<Scalars['String']['input']>;
1772
+ slot_not_contains?: InputMaybe<Scalars['String']['input']>;
1773
+ slot_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
1774
+ slot_not_ends_with?: InputMaybe<Scalars['String']['input']>;
1775
+ slot_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
1776
+ slot_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
1777
+ slot_not_starts_with?: InputMaybe<Scalars['String']['input']>;
1778
+ slot_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1779
+ slot_starts_with?: InputMaybe<Scalars['String']['input']>;
1780
+ slot_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
1781
+ timestamp?: InputMaybe<Scalars['BigInt']['input']>;
1782
+ timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
1783
+ timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
1784
+ timestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
1785
+ timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
1786
+ timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
1787
+ timestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
1788
+ timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
1789
+ tx?: InputMaybe<Scalars['Bytes']['input']>;
1790
+ tx_contains?: InputMaybe<Scalars['Bytes']['input']>;
1791
+ tx_gt?: InputMaybe<Scalars['Bytes']['input']>;
1792
+ tx_gte?: InputMaybe<Scalars['Bytes']['input']>;
1793
+ tx_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1794
+ tx_lt?: InputMaybe<Scalars['Bytes']['input']>;
1795
+ tx_lte?: InputMaybe<Scalars['Bytes']['input']>;
1796
+ tx_not?: InputMaybe<Scalars['Bytes']['input']>;
1797
+ tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
1798
+ tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1799
+ };
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';
1478
1801
  type WithdrawnEvent = {
1479
1802
  __typename?: 'WithdrawnEvent';
1480
1803
  amount: Scalars['BigInt']['output'];
@@ -1564,7 +1887,7 @@ type WithdrawnEvent_Filter = {
1564
1887
  tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
1565
1888
  tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
1566
1889
  };
1567
- 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__module' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
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';
1568
1891
  type _Block_ = {
1569
1892
  __typename?: '_Block_';
1570
1893
  /** The hash of the block */
@@ -1749,6 +2072,38 @@ type GetRecentEventsQuery = {
1749
2072
  id: string;
1750
2073
  };
1751
2074
  }>;
2075
+ taxUpdateProposedEvents: Array<{
2076
+ __typename?: 'TaxUpdateProposedEvent';
2077
+ id: string;
2078
+ newPercentage: string;
2079
+ timestamp: string;
2080
+ tx: string;
2081
+ slot: {
2082
+ __typename?: 'Slot';
2083
+ id: string;
2084
+ };
2085
+ }>;
2086
+ moduleUpdateProposedEvents: Array<{
2087
+ __typename?: 'ModuleUpdateProposedEvent';
2088
+ id: string;
2089
+ newModule: string;
2090
+ timestamp: string;
2091
+ tx: string;
2092
+ slot: {
2093
+ __typename?: 'Slot';
2094
+ id: string;
2095
+ };
2096
+ }>;
2097
+ pendingUpdateCancelledEvents: Array<{
2098
+ __typename?: 'PendingUpdateCancelledEvent';
2099
+ id: string;
2100
+ timestamp: string;
2101
+ tx: string;
2102
+ slot: {
2103
+ __typename?: 'Slot';
2104
+ id: string;
2105
+ };
2106
+ }>;
1752
2107
  };
1753
2108
  type GetBoughtEventsQueryVariables = Exact<{
1754
2109
  first: Scalars['Int']['input'];
@@ -2013,6 +2368,26 @@ type GetSlotActivityQuery = {
2013
2368
  timestamp: string;
2014
2369
  tx: string;
2015
2370
  }>;
2371
+ taxUpdateProposedEvents: Array<{
2372
+ __typename?: 'TaxUpdateProposedEvent';
2373
+ id: string;
2374
+ newPercentage: string;
2375
+ timestamp: string;
2376
+ tx: string;
2377
+ }>;
2378
+ moduleUpdateProposedEvents: Array<{
2379
+ __typename?: 'ModuleUpdateProposedEvent';
2380
+ id: string;
2381
+ newModule: string;
2382
+ timestamp: string;
2383
+ tx: string;
2384
+ }>;
2385
+ pendingUpdateCancelledEvents: Array<{
2386
+ __typename?: 'PendingUpdateCancelledEvent';
2387
+ id: string;
2388
+ timestamp: string;
2389
+ tx: string;
2390
+ }>;
2016
2391
  };
2017
2392
  type GetFactoryQueryVariables = Exact<{
2018
2393
  [key: string]: never;
@@ -2050,7 +2425,6 @@ type SlotFieldsFragment = {
2050
2425
  mutableTax: boolean;
2051
2426
  mutableModule: boolean;
2052
2427
  taxPercentage: string;
2053
- module: string;
2054
2428
  occupant?: string | null;
2055
2429
  price: string;
2056
2430
  deposit: string;
@@ -2067,6 +2441,13 @@ type SlotFieldsFragment = {
2067
2441
  slotCount: number;
2068
2442
  occupiedCount: number;
2069
2443
  };
2444
+ module?: {
2445
+ __typename?: 'Module';
2446
+ id: string;
2447
+ verified: boolean;
2448
+ name: string;
2449
+ version: string;
2450
+ } | null;
2070
2451
  occupantAccount?: {
2071
2452
  __typename?: 'Account';
2072
2453
  id: string;
@@ -2096,7 +2477,6 @@ type GetSlotsQuery = {
2096
2477
  mutableTax: boolean;
2097
2478
  mutableModule: boolean;
2098
2479
  taxPercentage: string;
2099
- module: string;
2100
2480
  occupant?: string | null;
2101
2481
  price: string;
2102
2482
  deposit: string;
@@ -2113,6 +2493,13 @@ type GetSlotsQuery = {
2113
2493
  slotCount: number;
2114
2494
  occupiedCount: number;
2115
2495
  };
2496
+ module?: {
2497
+ __typename?: 'Module';
2498
+ id: string;
2499
+ verified: boolean;
2500
+ name: string;
2501
+ version: string;
2502
+ } | null;
2116
2503
  occupantAccount?: {
2117
2504
  __typename?: 'Account';
2118
2505
  id: string;
@@ -2139,7 +2526,6 @@ type GetSlotQuery = {
2139
2526
  mutableTax: boolean;
2140
2527
  mutableModule: boolean;
2141
2528
  taxPercentage: string;
2142
- module: string;
2143
2529
  occupant?: string | null;
2144
2530
  price: string;
2145
2531
  deposit: string;
@@ -2156,6 +2542,13 @@ type GetSlotQuery = {
2156
2542
  slotCount: number;
2157
2543
  occupiedCount: number;
2158
2544
  };
2545
+ module?: {
2546
+ __typename?: 'Module';
2547
+ id: string;
2548
+ verified: boolean;
2549
+ name: string;
2550
+ version: string;
2551
+ } | null;
2159
2552
  occupantAccount?: {
2160
2553
  __typename?: 'Account';
2161
2554
  id: string;
@@ -2186,7 +2579,6 @@ type GetSlotsByRecipientQuery = {
2186
2579
  mutableTax: boolean;
2187
2580
  mutableModule: boolean;
2188
2581
  taxPercentage: string;
2189
- module: string;
2190
2582
  occupant?: string | null;
2191
2583
  price: string;
2192
2584
  deposit: string;
@@ -2203,6 +2595,13 @@ type GetSlotsByRecipientQuery = {
2203
2595
  slotCount: number;
2204
2596
  occupiedCount: number;
2205
2597
  };
2598
+ module?: {
2599
+ __typename?: 'Module';
2600
+ id: string;
2601
+ verified: boolean;
2602
+ name: string;
2603
+ version: string;
2604
+ } | null;
2206
2605
  occupantAccount?: {
2207
2606
  __typename?: 'Account';
2208
2607
  id: string;
@@ -2233,7 +2632,6 @@ type GetSlotsByOccupantQuery = {
2233
2632
  mutableTax: boolean;
2234
2633
  mutableModule: boolean;
2235
2634
  taxPercentage: string;
2236
- module: string;
2237
2635
  occupant?: string | null;
2238
2636
  price: string;
2239
2637
  deposit: string;
@@ -2250,6 +2648,13 @@ type GetSlotsByOccupantQuery = {
2250
2648
  slotCount: number;
2251
2649
  occupiedCount: number;
2252
2650
  };
2651
+ module?: {
2652
+ __typename?: 'Module';
2653
+ id: string;
2654
+ verified: boolean;
2655
+ name: string;
2656
+ version: string;
2657
+ } | null;
2253
2658
  occupantAccount?: {
2254
2659
  __typename?: 'Account';
2255
2660
  id: string;
@@ -2316,15 +2721,47 @@ declare enum SlotsChain {
2316
2721
  ARBITRUM = 42161
2317
2722
  }
2318
2723
  declare const SUBGRAPH_URLS: Record<SlotsChain, string>;
2724
+ interface SlotConfig {
2725
+ mutableTax: boolean;
2726
+ mutableModule: boolean;
2727
+ manager: Address;
2728
+ }
2729
+ interface SlotInitParams {
2730
+ taxPercentage: bigint;
2731
+ module: Address;
2732
+ liquidationBountyBps: bigint;
2733
+ minDepositSeconds: bigint;
2734
+ }
2735
+ interface CreateSlotParams {
2736
+ recipient: Address;
2737
+ currency: Address;
2738
+ config: SlotConfig;
2739
+ initParams: SlotInitParams;
2740
+ }
2741
+ interface CreateSlotsParams extends CreateSlotParams {
2742
+ count: bigint;
2743
+ }
2744
+ interface BuyParams {
2745
+ slot: Address;
2746
+ depositAmount: bigint;
2747
+ selfAssessedPrice: bigint;
2748
+ }
2319
2749
  interface SlotsClientConfig {
2320
2750
  chainId: SlotsChain;
2751
+ factoryAddress?: Address;
2752
+ publicClient?: PublicClient;
2753
+ walletClient?: WalletClient;
2321
2754
  subgraphUrl?: string;
2322
2755
  headers?: Record<string, string>;
2323
2756
  }
2324
2757
  declare class SlotsClient {
2325
2758
  private readonly sdk;
2326
2759
  private readonly chainId;
2327
- private readonly client;
2760
+ private readonly gqlClient;
2761
+ private readonly _publicClient?;
2762
+ private readonly walletClient?;
2763
+ private readonly _factory?;
2764
+ private _atomicSupport;
2328
2765
  constructor(config: SlotsClientConfig);
2329
2766
  getChainId(): SlotsChain;
2330
2767
  getClient(): GraphQLClient;
@@ -2348,6 +2785,10 @@ declare class SlotsClient {
2348
2785
  GetSlotsByRecipient(variables: GetSlotsByRecipientQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetSlotsByRecipientQuery>;
2349
2786
  GetSlotsByOccupant(variables: GetSlotsByOccupantQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetSlotsByOccupantQuery>;
2350
2787
  };
2788
+ private get publicClient();
2789
+ private get factory();
2790
+ private get wallet();
2791
+ private get account();
2351
2792
  getSlots(...args: Parameters<ReturnType<typeof getSdk>["GetSlots"]>): Promise<GetSlotsQuery>;
2352
2793
  getSlot(...args: Parameters<ReturnType<typeof getSdk>["GetSlot"]>): Promise<GetSlotQuery>;
2353
2794
  getSlotsByRecipient(...args: Parameters<ReturnType<typeof getSdk>["GetSlotsByRecipient"]>): Promise<GetSlotsByRecipientQuery>;
@@ -2367,7 +2808,69 @@ declare class SlotsClient {
2367
2808
  getWithdrawnEvents(...args: Parameters<ReturnType<typeof getSdk>["GetWithdrawnEvents"]>): Promise<GetWithdrawnEventsQuery>;
2368
2809
  getPriceUpdatedEvents(...args: Parameters<ReturnType<typeof getSdk>["GetPriceUpdatedEvents"]>): Promise<GetPriceUpdatedEventsQuery>;
2369
2810
  getMeta(): Promise<SubgraphMeta>;
2811
+ /** Read full slot info from on-chain (RPC, not subgraph). */
2812
+ getSlotInfo(slot: Address): Promise<{
2813
+ recipient: `0x${string}`;
2814
+ currency: `0x${string}`;
2815
+ manager: `0x${string}`;
2816
+ mutableTax: boolean;
2817
+ mutableModule: boolean;
2818
+ occupant: `0x${string}`;
2819
+ price: bigint;
2820
+ taxPercentage: bigint;
2821
+ module: `0x${string}`;
2822
+ liquidationBountyBps: bigint;
2823
+ minDepositSeconds: bigint;
2824
+ deposit: bigint;
2825
+ collectedTax: bigint;
2826
+ taxOwed: bigint;
2827
+ secondsUntilLiquidation: bigint;
2828
+ insolvent: boolean;
2829
+ hasPendingTax: boolean;
2830
+ pendingTaxPercentage: bigint;
2831
+ hasPendingModule: boolean;
2832
+ pendingModule: `0x${string}`;
2833
+ }>;
2834
+ createSlot(params: CreateSlotParams): Promise<Hash>;
2835
+ createSlots(params: CreateSlotsParams): Promise<Hash>;
2836
+ /** Buy a slot (or force buy an occupied one). Handles ERC-20 approval automatically. */
2837
+ buy(params: BuyParams): Promise<Hash>;
2838
+ /** Self-assess a new price for an occupied slot (occupant only). */
2839
+ selfAssess(slot: Address, newPrice: bigint): Promise<Hash>;
2840
+ /** Top up deposit on a slot (occupant only). Handles ERC-20 approval automatically. */
2841
+ topUp(slot: Address, amount: bigint): Promise<Hash>;
2842
+ /** Withdraw from deposit (occupant only). Cannot go below minimum deposit. */
2843
+ withdraw(slot: Address, amount: bigint): Promise<Hash>;
2844
+ /** Release a slot (occupant only). Returns remaining deposit. */
2845
+ release(slot: Address): Promise<Hash>;
2846
+ /** Collect accumulated tax (permissionless). */
2847
+ collect(slot: Address): Promise<Hash>;
2848
+ /** Liquidate an insolvent slot (permissionless). Caller receives bounty. */
2849
+ liquidate(slot: Address): Promise<Hash>;
2850
+ /** Propose a tax rate update (manager only, slot must have mutableTax). */
2851
+ proposeTaxUpdate(slot: Address, newPct: bigint): Promise<Hash>;
2852
+ /** Propose a module update (manager only, slot must have mutableModule). */
2853
+ proposeModuleUpdate(slot: Address, newModule: Address): Promise<Hash>;
2854
+ /** Cancel pending updates (manager only). */
2855
+ cancelPendingUpdates(slot: Address): Promise<Hash>;
2856
+ /** Set liquidation bounty bps (manager only). */
2857
+ setLiquidationBounty(slot: Address, newBps: bigint): Promise<Hash>;
2858
+ /** Batch multiple slot calls into one transaction via multicall. */
2859
+ multicall(slot: Address, calls: {
2860
+ functionName: string;
2861
+ args?: any[];
2862
+ }[]): Promise<Hash>;
2863
+ /** Check if wallet supports atomic batch calls (EIP-5792). */
2864
+ private supportsAtomicBatch;
2865
+ /** Poll EIP-5792 getCallsStatus until the batch settles, then return a tx hash. */
2866
+ private pollBatchReceipt;
2867
+ /**
2868
+ * Execute a contract call that needs ERC-20 allowance.
2869
+ * If wallet supports atomic batch (EIP-5792): sends approve + action as one atomic call.
2870
+ * Otherwise: chains approve tx (if needed) then action tx.
2871
+ */
2872
+ private withAllowance;
2370
2873
  }
2371
2874
  declare function createSlotsClient(config: SlotsClientConfig): SlotsClient;
2372
2875
 
2373
- export { type Account, type AccountFieldsFragment, AccountFieldsFragmentDoc, type AccountSlotsAsOccupantArgs, type AccountSlotsAsRecipientArgs, type Account_Filter, type Account_OrderBy, type Aggregation_Interval, type BlockChangedFilter, type Block_Height, type BoughtEvent, type BoughtEvent_Filter, type BoughtEvent_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 Module, type Module_Filter, type Module_OrderBy, type OrderDirection, 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 QueryModulesArgs, type QueryPriceUpdatedEventArgs, type QueryPriceUpdatedEventsArgs, type QueryReleasedEventArgs, type QueryReleasedEventsArgs, type QuerySettledEventArgs, type QuerySettledEventsArgs, type QuerySlotArgs, type QuerySlotsArgs, type QueryTaxCollectedEventArgs, type QueryTaxCollectedEventsArgs, 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 SlotDepositsArgs, type SlotFieldsFragment, SlotFieldsFragmentDoc, type SlotLiquidationsArgs, type SlotPriceUpdatesArgs, type SlotPurchasesArgs, type SlotReleasesArgs, type SlotSettlementsArgs, type SlotTaxCollectionsArgs, type SlotWithdrawalsArgs, type Slot_Filter, type Slot_OrderBy, SlotsChain, SlotsClient, type SlotsClientConfig, type SubgraphMeta, type TaxCollectedEvent, type TaxCollectedEvent_Filter, type TaxCollectedEvent_OrderBy, type WithdrawnEvent, type WithdrawnEvent_Filter, type WithdrawnEvent_OrderBy, type _Block_, type _Meta_, type _SubgraphErrorPolicy_, createSlotsClient, getSdk };
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 };