The rise of DeFi Scams and Flash Loans

Transfer fee token exploit overview:

How did both exploits happen and how will Eggplant avoid this?

GoCerberus’s reward minting mechanism when pooling (increases total supply)
GoCerberus minting more Cerberus to payout referrals
Function mint within CAKE and majority of other exchanges. Note the comment stating it increases total supply. This exists within almost every BEP-20 coin
Calling mint in CAKE for pool rewards
PancakeSwap publicly stating there is no hard cap for CAKE

Eggplant code review:

Function created to mitigate flash loan singular block attacks. Look at farm.sol under farm contract for the entire array code



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Eggplant Crypto • DEX

Eggplant Crypto • DEX


Eggplant Crypto, a deflationary token on the Binance Smart Chain. Earn high yields by providing liquidity and by staking on Eggplant DEX.