pub trait ResetTeam<AccountId>: Inspect<AccountId> {
// Required method
fn reset_team(
id: Self::AssetId,
owner: AccountId,
admin: AccountId,
issuer: AccountId,
freezer: AccountId,
) -> DispatchResult;
}Expand description
Trait for resetting the team configuration of an existing fungible asset.
Required Methods§
Sourcefn reset_team(
id: Self::AssetId,
owner: AccountId,
admin: AccountId,
issuer: AccountId,
freezer: AccountId,
) -> DispatchResult
fn reset_team( id: Self::AssetId, owner: AccountId, admin: AccountId, issuer: AccountId, freezer: AccountId, ) -> DispatchResult
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 newowneraccount for the asset.admin: The newadminaccount for the asset.issuer: The newissueraccount for the asset.freezer: The newfreezeraccount 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.