Tempest Finance Docs
  • Introduction
    • Welcome to Tempest
    • Official Links
    • FAQ
    • Audits
    • Tokenomics
  • Concepts
    • Rebalancing Symmetric Strategy
    • LST/LRT Arbitrage Recapture
  • USERS
    • Vaults and Positions
    • Deposit
    • Withdraw
  • DEVELOPERS
    • Deployed Contracts
    • Vault Contract Interface
      • Rebalancing Symmetric Strategy
        • Deposit
        • Withdraw
        • Queries
      • LST/LRT Arbitrage Recapture
        • Deposit
        • Withdraw
        • Queries
Powered by GitBook
On this page
  1. DEVELOPERS
  2. Vault Contract Interface
  3. LST/LRT Arbitrage Recapture

Deposit

PreviousLST/LRT Arbitrage RecaptureNextWithdraw

Last updated 6 months ago

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