@tevm/actions
Version:
A typesafe library for writing forge scripts in typescript
15 lines • 500 B
TypeScript
import type { SetAccountParams } from './SetAccountParams.js';
import type { SetAccountResult } from './SetAccountResult.js';
/**
* Sets the state of a specific ethereum address
* @example
* import {parseEther} from 'tevm'
*
* await tevm.setAccount({
* address: '0x123...',
* deployedBytecode: '0x6080604...',
* balance: parseEther('1.0')
* })
*/
export type SetAccountHandler = (params: SetAccountParams) => Promise<SetAccountResult>;
//# sourceMappingURL=SetAccountHandlerType.d.ts.map