Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.08 KB

README.md

File metadata and controls

21 lines (14 loc) · 1.08 KB

Opensea Trader On Polygon

Query opensea seller, buyer and trade transactions;

Warrning: This subgraph may expire at any time

Contracts:

OpenSea ZeroExFeeWrapper: 0xf715beb51ec8f63317d66f491e37e7bb048fcc2d OpenSea Exchange: 0xfede379e48C873C75F3cc0C81F7C784aD730a8F7

Events:

Background:

The correct way to do this is to listen to the setExchange function of the ZeroExFeeWrapper contract, and then create an Exchange object based on the exchange contract address.

But since polygon doesn't support trace log, I can only do that by listening to the Fill event of the current exchange contract;

I guess the exchange contract should have forked 0xProject's ExchangeV3, so I used its abi.