ERC-4626 RESOURCES
Explore relevant resources
SuperVaults: ERC4626 Adapters
Repository contains different types of ERC4626 adapters/wrappers for non-standardized DeFi Vaults. We follow yield-daddy implementation for some AAVE & Compound forked protocols, adding reward harvesting, but we also provide a set of original adapters over protocols like Arrakis, Lido, Uniswap or Compound-V3.
ERC4626 OpenZeppelin Contracts
The documentation for base implementation of ERC4626 that includes a simple vault. This contract is designed in a way that allows developers to easily re-configure the vault’s behavior, with minimal overrides, while staying compliant.
Modern and Gas-Efficient ERC-4626 Tokenized Vault Vyper Implementation
Example implements the ERC-4626 standard interface plus extra functions added for convenience (permit, nonces, DOMAIN_SEPARATOR). The `permit` function implements approvals via EIP-712 secp256k1 signatures
Yearn Starter Kit for V2 Vaults
Starter Kit for integrating V2 yearn vaults and ERC4626 vaults. Includes: basic example Solidity Smart Contracts for integrating with Yearn Vaults (Both V2 and ERC4626 interfaces); ERC4626 adapter to wrap yearn vaults; example contracts & sample test suite (tests)
Rolling Liquidity Vault (RLV)
Rolling Liquidity Vault: an ERC4626 compliant vault, passive liquidity vault built atop Sense Space Pools. Repo includes ERC4626 compliant vault that automatically migrates Sense Space pool liquidity from a matured series to a new series, thereby creating a passive LP experience.
ERC4626 Property Tests
Tests for the developers & vault integrators to detect potential standard violations in contract implementations before deployment & check if the given vaults follow the standard before the integration. The properties can also be tested against the live vaults already deployed on the mainnet, via mainnet fork testing.
- 4626 Extension for Voting
- 4626 Vyper Implementation
- Cairo 4626 Implementation
- Early 4626 YFI Implementation
- ERC4626 Token Tests (JS)
- FEI 4626 Implementation
- Pre-built security properties for common Ethereum operations
- Rari Solmate 4626
- Revenue Distribution Token Implementation
- Superform Experimental 4626 Repo
- Yield Daddy gas-optimized ERC4626
Learn by watching
ERC-4626 Standard
ERC-4626
is a technical standard that aims to streamline and harmonize the specifications of yield-bearing vaults.
It introduces a standardized API for tokenized yield-bearing vaults that correspond to fractional ownership of a specific ERC-20
token.
Additionally, ERC-4626
presents an optional addendum for tokenized vaults that employ ERC-20
, which provides fundamental capabilities for depositing, withdrawing, and tracking token balances.
Tweets about EIP-4626
The ERC-4626 Tokenized Vault Standard is ready for final review 😎
— Joey 💚’s ERC-4626 (@joey__santoro)January 12, 2022
Get your giga chad brains churning on how this standard will revolutionize DeFi 🧠
Be sure to share any proposed changes on the thread:https://t.co/ArchwpUNn4
Here is a summary of the proposed design 👇You’ve heard of ERC-20s, ERC-721s and ERC-1155s
— yearn (@iearnfinance)April 5, 2022
Soon you shall know ERC-4626s
The Tokenized Vault Standard (ERC-4626) is final. And the Great Vault Standardization begins now
tl;dr 👇ERC-4626 will be a huge game changer and 99% of#DeFifolks are sleeping on it. 🧐
— 0xSassun (@0xSassun)May 6, 2022
In short ERC-4626 is a Tokenized Vault Standard.
Let's dive into it👇