Dragoma Rug Pull
What happened
Dragoma (DMA) was a Polygon play-to-earn game token, deployed on 9 June 2022 at 0x16dfb898…450f94, whose constructor sent 90% of the 42,000,000 DMA supply to a protocol contract, 0xCec6540b…cb3929, with unverified source code. The token also asks that contract, on every transfer, which holders are fee-exempt and how much of each holder's balance is locked as an airdrop portion, so the team's unverified contract decides who can move tokens. On 7 August 2022 at 21:16 UTC, 0x4c0ce1c7…db595d, named as the token's operation wallet at deployment, sold 50,000 DMA for about 42,028 USDT on QuickSwap.
About 90 minutes later the deployer called transferToken on the vault to send 38,000,000 DMA to that same wallet; De.Fi's listing says the wallet then drained the pools. PeckShield flagged a $3.5M rug pull with funds apparently deposited to centralized exchanges. CoinDesk reported that DMA fell 99.7%, gave its peak price separately as $1.78, and said the website went down and the project's social media channel was deleted.
How it happened
- The constructor mints
supply * 90 / 100(37,800,000 DMA) toprotocoland stores it asprotocolContract; the deploy arguments name 0xCec6540b…cb3929 asprotocoland 0x4c0CE1c7…DB595D asoperation, which receives 7%. transferandtransferFromrequirebalanceOf(from) >= IProtocol(protocolContract).getAirdropPortion(from) + amountand consultinWhiteListto waive the 3% fee, so the unverified protocol contract decides how much of any holder's balance is spendable.- On 7 August 2022 at 21:16:18 UTC the
operationwallet 0x4c0CE1c7...595D sold 50,000 DMA through the QuickSwap router for about 42,028 USDT (tx 0x7bbe8cc7…348c30), using DMA it already held. - At 22:44:08 UTC the same day the deployer 0xF491f49c…087B9c called
transferToken(sender, recipient, amount)on the protocol contract (tx 0x70ce1369…7129d2), moving 38,000,000 DMA from it to 0x4c0CE1c7...595D. - De.Fi's listing says that wallet drained the pools after receiving the 38,000,000 DMA. PeckShield put the loss at about $3.5M with the proceeds apparently sent to centralized exchanges, and CoinDesk reported DMA down 99.7%.
Protocol details
Evidence
- transaction Dragoma contract creation transaction polygonscan.com
- transaction PolygonScan transaction 0x70ce1369...29d2 (transferToken, 38,000,000 DMA) polygonscan.com
- transaction PolygonScan transaction 0x7bbe8cc7...8c30 (QuickSwap sale) polygonscan.com
- address Dragoma (DMA) verified contract code on PolygonScan polygonscan.com
- address polygonscan.com address 0x4c0c…595d polygonscan.com
- address polygonscan.com address 0xcec6…3929 polygonscan.com
- analysis Polygon-Based Web3 Game Dragoma Supporters Fall Victim to $3.5M Rug Pull: PeckShield coindesk.com
- analysis Website reference cryptotimes.io
- analysis Website reference cryptopotato.com
- analysis DeFiLlama defillama.com
- analysis Sourcify match for 0x16dfb898cf7029303c2376031392cb9bac450f94 on Polygon repo.sourcify.dev
- analysis De.Fi REKT database listing for Dragoma (DMA) de.fi
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.