Skip to main content

Module etherscan

Module etherscan 

Source
Expand description

Etherscan utilities for tests.

Re-exportsยง

use alloy_chains::Chain; ๐Ÿ”’
use alloy_primitives::Address; ๐Ÿ”’
use eyre::Result; ๐Ÿ”’
use foundry_block_explorers::Client; ๐Ÿ”’
use foundry_common::compile::etherscan_project; ๐Ÿ”’
use foundry_common::flatten; ๐Ÿ”’
use std::str::FromStr; ๐Ÿ”’

Functionsยง

fetch_etherscan_source_flattened
Fetches the source code of a verified contract from Etherscan, flattens it, and returns it.