pub trait PoolWriteOffPolicyMutate<PoolId> {
    type Policy: Parameter;

    // Required method
    fn update(pool_id: PoolId, policy: Self::Policy) -> DispatchResult;
}
Expand description

A trait that supports modifications of pool write-off policies

Required Associated Types§

source

type Policy: Parameter

Required Methods§

source

fn update(pool_id: PoolId, policy: Self::Policy) -> DispatchResult

Updates the policy with the new policy

Object Safety§

This trait is not object safe.

Implementors§