supply

Documentation for eth_defi.one_delta.lending.supply function.

supply(one_delta_deployment, *, token, amount, wallet_address)[source]

Supply collateral to Aave

Parameters
  • one_delta_deployment (eth_defi.one_delta.deployment.OneDeltaDeployment) – 1delta deployment

  • token (web3.contract.contract.Contract) – collateral token contract proxy

  • collateral_amount – amount of collateral to be supplied

  • wallet_address (str) – wallet address of the user

  • amount (int) –

Returns

multicall contract function to supply collateral

Return type

web3.contract.contract.ContractFunction