Skip to content
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 <[email protected]>

* 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 <[email protected]>
parent e17a0146
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