Function cyclos_core::check_tick
source · [−]Expand description
Common checks for a valid tick input. A tick is valid iff it lies within tick boundaries and it is a multiple of tick spacing.
Arguments
tick- The price tick
Common checks for a valid tick input. A tick is valid iff it lies within tick boundaries and it is a multiple of tick spacing.
tick - The price tick