vcdcvcdc / sushiswapedit

0 stars 0 forks source link

Sushiswap Fork changes - ASAP #1

Open vcdcvcdc opened 2 years ago

vcdcvcdc commented 2 years ago

Our token is pegged with USDC on Matic/BSC/ETH networks. We wrote a script so that people can buy with any token through the uniswapv2 router. https://tinyurl.com/yr65rs5n however we need it implemented in the sushiswap UI fork we made.

There's 5 different use cases we can discuss.

Review the code, and let me know if you can assist us in implementation.

Please provide details in your post, such as if you have sushiswap before, and why you would be the best for this task. Vague, short applications will be denied.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 400.0 cUSD (404.0 USD @ $1.01/cUSD) attached to it.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Workers have applied to start work.

These users each claimed they can complete the work by 265 years, 2 months from now. Please review their action plans below:

1) meetmangukiya has applied to start work _(Funders only: approve worker | reject worker)_.

If I understand correctly, we want to create our own uniswap-like router that will only have one liquidity pool of VIRAL-USDC. And using this one pool as bridge, we will expand the pool to all pools that are available on uniswap or any compatible contract.

So if source token is VIRAL, we use our router to swap it for USDC, then use the uniswap-like router to swap it out for whatever the user wants. Reversely, if user wants to swap some arbitrary token to VIRAL, first swap it out for USDC with uniswap-like router, then use our router to swap it for VIRAL.

I believe we will have to add some conditional on source / destination tokens in the swap page and accordingly change what happens, i.e. replace our code in when VIRAL is involved, else, just continue using whatever is already there. Patch out small subsection of cases when VIRAL is involved.

Is there anything else we want to do? Do we want to strip out all other products than swap for example, etc. And if I have misunderstood, maybe point out what was missed?

Learn more on the Gitcoin Issue Details page.