Deposit to Native Vaults
This section explains how to deposit native ETH into any Byzantine vault that accepts native ETH, such as native SymByzVaults or EigenByzVaults.
Step-by-Step Process
1. Send ETH and Call deposit()
deposit()
Use the following function to deposit native ETH:
assets
: must matchmsg.value
and represents the amount of native ETH to deposit.receiver
: the address that will receive the newly minted vault shares.
The function returns the number of shares minted to the receiver in exchange for the ETH sent.
2. Important Considerations
The
msg.value
must match theamount
parameter passed to the function.As with ERC20 vaults, permissioned access and deposit limits are enforced.
Shares are minted using the same internal calculation method as ERC20 vaults.
Last updated