228 conveniently abstracted all collateral token logic into tok.ml, which is currently hard-wired to use the same scaling factor as tez. As we move towards FA2 collateral (#213) it would be good to make this value configurable as a part of the build so that the correct scaling factor can be easily specified for other tokens without having to modify the source code.
228 conveniently abstracted all collateral token logic into
tok.ml
, which is currently hard-wired to use the same scaling factor as tez. As we move towards FA2 collateral (#213) it would be good to make this value configurable as a part of the build so that the correct scaling factor can be easily specified for other tokens without having to modify the source code.