All packages

polymarket-wallet-factory
colindickson
Package ref
polymarket-wallet-factory@v0.12.0Run package
CLI
Run map_factory_events from the command line.
substreams run polymarket-wallet-factory@v0.12.0 map_factory_events -e polygon --start-block -1Authenticate by running
substreams auth or directly on thegraph.market (see docs).README
Polymarket Wallet Factory Substreams Package
Substreams package for extracting events from the Polymarket DepositWalletFactory contract on Polygon.
Contract Information
- Address:
0x00000000000Fb5C9ADea0298D729A0CB3823Cc07 - Network: Polygon
- Initial Block: 84902000
- Explorer: View on Polygonscan
Available Modules
| Module | Description | Output Type |
|---|---|---|
map_factory_events | Extracts wallet-factory events | proto:polymarket.wallet_factory.v1.FactoryEvents |
Quick Start
Build the WASM binary:
make build-wallet-factory
# or
cd polymarket-wallet-factory && substreams build
Create the Substreams package:
cd polymarket-wallet-factory && substreams pack
Run the Substreams:
substreams run substreams.yaml map_factory_events \
--network polygon \
--start-block 84902000 \
--stop-block +10000
Event Types
The package extracts the following events:
Factory Events
WalletDeployed- A deposit wallet was deployed (wallet,owner,id,implementation)ImplementationAuthorized- A wallet implementation was authorized
Dependencies
substreams: ^0.7substreams-ethereum: ^0.11ethabi: ^18
Binary Output
Build artifacts: target/wasm32-unknown-unknown/release/polymarket_wallet_factory.wasm
Modules
Execution graph
Show 2 dependencies
Output
sf.substreams.ethereum.v1.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
Inputs
