Skip to content

Commit

Permalink
Changed the original for and adapted it to support saucerswap v2 cont…
Browse files Browse the repository at this point in the history
…racts and ecosystem

Signed-off-by: Alfredo Gutierrez <[email protected]>
  • Loading branch information
AlfredoG87 committed Mar 1, 2024
1 parent f099552 commit 33df5ee
Show file tree
Hide file tree
Showing 14 changed files with 6,071 additions and 1,875 deletions.
5 changes: 5 additions & 0 deletions subgraphs/saucerswap/v2/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build/
node_modules/
src/types/
.DS_STORE
yarn-error.log
15 changes: 12 additions & 3 deletions subgraphs/saucerswap/v2/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# Uniswap V3 Subgraph
# Saucerswap V2 Subgraph

### Subgraph Endpoint

Synced at: https://thegraph.com/hosted-service/subgraph/ianlapham/uniswap-v3-subgraph?selected=playground
Synced at: https://mainnet-thegraph.swirldslabs.com/subgraphs/name/saucerswap-v2?selected=playground

Pending Changes at same URL
### Transitioning to Saucerswap V2: Key Adjustments

The Saucerswap V2 subgraph is originally a fork of Uniswap v3 subgraph, but with some modifications to support Saucerswap V2.
- All references to ETH and WETH have been replaced with HBAR and WHBAR respectively.
- Token static definitions have been replaced with popular tokens on Hedera and Saucerswap.
- Factory contract address has been updated to Saucerswap V2 factory contract address.
- NFT Manager contract address has been updated to Saucerswap V2 NFT Manager contract address.
- Abis have been updated to Saucerswap V2 abis, since the Saucerswap V2 contracts have different function signatures in some cases. Smart contracts to generate ABI files can be found in their respective repositories.
- NFT Position Manager: https://github.com/saucerswaplabs/saucerswaplabs-v2-periphery
- Factory and Pool: https://github.com/saucerswaplabs/saucerswaplabs-v2-core
Loading

0 comments on commit 33df5ee

Please sign in to comment.