want airddropers to dump on the main investor's, please how can I lock AIRDROP coin in the wallet but people can trade only the portions they bought?
You'll need to override the ERC20 contracts, and add an array that will check the airdroppers , simple logic will need to get the amount they receive to airdrop , next create a modifier to see if they have participated to the airdrop , if yes , on the transfer function you'll have to etablish this logic , if TotalAmount - amountToTransfer < AirdropAmount so reverts , you'll also set the time condition to know when they could spend it.
Обсуждают сегодня