Skip to content

Issue 2.3: Implement Soroswap LP Mock/Integration #7

@soomtochukwu

Description

@soomtochukwu

Description:
For the moderate and aggressive portions of a user's savings, the contract will provide liquidity to Stellar-native Automated Market Makers (like Soroswap) to earn higher swap fees.

Requirements:

  • Write a function taking a percentage of the user's deposit to provide liquidity.
  • It must swap half the USDC to the paired asset (e.g., XLM) using the Soroswap Router.
  • It must deposit both assets into the LP and track the LP shares received.

Acceptance Criteria:

  • Contract successfully calculates the precise 50/50 split required for LPs.
  • Contract successfully interacts with the Soroswap AMM router to add liquidity.
  • Protocol accurately maps the received LP shares to the specific user's vault balance.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions