@gitmyabi/gnosissafe 1.0.120 → 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.
@@ -5,803 +5,595 @@ import type { Address, PublicClient, WalletClient } from 'viem';
5
5
  * This ABI is typed using viem's type system for full type safety.
6
6
  */
7
7
  export declare const GnosisSafe_jsonAbi: readonly [{
8
- readonly inputs: readonly [];
9
- readonly stateMutability: "nonpayable";
10
- readonly type: "constructor";
11
- }, {
12
- readonly anonymous: false;
8
+ readonly constant: true;
13
9
  readonly inputs: readonly [{
14
- readonly indexed: false;
15
- readonly internalType: "address";
16
- readonly name: "owner";
17
- readonly type: "address";
10
+ readonly name: "message";
11
+ readonly type: "bytes";
18
12
  }];
19
- readonly name: "AddedOwner";
20
- readonly type: "event";
21
- }, {
22
- readonly anonymous: false;
23
- readonly inputs: readonly [{
24
- readonly indexed: true;
25
- readonly internalType: "bytes32";
26
- readonly name: "approvedHash";
13
+ readonly name: "getMessageHash";
14
+ readonly outputs: readonly [{
15
+ readonly name: "";
27
16
  readonly type: "bytes32";
28
- }, {
29
- readonly indexed: true;
30
- readonly internalType: "address";
31
- readonly name: "owner";
32
- readonly type: "address";
33
17
  }];
34
- readonly name: "ApproveHash";
35
- readonly type: "event";
18
+ readonly payable: false;
19
+ readonly stateMutability: "view";
20
+ readonly type: "function";
36
21
  }, {
37
- readonly anonymous: false;
22
+ readonly constant: false;
38
23
  readonly inputs: readonly [{
39
- readonly indexed: false;
40
- readonly internalType: "address";
41
- readonly name: "handler";
24
+ readonly name: "owner";
42
25
  readonly type: "address";
26
+ }, {
27
+ readonly name: "_threshold";
28
+ readonly type: "uint256";
43
29
  }];
44
- readonly name: "ChangedFallbackHandler";
45
- readonly type: "event";
30
+ readonly name: "addOwnerWithThreshold";
31
+ readonly outputs: readonly [];
32
+ readonly payable: false;
33
+ readonly stateMutability: "nonpayable";
34
+ readonly type: "function";
46
35
  }, {
47
- readonly anonymous: false;
48
- readonly inputs: readonly [{
49
- readonly indexed: false;
50
- readonly internalType: "address";
51
- readonly name: "guard";
52
- readonly type: "address";
36
+ readonly constant: true;
37
+ readonly inputs: readonly [];
38
+ readonly name: "DOMAIN_SEPARATOR_TYPEHASH";
39
+ readonly outputs: readonly [{
40
+ readonly name: "";
41
+ readonly type: "bytes32";
53
42
  }];
54
- readonly name: "ChangedGuard";
55
- readonly type: "event";
43
+ readonly payable: false;
44
+ readonly stateMutability: "view";
45
+ readonly type: "function";
56
46
  }, {
57
- readonly anonymous: false;
47
+ readonly constant: false;
58
48
  readonly inputs: readonly [{
59
- readonly indexed: false;
60
- readonly internalType: "uint256";
61
- readonly name: "threshold";
62
- readonly type: "uint256";
49
+ readonly name: "_data";
50
+ readonly type: "bytes";
51
+ }, {
52
+ readonly name: "_signature";
53
+ readonly type: "bytes";
63
54
  }];
64
- readonly name: "ChangedThreshold";
65
- readonly type: "event";
66
- }, {
67
- readonly anonymous: false;
68
- readonly inputs: readonly [{
69
- readonly indexed: false;
70
- readonly internalType: "address";
71
- readonly name: "module";
72
- readonly type: "address";
55
+ readonly name: "isValidSignature";
56
+ readonly outputs: readonly [{
57
+ readonly name: "";
58
+ readonly type: "bytes4";
73
59
  }];
74
- readonly name: "DisabledModule";
75
- readonly type: "event";
60
+ readonly payable: false;
61
+ readonly stateMutability: "nonpayable";
62
+ readonly type: "function";
76
63
  }, {
77
- readonly anonymous: false;
64
+ readonly constant: true;
78
65
  readonly inputs: readonly [{
79
- readonly indexed: false;
80
- readonly internalType: "address";
81
- readonly name: "module";
66
+ readonly name: "owner";
82
67
  readonly type: "address";
83
68
  }];
84
- readonly name: "EnabledModule";
85
- readonly type: "event";
69
+ readonly name: "isOwner";
70
+ readonly outputs: readonly [{
71
+ readonly name: "";
72
+ readonly type: "bool";
73
+ }];
74
+ readonly payable: false;
75
+ readonly stateMutability: "view";
76
+ readonly type: "function";
86
77
  }, {
87
- readonly anonymous: false;
78
+ readonly constant: false;
88
79
  readonly inputs: readonly [{
89
- readonly indexed: false;
90
- readonly internalType: "bytes32";
91
- readonly name: "txHash";
92
- readonly type: "bytes32";
80
+ readonly name: "to";
81
+ readonly type: "address";
93
82
  }, {
94
- readonly indexed: false;
95
- readonly internalType: "uint256";
96
- readonly name: "payment";
83
+ readonly name: "value";
97
84
  readonly type: "uint256";
85
+ }, {
86
+ readonly name: "data";
87
+ readonly type: "bytes";
88
+ }, {
89
+ readonly name: "operation";
90
+ readonly type: "uint8";
98
91
  }];
99
- readonly name: "ExecutionFailure";
100
- readonly type: "event";
92
+ readonly name: "execTransactionFromModule";
93
+ readonly outputs: readonly [{
94
+ readonly name: "success";
95
+ readonly type: "bool";
96
+ }];
97
+ readonly payable: false;
98
+ readonly stateMutability: "nonpayable";
99
+ readonly type: "function";
101
100
  }, {
102
- readonly anonymous: false;
101
+ readonly constant: true;
103
102
  readonly inputs: readonly [{
104
- readonly indexed: true;
105
- readonly internalType: "address";
106
- readonly name: "module";
107
- readonly type: "address";
103
+ readonly name: "";
104
+ readonly type: "bytes32";
108
105
  }];
109
- readonly name: "ExecutionFromModuleFailure";
110
- readonly type: "event";
106
+ readonly name: "signedMessages";
107
+ readonly outputs: readonly [{
108
+ readonly name: "";
109
+ readonly type: "uint256";
110
+ }];
111
+ readonly payable: false;
112
+ readonly stateMutability: "view";
113
+ readonly type: "function";
111
114
  }, {
112
- readonly anonymous: false;
115
+ readonly constant: false;
113
116
  readonly inputs: readonly [{
114
- readonly indexed: true;
115
- readonly internalType: "address";
116
117
  readonly name: "module";
117
118
  readonly type: "address";
118
119
  }];
119
- readonly name: "ExecutionFromModuleSuccess";
120
- readonly type: "event";
120
+ readonly name: "enableModule";
121
+ readonly outputs: readonly [];
122
+ readonly payable: false;
123
+ readonly stateMutability: "nonpayable";
124
+ readonly type: "function";
121
125
  }, {
122
- readonly anonymous: false;
126
+ readonly constant: false;
123
127
  readonly inputs: readonly [{
124
- readonly indexed: false;
125
- readonly internalType: "bytes32";
126
- readonly name: "txHash";
127
- readonly type: "bytes32";
128
- }, {
129
- readonly indexed: false;
130
- readonly internalType: "uint256";
131
- readonly name: "payment";
128
+ readonly name: "_threshold";
132
129
  readonly type: "uint256";
133
130
  }];
134
- readonly name: "ExecutionSuccess";
135
- readonly type: "event";
136
- }, {
137
- readonly anonymous: false;
138
- readonly inputs: readonly [{
139
- readonly indexed: false;
140
- readonly internalType: "address";
141
- readonly name: "owner";
142
- readonly type: "address";
143
- }];
144
- readonly name: "RemovedOwner";
145
- readonly type: "event";
131
+ readonly name: "changeThreshold";
132
+ readonly outputs: readonly [];
133
+ readonly payable: false;
134
+ readonly stateMutability: "nonpayable";
135
+ readonly type: "function";
146
136
  }, {
147
- readonly anonymous: false;
137
+ readonly constant: false;
148
138
  readonly inputs: readonly [{
149
- readonly indexed: true;
150
- readonly internalType: "address";
151
- readonly name: "sender";
139
+ readonly name: "to";
152
140
  readonly type: "address";
153
141
  }, {
154
- readonly indexed: false;
155
- readonly internalType: "uint256";
156
142
  readonly name: "value";
157
143
  readonly type: "uint256";
158
- }];
159
- readonly name: "SafeReceived";
160
- readonly type: "event";
161
- }, {
162
- readonly anonymous: false;
163
- readonly inputs: readonly [{
164
- readonly indexed: true;
165
- readonly internalType: "address";
166
- readonly name: "initiator";
167
- readonly type: "address";
168
144
  }, {
169
- readonly indexed: false;
170
- readonly internalType: "address[]";
171
- readonly name: "owners";
172
- readonly type: "address[]";
145
+ readonly name: "data";
146
+ readonly type: "bytes";
173
147
  }, {
174
- readonly indexed: false;
175
- readonly internalType: "uint256";
176
- readonly name: "threshold";
148
+ readonly name: "operation";
149
+ readonly type: "uint8";
150
+ }, {
151
+ readonly name: "safeTxGas";
177
152
  readonly type: "uint256";
178
153
  }, {
179
- readonly indexed: false;
180
- readonly internalType: "address";
181
- readonly name: "initializer";
154
+ readonly name: "baseGas";
155
+ readonly type: "uint256";
156
+ }, {
157
+ readonly name: "gasPrice";
158
+ readonly type: "uint256";
159
+ }, {
160
+ readonly name: "gasToken";
182
161
  readonly type: "address";
183
162
  }, {
184
- readonly indexed: false;
185
- readonly internalType: "address";
186
- readonly name: "fallbackHandler";
163
+ readonly name: "refundReceiver";
187
164
  readonly type: "address";
165
+ }, {
166
+ readonly name: "signatures";
167
+ readonly type: "bytes";
188
168
  }];
189
- readonly name: "SafeSetup";
190
- readonly type: "event";
169
+ readonly name: "execTransaction";
170
+ readonly outputs: readonly [{
171
+ readonly name: "success";
172
+ readonly type: "bool";
173
+ }];
174
+ readonly payable: false;
175
+ readonly stateMutability: "nonpayable";
176
+ readonly type: "function";
191
177
  }, {
192
- readonly anonymous: false;
178
+ readonly constant: true;
193
179
  readonly inputs: readonly [{
194
- readonly indexed: true;
195
- readonly internalType: "bytes32";
196
- readonly name: "msgHash";
180
+ readonly name: "";
181
+ readonly type: "address";
182
+ }, {
183
+ readonly name: "";
197
184
  readonly type: "bytes32";
198
185
  }];
199
- readonly name: "SignMsg";
200
- readonly type: "event";
201
- }, {
202
- readonly stateMutability: "nonpayable";
203
- readonly type: "fallback";
204
- }, {
205
- readonly inputs: readonly [];
206
- readonly name: "VERSION";
186
+ readonly name: "approvedHashes";
207
187
  readonly outputs: readonly [{
208
- readonly internalType: "string";
209
188
  readonly name: "";
210
- readonly type: "string";
189
+ readonly type: "uint256";
211
190
  }];
191
+ readonly payable: false;
212
192
  readonly stateMutability: "view";
213
193
  readonly type: "function";
214
194
  }, {
195
+ readonly constant: false;
215
196
  readonly inputs: readonly [{
216
- readonly internalType: "address";
217
- readonly name: "owner";
197
+ readonly name: "_masterCopy";
218
198
  readonly type: "address";
219
- }, {
220
- readonly internalType: "uint256";
221
- readonly name: "_threshold";
222
- readonly type: "uint256";
223
199
  }];
224
- readonly name: "addOwnerWithThreshold";
200
+ readonly name: "changeMasterCopy";
225
201
  readonly outputs: readonly [];
202
+ readonly payable: false;
226
203
  readonly stateMutability: "nonpayable";
227
204
  readonly type: "function";
228
205
  }, {
206
+ readonly constant: false;
229
207
  readonly inputs: readonly [{
230
- readonly internalType: "bytes32";
231
- readonly name: "hashToApprove";
232
- readonly type: "bytes32";
208
+ readonly name: "_data";
209
+ readonly type: "bytes";
233
210
  }];
234
- readonly name: "approveHash";
211
+ readonly name: "signMessage";
235
212
  readonly outputs: readonly [];
213
+ readonly payable: false;
236
214
  readonly stateMutability: "nonpayable";
237
215
  readonly type: "function";
238
216
  }, {
239
- readonly inputs: readonly [{
240
- readonly internalType: "address";
217
+ readonly constant: true;
218
+ readonly inputs: readonly [];
219
+ readonly name: "SENTINEL_MODULES";
220
+ readonly outputs: readonly [{
241
221
  readonly name: "";
242
222
  readonly type: "address";
243
- }, {
244
- readonly internalType: "bytes32";
245
- readonly name: "";
246
- readonly type: "bytes32";
247
223
  }];
248
- readonly name: "approvedHashes";
224
+ readonly payable: false;
225
+ readonly stateMutability: "view";
226
+ readonly type: "function";
227
+ }, {
228
+ readonly constant: true;
229
+ readonly inputs: readonly [];
230
+ readonly name: "SENTINEL_OWNERS";
249
231
  readonly outputs: readonly [{
250
- readonly internalType: "uint256";
251
232
  readonly name: "";
252
- readonly type: "uint256";
233
+ readonly type: "address";
253
234
  }];
235
+ readonly payable: false;
254
236
  readonly stateMutability: "view";
255
237
  readonly type: "function";
256
238
  }, {
257
- readonly inputs: readonly [{
258
- readonly internalType: "uint256";
259
- readonly name: "_threshold";
260
- readonly type: "uint256";
239
+ readonly constant: true;
240
+ readonly inputs: readonly [];
241
+ readonly name: "getOwners";
242
+ readonly outputs: readonly [{
243
+ readonly name: "";
244
+ readonly type: "address[]";
261
245
  }];
262
- readonly name: "changeThreshold";
263
- readonly outputs: readonly [];
264
- readonly stateMutability: "nonpayable";
246
+ readonly payable: false;
247
+ readonly stateMutability: "view";
265
248
  readonly type: "function";
266
249
  }, {
267
- readonly inputs: readonly [{
268
- readonly internalType: "bytes32";
269
- readonly name: "dataHash";
270
- readonly type: "bytes32";
271
- }, {
272
- readonly internalType: "bytes";
273
- readonly name: "data";
274
- readonly type: "bytes";
275
- }, {
276
- readonly internalType: "bytes";
277
- readonly name: "signatures";
278
- readonly type: "bytes";
279
- }, {
280
- readonly internalType: "uint256";
281
- readonly name: "requiredSignatures";
282
- readonly type: "uint256";
250
+ readonly constant: true;
251
+ readonly inputs: readonly [];
252
+ readonly name: "NAME";
253
+ readonly outputs: readonly [{
254
+ readonly name: "";
255
+ readonly type: "string";
283
256
  }];
284
- readonly name: "checkNSignatures";
285
- readonly outputs: readonly [];
257
+ readonly payable: false;
286
258
  readonly stateMutability: "view";
287
259
  readonly type: "function";
288
260
  }, {
261
+ readonly constant: false;
289
262
  readonly inputs: readonly [{
290
- readonly internalType: "bytes32";
291
- readonly name: "dataHash";
292
- readonly type: "bytes32";
263
+ readonly name: "_owners";
264
+ readonly type: "address[]";
265
+ }, {
266
+ readonly name: "_threshold";
267
+ readonly type: "uint256";
268
+ }, {
269
+ readonly name: "to";
270
+ readonly type: "address";
293
271
  }, {
294
- readonly internalType: "bytes";
295
272
  readonly name: "data";
296
273
  readonly type: "bytes";
297
274
  }, {
298
- readonly internalType: "bytes";
299
- readonly name: "signatures";
300
- readonly type: "bytes";
301
- }];
302
- readonly name: "checkSignatures";
303
- readonly outputs: readonly [];
304
- readonly stateMutability: "view";
305
- readonly type: "function";
306
- }, {
307
- readonly inputs: readonly [{
308
- readonly internalType: "address";
309
- readonly name: "prevModule";
275
+ readonly name: "paymentToken";
310
276
  readonly type: "address";
311
277
  }, {
312
- readonly internalType: "address";
313
- readonly name: "module";
278
+ readonly name: "payment";
279
+ readonly type: "uint256";
280
+ }, {
281
+ readonly name: "paymentReceiver";
314
282
  readonly type: "address";
315
283
  }];
316
- readonly name: "disableModule";
284
+ readonly name: "setup";
317
285
  readonly outputs: readonly [];
286
+ readonly payable: false;
318
287
  readonly stateMutability: "nonpayable";
319
288
  readonly type: "function";
320
289
  }, {
290
+ readonly constant: true;
321
291
  readonly inputs: readonly [];
322
- readonly name: "domainSeparator";
292
+ readonly name: "nonce";
323
293
  readonly outputs: readonly [{
324
- readonly internalType: "bytes32";
325
294
  readonly name: "";
326
- readonly type: "bytes32";
295
+ readonly type: "uint256";
327
296
  }];
297
+ readonly payable: false;
328
298
  readonly stateMutability: "view";
329
299
  readonly type: "function";
330
300
  }, {
331
- readonly inputs: readonly [{
332
- readonly internalType: "address";
333
- readonly name: "module";
334
- readonly type: "address";
301
+ readonly constant: true;
302
+ readonly inputs: readonly [];
303
+ readonly name: "getModules";
304
+ readonly outputs: readonly [{
305
+ readonly name: "";
306
+ readonly type: "address[]";
335
307
  }];
336
- readonly name: "enableModule";
337
- readonly outputs: readonly [];
338
- readonly stateMutability: "nonpayable";
308
+ readonly payable: false;
309
+ readonly stateMutability: "view";
310
+ readonly type: "function";
311
+ }, {
312
+ readonly constant: true;
313
+ readonly inputs: readonly [];
314
+ readonly name: "SAFE_MSG_TYPEHASH";
315
+ readonly outputs: readonly [{
316
+ readonly name: "";
317
+ readonly type: "bytes32";
318
+ }];
319
+ readonly payable: false;
320
+ readonly stateMutability: "view";
339
321
  readonly type: "function";
340
322
  }, {
323
+ readonly constant: false;
341
324
  readonly inputs: readonly [{
342
- readonly internalType: "address";
343
325
  readonly name: "to";
344
326
  readonly type: "address";
345
327
  }, {
346
- readonly internalType: "uint256";
347
328
  readonly name: "value";
348
329
  readonly type: "uint256";
349
330
  }, {
350
- readonly internalType: "bytes";
351
331
  readonly name: "data";
352
332
  readonly type: "bytes";
353
333
  }, {
354
- readonly internalType: "enum Enum.Operation";
355
334
  readonly name: "operation";
356
335
  readonly type: "uint8";
357
- }, {
358
- readonly internalType: "uint256";
359
- readonly name: "safeTxGas";
360
- readonly type: "uint256";
361
- }, {
362
- readonly internalType: "uint256";
363
- readonly name: "baseGas";
364
- readonly type: "uint256";
365
- }, {
366
- readonly internalType: "uint256";
367
- readonly name: "gasPrice";
368
- readonly type: "uint256";
369
- }, {
370
- readonly internalType: "address";
371
- readonly name: "gasToken";
372
- readonly type: "address";
373
- }, {
374
- readonly internalType: "address";
375
- readonly name: "refundReceiver";
376
- readonly type: "address";
377
- }, {
378
- readonly internalType: "uint256";
379
- readonly name: "_nonce";
336
+ }];
337
+ readonly name: "requiredTxGas";
338
+ readonly outputs: readonly [{
339
+ readonly name: "";
380
340
  readonly type: "uint256";
381
341
  }];
382
- readonly name: "encodeTransactionData";
342
+ readonly payable: false;
343
+ readonly stateMutability: "nonpayable";
344
+ readonly type: "function";
345
+ }, {
346
+ readonly constant: true;
347
+ readonly inputs: readonly [];
348
+ readonly name: "SAFE_TX_TYPEHASH";
383
349
  readonly outputs: readonly [{
384
- readonly internalType: "bytes";
385
350
  readonly name: "";
386
- readonly type: "bytes";
351
+ readonly type: "bytes32";
387
352
  }];
353
+ readonly payable: false;
388
354
  readonly stateMutability: "view";
389
355
  readonly type: "function";
390
356
  }, {
357
+ readonly constant: false;
358
+ readonly inputs: readonly [{
359
+ readonly name: "hashToApprove";
360
+ readonly type: "bytes32";
361
+ }];
362
+ readonly name: "approveHash";
363
+ readonly outputs: readonly [];
364
+ readonly payable: false;
365
+ readonly stateMutability: "nonpayable";
366
+ readonly type: "function";
367
+ }, {
368
+ readonly constant: true;
391
369
  readonly inputs: readonly [{
392
- readonly internalType: "address";
393
370
  readonly name: "to";
394
371
  readonly type: "address";
395
372
  }, {
396
- readonly internalType: "uint256";
397
373
  readonly name: "value";
398
374
  readonly type: "uint256";
399
375
  }, {
400
- readonly internalType: "bytes";
401
376
  readonly name: "data";
402
377
  readonly type: "bytes";
403
378
  }, {
404
- readonly internalType: "enum Enum.Operation";
405
379
  readonly name: "operation";
406
380
  readonly type: "uint8";
407
381
  }, {
408
- readonly internalType: "uint256";
409
382
  readonly name: "safeTxGas";
410
383
  readonly type: "uint256";
411
384
  }, {
412
- readonly internalType: "uint256";
413
385
  readonly name: "baseGas";
414
386
  readonly type: "uint256";
415
387
  }, {
416
- readonly internalType: "uint256";
417
388
  readonly name: "gasPrice";
418
389
  readonly type: "uint256";
419
390
  }, {
420
- readonly internalType: "address";
421
391
  readonly name: "gasToken";
422
392
  readonly type: "address";
423
393
  }, {
424
- readonly internalType: "address payable";
425
394
  readonly name: "refundReceiver";
426
395
  readonly type: "address";
427
396
  }, {
428
- readonly internalType: "bytes";
429
- readonly name: "signatures";
430
- readonly type: "bytes";
431
- }];
432
- readonly name: "execTransaction";
433
- readonly outputs: readonly [{
434
- readonly internalType: "bool";
435
- readonly name: "success";
436
- readonly type: "bool";
437
- }];
438
- readonly stateMutability: "payable";
439
- readonly type: "function";
440
- }, {
441
- readonly inputs: readonly [{
442
- readonly internalType: "address";
443
- readonly name: "to";
444
- readonly type: "address";
445
- }, {
446
- readonly internalType: "uint256";
447
- readonly name: "value";
397
+ readonly name: "_nonce";
448
398
  readonly type: "uint256";
449
- }, {
450
- readonly internalType: "bytes";
451
- readonly name: "data";
452
- readonly type: "bytes";
453
- }, {
454
- readonly internalType: "enum Enum.Operation";
455
- readonly name: "operation";
456
- readonly type: "uint8";
457
399
  }];
458
- readonly name: "execTransactionFromModule";
400
+ readonly name: "getTransactionHash";
459
401
  readonly outputs: readonly [{
460
- readonly internalType: "bool";
461
- readonly name: "success";
462
- readonly type: "bool";
402
+ readonly name: "";
403
+ readonly type: "bytes32";
463
404
  }];
464
- readonly stateMutability: "nonpayable";
405
+ readonly payable: false;
406
+ readonly stateMutability: "view";
465
407
  readonly type: "function";
466
408
  }, {
409
+ readonly constant: false;
467
410
  readonly inputs: readonly [{
468
- readonly internalType: "address";
469
- readonly name: "to";
411
+ readonly name: "prevModule";
470
412
  readonly type: "address";
471
413
  }, {
472
- readonly internalType: "uint256";
473
- readonly name: "value";
474
- readonly type: "uint256";
475
- }, {
476
- readonly internalType: "bytes";
477
- readonly name: "data";
478
- readonly type: "bytes";
479
- }, {
480
- readonly internalType: "enum Enum.Operation";
481
- readonly name: "operation";
482
- readonly type: "uint8";
483
- }];
484
- readonly name: "execTransactionFromModuleReturnData";
485
- readonly outputs: readonly [{
486
- readonly internalType: "bool";
487
- readonly name: "success";
488
- readonly type: "bool";
489
- }, {
490
- readonly internalType: "bytes";
491
- readonly name: "returnData";
492
- readonly type: "bytes";
414
+ readonly name: "module";
415
+ readonly type: "address";
493
416
  }];
417
+ readonly name: "disableModule";
418
+ readonly outputs: readonly [];
419
+ readonly payable: false;
494
420
  readonly stateMutability: "nonpayable";
495
421
  readonly type: "function";
496
422
  }, {
497
- readonly inputs: readonly [];
498
- readonly name: "getChainId";
499
- readonly outputs: readonly [{
500
- readonly internalType: "uint256";
501
- readonly name: "";
502
- readonly type: "uint256";
503
- }];
504
- readonly stateMutability: "view";
505
- readonly type: "function";
506
- }, {
423
+ readonly constant: false;
507
424
  readonly inputs: readonly [{
508
- readonly internalType: "address";
509
- readonly name: "start";
425
+ readonly name: "prevOwner";
510
426
  readonly type: "address";
511
427
  }, {
512
- readonly internalType: "uint256";
513
- readonly name: "pageSize";
514
- readonly type: "uint256";
515
- }];
516
- readonly name: "getModulesPaginated";
517
- readonly outputs: readonly [{
518
- readonly internalType: "address[]";
519
- readonly name: "array";
520
- readonly type: "address[]";
521
- }, {
522
- readonly internalType: "address";
523
- readonly name: "next";
428
+ readonly name: "oldOwner";
524
429
  readonly type: "address";
525
- }];
526
- readonly stateMutability: "view";
527
- readonly type: "function";
528
- }, {
529
- readonly inputs: readonly [];
530
- readonly name: "getOwners";
531
- readonly outputs: readonly [{
532
- readonly internalType: "address[]";
533
- readonly name: "";
534
- readonly type: "address[]";
535
- }];
536
- readonly stateMutability: "view";
537
- readonly type: "function";
538
- }, {
539
- readonly inputs: readonly [{
540
- readonly internalType: "uint256";
541
- readonly name: "offset";
542
- readonly type: "uint256";
543
430
  }, {
544
- readonly internalType: "uint256";
545
- readonly name: "length";
546
- readonly type: "uint256";
547
- }];
548
- readonly name: "getStorageAt";
549
- readonly outputs: readonly [{
550
- readonly internalType: "bytes";
551
- readonly name: "";
552
- readonly type: "bytes";
431
+ readonly name: "newOwner";
432
+ readonly type: "address";
553
433
  }];
554
- readonly stateMutability: "view";
434
+ readonly name: "swapOwner";
435
+ readonly outputs: readonly [];
436
+ readonly payable: false;
437
+ readonly stateMutability: "nonpayable";
555
438
  readonly type: "function";
556
439
  }, {
440
+ readonly constant: true;
557
441
  readonly inputs: readonly [];
558
442
  readonly name: "getThreshold";
559
443
  readonly outputs: readonly [{
560
- readonly internalType: "uint256";
561
444
  readonly name: "";
562
445
  readonly type: "uint256";
563
446
  }];
447
+ readonly payable: false;
564
448
  readonly stateMutability: "view";
565
449
  readonly type: "function";
566
450
  }, {
451
+ readonly constant: true;
567
452
  readonly inputs: readonly [{
568
- readonly internalType: "address";
569
453
  readonly name: "to";
570
454
  readonly type: "address";
571
455
  }, {
572
- readonly internalType: "uint256";
573
456
  readonly name: "value";
574
457
  readonly type: "uint256";
575
458
  }, {
576
- readonly internalType: "bytes";
577
459
  readonly name: "data";
578
460
  readonly type: "bytes";
579
461
  }, {
580
- readonly internalType: "enum Enum.Operation";
581
462
  readonly name: "operation";
582
463
  readonly type: "uint8";
583
464
  }, {
584
- readonly internalType: "uint256";
585
465
  readonly name: "safeTxGas";
586
466
  readonly type: "uint256";
587
467
  }, {
588
- readonly internalType: "uint256";
589
468
  readonly name: "baseGas";
590
469
  readonly type: "uint256";
591
470
  }, {
592
- readonly internalType: "uint256";
593
471
  readonly name: "gasPrice";
594
472
  readonly type: "uint256";
595
473
  }, {
596
- readonly internalType: "address";
597
474
  readonly name: "gasToken";
598
475
  readonly type: "address";
599
476
  }, {
600
- readonly internalType: "address";
601
477
  readonly name: "refundReceiver";
602
478
  readonly type: "address";
603
479
  }, {
604
- readonly internalType: "uint256";
605
480
  readonly name: "_nonce";
606
481
  readonly type: "uint256";
607
482
  }];
608
- readonly name: "getTransactionHash";
609
- readonly outputs: readonly [{
610
- readonly internalType: "bytes32";
611
- readonly name: "";
612
- readonly type: "bytes32";
613
- }];
614
- readonly stateMutability: "view";
615
- readonly type: "function";
616
- }, {
617
- readonly inputs: readonly [{
618
- readonly internalType: "address";
619
- readonly name: "module";
620
- readonly type: "address";
621
- }];
622
- readonly name: "isModuleEnabled";
623
- readonly outputs: readonly [{
624
- readonly internalType: "bool";
625
- readonly name: "";
626
- readonly type: "bool";
627
- }];
628
- readonly stateMutability: "view";
629
- readonly type: "function";
630
- }, {
631
- readonly inputs: readonly [{
632
- readonly internalType: "address";
633
- readonly name: "owner";
634
- readonly type: "address";
635
- }];
636
- readonly name: "isOwner";
483
+ readonly name: "encodeTransactionData";
637
484
  readonly outputs: readonly [{
638
- readonly internalType: "bool";
639
485
  readonly name: "";
640
- readonly type: "bool";
486
+ readonly type: "bytes";
641
487
  }];
488
+ readonly payable: false;
642
489
  readonly stateMutability: "view";
643
490
  readonly type: "function";
644
491
  }, {
492
+ readonly constant: true;
645
493
  readonly inputs: readonly [];
646
- readonly name: "nonce";
494
+ readonly name: "domainSeparator";
647
495
  readonly outputs: readonly [{
648
- readonly internalType: "uint256";
649
496
  readonly name: "";
650
- readonly type: "uint256";
497
+ readonly type: "bytes32";
651
498
  }];
499
+ readonly payable: false;
652
500
  readonly stateMutability: "view";
653
501
  readonly type: "function";
654
502
  }, {
503
+ readonly constant: false;
655
504
  readonly inputs: readonly [{
656
- readonly internalType: "address";
657
505
  readonly name: "prevOwner";
658
506
  readonly type: "address";
659
507
  }, {
660
- readonly internalType: "address";
661
508
  readonly name: "owner";
662
509
  readonly type: "address";
663
510
  }, {
664
- readonly internalType: "uint256";
665
511
  readonly name: "_threshold";
666
512
  readonly type: "uint256";
667
513
  }];
668
514
  readonly name: "removeOwner";
669
515
  readonly outputs: readonly [];
516
+ readonly payable: false;
670
517
  readonly stateMutability: "nonpayable";
671
518
  readonly type: "function";
672
519
  }, {
673
- readonly inputs: readonly [{
674
- readonly internalType: "address";
675
- readonly name: "to";
676
- readonly type: "address";
677
- }, {
678
- readonly internalType: "uint256";
679
- readonly name: "value";
680
- readonly type: "uint256";
681
- }, {
682
- readonly internalType: "bytes";
683
- readonly name: "data";
684
- readonly type: "bytes";
685
- }, {
686
- readonly internalType: "enum Enum.Operation";
687
- readonly name: "operation";
688
- readonly type: "uint8";
689
- }];
690
- readonly name: "requiredTxGas";
520
+ readonly constant: true;
521
+ readonly inputs: readonly [];
522
+ readonly name: "VERSION";
691
523
  readonly outputs: readonly [{
692
- readonly internalType: "uint256";
693
524
  readonly name: "";
694
- readonly type: "uint256";
525
+ readonly type: "string";
695
526
  }];
696
- readonly stateMutability: "nonpayable";
527
+ readonly payable: false;
528
+ readonly stateMutability: "view";
697
529
  readonly type: "function";
698
530
  }, {
531
+ readonly payable: true;
532
+ readonly stateMutability: "payable";
533
+ readonly type: "fallback";
534
+ }, {
535
+ readonly anonymous: false;
699
536
  readonly inputs: readonly [{
700
- readonly internalType: "address";
701
- readonly name: "handler";
702
- readonly type: "address";
537
+ readonly indexed: false;
538
+ readonly name: "txHash";
539
+ readonly type: "bytes32";
703
540
  }];
704
- readonly name: "setFallbackHandler";
705
- readonly outputs: readonly [];
706
- readonly stateMutability: "nonpayable";
707
- readonly type: "function";
541
+ readonly name: "ExecutionFailed";
542
+ readonly type: "event";
708
543
  }, {
544
+ readonly anonymous: false;
709
545
  readonly inputs: readonly [{
710
- readonly internalType: "address";
711
- readonly name: "guard";
546
+ readonly indexed: false;
547
+ readonly name: "owner";
712
548
  readonly type: "address";
713
549
  }];
714
- readonly name: "setGuard";
715
- readonly outputs: readonly [];
716
- readonly stateMutability: "nonpayable";
717
- readonly type: "function";
550
+ readonly name: "AddedOwner";
551
+ readonly type: "event";
718
552
  }, {
553
+ readonly anonymous: false;
719
554
  readonly inputs: readonly [{
720
- readonly internalType: "address[]";
721
- readonly name: "_owners";
722
- readonly type: "address[]";
723
- }, {
724
- readonly internalType: "uint256";
725
- readonly name: "_threshold";
726
- readonly type: "uint256";
727
- }, {
728
- readonly internalType: "address";
729
- readonly name: "to";
730
- readonly type: "address";
731
- }, {
732
- readonly internalType: "bytes";
733
- readonly name: "data";
734
- readonly type: "bytes";
735
- }, {
736
- readonly internalType: "address";
737
- readonly name: "fallbackHandler";
738
- readonly type: "address";
739
- }, {
740
- readonly internalType: "address";
741
- readonly name: "paymentToken";
742
- readonly type: "address";
743
- }, {
744
- readonly internalType: "uint256";
745
- readonly name: "payment";
746
- readonly type: "uint256";
747
- }, {
748
- readonly internalType: "address payable";
749
- readonly name: "paymentReceiver";
750
- readonly type: "address";
751
- }];
752
- readonly name: "setup";
753
- readonly outputs: readonly [];
754
- readonly stateMutability: "nonpayable";
755
- readonly type: "function";
555
+ readonly indexed: false;
556
+ readonly name: "owner";
557
+ readonly type: "address";
558
+ }];
559
+ readonly name: "RemovedOwner";
560
+ readonly type: "event";
756
561
  }, {
562
+ readonly anonymous: false;
757
563
  readonly inputs: readonly [{
758
- readonly internalType: "bytes32";
759
- readonly name: "";
760
- readonly type: "bytes32";
761
- }];
762
- readonly name: "signedMessages";
763
- readonly outputs: readonly [{
764
- readonly internalType: "uint256";
765
- readonly name: "";
564
+ readonly indexed: false;
565
+ readonly name: "threshold";
766
566
  readonly type: "uint256";
767
567
  }];
768
- readonly stateMutability: "view";
769
- readonly type: "function";
568
+ readonly name: "ChangedThreshold";
569
+ readonly type: "event";
770
570
  }, {
571
+ readonly anonymous: false;
771
572
  readonly inputs: readonly [{
772
- readonly internalType: "address";
773
- readonly name: "targetContract";
573
+ readonly indexed: false;
574
+ readonly name: "module";
774
575
  readonly type: "address";
775
- }, {
776
- readonly internalType: "bytes";
777
- readonly name: "calldataPayload";
778
- readonly type: "bytes";
779
576
  }];
780
- readonly name: "simulateAndRevert";
781
- readonly outputs: readonly [];
782
- readonly stateMutability: "nonpayable";
783
- readonly type: "function";
577
+ readonly name: "EnabledModule";
578
+ readonly type: "event";
784
579
  }, {
580
+ readonly anonymous: false;
785
581
  readonly inputs: readonly [{
786
- readonly internalType: "address";
787
- readonly name: "prevOwner";
788
- readonly type: "address";
789
- }, {
790
- readonly internalType: "address";
791
- readonly name: "oldOwner";
792
- readonly type: "address";
793
- }, {
794
- readonly internalType: "address";
795
- readonly name: "newOwner";
582
+ readonly indexed: false;
583
+ readonly name: "module";
796
584
  readonly type: "address";
797
585
  }];
798
- readonly name: "swapOwner";
799
- readonly outputs: readonly [];
800
- readonly stateMutability: "nonpayable";
801
- readonly type: "function";
586
+ readonly name: "DisabledModule";
587
+ readonly type: "event";
802
588
  }, {
803
- readonly stateMutability: "payable";
804
- readonly type: "receive";
589
+ readonly anonymous: false;
590
+ readonly inputs: readonly [{
591
+ readonly indexed: false;
592
+ readonly name: "newContract";
593
+ readonly type: "address";
594
+ }];
595
+ readonly name: "ContractCreation";
596
+ readonly type: "event";
805
597
  }];
806
598
  /**
807
599
  * Type-safe ABI for GnosisSafe_json
@@ -860,85 +652,95 @@ export declare class GnosisSafe_json {
860
652
  */
861
653
  getContract(): GnosisSafe_jsonContract;
862
654
  /**
863
- * VERSION
655
+ * getMessageHash
864
656
  * view
865
657
  */
866
- VERSION(): Promise<string>;
658
+ getMessageHash(message: `0x${string}`): Promise<`0x${string}`>;
867
659
  /**
868
- * approvedHashes
660
+ * DOMAIN_SEPARATOR_TYPEHASH
869
661
  * view
870
662
  */
871
- approvedHashes(arg0: `0x${string}`, arg1: `0x${string}`): Promise<bigint>;
663
+ DOMAIN_SEPARATOR_TYPEHASH(): Promise<`0x${string}`>;
872
664
  /**
873
- * checkNSignatures
665
+ * isOwner
874
666
  * view
875
667
  */
876
- checkNSignatures(dataHash: `0x${string}`, data: `0x${string}`, signatures: `0x${string}`, requiredSignatures: bigint): Promise<void>;
668
+ isOwner(owner: `0x${string}`): Promise<boolean>;
877
669
  /**
878
- * checkSignatures
670
+ * signedMessages
879
671
  * view
880
672
  */
881
- checkSignatures(dataHash: `0x${string}`, data: `0x${string}`, signatures: `0x${string}`): Promise<void>;
673
+ signedMessages(arg0: `0x${string}`): Promise<bigint>;
882
674
  /**
883
- * domainSeparator
675
+ * approvedHashes
884
676
  * view
885
677
  */
886
- domainSeparator(): Promise<`0x${string}`>;
678
+ approvedHashes(arg0: `0x${string}`, arg1: `0x${string}`): Promise<bigint>;
887
679
  /**
888
- * encodeTransactionData
680
+ * SENTINEL_MODULES
889
681
  * view
890
682
  */
891
- 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}`>;
683
+ SENTINEL_MODULES(): Promise<`0x${string}`>;
892
684
  /**
893
- * getChainId
685
+ * SENTINEL_OWNERS
894
686
  * view
895
687
  */
896
- getChainId(): Promise<bigint>;
688
+ SENTINEL_OWNERS(): Promise<`0x${string}`>;
897
689
  /**
898
- * getModulesPaginated
690
+ * getOwners
899
691
  * view
900
692
  */
901
- getModulesPaginated(start: `0x${string}`, pageSize: bigint): Promise<[`0x${string}`[], `0x${string}`]>;
693
+ getOwners(): Promise<`0x${string}`[]>;
902
694
  /**
903
- * getOwners
695
+ * NAME
904
696
  * view
905
697
  */
906
- getOwners(): Promise<`0x${string}`[]>;
698
+ NAME(): Promise<string>;
907
699
  /**
908
- * getStorageAt
700
+ * nonce
909
701
  * view
910
702
  */
911
- getStorageAt(offset: bigint, length: bigint): Promise<`0x${string}`>;
703
+ nonce(): Promise<bigint>;
912
704
  /**
913
- * getThreshold
705
+ * getModules
914
706
  * view
915
707
  */
916
- getThreshold(): Promise<bigint>;
708
+ getModules(): Promise<`0x${string}`[]>;
709
+ /**
710
+ * SAFE_MSG_TYPEHASH
711
+ * view
712
+ */
713
+ SAFE_MSG_TYPEHASH(): Promise<`0x${string}`>;
714
+ /**
715
+ * SAFE_TX_TYPEHASH
716
+ * view
717
+ */
718
+ SAFE_TX_TYPEHASH(): Promise<`0x${string}`>;
917
719
  /**
918
720
  * getTransactionHash
919
721
  * view
920
722
  */
921
723
  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}`>;
922
724
  /**
923
- * isModuleEnabled
725
+ * getThreshold
924
726
  * view
925
727
  */
926
- isModuleEnabled(module: `0x${string}`): Promise<boolean>;
728
+ getThreshold(): Promise<bigint>;
927
729
  /**
928
- * isOwner
730
+ * encodeTransactionData
929
731
  * view
930
732
  */
931
- isOwner(owner: `0x${string}`): Promise<boolean>;
733
+ 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}`>;
932
734
  /**
933
- * nonce
735
+ * domainSeparator
934
736
  * view
935
737
  */
936
- nonce(): Promise<bigint>;
738
+ domainSeparator(): Promise<`0x${string}`>;
937
739
  /**
938
- * signedMessages
740
+ * VERSION
939
741
  * view
940
742
  */
941
- signedMessages(arg0: `0x${string}`): Promise<bigint>;
743
+ VERSION(): Promise<string>;
942
744
  /**
943
745
  * addOwnerWithThreshold
944
746
  * nonpayable
@@ -957,11 +759,11 @@ export declare class GnosisSafe_json {
957
759
  value?: bigint;
958
760
  }): Promise<`0x${string}`>;
959
761
  /**
960
- * approveHash
762
+ * isValidSignature
961
763
  * nonpayable
962
764
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
963
765
  */
964
- approveHash(hashToApprove: `0x${string}`, options?: {
766
+ isValidSignature(_data: `0x${string}`, _signature: `0x${string}`, options?: {
965
767
  accessList?: import('viem').AccessList;
966
768
  authorizationList?: import('viem').AuthorizationList;
967
769
  chain?: import('viem').Chain | null;
@@ -974,11 +776,11 @@ export declare class GnosisSafe_json {
974
776
  value?: bigint;
975
777
  }): Promise<`0x${string}`>;
976
778
  /**
977
- * changeThreshold
779
+ * execTransactionFromModule
978
780
  * nonpayable
979
781
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
980
782
  */
981
- changeThreshold(_threshold: bigint, options?: {
783
+ execTransactionFromModule(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
982
784
  accessList?: import('viem').AccessList;
983
785
  authorizationList?: import('viem').AuthorizationList;
984
786
  chain?: import('viem').Chain | null;
@@ -991,11 +793,11 @@ export declare class GnosisSafe_json {
991
793
  value?: bigint;
992
794
  }): Promise<`0x${string}`>;
993
795
  /**
994
- * disableModule
796
+ * enableModule
995
797
  * nonpayable
996
798
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
997
799
  */
998
- disableModule(prevModule: `0x${string}`, module: `0x${string}`, options?: {
800
+ enableModule(module: `0x${string}`, options?: {
999
801
  accessList?: import('viem').AccessList;
1000
802
  authorizationList?: import('viem').AuthorizationList;
1001
803
  chain?: import('viem').Chain | null;
@@ -1008,11 +810,11 @@ export declare class GnosisSafe_json {
1008
810
  value?: bigint;
1009
811
  }): Promise<`0x${string}`>;
1010
812
  /**
1011
- * enableModule
813
+ * changeThreshold
1012
814
  * nonpayable
1013
815
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1014
816
  */
1015
- enableModule(module: `0x${string}`, options?: {
817
+ changeThreshold(_threshold: bigint, options?: {
1016
818
  accessList?: import('viem').AccessList;
1017
819
  authorizationList?: import('viem').AuthorizationList;
1018
820
  chain?: import('viem').Chain | null;
@@ -1026,7 +828,7 @@ export declare class GnosisSafe_json {
1026
828
  }): Promise<`0x${string}`>;
1027
829
  /**
1028
830
  * execTransaction
1029
- * payable
831
+ * nonpayable
1030
832
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1031
833
  */
1032
834
  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?: {
@@ -1042,11 +844,11 @@ export declare class GnosisSafe_json {
1042
844
  value?: bigint;
1043
845
  }): Promise<`0x${string}`>;
1044
846
  /**
1045
- * execTransactionFromModule
847
+ * changeMasterCopy
1046
848
  * nonpayable
1047
849
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1048
850
  */
1049
- execTransactionFromModule(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
851
+ changeMasterCopy(_masterCopy: `0x${string}`, options?: {
1050
852
  accessList?: import('viem').AccessList;
1051
853
  authorizationList?: import('viem').AuthorizationList;
1052
854
  chain?: import('viem').Chain | null;
@@ -1059,11 +861,11 @@ export declare class GnosisSafe_json {
1059
861
  value?: bigint;
1060
862
  }): Promise<`0x${string}`>;
1061
863
  /**
1062
- * execTransactionFromModuleReturnData
864
+ * signMessage
1063
865
  * nonpayable
1064
866
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1065
867
  */
1066
- execTransactionFromModuleReturnData(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
868
+ signMessage(_data: `0x${string}`, options?: {
1067
869
  accessList?: import('viem').AccessList;
1068
870
  authorizationList?: import('viem').AuthorizationList;
1069
871
  chain?: import('viem').Chain | null;
@@ -1076,11 +878,11 @@ export declare class GnosisSafe_json {
1076
878
  value?: bigint;
1077
879
  }): Promise<`0x${string}`>;
1078
880
  /**
1079
- * removeOwner
881
+ * setup
1080
882
  * nonpayable
1081
883
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1082
884
  */
1083
- removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
885
+ setup(_owners: `0x${string}`[], _threshold: bigint, to: `0x${string}`, data: `0x${string}`, paymentToken: `0x${string}`, payment: bigint, paymentReceiver: `0x${string}`, options?: {
1084
886
  accessList?: import('viem').AccessList;
1085
887
  authorizationList?: import('viem').AuthorizationList;
1086
888
  chain?: import('viem').Chain | null;
@@ -1110,28 +912,11 @@ export declare class GnosisSafe_json {
1110
912
  value?: bigint;
1111
913
  }): Promise<`0x${string}`>;
1112
914
  /**
1113
- * setFallbackHandler
1114
- * nonpayable
1115
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1116
- */
1117
- setFallbackHandler(handler: `0x${string}`, options?: {
1118
- accessList?: import('viem').AccessList;
1119
- authorizationList?: import('viem').AuthorizationList;
1120
- chain?: import('viem').Chain | null;
1121
- dataSuffix?: `0x${string}`;
1122
- gas?: bigint;
1123
- gasPrice?: bigint;
1124
- maxFeePerGas?: bigint;
1125
- maxPriorityFeePerGas?: bigint;
1126
- nonce?: number;
1127
- value?: bigint;
1128
- }): Promise<`0x${string}`>;
1129
- /**
1130
- * setGuard
915
+ * approveHash
1131
916
  * nonpayable
1132
917
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1133
918
  */
1134
- setGuard(guard: `0x${string}`, options?: {
919
+ approveHash(hashToApprove: `0x${string}`, options?: {
1135
920
  accessList?: import('viem').AccessList;
1136
921
  authorizationList?: import('viem').AuthorizationList;
1137
922
  chain?: import('viem').Chain | null;
@@ -1144,11 +929,11 @@ export declare class GnosisSafe_json {
1144
929
  value?: bigint;
1145
930
  }): Promise<`0x${string}`>;
1146
931
  /**
1147
- * setup
932
+ * disableModule
1148
933
  * nonpayable
1149
934
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1150
935
  */
1151
- setup(_owners: `0x${string}`[], _threshold: bigint, to: `0x${string}`, data: `0x${string}`, fallbackHandler: `0x${string}`, paymentToken: `0x${string}`, payment: bigint, paymentReceiver: `0x${string}`, options?: {
936
+ disableModule(prevModule: `0x${string}`, module: `0x${string}`, options?: {
1152
937
  accessList?: import('viem').AccessList;
1153
938
  authorizationList?: import('viem').AuthorizationList;
1154
939
  chain?: import('viem').Chain | null;
@@ -1161,11 +946,11 @@ export declare class GnosisSafe_json {
1161
946
  value?: bigint;
1162
947
  }): Promise<`0x${string}`>;
1163
948
  /**
1164
- * simulateAndRevert
949
+ * swapOwner
1165
950
  * nonpayable
1166
951
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1167
952
  */
1168
- simulateAndRevert(targetContract: `0x${string}`, calldataPayload: `0x${string}`, options?: {
953
+ swapOwner(prevOwner: `0x${string}`, oldOwner: `0x${string}`, newOwner: `0x${string}`, options?: {
1169
954
  accessList?: import('viem').AccessList;
1170
955
  authorizationList?: import('viem').AuthorizationList;
1171
956
  chain?: import('viem').Chain | null;
@@ -1178,11 +963,11 @@ export declare class GnosisSafe_json {
1178
963
  value?: bigint;
1179
964
  }): Promise<`0x${string}`>;
1180
965
  /**
1181
- * swapOwner
966
+ * removeOwner
1182
967
  * nonpayable
1183
968
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1184
969
  */
1185
- swapOwner(prevOwner: `0x${string}`, oldOwner: `0x${string}`, newOwner: `0x${string}`, options?: {
970
+ removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
1186
971
  accessList?: import('viem').AccessList;
1187
972
  authorizationList?: import('viem').AuthorizationList;
1188
973
  chain?: import('viem').Chain | null;
@@ -1221,11 +1006,11 @@ export declare class GnosisSafe_json {
1221
1006
  value?: bigint;
1222
1007
  }): Promise<void>;
1223
1008
  /**
1224
- * Simulate approveHash
1009
+ * Simulate isValidSignature
1225
1010
  * Returns gas estimate and result without sending transaction
1226
1011
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1227
1012
  */
1228
- approveHash(hashToApprove: `0x${string}`, options?: {
1013
+ isValidSignature(_data: `0x${string}`, _signature: `0x${string}`, options?: {
1229
1014
  accessList?: import("viem").AccessList;
1230
1015
  authorizationList?: import("viem").AuthorizationList;
1231
1016
  chain?: import("viem").Chain | null;
@@ -1236,13 +1021,13 @@ export declare class GnosisSafe_json {
1236
1021
  maxPriorityFeePerGas?: bigint;
1237
1022
  nonce?: number;
1238
1023
  value?: bigint;
1239
- }): Promise<void>;
1024
+ }): Promise<`0x${string}`>;
1240
1025
  /**
1241
- * Simulate changeThreshold
1026
+ * Simulate execTransactionFromModule
1242
1027
  * Returns gas estimate and result without sending transaction
1243
1028
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1244
1029
  */
1245
- changeThreshold(_threshold: bigint, options?: {
1030
+ execTransactionFromModule(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1246
1031
  accessList?: import("viem").AccessList;
1247
1032
  authorizationList?: import("viem").AuthorizationList;
1248
1033
  chain?: import("viem").Chain | null;
@@ -1253,13 +1038,13 @@ export declare class GnosisSafe_json {
1253
1038
  maxPriorityFeePerGas?: bigint;
1254
1039
  nonce?: number;
1255
1040
  value?: bigint;
1256
- }): Promise<void>;
1041
+ }): Promise<boolean>;
1257
1042
  /**
1258
- * Simulate disableModule
1043
+ * Simulate enableModule
1259
1044
  * Returns gas estimate and result without sending transaction
1260
1045
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1261
1046
  */
1262
- disableModule(prevModule: `0x${string}`, module: `0x${string}`, options?: {
1047
+ enableModule(module: `0x${string}`, options?: {
1263
1048
  accessList?: import("viem").AccessList;
1264
1049
  authorizationList?: import("viem").AuthorizationList;
1265
1050
  chain?: import("viem").Chain | null;
@@ -1272,11 +1057,11 @@ export declare class GnosisSafe_json {
1272
1057
  value?: bigint;
1273
1058
  }): Promise<void>;
1274
1059
  /**
1275
- * Simulate enableModule
1060
+ * Simulate changeThreshold
1276
1061
  * Returns gas estimate and result without sending transaction
1277
1062
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1278
1063
  */
1279
- enableModule(module: `0x${string}`, options?: {
1064
+ changeThreshold(_threshold: bigint, options?: {
1280
1065
  accessList?: import("viem").AccessList;
1281
1066
  authorizationList?: import("viem").AuthorizationList;
1282
1067
  chain?: import("viem").Chain | null;
@@ -1306,11 +1091,11 @@ export declare class GnosisSafe_json {
1306
1091
  value?: bigint;
1307
1092
  }): Promise<boolean>;
1308
1093
  /**
1309
- * Simulate execTransactionFromModule
1094
+ * Simulate changeMasterCopy
1310
1095
  * Returns gas estimate and result without sending transaction
1311
1096
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1312
1097
  */
1313
- execTransactionFromModule(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1098
+ changeMasterCopy(_masterCopy: `0x${string}`, options?: {
1314
1099
  accessList?: import("viem").AccessList;
1315
1100
  authorizationList?: import("viem").AuthorizationList;
1316
1101
  chain?: import("viem").Chain | null;
@@ -1321,13 +1106,13 @@ export declare class GnosisSafe_json {
1321
1106
  maxPriorityFeePerGas?: bigint;
1322
1107
  nonce?: number;
1323
1108
  value?: bigint;
1324
- }): Promise<boolean>;
1109
+ }): Promise<void>;
1325
1110
  /**
1326
- * Simulate execTransactionFromModuleReturnData
1111
+ * Simulate signMessage
1327
1112
  * Returns gas estimate and result without sending transaction
1328
1113
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1329
1114
  */
1330
- execTransactionFromModuleReturnData(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1115
+ signMessage(_data: `0x${string}`, options?: {
1331
1116
  accessList?: import("viem").AccessList;
1332
1117
  authorizationList?: import("viem").AuthorizationList;
1333
1118
  chain?: import("viem").Chain | null;
@@ -1338,13 +1123,13 @@ export declare class GnosisSafe_json {
1338
1123
  maxPriorityFeePerGas?: bigint;
1339
1124
  nonce?: number;
1340
1125
  value?: bigint;
1341
- }): Promise<[boolean, `0x${string}`]>;
1126
+ }): Promise<void>;
1342
1127
  /**
1343
- * Simulate removeOwner
1128
+ * Simulate setup
1344
1129
  * Returns gas estimate and result without sending transaction
1345
1130
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1346
1131
  */
1347
- removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
1132
+ setup(_owners: `0x${string}`[], _threshold: bigint, to: `0x${string}`, data: `0x${string}`, paymentToken: `0x${string}`, payment: bigint, paymentReceiver: `0x${string}`, options?: {
1348
1133
  accessList?: import("viem").AccessList;
1349
1134
  authorizationList?: import("viem").AuthorizationList;
1350
1135
  chain?: import("viem").Chain | null;
@@ -1374,28 +1159,11 @@ export declare class GnosisSafe_json {
1374
1159
  value?: bigint;
1375
1160
  }): Promise<bigint>;
1376
1161
  /**
1377
- * Simulate setFallbackHandler
1378
- * Returns gas estimate and result without sending transaction
1379
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1380
- */
1381
- setFallbackHandler(handler: `0x${string}`, options?: {
1382
- accessList?: import("viem").AccessList;
1383
- authorizationList?: import("viem").AuthorizationList;
1384
- chain?: import("viem").Chain | null;
1385
- dataSuffix?: `0x${string}`;
1386
- gas?: bigint;
1387
- gasPrice?: bigint;
1388
- maxFeePerGas?: bigint;
1389
- maxPriorityFeePerGas?: bigint;
1390
- nonce?: number;
1391
- value?: bigint;
1392
- }): Promise<void>;
1393
- /**
1394
- * Simulate setGuard
1162
+ * Simulate approveHash
1395
1163
  * Returns gas estimate and result without sending transaction
1396
1164
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1397
1165
  */
1398
- setGuard(guard: `0x${string}`, options?: {
1166
+ approveHash(hashToApprove: `0x${string}`, options?: {
1399
1167
  accessList?: import("viem").AccessList;
1400
1168
  authorizationList?: import("viem").AuthorizationList;
1401
1169
  chain?: import("viem").Chain | null;
@@ -1408,11 +1176,11 @@ export declare class GnosisSafe_json {
1408
1176
  value?: bigint;
1409
1177
  }): Promise<void>;
1410
1178
  /**
1411
- * Simulate setup
1179
+ * Simulate disableModule
1412
1180
  * Returns gas estimate and result without sending transaction
1413
1181
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1414
1182
  */
1415
- setup(_owners: `0x${string}`[], _threshold: bigint, to: `0x${string}`, data: `0x${string}`, fallbackHandler: `0x${string}`, paymentToken: `0x${string}`, payment: bigint, paymentReceiver: `0x${string}`, options?: {
1183
+ disableModule(prevModule: `0x${string}`, module: `0x${string}`, options?: {
1416
1184
  accessList?: import("viem").AccessList;
1417
1185
  authorizationList?: import("viem").AuthorizationList;
1418
1186
  chain?: import("viem").Chain | null;
@@ -1425,11 +1193,11 @@ export declare class GnosisSafe_json {
1425
1193
  value?: bigint;
1426
1194
  }): Promise<void>;
1427
1195
  /**
1428
- * Simulate simulateAndRevert
1196
+ * Simulate swapOwner
1429
1197
  * Returns gas estimate and result without sending transaction
1430
1198
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1431
1199
  */
1432
- simulateAndRevert(targetContract: `0x${string}`, calldataPayload: `0x${string}`, options?: {
1200
+ swapOwner(prevOwner: `0x${string}`, oldOwner: `0x${string}`, newOwner: `0x${string}`, options?: {
1433
1201
  accessList?: import("viem").AccessList;
1434
1202
  authorizationList?: import("viem").AuthorizationList;
1435
1203
  chain?: import("viem").Chain | null;
@@ -1442,11 +1210,11 @@ export declare class GnosisSafe_json {
1442
1210
  value?: bigint;
1443
1211
  }): Promise<void>;
1444
1212
  /**
1445
- * Simulate swapOwner
1213
+ * Simulate removeOwner
1446
1214
  * Returns gas estimate and result without sending transaction
1447
1215
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1448
1216
  */
1449
- swapOwner(prevOwner: `0x${string}`, oldOwner: `0x${string}`, newOwner: `0x${string}`, options?: {
1217
+ removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
1450
1218
  accessList?: import("viem").AccessList;
1451
1219
  authorizationList?: import("viem").AuthorizationList;
1452
1220
  chain?: import("viem").Chain | null;
@@ -1473,44 +1241,31 @@ export declare class GnosisSafe_json {
1473
1241
  */
1474
1242
  get watch(): {
1475
1243
  /**
1476
- * Watch AddedOwner events
1244
+ * Watch ExecutionFailed events
1477
1245
  * @param callback Function to call when event is emitted
1478
1246
  * @param filter Optional filter for indexed parameters
1479
1247
  * @returns Unwatch function to stop listening
1480
1248
  */
1481
- AddedOwner: (callback: (event: {
1482
- owner: `0x${string}`;
1249
+ ExecutionFailed: (callback: (event: {
1250
+ txHash: `0x${string}`;
1483
1251
  }) => void) => () => void;
1484
1252
  /**
1485
- * Watch ApproveHash events
1253
+ * Watch AddedOwner events
1486
1254
  * @param callback Function to call when event is emitted
1487
1255
  * @param filter Optional filter for indexed parameters
1488
1256
  * @returns Unwatch function to stop listening
1489
1257
  */
1490
- ApproveHash: (callback: (event: {
1491
- approvedHash: `0x${string}`;
1492
- owner: `0x${string}`;
1493
- }) => void, filter?: {
1494
- approvedHash: `0x${string}`;
1258
+ AddedOwner: (callback: (event: {
1495
1259
  owner: `0x${string}`;
1496
- }) => () => void;
1497
- /**
1498
- * Watch ChangedFallbackHandler events
1499
- * @param callback Function to call when event is emitted
1500
- * @param filter Optional filter for indexed parameters
1501
- * @returns Unwatch function to stop listening
1502
- */
1503
- ChangedFallbackHandler: (callback: (event: {
1504
- handler: `0x${string}`;
1505
1260
  }) => void) => () => void;
1506
1261
  /**
1507
- * Watch ChangedGuard events
1262
+ * Watch RemovedOwner events
1508
1263
  * @param callback Function to call when event is emitted
1509
1264
  * @param filter Optional filter for indexed parameters
1510
1265
  * @returns Unwatch function to stop listening
1511
1266
  */
1512
- ChangedGuard: (callback: (event: {
1513
- guard: `0x${string}`;
1267
+ RemovedOwner: (callback: (event: {
1268
+ owner: `0x${string}`;
1514
1269
  }) => void) => () => void;
1515
1270
  /**
1516
1271
  * Watch ChangedThreshold events
@@ -1521,15 +1276,6 @@ export declare class GnosisSafe_json {
1521
1276
  ChangedThreshold: (callback: (event: {
1522
1277
  threshold: bigint;
1523
1278
  }) => void) => () => void;
1524
- /**
1525
- * Watch DisabledModule events
1526
- * @param callback Function to call when event is emitted
1527
- * @param filter Optional filter for indexed parameters
1528
- * @returns Unwatch function to stop listening
1529
- */
1530
- DisabledModule: (callback: (event: {
1531
- module: `0x${string}`;
1532
- }) => void) => () => void;
1533
1279
  /**
1534
1280
  * Watch EnabledModule events
1535
1281
  * @param callback Function to call when event is emitted
@@ -1540,93 +1286,22 @@ export declare class GnosisSafe_json {
1540
1286
  module: `0x${string}`;
1541
1287
  }) => void) => () => void;
1542
1288
  /**
1543
- * Watch ExecutionFailure events
1544
- * @param callback Function to call when event is emitted
1545
- * @param filter Optional filter for indexed parameters
1546
- * @returns Unwatch function to stop listening
1547
- */
1548
- ExecutionFailure: (callback: (event: {
1549
- txHash: `0x${string}`;
1550
- payment: bigint;
1551
- }) => void) => () => void;
1552
- /**
1553
- * Watch ExecutionFromModuleFailure events
1554
- * @param callback Function to call when event is emitted
1555
- * @param filter Optional filter for indexed parameters
1556
- * @returns Unwatch function to stop listening
1557
- */
1558
- ExecutionFromModuleFailure: (callback: (event: {
1559
- module: `0x${string}`;
1560
- }) => void, filter?: {
1561
- module: `0x${string}`;
1562
- }) => () => void;
1563
- /**
1564
- * Watch ExecutionFromModuleSuccess events
1289
+ * Watch DisabledModule events
1565
1290
  * @param callback Function to call when event is emitted
1566
1291
  * @param filter Optional filter for indexed parameters
1567
1292
  * @returns Unwatch function to stop listening
1568
1293
  */
1569
- ExecutionFromModuleSuccess: (callback: (event: {
1570
- module: `0x${string}`;
1571
- }) => void, filter?: {
1294
+ DisabledModule: (callback: (event: {
1572
1295
  module: `0x${string}`;
1573
- }) => () => void;
1574
- /**
1575
- * Watch ExecutionSuccess events
1576
- * @param callback Function to call when event is emitted
1577
- * @param filter Optional filter for indexed parameters
1578
- * @returns Unwatch function to stop listening
1579
- */
1580
- ExecutionSuccess: (callback: (event: {
1581
- txHash: `0x${string}`;
1582
- payment: bigint;
1583
1296
  }) => void) => () => void;
1584
1297
  /**
1585
- * Watch RemovedOwner events
1298
+ * Watch ContractCreation events
1586
1299
  * @param callback Function to call when event is emitted
1587
1300
  * @param filter Optional filter for indexed parameters
1588
1301
  * @returns Unwatch function to stop listening
1589
1302
  */
1590
- RemovedOwner: (callback: (event: {
1591
- owner: `0x${string}`;
1303
+ ContractCreation: (callback: (event: {
1304
+ newContract: `0x${string}`;
1592
1305
  }) => void) => () => void;
1593
- /**
1594
- * Watch SafeReceived events
1595
- * @param callback Function to call when event is emitted
1596
- * @param filter Optional filter for indexed parameters
1597
- * @returns Unwatch function to stop listening
1598
- */
1599
- SafeReceived: (callback: (event: {
1600
- sender: `0x${string}`;
1601
- value: bigint;
1602
- }) => void, filter?: {
1603
- sender: `0x${string}`;
1604
- }) => () => void;
1605
- /**
1606
- * Watch SafeSetup events
1607
- * @param callback Function to call when event is emitted
1608
- * @param filter Optional filter for indexed parameters
1609
- * @returns Unwatch function to stop listening
1610
- */
1611
- SafeSetup: (callback: (event: {
1612
- initiator: `0x${string}`;
1613
- owners: `0x${string}`[];
1614
- threshold: bigint;
1615
- initializer: `0x${string}`;
1616
- fallbackHandler: `0x${string}`;
1617
- }) => void, filter?: {
1618
- initiator: `0x${string}`;
1619
- }) => () => void;
1620
- /**
1621
- * Watch SignMsg events
1622
- * @param callback Function to call when event is emitted
1623
- * @param filter Optional filter for indexed parameters
1624
- * @returns Unwatch function to stop listening
1625
- */
1626
- SignMsg: (callback: (event: {
1627
- msgHash: `0x${string}`;
1628
- }) => void, filter?: {
1629
- msgHash: `0x${string}`;
1630
- }) => () => void;
1631
1306
  };
1632
1307
  }