Skip to main content

Module dispatcher

Module dispatcher 

Source
Expand description

Dispatcher

This module contains the ChiselDispatcher struct, which handles the dispatching of both builtin commands and Solidity snippets.

Structsยง

ChiselDispatcher
Chisel input dispatcher

Constantsยง

CHISEL_CHAR
Chisel character
COMMAND_LEADER
Command leader character
DEFAULT_PROMPT ๐Ÿ”’
PROMPT_ARROW
Prompt arrow character.
PROMPT_ARROW_STR
Prompt arrow string.

Functionsยง

config_network_name ๐Ÿ”’
ensure_fork_network_matches ๐Ÿ”’
ensure_loaded_session_network_matches ๐Ÿ”’
format_source
Helper function that formats solidity source with the given FormatterConfig
network_variant ๐Ÿ”’
preprocess ๐Ÿ”’
Expands the previous result, checksums addresses, and returns whether the input only contained trivia (comments, whitespace).