-
Notifications
You must be signed in to change notification settings - Fork 13
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
Proposal: integrate Symmetric finance DEX #6
Comments
Integrating Symmetric would be fantastic. I have just been too lazy to parse out all their contract intricacies to implement it. Example: Pool has tokens: A, B, C, you will create Pairs of A/B, A/C, B/C but all of them with the same PairKey which is generally address of the pool itself. |
I think will start with a simple version that only deal with dual-token pool, just to get the arbs started. The multi-token pool is more complicated, that same pool can be re-used in the swap path entering and exiting as different pairs though right? |
okay i think i know what you mean, will take a stab at it |
They have decent offline javascript calculations already: |
They dont have on-chain registry yet, their UI uses a static json i think: |
GraphQL to get all their pools:
https://thegraph.com/hosted-service/subgraph/centfinance/cent-swap-celo |
Deployed the Symmetric BRegistry @ https://explorer.celo.org/address/0x3E30b138ecc85cD89210e1A19a8603544A917372/contracts |
This is a pretty good GraphQL to run:
|
Their exchange interface:
https://github.com/centfinance/Symmetric.Core/blob/develop/contracts/proxies/ExchangeProxy.sol#L20-L28
There's about anywhere between 100 to 300 celo daily of uncontested arb profit on Symmetric right now.
Would like to implement Symmetric Pair and add it as a DEX liquidity source.
The text was updated successfully, but these errors were encountered: