@towns-protocol/generated 0.0.382 → 0.0.384

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.
Files changed (45) hide show
  1. package/dev/.contracts-hash +1 -1
  2. package/dev/abis/Channels.abi.json +10 -10
  3. package/dev/abis/Channels.abi.ts +10 -10
  4. package/dev/abis/EntitlementsManager.abi.json +10 -10
  5. package/dev/abis/EntitlementsManager.abi.ts +10 -10
  6. package/dev/abis/IAppFactory.abi.json +224 -0
  7. package/dev/abis/IAppFactory.abi.ts +224 -0
  8. package/dev/abis/IAppFactoryBase.abi.json +72 -0
  9. package/dev/abis/IAppFactoryBase.abi.ts +72 -0
  10. package/dev/abis/IAppRegistry.abi.json +10 -10
  11. package/dev/abis/IAppRegistry.abi.ts +10 -10
  12. package/dev/abis/IAppRegistryBase.abi.json +10 -10
  13. package/dev/abis/IAppRegistryBase.abi.ts +10 -10
  14. package/dev/abis/ISimpleApp.abi.json +203 -0
  15. package/dev/abis/ISimpleApp.abi.ts +203 -0
  16. package/dev/abis/ISimpleAppBase.abi.json +146 -0
  17. package/dev/abis/ISimpleAppBase.abi.ts +146 -0
  18. package/dev/abis/ITownsApp.abi.json +194 -0
  19. package/dev/abis/ITownsApp.abi.ts +194 -0
  20. package/dev/abis/MembershipFacet.abi.json +10 -10
  21. package/dev/abis/MembershipFacet.abi.ts +10 -10
  22. package/dev/abis/PrepayFacet.abi.json +10 -10
  23. package/dev/abis/PrepayFacet.abi.ts +10 -10
  24. package/dev/abis/Roles.abi.json +10 -10
  25. package/dev/abis/Roles.abi.ts +10 -10
  26. package/dev/typings/IAppFactory.ts +284 -1
  27. package/dev/typings/ISimpleApp.ts +344 -0
  28. package/dev/typings/ITownsApp.ts +371 -0
  29. package/dev/typings/factories/Channels__factory.ts +10 -10
  30. package/dev/typings/factories/EntitlementsManager__factory.ts +10 -10
  31. package/dev/typings/factories/IAppFactory__factory.ts +224 -0
  32. package/dev/typings/factories/IAppRegistry__factory.ts +10 -10
  33. package/dev/typings/factories/ISimpleApp__factory.ts +224 -0
  34. package/dev/typings/factories/ITownsApp__factory.ts +215 -0
  35. package/dev/typings/factories/MembershipFacet__factory.ts +10 -10
  36. package/dev/typings/factories/PrepayFacet__factory.ts +10 -10
  37. package/dev/typings/factories/Roles__factory.ts +10 -10
  38. package/dev/typings/factories/index.ts +2 -1
  39. package/dev/typings/index.ts +4 -2
  40. package/package.json +3 -3
  41. package/scripts/prepare.js +10 -2
  42. package/dev/abis/SimpleApp.abi.json +0 -563
  43. package/dev/abis/SimpleApp.abi.ts +0 -563
  44. package/dev/typings/SimpleApp.ts +0 -923
  45. package/dev/typings/factories/SimpleApp__factory.ts +0 -620
@@ -1,563 +0,0 @@
1
- [
2
- {
3
- "type": "receive",
4
- "stateMutability": "payable"
5
- },
6
- {
7
- "type": "function",
8
- "name": "accessDuration",
9
- "inputs": [],
10
- "outputs": [
11
- {
12
- "name": "",
13
- "type": "uint48",
14
- "internalType": "uint48"
15
- }
16
- ],
17
- "stateMutability": "view"
18
- },
19
- {
20
- "type": "function",
21
- "name": "cancelOwnershipHandover",
22
- "inputs": [],
23
- "outputs": [],
24
- "stateMutability": "payable"
25
- },
26
- {
27
- "type": "function",
28
- "name": "completeOwnershipHandover",
29
- "inputs": [
30
- {
31
- "name": "pendingOwner",
32
- "type": "address",
33
- "internalType": "address"
34
- }
35
- ],
36
- "outputs": [],
37
- "stateMutability": "payable"
38
- },
39
- {
40
- "type": "function",
41
- "name": "executionManifest",
42
- "inputs": [],
43
- "outputs": [
44
- {
45
- "name": "",
46
- "type": "tuple",
47
- "internalType": "struct ExecutionManifest",
48
- "components": [
49
- {
50
- "name": "executionFunctions",
51
- "type": "tuple[]",
52
- "internalType": "struct ManifestExecutionFunction[]",
53
- "components": [
54
- {
55
- "name": "executionSelector",
56
- "type": "bytes4",
57
- "internalType": "bytes4"
58
- },
59
- {
60
- "name": "skipRuntimeValidation",
61
- "type": "bool",
62
- "internalType": "bool"
63
- },
64
- {
65
- "name": "allowGlobalValidation",
66
- "type": "bool",
67
- "internalType": "bool"
68
- }
69
- ]
70
- },
71
- {
72
- "name": "executionHooks",
73
- "type": "tuple[]",
74
- "internalType": "struct ManifestExecutionHook[]",
75
- "components": [
76
- {
77
- "name": "executionSelector",
78
- "type": "bytes4",
79
- "internalType": "bytes4"
80
- },
81
- {
82
- "name": "entityId",
83
- "type": "uint32",
84
- "internalType": "uint32"
85
- },
86
- {
87
- "name": "isPreHook",
88
- "type": "bool",
89
- "internalType": "bool"
90
- },
91
- {
92
- "name": "isPostHook",
93
- "type": "bool",
94
- "internalType": "bool"
95
- }
96
- ]
97
- },
98
- {
99
- "name": "interfaceIds",
100
- "type": "bytes4[]",
101
- "internalType": "bytes4[]"
102
- }
103
- ]
104
- }
105
- ],
106
- "stateMutability": "pure"
107
- },
108
- {
109
- "type": "function",
110
- "name": "initialize",
111
- "inputs": [
112
- {
113
- "name": "owner",
114
- "type": "address",
115
- "internalType": "address"
116
- },
117
- {
118
- "name": "appId",
119
- "type": "string",
120
- "internalType": "string"
121
- },
122
- {
123
- "name": "permissions",
124
- "type": "bytes32[]",
125
- "internalType": "bytes32[]"
126
- },
127
- {
128
- "name": "installPrice",
129
- "type": "uint256",
130
- "internalType": "uint256"
131
- },
132
- {
133
- "name": "accessDuration",
134
- "type": "uint48",
135
- "internalType": "uint48"
136
- },
137
- {
138
- "name": "client",
139
- "type": "address",
140
- "internalType": "address"
141
- }
142
- ],
143
- "outputs": [],
144
- "stateMutability": "nonpayable"
145
- },
146
- {
147
- "type": "function",
148
- "name": "installPrice",
149
- "inputs": [],
150
- "outputs": [
151
- {
152
- "name": "",
153
- "type": "uint256",
154
- "internalType": "uint256"
155
- }
156
- ],
157
- "stateMutability": "view"
158
- },
159
- {
160
- "type": "function",
161
- "name": "moduleId",
162
- "inputs": [],
163
- "outputs": [
164
- {
165
- "name": "",
166
- "type": "string",
167
- "internalType": "string"
168
- }
169
- ],
170
- "stateMutability": "view"
171
- },
172
- {
173
- "type": "function",
174
- "name": "moduleOwner",
175
- "inputs": [],
176
- "outputs": [
177
- {
178
- "name": "",
179
- "type": "address",
180
- "internalType": "address"
181
- }
182
- ],
183
- "stateMutability": "view"
184
- },
185
- {
186
- "type": "function",
187
- "name": "onInstall",
188
- "inputs": [
189
- {
190
- "name": "postInstallData",
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": "postUninstallData",
204
- "type": "bytes",
205
- "internalType": "bytes"
206
- }
207
- ],
208
- "outputs": [],
209
- "stateMutability": "nonpayable"
210
- },
211
- {
212
- "type": "function",
213
- "name": "owner",
214
- "inputs": [],
215
- "outputs": [
216
- {
217
- "name": "result",
218
- "type": "address",
219
- "internalType": "address"
220
- }
221
- ],
222
- "stateMutability": "view"
223
- },
224
- {
225
- "type": "function",
226
- "name": "ownershipHandoverExpiresAt",
227
- "inputs": [
228
- {
229
- "name": "pendingOwner",
230
- "type": "address",
231
- "internalType": "address"
232
- }
233
- ],
234
- "outputs": [
235
- {
236
- "name": "result",
237
- "type": "uint256",
238
- "internalType": "uint256"
239
- }
240
- ],
241
- "stateMutability": "view"
242
- },
243
- {
244
- "type": "function",
245
- "name": "renounceOwnership",
246
- "inputs": [],
247
- "outputs": [],
248
- "stateMutability": "payable"
249
- },
250
- {
251
- "type": "function",
252
- "name": "requestOwnershipHandover",
253
- "inputs": [],
254
- "outputs": [],
255
- "stateMutability": "payable"
256
- },
257
- {
258
- "type": "function",
259
- "name": "requiredPermissions",
260
- "inputs": [],
261
- "outputs": [
262
- {
263
- "name": "",
264
- "type": "bytes32[]",
265
- "internalType": "bytes32[]"
266
- }
267
- ],
268
- "stateMutability": "view"
269
- },
270
- {
271
- "type": "function",
272
- "name": "sendCurrency",
273
- "inputs": [
274
- {
275
- "name": "recipient",
276
- "type": "address",
277
- "internalType": "address"
278
- },
279
- {
280
- "name": "currency",
281
- "type": "address",
282
- "internalType": "address"
283
- },
284
- {
285
- "name": "amount",
286
- "type": "uint256",
287
- "internalType": "uint256"
288
- }
289
- ],
290
- "outputs": [],
291
- "stateMutability": "nonpayable"
292
- },
293
- {
294
- "type": "function",
295
- "name": "supportsInterface",
296
- "inputs": [
297
- {
298
- "name": "interfaceId",
299
- "type": "bytes4",
300
- "internalType": "bytes4"
301
- }
302
- ],
303
- "outputs": [
304
- {
305
- "name": "",
306
- "type": "bool",
307
- "internalType": "bool"
308
- }
309
- ],
310
- "stateMutability": "pure"
311
- },
312
- {
313
- "type": "function",
314
- "name": "transferOwnership",
315
- "inputs": [
316
- {
317
- "name": "newOwner",
318
- "type": "address",
319
- "internalType": "address"
320
- }
321
- ],
322
- "outputs": [],
323
- "stateMutability": "payable"
324
- },
325
- {
326
- "type": "function",
327
- "name": "updatePermissions",
328
- "inputs": [
329
- {
330
- "name": "permissions",
331
- "type": "bytes32[]",
332
- "internalType": "bytes32[]"
333
- }
334
- ],
335
- "outputs": [],
336
- "stateMutability": "nonpayable"
337
- },
338
- {
339
- "type": "function",
340
- "name": "updatePricing",
341
- "inputs": [
342
- {
343
- "name": "installPrice",
344
- "type": "uint256",
345
- "internalType": "uint256"
346
- },
347
- {
348
- "name": "accessDuration",
349
- "type": "uint48",
350
- "internalType": "uint48"
351
- }
352
- ],
353
- "outputs": [],
354
- "stateMutability": "nonpayable"
355
- },
356
- {
357
- "type": "function",
358
- "name": "withdrawETH",
359
- "inputs": [
360
- {
361
- "name": "recipient",
362
- "type": "address",
363
- "internalType": "address"
364
- }
365
- ],
366
- "outputs": [],
367
- "stateMutability": "nonpayable"
368
- },
369
- {
370
- "type": "event",
371
- "name": "Initialized",
372
- "inputs": [
373
- {
374
- "name": "version",
375
- "type": "uint64",
376
- "indexed": false,
377
- "internalType": "uint64"
378
- }
379
- ],
380
- "anonymous": false
381
- },
382
- {
383
- "type": "event",
384
- "name": "OwnershipHandoverCanceled",
385
- "inputs": [
386
- {
387
- "name": "pendingOwner",
388
- "type": "address",
389
- "indexed": true,
390
- "internalType": "address"
391
- }
392
- ],
393
- "anonymous": false
394
- },
395
- {
396
- "type": "event",
397
- "name": "OwnershipHandoverRequested",
398
- "inputs": [
399
- {
400
- "name": "pendingOwner",
401
- "type": "address",
402
- "indexed": true,
403
- "internalType": "address"
404
- }
405
- ],
406
- "anonymous": false
407
- },
408
- {
409
- "type": "event",
410
- "name": "OwnershipTransferred",
411
- "inputs": [
412
- {
413
- "name": "oldOwner",
414
- "type": "address",
415
- "indexed": true,
416
- "internalType": "address"
417
- },
418
- {
419
- "name": "newOwner",
420
- "type": "address",
421
- "indexed": true,
422
- "internalType": "address"
423
- }
424
- ],
425
- "anonymous": false
426
- },
427
- {
428
- "type": "event",
429
- "name": "PermissionsUpdated",
430
- "inputs": [
431
- {
432
- "name": "permissions",
433
- "type": "bytes32[]",
434
- "indexed": false,
435
- "internalType": "bytes32[]"
436
- }
437
- ],
438
- "anonymous": false
439
- },
440
- {
441
- "type": "event",
442
- "name": "PricingUpdated",
443
- "inputs": [
444
- {
445
- "name": "installPrice",
446
- "type": "uint256",
447
- "indexed": false,
448
- "internalType": "uint256"
449
- },
450
- {
451
- "name": "accessDuration",
452
- "type": "uint48",
453
- "indexed": false,
454
- "internalType": "uint48"
455
- }
456
- ],
457
- "anonymous": false
458
- },
459
- {
460
- "type": "event",
461
- "name": "SendCurrency",
462
- "inputs": [
463
- {
464
- "name": "recipient",
465
- "type": "address",
466
- "indexed": true,
467
- "internalType": "address"
468
- },
469
- {
470
- "name": "currency",
471
- "type": "address",
472
- "indexed": true,
473
- "internalType": "address"
474
- },
475
- {
476
- "name": "amount",
477
- "type": "uint256",
478
- "indexed": false,
479
- "internalType": "uint256"
480
- }
481
- ],
482
- "anonymous": false
483
- },
484
- {
485
- "type": "event",
486
- "name": "Withdrawal",
487
- "inputs": [
488
- {
489
- "name": "recipient",
490
- "type": "address",
491
- "indexed": true,
492
- "internalType": "address"
493
- },
494
- {
495
- "name": "amount",
496
- "type": "uint256",
497
- "indexed": false,
498
- "internalType": "uint256"
499
- }
500
- ],
501
- "anonymous": false
502
- },
503
- {
504
- "type": "error",
505
- "name": "AlreadyInitialized",
506
- "inputs": []
507
- },
508
- {
509
- "type": "error",
510
- "name": "InvalidAddressInput",
511
- "inputs": []
512
- },
513
- {
514
- "type": "error",
515
- "name": "InvalidAmount",
516
- "inputs": []
517
- },
518
- {
519
- "type": "error",
520
- "name": "InvalidCaller",
521
- "inputs": []
522
- },
523
- {
524
- "type": "error",
525
- "name": "InvalidCurrency",
526
- "inputs": []
527
- },
528
- {
529
- "type": "error",
530
- "name": "InvalidInitialization",
531
- "inputs": []
532
- },
533
- {
534
- "type": "error",
535
- "name": "NewOwnerIsZeroAddress",
536
- "inputs": []
537
- },
538
- {
539
- "type": "error",
540
- "name": "NoBalanceToWithdraw",
541
- "inputs": []
542
- },
543
- {
544
- "type": "error",
545
- "name": "NoHandoverRequest",
546
- "inputs": []
547
- },
548
- {
549
- "type": "error",
550
- "name": "NotInitializing",
551
- "inputs": []
552
- },
553
- {
554
- "type": "error",
555
- "name": "Unauthorized",
556
- "inputs": []
557
- },
558
- {
559
- "type": "error",
560
- "name": "ZeroAddress",
561
- "inputs": []
562
- }
563
- ]