Trait ethers::middleware::transformer::Transformer[][src]

pub trait Transformer: Send + Sync + Debug {
    fn transform(
        &self,
        tx: &mut TypedTransaction
    ) -> Result<(), TransformerError>; }
Expand description

Transformer is a trait to be implemented by a proxy wallet, eg. DSProxy, that intends to intercept a transaction request and transform it into one that is instead sent via the proxy contract.

Required methods

Transforms a transaction request into one that can be broadcasted and execute via the proxy contract.

Implementors