Contract Details
Tech Stack
AssemblyScript TheGraph GraphQL
Chains
Ethereum Arbitrum Base
Description
TheGraph subgraph templates for indexing common DeFi oracle events. Pre-built schemas and mapping handlers for Chainlink price feeds, oracle aggregators, VRF requests, and data feed updates. AssemblyScript handlers with multi-chain deployment configs.
Features
- ✓ Chainlink price feed event indexing
- ✓ Oracle aggregator update tracking
- ✓ VRF request/fulfillment indexing
- ✓ Custom data feed update history
- ✓ GraphQL schema with entity relationships
- ✓ Multi-chain deployment configurations
- ✓ Example GraphQL queries
- ✓ AssemblyScript mapping handlers
- ✓ Historical price snapshot entities
- ✓ Feed metadata registry entities
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /// @title Data Indexer Template /// @notice TheGraph subgraph templates for DeFi oracle event indexing. contract DataIndexerTemplate { address public immutable owner; uint256 public constant VERSION = 1; event Initialized(address indexed deployer); constructor() { owner = msg.sender; emit Initialized(msg.sender); } // ... full implementation in purchased package }