The exploiter will retain 20% of the stolen funds as a bug bounty. A hacker who exploited decentralized-finance protocol Safemoon has agreed to return 80% of the stolen funds valued at $7.1 million, according to on-chain data posted by pseudonymous Twitter user SafeMoonSpidey.The exploit occurred last month when a hacker drained Safemoon's liquidity pool of nearly $9 million worth of SFM tokens after manipulating a flaw in the smart contracts.Safemoon developers updated the community in on-chain transactions that can be viewed on the Binance Smart Chain block explorer.The two parties agreed on a 20% bug bounty to be awarded to the hacker. Safemoon developers also confirmed that no charges will be filed against the hacker.Safemoon's SFM token has risen by 2.8% over the past 24 hours.