Skip to content
Snippets Groups Projects
Commit f5381748 authored by Alexander Popiak's avatar Alexander Popiak Committed by GitHub
Browse files

Balance to Asset Balance Conversion (#9076)


* add BalanceConversion trait and implementation

* derive some useful traits on Imbalance

* Update frame/support/src/traits/tokens/fungibles/imbalance.rs

Co-authored-by: default avatarXiliang Chen <xlchen1291@gmail.com>

* make BalanceConversion error type configurable

* add RuntimeDebug import and derive traits on other Imbalance

* formatting

* move BalanceConversion trait to frame-support

* add necessary trait import

Co-authored-by: default avatarXiliang Chen <xlchen1291@gmail.com>
parent e17a0146
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment