All packages

polymarket-neg-risk-adapter

colindickson
This is not the latest version — go to v0.12.0
v0.11.0/6 downloads/Repository

Package ref

polymarket-neg-risk-adapter@v0.11.0

Run package

CLI

Run map_market_events from the command line.

substreams run polymarket-neg-risk-adapter@v0.11.0 map_market_events -e polygon --start-block -1
Authenticate by running substreams auth or directly on thegraph.market (see docs).

Modules

Execution graph

6 modules
Show 2 dependencies
map

eth_common:all_events

`all_events` gives you all the events in a block (from successful transactions), with basic block hash/number/timestamp and transaction hash

Output

sf.substreams.ethereum.v1.Events

blockIndex

eth_common:index_events

`index_events` sets the following keys on the block: * Event signatures evt_sig:0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef (signature in hex, prefixed by 0x) * Event address evt_addr:0x0123456789abcdef0123456789abcdef01234567 (address in hex, prefixed by 0x)

Output

sf.substreams.index.v1.Keys