@ethereumjs/evm / Message
• new Message(opts)
| Name | Type |
|---|---|
opts |
MessageOpts |
• Optional _codeAddress: Address
• Optional accessWitness: AccessWitness
• 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)
• Optional blobVersionedHashes: Uint8Array[]
List of versioned hashes if message is a blob transaction in the outer VM
• caller: Address
• Optional chargeCodeAccesses: boolean
• Optional code: Uint8Array | PrecompileFunc
• Optional containerCode: Uint8Array
• Optional createdAddresses: Set<string>
Map of addresses which were created (used in EIP 6780)
• data: Uint8Array
• delegatecall: boolean
• depth: number
• gasLimit: bigint
• gasRefund: bigint
• isCompiled: boolean
• isStatic: boolean
• Optional salt: Uint8Array
• Optional selfdestruct: Set<string>
Set of addresses to selfdestruct. Key is the unprefixed address.
• Optional to: Address
• value: bigint
• get codeAddress(): Address
Note: should only be called in instances where _codeAddress or to is defined.
Address