Yearn V2 Arbitrum
This subgraph indexes and provides easy access to data related to Year Finance, particularly those that fall under the "Yield Aggregator" category. It captures information about the various components, including tokens, rewards, vaults, transactions and various metrics, making it possible to query and analyze DeFi data on supported blockchain networks.
Enums:
Network: Blockchain networks that the subgraph supports.
ProtocolType: Types of DeFi protocols, such as Exchange, Lending, Yield, Bridge and Generic.
RewardTokenType: Reward token types, including DEPOSIT and BORROW.
VaultFeeType: Fee types associated with vaults.
Entities:
Token: Token details, including its smart contract address, name, symbol, decimals and other relevant attributes.
RewardToken: Reward tokens awarded to users, with references to the associated token and the reward token type.
VaultFee: Fees associated with vaults, including the fee type, vault address and fee percentage.
Protocol: An interface for DeFi protocols, with attributes such as name, version, network, type and various quantitative data and snapshots.
YieldAggregator: Implements the Protocol interface and specific yield aggregator protocol.
UsageMetricsDailySnapshot: Daily usage metrics taken as a snapshot.
UsageMetricsHourlySnapshot: Hourly usage metrics.
FinancialsDailySnapshot: Daily financial metrics.
Vault: Information about vaults, including name, symbol, input and output tokens, reward tokens, deposit limits and data.
VaultDailySnapshot: Daily snapshots of vault-related metrics.
VaultHourlySnapshot: Hourly snapshots of vault-related metrics.
Event: Events within a protocol, including common attributes like transaction hash, log index and relevant data.
Deposit: Deposit events with details like amount, token and the associated vault.
Withdraw: Withdrawal events similar to deposit events.
Account: Unique Ethereum addresses, to accumulate total unique users.