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 instruction_context;
17mod instruction_result;
19pub mod instructions;
21pub mod interpreter;
23pub mod interpreter_action;
25pub mod interpreter_types;
27
28pub use context_interface::{
30 context::{SStoreResult, SelfDestructResult, StateLoad},
31 host, CreateScheme, Host,
32};
33pub use gas::{Gas, InitialAndFloorGas};
34pub use instruction_context::InstructionContext;
35pub use instruction_result::*;
36pub use instructions::{instruction_table, Instruction, InstructionTable};
37pub use interpreter::{
38 num_words, InputsImpl, Interpreter, InterpreterResult, SharedMemory, Stack, STACK_LIMIT,
39};
40pub use interpreter_action::{
41 CallInput, CallInputs, CallOutcome, CallScheme, CallValue, CreateInputs, CreateOutcome,
42 FrameInput, InterpreterAction,
43};
44pub use interpreter_types::InterpreterTypes;