beepbewp Open explorer

Start here ·

Quickstart

The preview explorer shows the shape of the data with illustrative figures. The HTTP API behind it mirrors the planned on-chain feed:

GET /api/pools            # tracked pools with current depth
GET /api/depth?pool=p01   # 24h series for one pool
GET /api/stats            # aggregate

On-chain, the intended interface is a single view call, latestDepth(bytes32 poolId), returning (uint256 depthDown1, uint256 depthUp1, uint64 asOfBlock) in USD with 6 decimals. Pool ids would be keccak256(chainId, poolAddress).

(uint256 down, uint256 up, uint64 asOf) = IDepthFeed(FEED).latestDepth(poolId);
require(block.number - asOf < 30, "stale");

The design target is an update whenever depth moves by more than 3%, or every 150 blocks, whichever comes first. No feed contract is deployed yet; addresses will appear on the feed contracts page when they exist.