-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed the original for and adapted it to support saucerswap v2 cont…
…racts and ecosystem Signed-off-by: Alfredo Gutierrez <[email protected]>
- Loading branch information
1 parent
f099552
commit 33df5ee
Showing
14 changed files
with
6,071 additions
and
1,875 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
build/ | ||
node_modules/ | ||
src/types/ | ||
.DS_STORE | ||
yarn-error.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.