Contract Details
Tech Stack
AssemblyScript TheGraph GraphQL
Chains
Ethereum Arbitrum Base
Description
TheGraph subgraph for indexing CryptoForge vault events. Provides a GraphQL API for querying deposits, withdrawals, harvests, fee events, strategy changes, and historical share prices.
Features
- ✓ Index all vault lifecycle events
- ✓ Deposit/withdrawal/harvest tracking
- ✓ Fee accrual history
- ✓ Strategy change timeline
- ✓ Historical share price snapshots
- ✓ User position tracking
- ✓ Factory vault registry queries
- ✓ Multi-chain deployment configs
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /// @title Vault Subgraph /// @notice TheGraph subgraph for indexing vault events + GraphQL API. contract VaultSubgraph { 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 }