Explore: Pool Ids and Non-global Pool nonces
Alexangelj opened this issue · comments
Description
Everytime a pool is created the poolNonce
is incremented. This occurs for every pool even if they have separate tokens. This means that a poolNonce can only be used for a single pair. This works, but it might make more sense to increment the poolNonce for each pair. This can be solved by having a mapping from the pairId to a poolNonce.
Need to investigate how this affects contract size.