Trait oasis_runtime_sdk::module::FeeProxyHandler
source · 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.
Object Safety§
This trait is not object safe.