project screenshot 1
project screenshot 2
project screenshot 3

Superfest Vaults

A collection of ERC4626/ERC7540 vaults for farming rewards during Superfest

Superfest Vaults

Created At

Superhack 2024

Project Description

Superfest Vaults is a project which leverages ERC4626 vault standards to simplify and optimize user participation in the Optimism Superfest. Our project automates the process of earning rewards from multiple protocols, providing a seamless experience for users

Key Features:

  1. Users can easily deposit assets into our smart contract vaults to get rewards from protocols participating in the Superfest
  2. Automated Reward Collection: The vaults automatically collect OP token rewards on Optimism, convert it to vault assets and increase vaults positions
  3. Vault mechanics can be simulated using Tenderly Virtual Testnets features
  4. TODO: Multi-Protocol Support: Interact with various protocols participating in the Superfest through a single interface.
  5. TODO: User-Friendly Dashboard: Monitor your deposits, rewards, and overall performance in real-time.

How it's Made

  1. Smart Contract Development: Vaults are based on Yearn strategies templates and implement BaseStrategy and Tokenized Strategy contracts. It was made to simplify project development and re-use math already implemented by Yearn team.

  2. Scaffold-eth-2 was used to compile, debug and deploy smart contracts to different chains

  3. Tenderly Virtual Testnets were used to simulate transactions on forks of mainnet of different chains and model real APY of the strategy.

For this hackathon the only strategy was implemented for Balancer USDC/Mode pool which at the moment has 148.2% APY.

https://merkl.angle.money/ was used to fetch data about all Superfest campaigns and its APY

Strategy description:

  1. A user provides MODE to the vault
  2. Vault provides MODE to USDC20/MODE80 pool and earns OP Superfest rewards + Balancer fees. Strategy smart contract is deployed using Create2 opcode to make contract address the same on both Mode and Optimism networks
  3. OP Superfest rewards are claimed at Optimism chain, swapped to USDC and sent to Vault on the Mode chain, where converted to MODE and provided to Balancer pool.
background image mobile

Join the mailing list

Get the latest news and updates