
PancakeSwap V2 Factory (BSC Testnet)
0x6725...7a17DeFifactory
Contract Level Prompt
Foundational semantic layer for AI interpretation.
The PancakeSwap V2 Factory contract is responsible for the creation and tracking of all liquidity pairs on the PancakeSwap V2 decentralized exchange on Binance Smart Chain Testnet. It ensures every unique token pair has a dedicated pair contract and allows querying of pairs and global parameters like fee recipients.
**Examples:**
1. **Create a new pair:**
`createPair(tokenA, tokenB)`
2. **Get an existing pair address:**
`getPair(tokenA, tokenB)`
3. **List a pair by index:**
`allPairs(index)`
4. **Query number of existing pairs:**
`allPairsLength()`
feeToSetter()
viewFunctional Prompt
Returns the address authorized to update the feeTo address.
Input Parameters
No input parameters.
Output Parameters
output
feeToSetteraddress
Admin address with rights to set the feeTo address.