Skip to content

getPair expects ordered token pair (tokenA<tokenB) and ordering not enforced in _addLiquidity #172

@ivp5

Description

@ivp5

if (IUniswapV2Factory(factory).getPair(tokenA, tokenB) == address(0)) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions