@towns-protocol/generated 0.0.335 → 0.0.337
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/config/deployments.json +3 -0
- package/deployments/alpha/.env +13 -0
- package/deployments/alpha/base/addresses/subscriptionModule.json +3 -0
- package/deployments/delta/.env +12 -0
- package/deployments/gamma/.env +18 -0
- package/deployments/omega/.env +21 -0
- package/dev/.contracts-hash +1 -1
- package/dev/abis/SubscriptionModuleFacet.abi.json +885 -0
- package/dev/abis/SubscriptionModuleFacet.abi.ts +885 -0
- package/dev/typings/SubscriptionModuleFacet.ts +1180 -0
- package/dev/typings/factories/SubscriptionModuleFacet__factory.ts +950 -0
- package/dev/typings/factories/index.ts +1 -0
- package/dev/typings/index.ts +2 -0
- package/package.json +2 -2
- package/scripts/copy-addresses.sh +3 -0
|
@@ -0,0 +1,950 @@
|
|
|
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 {
|
|
8
|
+
SubscriptionModuleFacet,
|
|
9
|
+
SubscriptionModuleFacetInterface,
|
|
10
|
+
} from "../SubscriptionModuleFacet";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
type: "function",
|
|
15
|
+
name: "GRACE_PERIOD",
|
|
16
|
+
inputs: [],
|
|
17
|
+
outputs: [
|
|
18
|
+
{
|
|
19
|
+
name: "",
|
|
20
|
+
type: "uint256",
|
|
21
|
+
internalType: "uint256",
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
stateMutability: "view",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
type: "function",
|
|
28
|
+
name: "MAX_BATCH_SIZE",
|
|
29
|
+
inputs: [],
|
|
30
|
+
outputs: [
|
|
31
|
+
{
|
|
32
|
+
name: "",
|
|
33
|
+
type: "uint256",
|
|
34
|
+
internalType: "uint256",
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
stateMutability: "view",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
type: "function",
|
|
41
|
+
name: "RENEWAL_BUFFER",
|
|
42
|
+
inputs: [],
|
|
43
|
+
outputs: [
|
|
44
|
+
{
|
|
45
|
+
name: "",
|
|
46
|
+
type: "uint256",
|
|
47
|
+
internalType: "uint256",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
stateMutability: "view",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
type: "function",
|
|
54
|
+
name: "__SubscriptionModule_init",
|
|
55
|
+
inputs: [],
|
|
56
|
+
outputs: [],
|
|
57
|
+
stateMutability: "nonpayable",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
type: "function",
|
|
61
|
+
name: "batchProcessRenewals",
|
|
62
|
+
inputs: [
|
|
63
|
+
{
|
|
64
|
+
name: "params",
|
|
65
|
+
type: "tuple[]",
|
|
66
|
+
internalType: "struct ISubscriptionModuleBase.RenewalParams[]",
|
|
67
|
+
components: [
|
|
68
|
+
{
|
|
69
|
+
name: "account",
|
|
70
|
+
type: "address",
|
|
71
|
+
internalType: "address",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: "entityId",
|
|
75
|
+
type: "uint32",
|
|
76
|
+
internalType: "uint32",
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
outputs: [],
|
|
82
|
+
stateMutability: "nonpayable",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
type: "function",
|
|
86
|
+
name: "getEntityIds",
|
|
87
|
+
inputs: [
|
|
88
|
+
{
|
|
89
|
+
name: "account",
|
|
90
|
+
type: "address",
|
|
91
|
+
internalType: "address",
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
outputs: [
|
|
95
|
+
{
|
|
96
|
+
name: "",
|
|
97
|
+
type: "uint256[]",
|
|
98
|
+
internalType: "uint256[]",
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
stateMutability: "view",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
type: "function",
|
|
105
|
+
name: "getSubscription",
|
|
106
|
+
inputs: [
|
|
107
|
+
{
|
|
108
|
+
name: "account",
|
|
109
|
+
type: "address",
|
|
110
|
+
internalType: "address",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: "entityId",
|
|
114
|
+
type: "uint32",
|
|
115
|
+
internalType: "uint32",
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
outputs: [
|
|
119
|
+
{
|
|
120
|
+
name: "",
|
|
121
|
+
type: "tuple",
|
|
122
|
+
internalType: "struct Subscription",
|
|
123
|
+
components: [
|
|
124
|
+
{
|
|
125
|
+
name: "space",
|
|
126
|
+
type: "address",
|
|
127
|
+
internalType: "address",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: "active",
|
|
131
|
+
type: "bool",
|
|
132
|
+
internalType: "bool",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: "lastRenewalTime",
|
|
136
|
+
type: "uint40",
|
|
137
|
+
internalType: "uint40",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
name: "nextRenewalTime",
|
|
141
|
+
type: "uint40",
|
|
142
|
+
internalType: "uint40",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
name: "spent",
|
|
146
|
+
type: "uint256",
|
|
147
|
+
internalType: "uint256",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: "tokenId",
|
|
151
|
+
type: "uint256",
|
|
152
|
+
internalType: "uint256",
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
stateMutability: "view",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
type: "function",
|
|
161
|
+
name: "grantOperator",
|
|
162
|
+
inputs: [
|
|
163
|
+
{
|
|
164
|
+
name: "operator",
|
|
165
|
+
type: "address",
|
|
166
|
+
internalType: "address",
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
outputs: [],
|
|
170
|
+
stateMutability: "nonpayable",
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
type: "function",
|
|
174
|
+
name: "moduleId",
|
|
175
|
+
inputs: [],
|
|
176
|
+
outputs: [
|
|
177
|
+
{
|
|
178
|
+
name: "",
|
|
179
|
+
type: "string",
|
|
180
|
+
internalType: "string",
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
stateMutability: "pure",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
type: "function",
|
|
187
|
+
name: "onInstall",
|
|
188
|
+
inputs: [
|
|
189
|
+
{
|
|
190
|
+
name: "data",
|
|
191
|
+
type: "bytes",
|
|
192
|
+
internalType: "bytes",
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
outputs: [],
|
|
196
|
+
stateMutability: "nonpayable",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
type: "function",
|
|
200
|
+
name: "onUninstall",
|
|
201
|
+
inputs: [
|
|
202
|
+
{
|
|
203
|
+
name: "data",
|
|
204
|
+
type: "bytes",
|
|
205
|
+
internalType: "bytes",
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
outputs: [],
|
|
209
|
+
stateMutability: "nonpayable",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
type: "function",
|
|
213
|
+
name: "pauseSubscription",
|
|
214
|
+
inputs: [
|
|
215
|
+
{
|
|
216
|
+
name: "entityId",
|
|
217
|
+
type: "uint32",
|
|
218
|
+
internalType: "uint32",
|
|
219
|
+
},
|
|
220
|
+
],
|
|
221
|
+
outputs: [],
|
|
222
|
+
stateMutability: "nonpayable",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
type: "function",
|
|
226
|
+
name: "preRuntimeValidationHook",
|
|
227
|
+
inputs: [
|
|
228
|
+
{
|
|
229
|
+
name: "",
|
|
230
|
+
type: "uint32",
|
|
231
|
+
internalType: "uint32",
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
name: "",
|
|
235
|
+
type: "address",
|
|
236
|
+
internalType: "address",
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
name: "",
|
|
240
|
+
type: "uint256",
|
|
241
|
+
internalType: "uint256",
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
name: "",
|
|
245
|
+
type: "bytes",
|
|
246
|
+
internalType: "bytes",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
name: "",
|
|
250
|
+
type: "bytes",
|
|
251
|
+
internalType: "bytes",
|
|
252
|
+
},
|
|
253
|
+
],
|
|
254
|
+
outputs: [],
|
|
255
|
+
stateMutability: "pure",
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
type: "function",
|
|
259
|
+
name: "preSignatureValidationHook",
|
|
260
|
+
inputs: [
|
|
261
|
+
{
|
|
262
|
+
name: "",
|
|
263
|
+
type: "uint32",
|
|
264
|
+
internalType: "uint32",
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
name: "",
|
|
268
|
+
type: "address",
|
|
269
|
+
internalType: "address",
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: "",
|
|
273
|
+
type: "bytes32",
|
|
274
|
+
internalType: "bytes32",
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
name: "",
|
|
278
|
+
type: "bytes",
|
|
279
|
+
internalType: "bytes",
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
outputs: [],
|
|
283
|
+
stateMutability: "pure",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
type: "function",
|
|
287
|
+
name: "preUserOpValidationHook",
|
|
288
|
+
inputs: [
|
|
289
|
+
{
|
|
290
|
+
name: "",
|
|
291
|
+
type: "uint32",
|
|
292
|
+
internalType: "uint32",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: "",
|
|
296
|
+
type: "tuple",
|
|
297
|
+
internalType: "struct PackedUserOperation",
|
|
298
|
+
components: [
|
|
299
|
+
{
|
|
300
|
+
name: "sender",
|
|
301
|
+
type: "address",
|
|
302
|
+
internalType: "address",
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
name: "nonce",
|
|
306
|
+
type: "uint256",
|
|
307
|
+
internalType: "uint256",
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
name: "initCode",
|
|
311
|
+
type: "bytes",
|
|
312
|
+
internalType: "bytes",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
name: "callData",
|
|
316
|
+
type: "bytes",
|
|
317
|
+
internalType: "bytes",
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
name: "accountGasLimits",
|
|
321
|
+
type: "bytes32",
|
|
322
|
+
internalType: "bytes32",
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
name: "preVerificationGas",
|
|
326
|
+
type: "uint256",
|
|
327
|
+
internalType: "uint256",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
name: "gasFees",
|
|
331
|
+
type: "bytes32",
|
|
332
|
+
internalType: "bytes32",
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
name: "paymasterAndData",
|
|
336
|
+
type: "bytes",
|
|
337
|
+
internalType: "bytes",
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
name: "signature",
|
|
341
|
+
type: "bytes",
|
|
342
|
+
internalType: "bytes",
|
|
343
|
+
},
|
|
344
|
+
],
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
name: "",
|
|
348
|
+
type: "bytes32",
|
|
349
|
+
internalType: "bytes32",
|
|
350
|
+
},
|
|
351
|
+
],
|
|
352
|
+
outputs: [
|
|
353
|
+
{
|
|
354
|
+
name: "",
|
|
355
|
+
type: "uint256",
|
|
356
|
+
internalType: "uint256",
|
|
357
|
+
},
|
|
358
|
+
],
|
|
359
|
+
stateMutability: "pure",
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
type: "function",
|
|
363
|
+
name: "processRenewal",
|
|
364
|
+
inputs: [
|
|
365
|
+
{
|
|
366
|
+
name: "renewalParams",
|
|
367
|
+
type: "tuple",
|
|
368
|
+
internalType: "struct ISubscriptionModuleBase.RenewalParams",
|
|
369
|
+
components: [
|
|
370
|
+
{
|
|
371
|
+
name: "account",
|
|
372
|
+
type: "address",
|
|
373
|
+
internalType: "address",
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
name: "entityId",
|
|
377
|
+
type: "uint32",
|
|
378
|
+
internalType: "uint32",
|
|
379
|
+
},
|
|
380
|
+
],
|
|
381
|
+
},
|
|
382
|
+
],
|
|
383
|
+
outputs: [],
|
|
384
|
+
stateMutability: "nonpayable",
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
type: "function",
|
|
388
|
+
name: "revokeOperator",
|
|
389
|
+
inputs: [
|
|
390
|
+
{
|
|
391
|
+
name: "operator",
|
|
392
|
+
type: "address",
|
|
393
|
+
internalType: "address",
|
|
394
|
+
},
|
|
395
|
+
],
|
|
396
|
+
outputs: [],
|
|
397
|
+
stateMutability: "nonpayable",
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
type: "function",
|
|
401
|
+
name: "supportsInterface",
|
|
402
|
+
inputs: [
|
|
403
|
+
{
|
|
404
|
+
name: "interfaceId",
|
|
405
|
+
type: "bytes4",
|
|
406
|
+
internalType: "bytes4",
|
|
407
|
+
},
|
|
408
|
+
],
|
|
409
|
+
outputs: [
|
|
410
|
+
{
|
|
411
|
+
name: "",
|
|
412
|
+
type: "bool",
|
|
413
|
+
internalType: "bool",
|
|
414
|
+
},
|
|
415
|
+
],
|
|
416
|
+
stateMutability: "view",
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
type: "function",
|
|
420
|
+
name: "validateRuntime",
|
|
421
|
+
inputs: [
|
|
422
|
+
{
|
|
423
|
+
name: "account",
|
|
424
|
+
type: "address",
|
|
425
|
+
internalType: "address",
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
name: "entityId",
|
|
429
|
+
type: "uint32",
|
|
430
|
+
internalType: "uint32",
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
name: "sender",
|
|
434
|
+
type: "address",
|
|
435
|
+
internalType: "address",
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
name: "",
|
|
439
|
+
type: "uint256",
|
|
440
|
+
internalType: "uint256",
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
name: "",
|
|
444
|
+
type: "bytes",
|
|
445
|
+
internalType: "bytes",
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
name: "",
|
|
449
|
+
type: "bytes",
|
|
450
|
+
internalType: "bytes",
|
|
451
|
+
},
|
|
452
|
+
],
|
|
453
|
+
outputs: [],
|
|
454
|
+
stateMutability: "view",
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
type: "function",
|
|
458
|
+
name: "validateSignature",
|
|
459
|
+
inputs: [
|
|
460
|
+
{
|
|
461
|
+
name: "",
|
|
462
|
+
type: "address",
|
|
463
|
+
internalType: "address",
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
name: "",
|
|
467
|
+
type: "uint32",
|
|
468
|
+
internalType: "uint32",
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
name: "",
|
|
472
|
+
type: "address",
|
|
473
|
+
internalType: "address",
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
name: "",
|
|
477
|
+
type: "bytes32",
|
|
478
|
+
internalType: "bytes32",
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
name: "",
|
|
482
|
+
type: "bytes",
|
|
483
|
+
internalType: "bytes",
|
|
484
|
+
},
|
|
485
|
+
],
|
|
486
|
+
outputs: [
|
|
487
|
+
{
|
|
488
|
+
name: "",
|
|
489
|
+
type: "bytes4",
|
|
490
|
+
internalType: "bytes4",
|
|
491
|
+
},
|
|
492
|
+
],
|
|
493
|
+
stateMutability: "pure",
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
type: "function",
|
|
497
|
+
name: "validateUserOp",
|
|
498
|
+
inputs: [
|
|
499
|
+
{
|
|
500
|
+
name: "",
|
|
501
|
+
type: "uint32",
|
|
502
|
+
internalType: "uint32",
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
name: "",
|
|
506
|
+
type: "tuple",
|
|
507
|
+
internalType: "struct PackedUserOperation",
|
|
508
|
+
components: [
|
|
509
|
+
{
|
|
510
|
+
name: "sender",
|
|
511
|
+
type: "address",
|
|
512
|
+
internalType: "address",
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
name: "nonce",
|
|
516
|
+
type: "uint256",
|
|
517
|
+
internalType: "uint256",
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
name: "initCode",
|
|
521
|
+
type: "bytes",
|
|
522
|
+
internalType: "bytes",
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
name: "callData",
|
|
526
|
+
type: "bytes",
|
|
527
|
+
internalType: "bytes",
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
name: "accountGasLimits",
|
|
531
|
+
type: "bytes32",
|
|
532
|
+
internalType: "bytes32",
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
name: "preVerificationGas",
|
|
536
|
+
type: "uint256",
|
|
537
|
+
internalType: "uint256",
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
name: "gasFees",
|
|
541
|
+
type: "bytes32",
|
|
542
|
+
internalType: "bytes32",
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
name: "paymasterAndData",
|
|
546
|
+
type: "bytes",
|
|
547
|
+
internalType: "bytes",
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
name: "signature",
|
|
551
|
+
type: "bytes",
|
|
552
|
+
internalType: "bytes",
|
|
553
|
+
},
|
|
554
|
+
],
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
name: "",
|
|
558
|
+
type: "bytes32",
|
|
559
|
+
internalType: "bytes32",
|
|
560
|
+
},
|
|
561
|
+
],
|
|
562
|
+
outputs: [
|
|
563
|
+
{
|
|
564
|
+
name: "",
|
|
565
|
+
type: "uint256",
|
|
566
|
+
internalType: "uint256",
|
|
567
|
+
},
|
|
568
|
+
],
|
|
569
|
+
stateMutability: "pure",
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
type: "event",
|
|
573
|
+
name: "BatchRenewalSkipped",
|
|
574
|
+
inputs: [
|
|
575
|
+
{
|
|
576
|
+
name: "account",
|
|
577
|
+
type: "address",
|
|
578
|
+
indexed: true,
|
|
579
|
+
internalType: "address",
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
name: "entityId",
|
|
583
|
+
type: "uint32",
|
|
584
|
+
indexed: true,
|
|
585
|
+
internalType: "uint32",
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
name: "reason",
|
|
589
|
+
type: "string",
|
|
590
|
+
indexed: false,
|
|
591
|
+
internalType: "string",
|
|
592
|
+
},
|
|
593
|
+
],
|
|
594
|
+
anonymous: false,
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
type: "event",
|
|
598
|
+
name: "Initialized",
|
|
599
|
+
inputs: [
|
|
600
|
+
{
|
|
601
|
+
name: "version",
|
|
602
|
+
type: "uint32",
|
|
603
|
+
indexed: false,
|
|
604
|
+
internalType: "uint32",
|
|
605
|
+
},
|
|
606
|
+
],
|
|
607
|
+
anonymous: false,
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
type: "event",
|
|
611
|
+
name: "InterfaceAdded",
|
|
612
|
+
inputs: [
|
|
613
|
+
{
|
|
614
|
+
name: "interfaceId",
|
|
615
|
+
type: "bytes4",
|
|
616
|
+
indexed: true,
|
|
617
|
+
internalType: "bytes4",
|
|
618
|
+
},
|
|
619
|
+
],
|
|
620
|
+
anonymous: false,
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
type: "event",
|
|
624
|
+
name: "InterfaceRemoved",
|
|
625
|
+
inputs: [
|
|
626
|
+
{
|
|
627
|
+
name: "interfaceId",
|
|
628
|
+
type: "bytes4",
|
|
629
|
+
indexed: true,
|
|
630
|
+
internalType: "bytes4",
|
|
631
|
+
},
|
|
632
|
+
],
|
|
633
|
+
anonymous: false,
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
type: "event",
|
|
637
|
+
name: "OwnershipTransferred",
|
|
638
|
+
inputs: [
|
|
639
|
+
{
|
|
640
|
+
name: "previousOwner",
|
|
641
|
+
type: "address",
|
|
642
|
+
indexed: true,
|
|
643
|
+
internalType: "address",
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
name: "newOwner",
|
|
647
|
+
type: "address",
|
|
648
|
+
indexed: true,
|
|
649
|
+
internalType: "address",
|
|
650
|
+
},
|
|
651
|
+
],
|
|
652
|
+
anonymous: false,
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
type: "event",
|
|
656
|
+
name: "SubscriptionConfigured",
|
|
657
|
+
inputs: [
|
|
658
|
+
{
|
|
659
|
+
name: "account",
|
|
660
|
+
type: "address",
|
|
661
|
+
indexed: true,
|
|
662
|
+
internalType: "address",
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
name: "entityId",
|
|
666
|
+
type: "uint32",
|
|
667
|
+
indexed: true,
|
|
668
|
+
internalType: "uint32",
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
name: "space",
|
|
672
|
+
type: "address",
|
|
673
|
+
indexed: true,
|
|
674
|
+
internalType: "address",
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
name: "tokenId",
|
|
678
|
+
type: "uint256",
|
|
679
|
+
indexed: false,
|
|
680
|
+
internalType: "uint256",
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
name: "nextRenewalTime",
|
|
684
|
+
type: "uint64",
|
|
685
|
+
indexed: false,
|
|
686
|
+
internalType: "uint64",
|
|
687
|
+
},
|
|
688
|
+
],
|
|
689
|
+
anonymous: false,
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
type: "event",
|
|
693
|
+
name: "SubscriptionDeactivated",
|
|
694
|
+
inputs: [
|
|
695
|
+
{
|
|
696
|
+
name: "account",
|
|
697
|
+
type: "address",
|
|
698
|
+
indexed: true,
|
|
699
|
+
internalType: "address",
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
name: "entityId",
|
|
703
|
+
type: "uint32",
|
|
704
|
+
indexed: true,
|
|
705
|
+
internalType: "uint32",
|
|
706
|
+
},
|
|
707
|
+
],
|
|
708
|
+
anonymous: false,
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
type: "event",
|
|
712
|
+
name: "SubscriptionPaused",
|
|
713
|
+
inputs: [
|
|
714
|
+
{
|
|
715
|
+
name: "account",
|
|
716
|
+
type: "address",
|
|
717
|
+
indexed: true,
|
|
718
|
+
internalType: "address",
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
name: "entityId",
|
|
722
|
+
type: "uint32",
|
|
723
|
+
indexed: true,
|
|
724
|
+
internalType: "uint32",
|
|
725
|
+
},
|
|
726
|
+
],
|
|
727
|
+
anonymous: false,
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
type: "event",
|
|
731
|
+
name: "SubscriptionRenewed",
|
|
732
|
+
inputs: [
|
|
733
|
+
{
|
|
734
|
+
name: "account",
|
|
735
|
+
type: "address",
|
|
736
|
+
indexed: true,
|
|
737
|
+
internalType: "address",
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
name: "entityId",
|
|
741
|
+
type: "uint32",
|
|
742
|
+
indexed: true,
|
|
743
|
+
internalType: "uint32",
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
name: "nextRenewalTime",
|
|
747
|
+
type: "uint256",
|
|
748
|
+
indexed: false,
|
|
749
|
+
internalType: "uint256",
|
|
750
|
+
},
|
|
751
|
+
],
|
|
752
|
+
anonymous: false,
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
type: "event",
|
|
756
|
+
name: "SubscriptionSpent",
|
|
757
|
+
inputs: [
|
|
758
|
+
{
|
|
759
|
+
name: "account",
|
|
760
|
+
type: "address",
|
|
761
|
+
indexed: true,
|
|
762
|
+
internalType: "address",
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
name: "entityId",
|
|
766
|
+
type: "uint32",
|
|
767
|
+
indexed: true,
|
|
768
|
+
internalType: "uint32",
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
name: "amount",
|
|
772
|
+
type: "uint256",
|
|
773
|
+
indexed: false,
|
|
774
|
+
internalType: "uint256",
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
name: "totalSpent",
|
|
778
|
+
type: "uint256",
|
|
779
|
+
indexed: false,
|
|
780
|
+
internalType: "uint256",
|
|
781
|
+
},
|
|
782
|
+
],
|
|
783
|
+
anonymous: false,
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
type: "error",
|
|
787
|
+
name: "Initializable_InInitializingState",
|
|
788
|
+
inputs: [],
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
type: "error",
|
|
792
|
+
name: "Initializable_NotInInitializingState",
|
|
793
|
+
inputs: [],
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
type: "error",
|
|
797
|
+
name: "Introspection_AlreadySupported",
|
|
798
|
+
inputs: [],
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
type: "error",
|
|
802
|
+
name: "Introspection_NotSupported",
|
|
803
|
+
inputs: [],
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
type: "error",
|
|
807
|
+
name: "NotImplemented",
|
|
808
|
+
inputs: [],
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
type: "error",
|
|
812
|
+
name: "Ownable__NotOwner",
|
|
813
|
+
inputs: [
|
|
814
|
+
{
|
|
815
|
+
name: "account",
|
|
816
|
+
type: "address",
|
|
817
|
+
internalType: "address",
|
|
818
|
+
},
|
|
819
|
+
],
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
type: "error",
|
|
823
|
+
name: "Ownable__ZeroAddress",
|
|
824
|
+
inputs: [],
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
type: "error",
|
|
828
|
+
name: "Reentrancy",
|
|
829
|
+
inputs: [],
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
type: "error",
|
|
833
|
+
name: "SubscriptionModule__EmptyBatch",
|
|
834
|
+
inputs: [],
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
type: "error",
|
|
838
|
+
name: "SubscriptionModule__ExceedsMaxBatchSize",
|
|
839
|
+
inputs: [],
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
type: "error",
|
|
843
|
+
name: "SubscriptionModule__InactiveSubscription",
|
|
844
|
+
inputs: [],
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
type: "error",
|
|
848
|
+
name: "SubscriptionModule__InvalidAddress",
|
|
849
|
+
inputs: [],
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
type: "error",
|
|
853
|
+
name: "SubscriptionModule__InvalidCaller",
|
|
854
|
+
inputs: [],
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
type: "error",
|
|
858
|
+
name: "SubscriptionModule__InvalidEntityId",
|
|
859
|
+
inputs: [],
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
type: "error",
|
|
863
|
+
name: "SubscriptionModule__InvalidSender",
|
|
864
|
+
inputs: [],
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
type: "error",
|
|
868
|
+
name: "SubscriptionModule__InvalidSpace",
|
|
869
|
+
inputs: [],
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
type: "error",
|
|
873
|
+
name: "SubscriptionModule__InvalidTokenOwner",
|
|
874
|
+
inputs: [],
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
type: "error",
|
|
878
|
+
name: "SubscriptionModule__NotSupported",
|
|
879
|
+
inputs: [],
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
type: "error",
|
|
883
|
+
name: "SubscriptionModule__RenewalFailed",
|
|
884
|
+
inputs: [],
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
type: "error",
|
|
888
|
+
name: "SubscriptionModule__RenewalNotDue",
|
|
889
|
+
inputs: [],
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
type: "error",
|
|
893
|
+
name: "UnexpectedDataPassed",
|
|
894
|
+
inputs: [],
|
|
895
|
+
},
|
|
896
|
+
] as const;
|
|
897
|
+
|
|
898
|
+
const _bytecode =
|
|
899
|
+
"0x6080604052348015600e575f5ffd5b5060156019565b60bd565b7f59b501c3653afc186af7d48dda36cf6732bd21629a6295693664240a6ef520008054640100000000900460ff16156064576040516366008a2d60e01b815260040160405180910390fd5b805463ffffffff908116101560ba57805463ffffffff191663ffffffff90811782556040519081527fe9c9b456cb2994b80aeef036cf59d26e9617df80f816a6ee5a5b4166e07e2f5c9060200160405180910390a15b50565b612ce3806100ca5f395ff3fe608060405234801561000f575f5ffd5b506004361061016e575f3560e01c8063885c1d09116100d2578063c1a287e211610088578063e7db7f7e11610063578063e7db7f7e1461048c578063eca8ad66146104f6578063fad8b32a14610500575f5ffd5b8063c1a287e214610467578063cfdbf25414610471578063e348da1314610479575f5ffd5b80639e94f3ab116100b85780639e94f3ab1461026e578063a07da64714610415578063a1308f2714610428575f5ffd5b8063885c1d09146102485780638a91b0e31461025b575f5ffd5b80633d6bda32116101275780633f41826e1161010d5780633f41826e1461020f578063465d33e0146102225780636d61fe7014610235575f5ffd5b80633d6bda32146101dc5780633e5f6091146101ef575f5ffd5b80630ab8785f116101575780630ab8785f146101af5780631313f410146101d45780632a3d428c146101af575f5ffd5b806301ffc9a714610172578063092640881461019a575b5f5ffd5b610185610180366004612629565b610513565b60405190151581526020015b60405180910390f35b6101ad6101a8366004612668565b6105ab565b005b6101c66101bd366004612699565b60019392505050565b604051908152602001610191565b6101ad6106f5565b6101ad6101ea366004612758565b6107d5565b6102026101fd3660046127f3565b610807565b604051610191919061280e565b6101ad61021d366004612850565b610856565b6101ad6102303660046128bc565b610886565b6101ad610243366004612969565b610975565b6101ad6102563660046129a8565b610d21565b6101ad610269366004612969565b611228565b6103a461027c366004612a19565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091527fd241b3ceee256b40f80fe7a66fe789234ac389ed1408c472c4ee1cbb1deb860073ffffffffffffffffffffffffffffffffffffffff8085165f90815260019283016020908152604080832063ffffffff88168452825291829020825160c0810184528154948516815260ff7401000000000000000000000000000000000000000086041615159281019290925264ffffffffff750100000000000000000000000000000000000000000085048116938301939093527a01000000000000000000000000000000000000000000000000000090930490911660608201529181015460808301526002015460a0820152905092915050565b60405161019191905f60c08201905073ffffffffffffffffffffffffffffffffffffffff835116825260208301511515602083015264ffffffffff604084015116604083015264ffffffffff60608401511660608301526080830151608083015260a083015160a083015292915050565b6101ad610423366004612a4c565b611390565b604080518082018252601f81527f746f776e732e737562736372697074696f6e2d6d6f64756c652e312e302e3000602082015290516101919190612ab1565b6101c66203f48081565b6101c6603281565b6101ad6104873660046127f3565b611474565b6104c561049a366004612ac3565b7fffffffff000000000000000000000000000000000000000000000000000000009695505050505050565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610191565b6101c66201518081565b6101ad61050e3660046127f3565b61151e565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f46c0c1b40000000000000000000000000000000000000000000000000000000014806105a557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b688000000000ab143c06466001036105d557805c156105cd57805f526004601cfd5b30815d6105ea565b308154036105e657805f526004601cfd5b3081555b507fd241b3ceee256b40f80fe7a66fe789234ac389ed1408c472c4ee1cbb1deb86006106228161061d60208501856127f3565b6115c3565b61064f5761064f7f59530ce9000000000000000000000000000000000000000000000000000000006115fa565b6106d0600182015f61066460208601866127f3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8460200160208101906106b19190612a4c565b63ffffffff1663ffffffff1681526020019081526020015f2083611602565b50688000000000ab143c06466001036106ea575f815d5050565b8081555b5050565b50565b7f59b501c3653afc186af7d48dda36cf6732bd21629a6295693664240a6ef5200054640100000000900460ff16610758576040517f77a399b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107817f985c01c500000000000000000000000000000000000000000000000000000000611c9d565b6107aa7fab3e34c100000000000000000000000000000000000000000000000000000000611c9d565b6107d37f28171ad000000000000000000000000000000000000000000000000000000000611c9d565b565b6107fe7fabbbbc73000000000000000000000000000000000000000000000000000000006115fa565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff81165f9081527fd241b3ceee256b40f80fe7a66fe789234ac389ed1408c472c4ee1cbb1deb8602602052604090206060906105a590611df2565b61087f7fabbbbc73000000000000000000000000000000000000000000000000000000006115fa565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff861630146108cc576108cc7f90467bf5000000000000000000000000000000000000000000000000000000006115fa565b73ffffffffffffffffffffffffffffffffffffffff88165f9081527fd241b3ceee256b40f80fe7a66fe789234ac389ed1408c472c4ee1cbb1deb86016020908152604080832063ffffffff8b16845290915290205474010000000000000000000000000000000000000000900460ff168061096a5761096a7fe01d3320000000000000000000000000000000000000000000000000000000006115fa565b505050505050505050565b688000000000ab143c064660010361099f57805c1561099757805f526004601cfd5b30815d6109b4565b308154036109b057805f526004601cfd5b3081555b505f80806109c484860186612b41565b9250925092506109d382611e03565b6040517f6352211e00000000000000000000000000000000000000000000000000000000815260048101829052339073ffffffffffffffffffffffffffffffffffffffff841690636352211e90602401602060405180830381865afa158015610a3e573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a629190612b6c565b73ffffffffffffffffffffffffffffffffffffffff1614610aa657610aa67ff107dccb000000000000000000000000000000000000000000000000000000006115fa565b6040517f17c957090000000000000000000000000000000000000000000000000000000081526004810182905282905f9073ffffffffffffffffffffffffffffffffffffffff8316906317c9570990602401602060405180830381865afa158015610b13573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b379190612b87565b90505f7fd241b3ceee256b40f80fe7a66fe789234ac389ed1408c472c4ee1cbb1deb8600335f908152600182016020908152604080832063ffffffff8b168452909152902080547fffffffffffffffffffffff0000000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8816177401000000000000000000000000000000000000000017815560028101869055909150610be86201518084612bcb565b815464ffffffffff919091167a010000000000000000000000000000000000000000000000000000027fff0000000000ffffffffffffffffffffffffffffffffffffffffffffffffffff909116178155335f9081526002830160205260409020610c5b9063ffffffff808a1690611e4716565b508054604080518781527a01000000000000000000000000000000000000000000000000000090920464ffffffffff16602083015273ffffffffffffffffffffffffffffffffffffffff88169163ffffffff8a169133917f08720d091868d49076b0e5ce78e90cebcfc6eee115bcd31ebe88c341793075bf910160405180910390a450505050505050610cec600190565b15610d1157688000000000ab143c0646600103610d0b575f815d505050565b80555050565b5f688000000000ab143c065d5050565b688000000000ab143c0646600103610d4b57805c15610d4357805f526004601cfd5b30815d610d60565b30815403610d5c57805f526004601cfd5b3081555b50806032811115610d9457610d947f2efeb701000000000000000000000000000000000000000000000000000000006115fa565b805f03610dc457610dc47f8ac7f055000000000000000000000000000000000000000000000000000000006115fa565b7fd241b3ceee256b40f80fe7a66fe789234ac389ed1408c472c4ee1cbb1deb86005f5b8281101561121d57610e1b82868684818110610e0557610e05612bde565b61061d92602060409092020190810191506127f3565b610e4857610e487f59530ce9000000000000000000000000000000000000000000000000000000006115fa565b5f826001015f878785818110610e6057610e60612bde565b610e7692602060409092020190810191506127f3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f878785818110610ec257610ec2612bde565b9050604002016020016020810190610eda9190612a4c565b63ffffffff16815260208101919091526040015f20805490915074010000000000000000000000000000000000000000900460ff16610fee57858583818110610f2557610f25612bde565b9050604002016020016020810190610f3d9190612a4c565b63ffffffff16868684818110610f5557610f55612bde565b610f6b92602060409092020190810191506127f3565b73ffffffffffffffffffffffffffffffffffffffff167f5db17eb6b69c9f0cf51e3b1f2c90a067a24697d427ba54c65f211120d3da7c05604051610fe09060208082526008908201527f494e414354495645000000000000000000000000000000000000000000000000604082015260600190565b60405180910390a350611215565b80547a010000000000000000000000000000000000000000000000000000900464ffffffffff164210156110e95785858381811061102e5761102e612bde565b90506040020160200160208101906110469190612a4c565b63ffffffff1686868481811061105e5761105e612bde565b61107492602060409092020190810191506127f3565b73ffffffffffffffffffffffffffffffffffffffff167f5db17eb6b69c9f0cf51e3b1f2c90a067a24697d427ba54c65f211120d3da7c05604051610fe09060208082526007908201527f4e4f545f44554500000000000000000000000000000000000000000000000000604082015260600190565b805461111e906203f480907a010000000000000000000000000000000000000000000000000000900464ffffffffff16612c0b565b4211156111f25785858381811061113757611137612bde565b905060400201602001602081019061114f9190612a4c565b63ffffffff1686868481811061116757611167612bde565b61117d92602060409092020190810191506127f3565b73ffffffffffffffffffffffffffffffffffffffff167f5db17eb6b69c9f0cf51e3b1f2c90a067a24697d427ba54c65f211120d3da7c05604051610fe0906020808252600a908201527f504153545f475241434500000000000000000000000000000000000000000000604082015260600190565b6112138187878581811061120857611208612bde565b905060400201611602565b505b600101610de7565b505050610cec600190565b688000000000ab143c064660010361125257805c1561124a57805f526004601cfd5b30815d611267565b3081540361126357805f526004601cfd5b3081555b505f61127582840184612a4c565b335f9081527fd241b3ceee256b40f80fe7a66fe789234ac389ed1408c472c4ee1cbb1deb8602602052604090209091507fd241b3ceee256b40f80fe7a66fe789234ac389ed1408c472c4ee1cbb1deb8600906112da9063ffffffff80851690611e5216565b611307576113077faacf701b000000000000000000000000000000000000000000000000000000006115fa565b335f81815260018084016020908152604080842063ffffffff8816808652925280842080547fff00000000000000000000000000000000000000000000000000000000000000168155928301849055600290920183905590519092917f48c4a5a219af3d077894cac7e6b26c5cdb83cf91d718428985a3f4a85e9ed45d91a35050610cec600190565b335f9081527fd241b3ceee256b40f80fe7a66fe789234ac389ed1408c472c4ee1cbb1deb86016020908152604080832063ffffffff851684529091529020805474010000000000000000000000000000000000000000900460ff16611418576114187fe01d3320000000000000000000000000000000000000000000000000000000006115fa565b80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16815560405163ffffffff83169033907fd01480b28a9baefd1cd771d8109d1abf2380614146253e17b61774b7b3fb77f1905f90a35050565b7f4675fa8241f86f37157864d3d49b85ad4b164352c516da28e1678a90470ae3005473ffffffffffffffffffffffffffffffffffffffff1633146114eb576040517f65f490650000000000000000000000000000000000000000000000000000000081523360048201526024015b60405180910390fd5b6114f481611e03565b6106ee7fd241b3ceee256b40f80fe7a66fe789234ac389ed1408c472c4ee1cbb1deb860082611e5d565b7f4675fa8241f86f37157864d3d49b85ad4b164352c516da28e1678a90470ae3005473ffffffffffffffffffffffffffffffffffffffff163314611590576040517f65f490650000000000000000000000000000000000000000000000000000000081523360048201526024016114e2565b61159981611e03565b6106ee7fd241b3ceee256b40f80fe7a66fe789234ac389ed1408c472c4ee1cbb1deb860082611fe1565b5f3373ffffffffffffffffffffffffffffffffffffffff8316036115e9575060016105a5565b6115f38333612155565b9392505050565b805f5260045ffd5b815474010000000000000000000000000000000000000000900460ff1661164c5761164c7fe01d3320000000000000000000000000000000000000000000000000000000006115fa565b81547a010000000000000000000000000000000000000000000000000000900464ffffffffff164210156116a3576116a37fd1cf008c000000000000000000000000000000000000000000000000000000006115fa565b81546116d8906203f480907a010000000000000000000000000000000000000000000000000000900464ffffffffff16612c0b565b42111561176e5781547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1682556117156040820160208301612a4c565b63ffffffff1661172860208301836127f3565b73ffffffffffffffffffffffffffffffffffffffff167fd01480b28a9baefd1cd771d8109d1abf2380614146253e17b61774b7b3fb77f160405160405180910390a35050565b815460028301546040517f5803909f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909216915f918391635803909f916117ce9160040190815260200190565b602060405180830381865afa1580156117e9573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061180d9190612b87565b905061181d426301e13380612c0b565b845464ffffffffff919091167a010000000000000000000000000000000000000000000000000000027fff0000000000ffffffffffffffffffffffffffffffffffffffffffffffffffff90911617845560028401546040515f916118879160240190815260200190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f7c9669ac00000000000000000000000000000000000000000000000000000000179052865490519192505f9161192d9173ffffffffffffffffffffffffffffffffffffffff169085908590602401612c1e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fb61d27f6000000000000000000000000000000000000000000000000000000001790529192505f916119fe916119bc91908901908901612a4c565b885460028a01546040805173ffffffffffffffffffffffffffffffffffffffff9093166020840152820152606001604051602081830303815290604052612227565b90505f8282604051602401611a14929190612c5b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ff2680c0f00000000000000000000000000000000000000000000000000000000179052909150611aa590611a9e908901896127f3565b5f83612253565b5060028801546040517f17c957090000000000000000000000000000000000000000000000000000000081525f9173ffffffffffffffffffffffffffffffffffffffff8916916317c9570991611b019160040190815260200190565b602060405180830381865afa158015611b1c573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b409190612b87565b9050611b4f6201518082612bcb565b89547fff00000000000000000000ffffffffffffffffffffffffffffffffffffffffff167a01000000000000000000000000000000000000000000000000000064ffffffffff928316027fffffffffffff0000000000ffffffffffffffffffffffffffffffffffffffffff161775010000000000000000000000000000000000000000004292909216919091021789556001890180548791905f90611bf5908490612c0b565b90915550611c0b90506040890160208a01612a4c565b63ffffffff16611c1e60208a018a6127f3565b8a546040517a01000000000000000000000000000000000000000000000000000090910464ffffffffff16815273ffffffffffffffffffffffffffffffffffffffff91909116907f9303e8c36264aec4db05a9f75307a7936b625c753189351a713ff8559cf0f4fd9060200160405180910390a3505050505050505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081165f9081527f81088bbc801e045ea3e7620779ab349988f58afbdfba10dff983df3f33522b00602052604090205460ff16611d71577fffffffff0000000000000000000000000000000000000000000000000000000081165f9081527f81088bbc801e045ea3e7620779ab349988f58afbdfba10dff983df3f33522b006020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055611da3565b6040517ff2cfeefa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fffffffff000000000000000000000000000000000000000000000000000000008216907f78f84e5b1c5c05be2b5ad3800781dd404d6d6c6302bc755c0fe20f58a33a7f22905f90a250565b60606105a5611e008361229f565b90565b73ffffffffffffffffffffffffffffffffffffffff81166106f2576106f27fe6c4247b000000000000000000000000000000000000000000000000000000006115fa565b5f6115f38383612358565b5f6115f3838361246a565b63978aab926004525f8281526024812073ffffffffffffffffffffffffffffffffffffffff92909216917fffffffffffffffffffffffffffffffffffffffffffffff04498025ad2b4047418301611ebb5763f5a267f15f526004601cfd5b82611ecd5768fbb67fda52d4bfb8bf92505b80546bffffffffffffffffffffffff81168260205280611f94578160601c80611f00578560601b84556001945050611fd8565b858103611f0d5750611fd8565b600184015460601c80611f2e578660601b6001860155600195505050611fd8565b868103611f3c575050611fd8565b600285015460601c80611f5e578760601b600287015560019650505050611fd8565b878103611f6d57505050611fd8565b5f928352604080842060019055918352818320600290558252902060039055506007908117905b845f5260405f208054611fd657600191821c808301825591945081611fc2578560601b600317845550611fd8565b8560601b8285015582600201845550611fd8565b505b50505092915050565b63978aab926004525f8281526024812073ffffffffffffffffffffffffffffffffffffffff92909216917fffffffffffffffffffffffffffffffffffffffffffffff04498025ad2b404741830161203f5763f5a267f15f526004601cfd5b826120515768fbb67fda52d4bfb8bf92505b80546bffffffffffffffffffffffff8116806120d05760019350848260601c0361208e5760018301805484556002840180549091555f9055611fd8565b84600184015460601c036120af5760028301805460018501555f9055611fd8565b84600284015460601c036120c8575f6002840155611fd8565b5f9350611fd8565b82602052845f5260405f208054806120e9575050611fd8565b60018360011c039250826001820314612119578285015460601c8060601b60018303870155805f52508060405f20555b5083547fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016600192831b1782179093555f909255509392505050565b63978aab926004525f8281526024812073ffffffffffffffffffffffffffffffffffffffff92909216917fffffffffffffffffffffffffffffffffffffffffffffff04498025ad2b40474183016121b35763f5a267f15f526004601cfd5b826121c55768fbb67fda52d4bfb8bf92505b80546bffffffffffffffffffffffff811661220e5760019250838160601c031561221f57600182015460601c841461221f57600282015460601c841461221f575b5f925061221f565b81602052835f5260405f2054151592505b505092915050565b60606115f3835f8460405160200161223f9190612c96565b604051602081830303815290604052612568565b60405181515f9038906020850186885af1612270573d5f823e3d81fd5b3d61228857833b61228857635a836a5f5f526004601cfd5b3d8152602081013d5f823e3d016040529392505050565b6318fb58646004525f81815260249020801954604051919068fbb67fda52d4bfb8bf90602084018161231857835480156123125780841415028152600184810154909250801561231257808414150260208201526002848101549092508015612312576003925083811415810260408301525b50612343565b8160011c91505f5b8281101561234157848101548481141502600582901b830152600101612320565b505b8185528160051b810160405250505050919050565b6318fb58646004525f8281526024812068fbb67fda52d4bfb8bf83036123855763f5a267f15f526004601cfd5b826123975768fbb67fda52d4bfb8bf92505b801954816020528061243b578154806123b757848355600193505061221f565b8481036123c4575061221f565b6001830154806123df5785600185015560019450505061221f565b8581036123ed57505061221f565b600284015480612409578660028601556001955050505061221f565b8681036124185750505061221f565b5f9283526040808420600190559183528183206002905582529020600390555060075b835f5260405f208054611fd857600191821c8381018690558083019182905590821b821783195590925061221f565b6318fb58646004525f8281526024812068fbb67fda52d4bfb8bf83036124975763f5a267f15f526004601cfd5b826124a95768fbb67fda52d4bfb8bf92505b8019548061250a5760019250838254036124d65760018201805483556002830180549091555f905561221f565b836001830154036124f45760028201805460018401555f905561221f565b83600283015403612206575f600283015561221f565b81602052835f5260405f2080548061252357505061221f565b60018360011c03925082600182031461254d57828401548060018303860155805f52508060405f20555b5060018260011b178319555f81555060019250505092915050565b60605f8315612575576001175b6040517fff0000000000000000000000000000000000000000000000000000000000000060f883901b1660208201527fffffffff0000000000000000000000000000000000000000000000000000000060e087901b166021820152602501604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052612610918590602001612cc7565b6040516020818303038152906040529150509392505050565b5f60208284031215612639575f5ffd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146115f3575f5ffd5b5f6040828403128015612679575f5ffd5b509092915050565b803563ffffffff81168114612694575f5ffd5b919050565b5f5f5f606084860312156126ab575f5ffd5b6126b484612681565b9250602084013567ffffffffffffffff8111156126cf575f5ffd5b840161012081870312156126e1575f5ffd5b929592945050506040919091013590565b73ffffffffffffffffffffffffffffffffffffffff811681146106f2575f5ffd5b5f5f83601f840112612723575f5ffd5b50813567ffffffffffffffff81111561273a575f5ffd5b602083019150836020828501011115612751575f5ffd5b9250929050565b5f5f5f5f5f5f5f60a0888a03121561276e575f5ffd5b61277788612681565b96506020880135612787816126f2565b955060408801359450606088013567ffffffffffffffff8111156127a9575f5ffd5b6127b58a828b01612713565b909550935050608088013567ffffffffffffffff8111156127d4575f5ffd5b6127e08a828b01612713565b989b979a50959850939692959293505050565b5f60208284031215612803575f5ffd5b81356115f3816126f2565b602080825282518282018190525f918401906040840190835b81811015612845578351835260209384019390920191600101612827565b509095945050505050565b5f5f5f5f5f60808688031215612864575f5ffd5b61286d86612681565b9450602086013561287d816126f2565b935060408601359250606086013567ffffffffffffffff81111561289f575f5ffd5b6128ab88828901612713565b969995985093965092949392505050565b5f5f5f5f5f5f5f5f60c0898b0312156128d3575f5ffd5b88356128de816126f2565b97506128ec60208a01612681565b965060408901356128fc816126f2565b955060608901359450608089013567ffffffffffffffff81111561291e575f5ffd5b61292a8b828c01612713565b90955093505060a089013567ffffffffffffffff811115612949575f5ffd5b6129558b828c01612713565b999c989b5096995094979396929594505050565b5f5f6020838503121561297a575f5ffd5b823567ffffffffffffffff811115612990575f5ffd5b61299c85828601612713565b90969095509350505050565b5f5f602083850312156129b9575f5ffd5b823567ffffffffffffffff8111156129cf575f5ffd5b8301601f810185136129df575f5ffd5b803567ffffffffffffffff8111156129f5575f5ffd5b8560208260061b8401011115612a09575f5ffd5b6020919091019590945092505050565b5f5f60408385031215612a2a575f5ffd5b8235612a35816126f2565b9150612a4360208401612681565b90509250929050565b5f60208284031215612a5c575f5ffd5b6115f382612681565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081525f6115f36020830184612a65565b5f5f5f5f5f5f60a08789031215612ad8575f5ffd5b8635612ae3816126f2565b9550612af160208801612681565b94506040870135612b01816126f2565b935060608701359250608087013567ffffffffffffffff811115612b23575f5ffd5b612b2f89828a01612713565b979a9699509497509295939492505050565b5f5f5f60608486031215612b53575f5ffd5b612b5c84612681565b925060208401356126e1816126f2565b5f60208284031215612b7c575f5ffd5b81516115f3816126f2565b5f60208284031215612b97575f5ffd5b5051919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b818103818111156105a5576105a5612b9e565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b808201808211156105a5576105a5612b9e565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201525f612c526060830184612a65565b95945050505050565b604081525f612c6d6040830185612a65565b8281036020840152612c528185612a65565b5f81518060208401855e5f93019283525090919050565b7fff0000000000000000000000000000000000000000000000000000000000000081525f6115f36001830184612c7f565b5f612cdb612cd58386612c7f565b84612c7f565b94935050505056";
|
|
900
|
+
|
|
901
|
+
type SubscriptionModuleFacetConstructorParams =
|
|
902
|
+
| [signer?: Signer]
|
|
903
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
904
|
+
|
|
905
|
+
const isSuperArgs = (
|
|
906
|
+
xs: SubscriptionModuleFacetConstructorParams
|
|
907
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
908
|
+
|
|
909
|
+
export class SubscriptionModuleFacet__factory extends ContractFactory {
|
|
910
|
+
constructor(...args: SubscriptionModuleFacetConstructorParams) {
|
|
911
|
+
if (isSuperArgs(args)) {
|
|
912
|
+
super(...args);
|
|
913
|
+
} else {
|
|
914
|
+
super(_abi, _bytecode, args[0]);
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
override deploy(
|
|
919
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
920
|
+
): Promise<SubscriptionModuleFacet> {
|
|
921
|
+
return super.deploy(overrides || {}) as Promise<SubscriptionModuleFacet>;
|
|
922
|
+
}
|
|
923
|
+
override getDeployTransaction(
|
|
924
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
925
|
+
): TransactionRequest {
|
|
926
|
+
return super.getDeployTransaction(overrides || {});
|
|
927
|
+
}
|
|
928
|
+
override attach(address: string): SubscriptionModuleFacet {
|
|
929
|
+
return super.attach(address) as SubscriptionModuleFacet;
|
|
930
|
+
}
|
|
931
|
+
override connect(signer: Signer): SubscriptionModuleFacet__factory {
|
|
932
|
+
return super.connect(signer) as SubscriptionModuleFacet__factory;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
static readonly bytecode = _bytecode;
|
|
936
|
+
static readonly abi = _abi;
|
|
937
|
+
static createInterface(): SubscriptionModuleFacetInterface {
|
|
938
|
+
return new utils.Interface(_abi) as SubscriptionModuleFacetInterface;
|
|
939
|
+
}
|
|
940
|
+
static connect(
|
|
941
|
+
address: string,
|
|
942
|
+
signerOrProvider: Signer | Provider
|
|
943
|
+
): SubscriptionModuleFacet {
|
|
944
|
+
return new Contract(
|
|
945
|
+
address,
|
|
946
|
+
_abi,
|
|
947
|
+
signerOrProvider
|
|
948
|
+
) as SubscriptionModuleFacet;
|
|
949
|
+
}
|
|
950
|
+
}
|