Background
ERC-3668 (CCIP Read / OffchainLookup) is used by ENS for off-chain data resolution. Nick Johnson authored it. The pattern lets contracts revert with a special error that tells the client to fetch data from an off-chain source, then call back with the result. Its elegant and increasingly important for L2 data availability.
Scope
CCIP.sol — base contract with the OffchainLookup error and callback verification
ICCIPReadResolver.sol — interface for resolvers
- Test suite with mock off-chain data sources
- Documentation explaining the client-side flow (since CCIP Read requires client cooperation)
Tier 3 priority but ENS alone makes this worth having.
Background
ERC-3668 (CCIP Read / OffchainLookup) is used by ENS for off-chain data resolution. Nick Johnson authored it. The pattern lets contracts revert with a special error that tells the client to fetch data from an off-chain source, then call back with the result. Its elegant and increasingly important for L2 data availability.
Scope
CCIP.sol— base contract with theOffchainLookuperror and callback verificationICCIPReadResolver.sol— interface for resolversTier 3 priority but ENS alone makes this worth having.