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