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.
Category: indexing
Files: 14
Chains: Ethereum, Arbitrum, Base
// 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 }