ERC4626Form

Introduction

This is the Form implementation for a standard ERC4626 vault. Denoted as Form ID 1 on all chains Superform is deployed on, it inherits from ERC4626FormImplementation, using its overrides and action internal functions in an unchanged manner. Anybody can add ERC4626 vaults to this Form ID on chains where Superform contracts are deployed.

Core Concepts

This Form overrides the internal action functions of BaseForm which all Forms on Superform must implement and inserts the internal implementations of ERC4626FormImplementation. ERC4626FormImplementation contains the base logic for the main deposit and withdraw internal functions assuming a standard 4626 vault.

Last updated