Giter VIP home page Giter VIP logo

721-marketplace's Introduction

NFT Sales

Made by Data Nexus & Ahmad Merdeni under MIT License

Subgraph to index all 721 NFT transfers, then attempt to match NFT Marketplace's sale events to the transfer.

API Documentation

The intent is that we can graft new marketplace contracts to include sale events as their contracts are deployed and mapped.

Key Assumption made in this logic is that every marketplace calls an NFT contract's transfer event BEFORE they emit their sale event (OrdersMatched, TakerBid, TakerAsk etc.). Upon the contracts transfer event, we handleTransfer, then upon the marketplace's sale event we handleSale (which updates the transfer entity).

TODO:

Listen to EvInventory anonymous event for X2Y2 pricing

Inspect SeaPort to dynamically index all marketplaces deriving from SeaPort contracts.

Inspect thirdweb NFT Factory contract to dynamically index all sales from marketplaces deriving from thirdweb - pending meeting with thirdweb team.

Update decimal eponentiation in mappings should a sale occur in an ERC20 that is not 18 decimals.

Inspect Coinbase NFT Marketplace transactions to include into sale entities.

OpenSea

Various Transaction Type examples:

Opensea Transaction

Opensea Bundle

Opensea APE Purchase

LooksRare:

Various Transaction Type examples:

TakerBid

TakerAsk

Gem.xyz

Interesting sweep transactions with cross platform sales noting to ensure it indexes as intended.

multicontract transaction

multicontract transaction

Contracts

OpenSea v1 - 0x7be8076f4ea4a4ad08075c2508e481d6c946d12b (start block 5774644)

Opensea V2 - 0x7f268357a8c2552623316e2562d90e642bb538e5 (start block 14120913)

LooksRare - 0x59728544B08AB483533076417FbBB2fD0B17CE3a (start block 13885625)

X2Y2 - 0x74312363e45dcaba76c59ec49a7aa8a65a67eed3 (start block 14139150)

721-marketplace's People

Contributors

data-nexus avatar ahmadmardeni1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.