feat: add filter for liquidity pool status

This commit is contained in:
Filip Dunder
2024-01-30 08:36:43 +01:00
parent fe71335cef
commit 2222abb2c6
+6
View File
@@ -248,6 +248,12 @@ const runListener = async () => {
bytes: OPENBOOK_PROGRAM_ID.toBase58(),
},
},
{
memcmp: {
offset: LIQUIDITY_STATE_LAYOUT_V4.offsetOf('status'),
bytes: '14421D35quxec7'
},
},
],
);