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>
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 newowner
account for the asset.admin
: The newadmin
account for the asset.issuer
: The newissuer
account for the asset.freezer
: The newfreezer
account for the asset.
Object Safety§
This trait is not object safe.