import type { Abi } from '@tevm/utils' import type { ContractFunctionName, EncodeFunctionDataParameters, Hex } from '@tevm/utils' import type { BaseCallParams } from './BaseCallParams.js' /** * Tevm params for deploying and running a script */ export type ScriptParams< TAbi extends Abi | readonly unknown[] = Abi, TFunctionName extends ContractFunctionName = ContractFunctionName, TThrowOnFail extends boolean = boolean, > = EncodeFunctionDataParameters & BaseCallParams & { /** * The EVM code to run. */ readonly deployedBytecode: Hex }