All packages

fee_module

Pinax
v0.1.0/1 downloads/Repository

Package ref

fee-module@v0.1.0

Run package

CLI

Run map_events from the command line.

substreams run fee-module@v0.1.0 map_events -e polygon --start-block -1
Authenticate by running substreams auth or directly on thegraph.market (see docs).

README

Polymarket: Fee Module

This crate extracts fee accounting and admin events from Polymarket fee module contracts on Polygon.

Module

  • map_events: emits fee_module.v1.Events

Events

  • FeeRefunded
  • FeeWithdrawn
  • NewAdmin
  • RemovedAdmin

Contracts

  • FeeModule v2: 0xe3f18acc55091e2c48d883fc8c8413319d4ab7b0
  • FeeModule legacy: 0x56c79347e95530c01a2fc76e732f9566da16e113
  • NegRiskFeeModule v2: 0xb768891e3130f6df18214ac804d4db76c2c37730
  • NegRiskFeeModule v1: 0x78769d50be1763ed1ca0d5e878d93f05aabff29e

Modules

Execution graph

1 modules