to figure this out
a basic way is to implement locked swap
What condition should lock trading?
using a state thn use a require in the function that checks for the state condition. like bool private isLocked; function...{ require(islocked == false) }
the required check should be in the transfer functions
Обсуждают сегодня