UNPKG

@owlprotocol/contracts-account-abstraction

Version:

ERC4337 Account Abstraction support for deploying relevant smart contracts and interacting with UserOps.

15 lines (14 loc) 557 B
import { getCreateAddress } from "viem"; const ENTRYPOINT_ADDRESS_V07 = "0x0000000071727De22E5E9d8BAf0edAc6f37da032"; const ENTRYPOINT_SALT_V07 = "0x90d8084deab30c2a37c45e8d47f49f2f7965183cb6990a98943ef94940681de3"; const SIMPLE_ACCOUNT_FACTORY_ADDRESS = "0xe7A78BA9be87103C317a66EF78e6085BD74Dd538"; const SIMPLE_ACCOUNT_IMPLEMENTATION_ADDRESS = getCreateAddress({ from: SIMPLE_ACCOUNT_FACTORY_ADDRESS, nonce: 1n }); export { ENTRYPOINT_ADDRESS_V07, ENTRYPOINT_SALT_V07, SIMPLE_ACCOUNT_FACTORY_ADDRESS, SIMPLE_ACCOUNT_IMPLEMENTATION_ADDRESS };