aragon / radspec

🤘 Radspec is a safe interpreter for Ethereum's NatSpec
MIT License
141 stars 36 forks source link

Helpers: add `@withDecimals()` #95

Closed vporton closed 4 years ago

vporton commented 4 years ago

Added helper @withDecimals(amount, precision).

sohkai commented 4 years ago

Thanks @vporton; I've just updated it slightly to be withDecimals() instead of fromWei(), as wei is a concept that really only applies to ETH.