@towns-protocol/generated 0.0.327 → 0.0.329
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/IAppAccount.abi.json +156 -0
- package/dev/abis/IAppAccount.abi.ts +156 -0
- package/dev/abis/IAppAccountBase.abi.json +156 -0
- package/dev/abis/IAppAccountBase.abi.ts +156 -0
- package/dev/typings/IAppAccount.ts +110 -3
- package/dev/typings/factories/IAppAccount__factory.ts +156 -0
- package/package.json +2 -2
package/dev/.contracts-hash
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
736544ae31c29d6c0c86588ccc78650b3a25c2db
|
|
@@ -178,6 +178,162 @@
|
|
|
178
178
|
"outputs": [],
|
|
179
179
|
"stateMutability": "nonpayable"
|
|
180
180
|
},
|
|
181
|
+
{
|
|
182
|
+
"type": "event",
|
|
183
|
+
"name": "ExecutionInstalled",
|
|
184
|
+
"inputs": [
|
|
185
|
+
{
|
|
186
|
+
"name": "module",
|
|
187
|
+
"type": "address",
|
|
188
|
+
"indexed": true,
|
|
189
|
+
"internalType": "address"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "manifest",
|
|
193
|
+
"type": "tuple",
|
|
194
|
+
"indexed": false,
|
|
195
|
+
"internalType": "struct ExecutionManifest",
|
|
196
|
+
"components": [
|
|
197
|
+
{
|
|
198
|
+
"name": "executionFunctions",
|
|
199
|
+
"type": "tuple[]",
|
|
200
|
+
"internalType": "struct ManifestExecutionFunction[]",
|
|
201
|
+
"components": [
|
|
202
|
+
{
|
|
203
|
+
"name": "executionSelector",
|
|
204
|
+
"type": "bytes4",
|
|
205
|
+
"internalType": "bytes4"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "skipRuntimeValidation",
|
|
209
|
+
"type": "bool",
|
|
210
|
+
"internalType": "bool"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "allowGlobalValidation",
|
|
214
|
+
"type": "bool",
|
|
215
|
+
"internalType": "bool"
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "executionHooks",
|
|
221
|
+
"type": "tuple[]",
|
|
222
|
+
"internalType": "struct ManifestExecutionHook[]",
|
|
223
|
+
"components": [
|
|
224
|
+
{
|
|
225
|
+
"name": "executionSelector",
|
|
226
|
+
"type": "bytes4",
|
|
227
|
+
"internalType": "bytes4"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "entityId",
|
|
231
|
+
"type": "uint32",
|
|
232
|
+
"internalType": "uint32"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "isPreHook",
|
|
236
|
+
"type": "bool",
|
|
237
|
+
"internalType": "bool"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "isPostHook",
|
|
241
|
+
"type": "bool",
|
|
242
|
+
"internalType": "bool"
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "interfaceIds",
|
|
248
|
+
"type": "bytes4[]",
|
|
249
|
+
"internalType": "bytes4[]"
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
}
|
|
253
|
+
],
|
|
254
|
+
"anonymous": false
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"type": "event",
|
|
258
|
+
"name": "ExecutionUninstalled",
|
|
259
|
+
"inputs": [
|
|
260
|
+
{
|
|
261
|
+
"name": "module",
|
|
262
|
+
"type": "address",
|
|
263
|
+
"indexed": true,
|
|
264
|
+
"internalType": "address"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "success",
|
|
268
|
+
"type": "bool",
|
|
269
|
+
"indexed": false,
|
|
270
|
+
"internalType": "bool"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "manifest",
|
|
274
|
+
"type": "tuple",
|
|
275
|
+
"indexed": false,
|
|
276
|
+
"internalType": "struct ExecutionManifest",
|
|
277
|
+
"components": [
|
|
278
|
+
{
|
|
279
|
+
"name": "executionFunctions",
|
|
280
|
+
"type": "tuple[]",
|
|
281
|
+
"internalType": "struct ManifestExecutionFunction[]",
|
|
282
|
+
"components": [
|
|
283
|
+
{
|
|
284
|
+
"name": "executionSelector",
|
|
285
|
+
"type": "bytes4",
|
|
286
|
+
"internalType": "bytes4"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "skipRuntimeValidation",
|
|
290
|
+
"type": "bool",
|
|
291
|
+
"internalType": "bool"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "allowGlobalValidation",
|
|
295
|
+
"type": "bool",
|
|
296
|
+
"internalType": "bool"
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"name": "executionHooks",
|
|
302
|
+
"type": "tuple[]",
|
|
303
|
+
"internalType": "struct ManifestExecutionHook[]",
|
|
304
|
+
"components": [
|
|
305
|
+
{
|
|
306
|
+
"name": "executionSelector",
|
|
307
|
+
"type": "bytes4",
|
|
308
|
+
"internalType": "bytes4"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "entityId",
|
|
312
|
+
"type": "uint32",
|
|
313
|
+
"internalType": "uint32"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "isPreHook",
|
|
317
|
+
"type": "bool",
|
|
318
|
+
"internalType": "bool"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"name": "isPostHook",
|
|
322
|
+
"type": "bool",
|
|
323
|
+
"internalType": "bool"
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "interfaceIds",
|
|
329
|
+
"type": "bytes4[]",
|
|
330
|
+
"internalType": "bytes4[]"
|
|
331
|
+
}
|
|
332
|
+
]
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
"anonymous": false
|
|
336
|
+
},
|
|
181
337
|
{
|
|
182
338
|
"type": "error",
|
|
183
339
|
"name": "AppAlreadyInstalled",
|
|
@@ -178,6 +178,162 @@ export default [
|
|
|
178
178
|
"outputs": [],
|
|
179
179
|
"stateMutability": "nonpayable"
|
|
180
180
|
},
|
|
181
|
+
{
|
|
182
|
+
"type": "event",
|
|
183
|
+
"name": "ExecutionInstalled",
|
|
184
|
+
"inputs": [
|
|
185
|
+
{
|
|
186
|
+
"name": "module",
|
|
187
|
+
"type": "address",
|
|
188
|
+
"indexed": true,
|
|
189
|
+
"internalType": "address"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "manifest",
|
|
193
|
+
"type": "tuple",
|
|
194
|
+
"indexed": false,
|
|
195
|
+
"internalType": "struct ExecutionManifest",
|
|
196
|
+
"components": [
|
|
197
|
+
{
|
|
198
|
+
"name": "executionFunctions",
|
|
199
|
+
"type": "tuple[]",
|
|
200
|
+
"internalType": "struct ManifestExecutionFunction[]",
|
|
201
|
+
"components": [
|
|
202
|
+
{
|
|
203
|
+
"name": "executionSelector",
|
|
204
|
+
"type": "bytes4",
|
|
205
|
+
"internalType": "bytes4"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "skipRuntimeValidation",
|
|
209
|
+
"type": "bool",
|
|
210
|
+
"internalType": "bool"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "allowGlobalValidation",
|
|
214
|
+
"type": "bool",
|
|
215
|
+
"internalType": "bool"
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "executionHooks",
|
|
221
|
+
"type": "tuple[]",
|
|
222
|
+
"internalType": "struct ManifestExecutionHook[]",
|
|
223
|
+
"components": [
|
|
224
|
+
{
|
|
225
|
+
"name": "executionSelector",
|
|
226
|
+
"type": "bytes4",
|
|
227
|
+
"internalType": "bytes4"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "entityId",
|
|
231
|
+
"type": "uint32",
|
|
232
|
+
"internalType": "uint32"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "isPreHook",
|
|
236
|
+
"type": "bool",
|
|
237
|
+
"internalType": "bool"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "isPostHook",
|
|
241
|
+
"type": "bool",
|
|
242
|
+
"internalType": "bool"
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "interfaceIds",
|
|
248
|
+
"type": "bytes4[]",
|
|
249
|
+
"internalType": "bytes4[]"
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
}
|
|
253
|
+
],
|
|
254
|
+
"anonymous": false
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"type": "event",
|
|
258
|
+
"name": "ExecutionUninstalled",
|
|
259
|
+
"inputs": [
|
|
260
|
+
{
|
|
261
|
+
"name": "module",
|
|
262
|
+
"type": "address",
|
|
263
|
+
"indexed": true,
|
|
264
|
+
"internalType": "address"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "success",
|
|
268
|
+
"type": "bool",
|
|
269
|
+
"indexed": false,
|
|
270
|
+
"internalType": "bool"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "manifest",
|
|
274
|
+
"type": "tuple",
|
|
275
|
+
"indexed": false,
|
|
276
|
+
"internalType": "struct ExecutionManifest",
|
|
277
|
+
"components": [
|
|
278
|
+
{
|
|
279
|
+
"name": "executionFunctions",
|
|
280
|
+
"type": "tuple[]",
|
|
281
|
+
"internalType": "struct ManifestExecutionFunction[]",
|
|
282
|
+
"components": [
|
|
283
|
+
{
|
|
284
|
+
"name": "executionSelector",
|
|
285
|
+
"type": "bytes4",
|
|
286
|
+
"internalType": "bytes4"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "skipRuntimeValidation",
|
|
290
|
+
"type": "bool",
|
|
291
|
+
"internalType": "bool"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "allowGlobalValidation",
|
|
295
|
+
"type": "bool",
|
|
296
|
+
"internalType": "bool"
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"name": "executionHooks",
|
|
302
|
+
"type": "tuple[]",
|
|
303
|
+
"internalType": "struct ManifestExecutionHook[]",
|
|
304
|
+
"components": [
|
|
305
|
+
{
|
|
306
|
+
"name": "executionSelector",
|
|
307
|
+
"type": "bytes4",
|
|
308
|
+
"internalType": "bytes4"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "entityId",
|
|
312
|
+
"type": "uint32",
|
|
313
|
+
"internalType": "uint32"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "isPreHook",
|
|
317
|
+
"type": "bool",
|
|
318
|
+
"internalType": "bool"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"name": "isPostHook",
|
|
322
|
+
"type": "bool",
|
|
323
|
+
"internalType": "bool"
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "interfaceIds",
|
|
329
|
+
"type": "bytes4[]",
|
|
330
|
+
"internalType": "bytes4[]"
|
|
331
|
+
}
|
|
332
|
+
]
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
"anonymous": false
|
|
336
|
+
},
|
|
181
337
|
{
|
|
182
338
|
"type": "error",
|
|
183
339
|
"name": "AppAlreadyInstalled",
|
|
@@ -1,4 +1,160 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"type": "event",
|
|
4
|
+
"name": "ExecutionInstalled",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "module",
|
|
8
|
+
"type": "address",
|
|
9
|
+
"indexed": true,
|
|
10
|
+
"internalType": "address"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "manifest",
|
|
14
|
+
"type": "tuple",
|
|
15
|
+
"indexed": false,
|
|
16
|
+
"internalType": "struct ExecutionManifest",
|
|
17
|
+
"components": [
|
|
18
|
+
{
|
|
19
|
+
"name": "executionFunctions",
|
|
20
|
+
"type": "tuple[]",
|
|
21
|
+
"internalType": "struct ManifestExecutionFunction[]",
|
|
22
|
+
"components": [
|
|
23
|
+
{
|
|
24
|
+
"name": "executionSelector",
|
|
25
|
+
"type": "bytes4",
|
|
26
|
+
"internalType": "bytes4"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "skipRuntimeValidation",
|
|
30
|
+
"type": "bool",
|
|
31
|
+
"internalType": "bool"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "allowGlobalValidation",
|
|
35
|
+
"type": "bool",
|
|
36
|
+
"internalType": "bool"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "executionHooks",
|
|
42
|
+
"type": "tuple[]",
|
|
43
|
+
"internalType": "struct ManifestExecutionHook[]",
|
|
44
|
+
"components": [
|
|
45
|
+
{
|
|
46
|
+
"name": "executionSelector",
|
|
47
|
+
"type": "bytes4",
|
|
48
|
+
"internalType": "bytes4"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "entityId",
|
|
52
|
+
"type": "uint32",
|
|
53
|
+
"internalType": "uint32"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "isPreHook",
|
|
57
|
+
"type": "bool",
|
|
58
|
+
"internalType": "bool"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "isPostHook",
|
|
62
|
+
"type": "bool",
|
|
63
|
+
"internalType": "bool"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "interfaceIds",
|
|
69
|
+
"type": "bytes4[]",
|
|
70
|
+
"internalType": "bytes4[]"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"anonymous": false
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "event",
|
|
79
|
+
"name": "ExecutionUninstalled",
|
|
80
|
+
"inputs": [
|
|
81
|
+
{
|
|
82
|
+
"name": "module",
|
|
83
|
+
"type": "address",
|
|
84
|
+
"indexed": true,
|
|
85
|
+
"internalType": "address"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "success",
|
|
89
|
+
"type": "bool",
|
|
90
|
+
"indexed": false,
|
|
91
|
+
"internalType": "bool"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "manifest",
|
|
95
|
+
"type": "tuple",
|
|
96
|
+
"indexed": false,
|
|
97
|
+
"internalType": "struct ExecutionManifest",
|
|
98
|
+
"components": [
|
|
99
|
+
{
|
|
100
|
+
"name": "executionFunctions",
|
|
101
|
+
"type": "tuple[]",
|
|
102
|
+
"internalType": "struct ManifestExecutionFunction[]",
|
|
103
|
+
"components": [
|
|
104
|
+
{
|
|
105
|
+
"name": "executionSelector",
|
|
106
|
+
"type": "bytes4",
|
|
107
|
+
"internalType": "bytes4"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "skipRuntimeValidation",
|
|
111
|
+
"type": "bool",
|
|
112
|
+
"internalType": "bool"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "allowGlobalValidation",
|
|
116
|
+
"type": "bool",
|
|
117
|
+
"internalType": "bool"
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "executionHooks",
|
|
123
|
+
"type": "tuple[]",
|
|
124
|
+
"internalType": "struct ManifestExecutionHook[]",
|
|
125
|
+
"components": [
|
|
126
|
+
{
|
|
127
|
+
"name": "executionSelector",
|
|
128
|
+
"type": "bytes4",
|
|
129
|
+
"internalType": "bytes4"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "entityId",
|
|
133
|
+
"type": "uint32",
|
|
134
|
+
"internalType": "uint32"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "isPreHook",
|
|
138
|
+
"type": "bool",
|
|
139
|
+
"internalType": "bool"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "isPostHook",
|
|
143
|
+
"type": "bool",
|
|
144
|
+
"internalType": "bool"
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "interfaceIds",
|
|
150
|
+
"type": "bytes4[]",
|
|
151
|
+
"internalType": "bytes4[]"
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"anonymous": false
|
|
157
|
+
},
|
|
2
158
|
{
|
|
3
159
|
"type": "error",
|
|
4
160
|
"name": "AppAlreadyInstalled",
|
|
@@ -1,4 +1,160 @@
|
|
|
1
1
|
export default [
|
|
2
|
+
{
|
|
3
|
+
"type": "event",
|
|
4
|
+
"name": "ExecutionInstalled",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "module",
|
|
8
|
+
"type": "address",
|
|
9
|
+
"indexed": true,
|
|
10
|
+
"internalType": "address"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "manifest",
|
|
14
|
+
"type": "tuple",
|
|
15
|
+
"indexed": false,
|
|
16
|
+
"internalType": "struct ExecutionManifest",
|
|
17
|
+
"components": [
|
|
18
|
+
{
|
|
19
|
+
"name": "executionFunctions",
|
|
20
|
+
"type": "tuple[]",
|
|
21
|
+
"internalType": "struct ManifestExecutionFunction[]",
|
|
22
|
+
"components": [
|
|
23
|
+
{
|
|
24
|
+
"name": "executionSelector",
|
|
25
|
+
"type": "bytes4",
|
|
26
|
+
"internalType": "bytes4"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "skipRuntimeValidation",
|
|
30
|
+
"type": "bool",
|
|
31
|
+
"internalType": "bool"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "allowGlobalValidation",
|
|
35
|
+
"type": "bool",
|
|
36
|
+
"internalType": "bool"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "executionHooks",
|
|
42
|
+
"type": "tuple[]",
|
|
43
|
+
"internalType": "struct ManifestExecutionHook[]",
|
|
44
|
+
"components": [
|
|
45
|
+
{
|
|
46
|
+
"name": "executionSelector",
|
|
47
|
+
"type": "bytes4",
|
|
48
|
+
"internalType": "bytes4"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "entityId",
|
|
52
|
+
"type": "uint32",
|
|
53
|
+
"internalType": "uint32"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "isPreHook",
|
|
57
|
+
"type": "bool",
|
|
58
|
+
"internalType": "bool"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "isPostHook",
|
|
62
|
+
"type": "bool",
|
|
63
|
+
"internalType": "bool"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "interfaceIds",
|
|
69
|
+
"type": "bytes4[]",
|
|
70
|
+
"internalType": "bytes4[]"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"anonymous": false
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "event",
|
|
79
|
+
"name": "ExecutionUninstalled",
|
|
80
|
+
"inputs": [
|
|
81
|
+
{
|
|
82
|
+
"name": "module",
|
|
83
|
+
"type": "address",
|
|
84
|
+
"indexed": true,
|
|
85
|
+
"internalType": "address"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "success",
|
|
89
|
+
"type": "bool",
|
|
90
|
+
"indexed": false,
|
|
91
|
+
"internalType": "bool"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "manifest",
|
|
95
|
+
"type": "tuple",
|
|
96
|
+
"indexed": false,
|
|
97
|
+
"internalType": "struct ExecutionManifest",
|
|
98
|
+
"components": [
|
|
99
|
+
{
|
|
100
|
+
"name": "executionFunctions",
|
|
101
|
+
"type": "tuple[]",
|
|
102
|
+
"internalType": "struct ManifestExecutionFunction[]",
|
|
103
|
+
"components": [
|
|
104
|
+
{
|
|
105
|
+
"name": "executionSelector",
|
|
106
|
+
"type": "bytes4",
|
|
107
|
+
"internalType": "bytes4"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "skipRuntimeValidation",
|
|
111
|
+
"type": "bool",
|
|
112
|
+
"internalType": "bool"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "allowGlobalValidation",
|
|
116
|
+
"type": "bool",
|
|
117
|
+
"internalType": "bool"
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "executionHooks",
|
|
123
|
+
"type": "tuple[]",
|
|
124
|
+
"internalType": "struct ManifestExecutionHook[]",
|
|
125
|
+
"components": [
|
|
126
|
+
{
|
|
127
|
+
"name": "executionSelector",
|
|
128
|
+
"type": "bytes4",
|
|
129
|
+
"internalType": "bytes4"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "entityId",
|
|
133
|
+
"type": "uint32",
|
|
134
|
+
"internalType": "uint32"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "isPreHook",
|
|
138
|
+
"type": "bool",
|
|
139
|
+
"internalType": "bool"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "isPostHook",
|
|
143
|
+
"type": "bool",
|
|
144
|
+
"internalType": "bool"
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "interfaceIds",
|
|
150
|
+
"type": "bytes4[]",
|
|
151
|
+
"internalType": "bytes4[]"
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"anonymous": false
|
|
157
|
+
},
|
|
2
158
|
{
|
|
3
159
|
"type": "error",
|
|
4
160
|
"name": "AppAlreadyInstalled",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import type {
|
|
5
5
|
BaseContract,
|
|
6
6
|
BigNumber,
|
|
7
|
+
BigNumberish,
|
|
7
8
|
BytesLike,
|
|
8
9
|
CallOverrides,
|
|
9
10
|
ContractTransaction,
|
|
@@ -12,7 +13,11 @@ import type {
|
|
|
12
13
|
Signer,
|
|
13
14
|
utils,
|
|
14
15
|
} from "ethers";
|
|
15
|
-
import type {
|
|
16
|
+
import type {
|
|
17
|
+
FunctionFragment,
|
|
18
|
+
Result,
|
|
19
|
+
EventFragment,
|
|
20
|
+
} from "@ethersproject/abi";
|
|
16
21
|
import type { Listener, Provider } from "@ethersproject/providers";
|
|
17
22
|
import type {
|
|
18
23
|
TypedEventFilter,
|
|
@@ -22,6 +27,57 @@ import type {
|
|
|
22
27
|
PromiseOrValue,
|
|
23
28
|
} from "./common";
|
|
24
29
|
|
|
30
|
+
export type ManifestExecutionFunctionStruct = {
|
|
31
|
+
executionSelector: PromiseOrValue<BytesLike>;
|
|
32
|
+
skipRuntimeValidation: PromiseOrValue<boolean>;
|
|
33
|
+
allowGlobalValidation: PromiseOrValue<boolean>;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export type ManifestExecutionFunctionStructOutput = [
|
|
37
|
+
string,
|
|
38
|
+
boolean,
|
|
39
|
+
boolean
|
|
40
|
+
] & {
|
|
41
|
+
executionSelector: string;
|
|
42
|
+
skipRuntimeValidation: boolean;
|
|
43
|
+
allowGlobalValidation: boolean;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export type ManifestExecutionHookStruct = {
|
|
47
|
+
executionSelector: PromiseOrValue<BytesLike>;
|
|
48
|
+
entityId: PromiseOrValue<BigNumberish>;
|
|
49
|
+
isPreHook: PromiseOrValue<boolean>;
|
|
50
|
+
isPostHook: PromiseOrValue<boolean>;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export type ManifestExecutionHookStructOutput = [
|
|
54
|
+
string,
|
|
55
|
+
number,
|
|
56
|
+
boolean,
|
|
57
|
+
boolean
|
|
58
|
+
] & {
|
|
59
|
+
executionSelector: string;
|
|
60
|
+
entityId: number;
|
|
61
|
+
isPreHook: boolean;
|
|
62
|
+
isPostHook: boolean;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export type ExecutionManifestStruct = {
|
|
66
|
+
executionFunctions: ManifestExecutionFunctionStruct[];
|
|
67
|
+
executionHooks: ManifestExecutionHookStruct[];
|
|
68
|
+
interfaceIds: PromiseOrValue<BytesLike>[];
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export type ExecutionManifestStructOutput = [
|
|
72
|
+
ManifestExecutionFunctionStructOutput[],
|
|
73
|
+
ManifestExecutionHookStructOutput[],
|
|
74
|
+
string[]
|
|
75
|
+
] & {
|
|
76
|
+
executionFunctions: ManifestExecutionFunctionStructOutput[];
|
|
77
|
+
executionHooks: ManifestExecutionHookStructOutput[];
|
|
78
|
+
interfaceIds: string[];
|
|
79
|
+
};
|
|
80
|
+
|
|
25
81
|
export interface IAppAccountInterface extends utils.Interface {
|
|
26
82
|
functions: {
|
|
27
83
|
"disableApp(address)": FunctionFragment;
|
|
@@ -124,9 +180,40 @@ export interface IAppAccountInterface extends utils.Interface {
|
|
|
124
180
|
data: BytesLike
|
|
125
181
|
): Result;
|
|
126
182
|
|
|
127
|
-
events: {
|
|
183
|
+
events: {
|
|
184
|
+
"ExecutionInstalled(address,tuple)": EventFragment;
|
|
185
|
+
"ExecutionUninstalled(address,bool,tuple)": EventFragment;
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
getEvent(nameOrSignatureOrTopic: "ExecutionInstalled"): EventFragment;
|
|
189
|
+
getEvent(nameOrSignatureOrTopic: "ExecutionUninstalled"): EventFragment;
|
|
128
190
|
}
|
|
129
191
|
|
|
192
|
+
export interface ExecutionInstalledEventObject {
|
|
193
|
+
module: string;
|
|
194
|
+
manifest: ExecutionManifestStructOutput;
|
|
195
|
+
}
|
|
196
|
+
export type ExecutionInstalledEvent = TypedEvent<
|
|
197
|
+
[string, ExecutionManifestStructOutput],
|
|
198
|
+
ExecutionInstalledEventObject
|
|
199
|
+
>;
|
|
200
|
+
|
|
201
|
+
export type ExecutionInstalledEventFilter =
|
|
202
|
+
TypedEventFilter<ExecutionInstalledEvent>;
|
|
203
|
+
|
|
204
|
+
export interface ExecutionUninstalledEventObject {
|
|
205
|
+
module: string;
|
|
206
|
+
success: boolean;
|
|
207
|
+
manifest: ExecutionManifestStructOutput;
|
|
208
|
+
}
|
|
209
|
+
export type ExecutionUninstalledEvent = TypedEvent<
|
|
210
|
+
[string, boolean, ExecutionManifestStructOutput],
|
|
211
|
+
ExecutionUninstalledEventObject
|
|
212
|
+
>;
|
|
213
|
+
|
|
214
|
+
export type ExecutionUninstalledEventFilter =
|
|
215
|
+
TypedEventFilter<ExecutionUninstalledEvent>;
|
|
216
|
+
|
|
130
217
|
export interface IAppAccount extends BaseContract {
|
|
131
218
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
132
219
|
attach(addressOrName: string): this;
|
|
@@ -313,7 +400,27 @@ export interface IAppAccount extends BaseContract {
|
|
|
313
400
|
): Promise<void>;
|
|
314
401
|
};
|
|
315
402
|
|
|
316
|
-
filters: {
|
|
403
|
+
filters: {
|
|
404
|
+
"ExecutionInstalled(address,tuple)"(
|
|
405
|
+
module?: PromiseOrValue<string> | null,
|
|
406
|
+
manifest?: null
|
|
407
|
+
): ExecutionInstalledEventFilter;
|
|
408
|
+
ExecutionInstalled(
|
|
409
|
+
module?: PromiseOrValue<string> | null,
|
|
410
|
+
manifest?: null
|
|
411
|
+
): ExecutionInstalledEventFilter;
|
|
412
|
+
|
|
413
|
+
"ExecutionUninstalled(address,bool,tuple)"(
|
|
414
|
+
module?: PromiseOrValue<string> | null,
|
|
415
|
+
success?: null,
|
|
416
|
+
manifest?: null
|
|
417
|
+
): ExecutionUninstalledEventFilter;
|
|
418
|
+
ExecutionUninstalled(
|
|
419
|
+
module?: PromiseOrValue<string> | null,
|
|
420
|
+
success?: null,
|
|
421
|
+
manifest?: null
|
|
422
|
+
): ExecutionUninstalledEventFilter;
|
|
423
|
+
};
|
|
317
424
|
|
|
318
425
|
estimateGas: {
|
|
319
426
|
disableApp(
|
|
@@ -186,6 +186,162 @@ const _abi = [
|
|
|
186
186
|
outputs: [],
|
|
187
187
|
stateMutability: "nonpayable",
|
|
188
188
|
},
|
|
189
|
+
{
|
|
190
|
+
type: "event",
|
|
191
|
+
name: "ExecutionInstalled",
|
|
192
|
+
inputs: [
|
|
193
|
+
{
|
|
194
|
+
name: "module",
|
|
195
|
+
type: "address",
|
|
196
|
+
indexed: true,
|
|
197
|
+
internalType: "address",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
name: "manifest",
|
|
201
|
+
type: "tuple",
|
|
202
|
+
indexed: false,
|
|
203
|
+
internalType: "struct ExecutionManifest",
|
|
204
|
+
components: [
|
|
205
|
+
{
|
|
206
|
+
name: "executionFunctions",
|
|
207
|
+
type: "tuple[]",
|
|
208
|
+
internalType: "struct ManifestExecutionFunction[]",
|
|
209
|
+
components: [
|
|
210
|
+
{
|
|
211
|
+
name: "executionSelector",
|
|
212
|
+
type: "bytes4",
|
|
213
|
+
internalType: "bytes4",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
name: "skipRuntimeValidation",
|
|
217
|
+
type: "bool",
|
|
218
|
+
internalType: "bool",
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
name: "allowGlobalValidation",
|
|
222
|
+
type: "bool",
|
|
223
|
+
internalType: "bool",
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
name: "executionHooks",
|
|
229
|
+
type: "tuple[]",
|
|
230
|
+
internalType: "struct ManifestExecutionHook[]",
|
|
231
|
+
components: [
|
|
232
|
+
{
|
|
233
|
+
name: "executionSelector",
|
|
234
|
+
type: "bytes4",
|
|
235
|
+
internalType: "bytes4",
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
name: "entityId",
|
|
239
|
+
type: "uint32",
|
|
240
|
+
internalType: "uint32",
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
name: "isPreHook",
|
|
244
|
+
type: "bool",
|
|
245
|
+
internalType: "bool",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
name: "isPostHook",
|
|
249
|
+
type: "bool",
|
|
250
|
+
internalType: "bool",
|
|
251
|
+
},
|
|
252
|
+
],
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
name: "interfaceIds",
|
|
256
|
+
type: "bytes4[]",
|
|
257
|
+
internalType: "bytes4[]",
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
},
|
|
261
|
+
],
|
|
262
|
+
anonymous: false,
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
type: "event",
|
|
266
|
+
name: "ExecutionUninstalled",
|
|
267
|
+
inputs: [
|
|
268
|
+
{
|
|
269
|
+
name: "module",
|
|
270
|
+
type: "address",
|
|
271
|
+
indexed: true,
|
|
272
|
+
internalType: "address",
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
name: "success",
|
|
276
|
+
type: "bool",
|
|
277
|
+
indexed: false,
|
|
278
|
+
internalType: "bool",
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
name: "manifest",
|
|
282
|
+
type: "tuple",
|
|
283
|
+
indexed: false,
|
|
284
|
+
internalType: "struct ExecutionManifest",
|
|
285
|
+
components: [
|
|
286
|
+
{
|
|
287
|
+
name: "executionFunctions",
|
|
288
|
+
type: "tuple[]",
|
|
289
|
+
internalType: "struct ManifestExecutionFunction[]",
|
|
290
|
+
components: [
|
|
291
|
+
{
|
|
292
|
+
name: "executionSelector",
|
|
293
|
+
type: "bytes4",
|
|
294
|
+
internalType: "bytes4",
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
name: "skipRuntimeValidation",
|
|
298
|
+
type: "bool",
|
|
299
|
+
internalType: "bool",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
name: "allowGlobalValidation",
|
|
303
|
+
type: "bool",
|
|
304
|
+
internalType: "bool",
|
|
305
|
+
},
|
|
306
|
+
],
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
name: "executionHooks",
|
|
310
|
+
type: "tuple[]",
|
|
311
|
+
internalType: "struct ManifestExecutionHook[]",
|
|
312
|
+
components: [
|
|
313
|
+
{
|
|
314
|
+
name: "executionSelector",
|
|
315
|
+
type: "bytes4",
|
|
316
|
+
internalType: "bytes4",
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
name: "entityId",
|
|
320
|
+
type: "uint32",
|
|
321
|
+
internalType: "uint32",
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
name: "isPreHook",
|
|
325
|
+
type: "bool",
|
|
326
|
+
internalType: "bool",
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
name: "isPostHook",
|
|
330
|
+
type: "bool",
|
|
331
|
+
internalType: "bool",
|
|
332
|
+
},
|
|
333
|
+
],
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
name: "interfaceIds",
|
|
337
|
+
type: "bytes4[]",
|
|
338
|
+
internalType: "bytes4[]",
|
|
339
|
+
},
|
|
340
|
+
],
|
|
341
|
+
},
|
|
342
|
+
],
|
|
343
|
+
anonymous: false,
|
|
344
|
+
},
|
|
189
345
|
{
|
|
190
346
|
type: "error",
|
|
191
347
|
name: "AppAlreadyInstalled",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@towns-protocol/generated",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.329",
|
|
4
4
|
"packageManager": "yarn@3.8.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "91e3bc86a96ecd92c40a19ed4a3fbf70d427f0d3"
|
|
30
30
|
}
|