@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.
- package/README.md +3 -3
- package/contracts/GnosisSafe_json.d.ts +417 -742
- package/contracts/GnosisSafe_json.js +488 -899
- package/contracts/GnosisSafe_json.ts +533 -967
- package/contracts/{GnosisSafeProxy_json.d.ts → Proxy_json.d.ts} +14 -13
- package/contracts/{GnosisSafeProxy_json.js → Proxy_json.js} +12 -11
- package/contracts/{GnosisSafeProxy_json.ts → Proxy_json.ts} +16 -15
- package/contracts/index.d.ts +2 -2
- package/contracts/index.js +4 -4
- package/contracts/index.ts +2 -2
- package/package.json +3 -3
|
@@ -9,310 +9,239 @@ const viem_1 = require("viem");
|
|
|
9
9
|
*/
|
|
10
10
|
exports.GnosisSafe_jsonAbi = [
|
|
11
11
|
{
|
|
12
|
-
"
|
|
13
|
-
"stateMutability": "nonpayable",
|
|
14
|
-
"type": "constructor"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"anonymous": false,
|
|
12
|
+
"constant": true,
|
|
18
13
|
"inputs": [
|
|
19
14
|
{
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"name": "owner",
|
|
23
|
-
"type": "address"
|
|
15
|
+
"name": "message",
|
|
16
|
+
"type": "bytes"
|
|
24
17
|
}
|
|
25
18
|
],
|
|
26
|
-
"name": "
|
|
27
|
-
"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"anonymous": false,
|
|
31
|
-
"inputs": [
|
|
19
|
+
"name": "getMessageHash",
|
|
20
|
+
"outputs": [
|
|
32
21
|
{
|
|
33
|
-
"
|
|
34
|
-
"internalType": "bytes32",
|
|
35
|
-
"name": "approvedHash",
|
|
22
|
+
"name": "",
|
|
36
23
|
"type": "bytes32"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"indexed": true,
|
|
40
|
-
"internalType": "address",
|
|
41
|
-
"name": "owner",
|
|
42
|
-
"type": "address"
|
|
43
24
|
}
|
|
44
25
|
],
|
|
45
|
-
"
|
|
46
|
-
"
|
|
26
|
+
"payable": false,
|
|
27
|
+
"stateMutability": "view",
|
|
28
|
+
"type": "function"
|
|
47
29
|
},
|
|
48
30
|
{
|
|
49
|
-
"
|
|
31
|
+
"constant": false,
|
|
50
32
|
"inputs": [
|
|
51
33
|
{
|
|
52
|
-
"
|
|
53
|
-
"internalType": "address",
|
|
54
|
-
"name": "handler",
|
|
34
|
+
"name": "owner",
|
|
55
35
|
"type": "address"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "_threshold",
|
|
39
|
+
"type": "uint256"
|
|
56
40
|
}
|
|
57
41
|
],
|
|
58
|
-
"name": "
|
|
59
|
-
"
|
|
42
|
+
"name": "addOwnerWithThreshold",
|
|
43
|
+
"outputs": [],
|
|
44
|
+
"payable": false,
|
|
45
|
+
"stateMutability": "nonpayable",
|
|
46
|
+
"type": "function"
|
|
60
47
|
},
|
|
61
48
|
{
|
|
62
|
-
"
|
|
63
|
-
"inputs": [
|
|
49
|
+
"constant": true,
|
|
50
|
+
"inputs": [],
|
|
51
|
+
"name": "DOMAIN_SEPARATOR_TYPEHASH",
|
|
52
|
+
"outputs": [
|
|
64
53
|
{
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"name": "guard",
|
|
68
|
-
"type": "address"
|
|
54
|
+
"name": "",
|
|
55
|
+
"type": "bytes32"
|
|
69
56
|
}
|
|
70
57
|
],
|
|
71
|
-
"
|
|
72
|
-
"
|
|
58
|
+
"payable": false,
|
|
59
|
+
"stateMutability": "view",
|
|
60
|
+
"type": "function"
|
|
73
61
|
},
|
|
74
62
|
{
|
|
75
|
-
"
|
|
63
|
+
"constant": false,
|
|
76
64
|
"inputs": [
|
|
77
65
|
{
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
66
|
+
"name": "_data",
|
|
67
|
+
"type": "bytes"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "_signature",
|
|
71
|
+
"type": "bytes"
|
|
82
72
|
}
|
|
83
73
|
],
|
|
84
|
-
"name": "
|
|
85
|
-
"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"anonymous": false,
|
|
89
|
-
"inputs": [
|
|
74
|
+
"name": "isValidSignature",
|
|
75
|
+
"outputs": [
|
|
90
76
|
{
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"name": "module",
|
|
94
|
-
"type": "address"
|
|
77
|
+
"name": "",
|
|
78
|
+
"type": "bytes4"
|
|
95
79
|
}
|
|
96
80
|
],
|
|
97
|
-
"
|
|
98
|
-
"
|
|
81
|
+
"payable": false,
|
|
82
|
+
"stateMutability": "nonpayable",
|
|
83
|
+
"type": "function"
|
|
99
84
|
},
|
|
100
85
|
{
|
|
101
|
-
"
|
|
86
|
+
"constant": true,
|
|
102
87
|
"inputs": [
|
|
103
88
|
{
|
|
104
|
-
"
|
|
105
|
-
"internalType": "address",
|
|
106
|
-
"name": "module",
|
|
89
|
+
"name": "owner",
|
|
107
90
|
"type": "address"
|
|
108
91
|
}
|
|
109
92
|
],
|
|
110
|
-
"name": "
|
|
111
|
-
"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"anonymous": false,
|
|
115
|
-
"inputs": [
|
|
116
|
-
{
|
|
117
|
-
"indexed": false,
|
|
118
|
-
"internalType": "bytes32",
|
|
119
|
-
"name": "txHash",
|
|
120
|
-
"type": "bytes32"
|
|
121
|
-
},
|
|
93
|
+
"name": "isOwner",
|
|
94
|
+
"outputs": [
|
|
122
95
|
{
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"name": "payment",
|
|
126
|
-
"type": "uint256"
|
|
96
|
+
"name": "",
|
|
97
|
+
"type": "bool"
|
|
127
98
|
}
|
|
128
99
|
],
|
|
129
|
-
"
|
|
130
|
-
"
|
|
100
|
+
"payable": false,
|
|
101
|
+
"stateMutability": "view",
|
|
102
|
+
"type": "function"
|
|
131
103
|
},
|
|
132
104
|
{
|
|
133
|
-
"
|
|
105
|
+
"constant": false,
|
|
134
106
|
"inputs": [
|
|
135
107
|
{
|
|
136
|
-
"
|
|
137
|
-
"internalType": "address",
|
|
138
|
-
"name": "module",
|
|
108
|
+
"name": "to",
|
|
139
109
|
"type": "address"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "value",
|
|
113
|
+
"type": "uint256"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "data",
|
|
117
|
+
"type": "bytes"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "operation",
|
|
121
|
+
"type": "uint8"
|
|
140
122
|
}
|
|
141
123
|
],
|
|
142
|
-
"name": "
|
|
143
|
-
"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"anonymous": false,
|
|
147
|
-
"inputs": [
|
|
124
|
+
"name": "execTransactionFromModule",
|
|
125
|
+
"outputs": [
|
|
148
126
|
{
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"name": "module",
|
|
152
|
-
"type": "address"
|
|
127
|
+
"name": "success",
|
|
128
|
+
"type": "bool"
|
|
153
129
|
}
|
|
154
130
|
],
|
|
155
|
-
"
|
|
156
|
-
"
|
|
131
|
+
"payable": false,
|
|
132
|
+
"stateMutability": "nonpayable",
|
|
133
|
+
"type": "function"
|
|
157
134
|
},
|
|
158
135
|
{
|
|
159
|
-
"
|
|
136
|
+
"constant": true,
|
|
160
137
|
"inputs": [
|
|
161
138
|
{
|
|
162
|
-
"
|
|
163
|
-
"internalType": "bytes32",
|
|
164
|
-
"name": "txHash",
|
|
139
|
+
"name": "",
|
|
165
140
|
"type": "bytes32"
|
|
166
|
-
}
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"name": "signedMessages",
|
|
144
|
+
"outputs": [
|
|
167
145
|
{
|
|
168
|
-
"
|
|
169
|
-
"internalType": "uint256",
|
|
170
|
-
"name": "payment",
|
|
146
|
+
"name": "",
|
|
171
147
|
"type": "uint256"
|
|
172
148
|
}
|
|
173
149
|
],
|
|
174
|
-
"
|
|
175
|
-
"
|
|
150
|
+
"payable": false,
|
|
151
|
+
"stateMutability": "view",
|
|
152
|
+
"type": "function"
|
|
176
153
|
},
|
|
177
154
|
{
|
|
178
|
-
"
|
|
155
|
+
"constant": false,
|
|
179
156
|
"inputs": [
|
|
180
157
|
{
|
|
181
|
-
"
|
|
182
|
-
"internalType": "address",
|
|
183
|
-
"name": "owner",
|
|
158
|
+
"name": "module",
|
|
184
159
|
"type": "address"
|
|
185
160
|
}
|
|
186
161
|
],
|
|
187
|
-
"name": "
|
|
188
|
-
"
|
|
162
|
+
"name": "enableModule",
|
|
163
|
+
"outputs": [],
|
|
164
|
+
"payable": false,
|
|
165
|
+
"stateMutability": "nonpayable",
|
|
166
|
+
"type": "function"
|
|
189
167
|
},
|
|
190
168
|
{
|
|
191
|
-
"
|
|
169
|
+
"constant": false,
|
|
192
170
|
"inputs": [
|
|
193
171
|
{
|
|
194
|
-
"
|
|
195
|
-
"internalType": "address",
|
|
196
|
-
"name": "sender",
|
|
197
|
-
"type": "address"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"indexed": false,
|
|
201
|
-
"internalType": "uint256",
|
|
202
|
-
"name": "value",
|
|
172
|
+
"name": "_threshold",
|
|
203
173
|
"type": "uint256"
|
|
204
174
|
}
|
|
205
175
|
],
|
|
206
|
-
"name": "
|
|
207
|
-
"
|
|
176
|
+
"name": "changeThreshold",
|
|
177
|
+
"outputs": [],
|
|
178
|
+
"payable": false,
|
|
179
|
+
"stateMutability": "nonpayable",
|
|
180
|
+
"type": "function"
|
|
208
181
|
},
|
|
209
182
|
{
|
|
210
|
-
"
|
|
183
|
+
"constant": false,
|
|
211
184
|
"inputs": [
|
|
212
185
|
{
|
|
213
|
-
"
|
|
214
|
-
"internalType": "address",
|
|
215
|
-
"name": "initiator",
|
|
186
|
+
"name": "to",
|
|
216
187
|
"type": "address"
|
|
217
188
|
},
|
|
218
189
|
{
|
|
219
|
-
"
|
|
220
|
-
"
|
|
221
|
-
"name": "owners",
|
|
222
|
-
"type": "address[]"
|
|
190
|
+
"name": "value",
|
|
191
|
+
"type": "uint256"
|
|
223
192
|
},
|
|
224
193
|
{
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"name": "threshold",
|
|
228
|
-
"type": "uint256"
|
|
194
|
+
"name": "data",
|
|
195
|
+
"type": "bytes"
|
|
229
196
|
},
|
|
230
197
|
{
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"name": "initializer",
|
|
234
|
-
"type": "address"
|
|
198
|
+
"name": "operation",
|
|
199
|
+
"type": "uint8"
|
|
235
200
|
},
|
|
236
201
|
{
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
|
|
240
|
-
"type": "address"
|
|
241
|
-
}
|
|
242
|
-
],
|
|
243
|
-
"name": "SafeSetup",
|
|
244
|
-
"type": "event"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"anonymous": false,
|
|
248
|
-
"inputs": [
|
|
202
|
+
"name": "safeTxGas",
|
|
203
|
+
"type": "uint256"
|
|
204
|
+
},
|
|
249
205
|
{
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
|
|
253
|
-
"type": "bytes32"
|
|
254
|
-
}
|
|
255
|
-
],
|
|
256
|
-
"name": "SignMsg",
|
|
257
|
-
"type": "event"
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"stateMutability": "nonpayable",
|
|
261
|
-
"type": "fallback"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"inputs": [],
|
|
265
|
-
"name": "VERSION",
|
|
266
|
-
"outputs": [
|
|
206
|
+
"name": "baseGas",
|
|
207
|
+
"type": "uint256"
|
|
208
|
+
},
|
|
267
209
|
{
|
|
268
|
-
"
|
|
269
|
-
"
|
|
270
|
-
|
|
271
|
-
}
|
|
272
|
-
],
|
|
273
|
-
"stateMutability": "view",
|
|
274
|
-
"type": "function"
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
"inputs": [
|
|
210
|
+
"name": "gasPrice",
|
|
211
|
+
"type": "uint256"
|
|
212
|
+
},
|
|
278
213
|
{
|
|
279
|
-
"
|
|
280
|
-
"name": "owner",
|
|
214
|
+
"name": "gasToken",
|
|
281
215
|
"type": "address"
|
|
282
216
|
},
|
|
283
217
|
{
|
|
284
|
-
"
|
|
285
|
-
"
|
|
286
|
-
|
|
218
|
+
"name": "refundReceiver",
|
|
219
|
+
"type": "address"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "signatures",
|
|
223
|
+
"type": "bytes"
|
|
287
224
|
}
|
|
288
225
|
],
|
|
289
|
-
"name": "
|
|
290
|
-
"outputs": [
|
|
291
|
-
"stateMutability": "nonpayable",
|
|
292
|
-
"type": "function"
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"inputs": [
|
|
226
|
+
"name": "execTransaction",
|
|
227
|
+
"outputs": [
|
|
296
228
|
{
|
|
297
|
-
"
|
|
298
|
-
"
|
|
299
|
-
"type": "bytes32"
|
|
229
|
+
"name": "success",
|
|
230
|
+
"type": "bool"
|
|
300
231
|
}
|
|
301
232
|
],
|
|
302
|
-
"
|
|
303
|
-
"outputs": [],
|
|
233
|
+
"payable": false,
|
|
304
234
|
"stateMutability": "nonpayable",
|
|
305
235
|
"type": "function"
|
|
306
236
|
},
|
|
307
237
|
{
|
|
238
|
+
"constant": true,
|
|
308
239
|
"inputs": [
|
|
309
240
|
{
|
|
310
|
-
"internalType": "address",
|
|
311
241
|
"name": "",
|
|
312
242
|
"type": "address"
|
|
313
243
|
},
|
|
314
244
|
{
|
|
315
|
-
"internalType": "bytes32",
|
|
316
245
|
"name": "",
|
|
317
246
|
"type": "bytes32"
|
|
318
247
|
}
|
|
@@ -320,724 +249,539 @@ exports.GnosisSafe_jsonAbi = [
|
|
|
320
249
|
"name": "approvedHashes",
|
|
321
250
|
"outputs": [
|
|
322
251
|
{
|
|
323
|
-
"internalType": "uint256",
|
|
324
252
|
"name": "",
|
|
325
253
|
"type": "uint256"
|
|
326
254
|
}
|
|
327
255
|
],
|
|
256
|
+
"payable": false,
|
|
328
257
|
"stateMutability": "view",
|
|
329
258
|
"type": "function"
|
|
330
259
|
},
|
|
331
260
|
{
|
|
261
|
+
"constant": false,
|
|
332
262
|
"inputs": [
|
|
333
263
|
{
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"type": "uint256"
|
|
264
|
+
"name": "_masterCopy",
|
|
265
|
+
"type": "address"
|
|
337
266
|
}
|
|
338
267
|
],
|
|
339
|
-
"name": "
|
|
268
|
+
"name": "changeMasterCopy",
|
|
340
269
|
"outputs": [],
|
|
270
|
+
"payable": false,
|
|
341
271
|
"stateMutability": "nonpayable",
|
|
342
272
|
"type": "function"
|
|
343
273
|
},
|
|
344
274
|
{
|
|
275
|
+
"constant": false,
|
|
345
276
|
"inputs": [
|
|
346
277
|
{
|
|
347
|
-
"
|
|
348
|
-
"name": "dataHash",
|
|
349
|
-
"type": "bytes32"
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"internalType": "bytes",
|
|
353
|
-
"name": "data",
|
|
354
|
-
"type": "bytes"
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
"internalType": "bytes",
|
|
358
|
-
"name": "signatures",
|
|
278
|
+
"name": "_data",
|
|
359
279
|
"type": "bytes"
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
"internalType": "uint256",
|
|
363
|
-
"name": "requiredSignatures",
|
|
364
|
-
"type": "uint256"
|
|
365
280
|
}
|
|
366
281
|
],
|
|
367
|
-
"name": "
|
|
282
|
+
"name": "signMessage",
|
|
368
283
|
"outputs": [],
|
|
369
|
-
"
|
|
284
|
+
"payable": false,
|
|
285
|
+
"stateMutability": "nonpayable",
|
|
370
286
|
"type": "function"
|
|
371
287
|
},
|
|
372
288
|
{
|
|
373
|
-
"
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
"type": "bytes32"
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
"internalType": "bytes",
|
|
381
|
-
"name": "data",
|
|
382
|
-
"type": "bytes"
|
|
383
|
-
},
|
|
289
|
+
"constant": true,
|
|
290
|
+
"inputs": [],
|
|
291
|
+
"name": "SENTINEL_MODULES",
|
|
292
|
+
"outputs": [
|
|
384
293
|
{
|
|
385
|
-
"
|
|
386
|
-
"
|
|
387
|
-
"type": "bytes"
|
|
294
|
+
"name": "",
|
|
295
|
+
"type": "address"
|
|
388
296
|
}
|
|
389
297
|
],
|
|
390
|
-
"
|
|
391
|
-
"outputs": [],
|
|
298
|
+
"payable": false,
|
|
392
299
|
"stateMutability": "view",
|
|
393
300
|
"type": "function"
|
|
394
301
|
},
|
|
395
302
|
{
|
|
396
|
-
"
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
"type": "address"
|
|
401
|
-
},
|
|
303
|
+
"constant": true,
|
|
304
|
+
"inputs": [],
|
|
305
|
+
"name": "SENTINEL_OWNERS",
|
|
306
|
+
"outputs": [
|
|
402
307
|
{
|
|
403
|
-
"
|
|
404
|
-
"name": "module",
|
|
308
|
+
"name": "",
|
|
405
309
|
"type": "address"
|
|
406
310
|
}
|
|
407
311
|
],
|
|
408
|
-
"
|
|
409
|
-
"
|
|
410
|
-
"stateMutability": "nonpayable",
|
|
312
|
+
"payable": false,
|
|
313
|
+
"stateMutability": "view",
|
|
411
314
|
"type": "function"
|
|
412
315
|
},
|
|
413
316
|
{
|
|
317
|
+
"constant": true,
|
|
414
318
|
"inputs": [],
|
|
415
|
-
"name": "
|
|
319
|
+
"name": "getOwners",
|
|
416
320
|
"outputs": [
|
|
417
321
|
{
|
|
418
|
-
"internalType": "bytes32",
|
|
419
322
|
"name": "",
|
|
420
|
-
"type": "
|
|
323
|
+
"type": "address[]"
|
|
421
324
|
}
|
|
422
325
|
],
|
|
326
|
+
"payable": false,
|
|
423
327
|
"stateMutability": "view",
|
|
424
328
|
"type": "function"
|
|
425
329
|
},
|
|
426
330
|
{
|
|
427
|
-
"
|
|
331
|
+
"constant": true,
|
|
332
|
+
"inputs": [],
|
|
333
|
+
"name": "NAME",
|
|
334
|
+
"outputs": [
|
|
428
335
|
{
|
|
429
|
-
"
|
|
430
|
-
"
|
|
431
|
-
"type": "address"
|
|
336
|
+
"name": "",
|
|
337
|
+
"type": "string"
|
|
432
338
|
}
|
|
433
339
|
],
|
|
434
|
-
"
|
|
435
|
-
"
|
|
436
|
-
"stateMutability": "nonpayable",
|
|
340
|
+
"payable": false,
|
|
341
|
+
"stateMutability": "view",
|
|
437
342
|
"type": "function"
|
|
438
343
|
},
|
|
439
344
|
{
|
|
345
|
+
"constant": false,
|
|
440
346
|
"inputs": [
|
|
441
347
|
{
|
|
442
|
-
"
|
|
443
|
-
"
|
|
444
|
-
"type": "address"
|
|
348
|
+
"name": "_owners",
|
|
349
|
+
"type": "address[]"
|
|
445
350
|
},
|
|
446
351
|
{
|
|
447
|
-
"
|
|
448
|
-
"name": "value",
|
|
352
|
+
"name": "_threshold",
|
|
449
353
|
"type": "uint256"
|
|
450
354
|
},
|
|
451
355
|
{
|
|
452
|
-
"
|
|
453
|
-
"
|
|
454
|
-
"type": "bytes"
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
"internalType": "enum Enum.Operation",
|
|
458
|
-
"name": "operation",
|
|
459
|
-
"type": "uint8"
|
|
356
|
+
"name": "to",
|
|
357
|
+
"type": "address"
|
|
460
358
|
},
|
|
461
359
|
{
|
|
462
|
-
"
|
|
463
|
-
"
|
|
464
|
-
"type": "uint256"
|
|
360
|
+
"name": "data",
|
|
361
|
+
"type": "bytes"
|
|
465
362
|
},
|
|
466
363
|
{
|
|
467
|
-
"
|
|
468
|
-
"
|
|
469
|
-
"type": "uint256"
|
|
364
|
+
"name": "paymentToken",
|
|
365
|
+
"type": "address"
|
|
470
366
|
},
|
|
471
367
|
{
|
|
472
|
-
"
|
|
473
|
-
"name": "gasPrice",
|
|
368
|
+
"name": "payment",
|
|
474
369
|
"type": "uint256"
|
|
475
370
|
},
|
|
476
371
|
{
|
|
477
|
-
"
|
|
478
|
-
"name": "gasToken",
|
|
479
|
-
"type": "address"
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"internalType": "address",
|
|
483
|
-
"name": "refundReceiver",
|
|
372
|
+
"name": "paymentReceiver",
|
|
484
373
|
"type": "address"
|
|
485
|
-
}
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"name": "setup",
|
|
377
|
+
"outputs": [],
|
|
378
|
+
"payable": false,
|
|
379
|
+
"stateMutability": "nonpayable",
|
|
380
|
+
"type": "function"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"constant": true,
|
|
384
|
+
"inputs": [],
|
|
385
|
+
"name": "nonce",
|
|
386
|
+
"outputs": [
|
|
486
387
|
{
|
|
487
|
-
"
|
|
488
|
-
"name": "_nonce",
|
|
388
|
+
"name": "",
|
|
489
389
|
"type": "uint256"
|
|
490
390
|
}
|
|
491
391
|
],
|
|
492
|
-
"
|
|
392
|
+
"payable": false,
|
|
393
|
+
"stateMutability": "view",
|
|
394
|
+
"type": "function"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"constant": true,
|
|
398
|
+
"inputs": [],
|
|
399
|
+
"name": "getModules",
|
|
493
400
|
"outputs": [
|
|
494
401
|
{
|
|
495
|
-
"internalType": "bytes",
|
|
496
402
|
"name": "",
|
|
497
|
-
"type": "
|
|
403
|
+
"type": "address[]"
|
|
404
|
+
}
|
|
405
|
+
],
|
|
406
|
+
"payable": false,
|
|
407
|
+
"stateMutability": "view",
|
|
408
|
+
"type": "function"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"constant": true,
|
|
412
|
+
"inputs": [],
|
|
413
|
+
"name": "SAFE_MSG_TYPEHASH",
|
|
414
|
+
"outputs": [
|
|
415
|
+
{
|
|
416
|
+
"name": "",
|
|
417
|
+
"type": "bytes32"
|
|
498
418
|
}
|
|
499
419
|
],
|
|
420
|
+
"payable": false,
|
|
500
421
|
"stateMutability": "view",
|
|
501
422
|
"type": "function"
|
|
502
423
|
},
|
|
503
424
|
{
|
|
425
|
+
"constant": false,
|
|
504
426
|
"inputs": [
|
|
505
427
|
{
|
|
506
|
-
"internalType": "address",
|
|
507
428
|
"name": "to",
|
|
508
429
|
"type": "address"
|
|
509
430
|
},
|
|
510
431
|
{
|
|
511
|
-
"internalType": "uint256",
|
|
512
432
|
"name": "value",
|
|
513
433
|
"type": "uint256"
|
|
514
434
|
},
|
|
515
435
|
{
|
|
516
|
-
"internalType": "bytes",
|
|
517
436
|
"name": "data",
|
|
518
437
|
"type": "bytes"
|
|
519
438
|
},
|
|
520
439
|
{
|
|
521
|
-
"internalType": "enum Enum.Operation",
|
|
522
440
|
"name": "operation",
|
|
523
441
|
"type": "uint8"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"internalType": "uint256",
|
|
527
|
-
"name": "safeTxGas",
|
|
528
|
-
"type": "uint256"
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"internalType": "uint256",
|
|
532
|
-
"name": "baseGas",
|
|
533
|
-
"type": "uint256"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"internalType": "uint256",
|
|
537
|
-
"name": "gasPrice",
|
|
538
|
-
"type": "uint256"
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
"internalType": "address",
|
|
542
|
-
"name": "gasToken",
|
|
543
|
-
"type": "address"
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"internalType": "address payable",
|
|
547
|
-
"name": "refundReceiver",
|
|
548
|
-
"type": "address"
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
"internalType": "bytes",
|
|
552
|
-
"name": "signatures",
|
|
553
|
-
"type": "bytes"
|
|
554
442
|
}
|
|
555
443
|
],
|
|
556
|
-
"name": "
|
|
444
|
+
"name": "requiredTxGas",
|
|
557
445
|
"outputs": [
|
|
558
446
|
{
|
|
559
|
-
"
|
|
560
|
-
"
|
|
561
|
-
"type": "bool"
|
|
447
|
+
"name": "",
|
|
448
|
+
"type": "uint256"
|
|
562
449
|
}
|
|
563
450
|
],
|
|
564
|
-
"
|
|
451
|
+
"payable": false,
|
|
452
|
+
"stateMutability": "nonpayable",
|
|
565
453
|
"type": "function"
|
|
566
454
|
},
|
|
567
455
|
{
|
|
568
|
-
"
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
"type": "address"
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
"internalType": "uint256",
|
|
576
|
-
"name": "value",
|
|
577
|
-
"type": "uint256"
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
"internalType": "bytes",
|
|
581
|
-
"name": "data",
|
|
582
|
-
"type": "bytes"
|
|
583
|
-
},
|
|
456
|
+
"constant": true,
|
|
457
|
+
"inputs": [],
|
|
458
|
+
"name": "SAFE_TX_TYPEHASH",
|
|
459
|
+
"outputs": [
|
|
584
460
|
{
|
|
585
|
-
"
|
|
586
|
-
"
|
|
587
|
-
"type": "uint8"
|
|
461
|
+
"name": "",
|
|
462
|
+
"type": "bytes32"
|
|
588
463
|
}
|
|
589
464
|
],
|
|
590
|
-
"
|
|
591
|
-
"
|
|
465
|
+
"payable": false,
|
|
466
|
+
"stateMutability": "view",
|
|
467
|
+
"type": "function"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"constant": false,
|
|
471
|
+
"inputs": [
|
|
592
472
|
{
|
|
593
|
-
"
|
|
594
|
-
"
|
|
595
|
-
"type": "bool"
|
|
473
|
+
"name": "hashToApprove",
|
|
474
|
+
"type": "bytes32"
|
|
596
475
|
}
|
|
597
476
|
],
|
|
477
|
+
"name": "approveHash",
|
|
478
|
+
"outputs": [],
|
|
479
|
+
"payable": false,
|
|
598
480
|
"stateMutability": "nonpayable",
|
|
599
481
|
"type": "function"
|
|
600
482
|
},
|
|
601
483
|
{
|
|
484
|
+
"constant": true,
|
|
602
485
|
"inputs": [
|
|
603
486
|
{
|
|
604
|
-
"internalType": "address",
|
|
605
487
|
"name": "to",
|
|
606
488
|
"type": "address"
|
|
607
489
|
},
|
|
608
490
|
{
|
|
609
|
-
"internalType": "uint256",
|
|
610
491
|
"name": "value",
|
|
611
492
|
"type": "uint256"
|
|
612
493
|
},
|
|
613
494
|
{
|
|
614
|
-
"internalType": "bytes",
|
|
615
495
|
"name": "data",
|
|
616
496
|
"type": "bytes"
|
|
617
497
|
},
|
|
618
498
|
{
|
|
619
|
-
"internalType": "enum Enum.Operation",
|
|
620
499
|
"name": "operation",
|
|
621
500
|
"type": "uint8"
|
|
622
|
-
}
|
|
623
|
-
],
|
|
624
|
-
"name": "execTransactionFromModuleReturnData",
|
|
625
|
-
"outputs": [
|
|
626
|
-
{
|
|
627
|
-
"internalType": "bool",
|
|
628
|
-
"name": "success",
|
|
629
|
-
"type": "bool"
|
|
630
501
|
},
|
|
631
502
|
{
|
|
632
|
-
"
|
|
633
|
-
"name": "returnData",
|
|
634
|
-
"type": "bytes"
|
|
635
|
-
}
|
|
636
|
-
],
|
|
637
|
-
"stateMutability": "nonpayable",
|
|
638
|
-
"type": "function"
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
"inputs": [],
|
|
642
|
-
"name": "getChainId",
|
|
643
|
-
"outputs": [
|
|
644
|
-
{
|
|
645
|
-
"internalType": "uint256",
|
|
646
|
-
"name": "",
|
|
503
|
+
"name": "safeTxGas",
|
|
647
504
|
"type": "uint256"
|
|
648
|
-
}
|
|
649
|
-
],
|
|
650
|
-
"stateMutability": "view",
|
|
651
|
-
"type": "function"
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
"inputs": [
|
|
505
|
+
},
|
|
655
506
|
{
|
|
656
|
-
"
|
|
657
|
-
"
|
|
658
|
-
"type": "address"
|
|
507
|
+
"name": "baseGas",
|
|
508
|
+
"type": "uint256"
|
|
659
509
|
},
|
|
660
510
|
{
|
|
661
|
-
"
|
|
662
|
-
"name": "pageSize",
|
|
511
|
+
"name": "gasPrice",
|
|
663
512
|
"type": "uint256"
|
|
664
|
-
}
|
|
665
|
-
],
|
|
666
|
-
"name": "getModulesPaginated",
|
|
667
|
-
"outputs": [
|
|
513
|
+
},
|
|
668
514
|
{
|
|
669
|
-
"
|
|
670
|
-
"
|
|
671
|
-
"type": "address[]"
|
|
515
|
+
"name": "gasToken",
|
|
516
|
+
"type": "address"
|
|
672
517
|
},
|
|
673
518
|
{
|
|
674
|
-
"
|
|
675
|
-
"name": "next",
|
|
519
|
+
"name": "refundReceiver",
|
|
676
520
|
"type": "address"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"name": "_nonce",
|
|
524
|
+
"type": "uint256"
|
|
677
525
|
}
|
|
678
526
|
],
|
|
679
|
-
"
|
|
680
|
-
"type": "function"
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
"inputs": [],
|
|
684
|
-
"name": "getOwners",
|
|
527
|
+
"name": "getTransactionHash",
|
|
685
528
|
"outputs": [
|
|
686
529
|
{
|
|
687
|
-
"internalType": "address[]",
|
|
688
530
|
"name": "",
|
|
689
|
-
"type": "
|
|
531
|
+
"type": "bytes32"
|
|
690
532
|
}
|
|
691
533
|
],
|
|
534
|
+
"payable": false,
|
|
692
535
|
"stateMutability": "view",
|
|
693
536
|
"type": "function"
|
|
694
537
|
},
|
|
695
538
|
{
|
|
539
|
+
"constant": false,
|
|
696
540
|
"inputs": [
|
|
697
541
|
{
|
|
698
|
-
"
|
|
699
|
-
"
|
|
700
|
-
"type": "uint256"
|
|
542
|
+
"name": "prevModule",
|
|
543
|
+
"type": "address"
|
|
701
544
|
},
|
|
702
545
|
{
|
|
703
|
-
"
|
|
704
|
-
"
|
|
705
|
-
"type": "uint256"
|
|
546
|
+
"name": "module",
|
|
547
|
+
"type": "address"
|
|
706
548
|
}
|
|
707
549
|
],
|
|
708
|
-
"name": "
|
|
709
|
-
"outputs": [
|
|
550
|
+
"name": "disableModule",
|
|
551
|
+
"outputs": [],
|
|
552
|
+
"payable": false,
|
|
553
|
+
"stateMutability": "nonpayable",
|
|
554
|
+
"type": "function"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"constant": false,
|
|
558
|
+
"inputs": [
|
|
710
559
|
{
|
|
711
|
-
"
|
|
712
|
-
"
|
|
713
|
-
|
|
560
|
+
"name": "prevOwner",
|
|
561
|
+
"type": "address"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"name": "oldOwner",
|
|
565
|
+
"type": "address"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "newOwner",
|
|
569
|
+
"type": "address"
|
|
714
570
|
}
|
|
715
571
|
],
|
|
716
|
-
"
|
|
572
|
+
"name": "swapOwner",
|
|
573
|
+
"outputs": [],
|
|
574
|
+
"payable": false,
|
|
575
|
+
"stateMutability": "nonpayable",
|
|
717
576
|
"type": "function"
|
|
718
577
|
},
|
|
719
578
|
{
|
|
579
|
+
"constant": true,
|
|
720
580
|
"inputs": [],
|
|
721
581
|
"name": "getThreshold",
|
|
722
582
|
"outputs": [
|
|
723
583
|
{
|
|
724
|
-
"internalType": "uint256",
|
|
725
584
|
"name": "",
|
|
726
585
|
"type": "uint256"
|
|
727
586
|
}
|
|
728
587
|
],
|
|
588
|
+
"payable": false,
|
|
729
589
|
"stateMutability": "view",
|
|
730
590
|
"type": "function"
|
|
731
591
|
},
|
|
732
592
|
{
|
|
593
|
+
"constant": true,
|
|
733
594
|
"inputs": [
|
|
734
595
|
{
|
|
735
|
-
"internalType": "address",
|
|
736
596
|
"name": "to",
|
|
737
597
|
"type": "address"
|
|
738
598
|
},
|
|
739
599
|
{
|
|
740
|
-
"internalType": "uint256",
|
|
741
600
|
"name": "value",
|
|
742
601
|
"type": "uint256"
|
|
743
602
|
},
|
|
744
603
|
{
|
|
745
|
-
"internalType": "bytes",
|
|
746
604
|
"name": "data",
|
|
747
605
|
"type": "bytes"
|
|
748
606
|
},
|
|
749
607
|
{
|
|
750
|
-
"internalType": "enum Enum.Operation",
|
|
751
608
|
"name": "operation",
|
|
752
609
|
"type": "uint8"
|
|
753
610
|
},
|
|
754
611
|
{
|
|
755
|
-
"internalType": "uint256",
|
|
756
612
|
"name": "safeTxGas",
|
|
757
613
|
"type": "uint256"
|
|
758
614
|
},
|
|
759
615
|
{
|
|
760
|
-
"internalType": "uint256",
|
|
761
616
|
"name": "baseGas",
|
|
762
617
|
"type": "uint256"
|
|
763
618
|
},
|
|
764
619
|
{
|
|
765
|
-
"internalType": "uint256",
|
|
766
620
|
"name": "gasPrice",
|
|
767
621
|
"type": "uint256"
|
|
768
622
|
},
|
|
769
623
|
{
|
|
770
|
-
"internalType": "address",
|
|
771
624
|
"name": "gasToken",
|
|
772
625
|
"type": "address"
|
|
773
626
|
},
|
|
774
627
|
{
|
|
775
|
-
"internalType": "address",
|
|
776
628
|
"name": "refundReceiver",
|
|
777
629
|
"type": "address"
|
|
778
630
|
},
|
|
779
631
|
{
|
|
780
|
-
"internalType": "uint256",
|
|
781
632
|
"name": "_nonce",
|
|
782
633
|
"type": "uint256"
|
|
783
634
|
}
|
|
784
635
|
],
|
|
785
|
-
"name": "
|
|
786
|
-
"outputs": [
|
|
787
|
-
{
|
|
788
|
-
"internalType": "bytes32",
|
|
789
|
-
"name": "",
|
|
790
|
-
"type": "bytes32"
|
|
791
|
-
}
|
|
792
|
-
],
|
|
793
|
-
"stateMutability": "view",
|
|
794
|
-
"type": "function"
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
"inputs": [
|
|
798
|
-
{
|
|
799
|
-
"internalType": "address",
|
|
800
|
-
"name": "module",
|
|
801
|
-
"type": "address"
|
|
802
|
-
}
|
|
803
|
-
],
|
|
804
|
-
"name": "isModuleEnabled",
|
|
805
|
-
"outputs": [
|
|
806
|
-
{
|
|
807
|
-
"internalType": "bool",
|
|
808
|
-
"name": "",
|
|
809
|
-
"type": "bool"
|
|
810
|
-
}
|
|
811
|
-
],
|
|
812
|
-
"stateMutability": "view",
|
|
813
|
-
"type": "function"
|
|
814
|
-
},
|
|
815
|
-
{
|
|
816
|
-
"inputs": [
|
|
817
|
-
{
|
|
818
|
-
"internalType": "address",
|
|
819
|
-
"name": "owner",
|
|
820
|
-
"type": "address"
|
|
821
|
-
}
|
|
822
|
-
],
|
|
823
|
-
"name": "isOwner",
|
|
636
|
+
"name": "encodeTransactionData",
|
|
824
637
|
"outputs": [
|
|
825
638
|
{
|
|
826
|
-
"internalType": "bool",
|
|
827
639
|
"name": "",
|
|
828
|
-
"type": "
|
|
640
|
+
"type": "bytes"
|
|
829
641
|
}
|
|
830
642
|
],
|
|
643
|
+
"payable": false,
|
|
831
644
|
"stateMutability": "view",
|
|
832
645
|
"type": "function"
|
|
833
646
|
},
|
|
834
647
|
{
|
|
648
|
+
"constant": true,
|
|
835
649
|
"inputs": [],
|
|
836
|
-
"name": "
|
|
650
|
+
"name": "domainSeparator",
|
|
837
651
|
"outputs": [
|
|
838
652
|
{
|
|
839
|
-
"internalType": "uint256",
|
|
840
653
|
"name": "",
|
|
841
|
-
"type": "
|
|
654
|
+
"type": "bytes32"
|
|
842
655
|
}
|
|
843
656
|
],
|
|
657
|
+
"payable": false,
|
|
844
658
|
"stateMutability": "view",
|
|
845
659
|
"type": "function"
|
|
846
660
|
},
|
|
847
661
|
{
|
|
662
|
+
"constant": false,
|
|
848
663
|
"inputs": [
|
|
849
664
|
{
|
|
850
|
-
"internalType": "address",
|
|
851
665
|
"name": "prevOwner",
|
|
852
666
|
"type": "address"
|
|
853
667
|
},
|
|
854
668
|
{
|
|
855
|
-
"internalType": "address",
|
|
856
669
|
"name": "owner",
|
|
857
670
|
"type": "address"
|
|
858
671
|
},
|
|
859
672
|
{
|
|
860
|
-
"internalType": "uint256",
|
|
861
673
|
"name": "_threshold",
|
|
862
674
|
"type": "uint256"
|
|
863
675
|
}
|
|
864
676
|
],
|
|
865
677
|
"name": "removeOwner",
|
|
866
678
|
"outputs": [],
|
|
679
|
+
"payable": false,
|
|
867
680
|
"stateMutability": "nonpayable",
|
|
868
681
|
"type": "function"
|
|
869
682
|
},
|
|
870
683
|
{
|
|
871
|
-
"
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
"name": "to",
|
|
875
|
-
"type": "address"
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
"internalType": "uint256",
|
|
879
|
-
"name": "value",
|
|
880
|
-
"type": "uint256"
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
"internalType": "bytes",
|
|
884
|
-
"name": "data",
|
|
885
|
-
"type": "bytes"
|
|
886
|
-
},
|
|
887
|
-
{
|
|
888
|
-
"internalType": "enum Enum.Operation",
|
|
889
|
-
"name": "operation",
|
|
890
|
-
"type": "uint8"
|
|
891
|
-
}
|
|
892
|
-
],
|
|
893
|
-
"name": "requiredTxGas",
|
|
684
|
+
"constant": true,
|
|
685
|
+
"inputs": [],
|
|
686
|
+
"name": "VERSION",
|
|
894
687
|
"outputs": [
|
|
895
688
|
{
|
|
896
|
-
"internalType": "uint256",
|
|
897
689
|
"name": "",
|
|
898
|
-
"type": "
|
|
690
|
+
"type": "string"
|
|
899
691
|
}
|
|
900
692
|
],
|
|
901
|
-
"
|
|
693
|
+
"payable": false,
|
|
694
|
+
"stateMutability": "view",
|
|
902
695
|
"type": "function"
|
|
903
696
|
},
|
|
904
697
|
{
|
|
698
|
+
"payable": true,
|
|
699
|
+
"stateMutability": "payable",
|
|
700
|
+
"type": "fallback"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"anonymous": false,
|
|
905
704
|
"inputs": [
|
|
906
705
|
{
|
|
907
|
-
"
|
|
908
|
-
"name": "
|
|
909
|
-
"type": "
|
|
706
|
+
"indexed": false,
|
|
707
|
+
"name": "txHash",
|
|
708
|
+
"type": "bytes32"
|
|
910
709
|
}
|
|
911
710
|
],
|
|
912
|
-
"name": "
|
|
913
|
-
"
|
|
914
|
-
"stateMutability": "nonpayable",
|
|
915
|
-
"type": "function"
|
|
711
|
+
"name": "ExecutionFailed",
|
|
712
|
+
"type": "event"
|
|
916
713
|
},
|
|
917
714
|
{
|
|
715
|
+
"anonymous": false,
|
|
918
716
|
"inputs": [
|
|
919
717
|
{
|
|
920
|
-
"
|
|
921
|
-
"name": "
|
|
718
|
+
"indexed": false,
|
|
719
|
+
"name": "owner",
|
|
922
720
|
"type": "address"
|
|
923
721
|
}
|
|
924
722
|
],
|
|
925
|
-
"name": "
|
|
926
|
-
"
|
|
927
|
-
"stateMutability": "nonpayable",
|
|
928
|
-
"type": "function"
|
|
723
|
+
"name": "AddedOwner",
|
|
724
|
+
"type": "event"
|
|
929
725
|
},
|
|
930
726
|
{
|
|
727
|
+
"anonymous": false,
|
|
931
728
|
"inputs": [
|
|
932
729
|
{
|
|
933
|
-
"
|
|
934
|
-
"name": "
|
|
935
|
-
"type": "address[]"
|
|
936
|
-
},
|
|
937
|
-
{
|
|
938
|
-
"internalType": "uint256",
|
|
939
|
-
"name": "_threshold",
|
|
940
|
-
"type": "uint256"
|
|
941
|
-
},
|
|
942
|
-
{
|
|
943
|
-
"internalType": "address",
|
|
944
|
-
"name": "to",
|
|
945
|
-
"type": "address"
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
"internalType": "bytes",
|
|
949
|
-
"name": "data",
|
|
950
|
-
"type": "bytes"
|
|
951
|
-
},
|
|
952
|
-
{
|
|
953
|
-
"internalType": "address",
|
|
954
|
-
"name": "fallbackHandler",
|
|
955
|
-
"type": "address"
|
|
956
|
-
},
|
|
957
|
-
{
|
|
958
|
-
"internalType": "address",
|
|
959
|
-
"name": "paymentToken",
|
|
960
|
-
"type": "address"
|
|
961
|
-
},
|
|
962
|
-
{
|
|
963
|
-
"internalType": "uint256",
|
|
964
|
-
"name": "payment",
|
|
965
|
-
"type": "uint256"
|
|
966
|
-
},
|
|
967
|
-
{
|
|
968
|
-
"internalType": "address payable",
|
|
969
|
-
"name": "paymentReceiver",
|
|
730
|
+
"indexed": false,
|
|
731
|
+
"name": "owner",
|
|
970
732
|
"type": "address"
|
|
971
733
|
}
|
|
972
734
|
],
|
|
973
|
-
"name": "
|
|
974
|
-
"
|
|
975
|
-
"stateMutability": "nonpayable",
|
|
976
|
-
"type": "function"
|
|
735
|
+
"name": "RemovedOwner",
|
|
736
|
+
"type": "event"
|
|
977
737
|
},
|
|
978
738
|
{
|
|
739
|
+
"anonymous": false,
|
|
979
740
|
"inputs": [
|
|
980
741
|
{
|
|
981
|
-
"
|
|
982
|
-
"name": "",
|
|
983
|
-
"type": "bytes32"
|
|
984
|
-
}
|
|
985
|
-
],
|
|
986
|
-
"name": "signedMessages",
|
|
987
|
-
"outputs": [
|
|
988
|
-
{
|
|
989
|
-
"internalType": "uint256",
|
|
990
|
-
"name": "",
|
|
742
|
+
"indexed": false,
|
|
743
|
+
"name": "threshold",
|
|
991
744
|
"type": "uint256"
|
|
992
745
|
}
|
|
993
746
|
],
|
|
994
|
-
"
|
|
995
|
-
"type": "
|
|
747
|
+
"name": "ChangedThreshold",
|
|
748
|
+
"type": "event"
|
|
996
749
|
},
|
|
997
750
|
{
|
|
751
|
+
"anonymous": false,
|
|
998
752
|
"inputs": [
|
|
999
753
|
{
|
|
1000
|
-
"
|
|
1001
|
-
"name": "
|
|
754
|
+
"indexed": false,
|
|
755
|
+
"name": "module",
|
|
1002
756
|
"type": "address"
|
|
1003
|
-
},
|
|
1004
|
-
{
|
|
1005
|
-
"internalType": "bytes",
|
|
1006
|
-
"name": "calldataPayload",
|
|
1007
|
-
"type": "bytes"
|
|
1008
757
|
}
|
|
1009
758
|
],
|
|
1010
|
-
"name": "
|
|
1011
|
-
"
|
|
1012
|
-
"stateMutability": "nonpayable",
|
|
1013
|
-
"type": "function"
|
|
759
|
+
"name": "EnabledModule",
|
|
760
|
+
"type": "event"
|
|
1014
761
|
},
|
|
1015
762
|
{
|
|
763
|
+
"anonymous": false,
|
|
1016
764
|
"inputs": [
|
|
1017
765
|
{
|
|
1018
|
-
"
|
|
1019
|
-
"name": "
|
|
1020
|
-
"type": "address"
|
|
1021
|
-
},
|
|
1022
|
-
{
|
|
1023
|
-
"internalType": "address",
|
|
1024
|
-
"name": "oldOwner",
|
|
1025
|
-
"type": "address"
|
|
1026
|
-
},
|
|
1027
|
-
{
|
|
1028
|
-
"internalType": "address",
|
|
1029
|
-
"name": "newOwner",
|
|
766
|
+
"indexed": false,
|
|
767
|
+
"name": "module",
|
|
1030
768
|
"type": "address"
|
|
1031
769
|
}
|
|
1032
770
|
],
|
|
1033
|
-
"name": "
|
|
1034
|
-
"
|
|
1035
|
-
"stateMutability": "nonpayable",
|
|
1036
|
-
"type": "function"
|
|
771
|
+
"name": "DisabledModule",
|
|
772
|
+
"type": "event"
|
|
1037
773
|
},
|
|
1038
774
|
{
|
|
1039
|
-
"
|
|
1040
|
-
"
|
|
775
|
+
"anonymous": false,
|
|
776
|
+
"inputs": [
|
|
777
|
+
{
|
|
778
|
+
"indexed": false,
|
|
779
|
+
"name": "newContract",
|
|
780
|
+
"type": "address"
|
|
781
|
+
}
|
|
782
|
+
],
|
|
783
|
+
"name": "ContractCreation",
|
|
784
|
+
"type": "event"
|
|
1041
785
|
}
|
|
1042
786
|
];
|
|
1043
787
|
/**
|
|
@@ -1098,81 +842,95 @@ class GnosisSafe_json {
|
|
|
1098
842
|
return this.contract;
|
|
1099
843
|
}
|
|
1100
844
|
/**
|
|
1101
|
-
*
|
|
845
|
+
* getMessageHash
|
|
1102
846
|
* view
|
|
1103
847
|
*/
|
|
1104
|
-
async
|
|
1105
|
-
return this.contract.read.
|
|
848
|
+
async getMessageHash(message) {
|
|
849
|
+
return this.contract.read.getMessageHash([message]);
|
|
1106
850
|
}
|
|
1107
851
|
/**
|
|
1108
|
-
*
|
|
852
|
+
* DOMAIN_SEPARATOR_TYPEHASH
|
|
1109
853
|
* view
|
|
1110
854
|
*/
|
|
1111
|
-
async
|
|
1112
|
-
return this.contract.read.
|
|
855
|
+
async DOMAIN_SEPARATOR_TYPEHASH() {
|
|
856
|
+
return this.contract.read.DOMAIN_SEPARATOR_TYPEHASH();
|
|
1113
857
|
}
|
|
1114
858
|
/**
|
|
1115
|
-
*
|
|
859
|
+
* isOwner
|
|
1116
860
|
* view
|
|
1117
861
|
*/
|
|
1118
|
-
async
|
|
1119
|
-
return this.contract.read.
|
|
862
|
+
async isOwner(owner) {
|
|
863
|
+
return this.contract.read.isOwner([owner]);
|
|
1120
864
|
}
|
|
1121
865
|
/**
|
|
1122
|
-
*
|
|
866
|
+
* signedMessages
|
|
1123
867
|
* view
|
|
1124
868
|
*/
|
|
1125
|
-
async
|
|
1126
|
-
return this.contract.read.
|
|
869
|
+
async signedMessages(arg0) {
|
|
870
|
+
return this.contract.read.signedMessages([arg0]);
|
|
1127
871
|
}
|
|
1128
872
|
/**
|
|
1129
|
-
*
|
|
873
|
+
* approvedHashes
|
|
1130
874
|
* view
|
|
1131
875
|
*/
|
|
1132
|
-
async
|
|
1133
|
-
return this.contract.read.
|
|
876
|
+
async approvedHashes(arg0, arg1) {
|
|
877
|
+
return this.contract.read.approvedHashes([arg0, arg1]);
|
|
1134
878
|
}
|
|
1135
879
|
/**
|
|
1136
|
-
*
|
|
880
|
+
* SENTINEL_MODULES
|
|
1137
881
|
* view
|
|
1138
882
|
*/
|
|
1139
|
-
async
|
|
1140
|
-
return this.contract.read.
|
|
883
|
+
async SENTINEL_MODULES() {
|
|
884
|
+
return this.contract.read.SENTINEL_MODULES();
|
|
1141
885
|
}
|
|
1142
886
|
/**
|
|
1143
|
-
*
|
|
887
|
+
* SENTINEL_OWNERS
|
|
1144
888
|
* view
|
|
1145
889
|
*/
|
|
1146
|
-
async
|
|
1147
|
-
return this.contract.read.
|
|
890
|
+
async SENTINEL_OWNERS() {
|
|
891
|
+
return this.contract.read.SENTINEL_OWNERS();
|
|
1148
892
|
}
|
|
1149
893
|
/**
|
|
1150
|
-
*
|
|
894
|
+
* getOwners
|
|
1151
895
|
* view
|
|
1152
896
|
*/
|
|
1153
|
-
async
|
|
1154
|
-
return this.contract.read.
|
|
897
|
+
async getOwners() {
|
|
898
|
+
return this.contract.read.getOwners();
|
|
1155
899
|
}
|
|
1156
900
|
/**
|
|
1157
|
-
*
|
|
901
|
+
* NAME
|
|
1158
902
|
* view
|
|
1159
903
|
*/
|
|
1160
|
-
async
|
|
1161
|
-
return this.contract.read.
|
|
904
|
+
async NAME() {
|
|
905
|
+
return this.contract.read.NAME();
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* nonce
|
|
909
|
+
* view
|
|
910
|
+
*/
|
|
911
|
+
async nonce() {
|
|
912
|
+
return this.contract.read.nonce();
|
|
1162
913
|
}
|
|
1163
914
|
/**
|
|
1164
|
-
*
|
|
915
|
+
* getModules
|
|
1165
916
|
* view
|
|
1166
917
|
*/
|
|
1167
|
-
async
|
|
1168
|
-
return this.contract.read.
|
|
918
|
+
async getModules() {
|
|
919
|
+
return this.contract.read.getModules();
|
|
1169
920
|
}
|
|
1170
921
|
/**
|
|
1171
|
-
*
|
|
922
|
+
* SAFE_MSG_TYPEHASH
|
|
1172
923
|
* view
|
|
1173
924
|
*/
|
|
1174
|
-
async
|
|
1175
|
-
return this.contract.read.
|
|
925
|
+
async SAFE_MSG_TYPEHASH() {
|
|
926
|
+
return this.contract.read.SAFE_MSG_TYPEHASH();
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* SAFE_TX_TYPEHASH
|
|
930
|
+
* view
|
|
931
|
+
*/
|
|
932
|
+
async SAFE_TX_TYPEHASH() {
|
|
933
|
+
return this.contract.read.SAFE_TX_TYPEHASH();
|
|
1176
934
|
}
|
|
1177
935
|
/**
|
|
1178
936
|
* getTransactionHash
|
|
@@ -1182,32 +940,32 @@ class GnosisSafe_json {
|
|
|
1182
940
|
return this.contract.read.getTransactionHash([to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, _nonce]);
|
|
1183
941
|
}
|
|
1184
942
|
/**
|
|
1185
|
-
*
|
|
943
|
+
* getThreshold
|
|
1186
944
|
* view
|
|
1187
945
|
*/
|
|
1188
|
-
async
|
|
1189
|
-
return this.contract.read.
|
|
946
|
+
async getThreshold() {
|
|
947
|
+
return this.contract.read.getThreshold();
|
|
1190
948
|
}
|
|
1191
949
|
/**
|
|
1192
|
-
*
|
|
950
|
+
* encodeTransactionData
|
|
1193
951
|
* view
|
|
1194
952
|
*/
|
|
1195
|
-
async
|
|
1196
|
-
return this.contract.read.
|
|
953
|
+
async encodeTransactionData(to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, _nonce) {
|
|
954
|
+
return this.contract.read.encodeTransactionData([to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, _nonce]);
|
|
1197
955
|
}
|
|
1198
956
|
/**
|
|
1199
|
-
*
|
|
957
|
+
* domainSeparator
|
|
1200
958
|
* view
|
|
1201
959
|
*/
|
|
1202
|
-
async
|
|
1203
|
-
return this.contract.read.
|
|
960
|
+
async domainSeparator() {
|
|
961
|
+
return this.contract.read.domainSeparator();
|
|
1204
962
|
}
|
|
1205
963
|
/**
|
|
1206
|
-
*
|
|
964
|
+
* VERSION
|
|
1207
965
|
* view
|
|
1208
966
|
*/
|
|
1209
|
-
async
|
|
1210
|
-
return this.contract.read.
|
|
967
|
+
async VERSION() {
|
|
968
|
+
return this.contract.read.VERSION();
|
|
1211
969
|
}
|
|
1212
970
|
/**
|
|
1213
971
|
* addOwnerWithThreshold
|
|
@@ -1221,52 +979,52 @@ class GnosisSafe_json {
|
|
|
1221
979
|
return this.contract.write.addOwnerWithThreshold([owner, _threshold], options);
|
|
1222
980
|
}
|
|
1223
981
|
/**
|
|
1224
|
-
*
|
|
982
|
+
* isValidSignature
|
|
1225
983
|
* nonpayable
|
|
1226
984
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1227
985
|
*/
|
|
1228
|
-
async
|
|
986
|
+
async isValidSignature(_data, _signature, options) {
|
|
1229
987
|
if (!this.contract.write) {
|
|
1230
988
|
throw new Error('Wallet client is required for write operations');
|
|
1231
989
|
}
|
|
1232
|
-
return this.contract.write.
|
|
990
|
+
return this.contract.write.isValidSignature([_data, _signature], options);
|
|
1233
991
|
}
|
|
1234
992
|
/**
|
|
1235
|
-
*
|
|
993
|
+
* execTransactionFromModule
|
|
1236
994
|
* nonpayable
|
|
1237
995
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1238
996
|
*/
|
|
1239
|
-
async
|
|
997
|
+
async execTransactionFromModule(to, value, data, operation, options) {
|
|
1240
998
|
if (!this.contract.write) {
|
|
1241
999
|
throw new Error('Wallet client is required for write operations');
|
|
1242
1000
|
}
|
|
1243
|
-
return this.contract.write.
|
|
1001
|
+
return this.contract.write.execTransactionFromModule([to, value, data, operation], options);
|
|
1244
1002
|
}
|
|
1245
1003
|
/**
|
|
1246
|
-
*
|
|
1004
|
+
* enableModule
|
|
1247
1005
|
* nonpayable
|
|
1248
1006
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1249
1007
|
*/
|
|
1250
|
-
async
|
|
1008
|
+
async enableModule(module, options) {
|
|
1251
1009
|
if (!this.contract.write) {
|
|
1252
1010
|
throw new Error('Wallet client is required for write operations');
|
|
1253
1011
|
}
|
|
1254
|
-
return this.contract.write.
|
|
1012
|
+
return this.contract.write.enableModule([module], options);
|
|
1255
1013
|
}
|
|
1256
1014
|
/**
|
|
1257
|
-
*
|
|
1015
|
+
* changeThreshold
|
|
1258
1016
|
* nonpayable
|
|
1259
1017
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1260
1018
|
*/
|
|
1261
|
-
async
|
|
1019
|
+
async changeThreshold(_threshold, options) {
|
|
1262
1020
|
if (!this.contract.write) {
|
|
1263
1021
|
throw new Error('Wallet client is required for write operations');
|
|
1264
1022
|
}
|
|
1265
|
-
return this.contract.write.
|
|
1023
|
+
return this.contract.write.changeThreshold([_threshold], options);
|
|
1266
1024
|
}
|
|
1267
1025
|
/**
|
|
1268
1026
|
* execTransaction
|
|
1269
|
-
*
|
|
1027
|
+
* nonpayable
|
|
1270
1028
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1271
1029
|
*/
|
|
1272
1030
|
async execTransaction(to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, signatures, options) {
|
|
@@ -1276,37 +1034,37 @@ class GnosisSafe_json {
|
|
|
1276
1034
|
return this.contract.write.execTransaction([to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, signatures], options);
|
|
1277
1035
|
}
|
|
1278
1036
|
/**
|
|
1279
|
-
*
|
|
1037
|
+
* changeMasterCopy
|
|
1280
1038
|
* nonpayable
|
|
1281
1039
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1282
1040
|
*/
|
|
1283
|
-
async
|
|
1041
|
+
async changeMasterCopy(_masterCopy, options) {
|
|
1284
1042
|
if (!this.contract.write) {
|
|
1285
1043
|
throw new Error('Wallet client is required for write operations');
|
|
1286
1044
|
}
|
|
1287
|
-
return this.contract.write.
|
|
1045
|
+
return this.contract.write.changeMasterCopy([_masterCopy], options);
|
|
1288
1046
|
}
|
|
1289
1047
|
/**
|
|
1290
|
-
*
|
|
1048
|
+
* signMessage
|
|
1291
1049
|
* nonpayable
|
|
1292
1050
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1293
1051
|
*/
|
|
1294
|
-
async
|
|
1052
|
+
async signMessage(_data, options) {
|
|
1295
1053
|
if (!this.contract.write) {
|
|
1296
1054
|
throw new Error('Wallet client is required for write operations');
|
|
1297
1055
|
}
|
|
1298
|
-
return this.contract.write.
|
|
1056
|
+
return this.contract.write.signMessage([_data], options);
|
|
1299
1057
|
}
|
|
1300
1058
|
/**
|
|
1301
|
-
*
|
|
1059
|
+
* setup
|
|
1302
1060
|
* nonpayable
|
|
1303
1061
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1304
1062
|
*/
|
|
1305
|
-
async
|
|
1063
|
+
async setup(_owners, _threshold, to, data, paymentToken, payment, paymentReceiver, options) {
|
|
1306
1064
|
if (!this.contract.write) {
|
|
1307
1065
|
throw new Error('Wallet client is required for write operations');
|
|
1308
1066
|
}
|
|
1309
|
-
return this.contract.write.
|
|
1067
|
+
return this.contract.write.setup([_owners, _threshold, to, data, paymentToken, payment, paymentReceiver], options);
|
|
1310
1068
|
}
|
|
1311
1069
|
/**
|
|
1312
1070
|
* requiredTxGas
|
|
@@ -1320,59 +1078,48 @@ class GnosisSafe_json {
|
|
|
1320
1078
|
return this.contract.write.requiredTxGas([to, value, data, operation], options);
|
|
1321
1079
|
}
|
|
1322
1080
|
/**
|
|
1323
|
-
*
|
|
1324
|
-
* nonpayable
|
|
1325
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1326
|
-
*/
|
|
1327
|
-
async setFallbackHandler(handler, options) {
|
|
1328
|
-
if (!this.contract.write) {
|
|
1329
|
-
throw new Error('Wallet client is required for write operations');
|
|
1330
|
-
}
|
|
1331
|
-
return this.contract.write.setFallbackHandler([handler], options);
|
|
1332
|
-
}
|
|
1333
|
-
/**
|
|
1334
|
-
* setGuard
|
|
1081
|
+
* approveHash
|
|
1335
1082
|
* nonpayable
|
|
1336
1083
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1337
1084
|
*/
|
|
1338
|
-
async
|
|
1085
|
+
async approveHash(hashToApprove, options) {
|
|
1339
1086
|
if (!this.contract.write) {
|
|
1340
1087
|
throw new Error('Wallet client is required for write operations');
|
|
1341
1088
|
}
|
|
1342
|
-
return this.contract.write.
|
|
1089
|
+
return this.contract.write.approveHash([hashToApprove], options);
|
|
1343
1090
|
}
|
|
1344
1091
|
/**
|
|
1345
|
-
*
|
|
1092
|
+
* disableModule
|
|
1346
1093
|
* nonpayable
|
|
1347
1094
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1348
1095
|
*/
|
|
1349
|
-
async
|
|
1096
|
+
async disableModule(prevModule, module, options) {
|
|
1350
1097
|
if (!this.contract.write) {
|
|
1351
1098
|
throw new Error('Wallet client is required for write operations');
|
|
1352
1099
|
}
|
|
1353
|
-
return this.contract.write.
|
|
1100
|
+
return this.contract.write.disableModule([prevModule, module], options);
|
|
1354
1101
|
}
|
|
1355
1102
|
/**
|
|
1356
|
-
*
|
|
1103
|
+
* swapOwner
|
|
1357
1104
|
* nonpayable
|
|
1358
1105
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1359
1106
|
*/
|
|
1360
|
-
async
|
|
1107
|
+
async swapOwner(prevOwner, oldOwner, newOwner, options) {
|
|
1361
1108
|
if (!this.contract.write) {
|
|
1362
1109
|
throw new Error('Wallet client is required for write operations');
|
|
1363
1110
|
}
|
|
1364
|
-
return this.contract.write.
|
|
1111
|
+
return this.contract.write.swapOwner([prevOwner, oldOwner, newOwner], options);
|
|
1365
1112
|
}
|
|
1366
1113
|
/**
|
|
1367
|
-
*
|
|
1114
|
+
* removeOwner
|
|
1368
1115
|
* nonpayable
|
|
1369
1116
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1370
1117
|
*/
|
|
1371
|
-
async
|
|
1118
|
+
async removeOwner(prevOwner, owner, _threshold, options) {
|
|
1372
1119
|
if (!this.contract.write) {
|
|
1373
1120
|
throw new Error('Wallet client is required for write operations');
|
|
1374
1121
|
}
|
|
1375
|
-
return this.contract.write.
|
|
1122
|
+
return this.contract.write.removeOwner([prevOwner, owner, _threshold], options);
|
|
1376
1123
|
}
|
|
1377
1124
|
/**
|
|
1378
1125
|
* Simulate contract write operations (dry-run without sending transaction)
|
|
@@ -1397,36 +1144,36 @@ class GnosisSafe_json {
|
|
|
1397
1144
|
return contract.simulate.addOwnerWithThreshold([owner, _threshold], options);
|
|
1398
1145
|
},
|
|
1399
1146
|
/**
|
|
1400
|
-
* Simulate
|
|
1147
|
+
* Simulate isValidSignature
|
|
1401
1148
|
* Returns gas estimate and result without sending transaction
|
|
1402
1149
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1403
1150
|
*/
|
|
1404
|
-
async
|
|
1405
|
-
return contract.simulate.
|
|
1151
|
+
async isValidSignature(_data, _signature, options) {
|
|
1152
|
+
return contract.simulate.isValidSignature([_data, _signature], options);
|
|
1406
1153
|
},
|
|
1407
1154
|
/**
|
|
1408
|
-
* Simulate
|
|
1155
|
+
* Simulate execTransactionFromModule
|
|
1409
1156
|
* Returns gas estimate and result without sending transaction
|
|
1410
1157
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1411
1158
|
*/
|
|
1412
|
-
async
|
|
1413
|
-
return contract.simulate.
|
|
1159
|
+
async execTransactionFromModule(to, value, data, operation, options) {
|
|
1160
|
+
return contract.simulate.execTransactionFromModule([to, value, data, operation], options);
|
|
1414
1161
|
},
|
|
1415
1162
|
/**
|
|
1416
|
-
* Simulate
|
|
1163
|
+
* Simulate enableModule
|
|
1417
1164
|
* Returns gas estimate and result without sending transaction
|
|
1418
1165
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1419
1166
|
*/
|
|
1420
|
-
async
|
|
1421
|
-
return contract.simulate.
|
|
1167
|
+
async enableModule(module, options) {
|
|
1168
|
+
return contract.simulate.enableModule([module], options);
|
|
1422
1169
|
},
|
|
1423
1170
|
/**
|
|
1424
|
-
* Simulate
|
|
1171
|
+
* Simulate changeThreshold
|
|
1425
1172
|
* Returns gas estimate and result without sending transaction
|
|
1426
1173
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1427
1174
|
*/
|
|
1428
|
-
async
|
|
1429
|
-
return contract.simulate.
|
|
1175
|
+
async changeThreshold(_threshold, options) {
|
|
1176
|
+
return contract.simulate.changeThreshold([_threshold], options);
|
|
1430
1177
|
},
|
|
1431
1178
|
/**
|
|
1432
1179
|
* Simulate execTransaction
|
|
@@ -1437,28 +1184,28 @@ class GnosisSafe_json {
|
|
|
1437
1184
|
return contract.simulate.execTransaction([to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, signatures], options);
|
|
1438
1185
|
},
|
|
1439
1186
|
/**
|
|
1440
|
-
* Simulate
|
|
1187
|
+
* Simulate changeMasterCopy
|
|
1441
1188
|
* Returns gas estimate and result without sending transaction
|
|
1442
1189
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1443
1190
|
*/
|
|
1444
|
-
async
|
|
1445
|
-
return contract.simulate.
|
|
1191
|
+
async changeMasterCopy(_masterCopy, options) {
|
|
1192
|
+
return contract.simulate.changeMasterCopy([_masterCopy], options);
|
|
1446
1193
|
},
|
|
1447
1194
|
/**
|
|
1448
|
-
* Simulate
|
|
1195
|
+
* Simulate signMessage
|
|
1449
1196
|
* Returns gas estimate and result without sending transaction
|
|
1450
1197
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1451
1198
|
*/
|
|
1452
|
-
async
|
|
1453
|
-
return contract.simulate.
|
|
1199
|
+
async signMessage(_data, options) {
|
|
1200
|
+
return contract.simulate.signMessage([_data], options);
|
|
1454
1201
|
},
|
|
1455
1202
|
/**
|
|
1456
|
-
* Simulate
|
|
1203
|
+
* Simulate setup
|
|
1457
1204
|
* Returns gas estimate and result without sending transaction
|
|
1458
1205
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1459
1206
|
*/
|
|
1460
|
-
async
|
|
1461
|
-
return contract.simulate.
|
|
1207
|
+
async setup(_owners, _threshold, to, data, paymentToken, payment, paymentReceiver, options) {
|
|
1208
|
+
return contract.simulate.setup([_owners, _threshold, to, data, paymentToken, payment, paymentReceiver], options);
|
|
1462
1209
|
},
|
|
1463
1210
|
/**
|
|
1464
1211
|
* Simulate requiredTxGas
|
|
@@ -1469,44 +1216,36 @@ class GnosisSafe_json {
|
|
|
1469
1216
|
return contract.simulate.requiredTxGas([to, value, data, operation], options);
|
|
1470
1217
|
},
|
|
1471
1218
|
/**
|
|
1472
|
-
* Simulate
|
|
1473
|
-
* Returns gas estimate and result without sending transaction
|
|
1474
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1475
|
-
*/
|
|
1476
|
-
async setFallbackHandler(handler, options) {
|
|
1477
|
-
return contract.simulate.setFallbackHandler([handler], options);
|
|
1478
|
-
},
|
|
1479
|
-
/**
|
|
1480
|
-
* Simulate setGuard
|
|
1219
|
+
* Simulate approveHash
|
|
1481
1220
|
* Returns gas estimate and result without sending transaction
|
|
1482
1221
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1483
1222
|
*/
|
|
1484
|
-
async
|
|
1485
|
-
return contract.simulate.
|
|
1223
|
+
async approveHash(hashToApprove, options) {
|
|
1224
|
+
return contract.simulate.approveHash([hashToApprove], options);
|
|
1486
1225
|
},
|
|
1487
1226
|
/**
|
|
1488
|
-
* Simulate
|
|
1227
|
+
* Simulate disableModule
|
|
1489
1228
|
* Returns gas estimate and result without sending transaction
|
|
1490
1229
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1491
1230
|
*/
|
|
1492
|
-
async
|
|
1493
|
-
return contract.simulate.
|
|
1231
|
+
async disableModule(prevModule, module, options) {
|
|
1232
|
+
return contract.simulate.disableModule([prevModule, module], options);
|
|
1494
1233
|
},
|
|
1495
1234
|
/**
|
|
1496
|
-
* Simulate
|
|
1235
|
+
* Simulate swapOwner
|
|
1497
1236
|
* Returns gas estimate and result without sending transaction
|
|
1498
1237
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1499
1238
|
*/
|
|
1500
|
-
async
|
|
1501
|
-
return contract.simulate.
|
|
1239
|
+
async swapOwner(prevOwner, oldOwner, newOwner, options) {
|
|
1240
|
+
return contract.simulate.swapOwner([prevOwner, oldOwner, newOwner], options);
|
|
1502
1241
|
},
|
|
1503
1242
|
/**
|
|
1504
|
-
* Simulate
|
|
1243
|
+
* Simulate removeOwner
|
|
1505
1244
|
* Returns gas estimate and result without sending transaction
|
|
1506
1245
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1507
1246
|
*/
|
|
1508
|
-
async
|
|
1509
|
-
return contract.simulate.
|
|
1247
|
+
async removeOwner(prevOwner, owner, _threshold, options) {
|
|
1248
|
+
return contract.simulate.removeOwner([prevOwner, owner, _threshold], options);
|
|
1510
1249
|
}
|
|
1511
1250
|
};
|
|
1512
1251
|
}
|
|
@@ -1525,35 +1264,16 @@ class GnosisSafe_json {
|
|
|
1525
1264
|
get watch() {
|
|
1526
1265
|
return {
|
|
1527
1266
|
/**
|
|
1528
|
-
* Watch
|
|
1529
|
-
* @param callback Function to call when event is emitted
|
|
1530
|
-
* @param filter Optional filter for indexed parameters
|
|
1531
|
-
* @returns Unwatch function to stop listening
|
|
1532
|
-
*/
|
|
1533
|
-
AddedOwner: (callback) => {
|
|
1534
|
-
return this.publicClient.watchContractEvent({
|
|
1535
|
-
address: this.contractAddress,
|
|
1536
|
-
abi: exports.GnosisSafe_jsonAbi,
|
|
1537
|
-
eventName: 'AddedOwner',
|
|
1538
|
-
onLogs: (logs) => {
|
|
1539
|
-
logs.forEach((log) => {
|
|
1540
|
-
callback(log.args);
|
|
1541
|
-
});
|
|
1542
|
-
},
|
|
1543
|
-
});
|
|
1544
|
-
},
|
|
1545
|
-
/**
|
|
1546
|
-
* Watch ApproveHash events
|
|
1267
|
+
* Watch ExecutionFailed events
|
|
1547
1268
|
* @param callback Function to call when event is emitted
|
|
1548
1269
|
* @param filter Optional filter for indexed parameters
|
|
1549
1270
|
* @returns Unwatch function to stop listening
|
|
1550
1271
|
*/
|
|
1551
|
-
|
|
1272
|
+
ExecutionFailed: (callback) => {
|
|
1552
1273
|
return this.publicClient.watchContractEvent({
|
|
1553
1274
|
address: this.contractAddress,
|
|
1554
1275
|
abi: exports.GnosisSafe_jsonAbi,
|
|
1555
|
-
eventName: '
|
|
1556
|
-
args: filter,
|
|
1276
|
+
eventName: 'ExecutionFailed',
|
|
1557
1277
|
onLogs: (logs) => {
|
|
1558
1278
|
logs.forEach((log) => {
|
|
1559
1279
|
callback(log.args);
|
|
@@ -1562,16 +1282,16 @@ class GnosisSafe_json {
|
|
|
1562
1282
|
});
|
|
1563
1283
|
},
|
|
1564
1284
|
/**
|
|
1565
|
-
* Watch
|
|
1285
|
+
* Watch AddedOwner events
|
|
1566
1286
|
* @param callback Function to call when event is emitted
|
|
1567
1287
|
* @param filter Optional filter for indexed parameters
|
|
1568
1288
|
* @returns Unwatch function to stop listening
|
|
1569
1289
|
*/
|
|
1570
|
-
|
|
1290
|
+
AddedOwner: (callback) => {
|
|
1571
1291
|
return this.publicClient.watchContractEvent({
|
|
1572
1292
|
address: this.contractAddress,
|
|
1573
1293
|
abi: exports.GnosisSafe_jsonAbi,
|
|
1574
|
-
eventName: '
|
|
1294
|
+
eventName: 'AddedOwner',
|
|
1575
1295
|
onLogs: (logs) => {
|
|
1576
1296
|
logs.forEach((log) => {
|
|
1577
1297
|
callback(log.args);
|
|
@@ -1580,16 +1300,16 @@ class GnosisSafe_json {
|
|
|
1580
1300
|
});
|
|
1581
1301
|
},
|
|
1582
1302
|
/**
|
|
1583
|
-
* Watch
|
|
1303
|
+
* Watch RemovedOwner events
|
|
1584
1304
|
* @param callback Function to call when event is emitted
|
|
1585
1305
|
* @param filter Optional filter for indexed parameters
|
|
1586
1306
|
* @returns Unwatch function to stop listening
|
|
1587
1307
|
*/
|
|
1588
|
-
|
|
1308
|
+
RemovedOwner: (callback) => {
|
|
1589
1309
|
return this.publicClient.watchContractEvent({
|
|
1590
1310
|
address: this.contractAddress,
|
|
1591
1311
|
abi: exports.GnosisSafe_jsonAbi,
|
|
1592
|
-
eventName: '
|
|
1312
|
+
eventName: 'RemovedOwner',
|
|
1593
1313
|
onLogs: (logs) => {
|
|
1594
1314
|
logs.forEach((log) => {
|
|
1595
1315
|
callback(log.args);
|
|
@@ -1615,24 +1335,6 @@ class GnosisSafe_json {
|
|
|
1615
1335
|
},
|
|
1616
1336
|
});
|
|
1617
1337
|
},
|
|
1618
|
-
/**
|
|
1619
|
-
* Watch DisabledModule events
|
|
1620
|
-
* @param callback Function to call when event is emitted
|
|
1621
|
-
* @param filter Optional filter for indexed parameters
|
|
1622
|
-
* @returns Unwatch function to stop listening
|
|
1623
|
-
*/
|
|
1624
|
-
DisabledModule: (callback) => {
|
|
1625
|
-
return this.publicClient.watchContractEvent({
|
|
1626
|
-
address: this.contractAddress,
|
|
1627
|
-
abi: exports.GnosisSafe_jsonAbi,
|
|
1628
|
-
eventName: 'DisabledModule',
|
|
1629
|
-
onLogs: (logs) => {
|
|
1630
|
-
logs.forEach((log) => {
|
|
1631
|
-
callback(log.args);
|
|
1632
|
-
});
|
|
1633
|
-
},
|
|
1634
|
-
});
|
|
1635
|
-
},
|
|
1636
1338
|
/**
|
|
1637
1339
|
* Watch EnabledModule events
|
|
1638
1340
|
* @param callback Function to call when event is emitted
|
|
@@ -1652,128 +1354,16 @@ class GnosisSafe_json {
|
|
|
1652
1354
|
});
|
|
1653
1355
|
},
|
|
1654
1356
|
/**
|
|
1655
|
-
* Watch
|
|
1656
|
-
* @param callback Function to call when event is emitted
|
|
1657
|
-
* @param filter Optional filter for indexed parameters
|
|
1658
|
-
* @returns Unwatch function to stop listening
|
|
1659
|
-
*/
|
|
1660
|
-
ExecutionFailure: (callback) => {
|
|
1661
|
-
return this.publicClient.watchContractEvent({
|
|
1662
|
-
address: this.contractAddress,
|
|
1663
|
-
abi: exports.GnosisSafe_jsonAbi,
|
|
1664
|
-
eventName: 'ExecutionFailure',
|
|
1665
|
-
onLogs: (logs) => {
|
|
1666
|
-
logs.forEach((log) => {
|
|
1667
|
-
callback(log.args);
|
|
1668
|
-
});
|
|
1669
|
-
},
|
|
1670
|
-
});
|
|
1671
|
-
},
|
|
1672
|
-
/**
|
|
1673
|
-
* Watch ExecutionFromModuleFailure events
|
|
1674
|
-
* @param callback Function to call when event is emitted
|
|
1675
|
-
* @param filter Optional filter for indexed parameters
|
|
1676
|
-
* @returns Unwatch function to stop listening
|
|
1677
|
-
*/
|
|
1678
|
-
ExecutionFromModuleFailure: (callback, filter) => {
|
|
1679
|
-
return this.publicClient.watchContractEvent({
|
|
1680
|
-
address: this.contractAddress,
|
|
1681
|
-
abi: exports.GnosisSafe_jsonAbi,
|
|
1682
|
-
eventName: 'ExecutionFromModuleFailure',
|
|
1683
|
-
args: filter,
|
|
1684
|
-
onLogs: (logs) => {
|
|
1685
|
-
logs.forEach((log) => {
|
|
1686
|
-
callback(log.args);
|
|
1687
|
-
});
|
|
1688
|
-
},
|
|
1689
|
-
});
|
|
1690
|
-
},
|
|
1691
|
-
/**
|
|
1692
|
-
* Watch ExecutionFromModuleSuccess events
|
|
1693
|
-
* @param callback Function to call when event is emitted
|
|
1694
|
-
* @param filter Optional filter for indexed parameters
|
|
1695
|
-
* @returns Unwatch function to stop listening
|
|
1696
|
-
*/
|
|
1697
|
-
ExecutionFromModuleSuccess: (callback, filter) => {
|
|
1698
|
-
return this.publicClient.watchContractEvent({
|
|
1699
|
-
address: this.contractAddress,
|
|
1700
|
-
abi: exports.GnosisSafe_jsonAbi,
|
|
1701
|
-
eventName: 'ExecutionFromModuleSuccess',
|
|
1702
|
-
args: filter,
|
|
1703
|
-
onLogs: (logs) => {
|
|
1704
|
-
logs.forEach((log) => {
|
|
1705
|
-
callback(log.args);
|
|
1706
|
-
});
|
|
1707
|
-
},
|
|
1708
|
-
});
|
|
1709
|
-
},
|
|
1710
|
-
/**
|
|
1711
|
-
* Watch ExecutionSuccess events
|
|
1712
|
-
* @param callback Function to call when event is emitted
|
|
1713
|
-
* @param filter Optional filter for indexed parameters
|
|
1714
|
-
* @returns Unwatch function to stop listening
|
|
1715
|
-
*/
|
|
1716
|
-
ExecutionSuccess: (callback) => {
|
|
1717
|
-
return this.publicClient.watchContractEvent({
|
|
1718
|
-
address: this.contractAddress,
|
|
1719
|
-
abi: exports.GnosisSafe_jsonAbi,
|
|
1720
|
-
eventName: 'ExecutionSuccess',
|
|
1721
|
-
onLogs: (logs) => {
|
|
1722
|
-
logs.forEach((log) => {
|
|
1723
|
-
callback(log.args);
|
|
1724
|
-
});
|
|
1725
|
-
},
|
|
1726
|
-
});
|
|
1727
|
-
},
|
|
1728
|
-
/**
|
|
1729
|
-
* Watch RemovedOwner events
|
|
1730
|
-
* @param callback Function to call when event is emitted
|
|
1731
|
-
* @param filter Optional filter for indexed parameters
|
|
1732
|
-
* @returns Unwatch function to stop listening
|
|
1733
|
-
*/
|
|
1734
|
-
RemovedOwner: (callback) => {
|
|
1735
|
-
return this.publicClient.watchContractEvent({
|
|
1736
|
-
address: this.contractAddress,
|
|
1737
|
-
abi: exports.GnosisSafe_jsonAbi,
|
|
1738
|
-
eventName: 'RemovedOwner',
|
|
1739
|
-
onLogs: (logs) => {
|
|
1740
|
-
logs.forEach((log) => {
|
|
1741
|
-
callback(log.args);
|
|
1742
|
-
});
|
|
1743
|
-
},
|
|
1744
|
-
});
|
|
1745
|
-
},
|
|
1746
|
-
/**
|
|
1747
|
-
* Watch SafeReceived events
|
|
1748
|
-
* @param callback Function to call when event is emitted
|
|
1749
|
-
* @param filter Optional filter for indexed parameters
|
|
1750
|
-
* @returns Unwatch function to stop listening
|
|
1751
|
-
*/
|
|
1752
|
-
SafeReceived: (callback, filter) => {
|
|
1753
|
-
return this.publicClient.watchContractEvent({
|
|
1754
|
-
address: this.contractAddress,
|
|
1755
|
-
abi: exports.GnosisSafe_jsonAbi,
|
|
1756
|
-
eventName: 'SafeReceived',
|
|
1757
|
-
args: filter,
|
|
1758
|
-
onLogs: (logs) => {
|
|
1759
|
-
logs.forEach((log) => {
|
|
1760
|
-
callback(log.args);
|
|
1761
|
-
});
|
|
1762
|
-
},
|
|
1763
|
-
});
|
|
1764
|
-
},
|
|
1765
|
-
/**
|
|
1766
|
-
* Watch SafeSetup events
|
|
1357
|
+
* Watch DisabledModule events
|
|
1767
1358
|
* @param callback Function to call when event is emitted
|
|
1768
1359
|
* @param filter Optional filter for indexed parameters
|
|
1769
1360
|
* @returns Unwatch function to stop listening
|
|
1770
1361
|
*/
|
|
1771
|
-
|
|
1362
|
+
DisabledModule: (callback) => {
|
|
1772
1363
|
return this.publicClient.watchContractEvent({
|
|
1773
1364
|
address: this.contractAddress,
|
|
1774
1365
|
abi: exports.GnosisSafe_jsonAbi,
|
|
1775
|
-
eventName: '
|
|
1776
|
-
args: filter,
|
|
1366
|
+
eventName: 'DisabledModule',
|
|
1777
1367
|
onLogs: (logs) => {
|
|
1778
1368
|
logs.forEach((log) => {
|
|
1779
1369
|
callback(log.args);
|
|
@@ -1782,17 +1372,16 @@ class GnosisSafe_json {
|
|
|
1782
1372
|
});
|
|
1783
1373
|
},
|
|
1784
1374
|
/**
|
|
1785
|
-
* Watch
|
|
1375
|
+
* Watch ContractCreation events
|
|
1786
1376
|
* @param callback Function to call when event is emitted
|
|
1787
1377
|
* @param filter Optional filter for indexed parameters
|
|
1788
1378
|
* @returns Unwatch function to stop listening
|
|
1789
1379
|
*/
|
|
1790
|
-
|
|
1380
|
+
ContractCreation: (callback) => {
|
|
1791
1381
|
return this.publicClient.watchContractEvent({
|
|
1792
1382
|
address: this.contractAddress,
|
|
1793
1383
|
abi: exports.GnosisSafe_jsonAbi,
|
|
1794
|
-
eventName: '
|
|
1795
|
-
args: filter,
|
|
1384
|
+
eventName: 'ContractCreation',
|
|
1796
1385
|
onLogs: (logs) => {
|
|
1797
1386
|
logs.forEach((log) => {
|
|
1798
1387
|
callback(log.args);
|