diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-09 23:09:20 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-10 03:11:46 +0800 |
commit | ae74965774e8b0f12165d02135097f25f8fa927b (patch) | |
tree | 64da64ad47476fbba035a56a5d45438309b1e228 /src/utils/interval_utils.ts | |
parent | e952c98ca835627063cb675931d8de11aee84e78 (diff) | |
download | dexon-sol-tools-ae74965774e8b0f12165d02135097f25f8fa927b.tar dexon-sol-tools-ae74965774e8b0f12165d02135097f25f8fa927b.tar.gz dexon-sol-tools-ae74965774e8b0f12165d02135097f25f8fa927b.tar.bz2 dexon-sol-tools-ae74965774e8b0f12165d02135097f25f8fa927b.tar.lz dexon-sol-tools-ae74965774e8b0f12165d02135097f25f8fa927b.tar.xz dexon-sol-tools-ae74965774e8b0f12165d02135097f25f8fa927b.tar.zst dexon-sol-tools-ae74965774e8b0f12165d02135097f25f8fa927b.zip |
Add assert.isValidBaseUnitAmount that checks for decimals in amounts that should be in baseUnits. This can sometimes alert developers whenever they accidentally pass in unitAmounts.
Diffstat (limited to 'src/utils/interval_utils.ts')
0 files changed, 0 insertions, 0 deletions