@towns-protocol/generated 0.0.211 → 0.0.213
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/dev/abis/Channels.abi.json +30 -0
- package/dev/abis/Channels.abi.ts +30 -0
- package/dev/abis/DropFacet.abi.json +36 -0
- package/dev/abis/DropFacet.abi.ts +36 -0
- package/dev/abis/MembershipFacet.abi.json +5 -0
- package/dev/abis/MembershipFacet.abi.ts +5 -0
- package/dev/abis/Roles.abi.json +5 -0
- package/dev/abis/Roles.abi.ts +5 -0
- package/dev/typings/Architect.ts +513 -0
- package/dev/typings/Channels.ts +1003 -0
- package/dev/typings/DropFacet.ts +687 -0
- package/dev/typings/EntitlementsManager.ts +612 -0
- package/dev/typings/IDropFacet.ts +11 -3
- package/dev/typings/MockLegacyArchitect.ts +402 -0
- package/dev/typings/NodeRegistry.ts +470 -0
- package/dev/typings/OperatorRegistry.ts +345 -0
- package/dev/typings/Roles.ts +984 -0
- package/dev/typings/StreamRegistry.ts +737 -0
- package/dev/typings/WalletLink.ts +975 -0
- package/dev/typings/factories/Architect__factory.ts +406 -0
- package/dev/typings/factories/Channels__factory.ts +1037 -0
- package/dev/typings/factories/DropFacet__factory.ts +816 -0
- package/dev/typings/factories/EntitlementsManager__factory.ts +688 -0
- package/dev/typings/factories/IChannel__factory.ts +25 -0
- package/dev/typings/factories/IDropFacet__factory.ts +15 -0
- package/dev/typings/factories/IRoles__factory.ts +5 -0
- package/dev/typings/factories/MembershipFacet__factory.ts +6 -1
- package/dev/typings/factories/MockLegacyArchitect__factory.ts +433 -0
- package/dev/typings/factories/NodeRegistry__factory.ts +335 -0
- package/dev/typings/factories/OperatorRegistry__factory.ts +254 -0
- package/dev/typings/factories/Roles__factory.ts +998 -0
- package/dev/typings/factories/SpaceOwner__factory.ts +1 -11
- package/dev/typings/factories/StreamRegistry__factory.ts +604 -0
- package/dev/typings/factories/WalletLink__factory.ts +899 -0
- package/dev/typings/factories/index.ts +10 -0
- package/dev/typings/index.ts +20 -0
- package/package.json +2 -2
|
@@ -0,0 +1,1037 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type { PromiseOrValue } from "../common";
|
|
7
|
+
import type { Channels, ChannelsInterface } from "../Channels";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
type: "function",
|
|
12
|
+
name: "addRoleToChannel",
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
name: "channelId",
|
|
16
|
+
type: "bytes32",
|
|
17
|
+
internalType: "bytes32",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: "roleId",
|
|
21
|
+
type: "uint256",
|
|
22
|
+
internalType: "uint256",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
outputs: [],
|
|
26
|
+
stateMutability: "nonpayable",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
type: "function",
|
|
30
|
+
name: "createChannel",
|
|
31
|
+
inputs: [
|
|
32
|
+
{
|
|
33
|
+
name: "channelId",
|
|
34
|
+
type: "bytes32",
|
|
35
|
+
internalType: "bytes32",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: "metadata",
|
|
39
|
+
type: "string",
|
|
40
|
+
internalType: "string",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: "roleIds",
|
|
44
|
+
type: "uint256[]",
|
|
45
|
+
internalType: "uint256[]",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
outputs: [],
|
|
49
|
+
stateMutability: "nonpayable",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
type: "function",
|
|
53
|
+
name: "createChannelWithOverridePermissions",
|
|
54
|
+
inputs: [
|
|
55
|
+
{
|
|
56
|
+
name: "channelId",
|
|
57
|
+
type: "bytes32",
|
|
58
|
+
internalType: "bytes32",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: "metadata",
|
|
62
|
+
type: "string",
|
|
63
|
+
internalType: "string",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: "rolePermissions",
|
|
67
|
+
type: "tuple[]",
|
|
68
|
+
internalType: "struct IChannelBase.RolePermissions[]",
|
|
69
|
+
components: [
|
|
70
|
+
{
|
|
71
|
+
name: "roleId",
|
|
72
|
+
type: "uint256",
|
|
73
|
+
internalType: "uint256",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: "permissions",
|
|
77
|
+
type: "string[]",
|
|
78
|
+
internalType: "string[]",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
outputs: [],
|
|
84
|
+
stateMutability: "nonpayable",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
type: "function",
|
|
88
|
+
name: "getChannel",
|
|
89
|
+
inputs: [
|
|
90
|
+
{
|
|
91
|
+
name: "channelId",
|
|
92
|
+
type: "bytes32",
|
|
93
|
+
internalType: "bytes32",
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
outputs: [
|
|
97
|
+
{
|
|
98
|
+
name: "channel",
|
|
99
|
+
type: "tuple",
|
|
100
|
+
internalType: "struct IChannelBase.Channel",
|
|
101
|
+
components: [
|
|
102
|
+
{
|
|
103
|
+
name: "id",
|
|
104
|
+
type: "bytes32",
|
|
105
|
+
internalType: "bytes32",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: "disabled",
|
|
109
|
+
type: "bool",
|
|
110
|
+
internalType: "bool",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: "metadata",
|
|
114
|
+
type: "string",
|
|
115
|
+
internalType: "string",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: "roleIds",
|
|
119
|
+
type: "uint256[]",
|
|
120
|
+
internalType: "uint256[]",
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
stateMutability: "view",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
type: "function",
|
|
129
|
+
name: "getChannels",
|
|
130
|
+
inputs: [],
|
|
131
|
+
outputs: [
|
|
132
|
+
{
|
|
133
|
+
name: "channels",
|
|
134
|
+
type: "tuple[]",
|
|
135
|
+
internalType: "struct IChannelBase.Channel[]",
|
|
136
|
+
components: [
|
|
137
|
+
{
|
|
138
|
+
name: "id",
|
|
139
|
+
type: "bytes32",
|
|
140
|
+
internalType: "bytes32",
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
name: "disabled",
|
|
144
|
+
type: "bool",
|
|
145
|
+
internalType: "bool",
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name: "metadata",
|
|
149
|
+
type: "string",
|
|
150
|
+
internalType: "string",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
name: "roleIds",
|
|
154
|
+
type: "uint256[]",
|
|
155
|
+
internalType: "uint256[]",
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
},
|
|
159
|
+
],
|
|
160
|
+
stateMutability: "view",
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
type: "function",
|
|
164
|
+
name: "getRolesByChannel",
|
|
165
|
+
inputs: [
|
|
166
|
+
{
|
|
167
|
+
name: "channelId",
|
|
168
|
+
type: "bytes32",
|
|
169
|
+
internalType: "bytes32",
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
outputs: [
|
|
173
|
+
{
|
|
174
|
+
name: "roleIds",
|
|
175
|
+
type: "uint256[]",
|
|
176
|
+
internalType: "uint256[]",
|
|
177
|
+
},
|
|
178
|
+
],
|
|
179
|
+
stateMutability: "view",
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
type: "function",
|
|
183
|
+
name: "removeChannel",
|
|
184
|
+
inputs: [
|
|
185
|
+
{
|
|
186
|
+
name: "channelId",
|
|
187
|
+
type: "bytes32",
|
|
188
|
+
internalType: "bytes32",
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
outputs: [],
|
|
192
|
+
stateMutability: "nonpayable",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
type: "function",
|
|
196
|
+
name: "removeRoleFromChannel",
|
|
197
|
+
inputs: [
|
|
198
|
+
{
|
|
199
|
+
name: "channelId",
|
|
200
|
+
type: "bytes32",
|
|
201
|
+
internalType: "bytes32",
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
name: "roleId",
|
|
205
|
+
type: "uint256",
|
|
206
|
+
internalType: "uint256",
|
|
207
|
+
},
|
|
208
|
+
],
|
|
209
|
+
outputs: [],
|
|
210
|
+
stateMutability: "nonpayable",
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
type: "function",
|
|
214
|
+
name: "updateChannel",
|
|
215
|
+
inputs: [
|
|
216
|
+
{
|
|
217
|
+
name: "channelId",
|
|
218
|
+
type: "bytes32",
|
|
219
|
+
internalType: "bytes32",
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
name: "metadata",
|
|
223
|
+
type: "string",
|
|
224
|
+
internalType: "string",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
name: "disabled",
|
|
228
|
+
type: "bool",
|
|
229
|
+
internalType: "bool",
|
|
230
|
+
},
|
|
231
|
+
],
|
|
232
|
+
outputs: [],
|
|
233
|
+
stateMutability: "nonpayable",
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
type: "event",
|
|
237
|
+
name: "Approval",
|
|
238
|
+
inputs: [
|
|
239
|
+
{
|
|
240
|
+
name: "owner",
|
|
241
|
+
type: "address",
|
|
242
|
+
indexed: true,
|
|
243
|
+
internalType: "address",
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
name: "approved",
|
|
247
|
+
type: "address",
|
|
248
|
+
indexed: true,
|
|
249
|
+
internalType: "address",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
name: "tokenId",
|
|
253
|
+
type: "uint256",
|
|
254
|
+
indexed: true,
|
|
255
|
+
internalType: "uint256",
|
|
256
|
+
},
|
|
257
|
+
],
|
|
258
|
+
anonymous: false,
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
type: "event",
|
|
262
|
+
name: "ApprovalForAll",
|
|
263
|
+
inputs: [
|
|
264
|
+
{
|
|
265
|
+
name: "owner",
|
|
266
|
+
type: "address",
|
|
267
|
+
indexed: true,
|
|
268
|
+
internalType: "address",
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
name: "operator",
|
|
272
|
+
type: "address",
|
|
273
|
+
indexed: true,
|
|
274
|
+
internalType: "address",
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
name: "approved",
|
|
278
|
+
type: "bool",
|
|
279
|
+
indexed: false,
|
|
280
|
+
internalType: "bool",
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
anonymous: false,
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
type: "event",
|
|
287
|
+
name: "Banned",
|
|
288
|
+
inputs: [
|
|
289
|
+
{
|
|
290
|
+
name: "moderator",
|
|
291
|
+
type: "address",
|
|
292
|
+
indexed: true,
|
|
293
|
+
internalType: "address",
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
name: "tokenId",
|
|
297
|
+
type: "uint256",
|
|
298
|
+
indexed: true,
|
|
299
|
+
internalType: "uint256",
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
anonymous: false,
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
type: "event",
|
|
306
|
+
name: "ChannelCreated",
|
|
307
|
+
inputs: [
|
|
308
|
+
{
|
|
309
|
+
name: "caller",
|
|
310
|
+
type: "address",
|
|
311
|
+
indexed: true,
|
|
312
|
+
internalType: "address",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
name: "channelId",
|
|
316
|
+
type: "bytes32",
|
|
317
|
+
indexed: false,
|
|
318
|
+
internalType: "bytes32",
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
anonymous: false,
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
type: "event",
|
|
325
|
+
name: "ChannelRemoved",
|
|
326
|
+
inputs: [
|
|
327
|
+
{
|
|
328
|
+
name: "caller",
|
|
329
|
+
type: "address",
|
|
330
|
+
indexed: true,
|
|
331
|
+
internalType: "address",
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
name: "channelId",
|
|
335
|
+
type: "bytes32",
|
|
336
|
+
indexed: false,
|
|
337
|
+
internalType: "bytes32",
|
|
338
|
+
},
|
|
339
|
+
],
|
|
340
|
+
anonymous: false,
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
type: "event",
|
|
344
|
+
name: "ChannelRoleAdded",
|
|
345
|
+
inputs: [
|
|
346
|
+
{
|
|
347
|
+
name: "caller",
|
|
348
|
+
type: "address",
|
|
349
|
+
indexed: true,
|
|
350
|
+
internalType: "address",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
name: "channelId",
|
|
354
|
+
type: "bytes32",
|
|
355
|
+
indexed: false,
|
|
356
|
+
internalType: "bytes32",
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
name: "roleId",
|
|
360
|
+
type: "uint256",
|
|
361
|
+
indexed: false,
|
|
362
|
+
internalType: "uint256",
|
|
363
|
+
},
|
|
364
|
+
],
|
|
365
|
+
anonymous: false,
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
type: "event",
|
|
369
|
+
name: "ChannelRoleRemoved",
|
|
370
|
+
inputs: [
|
|
371
|
+
{
|
|
372
|
+
name: "caller",
|
|
373
|
+
type: "address",
|
|
374
|
+
indexed: true,
|
|
375
|
+
internalType: "address",
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
name: "channelId",
|
|
379
|
+
type: "bytes32",
|
|
380
|
+
indexed: false,
|
|
381
|
+
internalType: "bytes32",
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
name: "roleId",
|
|
385
|
+
type: "uint256",
|
|
386
|
+
indexed: false,
|
|
387
|
+
internalType: "uint256",
|
|
388
|
+
},
|
|
389
|
+
],
|
|
390
|
+
anonymous: false,
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
type: "event",
|
|
394
|
+
name: "ChannelUpdated",
|
|
395
|
+
inputs: [
|
|
396
|
+
{
|
|
397
|
+
name: "caller",
|
|
398
|
+
type: "address",
|
|
399
|
+
indexed: true,
|
|
400
|
+
internalType: "address",
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
name: "channelId",
|
|
404
|
+
type: "bytes32",
|
|
405
|
+
indexed: false,
|
|
406
|
+
internalType: "bytes32",
|
|
407
|
+
},
|
|
408
|
+
],
|
|
409
|
+
anonymous: false,
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
type: "event",
|
|
413
|
+
name: "ConsecutiveTransfer",
|
|
414
|
+
inputs: [
|
|
415
|
+
{
|
|
416
|
+
name: "fromTokenId",
|
|
417
|
+
type: "uint256",
|
|
418
|
+
indexed: true,
|
|
419
|
+
internalType: "uint256",
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
name: "toTokenId",
|
|
423
|
+
type: "uint256",
|
|
424
|
+
indexed: false,
|
|
425
|
+
internalType: "uint256",
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
name: "from",
|
|
429
|
+
type: "address",
|
|
430
|
+
indexed: true,
|
|
431
|
+
internalType: "address",
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
name: "to",
|
|
435
|
+
type: "address",
|
|
436
|
+
indexed: true,
|
|
437
|
+
internalType: "address",
|
|
438
|
+
},
|
|
439
|
+
],
|
|
440
|
+
anonymous: false,
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
type: "event",
|
|
444
|
+
name: "Initialized",
|
|
445
|
+
inputs: [
|
|
446
|
+
{
|
|
447
|
+
name: "version",
|
|
448
|
+
type: "uint32",
|
|
449
|
+
indexed: false,
|
|
450
|
+
internalType: "uint32",
|
|
451
|
+
},
|
|
452
|
+
],
|
|
453
|
+
anonymous: false,
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
type: "event",
|
|
457
|
+
name: "InterfaceAdded",
|
|
458
|
+
inputs: [
|
|
459
|
+
{
|
|
460
|
+
name: "interfaceId",
|
|
461
|
+
type: "bytes4",
|
|
462
|
+
indexed: true,
|
|
463
|
+
internalType: "bytes4",
|
|
464
|
+
},
|
|
465
|
+
],
|
|
466
|
+
anonymous: false,
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
type: "event",
|
|
470
|
+
name: "InterfaceRemoved",
|
|
471
|
+
inputs: [
|
|
472
|
+
{
|
|
473
|
+
name: "interfaceId",
|
|
474
|
+
type: "bytes4",
|
|
475
|
+
indexed: true,
|
|
476
|
+
internalType: "bytes4",
|
|
477
|
+
},
|
|
478
|
+
],
|
|
479
|
+
anonymous: false,
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
type: "event",
|
|
483
|
+
name: "OwnershipTransferred",
|
|
484
|
+
inputs: [
|
|
485
|
+
{
|
|
486
|
+
name: "previousOwner",
|
|
487
|
+
type: "address",
|
|
488
|
+
indexed: true,
|
|
489
|
+
internalType: "address",
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
name: "newOwner",
|
|
493
|
+
type: "address",
|
|
494
|
+
indexed: true,
|
|
495
|
+
internalType: "address",
|
|
496
|
+
},
|
|
497
|
+
],
|
|
498
|
+
anonymous: false,
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
type: "event",
|
|
502
|
+
name: "Paused",
|
|
503
|
+
inputs: [
|
|
504
|
+
{
|
|
505
|
+
name: "account",
|
|
506
|
+
type: "address",
|
|
507
|
+
indexed: false,
|
|
508
|
+
internalType: "address",
|
|
509
|
+
},
|
|
510
|
+
],
|
|
511
|
+
anonymous: false,
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
type: "event",
|
|
515
|
+
name: "PermissionsAddedToChannelRole",
|
|
516
|
+
inputs: [
|
|
517
|
+
{
|
|
518
|
+
name: "updater",
|
|
519
|
+
type: "address",
|
|
520
|
+
indexed: true,
|
|
521
|
+
internalType: "address",
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
name: "roleId",
|
|
525
|
+
type: "uint256",
|
|
526
|
+
indexed: true,
|
|
527
|
+
internalType: "uint256",
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
name: "channelId",
|
|
531
|
+
type: "bytes32",
|
|
532
|
+
indexed: true,
|
|
533
|
+
internalType: "bytes32",
|
|
534
|
+
},
|
|
535
|
+
],
|
|
536
|
+
anonymous: false,
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
type: "event",
|
|
540
|
+
name: "PermissionsRemovedFromChannelRole",
|
|
541
|
+
inputs: [
|
|
542
|
+
{
|
|
543
|
+
name: "updater",
|
|
544
|
+
type: "address",
|
|
545
|
+
indexed: true,
|
|
546
|
+
internalType: "address",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
name: "roleId",
|
|
550
|
+
type: "uint256",
|
|
551
|
+
indexed: true,
|
|
552
|
+
internalType: "uint256",
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
name: "channelId",
|
|
556
|
+
type: "bytes32",
|
|
557
|
+
indexed: true,
|
|
558
|
+
internalType: "bytes32",
|
|
559
|
+
},
|
|
560
|
+
],
|
|
561
|
+
anonymous: false,
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
type: "event",
|
|
565
|
+
name: "PermissionsUpdatedForChannelRole",
|
|
566
|
+
inputs: [
|
|
567
|
+
{
|
|
568
|
+
name: "updater",
|
|
569
|
+
type: "address",
|
|
570
|
+
indexed: true,
|
|
571
|
+
internalType: "address",
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
name: "roleId",
|
|
575
|
+
type: "uint256",
|
|
576
|
+
indexed: true,
|
|
577
|
+
internalType: "uint256",
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
name: "channelId",
|
|
581
|
+
type: "bytes32",
|
|
582
|
+
indexed: true,
|
|
583
|
+
internalType: "bytes32",
|
|
584
|
+
},
|
|
585
|
+
],
|
|
586
|
+
anonymous: false,
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
type: "event",
|
|
590
|
+
name: "RoleCreated",
|
|
591
|
+
inputs: [
|
|
592
|
+
{
|
|
593
|
+
name: "creator",
|
|
594
|
+
type: "address",
|
|
595
|
+
indexed: true,
|
|
596
|
+
internalType: "address",
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
name: "roleId",
|
|
600
|
+
type: "uint256",
|
|
601
|
+
indexed: true,
|
|
602
|
+
internalType: "uint256",
|
|
603
|
+
},
|
|
604
|
+
],
|
|
605
|
+
anonymous: false,
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
type: "event",
|
|
609
|
+
name: "RoleRemoved",
|
|
610
|
+
inputs: [
|
|
611
|
+
{
|
|
612
|
+
name: "remover",
|
|
613
|
+
type: "address",
|
|
614
|
+
indexed: true,
|
|
615
|
+
internalType: "address",
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
name: "roleId",
|
|
619
|
+
type: "uint256",
|
|
620
|
+
indexed: true,
|
|
621
|
+
internalType: "uint256",
|
|
622
|
+
},
|
|
623
|
+
],
|
|
624
|
+
anonymous: false,
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
type: "event",
|
|
628
|
+
name: "RoleUpdated",
|
|
629
|
+
inputs: [
|
|
630
|
+
{
|
|
631
|
+
name: "updater",
|
|
632
|
+
type: "address",
|
|
633
|
+
indexed: true,
|
|
634
|
+
internalType: "address",
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
name: "roleId",
|
|
638
|
+
type: "uint256",
|
|
639
|
+
indexed: true,
|
|
640
|
+
internalType: "uint256",
|
|
641
|
+
},
|
|
642
|
+
],
|
|
643
|
+
anonymous: false,
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
type: "event",
|
|
647
|
+
name: "SubscriptionUpdate",
|
|
648
|
+
inputs: [
|
|
649
|
+
{
|
|
650
|
+
name: "tokenId",
|
|
651
|
+
type: "uint256",
|
|
652
|
+
indexed: true,
|
|
653
|
+
internalType: "uint256",
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
name: "expiration",
|
|
657
|
+
type: "uint64",
|
|
658
|
+
indexed: false,
|
|
659
|
+
internalType: "uint64",
|
|
660
|
+
},
|
|
661
|
+
],
|
|
662
|
+
anonymous: false,
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
type: "event",
|
|
666
|
+
name: "Transfer",
|
|
667
|
+
inputs: [
|
|
668
|
+
{
|
|
669
|
+
name: "from",
|
|
670
|
+
type: "address",
|
|
671
|
+
indexed: true,
|
|
672
|
+
internalType: "address",
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
name: "to",
|
|
676
|
+
type: "address",
|
|
677
|
+
indexed: true,
|
|
678
|
+
internalType: "address",
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
name: "tokenId",
|
|
682
|
+
type: "uint256",
|
|
683
|
+
indexed: true,
|
|
684
|
+
internalType: "uint256",
|
|
685
|
+
},
|
|
686
|
+
],
|
|
687
|
+
anonymous: false,
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
type: "event",
|
|
691
|
+
name: "Unbanned",
|
|
692
|
+
inputs: [
|
|
693
|
+
{
|
|
694
|
+
name: "moderator",
|
|
695
|
+
type: "address",
|
|
696
|
+
indexed: true,
|
|
697
|
+
internalType: "address",
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
name: "tokenId",
|
|
701
|
+
type: "uint256",
|
|
702
|
+
indexed: true,
|
|
703
|
+
internalType: "uint256",
|
|
704
|
+
},
|
|
705
|
+
],
|
|
706
|
+
anonymous: false,
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
type: "event",
|
|
710
|
+
name: "Unpaused",
|
|
711
|
+
inputs: [
|
|
712
|
+
{
|
|
713
|
+
name: "account",
|
|
714
|
+
type: "address",
|
|
715
|
+
indexed: false,
|
|
716
|
+
internalType: "address",
|
|
717
|
+
},
|
|
718
|
+
],
|
|
719
|
+
anonymous: false,
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
type: "error",
|
|
723
|
+
name: "ApprovalCallerNotOwnerNorApproved",
|
|
724
|
+
inputs: [],
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
type: "error",
|
|
728
|
+
name: "ApprovalQueryForNonexistentToken",
|
|
729
|
+
inputs: [],
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
type: "error",
|
|
733
|
+
name: "BalanceQueryForZeroAddress",
|
|
734
|
+
inputs: [],
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
type: "error",
|
|
738
|
+
name: "Banning__AlreadyBanned",
|
|
739
|
+
inputs: [
|
|
740
|
+
{
|
|
741
|
+
name: "tokenId",
|
|
742
|
+
type: "uint256",
|
|
743
|
+
internalType: "uint256",
|
|
744
|
+
},
|
|
745
|
+
],
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
type: "error",
|
|
749
|
+
name: "Banning__CannotBanOwner",
|
|
750
|
+
inputs: [],
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
type: "error",
|
|
754
|
+
name: "Banning__CannotBanSelf",
|
|
755
|
+
inputs: [],
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
type: "error",
|
|
759
|
+
name: "Banning__InvalidTokenId",
|
|
760
|
+
inputs: [
|
|
761
|
+
{
|
|
762
|
+
name: "tokenId",
|
|
763
|
+
type: "uint256",
|
|
764
|
+
internalType: "uint256",
|
|
765
|
+
},
|
|
766
|
+
],
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
type: "error",
|
|
770
|
+
name: "Banning__NotBanned",
|
|
771
|
+
inputs: [
|
|
772
|
+
{
|
|
773
|
+
name: "tokenId",
|
|
774
|
+
type: "uint256",
|
|
775
|
+
internalType: "uint256",
|
|
776
|
+
},
|
|
777
|
+
],
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
type: "error",
|
|
781
|
+
name: "ChannelService__ChannelAlreadyExists",
|
|
782
|
+
inputs: [],
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
type: "error",
|
|
786
|
+
name: "ChannelService__ChannelDisabled",
|
|
787
|
+
inputs: [],
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
type: "error",
|
|
791
|
+
name: "ChannelService__ChannelDoesNotExist",
|
|
792
|
+
inputs: [],
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
type: "error",
|
|
796
|
+
name: "ChannelService__RoleAlreadyExists",
|
|
797
|
+
inputs: [],
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
type: "error",
|
|
801
|
+
name: "ChannelService__RoleDoesNotExist",
|
|
802
|
+
inputs: [],
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
type: "error",
|
|
806
|
+
name: "ERC5643__DurationZero",
|
|
807
|
+
inputs: [],
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
type: "error",
|
|
811
|
+
name: "ERC5643__InvalidTokenId",
|
|
812
|
+
inputs: [
|
|
813
|
+
{
|
|
814
|
+
name: "tokenId",
|
|
815
|
+
type: "uint256",
|
|
816
|
+
internalType: "uint256",
|
|
817
|
+
},
|
|
818
|
+
],
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
type: "error",
|
|
822
|
+
name: "ERC5643__NotApprovedOrOwner",
|
|
823
|
+
inputs: [],
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
type: "error",
|
|
827
|
+
name: "ERC5643__SubscriptionNotRenewable",
|
|
828
|
+
inputs: [
|
|
829
|
+
{
|
|
830
|
+
name: "tokenId",
|
|
831
|
+
type: "uint256",
|
|
832
|
+
internalType: "uint256",
|
|
833
|
+
},
|
|
834
|
+
],
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
type: "error",
|
|
838
|
+
name: "Entitlement__InvalidValue",
|
|
839
|
+
inputs: [],
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
type: "error",
|
|
843
|
+
name: "Entitlement__NotAllowed",
|
|
844
|
+
inputs: [],
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
type: "error",
|
|
848
|
+
name: "Entitlement__NotMember",
|
|
849
|
+
inputs: [],
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
type: "error",
|
|
853
|
+
name: "Entitlement__ValueAlreadyExists",
|
|
854
|
+
inputs: [],
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
type: "error",
|
|
858
|
+
name: "Initializable_InInitializingState",
|
|
859
|
+
inputs: [],
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
type: "error",
|
|
863
|
+
name: "Introspection_AlreadySupported",
|
|
864
|
+
inputs: [],
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
type: "error",
|
|
868
|
+
name: "Introspection_NotSupported",
|
|
869
|
+
inputs: [],
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
type: "error",
|
|
873
|
+
name: "MintERC2309QuantityExceedsLimit",
|
|
874
|
+
inputs: [],
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
type: "error",
|
|
878
|
+
name: "MintToZeroAddress",
|
|
879
|
+
inputs: [],
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
type: "error",
|
|
883
|
+
name: "MintZeroQuantity",
|
|
884
|
+
inputs: [],
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
type: "error",
|
|
888
|
+
name: "Ownable__NotOwner",
|
|
889
|
+
inputs: [
|
|
890
|
+
{
|
|
891
|
+
name: "account",
|
|
892
|
+
type: "address",
|
|
893
|
+
internalType: "address",
|
|
894
|
+
},
|
|
895
|
+
],
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
type: "error",
|
|
899
|
+
name: "Ownable__ZeroAddress",
|
|
900
|
+
inputs: [],
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
type: "error",
|
|
904
|
+
name: "OwnerQueryForNonexistentToken",
|
|
905
|
+
inputs: [],
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
type: "error",
|
|
909
|
+
name: "OwnershipNotInitializedForExtraData",
|
|
910
|
+
inputs: [],
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
type: "error",
|
|
914
|
+
name: "Pausable__NotPaused",
|
|
915
|
+
inputs: [],
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
type: "error",
|
|
919
|
+
name: "Pausable__Paused",
|
|
920
|
+
inputs: [],
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
type: "error",
|
|
924
|
+
name: "Roles__EntitlementAlreadyExists",
|
|
925
|
+
inputs: [],
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
type: "error",
|
|
929
|
+
name: "Roles__EntitlementDoesNotExist",
|
|
930
|
+
inputs: [],
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
type: "error",
|
|
934
|
+
name: "Roles__InvalidEntitlementAddress",
|
|
935
|
+
inputs: [],
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
type: "error",
|
|
939
|
+
name: "Roles__InvalidPermission",
|
|
940
|
+
inputs: [],
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
type: "error",
|
|
944
|
+
name: "Roles__PermissionAlreadyExists",
|
|
945
|
+
inputs: [],
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
type: "error",
|
|
949
|
+
name: "Roles__PermissionDoesNotExist",
|
|
950
|
+
inputs: [],
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
type: "error",
|
|
954
|
+
name: "Roles__RoleDoesNotExist",
|
|
955
|
+
inputs: [],
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
type: "error",
|
|
959
|
+
name: "Roles__RoleIsImmutable",
|
|
960
|
+
inputs: [],
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
type: "error",
|
|
964
|
+
name: "TransferCallerNotOwnerNorApproved",
|
|
965
|
+
inputs: [],
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
type: "error",
|
|
969
|
+
name: "TransferFromIncorrectOwner",
|
|
970
|
+
inputs: [],
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
type: "error",
|
|
974
|
+
name: "TransferToNonERC721ReceiverImplementer",
|
|
975
|
+
inputs: [],
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
type: "error",
|
|
979
|
+
name: "TransferToZeroAddress",
|
|
980
|
+
inputs: [],
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
type: "error",
|
|
984
|
+
name: "URIQueryForNonexistentToken",
|
|
985
|
+
inputs: [],
|
|
986
|
+
},
|
|
987
|
+
] as const;
|
|
988
|
+
|
|
989
|
+
const _bytecode =
|
|
990
|
+
"0x6080604052348015600e575f5ffd5b5060156019565b60bd565b7f59b501c3653afc186af7d48dda36cf6732bd21629a6295693664240a6ef520008054640100000000900460ff16156064576040516366008a2d60e01b815260040160405180910390fd5b805463ffffffff908116101560ba57805463ffffffff191663ffffffff90811782556040519081527fe9c9b456cb2994b80aeef036cf59d26e9617df80f816a6ee5a5b4166e07e2f5c9060200160405180910390a15b50565b612880806100ca5f395ff3fe608060405234801561000f575f5ffd5b506004361061009f575f3560e01c8063921f7175116100725780639935218311610058578063993521831461012f578063b9de61591461014f578063ef86d69614610162575f5ffd5b8063921f7175146101075780639575f6ac1461011a575f5ffd5b806302da0e51146100a357806337644cf7146100b85780635a2dce7a146100cb578063831c2b82146100de575b5f5ffd5b6100b66100b1366004611ed5565b610175565b005b6100b66100c6366004611eec565b6101bf565b6100b66100d9366004611f92565b61020b565b6100f16100ec366004611ed5565b61036d565b6040516100fe91906120c5565b60405180910390f35b6100b6610115366004611f92565b6103a7565b61012261042a565b6040516100fe91906120d7565b61014261013d366004611ed5565b610439565b6040516100fe9190612158565b6100b661015d366004611eec565b610444565b6100b66101703660046121a7565b61048c565b6101b36040518060400160405280601181526020017f41646452656d6f76654368616e6e656c730000000000000000000000000000008152506104dc565b6101bc81610513565b50565b6101fd6040518060400160405280601181526020017f41646452656d6f76654368616e6e656c730000000000000000000000000000008152506104dc565b6102078282610554565b5050565b6102496040518060400160405280601181526020017f41646452656d6f76654368616e6e656c730000000000000000000000000000008152506104dc565b5f8167ffffffffffffffff81111561026357610263612202565b60405190808252806020026020018201604052801561028c578160200160208202803683370190505b5090505f5b828110156102e5578383828181106102ab576102ab61222f565b90506020028101906102bd919061225c565b5f01358282815181106102d2576102d261222f565b6020908102919091010152600101610291565b506102f28686868461059e565b5f5b828110156103645761035c8484838181106103115761031161222f565b9050602002810190610323919061225c565b35888686858181106103375761033761222f565b9050602002810190610349919061225c565b610357906020810190612298565b6105f1565b6001016102f4565b50505050505050565b61039860405180608001604052805f81526020015f1515815260200160608152602001606081525090565b6103a182610768565b92915050565b6103e56040518060400160405280601181526020017f41646452656d6f76654368616e6e656c730000000000000000000000000000008152506104dc565b6104238585858585808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525061059e92505050565b5050505050565b60606104346107c8565b905090565b60606103a1826108f1565b6104826040518060400160405280601181526020017f41646452656d6f76654368616e6e656c730000000000000000000000000000008152506104dc565b61020782826108fc565b6104ca6040518060400160405280601181526020017f41646452656d6f76654368616e6e656c730000000000000000000000000000008152506104dc565b6104d68484848461093e565b50505050565b6104e65f8261097c565b6101bc576101bc7f338e692c000000000000000000000000000000000000000000000000000000006109ec565b61051c816109f4565b60405181815233907f3a3f387aa42656bc1732adfc7aea5cde9ccc05a59f9af9c29ebfa68e66383e939060200160405180910390a250565b61055e8282610a8e565b604080518381526020810183905233917f2b10481523b59a7978f8ab73b237349b0f38c801f6094bdc8994d379c067d71391015b60405180910390a25050565b6105a983835f610b30565b6105b584848484610b66565b60405184815233907fdd6c5b83be3557f8b2674712946f9f05dcd882b82bfd58b9539b9706efd35d8c906020015b60405180910390a250505050565b80801561075e5761060185610c7d565b61060a84610cd4565b5f8581527f672ef851d5f92307da037116e23aa9e31af7e1f7e3ca62c4e6d540631df3fd056020908152604080832087845290915290207f672ef851d5f92307da037116e23aa9e31af7e1f7e3ca62c4e6d540631df3fd009061066c81610d2d565b5f5b8381101561070e576106a286868381811061068b5761068b61222f565b905060200281019061069d91906122fc565b610e15565b6107058686838181106106b7576106b761222f565b90506020028101906106c991906122fc565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152508693925050610e469050565b5060010161066e565b505f87815260048301602052604090206107289087610e9c565b506040518690889033907f38ef31503bf60258feeceab5e2c3778cf74be2a8fbcc150d209ca96cd3c98553905f90a45050610423565b6104238585610eae565b61079360405180608001604052805f81526020015f1515815260200160608152602001606081525090565b5f5f61079e84610f70565b92509250505f6107ad85611073565b60608501525060408301919091521515602082015290815290565b60605f6107d36110d5565b9050805167ffffffffffffffff8111156107ef576107ef612202565b60405190808252806020026020018201604052801561084b57816020015b61083860405180608001604052805f81526020015f1515815260200160608152602001606081525090565b81526020019060019003908161080d5790505b5091505f5b81518110156108ec575f5f5f61087e8585815181106108715761087161222f565b6020026020010151610f70565b9250925092505f6108a786868151811061089a5761089a61222f565b6020026020010151611073565b90505f8786815181106108bc576108bc61222f565b60209081029190910181015160608101939093526040830194909452509015159181019190915252600101610850565b505090565b60606103a182611073565b6109068282611107565b604080518381526020810183905233917faee688d80dbf97230e5d2b4b06aa7074bfe38ddd8abf856551177db3039561299101610592565b61094a848484846111a8565b60405184815233907f94af4a611b3fb1eaa653a6b29f82b71bcea25ca378171c5f059010fa18e0716e906020016105e3565b5f3380610987611336565b73ffffffffffffffffffffffffffffffffffffffff1614806109e457507fe17a067c7963a59b6dfd65d33b053fdbea1c56500e2aae4f976d9eda4da9eb005460ff161580156109e457506109e484826109df8661235d565b6113f0565b949350505050565b805f5260045ffd5b6109fd81610cd4565b7f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af518504300610a2881836116c0565b505f8281526002808301602052604082208281556001810180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690559190610a7490830182611e8b565b50505f8281526003820160205260409020610207906116cb565b610a9782610cd4565b610aa0826116d4565b5f8281527f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af518504303602052604090207f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af51850430090610af88184611735565b15610b2657610b267f2369ff30000000000000000000000000000000000000000000000000000000006109ec565b6104238184610e9c565b80821015610b6157610b617f947d5a84000000000000000000000000000000000000000000000000000000006109ec565b505050565b610b6f8461174c565b7f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af518504300610b9a8186610e9c565b505f858152600280830160205260408220918791879187918591908201610bc284868361242e565b50509290925550505f8681526003830160205260408120905b8451811015610c7357610c10858281518110610bf957610bf961222f565b60200260200101518361173590919063ffffffff16565b15610c3e57610c3e7f2369ff30000000000000000000000000000000000000000000000000000000006109ec565b610c6a858281518110610c5357610c5361222f565b602002602001015183610e9c90919063ffffffff16565b50600101610bdb565b5050505050505050565b610ca77f672ef851d5f92307da037116e23aa9e31af7e1f7e3ca62c4e6d540631df3fd0182611735565b6101bc576101bc7fa3f70f7b000000000000000000000000000000000000000000000000000000006109ec565b610d00817f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af5185043005b90611735565b6101bc576101bc7fac169682000000000000000000000000000000000000000000000000000000006109ec565b805481905f5b81811015610e0d575f84815260208120820190505f610df986835f018054610d5a9061239f565b80601f0160208091040260200160405190810160405280929190818152602001828054610d869061239f565b8015610dd15780601f10610da857610100808354040283529160200191610dd1565b820191905f5260205f20905b815481529060010190602001808311610db457829003601f168201915b5050505050805180820160209081018051600195909501815291810192019190912091905290565b55610e04815f611e8b565b50600101610d33565b50505f905550565b5f819003610207576102077f0ce76c10000000000000000000000000000000000000000000000000000000006109ec565b805160208183018101805160018601825292820191840191909120919052805415908115610e95578354600181018086555f86815260209020869291908201610e8f8782612544565b50835550505b5092915050565b5f610ea783836117a4565b9392505050565b610eb782610c7d565b610ec081610cd4565b5f8281527f672ef851d5f92307da037116e23aa9e31af7e1f7e3ca62c4e6d540631df3fd056020908152604080832084845290915290207f672ef851d5f92307da037116e23aa9e31af7e1f7e3ca62c4e6d540631df3fd0090610f2281610d2d565b5f8481526004830160205260409020610f3b90846116c0565b506040518390859033907f07439707c74b686d8e4d3f3226348eac82205e6dffd780ac4c555a4c2dc9d86c905f90a450505050565b5f60605f610f7d84610cd4565b5f8481527f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af5185043026020526040902080546002820180549195507f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af5185043009291610fe09061239f565b80601f016020809104026020016040519081016040528092919081815260200182805461100c9061239f565b80156110575780601f1061102e57610100808354040283529160200191611057565b820191905f5260205f20905b81548152906001019060200180831161103a57829003601f168201915b50505060019093015496989197505060ff909516949350505050565b606061107e82610cd4565b5f8281527f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af518504303602052604090207f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af51850430090610ea7906117f0565b60607f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af518504300611101816117f0565b91505090565b61111082610cd4565b611119826116d4565b5f8281527f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af518504303602052604090207f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af518504300906111718184611735565b61119e5761119e7f6796073e000000000000000000000000000000000000000000000000000000006109ec565b61042381846116c0565b6111b184610cd4565b5f8481527f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af518504302602052604090207f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af5185043009083158015906112d757506112d581600201805461121b9061239f565b80601f01602080910402602001604051908101604052809291908181526020018280546112479061239f565b80156112925780601f1061126957610100808354040283529160200191611292565b820191905f5260205f20905b81548152906001019060200180831161127557829003601f168201915b505050505086868080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525092939250506117fc9050565b155b156112ed57600281016112eb85878361242e565b505b600181015460ff1615158315151461132e576001810180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168415151790555b505050505050565b5f807fd2f24d4f172e4e84e48e7c4125b6e904c29e5eba33ad4938fee51dd5dbd4b600805460018201546040517f6352211e000000000000000000000000000000000000000000000000000000008152600481019190915291925073ffffffffffffffffffffffffffffffffffffffff1690636352211e90602401602060405180830381865afa1580156113cc573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111019190612683565b5f5f6113fa611336565b90505f61140685611812565b80519091505f611414611b56565b80519091505f5b83811015611503575f8582815181106114365761143661222f565b602002602001015190508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611483576001975050505050505050610ea7565b5f5b838110156114f9578173ffffffffffffffffffffffffffffffffffffffff166114c68683815181106114b9576114b961222f565b6020026020010151611b81565b73ffffffffffffffffffffffffffffffffffffffff16036114f1575f98505050505050505050610ea7565b600101611485565b505060010161141b565b507fa558e822bd359dacbe30f0da89cbfde5f95895b441e13a4864caec1423c931005f61154f7fa558e822bd359dacbe30f0da89cbfde5f95895b441e13a4864caec1423c93101611b8b565b90505f5b818110156116af575f838161156b6001830185611b94565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182015f205482517f2e1b61e40000000000000000000000000000000000000000000000000000000081529251911693508392632e1b61e492600480820193918290030181865afa1580156115e7573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061160b919061269c565b15801561168f57508073ffffffffffffffffffffffffffffffffffffffff16630cf0b5338e8a8e6040518463ffffffff1660e01b8152600401611650939291906126b7565b602060405180830381865afa15801561166b573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061168f919061269c565b156116a65760019950505050505050505050610ea7565b50600101611553565b505f9b9a5050505050505050505050565b5f610ea78383611b9f565b6101bc81611c82565b5f8181527f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af518504302602052604090206001015460ff16156101bc576101bc7fd9c00512000000000000000000000000000000000000000000000000000000006109ec565b5f8181526001830160205260408120541515610ea7565b611776817f804ad633258ac9b908ae115a2763b3f6e04be3b1165402c872b25af518504300610cfa565b156101bc576101bc7f8c93df64000000000000000000000000000000000000000000000000000000006109ec565b5f8181526001830160205260408120546117e957508154600181810184555f8481526020808220909301849055845484825282860190935260409020919091556103a1565b505f6103a1565b60605f610ea783611cdb565b8051602091820120825192909101919091201490565b60605f7fc21004fcc619240a31f006438274d15cd813308303284436eef6055f0fdcb600600601546040517f02345b9800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015290911691505f9082906302345b98906024015f60405180830381865afa1580156118a9573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526118ee9190810190612722565b905080515f03611a5f576040517ff821039800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301525f919084169063f821039890602401602060405180830381865afa158015611965573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119899190612683565b905073ffffffffffffffffffffffffffffffffffffffff811615611a5d576040517f02345b9800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808316600483015291955085918416906302345b98906024015f60405180830381865afa158015611a15573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052611a5a9190810190612722565b91505b505b80515f611a6d82600161282d565b67ffffffffffffffff811115611a8557611a85612202565b604051908082528060200260200182016040528015611aae578160200160208202803683370190505b5090505f5b82811015611b1457838181518110611acd57611acd61222f565b6020026020010151828281518110611ae757611ae761222f565b73ffffffffffffffffffffffffffffffffffffffff90921660209283029190910190910152600101611ab3565b5085818381518110611b2857611b2861222f565b73ffffffffffffffffffffffffffffffffffffffff9092166020928302919091019091015295945050505050565b60606104347f49daf035076c43671ca9f9fb568d931e51ab7f9098a5a694781b45341112cf006117f0565b5f6103a182611d34565b5f6103a1825490565b5f610ea78383611e65565b5f8181526001830160205260408120548015611c79575f611bc1600183612840565b85549091505f90611bd490600190612840565b9050808214611c33575f865f018281548110611bf257611bf261222f565b905f5260205f200154905080875f018481548110611c1257611c1261222f565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080611c4457611c44612853565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f9055600193505050506103a1565b5f9150506103a1565b5f611c8b825490565b90505f5b81811015611cd457826001015f845f018381548110611cb057611cb061222f565b905f5260205f20015481526020019081526020015f205f9055806001019050611c8f565b50505f9055565b6060815f01805480602002602001604051908101604052809291908181526020018280548015611d2857602002820191905f5260205f20905b815481526020019060010190808311611d14575b50505050509050919050565b5f8181527f6569bde4a160c636ea8b8d11acb83a60d7fec0b8f2e09389306cba0e1340df046020526040812054907f6569bde4a160c636ea8b8d11acb83a60d7fec0b8f2e09389306cba0e1340df00907c010000000000000000000000000000000000000000000000000000000083169003611e3257815f03611e2c5780548310611deb576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9092015f81815260048401602052604090205490929091508115611dec575b50919050565b506040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f825f018281548110611e7a57611e7a61222f565b905f5260205f200154905092915050565b508054611e979061239f565b5f825580601f10611ea6575050565b601f0160209004905f5260205f20908101906101bc91905b80821115611ed1575f8155600101611ebe565b5090565b5f60208284031215611ee5575f5ffd5b5035919050565b5f5f60408385031215611efd575f5ffd5b50508035926020909101359150565b5f5f83601f840112611f1c575f5ffd5b50813567ffffffffffffffff811115611f33575f5ffd5b602083019150836020828501011115611f4a575f5ffd5b9250929050565b5f5f83601f840112611f61575f5ffd5b50813567ffffffffffffffff811115611f78575f5ffd5b6020830191508360208260051b8501011115611f4a575f5ffd5b5f5f5f5f5f60608688031215611fa6575f5ffd5b85359450602086013567ffffffffffffffff811115611fc3575f5ffd5b611fcf88828901611f0c565b909550935050604086013567ffffffffffffffff811115611fee575f5ffd5b611ffa88828901611f51565b969995985093965092949392505050565b805182526020810151151560208301525f6040820151608060408501528051806080860152806020830160a087015e5f60a082870101527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f820116850191505060a08101606084015160a086840301606087015281815180845260c0850191506020830194505f93505b808410156120ba5784518252602082019150602085019450600184019350612097565b509695505050505050565b602081525f610ea7602083018461200b565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561214c577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc087860301845261213785835161200b565b945060209384019391909101906001016120fd565b50929695505050505050565b602080825282518282018190525f918401906040840190835b8181101561218f578351835260209384019390920191600101612171565b509095945050505050565b80151581146101bc575f5ffd5b5f5f5f5f606085870312156121ba575f5ffd5b84359350602085013567ffffffffffffffff8111156121d7575f5ffd5b6121e387828801611f0c565b90945092505060408501356121f78161219a565b939692955090935050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f82357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc183360301811261228e575f5ffd5b9190910192915050565b5f5f83357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126122cb575f5ffd5b83018035915067ffffffffffffffff8211156122e5575f5ffd5b6020019150600581901b3603821315611f4a575f5ffd5b5f5f83357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261232f575f5ffd5b83018035915067ffffffffffffffff821115612349575f5ffd5b602001915036819003821315611f4a575f5ffd5b80516020808301519190811015611e2c577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60209190910360031b1b16919050565b600181811c908216806123b357607f821691505b602082108103611e2c577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b601f821115610b6157805f5260205f20601f840160051c8101602085101561240f5750805b601f840160051c820191505b81811015610423575f815560010161241b565b67ffffffffffffffff83111561244657612446612202565b61245a83612454835461239f565b836123ea565b5f601f8411600181146124aa575f85156124745750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b178355610423565b5f838152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08716915b828110156124f757868501358255602094850194600190920191016124d7565b5086821015612532577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555050505050565b815167ffffffffffffffff81111561255e5761255e612202565b6125728161256c845461239f565b846123ea565b6020601f8211600181146125c3575f831561258d5750848201515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b178455610423565b5f848152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08516915b8281101561261057878501518255602094850194600190920191016125f0565b508482101561264c57868401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b60f8161c191681555b50505050600190811b01905550565b805173ffffffffffffffffffffffffffffffffffffffff8116811461267e575f5ffd5b919050565b5f60208284031215612693575f5ffd5b610ea78261265b565b5f602082840312156126ac575f5ffd5b8151610ea78161219a565b5f60608201858352606060208401528085518083526080850191506020870192505f5b8181101561270e57835173ffffffffffffffffffffffffffffffffffffffff168352602093840193909201916001016126da565b505060409390930193909352509392505050565b5f60208284031215612732575f5ffd5b815167ffffffffffffffff811115612748575f5ffd5b8201601f81018413612758575f5ffd5b805167ffffffffffffffff81111561277257612772612202565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811067ffffffffffffffff821117156127bd576127bd612202565b6040529182526020818401810192908101878411156127da575f5ffd5b6020850194505b838510156120ba576127f28561265b565b8152602094850194016127e1565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b808201808211156103a1576103a1612800565b818103818111156103a1576103a1612800565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd";
|
|
991
|
+
|
|
992
|
+
type ChannelsConstructorParams =
|
|
993
|
+
| [signer?: Signer]
|
|
994
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
995
|
+
|
|
996
|
+
const isSuperArgs = (
|
|
997
|
+
xs: ChannelsConstructorParams
|
|
998
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
999
|
+
|
|
1000
|
+
export class Channels__factory extends ContractFactory {
|
|
1001
|
+
constructor(...args: ChannelsConstructorParams) {
|
|
1002
|
+
if (isSuperArgs(args)) {
|
|
1003
|
+
super(...args);
|
|
1004
|
+
} else {
|
|
1005
|
+
super(_abi, _bytecode, args[0]);
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
override deploy(
|
|
1010
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1011
|
+
): Promise<Channels> {
|
|
1012
|
+
return super.deploy(overrides || {}) as Promise<Channels>;
|
|
1013
|
+
}
|
|
1014
|
+
override getDeployTransaction(
|
|
1015
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1016
|
+
): TransactionRequest {
|
|
1017
|
+
return super.getDeployTransaction(overrides || {});
|
|
1018
|
+
}
|
|
1019
|
+
override attach(address: string): Channels {
|
|
1020
|
+
return super.attach(address) as Channels;
|
|
1021
|
+
}
|
|
1022
|
+
override connect(signer: Signer): Channels__factory {
|
|
1023
|
+
return super.connect(signer) as Channels__factory;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
static readonly bytecode = _bytecode;
|
|
1027
|
+
static readonly abi = _abi;
|
|
1028
|
+
static createInterface(): ChannelsInterface {
|
|
1029
|
+
return new utils.Interface(_abi) as ChannelsInterface;
|
|
1030
|
+
}
|
|
1031
|
+
static connect(
|
|
1032
|
+
address: string,
|
|
1033
|
+
signerOrProvider: Signer | Provider
|
|
1034
|
+
): Channels {
|
|
1035
|
+
return new Contract(address, _abi, signerOrProvider) as Channels;
|
|
1036
|
+
}
|
|
1037
|
+
}
|