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