kava icon indicating copy to clipboard operation
kava copied to clipboard

Identify alternative to x/precisebank NewFractionalAmountFromInt wrapper type for validation

Open drklee3 opened this issue 9 months ago • 0 comments

Reused logic for validating fractional amounts (non-empty, range, etc)

Currently implemented as a wrapper type with a Validate() method but we could also just use a function eg ValidateFractionalAmount

drklee3 avatar May 16 '24 21:05 drklee3