Skip to content

Commit

Permalink
Add Arachnid's and Micah's deployer to the common contracts (OpenZepp…
Browse files Browse the repository at this point in the history
…elin#5519)

Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
  • Loading branch information
Amxx committed Feb 24, 2025
1 parent 77a459e commit d045e71
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions hardhat/common-contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const fs = require('fs');
const path = require('path');

const INSTANCES = {
// Entrypoint v0.7.0
entrypoint: {
address: '0x0000000071727De22E5E9d8BAf0edAc6f37da032',
abi: JSON.parse(fs.readFileSync(path.resolve(__dirname, '../test/bin/EntryPoint070.abi'), 'utf-8')),
Expand All @@ -16,6 +17,20 @@ const INSTANCES = {
abi: JSON.parse(fs.readFileSync(path.resolve(__dirname, '../test/bin/SenderCreator070.abi'), 'utf-8')),
bytecode: fs.readFileSync(path.resolve(__dirname, '../test/bin/SenderCreator070.bytecode'), 'hex'),
},
// Arachnid's deterministic deployment proxy
// See: https://github.com/Arachnid/deterministic-deployment-proxy/tree/master
arachnidDeployer: {
address: '0x4e59b44847b379578588920cA78FbF26c0B4956C',
abi: [],
bytecode:
'0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf3',
},
// Micah's deployer
micahDeployer: {
address: '0x7A0D94F55792C434d74a40883C6ed8545E406D12',
abi: [],
bytecode: '0x60003681823780368234f58015156014578182fd5b80825250506014600cf3',
},
};

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

0 comments on commit d045e71

Please sign in to comment.