I am developing a BEP20 token. The employer wants this token to be swappable in PancakeSwap.
When I read source of similar tokens, they add IUniswapV2PairIUniswapV2Pair
, IUniswapV2Router01IUniswapV2Router01
and IUniswapV2Router02IUniswapV2Router02
interfaces, but I can't find a guide that shows how to use these interfaces in the token contract source.
Is it necessary to use these interfaces for swappable tokens?
If yes, how can we use these interfaces?