@towns-protocol/generated 0.0.375 → 0.0.377
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/.contracts-hash +1 -1
- package/dev/abis/Channels.abi.json +1144 -153
- package/dev/abis/Channels.abi.ts +1144 -153
- package/dev/abis/EntitlementsManager.abi.json +1001 -10
- package/dev/abis/EntitlementsManager.abi.ts +1001 -10
- package/dev/abis/IAppInstaller.abi.json +89 -0
- package/dev/abis/IAppInstaller.abi.ts +89 -0
- package/dev/abis/IAppRegistry.abi.json +0 -87
- package/dev/abis/IAppRegistry.abi.ts +0 -87
- package/dev/abis/ITipping.abi.json +3 -3
- package/dev/abis/ITipping.abi.ts +3 -3
- package/dev/abis/ITippingBase.abi.json +3 -3
- package/dev/abis/ITippingBase.abi.ts +3 -3
- package/dev/abis/MembershipFacet.abi.json +1019 -28
- package/dev/abis/MembershipFacet.abi.ts +1019 -28
- package/dev/abis/PrepayFacet.abi.json +1012 -21
- package/dev/abis/PrepayFacet.abi.ts +1012 -21
- package/dev/abis/Roles.abi.json +991 -0
- package/dev/abis/Roles.abi.ts +991 -0
- package/dev/typings/Channels.ts +676 -0
- package/dev/typings/EntitlementsManager.ts +677 -0
- package/dev/typings/IAppInstaller.ts +239 -0
- package/dev/typings/IAppRegistry.ts +0 -166
- package/dev/typings/ITipping.ts +6 -6
- package/dev/typings/MembershipFacet.ts +676 -0
- package/dev/typings/PrepayFacet.ts +676 -0
- package/dev/typings/Roles.ts +676 -0
- package/dev/typings/factories/Channels__factory.ts +1146 -155
- package/dev/typings/factories/EntitlementsManager__factory.ts +1001 -10
- package/dev/typings/factories/IAppInstaller__factory.ts +110 -0
- package/dev/typings/factories/IAppRegistry__factory.ts +0 -87
- package/dev/typings/factories/ITipping__factory.ts +3 -3
- package/dev/typings/factories/MembershipFacet__factory.ts +1019 -28
- package/dev/typings/factories/PrepayFacet__factory.ts +1012 -21
- package/dev/typings/factories/Roles__factory.ts +992 -1
- package/dev/typings/factories/index.ts +1 -0
- package/dev/typings/index.ts +2 -0
- package/package.json +3 -3
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "function",
|
|
4
|
+
"name": "installApp",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "app",
|
|
8
|
+
"type": "address",
|
|
9
|
+
"internalType": "contract ITownsApp"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "account",
|
|
13
|
+
"type": "address",
|
|
14
|
+
"internalType": "contract IAppAccount"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "data",
|
|
18
|
+
"type": "bytes",
|
|
19
|
+
"internalType": "bytes"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"outputs": [],
|
|
23
|
+
"stateMutability": "payable"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "function",
|
|
27
|
+
"name": "renewApp",
|
|
28
|
+
"inputs": [
|
|
29
|
+
{
|
|
30
|
+
"name": "app",
|
|
31
|
+
"type": "address",
|
|
32
|
+
"internalType": "contract ITownsApp"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "account",
|
|
36
|
+
"type": "address",
|
|
37
|
+
"internalType": "contract IAppAccount"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "data",
|
|
41
|
+
"type": "bytes",
|
|
42
|
+
"internalType": "bytes"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"outputs": [],
|
|
46
|
+
"stateMutability": "payable"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"type": "function",
|
|
50
|
+
"name": "uninstallApp",
|
|
51
|
+
"inputs": [
|
|
52
|
+
{
|
|
53
|
+
"name": "app",
|
|
54
|
+
"type": "address",
|
|
55
|
+
"internalType": "contract ITownsApp"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "account",
|
|
59
|
+
"type": "address",
|
|
60
|
+
"internalType": "contract IAppAccount"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "data",
|
|
64
|
+
"type": "bytes",
|
|
65
|
+
"internalType": "bytes"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"outputs": [],
|
|
69
|
+
"stateMutability": "nonpayable"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "function",
|
|
73
|
+
"name": "updateApp",
|
|
74
|
+
"inputs": [
|
|
75
|
+
{
|
|
76
|
+
"name": "app",
|
|
77
|
+
"type": "address",
|
|
78
|
+
"internalType": "contract ITownsApp"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "account",
|
|
82
|
+
"type": "address",
|
|
83
|
+
"internalType": "contract IAppAccount"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"outputs": [],
|
|
87
|
+
"stateMutability": "nonpayable"
|
|
88
|
+
}
|
|
89
|
+
]
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export default [
|
|
2
|
+
{
|
|
3
|
+
"type": "function",
|
|
4
|
+
"name": "installApp",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "app",
|
|
8
|
+
"type": "address",
|
|
9
|
+
"internalType": "contract ITownsApp"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "account",
|
|
13
|
+
"type": "address",
|
|
14
|
+
"internalType": "contract IAppAccount"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "data",
|
|
18
|
+
"type": "bytes",
|
|
19
|
+
"internalType": "bytes"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"outputs": [],
|
|
23
|
+
"stateMutability": "payable"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "function",
|
|
27
|
+
"name": "renewApp",
|
|
28
|
+
"inputs": [
|
|
29
|
+
{
|
|
30
|
+
"name": "app",
|
|
31
|
+
"type": "address",
|
|
32
|
+
"internalType": "contract ITownsApp"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "account",
|
|
36
|
+
"type": "address",
|
|
37
|
+
"internalType": "contract IAppAccount"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "data",
|
|
41
|
+
"type": "bytes",
|
|
42
|
+
"internalType": "bytes"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"outputs": [],
|
|
46
|
+
"stateMutability": "payable"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"type": "function",
|
|
50
|
+
"name": "uninstallApp",
|
|
51
|
+
"inputs": [
|
|
52
|
+
{
|
|
53
|
+
"name": "app",
|
|
54
|
+
"type": "address",
|
|
55
|
+
"internalType": "contract ITownsApp"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "account",
|
|
59
|
+
"type": "address",
|
|
60
|
+
"internalType": "contract IAppAccount"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "data",
|
|
64
|
+
"type": "bytes",
|
|
65
|
+
"internalType": "bytes"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"outputs": [],
|
|
69
|
+
"stateMutability": "nonpayable"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "function",
|
|
73
|
+
"name": "updateApp",
|
|
74
|
+
"inputs": [
|
|
75
|
+
{
|
|
76
|
+
"name": "app",
|
|
77
|
+
"type": "address",
|
|
78
|
+
"internalType": "contract ITownsApp"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "account",
|
|
82
|
+
"type": "address",
|
|
83
|
+
"internalType": "contract IAppAccount"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"outputs": [],
|
|
87
|
+
"stateMutability": "nonpayable"
|
|
88
|
+
}
|
|
89
|
+
] as const
|
|
@@ -312,29 +312,6 @@
|
|
|
312
312
|
],
|
|
313
313
|
"stateMutability": "view"
|
|
314
314
|
},
|
|
315
|
-
{
|
|
316
|
-
"type": "function",
|
|
317
|
-
"name": "installApp",
|
|
318
|
-
"inputs": [
|
|
319
|
-
{
|
|
320
|
-
"name": "app",
|
|
321
|
-
"type": "address",
|
|
322
|
-
"internalType": "contract ITownsApp"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"name": "account",
|
|
326
|
-
"type": "address",
|
|
327
|
-
"internalType": "contract IAppAccount"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
"name": "data",
|
|
331
|
-
"type": "bytes",
|
|
332
|
-
"internalType": "bytes"
|
|
333
|
-
}
|
|
334
|
-
],
|
|
335
|
-
"outputs": [],
|
|
336
|
-
"stateMutability": "payable"
|
|
337
|
-
},
|
|
338
315
|
{
|
|
339
316
|
"type": "function",
|
|
340
317
|
"name": "isAppBanned",
|
|
@@ -391,70 +368,6 @@
|
|
|
391
368
|
"outputs": [],
|
|
392
369
|
"stateMutability": "nonpayable"
|
|
393
370
|
},
|
|
394
|
-
{
|
|
395
|
-
"type": "function",
|
|
396
|
-
"name": "renewApp",
|
|
397
|
-
"inputs": [
|
|
398
|
-
{
|
|
399
|
-
"name": "app",
|
|
400
|
-
"type": "address",
|
|
401
|
-
"internalType": "contract ITownsApp"
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"name": "account",
|
|
405
|
-
"type": "address",
|
|
406
|
-
"internalType": "contract IAppAccount"
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
"name": "data",
|
|
410
|
-
"type": "bytes",
|
|
411
|
-
"internalType": "bytes"
|
|
412
|
-
}
|
|
413
|
-
],
|
|
414
|
-
"outputs": [],
|
|
415
|
-
"stateMutability": "payable"
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
"type": "function",
|
|
419
|
-
"name": "uninstallApp",
|
|
420
|
-
"inputs": [
|
|
421
|
-
{
|
|
422
|
-
"name": "app",
|
|
423
|
-
"type": "address",
|
|
424
|
-
"internalType": "contract ITownsApp"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
"name": "account",
|
|
428
|
-
"type": "address",
|
|
429
|
-
"internalType": "contract IAppAccount"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"name": "data",
|
|
433
|
-
"type": "bytes",
|
|
434
|
-
"internalType": "bytes"
|
|
435
|
-
}
|
|
436
|
-
],
|
|
437
|
-
"outputs": [],
|
|
438
|
-
"stateMutability": "nonpayable"
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"type": "function",
|
|
442
|
-
"name": "updateApp",
|
|
443
|
-
"inputs": [
|
|
444
|
-
{
|
|
445
|
-
"name": "app",
|
|
446
|
-
"type": "address",
|
|
447
|
-
"internalType": "contract ITownsApp"
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"name": "account",
|
|
451
|
-
"type": "address",
|
|
452
|
-
"internalType": "contract IAppAccount"
|
|
453
|
-
}
|
|
454
|
-
],
|
|
455
|
-
"outputs": [],
|
|
456
|
-
"stateMutability": "nonpayable"
|
|
457
|
-
},
|
|
458
371
|
{
|
|
459
372
|
"type": "function",
|
|
460
373
|
"name": "upgradeApp",
|
|
@@ -312,29 +312,6 @@ export default [
|
|
|
312
312
|
],
|
|
313
313
|
"stateMutability": "view"
|
|
314
314
|
},
|
|
315
|
-
{
|
|
316
|
-
"type": "function",
|
|
317
|
-
"name": "installApp",
|
|
318
|
-
"inputs": [
|
|
319
|
-
{
|
|
320
|
-
"name": "app",
|
|
321
|
-
"type": "address",
|
|
322
|
-
"internalType": "contract ITownsApp"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"name": "account",
|
|
326
|
-
"type": "address",
|
|
327
|
-
"internalType": "contract IAppAccount"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
"name": "data",
|
|
331
|
-
"type": "bytes",
|
|
332
|
-
"internalType": "bytes"
|
|
333
|
-
}
|
|
334
|
-
],
|
|
335
|
-
"outputs": [],
|
|
336
|
-
"stateMutability": "payable"
|
|
337
|
-
},
|
|
338
315
|
{
|
|
339
316
|
"type": "function",
|
|
340
317
|
"name": "isAppBanned",
|
|
@@ -391,70 +368,6 @@ export default [
|
|
|
391
368
|
"outputs": [],
|
|
392
369
|
"stateMutability": "nonpayable"
|
|
393
370
|
},
|
|
394
|
-
{
|
|
395
|
-
"type": "function",
|
|
396
|
-
"name": "renewApp",
|
|
397
|
-
"inputs": [
|
|
398
|
-
{
|
|
399
|
-
"name": "app",
|
|
400
|
-
"type": "address",
|
|
401
|
-
"internalType": "contract ITownsApp"
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"name": "account",
|
|
405
|
-
"type": "address",
|
|
406
|
-
"internalType": "contract IAppAccount"
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
"name": "data",
|
|
410
|
-
"type": "bytes",
|
|
411
|
-
"internalType": "bytes"
|
|
412
|
-
}
|
|
413
|
-
],
|
|
414
|
-
"outputs": [],
|
|
415
|
-
"stateMutability": "payable"
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
"type": "function",
|
|
419
|
-
"name": "uninstallApp",
|
|
420
|
-
"inputs": [
|
|
421
|
-
{
|
|
422
|
-
"name": "app",
|
|
423
|
-
"type": "address",
|
|
424
|
-
"internalType": "contract ITownsApp"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
"name": "account",
|
|
428
|
-
"type": "address",
|
|
429
|
-
"internalType": "contract IAppAccount"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"name": "data",
|
|
433
|
-
"type": "bytes",
|
|
434
|
-
"internalType": "bytes"
|
|
435
|
-
}
|
|
436
|
-
],
|
|
437
|
-
"outputs": [],
|
|
438
|
-
"stateMutability": "nonpayable"
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"type": "function",
|
|
442
|
-
"name": "updateApp",
|
|
443
|
-
"inputs": [
|
|
444
|
-
{
|
|
445
|
-
"name": "app",
|
|
446
|
-
"type": "address",
|
|
447
|
-
"internalType": "contract ITownsApp"
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"name": "account",
|
|
451
|
-
"type": "address",
|
|
452
|
-
"internalType": "contract IAppAccount"
|
|
453
|
-
}
|
|
454
|
-
],
|
|
455
|
-
"outputs": [],
|
|
456
|
-
"stateMutability": "nonpayable"
|
|
457
|
-
},
|
|
458
371
|
{
|
|
459
372
|
"type": "function",
|
|
460
373
|
"name": "upgradeApp",
|
|
@@ -269,10 +269,10 @@
|
|
|
269
269
|
"internalType": "uint256"
|
|
270
270
|
},
|
|
271
271
|
{
|
|
272
|
-
"name": "
|
|
273
|
-
"type": "
|
|
272
|
+
"name": "data",
|
|
273
|
+
"type": "bytes",
|
|
274
274
|
"indexed": false,
|
|
275
|
-
"internalType": "
|
|
275
|
+
"internalType": "bytes"
|
|
276
276
|
}
|
|
277
277
|
],
|
|
278
278
|
"anonymous": false
|
package/dev/abis/ITipping.abi.ts
CHANGED
|
@@ -269,10 +269,10 @@ export default [
|
|
|
269
269
|
"internalType": "uint256"
|
|
270
270
|
},
|
|
271
271
|
{
|
|
272
|
-
"name": "
|
|
273
|
-
"type": "
|
|
272
|
+
"name": "data",
|
|
273
|
+
"type": "bytes",
|
|
274
274
|
"indexed": false,
|
|
275
|
-
"internalType": "
|
|
275
|
+
"internalType": "bytes"
|
|
276
276
|
}
|
|
277
277
|
],
|
|
278
278
|
"anonymous": false
|
|
@@ -83,10 +83,10 @@ export default [
|
|
|
83
83
|
"internalType": "uint256"
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
|
-
"name": "
|
|
87
|
-
"type": "
|
|
86
|
+
"name": "data",
|
|
87
|
+
"type": "bytes",
|
|
88
88
|
"indexed": false,
|
|
89
|
-
"internalType": "
|
|
89
|
+
"internalType": "bytes"
|
|
90
90
|
}
|
|
91
91
|
],
|
|
92
92
|
"anonymous": false
|