@gitmyabi/gnosissafe 1.0.121 → 1.0.122

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.
@@ -8,214 +8,92 @@ import { getContract } from 'viem';
8
8
  */
9
9
  export const GnosisSafe_jsonAbi = [
10
10
  {
11
- "inputs": [],
12
- "payable": false,
13
- "stateMutability": "nonpayable",
14
- "type": "constructor"
15
- },
16
- {
17
- "anonymous": false,
11
+ "constant": true,
18
12
  "inputs": [
19
13
  {
20
- "indexed": false,
21
- "internalType": "address",
22
- "name": "owner",
23
- "type": "address"
14
+ "name": "message",
15
+ "type": "bytes"
24
16
  }
25
17
  ],
26
- "name": "AddedOwner",
27
- "type": "event"
28
- },
29
- {
30
- "anonymous": false,
31
- "inputs": [
18
+ "name": "getMessageHash",
19
+ "outputs": [
32
20
  {
33
- "indexed": true,
34
- "internalType": "bytes32",
35
- "name": "approvedHash",
21
+ "name": "",
36
22
  "type": "bytes32"
37
- },
38
- {
39
- "indexed": true,
40
- "internalType": "address",
41
- "name": "owner",
42
- "type": "address"
43
- }
44
- ],
45
- "name": "ApproveHash",
46
- "type": "event"
47
- },
48
- {
49
- "anonymous": false,
50
- "inputs": [
51
- {
52
- "indexed": false,
53
- "internalType": "address",
54
- "name": "masterCopy",
55
- "type": "address"
56
- }
57
- ],
58
- "name": "ChangedMasterCopy",
59
- "type": "event"
60
- },
61
- {
62
- "anonymous": false,
63
- "inputs": [
64
- {
65
- "indexed": false,
66
- "internalType": "uint256",
67
- "name": "threshold",
68
- "type": "uint256"
69
- }
70
- ],
71
- "name": "ChangedThreshold",
72
- "type": "event"
73
- },
74
- {
75
- "anonymous": false,
76
- "inputs": [
77
- {
78
- "indexed": false,
79
- "internalType": "contract Module",
80
- "name": "module",
81
- "type": "address"
82
23
  }
83
24
  ],
84
- "name": "DisabledModule",
85
- "type": "event"
25
+ "payable": false,
26
+ "stateMutability": "view",
27
+ "type": "function"
86
28
  },
87
29
  {
88
- "anonymous": false,
30
+ "constant": false,
89
31
  "inputs": [
90
32
  {
91
- "indexed": false,
92
- "internalType": "contract Module",
93
- "name": "module",
33
+ "name": "owner",
94
34
  "type": "address"
95
- }
96
- ],
97
- "name": "EnabledModule",
98
- "type": "event"
99
- },
100
- {
101
- "anonymous": false,
102
- "inputs": [
103
- {
104
- "indexed": false,
105
- "internalType": "bytes32",
106
- "name": "txHash",
107
- "type": "bytes32"
108
35
  },
109
36
  {
110
- "indexed": false,
111
- "internalType": "uint256",
112
- "name": "payment",
37
+ "name": "_threshold",
113
38
  "type": "uint256"
114
39
  }
115
40
  ],
116
- "name": "ExecutionFailure",
117
- "type": "event"
118
- },
119
- {
120
- "anonymous": false,
121
- "inputs": [
122
- {
123
- "indexed": true,
124
- "internalType": "address",
125
- "name": "module",
126
- "type": "address"
127
- }
128
- ],
129
- "name": "ExecutionFromModuleFailure",
130
- "type": "event"
131
- },
132
- {
133
- "anonymous": false,
134
- "inputs": [
135
- {
136
- "indexed": true,
137
- "internalType": "address",
138
- "name": "module",
139
- "type": "address"
140
- }
141
- ],
142
- "name": "ExecutionFromModuleSuccess",
143
- "type": "event"
41
+ "name": "addOwnerWithThreshold",
42
+ "outputs": [],
43
+ "payable": false,
44
+ "stateMutability": "nonpayable",
45
+ "type": "function"
144
46
  },
145
47
  {
146
- "anonymous": false,
147
- "inputs": [
48
+ "constant": true,
49
+ "inputs": [],
50
+ "name": "DOMAIN_SEPARATOR_TYPEHASH",
51
+ "outputs": [
148
52
  {
149
- "indexed": false,
150
- "internalType": "bytes32",
151
- "name": "txHash",
53
+ "name": "",
152
54
  "type": "bytes32"
153
- },
154
- {
155
- "indexed": false,
156
- "internalType": "uint256",
157
- "name": "payment",
158
- "type": "uint256"
159
55
  }
160
56
  ],
161
- "name": "ExecutionSuccess",
162
- "type": "event"
57
+ "payable": false,
58
+ "stateMutability": "view",
59
+ "type": "function"
163
60
  },
164
61
  {
165
- "anonymous": false,
62
+ "constant": false,
166
63
  "inputs": [
167
64
  {
168
- "indexed": false,
169
- "internalType": "address",
170
- "name": "owner",
171
- "type": "address"
172
- }
173
- ],
174
- "name": "RemovedOwner",
175
- "type": "event"
176
- },
177
- {
178
- "anonymous": false,
179
- "inputs": [
65
+ "name": "_data",
66
+ "type": "bytes"
67
+ },
180
68
  {
181
- "indexed": true,
182
- "internalType": "bytes32",
183
- "name": "msgHash",
184
- "type": "bytes32"
69
+ "name": "_signature",
70
+ "type": "bytes"
185
71
  }
186
72
  ],
187
- "name": "SignMsg",
188
- "type": "event"
189
- },
190
- {
191
- "payable": true,
192
- "stateMutability": "payable",
193
- "type": "fallback"
194
- },
195
- {
196
- "constant": true,
197
- "inputs": [],
198
- "name": "NAME",
73
+ "name": "isValidSignature",
199
74
  "outputs": [
200
75
  {
201
- "internalType": "string",
202
76
  "name": "",
203
- "type": "string"
77
+ "type": "bytes4"
204
78
  }
205
79
  ],
206
80
  "payable": false,
207
- "stateMutability": "view",
81
+ "stateMutability": "nonpayable",
208
82
  "type": "function"
209
83
  },
210
84
  {
211
85
  "constant": true,
212
- "inputs": [],
213
- "name": "VERSION",
86
+ "inputs": [
87
+ {
88
+ "name": "owner",
89
+ "type": "address"
90
+ }
91
+ ],
92
+ "name": "isOwner",
214
93
  "outputs": [
215
94
  {
216
- "internalType": "string",
217
95
  "name": "",
218
- "type": "string"
96
+ "type": "bool"
219
97
  }
220
98
  ],
221
99
  "payable": false,
@@ -226,33 +104,29 @@ export const GnosisSafe_jsonAbi = [
226
104
  "constant": false,
227
105
  "inputs": [
228
106
  {
229
- "internalType": "address",
230
- "name": "owner",
107
+ "name": "to",
231
108
  "type": "address"
232
109
  },
233
110
  {
234
- "internalType": "uint256",
235
- "name": "_threshold",
111
+ "name": "value",
236
112
  "type": "uint256"
113
+ },
114
+ {
115
+ "name": "data",
116
+ "type": "bytes"
117
+ },
118
+ {
119
+ "name": "operation",
120
+ "type": "uint8"
237
121
  }
238
122
  ],
239
- "name": "addOwnerWithThreshold",
240
- "outputs": [],
241
- "payable": false,
242
- "stateMutability": "nonpayable",
243
- "type": "function"
244
- },
245
- {
246
- "constant": false,
247
- "inputs": [
123
+ "name": "execTransactionFromModule",
124
+ "outputs": [
248
125
  {
249
- "internalType": "bytes32",
250
- "name": "hashToApprove",
251
- "type": "bytes32"
126
+ "name": "success",
127
+ "type": "bool"
252
128
  }
253
129
  ],
254
- "name": "approveHash",
255
- "outputs": [],
256
130
  "payable": false,
257
131
  "stateMutability": "nonpayable",
258
132
  "type": "function"
@@ -261,20 +135,13 @@ export const GnosisSafe_jsonAbi = [
261
135
  "constant": true,
262
136
  "inputs": [
263
137
  {
264
- "internalType": "address",
265
- "name": "",
266
- "type": "address"
267
- },
268
- {
269
- "internalType": "bytes32",
270
138
  "name": "",
271
139
  "type": "bytes32"
272
140
  }
273
141
  ],
274
- "name": "approvedHashes",
142
+ "name": "signedMessages",
275
143
  "outputs": [
276
144
  {
277
- "internalType": "uint256",
278
145
  "name": "",
279
146
  "type": "uint256"
280
147
  }
@@ -287,12 +154,11 @@ export const GnosisSafe_jsonAbi = [
287
154
  "constant": false,
288
155
  "inputs": [
289
156
  {
290
- "internalType": "address",
291
- "name": "_masterCopy",
157
+ "name": "module",
292
158
  "type": "address"
293
159
  }
294
160
  ],
295
- "name": "changeMasterCopy",
161
+ "name": "enableModule",
296
162
  "outputs": [],
297
163
  "payable": false,
298
164
  "stateMutability": "nonpayable",
@@ -302,7 +168,6 @@ export const GnosisSafe_jsonAbi = [
302
168
  "constant": false,
303
169
  "inputs": [
304
170
  {
305
- "internalType": "uint256",
306
171
  "name": "_threshold",
307
172
  "type": "uint256"
308
173
  }
@@ -317,276 +182,210 @@ export const GnosisSafe_jsonAbi = [
317
182
  "constant": false,
318
183
  "inputs": [
319
184
  {
320
- "internalType": "contract Module",
321
- "name": "prevModule",
322
- "type": "address"
323
- },
324
- {
325
- "internalType": "contract Module",
326
- "name": "module",
327
- "type": "address"
328
- }
329
- ],
330
- "name": "disableModule",
331
- "outputs": [],
332
- "payable": false,
333
- "stateMutability": "nonpayable",
334
- "type": "function"
335
- },
336
- {
337
- "constant": true,
338
- "inputs": [],
339
- "name": "domainSeparator",
340
- "outputs": [
341
- {
342
- "internalType": "bytes32",
343
- "name": "",
344
- "type": "bytes32"
345
- }
346
- ],
347
- "payable": false,
348
- "stateMutability": "view",
349
- "type": "function"
350
- },
351
- {
352
- "constant": false,
353
- "inputs": [
354
- {
355
- "internalType": "contract Module",
356
- "name": "module",
357
- "type": "address"
358
- }
359
- ],
360
- "name": "enableModule",
361
- "outputs": [],
362
- "payable": false,
363
- "stateMutability": "nonpayable",
364
- "type": "function"
365
- },
366
- {
367
- "constant": true,
368
- "inputs": [
369
- {
370
- "internalType": "address",
371
185
  "name": "to",
372
186
  "type": "address"
373
187
  },
374
188
  {
375
- "internalType": "uint256",
376
189
  "name": "value",
377
190
  "type": "uint256"
378
191
  },
379
192
  {
380
- "internalType": "bytes",
381
193
  "name": "data",
382
194
  "type": "bytes"
383
195
  },
384
196
  {
385
- "internalType": "enum Enum.Operation",
386
197
  "name": "operation",
387
198
  "type": "uint8"
388
199
  },
389
200
  {
390
- "internalType": "uint256",
391
201
  "name": "safeTxGas",
392
202
  "type": "uint256"
393
203
  },
394
204
  {
395
- "internalType": "uint256",
396
205
  "name": "baseGas",
397
206
  "type": "uint256"
398
207
  },
399
208
  {
400
- "internalType": "uint256",
401
209
  "name": "gasPrice",
402
210
  "type": "uint256"
403
211
  },
404
212
  {
405
- "internalType": "address",
406
213
  "name": "gasToken",
407
214
  "type": "address"
408
215
  },
409
216
  {
410
- "internalType": "address",
411
217
  "name": "refundReceiver",
412
218
  "type": "address"
413
219
  },
414
220
  {
415
- "internalType": "uint256",
416
- "name": "_nonce",
417
- "type": "uint256"
221
+ "name": "signatures",
222
+ "type": "bytes"
418
223
  }
419
224
  ],
420
- "name": "encodeTransactionData",
225
+ "name": "execTransaction",
421
226
  "outputs": [
422
227
  {
423
- "internalType": "bytes",
424
- "name": "",
425
- "type": "bytes"
228
+ "name": "success",
229
+ "type": "bool"
426
230
  }
427
231
  ],
428
232
  "payable": false,
429
- "stateMutability": "view",
233
+ "stateMutability": "nonpayable",
430
234
  "type": "function"
431
235
  },
432
236
  {
433
- "constant": false,
237
+ "constant": true,
434
238
  "inputs": [
435
239
  {
436
- "internalType": "address",
437
- "name": "to",
240
+ "name": "",
438
241
  "type": "address"
439
242
  },
440
243
  {
441
- "internalType": "uint256",
442
- "name": "value",
443
- "type": "uint256"
444
- },
445
- {
446
- "internalType": "bytes",
447
- "name": "data",
448
- "type": "bytes"
449
- },
450
- {
451
- "internalType": "enum Enum.Operation",
452
- "name": "operation",
453
- "type": "uint8"
454
- },
455
- {
456
- "internalType": "uint256",
457
- "name": "safeTxGas",
458
- "type": "uint256"
459
- },
460
- {
461
- "internalType": "uint256",
462
- "name": "baseGas",
463
- "type": "uint256"
464
- },
244
+ "name": "",
245
+ "type": "bytes32"
246
+ }
247
+ ],
248
+ "name": "approvedHashes",
249
+ "outputs": [
465
250
  {
466
- "internalType": "uint256",
467
- "name": "gasPrice",
251
+ "name": "",
468
252
  "type": "uint256"
469
- },
470
- {
471
- "internalType": "address",
472
- "name": "gasToken",
473
- "type": "address"
474
- },
253
+ }
254
+ ],
255
+ "payable": false,
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "constant": false,
261
+ "inputs": [
475
262
  {
476
- "internalType": "address payable",
477
- "name": "refundReceiver",
263
+ "name": "_masterCopy",
478
264
  "type": "address"
479
- },
265
+ }
266
+ ],
267
+ "name": "changeMasterCopy",
268
+ "outputs": [],
269
+ "payable": false,
270
+ "stateMutability": "nonpayable",
271
+ "type": "function"
272
+ },
273
+ {
274
+ "constant": false,
275
+ "inputs": [
480
276
  {
481
- "internalType": "bytes",
482
- "name": "signatures",
277
+ "name": "_data",
483
278
  "type": "bytes"
484
279
  }
485
280
  ],
486
- "name": "execTransaction",
281
+ "name": "signMessage",
282
+ "outputs": [],
283
+ "payable": false,
284
+ "stateMutability": "nonpayable",
285
+ "type": "function"
286
+ },
287
+ {
288
+ "constant": true,
289
+ "inputs": [],
290
+ "name": "SENTINEL_MODULES",
487
291
  "outputs": [
488
292
  {
489
- "internalType": "bool",
490
- "name": "success",
491
- "type": "bool"
293
+ "name": "",
294
+ "type": "address"
492
295
  }
493
296
  ],
494
297
  "payable": false,
495
- "stateMutability": "nonpayable",
298
+ "stateMutability": "view",
496
299
  "type": "function"
497
300
  },
498
301
  {
499
- "constant": false,
500
- "inputs": [
302
+ "constant": true,
303
+ "inputs": [],
304
+ "name": "SENTINEL_OWNERS",
305
+ "outputs": [
501
306
  {
502
- "internalType": "address",
503
- "name": "to",
307
+ "name": "",
504
308
  "type": "address"
505
- },
506
- {
507
- "internalType": "uint256",
508
- "name": "value",
509
- "type": "uint256"
510
- },
511
- {
512
- "internalType": "bytes",
513
- "name": "data",
514
- "type": "bytes"
515
- },
309
+ }
310
+ ],
311
+ "payable": false,
312
+ "stateMutability": "view",
313
+ "type": "function"
314
+ },
315
+ {
316
+ "constant": true,
317
+ "inputs": [],
318
+ "name": "getOwners",
319
+ "outputs": [
516
320
  {
517
- "internalType": "enum Enum.Operation",
518
- "name": "operation",
519
- "type": "uint8"
321
+ "name": "",
322
+ "type": "address[]"
520
323
  }
521
324
  ],
522
- "name": "execTransactionFromModule",
325
+ "payable": false,
326
+ "stateMutability": "view",
327
+ "type": "function"
328
+ },
329
+ {
330
+ "constant": true,
331
+ "inputs": [],
332
+ "name": "NAME",
523
333
  "outputs": [
524
334
  {
525
- "internalType": "bool",
526
- "name": "success",
527
- "type": "bool"
335
+ "name": "",
336
+ "type": "string"
528
337
  }
529
338
  ],
530
339
  "payable": false,
531
- "stateMutability": "nonpayable",
340
+ "stateMutability": "view",
532
341
  "type": "function"
533
342
  },
534
343
  {
535
344
  "constant": false,
536
345
  "inputs": [
537
346
  {
538
- "internalType": "address",
539
- "name": "to",
540
- "type": "address"
347
+ "name": "_owners",
348
+ "type": "address[]"
541
349
  },
542
350
  {
543
- "internalType": "uint256",
544
- "name": "value",
351
+ "name": "_threshold",
545
352
  "type": "uint256"
546
353
  },
547
354
  {
548
- "internalType": "bytes",
355
+ "name": "to",
356
+ "type": "address"
357
+ },
358
+ {
549
359
  "name": "data",
550
360
  "type": "bytes"
551
361
  },
552
362
  {
553
- "internalType": "enum Enum.Operation",
554
- "name": "operation",
555
- "type": "uint8"
556
- }
557
- ],
558
- "name": "execTransactionFromModuleReturnData",
559
- "outputs": [
363
+ "name": "paymentToken",
364
+ "type": "address"
365
+ },
560
366
  {
561
- "internalType": "bool",
562
- "name": "success",
563
- "type": "bool"
367
+ "name": "payment",
368
+ "type": "uint256"
564
369
  },
565
370
  {
566
- "internalType": "bytes",
567
- "name": "returnData",
568
- "type": "bytes"
371
+ "name": "paymentReceiver",
372
+ "type": "address"
569
373
  }
570
374
  ],
375
+ "name": "setup",
376
+ "outputs": [],
571
377
  "payable": false,
572
378
  "stateMutability": "nonpayable",
573
379
  "type": "function"
574
380
  },
575
381
  {
576
382
  "constant": true,
577
- "inputs": [
578
- {
579
- "internalType": "bytes",
580
- "name": "message",
581
- "type": "bytes"
582
- }
583
- ],
584
- "name": "getMessageHash",
383
+ "inputs": [],
384
+ "name": "nonce",
585
385
  "outputs": [
586
386
  {
587
- "internalType": "bytes32",
588
387
  "name": "",
589
- "type": "bytes32"
388
+ "type": "uint256"
590
389
  }
591
390
  ],
592
391
  "payable": false,
@@ -599,7 +398,6 @@ export const GnosisSafe_jsonAbi = [
599
398
  "name": "getModules",
600
399
  "outputs": [
601
400
  {
602
- "internalType": "address[]",
603
401
  "name": "",
604
402
  "type": "address[]"
605
403
  }
@@ -610,44 +408,57 @@ export const GnosisSafe_jsonAbi = [
610
408
  },
611
409
  {
612
410
  "constant": true,
411
+ "inputs": [],
412
+ "name": "SAFE_MSG_TYPEHASH",
413
+ "outputs": [
414
+ {
415
+ "name": "",
416
+ "type": "bytes32"
417
+ }
418
+ ],
419
+ "payable": false,
420
+ "stateMutability": "view",
421
+ "type": "function"
422
+ },
423
+ {
424
+ "constant": false,
613
425
  "inputs": [
614
426
  {
615
- "internalType": "address",
616
- "name": "start",
427
+ "name": "to",
617
428
  "type": "address"
618
429
  },
619
430
  {
620
- "internalType": "uint256",
621
- "name": "pageSize",
431
+ "name": "value",
622
432
  "type": "uint256"
433
+ },
434
+ {
435
+ "name": "data",
436
+ "type": "bytes"
437
+ },
438
+ {
439
+ "name": "operation",
440
+ "type": "uint8"
623
441
  }
624
442
  ],
625
- "name": "getModulesPaginated",
443
+ "name": "requiredTxGas",
626
444
  "outputs": [
627
445
  {
628
- "internalType": "address[]",
629
- "name": "array",
630
- "type": "address[]"
631
- },
632
- {
633
- "internalType": "address",
634
- "name": "next",
635
- "type": "address"
446
+ "name": "",
447
+ "type": "uint256"
636
448
  }
637
449
  ],
638
450
  "payable": false,
639
- "stateMutability": "view",
451
+ "stateMutability": "nonpayable",
640
452
  "type": "function"
641
453
  },
642
454
  {
643
455
  "constant": true,
644
456
  "inputs": [],
645
- "name": "getOwners",
457
+ "name": "SAFE_TX_TYPEHASH",
646
458
  "outputs": [
647
459
  {
648
- "internalType": "address[]",
649
460
  "name": "",
650
- "type": "address[]"
461
+ "type": "bytes32"
651
462
  }
652
463
  ],
653
464
  "payable": false,
@@ -655,70 +466,59 @@ export const GnosisSafe_jsonAbi = [
655
466
  "type": "function"
656
467
  },
657
468
  {
658
- "constant": true,
659
- "inputs": [],
660
- "name": "getThreshold",
661
- "outputs": [
469
+ "constant": false,
470
+ "inputs": [
662
471
  {
663
- "internalType": "uint256",
664
- "name": "",
665
- "type": "uint256"
472
+ "name": "hashToApprove",
473
+ "type": "bytes32"
666
474
  }
667
475
  ],
476
+ "name": "approveHash",
477
+ "outputs": [],
668
478
  "payable": false,
669
- "stateMutability": "view",
479
+ "stateMutability": "nonpayable",
670
480
  "type": "function"
671
481
  },
672
482
  {
673
483
  "constant": true,
674
484
  "inputs": [
675
485
  {
676
- "internalType": "address",
677
486
  "name": "to",
678
487
  "type": "address"
679
488
  },
680
489
  {
681
- "internalType": "uint256",
682
490
  "name": "value",
683
491
  "type": "uint256"
684
492
  },
685
493
  {
686
- "internalType": "bytes",
687
494
  "name": "data",
688
495
  "type": "bytes"
689
496
  },
690
497
  {
691
- "internalType": "enum Enum.Operation",
692
498
  "name": "operation",
693
499
  "type": "uint8"
694
500
  },
695
501
  {
696
- "internalType": "uint256",
697
502
  "name": "safeTxGas",
698
503
  "type": "uint256"
699
504
  },
700
505
  {
701
- "internalType": "uint256",
702
506
  "name": "baseGas",
703
507
  "type": "uint256"
704
508
  },
705
509
  {
706
- "internalType": "uint256",
707
510
  "name": "gasPrice",
708
511
  "type": "uint256"
709
512
  },
710
513
  {
711
- "internalType": "address",
712
514
  "name": "gasToken",
713
515
  "type": "address"
714
516
  },
715
517
  {
716
- "internalType": "address",
717
518
  "name": "refundReceiver",
718
519
  "type": "address"
719
520
  },
720
521
  {
721
- "internalType": "uint256",
722
522
  "name": "_nonce",
723
523
  "type": "uint256"
724
524
  }
@@ -726,7 +526,6 @@ export const GnosisSafe_jsonAbi = [
726
526
  "name": "getTransactionHash",
727
527
  "outputs": [
728
528
  {
729
- "internalType": "bytes32",
730
529
  "name": "",
731
530
  "type": "bytes32"
732
531
  }
@@ -736,48 +535,41 @@ export const GnosisSafe_jsonAbi = [
736
535
  "type": "function"
737
536
  },
738
537
  {
739
- "constant": true,
538
+ "constant": false,
740
539
  "inputs": [
741
540
  {
742
- "internalType": "address",
743
- "name": "owner",
541
+ "name": "prevModule",
744
542
  "type": "address"
745
- }
746
- ],
747
- "name": "isOwner",
748
- "outputs": [
543
+ },
749
544
  {
750
- "internalType": "bool",
751
- "name": "",
752
- "type": "bool"
545
+ "name": "module",
546
+ "type": "address"
753
547
  }
754
548
  ],
549
+ "name": "disableModule",
550
+ "outputs": [],
755
551
  "payable": false,
756
- "stateMutability": "view",
552
+ "stateMutability": "nonpayable",
757
553
  "type": "function"
758
554
  },
759
555
  {
760
556
  "constant": false,
761
557
  "inputs": [
762
558
  {
763
- "internalType": "bytes",
764
- "name": "_data",
765
- "type": "bytes"
559
+ "name": "prevOwner",
560
+ "type": "address"
766
561
  },
767
562
  {
768
- "internalType": "bytes",
769
- "name": "_signature",
770
- "type": "bytes"
771
- }
772
- ],
773
- "name": "isValidSignature",
774
- "outputs": [
563
+ "name": "oldOwner",
564
+ "type": "address"
565
+ },
775
566
  {
776
- "internalType": "bytes4",
777
- "name": "",
778
- "type": "bytes4"
567
+ "name": "newOwner",
568
+ "type": "address"
779
569
  }
780
570
  ],
571
+ "name": "swapOwner",
572
+ "outputs": [],
781
573
  "payable": false,
782
574
  "stateMutability": "nonpayable",
783
575
  "type": "function"
@@ -785,10 +577,9 @@ export const GnosisSafe_jsonAbi = [
785
577
  {
786
578
  "constant": true,
787
579
  "inputs": [],
788
- "name": "nonce",
580
+ "name": "getThreshold",
789
581
  "outputs": [
790
582
  {
791
- "internalType": "uint256",
792
583
  "name": "",
793
584
  "type": "uint256"
794
585
  }
@@ -798,191 +589,198 @@ export const GnosisSafe_jsonAbi = [
798
589
  "type": "function"
799
590
  },
800
591
  {
801
- "constant": false,
802
- "inputs": [
803
- {
804
- "internalType": "address",
805
- "name": "prevOwner",
806
- "type": "address"
807
- },
808
- {
809
- "internalType": "address",
810
- "name": "owner",
811
- "type": "address"
812
- },
813
- {
814
- "internalType": "uint256",
815
- "name": "_threshold",
816
- "type": "uint256"
817
- }
818
- ],
819
- "name": "removeOwner",
820
- "outputs": [],
821
- "payable": false,
822
- "stateMutability": "nonpayable",
823
- "type": "function"
824
- },
825
- {
826
- "constant": false,
592
+ "constant": true,
827
593
  "inputs": [
828
594
  {
829
- "internalType": "address",
830
595
  "name": "to",
831
596
  "type": "address"
832
597
  },
833
598
  {
834
- "internalType": "uint256",
835
599
  "name": "value",
836
600
  "type": "uint256"
837
601
  },
838
602
  {
839
- "internalType": "bytes",
840
603
  "name": "data",
841
604
  "type": "bytes"
842
605
  },
843
606
  {
844
- "internalType": "enum Enum.Operation",
845
607
  "name": "operation",
846
608
  "type": "uint8"
609
+ },
610
+ {
611
+ "name": "safeTxGas",
612
+ "type": "uint256"
613
+ },
614
+ {
615
+ "name": "baseGas",
616
+ "type": "uint256"
617
+ },
618
+ {
619
+ "name": "gasPrice",
620
+ "type": "uint256"
621
+ },
622
+ {
623
+ "name": "gasToken",
624
+ "type": "address"
625
+ },
626
+ {
627
+ "name": "refundReceiver",
628
+ "type": "address"
629
+ },
630
+ {
631
+ "name": "_nonce",
632
+ "type": "uint256"
847
633
  }
848
634
  ],
849
- "name": "requiredTxGas",
635
+ "name": "encodeTransactionData",
850
636
  "outputs": [
851
637
  {
852
- "internalType": "uint256",
853
638
  "name": "",
854
- "type": "uint256"
639
+ "type": "bytes"
855
640
  }
856
641
  ],
857
642
  "payable": false,
858
- "stateMutability": "nonpayable",
643
+ "stateMutability": "view",
859
644
  "type": "function"
860
645
  },
861
646
  {
862
- "constant": false,
863
- "inputs": [
647
+ "constant": true,
648
+ "inputs": [],
649
+ "name": "domainSeparator",
650
+ "outputs": [
864
651
  {
865
- "internalType": "address",
866
- "name": "handler",
867
- "type": "address"
652
+ "name": "",
653
+ "type": "bytes32"
868
654
  }
869
655
  ],
870
- "name": "setFallbackHandler",
871
- "outputs": [],
872
656
  "payable": false,
873
- "stateMutability": "nonpayable",
657
+ "stateMutability": "view",
874
658
  "type": "function"
875
659
  },
876
660
  {
877
661
  "constant": false,
878
662
  "inputs": [
879
663
  {
880
- "internalType": "address[]",
881
- "name": "_owners",
882
- "type": "address[]"
883
- },
884
- {
885
- "internalType": "uint256",
886
- "name": "_threshold",
887
- "type": "uint256"
888
- },
889
- {
890
- "internalType": "address",
891
- "name": "to",
892
- "type": "address"
893
- },
894
- {
895
- "internalType": "bytes",
896
- "name": "data",
897
- "type": "bytes"
898
- },
899
- {
900
- "internalType": "address",
901
- "name": "fallbackHandler",
664
+ "name": "prevOwner",
902
665
  "type": "address"
903
666
  },
904
667
  {
905
- "internalType": "address",
906
- "name": "paymentToken",
668
+ "name": "owner",
907
669
  "type": "address"
908
670
  },
909
671
  {
910
- "internalType": "uint256",
911
- "name": "payment",
672
+ "name": "_threshold",
912
673
  "type": "uint256"
913
- },
914
- {
915
- "internalType": "address payable",
916
- "name": "paymentReceiver",
917
- "type": "address"
918
674
  }
919
675
  ],
920
- "name": "setup",
676
+ "name": "removeOwner",
921
677
  "outputs": [],
922
678
  "payable": false,
923
679
  "stateMutability": "nonpayable",
924
680
  "type": "function"
925
681
  },
926
682
  {
927
- "constant": false,
928
- "inputs": [
683
+ "constant": true,
684
+ "inputs": [],
685
+ "name": "VERSION",
686
+ "outputs": [
929
687
  {
930
- "internalType": "bytes",
931
- "name": "_data",
932
- "type": "bytes"
688
+ "name": "",
689
+ "type": "string"
933
690
  }
934
691
  ],
935
- "name": "signMessage",
936
- "outputs": [],
937
692
  "payable": false,
938
- "stateMutability": "nonpayable",
693
+ "stateMutability": "view",
939
694
  "type": "function"
940
695
  },
941
696
  {
942
- "constant": true,
697
+ "payable": true,
698
+ "stateMutability": "payable",
699
+ "type": "fallback"
700
+ },
701
+ {
702
+ "anonymous": false,
943
703
  "inputs": [
944
704
  {
945
- "internalType": "bytes32",
946
- "name": "",
705
+ "indexed": false,
706
+ "name": "txHash",
947
707
  "type": "bytes32"
948
708
  }
949
709
  ],
950
- "name": "signedMessages",
951
- "outputs": [
710
+ "name": "ExecutionFailed",
711
+ "type": "event"
712
+ },
713
+ {
714
+ "anonymous": false,
715
+ "inputs": [
952
716
  {
953
- "internalType": "uint256",
954
- "name": "",
717
+ "indexed": false,
718
+ "name": "owner",
719
+ "type": "address"
720
+ }
721
+ ],
722
+ "name": "AddedOwner",
723
+ "type": "event"
724
+ },
725
+ {
726
+ "anonymous": false,
727
+ "inputs": [
728
+ {
729
+ "indexed": false,
730
+ "name": "owner",
731
+ "type": "address"
732
+ }
733
+ ],
734
+ "name": "RemovedOwner",
735
+ "type": "event"
736
+ },
737
+ {
738
+ "anonymous": false,
739
+ "inputs": [
740
+ {
741
+ "indexed": false,
742
+ "name": "threshold",
955
743
  "type": "uint256"
956
744
  }
957
745
  ],
958
- "payable": false,
959
- "stateMutability": "view",
960
- "type": "function"
746
+ "name": "ChangedThreshold",
747
+ "type": "event"
961
748
  },
962
749
  {
963
- "constant": false,
750
+ "anonymous": false,
964
751
  "inputs": [
965
752
  {
966
- "internalType": "address",
967
- "name": "prevOwner",
753
+ "indexed": false,
754
+ "name": "module",
968
755
  "type": "address"
969
- },
756
+ }
757
+ ],
758
+ "name": "EnabledModule",
759
+ "type": "event"
760
+ },
761
+ {
762
+ "anonymous": false,
763
+ "inputs": [
970
764
  {
971
- "internalType": "address",
972
- "name": "oldOwner",
765
+ "indexed": false,
766
+ "name": "module",
973
767
  "type": "address"
974
- },
768
+ }
769
+ ],
770
+ "name": "DisabledModule",
771
+ "type": "event"
772
+ },
773
+ {
774
+ "anonymous": false,
775
+ "inputs": [
975
776
  {
976
- "internalType": "address",
977
- "name": "newOwner",
777
+ "indexed": false,
778
+ "name": "newContract",
978
779
  "type": "address"
979
780
  }
980
781
  ],
981
- "name": "swapOwner",
982
- "outputs": [],
983
- "payable": false,
984
- "stateMutability": "nonpayable",
985
- "type": "function"
782
+ "name": "ContractCreation",
783
+ "type": "event"
986
784
  }
987
785
  ] as const satisfies Abi;
988
786
 
@@ -1069,19 +867,35 @@ export class GnosisSafe_json {
1069
867
  }
1070
868
 
1071
869
  /**
1072
- * NAME
870
+ * getMessageHash
1073
871
  * view
1074
872
  */
1075
- async NAME(): Promise<string> {
1076
- return this.contract.read.NAME() as Promise<string>;
873
+ async getMessageHash(message: `0x${string}`): Promise<`0x${string}`> {
874
+ return this.contract.read.getMessageHash([message] as const) as Promise<`0x${string}`>;
1077
875
  }
1078
876
 
1079
877
  /**
1080
- * VERSION
878
+ * DOMAIN_SEPARATOR_TYPEHASH
1081
879
  * view
1082
880
  */
1083
- async VERSION(): Promise<string> {
1084
- return this.contract.read.VERSION() as Promise<string>;
881
+ async DOMAIN_SEPARATOR_TYPEHASH(): Promise<`0x${string}`> {
882
+ return this.contract.read.DOMAIN_SEPARATOR_TYPEHASH() as Promise<`0x${string}`>;
883
+ }
884
+
885
+ /**
886
+ * isOwner
887
+ * view
888
+ */
889
+ async isOwner(owner: `0x${string}`): Promise<boolean> {
890
+ return this.contract.read.isOwner([owner] as const) as Promise<boolean>;
891
+ }
892
+
893
+ /**
894
+ * signedMessages
895
+ * view
896
+ */
897
+ async signedMessages(arg0: `0x${string}`): Promise<bigint> {
898
+ return this.contract.read.signedMessages([arg0] as const) as Promise<bigint>;
1085
899
  }
1086
900
 
1087
901
  /**
@@ -1093,145 +907,115 @@ export class GnosisSafe_json {
1093
907
  }
1094
908
 
1095
909
  /**
1096
- * domainSeparator
910
+ * SENTINEL_MODULES
1097
911
  * view
1098
912
  */
1099
- async domainSeparator(): Promise<`0x${string}`> {
1100
- return this.contract.read.domainSeparator() as Promise<`0x${string}`>;
913
+ async SENTINEL_MODULES(): Promise<`0x${string}`> {
914
+ return this.contract.read.SENTINEL_MODULES() as Promise<`0x${string}`>;
1101
915
  }
1102
916
 
1103
917
  /**
1104
- * encodeTransactionData
918
+ * SENTINEL_OWNERS
1105
919
  * view
1106
920
  */
1107
- async encodeTransactionData(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, safeTxGas: bigint, baseGas: bigint, gasPrice: bigint, gasToken: `0x${string}`, refundReceiver: `0x${string}`, _nonce: bigint): Promise<`0x${string}`> {
1108
- return this.contract.read.encodeTransactionData([to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, _nonce] as const) as Promise<`0x${string}`>;
921
+ async SENTINEL_OWNERS(): Promise<`0x${string}`> {
922
+ return this.contract.read.SENTINEL_OWNERS() as Promise<`0x${string}`>;
1109
923
  }
1110
924
 
1111
925
  /**
1112
- * getMessageHash
926
+ * getOwners
1113
927
  * view
1114
928
  */
1115
- async getMessageHash(message: `0x${string}`): Promise<`0x${string}`> {
1116
- return this.contract.read.getMessageHash([message] as const) as Promise<`0x${string}`>;
929
+ async getOwners(): Promise<`0x${string}`[]> {
930
+ return this.contract.read.getOwners() as Promise<`0x${string}`[]>;
1117
931
  }
1118
932
 
1119
933
  /**
1120
- * getModules
934
+ * NAME
1121
935
  * view
1122
936
  */
1123
- async getModules(): Promise<`0x${string}`[]> {
1124
- return this.contract.read.getModules() as Promise<`0x${string}`[]>;
937
+ async NAME(): Promise<string> {
938
+ return this.contract.read.NAME() as Promise<string>;
1125
939
  }
1126
940
 
1127
941
  /**
1128
- * getModulesPaginated
942
+ * nonce
1129
943
  * view
1130
944
  */
1131
- async getModulesPaginated(start: `0x${string}`, pageSize: bigint): Promise<[`0x${string}`[], `0x${string}`]> {
1132
- return this.contract.read.getModulesPaginated([start, pageSize] as const) as Promise<[`0x${string}`[], `0x${string}`]>;
945
+ async nonce(): Promise<bigint> {
946
+ return this.contract.read.nonce() as Promise<bigint>;
1133
947
  }
1134
948
 
1135
949
  /**
1136
- * getOwners
950
+ * getModules
1137
951
  * view
1138
952
  */
1139
- async getOwners(): Promise<`0x${string}`[]> {
1140
- return this.contract.read.getOwners() as Promise<`0x${string}`[]>;
953
+ async getModules(): Promise<`0x${string}`[]> {
954
+ return this.contract.read.getModules() as Promise<`0x${string}`[]>;
1141
955
  }
1142
956
 
1143
957
  /**
1144
- * getThreshold
958
+ * SAFE_MSG_TYPEHASH
1145
959
  * view
1146
960
  */
1147
- async getThreshold(): Promise<bigint> {
1148
- return this.contract.read.getThreshold() as Promise<bigint>;
961
+ async SAFE_MSG_TYPEHASH(): Promise<`0x${string}`> {
962
+ return this.contract.read.SAFE_MSG_TYPEHASH() as Promise<`0x${string}`>;
1149
963
  }
1150
964
 
1151
965
  /**
1152
- * getTransactionHash
966
+ * SAFE_TX_TYPEHASH
1153
967
  * view
1154
968
  */
1155
- async getTransactionHash(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, safeTxGas: bigint, baseGas: bigint, gasPrice: bigint, gasToken: `0x${string}`, refundReceiver: `0x${string}`, _nonce: bigint): Promise<`0x${string}`> {
1156
- return this.contract.read.getTransactionHash([to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, _nonce] as const) as Promise<`0x${string}`>;
969
+ async SAFE_TX_TYPEHASH(): Promise<`0x${string}`> {
970
+ return this.contract.read.SAFE_TX_TYPEHASH() as Promise<`0x${string}`>;
1157
971
  }
1158
972
 
1159
973
  /**
1160
- * isOwner
974
+ * getTransactionHash
1161
975
  * view
1162
976
  */
1163
- async isOwner(owner: `0x${string}`): Promise<boolean> {
1164
- return this.contract.read.isOwner([owner] as const) as Promise<boolean>;
977
+ async getTransactionHash(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, safeTxGas: bigint, baseGas: bigint, gasPrice: bigint, gasToken: `0x${string}`, refundReceiver: `0x${string}`, _nonce: bigint): Promise<`0x${string}`> {
978
+ return this.contract.read.getTransactionHash([to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, _nonce] as const) as Promise<`0x${string}`>;
1165
979
  }
1166
980
 
1167
981
  /**
1168
- * nonce
982
+ * getThreshold
1169
983
  * view
1170
984
  */
1171
- async nonce(): Promise<bigint> {
1172
- return this.contract.read.nonce() as Promise<bigint>;
985
+ async getThreshold(): Promise<bigint> {
986
+ return this.contract.read.getThreshold() as Promise<bigint>;
1173
987
  }
1174
988
 
1175
989
  /**
1176
- * signedMessages
990
+ * encodeTransactionData
1177
991
  * view
1178
992
  */
1179
- async signedMessages(arg0: `0x${string}`): Promise<bigint> {
1180
- return this.contract.read.signedMessages([arg0] as const) as Promise<bigint>;
993
+ async encodeTransactionData(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, safeTxGas: bigint, baseGas: bigint, gasPrice: bigint, gasToken: `0x${string}`, refundReceiver: `0x${string}`, _nonce: bigint): Promise<`0x${string}`> {
994
+ return this.contract.read.encodeTransactionData([to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, _nonce] as const) as Promise<`0x${string}`>;
1181
995
  }
1182
996
 
1183
997
  /**
1184
- * addOwnerWithThreshold
1185
- * nonpayable
1186
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
998
+ * domainSeparator
999
+ * view
1187
1000
  */
1188
- async addOwnerWithThreshold(owner: `0x${string}`, _threshold: bigint, options?: {
1189
- accessList?: import('viem').AccessList;
1190
- authorizationList?: import('viem').AuthorizationList;
1191
- chain?: import('viem').Chain | null;
1192
- dataSuffix?: `0x${string}`;
1193
- gas?: bigint;
1194
- gasPrice?: bigint;
1195
- maxFeePerGas?: bigint;
1196
- maxPriorityFeePerGas?: bigint;
1197
- nonce?: number;
1198
- value?: bigint;
1199
- }): Promise<`0x${string}`> {
1200
- if (!this.contract.write) {
1201
- throw new Error('Wallet client is required for write operations');
1202
- }
1203
- return this.contract.write.addOwnerWithThreshold([owner, _threshold] as const, options) as Promise<`0x${string}`>;
1001
+ async domainSeparator(): Promise<`0x${string}`> {
1002
+ return this.contract.read.domainSeparator() as Promise<`0x${string}`>;
1204
1003
  }
1205
1004
 
1206
1005
  /**
1207
- * approveHash
1208
- * nonpayable
1209
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1006
+ * VERSION
1007
+ * view
1210
1008
  */
1211
- async approveHash(hashToApprove: `0x${string}`, options?: {
1212
- accessList?: import('viem').AccessList;
1213
- authorizationList?: import('viem').AuthorizationList;
1214
- chain?: import('viem').Chain | null;
1215
- dataSuffix?: `0x${string}`;
1216
- gas?: bigint;
1217
- gasPrice?: bigint;
1218
- maxFeePerGas?: bigint;
1219
- maxPriorityFeePerGas?: bigint;
1220
- nonce?: number;
1221
- value?: bigint;
1222
- }): Promise<`0x${string}`> {
1223
- if (!this.contract.write) {
1224
- throw new Error('Wallet client is required for write operations');
1225
- }
1226
- return this.contract.write.approveHash([hashToApprove] as const, options) as Promise<`0x${string}`>;
1009
+ async VERSION(): Promise<string> {
1010
+ return this.contract.read.VERSION() as Promise<string>;
1227
1011
  }
1228
1012
 
1229
1013
  /**
1230
- * changeMasterCopy
1014
+ * addOwnerWithThreshold
1231
1015
  * nonpayable
1232
1016
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1233
1017
  */
1234
- async changeMasterCopy(_masterCopy: `0x${string}`, options?: {
1018
+ async addOwnerWithThreshold(owner: `0x${string}`, _threshold: bigint, options?: {
1235
1019
  accessList?: import('viem').AccessList;
1236
1020
  authorizationList?: import('viem').AuthorizationList;
1237
1021
  chain?: import('viem').Chain | null;
@@ -1246,15 +1030,15 @@ export class GnosisSafe_json {
1246
1030
  if (!this.contract.write) {
1247
1031
  throw new Error('Wallet client is required for write operations');
1248
1032
  }
1249
- return this.contract.write.changeMasterCopy([_masterCopy] as const, options) as Promise<`0x${string}`>;
1033
+ return this.contract.write.addOwnerWithThreshold([owner, _threshold] as const, options) as Promise<`0x${string}`>;
1250
1034
  }
1251
1035
 
1252
1036
  /**
1253
- * changeThreshold
1037
+ * isValidSignature
1254
1038
  * nonpayable
1255
1039
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1256
1040
  */
1257
- async changeThreshold(_threshold: bigint, options?: {
1041
+ async isValidSignature(_data: `0x${string}`, _signature: `0x${string}`, options?: {
1258
1042
  accessList?: import('viem').AccessList;
1259
1043
  authorizationList?: import('viem').AuthorizationList;
1260
1044
  chain?: import('viem').Chain | null;
@@ -1269,15 +1053,15 @@ export class GnosisSafe_json {
1269
1053
  if (!this.contract.write) {
1270
1054
  throw new Error('Wallet client is required for write operations');
1271
1055
  }
1272
- return this.contract.write.changeThreshold([_threshold] as const, options) as Promise<`0x${string}`>;
1056
+ return this.contract.write.isValidSignature([_data, _signature] as const, options) as Promise<`0x${string}`>;
1273
1057
  }
1274
1058
 
1275
1059
  /**
1276
- * disableModule
1060
+ * execTransactionFromModule
1277
1061
  * nonpayable
1278
1062
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1279
1063
  */
1280
- async disableModule(prevModule: `0x${string}`, module: `0x${string}`, options?: {
1064
+ async execTransactionFromModule(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1281
1065
  accessList?: import('viem').AccessList;
1282
1066
  authorizationList?: import('viem').AuthorizationList;
1283
1067
  chain?: import('viem').Chain | null;
@@ -1292,7 +1076,7 @@ export class GnosisSafe_json {
1292
1076
  if (!this.contract.write) {
1293
1077
  throw new Error('Wallet client is required for write operations');
1294
1078
  }
1295
- return this.contract.write.disableModule([prevModule, module] as const, options) as Promise<`0x${string}`>;
1079
+ return this.contract.write.execTransactionFromModule([to, value, data, operation] as const, options) as Promise<`0x${string}`>;
1296
1080
  }
1297
1081
 
1298
1082
  /**
@@ -1319,11 +1103,11 @@ export class GnosisSafe_json {
1319
1103
  }
1320
1104
 
1321
1105
  /**
1322
- * execTransaction
1106
+ * changeThreshold
1323
1107
  * nonpayable
1324
1108
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1325
1109
  */
1326
- async execTransaction(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, safeTxGas: bigint, baseGas: bigint, gasPrice: bigint, gasToken: `0x${string}`, refundReceiver: `0x${string}`, signatures: `0x${string}`, options?: {
1110
+ async changeThreshold(_threshold: bigint, options?: {
1327
1111
  accessList?: import('viem').AccessList;
1328
1112
  authorizationList?: import('viem').AuthorizationList;
1329
1113
  chain?: import('viem').Chain | null;
@@ -1338,15 +1122,15 @@ export class GnosisSafe_json {
1338
1122
  if (!this.contract.write) {
1339
1123
  throw new Error('Wallet client is required for write operations');
1340
1124
  }
1341
- return this.contract.write.execTransaction([to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, signatures] as const, options) as Promise<`0x${string}`>;
1125
+ return this.contract.write.changeThreshold([_threshold] as const, options) as Promise<`0x${string}`>;
1342
1126
  }
1343
1127
 
1344
1128
  /**
1345
- * execTransactionFromModule
1129
+ * execTransaction
1346
1130
  * nonpayable
1347
1131
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1348
1132
  */
1349
- async execTransactionFromModule(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1133
+ async execTransaction(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, safeTxGas: bigint, baseGas: bigint, gasPrice: bigint, gasToken: `0x${string}`, refundReceiver: `0x${string}`, signatures: `0x${string}`, options?: {
1350
1134
  accessList?: import('viem').AccessList;
1351
1135
  authorizationList?: import('viem').AuthorizationList;
1352
1136
  chain?: import('viem').Chain | null;
@@ -1361,15 +1145,15 @@ export class GnosisSafe_json {
1361
1145
  if (!this.contract.write) {
1362
1146
  throw new Error('Wallet client is required for write operations');
1363
1147
  }
1364
- return this.contract.write.execTransactionFromModule([to, value, data, operation] as const, options) as Promise<`0x${string}`>;
1148
+ return this.contract.write.execTransaction([to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, signatures] as const, options) as Promise<`0x${string}`>;
1365
1149
  }
1366
1150
 
1367
1151
  /**
1368
- * execTransactionFromModuleReturnData
1152
+ * changeMasterCopy
1369
1153
  * nonpayable
1370
1154
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1371
1155
  */
1372
- async execTransactionFromModuleReturnData(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1156
+ async changeMasterCopy(_masterCopy: `0x${string}`, options?: {
1373
1157
  accessList?: import('viem').AccessList;
1374
1158
  authorizationList?: import('viem').AuthorizationList;
1375
1159
  chain?: import('viem').Chain | null;
@@ -1384,15 +1168,15 @@ export class GnosisSafe_json {
1384
1168
  if (!this.contract.write) {
1385
1169
  throw new Error('Wallet client is required for write operations');
1386
1170
  }
1387
- return this.contract.write.execTransactionFromModuleReturnData([to, value, data, operation] as const, options) as Promise<`0x${string}`>;
1171
+ return this.contract.write.changeMasterCopy([_masterCopy] as const, options) as Promise<`0x${string}`>;
1388
1172
  }
1389
1173
 
1390
1174
  /**
1391
- * isValidSignature
1175
+ * signMessage
1392
1176
  * nonpayable
1393
1177
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1394
1178
  */
1395
- async isValidSignature(_data: `0x${string}`, _signature: `0x${string}`, options?: {
1179
+ async signMessage(_data: `0x${string}`, options?: {
1396
1180
  accessList?: import('viem').AccessList;
1397
1181
  authorizationList?: import('viem').AuthorizationList;
1398
1182
  chain?: import('viem').Chain | null;
@@ -1407,15 +1191,15 @@ export class GnosisSafe_json {
1407
1191
  if (!this.contract.write) {
1408
1192
  throw new Error('Wallet client is required for write operations');
1409
1193
  }
1410
- return this.contract.write.isValidSignature([_data, _signature] as const, options) as Promise<`0x${string}`>;
1194
+ return this.contract.write.signMessage([_data] as const, options) as Promise<`0x${string}`>;
1411
1195
  }
1412
1196
 
1413
1197
  /**
1414
- * removeOwner
1198
+ * setup
1415
1199
  * nonpayable
1416
1200
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1417
1201
  */
1418
- async removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
1202
+ async setup(_owners: `0x${string}`[], _threshold: bigint, to: `0x${string}`, data: `0x${string}`, paymentToken: `0x${string}`, payment: bigint, paymentReceiver: `0x${string}`, options?: {
1419
1203
  accessList?: import('viem').AccessList;
1420
1204
  authorizationList?: import('viem').AuthorizationList;
1421
1205
  chain?: import('viem').Chain | null;
@@ -1430,7 +1214,7 @@ export class GnosisSafe_json {
1430
1214
  if (!this.contract.write) {
1431
1215
  throw new Error('Wallet client is required for write operations');
1432
1216
  }
1433
- return this.contract.write.removeOwner([prevOwner, owner, _threshold] as const, options) as Promise<`0x${string}`>;
1217
+ return this.contract.write.setup([_owners, _threshold, to, data, paymentToken, payment, paymentReceiver] as const, options) as Promise<`0x${string}`>;
1434
1218
  }
1435
1219
 
1436
1220
  /**
@@ -1457,11 +1241,11 @@ export class GnosisSafe_json {
1457
1241
  }
1458
1242
 
1459
1243
  /**
1460
- * setFallbackHandler
1244
+ * approveHash
1461
1245
  * nonpayable
1462
1246
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1463
1247
  */
1464
- async setFallbackHandler(handler: `0x${string}`, options?: {
1248
+ async approveHash(hashToApprove: `0x${string}`, options?: {
1465
1249
  accessList?: import('viem').AccessList;
1466
1250
  authorizationList?: import('viem').AuthorizationList;
1467
1251
  chain?: import('viem').Chain | null;
@@ -1476,15 +1260,15 @@ export class GnosisSafe_json {
1476
1260
  if (!this.contract.write) {
1477
1261
  throw new Error('Wallet client is required for write operations');
1478
1262
  }
1479
- return this.contract.write.setFallbackHandler([handler] as const, options) as Promise<`0x${string}`>;
1263
+ return this.contract.write.approveHash([hashToApprove] as const, options) as Promise<`0x${string}`>;
1480
1264
  }
1481
1265
 
1482
1266
  /**
1483
- * setup
1267
+ * disableModule
1484
1268
  * nonpayable
1485
1269
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1486
1270
  */
1487
- async setup(_owners: `0x${string}`[], _threshold: bigint, to: `0x${string}`, data: `0x${string}`, fallbackHandler: `0x${string}`, paymentToken: `0x${string}`, payment: bigint, paymentReceiver: `0x${string}`, options?: {
1271
+ async disableModule(prevModule: `0x${string}`, module: `0x${string}`, options?: {
1488
1272
  accessList?: import('viem').AccessList;
1489
1273
  authorizationList?: import('viem').AuthorizationList;
1490
1274
  chain?: import('viem').Chain | null;
@@ -1499,15 +1283,15 @@ export class GnosisSafe_json {
1499
1283
  if (!this.contract.write) {
1500
1284
  throw new Error('Wallet client is required for write operations');
1501
1285
  }
1502
- return this.contract.write.setup([_owners, _threshold, to, data, fallbackHandler, paymentToken, payment, paymentReceiver] as const, options) as Promise<`0x${string}`>;
1286
+ return this.contract.write.disableModule([prevModule, module] as const, options) as Promise<`0x${string}`>;
1503
1287
  }
1504
1288
 
1505
1289
  /**
1506
- * signMessage
1290
+ * swapOwner
1507
1291
  * nonpayable
1508
1292
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1509
1293
  */
1510
- async signMessage(_data: `0x${string}`, options?: {
1294
+ async swapOwner(prevOwner: `0x${string}`, oldOwner: `0x${string}`, newOwner: `0x${string}`, options?: {
1511
1295
  accessList?: import('viem').AccessList;
1512
1296
  authorizationList?: import('viem').AuthorizationList;
1513
1297
  chain?: import('viem').Chain | null;
@@ -1522,15 +1306,15 @@ export class GnosisSafe_json {
1522
1306
  if (!this.contract.write) {
1523
1307
  throw new Error('Wallet client is required for write operations');
1524
1308
  }
1525
- return this.contract.write.signMessage([_data] as const, options) as Promise<`0x${string}`>;
1309
+ return this.contract.write.swapOwner([prevOwner, oldOwner, newOwner] as const, options) as Promise<`0x${string}`>;
1526
1310
  }
1527
1311
 
1528
1312
  /**
1529
- * swapOwner
1313
+ * removeOwner
1530
1314
  * nonpayable
1531
1315
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1532
1316
  */
1533
- async swapOwner(prevOwner: `0x${string}`, oldOwner: `0x${string}`, newOwner: `0x${string}`, options?: {
1317
+ async removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
1534
1318
  accessList?: import('viem').AccessList;
1535
1319
  authorizationList?: import('viem').AuthorizationList;
1536
1320
  chain?: import('viem').Chain | null;
@@ -1545,7 +1329,7 @@ export class GnosisSafe_json {
1545
1329
  if (!this.contract.write) {
1546
1330
  throw new Error('Wallet client is required for write operations');
1547
1331
  }
1548
- return this.contract.write.swapOwner([prevOwner, oldOwner, newOwner] as const, options) as Promise<`0x${string}`>;
1332
+ return this.contract.write.removeOwner([prevOwner, owner, _threshold] as const, options) as Promise<`0x${string}`>;
1549
1333
  }
1550
1334
 
1551
1335
 
@@ -1584,30 +1368,11 @@ export class GnosisSafe_json {
1584
1368
  return contract.simulate.addOwnerWithThreshold([owner, _threshold] as const, options) as Promise<void>;
1585
1369
  },
1586
1370
  /**
1587
- * Simulate approveHash
1588
- * Returns gas estimate and result without sending transaction
1589
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1590
- */
1591
- async approveHash(hashToApprove: `0x${string}`, options?: {
1592
- accessList?: import('viem').AccessList;
1593
- authorizationList?: import('viem').AuthorizationList;
1594
- chain?: import('viem').Chain | null;
1595
- dataSuffix?: `0x${string}`;
1596
- gas?: bigint;
1597
- gasPrice?: bigint;
1598
- maxFeePerGas?: bigint;
1599
- maxPriorityFeePerGas?: bigint;
1600
- nonce?: number;
1601
- value?: bigint;
1602
- }): Promise<void> {
1603
- return contract.simulate.approveHash([hashToApprove] as const, options) as Promise<void>;
1604
- },
1605
- /**
1606
- * Simulate changeMasterCopy
1371
+ * Simulate isValidSignature
1607
1372
  * Returns gas estimate and result without sending transaction
1608
1373
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1609
1374
  */
1610
- async changeMasterCopy(_masterCopy: `0x${string}`, options?: {
1375
+ async isValidSignature(_data: `0x${string}`, _signature: `0x${string}`, options?: {
1611
1376
  accessList?: import('viem').AccessList;
1612
1377
  authorizationList?: import('viem').AuthorizationList;
1613
1378
  chain?: import('viem').Chain | null;
@@ -1618,15 +1383,15 @@ export class GnosisSafe_json {
1618
1383
  maxPriorityFeePerGas?: bigint;
1619
1384
  nonce?: number;
1620
1385
  value?: bigint;
1621
- }): Promise<void> {
1622
- return contract.simulate.changeMasterCopy([_masterCopy] as const, options) as Promise<void>;
1386
+ }): Promise<`0x${string}`> {
1387
+ return contract.simulate.isValidSignature([_data, _signature] as const, options) as Promise<`0x${string}`>;
1623
1388
  },
1624
1389
  /**
1625
- * Simulate changeThreshold
1390
+ * Simulate execTransactionFromModule
1626
1391
  * Returns gas estimate and result without sending transaction
1627
1392
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1628
1393
  */
1629
- async changeThreshold(_threshold: bigint, options?: {
1394
+ async execTransactionFromModule(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1630
1395
  accessList?: import('viem').AccessList;
1631
1396
  authorizationList?: import('viem').AuthorizationList;
1632
1397
  chain?: import('viem').Chain | null;
@@ -1637,15 +1402,15 @@ export class GnosisSafe_json {
1637
1402
  maxPriorityFeePerGas?: bigint;
1638
1403
  nonce?: number;
1639
1404
  value?: bigint;
1640
- }): Promise<void> {
1641
- return contract.simulate.changeThreshold([_threshold] as const, options) as Promise<void>;
1405
+ }): Promise<boolean> {
1406
+ return contract.simulate.execTransactionFromModule([to, value, data, operation] as const, options) as Promise<boolean>;
1642
1407
  },
1643
1408
  /**
1644
- * Simulate disableModule
1409
+ * Simulate enableModule
1645
1410
  * Returns gas estimate and result without sending transaction
1646
1411
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1647
1412
  */
1648
- async disableModule(prevModule: `0x${string}`, module: `0x${string}`, options?: {
1413
+ async enableModule(module: `0x${string}`, options?: {
1649
1414
  accessList?: import('viem').AccessList;
1650
1415
  authorizationList?: import('viem').AuthorizationList;
1651
1416
  chain?: import('viem').Chain | null;
@@ -1657,14 +1422,14 @@ export class GnosisSafe_json {
1657
1422
  nonce?: number;
1658
1423
  value?: bigint;
1659
1424
  }): Promise<void> {
1660
- return contract.simulate.disableModule([prevModule, module] as const, options) as Promise<void>;
1425
+ return contract.simulate.enableModule([module] as const, options) as Promise<void>;
1661
1426
  },
1662
1427
  /**
1663
- * Simulate enableModule
1428
+ * Simulate changeThreshold
1664
1429
  * Returns gas estimate and result without sending transaction
1665
1430
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1666
1431
  */
1667
- async enableModule(module: `0x${string}`, options?: {
1432
+ async changeThreshold(_threshold: bigint, options?: {
1668
1433
  accessList?: import('viem').AccessList;
1669
1434
  authorizationList?: import('viem').AuthorizationList;
1670
1435
  chain?: import('viem').Chain | null;
@@ -1676,7 +1441,7 @@ export class GnosisSafe_json {
1676
1441
  nonce?: number;
1677
1442
  value?: bigint;
1678
1443
  }): Promise<void> {
1679
- return contract.simulate.enableModule([module] as const, options) as Promise<void>;
1444
+ return contract.simulate.changeThreshold([_threshold] as const, options) as Promise<void>;
1680
1445
  },
1681
1446
  /**
1682
1447
  * Simulate execTransaction
@@ -1698,30 +1463,11 @@ export class GnosisSafe_json {
1698
1463
  return contract.simulate.execTransaction([to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, signatures] as const, options) as Promise<boolean>;
1699
1464
  },
1700
1465
  /**
1701
- * Simulate execTransactionFromModule
1702
- * Returns gas estimate and result without sending transaction
1703
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1704
- */
1705
- async execTransactionFromModule(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1706
- accessList?: import('viem').AccessList;
1707
- authorizationList?: import('viem').AuthorizationList;
1708
- chain?: import('viem').Chain | null;
1709
- dataSuffix?: `0x${string}`;
1710
- gas?: bigint;
1711
- gasPrice?: bigint;
1712
- maxFeePerGas?: bigint;
1713
- maxPriorityFeePerGas?: bigint;
1714
- nonce?: number;
1715
- value?: bigint;
1716
- }): Promise<boolean> {
1717
- return contract.simulate.execTransactionFromModule([to, value, data, operation] as const, options) as Promise<boolean>;
1718
- },
1719
- /**
1720
- * Simulate execTransactionFromModuleReturnData
1466
+ * Simulate changeMasterCopy
1721
1467
  * Returns gas estimate and result without sending transaction
1722
1468
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1723
1469
  */
1724
- async execTransactionFromModuleReturnData(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1470
+ async changeMasterCopy(_masterCopy: `0x${string}`, options?: {
1725
1471
  accessList?: import('viem').AccessList;
1726
1472
  authorizationList?: import('viem').AuthorizationList;
1727
1473
  chain?: import('viem').Chain | null;
@@ -1732,15 +1478,15 @@ export class GnosisSafe_json {
1732
1478
  maxPriorityFeePerGas?: bigint;
1733
1479
  nonce?: number;
1734
1480
  value?: bigint;
1735
- }): Promise<[boolean, `0x${string}`]> {
1736
- return contract.simulate.execTransactionFromModuleReturnData([to, value, data, operation] as const, options) as Promise<[boolean, `0x${string}`]>;
1481
+ }): Promise<void> {
1482
+ return contract.simulate.changeMasterCopy([_masterCopy] as const, options) as Promise<void>;
1737
1483
  },
1738
1484
  /**
1739
- * Simulate isValidSignature
1485
+ * Simulate signMessage
1740
1486
  * Returns gas estimate and result without sending transaction
1741
1487
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1742
1488
  */
1743
- async isValidSignature(_data: `0x${string}`, _signature: `0x${string}`, options?: {
1489
+ async signMessage(_data: `0x${string}`, options?: {
1744
1490
  accessList?: import('viem').AccessList;
1745
1491
  authorizationList?: import('viem').AuthorizationList;
1746
1492
  chain?: import('viem').Chain | null;
@@ -1751,15 +1497,15 @@ export class GnosisSafe_json {
1751
1497
  maxPriorityFeePerGas?: bigint;
1752
1498
  nonce?: number;
1753
1499
  value?: bigint;
1754
- }): Promise<`0x${string}`> {
1755
- return contract.simulate.isValidSignature([_data, _signature] as const, options) as Promise<`0x${string}`>;
1500
+ }): Promise<void> {
1501
+ return contract.simulate.signMessage([_data] as const, options) as Promise<void>;
1756
1502
  },
1757
1503
  /**
1758
- * Simulate removeOwner
1504
+ * Simulate setup
1759
1505
  * Returns gas estimate and result without sending transaction
1760
1506
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1761
1507
  */
1762
- async removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
1508
+ async setup(_owners: `0x${string}`[], _threshold: bigint, to: `0x${string}`, data: `0x${string}`, paymentToken: `0x${string}`, payment: bigint, paymentReceiver: `0x${string}`, options?: {
1763
1509
  accessList?: import('viem').AccessList;
1764
1510
  authorizationList?: import('viem').AuthorizationList;
1765
1511
  chain?: import('viem').Chain | null;
@@ -1771,7 +1517,7 @@ export class GnosisSafe_json {
1771
1517
  nonce?: number;
1772
1518
  value?: bigint;
1773
1519
  }): Promise<void> {
1774
- return contract.simulate.removeOwner([prevOwner, owner, _threshold] as const, options) as Promise<void>;
1520
+ return contract.simulate.setup([_owners, _threshold, to, data, paymentToken, payment, paymentReceiver] as const, options) as Promise<void>;
1775
1521
  },
1776
1522
  /**
1777
1523
  * Simulate requiredTxGas
@@ -1793,11 +1539,11 @@ export class GnosisSafe_json {
1793
1539
  return contract.simulate.requiredTxGas([to, value, data, operation] as const, options) as Promise<bigint>;
1794
1540
  },
1795
1541
  /**
1796
- * Simulate setFallbackHandler
1542
+ * Simulate approveHash
1797
1543
  * Returns gas estimate and result without sending transaction
1798
1544
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1799
1545
  */
1800
- async setFallbackHandler(handler: `0x${string}`, options?: {
1546
+ async approveHash(hashToApprove: `0x${string}`, options?: {
1801
1547
  accessList?: import('viem').AccessList;
1802
1548
  authorizationList?: import('viem').AuthorizationList;
1803
1549
  chain?: import('viem').Chain | null;
@@ -1809,14 +1555,14 @@ export class GnosisSafe_json {
1809
1555
  nonce?: number;
1810
1556
  value?: bigint;
1811
1557
  }): Promise<void> {
1812
- return contract.simulate.setFallbackHandler([handler] as const, options) as Promise<void>;
1558
+ return contract.simulate.approveHash([hashToApprove] as const, options) as Promise<void>;
1813
1559
  },
1814
1560
  /**
1815
- * Simulate setup
1561
+ * Simulate disableModule
1816
1562
  * Returns gas estimate and result without sending transaction
1817
1563
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1818
1564
  */
1819
- async setup(_owners: `0x${string}`[], _threshold: bigint, to: `0x${string}`, data: `0x${string}`, fallbackHandler: `0x${string}`, paymentToken: `0x${string}`, payment: bigint, paymentReceiver: `0x${string}`, options?: {
1565
+ async disableModule(prevModule: `0x${string}`, module: `0x${string}`, options?: {
1820
1566
  accessList?: import('viem').AccessList;
1821
1567
  authorizationList?: import('viem').AuthorizationList;
1822
1568
  chain?: import('viem').Chain | null;
@@ -1828,14 +1574,14 @@ export class GnosisSafe_json {
1828
1574
  nonce?: number;
1829
1575
  value?: bigint;
1830
1576
  }): Promise<void> {
1831
- return contract.simulate.setup([_owners, _threshold, to, data, fallbackHandler, paymentToken, payment, paymentReceiver] as const, options) as Promise<void>;
1577
+ return contract.simulate.disableModule([prevModule, module] as const, options) as Promise<void>;
1832
1578
  },
1833
1579
  /**
1834
- * Simulate signMessage
1580
+ * Simulate swapOwner
1835
1581
  * Returns gas estimate and result without sending transaction
1836
1582
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1837
1583
  */
1838
- async signMessage(_data: `0x${string}`, options?: {
1584
+ async swapOwner(prevOwner: `0x${string}`, oldOwner: `0x${string}`, newOwner: `0x${string}`, options?: {
1839
1585
  accessList?: import('viem').AccessList;
1840
1586
  authorizationList?: import('viem').AuthorizationList;
1841
1587
  chain?: import('viem').Chain | null;
@@ -1847,14 +1593,14 @@ export class GnosisSafe_json {
1847
1593
  nonce?: number;
1848
1594
  value?: bigint;
1849
1595
  }): Promise<void> {
1850
- return contract.simulate.signMessage([_data] as const, options) as Promise<void>;
1596
+ return contract.simulate.swapOwner([prevOwner, oldOwner, newOwner] as const, options) as Promise<void>;
1851
1597
  },
1852
1598
  /**
1853
- * Simulate swapOwner
1599
+ * Simulate removeOwner
1854
1600
  * Returns gas estimate and result without sending transaction
1855
1601
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1856
1602
  */
1857
- async swapOwner(prevOwner: `0x${string}`, oldOwner: `0x${string}`, newOwner: `0x${string}`, options?: {
1603
+ async removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
1858
1604
  accessList?: import('viem').AccessList;
1859
1605
  authorizationList?: import('viem').AuthorizationList;
1860
1606
  chain?: import('viem').Chain | null;
@@ -1866,7 +1612,7 @@ export class GnosisSafe_json {
1866
1612
  nonce?: number;
1867
1613
  value?: bigint;
1868
1614
  }): Promise<void> {
1869
- return contract.simulate.swapOwner([prevOwner, oldOwner, newOwner] as const, options) as Promise<void>;
1615
+ return contract.simulate.removeOwner([prevOwner, owner, _threshold] as const, options) as Promise<void>;
1870
1616
  }
1871
1617
  };
1872
1618
  }
@@ -1886,16 +1632,16 @@ export class GnosisSafe_json {
1886
1632
  get watch() {
1887
1633
  return {
1888
1634
  /**
1889
- * Watch AddedOwner events
1635
+ * Watch ExecutionFailed events
1890
1636
  * @param callback Function to call when event is emitted
1891
1637
  * @param filter Optional filter for indexed parameters
1892
1638
  * @returns Unwatch function to stop listening
1893
1639
  */
1894
- AddedOwner: (callback: (event: { owner: `0x${string}` }) => void) => {
1640
+ ExecutionFailed: (callback: (event: { txHash: `0x${string}` }) => void) => {
1895
1641
  return this.publicClient.watchContractEvent({
1896
1642
  address: this.contractAddress,
1897
1643
  abi: GnosisSafe_jsonAbi,
1898
- eventName: 'AddedOwner',
1644
+ eventName: 'ExecutionFailed',
1899
1645
 
1900
1646
  onLogs: (logs: any[]) => {
1901
1647
  logs.forEach((log: any) => {
@@ -1905,17 +1651,17 @@ export class GnosisSafe_json {
1905
1651
  }) as () => void;
1906
1652
  },
1907
1653
  /**
1908
- * Watch ApproveHash events
1654
+ * Watch AddedOwner events
1909
1655
  * @param callback Function to call when event is emitted
1910
1656
  * @param filter Optional filter for indexed parameters
1911
1657
  * @returns Unwatch function to stop listening
1912
1658
  */
1913
- ApproveHash: (callback: (event: { approvedHash: `0x${string}`; owner: `0x${string}` }) => void, filter?: { approvedHash: `0x${string}`; owner: `0x${string}` }) => {
1659
+ AddedOwner: (callback: (event: { owner: `0x${string}` }) => void) => {
1914
1660
  return this.publicClient.watchContractEvent({
1915
1661
  address: this.contractAddress,
1916
1662
  abi: GnosisSafe_jsonAbi,
1917
- eventName: 'ApproveHash',
1918
- args: filter,
1663
+ eventName: 'AddedOwner',
1664
+
1919
1665
  onLogs: (logs: any[]) => {
1920
1666
  logs.forEach((log: any) => {
1921
1667
  callback(log.args as any);
@@ -1924,16 +1670,16 @@ export class GnosisSafe_json {
1924
1670
  }) as () => void;
1925
1671
  },
1926
1672
  /**
1927
- * Watch ChangedMasterCopy events
1673
+ * Watch RemovedOwner events
1928
1674
  * @param callback Function to call when event is emitted
1929
1675
  * @param filter Optional filter for indexed parameters
1930
1676
  * @returns Unwatch function to stop listening
1931
1677
  */
1932
- ChangedMasterCopy: (callback: (event: { masterCopy: `0x${string}` }) => void) => {
1678
+ RemovedOwner: (callback: (event: { owner: `0x${string}` }) => void) => {
1933
1679
  return this.publicClient.watchContractEvent({
1934
1680
  address: this.contractAddress,
1935
1681
  abi: GnosisSafe_jsonAbi,
1936
- eventName: 'ChangedMasterCopy',
1682
+ eventName: 'RemovedOwner',
1937
1683
 
1938
1684
  onLogs: (logs: any[]) => {
1939
1685
  logs.forEach((log: any) => {
@@ -1961,25 +1707,6 @@ export class GnosisSafe_json {
1961
1707
  },
1962
1708
  }) as () => void;
1963
1709
  },
1964
- /**
1965
- * Watch DisabledModule events
1966
- * @param callback Function to call when event is emitted
1967
- * @param filter Optional filter for indexed parameters
1968
- * @returns Unwatch function to stop listening
1969
- */
1970
- DisabledModule: (callback: (event: { module: `0x${string}` }) => void) => {
1971
- return this.publicClient.watchContractEvent({
1972
- address: this.contractAddress,
1973
- abi: GnosisSafe_jsonAbi,
1974
- eventName: 'DisabledModule',
1975
-
1976
- onLogs: (logs: any[]) => {
1977
- logs.forEach((log: any) => {
1978
- callback(log.args as any);
1979
- });
1980
- },
1981
- }) as () => void;
1982
- },
1983
1710
  /**
1984
1711
  * Watch EnabledModule events
1985
1712
  * @param callback Function to call when event is emitted
@@ -2000,73 +1727,16 @@ export class GnosisSafe_json {
2000
1727
  }) as () => void;
2001
1728
  },
2002
1729
  /**
2003
- * Watch ExecutionFailure events
2004
- * @param callback Function to call when event is emitted
2005
- * @param filter Optional filter for indexed parameters
2006
- * @returns Unwatch function to stop listening
2007
- */
2008
- ExecutionFailure: (callback: (event: { txHash: `0x${string}`; payment: bigint }) => void) => {
2009
- return this.publicClient.watchContractEvent({
2010
- address: this.contractAddress,
2011
- abi: GnosisSafe_jsonAbi,
2012
- eventName: 'ExecutionFailure',
2013
-
2014
- onLogs: (logs: any[]) => {
2015
- logs.forEach((log: any) => {
2016
- callback(log.args as any);
2017
- });
2018
- },
2019
- }) as () => void;
2020
- },
2021
- /**
2022
- * Watch ExecutionFromModuleFailure events
2023
- * @param callback Function to call when event is emitted
2024
- * @param filter Optional filter for indexed parameters
2025
- * @returns Unwatch function to stop listening
2026
- */
2027
- ExecutionFromModuleFailure: (callback: (event: { module: `0x${string}` }) => void, filter?: { module: `0x${string}` }) => {
2028
- return this.publicClient.watchContractEvent({
2029
- address: this.contractAddress,
2030
- abi: GnosisSafe_jsonAbi,
2031
- eventName: 'ExecutionFromModuleFailure',
2032
- args: filter,
2033
- onLogs: (logs: any[]) => {
2034
- logs.forEach((log: any) => {
2035
- callback(log.args as any);
2036
- });
2037
- },
2038
- }) as () => void;
2039
- },
2040
- /**
2041
- * Watch ExecutionFromModuleSuccess events
2042
- * @param callback Function to call when event is emitted
2043
- * @param filter Optional filter for indexed parameters
2044
- * @returns Unwatch function to stop listening
2045
- */
2046
- ExecutionFromModuleSuccess: (callback: (event: { module: `0x${string}` }) => void, filter?: { module: `0x${string}` }) => {
2047
- return this.publicClient.watchContractEvent({
2048
- address: this.contractAddress,
2049
- abi: GnosisSafe_jsonAbi,
2050
- eventName: 'ExecutionFromModuleSuccess',
2051
- args: filter,
2052
- onLogs: (logs: any[]) => {
2053
- logs.forEach((log: any) => {
2054
- callback(log.args as any);
2055
- });
2056
- },
2057
- }) as () => void;
2058
- },
2059
- /**
2060
- * Watch ExecutionSuccess events
1730
+ * Watch DisabledModule events
2061
1731
  * @param callback Function to call when event is emitted
2062
1732
  * @param filter Optional filter for indexed parameters
2063
1733
  * @returns Unwatch function to stop listening
2064
1734
  */
2065
- ExecutionSuccess: (callback: (event: { txHash: `0x${string}`; payment: bigint }) => void) => {
1735
+ DisabledModule: (callback: (event: { module: `0x${string}` }) => void) => {
2066
1736
  return this.publicClient.watchContractEvent({
2067
1737
  address: this.contractAddress,
2068
1738
  abi: GnosisSafe_jsonAbi,
2069
- eventName: 'ExecutionSuccess',
1739
+ eventName: 'DisabledModule',
2070
1740
 
2071
1741
  onLogs: (logs: any[]) => {
2072
1742
  logs.forEach((log: any) => {
@@ -2076,36 +1746,17 @@ export class GnosisSafe_json {
2076
1746
  }) as () => void;
2077
1747
  },
2078
1748
  /**
2079
- * Watch RemovedOwner events
1749
+ * Watch ContractCreation events
2080
1750
  * @param callback Function to call when event is emitted
2081
1751
  * @param filter Optional filter for indexed parameters
2082
1752
  * @returns Unwatch function to stop listening
2083
1753
  */
2084
- RemovedOwner: (callback: (event: { owner: `0x${string}` }) => void) => {
1754
+ ContractCreation: (callback: (event: { newContract: `0x${string}` }) => void) => {
2085
1755
  return this.publicClient.watchContractEvent({
2086
1756
  address: this.contractAddress,
2087
1757
  abi: GnosisSafe_jsonAbi,
2088
- eventName: 'RemovedOwner',
1758
+ eventName: 'ContractCreation',
2089
1759
 
2090
- onLogs: (logs: any[]) => {
2091
- logs.forEach((log: any) => {
2092
- callback(log.args as any);
2093
- });
2094
- },
2095
- }) as () => void;
2096
- },
2097
- /**
2098
- * Watch SignMsg events
2099
- * @param callback Function to call when event is emitted
2100
- * @param filter Optional filter for indexed parameters
2101
- * @returns Unwatch function to stop listening
2102
- */
2103
- SignMsg: (callback: (event: { msgHash: `0x${string}` }) => void, filter?: { msgHash: `0x${string}` }) => {
2104
- return this.publicClient.watchContractEvent({
2105
- address: this.contractAddress,
2106
- abi: GnosisSafe_jsonAbi,
2107
- eventName: 'SignMsg',
2108
- args: filter,
2109
1760
  onLogs: (logs: any[]) => {
2110
1761
  logs.forEach((log: any) => {
2111
1762
  callback(log.args as any);