Skip to main content

config_from_logs

Function config_from_logs 

Source
pub async fn config_from_logs<N: Network, P: Provider<N>>(
    provider: &P,
    account: Address,
    commitment: B256,
    block: u64,
) -> Result<ConfigurableAccountConfig>
Expand description

Scans the configurable account precompile’s logs backwards from block for the latest configuration event of account, which must match commitment.