Query editor
-- OpenBook-era FILLS (autocrat v0 / v0.1 / v0.2) decoded from the OpenBook v2 `FillLog` logs of consume_events transactions, for the-- 41 proposals in proposal_filter, with the pass/fail market, buy/sell side and maker/taker wallets.---- VERIFIED by your probe: solana.transactions.log_messages exists; the 179-byte FillLog (discriminator 9617299498a2d740) appears 1,963 times and its-- sample decodes sensibly (fill 2024-03-29 02:09:06 UTC, maker order placed earlier at 01:26:31, price 5,000,000 lots, quantity 1 lot). Layout:-- 1-8 disc | 9-40 market | 41 taker_side u8 (0 = taker buys, 1 = taker sells) | 42 maker_slot u8 | 43 maker_out bool | 44-51 timestamp u64-- | 52-59 seq_num u64 | 60-91 maker | 92-99 maker_client_order_id u64 | 100-107 maker_fee u64 | 108-115 maker_timestamp u64 | 116-147 taker-- | 148-155 taker_client_order_id u64 | 156-163 taker_fee_ceil u64 | 164-171 price i64 (quote lots per base lot) | 172-179 quantity i64 (base lots)-- Log lines are decoded with try(from_base64(first token)) because some "Program data:" lines are not a single base64 item (that caused the-- "Illegal base64 character 20" error).-- STILL UNVERIFIED:-- * taker_side 0 = buy / 1 = sell (OpenBook v2 Side convention; the order data supports 0 = bid)-- * `maker` / `taker` in the log are OPEN ORDERS accounts. They are mapped to wallets through the wrapper's own order instructions-- (open orders account = account #2, signer = #1). A taker that is not an open orders account (e.g. a take order) falls back to the raw-- address and `taker_is_open_orders_account` is FALSE.-- Verified: lot sizes decoded from create_market on all three of your samples (quote lot = 100 atoms, base lot = 1,000,000,000 atoms).---- Amounts: base_amount_atoms = quantity * base_lot_size, quote_amount_atoms = quantity * price_lots * quote_lot_size (raw token atoms, no decimals applied).-- `is_micro_fill` = a 1-lot fill, which is typically a crank bot's tiny market buy rather than real trading.WITH proposal_filter (proposal_id) AS (VALUES('9RisXkQCFLt7NA29vt5aWatcnU8SkyBgS95HxXhwXhW'),('AkLsnieYpCU2UsSqUNrbMrQNi9bvdnjxx75mZbJns9zi'),('GPT8dFcpHfssMuULYKT9qERPY3heMoxwZHxgKgPw3TYM'),('9ABv3Phb44BNF4VFteSi9qcWEyABdnRqkorNuNtzdh2b'),('CF9QUBS251FnNGZHLJ4WbB2CVRi5BtqJbCqMi47NX1PG'),('HyA2h16uPQBFjezKf77wThNGsEoesUjeQf9rFvfAy4tF'),('US8j6iLf9GkokZbk89Bo1qnGBees5etv5sEfsfvCoZK'),('H59VHchVsy8UVLotZLs7YaFv2FqTH5HAeXc4Y48kxieY'),('E1FJAp8saDU6Da2ccayjLBfA53qbjKRNYvu7QiMAnjQx'),('J7dWFgSSuMg3BNZBAKYp3AD5D2yuaaLUmyKqvxBZgHht'),('Dn638yPirR3e2UNNECpLNJApDhxsjhJTAv9uEd9LBVVT'),('ELwCkHt1U9VBpUFJ7qGoVMatEwLSr1HYj9q9t8JQ1NcU'),('D9pGGmG2rCJ5BXzbDoct7EcQL6F6A57azqYHdpWJL9Cc'),('5qEyKCVyJZMFZSb3yxh6rQjqDYxASiLW7vFuuUTCYnb1'),('BqMrwwZYdpbXNsfpcxxG2DyiQ7uuKB69PznPWZ33GrZW'),('HXohDRKtDcXNKnWysjyjK8S5SvBe76J5o4NdcF4jj963'),('iPzWdGBZiHMT5YhR2m4WtTNbFW3KgExH2dRAsgWydPf'),('BgHv9GutbnsXZLZQHqPL8BbGWwtcaRDWx82aeRMNmJbG'),('9BMRY1HBe61MJoKEd9AAW5iNQyws2vGK6vuL49oR3AzX'),('7AbivixQZTrgnqpmyxW2j1dd4Jyy15K3T2T7MEgfg8DZ'),('J57DcV2yQGiDpSetQHui6Piwjwsbet2ozXVPG77kTvTd'),('53EDms4zPkp4khbwBT3eXWhMALiMwssg7f5zckq22tH5'),('B82Dw1W6cfngH7BRukAyKXvXzP4T2cDsxwKYfxCftoC2'),('Gp3ANMRTdGLPNeMGFUrzVFaodouwJSEXHbg5rFUi9roJ'),('BnfFejPpykmTtM5TyNEySgRCctRizmrZe9Bbe8V1UTon'),('3tApJXw2REQAZZyehiaAnQSdauVNviNbXsuS4inn8PAe'),('CBhieBvzo5miQBrdaM7vALpgNLt4Q5XYCDfNLaE2wXJA'),('AnCu4QFDmoGpebfAM8Aa7kViouAk1JW6LJCJJer6ELBF'),('HREoLZVrY5FHhPgBFXGGc6XAA3hPjZw1UZcahhumFkef'),('vEMYm3RaJjyuxXbD6EasE9wZpFdCNPGZi1VXt5i8cUb'),('4grb3pea8ZSqE3ghx76Fn43Q97mAh64XjgwL9AXaB3Pe'),('7XMU3qTYrXe3yccr4qCLEPvmENGmC22MyMKMX9zJAi9x'),('HmAuSUjYzuEdkGvBe19JxK3pUYKNf4JPCkWY2nCFNYNB'),('GfJhLniJENRzYTrYA9x75JaMc3DcEvoLKijtynx3yRSQ'),('Bzoap95gjbokTaiEqwknccktfNSvkPe4ZbAdcJF1yiEK'),('8PHuBBwqsL9EzNT1PXSs5ZEnTVDCQ6UcvUC4iCgCMynx'),('Dt6QxTtaPz87oEK4m95ztP36wZCXA9LGLrJf1sDYAwxi'),('FG93KeoUdUmBtTcxWhJZicc6ef824qccpFdesbw2RJjM'),