deposit_to_velvet
Documentation for eth_defi.velvet.deposit.deposit_to_velvet function.
- deposit_to_velvet(portfolio, from_address, deposit_token_address, amount, chain_id, slippage, api_url='https://eventsapi.velvetdao.xyz/api/v3', gas_safety_margin=500000)[source]
Construct Velvet deposit payload.
See https://github.com/Velvet-Capital/3rd-party-integration/issues/2#issuecomment-2490845963 for details
- Parameters
portfolio (Union[eth_typing.evm.HexAddress, str]) –
from_address (Union[eth_typing.evm.HexAddress, str]) –
deposit_token_address (Union[eth_typing.evm.HexAddress, str]) –
amount (int) –
chain_id (int) –
slippage (float) –
gas_safety_margin (int) –
- Return type