pub trait FeeProxyHandler {
// Required method
fn resolve_payer<C: Context>(
ctx: &C,
tx: &Transaction,
) -> Result<Option<Address>, Error>;
}
Expand description
Fee proxy handler.
Required Methods§
Sourcefn resolve_payer<C: Context>(
ctx: &C,
tx: &Transaction,
) -> Result<Option<Address>, Error>
fn resolve_payer<C: Context>( ctx: &C, tx: &Transaction, ) -> Result<Option<Address>, Error>
Resolve the proxy payer for the given transaction. If no payer could be resolved, None
should be returned.
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.