Expand description
Session Source
This module contains the SessionSource struct, which is a minimal wrapper around
the REPL contractβs source code. It provides simple compilation, parsing, and
execution helpers.
Re-exportsΒ§
use eyre::Result;πuse foundry_compilers::Artifact;πuse foundry_compilers::ProjectCompileOutput;πuse foundry_compilers::artifacts::ConfigurableContractArtifact;πuse foundry_compilers::artifacts::Source;πuse foundry_compilers::artifacts::Sources;πuse foundry_compilers::project::ProjectCompiler;πuse foundry_compilers::solc::Solc;πuse foundry_config::Config;πuse foundry_config::EtherscanConfigs;πuse foundry_config::FoundryHardfork;πuse foundry_config::RpcEndpoints;πuse foundry_config::SolcReq;πuse foundry_config::cache::CachedEndpoints;πuse foundry_evm::backend::Backend;πuse foundry_evm::core::bytecode::InstIter;πuse foundry_evm::core::evm::FoundryEvmNetwork;πuse foundry_evm::executors::ExecutorBuilder;πuse foundry_evm::opts::EvmOpts;πuse foundry_evm_networks::NetworkConfigs;πuse semver::Version;πuse serde::Deserialize;πuse serde::Deserialize;πuse serde::Deserializer;πuse serde::Serialize;πuse serde::Serialize;πuse serde::Serializer;πuse solar::ast::ItemKind;πuse solar::ast::StmtKind as AstStmtKind;πuse solar::ast::yul;πuse solar::interface::Span;πuse solar::interface::diagnostics::EmittedDiagnostics;πuse solar::sema::CompilerRef;πuse solar::sema::hir::Block;πuse solar::sema::hir::Contract;πuse solar::sema::hir::EventId;πuse solar::sema::hir::ItemId;πuse solar::sema::hir::Stmt;πuse solar::sema::hir::StmtKind as HirStmtKind;πuse solar::sema::ty::Gcx;πuse std::cell::OnceCell;πuse std::fmt;πuse std::path::Path;πuse std::path::PathBuf;πuse walkdir::WalkDir;π
StructsΒ§
- Generated
Output SessionSourcebuild output.- Generated
Output Ref - A scoped reference to a
GeneratedOutputtogether with an entered solar compiler. - Invocation
Rpc π - RPC and explorer settings owned by the current Chisel invocation.
- Session
Source - REPL Session Source wrapper
- Session
Source Config - Configuration for the SessionSource
EnumsΒ§
- Parse
Tree πFragment - A Parse Tree Fragment
ConstantsΒ§
- MIN_
VM_ VERSION - The minimum Solidity version of the
Vminterface.
StaticsΒ§
FunctionsΒ§
- vm_
source π