@towns-protocol/generated 0.0.302 → 0.0.304

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.
@@ -183,6 +183,11 @@
183
183
  "name": "CurrencyIsZero",
184
184
  "inputs": []
185
185
  },
186
+ {
187
+ "type": "error",
188
+ "name": "MsgValueMismatch",
189
+ "inputs": []
190
+ },
186
191
  {
187
192
  "type": "error",
188
193
  "name": "ReceiverIsNotMember",
@@ -192,5 +197,10 @@
192
197
  "type": "error",
193
198
  "name": "TokenDoesNotExist",
194
199
  "inputs": []
200
+ },
201
+ {
202
+ "type": "error",
203
+ "name": "UnexpectedETH",
204
+ "inputs": []
195
205
  }
196
206
  ]
@@ -183,6 +183,11 @@ export default [
183
183
  "name": "CurrencyIsZero",
184
184
  "inputs": []
185
185
  },
186
+ {
187
+ "type": "error",
188
+ "name": "MsgValueMismatch",
189
+ "inputs": []
190
+ },
186
191
  {
187
192
  "type": "error",
188
193
  "name": "ReceiverIsNotMember",
@@ -192,5 +197,10 @@ export default [
192
197
  "type": "error",
193
198
  "name": "TokenDoesNotExist",
194
199
  "inputs": []
200
+ },
201
+ {
202
+ "type": "error",
203
+ "name": "UnexpectedETH",
204
+ "inputs": []
195
205
  }
196
206
  ] as const
@@ -63,6 +63,11 @@
63
63
  "name": "CurrencyIsZero",
64
64
  "inputs": []
65
65
  },
66
+ {
67
+ "type": "error",
68
+ "name": "MsgValueMismatch",
69
+ "inputs": []
70
+ },
66
71
  {
67
72
  "type": "error",
68
73
  "name": "ReceiverIsNotMember",
@@ -72,5 +77,10 @@
72
77
  "type": "error",
73
78
  "name": "TokenDoesNotExist",
74
79
  "inputs": []
80
+ },
81
+ {
82
+ "type": "error",
83
+ "name": "UnexpectedETH",
84
+ "inputs": []
75
85
  }
76
86
  ]
@@ -63,6 +63,11 @@ export default [
63
63
  "name": "CurrencyIsZero",
64
64
  "inputs": []
65
65
  },
66
+ {
67
+ "type": "error",
68
+ "name": "MsgValueMismatch",
69
+ "inputs": []
70
+ },
66
71
  {
67
72
  "type": "error",
68
73
  "name": "ReceiverIsNotMember",
@@ -72,5 +77,10 @@ export default [
72
77
  "type": "error",
73
78
  "name": "TokenDoesNotExist",
74
79
  "inputs": []
80
+ },
81
+ {
82
+ "type": "error",
83
+ "name": "UnexpectedETH",
84
+ "inputs": []
75
85
  }
76
86
  ] as const
@@ -0,0 +1,517 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "__MainnetDelegation_init",
5
+ "inputs": [
6
+ {
7
+ "name": "messenger",
8
+ "type": "address",
9
+ "internalType": "address"
10
+ }
11
+ ],
12
+ "outputs": [],
13
+ "stateMutability": "nonpayable"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "getAuthorizedClaimer",
18
+ "inputs": [
19
+ {
20
+ "name": "delegator",
21
+ "type": "address",
22
+ "internalType": "address"
23
+ }
24
+ ],
25
+ "outputs": [
26
+ {
27
+ "name": "",
28
+ "type": "address",
29
+ "internalType": "address"
30
+ }
31
+ ],
32
+ "stateMutability": "view"
33
+ },
34
+ {
35
+ "type": "function",
36
+ "name": "getDelegatedStakeByOperator",
37
+ "inputs": [
38
+ {
39
+ "name": "operator",
40
+ "type": "address",
41
+ "internalType": "address"
42
+ }
43
+ ],
44
+ "outputs": [
45
+ {
46
+ "name": "",
47
+ "type": "uint256",
48
+ "internalType": "uint256"
49
+ }
50
+ ],
51
+ "stateMutability": "view"
52
+ },
53
+ {
54
+ "type": "function",
55
+ "name": "getDelegationByDelegator",
56
+ "inputs": [
57
+ {
58
+ "name": "delegator",
59
+ "type": "address",
60
+ "internalType": "address"
61
+ }
62
+ ],
63
+ "outputs": [
64
+ {
65
+ "name": "",
66
+ "type": "tuple",
67
+ "internalType": "struct IMainnetDelegationBase.Delegation",
68
+ "components": [
69
+ {
70
+ "name": "operator",
71
+ "type": "address",
72
+ "internalType": "address"
73
+ },
74
+ {
75
+ "name": "quantity",
76
+ "type": "uint256",
77
+ "internalType": "uint256"
78
+ },
79
+ {
80
+ "name": "delegator",
81
+ "type": "address",
82
+ "internalType": "address"
83
+ },
84
+ {
85
+ "name": "delegationTime",
86
+ "type": "uint256",
87
+ "internalType": "uint256"
88
+ }
89
+ ]
90
+ }
91
+ ],
92
+ "stateMutability": "view"
93
+ },
94
+ {
95
+ "type": "function",
96
+ "name": "getDelegatorsByAuthorizedClaimer",
97
+ "inputs": [
98
+ {
99
+ "name": "claimer",
100
+ "type": "address",
101
+ "internalType": "address"
102
+ }
103
+ ],
104
+ "outputs": [
105
+ {
106
+ "name": "",
107
+ "type": "address[]",
108
+ "internalType": "address[]"
109
+ }
110
+ ],
111
+ "stateMutability": "view"
112
+ },
113
+ {
114
+ "type": "function",
115
+ "name": "getDepositIdByDelegator",
116
+ "inputs": [
117
+ {
118
+ "name": "delegator",
119
+ "type": "address",
120
+ "internalType": "address"
121
+ }
122
+ ],
123
+ "outputs": [
124
+ {
125
+ "name": "",
126
+ "type": "uint256",
127
+ "internalType": "uint256"
128
+ }
129
+ ],
130
+ "stateMutability": "view"
131
+ },
132
+ {
133
+ "type": "function",
134
+ "name": "getMainnetDelegationsByOperator",
135
+ "inputs": [
136
+ {
137
+ "name": "operator",
138
+ "type": "address",
139
+ "internalType": "address"
140
+ }
141
+ ],
142
+ "outputs": [
143
+ {
144
+ "name": "",
145
+ "type": "tuple[]",
146
+ "internalType": "struct IMainnetDelegationBase.Delegation[]",
147
+ "components": [
148
+ {
149
+ "name": "operator",
150
+ "type": "address",
151
+ "internalType": "address"
152
+ },
153
+ {
154
+ "name": "quantity",
155
+ "type": "uint256",
156
+ "internalType": "uint256"
157
+ },
158
+ {
159
+ "name": "delegator",
160
+ "type": "address",
161
+ "internalType": "address"
162
+ },
163
+ {
164
+ "name": "delegationTime",
165
+ "type": "uint256",
166
+ "internalType": "uint256"
167
+ }
168
+ ]
169
+ }
170
+ ],
171
+ "stateMutability": "view"
172
+ },
173
+ {
174
+ "type": "function",
175
+ "name": "getMainnetDelegators",
176
+ "inputs": [],
177
+ "outputs": [
178
+ {
179
+ "name": "",
180
+ "type": "address[]",
181
+ "internalType": "address[]"
182
+ }
183
+ ],
184
+ "stateMutability": "view"
185
+ },
186
+ {
187
+ "type": "function",
188
+ "name": "getMessenger",
189
+ "inputs": [],
190
+ "outputs": [
191
+ {
192
+ "name": "",
193
+ "type": "address",
194
+ "internalType": "address"
195
+ }
196
+ ],
197
+ "stateMutability": "view"
198
+ },
199
+ {
200
+ "type": "function",
201
+ "name": "getProxyDelegation",
202
+ "inputs": [],
203
+ "outputs": [
204
+ {
205
+ "name": "",
206
+ "type": "address",
207
+ "internalType": "address"
208
+ }
209
+ ],
210
+ "stateMutability": "view"
211
+ },
212
+ {
213
+ "type": "function",
214
+ "name": "relayDelegations",
215
+ "inputs": [
216
+ {
217
+ "name": "encodedMsgs",
218
+ "type": "bytes",
219
+ "internalType": "bytes"
220
+ }
221
+ ],
222
+ "outputs": [],
223
+ "stateMutability": "nonpayable"
224
+ },
225
+ {
226
+ "type": "function",
227
+ "name": "setDelegationDigest",
228
+ "inputs": [
229
+ {
230
+ "name": "digest",
231
+ "type": "bytes32",
232
+ "internalType": "bytes32"
233
+ }
234
+ ],
235
+ "outputs": [],
236
+ "stateMutability": "nonpayable"
237
+ },
238
+ {
239
+ "type": "function",
240
+ "name": "setProxyDelegation",
241
+ "inputs": [
242
+ {
243
+ "name": "proxyDelegation",
244
+ "type": "address",
245
+ "internalType": "address"
246
+ }
247
+ ],
248
+ "outputs": [],
249
+ "stateMutability": "nonpayable"
250
+ },
251
+ {
252
+ "type": "event",
253
+ "name": "ClaimerSet",
254
+ "inputs": [
255
+ {
256
+ "name": "delegator",
257
+ "type": "address",
258
+ "indexed": true,
259
+ "internalType": "address"
260
+ },
261
+ {
262
+ "name": "claimer",
263
+ "type": "address",
264
+ "indexed": true,
265
+ "internalType": "address"
266
+ }
267
+ ],
268
+ "anonymous": false
269
+ },
270
+ {
271
+ "type": "event",
272
+ "name": "CrossDomainMessengerSet",
273
+ "inputs": [
274
+ {
275
+ "name": "messenger",
276
+ "type": "address",
277
+ "indexed": false,
278
+ "internalType": "address"
279
+ }
280
+ ],
281
+ "anonymous": false
282
+ },
283
+ {
284
+ "type": "event",
285
+ "name": "DelegationDigestSet",
286
+ "inputs": [
287
+ {
288
+ "name": "digest",
289
+ "type": "bytes32",
290
+ "indexed": false,
291
+ "internalType": "bytes32"
292
+ }
293
+ ],
294
+ "anonymous": false
295
+ },
296
+ {
297
+ "type": "event",
298
+ "name": "DelegationRemoved",
299
+ "inputs": [
300
+ {
301
+ "name": "delegator",
302
+ "type": "address",
303
+ "indexed": true,
304
+ "internalType": "address"
305
+ }
306
+ ],
307
+ "anonymous": false
308
+ },
309
+ {
310
+ "type": "event",
311
+ "name": "DelegationSet",
312
+ "inputs": [
313
+ {
314
+ "name": "delegator",
315
+ "type": "address",
316
+ "indexed": true,
317
+ "internalType": "address"
318
+ },
319
+ {
320
+ "name": "operator",
321
+ "type": "address",
322
+ "indexed": true,
323
+ "internalType": "address"
324
+ },
325
+ {
326
+ "name": "quantity",
327
+ "type": "uint256",
328
+ "indexed": false,
329
+ "internalType": "uint256"
330
+ }
331
+ ],
332
+ "anonymous": false
333
+ },
334
+ {
335
+ "type": "event",
336
+ "name": "Initialized",
337
+ "inputs": [
338
+ {
339
+ "name": "version",
340
+ "type": "uint32",
341
+ "indexed": false,
342
+ "internalType": "uint32"
343
+ }
344
+ ],
345
+ "anonymous": false
346
+ },
347
+ {
348
+ "type": "event",
349
+ "name": "InterfaceAdded",
350
+ "inputs": [
351
+ {
352
+ "name": "interfaceId",
353
+ "type": "bytes4",
354
+ "indexed": true,
355
+ "internalType": "bytes4"
356
+ }
357
+ ],
358
+ "anonymous": false
359
+ },
360
+ {
361
+ "type": "event",
362
+ "name": "InterfaceRemoved",
363
+ "inputs": [
364
+ {
365
+ "name": "interfaceId",
366
+ "type": "bytes4",
367
+ "indexed": true,
368
+ "internalType": "bytes4"
369
+ }
370
+ ],
371
+ "anonymous": false
372
+ },
373
+ {
374
+ "type": "event",
375
+ "name": "OwnershipTransferred",
376
+ "inputs": [
377
+ {
378
+ "name": "previousOwner",
379
+ "type": "address",
380
+ "indexed": true,
381
+ "internalType": "address"
382
+ },
383
+ {
384
+ "name": "newOwner",
385
+ "type": "address",
386
+ "indexed": true,
387
+ "internalType": "address"
388
+ }
389
+ ],
390
+ "anonymous": false
391
+ },
392
+ {
393
+ "type": "event",
394
+ "name": "ProxyDelegationSet",
395
+ "inputs": [
396
+ {
397
+ "name": "proxyDelegation",
398
+ "type": "address",
399
+ "indexed": false,
400
+ "internalType": "address"
401
+ }
402
+ ],
403
+ "anonymous": false
404
+ },
405
+ {
406
+ "type": "error",
407
+ "name": "DelegationAlreadySet",
408
+ "inputs": [
409
+ {
410
+ "name": "delegator",
411
+ "type": "address",
412
+ "internalType": "address"
413
+ },
414
+ {
415
+ "name": "operator",
416
+ "type": "address",
417
+ "internalType": "address"
418
+ }
419
+ ]
420
+ },
421
+ {
422
+ "type": "error",
423
+ "name": "DelegationNotSet",
424
+ "inputs": []
425
+ },
426
+ {
427
+ "type": "error",
428
+ "name": "Initializable_InInitializingState",
429
+ "inputs": []
430
+ },
431
+ {
432
+ "type": "error",
433
+ "name": "Initializable_NotInInitializingState",
434
+ "inputs": []
435
+ },
436
+ {
437
+ "type": "error",
438
+ "name": "Introspection_AlreadySupported",
439
+ "inputs": []
440
+ },
441
+ {
442
+ "type": "error",
443
+ "name": "Introspection_NotSupported",
444
+ "inputs": []
445
+ },
446
+ {
447
+ "type": "error",
448
+ "name": "InvalidClaimer",
449
+ "inputs": [
450
+ {
451
+ "name": "claimer",
452
+ "type": "address",
453
+ "internalType": "address"
454
+ }
455
+ ]
456
+ },
457
+ {
458
+ "type": "error",
459
+ "name": "InvalidDelegator",
460
+ "inputs": [
461
+ {
462
+ "name": "delegator",
463
+ "type": "address",
464
+ "internalType": "address"
465
+ }
466
+ ]
467
+ },
468
+ {
469
+ "type": "error",
470
+ "name": "InvalidOperator",
471
+ "inputs": [
472
+ {
473
+ "name": "operator",
474
+ "type": "address",
475
+ "internalType": "address"
476
+ }
477
+ ]
478
+ },
479
+ {
480
+ "type": "error",
481
+ "name": "InvalidOwner",
482
+ "inputs": [
483
+ {
484
+ "name": "owner",
485
+ "type": "address",
486
+ "internalType": "address"
487
+ }
488
+ ]
489
+ },
490
+ {
491
+ "type": "error",
492
+ "name": "InvalidQuantity",
493
+ "inputs": [
494
+ {
495
+ "name": "quantity",
496
+ "type": "uint256",
497
+ "internalType": "uint256"
498
+ }
499
+ ]
500
+ },
501
+ {
502
+ "type": "error",
503
+ "name": "Ownable__NotOwner",
504
+ "inputs": [
505
+ {
506
+ "name": "account",
507
+ "type": "address",
508
+ "internalType": "address"
509
+ }
510
+ ]
511
+ },
512
+ {
513
+ "type": "error",
514
+ "name": "Ownable__ZeroAddress",
515
+ "inputs": []
516
+ }
517
+ ]