1#![cfg_attr(not(test), warn(unused_crate_dependencies))]
5#![cfg_attr(not(feature = "std"), no_std)]
6
7#[cfg(not(feature = "std"))]
8extern crate alloc as std;
9
10#[macro_use]
11mod macros;
12
13pub mod gas;
15pub mod host;
17pub mod instruction_context;
19mod instruction_result;
21pub mod instructions;
23pub mod interpreter;
25pub mod interpreter_action;
27pub mod interpreter_types;
29
30pub use context_interface::{
32 context::{SStoreResult, SelfDestructResult, StateLoad},
33 CreateScheme,
34};
35pub use gas::{Gas, InitialAndFloorGas};
36pub use host::Host;
37pub use instruction_context::InstructionContext;
38pub use instruction_result::*;
39pub use instructions::{instruction_table, Instruction, InstructionTable};
40pub use interpreter::{
41 num_words, InputsImpl, Interpreter, InterpreterResult, SharedMemory, Stack, STACK_LIMIT,
42};
43pub use interpreter_action::{
44 CallInput, CallInputs, CallOutcome, CallScheme, CallValue, CreateInputs, CreateOutcome,
45 FrameInput, InterpreterAction,
46};
47pub use interpreter_types::InterpreterTypes;
48pub use primitives::{eip7907::MAX_CODE_SIZE, eip7907::MAX_INITCODE_SIZE};