using strict custom type for coin tickers #2236
Labels
good first issue
Good for newcomers
improvement: error handling
Improvements made on error-handling
improvement: security
Improvements made on runtime security
priority: medium
Moderately important tasks that should be completed but are not urgent.
Right now
String
types are used everywhere for coin tickers, and in most places there's no clear validation for them. Even if validation is done, it's unclear where or how it's happening. Using a wrapper type for coin tickers would be much more appropriate.Just a simple/quick ref for the wrapper type:
This way, by default, every ticker used in KDF will be enforced to be validated.
The text was updated successfully, but these errors were encountered: