Skip to content

Commit

Permalink
subgraph template
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lima committed Nov 1, 2023
1 parent 7677553 commit 6f53f97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions subgraph.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ schema:
file: ./schema.graphql
dataSources:

{{#erc721}}
{{#ERC721}}
- name: {{name}}
kind: ethereum
network: {{network}}
Expand All @@ -25,9 +25,9 @@ dataSources:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/erc721/index.ts
{{/erc721}}
{{/ERC721}}

{{#erc1155}}
{{#ERC1155}}
- name: {{name}}
kind: ethereum
network: {{network}}
Expand All @@ -51,7 +51,7 @@ dataSources:
- event: TransferBatch(indexed address,indexed address,indexed address,uint256[],uint256[])
handler: handleTransferBatch
file: ./src/erc1155/index.ts
{{/erc1155}}
{{/ERC1155}}

- name: ERC7432
kind: ethereum
Expand Down

0 comments on commit 6f53f97

Please sign in to comment.