ethereumjs-monorepo

@ethereumjs/evm / Message

Class: Message

Table of contents

Constructors

Properties

Accessors

Constructors

constructor

new Message(opts)

Parameters

Name Type
opts MessageOpts

Defined in

message.ts:79

Properties

_codeAddress

Optional _codeAddress: Address

Defined in

message.ts:52


accessWitness

Optional accessWitness: AccessWitness

Defined in

message.ts:77


authcallOrigin

Optional authcallOrigin: Address

This is used to store the origin of the AUTHCALL, the purpose is to figure out where value should be taken from (not from caller)

Defined in

message.ts:71


blobVersionedHashes

Optional blobVersionedHashes: Uint8Array[]

List of versioned hashes if message is a blob transaction in the outer VM

Defined in

message.ts:76


caller

caller: Address

Defined in

message.ts:47


chargeCodeAccesses

Optional chargeCodeAccesses: boolean

Defined in

message.ts:57


code

Optional code: Uint8Array | PrecompileFunc

Defined in

message.ts:51


containerCode

Optional containerCode: Uint8Array

Defined in

message.ts:56


createdAddresses

Optional createdAddresses: Set<string>

Map of addresses which were created (used in EIP 6780)

Defined in

message.ts:65


data

data: Uint8Array

Defined in

message.ts:49


delegatecall

delegatecall: boolean

Defined in

message.ts:66


depth

depth: number

Defined in

message.ts:50


gasLimit

gasLimit: bigint

Defined in

message.ts:48


gasRefund

gasRefund: bigint

Defined in

message.ts:72


isCompiled

isCompiled: boolean

Defined in

message.ts:54


isStatic

isStatic: boolean

Defined in

message.ts:53


salt

Optional salt: Uint8Array

Defined in

message.ts:55


selfdestruct

Optional selfdestruct: Set<string>

Set of addresses to selfdestruct. Key is the unprefixed address.

Defined in

message.ts:61


to

Optional to: Address

Defined in

message.ts:45


value

value: bigint

Defined in

message.ts:46

Accessors

codeAddress

get codeAddress(): Address

Note: should only be called in instances where _codeAddress or to is defined.

Returns

Address

Defined in

message.ts:106