@towns-protocol/generated 0.0.376 → 0.0.378

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 (42) hide show
  1. package/dev/.contracts-hash +1 -1
  2. package/dev/abis/Channels.abi.json +1035 -63
  3. package/dev/abis/Channels.abi.ts +1035 -63
  4. package/dev/abis/EntitlementsManager.abi.json +982 -10
  5. package/dev/abis/EntitlementsManager.abi.ts +982 -10
  6. package/dev/abis/IAppFactory.abi.json +87 -0
  7. package/dev/abis/IAppFactory.abi.ts +87 -0
  8. package/dev/abis/IAppFactoryBase.abi.json +36 -0
  9. package/dev/abis/IAppFactoryBase.abi.ts +36 -0
  10. package/dev/abis/IAppRegistry.abi.json +0 -70
  11. package/dev/abis/IAppRegistry.abi.ts +0 -70
  12. package/dev/abis/IAppRegistryBase.abi.json +0 -19
  13. package/dev/abis/IAppRegistryBase.abi.ts +0 -19
  14. package/dev/abis/ITipping.abi.json +3 -3
  15. package/dev/abis/ITipping.abi.ts +3 -3
  16. package/dev/abis/ITippingBase.abi.json +3 -3
  17. package/dev/abis/ITippingBase.abi.ts +3 -3
  18. package/dev/abis/MembershipFacet.abi.json +1000 -28
  19. package/dev/abis/MembershipFacet.abi.ts +1000 -28
  20. package/dev/abis/PrepayFacet.abi.json +993 -21
  21. package/dev/abis/PrepayFacet.abi.ts +993 -21
  22. package/dev/abis/Roles.abi.json +972 -0
  23. package/dev/abis/Roles.abi.ts +972 -0
  24. package/dev/typings/Channels.ts +657 -0
  25. package/dev/typings/EntitlementsManager.ts +658 -0
  26. package/dev/typings/IAppFactory.ts +154 -0
  27. package/dev/typings/IAppRegistry.ts +0 -73
  28. package/dev/typings/ITipping.ts +6 -6
  29. package/dev/typings/MembershipFacet.ts +657 -0
  30. package/dev/typings/PrepayFacet.ts +657 -0
  31. package/dev/typings/Roles.ts +657 -0
  32. package/dev/typings/factories/Channels__factory.ts +1036 -64
  33. package/dev/typings/factories/EntitlementsManager__factory.ts +982 -10
  34. package/dev/typings/factories/IAppFactory__factory.ts +108 -0
  35. package/dev/typings/factories/IAppRegistry__factory.ts +0 -70
  36. package/dev/typings/factories/ITipping__factory.ts +3 -3
  37. package/dev/typings/factories/MembershipFacet__factory.ts +1000 -28
  38. package/dev/typings/factories/PrepayFacet__factory.ts +993 -21
  39. package/dev/typings/factories/Roles__factory.ts +973 -1
  40. package/dev/typings/factories/index.ts +1 -0
  41. package/dev/typings/index.ts +2 -0
  42. package/package.json +3 -3
@@ -0,0 +1,87 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "createApp",
5
+ "inputs": [
6
+ {
7
+ "name": "params",
8
+ "type": "tuple",
9
+ "internalType": "struct IAppFactoryBase.AppParams",
10
+ "components": [
11
+ {
12
+ "name": "name",
13
+ "type": "string",
14
+ "internalType": "string"
15
+ },
16
+ {
17
+ "name": "permissions",
18
+ "type": "bytes32[]",
19
+ "internalType": "bytes32[]"
20
+ },
21
+ {
22
+ "name": "client",
23
+ "type": "address",
24
+ "internalType": "address"
25
+ },
26
+ {
27
+ "name": "installPrice",
28
+ "type": "uint256",
29
+ "internalType": "uint256"
30
+ },
31
+ {
32
+ "name": "accessDuration",
33
+ "type": "uint48",
34
+ "internalType": "uint48"
35
+ }
36
+ ]
37
+ }
38
+ ],
39
+ "outputs": [
40
+ {
41
+ "name": "app",
42
+ "type": "address",
43
+ "internalType": "address"
44
+ },
45
+ {
46
+ "name": "appId",
47
+ "type": "bytes32",
48
+ "internalType": "bytes32"
49
+ }
50
+ ],
51
+ "stateMutability": "payable"
52
+ },
53
+ {
54
+ "type": "event",
55
+ "name": "AppCreated",
56
+ "inputs": [
57
+ {
58
+ "name": "app",
59
+ "type": "address",
60
+ "indexed": true,
61
+ "internalType": "address"
62
+ },
63
+ {
64
+ "name": "uid",
65
+ "type": "bytes32",
66
+ "indexed": true,
67
+ "internalType": "bytes32"
68
+ }
69
+ ],
70
+ "anonymous": false
71
+ },
72
+ {
73
+ "type": "error",
74
+ "name": "AppFactory__InvalidAddressInput",
75
+ "inputs": []
76
+ },
77
+ {
78
+ "type": "error",
79
+ "name": "AppFactory__InvalidAppName",
80
+ "inputs": []
81
+ },
82
+ {
83
+ "type": "error",
84
+ "name": "AppFactory__InvalidArrayInput",
85
+ "inputs": []
86
+ }
87
+ ]
@@ -0,0 +1,87 @@
1
+ export default [
2
+ {
3
+ "type": "function",
4
+ "name": "createApp",
5
+ "inputs": [
6
+ {
7
+ "name": "params",
8
+ "type": "tuple",
9
+ "internalType": "struct IAppFactoryBase.AppParams",
10
+ "components": [
11
+ {
12
+ "name": "name",
13
+ "type": "string",
14
+ "internalType": "string"
15
+ },
16
+ {
17
+ "name": "permissions",
18
+ "type": "bytes32[]",
19
+ "internalType": "bytes32[]"
20
+ },
21
+ {
22
+ "name": "client",
23
+ "type": "address",
24
+ "internalType": "address"
25
+ },
26
+ {
27
+ "name": "installPrice",
28
+ "type": "uint256",
29
+ "internalType": "uint256"
30
+ },
31
+ {
32
+ "name": "accessDuration",
33
+ "type": "uint48",
34
+ "internalType": "uint48"
35
+ }
36
+ ]
37
+ }
38
+ ],
39
+ "outputs": [
40
+ {
41
+ "name": "app",
42
+ "type": "address",
43
+ "internalType": "address"
44
+ },
45
+ {
46
+ "name": "appId",
47
+ "type": "bytes32",
48
+ "internalType": "bytes32"
49
+ }
50
+ ],
51
+ "stateMutability": "payable"
52
+ },
53
+ {
54
+ "type": "event",
55
+ "name": "AppCreated",
56
+ "inputs": [
57
+ {
58
+ "name": "app",
59
+ "type": "address",
60
+ "indexed": true,
61
+ "internalType": "address"
62
+ },
63
+ {
64
+ "name": "uid",
65
+ "type": "bytes32",
66
+ "indexed": true,
67
+ "internalType": "bytes32"
68
+ }
69
+ ],
70
+ "anonymous": false
71
+ },
72
+ {
73
+ "type": "error",
74
+ "name": "AppFactory__InvalidAddressInput",
75
+ "inputs": []
76
+ },
77
+ {
78
+ "type": "error",
79
+ "name": "AppFactory__InvalidAppName",
80
+ "inputs": []
81
+ },
82
+ {
83
+ "type": "error",
84
+ "name": "AppFactory__InvalidArrayInput",
85
+ "inputs": []
86
+ }
87
+ ] as const
@@ -0,0 +1,36 @@
1
+ [
2
+ {
3
+ "type": "event",
4
+ "name": "AppCreated",
5
+ "inputs": [
6
+ {
7
+ "name": "app",
8
+ "type": "address",
9
+ "indexed": true,
10
+ "internalType": "address"
11
+ },
12
+ {
13
+ "name": "uid",
14
+ "type": "bytes32",
15
+ "indexed": true,
16
+ "internalType": "bytes32"
17
+ }
18
+ ],
19
+ "anonymous": false
20
+ },
21
+ {
22
+ "type": "error",
23
+ "name": "AppFactory__InvalidAddressInput",
24
+ "inputs": []
25
+ },
26
+ {
27
+ "type": "error",
28
+ "name": "AppFactory__InvalidAppName",
29
+ "inputs": []
30
+ },
31
+ {
32
+ "type": "error",
33
+ "name": "AppFactory__InvalidArrayInput",
34
+ "inputs": []
35
+ }
36
+ ]
@@ -0,0 +1,36 @@
1
+ export default [
2
+ {
3
+ "type": "event",
4
+ "name": "AppCreated",
5
+ "inputs": [
6
+ {
7
+ "name": "app",
8
+ "type": "address",
9
+ "indexed": true,
10
+ "internalType": "address"
11
+ },
12
+ {
13
+ "name": "uid",
14
+ "type": "bytes32",
15
+ "indexed": true,
16
+ "internalType": "bytes32"
17
+ }
18
+ ],
19
+ "anonymous": false
20
+ },
21
+ {
22
+ "type": "error",
23
+ "name": "AppFactory__InvalidAddressInput",
24
+ "inputs": []
25
+ },
26
+ {
27
+ "type": "error",
28
+ "name": "AppFactory__InvalidAppName",
29
+ "inputs": []
30
+ },
31
+ {
32
+ "type": "error",
33
+ "name": "AppFactory__InvalidArrayInput",
34
+ "inputs": []
35
+ }
36
+ ] as const
@@ -47,57 +47,6 @@
47
47
  ],
48
48
  "stateMutability": "nonpayable"
49
49
  },
50
- {
51
- "type": "function",
52
- "name": "createApp",
53
- "inputs": [
54
- {
55
- "name": "params",
56
- "type": "tuple",
57
- "internalType": "struct IAppRegistryBase.AppParams",
58
- "components": [
59
- {
60
- "name": "name",
61
- "type": "string",
62
- "internalType": "string"
63
- },
64
- {
65
- "name": "permissions",
66
- "type": "bytes32[]",
67
- "internalType": "bytes32[]"
68
- },
69
- {
70
- "name": "client",
71
- "type": "address",
72
- "internalType": "address"
73
- },
74
- {
75
- "name": "installPrice",
76
- "type": "uint256",
77
- "internalType": "uint256"
78
- },
79
- {
80
- "name": "accessDuration",
81
- "type": "uint48",
82
- "internalType": "uint48"
83
- }
84
- ]
85
- }
86
- ],
87
- "outputs": [
88
- {
89
- "name": "app",
90
- "type": "address",
91
- "internalType": "address"
92
- },
93
- {
94
- "name": "appId",
95
- "type": "bytes32",
96
- "internalType": "bytes32"
97
- }
98
- ],
99
- "stateMutability": "payable"
100
- },
101
50
  {
102
51
  "type": "function",
103
52
  "name": "getAppByClient",
@@ -416,25 +365,6 @@
416
365
  ],
417
366
  "anonymous": false
418
367
  },
419
- {
420
- "type": "event",
421
- "name": "AppCreated",
422
- "inputs": [
423
- {
424
- "name": "app",
425
- "type": "address",
426
- "indexed": true,
427
- "internalType": "address"
428
- },
429
- {
430
- "name": "uid",
431
- "type": "bytes32",
432
- "indexed": false,
433
- "internalType": "bytes32"
434
- }
435
- ],
436
- "anonymous": false
437
- },
438
368
  {
439
369
  "type": "event",
440
370
  "name": "AppInstalled",
@@ -47,57 +47,6 @@ export default [
47
47
  ],
48
48
  "stateMutability": "nonpayable"
49
49
  },
50
- {
51
- "type": "function",
52
- "name": "createApp",
53
- "inputs": [
54
- {
55
- "name": "params",
56
- "type": "tuple",
57
- "internalType": "struct IAppRegistryBase.AppParams",
58
- "components": [
59
- {
60
- "name": "name",
61
- "type": "string",
62
- "internalType": "string"
63
- },
64
- {
65
- "name": "permissions",
66
- "type": "bytes32[]",
67
- "internalType": "bytes32[]"
68
- },
69
- {
70
- "name": "client",
71
- "type": "address",
72
- "internalType": "address"
73
- },
74
- {
75
- "name": "installPrice",
76
- "type": "uint256",
77
- "internalType": "uint256"
78
- },
79
- {
80
- "name": "accessDuration",
81
- "type": "uint48",
82
- "internalType": "uint48"
83
- }
84
- ]
85
- }
86
- ],
87
- "outputs": [
88
- {
89
- "name": "app",
90
- "type": "address",
91
- "internalType": "address"
92
- },
93
- {
94
- "name": "appId",
95
- "type": "bytes32",
96
- "internalType": "bytes32"
97
- }
98
- ],
99
- "stateMutability": "payable"
100
- },
101
50
  {
102
51
  "type": "function",
103
52
  "name": "getAppByClient",
@@ -416,25 +365,6 @@ export default [
416
365
  ],
417
366
  "anonymous": false
418
367
  },
419
- {
420
- "type": "event",
421
- "name": "AppCreated",
422
- "inputs": [
423
- {
424
- "name": "app",
425
- "type": "address",
426
- "indexed": true,
427
- "internalType": "address"
428
- },
429
- {
430
- "name": "uid",
431
- "type": "bytes32",
432
- "indexed": false,
433
- "internalType": "bytes32"
434
- }
435
- ],
436
- "anonymous": false
437
- },
438
368
  {
439
369
  "type": "event",
440
370
  "name": "AppInstalled",
@@ -18,25 +18,6 @@
18
18
  ],
19
19
  "anonymous": false
20
20
  },
21
- {
22
- "type": "event",
23
- "name": "AppCreated",
24
- "inputs": [
25
- {
26
- "name": "app",
27
- "type": "address",
28
- "indexed": true,
29
- "internalType": "address"
30
- },
31
- {
32
- "name": "uid",
33
- "type": "bytes32",
34
- "indexed": false,
35
- "internalType": "bytes32"
36
- }
37
- ],
38
- "anonymous": false
39
- },
40
21
  {
41
22
  "type": "event",
42
23
  "name": "AppInstalled",
@@ -18,25 +18,6 @@ export default [
18
18
  ],
19
19
  "anonymous": false
20
20
  },
21
- {
22
- "type": "event",
23
- "name": "AppCreated",
24
- "inputs": [
25
- {
26
- "name": "app",
27
- "type": "address",
28
- "indexed": true,
29
- "internalType": "address"
30
- },
31
- {
32
- "name": "uid",
33
- "type": "bytes32",
34
- "indexed": false,
35
- "internalType": "bytes32"
36
- }
37
- ],
38
- "anonymous": false
39
- },
40
21
  {
41
22
  "type": "event",
42
23
  "name": "AppInstalled",
@@ -269,10 +269,10 @@
269
269
  "internalType": "uint256"
270
270
  },
271
271
  {
272
- "name": "tokenId",
273
- "type": "uint256",
272
+ "name": "data",
273
+ "type": "bytes",
274
274
  "indexed": false,
275
- "internalType": "uint256"
275
+ "internalType": "bytes"
276
276
  }
277
277
  ],
278
278
  "anonymous": false
@@ -269,10 +269,10 @@ export default [
269
269
  "internalType": "uint256"
270
270
  },
271
271
  {
272
- "name": "tokenId",
273
- "type": "uint256",
272
+ "name": "data",
273
+ "type": "bytes",
274
274
  "indexed": false,
275
- "internalType": "uint256"
275
+ "internalType": "bytes"
276
276
  }
277
277
  ],
278
278
  "anonymous": false
@@ -83,10 +83,10 @@
83
83
  "internalType": "uint256"
84
84
  },
85
85
  {
86
- "name": "tokenId",
87
- "type": "uint256",
86
+ "name": "data",
87
+ "type": "bytes",
88
88
  "indexed": false,
89
- "internalType": "uint256"
89
+ "internalType": "bytes"
90
90
  }
91
91
  ],
92
92
  "anonymous": false
@@ -83,10 +83,10 @@ export default [
83
83
  "internalType": "uint256"
84
84
  },
85
85
  {
86
- "name": "tokenId",
87
- "type": "uint256",
86
+ "name": "data",
87
+ "type": "bytes",
88
88
  "indexed": false,
89
- "internalType": "uint256"
89
+ "internalType": "bytes"
90
90
  }
91
91
  ],
92
92
  "anonymous": false