Skip to content

Market Dead deposit

This tutorial explains how to set up a dead deposit for a Market V1.

A dead deposit is a security measure against ERC-4626 inflation attacks (read more).

Setting up a dead deposit involves supplying 1e9 shares to the target market, on behalf of address 0x000000000000000000000000000000000000dEaD, through a simple process on a block explorer like Etherscan:

  1. Find the Morpho contract on the target chain in the Addresses page.

  2. Approve the Morpho contract to spend the market's loan token on your behalf. You can do this on the loan token's contract. Approve enough assets to cover 1e9 vault shares.

Approve (Etherscan)
  1. Use the Morpho contract's supply function to supply 1e9 shares to the market on behalf of address 0x000000000000000000000000000000000000dEaD.
Market Dead Deposit (Etherscan)

Once the transaction is confirmed, the market will be secured with a dead deposit.