deposit_usdc_from_lagoon_safe_into_lighter
Documentation for eth_defi.lighter.lagoon.deposit_usdc_from_lagoon_safe_into_lighter function.
- deposit_usdc_from_lagoon_safe_into_lighter(web3, hot_wallet, vault, usdc, deposit_usdc)
Approve and deposit USDC from a Lagoon Safe into Lighter.
- Parameters
web3 (web3.main.Web3) – Web3 connection.
hot_wallet (eth_defi.hotwallet.HotWallet) – Asset-manager wallet.
vault (eth_defi.erc_4626.vault_protocol.lagoon.vault.LagoonVault) – Lagoon vault.
usdc (eth_defi.token.TokenDetails) – USDC token details.
deposit_usdc (decimal.Decimal) – Human-readable USDC amount.
- Return type
None