Skip to content

Uniswap V3 LP mini-app #77

Description

@gabmontes

It is a problem today in DeFi that one cannot easily take a Uniswap V3 LP position, and deposit it into a lending platform or staking gadget. With Sushi or Uni-V2, the LP position is an ERC-20, which is trivially listed on a lending platform like Rari Fuse and used as collateral. Someone needs to do this with Uni-V3.

Uniswap provides staking contracts: https://docs.uniswap.org/protocol/reference/periphery/staker/UniswapV3Staker. However, there is no generalized factory which enables easy creation of ERC-20 LP tokens from arbitrary V3 LP positions.

Specification

  • User may create ERC-20 LP token using factory. UI: input 2 tokens, a couple LP position datum, and click "create".
  • User may list ERC-20 LP tokens created by factory.
  • User may deposit, withdraw token0 + token1 into LP token created by the factory.
  • User may claim fees based on the LP tokens they hold.

Thus: Factory creates LP token contracts. Each LP token is associated with a single Uniswap-V3 pair and position information (price curve/limit).

Metadata

Metadata

Assignees

No one assigned

    Labels

    mini-appThis is a request/spec of a new mini-app

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions