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

Seer - create liquidity pool #497

Open
gabrielfior opened this issue Oct 14, 2024 · 2 comments
Open

Seer - create liquidity pool #497

gabrielfior opened this issue Oct 14, 2024 · 2 comments
Labels

Comments

@gabrielfior
Copy link
Contributor

After market is created using MarketFactory, we should create an uni-v3-like liquidity pool (ERC20 outcome token x collateral, normally sDAI).

  • Create functions for creating a new pool with erc20/collateral tokens in Uniswap v3 (due to higher liquidity than Swapr)
  • Add new contract (UniswapV3Pool) to PMAT (note that we will not buy/sell directly on Univ3 but rather through cow, so refrain from writing methods to swap here)
@greenlucid
Copy link
Contributor

But, Uniswap v3 is not available in Gnosis Chain, is it? Which might be why Seer is using Swapr.
Also I was told that Cow indexes only tokens with >100_000 units in total balance, and that caused issues with Seer in small markets (which made Seer not have an Order Book mplemented and just rely on AMM)
Can @xyzseer provide more context?
I think none of this was an issue before because Omen has its own AMM contracts

@xyzseer
Copy link

xyzseer commented Oct 24, 2024

afaik there's a uniswap deployment on gnosis but it's not officially integrated on the frontend (see Uniswap/sdk-core#89)

what green mentions about the 100k limit is also true, for example this market https://seer.pm/#/markets/100/0x43d881f5920ed29fc5cd4917d6817496abbba6d9 has two tokens

  • HARRIS2024 (0x68984a7d283ff918e530368e6aaad1fc2af88692) has a swapr pool with 140k and can be traded on cowswap
  • TRUMP2024 (0x6b8c2ae8dba895620475259e95377fde08fbf02a) has a pool with 53k and cowswap says this token is unsupported

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

3 participants