tezos-checker / checker

An in-development "robocoin" system for the Tezos blockchain
24 stars 16 forks source link

Configurable scaling factor for collateral #251

Closed dorranh closed 3 years ago

dorranh commented 3 years ago

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.