Oracle Registry
Pronunciation
[awr-uh-kl rej-uh-stree]
Analogy
Like a certified directory listing licensed professionals eligible to provide services.
Definition
A smart contract that maintains a list of approved oracle nodes, their collateral stakes, public keys, and configuration parameters for consumer contracts to reference.
Key Points
Node list: Approved oracle addresses and keys.
Configuration: Fees, collateral, and update intervals per node.
Governance: Registry updates via DAO or multi‑sig.
Discovery: Consumer contracts query registry for node set.
Example
Technical Deep Dive
Registry stores `nodes[]` struct with `address`, `pubKey`, `stake`, `active`. Functions `addNode()`, `removeNode()`, `updateNodeConfig()` restricted by governance.
Security Warning
Unauthorized registry changes can enable malicious nodes; secure with timelock and multi‑sig.
Caveat
Registry size impacts gas for enumeration; use pagination.
Oracle Registry - Related Articles
No related articles for this term.