token, are the buy and sell conditions correct?
// is a buy
if (to == address(unirouter)) {
}
// is a sell
if (from == address(unipair)){
}
Yes which means pair will receive token and it sends eth to destination wallet
on the high level yes. Is router in the picture or not?
Обсуждают сегодня