@0xslots/sdk 0.11.0 → 0.12.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/{chunk-XQG6GMWZ.js → chunk-52RYU3VZ.js} +204 -5
- package/dist/chunk-52RYU3VZ.js.map +1 -0
- package/dist/{client-CN0aLhHJ.d.ts → client-noFR0Pw9.d.ts} +388 -5
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-XQG6GMWZ.js.map +0 -1
|
@@ -629,6 +629,7 @@ type LiquidatedEvent_OrderBy = 'blockNumber' | 'bounty' | 'currency' | 'currency
|
|
|
629
629
|
type MetadataSlot = {
|
|
630
630
|
__typename?: 'MetadataSlot';
|
|
631
631
|
adType?: Maybe<Scalars['String']['output']>;
|
|
632
|
+
cid?: Maybe<Scalars['String']['output']>;
|
|
632
633
|
createdAt: Scalars['BigInt']['output'];
|
|
633
634
|
createdTx: Scalars['Bytes']['output'];
|
|
634
635
|
id: Scalars['ID']['output'];
|
|
@@ -664,6 +665,26 @@ type MetadataSlot_Filter = {
|
|
|
664
665
|
adType_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
665
666
|
adType_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
666
667
|
and?: InputMaybe<Array<InputMaybe<MetadataSlot_Filter>>>;
|
|
668
|
+
cid?: InputMaybe<Scalars['String']['input']>;
|
|
669
|
+
cid_contains?: InputMaybe<Scalars['String']['input']>;
|
|
670
|
+
cid_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
671
|
+
cid_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
672
|
+
cid_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
673
|
+
cid_gt?: InputMaybe<Scalars['String']['input']>;
|
|
674
|
+
cid_gte?: InputMaybe<Scalars['String']['input']>;
|
|
675
|
+
cid_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
676
|
+
cid_lt?: InputMaybe<Scalars['String']['input']>;
|
|
677
|
+
cid_lte?: InputMaybe<Scalars['String']['input']>;
|
|
678
|
+
cid_not?: InputMaybe<Scalars['String']['input']>;
|
|
679
|
+
cid_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
680
|
+
cid_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
681
|
+
cid_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
682
|
+
cid_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
683
|
+
cid_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
684
|
+
cid_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
685
|
+
cid_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
686
|
+
cid_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
687
|
+
cid_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
667
688
|
createdAt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
668
689
|
createdAt_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
669
690
|
createdAt_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
@@ -789,12 +810,13 @@ type MetadataSlot_Filter = {
|
|
|
789
810
|
uri_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
790
811
|
uri_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
791
812
|
};
|
|
792
|
-
type MetadataSlot_OrderBy = 'adType' | 'createdAt' | 'createdTx' | 'id' | 'rawJson' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | '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' | 'updateCount' | 'updatedAt' | 'updatedBy' | 'updatedTx' | 'uri';
|
|
813
|
+
type MetadataSlot_OrderBy = 'adType' | 'cid' | 'createdAt' | 'createdTx' | 'id' | 'rawJson' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | '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' | 'updateCount' | 'updatedAt' | 'updatedBy' | 'updatedTx' | 'uri';
|
|
793
814
|
type MetadataUpdatedEvent = {
|
|
794
815
|
__typename?: 'MetadataUpdatedEvent';
|
|
795
816
|
adType?: Maybe<Scalars['String']['output']>;
|
|
796
817
|
author: Account;
|
|
797
818
|
blockNumber: Scalars['BigInt']['output'];
|
|
819
|
+
cid?: Maybe<Scalars['String']['output']>;
|
|
798
820
|
id: Scalars['ID']['output'];
|
|
799
821
|
rawJson?: Maybe<Scalars['String']['output']>;
|
|
800
822
|
slot: Slot;
|
|
@@ -855,6 +877,26 @@ type MetadataUpdatedEvent_Filter = {
|
|
|
855
877
|
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
856
878
|
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
857
879
|
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
880
|
+
cid?: InputMaybe<Scalars['String']['input']>;
|
|
881
|
+
cid_contains?: InputMaybe<Scalars['String']['input']>;
|
|
882
|
+
cid_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
883
|
+
cid_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
884
|
+
cid_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
885
|
+
cid_gt?: InputMaybe<Scalars['String']['input']>;
|
|
886
|
+
cid_gte?: InputMaybe<Scalars['String']['input']>;
|
|
887
|
+
cid_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
888
|
+
cid_lt?: InputMaybe<Scalars['String']['input']>;
|
|
889
|
+
cid_lte?: InputMaybe<Scalars['String']['input']>;
|
|
890
|
+
cid_not?: InputMaybe<Scalars['String']['input']>;
|
|
891
|
+
cid_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
892
|
+
cid_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
893
|
+
cid_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
894
|
+
cid_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
895
|
+
cid_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
896
|
+
cid_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
897
|
+
cid_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
898
|
+
cid_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
899
|
+
cid_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
858
900
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
859
901
|
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
860
902
|
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -944,15 +986,160 @@ type MetadataUpdatedEvent_Filter = {
|
|
|
944
986
|
uri_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
945
987
|
uri_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
946
988
|
};
|
|
947
|
-
type MetadataUpdatedEvent_OrderBy = 'adType' | 'author' | 'author__id' | 'author__occupiedCount' | 'author__slotCount' | 'author__type' | 'blockNumber' | 'id' | 'rawJson' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | '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' | 'uri';
|
|
989
|
+
type MetadataUpdatedEvent_OrderBy = 'adType' | 'author' | 'author__id' | 'author__occupiedCount' | 'author__slotCount' | 'author__type' | 'blockNumber' | 'cid' | 'id' | 'rawJson' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | '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' | 'uri';
|
|
948
990
|
type Module = {
|
|
949
991
|
__typename?: 'Module';
|
|
992
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
950
993
|
factory: Factory;
|
|
994
|
+
feeBps: Scalars['BigInt']['output'];
|
|
995
|
+
feePayments: Array<ModuleFeePaidEvent>;
|
|
951
996
|
id: Scalars['ID']['output'];
|
|
997
|
+
image?: Maybe<Scalars['String']['output']>;
|
|
998
|
+
moduleURI?: Maybe<Scalars['String']['output']>;
|
|
952
999
|
name: Scalars['String']['output'];
|
|
1000
|
+
totalFeesCollected: Scalars['BigInt']['output'];
|
|
953
1001
|
verified: Scalars['Boolean']['output'];
|
|
954
1002
|
version: Scalars['String']['output'];
|
|
955
1003
|
};
|
|
1004
|
+
type ModuleFeePaymentsArgs = {
|
|
1005
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1006
|
+
orderBy?: InputMaybe<ModuleFeePaidEvent_OrderBy>;
|
|
1007
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
1008
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1009
|
+
where?: InputMaybe<ModuleFeePaidEvent_Filter>;
|
|
1010
|
+
};
|
|
1011
|
+
type ModuleFeePaidEvent = {
|
|
1012
|
+
__typename?: 'ModuleFeePaidEvent';
|
|
1013
|
+
amount: Scalars['BigInt']['output'];
|
|
1014
|
+
blockNumber: Scalars['BigInt']['output'];
|
|
1015
|
+
currency: Currency;
|
|
1016
|
+
feeBps: Scalars['BigInt']['output'];
|
|
1017
|
+
id: Scalars['ID']['output'];
|
|
1018
|
+
module: Module;
|
|
1019
|
+
slot: Slot;
|
|
1020
|
+
timestamp: Scalars['BigInt']['output'];
|
|
1021
|
+
tx: Scalars['Bytes']['output'];
|
|
1022
|
+
};
|
|
1023
|
+
type ModuleFeePaidEvent_Filter = {
|
|
1024
|
+
/** Filter for the block changed event. */
|
|
1025
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
1026
|
+
amount?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1027
|
+
amount_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1028
|
+
amount_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1029
|
+
amount_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1030
|
+
amount_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1031
|
+
amount_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1032
|
+
amount_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1033
|
+
amount_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1034
|
+
and?: InputMaybe<Array<InputMaybe<ModuleFeePaidEvent_Filter>>>;
|
|
1035
|
+
blockNumber?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1036
|
+
blockNumber_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1037
|
+
blockNumber_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1038
|
+
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1039
|
+
blockNumber_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1040
|
+
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1041
|
+
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1042
|
+
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1043
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
1044
|
+
currency_?: InputMaybe<Currency_Filter>;
|
|
1045
|
+
currency_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1046
|
+
currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1047
|
+
currency_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1048
|
+
currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1049
|
+
currency_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1050
|
+
currency_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1051
|
+
currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1052
|
+
currency_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1053
|
+
currency_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1054
|
+
currency_not?: InputMaybe<Scalars['String']['input']>;
|
|
1055
|
+
currency_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1056
|
+
currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1057
|
+
currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1058
|
+
currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1059
|
+
currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1060
|
+
currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1061
|
+
currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1062
|
+
currency_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1063
|
+
currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1064
|
+
feeBps?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1065
|
+
feeBps_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1066
|
+
feeBps_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1067
|
+
feeBps_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1068
|
+
feeBps_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1069
|
+
feeBps_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1070
|
+
feeBps_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1071
|
+
feeBps_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1072
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1073
|
+
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
1074
|
+
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
1075
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1076
|
+
id_lt?: InputMaybe<Scalars['ID']['input']>;
|
|
1077
|
+
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
1078
|
+
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
1079
|
+
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1080
|
+
module?: InputMaybe<Scalars['String']['input']>;
|
|
1081
|
+
module_?: InputMaybe<Module_Filter>;
|
|
1082
|
+
module_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1083
|
+
module_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1084
|
+
module_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1085
|
+
module_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1086
|
+
module_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1087
|
+
module_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1088
|
+
module_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1089
|
+
module_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1090
|
+
module_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1091
|
+
module_not?: InputMaybe<Scalars['String']['input']>;
|
|
1092
|
+
module_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1093
|
+
module_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1094
|
+
module_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1095
|
+
module_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1096
|
+
module_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1097
|
+
module_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1098
|
+
module_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1099
|
+
module_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1100
|
+
module_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1101
|
+
or?: InputMaybe<Array<InputMaybe<ModuleFeePaidEvent_Filter>>>;
|
|
1102
|
+
slot?: InputMaybe<Scalars['String']['input']>;
|
|
1103
|
+
slot_?: InputMaybe<Slot_Filter>;
|
|
1104
|
+
slot_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1105
|
+
slot_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1106
|
+
slot_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1107
|
+
slot_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1108
|
+
slot_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1109
|
+
slot_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1110
|
+
slot_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1111
|
+
slot_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1112
|
+
slot_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1113
|
+
slot_not?: InputMaybe<Scalars['String']['input']>;
|
|
1114
|
+
slot_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1115
|
+
slot_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1116
|
+
slot_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1117
|
+
slot_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1118
|
+
slot_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1119
|
+
slot_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1120
|
+
slot_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1121
|
+
slot_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1122
|
+
slot_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1123
|
+
timestamp?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1124
|
+
timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1125
|
+
timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1126
|
+
timestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1127
|
+
timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1128
|
+
timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1129
|
+
timestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1130
|
+
timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1131
|
+
tx?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1132
|
+
tx_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1133
|
+
tx_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1134
|
+
tx_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1135
|
+
tx_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
1136
|
+
tx_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1137
|
+
tx_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1138
|
+
tx_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1139
|
+
tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1140
|
+
tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
1141
|
+
};
|
|
1142
|
+
type ModuleFeePaidEvent_OrderBy = 'amount' | 'blockNumber' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'feeBps' | 'id' | 'module' | 'module__description' | 'module__feeBps' | 'module__id' | 'module__image' | 'module__moduleURI' | 'module__name' | 'module__totalFeesCollected' | 'module__verified' | 'module__version' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | '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';
|
|
956
1143
|
type ModuleUpdateProposedEvent = {
|
|
957
1144
|
__typename?: 'ModuleUpdateProposedEvent';
|
|
958
1145
|
blockNumber: Scalars['BigInt']['output'];
|
|
@@ -1038,6 +1225,26 @@ type Module_Filter = {
|
|
|
1038
1225
|
/** Filter for the block changed event. */
|
|
1039
1226
|
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
1040
1227
|
and?: InputMaybe<Array<InputMaybe<Module_Filter>>>;
|
|
1228
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
1229
|
+
description_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1230
|
+
description_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1231
|
+
description_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1232
|
+
description_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1233
|
+
description_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1234
|
+
description_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1235
|
+
description_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1236
|
+
description_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1237
|
+
description_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1238
|
+
description_not?: InputMaybe<Scalars['String']['input']>;
|
|
1239
|
+
description_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1240
|
+
description_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1241
|
+
description_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1242
|
+
description_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1243
|
+
description_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1244
|
+
description_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1245
|
+
description_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1246
|
+
description_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1247
|
+
description_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1041
1248
|
factory?: InputMaybe<Scalars['String']['input']>;
|
|
1042
1249
|
factory_?: InputMaybe<Factory_Filter>;
|
|
1043
1250
|
factory_contains?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1059,6 +1266,15 @@ type Module_Filter = {
|
|
|
1059
1266
|
factory_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1060
1267
|
factory_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1061
1268
|
factory_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1269
|
+
feeBps?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1270
|
+
feeBps_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1271
|
+
feeBps_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1272
|
+
feeBps_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1273
|
+
feeBps_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1274
|
+
feeBps_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1275
|
+
feeBps_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1276
|
+
feeBps_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1277
|
+
feePayments_?: InputMaybe<ModuleFeePaidEvent_Filter>;
|
|
1062
1278
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1063
1279
|
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
1064
1280
|
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -1067,6 +1283,46 @@ type Module_Filter = {
|
|
|
1067
1283
|
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
1068
1284
|
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
1069
1285
|
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1286
|
+
image?: InputMaybe<Scalars['String']['input']>;
|
|
1287
|
+
image_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1288
|
+
image_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1289
|
+
image_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1290
|
+
image_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1291
|
+
image_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1292
|
+
image_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1293
|
+
image_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1294
|
+
image_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1295
|
+
image_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1296
|
+
image_not?: InputMaybe<Scalars['String']['input']>;
|
|
1297
|
+
image_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1298
|
+
image_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1299
|
+
image_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1300
|
+
image_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1301
|
+
image_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1302
|
+
image_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1303
|
+
image_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1304
|
+
image_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1305
|
+
image_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1306
|
+
moduleURI?: InputMaybe<Scalars['String']['input']>;
|
|
1307
|
+
moduleURI_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1308
|
+
moduleURI_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1309
|
+
moduleURI_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1310
|
+
moduleURI_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1311
|
+
moduleURI_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1312
|
+
moduleURI_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1313
|
+
moduleURI_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1314
|
+
moduleURI_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1315
|
+
moduleURI_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1316
|
+
moduleURI_not?: InputMaybe<Scalars['String']['input']>;
|
|
1317
|
+
moduleURI_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1318
|
+
moduleURI_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1319
|
+
moduleURI_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1320
|
+
moduleURI_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1321
|
+
moduleURI_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1322
|
+
moduleURI_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1323
|
+
moduleURI_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1324
|
+
moduleURI_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1325
|
+
moduleURI_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1070
1326
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
1071
1327
|
name_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1072
1328
|
name_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1088,6 +1344,14 @@ type Module_Filter = {
|
|
|
1088
1344
|
name_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1089
1345
|
name_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1090
1346
|
or?: InputMaybe<Array<InputMaybe<Module_Filter>>>;
|
|
1347
|
+
totalFeesCollected?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1348
|
+
totalFeesCollected_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1349
|
+
totalFeesCollected_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1350
|
+
totalFeesCollected_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1351
|
+
totalFeesCollected_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1352
|
+
totalFeesCollected_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1353
|
+
totalFeesCollected_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1354
|
+
totalFeesCollected_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1091
1355
|
verified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1092
1356
|
verified_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
1093
1357
|
verified_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -1113,7 +1377,7 @@ type Module_Filter = {
|
|
|
1113
1377
|
version_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1114
1378
|
version_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1115
1379
|
};
|
|
1116
|
-
type Module_OrderBy = 'factory' | 'factory__id' | 'factory__slotCount' | 'id' | 'name' | 'verified' | 'version';
|
|
1380
|
+
type Module_OrderBy = 'description' | 'factory' | 'factory__id' | 'factory__slotCount' | 'feeBps' | 'feePayments' | 'id' | 'image' | 'moduleURI' | 'name' | 'totalFeesCollected' | 'verified' | 'version';
|
|
1117
1381
|
type NftCollection = {
|
|
1118
1382
|
__typename?: 'NFTCollection';
|
|
1119
1383
|
createdAt: Scalars['BigInt']['output'];
|
|
@@ -1582,6 +1846,8 @@ type Query = {
|
|
|
1582
1846
|
metadataUpdatedEvent?: Maybe<MetadataUpdatedEvent>;
|
|
1583
1847
|
metadataUpdatedEvents: Array<MetadataUpdatedEvent>;
|
|
1584
1848
|
module?: Maybe<Module>;
|
|
1849
|
+
moduleFeePaidEvent?: Maybe<ModuleFeePaidEvent>;
|
|
1850
|
+
moduleFeePaidEvents: Array<ModuleFeePaidEvent>;
|
|
1585
1851
|
moduleUpdateProposedEvent?: Maybe<ModuleUpdateProposedEvent>;
|
|
1586
1852
|
moduleUpdateProposedEvents: Array<ModuleUpdateProposedEvent>;
|
|
1587
1853
|
modules: Array<Module>;
|
|
@@ -1728,6 +1994,20 @@ type QueryModuleArgs = {
|
|
|
1728
1994
|
id: Scalars['ID']['input'];
|
|
1729
1995
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
1730
1996
|
};
|
|
1997
|
+
type QueryModuleFeePaidEventArgs = {
|
|
1998
|
+
block?: InputMaybe<Block_Height>;
|
|
1999
|
+
id: Scalars['ID']['input'];
|
|
2000
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
2001
|
+
};
|
|
2002
|
+
type QueryModuleFeePaidEventsArgs = {
|
|
2003
|
+
block?: InputMaybe<Block_Height>;
|
|
2004
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2005
|
+
orderBy?: InputMaybe<ModuleFeePaidEvent_OrderBy>;
|
|
2006
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
2007
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2008
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
2009
|
+
where?: InputMaybe<ModuleFeePaidEvent_Filter>;
|
|
2010
|
+
};
|
|
1731
2011
|
type QueryModuleUpdateProposedEventArgs = {
|
|
1732
2012
|
block?: InputMaybe<Block_Height>;
|
|
1733
2013
|
id: Scalars['ID']['input'];
|
|
@@ -2153,6 +2433,7 @@ type Slot = {
|
|
|
2153
2433
|
metadataUpdates: Array<MetadataUpdatedEvent>;
|
|
2154
2434
|
minDepositSeconds: Scalars['BigInt']['output'];
|
|
2155
2435
|
module?: Maybe<Module>;
|
|
2436
|
+
moduleFees: Array<ModuleFeePaidEvent>;
|
|
2156
2437
|
moduleUpdateProposals: Array<ModuleUpdateProposedEvent>;
|
|
2157
2438
|
mutableModule: Scalars['Boolean']['output'];
|
|
2158
2439
|
mutableTax: Scalars['Boolean']['output'];
|
|
@@ -2194,6 +2475,13 @@ type SlotMetadataUpdatesArgs = {
|
|
|
2194
2475
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2195
2476
|
where?: InputMaybe<MetadataUpdatedEvent_Filter>;
|
|
2196
2477
|
};
|
|
2478
|
+
type SlotModuleFeesArgs = {
|
|
2479
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2480
|
+
orderBy?: InputMaybe<ModuleFeePaidEvent_OrderBy>;
|
|
2481
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
2482
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2483
|
+
where?: InputMaybe<ModuleFeePaidEvent_Filter>;
|
|
2484
|
+
};
|
|
2197
2485
|
type SlotModuleUpdateProposalsArgs = {
|
|
2198
2486
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2199
2487
|
orderBy?: InputMaybe<ModuleUpdateProposedEvent_OrderBy>;
|
|
@@ -2529,6 +2817,7 @@ type Slot_Filter = {
|
|
|
2529
2817
|
minDepositSeconds_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2530
2818
|
minDepositSeconds_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
2531
2819
|
module?: InputMaybe<Scalars['String']['input']>;
|
|
2820
|
+
moduleFees_?: InputMaybe<ModuleFeePaidEvent_Filter>;
|
|
2532
2821
|
moduleUpdateProposals_?: InputMaybe<ModuleUpdateProposedEvent_Filter>;
|
|
2533
2822
|
module_?: InputMaybe<Module_Filter>;
|
|
2534
2823
|
module_contains?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2662,7 +2951,7 @@ type Slot_Filter = {
|
|
|
2662
2951
|
updatedAt_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
2663
2952
|
withdrawals_?: InputMaybe<WithdrawnEvent_Filter>;
|
|
2664
2953
|
};
|
|
2665
|
-
type Slot_OrderBy = 'collectedTax' | 'createdAt' | 'createdTx' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'deployEvent' | 'deployEvent__blockNumber' | 'deployEvent__deployer' | 'deployEvent__id' | 'deployEvent__liquidationBountyBps' | 'deployEvent__manager' | 'deployEvent__minDepositSeconds' | 'deployEvent__module' | 'deployEvent__mutableModule' | 'deployEvent__mutableTax' | 'deployEvent__recipient' | 'deployEvent__taxPercentage' | 'deployEvent__timestamp' | 'deployEvent__tx' | 'deposit' | 'deposits' | 'id' | 'liquidationBountyBps' | 'liquidations' | 'manager' | 'metadata' | 'metadataUpdates' | 'metadata__adType' | 'metadata__createdAt' | 'metadata__createdTx' | 'metadata__id' | 'metadata__rawJson' | 'metadata__updateCount' | 'metadata__updatedAt' | 'metadata__updatedBy' | 'metadata__updatedTx' | 'metadata__uri' | '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';
|
|
2954
|
+
type Slot_OrderBy = 'collectedTax' | 'createdAt' | 'createdTx' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'deployEvent' | 'deployEvent__blockNumber' | 'deployEvent__deployer' | 'deployEvent__id' | 'deployEvent__liquidationBountyBps' | 'deployEvent__manager' | 'deployEvent__minDepositSeconds' | 'deployEvent__module' | 'deployEvent__mutableModule' | 'deployEvent__mutableTax' | 'deployEvent__recipient' | 'deployEvent__taxPercentage' | 'deployEvent__timestamp' | 'deployEvent__tx' | 'deposit' | 'deposits' | 'id' | 'liquidationBountyBps' | 'liquidations' | 'manager' | 'metadata' | 'metadataUpdates' | 'metadata__adType' | 'metadata__cid' | 'metadata__createdAt' | 'metadata__createdTx' | 'metadata__id' | 'metadata__rawJson' | 'metadata__updateCount' | 'metadata__updatedAt' | 'metadata__updatedBy' | 'metadata__updatedTx' | 'metadata__uri' | 'minDepositSeconds' | 'module' | 'moduleFees' | 'moduleUpdateProposals' | 'module__description' | 'module__feeBps' | 'module__id' | 'module__image' | 'module__moduleURI' | 'module__name' | 'module__totalFeesCollected' | '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';
|
|
2666
2955
|
type TaxCollectedEvent = {
|
|
2667
2956
|
__typename?: 'TaxCollectedEvent';
|
|
2668
2957
|
amount: Scalars['BigInt']['output'];
|
|
@@ -3712,6 +4001,11 @@ type GetModulesQuery = {
|
|
|
3712
4001
|
verified: boolean;
|
|
3713
4002
|
name: string;
|
|
3714
4003
|
version: string;
|
|
4004
|
+
feeBps: string;
|
|
4005
|
+
moduleURI?: string | null;
|
|
4006
|
+
image?: string | null;
|
|
4007
|
+
description?: string | null;
|
|
4008
|
+
totalFeesCollected: string;
|
|
3715
4009
|
}>;
|
|
3716
4010
|
};
|
|
3717
4011
|
type MetadataSlotFieldsFragment = {
|
|
@@ -3910,6 +4204,11 @@ type SlotFieldsFragment = {
|
|
|
3910
4204
|
verified: boolean;
|
|
3911
4205
|
name: string;
|
|
3912
4206
|
version: string;
|
|
4207
|
+
feeBps: string;
|
|
4208
|
+
moduleURI?: string | null;
|
|
4209
|
+
image?: string | null;
|
|
4210
|
+
description?: string | null;
|
|
4211
|
+
totalFeesCollected: string;
|
|
3913
4212
|
} | null;
|
|
3914
4213
|
occupantAccount?: {
|
|
3915
4214
|
__typename?: 'Account';
|
|
@@ -3967,6 +4266,11 @@ type GetSlotsQuery = {
|
|
|
3967
4266
|
verified: boolean;
|
|
3968
4267
|
name: string;
|
|
3969
4268
|
version: string;
|
|
4269
|
+
feeBps: string;
|
|
4270
|
+
moduleURI?: string | null;
|
|
4271
|
+
image?: string | null;
|
|
4272
|
+
description?: string | null;
|
|
4273
|
+
totalFeesCollected: string;
|
|
3970
4274
|
} | null;
|
|
3971
4275
|
occupantAccount?: {
|
|
3972
4276
|
__typename?: 'Account';
|
|
@@ -4021,6 +4325,11 @@ type GetSlotQuery = {
|
|
|
4021
4325
|
verified: boolean;
|
|
4022
4326
|
name: string;
|
|
4023
4327
|
version: string;
|
|
4328
|
+
feeBps: string;
|
|
4329
|
+
moduleURI?: string | null;
|
|
4330
|
+
image?: string | null;
|
|
4331
|
+
description?: string | null;
|
|
4332
|
+
totalFeesCollected: string;
|
|
4024
4333
|
} | null;
|
|
4025
4334
|
occupantAccount?: {
|
|
4026
4335
|
__typename?: 'Account';
|
|
@@ -4079,6 +4388,11 @@ type GetSlotsByRecipientQuery = {
|
|
|
4079
4388
|
verified: boolean;
|
|
4080
4389
|
name: string;
|
|
4081
4390
|
version: string;
|
|
4391
|
+
feeBps: string;
|
|
4392
|
+
moduleURI?: string | null;
|
|
4393
|
+
image?: string | null;
|
|
4394
|
+
description?: string | null;
|
|
4395
|
+
totalFeesCollected: string;
|
|
4082
4396
|
} | null;
|
|
4083
4397
|
occupantAccount?: {
|
|
4084
4398
|
__typename?: 'Account';
|
|
@@ -4137,6 +4451,11 @@ type GetSlotsByOccupantQuery = {
|
|
|
4137
4451
|
verified: boolean;
|
|
4138
4452
|
name: string;
|
|
4139
4453
|
version: string;
|
|
4454
|
+
feeBps: string;
|
|
4455
|
+
moduleURI?: string | null;
|
|
4456
|
+
image?: string | null;
|
|
4457
|
+
description?: string | null;
|
|
4458
|
+
totalFeesCollected: string;
|
|
4140
4459
|
} | null;
|
|
4141
4460
|
occupantAccount?: {
|
|
4142
4461
|
__typename?: 'Account';
|
|
@@ -4255,6 +4574,64 @@ declare class MetadataModuleClient {
|
|
|
4255
4574
|
updateMetadata(moduleAddress: Address, slot: Address, uri: string): Promise<Hash>;
|
|
4256
4575
|
}
|
|
4257
4576
|
|
|
4577
|
+
/**
|
|
4578
|
+
* Module namespace for FeedPostModule operations.
|
|
4579
|
+
* Accessible via `client.modules.feed`.
|
|
4580
|
+
*
|
|
4581
|
+
* Read: subgraph queries for MetadataSlot entities (same schema as MetadataModule)
|
|
4582
|
+
* Write:
|
|
4583
|
+
* - `updateMetadata(moduleAddress, slot, uri)` — direct update (occupant only)
|
|
4584
|
+
* - `buyAndPost(slot, depositAmount, selfAssessedPrice, uri)` — atomic buy + post via router
|
|
4585
|
+
*/
|
|
4586
|
+
declare class FeedModuleClient {
|
|
4587
|
+
private readonly sdk;
|
|
4588
|
+
private readonly chainId;
|
|
4589
|
+
private readonly _publicClient?;
|
|
4590
|
+
private readonly _walletClient?;
|
|
4591
|
+
constructor(opts: {
|
|
4592
|
+
sdk: ReturnType<typeof getSdk>;
|
|
4593
|
+
chainId: SlotsChain;
|
|
4594
|
+
publicClient?: PublicClient;
|
|
4595
|
+
walletClient?: WalletClient;
|
|
4596
|
+
});
|
|
4597
|
+
private get wallet();
|
|
4598
|
+
private get account();
|
|
4599
|
+
private get chain();
|
|
4600
|
+
private get publicClient();
|
|
4601
|
+
private get routerAddress();
|
|
4602
|
+
private query;
|
|
4603
|
+
/**
|
|
4604
|
+
* Verify that a given address is a FeedPostModule by calling `name()` on-chain.
|
|
4605
|
+
*/
|
|
4606
|
+
private verifyModule;
|
|
4607
|
+
/** Get all slots with metadata, ordered by most recently updated. */
|
|
4608
|
+
getSlots(...args: Parameters<ReturnType<typeof getSdk>["GetMetadataSlots"]>): Promise<GetMetadataSlotsQuery>;
|
|
4609
|
+
/** Get a single metadata slot by slot address. */
|
|
4610
|
+
getSlot(...args: Parameters<ReturnType<typeof getSdk>["GetMetadataSlot"]>): Promise<GetMetadataSlotQuery>;
|
|
4611
|
+
/** Get metadata update history for a slot. */
|
|
4612
|
+
getUpdateHistory(...args: Parameters<ReturnType<typeof getSdk>["GetMetadataUpdatedEvents"]>): Promise<GetMetadataUpdatedEventsQuery>;
|
|
4613
|
+
/**
|
|
4614
|
+
* Read the current URI for a slot directly from chain.
|
|
4615
|
+
*/
|
|
4616
|
+
getURI(moduleAddress: Address, slot: Address): Promise<string>;
|
|
4617
|
+
/**
|
|
4618
|
+
* Update the metadata URI for a slot. Only callable by the current occupant.
|
|
4619
|
+
*/
|
|
4620
|
+
updateMetadata(moduleAddress: Address, slot: Address, uri: string): Promise<Hash>;
|
|
4621
|
+
/**
|
|
4622
|
+
* Buy a slot and post metadata in one transaction via FeedRouter.
|
|
4623
|
+
* User must approve the router for the slot's currency.
|
|
4624
|
+
* Handles ERC-20 approval automatically.
|
|
4625
|
+
*
|
|
4626
|
+
* @param slot - The slot contract address
|
|
4627
|
+
* @param depositAmount - Amount to deposit for tax escrow
|
|
4628
|
+
* @param selfAssessedPrice - The price you're setting
|
|
4629
|
+
* @param uri - The metadata URI to post
|
|
4630
|
+
* @returns Transaction hash
|
|
4631
|
+
*/
|
|
4632
|
+
buyAndPost(slot: Address, depositAmount: bigint, selfAssessedPrice: bigint, uri: string): Promise<Hash>;
|
|
4633
|
+
}
|
|
4634
|
+
|
|
4258
4635
|
interface SubgraphMeta {
|
|
4259
4636
|
_meta: {
|
|
4260
4637
|
block: {
|
|
@@ -4331,6 +4708,7 @@ declare class SlotsClient {
|
|
|
4331
4708
|
/** Module namespaces for protocol extensions. */
|
|
4332
4709
|
readonly modules: {
|
|
4333
4710
|
metadata: MetadataModuleClient;
|
|
4711
|
+
feed: FeedModuleClient;
|
|
4334
4712
|
};
|
|
4335
4713
|
constructor(config: SlotsClientConfig);
|
|
4336
4714
|
/** Returns the chain ID this client was configured for. */
|
|
@@ -4433,6 +4811,11 @@ declare class SlotsClient {
|
|
|
4433
4811
|
taxOwed: bigint;
|
|
4434
4812
|
secondsUntilLiquidation: bigint;
|
|
4435
4813
|
insolvent: boolean;
|
|
4814
|
+
moduleName: string;
|
|
4815
|
+
moduleVersion: string;
|
|
4816
|
+
moduleFeeBps: bigint;
|
|
4817
|
+
moduleFeeRecipient: `0x${string}`;
|
|
4818
|
+
moduleURI: string;
|
|
4436
4819
|
hasPendingTax: boolean;
|
|
4437
4820
|
pendingTaxPercentage: bigint;
|
|
4438
4821
|
hasPendingModule: boolean;
|
|
@@ -4548,4 +4931,4 @@ declare class SlotsClient {
|
|
|
4548
4931
|
}
|
|
4549
4932
|
declare function createSlotsClient(config: SlotsClientConfig): SlotsClient;
|
|
4550
4933
|
|
|
4551
|
-
export {
|
|
4934
|
+
export { type GetMetadataSlotQueryVariables as $, type Account as A, type BlockChangedFilter as B, type CreateSlotParams as C, type DepositedEvent as D, type Exact as E, type Factory as F, GetAccountDocument as G, type GetAccountQuery as H, type GetAccountQueryVariables as I, GetAccountsDocument as J, type GetAccountsQuery as K, type GetAccountsQueryVariables as L, GetBoughtEventsDocument as M, type GetBoughtEventsQuery as N, type GetBoughtEventsQueryVariables as O, GetDepositedEventsDocument as P, type GetDepositedEventsQuery as Q, type GetDepositedEventsQueryVariables as R, SlotsChain as S, GetFactoryDocument as T, type GetFactoryQuery as U, type GetFactoryQueryVariables as V, GetLiquidatedEventsDocument as W, type GetLiquidatedEventsQuery as X, type GetLiquidatedEventsQueryVariables as Y, GetMetadataSlotDocument as Z, type GetMetadataSlotQuery as _, type AccountFieldsFragment as a, type MetadataUpdatedEvent as a$, GetMetadataSlotsByRecipientDocument as a0, type GetMetadataSlotsByRecipientQuery as a1, type GetMetadataSlotsByRecipientQueryVariables as a2, GetMetadataSlotsDocument as a3, type GetMetadataSlotsQuery as a4, type GetMetadataSlotsQueryVariables as a5, GetMetadataUpdatedEventsDocument as a6, type GetMetadataUpdatedEventsQuery as a7, type GetMetadataUpdatedEventsQueryVariables as a8, GetModulesDocument as a9, GetSlotsByRecipientDocument as aA, type GetSlotsByRecipientQuery as aB, type GetSlotsByRecipientQueryVariables as aC, GetSlotsDocument as aD, type GetSlotsQuery as aE, type GetSlotsQueryVariables as aF, GetTaxCollectedEventsDocument as aG, type GetTaxCollectedEventsQuery as aH, type GetTaxCollectedEventsQueryVariables as aI, GetWithdrawnEventsDocument as aJ, type GetWithdrawnEventsQuery as aK, type GetWithdrawnEventsQueryVariables as aL, type Incremental as aM, type InputMaybe as aN, type LiquidatedEvent as aO, type LiquidatedEvent_Filter as aP, type LiquidatedEvent_OrderBy as aQ, type MakeEmpty as aR, type MakeMaybe as aS, type MakeOptional as aT, type Maybe as aU, MetadataModuleClient as aV, type MetadataSlot as aW, type MetadataSlotFieldsFragment as aX, MetadataSlotFieldsFragmentDoc as aY, type MetadataSlot_Filter as aZ, type MetadataSlot_OrderBy as a_, type GetModulesQuery as aa, type GetModulesQueryVariables as ab, GetPriceUpdatedEventsDocument as ac, type GetPriceUpdatedEventsQuery as ad, type GetPriceUpdatedEventsQueryVariables as ae, GetRecentEventsDocument as af, type GetRecentEventsQuery as ag, type GetRecentEventsQueryVariables as ah, GetReleasedEventsDocument as ai, type GetReleasedEventsQuery as aj, type GetReleasedEventsQueryVariables as ak, GetSettledEventsDocument as al, type GetSettledEventsQuery as am, type GetSettledEventsQueryVariables as an, GetSlotActivityDocument as ao, type GetSlotActivityQuery as ap, type GetSlotActivityQueryVariables as aq, GetSlotDeployedEventsDocument as ar, type GetSlotDeployedEventsQuery as as, type GetSlotDeployedEventsQueryVariables as at, GetSlotDocument as au, type GetSlotQuery as av, type GetSlotQueryVariables as aw, GetSlotsByOccupantDocument as ax, type GetSlotsByOccupantQuery as ay, type GetSlotsByOccupantQueryVariables as az, AccountFieldsFragmentDoc as b, type QuerySlotDeployedEventsArgs as b$, type MetadataUpdatedEvent_Filter as b0, type MetadataUpdatedEvent_OrderBy as b1, type Module as b2, type ModuleFeePaidEvent as b3, type ModuleFeePaidEvent_Filter as b4, type ModuleFeePaidEvent_OrderBy as b5, type ModuleFeePaymentsArgs as b6, type ModuleUpdateProposedEvent as b7, type ModuleUpdateProposedEvent_Filter as b8, type ModuleUpdateProposedEvent_OrderBy as b9, type QueryFactoryArgs as bA, type QueryLiquidatedEventArgs as bB, type QueryLiquidatedEventsArgs as bC, type QueryMetadataSlotArgs as bD, type QueryMetadataSlotsArgs as bE, type QueryMetadataUpdatedEventArgs as bF, type QueryMetadataUpdatedEventsArgs as bG, type QueryModuleArgs as bH, type QueryModuleFeePaidEventArgs as bI, type QueryModuleFeePaidEventsArgs as bJ, type QueryModuleUpdateProposedEventArgs as bK, type QueryModuleUpdateProposedEventsArgs as bL, type QueryModulesArgs as bM, type QueryNftcollectionArgs as bN, type QueryNftcollectionsArgs as bO, type QueryNfttokenArgs as bP, type QueryNfttokensArgs as bQ, type QueryPendingUpdateCancelledEventArgs as bR, type QueryPendingUpdateCancelledEventsArgs as bS, type QueryPriceUpdatedEventArgs as bT, type QueryPriceUpdatedEventsArgs as bU, type QueryReleasedEventArgs as bV, type QueryReleasedEventsArgs as bW, type QuerySettledEventArgs as bX, type QuerySettledEventsArgs as bY, type QuerySlotArgs as bZ, type QuerySlotDeployedEventArgs as b_, type Module_Filter as ba, type Module_OrderBy as bb, type NftCollection as bc, type NftCollectionTokensArgs as bd, type NftCollection_Filter as be, type NftCollection_OrderBy as bf, type NftToken as bg, type NftToken_Filter as bh, type NftToken_OrderBy as bi, type OrderDirection as bj, type PendingUpdateCancelledEvent as bk, type PendingUpdateCancelledEvent_Filter as bl, type PendingUpdateCancelledEvent_OrderBy as bm, type PriceUpdatedEvent as bn, type PriceUpdatedEvent_Filter as bo, type PriceUpdatedEvent_OrderBy as bp, type Query as bq, type QueryAccountArgs as br, type QueryAccountsArgs as bs, type QueryBoughtEventArgs as bt, type QueryBoughtEventsArgs as bu, type QueryCurrenciesArgs as bv, type QueryCurrencyArgs as bw, type QueryDepositedEventArgs as bx, type QueryDepositedEventsArgs as by, type QueryFactoriesArgs as bz, type AccountSlotsAsOccupantArgs as c, type QuerySlotsArgs as c0, type QueryTaxCollectedEventArgs as c1, type QueryTaxCollectedEventsArgs as c2, type QueryTaxUpdateProposedEventArgs as c3, type QueryTaxUpdateProposedEventsArgs as c4, type QueryWithdrawnEventArgs as c5, type QueryWithdrawnEventsArgs as c6, type Query_MetaArgs as c7, type ReleasedEvent as c8, type ReleasedEvent_Filter as c9, type SlotTaxCollectionsArgs as cA, type SlotTaxUpdateProposalsArgs as cB, type SlotWithdrawalsArgs as cC, type Slot_Filter as cD, type Slot_OrderBy as cE, SlotsClient as cF, type SlotsClientConfig as cG, type SubgraphMeta as cH, type TaxCollectedEvent as cI, type TaxCollectedEvent_Filter as cJ, type TaxCollectedEvent_OrderBy as cK, type TaxUpdateProposedEvent as cL, type TaxUpdateProposedEvent_Filter as cM, type TaxUpdateProposedEvent_OrderBy as cN, type WithdrawnEvent as cO, type WithdrawnEvent_Filter as cP, type WithdrawnEvent_OrderBy as cQ, type _Block_ as cR, type _Meta_ as cS, type _SubgraphErrorPolicy_ as cT, createSlotsClient as cU, getSdk as cV, type ReleasedEvent_OrderBy as ca, SUBGRAPH_URLS as cb, type Scalars as cc, type Sdk as cd, type SdkFunctionWrapper as ce, type SettledEvent as cf, type SettledEvent_Filter as cg, type SettledEvent_OrderBy as ch, type Slot as ci, type SlotConfig as cj, type SlotDeployedEvent as ck, type SlotDeployedEvent_Filter as cl, type SlotDeployedEvent_OrderBy as cm, type SlotDepositsArgs as cn, type SlotFieldsFragment as co, SlotFieldsFragmentDoc as cp, type SlotInitParams as cq, type SlotLiquidationsArgs as cr, type SlotMetadataUpdatesArgs as cs, type SlotModuleFeesArgs as ct, type SlotModuleUpdateProposalsArgs as cu, type SlotPendingUpdateCancellationsArgs as cv, type SlotPriceUpdatesArgs as cw, type SlotPurchasesArgs as cx, type SlotReleasesArgs as cy, type SlotSettlementsArgs as cz, type AccountSlotsAsRecipientArgs as d, type AccountType as e, type Account_Filter as f, type Account_OrderBy as g, type Aggregation_Current as h, type Aggregation_Interval as i, type Block_Height as j, type BoughtEvent as k, type BoughtEvent_Filter as l, type BoughtEvent_OrderBy as m, type BuyParams as n, type CreateSlotsParams as o, type Currency as p, type CurrencyFieldsFragment as q, CurrencyFieldsFragmentDoc as r, type Currency_Filter as s, type Currency_OrderBy as t, type DepositedEvent_Filter as u, type DepositedEvent_OrderBy as v, type FactoryModulesArgs as w, type Factory_Filter as x, type Factory_OrderBy as y, FeedModuleClient as z };
|