Skip to main content

Module auth

Module auth 

Source

Re-exportsยง

use super::confirm_continue; ๐Ÿ”’
use crate::tx::CastTxBuilder; ๐Ÿ”’
use crate::tx::InputState; ๐Ÿ”’
use crate::tx::SenderKind; ๐Ÿ”’
use crate::tx::validate_authorizations; ๐Ÿ”’
use alloy_network::Network; ๐Ÿ”’
use alloy_network::TransactionBuilder; ๐Ÿ”’
use alloy_provider::Provider; ๐Ÿ”’
use eyre::Result; ๐Ÿ”’
use foundry_cli::opts::CliAuthorizationList; ๐Ÿ”’
use foundry_cli::utils::ResolvedLane; ๐Ÿ”’
use foundry_cli::utils::maybe_print_resolved_lane; ๐Ÿ”’
use foundry_common::FoundryTransactionBuilder; ๐Ÿ”’
use foundry_common::shell; ๐Ÿ”’
use foundry_wallets::TempoAccountsWallet; ๐Ÿ”’

Functionsยง

confirm_and_build ๐Ÿ”’
Confirms the authorization disclosure, builds the transaction for sender and prints the resolved lane. rpc_signs marks modes where the RPC signs the transaction, which discloses every authorization regardless of how the request is filled.
confirm_and_build_with_tempo_wallet ๐Ÿ”’
confirm_and_build for a transaction signed by a Tempo access key; also returns the prepared wallet.
confirm_auth_rpc_disclosure ๐Ÿ”’
Validates the authorization sender and confirms that the user intends to disclose an EIP-7702 authorization to an RPC endpoint.
confirm_auth_rpc_disclosure_after_validation ๐Ÿ”’
confirm_auth_rpc_disclosure_before_network_resolution ๐Ÿ”’
Validates and confirms disclosure before an execution network is resolved from the RPC.