@0xslots/sdk 0.5.0 → 0.7.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/README.md +44 -167
- package/dist/index.d.ts +1282 -111
- package/dist/index.js +618 -40
- package/dist/index.js.map +1 -1
- package/package.json +7 -3
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;
|
|
@@ -73,6 +74,7 @@ type Account = {
|
|
|
73
74
|
slotCount: Scalars['Int']['output'];
|
|
74
75
|
slotsAsOccupant: Array<Slot>;
|
|
75
76
|
slotsAsRecipient: Array<Slot>;
|
|
77
|
+
type: AccountType;
|
|
76
78
|
};
|
|
77
79
|
type AccountSlotsAsOccupantArgs = {
|
|
78
80
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -88,6 +90,7 @@ type AccountSlotsAsRecipientArgs = {
|
|
|
88
90
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
89
91
|
where?: InputMaybe<Slot_Filter>;
|
|
90
92
|
};
|
|
93
|
+
type AccountType = 'CONTRACT' | 'EOA' | 'SPLIT';
|
|
91
94
|
type Account_Filter = {
|
|
92
95
|
/** Filter for the block changed event. */
|
|
93
96
|
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
@@ -119,8 +122,18 @@ type Account_Filter = {
|
|
|
119
122
|
slotCount_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
120
123
|
slotsAsOccupant_?: InputMaybe<Slot_Filter>;
|
|
121
124
|
slotsAsRecipient_?: InputMaybe<Slot_Filter>;
|
|
122
|
-
|
|
123
|
-
|
|
125
|
+
type?: InputMaybe<AccountType>;
|
|
126
|
+
type_in?: InputMaybe<Array<AccountType>>;
|
|
127
|
+
type_not?: InputMaybe<AccountType>;
|
|
128
|
+
type_not_in?: InputMaybe<Array<AccountType>>;
|
|
129
|
+
};
|
|
130
|
+
type Account_OrderBy = 'id' | 'occupiedCount' | 'slotCount' | 'slotsAsOccupant' | 'slotsAsRecipient' | 'type';
|
|
131
|
+
/** Indicates whether the current, partially filled bucket should be included in the response. Defaults to `exclude` */
|
|
132
|
+
type Aggregation_Current =
|
|
133
|
+
/** Exclude the current, partially filled bucket from the response */
|
|
134
|
+
'exclude'
|
|
135
|
+
/** Include the current, partially filled bucket in the response */
|
|
136
|
+
| 'include';
|
|
124
137
|
type Aggregation_Interval = 'day' | 'hour';
|
|
125
138
|
type BlockChangedFilter = {
|
|
126
139
|
number_gte: Scalars['Int']['input'];
|
|
@@ -134,6 +147,7 @@ type BoughtEvent = {
|
|
|
134
147
|
__typename?: 'BoughtEvent';
|
|
135
148
|
blockNumber: Scalars['BigInt']['output'];
|
|
136
149
|
buyer: Scalars['Bytes']['output'];
|
|
150
|
+
currency: Currency;
|
|
137
151
|
deposit: Scalars['BigInt']['output'];
|
|
138
152
|
id: Scalars['ID']['output'];
|
|
139
153
|
previousOccupant: Scalars['Bytes']['output'];
|
|
@@ -165,6 +179,27 @@ type BoughtEvent_Filter = {
|
|
|
165
179
|
buyer_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
166
180
|
buyer_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
167
181
|
buyer_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
182
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
183
|
+
currency_?: InputMaybe<Currency_Filter>;
|
|
184
|
+
currency_contains?: InputMaybe<Scalars['String']['input']>;
|
|
185
|
+
currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
186
|
+
currency_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
187
|
+
currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
188
|
+
currency_gt?: InputMaybe<Scalars['String']['input']>;
|
|
189
|
+
currency_gte?: InputMaybe<Scalars['String']['input']>;
|
|
190
|
+
currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
191
|
+
currency_lt?: InputMaybe<Scalars['String']['input']>;
|
|
192
|
+
currency_lte?: InputMaybe<Scalars['String']['input']>;
|
|
193
|
+
currency_not?: InputMaybe<Scalars['String']['input']>;
|
|
194
|
+
currency_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
195
|
+
currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
196
|
+
currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
197
|
+
currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
198
|
+
currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
199
|
+
currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
200
|
+
currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
201
|
+
currency_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
202
|
+
currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
168
203
|
deposit?: InputMaybe<Scalars['BigInt']['input']>;
|
|
169
204
|
deposit_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
170
205
|
deposit_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
@@ -248,11 +283,82 @@ type BoughtEvent_Filter = {
|
|
|
248
283
|
tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
249
284
|
tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
250
285
|
};
|
|
251
|
-
type BoughtEvent_OrderBy = 'blockNumber' | 'buyer' | '
|
|
286
|
+
type BoughtEvent_OrderBy = 'blockNumber' | 'buyer' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'deposit' | 'id' | 'previousOccupant' | 'price' | 'selfAssessedPrice' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
|
|
287
|
+
type Currency = {
|
|
288
|
+
__typename?: 'Currency';
|
|
289
|
+
decimals: Scalars['Int']['output'];
|
|
290
|
+
id: Scalars['ID']['output'];
|
|
291
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
292
|
+
symbol?: Maybe<Scalars['String']['output']>;
|
|
293
|
+
};
|
|
294
|
+
type Currency_Filter = {
|
|
295
|
+
/** Filter for the block changed event. */
|
|
296
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
297
|
+
and?: InputMaybe<Array<InputMaybe<Currency_Filter>>>;
|
|
298
|
+
decimals?: InputMaybe<Scalars['Int']['input']>;
|
|
299
|
+
decimals_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
300
|
+
decimals_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
301
|
+
decimals_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
302
|
+
decimals_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
303
|
+
decimals_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
304
|
+
decimals_not?: InputMaybe<Scalars['Int']['input']>;
|
|
305
|
+
decimals_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
306
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
307
|
+
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
308
|
+
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
309
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
310
|
+
id_lt?: InputMaybe<Scalars['ID']['input']>;
|
|
311
|
+
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
312
|
+
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
313
|
+
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
314
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
315
|
+
name_contains?: InputMaybe<Scalars['String']['input']>;
|
|
316
|
+
name_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
317
|
+
name_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
318
|
+
name_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
319
|
+
name_gt?: InputMaybe<Scalars['String']['input']>;
|
|
320
|
+
name_gte?: InputMaybe<Scalars['String']['input']>;
|
|
321
|
+
name_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
322
|
+
name_lt?: InputMaybe<Scalars['String']['input']>;
|
|
323
|
+
name_lte?: InputMaybe<Scalars['String']['input']>;
|
|
324
|
+
name_not?: InputMaybe<Scalars['String']['input']>;
|
|
325
|
+
name_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
326
|
+
name_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
327
|
+
name_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
328
|
+
name_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
329
|
+
name_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
330
|
+
name_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
331
|
+
name_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
332
|
+
name_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
333
|
+
name_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
334
|
+
or?: InputMaybe<Array<InputMaybe<Currency_Filter>>>;
|
|
335
|
+
symbol?: InputMaybe<Scalars['String']['input']>;
|
|
336
|
+
symbol_contains?: InputMaybe<Scalars['String']['input']>;
|
|
337
|
+
symbol_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
338
|
+
symbol_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
339
|
+
symbol_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
340
|
+
symbol_gt?: InputMaybe<Scalars['String']['input']>;
|
|
341
|
+
symbol_gte?: InputMaybe<Scalars['String']['input']>;
|
|
342
|
+
symbol_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
343
|
+
symbol_lt?: InputMaybe<Scalars['String']['input']>;
|
|
344
|
+
symbol_lte?: InputMaybe<Scalars['String']['input']>;
|
|
345
|
+
symbol_not?: InputMaybe<Scalars['String']['input']>;
|
|
346
|
+
symbol_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
347
|
+
symbol_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
348
|
+
symbol_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
349
|
+
symbol_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
350
|
+
symbol_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
351
|
+
symbol_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
352
|
+
symbol_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
353
|
+
symbol_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
354
|
+
symbol_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
355
|
+
};
|
|
356
|
+
type Currency_OrderBy = 'decimals' | 'id' | 'name' | 'symbol';
|
|
252
357
|
type DepositedEvent = {
|
|
253
358
|
__typename?: 'DepositedEvent';
|
|
254
359
|
amount: Scalars['BigInt']['output'];
|
|
255
360
|
blockNumber: Scalars['BigInt']['output'];
|
|
361
|
+
currency: Currency;
|
|
256
362
|
depositor: Scalars['Bytes']['output'];
|
|
257
363
|
id: Scalars['ID']['output'];
|
|
258
364
|
slot: Slot;
|
|
@@ -279,6 +385,27 @@ type DepositedEvent_Filter = {
|
|
|
279
385
|
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
280
386
|
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
281
387
|
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
388
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
389
|
+
currency_?: InputMaybe<Currency_Filter>;
|
|
390
|
+
currency_contains?: InputMaybe<Scalars['String']['input']>;
|
|
391
|
+
currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
392
|
+
currency_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
393
|
+
currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
394
|
+
currency_gt?: InputMaybe<Scalars['String']['input']>;
|
|
395
|
+
currency_gte?: InputMaybe<Scalars['String']['input']>;
|
|
396
|
+
currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
397
|
+
currency_lt?: InputMaybe<Scalars['String']['input']>;
|
|
398
|
+
currency_lte?: InputMaybe<Scalars['String']['input']>;
|
|
399
|
+
currency_not?: InputMaybe<Scalars['String']['input']>;
|
|
400
|
+
currency_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
401
|
+
currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
402
|
+
currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
403
|
+
currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
404
|
+
currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
405
|
+
currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
406
|
+
currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
407
|
+
currency_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
408
|
+
currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
282
409
|
depositor?: InputMaybe<Scalars['Bytes']['input']>;
|
|
283
410
|
depositor_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
284
411
|
depositor_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
@@ -338,7 +465,7 @@ type DepositedEvent_Filter = {
|
|
|
338
465
|
tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
339
466
|
tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
340
467
|
};
|
|
341
|
-
type DepositedEvent_OrderBy = 'amount' | 'blockNumber' | '
|
|
468
|
+
type DepositedEvent_OrderBy = 'amount' | 'blockNumber' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'depositor' | 'id' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
|
|
342
469
|
type Factory = {
|
|
343
470
|
__typename?: 'Factory';
|
|
344
471
|
id: Scalars['ID']['output'];
|
|
@@ -380,6 +507,7 @@ type LiquidatedEvent = {
|
|
|
380
507
|
__typename?: 'LiquidatedEvent';
|
|
381
508
|
blockNumber: Scalars['BigInt']['output'];
|
|
382
509
|
bounty: Scalars['BigInt']['output'];
|
|
510
|
+
currency: Currency;
|
|
383
511
|
id: Scalars['ID']['output'];
|
|
384
512
|
liquidator: Scalars['Bytes']['output'];
|
|
385
513
|
occupant: Scalars['Bytes']['output'];
|
|
@@ -407,6 +535,27 @@ type LiquidatedEvent_Filter = {
|
|
|
407
535
|
bounty_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
408
536
|
bounty_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
409
537
|
bounty_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
538
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
539
|
+
currency_?: InputMaybe<Currency_Filter>;
|
|
540
|
+
currency_contains?: InputMaybe<Scalars['String']['input']>;
|
|
541
|
+
currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
542
|
+
currency_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
543
|
+
currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
544
|
+
currency_gt?: InputMaybe<Scalars['String']['input']>;
|
|
545
|
+
currency_gte?: InputMaybe<Scalars['String']['input']>;
|
|
546
|
+
currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
547
|
+
currency_lt?: InputMaybe<Scalars['String']['input']>;
|
|
548
|
+
currency_lte?: InputMaybe<Scalars['String']['input']>;
|
|
549
|
+
currency_not?: InputMaybe<Scalars['String']['input']>;
|
|
550
|
+
currency_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
551
|
+
currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
552
|
+
currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
553
|
+
currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
554
|
+
currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
555
|
+
currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
556
|
+
currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
557
|
+
currency_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
558
|
+
currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
410
559
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
411
560
|
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
412
561
|
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -476,7 +625,98 @@ type LiquidatedEvent_Filter = {
|
|
|
476
625
|
tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
477
626
|
tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
478
627
|
};
|
|
479
|
-
type LiquidatedEvent_OrderBy = 'blockNumber' | 'bounty' | '
|
|
628
|
+
type LiquidatedEvent_OrderBy = 'blockNumber' | 'bounty' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'id' | 'liquidator' | 'occupant' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
|
|
629
|
+
type MetadataUpdatedEvent = {
|
|
630
|
+
__typename?: 'MetadataUpdatedEvent';
|
|
631
|
+
blockNumber: Scalars['BigInt']['output'];
|
|
632
|
+
id: Scalars['ID']['output'];
|
|
633
|
+
slot: Slot;
|
|
634
|
+
timestamp: Scalars['BigInt']['output'];
|
|
635
|
+
tx: Scalars['Bytes']['output'];
|
|
636
|
+
uri: Scalars['String']['output'];
|
|
637
|
+
};
|
|
638
|
+
type MetadataUpdatedEvent_Filter = {
|
|
639
|
+
/** Filter for the block changed event. */
|
|
640
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
641
|
+
and?: InputMaybe<Array<InputMaybe<MetadataUpdatedEvent_Filter>>>;
|
|
642
|
+
blockNumber?: InputMaybe<Scalars['BigInt']['input']>;
|
|
643
|
+
blockNumber_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
644
|
+
blockNumber_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
645
|
+
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
646
|
+
blockNumber_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
647
|
+
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
648
|
+
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
649
|
+
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
650
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
651
|
+
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
652
|
+
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
653
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
654
|
+
id_lt?: InputMaybe<Scalars['ID']['input']>;
|
|
655
|
+
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
656
|
+
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
657
|
+
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
658
|
+
or?: InputMaybe<Array<InputMaybe<MetadataUpdatedEvent_Filter>>>;
|
|
659
|
+
slot?: InputMaybe<Scalars['String']['input']>;
|
|
660
|
+
slot_?: InputMaybe<Slot_Filter>;
|
|
661
|
+
slot_contains?: InputMaybe<Scalars['String']['input']>;
|
|
662
|
+
slot_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
663
|
+
slot_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
664
|
+
slot_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
665
|
+
slot_gt?: InputMaybe<Scalars['String']['input']>;
|
|
666
|
+
slot_gte?: InputMaybe<Scalars['String']['input']>;
|
|
667
|
+
slot_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
668
|
+
slot_lt?: InputMaybe<Scalars['String']['input']>;
|
|
669
|
+
slot_lte?: InputMaybe<Scalars['String']['input']>;
|
|
670
|
+
slot_not?: InputMaybe<Scalars['String']['input']>;
|
|
671
|
+
slot_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
672
|
+
slot_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
673
|
+
slot_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
674
|
+
slot_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
675
|
+
slot_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
676
|
+
slot_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
677
|
+
slot_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
678
|
+
slot_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
679
|
+
slot_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
680
|
+
timestamp?: InputMaybe<Scalars['BigInt']['input']>;
|
|
681
|
+
timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
682
|
+
timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
683
|
+
timestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
684
|
+
timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
685
|
+
timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
686
|
+
timestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
687
|
+
timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
688
|
+
tx?: InputMaybe<Scalars['Bytes']['input']>;
|
|
689
|
+
tx_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
690
|
+
tx_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
691
|
+
tx_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
692
|
+
tx_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
693
|
+
tx_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
694
|
+
tx_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
695
|
+
tx_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
696
|
+
tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
697
|
+
tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
698
|
+
uri?: InputMaybe<Scalars['String']['input']>;
|
|
699
|
+
uri_contains?: InputMaybe<Scalars['String']['input']>;
|
|
700
|
+
uri_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
701
|
+
uri_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
702
|
+
uri_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
703
|
+
uri_gt?: InputMaybe<Scalars['String']['input']>;
|
|
704
|
+
uri_gte?: InputMaybe<Scalars['String']['input']>;
|
|
705
|
+
uri_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
706
|
+
uri_lt?: InputMaybe<Scalars['String']['input']>;
|
|
707
|
+
uri_lte?: InputMaybe<Scalars['String']['input']>;
|
|
708
|
+
uri_not?: InputMaybe<Scalars['String']['input']>;
|
|
709
|
+
uri_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
710
|
+
uri_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
711
|
+
uri_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
712
|
+
uri_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
713
|
+
uri_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
714
|
+
uri_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
715
|
+
uri_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
716
|
+
uri_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
717
|
+
uri_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
718
|
+
};
|
|
719
|
+
type MetadataUpdatedEvent_OrderBy = 'blockNumber' | 'id' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx' | 'uri';
|
|
480
720
|
type Module = {
|
|
481
721
|
__typename?: 'Module';
|
|
482
722
|
factory: Factory;
|
|
@@ -485,6 +725,87 @@ type Module = {
|
|
|
485
725
|
verified: Scalars['Boolean']['output'];
|
|
486
726
|
version: Scalars['String']['output'];
|
|
487
727
|
};
|
|
728
|
+
type ModuleUpdateProposedEvent = {
|
|
729
|
+
__typename?: 'ModuleUpdateProposedEvent';
|
|
730
|
+
blockNumber: Scalars['BigInt']['output'];
|
|
731
|
+
id: Scalars['ID']['output'];
|
|
732
|
+
newModule: Scalars['Bytes']['output'];
|
|
733
|
+
slot: Slot;
|
|
734
|
+
timestamp: Scalars['BigInt']['output'];
|
|
735
|
+
tx: Scalars['Bytes']['output'];
|
|
736
|
+
};
|
|
737
|
+
type ModuleUpdateProposedEvent_Filter = {
|
|
738
|
+
/** Filter for the block changed event. */
|
|
739
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
740
|
+
and?: InputMaybe<Array<InputMaybe<ModuleUpdateProposedEvent_Filter>>>;
|
|
741
|
+
blockNumber?: InputMaybe<Scalars['BigInt']['input']>;
|
|
742
|
+
blockNumber_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
743
|
+
blockNumber_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
744
|
+
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
745
|
+
blockNumber_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
746
|
+
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
747
|
+
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
748
|
+
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
749
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
750
|
+
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
751
|
+
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
752
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
753
|
+
id_lt?: InputMaybe<Scalars['ID']['input']>;
|
|
754
|
+
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
755
|
+
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
756
|
+
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
757
|
+
newModule?: InputMaybe<Scalars['Bytes']['input']>;
|
|
758
|
+
newModule_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
759
|
+
newModule_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
760
|
+
newModule_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
761
|
+
newModule_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
762
|
+
newModule_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
763
|
+
newModule_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
764
|
+
newModule_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
765
|
+
newModule_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
766
|
+
newModule_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
767
|
+
or?: InputMaybe<Array<InputMaybe<ModuleUpdateProposedEvent_Filter>>>;
|
|
768
|
+
slot?: InputMaybe<Scalars['String']['input']>;
|
|
769
|
+
slot_?: InputMaybe<Slot_Filter>;
|
|
770
|
+
slot_contains?: InputMaybe<Scalars['String']['input']>;
|
|
771
|
+
slot_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
772
|
+
slot_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
773
|
+
slot_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
774
|
+
slot_gt?: InputMaybe<Scalars['String']['input']>;
|
|
775
|
+
slot_gte?: InputMaybe<Scalars['String']['input']>;
|
|
776
|
+
slot_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
777
|
+
slot_lt?: InputMaybe<Scalars['String']['input']>;
|
|
778
|
+
slot_lte?: InputMaybe<Scalars['String']['input']>;
|
|
779
|
+
slot_not?: InputMaybe<Scalars['String']['input']>;
|
|
780
|
+
slot_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
781
|
+
slot_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
782
|
+
slot_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
783
|
+
slot_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
784
|
+
slot_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
785
|
+
slot_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
786
|
+
slot_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
787
|
+
slot_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
788
|
+
slot_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
789
|
+
timestamp?: InputMaybe<Scalars['BigInt']['input']>;
|
|
790
|
+
timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
791
|
+
timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
792
|
+
timestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
793
|
+
timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
794
|
+
timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
795
|
+
timestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
796
|
+
timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
797
|
+
tx?: InputMaybe<Scalars['Bytes']['input']>;
|
|
798
|
+
tx_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
799
|
+
tx_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
800
|
+
tx_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
801
|
+
tx_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
802
|
+
tx_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
803
|
+
tx_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
804
|
+
tx_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
805
|
+
tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
806
|
+
tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
807
|
+
};
|
|
808
|
+
type ModuleUpdateProposedEvent_OrderBy = 'blockNumber' | 'id' | 'newModule' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
|
|
488
809
|
type Module_Filter = {
|
|
489
810
|
/** Filter for the block changed event. */
|
|
490
811
|
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
@@ -567,9 +888,80 @@ type Module_Filter = {
|
|
|
567
888
|
type Module_OrderBy = 'factory' | 'factory__id' | 'factory__slotCount' | 'id' | 'name' | 'verified' | 'version';
|
|
568
889
|
/** Defines the order direction, either ascending or descending */
|
|
569
890
|
type OrderDirection = 'asc' | 'desc';
|
|
891
|
+
type PendingUpdateCancelledEvent = {
|
|
892
|
+
__typename?: 'PendingUpdateCancelledEvent';
|
|
893
|
+
blockNumber: Scalars['BigInt']['output'];
|
|
894
|
+
id: Scalars['ID']['output'];
|
|
895
|
+
slot: Slot;
|
|
896
|
+
timestamp: Scalars['BigInt']['output'];
|
|
897
|
+
tx: Scalars['Bytes']['output'];
|
|
898
|
+
};
|
|
899
|
+
type PendingUpdateCancelledEvent_Filter = {
|
|
900
|
+
/** Filter for the block changed event. */
|
|
901
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
902
|
+
and?: InputMaybe<Array<InputMaybe<PendingUpdateCancelledEvent_Filter>>>;
|
|
903
|
+
blockNumber?: InputMaybe<Scalars['BigInt']['input']>;
|
|
904
|
+
blockNumber_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
905
|
+
blockNumber_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
906
|
+
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
907
|
+
blockNumber_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
908
|
+
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
909
|
+
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
910
|
+
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
911
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
912
|
+
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
913
|
+
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
914
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
915
|
+
id_lt?: InputMaybe<Scalars['ID']['input']>;
|
|
916
|
+
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
917
|
+
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
918
|
+
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
919
|
+
or?: InputMaybe<Array<InputMaybe<PendingUpdateCancelledEvent_Filter>>>;
|
|
920
|
+
slot?: InputMaybe<Scalars['String']['input']>;
|
|
921
|
+
slot_?: InputMaybe<Slot_Filter>;
|
|
922
|
+
slot_contains?: InputMaybe<Scalars['String']['input']>;
|
|
923
|
+
slot_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
924
|
+
slot_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
925
|
+
slot_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
926
|
+
slot_gt?: InputMaybe<Scalars['String']['input']>;
|
|
927
|
+
slot_gte?: InputMaybe<Scalars['String']['input']>;
|
|
928
|
+
slot_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
929
|
+
slot_lt?: InputMaybe<Scalars['String']['input']>;
|
|
930
|
+
slot_lte?: InputMaybe<Scalars['String']['input']>;
|
|
931
|
+
slot_not?: InputMaybe<Scalars['String']['input']>;
|
|
932
|
+
slot_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
933
|
+
slot_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
934
|
+
slot_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
935
|
+
slot_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
936
|
+
slot_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
937
|
+
slot_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
938
|
+
slot_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
939
|
+
slot_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
940
|
+
slot_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
941
|
+
timestamp?: InputMaybe<Scalars['BigInt']['input']>;
|
|
942
|
+
timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
943
|
+
timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
944
|
+
timestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
945
|
+
timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
946
|
+
timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
947
|
+
timestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
948
|
+
timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
949
|
+
tx?: InputMaybe<Scalars['Bytes']['input']>;
|
|
950
|
+
tx_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
951
|
+
tx_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
952
|
+
tx_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
953
|
+
tx_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
954
|
+
tx_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
955
|
+
tx_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
956
|
+
tx_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
957
|
+
tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
958
|
+
tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
959
|
+
};
|
|
960
|
+
type PendingUpdateCancelledEvent_OrderBy = 'blockNumber' | 'id' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
|
|
570
961
|
type PriceUpdatedEvent = {
|
|
571
962
|
__typename?: 'PriceUpdatedEvent';
|
|
572
963
|
blockNumber: Scalars['BigInt']['output'];
|
|
964
|
+
currency: Currency;
|
|
573
965
|
id: Scalars['ID']['output'];
|
|
574
966
|
newPrice: Scalars['BigInt']['output'];
|
|
575
967
|
oldPrice: Scalars['BigInt']['output'];
|
|
@@ -589,6 +981,27 @@ type PriceUpdatedEvent_Filter = {
|
|
|
589
981
|
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
590
982
|
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
591
983
|
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
984
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
985
|
+
currency_?: InputMaybe<Currency_Filter>;
|
|
986
|
+
currency_contains?: InputMaybe<Scalars['String']['input']>;
|
|
987
|
+
currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
988
|
+
currency_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
989
|
+
currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
990
|
+
currency_gt?: InputMaybe<Scalars['String']['input']>;
|
|
991
|
+
currency_gte?: InputMaybe<Scalars['String']['input']>;
|
|
992
|
+
currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
993
|
+
currency_lt?: InputMaybe<Scalars['String']['input']>;
|
|
994
|
+
currency_lte?: InputMaybe<Scalars['String']['input']>;
|
|
995
|
+
currency_not?: InputMaybe<Scalars['String']['input']>;
|
|
996
|
+
currency_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
997
|
+
currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
998
|
+
currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
999
|
+
currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1000
|
+
currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1001
|
+
currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1002
|
+
currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1003
|
+
currency_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1004
|
+
currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
592
1005
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
593
1006
|
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
594
1007
|
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -654,7 +1067,7 @@ type PriceUpdatedEvent_Filter = {
|
|
|
654
1067
|
tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
655
1068
|
tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
656
1069
|
};
|
|
657
|
-
type PriceUpdatedEvent_OrderBy = 'blockNumber' | '
|
|
1070
|
+
type PriceUpdatedEvent_OrderBy = 'blockNumber' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'id' | 'newPrice' | 'oldPrice' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
|
|
658
1071
|
type Query = {
|
|
659
1072
|
__typename?: 'Query';
|
|
660
1073
|
/** Access to subgraph metadata */
|
|
@@ -663,14 +1076,22 @@ type Query = {
|
|
|
663
1076
|
accounts: Array<Account>;
|
|
664
1077
|
boughtEvent?: Maybe<BoughtEvent>;
|
|
665
1078
|
boughtEvents: Array<BoughtEvent>;
|
|
1079
|
+
currencies: Array<Currency>;
|
|
1080
|
+
currency?: Maybe<Currency>;
|
|
666
1081
|
depositedEvent?: Maybe<DepositedEvent>;
|
|
667
1082
|
depositedEvents: Array<DepositedEvent>;
|
|
668
1083
|
factories: Array<Factory>;
|
|
669
1084
|
factory?: Maybe<Factory>;
|
|
670
1085
|
liquidatedEvent?: Maybe<LiquidatedEvent>;
|
|
671
1086
|
liquidatedEvents: Array<LiquidatedEvent>;
|
|
1087
|
+
metadataUpdatedEvent?: Maybe<MetadataUpdatedEvent>;
|
|
1088
|
+
metadataUpdatedEvents: Array<MetadataUpdatedEvent>;
|
|
672
1089
|
module?: Maybe<Module>;
|
|
1090
|
+
moduleUpdateProposedEvent?: Maybe<ModuleUpdateProposedEvent>;
|
|
1091
|
+
moduleUpdateProposedEvents: Array<ModuleUpdateProposedEvent>;
|
|
673
1092
|
modules: Array<Module>;
|
|
1093
|
+
pendingUpdateCancelledEvent?: Maybe<PendingUpdateCancelledEvent>;
|
|
1094
|
+
pendingUpdateCancelledEvents: Array<PendingUpdateCancelledEvent>;
|
|
674
1095
|
priceUpdatedEvent?: Maybe<PriceUpdatedEvent>;
|
|
675
1096
|
priceUpdatedEvents: Array<PriceUpdatedEvent>;
|
|
676
1097
|
releasedEvent?: Maybe<ReleasedEvent>;
|
|
@@ -681,6 +1102,8 @@ type Query = {
|
|
|
681
1102
|
slots: Array<Slot>;
|
|
682
1103
|
taxCollectedEvent?: Maybe<TaxCollectedEvent>;
|
|
683
1104
|
taxCollectedEvents: Array<TaxCollectedEvent>;
|
|
1105
|
+
taxUpdateProposedEvent?: Maybe<TaxUpdateProposedEvent>;
|
|
1106
|
+
taxUpdateProposedEvents: Array<TaxUpdateProposedEvent>;
|
|
684
1107
|
withdrawnEvent?: Maybe<WithdrawnEvent>;
|
|
685
1108
|
withdrawnEvents: Array<WithdrawnEvent>;
|
|
686
1109
|
};
|
|
@@ -715,6 +1138,20 @@ type QueryBoughtEventsArgs = {
|
|
|
715
1138
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
716
1139
|
where?: InputMaybe<BoughtEvent_Filter>;
|
|
717
1140
|
};
|
|
1141
|
+
type QueryCurrenciesArgs = {
|
|
1142
|
+
block?: InputMaybe<Block_Height>;
|
|
1143
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1144
|
+
orderBy?: InputMaybe<Currency_OrderBy>;
|
|
1145
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
1146
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1147
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
1148
|
+
where?: InputMaybe<Currency_Filter>;
|
|
1149
|
+
};
|
|
1150
|
+
type QueryCurrencyArgs = {
|
|
1151
|
+
block?: InputMaybe<Block_Height>;
|
|
1152
|
+
id: Scalars['ID']['input'];
|
|
1153
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
1154
|
+
};
|
|
718
1155
|
type QueryDepositedEventArgs = {
|
|
719
1156
|
block?: InputMaybe<Block_Height>;
|
|
720
1157
|
id: Scalars['ID']['input'];
|
|
@@ -757,11 +1194,39 @@ type QueryLiquidatedEventsArgs = {
|
|
|
757
1194
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
758
1195
|
where?: InputMaybe<LiquidatedEvent_Filter>;
|
|
759
1196
|
};
|
|
1197
|
+
type QueryMetadataUpdatedEventArgs = {
|
|
1198
|
+
block?: InputMaybe<Block_Height>;
|
|
1199
|
+
id: Scalars['ID']['input'];
|
|
1200
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
1201
|
+
};
|
|
1202
|
+
type QueryMetadataUpdatedEventsArgs = {
|
|
1203
|
+
block?: InputMaybe<Block_Height>;
|
|
1204
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1205
|
+
orderBy?: InputMaybe<MetadataUpdatedEvent_OrderBy>;
|
|
1206
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
1207
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1208
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
1209
|
+
where?: InputMaybe<MetadataUpdatedEvent_Filter>;
|
|
1210
|
+
};
|
|
760
1211
|
type QueryModuleArgs = {
|
|
761
1212
|
block?: InputMaybe<Block_Height>;
|
|
762
1213
|
id: Scalars['ID']['input'];
|
|
763
1214
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
764
1215
|
};
|
|
1216
|
+
type QueryModuleUpdateProposedEventArgs = {
|
|
1217
|
+
block?: InputMaybe<Block_Height>;
|
|
1218
|
+
id: Scalars['ID']['input'];
|
|
1219
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
1220
|
+
};
|
|
1221
|
+
type QueryModuleUpdateProposedEventsArgs = {
|
|
1222
|
+
block?: InputMaybe<Block_Height>;
|
|
1223
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1224
|
+
orderBy?: InputMaybe<ModuleUpdateProposedEvent_OrderBy>;
|
|
1225
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
1226
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1227
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
1228
|
+
where?: InputMaybe<ModuleUpdateProposedEvent_Filter>;
|
|
1229
|
+
};
|
|
765
1230
|
type QueryModulesArgs = {
|
|
766
1231
|
block?: InputMaybe<Block_Height>;
|
|
767
1232
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -771,6 +1236,20 @@ type QueryModulesArgs = {
|
|
|
771
1236
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
772
1237
|
where?: InputMaybe<Module_Filter>;
|
|
773
1238
|
};
|
|
1239
|
+
type QueryPendingUpdateCancelledEventArgs = {
|
|
1240
|
+
block?: InputMaybe<Block_Height>;
|
|
1241
|
+
id: Scalars['ID']['input'];
|
|
1242
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
1243
|
+
};
|
|
1244
|
+
type QueryPendingUpdateCancelledEventsArgs = {
|
|
1245
|
+
block?: InputMaybe<Block_Height>;
|
|
1246
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1247
|
+
orderBy?: InputMaybe<PendingUpdateCancelledEvent_OrderBy>;
|
|
1248
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
1249
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1250
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
1251
|
+
where?: InputMaybe<PendingUpdateCancelledEvent_Filter>;
|
|
1252
|
+
};
|
|
774
1253
|
type QueryPriceUpdatedEventArgs = {
|
|
775
1254
|
block?: InputMaybe<Block_Height>;
|
|
776
1255
|
id: Scalars['ID']['input'];
|
|
@@ -841,6 +1320,20 @@ type QueryTaxCollectedEventsArgs = {
|
|
|
841
1320
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
842
1321
|
where?: InputMaybe<TaxCollectedEvent_Filter>;
|
|
843
1322
|
};
|
|
1323
|
+
type QueryTaxUpdateProposedEventArgs = {
|
|
1324
|
+
block?: InputMaybe<Block_Height>;
|
|
1325
|
+
id: Scalars['ID']['input'];
|
|
1326
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
1327
|
+
};
|
|
1328
|
+
type QueryTaxUpdateProposedEventsArgs = {
|
|
1329
|
+
block?: InputMaybe<Block_Height>;
|
|
1330
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1331
|
+
orderBy?: InputMaybe<TaxUpdateProposedEvent_OrderBy>;
|
|
1332
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
1333
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1334
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
1335
|
+
where?: InputMaybe<TaxUpdateProposedEvent_Filter>;
|
|
1336
|
+
};
|
|
844
1337
|
type QueryWithdrawnEventArgs = {
|
|
845
1338
|
block?: InputMaybe<Block_Height>;
|
|
846
1339
|
id: Scalars['ID']['input'];
|
|
@@ -858,6 +1351,7 @@ type QueryWithdrawnEventsArgs = {
|
|
|
858
1351
|
type ReleasedEvent = {
|
|
859
1352
|
__typename?: 'ReleasedEvent';
|
|
860
1353
|
blockNumber: Scalars['BigInt']['output'];
|
|
1354
|
+
currency: Currency;
|
|
861
1355
|
id: Scalars['ID']['output'];
|
|
862
1356
|
occupant: Scalars['Bytes']['output'];
|
|
863
1357
|
refund: Scalars['BigInt']['output'];
|
|
@@ -877,6 +1371,27 @@ type ReleasedEvent_Filter = {
|
|
|
877
1371
|
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
878
1372
|
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
879
1373
|
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1374
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
1375
|
+
currency_?: InputMaybe<Currency_Filter>;
|
|
1376
|
+
currency_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1377
|
+
currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1378
|
+
currency_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1379
|
+
currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1380
|
+
currency_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1381
|
+
currency_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1382
|
+
currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1383
|
+
currency_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1384
|
+
currency_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1385
|
+
currency_not?: InputMaybe<Scalars['String']['input']>;
|
|
1386
|
+
currency_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1387
|
+
currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1388
|
+
currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1389
|
+
currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1390
|
+
currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1391
|
+
currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1392
|
+
currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1393
|
+
currency_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1394
|
+
currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
880
1395
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
881
1396
|
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
882
1397
|
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -944,10 +1459,11 @@ type ReleasedEvent_Filter = {
|
|
|
944
1459
|
tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
945
1460
|
tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
946
1461
|
};
|
|
947
|
-
type ReleasedEvent_OrderBy = 'blockNumber' | '
|
|
1462
|
+
type ReleasedEvent_OrderBy = 'blockNumber' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'id' | 'occupant' | 'refund' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
|
|
948
1463
|
type SettledEvent = {
|
|
949
1464
|
__typename?: 'SettledEvent';
|
|
950
1465
|
blockNumber: Scalars['BigInt']['output'];
|
|
1466
|
+
currency: Currency;
|
|
951
1467
|
depositRemaining: Scalars['BigInt']['output'];
|
|
952
1468
|
id: Scalars['ID']['output'];
|
|
953
1469
|
slot: Slot;
|
|
@@ -968,6 +1484,27 @@ type SettledEvent_Filter = {
|
|
|
968
1484
|
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
969
1485
|
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
970
1486
|
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1487
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
1488
|
+
currency_?: InputMaybe<Currency_Filter>;
|
|
1489
|
+
currency_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1490
|
+
currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1491
|
+
currency_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1492
|
+
currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1493
|
+
currency_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1494
|
+
currency_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1495
|
+
currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1496
|
+
currency_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1497
|
+
currency_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1498
|
+
currency_not?: InputMaybe<Scalars['String']['input']>;
|
|
1499
|
+
currency_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1500
|
+
currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1501
|
+
currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1502
|
+
currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1503
|
+
currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1504
|
+
currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1505
|
+
currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1506
|
+
currency_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1507
|
+
currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
971
1508
|
depositRemaining?: InputMaybe<Scalars['BigInt']['input']>;
|
|
972
1509
|
depositRemaining_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
973
1510
|
depositRemaining_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
@@ -1041,28 +1578,29 @@ type SettledEvent_Filter = {
|
|
|
1041
1578
|
tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1042
1579
|
tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
1043
1580
|
};
|
|
1044
|
-
type SettledEvent_OrderBy = 'blockNumber' | '
|
|
1581
|
+
type SettledEvent_OrderBy = 'blockNumber' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'depositRemaining' | 'id' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'taxOwed' | 'taxPaid' | 'timestamp' | 'tx';
|
|
1045
1582
|
type Slot = {
|
|
1046
1583
|
__typename?: 'Slot';
|
|
1047
1584
|
collectedTax: Scalars['BigInt']['output'];
|
|
1048
1585
|
createdAt: Scalars['BigInt']['output'];
|
|
1049
1586
|
createdTx: Scalars['Bytes']['output'];
|
|
1050
|
-
currency:
|
|
1051
|
-
currencyDecimals?: Maybe<Scalars['Int']['output']>;
|
|
1052
|
-
currencyName?: Maybe<Scalars['String']['output']>;
|
|
1053
|
-
currencySymbol?: Maybe<Scalars['String']['output']>;
|
|
1587
|
+
currency: Currency;
|
|
1054
1588
|
deposit: Scalars['BigInt']['output'];
|
|
1055
1589
|
deposits: Array<DepositedEvent>;
|
|
1056
1590
|
id: Scalars['ID']['output'];
|
|
1057
1591
|
liquidationBountyBps: Scalars['BigInt']['output'];
|
|
1058
1592
|
liquidations: Array<LiquidatedEvent>;
|
|
1059
1593
|
manager: Scalars['Bytes']['output'];
|
|
1594
|
+
metadataURI?: Maybe<Scalars['String']['output']>;
|
|
1595
|
+
metadataUpdates: Array<MetadataUpdatedEvent>;
|
|
1060
1596
|
minDepositSeconds: Scalars['BigInt']['output'];
|
|
1061
|
-
module
|
|
1597
|
+
module?: Maybe<Module>;
|
|
1598
|
+
moduleUpdateProposals: Array<ModuleUpdateProposedEvent>;
|
|
1062
1599
|
mutableModule: Scalars['Boolean']['output'];
|
|
1063
1600
|
mutableTax: Scalars['Boolean']['output'];
|
|
1064
1601
|
occupant?: Maybe<Scalars['Bytes']['output']>;
|
|
1065
1602
|
occupantAccount?: Maybe<Account>;
|
|
1603
|
+
pendingUpdateCancellations: Array<PendingUpdateCancelledEvent>;
|
|
1066
1604
|
price: Scalars['BigInt']['output'];
|
|
1067
1605
|
priceUpdates: Array<PriceUpdatedEvent>;
|
|
1068
1606
|
purchases: Array<BoughtEvent>;
|
|
@@ -1072,6 +1610,7 @@ type Slot = {
|
|
|
1072
1610
|
settlements: Array<SettledEvent>;
|
|
1073
1611
|
taxCollections: Array<TaxCollectedEvent>;
|
|
1074
1612
|
taxPercentage: Scalars['BigInt']['output'];
|
|
1613
|
+
taxUpdateProposals: Array<TaxUpdateProposedEvent>;
|
|
1075
1614
|
totalCollected: Scalars['BigInt']['output'];
|
|
1076
1615
|
updatedAt: Scalars['BigInt']['output'];
|
|
1077
1616
|
withdrawals: Array<WithdrawnEvent>;
|
|
@@ -1090,6 +1629,27 @@ type SlotLiquidationsArgs = {
|
|
|
1090
1629
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1091
1630
|
where?: InputMaybe<LiquidatedEvent_Filter>;
|
|
1092
1631
|
};
|
|
1632
|
+
type SlotMetadataUpdatesArgs = {
|
|
1633
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1634
|
+
orderBy?: InputMaybe<MetadataUpdatedEvent_OrderBy>;
|
|
1635
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
1636
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1637
|
+
where?: InputMaybe<MetadataUpdatedEvent_Filter>;
|
|
1638
|
+
};
|
|
1639
|
+
type SlotModuleUpdateProposalsArgs = {
|
|
1640
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1641
|
+
orderBy?: InputMaybe<ModuleUpdateProposedEvent_OrderBy>;
|
|
1642
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
1643
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1644
|
+
where?: InputMaybe<ModuleUpdateProposedEvent_Filter>;
|
|
1645
|
+
};
|
|
1646
|
+
type SlotPendingUpdateCancellationsArgs = {
|
|
1647
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1648
|
+
orderBy?: InputMaybe<PendingUpdateCancelledEvent_OrderBy>;
|
|
1649
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
1650
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1651
|
+
where?: InputMaybe<PendingUpdateCancelledEvent_Filter>;
|
|
1652
|
+
};
|
|
1093
1653
|
type SlotPriceUpdatesArgs = {
|
|
1094
1654
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1095
1655
|
orderBy?: InputMaybe<PriceUpdatedEvent_OrderBy>;
|
|
@@ -1125,6 +1685,13 @@ type SlotTaxCollectionsArgs = {
|
|
|
1125
1685
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1126
1686
|
where?: InputMaybe<TaxCollectedEvent_Filter>;
|
|
1127
1687
|
};
|
|
1688
|
+
type SlotTaxUpdateProposalsArgs = {
|
|
1689
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1690
|
+
orderBy?: InputMaybe<TaxUpdateProposedEvent_OrderBy>;
|
|
1691
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
1692
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1693
|
+
where?: InputMaybe<TaxUpdateProposedEvent_Filter>;
|
|
1694
|
+
};
|
|
1128
1695
|
type SlotWithdrawalsArgs = {
|
|
1129
1696
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1130
1697
|
orderBy?: InputMaybe<WithdrawnEvent_OrderBy>;
|
|
@@ -1162,64 +1729,27 @@ type Slot_Filter = {
|
|
|
1162
1729
|
createdTx_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1163
1730
|
createdTx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1164
1731
|
createdTx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
1165
|
-
currency?: InputMaybe<Scalars['
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
currencyName_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1187
|
-
currencyName_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1188
|
-
currencyName_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1189
|
-
currencyName_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1190
|
-
currencyName_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1191
|
-
currencyName_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1192
|
-
currencyName_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1193
|
-
currencyName_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1194
|
-
currencySymbol?: InputMaybe<Scalars['String']['input']>;
|
|
1195
|
-
currencySymbol_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1196
|
-
currencySymbol_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1197
|
-
currencySymbol_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1198
|
-
currencySymbol_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1199
|
-
currencySymbol_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1200
|
-
currencySymbol_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1201
|
-
currencySymbol_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1202
|
-
currencySymbol_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1203
|
-
currencySymbol_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1204
|
-
currencySymbol_not?: InputMaybe<Scalars['String']['input']>;
|
|
1205
|
-
currencySymbol_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1206
|
-
currencySymbol_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1207
|
-
currencySymbol_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1208
|
-
currencySymbol_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1209
|
-
currencySymbol_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1210
|
-
currencySymbol_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1211
|
-
currencySymbol_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1212
|
-
currencySymbol_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1213
|
-
currencySymbol_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1214
|
-
currency_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1215
|
-
currency_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1216
|
-
currency_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1217
|
-
currency_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
1218
|
-
currency_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1219
|
-
currency_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1220
|
-
currency_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1221
|
-
currency_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1222
|
-
currency_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
1732
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
1733
|
+
currency_?: InputMaybe<Currency_Filter>;
|
|
1734
|
+
currency_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1735
|
+
currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1736
|
+
currency_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1737
|
+
currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1738
|
+
currency_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1739
|
+
currency_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1740
|
+
currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1741
|
+
currency_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1742
|
+
currency_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1743
|
+
currency_not?: InputMaybe<Scalars['String']['input']>;
|
|
1744
|
+
currency_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1745
|
+
currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1746
|
+
currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1747
|
+
currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1748
|
+
currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1749
|
+
currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1750
|
+
currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1751
|
+
currency_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1752
|
+
currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1223
1753
|
deposit?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1224
1754
|
deposit_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1225
1755
|
deposit_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
@@ -1256,6 +1786,27 @@ type Slot_Filter = {
|
|
|
1256
1786
|
manager_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1257
1787
|
manager_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1258
1788
|
manager_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
1789
|
+
metadataURI?: InputMaybe<Scalars['String']['input']>;
|
|
1790
|
+
metadataURI_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1791
|
+
metadataURI_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1792
|
+
metadataURI_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1793
|
+
metadataURI_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1794
|
+
metadataURI_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1795
|
+
metadataURI_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1796
|
+
metadataURI_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1797
|
+
metadataURI_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1798
|
+
metadataURI_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1799
|
+
metadataURI_not?: InputMaybe<Scalars['String']['input']>;
|
|
1800
|
+
metadataURI_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1801
|
+
metadataURI_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1802
|
+
metadataURI_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1803
|
+
metadataURI_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1804
|
+
metadataURI_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1805
|
+
metadataURI_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1806
|
+
metadataURI_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1807
|
+
metadataURI_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1808
|
+
metadataURI_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1809
|
+
metadataUpdates_?: InputMaybe<MetadataUpdatedEvent_Filter>;
|
|
1259
1810
|
minDepositSeconds?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1260
1811
|
minDepositSeconds_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1261
1812
|
minDepositSeconds_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
@@ -1264,16 +1815,28 @@ type Slot_Filter = {
|
|
|
1264
1815
|
minDepositSeconds_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1265
1816
|
minDepositSeconds_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1266
1817
|
minDepositSeconds_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1267
|
-
module?: InputMaybe<Scalars['
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1818
|
+
module?: InputMaybe<Scalars['String']['input']>;
|
|
1819
|
+
moduleUpdateProposals_?: InputMaybe<ModuleUpdateProposedEvent_Filter>;
|
|
1820
|
+
module_?: InputMaybe<Module_Filter>;
|
|
1821
|
+
module_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1822
|
+
module_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1823
|
+
module_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1824
|
+
module_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1825
|
+
module_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1826
|
+
module_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1827
|
+
module_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1828
|
+
module_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1829
|
+
module_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1830
|
+
module_not?: InputMaybe<Scalars['String']['input']>;
|
|
1831
|
+
module_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1832
|
+
module_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1833
|
+
module_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1834
|
+
module_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1835
|
+
module_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1836
|
+
module_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1837
|
+
module_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1838
|
+
module_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1839
|
+
module_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1277
1840
|
mutableModule?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1278
1841
|
mutableModule_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
1279
1842
|
mutableModule_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -1314,6 +1877,7 @@ type Slot_Filter = {
|
|
|
1314
1877
|
occupant_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1315
1878
|
occupant_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
1316
1879
|
or?: InputMaybe<Array<InputMaybe<Slot_Filter>>>;
|
|
1880
|
+
pendingUpdateCancellations_?: InputMaybe<PendingUpdateCancelledEvent_Filter>;
|
|
1317
1881
|
price?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1318
1882
|
priceUpdates_?: InputMaybe<PriceUpdatedEvent_Filter>;
|
|
1319
1883
|
price_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
@@ -1366,6 +1930,7 @@ type Slot_Filter = {
|
|
|
1366
1930
|
taxPercentage_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1367
1931
|
taxPercentage_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1368
1932
|
taxPercentage_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1933
|
+
taxUpdateProposals_?: InputMaybe<TaxUpdateProposedEvent_Filter>;
|
|
1369
1934
|
totalCollected?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1370
1935
|
totalCollected_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1371
1936
|
totalCollected_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
@@ -1384,11 +1949,12 @@ type Slot_Filter = {
|
|
|
1384
1949
|
updatedAt_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1385
1950
|
withdrawals_?: InputMaybe<WithdrawnEvent_Filter>;
|
|
1386
1951
|
};
|
|
1387
|
-
type Slot_OrderBy = 'collectedTax' | 'createdAt' | 'createdTx' | 'currency' | '
|
|
1952
|
+
type Slot_OrderBy = 'collectedTax' | 'createdAt' | 'createdTx' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'deposit' | 'deposits' | 'id' | 'liquidationBountyBps' | 'liquidations' | 'manager' | 'metadataURI' | 'metadataUpdates' | 'minDepositSeconds' | 'module' | 'moduleUpdateProposals' | 'module__id' | 'module__name' | 'module__verified' | 'module__version' | 'mutableModule' | 'mutableTax' | 'occupant' | 'occupantAccount' | 'occupantAccount__id' | 'occupantAccount__occupiedCount' | 'occupantAccount__slotCount' | 'occupantAccount__type' | 'pendingUpdateCancellations' | 'price' | 'priceUpdates' | 'purchases' | 'recipient' | 'recipientAccount' | 'recipientAccount__id' | 'recipientAccount__occupiedCount' | 'recipientAccount__slotCount' | 'recipientAccount__type' | 'releases' | 'settlements' | 'taxCollections' | 'taxPercentage' | 'taxUpdateProposals' | 'totalCollected' | 'updatedAt' | 'withdrawals';
|
|
1388
1953
|
type TaxCollectedEvent = {
|
|
1389
1954
|
__typename?: 'TaxCollectedEvent';
|
|
1390
1955
|
amount: Scalars['BigInt']['output'];
|
|
1391
1956
|
blockNumber: Scalars['BigInt']['output'];
|
|
1957
|
+
currency: Currency;
|
|
1392
1958
|
id: Scalars['ID']['output'];
|
|
1393
1959
|
recipient: Scalars['Bytes']['output'];
|
|
1394
1960
|
slot: Slot;
|
|
@@ -1415,6 +1981,27 @@ type TaxCollectedEvent_Filter = {
|
|
|
1415
1981
|
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1416
1982
|
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1417
1983
|
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1984
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
1985
|
+
currency_?: InputMaybe<Currency_Filter>;
|
|
1986
|
+
currency_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1987
|
+
currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1988
|
+
currency_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1989
|
+
currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1990
|
+
currency_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1991
|
+
currency_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1992
|
+
currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1993
|
+
currency_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1994
|
+
currency_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1995
|
+
currency_not?: InputMaybe<Scalars['String']['input']>;
|
|
1996
|
+
currency_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1997
|
+
currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1998
|
+
currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1999
|
+
currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2000
|
+
currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2001
|
+
currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
2002
|
+
currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2003
|
+
currency_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
2004
|
+
currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1418
2005
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1419
2006
|
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
1420
2007
|
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -1474,11 +2061,91 @@ type TaxCollectedEvent_Filter = {
|
|
|
1474
2061
|
tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1475
2062
|
tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
1476
2063
|
};
|
|
1477
|
-
type TaxCollectedEvent_OrderBy = 'amount' | 'blockNumber' | '
|
|
2064
|
+
type TaxCollectedEvent_OrderBy = 'amount' | 'blockNumber' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'id' | 'recipient' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
|
|
2065
|
+
type TaxUpdateProposedEvent = {
|
|
2066
|
+
__typename?: 'TaxUpdateProposedEvent';
|
|
2067
|
+
blockNumber: Scalars['BigInt']['output'];
|
|
2068
|
+
id: Scalars['ID']['output'];
|
|
2069
|
+
newPercentage: Scalars['BigInt']['output'];
|
|
2070
|
+
slot: Slot;
|
|
2071
|
+
timestamp: Scalars['BigInt']['output'];
|
|
2072
|
+
tx: Scalars['Bytes']['output'];
|
|
2073
|
+
};
|
|
2074
|
+
type TaxUpdateProposedEvent_Filter = {
|
|
2075
|
+
/** Filter for the block changed event. */
|
|
2076
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
2077
|
+
and?: InputMaybe<Array<InputMaybe<TaxUpdateProposedEvent_Filter>>>;
|
|
2078
|
+
blockNumber?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2079
|
+
blockNumber_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2080
|
+
blockNumber_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2081
|
+
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
2082
|
+
blockNumber_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2083
|
+
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2084
|
+
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2085
|
+
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
2086
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
2087
|
+
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
2088
|
+
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
2089
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2090
|
+
id_lt?: InputMaybe<Scalars['ID']['input']>;
|
|
2091
|
+
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
2092
|
+
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
2093
|
+
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2094
|
+
newPercentage?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2095
|
+
newPercentage_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2096
|
+
newPercentage_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2097
|
+
newPercentage_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
2098
|
+
newPercentage_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2099
|
+
newPercentage_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2100
|
+
newPercentage_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2101
|
+
newPercentage_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
2102
|
+
or?: InputMaybe<Array<InputMaybe<TaxUpdateProposedEvent_Filter>>>;
|
|
2103
|
+
slot?: InputMaybe<Scalars['String']['input']>;
|
|
2104
|
+
slot_?: InputMaybe<Slot_Filter>;
|
|
2105
|
+
slot_contains?: InputMaybe<Scalars['String']['input']>;
|
|
2106
|
+
slot_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2107
|
+
slot_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
2108
|
+
slot_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2109
|
+
slot_gt?: InputMaybe<Scalars['String']['input']>;
|
|
2110
|
+
slot_gte?: InputMaybe<Scalars['String']['input']>;
|
|
2111
|
+
slot_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2112
|
+
slot_lt?: InputMaybe<Scalars['String']['input']>;
|
|
2113
|
+
slot_lte?: InputMaybe<Scalars['String']['input']>;
|
|
2114
|
+
slot_not?: InputMaybe<Scalars['String']['input']>;
|
|
2115
|
+
slot_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
2116
|
+
slot_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2117
|
+
slot_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
2118
|
+
slot_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2119
|
+
slot_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2120
|
+
slot_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
2121
|
+
slot_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2122
|
+
slot_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
2123
|
+
slot_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2124
|
+
timestamp?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2125
|
+
timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2126
|
+
timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2127
|
+
timestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
2128
|
+
timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2129
|
+
timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2130
|
+
timestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2131
|
+
timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
2132
|
+
tx?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2133
|
+
tx_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2134
|
+
tx_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2135
|
+
tx_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2136
|
+
tx_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
2137
|
+
tx_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2138
|
+
tx_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2139
|
+
tx_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2140
|
+
tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
2141
|
+
tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
2142
|
+
};
|
|
2143
|
+
type TaxUpdateProposedEvent_OrderBy = 'blockNumber' | 'id' | 'newPercentage' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
|
|
1478
2144
|
type WithdrawnEvent = {
|
|
1479
2145
|
__typename?: 'WithdrawnEvent';
|
|
1480
2146
|
amount: Scalars['BigInt']['output'];
|
|
1481
2147
|
blockNumber: Scalars['BigInt']['output'];
|
|
2148
|
+
currency: Currency;
|
|
1482
2149
|
id: Scalars['ID']['output'];
|
|
1483
2150
|
occupant: Scalars['Bytes']['output'];
|
|
1484
2151
|
slot: Slot;
|
|
@@ -1505,6 +2172,27 @@ type WithdrawnEvent_Filter = {
|
|
|
1505
2172
|
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1506
2173
|
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1507
2174
|
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
2175
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
2176
|
+
currency_?: InputMaybe<Currency_Filter>;
|
|
2177
|
+
currency_contains?: InputMaybe<Scalars['String']['input']>;
|
|
2178
|
+
currency_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2179
|
+
currency_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
2180
|
+
currency_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2181
|
+
currency_gt?: InputMaybe<Scalars['String']['input']>;
|
|
2182
|
+
currency_gte?: InputMaybe<Scalars['String']['input']>;
|
|
2183
|
+
currency_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2184
|
+
currency_lt?: InputMaybe<Scalars['String']['input']>;
|
|
2185
|
+
currency_lte?: InputMaybe<Scalars['String']['input']>;
|
|
2186
|
+
currency_not?: InputMaybe<Scalars['String']['input']>;
|
|
2187
|
+
currency_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
2188
|
+
currency_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2189
|
+
currency_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
2190
|
+
currency_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2191
|
+
currency_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2192
|
+
currency_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
2193
|
+
currency_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2194
|
+
currency_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
2195
|
+
currency_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1508
2196
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1509
2197
|
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
1510
2198
|
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -1564,7 +2252,7 @@ type WithdrawnEvent_Filter = {
|
|
|
1564
2252
|
tx_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
1565
2253
|
tx_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
1566
2254
|
};
|
|
1567
|
-
type WithdrawnEvent_OrderBy = 'amount' | 'blockNumber' | '
|
|
2255
|
+
type WithdrawnEvent_OrderBy = 'amount' | 'blockNumber' | 'currency' | 'currency__decimals' | 'currency__id' | 'currency__name' | 'currency__symbol' | 'id' | 'occupant' | 'slot' | 'slot__collectedTax' | 'slot__createdAt' | 'slot__createdTx' | 'slot__deposit' | 'slot__id' | 'slot__liquidationBountyBps' | 'slot__manager' | 'slot__metadataURI' | 'slot__minDepositSeconds' | 'slot__mutableModule' | 'slot__mutableTax' | 'slot__occupant' | 'slot__price' | 'slot__recipient' | 'slot__taxPercentage' | 'slot__totalCollected' | 'slot__updatedAt' | 'timestamp' | 'tx';
|
|
1568
2256
|
type _Block_ = {
|
|
1569
2257
|
__typename?: '_Block_';
|
|
1570
2258
|
/** The hash of the block */
|
|
@@ -1599,6 +2287,7 @@ type _SubgraphErrorPolicy_ =
|
|
|
1599
2287
|
type AccountFieldsFragment = {
|
|
1600
2288
|
__typename?: 'Account';
|
|
1601
2289
|
id: string;
|
|
2290
|
+
type: AccountType;
|
|
1602
2291
|
slotCount: number;
|
|
1603
2292
|
occupiedCount: number;
|
|
1604
2293
|
slotsAsRecipient: Array<{
|
|
@@ -1619,6 +2308,7 @@ type GetAccountQuery = {
|
|
|
1619
2308
|
account?: {
|
|
1620
2309
|
__typename?: 'Account';
|
|
1621
2310
|
id: string;
|
|
2311
|
+
type: AccountType;
|
|
1622
2312
|
slotCount: number;
|
|
1623
2313
|
occupiedCount: number;
|
|
1624
2314
|
slotsAsRecipient: Array<{
|
|
@@ -1644,6 +2334,7 @@ type GetAccountsQuery = {
|
|
|
1644
2334
|
accounts: Array<{
|
|
1645
2335
|
__typename?: 'Account';
|
|
1646
2336
|
id: string;
|
|
2337
|
+
type: AccountType;
|
|
1647
2338
|
slotCount: number;
|
|
1648
2339
|
occupiedCount: number;
|
|
1649
2340
|
slotsAsRecipient: Array<{
|
|
@@ -1656,6 +2347,13 @@ type GetAccountsQuery = {
|
|
|
1656
2347
|
}>;
|
|
1657
2348
|
}>;
|
|
1658
2349
|
};
|
|
2350
|
+
type CurrencyFieldsFragment = {
|
|
2351
|
+
__typename?: 'Currency';
|
|
2352
|
+
id: string;
|
|
2353
|
+
name?: string | null;
|
|
2354
|
+
symbol?: string | null;
|
|
2355
|
+
decimals: number;
|
|
2356
|
+
};
|
|
1659
2357
|
type GetRecentEventsQueryVariables = Exact<{
|
|
1660
2358
|
first: Scalars['Int']['input'];
|
|
1661
2359
|
}>;
|
|
@@ -1675,6 +2373,13 @@ type GetRecentEventsQuery = {
|
|
|
1675
2373
|
__typename?: 'Slot';
|
|
1676
2374
|
id: string;
|
|
1677
2375
|
};
|
|
2376
|
+
currency: {
|
|
2377
|
+
__typename?: 'Currency';
|
|
2378
|
+
id: string;
|
|
2379
|
+
name?: string | null;
|
|
2380
|
+
symbol?: string | null;
|
|
2381
|
+
decimals: number;
|
|
2382
|
+
};
|
|
1678
2383
|
}>;
|
|
1679
2384
|
releasedEvents: Array<{
|
|
1680
2385
|
__typename?: 'ReleasedEvent';
|
|
@@ -1687,6 +2392,13 @@ type GetRecentEventsQuery = {
|
|
|
1687
2392
|
__typename?: 'Slot';
|
|
1688
2393
|
id: string;
|
|
1689
2394
|
};
|
|
2395
|
+
currency: {
|
|
2396
|
+
__typename?: 'Currency';
|
|
2397
|
+
id: string;
|
|
2398
|
+
name?: string | null;
|
|
2399
|
+
symbol?: string | null;
|
|
2400
|
+
decimals: number;
|
|
2401
|
+
};
|
|
1690
2402
|
}>;
|
|
1691
2403
|
liquidatedEvents: Array<{
|
|
1692
2404
|
__typename?: 'LiquidatedEvent';
|
|
@@ -1700,6 +2412,13 @@ type GetRecentEventsQuery = {
|
|
|
1700
2412
|
__typename?: 'Slot';
|
|
1701
2413
|
id: string;
|
|
1702
2414
|
};
|
|
2415
|
+
currency: {
|
|
2416
|
+
__typename?: 'Currency';
|
|
2417
|
+
id: string;
|
|
2418
|
+
name?: string | null;
|
|
2419
|
+
symbol?: string | null;
|
|
2420
|
+
decimals: number;
|
|
2421
|
+
};
|
|
1703
2422
|
}>;
|
|
1704
2423
|
priceUpdatedEvents: Array<{
|
|
1705
2424
|
__typename?: 'PriceUpdatedEvent';
|
|
@@ -1712,6 +2431,13 @@ type GetRecentEventsQuery = {
|
|
|
1712
2431
|
__typename?: 'Slot';
|
|
1713
2432
|
id: string;
|
|
1714
2433
|
};
|
|
2434
|
+
currency: {
|
|
2435
|
+
__typename?: 'Currency';
|
|
2436
|
+
id: string;
|
|
2437
|
+
name?: string | null;
|
|
2438
|
+
symbol?: string | null;
|
|
2439
|
+
decimals: number;
|
|
2440
|
+
};
|
|
1715
2441
|
}>;
|
|
1716
2442
|
depositedEvents: Array<{
|
|
1717
2443
|
__typename?: 'DepositedEvent';
|
|
@@ -1724,6 +2450,13 @@ type GetRecentEventsQuery = {
|
|
|
1724
2450
|
__typename?: 'Slot';
|
|
1725
2451
|
id: string;
|
|
1726
2452
|
};
|
|
2453
|
+
currency: {
|
|
2454
|
+
__typename?: 'Currency';
|
|
2455
|
+
id: string;
|
|
2456
|
+
name?: string | null;
|
|
2457
|
+
symbol?: string | null;
|
|
2458
|
+
decimals: number;
|
|
2459
|
+
};
|
|
1727
2460
|
}>;
|
|
1728
2461
|
withdrawnEvents: Array<{
|
|
1729
2462
|
__typename?: 'WithdrawnEvent';
|
|
@@ -1736,6 +2469,13 @@ type GetRecentEventsQuery = {
|
|
|
1736
2469
|
__typename?: 'Slot';
|
|
1737
2470
|
id: string;
|
|
1738
2471
|
};
|
|
2472
|
+
currency: {
|
|
2473
|
+
__typename?: 'Currency';
|
|
2474
|
+
id: string;
|
|
2475
|
+
name?: string | null;
|
|
2476
|
+
symbol?: string | null;
|
|
2477
|
+
decimals: number;
|
|
2478
|
+
};
|
|
1739
2479
|
}>;
|
|
1740
2480
|
taxCollectedEvents: Array<{
|
|
1741
2481
|
__typename?: 'TaxCollectedEvent';
|
|
@@ -1748,6 +2488,45 @@ type GetRecentEventsQuery = {
|
|
|
1748
2488
|
__typename?: 'Slot';
|
|
1749
2489
|
id: string;
|
|
1750
2490
|
};
|
|
2491
|
+
currency: {
|
|
2492
|
+
__typename?: 'Currency';
|
|
2493
|
+
id: string;
|
|
2494
|
+
name?: string | null;
|
|
2495
|
+
symbol?: string | null;
|
|
2496
|
+
decimals: number;
|
|
2497
|
+
};
|
|
2498
|
+
}>;
|
|
2499
|
+
taxUpdateProposedEvents: Array<{
|
|
2500
|
+
__typename?: 'TaxUpdateProposedEvent';
|
|
2501
|
+
id: string;
|
|
2502
|
+
newPercentage: string;
|
|
2503
|
+
timestamp: string;
|
|
2504
|
+
tx: string;
|
|
2505
|
+
slot: {
|
|
2506
|
+
__typename?: 'Slot';
|
|
2507
|
+
id: string;
|
|
2508
|
+
};
|
|
2509
|
+
}>;
|
|
2510
|
+
moduleUpdateProposedEvents: Array<{
|
|
2511
|
+
__typename?: 'ModuleUpdateProposedEvent';
|
|
2512
|
+
id: string;
|
|
2513
|
+
newModule: string;
|
|
2514
|
+
timestamp: string;
|
|
2515
|
+
tx: string;
|
|
2516
|
+
slot: {
|
|
2517
|
+
__typename?: 'Slot';
|
|
2518
|
+
id: string;
|
|
2519
|
+
};
|
|
2520
|
+
}>;
|
|
2521
|
+
pendingUpdateCancelledEvents: Array<{
|
|
2522
|
+
__typename?: 'PendingUpdateCancelledEvent';
|
|
2523
|
+
id: string;
|
|
2524
|
+
timestamp: string;
|
|
2525
|
+
tx: string;
|
|
2526
|
+
slot: {
|
|
2527
|
+
__typename?: 'Slot';
|
|
2528
|
+
id: string;
|
|
2529
|
+
};
|
|
1751
2530
|
}>;
|
|
1752
2531
|
};
|
|
1753
2532
|
type GetBoughtEventsQueryVariables = Exact<{
|
|
@@ -1775,6 +2554,13 @@ type GetBoughtEventsQuery = {
|
|
|
1775
2554
|
__typename?: 'Slot';
|
|
1776
2555
|
id: string;
|
|
1777
2556
|
};
|
|
2557
|
+
currency: {
|
|
2558
|
+
__typename?: 'Currency';
|
|
2559
|
+
id: string;
|
|
2560
|
+
name?: string | null;
|
|
2561
|
+
symbol?: string | null;
|
|
2562
|
+
decimals: number;
|
|
2563
|
+
};
|
|
1778
2564
|
}>;
|
|
1779
2565
|
};
|
|
1780
2566
|
type GetReleasedEventsQueryVariables = Exact<{
|
|
@@ -1799,6 +2585,13 @@ type GetReleasedEventsQuery = {
|
|
|
1799
2585
|
__typename?: 'Slot';
|
|
1800
2586
|
id: string;
|
|
1801
2587
|
};
|
|
2588
|
+
currency: {
|
|
2589
|
+
__typename?: 'Currency';
|
|
2590
|
+
id: string;
|
|
2591
|
+
name?: string | null;
|
|
2592
|
+
symbol?: string | null;
|
|
2593
|
+
decimals: number;
|
|
2594
|
+
};
|
|
1802
2595
|
}>;
|
|
1803
2596
|
};
|
|
1804
2597
|
type GetLiquidatedEventsQueryVariables = Exact<{
|
|
@@ -1824,6 +2617,13 @@ type GetLiquidatedEventsQuery = {
|
|
|
1824
2617
|
__typename?: 'Slot';
|
|
1825
2618
|
id: string;
|
|
1826
2619
|
};
|
|
2620
|
+
currency: {
|
|
2621
|
+
__typename?: 'Currency';
|
|
2622
|
+
id: string;
|
|
2623
|
+
name?: string | null;
|
|
2624
|
+
symbol?: string | null;
|
|
2625
|
+
decimals: number;
|
|
2626
|
+
};
|
|
1827
2627
|
}>;
|
|
1828
2628
|
};
|
|
1829
2629
|
type GetSettledEventsQueryVariables = Exact<{
|
|
@@ -1849,6 +2649,13 @@ type GetSettledEventsQuery = {
|
|
|
1849
2649
|
__typename?: 'Slot';
|
|
1850
2650
|
id: string;
|
|
1851
2651
|
};
|
|
2652
|
+
currency: {
|
|
2653
|
+
__typename?: 'Currency';
|
|
2654
|
+
id: string;
|
|
2655
|
+
name?: string | null;
|
|
2656
|
+
symbol?: string | null;
|
|
2657
|
+
decimals: number;
|
|
2658
|
+
};
|
|
1852
2659
|
}>;
|
|
1853
2660
|
};
|
|
1854
2661
|
type GetTaxCollectedEventsQueryVariables = Exact<{
|
|
@@ -1873,6 +2680,13 @@ type GetTaxCollectedEventsQuery = {
|
|
|
1873
2680
|
__typename?: 'Slot';
|
|
1874
2681
|
id: string;
|
|
1875
2682
|
};
|
|
2683
|
+
currency: {
|
|
2684
|
+
__typename?: 'Currency';
|
|
2685
|
+
id: string;
|
|
2686
|
+
name?: string | null;
|
|
2687
|
+
symbol?: string | null;
|
|
2688
|
+
decimals: number;
|
|
2689
|
+
};
|
|
1876
2690
|
}>;
|
|
1877
2691
|
};
|
|
1878
2692
|
type GetDepositedEventsQueryVariables = Exact<{
|
|
@@ -1897,6 +2711,13 @@ type GetDepositedEventsQuery = {
|
|
|
1897
2711
|
__typename?: 'Slot';
|
|
1898
2712
|
id: string;
|
|
1899
2713
|
};
|
|
2714
|
+
currency: {
|
|
2715
|
+
__typename?: 'Currency';
|
|
2716
|
+
id: string;
|
|
2717
|
+
name?: string | null;
|
|
2718
|
+
symbol?: string | null;
|
|
2719
|
+
decimals: number;
|
|
2720
|
+
};
|
|
1900
2721
|
}>;
|
|
1901
2722
|
};
|
|
1902
2723
|
type GetWithdrawnEventsQueryVariables = Exact<{
|
|
@@ -1921,6 +2742,13 @@ type GetWithdrawnEventsQuery = {
|
|
|
1921
2742
|
__typename?: 'Slot';
|
|
1922
2743
|
id: string;
|
|
1923
2744
|
};
|
|
2745
|
+
currency: {
|
|
2746
|
+
__typename?: 'Currency';
|
|
2747
|
+
id: string;
|
|
2748
|
+
name?: string | null;
|
|
2749
|
+
symbol?: string | null;
|
|
2750
|
+
decimals: number;
|
|
2751
|
+
};
|
|
1924
2752
|
}>;
|
|
1925
2753
|
};
|
|
1926
2754
|
type GetPriceUpdatedEventsQueryVariables = Exact<{
|
|
@@ -1945,6 +2773,13 @@ type GetPriceUpdatedEventsQuery = {
|
|
|
1945
2773
|
__typename?: 'Slot';
|
|
1946
2774
|
id: string;
|
|
1947
2775
|
};
|
|
2776
|
+
currency: {
|
|
2777
|
+
__typename?: 'Currency';
|
|
2778
|
+
id: string;
|
|
2779
|
+
name?: string | null;
|
|
2780
|
+
symbol?: string | null;
|
|
2781
|
+
decimals: number;
|
|
2782
|
+
};
|
|
1948
2783
|
}>;
|
|
1949
2784
|
};
|
|
1950
2785
|
type GetSlotActivityQueryVariables = Exact<{
|
|
@@ -1963,6 +2798,13 @@ type GetSlotActivityQuery = {
|
|
|
1963
2798
|
deposit: string;
|
|
1964
2799
|
timestamp: string;
|
|
1965
2800
|
tx: string;
|
|
2801
|
+
currency: {
|
|
2802
|
+
__typename?: 'Currency';
|
|
2803
|
+
id: string;
|
|
2804
|
+
name?: string | null;
|
|
2805
|
+
symbol?: string | null;
|
|
2806
|
+
decimals: number;
|
|
2807
|
+
};
|
|
1966
2808
|
}>;
|
|
1967
2809
|
releasedEvents: Array<{
|
|
1968
2810
|
__typename?: 'ReleasedEvent';
|
|
@@ -1971,6 +2813,13 @@ type GetSlotActivityQuery = {
|
|
|
1971
2813
|
refund: string;
|
|
1972
2814
|
timestamp: string;
|
|
1973
2815
|
tx: string;
|
|
2816
|
+
currency: {
|
|
2817
|
+
__typename?: 'Currency';
|
|
2818
|
+
id: string;
|
|
2819
|
+
name?: string | null;
|
|
2820
|
+
symbol?: string | null;
|
|
2821
|
+
decimals: number;
|
|
2822
|
+
};
|
|
1974
2823
|
}>;
|
|
1975
2824
|
liquidatedEvents: Array<{
|
|
1976
2825
|
__typename?: 'LiquidatedEvent';
|
|
@@ -1980,6 +2829,13 @@ type GetSlotActivityQuery = {
|
|
|
1980
2829
|
bounty: string;
|
|
1981
2830
|
timestamp: string;
|
|
1982
2831
|
tx: string;
|
|
2832
|
+
currency: {
|
|
2833
|
+
__typename?: 'Currency';
|
|
2834
|
+
id: string;
|
|
2835
|
+
name?: string | null;
|
|
2836
|
+
symbol?: string | null;
|
|
2837
|
+
decimals: number;
|
|
2838
|
+
};
|
|
1983
2839
|
}>;
|
|
1984
2840
|
priceUpdatedEvents: Array<{
|
|
1985
2841
|
__typename?: 'PriceUpdatedEvent';
|
|
@@ -1988,6 +2844,13 @@ type GetSlotActivityQuery = {
|
|
|
1988
2844
|
newPrice: string;
|
|
1989
2845
|
timestamp: string;
|
|
1990
2846
|
tx: string;
|
|
2847
|
+
currency: {
|
|
2848
|
+
__typename?: 'Currency';
|
|
2849
|
+
id: string;
|
|
2850
|
+
name?: string | null;
|
|
2851
|
+
symbol?: string | null;
|
|
2852
|
+
decimals: number;
|
|
2853
|
+
};
|
|
1991
2854
|
}>;
|
|
1992
2855
|
depositedEvents: Array<{
|
|
1993
2856
|
__typename?: 'DepositedEvent';
|
|
@@ -1996,6 +2859,13 @@ type GetSlotActivityQuery = {
|
|
|
1996
2859
|
amount: string;
|
|
1997
2860
|
timestamp: string;
|
|
1998
2861
|
tx: string;
|
|
2862
|
+
currency: {
|
|
2863
|
+
__typename?: 'Currency';
|
|
2864
|
+
id: string;
|
|
2865
|
+
name?: string | null;
|
|
2866
|
+
symbol?: string | null;
|
|
2867
|
+
decimals: number;
|
|
2868
|
+
};
|
|
1999
2869
|
}>;
|
|
2000
2870
|
withdrawnEvents: Array<{
|
|
2001
2871
|
__typename?: 'WithdrawnEvent';
|
|
@@ -2004,6 +2874,13 @@ type GetSlotActivityQuery = {
|
|
|
2004
2874
|
amount: string;
|
|
2005
2875
|
timestamp: string;
|
|
2006
2876
|
tx: string;
|
|
2877
|
+
currency: {
|
|
2878
|
+
__typename?: 'Currency';
|
|
2879
|
+
id: string;
|
|
2880
|
+
name?: string | null;
|
|
2881
|
+
symbol?: string | null;
|
|
2882
|
+
decimals: number;
|
|
2883
|
+
};
|
|
2007
2884
|
}>;
|
|
2008
2885
|
taxCollectedEvents: Array<{
|
|
2009
2886
|
__typename?: 'TaxCollectedEvent';
|
|
@@ -2012,6 +2889,33 @@ type GetSlotActivityQuery = {
|
|
|
2012
2889
|
amount: string;
|
|
2013
2890
|
timestamp: string;
|
|
2014
2891
|
tx: string;
|
|
2892
|
+
currency: {
|
|
2893
|
+
__typename?: 'Currency';
|
|
2894
|
+
id: string;
|
|
2895
|
+
name?: string | null;
|
|
2896
|
+
symbol?: string | null;
|
|
2897
|
+
decimals: number;
|
|
2898
|
+
};
|
|
2899
|
+
}>;
|
|
2900
|
+
taxUpdateProposedEvents: Array<{
|
|
2901
|
+
__typename?: 'TaxUpdateProposedEvent';
|
|
2902
|
+
id: string;
|
|
2903
|
+
newPercentage: string;
|
|
2904
|
+
timestamp: string;
|
|
2905
|
+
tx: string;
|
|
2906
|
+
}>;
|
|
2907
|
+
moduleUpdateProposedEvents: Array<{
|
|
2908
|
+
__typename?: 'ModuleUpdateProposedEvent';
|
|
2909
|
+
id: string;
|
|
2910
|
+
newModule: string;
|
|
2911
|
+
timestamp: string;
|
|
2912
|
+
tx: string;
|
|
2913
|
+
}>;
|
|
2914
|
+
pendingUpdateCancelledEvents: Array<{
|
|
2915
|
+
__typename?: 'PendingUpdateCancelledEvent';
|
|
2916
|
+
id: string;
|
|
2917
|
+
timestamp: string;
|
|
2918
|
+
tx: string;
|
|
2015
2919
|
}>;
|
|
2016
2920
|
};
|
|
2017
2921
|
type GetFactoryQueryVariables = Exact<{
|
|
@@ -2042,15 +2946,10 @@ type SlotFieldsFragment = {
|
|
|
2042
2946
|
__typename?: 'Slot';
|
|
2043
2947
|
id: string;
|
|
2044
2948
|
recipient: string;
|
|
2045
|
-
currency: string;
|
|
2046
|
-
currencyName?: string | null;
|
|
2047
|
-
currencySymbol?: string | null;
|
|
2048
|
-
currencyDecimals?: number | null;
|
|
2049
2949
|
manager: string;
|
|
2050
2950
|
mutableTax: boolean;
|
|
2051
2951
|
mutableModule: boolean;
|
|
2052
2952
|
taxPercentage: string;
|
|
2053
|
-
module: string;
|
|
2054
2953
|
occupant?: string | null;
|
|
2055
2954
|
price: string;
|
|
2056
2955
|
deposit: string;
|
|
@@ -2067,6 +2966,20 @@ type SlotFieldsFragment = {
|
|
|
2067
2966
|
slotCount: number;
|
|
2068
2967
|
occupiedCount: number;
|
|
2069
2968
|
};
|
|
2969
|
+
currency: {
|
|
2970
|
+
__typename?: 'Currency';
|
|
2971
|
+
id: string;
|
|
2972
|
+
name?: string | null;
|
|
2973
|
+
symbol?: string | null;
|
|
2974
|
+
decimals: number;
|
|
2975
|
+
};
|
|
2976
|
+
module?: {
|
|
2977
|
+
__typename?: 'Module';
|
|
2978
|
+
id: string;
|
|
2979
|
+
verified: boolean;
|
|
2980
|
+
name: string;
|
|
2981
|
+
version: string;
|
|
2982
|
+
} | null;
|
|
2070
2983
|
occupantAccount?: {
|
|
2071
2984
|
__typename?: 'Account';
|
|
2072
2985
|
id: string;
|
|
@@ -2088,15 +3001,10 @@ type GetSlotsQuery = {
|
|
|
2088
3001
|
__typename?: 'Slot';
|
|
2089
3002
|
id: string;
|
|
2090
3003
|
recipient: string;
|
|
2091
|
-
currency: string;
|
|
2092
|
-
currencyName?: string | null;
|
|
2093
|
-
currencySymbol?: string | null;
|
|
2094
|
-
currencyDecimals?: number | null;
|
|
2095
3004
|
manager: string;
|
|
2096
3005
|
mutableTax: boolean;
|
|
2097
3006
|
mutableModule: boolean;
|
|
2098
3007
|
taxPercentage: string;
|
|
2099
|
-
module: string;
|
|
2100
3008
|
occupant?: string | null;
|
|
2101
3009
|
price: string;
|
|
2102
3010
|
deposit: string;
|
|
@@ -2113,6 +3021,20 @@ type GetSlotsQuery = {
|
|
|
2113
3021
|
slotCount: number;
|
|
2114
3022
|
occupiedCount: number;
|
|
2115
3023
|
};
|
|
3024
|
+
currency: {
|
|
3025
|
+
__typename?: 'Currency';
|
|
3026
|
+
id: string;
|
|
3027
|
+
name?: string | null;
|
|
3028
|
+
symbol?: string | null;
|
|
3029
|
+
decimals: number;
|
|
3030
|
+
};
|
|
3031
|
+
module?: {
|
|
3032
|
+
__typename?: 'Module';
|
|
3033
|
+
id: string;
|
|
3034
|
+
verified: boolean;
|
|
3035
|
+
name: string;
|
|
3036
|
+
version: string;
|
|
3037
|
+
} | null;
|
|
2116
3038
|
occupantAccount?: {
|
|
2117
3039
|
__typename?: 'Account';
|
|
2118
3040
|
id: string;
|
|
@@ -2131,15 +3053,10 @@ type GetSlotQuery = {
|
|
|
2131
3053
|
__typename?: 'Slot';
|
|
2132
3054
|
id: string;
|
|
2133
3055
|
recipient: string;
|
|
2134
|
-
currency: string;
|
|
2135
|
-
currencyName?: string | null;
|
|
2136
|
-
currencySymbol?: string | null;
|
|
2137
|
-
currencyDecimals?: number | null;
|
|
2138
3056
|
manager: string;
|
|
2139
3057
|
mutableTax: boolean;
|
|
2140
3058
|
mutableModule: boolean;
|
|
2141
3059
|
taxPercentage: string;
|
|
2142
|
-
module: string;
|
|
2143
3060
|
occupant?: string | null;
|
|
2144
3061
|
price: string;
|
|
2145
3062
|
deposit: string;
|
|
@@ -2156,6 +3073,20 @@ type GetSlotQuery = {
|
|
|
2156
3073
|
slotCount: number;
|
|
2157
3074
|
occupiedCount: number;
|
|
2158
3075
|
};
|
|
3076
|
+
currency: {
|
|
3077
|
+
__typename?: 'Currency';
|
|
3078
|
+
id: string;
|
|
3079
|
+
name?: string | null;
|
|
3080
|
+
symbol?: string | null;
|
|
3081
|
+
decimals: number;
|
|
3082
|
+
};
|
|
3083
|
+
module?: {
|
|
3084
|
+
__typename?: 'Module';
|
|
3085
|
+
id: string;
|
|
3086
|
+
verified: boolean;
|
|
3087
|
+
name: string;
|
|
3088
|
+
version: string;
|
|
3089
|
+
} | null;
|
|
2159
3090
|
occupantAccount?: {
|
|
2160
3091
|
__typename?: 'Account';
|
|
2161
3092
|
id: string;
|
|
@@ -2178,15 +3109,10 @@ type GetSlotsByRecipientQuery = {
|
|
|
2178
3109
|
__typename?: 'Slot';
|
|
2179
3110
|
id: string;
|
|
2180
3111
|
recipient: string;
|
|
2181
|
-
currency: string;
|
|
2182
|
-
currencyName?: string | null;
|
|
2183
|
-
currencySymbol?: string | null;
|
|
2184
|
-
currencyDecimals?: number | null;
|
|
2185
3112
|
manager: string;
|
|
2186
3113
|
mutableTax: boolean;
|
|
2187
3114
|
mutableModule: boolean;
|
|
2188
3115
|
taxPercentage: string;
|
|
2189
|
-
module: string;
|
|
2190
3116
|
occupant?: string | null;
|
|
2191
3117
|
price: string;
|
|
2192
3118
|
deposit: string;
|
|
@@ -2203,6 +3129,20 @@ type GetSlotsByRecipientQuery = {
|
|
|
2203
3129
|
slotCount: number;
|
|
2204
3130
|
occupiedCount: number;
|
|
2205
3131
|
};
|
|
3132
|
+
currency: {
|
|
3133
|
+
__typename?: 'Currency';
|
|
3134
|
+
id: string;
|
|
3135
|
+
name?: string | null;
|
|
3136
|
+
symbol?: string | null;
|
|
3137
|
+
decimals: number;
|
|
3138
|
+
};
|
|
3139
|
+
module?: {
|
|
3140
|
+
__typename?: 'Module';
|
|
3141
|
+
id: string;
|
|
3142
|
+
verified: boolean;
|
|
3143
|
+
name: string;
|
|
3144
|
+
version: string;
|
|
3145
|
+
} | null;
|
|
2206
3146
|
occupantAccount?: {
|
|
2207
3147
|
__typename?: 'Account';
|
|
2208
3148
|
id: string;
|
|
@@ -2225,15 +3165,10 @@ type GetSlotsByOccupantQuery = {
|
|
|
2225
3165
|
__typename?: 'Slot';
|
|
2226
3166
|
id: string;
|
|
2227
3167
|
recipient: string;
|
|
2228
|
-
currency: string;
|
|
2229
|
-
currencyName?: string | null;
|
|
2230
|
-
currencySymbol?: string | null;
|
|
2231
|
-
currencyDecimals?: number | null;
|
|
2232
3168
|
manager: string;
|
|
2233
3169
|
mutableTax: boolean;
|
|
2234
3170
|
mutableModule: boolean;
|
|
2235
3171
|
taxPercentage: string;
|
|
2236
|
-
module: string;
|
|
2237
3172
|
occupant?: string | null;
|
|
2238
3173
|
price: string;
|
|
2239
3174
|
deposit: string;
|
|
@@ -2250,6 +3185,20 @@ type GetSlotsByOccupantQuery = {
|
|
|
2250
3185
|
slotCount: number;
|
|
2251
3186
|
occupiedCount: number;
|
|
2252
3187
|
};
|
|
3188
|
+
currency: {
|
|
3189
|
+
__typename?: 'Currency';
|
|
3190
|
+
id: string;
|
|
3191
|
+
name?: string | null;
|
|
3192
|
+
symbol?: string | null;
|
|
3193
|
+
decimals: number;
|
|
3194
|
+
};
|
|
3195
|
+
module?: {
|
|
3196
|
+
__typename?: 'Module';
|
|
3197
|
+
id: string;
|
|
3198
|
+
verified: boolean;
|
|
3199
|
+
name: string;
|
|
3200
|
+
version: string;
|
|
3201
|
+
} | null;
|
|
2253
3202
|
occupantAccount?: {
|
|
2254
3203
|
__typename?: 'Account';
|
|
2255
3204
|
id: string;
|
|
@@ -2259,6 +3208,7 @@ type GetSlotsByOccupantQuery = {
|
|
|
2259
3208
|
}>;
|
|
2260
3209
|
};
|
|
2261
3210
|
declare const AccountFieldsFragmentDoc: graphql.DocumentNode;
|
|
3211
|
+
declare const CurrencyFieldsFragmentDoc: graphql.DocumentNode;
|
|
2262
3212
|
declare const SlotFieldsFragmentDoc: graphql.DocumentNode;
|
|
2263
3213
|
declare const GetAccountDocument: graphql.DocumentNode;
|
|
2264
3214
|
declare const GetAccountsDocument: graphql.DocumentNode;
|
|
@@ -2316,18 +3266,69 @@ declare enum SlotsChain {
|
|
|
2316
3266
|
ARBITRUM = 42161
|
|
2317
3267
|
}
|
|
2318
3268
|
declare const SUBGRAPH_URLS: Record<SlotsChain, string>;
|
|
3269
|
+
interface SlotConfig {
|
|
3270
|
+
mutableTax: boolean;
|
|
3271
|
+
mutableModule: boolean;
|
|
3272
|
+
manager: Address;
|
|
3273
|
+
}
|
|
3274
|
+
interface SlotInitParams {
|
|
3275
|
+
taxPercentage: bigint;
|
|
3276
|
+
module: Address;
|
|
3277
|
+
liquidationBountyBps: bigint;
|
|
3278
|
+
minDepositSeconds: bigint;
|
|
3279
|
+
}
|
|
3280
|
+
interface CreateSlotParams {
|
|
3281
|
+
recipient: Address;
|
|
3282
|
+
currency: Address;
|
|
3283
|
+
config: SlotConfig;
|
|
3284
|
+
initParams: SlotInitParams;
|
|
3285
|
+
}
|
|
3286
|
+
interface CreateSlotsParams extends CreateSlotParams {
|
|
3287
|
+
count: bigint;
|
|
3288
|
+
}
|
|
3289
|
+
interface BuyParams {
|
|
3290
|
+
slot: Address;
|
|
3291
|
+
depositAmount: bigint;
|
|
3292
|
+
selfAssessedPrice: bigint;
|
|
3293
|
+
}
|
|
2319
3294
|
interface SlotsClientConfig {
|
|
2320
3295
|
chainId: SlotsChain;
|
|
3296
|
+
factoryAddress?: Address;
|
|
3297
|
+
publicClient?: PublicClient;
|
|
3298
|
+
walletClient?: WalletClient;
|
|
2321
3299
|
subgraphUrl?: string;
|
|
2322
3300
|
headers?: Record<string, string>;
|
|
2323
3301
|
}
|
|
3302
|
+
/**
|
|
3303
|
+
* Client for reading and writing 0xSlots protocol data.
|
|
3304
|
+
*
|
|
3305
|
+
* Reads come from a Graph Protocol subgraph (via graphql-request).
|
|
3306
|
+
* Writes go through a viem WalletClient and handle ERC-20 approvals automatically.
|
|
3307
|
+
*
|
|
3308
|
+
* @example
|
|
3309
|
+
* ```ts
|
|
3310
|
+
* const client = new SlotsClient({
|
|
3311
|
+
* chainId: SlotsChain.ARBITRUM,
|
|
3312
|
+
* publicClient,
|
|
3313
|
+
* walletClient,
|
|
3314
|
+
* });
|
|
3315
|
+
* const slots = await client.getSlots({ first: 10 });
|
|
3316
|
+
* ```
|
|
3317
|
+
*/
|
|
2324
3318
|
declare class SlotsClient {
|
|
2325
3319
|
private readonly sdk;
|
|
2326
3320
|
private readonly chainId;
|
|
2327
|
-
private readonly
|
|
3321
|
+
private readonly gqlClient;
|
|
3322
|
+
private readonly _publicClient?;
|
|
3323
|
+
private readonly walletClient?;
|
|
3324
|
+
private readonly _factory?;
|
|
3325
|
+
private _atomicSupport;
|
|
2328
3326
|
constructor(config: SlotsClientConfig);
|
|
3327
|
+
/** Returns the chain ID this client was configured for. */
|
|
2329
3328
|
getChainId(): SlotsChain;
|
|
3329
|
+
/** Returns the underlying GraphQL client (for advanced usage). */
|
|
2330
3330
|
getClient(): GraphQLClient;
|
|
3331
|
+
/** Returns the generated GraphQL SDK (for queries not wrapped by this client). */
|
|
2331
3332
|
getSdk(): {
|
|
2332
3333
|
GetAccount(variables: GetAccountQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetAccountQuery>;
|
|
2333
3334
|
GetAccounts(variables: GetAccountsQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetAccountsQuery>;
|
|
@@ -2348,26 +3349,196 @@ declare class SlotsClient {
|
|
|
2348
3349
|
GetSlotsByRecipient(variables: GetSlotsByRecipientQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetSlotsByRecipientQuery>;
|
|
2349
3350
|
GetSlotsByOccupant(variables: GetSlotsByOccupantQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetSlotsByOccupantQuery>;
|
|
2350
3351
|
};
|
|
3352
|
+
private get publicClient();
|
|
3353
|
+
private get factory();
|
|
3354
|
+
private get wallet();
|
|
3355
|
+
private get account();
|
|
3356
|
+
private get chain();
|
|
3357
|
+
private assertPositive;
|
|
3358
|
+
private query;
|
|
3359
|
+
/** Fetch a paginated list of slots. */
|
|
2351
3360
|
getSlots(...args: Parameters<ReturnType<typeof getSdk>["GetSlots"]>): Promise<GetSlotsQuery>;
|
|
3361
|
+
/** Fetch a single slot by its address. */
|
|
2352
3362
|
getSlot(...args: Parameters<ReturnType<typeof getSdk>["GetSlot"]>): Promise<GetSlotQuery>;
|
|
3363
|
+
/** Fetch all slots owned by a given recipient address. */
|
|
2353
3364
|
getSlotsByRecipient(...args: Parameters<ReturnType<typeof getSdk>["GetSlotsByRecipient"]>): Promise<GetSlotsByRecipientQuery>;
|
|
3365
|
+
/** Fetch all slots currently occupied by a given address. */
|
|
2354
3366
|
getSlotsByOccupant(...args: Parameters<ReturnType<typeof getSdk>["GetSlotsByOccupant"]>): Promise<GetSlotsByOccupantQuery>;
|
|
3367
|
+
/** Fetch factory configuration. */
|
|
2355
3368
|
getFactory(): Promise<GetFactoryQuery>;
|
|
3369
|
+
/** Fetch registered modules. */
|
|
2356
3370
|
getModules(...args: Parameters<ReturnType<typeof getSdk>["GetModules"]>): Promise<GetModulesQuery>;
|
|
3371
|
+
/** Fetch bought events with optional filters. */
|
|
2357
3372
|
getBoughtEvents(...args: Parameters<ReturnType<typeof getSdk>["GetBoughtEvents"]>): Promise<GetBoughtEventsQuery>;
|
|
3373
|
+
/** Fetch settled events with optional filters. */
|
|
2358
3374
|
getSettledEvents(...args: Parameters<ReturnType<typeof getSdk>["GetSettledEvents"]>): Promise<GetSettledEventsQuery>;
|
|
3375
|
+
/** Fetch tax-collected events with optional filters. */
|
|
2359
3376
|
getTaxCollectedEvents(...args: Parameters<ReturnType<typeof getSdk>["GetTaxCollectedEvents"]>): Promise<GetTaxCollectedEventsQuery>;
|
|
3377
|
+
/** Fetch all activity for a specific slot (all event types). */
|
|
2360
3378
|
getSlotActivity(...args: Parameters<ReturnType<typeof getSdk>["GetSlotActivity"]>): Promise<GetSlotActivityQuery>;
|
|
3379
|
+
/** Fetch the most recent events across all slots. */
|
|
2361
3380
|
getRecentEvents(...args: Parameters<ReturnType<typeof getSdk>["GetRecentEvents"]>): Promise<GetRecentEventsQuery>;
|
|
3381
|
+
/** Fetch a single account by address. */
|
|
2362
3382
|
getAccount(...args: Parameters<ReturnType<typeof getSdk>["GetAccount"]>): Promise<GetAccountQuery>;
|
|
3383
|
+
/** Fetch a paginated list of accounts. */
|
|
2363
3384
|
getAccounts(...args: Parameters<ReturnType<typeof getSdk>["GetAccounts"]>): Promise<GetAccountsQuery>;
|
|
3385
|
+
/** Fetch released events with optional filters. */
|
|
2364
3386
|
getReleasedEvents(...args: Parameters<ReturnType<typeof getSdk>["GetReleasedEvents"]>): Promise<GetReleasedEventsQuery>;
|
|
3387
|
+
/** Fetch liquidated events with optional filters. */
|
|
2365
3388
|
getLiquidatedEvents(...args: Parameters<ReturnType<typeof getSdk>["GetLiquidatedEvents"]>): Promise<GetLiquidatedEventsQuery>;
|
|
3389
|
+
/** Fetch deposited events with optional filters. */
|
|
2366
3390
|
getDepositedEvents(...args: Parameters<ReturnType<typeof getSdk>["GetDepositedEvents"]>): Promise<GetDepositedEventsQuery>;
|
|
3391
|
+
/** Fetch withdrawn events with optional filters. */
|
|
2367
3392
|
getWithdrawnEvents(...args: Parameters<ReturnType<typeof getSdk>["GetWithdrawnEvents"]>): Promise<GetWithdrawnEventsQuery>;
|
|
3393
|
+
/** Fetch price-updated events with optional filters. */
|
|
2368
3394
|
getPriceUpdatedEvents(...args: Parameters<ReturnType<typeof getSdk>["GetPriceUpdatedEvents"]>): Promise<GetPriceUpdatedEventsQuery>;
|
|
3395
|
+
/** Fetch subgraph indexing metadata (latest block, indexing errors). */
|
|
2369
3396
|
getMeta(): Promise<SubgraphMeta>;
|
|
3397
|
+
/**
|
|
3398
|
+
* Read full slot info from on-chain (RPC, not subgraph).
|
|
3399
|
+
* @param slot - Slot contract address.
|
|
3400
|
+
* @returns On-chain slot info tuple.
|
|
3401
|
+
* @throws {SlotsError} If the RPC call fails.
|
|
3402
|
+
*/
|
|
3403
|
+
getSlotInfo(slot: Address): Promise<{
|
|
3404
|
+
recipient: `0x${string}`;
|
|
3405
|
+
currency: `0x${string}`;
|
|
3406
|
+
manager: `0x${string}`;
|
|
3407
|
+
mutableTax: boolean;
|
|
3408
|
+
mutableModule: boolean;
|
|
3409
|
+
occupant: `0x${string}`;
|
|
3410
|
+
price: bigint;
|
|
3411
|
+
taxPercentage: bigint;
|
|
3412
|
+
module: `0x${string}`;
|
|
3413
|
+
liquidationBountyBps: bigint;
|
|
3414
|
+
minDepositSeconds: bigint;
|
|
3415
|
+
deposit: bigint;
|
|
3416
|
+
collectedTax: bigint;
|
|
3417
|
+
taxOwed: bigint;
|
|
3418
|
+
secondsUntilLiquidation: bigint;
|
|
3419
|
+
insolvent: boolean;
|
|
3420
|
+
hasPendingTax: boolean;
|
|
3421
|
+
pendingTaxPercentage: bigint;
|
|
3422
|
+
hasPendingModule: boolean;
|
|
3423
|
+
pendingModule: `0x${string}`;
|
|
3424
|
+
}>;
|
|
3425
|
+
/**
|
|
3426
|
+
* Deploy a new slot via the factory contract.
|
|
3427
|
+
* @param params - Slot creation parameters (recipient, currency, config, initParams).
|
|
3428
|
+
* @returns Transaction hash.
|
|
3429
|
+
*/
|
|
3430
|
+
createSlot(params: CreateSlotParams): Promise<Hash>;
|
|
3431
|
+
/**
|
|
3432
|
+
* Deploy multiple identical slots in a single transaction via the factory contract.
|
|
3433
|
+
* @param params - Slot creation parameters including count.
|
|
3434
|
+
* @returns Transaction hash.
|
|
3435
|
+
*/
|
|
3436
|
+
createSlots(params: CreateSlotsParams): Promise<Hash>;
|
|
3437
|
+
/**
|
|
3438
|
+
* Buy a slot (or force-buy an occupied one). Handles ERC-20 approval automatically.
|
|
3439
|
+
* @param params - Buy parameters (slot address, deposit amount, self-assessed price).
|
|
3440
|
+
* @returns Transaction hash.
|
|
3441
|
+
* @throws {SlotsError} If depositAmount or selfAssessedPrice is not positive, or the transaction fails.
|
|
3442
|
+
*/
|
|
3443
|
+
buy(params: BuyParams): Promise<Hash>;
|
|
3444
|
+
/**
|
|
3445
|
+
* Self-assess a new price for an occupied slot (occupant only).
|
|
3446
|
+
* @param slot - The slot contract address.
|
|
3447
|
+
* @param newPrice - The new self-assessed price (can be 0).
|
|
3448
|
+
* @returns Transaction hash.
|
|
3449
|
+
*/
|
|
3450
|
+
selfAssess(slot: Address, newPrice: bigint): Promise<Hash>;
|
|
3451
|
+
/**
|
|
3452
|
+
* Top up deposit on a slot (occupant only). Handles ERC-20 approval automatically.
|
|
3453
|
+
* @param slot - The slot contract address.
|
|
3454
|
+
* @param amount - The amount to deposit (must be > 0).
|
|
3455
|
+
* @returns Transaction hash.
|
|
3456
|
+
* @throws {SlotsError} If amount is not positive, or the transaction fails.
|
|
3457
|
+
*/
|
|
3458
|
+
topUp(slot: Address, amount: bigint): Promise<Hash>;
|
|
3459
|
+
/**
|
|
3460
|
+
* Withdraw from deposit (occupant only). Cannot go below minimum deposit.
|
|
3461
|
+
* @param slot - The slot contract address.
|
|
3462
|
+
* @param amount - The amount to withdraw (must be > 0).
|
|
3463
|
+
* @returns Transaction hash.
|
|
3464
|
+
* @throws {SlotsError} If amount is not positive, or the transaction fails.
|
|
3465
|
+
*/
|
|
3466
|
+
withdraw(slot: Address, amount: bigint): Promise<Hash>;
|
|
3467
|
+
/**
|
|
3468
|
+
* Release a slot (occupant only). Returns remaining deposit to the occupant.
|
|
3469
|
+
* @param slot - The slot contract address.
|
|
3470
|
+
* @returns Transaction hash.
|
|
3471
|
+
*/
|
|
3472
|
+
release(slot: Address): Promise<Hash>;
|
|
3473
|
+
/**
|
|
3474
|
+
* Collect accumulated tax (permissionless).
|
|
3475
|
+
* @param slot - The slot contract address.
|
|
3476
|
+
* @returns Transaction hash.
|
|
3477
|
+
*/
|
|
3478
|
+
collect(slot: Address): Promise<Hash>;
|
|
3479
|
+
/**
|
|
3480
|
+
* Liquidate an insolvent slot (permissionless). Caller receives bounty.
|
|
3481
|
+
* @param slot - The slot contract address.
|
|
3482
|
+
* @returns Transaction hash.
|
|
3483
|
+
*/
|
|
3484
|
+
liquidate(slot: Address): Promise<Hash>;
|
|
3485
|
+
/**
|
|
3486
|
+
* Propose a tax rate update (manager only, slot must have mutableTax).
|
|
3487
|
+
* @param slot - The slot contract address.
|
|
3488
|
+
* @param newPct - The new tax percentage.
|
|
3489
|
+
* @returns Transaction hash.
|
|
3490
|
+
*/
|
|
3491
|
+
proposeTaxUpdate(slot: Address, newPct: bigint): Promise<Hash>;
|
|
3492
|
+
/**
|
|
3493
|
+
* Propose a module update (manager only, slot must have mutableModule).
|
|
3494
|
+
* @param slot - The slot contract address.
|
|
3495
|
+
* @param newModule - The new module contract address.
|
|
3496
|
+
* @returns Transaction hash.
|
|
3497
|
+
*/
|
|
3498
|
+
proposeModuleUpdate(slot: Address, newModule: Address): Promise<Hash>;
|
|
3499
|
+
/**
|
|
3500
|
+
* Cancel pending updates (manager only).
|
|
3501
|
+
* @param slot - The slot contract address.
|
|
3502
|
+
* @returns Transaction hash.
|
|
3503
|
+
*/
|
|
3504
|
+
cancelPendingUpdates(slot: Address): Promise<Hash>;
|
|
3505
|
+
/**
|
|
3506
|
+
* Set liquidation bounty bps (manager only).
|
|
3507
|
+
* @param slot - The slot contract address.
|
|
3508
|
+
* @param newBps - The new bounty in basis points (0-10000).
|
|
3509
|
+
* @returns Transaction hash.
|
|
3510
|
+
* @throws {SlotsError} If newBps is outside 0-10000, or the transaction fails.
|
|
3511
|
+
*/
|
|
3512
|
+
setLiquidationBounty(slot: Address, newBps: bigint): Promise<Hash>;
|
|
3513
|
+
/**
|
|
3514
|
+
* Batch multiple slot calls into one transaction via multicall.
|
|
3515
|
+
* @param slot - The slot contract address.
|
|
3516
|
+
* @param calls - Array of function calls to batch.
|
|
3517
|
+
* @returns Transaction hash.
|
|
3518
|
+
* @throws {SlotsError} If calls array is empty, or the transaction fails.
|
|
3519
|
+
*/
|
|
3520
|
+
multicall(slot: Address, calls: {
|
|
3521
|
+
functionName: string;
|
|
3522
|
+
args?: any[];
|
|
3523
|
+
}[]): Promise<Hash>;
|
|
3524
|
+
/** Check if wallet supports atomic batch calls (EIP-5792). */
|
|
3525
|
+
private supportsAtomicBatch;
|
|
3526
|
+
/** Poll EIP-5792 getCallsStatus until the batch settles, then return a tx hash. */
|
|
3527
|
+
private pollBatchReceipt;
|
|
3528
|
+
/**
|
|
3529
|
+
* Execute a contract call that needs ERC-20 allowance.
|
|
3530
|
+
* If wallet supports atomic batch (EIP-5792): sends approve + action as one atomic call.
|
|
3531
|
+
* Otherwise: chains approve tx (if needed) then action tx.
|
|
3532
|
+
*/
|
|
3533
|
+
private withAllowance;
|
|
2370
3534
|
}
|
|
2371
3535
|
declare function createSlotsClient(config: SlotsClientConfig): SlotsClient;
|
|
2372
3536
|
|
|
2373
|
-
|
|
3537
|
+
/** Error thrown by SlotsClient operations, wrapping the original cause with operation context. */
|
|
3538
|
+
declare class SlotsError extends Error {
|
|
3539
|
+
readonly operation: string;
|
|
3540
|
+
readonly cause: unknown;
|
|
3541
|
+
constructor(operation: string, cause: unknown);
|
|
3542
|
+
}
|
|
3543
|
+
|
|
3544
|
+
export { type Account, type AccountFieldsFragment, AccountFieldsFragmentDoc, type AccountSlotsAsOccupantArgs, type AccountSlotsAsRecipientArgs, type AccountType, type Account_Filter, type Account_OrderBy, type Aggregation_Current, type Aggregation_Interval, type BlockChangedFilter, type Block_Height, type BoughtEvent, type BoughtEvent_Filter, type BoughtEvent_OrderBy, type BuyParams, type CreateSlotParams, type CreateSlotsParams, type Currency, type CurrencyFieldsFragment, CurrencyFieldsFragmentDoc, type Currency_Filter, type Currency_OrderBy, type DepositedEvent, type DepositedEvent_Filter, type DepositedEvent_OrderBy, type Exact, type Factory, type FactoryModulesArgs, type Factory_Filter, type Factory_OrderBy, GetAccountDocument, type GetAccountQuery, type GetAccountQueryVariables, GetAccountsDocument, type GetAccountsQuery, type GetAccountsQueryVariables, GetBoughtEventsDocument, type GetBoughtEventsQuery, type GetBoughtEventsQueryVariables, GetDepositedEventsDocument, type GetDepositedEventsQuery, type GetDepositedEventsQueryVariables, GetFactoryDocument, type GetFactoryQuery, type GetFactoryQueryVariables, GetLiquidatedEventsDocument, type GetLiquidatedEventsQuery, type GetLiquidatedEventsQueryVariables, GetModulesDocument, type GetModulesQuery, type GetModulesQueryVariables, GetPriceUpdatedEventsDocument, type GetPriceUpdatedEventsQuery, type GetPriceUpdatedEventsQueryVariables, GetRecentEventsDocument, type GetRecentEventsQuery, type GetRecentEventsQueryVariables, GetReleasedEventsDocument, type GetReleasedEventsQuery, type GetReleasedEventsQueryVariables, GetSettledEventsDocument, type GetSettledEventsQuery, type GetSettledEventsQueryVariables, GetSlotActivityDocument, type GetSlotActivityQuery, type GetSlotActivityQueryVariables, GetSlotDocument, type GetSlotQuery, type GetSlotQueryVariables, GetSlotsByOccupantDocument, type GetSlotsByOccupantQuery, type GetSlotsByOccupantQueryVariables, GetSlotsByRecipientDocument, type GetSlotsByRecipientQuery, type GetSlotsByRecipientQueryVariables, GetSlotsDocument, type GetSlotsQuery, type GetSlotsQueryVariables, GetTaxCollectedEventsDocument, type GetTaxCollectedEventsQuery, type GetTaxCollectedEventsQueryVariables, GetWithdrawnEventsDocument, type GetWithdrawnEventsQuery, type GetWithdrawnEventsQueryVariables, type Incremental, type InputMaybe, type LiquidatedEvent, type LiquidatedEvent_Filter, type LiquidatedEvent_OrderBy, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type MetadataUpdatedEvent, type MetadataUpdatedEvent_Filter, type MetadataUpdatedEvent_OrderBy, type Module, type ModuleUpdateProposedEvent, type ModuleUpdateProposedEvent_Filter, type ModuleUpdateProposedEvent_OrderBy, type Module_Filter, type Module_OrderBy, type OrderDirection, type PendingUpdateCancelledEvent, type PendingUpdateCancelledEvent_Filter, type PendingUpdateCancelledEvent_OrderBy, type PriceUpdatedEvent, type PriceUpdatedEvent_Filter, type PriceUpdatedEvent_OrderBy, type Query, type QueryAccountArgs, type QueryAccountsArgs, type QueryBoughtEventArgs, type QueryBoughtEventsArgs, type QueryCurrenciesArgs, type QueryCurrencyArgs, type QueryDepositedEventArgs, type QueryDepositedEventsArgs, type QueryFactoriesArgs, type QueryFactoryArgs, type QueryLiquidatedEventArgs, type QueryLiquidatedEventsArgs, type QueryMetadataUpdatedEventArgs, type QueryMetadataUpdatedEventsArgs, type QueryModuleArgs, type QueryModuleUpdateProposedEventArgs, type QueryModuleUpdateProposedEventsArgs, type QueryModulesArgs, type QueryPendingUpdateCancelledEventArgs, type QueryPendingUpdateCancelledEventsArgs, type QueryPriceUpdatedEventArgs, type QueryPriceUpdatedEventsArgs, type QueryReleasedEventArgs, type QueryReleasedEventsArgs, type QuerySettledEventArgs, type QuerySettledEventsArgs, type QuerySlotArgs, type QuerySlotsArgs, type QueryTaxCollectedEventArgs, type QueryTaxCollectedEventsArgs, type QueryTaxUpdateProposedEventArgs, type QueryTaxUpdateProposedEventsArgs, type QueryWithdrawnEventArgs, type QueryWithdrawnEventsArgs, type Query_MetaArgs, type ReleasedEvent, type ReleasedEvent_Filter, type ReleasedEvent_OrderBy, SUBGRAPH_URLS, type Scalars, type Sdk, type SdkFunctionWrapper, type SettledEvent, type SettledEvent_Filter, type SettledEvent_OrderBy, type Slot, type SlotConfig, type SlotDepositsArgs, type SlotFieldsFragment, SlotFieldsFragmentDoc, type SlotInitParams, type SlotLiquidationsArgs, type SlotMetadataUpdatesArgs, type SlotModuleUpdateProposalsArgs, type SlotPendingUpdateCancellationsArgs, type SlotPriceUpdatesArgs, type SlotPurchasesArgs, type SlotReleasesArgs, type SlotSettlementsArgs, type SlotTaxCollectionsArgs, type SlotTaxUpdateProposalsArgs, type SlotWithdrawalsArgs, type Slot_Filter, type Slot_OrderBy, SlotsChain, SlotsClient, type SlotsClientConfig, SlotsError, type SubgraphMeta, type TaxCollectedEvent, type TaxCollectedEvent_Filter, type TaxCollectedEvent_OrderBy, type TaxUpdateProposedEvent, type TaxUpdateProposedEvent_Filter, type TaxUpdateProposedEvent_OrderBy, type WithdrawnEvent, type WithdrawnEvent_Filter, type WithdrawnEvent_OrderBy, type _Block_, type _Meta_, type _SubgraphErrorPolicy_, createSlotsClient, getSdk };
|