pub trait MapAuth<A: Authorization, B: Authorization> {
// Required methods
fn map_spend_auth(&self, s: A::SpendAuth) -> B::SpendAuth;
fn map_authorization(&self, a: A) -> B;
}
Required Methods§
fn map_spend_auth(&self, s: A::SpendAuth) -> B::SpendAuth
Implementations on Foreign Types§
Source§impl MapAuth<Authorized, Authorized> for ()
The identity map.
impl MapAuth<Authorized, Authorized> for ()
The identity map.
This can be used with TransactionData::map_authorization
when you want to map the
authorization of a subset of the transaction’s bundles.