1delta API

Warning

Unsupported: 1delta integration, built on Aave v3, is no longer maintained or tested. A reintegration with Aave v4 will happen in the future.

This is Python documentation for high-level 1delta protocol APIs.

Functionality includes:

  • Opening and closing short positions, utilizing Aave v3 lending pool.

  • Supply and withdraw collateral to/from Aave v3 lending pool.

Getting started

eth_defi.one_delta.constants

1delta constants.

eth_defi.one_delta.deployment

1delta deployments.

eth_defi.one_delta.position

1delta integration position handlers.

eth_defi.one_delta.price

1delta price calculations.

eth_defi.one_delta.lending

1delta proxy functions to interact with lending pool.

eth_defi.one_delta.utils

1delta helper functions.