Skip to main content

lookup_signer

Function lookup_signer 

Source
pub fn lookup_signer(from: Address) -> Result<TempoLookup>
Expand description

Looks up a signer for the given address in Tempo’s keys.toml.

Returns TempoLookup::Direct if a direct-mode (EOA) key is found, TempoLookup::Keychain if a keychain-mode access key is found, or TempoLookup::NotFound if no entry matches.