Skip to main content
@tevm/voltaire
@tevm/voltaire / evm / Log

Log

Functions

handler_0xa0_LOG0()

handler_0xa0_LOG0(frame): EvmError | null
Defined in: src/evm/log/0xa0_LOG0.js:19 LOG0 (0xa0) - Log with 0 topics Stack: in: offset, length out: - Gas: 375 (base) + 8 * dataLength + memory expansion

Parameters

frame
BrandedFrame Frame instance

Returns

EvmError | null Error if any

handler_0xa1_LOG1()

handler_0xa1_LOG1(frame): EvmError | null
Defined in: src/evm/log/0xa1_LOG1.js:23 LOG1 (0xa1) - Log with 1 topic Stack: in: offset, length, topic0 out: - Gas: 375 (base) + 375 (topic) + 8 * dataLength + memory expansion

Parameters

frame
BrandedFrame Frame instance

Returns

EvmError | null Error if any

handler_0xa2_LOG2()

handler_0xa2_LOG2(frame): EvmError | null
Defined in: src/evm/log/0xa2_LOG2.js:23 LOG2 (0xa2) - Log with 2 topics Stack: in: offset, length, topic0, topic1 out: - Gas: 375 (base) + 750 (2 topics) + 8 * dataLength + memory expansion

Parameters

frame
BrandedFrame Frame instance

Returns

EvmError | null Error if any

handler_0xa3_LOG3()

handler_0xa3_LOG3(frame): EvmError | null
Defined in: src/evm/log/0xa3_LOG3.js:24 LOG3 (0xa3) - Log with 3 topics Stack: in: offset, length, topic0, topic1, topic2 out: - Gas: 375 (base) + 1125 (3 topics) + 8 * dataLength + memory expansion

Parameters

frame
BrandedFrame Frame instance

Returns

EvmError | null Error if any

handler_0xa4_LOG4()

handler_0xa4_LOG4(frame): EvmError | null
Defined in: src/evm/log/0xa4_LOG4.js:24 LOG4 (0xa4) - Log with 4 topics Stack: in: offset, length, topic0, topic1, topic2, topic3 out: - Gas: 375 (base) + 1500 (4 topics) + 8 * dataLength + memory expansion

Parameters

frame
BrandedFrame Frame instance

Returns

EvmError | null Error if any