@safe-global/safe-deployments 1.20.1
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/LICENSE +9 -0
- package/README.md +91 -0
- package/dist/assets/v1.0.0/gnosis_safe.json +419 -0
- package/dist/assets/v1.0.0/proxy_factory.json +105 -0
- package/dist/assets/v1.1.1/default_callback_handler.json +206 -0
- package/dist/assets/v1.1.1/gnosis_safe.json +995 -0
- package/dist/assets/v1.1.1/multi_send.json +39 -0
- package/dist/assets/v1.1.1/proxy_factory.json +185 -0
- package/dist/assets/v1.2.0/gnosis_safe.json +1016 -0
- package/dist/assets/v1.3.0/compatibility_fallback_handler.json +436 -0
- package/dist/assets/v1.3.0/create_call.json +179 -0
- package/dist/assets/v1.3.0/gnosis_safe.json +1144 -0
- package/dist/assets/v1.3.0/gnosis_safe_l2.json +1249 -0
- package/dist/assets/v1.3.0/multi_send.json +130 -0
- package/dist/assets/v1.3.0/multi_send_call_only.json +126 -0
- package/dist/assets/v1.3.0/proxy_factory.json +274 -0
- package/dist/assets/v1.3.0/sign_message_lib.json +157 -0
- package/dist/factories.d.ts +2 -0
- package/dist/factories.js +18 -0
- package/dist/handler.d.ts +4 -0
- package/dist/handler.js +33 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +17 -0
- package/dist/libs.d.ts +5 -0
- package/dist/libs.js +43 -0
- package/dist/safes.d.ts +5 -0
- package/dist/safes.js +28 -0
- package/dist/types.d.ts +13 -0
- package/dist/types.js +2 -0
- package/dist/utils.d.ts +2 -0
- package/dist/utils.js +18 -0
- package/package.json +56 -0
- package/src/__tests__/factories.test.ts +13 -0
- package/src/__tests__/handler.test.ts +31 -0
- package/src/__tests__/libs.test.ts +39 -0
- package/src/__tests__/safes.test.ts +27 -0
- package/src/__tests__/utilts.test.ts +339 -0
- package/src/assets/v1.0.0/gnosis_safe.json +419 -0
- package/src/assets/v1.0.0/proxy_factory.json +105 -0
- package/src/assets/v1.1.1/create_and_add_modules.json +49 -0
- package/src/assets/v1.1.1/create_call.json +84 -0
- package/src/assets/v1.1.1/default_callback_handler.json +206 -0
- package/src/assets/v1.1.1/gnosis_safe.json +995 -0
- package/src/assets/v1.1.1/multi_send.json +39 -0
- package/src/assets/v1.1.1/proxy_factory.json +185 -0
- package/src/assets/v1.2.0/gnosis_safe.json +1016 -0
- package/src/assets/v1.3.0/compatibility_fallback_handler.json +436 -0
- package/src/assets/v1.3.0/create_call.json +179 -0
- package/src/assets/v1.3.0/gnosis_safe.json +1144 -0
- package/src/assets/v1.3.0/gnosis_safe_l2.json +1249 -0
- package/src/assets/v1.3.0/multi_send.json +130 -0
- package/src/assets/v1.3.0/multi_send_call_only.json +126 -0
- package/src/assets/v1.3.0/proxy_factory.json +274 -0
- package/src/assets/v1.3.0/sign_message_lib.json +157 -0
- package/src/assets/v1.3.0/simulate_tx_accessor.json +162 -0
- package/src/factories.ts +14 -0
- package/src/handler.ts +31 -0
- package/src/index.ts +5 -0
- package/src/libs.ts +42 -0
- package/src/safes.ts +25 -0
- package/src/types.ts +14 -0
- package/src/utils.ts +12 -0
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
{
|
|
2
|
+
"defaultAddress": "0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A",
|
|
3
|
+
"released": true,
|
|
4
|
+
"contractName": "GnosisSafe",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"networkAddresses": {
|
|
7
|
+
"1": "0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A",
|
|
8
|
+
"4": "0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A",
|
|
9
|
+
"5": "0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A",
|
|
10
|
+
"42": "0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A",
|
|
11
|
+
"100": "0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A"
|
|
12
|
+
},
|
|
13
|
+
"abi": [
|
|
14
|
+
{
|
|
15
|
+
"constant": false,
|
|
16
|
+
"inputs": [
|
|
17
|
+
{ "name": "owner", "type": "address" },
|
|
18
|
+
{ "name": "_threshold", "type": "uint256" }
|
|
19
|
+
],
|
|
20
|
+
"name": "addOwnerWithThreshold",
|
|
21
|
+
"outputs": [],
|
|
22
|
+
"payable": false,
|
|
23
|
+
"stateMutability": "nonpayable",
|
|
24
|
+
"type": "function"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"constant": true,
|
|
28
|
+
"inputs": [],
|
|
29
|
+
"name": "DOMAIN_SEPARATOR_TYPEHASH",
|
|
30
|
+
"outputs": [{ "name": "", "type": "bytes32" }],
|
|
31
|
+
"payable": false,
|
|
32
|
+
"stateMutability": "view",
|
|
33
|
+
"type": "function"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"constant": true,
|
|
37
|
+
"inputs": [{ "name": "owner", "type": "address" }],
|
|
38
|
+
"name": "isOwner",
|
|
39
|
+
"outputs": [{ "name": "", "type": "bool" }],
|
|
40
|
+
"payable": false,
|
|
41
|
+
"stateMutability": "view",
|
|
42
|
+
"type": "function"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"constant": false,
|
|
46
|
+
"inputs": [
|
|
47
|
+
{ "name": "to", "type": "address" },
|
|
48
|
+
{ "name": "value", "type": "uint256" },
|
|
49
|
+
{ "name": "data", "type": "bytes" },
|
|
50
|
+
{ "name": "operation", "type": "uint8" }
|
|
51
|
+
],
|
|
52
|
+
"name": "execTransactionFromModule",
|
|
53
|
+
"outputs": [{ "name": "success", "type": "bool" }],
|
|
54
|
+
"payable": false,
|
|
55
|
+
"stateMutability": "nonpayable",
|
|
56
|
+
"type": "function"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"constant": true,
|
|
60
|
+
"inputs": [{ "name": "", "type": "bytes32" }],
|
|
61
|
+
"name": "signedMessages",
|
|
62
|
+
"outputs": [{ "name": "", "type": "uint256" }],
|
|
63
|
+
"payable": false,
|
|
64
|
+
"stateMutability": "view",
|
|
65
|
+
"type": "function"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"constant": false,
|
|
69
|
+
"inputs": [{ "name": "module", "type": "address" }],
|
|
70
|
+
"name": "enableModule",
|
|
71
|
+
"outputs": [],
|
|
72
|
+
"payable": false,
|
|
73
|
+
"stateMutability": "nonpayable",
|
|
74
|
+
"type": "function"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"constant": false,
|
|
78
|
+
"inputs": [{ "name": "_threshold", "type": "uint256" }],
|
|
79
|
+
"name": "changeThreshold",
|
|
80
|
+
"outputs": [],
|
|
81
|
+
"payable": false,
|
|
82
|
+
"stateMutability": "nonpayable",
|
|
83
|
+
"type": "function"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"constant": true,
|
|
87
|
+
"inputs": [
|
|
88
|
+
{ "name": "", "type": "address" },
|
|
89
|
+
{ "name": "", "type": "bytes32" }
|
|
90
|
+
],
|
|
91
|
+
"name": "approvedHashes",
|
|
92
|
+
"outputs": [{ "name": "", "type": "uint256" }],
|
|
93
|
+
"payable": false,
|
|
94
|
+
"stateMutability": "view",
|
|
95
|
+
"type": "function"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"constant": false,
|
|
99
|
+
"inputs": [{ "name": "_masterCopy", "type": "address" }],
|
|
100
|
+
"name": "changeMasterCopy",
|
|
101
|
+
"outputs": [],
|
|
102
|
+
"payable": false,
|
|
103
|
+
"stateMutability": "nonpayable",
|
|
104
|
+
"type": "function"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"constant": true,
|
|
108
|
+
"inputs": [],
|
|
109
|
+
"name": "SENTINEL_MODULES",
|
|
110
|
+
"outputs": [{ "name": "", "type": "address" }],
|
|
111
|
+
"payable": false,
|
|
112
|
+
"stateMutability": "view",
|
|
113
|
+
"type": "function"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"constant": true,
|
|
117
|
+
"inputs": [],
|
|
118
|
+
"name": "SENTINEL_OWNERS",
|
|
119
|
+
"outputs": [{ "name": "", "type": "address" }],
|
|
120
|
+
"payable": false,
|
|
121
|
+
"stateMutability": "view",
|
|
122
|
+
"type": "function"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"constant": true,
|
|
126
|
+
"inputs": [],
|
|
127
|
+
"name": "getOwners",
|
|
128
|
+
"outputs": [{ "name": "", "type": "address[]" }],
|
|
129
|
+
"payable": false,
|
|
130
|
+
"stateMutability": "view",
|
|
131
|
+
"type": "function"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"constant": true,
|
|
135
|
+
"inputs": [],
|
|
136
|
+
"name": "NAME",
|
|
137
|
+
"outputs": [{ "name": "", "type": "string" }],
|
|
138
|
+
"payable": false,
|
|
139
|
+
"stateMutability": "view",
|
|
140
|
+
"type": "function"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"constant": true,
|
|
144
|
+
"inputs": [],
|
|
145
|
+
"name": "nonce",
|
|
146
|
+
"outputs": [{ "name": "", "type": "uint256" }],
|
|
147
|
+
"payable": false,
|
|
148
|
+
"stateMutability": "view",
|
|
149
|
+
"type": "function"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"constant": true,
|
|
153
|
+
"inputs": [],
|
|
154
|
+
"name": "getModules",
|
|
155
|
+
"outputs": [{ "name": "", "type": "address[]" }],
|
|
156
|
+
"payable": false,
|
|
157
|
+
"stateMutability": "view",
|
|
158
|
+
"type": "function"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"constant": true,
|
|
162
|
+
"inputs": [],
|
|
163
|
+
"name": "SAFE_MSG_TYPEHASH",
|
|
164
|
+
"outputs": [{ "name": "", "type": "bytes32" }],
|
|
165
|
+
"payable": false,
|
|
166
|
+
"stateMutability": "view",
|
|
167
|
+
"type": "function"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"constant": true,
|
|
171
|
+
"inputs": [],
|
|
172
|
+
"name": "SAFE_TX_TYPEHASH",
|
|
173
|
+
"outputs": [{ "name": "", "type": "bytes32" }],
|
|
174
|
+
"payable": false,
|
|
175
|
+
"stateMutability": "view",
|
|
176
|
+
"type": "function"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"constant": false,
|
|
180
|
+
"inputs": [
|
|
181
|
+
{ "name": "prevModule", "type": "address" },
|
|
182
|
+
{ "name": "module", "type": "address" }
|
|
183
|
+
],
|
|
184
|
+
"name": "disableModule",
|
|
185
|
+
"outputs": [],
|
|
186
|
+
"payable": false,
|
|
187
|
+
"stateMutability": "nonpayable",
|
|
188
|
+
"type": "function"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"constant": false,
|
|
192
|
+
"inputs": [
|
|
193
|
+
{ "name": "prevOwner", "type": "address" },
|
|
194
|
+
{ "name": "oldOwner", "type": "address" },
|
|
195
|
+
{ "name": "newOwner", "type": "address" }
|
|
196
|
+
],
|
|
197
|
+
"name": "swapOwner",
|
|
198
|
+
"outputs": [],
|
|
199
|
+
"payable": false,
|
|
200
|
+
"stateMutability": "nonpayable",
|
|
201
|
+
"type": "function"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"constant": true,
|
|
205
|
+
"inputs": [],
|
|
206
|
+
"name": "getThreshold",
|
|
207
|
+
"outputs": [{ "name": "", "type": "uint256" }],
|
|
208
|
+
"payable": false,
|
|
209
|
+
"stateMutability": "view",
|
|
210
|
+
"type": "function"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"constant": true,
|
|
214
|
+
"inputs": [],
|
|
215
|
+
"name": "domainSeparator",
|
|
216
|
+
"outputs": [{ "name": "", "type": "bytes32" }],
|
|
217
|
+
"payable": false,
|
|
218
|
+
"stateMutability": "view",
|
|
219
|
+
"type": "function"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"constant": false,
|
|
223
|
+
"inputs": [
|
|
224
|
+
{ "name": "prevOwner", "type": "address" },
|
|
225
|
+
{ "name": "owner", "type": "address" },
|
|
226
|
+
{ "name": "_threshold", "type": "uint256" }
|
|
227
|
+
],
|
|
228
|
+
"name": "removeOwner",
|
|
229
|
+
"outputs": [],
|
|
230
|
+
"payable": false,
|
|
231
|
+
"stateMutability": "nonpayable",
|
|
232
|
+
"type": "function"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"constant": true,
|
|
236
|
+
"inputs": [],
|
|
237
|
+
"name": "VERSION",
|
|
238
|
+
"outputs": [{ "name": "", "type": "string" }],
|
|
239
|
+
"payable": false,
|
|
240
|
+
"stateMutability": "view",
|
|
241
|
+
"type": "function"
|
|
242
|
+
},
|
|
243
|
+
{ "payable": true, "stateMutability": "payable", "type": "fallback" },
|
|
244
|
+
{
|
|
245
|
+
"anonymous": false,
|
|
246
|
+
"inputs": [{ "indexed": false, "name": "txHash", "type": "bytes32" }],
|
|
247
|
+
"name": "ExecutionFailed",
|
|
248
|
+
"type": "event"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"anonymous": false,
|
|
252
|
+
"inputs": [{ "indexed": false, "name": "owner", "type": "address" }],
|
|
253
|
+
"name": "AddedOwner",
|
|
254
|
+
"type": "event"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"anonymous": false,
|
|
258
|
+
"inputs": [{ "indexed": false, "name": "owner", "type": "address" }],
|
|
259
|
+
"name": "RemovedOwner",
|
|
260
|
+
"type": "event"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"anonymous": false,
|
|
264
|
+
"inputs": [{ "indexed": false, "name": "threshold", "type": "uint256" }],
|
|
265
|
+
"name": "ChangedThreshold",
|
|
266
|
+
"type": "event"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"anonymous": false,
|
|
270
|
+
"inputs": [{ "indexed": false, "name": "module", "type": "address" }],
|
|
271
|
+
"name": "EnabledModule",
|
|
272
|
+
"type": "event"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"anonymous": false,
|
|
276
|
+
"inputs": [{ "indexed": false, "name": "module", "type": "address" }],
|
|
277
|
+
"name": "DisabledModule",
|
|
278
|
+
"type": "event"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"anonymous": false,
|
|
282
|
+
"inputs": [
|
|
283
|
+
{ "indexed": false, "name": "newContract", "type": "address" }
|
|
284
|
+
],
|
|
285
|
+
"name": "ContractCreation",
|
|
286
|
+
"type": "event"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"constant": false,
|
|
290
|
+
"inputs": [
|
|
291
|
+
{ "name": "_owners", "type": "address[]" },
|
|
292
|
+
{ "name": "_threshold", "type": "uint256" },
|
|
293
|
+
{ "name": "to", "type": "address" },
|
|
294
|
+
{ "name": "data", "type": "bytes" },
|
|
295
|
+
{ "name": "paymentToken", "type": "address" },
|
|
296
|
+
{ "name": "payment", "type": "uint256" },
|
|
297
|
+
{ "name": "paymentReceiver", "type": "address" }
|
|
298
|
+
],
|
|
299
|
+
"name": "setup",
|
|
300
|
+
"outputs": [],
|
|
301
|
+
"payable": false,
|
|
302
|
+
"stateMutability": "nonpayable",
|
|
303
|
+
"type": "function"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"constant": false,
|
|
307
|
+
"inputs": [
|
|
308
|
+
{ "name": "to", "type": "address" },
|
|
309
|
+
{ "name": "value", "type": "uint256" },
|
|
310
|
+
{ "name": "data", "type": "bytes" },
|
|
311
|
+
{ "name": "operation", "type": "uint8" },
|
|
312
|
+
{ "name": "safeTxGas", "type": "uint256" },
|
|
313
|
+
{ "name": "baseGas", "type": "uint256" },
|
|
314
|
+
{ "name": "gasPrice", "type": "uint256" },
|
|
315
|
+
{ "name": "gasToken", "type": "address" },
|
|
316
|
+
{ "name": "refundReceiver", "type": "address" },
|
|
317
|
+
{ "name": "signatures", "type": "bytes" }
|
|
318
|
+
],
|
|
319
|
+
"name": "execTransaction",
|
|
320
|
+
"outputs": [{ "name": "success", "type": "bool" }],
|
|
321
|
+
"payable": false,
|
|
322
|
+
"stateMutability": "nonpayable",
|
|
323
|
+
"type": "function"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"constant": false,
|
|
327
|
+
"inputs": [
|
|
328
|
+
{ "name": "to", "type": "address" },
|
|
329
|
+
{ "name": "value", "type": "uint256" },
|
|
330
|
+
{ "name": "data", "type": "bytes" },
|
|
331
|
+
{ "name": "operation", "type": "uint8" }
|
|
332
|
+
],
|
|
333
|
+
"name": "requiredTxGas",
|
|
334
|
+
"outputs": [{ "name": "", "type": "uint256" }],
|
|
335
|
+
"payable": false,
|
|
336
|
+
"stateMutability": "nonpayable",
|
|
337
|
+
"type": "function"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"constant": false,
|
|
341
|
+
"inputs": [{ "name": "hashToApprove", "type": "bytes32" }],
|
|
342
|
+
"name": "approveHash",
|
|
343
|
+
"outputs": [],
|
|
344
|
+
"payable": false,
|
|
345
|
+
"stateMutability": "nonpayable",
|
|
346
|
+
"type": "function"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"constant": false,
|
|
350
|
+
"inputs": [{ "name": "_data", "type": "bytes" }],
|
|
351
|
+
"name": "signMessage",
|
|
352
|
+
"outputs": [],
|
|
353
|
+
"payable": false,
|
|
354
|
+
"stateMutability": "nonpayable",
|
|
355
|
+
"type": "function"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"constant": false,
|
|
359
|
+
"inputs": [
|
|
360
|
+
{ "name": "_data", "type": "bytes" },
|
|
361
|
+
{ "name": "_signature", "type": "bytes" }
|
|
362
|
+
],
|
|
363
|
+
"name": "isValidSignature",
|
|
364
|
+
"outputs": [{ "name": "", "type": "bytes4" }],
|
|
365
|
+
"payable": false,
|
|
366
|
+
"stateMutability": "nonpayable",
|
|
367
|
+
"type": "function"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"constant": true,
|
|
371
|
+
"inputs": [{ "name": "message", "type": "bytes" }],
|
|
372
|
+
"name": "getMessageHash",
|
|
373
|
+
"outputs": [{ "name": "", "type": "bytes32" }],
|
|
374
|
+
"payable": false,
|
|
375
|
+
"stateMutability": "view",
|
|
376
|
+
"type": "function"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"constant": true,
|
|
380
|
+
"inputs": [
|
|
381
|
+
{ "name": "to", "type": "address" },
|
|
382
|
+
{ "name": "value", "type": "uint256" },
|
|
383
|
+
{ "name": "data", "type": "bytes" },
|
|
384
|
+
{ "name": "operation", "type": "uint8" },
|
|
385
|
+
{ "name": "safeTxGas", "type": "uint256" },
|
|
386
|
+
{ "name": "baseGas", "type": "uint256" },
|
|
387
|
+
{ "name": "gasPrice", "type": "uint256" },
|
|
388
|
+
{ "name": "gasToken", "type": "address" },
|
|
389
|
+
{ "name": "refundReceiver", "type": "address" },
|
|
390
|
+
{ "name": "_nonce", "type": "uint256" }
|
|
391
|
+
],
|
|
392
|
+
"name": "encodeTransactionData",
|
|
393
|
+
"outputs": [{ "name": "", "type": "bytes" }],
|
|
394
|
+
"payable": false,
|
|
395
|
+
"stateMutability": "view",
|
|
396
|
+
"type": "function"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"constant": true,
|
|
400
|
+
"inputs": [
|
|
401
|
+
{ "name": "to", "type": "address" },
|
|
402
|
+
{ "name": "value", "type": "uint256" },
|
|
403
|
+
{ "name": "data", "type": "bytes" },
|
|
404
|
+
{ "name": "operation", "type": "uint8" },
|
|
405
|
+
{ "name": "safeTxGas", "type": "uint256" },
|
|
406
|
+
{ "name": "baseGas", "type": "uint256" },
|
|
407
|
+
{ "name": "gasPrice", "type": "uint256" },
|
|
408
|
+
{ "name": "gasToken", "type": "address" },
|
|
409
|
+
{ "name": "refundReceiver", "type": "address" },
|
|
410
|
+
{ "name": "_nonce", "type": "uint256" }
|
|
411
|
+
],
|
|
412
|
+
"name": "getTransactionHash",
|
|
413
|
+
"outputs": [{ "name": "", "type": "bytes32" }],
|
|
414
|
+
"payable": false,
|
|
415
|
+
"stateMutability": "view",
|
|
416
|
+
"type": "function"
|
|
417
|
+
}
|
|
418
|
+
]
|
|
419
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"defaultAddress": "0x12302fE9c02ff50939BaAaaf415fc226C078613C",
|
|
3
|
+
"released": true,
|
|
4
|
+
"contractName": "ProxyFactory",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"networkAddresses": {
|
|
7
|
+
"1": "0x12302fE9c02ff50939BaAaaf415fc226C078613C",
|
|
8
|
+
"4": "0x12302fE9c02ff50939BaAaaf415fc226C078613C",
|
|
9
|
+
"5": "0x12302fE9c02ff50939BaAaaf415fc226C078613C",
|
|
10
|
+
"42": "0x12302fE9c02ff50939BaAaaf415fc226C078613C",
|
|
11
|
+
"100": "0x12302fE9c02ff50939BaAaaf415fc226C078613C"
|
|
12
|
+
},
|
|
13
|
+
"abi": [
|
|
14
|
+
{
|
|
15
|
+
"constant":false,
|
|
16
|
+
"inputs":[
|
|
17
|
+
{
|
|
18
|
+
"name":"_mastercopy",
|
|
19
|
+
"type":"address"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name":"initializer",
|
|
23
|
+
"type":"bytes"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name":"saltNonce",
|
|
27
|
+
"type":"uint256"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"name":"createProxyWithNonce",
|
|
31
|
+
"outputs":[
|
|
32
|
+
{
|
|
33
|
+
"name":"proxy",
|
|
34
|
+
"type":"address"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"payable":false,
|
|
38
|
+
"stateMutability":"nonpayable",
|
|
39
|
+
"type":"function"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"constant":true,
|
|
43
|
+
"inputs":[],
|
|
44
|
+
"name":"proxyCreationCode",
|
|
45
|
+
"outputs":[
|
|
46
|
+
{
|
|
47
|
+
"name":"",
|
|
48
|
+
"type":"bytes"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"payable":false,
|
|
52
|
+
"stateMutability":"pure",
|
|
53
|
+
"type":"function"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"constant":false,
|
|
57
|
+
"inputs":[
|
|
58
|
+
{
|
|
59
|
+
"name":"masterCopy",
|
|
60
|
+
"type":"address"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name":"data",
|
|
64
|
+
"type":"bytes"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"name":"createProxy",
|
|
68
|
+
"outputs":[
|
|
69
|
+
{
|
|
70
|
+
"name":"proxy",
|
|
71
|
+
"type":"address"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"payable":false,
|
|
75
|
+
"stateMutability":"nonpayable",
|
|
76
|
+
"type":"function"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"constant":true,
|
|
80
|
+
"inputs":[],
|
|
81
|
+
"name":"proxyRuntimeCode",
|
|
82
|
+
"outputs":[
|
|
83
|
+
{
|
|
84
|
+
"name":"",
|
|
85
|
+
"type":"bytes"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"payable":false,
|
|
89
|
+
"stateMutability":"pure",
|
|
90
|
+
"type":"function"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"anonymous":false,
|
|
94
|
+
"inputs":[
|
|
95
|
+
{
|
|
96
|
+
"indexed":false,
|
|
97
|
+
"name":"proxy",
|
|
98
|
+
"type":"address"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"name":"ProxyCreation",
|
|
102
|
+
"type":"event"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"defaultAddress": "0xF61A721642B0c0C8b334bA3763BA1326F53798C0",
|
|
3
|
+
"released": true,
|
|
4
|
+
"contractName": "CreateAndAddModules",
|
|
5
|
+
"version": "1.1.1",
|
|
6
|
+
"networkAddresses": {
|
|
7
|
+
"1": "0xF61A721642B0c0C8b334bA3763BA1326F53798C0",
|
|
8
|
+
"4": "0xF61A721642B0c0C8b334bA3763BA1326F53798C0",
|
|
9
|
+
"5": "0xF61A721642B0c0C8b334bA3763BA1326F53798C0",
|
|
10
|
+
"42": "0xF61A721642B0c0C8b334bA3763BA1326F53798C0",
|
|
11
|
+
"88": "0xF61A721642B0c0C8b334bA3763BA1326F53798C0",
|
|
12
|
+
"100": "0xF61A721642B0c0C8b334bA3763BA1326F53798C0",
|
|
13
|
+
"246": "0xF61A721642B0c0C8b334bA3763BA1326F53798C0",
|
|
14
|
+
"73799": "0xF61A721642B0c0C8b334bA3763BA1326F53798C0"
|
|
15
|
+
},
|
|
16
|
+
"abi": [
|
|
17
|
+
{
|
|
18
|
+
"constant": false,
|
|
19
|
+
"inputs": [
|
|
20
|
+
{
|
|
21
|
+
"internalType": "address",
|
|
22
|
+
"name": "proxyFactory",
|
|
23
|
+
"type": "address"
|
|
24
|
+
},
|
|
25
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" }
|
|
26
|
+
],
|
|
27
|
+
"name": "createAndAddModules",
|
|
28
|
+
"outputs": [],
|
|
29
|
+
"payable": false,
|
|
30
|
+
"stateMutability": "nonpayable",
|
|
31
|
+
"type": "function"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"constant": false,
|
|
35
|
+
"inputs": [
|
|
36
|
+
{
|
|
37
|
+
"internalType": "contract Module",
|
|
38
|
+
"name": "module",
|
|
39
|
+
"type": "address"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"name": "enableModule",
|
|
43
|
+
"outputs": [],
|
|
44
|
+
"payable": false,
|
|
45
|
+
"stateMutability": "nonpayable",
|
|
46
|
+
"type": "function"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"defaultAddress": "0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a",
|
|
3
|
+
"released": true,
|
|
4
|
+
"contractName": "CreateCall",
|
|
5
|
+
"version": "1.1.1",
|
|
6
|
+
"networkAddresses": {
|
|
7
|
+
"1": "0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a",
|
|
8
|
+
"4": "0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a",
|
|
9
|
+
"5": "0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a",
|
|
10
|
+
"42": "0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a",
|
|
11
|
+
"88": "0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a",
|
|
12
|
+
"100": "0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a",
|
|
13
|
+
"246": "0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a",
|
|
14
|
+
"73799": "0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a"
|
|
15
|
+
},
|
|
16
|
+
"abi": [
|
|
17
|
+
{
|
|
18
|
+
"anonymous": false,
|
|
19
|
+
"inputs": [
|
|
20
|
+
{
|
|
21
|
+
"indexed": false,
|
|
22
|
+
"internalType": "address",
|
|
23
|
+
"name": "newContract",
|
|
24
|
+
"type": "address"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"name": "ContractCreation",
|
|
28
|
+
"type": "event"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"inputs": [
|
|
32
|
+
{
|
|
33
|
+
"internalType": "uint256",
|
|
34
|
+
"name": "value",
|
|
35
|
+
"type": "uint256"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"internalType": "bytes",
|
|
39
|
+
"name": "deploymentData",
|
|
40
|
+
"type": "bytes"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"name": "performCreate",
|
|
44
|
+
"outputs": [
|
|
45
|
+
{
|
|
46
|
+
"internalType": "address",
|
|
47
|
+
"name": "newContract",
|
|
48
|
+
"type": "address"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"stateMutability": "nonpayable",
|
|
52
|
+
"type": "function"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"inputs": [
|
|
56
|
+
{
|
|
57
|
+
"internalType": "uint256",
|
|
58
|
+
"name": "value",
|
|
59
|
+
"type": "uint256"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"internalType": "bytes",
|
|
63
|
+
"name": "deploymentData",
|
|
64
|
+
"type": "bytes"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"internalType": "bytes32",
|
|
68
|
+
"name": "salt",
|
|
69
|
+
"type": "bytes32"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"name": "performCreate2",
|
|
73
|
+
"outputs": [
|
|
74
|
+
{
|
|
75
|
+
"internalType": "address",
|
|
76
|
+
"name": "newContract",
|
|
77
|
+
"type": "address"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"stateMutability": "nonpayable",
|
|
81
|
+
"type": "function"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|