emit PairCreated(id, sortedTokens[0], sortedTokens[1]); return Pair({ id: id, tokens: sortedTokens }); }
This event indicates when a new token pair is created.
Last updated 8 months ago
id
uint128
The id of the pair.
sortedTokens[0]
address
The first token in the pair.
sortedTokens[1]
The second token in the pair.