Skip to content

Commit

Permalink
Added missing files and improved some other files
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Gutierrez <[email protected]>
  • Loading branch information
AlfredoG87 committed Mar 1, 2024
1 parent 33df5ee commit 0a2181c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
6 changes: 6 additions & 0 deletions subgraphs/saucerswap/v2/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["plugin:@typescript-eslint/recommended", "prettier", "prettier/@typescript-eslint"]
}

2 changes: 1 addition & 1 deletion subgraphs/saucerswap/v2/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build/
node_modules/
src/types/
.DS_STORE
yarn-error.log
yarn-error.log
6 changes: 6 additions & 0 deletions subgraphs/saucerswap/v2/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"semi": false,
"singleQuote": true,
"printWidth": 120
}

15 changes: 7 additions & 8 deletions subgraphs/saucerswap/v2/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ schema:
file: ./schema.graphql
features:
- nonFatalErrors
- grafting
graft:
base: QmSbSQfqGc74us3HuEdyZmktsg4eLmpwrSePvZaU1NgcgB
block: 56520780
# Grafting is useful when you want to start a new subgraph from a specific block in the past of an existing subgraph indexed data, this is useful for quick fixes without having to re-index everything from scratch.
# - grafting
# graft:
# base: QmSbSQfqGc74us3HuEdyZmktsg4eLmpwrSePvZaU1NgcgB
# block: 56520780
dataSources:
- kind: ethereum/contract
name: Factory
network: mainnet
source:
address: '0x00000000000000000000000000000000003c3951'
abi: Factory
#startBlock: 55651154
abi: Factory
startBlock: 55651154
mapping:
kind: ethereum/events
Expand Down Expand Up @@ -45,8 +45,7 @@ dataSources:
network: mainnet
source:
address: '0x00000000000000000000000000000000003ddbb9'
abi: NonfungiblePositionManager
# startBlock: 56514876
abi: NonfungiblePositionManager
startBlock: 56514876
mapping:
kind: ethereum/events
Expand Down

0 comments on commit 0a2181c

Please sign in to comment.