Deposit

Here is the interface of deposit function in LST/LRT Arbitrage Recapture vault

/// @param amount The amount of tokens to deposit
/// @param receiver The address that will receive the shares of the deposit
/// @param merkleProofs The merkle proofs which is used when claiming knocked-out positions. 
///                     If merkleProofs is provided and not empty, the fee of knocked-out positions will be claimed when burning knocked-out position. 
///                     Otherwise, the fee will be ignore. Ref https://docs.ambient.finance/developers/dex-contract-interface/knockout-lp-calls#merkle-proof
/// @return shares The amount of shares minted for the deposited amount
function deposit(
  uint256 amount,
  address receiver,
  bytes memory merkleProofs
) external payable returns (uint256 shares)

More information about Ambient knockout position can be found here https://docs.ambient.finance/developers/dex-contract-interface/knockout-lp-calls#merkle-proof

Last updated