@@ -91,6 +91,43 @@ export const zoneFactory = [
9191 { name : 'portal' , type : 'address' } ,
9292 ] ,
9393 } ,
94+ {
95+ type : 'function' ,
96+ name : 'owner' ,
97+ stateMutability : 'view' ,
98+ inputs : [ ] ,
99+ outputs : [ { name : '' , type : 'address' } ] ,
100+ } ,
101+ {
102+ type : 'function' ,
103+ name : 'nextZoneId' ,
104+ stateMutability : 'view' ,
105+ inputs : [ ] ,
106+ outputs : [ { name : '' , type : 'uint32' } ] ,
107+ } ,
108+ {
109+ type : 'function' ,
110+ name : 'zones' ,
111+ stateMutability : 'view' ,
112+ inputs : [ { name : 'id' , type : 'uint32' } ] ,
113+ outputs : [
114+ {
115+ name : 'info' ,
116+ type : 'tuple' ,
117+ components : [
118+ { name : 'zoneId' , type : 'uint32' } ,
119+ { name : 'portal' , type : 'address' } ,
120+ { name : 'accessMode' , type : 'bool' } ,
121+ { name : 'gatewayMode' , type : 'bool' } ,
122+ { name : 'admin' , type : 'address' } ,
123+ { name : 'sequencers' , type : 'address[]' } ,
124+ { name : 'threshold' , type : 'uint8' } ,
125+ { name : 'verifier' , type : 'address' } ,
126+ { name : 'rpcUrl' , type : 'string' } ,
127+ ] ,
128+ } ,
129+ ] ,
130+ } ,
94131 {
95132 type : 'function' ,
96133 name : 'verifier' ,
@@ -148,6 +185,130 @@ export const zonePortal = [
148185 ] ,
149186 outputs : [ { name : '' , type : 'bytes32' } ] ,
150187 } ,
188+ {
189+ name : 'messenger' ,
190+ type : 'function' ,
191+ stateMutability : 'view' ,
192+ inputs : [ ] ,
193+ outputs : [ { name : '' , type : 'address' } ] ,
194+ } ,
195+ {
196+ name : 'verifier' ,
197+ type : 'function' ,
198+ stateMutability : 'view' ,
199+ inputs : [ ] ,
200+ outputs : [ { name : '' , type : 'address' } ] ,
201+ } ,
202+ {
203+ name : 'admin' ,
204+ type : 'function' ,
205+ stateMutability : 'view' ,
206+ inputs : [ ] ,
207+ outputs : [ { name : '' , type : 'address' } ] ,
208+ } ,
209+ {
210+ name : 'pendingAdmin' ,
211+ type : 'function' ,
212+ stateMutability : 'view' ,
213+ inputs : [ ] ,
214+ outputs : [ { name : '' , type : 'address' } ] ,
215+ } ,
216+ {
217+ name : 'paused' ,
218+ type : 'function' ,
219+ stateMutability : 'view' ,
220+ inputs : [ ] ,
221+ outputs : [ { name : '' , type : 'bool' } ] ,
222+ } ,
223+ {
224+ name : 'pauseExpiry' ,
225+ type : 'function' ,
226+ stateMutability : 'view' ,
227+ inputs : [ ] ,
228+ outputs : [ { name : '' , type : 'uint64' } ] ,
229+ } ,
230+ {
231+ name : 'hasRole' ,
232+ type : 'function' ,
233+ stateMutability : 'view' ,
234+ inputs : [
235+ { name : 'account' , type : 'address' } ,
236+ { name : 'expected' , type : 'uint8' } ,
237+ ] ,
238+ outputs : [ { name : '' , type : 'bool' } ] ,
239+ } ,
240+ {
241+ name : 'abdicationEffectiveAt' ,
242+ type : 'function' ,
243+ stateMutability : 'view' ,
244+ inputs : [ { name : 'capability' , type : 'uint8' } ] ,
245+ outputs : [ { name : '' , type : 'uint64' } ] ,
246+ } ,
247+ {
248+ name : 'pause' ,
249+ type : 'function' ,
250+ stateMutability : 'nonpayable' ,
251+ inputs : [ ] ,
252+ outputs : [ ] ,
253+ } ,
254+ {
255+ name : 'sequencerSetVersion' ,
256+ type : 'function' ,
257+ stateMutability : 'view' ,
258+ inputs : [ ] ,
259+ outputs : [ { name : '' , type : 'uint64' } ] ,
260+ } ,
261+ {
262+ name : 'sequencerThreshold' ,
263+ type : 'function' ,
264+ stateMutability : 'view' ,
265+ inputs : [ ] ,
266+ outputs : [ { name : '' , type : 'uint8' } ] ,
267+ } ,
268+ {
269+ name : 'sequencerCount' ,
270+ type : 'function' ,
271+ stateMutability : 'view' ,
272+ inputs : [ ] ,
273+ outputs : [ { name : '' , type : 'uint256' } ] ,
274+ } ,
275+ {
276+ name : 'sequencerAt' ,
277+ type : 'function' ,
278+ stateMutability : 'view' ,
279+ inputs : [ { name : 'index' , type : 'uint256' } ] ,
280+ outputs : [ { name : '' , type : 'address' } ] ,
281+ } ,
282+ {
283+ name : 'enabledTokenCount' ,
284+ type : 'function' ,
285+ stateMutability : 'view' ,
286+ inputs : [ ] ,
287+ outputs : [ { name : '' , type : 'uint256' } ] ,
288+ } ,
289+ {
290+ name : 'enabledTokenAt' ,
291+ type : 'function' ,
292+ stateMutability : 'view' ,
293+ inputs : [ { name : 'index' , type : 'uint256' } ] ,
294+ outputs : [ { name : '' , type : 'address' } ] ,
295+ } ,
296+ {
297+ name : 'tokenConfig' ,
298+ type : 'function' ,
299+ stateMutability : 'view' ,
300+ inputs : [ { name : 'token' , type : 'address' } ] ,
301+ outputs : [
302+ {
303+ name : 'config' ,
304+ type : 'tuple' ,
305+ components : [
306+ { name : 'enabled' , type : 'bool' } ,
307+ { name : 'depositsActive' , type : 'bool' } ,
308+ ] ,
309+ } ,
310+ ] ,
311+ } ,
151312 {
152313 name : 'sequencerEncryptionKey' ,
153314 type : 'function' ,
0 commit comments