Skip to main content
Helpful?

CurrencyRatioSortOrder

Git Source - Generated with forge doc

Provides constants for sorting currencies when displaying price ratios Currencies given larger values will be in the numerator of the price ratio

Reference: https://github.com/Uniswap/v3-periphery/blob/main/contracts/libraries/TokenRatioSortOrder.sol

State Variables

NUMERATOR_MOST

int256 constant NUMERATOR_MOST = 300;

NUMERATOR_MORE

int256 constant NUMERATOR_MORE = 200;

NUMERATOR

int256 constant NUMERATOR = 100;

DENOMINATOR_MOST

int256 constant DENOMINATOR_MOST = -300;

DENOMINATOR_MORE

int256 constant DENOMINATOR_MORE = -200;

DENOMINATOR

int256 constant DENOMINATOR = -100;
Helpful?