Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve tokens burn_from #917

Open
xlc opened this issue May 22, 2023 · 1 comment
Open

Improve tokens burn_from #917

xlc opened this issue May 22, 2023 · 1 comment

Comments

@xlc
Copy link
Member

xlc commented May 22, 2023

fn burn_from(
asset_id: Self::AssetId,
who: &T::AccountId,
amount: Self::Balance,
// TODO: Respect precision
_precision: Precision,
// TODO: Respect fortitude
_fortitude: Fortitude,
) -> Result<Self::Balance, DispatchError> {

@clangenb
Copy link
Contributor

#1003 introduces yet another argument: Preservation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants