pub trait TempoTx {
// Required methods
fn fee_token(&self) -> Option<Address>;
fn is_aa(&self) -> bool;
fn calls(&self) -> impl Iterator<Item = (TxKind, &Bytes)>;
fn caller(&self) -> Address;
}Expand description
Helper trait to abstract over different representations of Tempo transactions.
Required Methods§
Sourcefn fee_token(&self) -> Option<Address>
fn fee_token(&self) -> Option<Address>
Returns the transaction’s feeToken field, if configured.
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.