This website requires JavaScript.
Explore
Help
Register
Sign In
oceanprotocol
/
market
mirror of
https://github.com/oceanprotocol/market.git
Watch
1
Star
0
Fork
You've already forked market
0
Code
Releases
Activity
131f1f15e3
market
/
src
/
@utils
/
constants.ts
2 lines
30 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Price length and decimals number validation (#1225) * price length and decimals number validation * undefined parameter fix * fixes * use the decimals constant in regex * validation added for moire fields * cleanup * swap fee decimals fixes * constant fix * use max 6 decimals for swap fee * remove unused code Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-04-01 10:38:32 +02:00
export
const
MAX_DECIMALS
=
6