Pair Address
🔍 Getting a Pair Address
✅ Method 1: On-Chain via getPair
getPairaddress pair = IZealousSwapFactory(factory).getPair(tokenA, tokenB);⚡ Method 2: Off-Chain via CREATE2 (No RPC Needed)
CREATE2 (No RPC Needed)🧮 Solidity Example
🔐 Pair Sorting Logic
✅ Summary
Method
Lookup
Requires RPC
Use Case
Last updated