UNPKG

@tevm/actions

Version:

A typesafe library for writing forge scripts in typescript

10 lines (9 loc) 266 B
/** * @param {{accounts: ReadonlyArray<import('@tevm/utils').Account>}} params * @returns {import('./EthHandler.js').EthAccountsHandler} */ export const ethAccountsHandler = ({ accounts }) => async () => { return accounts.map((account) => account.address) }