Closed gilescope closed 1 year ago
I dont think the current code is entirely correct.
Config item
Currency
for example restrains theBalance
ofInspectFungible
, but not ofMutateFungible
. I am not sure if this can lead to a situation where a type with incompatibleInspectFungible
andMutateFungible
could be configured, but it might. Same forAssets
andPoolAssets
.
MutableFungible has InspectFungable as super trait.
bot merge
Instead of
AssetBalanceOf<T>
we can just referenceT::AssetBalance
. Less voodoo.No other changes contained in this PR.