UNPKG

@owlprotocol/contracts-account-abstraction

Version:

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

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