@towns-protocol/generated 0.0.230 → 0.0.232

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.
@@ -49,7 +49,74 @@
49
49
  },
50
50
  {
51
51
  "type": "function",
52
- "name": "getAppById",
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": "clients",
71
+ "type": "address[]",
72
+ "internalType": "address[]"
73
+ }
74
+ ]
75
+ }
76
+ ],
77
+ "outputs": [
78
+ {
79
+ "name": "app",
80
+ "type": "address",
81
+ "internalType": "address"
82
+ },
83
+ {
84
+ "name": "appId",
85
+ "type": "bytes32",
86
+ "internalType": "bytes32"
87
+ }
88
+ ],
89
+ "stateMutability": "payable"
90
+ },
91
+ {
92
+ "type": "function",
93
+ "name": "getAppSchema",
94
+ "inputs": [],
95
+ "outputs": [
96
+ {
97
+ "name": "",
98
+ "type": "string",
99
+ "internalType": "string"
100
+ }
101
+ ],
102
+ "stateMutability": "view"
103
+ },
104
+ {
105
+ "type": "function",
106
+ "name": "getAppSchemaId",
107
+ "inputs": [],
108
+ "outputs": [
109
+ {
110
+ "name": "",
111
+ "type": "bytes32",
112
+ "internalType": "bytes32"
113
+ }
114
+ ],
115
+ "stateMutability": "view"
116
+ },
117
+ {
118
+ "type": "function",
119
+ "name": "getAttestation",
53
120
  "inputs": [
54
121
  {
55
122
  "name": "appId",
@@ -118,32 +185,6 @@
118
185
  ],
119
186
  "stateMutability": "view"
120
187
  },
121
- {
122
- "type": "function",
123
- "name": "getAppSchema",
124
- "inputs": [],
125
- "outputs": [
126
- {
127
- "name": "",
128
- "type": "string",
129
- "internalType": "string"
130
- }
131
- ],
132
- "stateMutability": "view"
133
- },
134
- {
135
- "type": "function",
136
- "name": "getAppSchemaId",
137
- "inputs": [],
138
- "outputs": [
139
- {
140
- "name": "",
141
- "type": "bytes32",
142
- "internalType": "bytes32"
143
- }
144
- ],
145
- "stateMutability": "view"
146
- },
147
188
  {
148
189
  "type": "function",
149
190
  "name": "getLatestAppId",
@@ -244,6 +285,25 @@
244
285
  ],
245
286
  "anonymous": false
246
287
  },
288
+ {
289
+ "type": "event",
290
+ "name": "AppCreated",
291
+ "inputs": [
292
+ {
293
+ "name": "app",
294
+ "type": "address",
295
+ "indexed": true,
296
+ "internalType": "address"
297
+ },
298
+ {
299
+ "name": "uid",
300
+ "type": "bytes32",
301
+ "indexed": false,
302
+ "internalType": "bytes32"
303
+ }
304
+ ],
305
+ "anonymous": false
306
+ },
247
307
  {
248
308
  "type": "event",
249
309
  "name": "AppRegistered",
@@ -349,6 +409,11 @@
349
409
  "name": "InvalidAppId",
350
410
  "inputs": []
351
411
  },
412
+ {
413
+ "type": "error",
414
+ "name": "InvalidAppName",
415
+ "inputs": []
416
+ },
352
417
  {
353
418
  "type": "error",
354
419
  "name": "InvalidArrayInput",
@@ -49,7 +49,74 @@ export default [
49
49
  },
50
50
  {
51
51
  "type": "function",
52
- "name": "getAppById",
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": "clients",
71
+ "type": "address[]",
72
+ "internalType": "address[]"
73
+ }
74
+ ]
75
+ }
76
+ ],
77
+ "outputs": [
78
+ {
79
+ "name": "app",
80
+ "type": "address",
81
+ "internalType": "address"
82
+ },
83
+ {
84
+ "name": "appId",
85
+ "type": "bytes32",
86
+ "internalType": "bytes32"
87
+ }
88
+ ],
89
+ "stateMutability": "payable"
90
+ },
91
+ {
92
+ "type": "function",
93
+ "name": "getAppSchema",
94
+ "inputs": [],
95
+ "outputs": [
96
+ {
97
+ "name": "",
98
+ "type": "string",
99
+ "internalType": "string"
100
+ }
101
+ ],
102
+ "stateMutability": "view"
103
+ },
104
+ {
105
+ "type": "function",
106
+ "name": "getAppSchemaId",
107
+ "inputs": [],
108
+ "outputs": [
109
+ {
110
+ "name": "",
111
+ "type": "bytes32",
112
+ "internalType": "bytes32"
113
+ }
114
+ ],
115
+ "stateMutability": "view"
116
+ },
117
+ {
118
+ "type": "function",
119
+ "name": "getAttestation",
53
120
  "inputs": [
54
121
  {
55
122
  "name": "appId",
@@ -118,32 +185,6 @@ export default [
118
185
  ],
119
186
  "stateMutability": "view"
120
187
  },
121
- {
122
- "type": "function",
123
- "name": "getAppSchema",
124
- "inputs": [],
125
- "outputs": [
126
- {
127
- "name": "",
128
- "type": "string",
129
- "internalType": "string"
130
- }
131
- ],
132
- "stateMutability": "view"
133
- },
134
- {
135
- "type": "function",
136
- "name": "getAppSchemaId",
137
- "inputs": [],
138
- "outputs": [
139
- {
140
- "name": "",
141
- "type": "bytes32",
142
- "internalType": "bytes32"
143
- }
144
- ],
145
- "stateMutability": "view"
146
- },
147
188
  {
148
189
  "type": "function",
149
190
  "name": "getLatestAppId",
@@ -244,6 +285,25 @@ export default [
244
285
  ],
245
286
  "anonymous": false
246
287
  },
288
+ {
289
+ "type": "event",
290
+ "name": "AppCreated",
291
+ "inputs": [
292
+ {
293
+ "name": "app",
294
+ "type": "address",
295
+ "indexed": true,
296
+ "internalType": "address"
297
+ },
298
+ {
299
+ "name": "uid",
300
+ "type": "bytes32",
301
+ "indexed": false,
302
+ "internalType": "bytes32"
303
+ }
304
+ ],
305
+ "anonymous": false
306
+ },
247
307
  {
248
308
  "type": "event",
249
309
  "name": "AppRegistered",
@@ -349,6 +409,11 @@ export default [
349
409
  "name": "InvalidAppId",
350
410
  "inputs": []
351
411
  },
412
+ {
413
+ "type": "error",
414
+ "name": "InvalidAppName",
415
+ "inputs": []
416
+ },
352
417
  {
353
418
  "type": "error",
354
419
  "name": "InvalidArrayInput",
@@ -18,6 +18,25 @@
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
+ },
21
40
  {
22
41
  "type": "event",
23
42
  "name": "AppRegistered",
@@ -123,6 +142,11 @@
123
142
  "name": "InvalidAppId",
124
143
  "inputs": []
125
144
  },
145
+ {
146
+ "type": "error",
147
+ "name": "InvalidAppName",
148
+ "inputs": []
149
+ },
126
150
  {
127
151
  "type": "error",
128
152
  "name": "InvalidArrayInput",
@@ -18,6 +18,25 @@ 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
+ },
21
40
  {
22
41
  "type": "event",
23
42
  "name": "AppRegistered",
@@ -123,6 +142,11 @@ export default [
123
142
  "name": "InvalidAppId",
124
143
  "inputs": []
125
144
  },
145
+ {
146
+ "type": "error",
147
+ "name": "InvalidAppName",
148
+ "inputs": []
149
+ },
126
150
  {
127
151
  "type": "error",
128
152
  "name": "InvalidArrayInput",