getInitCode

open fun getInitCode(factory: String, publicKey: PublicKey, verificationFacet: String, salt: Int): Array<Byte>

Returns the init code parameter of ERC-4337 User Operation

Return

The address.

Parameters

factory

Wallet factory address (BarzFactory)

publicKey

Public key for the verification facet

verificationFacet

Verification facet address