Pair Addresses
Last updated
Last updated
The best way to get the address for a pair is to call on the . If the pair exists, this function will return its address else 0
The "canonical" way to determine whether or not a pair exists.
Requires an on-chain lookup.
Python Example:
token0 must be strictly less than token1 by sort order.
Can be computed offline.
Requires the ability to perform pedersen_hash.