Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Curve V2] Issue 3: Fee Structure, Incentives, and Oracle Integration #42

Open
polarker opened this issue Nov 16, 2024 · 25 comments
Open
Assignees
Labels

Comments

@polarker
Copy link
Member

Parent issue: #25

Objective:

Implement a flexible fee structure, distribute rewards to liquidity providers, and integrate oracles for accurate pricing of volatile assets.

Description:

This issue focuses on setting up a fee structure that adjusts based on market conditions, distributing collected fees to liquidity providers, and integrating an oracle for real-time pricing of volatile assets.

Tasks:

  1. Develop a flexible fee structure that varies with trading volume and market conditions.
  2. Implement logic to distribute collected fees to liquidity providers based on their share.
  3. Integrate an oracle or other price feed mechanism for real-time asset pricing.
  4. Write tests to ensure accuracy in fee calculations, distributions, and oracle data integration.

Acceptance Criteria:

  • Fee structure adapts dynamically to market conditions.
  • Rewards are distributed accurately to liquidity providers.
  • Oracle integration ensures real-time and accurate pricing of volatile assets.
  • Tests validate the reliability of the fee, incentive, and oracle mechanisms.
@mimisavage
Copy link

Could I take over this issue?

@Akshola00
Copy link

I'd love to work on this!

@Luluameh
Copy link

@polarker Can I be assigned this issue?

@ShantelPeters
Copy link

May I handle this issue?

@JoE11-y
Copy link

JoE11-y commented Nov 21, 2024

Mind if I take this issue?

@Supa-mega
Copy link

Would love to tackle this!

@blessingbytes
Copy link

pls, i would love to tackle this issue.

@kfastov
Copy link
Collaborator

kfastov commented Nov 23, 2024

Hi everyone! Please wait for the issue #40 to be solved, it will provide base contract and boilerplate code 🙏

@abdegenius
Copy link

Mind if I try this one?

@CEOliam
Copy link

CEOliam commented Nov 25, 2024

May I handle this issue?

@aniruddhaaps
Copy link

To address this issue
Dynamic Fee Schedule: That is, with inputs of trading volume and market volatility, implement dynamic fees using a formula or tier-based system for fee adjustments.
Reward Distribution: Calculates and distributes fees to liquidity providers proportionally to the share of their pool while keeping smart contract logic correct.
Oracle Integration: Integrate a reliable oracle such as Chainlink for real-time pricing. fetch and update asset prices either periodically or during transactions to stay updated.
Testing: Develop integrative tests to prove the correctness of fee calculation and proportionate reward rewards, as well as the oracle data correctness for different scenarios.

@anonfedora
Copy link

anonfedora commented Nov 27, 2024

Hi,I'm Eleazar, a fullstack blockchain developer,
I have worked with and integrated oracles in a liquidity check function implementation.

I implemented pragma_lib oracle for that. So I can take on this.

@baitcode
Copy link

May I handle this issue?

@kfastov
Copy link
Collaborator

kfastov commented Nov 29, 2024

@anonfedora Hi! Please check the #47 by @od-hunter for the draft impl of the Curve liquidity pool, feel free to communicate and work together on common topics. See https://docs.alephium.org/dapps/tutorials/quick-start for the guide on creating the new dapp, and https://docs.alephium.org/full-node/getting-started#devnet on running devnet (will be necessary to compile and test contracts). Good luck!

@anonfedora
Copy link

anonfedora commented Nov 29, 2024

Noted, ser

@raduciobanu22
Copy link
Collaborator

Issue open for grabs

@1nonlypiece
Copy link

Can I jump on this task?
I have good knowledge in defi protocols.
ETA:
I estimate completing this task in about less than 1 day. Let me know if I can get started!

@greatest0falltime
Copy link

Let me try this one!
ETA: 1 day

@olisaagbafor
Copy link

Could I be assigned to this?

@Jagadeeshftw
Copy link

Could I try solving this?

@emarc99
Copy link

emarc99 commented Dec 17, 2024

Can I tackle this one?

@vestor-dev
Copy link

Hey @polarker can I have this issue
I'd love to work on this!
kindly assign :)

@hannahredler
Copy link

Hey! Im an engineer with several years experience working in web3, including a couple of years experience working as a software engineer at a DeFi protocol. I'm very familiar with financial products and have previously worked with oracles to get real-time data.

Would love to work on this issue if its available.

@caxtonacollins
Copy link

Can I take care of this issue?

@raduciobanu22
Copy link
Collaborator

Hey! Im an engineer with several years experience working in web3, including a couple of years experience working as a software engineer at a DeFi protocol. I'm very familiar with financial products and have previously worked with oracles to get real-time data.

Would love to work on this issue if its available.

@hannahredler Assigned to you, good luck! If you have any questions we're available in Telegram as well.

@hannahredler
Copy link

Thank you @raduciobanu22 - on it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests