Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit deb19f0

Browse files
committed
docs: Document topic0
1 parent 317ed36 commit deb19f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/subgraph-manifest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ The `mapping` field may be one of the following supported mapping manifests:
6464
| --- | --- | --- |
6565
| **event** | *String* | An identifier for an event that will be handled in the mapping script. For Ethereum contracts, this must be the full event signature to distinguish from events that may share the same name. No alias types can be used. For example, uint will not work, uint256 must be used.|
6666
| **handler** | *String* | The name of an exported function in the mapping script that should handle the specified event. |
67+
| **topic0** | optional *String* | A `0x` prefixed hex string. If provided, logs whose topic 0 is equal to this value will be processed by the given handler. By default, this is equal to the hash of the event signature. This is useful for processing solidity anonymous events. |
6768

6869
## 1.6 Path
6970
A path has one field `path`, which either refers to a path of a file on the local dev machine or an [IPLD link](https://github.com/ipld/specs/).

0 commit comments

Comments
 (0)