Migrate off the deprecated bitcoincash 0.29 API (Amount/Version types, FromHex -> FromStr/parse, non-exhaustive Network) across the indexer and tests. Add indexing of native token-A <-> token-B (TokenToken) AMM pools: - tokentoken_pool / tokentoken_pool_history_entry tables in cauldron.db, created via an always-run idempotent migration (no DB_VERSION bump, so existing databases upgrade in place) - block-path indexing sharing the cauldron write transaction and reorg undo, with creation/swap/withdrawal state tracking and reserve deltas - mempool indexing: electrum mempool.get filters on the tokentoken contract code (spends) and the CONJURE op_return hint (creations); first_seen_timestamp reconciles with mtp on confirmation - RPC endpoints /tokentoken/pool/active (pair lookup, order-insensitive) and /tokentoken/tokens Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apy | ||
| bcmr.rs | ||
| candlesticks.rs | ||
| contract.rs | ||
| err.rs | ||
| health.rs | ||
| mod.rs | ||
| moria.rs | ||
| oracle.rs | ||
| pool.rs | ||
| price.rs | ||
| response.rs | ||
| tokens.rs | ||
| tokentoken.rs | ||
| tvl.rs | ||
| tx.rs | ||
| user.rs | ||
| volume.rs | ||