Skip to content

Latest commit

 

History

History
246 lines (130 loc) · 4.47 KB

EVMRunCodeOpts.md

File metadata and controls

246 lines (130 loc) · 4.47 KB

@ethereumjs/evm / EVMRunCodeOpts

Interface: EVMRunCodeOpts

Hierarchy

  • EVMRunOpts

    EVMRunCodeOpts

Table of contents

Properties

Properties

blobVersionedHashes

Optional blobVersionedHashes: Uint8Array[]

Versioned hashes for each blob in a blob transaction

Inherited from

EVMRunOpts.blobVersionedHashes

Defined in

types.ts:83


block

Optional block: Block

The block the tx belongs to. If omitted a default blank block will be used.

Inherited from

EVMRunOpts.block

Defined in

types.ts:35


caller

Optional caller: Address

The address that ran this code (msg.sender). Defaults to the zero address.

Inherited from

EVMRunOpts.caller

Defined in

types.ts:47


code

Optional code: Uint8Array

The EVM code to run.

Inherited from

EVMRunOpts.code

Defined in

types.ts:51


data

Optional data: Uint8Array

The input data.

Inherited from

EVMRunOpts.data

Defined in

types.ts:55


depth

Optional depth: number

The call depth. Defaults to 0

Inherited from

EVMRunOpts.depth

Defined in

types.ts:67


gasLimit

Optional gasLimit: bigint

The gas limit for the call. Defaults to 16777215 (0xffffff)

Inherited from

EVMRunOpts.gasLimit

Defined in

types.ts:59


gasPrice

Optional gasPrice: bigint

The gas price for the call. Defaults to 0

Inherited from

EVMRunOpts.gasPrice

Defined in

types.ts:39


isStatic

Optional isStatic: boolean

If the call should be executed statically. Defaults to false.

Inherited from

EVMRunOpts.isStatic

Defined in

types.ts:71


origin

Optional origin: Address

The address where the call originated from. Defaults to the zero address.

Inherited from

EVMRunOpts.origin

Defined in

types.ts:43


pc

Optional pc: number

Defined in

types.ts:90


selfdestruct

Optional selfdestruct: Set<string>

Addresses to selfdestruct. Defaults to the empty set.

Inherited from

EVMRunOpts.selfdestruct

Defined in

types.ts:75


to

Optional to: Address

The address of the account that is executing this code (address(this)). Defaults to the zero address.

Inherited from

EVMRunOpts.to

Defined in

types.ts:79


value

Optional value: bigint

The value in ether that is being sent to opts.address. Defaults to 0

Inherited from

EVMRunOpts.value

Defined in

types.ts:63