diff --git a/command/genesis/polybft_params.go b/command/genesis/polybft_params.go index 29f4a38965..7d15c71cb9 100644 --- a/command/genesis/polybft_params.go +++ b/command/genesis/polybft_params.go @@ -432,6 +432,10 @@ func (p *genesisParams) deployContracts(rewardTokenByteCode []byte, artifact: contractsapi.ChildTimelock, address: contracts.ChildTimelockContractV1, }, + { + artifact: contractsapi.EntryPoint, + address: contracts.EntryPointContractV1, + }, } if !params.nativeTokenConfig.IsMintable { diff --git a/contracts/system_addresses.go b/contracts/system_addresses.go index 1e8bf3daf6..72522f57a2 100644 --- a/contracts/system_addresses.go +++ b/contracts/system_addresses.go @@ -87,7 +87,7 @@ var ( NetworkParamsContractV1 = types.StringToAddress("0x100e1") // ForkParamsContract is an address of ForkParams contract which holds data of enabled forks ForkParamsContract = types.StringToAddress("0x100f") - // ForkParamsContract is the proxy address of ForkParams contract which holds data of enabled forks + // ForkParamsContract is an address of ForkParams contract which holds data of enabled forks ForkParamsContractV1 = types.StringToAddress("0x100f1") // SystemCaller is address of account, used for system calls to smart contracts @@ -111,6 +111,11 @@ var ( AllowListBridgeAddr = types.StringToAddress("0x0200000000000000000000000000000000000004") // BlockListBridgeAddr is the address of the bridge block list BlockListBridgeAddr = types.StringToAddress("0x0300000000000000000000000000000000000004") + + // EntryPointContract is the proxy address of EntryPoint contract which is a center point of account abstraction + EntryPointContract = types.StringToAddress("0x2001") + // EntryPointContract is an address of EntryPoint contract which is a center point of account abstraction + EntryPointContractV1 = types.StringToAddress("0x20011") ) // GetProxyImplementationMapping retrieves the addresses of proxy contracts that should be deployed unconditionally @@ -133,5 +138,6 @@ func GetProxyImplementationMapping() map[types.Address]types.Address { ForkParamsContract: ForkParamsContractV1, ChildTimelockContract: ChildTimelockContractV1, ChildGovernorContract: ChildGovernorContractV1, + EntryPointContract: EntryPointContractV1, } }