Skip to content

Commit 3bdc3a3

Browse files
authored
Add Arachnid's and Micah's deployer to the common contracts (#5519)
1 parent 930598e commit 3bdc3a3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

hardhat/common-contracts.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const fs = require('fs');
66
const path = require('path');
77

88
const INSTANCES = {
9+
// Entrypoint v0.7.0
910
entrypoint: {
1011
address: '0x0000000071727De22E5E9d8BAf0edAc6f37da032',
1112
abi: JSON.parse(fs.readFileSync(path.resolve(__dirname, '../test/bin/EntryPoint070.abi'), 'utf-8')),
@@ -16,6 +17,20 @@ const INSTANCES = {
1617
abi: JSON.parse(fs.readFileSync(path.resolve(__dirname, '../test/bin/SenderCreator070.abi'), 'utf-8')),
1718
bytecode: fs.readFileSync(path.resolve(__dirname, '../test/bin/SenderCreator070.bytecode'), 'hex'),
1819
},
20+
// Arachnid's deterministic deployment proxy
21+
// See: https://github.com/Arachnid/deterministic-deployment-proxy/tree/master
22+
arachnidDeployer: {
23+
address: '0x4e59b44847b379578588920cA78FbF26c0B4956C',
24+
abi: [],
25+
bytecode:
26+
'0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf3',
27+
},
28+
// Micah's deployer
29+
micahDeployer: {
30+
address: '0x7A0D94F55792C434d74a40883C6ed8545E406D12',
31+
abi: [],
32+
bytecode: '0x60003681823780368234f58015156014578182fd5b80825250506014600cf3',
33+
},
1934
};
2035

2136
task(TASK_TEST_SETUP_TEST_ENVIRONMENT).setAction((_, env, runSuper) =>

0 commit comments

Comments
 (0)