EigenLayer Vault
This section is going to guide you through the creation of a Single Protocol vault on top of EigenLayer using the Byzantine factory.
Two types of vaults are supported: one for ERC20 tokens and one for native ETH :
To create these vaults, the only thing you need to do is call the associated functions form the Factory, and provide the desired parameters :
createEigenByzVault (ERC20 version)
Description: Creates a new EigenByzVault that accepts an ERC20 deposit token.
Parameters:
ByzVaultParams _byzVaultParams
: Configuration for the vault, including token type, fee settings, role assignments, and deposit logic. See theByzVaultParams
documentation.EigenParams _eigenParams
: Configuration for delegation on EigenLayer. See theEigenParams
documentation.
Returns:
address eigenByzVault
: The deployed address of the new ERC20-compatible EigenByzVault.
createEigenByzVault (Native ETH version)
Description: Creates a new EigenByzVault that accepts native ETH for restaking via EigenLayer.
Parameters:
NativeByzVaultParams _nativeByzVaultParams
: Configuration for the native vault variant. Includes validator node identity and optional validator manager for Solo Staker Vaults.EigenParams _eigenParams
: EigenLayer delegation settings. SeeEigenParams
.EigenPodParams _eigenPodParams
: Optional metadata for the associated EigenPod, such as checkpoint authority and proof submitter. SeeEigenPodParams
.
Returns:
address eigenByzVault
: The deployed address of the new native ETH-compatible EigenByzVault.
If you want a complete process on how to fill these parameters, go to the underlying sections.
Last updated