pub trait Eip7702Tx: Eip1559Tx {
// Required methods
fn destination(&self) -> Address;
fn authorization_list_len(&self) -> usize;
fn authorization_list_iter(
&self,
) -> impl Iterator<Item = impl Authorization>;
}
Expand description
EIP-7702 transaction, TODO set Trait for AuthorizationList.
Required Methods§
Sourcefn destination(&self) -> Address
fn destination(&self) -> Address
Destination address of the call.
List of authorizations, that contains the signature that authorizes this caller to place the code to signer account.
Set EOA account code for one transaction
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.