Cross Protocol Vault
Last updated
Last updated
This guide explains the curator-specific functionality of the SuperERC20Vault, which is a vault that splits deposits between Symbiotic and EigenLayer protocols. For information about curating the underlying vaults (Symbiotic and EigenLayer), please refer to their respective documentation sections.
The SuperERC20Vault has two main curator roles:
CURATOR_ROLE
: Allows managing the vault's asset distribution and rebalancing
CURATOR_FEE_CLAIMER_ROLE
: Allows claiming curator fees from both underlying vaults
The curator can adjust the distribution ratio between Symbiotic and EigenLayer vaults through a two-step rebalancing process:
Initiate Rebalancing
_newSymRatio
: New target percentage (0-10000) to allocate to Symbiotic vault
Only callable by addresses with CURATOR_ROLE
Initiates withdrawals from both underlying vaults
Puts the vault in rebalancing mode
During rebalancing:
New deposits are accepted but held in the SuperVault
Withdrawals are tracked but not processed from underlying vaults
Assets will be distributed according to new ratio once rebalancing completes
Complete Rebalancing
Only callable by addresses with CURATOR_ROLE
Can only be called when rebalancing is in progress
Completes the rebalancing process by:
Completing withdrawals from both underlying vaults
Depositing assets into vaults according to new ratio
Reserving assets for pending withdrawals
Exiting rebalancing mode
Only callable by addresses with CURATOR_FEE_CLAIMER_ROLE
Claims curator fees from both underlying vaults:
Symbiotic vault fees
EigenLayer vault fees
token
: The token to claim fees for
recipient
: Address to receive the claimed fees
Returns current distribution ratio between Symbiotic and EigenLayer vaults
Values are in basis points (0-10000)
Returns current rebalancing status
isRebalancing
: Whether vault is currently rebalancing
targetSymRatio
: Target Symbiotic ratio after rebalancing (0 if not rebalancing)
The SuperVault manages the underlying vaults as private vaults, meaning only the SuperVault can deposit into them.
During rebalancing:
New deposits are accepted but temporarily held
Withdrawals are tracked but fulfilled after rebalancing completes
Assets for pending withdrawals are reserved before reinvesting
The curator fee structure is inherited from the underlying vaults, but the SuperVault acts as the fee claimer for both.
For information about curating the underlying Symbiotic and EigenLayer vaults, please refer to their respective documentation sections.