Hippolygon Rug Pull
What happened
De.Fi's REKT database lists Hippolygon (HIPPO) as an exit scam / rug pull dated 2021-08-30 on Polygon, with no loss amount. The verified contract at 0xA6226c90…34F1a9 (deployed 2021-06-29 UTC by 0x711F6A1E…9c7439) is a MasterChef farm that takes LP-token stakes and pays HIPPO rewards. Its owner can set a pool's deposit fee as high as 100% and can raise the reward emission without a cap, while the HIPPO token has no supply limit.
Withdrawals have no pause or lock in this source. The code shows what the owner can do; no transaction opened for this record shows it was done.
How it happened
- The owner creates pools with
addand edits them withset. Both accept the deposit feerequire(_depositFeeBP <= 10000, "set: invalid deposit fee basis points");, and 10000 basis points is 100%.setworks on a pool that already has stakers. - In
deposit, the staker is debited first:pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);. Then the fee is taken:uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000);,pool.lpToken.safeTransfer(feeAddress, depositFee);anduser.amount = user.amount.add(_amount).sub(depositFee);. At 10000,depositFeeequals_amount, the whole deposit goes tofeeAddress, and the staker is credited 0. feeAddressis fixed by the constructor and can only be changed by itself:function setFeeAddress(address _feeAddress) public { require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN");. The source does not say who holds it.- Emission has no cap:
function updateEmissionRate(uint256 _HIPPOPerBlock) public onlyOwnersets any value, andupdatePoolmintsHIPPO.mint(devaddr, HIPPOReward.div(10));andHIPPO.mint(address(this), HIPPOReward);. The token'sfunction mint(address _to, uint256 _amount) public onlyOwnerhas no maximum supply, so a very large emission can dilute every HIPPO holder. - Exits are not gated:
withdrawandemergencyWithdrawboth end inpool.lpToken.safeTransfer(address(msg.sender), ...)with no pause. The fee path takes funds at deposit time, not at exit. The source does not show whether the fee was raised or the emission changed.
Protocol details
Evidence
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.