(owner: string, factory: SimpleAccountFactory, salt = 0)
| 108 | |
| 109 | // helper function to create the initCode to deploy the account, using our account factory. |
| 110 | export function getAccountFactoryData (owner: string, factory: SimpleAccountFactory, salt = 0): BytesLike { |
| 111 | return factory.interface.encodeFunctionData('createAccount', [owner, salt]) |
| 112 | } |
| 113 | |
| 114 | export async function getAggregatedAccountFactoryData (entryPoint: string, factory: TestAggregatedAccountFactory, salt = 0): Promise<BytesLike> { |
| 115 | // the test aggregated account doesn't check the owner... |
no outgoing calls