Skip to main content

script_session_scope

Function script_session_scope 

Source
fn script_session_scope(
    tempo: &TempoOpts,
    wallets: &MultiWalletOpts,
    expected_sender: Option<Address>,
    remaining: &[SignerScope],
) -> Result<Option<SignerScope>>
Expand description

Returns the sender and chain that the selected Tempo session signs for, if any. The session is not resolved when no transaction remains.

Wallets only tracks signers collected from CLI options and script cheatcodes. A Tempo session signer lives in the Accounts store instead, so resume treats the session root account as available only on the chain covered by the session.