aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/interval_utils.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-09 23:09:20 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-10 03:11:46 +0800
commitae74965774e8b0f12165d02135097f25f8fa927b (patch)
tree64da64ad47476fbba035a56a5d45438309b1e228 /src/utils/interval_utils.ts
parente952c98ca835627063cb675931d8de11aee84e78 (diff)
downloaddexon-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