enssdk 0.0.1 → 1.10.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/LICENSE +21 -0
- package/README.md +50 -2
- package/dist/core/index.d.ts +20 -0
- package/dist/core/index.js +23 -0
- package/dist/core/index.js.map +1 -0
- package/dist/evm-2UZlELOe.d.ts +474 -0
- package/dist/index.d.ts +619 -0
- package/dist/index.js +527 -0
- package/dist/index.js.map +1 -0
- package/dist/omnigraph/index.d.ts +5074 -0
- package/dist/omnigraph/index.js +5787 -0
- package/dist/omnigraph/index.js.map +1 -0
- package/package.json +63 -6
- package/src/omnigraph/generated/schema.graphql +1172 -0
|
@@ -0,0 +1,1172 @@
|
|
|
1
|
+
"""Represents an individual Account, keyed by its Address."""
|
|
2
|
+
type Account {
|
|
3
|
+
"""An EVM Address that uniquely identifies this Account on-chain."""
|
|
4
|
+
address: Address!
|
|
5
|
+
|
|
6
|
+
"""The Domains that are owned by the Account."""
|
|
7
|
+
domains(after: String, before: String, first: Int, last: Int, order: DomainsOrderInput, where: AccountDomainsWhereInput): AccountDomainsConnection
|
|
8
|
+
|
|
9
|
+
"""
|
|
10
|
+
All Events for which this Account is the sender (i.e. `Transaction.from`).
|
|
11
|
+
"""
|
|
12
|
+
events(after: String, before: String, first: Int, last: Int, where: AccountEventsWhereInput): AccountEventsConnection
|
|
13
|
+
|
|
14
|
+
"""A unique reference to this Account."""
|
|
15
|
+
id: Address!
|
|
16
|
+
|
|
17
|
+
"""
|
|
18
|
+
The Permissions granted to this Account, optionally filtered to Permissions in a specific contract.
|
|
19
|
+
"""
|
|
20
|
+
permissions(after: String, before: String, first: Int, in: AccountIdInput, last: Int): AccountPermissionsConnection
|
|
21
|
+
|
|
22
|
+
"""The Permissions on Registries granted to this Account."""
|
|
23
|
+
registryPermissions(after: String, before: String, first: Int, last: Int): AccountRegistryPermissionsConnection
|
|
24
|
+
|
|
25
|
+
"""The Permissions on Resolvers granted to this Account."""
|
|
26
|
+
resolverPermissions(after: String, before: String, first: Int, last: Int): AccountResolverPermissionsConnection
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
"""Address an Account by ID or Address."""
|
|
30
|
+
input AccountByInput @oneOf {
|
|
31
|
+
address: Address
|
|
32
|
+
id: Address
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
type AccountDomainsConnection {
|
|
36
|
+
edges: [AccountDomainsConnectionEdge!]!
|
|
37
|
+
pageInfo: PageInfo!
|
|
38
|
+
totalCount: Int!
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
type AccountDomainsConnectionEdge {
|
|
42
|
+
cursor: String!
|
|
43
|
+
node: Domain!
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
"""Filter for Account.domains query."""
|
|
47
|
+
input AccountDomainsWhereInput {
|
|
48
|
+
"""
|
|
49
|
+
Optional, defaults to false. If true, filters the set of Domains by those that are Canonical (i.e. reachable by ENS Forward Resolution).
|
|
50
|
+
"""
|
|
51
|
+
canonical: Boolean = false
|
|
52
|
+
|
|
53
|
+
"""
|
|
54
|
+
A partial Interpreted Name by which to search the set of Domains. ex: 'example', 'example.', 'example.et'.
|
|
55
|
+
"""
|
|
56
|
+
name: String
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
type AccountEventsConnection {
|
|
60
|
+
edges: [AccountEventsConnectionEdge!]!
|
|
61
|
+
pageInfo: PageInfo!
|
|
62
|
+
totalCount: Int!
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
type AccountEventsConnectionEdge {
|
|
66
|
+
cursor: String!
|
|
67
|
+
node: Event!
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
"""
|
|
71
|
+
Filter conditions for Account.events (where `from` is implied by the Account).
|
|
72
|
+
"""
|
|
73
|
+
input AccountEventsWhereInput {
|
|
74
|
+
"""
|
|
75
|
+
Filter to events whose selector (event signature) is one of the provided values.
|
|
76
|
+
"""
|
|
77
|
+
selector_in: [Hex!]
|
|
78
|
+
|
|
79
|
+
"""Filter to events at or after this UnixTimestamp."""
|
|
80
|
+
timestamp_gte: BigInt
|
|
81
|
+
|
|
82
|
+
"""Filter to events at or before this UnixTimestamp."""
|
|
83
|
+
timestamp_lte: BigInt
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
"""A CAIP-10 Account ID including chainId and address."""
|
|
87
|
+
type AccountId {
|
|
88
|
+
address: Address!
|
|
89
|
+
chainId: ChainId!
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
"""A CAIP-10 Account ID including chainId and address."""
|
|
93
|
+
input AccountIdInput {
|
|
94
|
+
address: Address!
|
|
95
|
+
chainId: ChainId!
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
type AccountPermissionsConnection {
|
|
99
|
+
edges: [AccountPermissionsConnectionEdge!]!
|
|
100
|
+
pageInfo: PageInfo!
|
|
101
|
+
totalCount: Int!
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
type AccountPermissionsConnectionEdge {
|
|
105
|
+
cursor: String!
|
|
106
|
+
node: PermissionsUser!
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
type AccountRegistryPermissionsConnection {
|
|
110
|
+
edges: [AccountRegistryPermissionsConnectionEdge!]!
|
|
111
|
+
pageInfo: PageInfo!
|
|
112
|
+
totalCount: Int!
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
type AccountRegistryPermissionsConnectionEdge {
|
|
116
|
+
cursor: String!
|
|
117
|
+
node: RegistryPermissionsUser!
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
type AccountResolverPermissionsConnection {
|
|
121
|
+
edges: [AccountResolverPermissionsConnectionEdge!]!
|
|
122
|
+
pageInfo: PageInfo!
|
|
123
|
+
totalCount: Int!
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
type AccountResolverPermissionsConnectionEdge {
|
|
127
|
+
cursor: String!
|
|
128
|
+
node: ResolverPermissionsUser!
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
"""Address represents an EVM Address in all lowercase."""
|
|
132
|
+
scalar Address
|
|
133
|
+
|
|
134
|
+
"""
|
|
135
|
+
A BaseRegistrarRegistration represents a Registration within an ENSv1 BaseRegistrar contract, including those deployed by Basenames and Lineanames.
|
|
136
|
+
"""
|
|
137
|
+
type BaseRegistrarRegistration implements Registration {
|
|
138
|
+
"""The `baseCost` for registering this Domain, in wei."""
|
|
139
|
+
baseCost: BigInt
|
|
140
|
+
|
|
141
|
+
"""The Domain for which this Registration exists."""
|
|
142
|
+
domain: Domain!
|
|
143
|
+
|
|
144
|
+
"""The Event for which this Registration was created."""
|
|
145
|
+
event: Event!
|
|
146
|
+
|
|
147
|
+
"""
|
|
148
|
+
Indicates whether this Registration is expired. If the Registration is for an ENSv1Domain, a Registration is only considered `expired` after the Grace Period has elapsed.
|
|
149
|
+
"""
|
|
150
|
+
expired: Boolean!
|
|
151
|
+
|
|
152
|
+
"""A UnixTimestamp indicating the Registration's expiry, if exists."""
|
|
153
|
+
expiry: BigInt
|
|
154
|
+
|
|
155
|
+
"""A unique reference to this Registration."""
|
|
156
|
+
id: RegistrationId!
|
|
157
|
+
|
|
158
|
+
"""
|
|
159
|
+
Whether this Registration is in the Grace Period (90 days) and can be renewed by the current owner.
|
|
160
|
+
"""
|
|
161
|
+
isInGracePeriod: Boolean!
|
|
162
|
+
|
|
163
|
+
"""The `premium` for registering this Domain, in wei."""
|
|
164
|
+
premium: BigInt
|
|
165
|
+
|
|
166
|
+
"""The extra `referrer` data provided with a Registration, if exists."""
|
|
167
|
+
referrer: Hex
|
|
168
|
+
|
|
169
|
+
"""The Registrant of a Registration, if exists."""
|
|
170
|
+
registrant: Account
|
|
171
|
+
|
|
172
|
+
"""The Registrar contract under which this Registration is managed."""
|
|
173
|
+
registrar: AccountId!
|
|
174
|
+
|
|
175
|
+
"""
|
|
176
|
+
Renewals that have occurred within this Registration's lifespan to extend its expiration.
|
|
177
|
+
"""
|
|
178
|
+
renewals(after: String, before: String, first: Int, last: Int): RegistrationRenewalsConnection
|
|
179
|
+
|
|
180
|
+
"""A UnixTimestamp indicating when this Registration was created."""
|
|
181
|
+
start: BigInt!
|
|
182
|
+
|
|
183
|
+
"""The Unregistrant of a Registration, if exists."""
|
|
184
|
+
unregistrant: Account
|
|
185
|
+
|
|
186
|
+
"""
|
|
187
|
+
Additional metadata if this BaseRegistrarRegistration is wrapped by the NameWrapper (i.e. in the case of wrapped .eth names).
|
|
188
|
+
"""
|
|
189
|
+
wrapped: WrappedBaseRegistrarRegistration
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
"""BigInt represents non-fractional signed whole numeric values."""
|
|
193
|
+
scalar BigInt
|
|
194
|
+
|
|
195
|
+
"""ChainId represents a enssdk#ChainId."""
|
|
196
|
+
scalar ChainId
|
|
197
|
+
|
|
198
|
+
"""CoinType represents a enssdk#CoinType."""
|
|
199
|
+
scalar CoinType
|
|
200
|
+
|
|
201
|
+
"""
|
|
202
|
+
A Domain represents an individual Label within the ENS namegraph. It may or may not be Canonical. It may be an ENSv1Domain or an ENSv2Domain.
|
|
203
|
+
"""
|
|
204
|
+
interface Domain {
|
|
205
|
+
"""All Events associated with this Domain."""
|
|
206
|
+
events(after: String, before: String, first: Int, last: Int, where: EventsWhereInput): DomainEventsConnection
|
|
207
|
+
|
|
208
|
+
"""A unique reference to this Domain."""
|
|
209
|
+
id: DomainId!
|
|
210
|
+
|
|
211
|
+
"""The Label this Domain represents in the ENS Namegraph"""
|
|
212
|
+
label: Label!
|
|
213
|
+
|
|
214
|
+
"""
|
|
215
|
+
The Canonical Name for this Domain. If the Domain is not Canonical, then `name` will be null.
|
|
216
|
+
"""
|
|
217
|
+
name: InterpretedName
|
|
218
|
+
|
|
219
|
+
"""The owner of this Domain."""
|
|
220
|
+
owner: Account
|
|
221
|
+
|
|
222
|
+
"""
|
|
223
|
+
The Canonical Path from the ENS Root to this Domain. `path` is null if the Domain is not Canonical.
|
|
224
|
+
"""
|
|
225
|
+
path: [Domain!]
|
|
226
|
+
|
|
227
|
+
"""The latest Registration for this Domain, if exists."""
|
|
228
|
+
registration: Registration
|
|
229
|
+
|
|
230
|
+
"""All Registrations for a Domain, including the latest Registration."""
|
|
231
|
+
registrations(after: String, before: String, first: Int, last: Int): DomainRegistrationsConnection
|
|
232
|
+
|
|
233
|
+
"""
|
|
234
|
+
The Resolver that this Domain has assigned, if any. NOTE that this is the Domain's _assigned_ Resolver, _not_ its _effective_ Resolver, which can only be determined by following ENS Forward Resolution and ENSIP-10.
|
|
235
|
+
"""
|
|
236
|
+
resolver: Resolver
|
|
237
|
+
|
|
238
|
+
"""
|
|
239
|
+
All Domains that are direct descendents of this Domain in the namegraph.
|
|
240
|
+
"""
|
|
241
|
+
subdomains(after: String, before: String, first: Int, last: Int, order: DomainsOrderInput, where: SubdomainsWhereInput): DomainSubdomainsConnection
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
type DomainEventsConnection {
|
|
245
|
+
edges: [DomainEventsConnectionEdge!]!
|
|
246
|
+
pageInfo: PageInfo!
|
|
247
|
+
totalCount: Int!
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
type DomainEventsConnectionEdge {
|
|
251
|
+
cursor: String!
|
|
252
|
+
node: Event!
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
"""DomainId represents a enssdk#DomainId."""
|
|
256
|
+
scalar DomainId
|
|
257
|
+
|
|
258
|
+
"""Reference a specific Domain."""
|
|
259
|
+
input DomainIdInput @oneOf {
|
|
260
|
+
id: DomainId
|
|
261
|
+
name: InterpretedName
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
"""Filter Permissions over this Domain by a specific User address."""
|
|
265
|
+
input DomainPermissionsWhereInput {
|
|
266
|
+
user: Address
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
type DomainRegistrationsConnection {
|
|
270
|
+
edges: [DomainRegistrationsConnectionEdge!]!
|
|
271
|
+
pageInfo: PageInfo!
|
|
272
|
+
totalCount: Int!
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
type DomainRegistrationsConnectionEdge {
|
|
276
|
+
cursor: String!
|
|
277
|
+
node: Registration!
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
type DomainSubdomainsConnection {
|
|
281
|
+
edges: [DomainSubdomainsConnectionEdge!]!
|
|
282
|
+
pageInfo: PageInfo!
|
|
283
|
+
totalCount: Int!
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
type DomainSubdomainsConnectionEdge {
|
|
287
|
+
cursor: String!
|
|
288
|
+
node: Domain!
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
"""Fields by which domains can be ordered"""
|
|
292
|
+
enum DomainsOrderBy {
|
|
293
|
+
NAME
|
|
294
|
+
REGISTRATION_EXPIRY
|
|
295
|
+
REGISTRATION_TIMESTAMP
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
"""
|
|
299
|
+
Ordering options for domains query. If no order is provided, the default is ASC.
|
|
300
|
+
"""
|
|
301
|
+
input DomainsOrderInput {
|
|
302
|
+
by: DomainsOrderBy!
|
|
303
|
+
dir: OrderDirection = ASC
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
"""Filter for the top-level domains query."""
|
|
307
|
+
input DomainsWhereInput {
|
|
308
|
+
"""
|
|
309
|
+
Optional, defaults to false. If true, filters the set of Domains by those that are Canonical (i.e. reachable by ENS Forward Resolution). If false, the set of Domains is not filtered, and may include ENSv2 Domains not reachable by ENS Forward Resolution.
|
|
310
|
+
"""
|
|
311
|
+
canonical: Boolean = false
|
|
312
|
+
|
|
313
|
+
"""
|
|
314
|
+
A partial Interpreted Name by which to search the set of Domains. ex: 'example', 'example.', 'example.et'.
|
|
315
|
+
"""
|
|
316
|
+
name: String!
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
"""An ENSv1Domain represents an ENSv1 Domain."""
|
|
320
|
+
type ENSv1Domain implements Domain {
|
|
321
|
+
"""All Events associated with this Domain."""
|
|
322
|
+
events(after: String, before: String, first: Int, last: Int, where: EventsWhereInput): DomainEventsConnection
|
|
323
|
+
|
|
324
|
+
"""A unique reference to this Domain."""
|
|
325
|
+
id: DomainId!
|
|
326
|
+
|
|
327
|
+
"""The Label this Domain represents in the ENS Namegraph"""
|
|
328
|
+
label: Label!
|
|
329
|
+
|
|
330
|
+
"""
|
|
331
|
+
The Canonical Name for this Domain. If the Domain is not Canonical, then `name` will be null.
|
|
332
|
+
"""
|
|
333
|
+
name: InterpretedName
|
|
334
|
+
|
|
335
|
+
"""The owner of this Domain."""
|
|
336
|
+
owner: Account
|
|
337
|
+
|
|
338
|
+
"""The parent Domain of this Domain in the ENSv1 nametree."""
|
|
339
|
+
parent: ENSv1Domain
|
|
340
|
+
|
|
341
|
+
"""
|
|
342
|
+
The Canonical Path from the ENS Root to this Domain. `path` is null if the Domain is not Canonical.
|
|
343
|
+
"""
|
|
344
|
+
path: [Domain!]
|
|
345
|
+
|
|
346
|
+
"""The latest Registration for this Domain, if exists."""
|
|
347
|
+
registration: Registration
|
|
348
|
+
|
|
349
|
+
"""All Registrations for a Domain, including the latest Registration."""
|
|
350
|
+
registrations(after: String, before: String, first: Int, last: Int): DomainRegistrationsConnection
|
|
351
|
+
|
|
352
|
+
"""
|
|
353
|
+
The Resolver that this Domain has assigned, if any. NOTE that this is the Domain's _assigned_ Resolver, _not_ its _effective_ Resolver, which can only be determined by following ENS Forward Resolution and ENSIP-10.
|
|
354
|
+
"""
|
|
355
|
+
resolver: Resolver
|
|
356
|
+
|
|
357
|
+
"""
|
|
358
|
+
The rootRegistryOwner of this Domain, i.e. the owner() of this Domain within the ENSv1 Registry.
|
|
359
|
+
"""
|
|
360
|
+
rootRegistryOwner: Account
|
|
361
|
+
|
|
362
|
+
"""
|
|
363
|
+
All Domains that are direct descendents of this Domain in the namegraph.
|
|
364
|
+
"""
|
|
365
|
+
subdomains(after: String, before: String, first: Int, last: Int, order: DomainsOrderInput, where: SubdomainsWhereInput): DomainSubdomainsConnection
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
"""An ENSv2Domain represents an ENSv2 Domain."""
|
|
369
|
+
type ENSv2Domain implements Domain {
|
|
370
|
+
"""All Events associated with this Domain."""
|
|
371
|
+
events(after: String, before: String, first: Int, last: Int, where: EventsWhereInput): DomainEventsConnection
|
|
372
|
+
|
|
373
|
+
"""A unique reference to this Domain."""
|
|
374
|
+
id: DomainId!
|
|
375
|
+
|
|
376
|
+
"""The Label this Domain represents in the ENS Namegraph"""
|
|
377
|
+
label: Label!
|
|
378
|
+
|
|
379
|
+
"""
|
|
380
|
+
The Canonical Name for this Domain. If the Domain is not Canonical, then `name` will be null.
|
|
381
|
+
"""
|
|
382
|
+
name: InterpretedName
|
|
383
|
+
|
|
384
|
+
"""The owner of this Domain."""
|
|
385
|
+
owner: Account
|
|
386
|
+
|
|
387
|
+
"""
|
|
388
|
+
The Canonical Path from the ENS Root to this Domain. `path` is null if the Domain is not Canonical.
|
|
389
|
+
"""
|
|
390
|
+
path: [Domain!]
|
|
391
|
+
|
|
392
|
+
"""
|
|
393
|
+
Permissions for this Domain within its Registry, representing the roles granted to users for this Domain's token.
|
|
394
|
+
"""
|
|
395
|
+
permissions(after: String, before: String, first: Int, last: Int, where: DomainPermissionsWhereInput): ENSv2DomainPermissionsConnection
|
|
396
|
+
|
|
397
|
+
"""The latest Registration for this Domain, if exists."""
|
|
398
|
+
registration: Registration
|
|
399
|
+
|
|
400
|
+
"""All Registrations for a Domain, including the latest Registration."""
|
|
401
|
+
registrations(after: String, before: String, first: Int, last: Int): DomainRegistrationsConnection
|
|
402
|
+
|
|
403
|
+
"""The Registry under which this ENSv2Domain exists."""
|
|
404
|
+
registry: Registry!
|
|
405
|
+
|
|
406
|
+
"""
|
|
407
|
+
The Resolver that this Domain has assigned, if any. NOTE that this is the Domain's _assigned_ Resolver, _not_ its _effective_ Resolver, which can only be determined by following ENS Forward Resolution and ENSIP-10.
|
|
408
|
+
"""
|
|
409
|
+
resolver: Resolver
|
|
410
|
+
|
|
411
|
+
"""
|
|
412
|
+
All Domains that are direct descendents of this Domain in the namegraph.
|
|
413
|
+
"""
|
|
414
|
+
subdomains(after: String, before: String, first: Int, last: Int, order: DomainsOrderInput, where: SubdomainsWhereInput): DomainSubdomainsConnection
|
|
415
|
+
|
|
416
|
+
"""The Registry this ENSv2Domain declares as its Subregistry, if exists."""
|
|
417
|
+
subregistry: Registry
|
|
418
|
+
|
|
419
|
+
"""The ENSv2Domain's current Token Id."""
|
|
420
|
+
tokenId: BigInt!
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
type ENSv2DomainPermissionsConnection {
|
|
424
|
+
edges: [ENSv2DomainPermissionsConnectionEdge!]!
|
|
425
|
+
pageInfo: PageInfo!
|
|
426
|
+
totalCount: Int!
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
type ENSv2DomainPermissionsConnectionEdge {
|
|
430
|
+
cursor: String!
|
|
431
|
+
node: PermissionsUser!
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
"""
|
|
435
|
+
ENSv2RegistryRegistration represents a Registration within an ENSv2 Registry.
|
|
436
|
+
"""
|
|
437
|
+
type ENSv2RegistryRegistration implements Registration {
|
|
438
|
+
"""The Domain for which this Registration exists."""
|
|
439
|
+
domain: Domain!
|
|
440
|
+
|
|
441
|
+
"""The Event for which this Registration was created."""
|
|
442
|
+
event: Event!
|
|
443
|
+
|
|
444
|
+
"""
|
|
445
|
+
Indicates whether this Registration is expired. If the Registration is for an ENSv1Domain, a Registration is only considered `expired` after the Grace Period has elapsed.
|
|
446
|
+
"""
|
|
447
|
+
expired: Boolean!
|
|
448
|
+
|
|
449
|
+
"""A UnixTimestamp indicating the Registration's expiry, if exists."""
|
|
450
|
+
expiry: BigInt
|
|
451
|
+
|
|
452
|
+
"""A unique reference to this Registration."""
|
|
453
|
+
id: RegistrationId!
|
|
454
|
+
|
|
455
|
+
"""The extra `referrer` data provided with a Registration, if exists."""
|
|
456
|
+
referrer: Hex
|
|
457
|
+
|
|
458
|
+
"""The Registrant of a Registration, if exists."""
|
|
459
|
+
registrant: Account
|
|
460
|
+
|
|
461
|
+
"""The Registrar contract under which this Registration is managed."""
|
|
462
|
+
registrar: AccountId!
|
|
463
|
+
|
|
464
|
+
"""
|
|
465
|
+
Renewals that have occurred within this Registration's lifespan to extend its expiration.
|
|
466
|
+
"""
|
|
467
|
+
renewals(after: String, before: String, first: Int, last: Int): RegistrationRenewalsConnection
|
|
468
|
+
|
|
469
|
+
"""A UnixTimestamp indicating when this Registration was created."""
|
|
470
|
+
start: BigInt!
|
|
471
|
+
|
|
472
|
+
"""The Unregistrant of a Registration, if exists."""
|
|
473
|
+
unregistrant: Account
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
"""
|
|
477
|
+
ENSv2RegistryReservation represents a Reservation within an ENSv2 Registry.
|
|
478
|
+
"""
|
|
479
|
+
type ENSv2RegistryReservation implements Registration {
|
|
480
|
+
"""The Domain for which this Registration exists."""
|
|
481
|
+
domain: Domain!
|
|
482
|
+
|
|
483
|
+
"""The Event for which this Registration was created."""
|
|
484
|
+
event: Event!
|
|
485
|
+
|
|
486
|
+
"""
|
|
487
|
+
Indicates whether this Registration is expired. If the Registration is for an ENSv1Domain, a Registration is only considered `expired` after the Grace Period has elapsed.
|
|
488
|
+
"""
|
|
489
|
+
expired: Boolean!
|
|
490
|
+
|
|
491
|
+
"""A UnixTimestamp indicating the Registration's expiry, if exists."""
|
|
492
|
+
expiry: BigInt
|
|
493
|
+
|
|
494
|
+
"""A unique reference to this Registration."""
|
|
495
|
+
id: RegistrationId!
|
|
496
|
+
|
|
497
|
+
"""The extra `referrer` data provided with a Registration, if exists."""
|
|
498
|
+
referrer: Hex
|
|
499
|
+
|
|
500
|
+
"""The Registrant of a Registration, if exists."""
|
|
501
|
+
registrant: Account
|
|
502
|
+
|
|
503
|
+
"""The Registrar contract under which this Registration is managed."""
|
|
504
|
+
registrar: AccountId!
|
|
505
|
+
|
|
506
|
+
"""
|
|
507
|
+
Renewals that have occurred within this Registration's lifespan to extend its expiration.
|
|
508
|
+
"""
|
|
509
|
+
renewals(after: String, before: String, first: Int, last: Int): RegistrationRenewalsConnection
|
|
510
|
+
|
|
511
|
+
"""A UnixTimestamp indicating when this Registration was created."""
|
|
512
|
+
start: BigInt!
|
|
513
|
+
|
|
514
|
+
"""The Unregistrant of a Registration, if exists."""
|
|
515
|
+
unregistrant: Account
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
"""
|
|
519
|
+
An Event represents a discrete Log Event that was emitted on an EVM chain, including associated metadata.
|
|
520
|
+
"""
|
|
521
|
+
type Event {
|
|
522
|
+
"""Identifies the contract by which this Event was emitted."""
|
|
523
|
+
address: Address!
|
|
524
|
+
|
|
525
|
+
"""Identifies the Block within which this Event was emitted."""
|
|
526
|
+
blockHash: Hex!
|
|
527
|
+
|
|
528
|
+
"""The block number within which this Event was emitted."""
|
|
529
|
+
blockNumber: BigInt!
|
|
530
|
+
|
|
531
|
+
"""The ChainId upon which this Event was emitted."""
|
|
532
|
+
chainId: ChainId!
|
|
533
|
+
|
|
534
|
+
"""The non-indexed data of this Event's log."""
|
|
535
|
+
data: Hex!
|
|
536
|
+
|
|
537
|
+
"""
|
|
538
|
+
Identifies the sender of the Transaction within which this Event was emitted.
|
|
539
|
+
"""
|
|
540
|
+
from: Address!
|
|
541
|
+
|
|
542
|
+
"""A unique reference to this Event."""
|
|
543
|
+
id: ID!
|
|
544
|
+
|
|
545
|
+
"""The index of this Event's log within the Block."""
|
|
546
|
+
logIndex: Int!
|
|
547
|
+
|
|
548
|
+
"""
|
|
549
|
+
The UnixTimestamp indicating the moment in which this Event was emitted.
|
|
550
|
+
"""
|
|
551
|
+
timestamp: BigInt!
|
|
552
|
+
|
|
553
|
+
"""
|
|
554
|
+
Identifies the recipient of the Transaction within which this Event was emitted. Null if the transaction deployed a contract.
|
|
555
|
+
"""
|
|
556
|
+
to: Address
|
|
557
|
+
|
|
558
|
+
"""The indexed topics of this Event's log."""
|
|
559
|
+
topics: [Hex!]!
|
|
560
|
+
|
|
561
|
+
"""Identifies the Transaction within which this Event was emitted."""
|
|
562
|
+
transactionHash: Hex!
|
|
563
|
+
|
|
564
|
+
"""The index of the Transaction within the Block."""
|
|
565
|
+
transactionIndex: Int!
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
"""Filter conditions for an events connection."""
|
|
569
|
+
input EventsWhereInput {
|
|
570
|
+
"""Filter to events sent by this address."""
|
|
571
|
+
from: Address
|
|
572
|
+
|
|
573
|
+
"""
|
|
574
|
+
Filter to events whose selector (event signature) is one of the provided values.
|
|
575
|
+
"""
|
|
576
|
+
selector_in: [Hex!]
|
|
577
|
+
|
|
578
|
+
"""Filter to events at or after this UnixTimestamp."""
|
|
579
|
+
timestamp_gte: BigInt
|
|
580
|
+
|
|
581
|
+
"""Filter to events at or before this UnixTimestamp."""
|
|
582
|
+
timestamp_lte: BigInt
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
"""Hex represents viem#Hex."""
|
|
586
|
+
scalar Hex
|
|
587
|
+
|
|
588
|
+
"""InterpretedLabel represents a enssdk#InterpretedLabel."""
|
|
589
|
+
scalar InterpretedLabel
|
|
590
|
+
|
|
591
|
+
"""InterpretedName represents a enssdk#InterpretedName."""
|
|
592
|
+
scalar InterpretedName
|
|
593
|
+
|
|
594
|
+
"""
|
|
595
|
+
Represents a Label within ENS, providing its hash and interpreted representation.
|
|
596
|
+
"""
|
|
597
|
+
type Label {
|
|
598
|
+
"""
|
|
599
|
+
The Label's LabelHash
|
|
600
|
+
(@see https://ensnode.io/docs/reference/terminology#labels-labelhashes-labelhash-function)
|
|
601
|
+
"""
|
|
602
|
+
hash: Hex!
|
|
603
|
+
|
|
604
|
+
"""
|
|
605
|
+
The Label represented as an Interpreted Label. This is either a normalized Literal Label or an Encoded LabelHash.
|
|
606
|
+
(@see https://ensnode.io/docs/reference/terminology#interpreted-label)
|
|
607
|
+
"""
|
|
608
|
+
interpreted: InterpretedLabel!
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
"""Constructs a reference to a specific Node via one of `name` or `node`."""
|
|
612
|
+
input NameOrNodeInput @oneOf {
|
|
613
|
+
name: InterpretedName
|
|
614
|
+
node: Node
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
"""
|
|
618
|
+
A NameWrapperRegistration represents a Registration initiated by the ENSv1 NameWrapper.
|
|
619
|
+
"""
|
|
620
|
+
type NameWrapperRegistration implements Registration {
|
|
621
|
+
"""The Domain for which this Registration exists."""
|
|
622
|
+
domain: Domain!
|
|
623
|
+
|
|
624
|
+
"""The Event for which this Registration was created."""
|
|
625
|
+
event: Event!
|
|
626
|
+
|
|
627
|
+
"""
|
|
628
|
+
Indicates whether this Registration is expired. If the Registration is for an ENSv1Domain, a Registration is only considered `expired` after the Grace Period has elapsed.
|
|
629
|
+
"""
|
|
630
|
+
expired: Boolean!
|
|
631
|
+
|
|
632
|
+
"""A UnixTimestamp indicating the Registration's expiry, if exists."""
|
|
633
|
+
expiry: BigInt
|
|
634
|
+
|
|
635
|
+
"""The Fuses for this Registration's Domain in the NameWrapper."""
|
|
636
|
+
fuses: Int!
|
|
637
|
+
|
|
638
|
+
"""A unique reference to this Registration."""
|
|
639
|
+
id: RegistrationId!
|
|
640
|
+
|
|
641
|
+
"""The extra `referrer` data provided with a Registration, if exists."""
|
|
642
|
+
referrer: Hex
|
|
643
|
+
|
|
644
|
+
"""The Registrant of a Registration, if exists."""
|
|
645
|
+
registrant: Account
|
|
646
|
+
|
|
647
|
+
"""The Registrar contract under which this Registration is managed."""
|
|
648
|
+
registrar: AccountId!
|
|
649
|
+
|
|
650
|
+
"""
|
|
651
|
+
Renewals that have occurred within this Registration's lifespan to extend its expiration.
|
|
652
|
+
"""
|
|
653
|
+
renewals(after: String, before: String, first: Int, last: Int): RegistrationRenewalsConnection
|
|
654
|
+
|
|
655
|
+
"""A UnixTimestamp indicating when this Registration was created."""
|
|
656
|
+
start: BigInt!
|
|
657
|
+
|
|
658
|
+
"""The Unregistrant of a Registration, if exists."""
|
|
659
|
+
unregistrant: Account
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
"""Node represents a enssdk#Node."""
|
|
663
|
+
scalar Node
|
|
664
|
+
|
|
665
|
+
"""Sort direction"""
|
|
666
|
+
enum OrderDirection {
|
|
667
|
+
ASC
|
|
668
|
+
DESC
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
type PageInfo {
|
|
672
|
+
endCursor: String
|
|
673
|
+
hasNextPage: Boolean!
|
|
674
|
+
hasPreviousPage: Boolean!
|
|
675
|
+
startCursor: String
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
"""Permissions"""
|
|
679
|
+
type Permissions {
|
|
680
|
+
"""The contract within which these Permissions are granted."""
|
|
681
|
+
contract: AccountId!
|
|
682
|
+
|
|
683
|
+
"""All Events associated with these Permissions."""
|
|
684
|
+
events(after: String, before: String, first: Int, last: Int, where: EventsWhereInput): PermissionsEventsConnection
|
|
685
|
+
|
|
686
|
+
"""A unique reference to this Permission."""
|
|
687
|
+
id: PermissionsId!
|
|
688
|
+
|
|
689
|
+
"""All PermissionResources managed by this contract."""
|
|
690
|
+
resources(after: String, before: String, first: Int, last: Int): PermissionsResourcesConnection
|
|
691
|
+
|
|
692
|
+
"""The Root Resource."""
|
|
693
|
+
root: PermissionsResource!
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
type PermissionsEventsConnection {
|
|
697
|
+
edges: [PermissionsEventsConnectionEdge!]!
|
|
698
|
+
pageInfo: PageInfo!
|
|
699
|
+
totalCount: Int!
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
type PermissionsEventsConnectionEdge {
|
|
703
|
+
cursor: String!
|
|
704
|
+
node: Event!
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
"""PermissionsId represents a enssdk#PermissionsId."""
|
|
708
|
+
scalar PermissionsId
|
|
709
|
+
|
|
710
|
+
"""Address Permissions by ID or AccountId."""
|
|
711
|
+
input PermissionsIdInput @oneOf {
|
|
712
|
+
contract: AccountIdInput
|
|
713
|
+
id: PermissionsId
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
"""PermissionsResource"""
|
|
717
|
+
type PermissionsResource {
|
|
718
|
+
"""The contract within which these Permissions are granted."""
|
|
719
|
+
contract: AccountId!
|
|
720
|
+
|
|
721
|
+
"""A unique reference to this PermissionsResource."""
|
|
722
|
+
id: PermissionsResourceId!
|
|
723
|
+
|
|
724
|
+
"""The Permissions within which this Resource is managed."""
|
|
725
|
+
permissions: Permissions!
|
|
726
|
+
|
|
727
|
+
"""Identifies the Resource that this PermissionsResource represents."""
|
|
728
|
+
resource: BigInt!
|
|
729
|
+
|
|
730
|
+
"""The PermissionUsers who have Roles within this Resource."""
|
|
731
|
+
users(after: String, before: String, first: Int, last: Int): PermissionsResourceUsersConnection
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
"""PermissionsResourceId represents a enssdk#PermissionsResourceId."""
|
|
735
|
+
scalar PermissionsResourceId
|
|
736
|
+
|
|
737
|
+
type PermissionsResourceUsersConnection {
|
|
738
|
+
edges: [PermissionsResourceUsersConnectionEdge!]!
|
|
739
|
+
pageInfo: PageInfo!
|
|
740
|
+
totalCount: Int!
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
type PermissionsResourceUsersConnectionEdge {
|
|
744
|
+
cursor: String!
|
|
745
|
+
node: PermissionsUser!
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
type PermissionsResourcesConnection {
|
|
749
|
+
edges: [PermissionsResourcesConnectionEdge!]!
|
|
750
|
+
pageInfo: PageInfo!
|
|
751
|
+
totalCount: Int!
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
type PermissionsResourcesConnectionEdge {
|
|
755
|
+
cursor: String!
|
|
756
|
+
node: PermissionsResource!
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
"""PermissionsUser"""
|
|
760
|
+
type PermissionsUser {
|
|
761
|
+
"""The contract within which these Permissions are granted."""
|
|
762
|
+
contract: AccountId!
|
|
763
|
+
|
|
764
|
+
"""A unique reference to this PermissionsUser."""
|
|
765
|
+
id: PermissionsUserId!
|
|
766
|
+
|
|
767
|
+
"""The Resource that this user has Roles within."""
|
|
768
|
+
resource: BigInt!
|
|
769
|
+
|
|
770
|
+
"""The Roles this User has been granted within this Resource."""
|
|
771
|
+
roles: BigInt!
|
|
772
|
+
|
|
773
|
+
"""The User for whom these Roles are granted."""
|
|
774
|
+
user: Account!
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
"""PermissionsUserId represents a enssdk#PermissionsUserId."""
|
|
778
|
+
scalar PermissionsUserId
|
|
779
|
+
|
|
780
|
+
type Query {
|
|
781
|
+
"""Identify an Account by ID or Address."""
|
|
782
|
+
account(by: AccountByInput!): Account
|
|
783
|
+
|
|
784
|
+
"""Identify a Domain by Name or DomainId"""
|
|
785
|
+
domain(by: DomainIdInput!): Domain
|
|
786
|
+
|
|
787
|
+
"""Find Domains by Name."""
|
|
788
|
+
domains(after: String, before: String, first: Int, last: Int, order: DomainsOrderInput, where: DomainsWhereInput!): QueryDomainsConnection
|
|
789
|
+
|
|
790
|
+
"""Identify Permissions by ID or AccountId."""
|
|
791
|
+
permissions(by: PermissionsIdInput!): Permissions
|
|
792
|
+
|
|
793
|
+
"""TODO"""
|
|
794
|
+
registrations(after: String, before: String, first: Int, last: Int): QueryRegistrationsConnection
|
|
795
|
+
|
|
796
|
+
"""Identify a Registry by ID or AccountId."""
|
|
797
|
+
registry(by: RegistryIdInput!): Registry
|
|
798
|
+
|
|
799
|
+
"""Identify a Resolver by ID or AccountId."""
|
|
800
|
+
resolver(by: ResolverIdInput!): Resolver
|
|
801
|
+
|
|
802
|
+
"""TODO"""
|
|
803
|
+
resolvers(after: String, before: String, first: Int, last: Int): QueryResolversConnection
|
|
804
|
+
|
|
805
|
+
"""The ENSv2 Root Registry, if exists."""
|
|
806
|
+
root: Registry
|
|
807
|
+
|
|
808
|
+
"""TODO"""
|
|
809
|
+
v1Domains(after: String, before: String, first: Int, last: Int): QueryV1DomainsConnection
|
|
810
|
+
|
|
811
|
+
"""TODO"""
|
|
812
|
+
v2Domains(after: String, before: String, first: Int, last: Int): QueryV2DomainsConnection
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
type QueryDomainsConnection {
|
|
816
|
+
edges: [QueryDomainsConnectionEdge!]!
|
|
817
|
+
pageInfo: PageInfo!
|
|
818
|
+
totalCount: Int!
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
type QueryDomainsConnectionEdge {
|
|
822
|
+
cursor: String!
|
|
823
|
+
node: Domain!
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
type QueryRegistrationsConnection {
|
|
827
|
+
edges: [QueryRegistrationsConnectionEdge!]!
|
|
828
|
+
pageInfo: PageInfo!
|
|
829
|
+
totalCount: Int!
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
type QueryRegistrationsConnectionEdge {
|
|
833
|
+
cursor: String!
|
|
834
|
+
node: Registration!
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
type QueryResolversConnection {
|
|
838
|
+
edges: [QueryResolversConnectionEdge!]!
|
|
839
|
+
pageInfo: PageInfo!
|
|
840
|
+
totalCount: Int!
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
type QueryResolversConnectionEdge {
|
|
844
|
+
cursor: String!
|
|
845
|
+
node: Resolver!
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
type QueryV1DomainsConnection {
|
|
849
|
+
edges: [QueryV1DomainsConnectionEdge!]!
|
|
850
|
+
pageInfo: PageInfo!
|
|
851
|
+
totalCount: Int!
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
type QueryV1DomainsConnectionEdge {
|
|
855
|
+
cursor: String!
|
|
856
|
+
node: ENSv1Domain!
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
type QueryV2DomainsConnection {
|
|
860
|
+
edges: [QueryV2DomainsConnectionEdge!]!
|
|
861
|
+
pageInfo: PageInfo!
|
|
862
|
+
totalCount: Int!
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
type QueryV2DomainsConnectionEdge {
|
|
866
|
+
cursor: String!
|
|
867
|
+
node: ENSv2Domain!
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
"""
|
|
871
|
+
A Registration represents a Domain's registration status within the various registries.
|
|
872
|
+
"""
|
|
873
|
+
interface Registration {
|
|
874
|
+
"""The Domain for which this Registration exists."""
|
|
875
|
+
domain: Domain!
|
|
876
|
+
|
|
877
|
+
"""The Event for which this Registration was created."""
|
|
878
|
+
event: Event!
|
|
879
|
+
|
|
880
|
+
"""
|
|
881
|
+
Indicates whether this Registration is expired. If the Registration is for an ENSv1Domain, a Registration is only considered `expired` after the Grace Period has elapsed.
|
|
882
|
+
"""
|
|
883
|
+
expired: Boolean!
|
|
884
|
+
|
|
885
|
+
"""A UnixTimestamp indicating the Registration's expiry, if exists."""
|
|
886
|
+
expiry: BigInt
|
|
887
|
+
|
|
888
|
+
"""A unique reference to this Registration."""
|
|
889
|
+
id: RegistrationId!
|
|
890
|
+
|
|
891
|
+
"""The extra `referrer` data provided with a Registration, if exists."""
|
|
892
|
+
referrer: Hex
|
|
893
|
+
|
|
894
|
+
"""The Registrant of a Registration, if exists."""
|
|
895
|
+
registrant: Account
|
|
896
|
+
|
|
897
|
+
"""The Registrar contract under which this Registration is managed."""
|
|
898
|
+
registrar: AccountId!
|
|
899
|
+
|
|
900
|
+
"""
|
|
901
|
+
Renewals that have occurred within this Registration's lifespan to extend its expiration.
|
|
902
|
+
"""
|
|
903
|
+
renewals(after: String, before: String, first: Int, last: Int): RegistrationRenewalsConnection
|
|
904
|
+
|
|
905
|
+
"""A UnixTimestamp indicating when this Registration was created."""
|
|
906
|
+
start: BigInt!
|
|
907
|
+
|
|
908
|
+
"""The Unregistrant of a Registration, if exists."""
|
|
909
|
+
unregistrant: Account
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
"""RegistrationId represents a enssdk#RegistrationId."""
|
|
913
|
+
scalar RegistrationId
|
|
914
|
+
|
|
915
|
+
type RegistrationRenewalsConnection {
|
|
916
|
+
edges: [RegistrationRenewalsConnectionEdge!]!
|
|
917
|
+
pageInfo: PageInfo!
|
|
918
|
+
totalCount: Int!
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
type RegistrationRenewalsConnectionEdge {
|
|
922
|
+
cursor: String!
|
|
923
|
+
node: Renewal!
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
"""A Registry represents an ENSv2 Registry contract."""
|
|
927
|
+
type Registry {
|
|
928
|
+
"""Contract metadata for this Registry"""
|
|
929
|
+
contract: AccountId!
|
|
930
|
+
|
|
931
|
+
"""The Domains managed by this Registry."""
|
|
932
|
+
domains(after: String, before: String, first: Int, last: Int, order: DomainsOrderInput, where: RegistryDomainsWhereInput): RegistryDomainsConnection
|
|
933
|
+
|
|
934
|
+
"""A unique reference to this Registry."""
|
|
935
|
+
id: RegistryId!
|
|
936
|
+
|
|
937
|
+
"""The Domains for which this Registry is a Subregistry."""
|
|
938
|
+
parents(after: String, before: String, first: Int, last: Int): RegistryParentsConnection
|
|
939
|
+
|
|
940
|
+
"""The Permissions managed by this Registry."""
|
|
941
|
+
permissions: Permissions
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
type RegistryDomainsConnection {
|
|
945
|
+
edges: [RegistryDomainsConnectionEdge!]!
|
|
946
|
+
pageInfo: PageInfo!
|
|
947
|
+
totalCount: Int!
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
type RegistryDomainsConnectionEdge {
|
|
951
|
+
cursor: String!
|
|
952
|
+
node: Domain!
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
"""Filter for Registry.domains query."""
|
|
956
|
+
input RegistryDomainsWhereInput {
|
|
957
|
+
"""
|
|
958
|
+
A partial Interpreted Name by which to filter Domains in this Registry.
|
|
959
|
+
"""
|
|
960
|
+
name: String
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
"""RegistryId represents a enssdk#RegistryId."""
|
|
964
|
+
scalar RegistryId
|
|
965
|
+
|
|
966
|
+
"""Address a Registry by ID or AccountId."""
|
|
967
|
+
input RegistryIdInput @oneOf {
|
|
968
|
+
contract: AccountIdInput
|
|
969
|
+
id: RegistryId
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
type RegistryParentsConnection {
|
|
973
|
+
edges: [RegistryParentsConnectionEdge!]!
|
|
974
|
+
pageInfo: PageInfo!
|
|
975
|
+
totalCount: Int!
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
type RegistryParentsConnectionEdge {
|
|
979
|
+
cursor: String!
|
|
980
|
+
node: ENSv2Domain!
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
type RegistryPermissionsUser {
|
|
984
|
+
"""A unique reference to this RegistryPermissionsUser."""
|
|
985
|
+
id: PermissionsUserId!
|
|
986
|
+
|
|
987
|
+
"""The Registry in which this Permission is granted."""
|
|
988
|
+
registry: Registry!
|
|
989
|
+
|
|
990
|
+
"""The Resource for which this Permission is granted."""
|
|
991
|
+
resource: BigInt!
|
|
992
|
+
|
|
993
|
+
"""The Roles that this Permission grants."""
|
|
994
|
+
roles: BigInt!
|
|
995
|
+
|
|
996
|
+
"""The User for whom these Roles are granted."""
|
|
997
|
+
user: Account!
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
"""A Renewal represents an extension of a Registration's expiry."""
|
|
1001
|
+
type Renewal {
|
|
1002
|
+
"""The `base` cost of a Renewal, in wei, if exists."""
|
|
1003
|
+
base: BigInt
|
|
1004
|
+
|
|
1005
|
+
"""The duration for which a Registration was extended."""
|
|
1006
|
+
duration: BigInt!
|
|
1007
|
+
|
|
1008
|
+
"""The Event for which this Renewal was created."""
|
|
1009
|
+
event: Event!
|
|
1010
|
+
|
|
1011
|
+
"""A unique reference to this Renewal."""
|
|
1012
|
+
id: RenewalId!
|
|
1013
|
+
|
|
1014
|
+
"""The `premium` cost of a Renewal, in wei, if exists."""
|
|
1015
|
+
premium: BigInt
|
|
1016
|
+
|
|
1017
|
+
"""The extra `referrer` data provided with a Renewal, if exists."""
|
|
1018
|
+
referrer: Hex
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
"""RenewalId represents a enssdk#RenewalId."""
|
|
1022
|
+
scalar RenewalId
|
|
1023
|
+
|
|
1024
|
+
"""A Resolver represents a Resolver contract on-chain."""
|
|
1025
|
+
type Resolver {
|
|
1026
|
+
"""Whether Resolver is a BridgedResolver."""
|
|
1027
|
+
bridged: AccountId
|
|
1028
|
+
|
|
1029
|
+
"""Contract metadata for this Resolver."""
|
|
1030
|
+
contract: AccountId!
|
|
1031
|
+
|
|
1032
|
+
"""All Events associated with this Resolver."""
|
|
1033
|
+
events(after: String, before: String, first: Int, last: Int, where: EventsWhereInput): ResolverEventsConnection
|
|
1034
|
+
|
|
1035
|
+
"""A unique reference to this Resolver."""
|
|
1036
|
+
id: ResolverId!
|
|
1037
|
+
|
|
1038
|
+
"""Permissions granted by this Resolver."""
|
|
1039
|
+
permissions: Permissions
|
|
1040
|
+
|
|
1041
|
+
"""ResolverRecords issued by this Resolver."""
|
|
1042
|
+
records(after: String, before: String, first: Int, last: Int): ResolverRecordsConnection
|
|
1043
|
+
|
|
1044
|
+
"""Identify a ResolverRecord by `name` or `node`."""
|
|
1045
|
+
records_(by: NameOrNodeInput!): ResolverRecords
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
type ResolverEventsConnection {
|
|
1049
|
+
edges: [ResolverEventsConnectionEdge!]!
|
|
1050
|
+
pageInfo: PageInfo!
|
|
1051
|
+
totalCount: Int!
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
type ResolverEventsConnectionEdge {
|
|
1055
|
+
cursor: String!
|
|
1056
|
+
node: Event!
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
"""ResolverId represents a enssdk#ResolverId."""
|
|
1060
|
+
scalar ResolverId
|
|
1061
|
+
|
|
1062
|
+
"""Address a Resolver by ID or AccountId."""
|
|
1063
|
+
input ResolverIdInput @oneOf {
|
|
1064
|
+
contract: AccountIdInput
|
|
1065
|
+
id: ResolverId
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
type ResolverPermissionsUser {
|
|
1069
|
+
"""A unique reference to this ResolverPermissionsUser."""
|
|
1070
|
+
id: PermissionsUserId!
|
|
1071
|
+
|
|
1072
|
+
"""The Resolver in which this Permission is granted."""
|
|
1073
|
+
resolver: Resolver!
|
|
1074
|
+
|
|
1075
|
+
"""The Resource for which this Permission is granted."""
|
|
1076
|
+
resource: BigInt!
|
|
1077
|
+
|
|
1078
|
+
"""The Roles that this Permission grants."""
|
|
1079
|
+
roles: BigInt!
|
|
1080
|
+
|
|
1081
|
+
"""The User for whom these Roles are granted."""
|
|
1082
|
+
user: Account!
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
"""ResolverRecords represents the _indexed_ records within a Resolver."""
|
|
1086
|
+
type ResolverRecords {
|
|
1087
|
+
"""Unique CoinTypes of `addr` records for this `node`."""
|
|
1088
|
+
coinTypes: [CoinType!]!
|
|
1089
|
+
|
|
1090
|
+
"""A unique reference to these ResolverRecords."""
|
|
1091
|
+
id: ResolverRecordsId!
|
|
1092
|
+
|
|
1093
|
+
"""Unique keys of `text` records for this `node`."""
|
|
1094
|
+
keys: [String!]!
|
|
1095
|
+
|
|
1096
|
+
"""The `name` record for this `node`, if any."""
|
|
1097
|
+
name: String
|
|
1098
|
+
|
|
1099
|
+
"""The Node for which these ResolverRecords are issued."""
|
|
1100
|
+
node: Node!
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
type ResolverRecordsConnection {
|
|
1104
|
+
edges: [ResolverRecordsConnectionEdge!]!
|
|
1105
|
+
pageInfo: PageInfo!
|
|
1106
|
+
totalCount: Int!
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
type ResolverRecordsConnectionEdge {
|
|
1110
|
+
cursor: String!
|
|
1111
|
+
node: ResolverRecords!
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
"""ResolverRecordsId represents a enssdk#ResolverRecordsId."""
|
|
1115
|
+
scalar ResolverRecordsId
|
|
1116
|
+
|
|
1117
|
+
"""Filter for Domain.subdomains query."""
|
|
1118
|
+
input SubdomainsWhereInput {
|
|
1119
|
+
"""A partial Interpreted Name by which to filter subdomains."""
|
|
1120
|
+
name: String
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
"""ThreeDNSRegistration represents a Registration within ThreeDNSToken."""
|
|
1124
|
+
type ThreeDNSRegistration implements Registration {
|
|
1125
|
+
"""The Domain for which this Registration exists."""
|
|
1126
|
+
domain: Domain!
|
|
1127
|
+
|
|
1128
|
+
"""The Event for which this Registration was created."""
|
|
1129
|
+
event: Event!
|
|
1130
|
+
|
|
1131
|
+
"""
|
|
1132
|
+
Indicates whether this Registration is expired. If the Registration is for an ENSv1Domain, a Registration is only considered `expired` after the Grace Period has elapsed.
|
|
1133
|
+
"""
|
|
1134
|
+
expired: Boolean!
|
|
1135
|
+
|
|
1136
|
+
"""A UnixTimestamp indicating the Registration's expiry, if exists."""
|
|
1137
|
+
expiry: BigInt
|
|
1138
|
+
|
|
1139
|
+
"""A unique reference to this Registration."""
|
|
1140
|
+
id: RegistrationId!
|
|
1141
|
+
|
|
1142
|
+
"""The extra `referrer` data provided with a Registration, if exists."""
|
|
1143
|
+
referrer: Hex
|
|
1144
|
+
|
|
1145
|
+
"""The Registrant of a Registration, if exists."""
|
|
1146
|
+
registrant: Account
|
|
1147
|
+
|
|
1148
|
+
"""The Registrar contract under which this Registration is managed."""
|
|
1149
|
+
registrar: AccountId!
|
|
1150
|
+
|
|
1151
|
+
"""
|
|
1152
|
+
Renewals that have occurred within this Registration's lifespan to extend its expiration.
|
|
1153
|
+
"""
|
|
1154
|
+
renewals(after: String, before: String, first: Int, last: Int): RegistrationRenewalsConnection
|
|
1155
|
+
|
|
1156
|
+
"""A UnixTimestamp indicating when this Registration was created."""
|
|
1157
|
+
start: BigInt!
|
|
1158
|
+
|
|
1159
|
+
"""The Unregistrant of a Registration, if exists."""
|
|
1160
|
+
unregistrant: Account
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
"""
|
|
1164
|
+
Additional metadata for BaseRegistrar Registrations wrapped by the NameWrapper (i.e. in the case of a wrapped .eth name)
|
|
1165
|
+
"""
|
|
1166
|
+
type WrappedBaseRegistrarRegistration {
|
|
1167
|
+
"""The Fuses for this Registration's Domain in the NameWrapper."""
|
|
1168
|
+
fuses: Int!
|
|
1169
|
+
|
|
1170
|
+
"""The TokenID for this Domain in the NameWrapper."""
|
|
1171
|
+
tokenId: BigInt!
|
|
1172
|
+
}
|