nuthatch data model
Every .eth registration and renewal on Ethereum mainnet: the ENS v1 ETHRegistrarController (0x2535...303b, full history from block 16,925,618, March 2023, registrations until block 26,281,976 on 2026-10-27) and the ENS v2 ETHRegistrar (0xD6D8...CC81, from block 26,183,999). Query the `registrations` view for both together. Prices are in wei or token units; v2 pays in USDC.
COVERAGE
sealed_through = 26494018 (rows at or below this block are sealed Parquet);
tip = 26495675 - the `sql` tool reads both the sealed rows and the live tip above them.
first_indexed = 16925618 - no block before it is in this nest.
TABLES (one per contract event; query via the `sql` tool)
ethregistrar__commitment_made - `CommitmentMade(bytes32)` events emitted by the `ethregistrar` contract. (seeded from the ABI - edit semantic.toml to improve this)
grain: one row per CommitmentMade(bytes32) event
columns: commitment (bytes32)
ethregistrar__name_registered - `NameRegistered(uint256,string,address,address,address,uint64,address,bytes32,uint256,uint256)` events emitted by the `ethregistrar` contract. (seeded from the ABI - edit semantic.toml to improve this)
grain: one row per NameRegistered(uint256,string,address,address,address,uint64,address,bytes32,uint256,uint256) event
columns: tokenId (uint256), label (string), owner (address), subregistry (address), resolver (address), duration (uint64), paymentToken (address), referrer (bytes32), base (uint256), premium (uint256)
⚠ big-int columns (exact text; SUM/AVG of `_dec` is the values that fit, and WHERE NOT
_overflow is that same sum): tokenId → tokenId_dec, base → base_dec, premium → premium_dec
⚠ wide columns (>128-bit) whose `_dec` is NULL above 38 digits. A sum of `_dec` is the values that fit; WHERE NOT _overflow is that same sum. Ids, nonces and hashes stay on the raw column: tokenId, base, premium
ethregistrar__name_renewed - `NameRenewed(uint256,string,uint64,uint64,address,bytes32,uint256)` events emitted by the `ethregistrar` contract. (seeded from the ABI - edit semantic.toml to improve this)
grain: one row per NameRenewed(uint256,string,uint64,uint64,address,bytes32,uint256) event
columns: tokenId (uint256), label (string), duration (uint64), newExpiry (uint64), paymentToken (address), referrer (bytes32), amount (uint256)
⚠ big-int columns (exact text; SUM/AVG of `_dec` is the values that fit, and WHERE NOT _overflow is that same sum): tokenId → tokenId_dec, amount → amount_dec
⚠ wide columns (>128-bit) whose `_dec` is NULL above 38 digits. A sum of `_dec` is the values that fit; WHERE NOT _overflow is that same sum. Ids, nonces and hashes stay on the raw column: tokenId, amount
ethregistrar__ownership_transferred - `OwnershipTransferred(address,address)` events emitted by the `ethregistrar` contract. (seeded from the ABI - edit semantic.toml to improve this)
grain: one row per OwnershipTransferred(address,address) event
columns: previousOwner (address), newOwner (address)
ethregistrar__rent_price_oracle_updated - `RentPriceOracleUpdated(address)` events emitted by the `ethregistrar` contract. (seeded from the ABI - edit semantic.toml to improve this)
grain: one row per RentPriceOracleUpdated(address) event
columns: oracle (address)
ethregistrar_controller__name_registered - `NameRegistered(string,bytes32,address,uint256,uint256,uint256)` events emitted by the `ethregistrar_controller` contract. (seeded from the ABI - edit semantic.toml to improve this)
grain: one row per NameRegistered(string,bytes32,address,uint256,uint256,uint256) event
columns: name (string), label (bytes32), owner (address), baseCost (uint256), premium (uint256), expires (uint256)
⚠ big-int columns (exact text; SUM/AVG of `_dec` is the values that fit, and WHERE NOT _overflow is that same sum): baseCost → baseCost_dec, premium → premium_dec, expires → expires_dec
⚠ wide columns (>128-bit) whose `_dec` is NULL above 38 digits. A sum of `_dec` is the values that fit; WHERE NOT _overflow is that same sum. Ids, nonces and hashes stay on the raw column: baseCost, premium, expires
ethregistrar_controller__name_renewed - `NameRenewed(string,bytes32,uint256,uint256)` events emitted by the `ethregistrar_controller` contract. (seeded from the ABI - edit semantic.toml to improve this)
grain: one row per NameRenewed(string,bytes32,uint256,uint256) event
columns: name (string), label (bytes32), cost (uint256), expires (uint256)
⚠ big-int columns (exact text; SUM/AVG of `_dec` is the values that fit, and WHERE NOT _overflow is that same sum): cost → cost_dec, expires → expires_dec
⚠ wide columns (>128-bit) whose `_dec` is NULL above 38 digits. A sum of `_dec` is the values that fit; WHERE NOT _overflow is that same sum. Ids, nonces and hashes stay on the raw column: cost, expires
ethregistrar_controller__ownership_transferred - `OwnershipTransferred(address,address)` events emitted by the `ethregistrar_controller` contract. (seeded from the ABI - edit semantic.toml to improve this)
grain: one row per OwnershipTransferred(address,address) event
columns: previousOwner (address), newOwner (address)
FACTORIES (RFC-0009; only in a nest with templates/factories)
Children of a template share tables (`pool__swap`, …), distinguished by the `address` column. Each
template has a `{template}__children` view: which children were discovered, when, by which parent.