Skip to main content

current_config

Function current_config 

Source
pub async fn current_config<P: Provider<TempoNetwork>>(
    provider: &P,
    account: Address,
    keys: &[Address],
) -> Result<Option<ConfigurableAccountConfig>>
Expand description

Returns the current configuration of account, rebuilt from the chain.

keys are owner addresses whose 1-of-1, salt-0 configuration is tried first. Returns None when the account has no registered configuration and none of keys derives it. Fails before T14.