@instadapp/interop-x 0.0.0-dev.9387bd9 → 0.0.0-dev.f9253db
Sign up to get free protection for your applications and to get access to all the features.
- package/.env.example +2 -1
- package/dist/abi/erc20.json +350 -0
- package/dist/abi/gnosisSafe.json +747 -0
- package/dist/abi/index.js +15 -0
- package/dist/abi/interopBridgeToken.json +286 -0
- package/dist/abi/interopXGateway.json +184 -0
- package/dist/config/index.js +5 -1
- package/dist/constants/addresses.js +17 -2
- package/dist/constants/index.js +1 -0
- package/dist/constants/tokens.js +107 -0
- package/dist/db/models/index.js +1 -1
- package/dist/db/models/transaction.js +52 -0
- package/dist/db/sequelize.js +2 -1
- package/dist/index.js +24 -3
- package/dist/net/peer/index.js +5 -5
- package/dist/net/pool/index.js +2 -2
- package/dist/net/protocol/dial/BaseDialProtocol.js +1 -1
- package/dist/net/protocol/dial/SignatureDialProtocol.js +11 -13
- package/dist/net/protocol/index.js +3 -3
- package/dist/tasks/BaseTask.js +2 -2
- package/dist/tasks/InteropXGateway/SyncDepositEvents.js +79 -0
- package/dist/tasks/index.js +9 -1
- package/dist/typechain/Erc20.js +2 -0
- package/dist/typechain/GnosisSafe.js +2 -0
- package/dist/typechain/InteropBridgeToken.js +2 -0
- package/dist/typechain/InteropXGateway.js +2 -0
- package/dist/typechain/common.js +2 -0
- package/dist/typechain/factories/Erc20__factory.js +367 -0
- package/dist/typechain/factories/GnosisSafe__factory.js +1174 -0
- package/dist/typechain/factories/InteropBridgeToken__factory.js +459 -0
- package/dist/typechain/factories/InteropXGateway__factory.js +265 -0
- package/dist/typechain/factories/index.js +14 -0
- package/dist/typechain/index.js +35 -0
- package/dist/utils/index.js +14 -2
- package/package.json +12 -4
- package/src/abi/erc20.json +350 -0
- package/src/abi/gnosisSafe.json +747 -0
- package/src/abi/index.ts +11 -0
- package/src/abi/interopBridgeToken.json +286 -0
- package/src/abi/interopXGateway.json +184 -0
- package/src/config/index.ts +7 -1
- package/src/constants/addresses.ts +17 -2
- package/src/constants/index.ts +1 -0
- package/src/constants/tokens.ts +104 -0
- package/src/db/index.ts +1 -1
- package/src/db/models/index.ts +1 -1
- package/src/db/models/transaction.ts +92 -0
- package/src/db/sequelize.ts +2 -1
- package/src/index.ts +29 -4
- package/src/net/peer/index.ts +3 -3
- package/src/net/pool/index.ts +2 -2
- package/src/net/protocol/dial/BaseDialProtocol.ts +1 -1
- package/src/net/protocol/dial/SignatureDialProtocol.ts +13 -16
- package/src/net/protocol/index.ts +3 -3
- package/src/tasks/BaseTask.ts +2 -3
- package/src/tasks/InteropXGateway/SyncDepositEvents.ts +114 -0
- package/src/tasks/index.ts +4 -1
- package/src/typechain/Erc20.ts +491 -0
- package/src/typechain/GnosisSafe.ts +1728 -0
- package/src/typechain/InteropBridgeToken.ts +686 -0
- package/src/typechain/InteropXGateway.ts +407 -0
- package/src/typechain/common.ts +44 -0
- package/src/typechain/factories/Erc20__factory.ts +368 -0
- package/src/typechain/factories/GnosisSafe__factory.ts +1178 -0
- package/src/typechain/factories/InteropBridgeToken__factory.ts +466 -0
- package/src/typechain/factories/InteropXGateway__factory.ts +272 -0
- package/src/typechain/factories/index.ts +7 -0
- package/src/typechain/index.ts +12 -0
- package/src/types.ts +2 -2
- package/src/utils/index.ts +15 -2
- package/tsconfig.json +3 -0
- package/dist/db/models/execution.js +0 -38
- package/src/db/models/execution.ts +0 -57
@@ -0,0 +1,747 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"anonymous": false,
|
4
|
+
"inputs": [
|
5
|
+
{
|
6
|
+
"indexed": false,
|
7
|
+
"internalType": "address",
|
8
|
+
"name": "owner",
|
9
|
+
"type": "address"
|
10
|
+
}
|
11
|
+
],
|
12
|
+
"name": "AddedOwner",
|
13
|
+
"type": "event"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"anonymous": false,
|
17
|
+
"inputs": [
|
18
|
+
{
|
19
|
+
"indexed": true,
|
20
|
+
"internalType": "bytes32",
|
21
|
+
"name": "approvedHash",
|
22
|
+
"type": "bytes32"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"indexed": true,
|
26
|
+
"internalType": "address",
|
27
|
+
"name": "owner",
|
28
|
+
"type": "address"
|
29
|
+
}
|
30
|
+
],
|
31
|
+
"name": "ApproveHash",
|
32
|
+
"type": "event"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"anonymous": false,
|
36
|
+
"inputs": [
|
37
|
+
{
|
38
|
+
"indexed": false,
|
39
|
+
"internalType": "address",
|
40
|
+
"name": "handler",
|
41
|
+
"type": "address"
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"name": "ChangedFallbackHandler",
|
45
|
+
"type": "event"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"anonymous": false,
|
49
|
+
"inputs": [
|
50
|
+
{
|
51
|
+
"indexed": false,
|
52
|
+
"internalType": "address",
|
53
|
+
"name": "guard",
|
54
|
+
"type": "address"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"name": "ChangedGuard",
|
58
|
+
"type": "event"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"anonymous": false,
|
62
|
+
"inputs": [
|
63
|
+
{
|
64
|
+
"indexed": false,
|
65
|
+
"internalType": "uint256",
|
66
|
+
"name": "threshold",
|
67
|
+
"type": "uint256"
|
68
|
+
}
|
69
|
+
],
|
70
|
+
"name": "ChangedThreshold",
|
71
|
+
"type": "event"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"anonymous": false,
|
75
|
+
"inputs": [
|
76
|
+
{
|
77
|
+
"indexed": false,
|
78
|
+
"internalType": "address",
|
79
|
+
"name": "module",
|
80
|
+
"type": "address"
|
81
|
+
}
|
82
|
+
],
|
83
|
+
"name": "DisabledModule",
|
84
|
+
"type": "event"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"anonymous": false,
|
88
|
+
"inputs": [
|
89
|
+
{
|
90
|
+
"indexed": false,
|
91
|
+
"internalType": "address",
|
92
|
+
"name": "module",
|
93
|
+
"type": "address"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"name": "EnabledModule",
|
97
|
+
"type": "event"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"anonymous": false,
|
101
|
+
"inputs": [
|
102
|
+
{
|
103
|
+
"indexed": false,
|
104
|
+
"internalType": "bytes32",
|
105
|
+
"name": "txHash",
|
106
|
+
"type": "bytes32"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"indexed": false,
|
110
|
+
"internalType": "uint256",
|
111
|
+
"name": "payment",
|
112
|
+
"type": "uint256"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"name": "ExecutionFailure",
|
116
|
+
"type": "event"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"anonymous": false,
|
120
|
+
"inputs": [
|
121
|
+
{
|
122
|
+
"indexed": true,
|
123
|
+
"internalType": "address",
|
124
|
+
"name": "module",
|
125
|
+
"type": "address"
|
126
|
+
}
|
127
|
+
],
|
128
|
+
"name": "ExecutionFromModuleFailure",
|
129
|
+
"type": "event"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"anonymous": false,
|
133
|
+
"inputs": [
|
134
|
+
{
|
135
|
+
"indexed": true,
|
136
|
+
"internalType": "address",
|
137
|
+
"name": "module",
|
138
|
+
"type": "address"
|
139
|
+
}
|
140
|
+
],
|
141
|
+
"name": "ExecutionFromModuleSuccess",
|
142
|
+
"type": "event"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"anonymous": false,
|
146
|
+
"inputs": [
|
147
|
+
{
|
148
|
+
"indexed": false,
|
149
|
+
"internalType": "bytes32",
|
150
|
+
"name": "txHash",
|
151
|
+
"type": "bytes32"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"indexed": false,
|
155
|
+
"internalType": "uint256",
|
156
|
+
"name": "payment",
|
157
|
+
"type": "uint256"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
"name": "ExecutionSuccess",
|
161
|
+
"type": "event"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"anonymous": false,
|
165
|
+
"inputs": [
|
166
|
+
{
|
167
|
+
"indexed": false,
|
168
|
+
"internalType": "address",
|
169
|
+
"name": "owner",
|
170
|
+
"type": "address"
|
171
|
+
}
|
172
|
+
],
|
173
|
+
"name": "RemovedOwner",
|
174
|
+
"type": "event"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"anonymous": false,
|
178
|
+
"inputs": [
|
179
|
+
{
|
180
|
+
"indexed": false,
|
181
|
+
"internalType": "address",
|
182
|
+
"name": "module",
|
183
|
+
"type": "address"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"indexed": false,
|
187
|
+
"internalType": "address",
|
188
|
+
"name": "to",
|
189
|
+
"type": "address"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"indexed": false,
|
193
|
+
"internalType": "uint256",
|
194
|
+
"name": "value",
|
195
|
+
"type": "uint256"
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"indexed": false,
|
199
|
+
"internalType": "bytes",
|
200
|
+
"name": "data",
|
201
|
+
"type": "bytes"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"indexed": false,
|
205
|
+
"internalType": "enum Enum.Operation",
|
206
|
+
"name": "operation",
|
207
|
+
"type": "uint8"
|
208
|
+
}
|
209
|
+
],
|
210
|
+
"name": "SafeModuleTransaction",
|
211
|
+
"type": "event"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"anonymous": false,
|
215
|
+
"inputs": [
|
216
|
+
{
|
217
|
+
"indexed": false,
|
218
|
+
"internalType": "address",
|
219
|
+
"name": "to",
|
220
|
+
"type": "address"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"indexed": false,
|
224
|
+
"internalType": "uint256",
|
225
|
+
"name": "value",
|
226
|
+
"type": "uint256"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"indexed": false,
|
230
|
+
"internalType": "bytes",
|
231
|
+
"name": "data",
|
232
|
+
"type": "bytes"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"indexed": false,
|
236
|
+
"internalType": "enum Enum.Operation",
|
237
|
+
"name": "operation",
|
238
|
+
"type": "uint8"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"indexed": false,
|
242
|
+
"internalType": "uint256",
|
243
|
+
"name": "safeTxGas",
|
244
|
+
"type": "uint256"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"indexed": false,
|
248
|
+
"internalType": "uint256",
|
249
|
+
"name": "baseGas",
|
250
|
+
"type": "uint256"
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"indexed": false,
|
254
|
+
"internalType": "uint256",
|
255
|
+
"name": "gasPrice",
|
256
|
+
"type": "uint256"
|
257
|
+
},
|
258
|
+
{
|
259
|
+
"indexed": false,
|
260
|
+
"internalType": "address",
|
261
|
+
"name": "gasToken",
|
262
|
+
"type": "address"
|
263
|
+
},
|
264
|
+
{
|
265
|
+
"indexed": false,
|
266
|
+
"internalType": "address payable",
|
267
|
+
"name": "refundReceiver",
|
268
|
+
"type": "address"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"indexed": false,
|
272
|
+
"internalType": "bytes",
|
273
|
+
"name": "signatures",
|
274
|
+
"type": "bytes"
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"indexed": false,
|
278
|
+
"internalType": "bytes",
|
279
|
+
"name": "additionalInfo",
|
280
|
+
"type": "bytes"
|
281
|
+
}
|
282
|
+
],
|
283
|
+
"name": "SafeMultiSigTransaction",
|
284
|
+
"type": "event"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"anonymous": false,
|
288
|
+
"inputs": [
|
289
|
+
{
|
290
|
+
"indexed": true,
|
291
|
+
"internalType": "address",
|
292
|
+
"name": "sender",
|
293
|
+
"type": "address"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"indexed": false,
|
297
|
+
"internalType": "uint256",
|
298
|
+
"name": "value",
|
299
|
+
"type": "uint256"
|
300
|
+
}
|
301
|
+
],
|
302
|
+
"name": "SafeReceived",
|
303
|
+
"type": "event"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"anonymous": false,
|
307
|
+
"inputs": [
|
308
|
+
{
|
309
|
+
"indexed": true,
|
310
|
+
"internalType": "address",
|
311
|
+
"name": "initiator",
|
312
|
+
"type": "address"
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"indexed": false,
|
316
|
+
"internalType": "address[]",
|
317
|
+
"name": "owners",
|
318
|
+
"type": "address[]"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"indexed": false,
|
322
|
+
"internalType": "uint256",
|
323
|
+
"name": "threshold",
|
324
|
+
"type": "uint256"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"indexed": false,
|
328
|
+
"internalType": "address",
|
329
|
+
"name": "initializer",
|
330
|
+
"type": "address"
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"indexed": false,
|
334
|
+
"internalType": "address",
|
335
|
+
"name": "fallbackHandler",
|
336
|
+
"type": "address"
|
337
|
+
}
|
338
|
+
],
|
339
|
+
"name": "SafeSetup",
|
340
|
+
"type": "event"
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"anonymous": false,
|
344
|
+
"inputs": [
|
345
|
+
{
|
346
|
+
"indexed": true,
|
347
|
+
"internalType": "bytes32",
|
348
|
+
"name": "msgHash",
|
349
|
+
"type": "bytes32"
|
350
|
+
}
|
351
|
+
],
|
352
|
+
"name": "SignMsg",
|
353
|
+
"type": "event"
|
354
|
+
},
|
355
|
+
{ "stateMutability": "nonpayable", "type": "fallback" },
|
356
|
+
{
|
357
|
+
"inputs": [],
|
358
|
+
"name": "VERSION",
|
359
|
+
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
|
360
|
+
"stateMutability": "view",
|
361
|
+
"type": "function"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"inputs": [
|
365
|
+
{ "internalType": "address", "name": "owner", "type": "address" },
|
366
|
+
{ "internalType": "uint256", "name": "_threshold", "type": "uint256" }
|
367
|
+
],
|
368
|
+
"name": "addOwnerWithThreshold",
|
369
|
+
"outputs": [],
|
370
|
+
"stateMutability": "nonpayable",
|
371
|
+
"type": "function"
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"inputs": [
|
375
|
+
{ "internalType": "bytes32", "name": "hashToApprove", "type": "bytes32" }
|
376
|
+
],
|
377
|
+
"name": "approveHash",
|
378
|
+
"outputs": [],
|
379
|
+
"stateMutability": "nonpayable",
|
380
|
+
"type": "function"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"inputs": [
|
384
|
+
{ "internalType": "address", "name": "", "type": "address" },
|
385
|
+
{ "internalType": "bytes32", "name": "", "type": "bytes32" }
|
386
|
+
],
|
387
|
+
"name": "approvedHashes",
|
388
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
389
|
+
"stateMutability": "view",
|
390
|
+
"type": "function"
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"inputs": [
|
394
|
+
{ "internalType": "uint256", "name": "_threshold", "type": "uint256" }
|
395
|
+
],
|
396
|
+
"name": "changeThreshold",
|
397
|
+
"outputs": [],
|
398
|
+
"stateMutability": "nonpayable",
|
399
|
+
"type": "function"
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"inputs": [
|
403
|
+
{ "internalType": "bytes32", "name": "dataHash", "type": "bytes32" },
|
404
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" },
|
405
|
+
{ "internalType": "bytes", "name": "signatures", "type": "bytes" },
|
406
|
+
{
|
407
|
+
"internalType": "uint256",
|
408
|
+
"name": "requiredSignatures",
|
409
|
+
"type": "uint256"
|
410
|
+
}
|
411
|
+
],
|
412
|
+
"name": "checkNSignatures",
|
413
|
+
"outputs": [],
|
414
|
+
"stateMutability": "view",
|
415
|
+
"type": "function"
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"inputs": [
|
419
|
+
{ "internalType": "bytes32", "name": "dataHash", "type": "bytes32" },
|
420
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" },
|
421
|
+
{ "internalType": "bytes", "name": "signatures", "type": "bytes" }
|
422
|
+
],
|
423
|
+
"name": "checkSignatures",
|
424
|
+
"outputs": [],
|
425
|
+
"stateMutability": "view",
|
426
|
+
"type": "function"
|
427
|
+
},
|
428
|
+
{
|
429
|
+
"inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
430
|
+
"name": "dataHashes",
|
431
|
+
"outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
|
432
|
+
"stateMutability": "view",
|
433
|
+
"type": "function"
|
434
|
+
},
|
435
|
+
{
|
436
|
+
"inputs": [
|
437
|
+
{ "internalType": "address", "name": "prevModule", "type": "address" },
|
438
|
+
{ "internalType": "address", "name": "module", "type": "address" }
|
439
|
+
],
|
440
|
+
"name": "disableModule",
|
441
|
+
"outputs": [],
|
442
|
+
"stateMutability": "nonpayable",
|
443
|
+
"type": "function"
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"inputs": [],
|
447
|
+
"name": "domainSeparator",
|
448
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
449
|
+
"stateMutability": "view",
|
450
|
+
"type": "function"
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"inputs": [
|
454
|
+
{ "internalType": "address", "name": "module", "type": "address" }
|
455
|
+
],
|
456
|
+
"name": "enableModule",
|
457
|
+
"outputs": [],
|
458
|
+
"stateMutability": "nonpayable",
|
459
|
+
"type": "function"
|
460
|
+
},
|
461
|
+
{
|
462
|
+
"inputs": [
|
463
|
+
{ "internalType": "address", "name": "to", "type": "address" },
|
464
|
+
{ "internalType": "uint256", "name": "value", "type": "uint256" },
|
465
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" },
|
466
|
+
{
|
467
|
+
"internalType": "enum Enum.Operation",
|
468
|
+
"name": "operation",
|
469
|
+
"type": "uint8"
|
470
|
+
},
|
471
|
+
{ "internalType": "uint256", "name": "safeTxGas", "type": "uint256" },
|
472
|
+
{ "internalType": "uint256", "name": "baseGas", "type": "uint256" },
|
473
|
+
{ "internalType": "uint256", "name": "gasPrice", "type": "uint256" },
|
474
|
+
{ "internalType": "address", "name": "gasToken", "type": "address" },
|
475
|
+
{
|
476
|
+
"internalType": "address",
|
477
|
+
"name": "refundReceiver",
|
478
|
+
"type": "address"
|
479
|
+
},
|
480
|
+
{ "internalType": "uint256", "name": "_nonce", "type": "uint256" }
|
481
|
+
],
|
482
|
+
"name": "encodeTransactionData",
|
483
|
+
"outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
|
484
|
+
"stateMutability": "view",
|
485
|
+
"type": "function"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"inputs": [
|
489
|
+
{ "internalType": "address", "name": "to", "type": "address" },
|
490
|
+
{ "internalType": "uint256", "name": "value", "type": "uint256" },
|
491
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" },
|
492
|
+
{
|
493
|
+
"internalType": "enum Enum.Operation",
|
494
|
+
"name": "operation",
|
495
|
+
"type": "uint8"
|
496
|
+
},
|
497
|
+
{ "internalType": "uint256", "name": "safeTxGas", "type": "uint256" },
|
498
|
+
{ "internalType": "uint256", "name": "baseGas", "type": "uint256" },
|
499
|
+
{ "internalType": "uint256", "name": "gasPrice", "type": "uint256" },
|
500
|
+
{ "internalType": "address", "name": "gasToken", "type": "address" },
|
501
|
+
{
|
502
|
+
"internalType": "address payable",
|
503
|
+
"name": "refundReceiver",
|
504
|
+
"type": "address"
|
505
|
+
},
|
506
|
+
{ "internalType": "bytes", "name": "signatures", "type": "bytes" }
|
507
|
+
],
|
508
|
+
"name": "execTransaction",
|
509
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
510
|
+
"stateMutability": "payable",
|
511
|
+
"type": "function"
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"inputs": [
|
515
|
+
{ "internalType": "address", "name": "to", "type": "address" },
|
516
|
+
{ "internalType": "uint256", "name": "value", "type": "uint256" },
|
517
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" },
|
518
|
+
{
|
519
|
+
"internalType": "enum Enum.Operation",
|
520
|
+
"name": "operation",
|
521
|
+
"type": "uint8"
|
522
|
+
}
|
523
|
+
],
|
524
|
+
"name": "execTransactionFromModule",
|
525
|
+
"outputs": [{ "internalType": "bool", "name": "success", "type": "bool" }],
|
526
|
+
"stateMutability": "nonpayable",
|
527
|
+
"type": "function"
|
528
|
+
},
|
529
|
+
{
|
530
|
+
"inputs": [
|
531
|
+
{ "internalType": "address", "name": "to", "type": "address" },
|
532
|
+
{ "internalType": "uint256", "name": "value", "type": "uint256" },
|
533
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" },
|
534
|
+
{
|
535
|
+
"internalType": "enum Enum.Operation",
|
536
|
+
"name": "operation",
|
537
|
+
"type": "uint8"
|
538
|
+
}
|
539
|
+
],
|
540
|
+
"name": "execTransactionFromModuleReturnData",
|
541
|
+
"outputs": [
|
542
|
+
{ "internalType": "bool", "name": "success", "type": "bool" },
|
543
|
+
{ "internalType": "bytes", "name": "returnData", "type": "bytes" }
|
544
|
+
],
|
545
|
+
"stateMutability": "nonpayable",
|
546
|
+
"type": "function"
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"inputs": [],
|
550
|
+
"name": "getChainId",
|
551
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
552
|
+
"stateMutability": "view",
|
553
|
+
"type": "function"
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"inputs": [
|
557
|
+
{ "internalType": "address", "name": "start", "type": "address" },
|
558
|
+
{ "internalType": "uint256", "name": "pageSize", "type": "uint256" }
|
559
|
+
],
|
560
|
+
"name": "getModulesPaginated",
|
561
|
+
"outputs": [
|
562
|
+
{ "internalType": "address[]", "name": "array", "type": "address[]" },
|
563
|
+
{ "internalType": "address", "name": "next", "type": "address" }
|
564
|
+
],
|
565
|
+
"stateMutability": "view",
|
566
|
+
"type": "function"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"inputs": [],
|
570
|
+
"name": "getOwners",
|
571
|
+
"outputs": [
|
572
|
+
{ "internalType": "address[]", "name": "", "type": "address[]" }
|
573
|
+
],
|
574
|
+
"stateMutability": "view",
|
575
|
+
"type": "function"
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"inputs": [
|
579
|
+
{ "internalType": "uint256", "name": "offset", "type": "uint256" },
|
580
|
+
{ "internalType": "uint256", "name": "length", "type": "uint256" }
|
581
|
+
],
|
582
|
+
"name": "getStorageAt",
|
583
|
+
"outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
|
584
|
+
"stateMutability": "view",
|
585
|
+
"type": "function"
|
586
|
+
},
|
587
|
+
{
|
588
|
+
"inputs": [],
|
589
|
+
"name": "getThreshold",
|
590
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
591
|
+
"stateMutability": "view",
|
592
|
+
"type": "function"
|
593
|
+
},
|
594
|
+
{
|
595
|
+
"inputs": [
|
596
|
+
{ "internalType": "address", "name": "to", "type": "address" },
|
597
|
+
{ "internalType": "uint256", "name": "value", "type": "uint256" },
|
598
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" },
|
599
|
+
{
|
600
|
+
"internalType": "enum Enum.Operation",
|
601
|
+
"name": "operation",
|
602
|
+
"type": "uint8"
|
603
|
+
},
|
604
|
+
{ "internalType": "uint256", "name": "safeTxGas", "type": "uint256" },
|
605
|
+
{ "internalType": "uint256", "name": "baseGas", "type": "uint256" },
|
606
|
+
{ "internalType": "uint256", "name": "gasPrice", "type": "uint256" },
|
607
|
+
{ "internalType": "address", "name": "gasToken", "type": "address" },
|
608
|
+
{
|
609
|
+
"internalType": "address",
|
610
|
+
"name": "refundReceiver",
|
611
|
+
"type": "address"
|
612
|
+
},
|
613
|
+
{ "internalType": "uint256", "name": "_nonce", "type": "uint256" }
|
614
|
+
],
|
615
|
+
"name": "getTransactionHash",
|
616
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
617
|
+
"stateMutability": "view",
|
618
|
+
"type": "function"
|
619
|
+
},
|
620
|
+
{
|
621
|
+
"inputs": [
|
622
|
+
{ "internalType": "address", "name": "module", "type": "address" }
|
623
|
+
],
|
624
|
+
"name": "isModuleEnabled",
|
625
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
626
|
+
"stateMutability": "view",
|
627
|
+
"type": "function"
|
628
|
+
},
|
629
|
+
{
|
630
|
+
"inputs": [
|
631
|
+
{ "internalType": "address", "name": "owner", "type": "address" }
|
632
|
+
],
|
633
|
+
"name": "isOwner",
|
634
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
635
|
+
"stateMutability": "view",
|
636
|
+
"type": "function"
|
637
|
+
},
|
638
|
+
{
|
639
|
+
"inputs": [],
|
640
|
+
"name": "nonce",
|
641
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
642
|
+
"stateMutability": "view",
|
643
|
+
"type": "function"
|
644
|
+
},
|
645
|
+
{
|
646
|
+
"inputs": [
|
647
|
+
{ "internalType": "address", "name": "prevOwner", "type": "address" },
|
648
|
+
{ "internalType": "address", "name": "owner", "type": "address" },
|
649
|
+
{ "internalType": "uint256", "name": "_threshold", "type": "uint256" }
|
650
|
+
],
|
651
|
+
"name": "removeOwner",
|
652
|
+
"outputs": [],
|
653
|
+
"stateMutability": "nonpayable",
|
654
|
+
"type": "function"
|
655
|
+
},
|
656
|
+
{
|
657
|
+
"inputs": [
|
658
|
+
{ "internalType": "address", "name": "to", "type": "address" },
|
659
|
+
{ "internalType": "uint256", "name": "value", "type": "uint256" },
|
660
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" },
|
661
|
+
{
|
662
|
+
"internalType": "enum Enum.Operation",
|
663
|
+
"name": "operation",
|
664
|
+
"type": "uint8"
|
665
|
+
}
|
666
|
+
],
|
667
|
+
"name": "requiredTxGas",
|
668
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
669
|
+
"stateMutability": "nonpayable",
|
670
|
+
"type": "function"
|
671
|
+
},
|
672
|
+
{
|
673
|
+
"inputs": [
|
674
|
+
{ "internalType": "address", "name": "handler", "type": "address" }
|
675
|
+
],
|
676
|
+
"name": "setFallbackHandler",
|
677
|
+
"outputs": [],
|
678
|
+
"stateMutability": "nonpayable",
|
679
|
+
"type": "function"
|
680
|
+
},
|
681
|
+
{
|
682
|
+
"inputs": [
|
683
|
+
{ "internalType": "address", "name": "guard", "type": "address" }
|
684
|
+
],
|
685
|
+
"name": "setGuard",
|
686
|
+
"outputs": [],
|
687
|
+
"stateMutability": "nonpayable",
|
688
|
+
"type": "function"
|
689
|
+
},
|
690
|
+
{
|
691
|
+
"inputs": [
|
692
|
+
{ "internalType": "address[]", "name": "_owners", "type": "address[]" },
|
693
|
+
{ "internalType": "uint256", "name": "_threshold", "type": "uint256" },
|
694
|
+
{ "internalType": "address", "name": "to", "type": "address" },
|
695
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" },
|
696
|
+
{
|
697
|
+
"internalType": "address",
|
698
|
+
"name": "fallbackHandler",
|
699
|
+
"type": "address"
|
700
|
+
},
|
701
|
+
{ "internalType": "address", "name": "paymentToken", "type": "address" },
|
702
|
+
{ "internalType": "uint256", "name": "payment", "type": "uint256" },
|
703
|
+
{
|
704
|
+
"internalType": "address payable",
|
705
|
+
"name": "paymentReceiver",
|
706
|
+
"type": "address"
|
707
|
+
}
|
708
|
+
],
|
709
|
+
"name": "setup",
|
710
|
+
"outputs": [],
|
711
|
+
"stateMutability": "nonpayable",
|
712
|
+
"type": "function"
|
713
|
+
},
|
714
|
+
{
|
715
|
+
"inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
716
|
+
"name": "signedMessages",
|
717
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
718
|
+
"stateMutability": "view",
|
719
|
+
"type": "function"
|
720
|
+
},
|
721
|
+
{
|
722
|
+
"inputs": [
|
723
|
+
{
|
724
|
+
"internalType": "address",
|
725
|
+
"name": "targetContract",
|
726
|
+
"type": "address"
|
727
|
+
},
|
728
|
+
{ "internalType": "bytes", "name": "calldataPayload", "type": "bytes" }
|
729
|
+
],
|
730
|
+
"name": "simulateAndRevert",
|
731
|
+
"outputs": [],
|
732
|
+
"stateMutability": "nonpayable",
|
733
|
+
"type": "function"
|
734
|
+
},
|
735
|
+
{
|
736
|
+
"inputs": [
|
737
|
+
{ "internalType": "address", "name": "prevOwner", "type": "address" },
|
738
|
+
{ "internalType": "address", "name": "oldOwner", "type": "address" },
|
739
|
+
{ "internalType": "address", "name": "newOwner", "type": "address" }
|
740
|
+
],
|
741
|
+
"name": "swapOwner",
|
742
|
+
"outputs": [],
|
743
|
+
"stateMutability": "nonpayable",
|
744
|
+
"type": "function"
|
745
|
+
},
|
746
|
+
{ "stateMutability": "payable", "type": "receive" }
|
747
|
+
]
|