fallback
addLiquidty
addLiquidity
calls the external function addLiquidityETH
. Since this function can be called during _transfer
, it may cause _transfer
to fail unnecessarily. _transfer
swapAndLiquify
swapAndLiquify
TeamSetPromotionToken
promotionStartTimestamp
promotionStartTimestamp
is not used in the contract. When the team sets the promotion token by calling TeamSetPromotionToken
it takes place immediately, instead of being delyaed by promotionStartTimestamp
_buyLotteryTickets
lotteryTicketPrice
is supposed to be 100 tokens, however, it is set to 1000 tokens._buyLotteryTickets
_approve
approve
could be called once (with max int), and then check if it is needed again using allowance
._swapContractToken
sellLimit
in order to prevent a major price impact. TeamRemoveRemainingBNB