Skip to main content

Module tempo

Module tempo 

Source

Re-exportsยง

use alloy_network::Network; ๐Ÿ”’
use alloy_network::TransactionBuilder; ๐Ÿ”’
use alloy_primitives::Address; ๐Ÿ”’
use alloy_primitives::B256; ๐Ÿ”’
use alloy_primitives::ruint::aliases::U256; ๐Ÿ”’
use alloy_signer::Signature; ๐Ÿ”’
use alloy_signer::Signer; ๐Ÿ”’
use clap::Parser; ๐Ÿ”’
use eyre::Result; ๐Ÿ”’
use foundry_common::FoundryTransactionBuilder; ๐Ÿ”’
use foundry_common::tempo::TempoSponsor; ๐Ÿ”’
use foundry_common::tempo::resolve_tempo_sponsor_signer; ๐Ÿ”’
use foundry_evm::hardfork::TempoHardfork; ๐Ÿ”’
use std::num::NonZeroU64; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use std::str::FromStr; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use crate::utils::now; ๐Ÿ”’
use crate::utils::parse_fee_token_address; ๐Ÿ”’

Modulesยง

session ๐Ÿ”’

Structsยง

TempoOpts
CLI options for Tempo transactions.

Constantsยง

MAX_EXPIRES_SECS ๐Ÿ”’
Largest TIP-1009 validity window accepted by any hardfork. The window was 30 seconds before T11; the node enforces the limit of its active hardfork.
TEMPO_SESSION_ID_ENV
Environment variable used to pass a Tempo wallet session to child commands.

Functionsยง

parse_expires_seconds ๐Ÿ”’
Parses a seconds value for --tempo.expires, capped at MAX_EXPIRES_SECS.
parse_signature ๐Ÿ”’