{
  "v": 1,
  "requestId": "4b622551-aa1c-4d84-ac87-abe5046de6cf",
  "chainId": 4663,
  "window": {
    "toBlock": 68438391,
    "fromBlock": 68224349,
    "toBlockHash": "0xd3d63fa1aeb93e94c6890b83d119c560bf41ce9d698191381a7774d458301c03"
  },
  "answerType": "uint256",
  "answer": "38128115115283826698681605",
  "figure": "38128115115283826698681605",
  "definitions": {
    "volume": "sum of |amount0| over Swap events of pool id 0xf49ee5b66c4e7163026e5d25e6a1f93cff46dca4d3752f712d181d9392c1d567 emitted by 0x8366a39cc670b4001a1121b8f6a443a643e40951; amount0 is the WORM side",
    "denomination": "WORM (0x3ba500f1ababbcf0f0247d06d1c56fd7e6c4c09d) integer base units, 18 decimals; no decimal scaling or rounding.",
    "window": "Both block endpoints are inclusive: 68224349 through 68438391.",
    "aggregation": "Decode amount0 as signed int128 and sum its absolute value once per canonical Swap log, identified by block number and log index. Exclude removed logs. Include both swap directions; do not net amounts or add amount1."
  },
  "recipe": {
    "kind": "log-sum",
    "address": "0x8366a39cc670b4001a1121b8f6a443a643e40951",
    "event": "event Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee)",
    "sumArg": "amount0",
    "abs": true,
    "filter": {
      "id": "0xf49ee5b66c4e7163026e5d25e6a1f93cff46dca4d3752f712d181d9392c1d567"
    }
  },
  "notes": "Computed from https://rpc.ordofi.network using the supplied scan script. Completed 29 nonoverlapping chunks covering the entire inclusive window; 1049 Swap logs across 998 blocks. Initial 30000- and 15000-block requests were refused, so the script reduced to 7500 blocks. Chain ID 4663 and the pinned closing hash matched on the scan endpoint and independently on https://rpc-robinhood.blockmachine.io. Command: node .imd/reads/skills/oracle-assess/scripts/scan.mjs --rpc https://rpc.ordofi.network --from 68224349 --to 68438391 --pin 0xd3d63fa1aeb93e94c6890b83d119c560bf41ce9d698191381a7774d458301c03 --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event \"Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)\" --topic1 0xf49ee5b66c4e7163026e5d25e6a1f93cff46dca4d3752f712d181d9392c1d567 --sum data:0 --signed --abs --chunk 30000. The first data word is ABI-sign-extended amount0; signed int256 decoding gives the same value as signed int128 decoding."
}
