Ask about Merlin · free
Logo of Merlin

Merlin (MERL) Deprecated protocol

Protocol Information

Merlin is an auto-compounding yield aggregator with an ecosystem optimized to focus on safe and sustainable maximum yield return.

Category:Yield

Audits:

Get Merlin data from the DefiLlama API

Historical TVL of a protocol, broken down by chain and by token. No key needed. The API plan adds higher rate limits and over 100 more endpoints.

Get an API keyAPI docs

https://api.llama.fi/protocol/merlin

Hacks

Date: May 26, 2021

Amount: $680,000

Classification: Protocol Logic

Technique: Reward Logic Flaw

On May 26, 2021, Merlin Lab (PancakeBunny fork) was exploited for ~$680K via reward calculation flaw. Attacker deposited small amount, sent 180 CAKE to LINK-BNB vault, exploited getReward() function that calculated rewards from contract balance rather than user deposit, and repeated process 36 times. Second $550K attack followed 8 hours later.

Chains: BSC

Language: Solidity

Target Type: DeFi Protocol

Date: May 26, 2021

Amount: $550,000

Classification: Token & Share Accounting

Technique: Rounding Error

Merlin Labs (PancakeBunny fork) suffered a second exploit 8 hours after the first on May 26, 2021, draining ~$550K. The priceCalculator had critical math errors in share price computation that allowed attackers to manipulate prices and drain funds.

Chains: BSC

Language: Solidity

Target Type: DeFi Protocol

Date: Jun 29, 2021

Amount: $330,000

Classification: Token & Share Accounting

Technique: Arithmetic Error

Merlin was exploited for $330K when an attacker deployed a fake Alpaca-BNB vault and sent 1000 BNB to trick the contract into inflating reward calculations.

Chains: BSC

Language: Solidity

Target Type: DeFi Protocol

Merlin history

TVL is the default DefiLlama definition. Daily values are UTC snapshots from Jun 23, 2021 to Oct 12, 2023.

All-time high TVL: $186.54m on Jun 24, 2021. All-time low TVL: $61,693 on Jun 19, 2022.

Daily TVL, Aug 6, 2023 to Oct 12, 2023

DateTVL
Aug 6, 2023$0
Aug 7, 2023$0
Aug 8, 2023$0
Aug 9, 2023$0
Aug 10, 2023$0
Aug 11, 2023$0
Aug 12, 2023$0
Aug 13, 2023$0
Aug 14, 2023$0
Aug 15, 2023$0
Aug 16, 2023$0
Aug 17, 2023$0
Aug 18, 2023$0
Aug 19, 2023$0
Aug 20, 2023$0
Aug 21, 2023$0
Aug 22, 2023$0
Aug 23, 2023$0
Aug 24, 2023$0
Aug 25, 2023$0
Aug 26, 2023$0
Aug 27, 2023$0
Aug 28, 2023$0
Aug 29, 2023$0
Aug 30, 2023$0
Aug 31, 2023$0
Oct 9, 2023$0
Oct 10, 2023$0
Oct 11, 2023$0
Oct 12, 2023$0

TVL at each month end, Oct 2021 to Oct 2023

DateTVL
Oct 31, 2021$233,456
Nov 30, 2021$201,383
Dec 31, 2021$176,983
Jan 31, 2022$120,787
Feb 28, 2022$108,335
Mar 31, 2022$142,062
Apr 30, 2022$138,933
May 31, 2022$94,935
Jun 30, 2022$67,909
Jul 31, 2022$84,524
Aug 31, 2022$84,105
Sep 30, 2022$96,327
Oct 31, 2022$94,802
Nov 30, 2022$84,627
Dec 31, 2022$71,603
Jan 31, 2023$85,251
Feb 28, 2023$85,345
Mar 31, 2023$0
Apr 30, 2023$0
May 31, 2023$0
Jun 30, 2023$0
Jul 31, 2023$0
Aug 31, 2023$0
Oct 12, 2023 (latest)$0

TVL at each year end, Dec 31, 2021 to Dec 31, 2022

DateTVL
Dec 31, 2021$176,983
Dec 31, 2022$71,603

The .csv export on the chart above downloads every daily value.

Frequently asked questions

What is Merlin's TVL?

As of Oct 12, 2023, Merlin has $0 in total value locked.

What chains does Merlin operate on?

Merlin operates on Binance.

Has Merlin ever been exploited?

Merlin has 3 recorded security incidents. The most recent incident occurred on Jun 29, 2021 and involved $330,000. It was classified as Token & Share Accounting.