Designing secure BEP-20 token contracts for cross-chain liquidity pools