MCPcopy
hub / github.com/eth-infinitism/account-abstraction / deployEntryPoint

Function deployEntryPoint

deploy/1_deploy_entrypoint.ts:5–18  ·  view source on GitHub ↗
(hre: HardhatRuntimeEnvironment)

Source from the content-addressed store, hash-verified

3import { ethers } from 'hardhat'
4
5const deployEntryPoint: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
6 const provider = ethers.provider
7 const from = await provider.getSigner().getAddress()
8
9 const ret = await hre.deployments.deploy(
10 'EntryPoint', {
11 from,
12 args: [],
13 gasLimit: 6e6,
14 deterministicDeployment: process.env.SALT ?? true,
15 log: true
16 })
17 console.log('==entrypoint addr=', ret.address)
18}
19
20export default deployEntryPoint

Callers

nothing calls this directly

Calls 2

getAddressMethod · 0.80
deployMethod · 0.80

Tested by

no test coverage detected