referrerpolicy=no-referrer-when-downgrade

PsmInterface

Trait PsmInterface 

Source
pub trait PsmInterface {
    type Balance;

    // Required method
    fn reserved_capacity() -> Self::Balance;
}
Expand description

Trait exposing the PSM pallet’s reserved capacity to other pallets.

Implemented by the PSM pallet, used by the Vaults pallet to account for PSM-reserved debt ceiling when calculating available vault capacity.

Required Associated Types§

Source

type Balance

The balance type.

Required Methods§

Source

fn reserved_capacity() -> Self::Balance

Get the amount of internal/minting stablecoin issuance capacity reserved by the PSM.

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.

Implementations on Foreign Types§

Source§

impl PsmInterface for ()

Implementors§