Skip to main content

Module session

Module session 

Source

Re-exportsยง

use super::TempoOpts; ๐Ÿ”’
use crate::utils::now; ๐Ÿ”’
use alloy_primitives::Address; ๐Ÿ”’
use alloy_primitives::B256; ๐Ÿ”’
use eyre::Result; ๐Ÿ”’
use eyre::WrapErr; ๐Ÿ”’
use foundry_common::tempo::ResolvedSessionSigner; ๐Ÿ”’
use foundry_common::tempo::resolve_live_session_signer; ๐Ÿ”’
use foundry_wallets::MultiWalletOpts; ๐Ÿ”’
use foundry_wallets::WalletOpts; ๐Ÿ”’
use std::str::FromStr; ๐Ÿ”’

Constantsยง

TEMPO_SESSION_ID_ENV
Environment variable used to pass a Tempo wallet session to child commands.

Traitsยง

ExplicitSignerOpts ๐Ÿ”’

Functionsยง

ensure_expected_sender ๐Ÿ”’
ensure_no_explicit_multi_wallet_signer ๐Ÿ”’
Rejects multi-wallet signer options when a Tempo session is already selected.
ensure_no_explicit_wallet_signer ๐Ÿ”’
Rejects single-wallet signer options when a Tempo session is already selected.
resolve_session ๐Ÿ”’
resolve_session_signer ๐Ÿ”’
Loads the live session signer and validates it against the command context.