//! EIP-7702 Account Abstraction transaction interface.
useauto_impl::auto_impl;useprimitives::{Address,U256};/// Authorization trait.
#[auto_impl(&, Box, Arc, Rc)]pubtraitAuthorizationTr{/// Authority address.
////// # Note
////// Authority signature can be invalid, so this method returns None if the authority
/// could not be recovered.
////// Valid signature Parity should be 0 or 1 and
/// signature s-value should be less than SECP256K1N_HALF.
fnauthority(&self)->Option<Address>;/// Returns the chain id from the authorization.
fnchain_id(&self)-> U256;/// Returns the nonce.
////// # Note
////// If nonce is not same as the nonce of the signer account,
/// the authorization is skipped.
fnnonce(&self)->u64;/// Returns the address that this account is delegated to.
fnaddress(&self)-> Address;}