Since our price mechanism now has to call storage for the decimals, we need our price functions to be called not from the type, but from the type instance. i.e inst.calculate... and not Instantiator::calculate
I took the liberty of converting all our functions also to using the instance (&self instead of Self), since usually the types are quite longer and doing inst. is easier.
Main info on #260
Since our price mechanism now has to call storage for the decimals, we need our price functions to be called not from the type, but from the type instance. i.e
inst.calculate...
and notInstantiator::calculate
I took the liberty of converting all our functions also to using the instance (&self instead of Self), since usually the types are quite longer and doing
inst.
is easier.