holaplex / indexer

Index Solana data using a Geyser plugin (downstream service cluster)
https://holaplex.com
GNU Affero General Public License v3.0
160 stars 37 forks source link

Add Magic Eden Execute Sale V2 Instruction Indexing #974

Closed kespinola closed 1 year ago

kespinola commented 1 year ago

Goal

Add instruction discriminator for ME execute sale v2 to magic_eden_haus instruction indexing.

Example TX:

https://solscan.io/tx/2Ws3ZdNg7Pz5gXNh5oV8wo2v8VBLrMT15bb1QJy4jZSCWDW2dCW2sqLbBb9LkSpmeKAcdSuJEip7e4tMSC1Vnbw3

Example TX 2:

https://solscan.io/tx/5SP4h9sDD744qJJNxH1Bpjff1nd1pHDBoFhLydDPYCqm1MitYZduF6g5v16t4cWXgLSQZ6wW7nxy882218VCvS2F

kespinola commented 1 year ago

confirmed we do index v2 of me already.

https://github.com/holaplex/indexer/blob/dev/crates/geyser-consumer/src/handler/programs/magic_eden_haus.rs#L31

kespinola commented 1 year ago

Reopening because indexer does the non-Mip version of the instruction.

kespinola commented 1 year ago

https://github.com/holaplex/indexer/pull/984