referrerpolicy=no-referrer-when-downgrade
polkadot_sdk_frame::token::fungibles::roles

Trait ResetTeam

pub trait ResetTeam<AccountId>: Inspect<AccountId> {
    // Required method
    fn reset_team(
        id: Self::AssetId,
        owner: AccountId,
        admin: AccountId,
        issuer: AccountId,
        freezer: AccountId,
    ) -> Result<(), DispatchError>;
}
Expand description

Trait for resetting the team configuration of an existing fungible asset.

Required Methods§

fn reset_team( id: Self::AssetId, owner: AccountId, admin: AccountId, issuer: AccountId, freezer: AccountId, ) -> Result<(), DispatchError>

Reset the team for the asset with the given id.

§Parameters
  • id: The identifier of the asset for which the team is being reset.
  • owner: The new owner account for the asset.
  • admin: The new admin account for the asset.
  • issuer: The new issuer account for the asset.
  • freezer: The new freezer account for the asset.

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.

Implementors§

impl<T: Config<I>, I: 'static> ResetTeam<<T as Config>::AccountId> for Pallet<T, I>