@towns-protocol/generated 0.0.257 → 0.0.260

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,228 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "disableApp",
5
+ "inputs": [
6
+ {
7
+ "name": "app",
8
+ "type": "address",
9
+ "internalType": "address"
10
+ }
11
+ ],
12
+ "outputs": [],
13
+ "stateMutability": "nonpayable"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "enableApp",
18
+ "inputs": [
19
+ {
20
+ "name": "app",
21
+ "type": "address",
22
+ "internalType": "address"
23
+ }
24
+ ],
25
+ "outputs": [],
26
+ "stateMutability": "nonpayable"
27
+ },
28
+ {
29
+ "type": "function",
30
+ "name": "getAppExpiration",
31
+ "inputs": [
32
+ {
33
+ "name": "app",
34
+ "type": "address",
35
+ "internalType": "address"
36
+ }
37
+ ],
38
+ "outputs": [
39
+ {
40
+ "name": "",
41
+ "type": "uint48",
42
+ "internalType": "uint48"
43
+ }
44
+ ],
45
+ "stateMutability": "view"
46
+ },
47
+ {
48
+ "type": "function",
49
+ "name": "getAppId",
50
+ "inputs": [
51
+ {
52
+ "name": "app",
53
+ "type": "address",
54
+ "internalType": "address"
55
+ }
56
+ ],
57
+ "outputs": [
58
+ {
59
+ "name": "",
60
+ "type": "bytes32",
61
+ "internalType": "bytes32"
62
+ }
63
+ ],
64
+ "stateMutability": "view"
65
+ },
66
+ {
67
+ "type": "function",
68
+ "name": "getInstalledApps",
69
+ "inputs": [],
70
+ "outputs": [
71
+ {
72
+ "name": "",
73
+ "type": "address[]",
74
+ "internalType": "address[]"
75
+ }
76
+ ],
77
+ "stateMutability": "view"
78
+ },
79
+ {
80
+ "type": "function",
81
+ "name": "isAppEntitled",
82
+ "inputs": [
83
+ {
84
+ "name": "app",
85
+ "type": "address",
86
+ "internalType": "address"
87
+ },
88
+ {
89
+ "name": "publicKey",
90
+ "type": "address",
91
+ "internalType": "address"
92
+ },
93
+ {
94
+ "name": "permission",
95
+ "type": "bytes32",
96
+ "internalType": "bytes32"
97
+ }
98
+ ],
99
+ "outputs": [
100
+ {
101
+ "name": "",
102
+ "type": "bool",
103
+ "internalType": "bool"
104
+ }
105
+ ],
106
+ "stateMutability": "view"
107
+ },
108
+ {
109
+ "type": "function",
110
+ "name": "isAppInstalled",
111
+ "inputs": [
112
+ {
113
+ "name": "app",
114
+ "type": "address",
115
+ "internalType": "address"
116
+ }
117
+ ],
118
+ "outputs": [
119
+ {
120
+ "name": "",
121
+ "type": "bool",
122
+ "internalType": "bool"
123
+ }
124
+ ],
125
+ "stateMutability": "view"
126
+ },
127
+ {
128
+ "type": "function",
129
+ "name": "onInstallApp",
130
+ "inputs": [
131
+ {
132
+ "name": "appId",
133
+ "type": "bytes32",
134
+ "internalType": "bytes32"
135
+ },
136
+ {
137
+ "name": "data",
138
+ "type": "bytes",
139
+ "internalType": "bytes"
140
+ }
141
+ ],
142
+ "outputs": [],
143
+ "stateMutability": "nonpayable"
144
+ },
145
+ {
146
+ "type": "function",
147
+ "name": "onRenewApp",
148
+ "inputs": [
149
+ {
150
+ "name": "appId",
151
+ "type": "bytes32",
152
+ "internalType": "bytes32"
153
+ },
154
+ {
155
+ "name": "data",
156
+ "type": "bytes",
157
+ "internalType": "bytes"
158
+ }
159
+ ],
160
+ "outputs": [],
161
+ "stateMutability": "nonpayable"
162
+ },
163
+ {
164
+ "type": "function",
165
+ "name": "onUninstallApp",
166
+ "inputs": [
167
+ {
168
+ "name": "appId",
169
+ "type": "bytes32",
170
+ "internalType": "bytes32"
171
+ },
172
+ {
173
+ "name": "data",
174
+ "type": "bytes",
175
+ "internalType": "bytes"
176
+ }
177
+ ],
178
+ "outputs": [],
179
+ "stateMutability": "nonpayable"
180
+ },
181
+ {
182
+ "type": "error",
183
+ "name": "AppAlreadyInstalled",
184
+ "inputs": []
185
+ },
186
+ {
187
+ "type": "error",
188
+ "name": "InvalidAppAddress",
189
+ "inputs": [
190
+ {
191
+ "name": "app",
192
+ "type": "address",
193
+ "internalType": "address"
194
+ }
195
+ ]
196
+ },
197
+ {
198
+ "type": "error",
199
+ "name": "InvalidCaller",
200
+ "inputs": []
201
+ },
202
+ {
203
+ "type": "error",
204
+ "name": "InvalidManifest",
205
+ "inputs": []
206
+ },
207
+ {
208
+ "type": "error",
209
+ "name": "NotEnoughEth",
210
+ "inputs": []
211
+ },
212
+ {
213
+ "type": "error",
214
+ "name": "UnauthorizedApp",
215
+ "inputs": [
216
+ {
217
+ "name": "app",
218
+ "type": "address",
219
+ "internalType": "address"
220
+ }
221
+ ]
222
+ },
223
+ {
224
+ "type": "error",
225
+ "name": "UnauthorizedSelector",
226
+ "inputs": []
227
+ }
228
+ ]
@@ -0,0 +1,228 @@
1
+ export default [
2
+ {
3
+ "type": "function",
4
+ "name": "disableApp",
5
+ "inputs": [
6
+ {
7
+ "name": "app",
8
+ "type": "address",
9
+ "internalType": "address"
10
+ }
11
+ ],
12
+ "outputs": [],
13
+ "stateMutability": "nonpayable"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "enableApp",
18
+ "inputs": [
19
+ {
20
+ "name": "app",
21
+ "type": "address",
22
+ "internalType": "address"
23
+ }
24
+ ],
25
+ "outputs": [],
26
+ "stateMutability": "nonpayable"
27
+ },
28
+ {
29
+ "type": "function",
30
+ "name": "getAppExpiration",
31
+ "inputs": [
32
+ {
33
+ "name": "app",
34
+ "type": "address",
35
+ "internalType": "address"
36
+ }
37
+ ],
38
+ "outputs": [
39
+ {
40
+ "name": "",
41
+ "type": "uint48",
42
+ "internalType": "uint48"
43
+ }
44
+ ],
45
+ "stateMutability": "view"
46
+ },
47
+ {
48
+ "type": "function",
49
+ "name": "getAppId",
50
+ "inputs": [
51
+ {
52
+ "name": "app",
53
+ "type": "address",
54
+ "internalType": "address"
55
+ }
56
+ ],
57
+ "outputs": [
58
+ {
59
+ "name": "",
60
+ "type": "bytes32",
61
+ "internalType": "bytes32"
62
+ }
63
+ ],
64
+ "stateMutability": "view"
65
+ },
66
+ {
67
+ "type": "function",
68
+ "name": "getInstalledApps",
69
+ "inputs": [],
70
+ "outputs": [
71
+ {
72
+ "name": "",
73
+ "type": "address[]",
74
+ "internalType": "address[]"
75
+ }
76
+ ],
77
+ "stateMutability": "view"
78
+ },
79
+ {
80
+ "type": "function",
81
+ "name": "isAppEntitled",
82
+ "inputs": [
83
+ {
84
+ "name": "app",
85
+ "type": "address",
86
+ "internalType": "address"
87
+ },
88
+ {
89
+ "name": "publicKey",
90
+ "type": "address",
91
+ "internalType": "address"
92
+ },
93
+ {
94
+ "name": "permission",
95
+ "type": "bytes32",
96
+ "internalType": "bytes32"
97
+ }
98
+ ],
99
+ "outputs": [
100
+ {
101
+ "name": "",
102
+ "type": "bool",
103
+ "internalType": "bool"
104
+ }
105
+ ],
106
+ "stateMutability": "view"
107
+ },
108
+ {
109
+ "type": "function",
110
+ "name": "isAppInstalled",
111
+ "inputs": [
112
+ {
113
+ "name": "app",
114
+ "type": "address",
115
+ "internalType": "address"
116
+ }
117
+ ],
118
+ "outputs": [
119
+ {
120
+ "name": "",
121
+ "type": "bool",
122
+ "internalType": "bool"
123
+ }
124
+ ],
125
+ "stateMutability": "view"
126
+ },
127
+ {
128
+ "type": "function",
129
+ "name": "onInstallApp",
130
+ "inputs": [
131
+ {
132
+ "name": "appId",
133
+ "type": "bytes32",
134
+ "internalType": "bytes32"
135
+ },
136
+ {
137
+ "name": "data",
138
+ "type": "bytes",
139
+ "internalType": "bytes"
140
+ }
141
+ ],
142
+ "outputs": [],
143
+ "stateMutability": "nonpayable"
144
+ },
145
+ {
146
+ "type": "function",
147
+ "name": "onRenewApp",
148
+ "inputs": [
149
+ {
150
+ "name": "appId",
151
+ "type": "bytes32",
152
+ "internalType": "bytes32"
153
+ },
154
+ {
155
+ "name": "data",
156
+ "type": "bytes",
157
+ "internalType": "bytes"
158
+ }
159
+ ],
160
+ "outputs": [],
161
+ "stateMutability": "nonpayable"
162
+ },
163
+ {
164
+ "type": "function",
165
+ "name": "onUninstallApp",
166
+ "inputs": [
167
+ {
168
+ "name": "appId",
169
+ "type": "bytes32",
170
+ "internalType": "bytes32"
171
+ },
172
+ {
173
+ "name": "data",
174
+ "type": "bytes",
175
+ "internalType": "bytes"
176
+ }
177
+ ],
178
+ "outputs": [],
179
+ "stateMutability": "nonpayable"
180
+ },
181
+ {
182
+ "type": "error",
183
+ "name": "AppAlreadyInstalled",
184
+ "inputs": []
185
+ },
186
+ {
187
+ "type": "error",
188
+ "name": "InvalidAppAddress",
189
+ "inputs": [
190
+ {
191
+ "name": "app",
192
+ "type": "address",
193
+ "internalType": "address"
194
+ }
195
+ ]
196
+ },
197
+ {
198
+ "type": "error",
199
+ "name": "InvalidCaller",
200
+ "inputs": []
201
+ },
202
+ {
203
+ "type": "error",
204
+ "name": "InvalidManifest",
205
+ "inputs": []
206
+ },
207
+ {
208
+ "type": "error",
209
+ "name": "NotEnoughEth",
210
+ "inputs": []
211
+ },
212
+ {
213
+ "type": "error",
214
+ "name": "UnauthorizedApp",
215
+ "inputs": [
216
+ {
217
+ "name": "app",
218
+ "type": "address",
219
+ "internalType": "address"
220
+ }
221
+ ]
222
+ },
223
+ {
224
+ "type": "error",
225
+ "name": "UnauthorizedSelector",
226
+ "inputs": []
227
+ }
228
+ ] as const
@@ -0,0 +1,49 @@
1
+ [
2
+ {
3
+ "type": "error",
4
+ "name": "AppAlreadyInstalled",
5
+ "inputs": []
6
+ },
7
+ {
8
+ "type": "error",
9
+ "name": "InvalidAppAddress",
10
+ "inputs": [
11
+ {
12
+ "name": "app",
13
+ "type": "address",
14
+ "internalType": "address"
15
+ }
16
+ ]
17
+ },
18
+ {
19
+ "type": "error",
20
+ "name": "InvalidCaller",
21
+ "inputs": []
22
+ },
23
+ {
24
+ "type": "error",
25
+ "name": "InvalidManifest",
26
+ "inputs": []
27
+ },
28
+ {
29
+ "type": "error",
30
+ "name": "NotEnoughEth",
31
+ "inputs": []
32
+ },
33
+ {
34
+ "type": "error",
35
+ "name": "UnauthorizedApp",
36
+ "inputs": [
37
+ {
38
+ "name": "app",
39
+ "type": "address",
40
+ "internalType": "address"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "type": "error",
46
+ "name": "UnauthorizedSelector",
47
+ "inputs": []
48
+ }
49
+ ]
@@ -0,0 +1,49 @@
1
+ export default [
2
+ {
3
+ "type": "error",
4
+ "name": "AppAlreadyInstalled",
5
+ "inputs": []
6
+ },
7
+ {
8
+ "type": "error",
9
+ "name": "InvalidAppAddress",
10
+ "inputs": [
11
+ {
12
+ "name": "app",
13
+ "type": "address",
14
+ "internalType": "address"
15
+ }
16
+ ]
17
+ },
18
+ {
19
+ "type": "error",
20
+ "name": "InvalidCaller",
21
+ "inputs": []
22
+ },
23
+ {
24
+ "type": "error",
25
+ "name": "InvalidManifest",
26
+ "inputs": []
27
+ },
28
+ {
29
+ "type": "error",
30
+ "name": "NotEnoughEth",
31
+ "inputs": []
32
+ },
33
+ {
34
+ "type": "error",
35
+ "name": "UnauthorizedApp",
36
+ "inputs": [
37
+ {
38
+ "name": "app",
39
+ "type": "address",
40
+ "internalType": "address"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "type": "error",
46
+ "name": "UnauthorizedSelector",
47
+ "inputs": []
48
+ }
49
+ ] as const