Skip to main content

Module recovery

Module recovery 

Source

Re-exportsยง

use crate::multi_sequence::MultiChainSequence; ๐Ÿ”’
use crate::sequence::SequenceData; ๐Ÿ”’
use crate::sequence::completed_transaction_prefix; ๐Ÿ”’
use crate::sequence::operation_ordinal; ๐Ÿ”’
use alloy_consensus::Transaction; ๐Ÿ”’
use alloy_consensus::transaction::SignerRecoverable; ๐Ÿ”’
use alloy_eips::eip2718::Decodable2718; ๐Ÿ”’
use alloy_eips::eip2718::Encodable2718; ๐Ÿ”’
use alloy_network::Network; ๐Ÿ”’
use alloy_network::ReceiptResponse; ๐Ÿ”’
use alloy_network::TransactionBuilder; ๐Ÿ”’
use alloy_network::TransactionResponse; ๐Ÿ”’
use alloy_primitives::Address; ๐Ÿ”’
use alloy_primitives::B256; ๐Ÿ”’
use alloy_primitives::Bytes; ๐Ÿ”’
use alloy_primitives::TxKind; ๐Ÿ”’
use alloy_primitives::keccak256; ๐Ÿ”’
use eyre::ContextCompat; ๐Ÿ”’
use eyre::Result; ๐Ÿ”’
use eyre::WrapErr; ๐Ÿ”’
use eyre::bail; ๐Ÿ”’
use forge_script_sequence::ScriptSequence; ๐Ÿ”’
use forge_script_sequence::TransactionWithMetadata; ๐Ÿ”’
use forge_script_sequence::now; ๐Ÿ”’
use foundry_common::FoundryTransactionBuilder; ๐Ÿ”’
use foundry_common::TransactionMaybeSigned; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use std::fs::File; ๐Ÿ”’
use std::fs::OpenOptions; ๐Ÿ”’
use std::io::BufWriter; ๐Ÿ”’
use std::io::Write; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use tempfile::NamedTempFile; ๐Ÿ”’
use tempo_primitives::transaction::TEMPO_EXPIRING_NONCE_KEY; ๐Ÿ”’
use tempo_primitives::transaction::TempoTxEnvelope; ๐Ÿ”’
use std::os::unix::fs::OpenOptionsExt; ๐Ÿ”’ Unix
use std::os::unix::fs::PermissionsExt; ๐Ÿ”’ Unix

Structsยง

OperationId ๐Ÿ”’
RecoveryDeployment ๐Ÿ”’
RecoveryLock ๐Ÿ”’
RecoveryOperation ๐Ÿ”’
RecoveryPlan ๐Ÿ”’
RecoveryRelocation ๐Ÿ”’
RecoveryStore ๐Ÿ”’
Owns the authoritative recovery snapshot and its process-lifetime writer lock.
SignedPayload ๐Ÿ”’
SubmissionAttempt ๐Ÿ”’

Enumsยง

AttemptKind ๐Ÿ”’
DelegatedStatus ๐Ÿ”’

Constantsยง

RECOVERY_VERSION ๐Ÿ”’

Functionsยง

canonical_tempo_calls ๐Ÿ”’
commit_pending_plan ๐Ÿ”’
delegated_fee_payer ๐Ÿ”’
expiring_replay_hash ๐Ÿ”’
Tempo replay protection excludes sponsor signatures from T1B onward.
load_plan ๐Ÿ”’
operation_fingerprint ๐Ÿ”’
pending_path ๐Ÿ”’
previous_unfinished ๐Ÿ”’
Returns whether the previous execution at paths submitted anything and left an operation, on any chain, with neither a receipt nor a recorded revert. Without a recovery snapshot, progress saved before snapshots existed is read from the broadcast export. An unreadable snapshot counts as unfinished, as resume would refuse it too; an unreadable export counts as finished.
recovery_exists ๐Ÿ”’
recovery_path_from_sensitive ๐Ÿ”’
signed_payload_hash ๐Ÿ”’
validate_delegated_transaction ๐Ÿ”’
validate_signed_payload ๐Ÿ”’
write_plan ๐Ÿ”’
write_snapshot ๐Ÿ”’