@towns-protocol/generated 0.0.256 → 0.0.258

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.
@@ -0,0 +1,399 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "accessDuration",
5
+ "inputs": [],
6
+ "outputs": [
7
+ {
8
+ "name": "",
9
+ "type": "uint48",
10
+ "internalType": "uint48"
11
+ }
12
+ ],
13
+ "stateMutability": "view"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "cancelOwnershipHandover",
18
+ "inputs": [],
19
+ "outputs": [],
20
+ "stateMutability": "payable"
21
+ },
22
+ {
23
+ "type": "function",
24
+ "name": "completeOwnershipHandover",
25
+ "inputs": [
26
+ {
27
+ "name": "pendingOwner",
28
+ "type": "address",
29
+ "internalType": "address"
30
+ }
31
+ ],
32
+ "outputs": [],
33
+ "stateMutability": "payable"
34
+ },
35
+ {
36
+ "type": "function",
37
+ "name": "executionManifest",
38
+ "inputs": [],
39
+ "outputs": [
40
+ {
41
+ "name": "",
42
+ "type": "tuple",
43
+ "internalType": "struct ExecutionManifest",
44
+ "components": [
45
+ {
46
+ "name": "executionFunctions",
47
+ "type": "tuple[]",
48
+ "internalType": "struct ManifestExecutionFunction[]",
49
+ "components": [
50
+ {
51
+ "name": "executionSelector",
52
+ "type": "bytes4",
53
+ "internalType": "bytes4"
54
+ },
55
+ {
56
+ "name": "skipRuntimeValidation",
57
+ "type": "bool",
58
+ "internalType": "bool"
59
+ },
60
+ {
61
+ "name": "allowGlobalValidation",
62
+ "type": "bool",
63
+ "internalType": "bool"
64
+ }
65
+ ]
66
+ },
67
+ {
68
+ "name": "executionHooks",
69
+ "type": "tuple[]",
70
+ "internalType": "struct ManifestExecutionHook[]",
71
+ "components": [
72
+ {
73
+ "name": "executionSelector",
74
+ "type": "bytes4",
75
+ "internalType": "bytes4"
76
+ },
77
+ {
78
+ "name": "entityId",
79
+ "type": "uint32",
80
+ "internalType": "uint32"
81
+ },
82
+ {
83
+ "name": "isPreHook",
84
+ "type": "bool",
85
+ "internalType": "bool"
86
+ },
87
+ {
88
+ "name": "isPostHook",
89
+ "type": "bool",
90
+ "internalType": "bool"
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ "name": "interfaceIds",
96
+ "type": "bytes4[]",
97
+ "internalType": "bytes4[]"
98
+ }
99
+ ]
100
+ }
101
+ ],
102
+ "stateMutability": "pure"
103
+ },
104
+ {
105
+ "type": "function",
106
+ "name": "initialize",
107
+ "inputs": [
108
+ {
109
+ "name": "owner",
110
+ "type": "address",
111
+ "internalType": "address"
112
+ },
113
+ {
114
+ "name": "appId",
115
+ "type": "string",
116
+ "internalType": "string"
117
+ },
118
+ {
119
+ "name": "permissions",
120
+ "type": "bytes32[]",
121
+ "internalType": "bytes32[]"
122
+ },
123
+ {
124
+ "name": "installPrice",
125
+ "type": "uint256",
126
+ "internalType": "uint256"
127
+ },
128
+ {
129
+ "name": "accessDuration",
130
+ "type": "uint48",
131
+ "internalType": "uint48"
132
+ }
133
+ ],
134
+ "outputs": [],
135
+ "stateMutability": "nonpayable"
136
+ },
137
+ {
138
+ "type": "function",
139
+ "name": "installPrice",
140
+ "inputs": [],
141
+ "outputs": [
142
+ {
143
+ "name": "",
144
+ "type": "uint256",
145
+ "internalType": "uint256"
146
+ }
147
+ ],
148
+ "stateMutability": "view"
149
+ },
150
+ {
151
+ "type": "function",
152
+ "name": "moduleId",
153
+ "inputs": [],
154
+ "outputs": [
155
+ {
156
+ "name": "",
157
+ "type": "string",
158
+ "internalType": "string"
159
+ }
160
+ ],
161
+ "stateMutability": "view"
162
+ },
163
+ {
164
+ "type": "function",
165
+ "name": "moduleOwner",
166
+ "inputs": [],
167
+ "outputs": [
168
+ {
169
+ "name": "",
170
+ "type": "address",
171
+ "internalType": "address"
172
+ }
173
+ ],
174
+ "stateMutability": "view"
175
+ },
176
+ {
177
+ "type": "function",
178
+ "name": "onInstall",
179
+ "inputs": [
180
+ {
181
+ "name": "postInstallData",
182
+ "type": "bytes",
183
+ "internalType": "bytes"
184
+ }
185
+ ],
186
+ "outputs": [],
187
+ "stateMutability": "nonpayable"
188
+ },
189
+ {
190
+ "type": "function",
191
+ "name": "onUninstall",
192
+ "inputs": [
193
+ {
194
+ "name": "postUninstallData",
195
+ "type": "bytes",
196
+ "internalType": "bytes"
197
+ }
198
+ ],
199
+ "outputs": [],
200
+ "stateMutability": "nonpayable"
201
+ },
202
+ {
203
+ "type": "function",
204
+ "name": "owner",
205
+ "inputs": [],
206
+ "outputs": [
207
+ {
208
+ "name": "result",
209
+ "type": "address",
210
+ "internalType": "address"
211
+ }
212
+ ],
213
+ "stateMutability": "view"
214
+ },
215
+ {
216
+ "type": "function",
217
+ "name": "ownershipHandoverExpiresAt",
218
+ "inputs": [
219
+ {
220
+ "name": "pendingOwner",
221
+ "type": "address",
222
+ "internalType": "address"
223
+ }
224
+ ],
225
+ "outputs": [
226
+ {
227
+ "name": "result",
228
+ "type": "uint256",
229
+ "internalType": "uint256"
230
+ }
231
+ ],
232
+ "stateMutability": "view"
233
+ },
234
+ {
235
+ "type": "function",
236
+ "name": "renounceOwnership",
237
+ "inputs": [],
238
+ "outputs": [],
239
+ "stateMutability": "payable"
240
+ },
241
+ {
242
+ "type": "function",
243
+ "name": "requestOwnershipHandover",
244
+ "inputs": [],
245
+ "outputs": [],
246
+ "stateMutability": "payable"
247
+ },
248
+ {
249
+ "type": "function",
250
+ "name": "requiredPermissions",
251
+ "inputs": [],
252
+ "outputs": [
253
+ {
254
+ "name": "",
255
+ "type": "bytes32[]",
256
+ "internalType": "bytes32[]"
257
+ }
258
+ ],
259
+ "stateMutability": "view"
260
+ },
261
+ {
262
+ "type": "function",
263
+ "name": "supportsInterface",
264
+ "inputs": [
265
+ {
266
+ "name": "interfaceId",
267
+ "type": "bytes4",
268
+ "internalType": "bytes4"
269
+ }
270
+ ],
271
+ "outputs": [
272
+ {
273
+ "name": "",
274
+ "type": "bool",
275
+ "internalType": "bool"
276
+ }
277
+ ],
278
+ "stateMutability": "pure"
279
+ },
280
+ {
281
+ "type": "function",
282
+ "name": "transferOwnership",
283
+ "inputs": [
284
+ {
285
+ "name": "newOwner",
286
+ "type": "address",
287
+ "internalType": "address"
288
+ }
289
+ ],
290
+ "outputs": [],
291
+ "stateMutability": "payable"
292
+ },
293
+ {
294
+ "type": "function",
295
+ "name": "updatePricing",
296
+ "inputs": [
297
+ {
298
+ "name": "installPrice",
299
+ "type": "uint256",
300
+ "internalType": "uint256"
301
+ },
302
+ {
303
+ "name": "accessDuration",
304
+ "type": "uint48",
305
+ "internalType": "uint48"
306
+ }
307
+ ],
308
+ "outputs": [],
309
+ "stateMutability": "nonpayable"
310
+ },
311
+ {
312
+ "type": "event",
313
+ "name": "Initialized",
314
+ "inputs": [
315
+ {
316
+ "name": "version",
317
+ "type": "uint64",
318
+ "indexed": false,
319
+ "internalType": "uint64"
320
+ }
321
+ ],
322
+ "anonymous": false
323
+ },
324
+ {
325
+ "type": "event",
326
+ "name": "OwnershipHandoverCanceled",
327
+ "inputs": [
328
+ {
329
+ "name": "pendingOwner",
330
+ "type": "address",
331
+ "indexed": true,
332
+ "internalType": "address"
333
+ }
334
+ ],
335
+ "anonymous": false
336
+ },
337
+ {
338
+ "type": "event",
339
+ "name": "OwnershipHandoverRequested",
340
+ "inputs": [
341
+ {
342
+ "name": "pendingOwner",
343
+ "type": "address",
344
+ "indexed": true,
345
+ "internalType": "address"
346
+ }
347
+ ],
348
+ "anonymous": false
349
+ },
350
+ {
351
+ "type": "event",
352
+ "name": "OwnershipTransferred",
353
+ "inputs": [
354
+ {
355
+ "name": "oldOwner",
356
+ "type": "address",
357
+ "indexed": true,
358
+ "internalType": "address"
359
+ },
360
+ {
361
+ "name": "newOwner",
362
+ "type": "address",
363
+ "indexed": true,
364
+ "internalType": "address"
365
+ }
366
+ ],
367
+ "anonymous": false
368
+ },
369
+ {
370
+ "type": "error",
371
+ "name": "AlreadyInitialized",
372
+ "inputs": []
373
+ },
374
+ {
375
+ "type": "error",
376
+ "name": "InvalidInitialization",
377
+ "inputs": []
378
+ },
379
+ {
380
+ "type": "error",
381
+ "name": "NewOwnerIsZeroAddress",
382
+ "inputs": []
383
+ },
384
+ {
385
+ "type": "error",
386
+ "name": "NoHandoverRequest",
387
+ "inputs": []
388
+ },
389
+ {
390
+ "type": "error",
391
+ "name": "NotInitializing",
392
+ "inputs": []
393
+ },
394
+ {
395
+ "type": "error",
396
+ "name": "Unauthorized",
397
+ "inputs": []
398
+ }
399
+ ]