OriginProtocol / origin-js

We've moved to a monorepo: https://github.com/OriginProtocol/origin
MIT License
81 stars 33 forks source link

Fix Money #514

Closed micahalcorn closed 6 years ago

micahalcorn commented 6 years ago

Deposits were broken by https://github.com/OriginProtocol/origin-js/pull/485 because the number of decimals is not provided. I know that hard-coding the number here is not ideal, but I'm unclear on how to access the token contract method (decimals()) from this point in the ContractService constructor or how exactly you intended to populate the currency.decimals value.