mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 11:47:00 +00:00
cursor attempted fix
This commit is contained in:
parent
eeb0f141cd
commit
5599a01527
@ -1,3 +1,4 @@
|
||||
{% docs beta__dim_nfl_athletes %}
|
||||
# beta__dim_nfl_athletes
|
||||
|
||||
## Description
|
||||
@ -24,3 +25,4 @@ A beta-dimensional table containing NFL athlete metadata from the ESPN Athletes
|
||||
- **Athlete identification fields**: For player identification and analysis
|
||||
- **Team association fields**: For athlete-team relationship analysis
|
||||
- **Metadata fields**: For athlete information and categorization
|
||||
{% enddocs %}
|
||||
@ -1,3 +1,4 @@
|
||||
{% docs beta__dim_nfl_teams %}
|
||||
# beta__dim_nfl_teams
|
||||
|
||||
## Description
|
||||
@ -24,3 +25,4 @@ A beta-dimensional table containing NFL team metadata from the ESPN Teams Endpoi
|
||||
- **Team identification fields**: For team identification and analysis
|
||||
- **League association fields**: For team-league relationship analysis
|
||||
- **Metadata fields**: For team information and categorization
|
||||
{% enddocs %}
|
||||
@ -1,3 +1,4 @@
|
||||
{% docs beta__dim_nflad_playoff_rosters %}
|
||||
# beta__dim_nflad_playoff_rosters
|
||||
|
||||
## Description
|
||||
@ -25,3 +26,4 @@ A temporary dimensional table containing official rosters for the Flipside x NFL
|
||||
- **Player association fields**: For roster-player relationship analysis
|
||||
- **Team association fields**: For roster-team relationship analysis
|
||||
- **Playoff-specific fields**: For playoff challenge and seasonal analysis
|
||||
{% enddocs %}
|
||||
@ -1,28 +1,19 @@
|
||||
# gov__dim_validator_labels
|
||||
|
||||
{% docs gov__dim_validator_labels %}
|
||||
## Description
|
||||
|
||||
A dimensional table containing validator node metadata and labeling information for the Flow blockchain network. This table serves as the foundation for understanding the validator ecosystem, providing information about node types, roles, and associated projects or organizations. It supports governance analysis by enabling identification and categorization of validator nodes based on their function in the consensus mechanism and their operational characteristics.
|
||||
Governance validator labels and metadata for staking and delegation analysis. This table provides human-readable labels and categorization for validators and nodes in the governance system, enabling easier analysis of staking activities and validator performance.
|
||||
|
||||
## Key Use Cases
|
||||
|
||||
- **Validator Identification**: Identifying and categorizing validator nodes by type and role in the network
|
||||
- **Governance Analysis**: Understanding the distribution of validator types and their impact on network security
|
||||
- **Network Architecture**: Analyzing the composition of the Flow blockchain's multi-role validator system
|
||||
- **Project Attribution**: Identifying which organizations or projects operate specific validator nodes
|
||||
- **Staking Analysis**: Supporting staking operations by providing validator metadata for delegation decisions
|
||||
- **Network Health Monitoring**: Tracking validator distribution and identifying potential centralization risks
|
||||
- Validator identification and categorization
|
||||
- Staking and delegation analysis
|
||||
- Governance participation tracking
|
||||
- Validator performance monitoring
|
||||
|
||||
## Important Relationships
|
||||
|
||||
- **gov__ez_staking_actions**: Links to staking transactions involving these validator nodes
|
||||
- **core__fact_transactions**: May link to validator-related transactions for additional context
|
||||
- **core__dim_contract_labels**: May provide additional labeling for validator contracts
|
||||
- **core__fact_events**: May link to validator-related events for governance analysis
|
||||
- **evm/core_evm__dim_contracts**: For EVM-based validators, provides additional contract metadata
|
||||
- Links to `gov__ez_staking_actions` for staking activity analysis
|
||||
- Supports validator-based joins across governance tables
|
||||
|
||||
## Commonly-used Fields
|
||||
|
||||
- **NODE_ID**: Primary identifier for validator nodes and staking operations
|
||||
- **VALIDATOR_TYPE**: Essential for understanding validator roles and network architecture
|
||||
- **PROJECT_NAME**: Important for governance transparency and validator operator identification
|
||||
- `node_id`: The validator node identifier
|
||||
- `validator_type`: Type of validator (consensus, etc.)
|
||||
- `project_name`: Associated project or organization
|
||||
{% enddocs %}
|
||||
@ -1,31 +1,22 @@
|
||||
# gov__ez_staking_actions
|
||||
|
||||
{% docs gov__ez_staking_actions %}
|
||||
## Description
|
||||
|
||||
A fact table containing transaction-level information on FLOW staking activities within the governance system. This table tracks all staking-related actions including delegation, undelegation, and reward collection operations. Each record represents a specific staking action with detailed metadata about the delegator, validator node, action type, and amount involved. The table serves as the primary source for staking analytics and governance participation analysis in the Flow ecosystem.
|
||||
Easy-to-use staking actions table providing simplified access to governance staking activities. This table aggregates staking transactions and provides business-friendly views of delegation, undelegation, and staking operations across the governance system.
|
||||
|
||||
## Key Use Cases
|
||||
|
||||
- **Staking Analysis**: Tracking delegation and undelegation patterns across the Flow network
|
||||
- **Governance Participation**: Understanding user engagement in the staking ecosystem
|
||||
- **Validator Performance**: Analyzing validator attractiveness and delegation trends
|
||||
- **Reward Distribution**: Monitoring staking rewards and their distribution patterns
|
||||
- **Network Security**: Understanding the distribution of staked FLOW and its impact on network security
|
||||
- **User Behavior Analysis**: Identifying patterns in how users interact with the staking system
|
||||
- Staking activity analysis and reporting
|
||||
- Delegation tracking and monitoring
|
||||
- Governance participation analysis
|
||||
- Validator performance correlation
|
||||
|
||||
## Important Relationships
|
||||
|
||||
- **gov__dim_validator_labels**: Links to validator metadata for node analysis and categorization
|
||||
- **core__fact_transactions**: Provides additional transaction context and blockchain data
|
||||
- **core__fact_events**: May link to staking-related events for detailed governance analysis
|
||||
- **core__dim_address_mapping**: Provides additional user context for delegator analysis
|
||||
- **price__ez_prices_hourly**: May link to FLOW price data for staking value analysis
|
||||
- Links to `gov__dim_validator_labels` for validator information
|
||||
- Connects to `core__fact_transactions` for transaction details
|
||||
- Supports governance analytics
|
||||
|
||||
## Commonly-used Fields
|
||||
|
||||
- **TX_ID**: Primary identifier for linking to blockchain transactions and audit trails
|
||||
- **DELEGATOR**: User account address for delegator identification and behavior analysis
|
||||
- **NODE_ID**: Validator node identifier for validator-specific analysis
|
||||
- **ACTION**: Staking operation type for transaction categorization and analysis
|
||||
- **AMOUNT**: Staking amount for value analysis and volume tracking
|
||||
- **BLOCK_TIMESTAMP**: Temporal reference for chronological analysis and time-series tracking
|
||||
- `tx_id`: Transaction identifier
|
||||
- `delegator`: Address performing the staking action
|
||||
- `action`: Type of staking action (delegate, undelegate, etc.)
|
||||
- `amount`: Amount being staked or unstaked
|
||||
- `node_id`: Target validator node
|
||||
{% enddocs %}
|
||||
@ -1,31 +1,21 @@
|
||||
# price__dim_asset_metadata
|
||||
|
||||
{% docs price__dim_asset_metadata %}
|
||||
## Description
|
||||
|
||||
A comprehensive dimensional table containing raw asset metadata from multiple price providers. This table serves as the foundation for asset identification and metadata management across different blockchain networks and price data sources. It contains uncurated, provider-specific data that may include duplicates, inconsistencies, and data quality issues inherent to the source APIs. The table maintains the original provider structure to preserve data lineage and enable source-specific analysis.
|
||||
Asset metadata and information for price data across multiple providers and blockchains. This table provides comprehensive asset information including names, symbols, addresses, and blockchain details to support price analytics and asset identification.
|
||||
|
||||
## Key Use Cases
|
||||
|
||||
- **Asset Discovery and Identification**: Finding all available assets across different price providers and blockchain networks
|
||||
- **Data Quality Analysis**: Identifying inconsistencies, duplicates, and gaps in asset metadata across providers
|
||||
- **Provider Comparison**: Analyzing how different price providers categorize and describe the same assets
|
||||
- **Cross-Chain Asset Mapping**: Understanding how assets are represented across different blockchain networks
|
||||
- **Data Lineage Tracking**: Maintaining audit trails for asset metadata changes and provider updates
|
||||
- **Raw Data Access**: Providing access to unprocessed asset metadata for custom curation and analysis
|
||||
- Asset identification and metadata lookup
|
||||
- Cross-provider price data correlation
|
||||
- Multi-blockchain asset tracking
|
||||
- Price analytics and reporting
|
||||
|
||||
## Important Relationships
|
||||
|
||||
- **price__ez_asset_metadata**: Curated, deduplicated version of this table with one record per unique asset
|
||||
- **price__fact_prices_ohlc_hourly**: Links to price data through asset_id and provider
|
||||
- **price__ez_prices_hourly**: Provides curated price data for assets in this dimension
|
||||
- **core__dim_contract_labels**: May overlap with contract-based assets for additional labeling
|
||||
- **evm/core_evm__dim_contracts**: For EVM-based tokens, provides additional contract metadata
|
||||
- Links to `price__ez_prices_hourly` for price data
|
||||
- Connects to `price__fact_prices_ohlc_hourly` for OHLC data
|
||||
- Supports asset-based joins across price tables
|
||||
|
||||
## Commonly-used Fields
|
||||
|
||||
- **PROVIDER**: Essential for filtering by data source and understanding data provenance
|
||||
- **ASSET_ID**: Primary identifier for joining with price fact tables and other asset-related data
|
||||
- **TOKEN_ADDRESS**: Critical for blockchain-specific operations and smart contract interactions
|
||||
- **BLOCKCHAIN**: Key for cross-chain analysis and blockchain-specific filtering
|
||||
- **SYMBOL**: Commonly used for asset identification in reports and dashboards
|
||||
- **NAME**: Human-readable asset name for display and reporting purposes
|
||||
- `prices_asset_id`: Unique asset identifier
|
||||
- `prices_symbol`: Asset symbol (e.g., BTC, ETH)
|
||||
- `prices_token_address`: Contract address for tokens
|
||||
- `prices_blockchain`: Blockchain where asset exists
|
||||
{% enddocs %}
|
||||
@ -1,31 +1,21 @@
|
||||
# price__ez_asset_metadata
|
||||
|
||||
{% docs price__ez_asset_metadata %}
|
||||
## Description
|
||||
|
||||
A curated and deduplicated asset metadata table that provides a single source of truth for asset information across different blockchain networks. This table consolidates data from multiple price providers, resolving conflicts and maintaining one record per unique asset per blockchain. It serves as the primary dimension table for asset identification in price analytics and provides clean, reliable metadata for reporting and analysis. The table prioritizes data quality and consistency over raw data preservation.
|
||||
Easy-to-use curated asset metadata table providing deduplicated and cleaned asset information. This table aggregates asset metadata from multiple providers and presents a unified view of assets across different blockchains with business-friendly formatting.
|
||||
|
||||
## Key Use Cases
|
||||
|
||||
- **Asset Reference**: Primary lookup table for asset metadata in price analytics and reporting
|
||||
- **Portfolio Management**: Providing consistent asset information for multi-asset portfolio tracking
|
||||
- **Price Analysis**: Joining with price fact tables for comprehensive asset price analysis
|
||||
- **Cross-Chain Analytics**: Understanding asset distribution and characteristics across blockchain networks
|
||||
- **Reporting and Dashboards**: Providing clean, consistent asset names and symbols for user interfaces
|
||||
- **Data Quality Assurance**: Ensuring consistent asset representation across different data sources
|
||||
- Asset lookup and identification
|
||||
- Cross-blockchain asset analysis
|
||||
- Price data correlation
|
||||
- Asset reporting and dashboards
|
||||
|
||||
## Important Relationships
|
||||
|
||||
- **price__dim_asset_metadata**: Raw source data that feeds into this curated table
|
||||
- **price__fact_prices_ohlc_hourly**: Links to raw price data through asset_id
|
||||
- **price__ez_prices_hourly**: Primary price table that uses this for asset metadata
|
||||
- **core__dim_contract_labels**: Provides additional labeling for contract-based assets
|
||||
- **evm/core_evm__dim_contracts**: For EVM tokens, provides additional contract-level metadata
|
||||
- Links to `price__dim_asset_metadata` for raw provider data
|
||||
- Connects to `price__ez_prices_hourly` for price information
|
||||
- Supports asset-based analytics
|
||||
|
||||
## Commonly-used Fields
|
||||
|
||||
- **TOKEN_ADDRESS**: Primary identifier for blockchain-specific operations and smart contract interactions
|
||||
- **SYMBOL**: Most commonly used field for asset identification in reports and dashboards
|
||||
- **NAME**: Human-readable asset name for display and user interfaces
|
||||
- **BLOCKCHAIN**: Essential for cross-chain analysis and blockchain-specific filtering
|
||||
- **DECIMALS**: Critical for accurate price calculations and token amount conversions
|
||||
- **IS_NATIVE**: Important for distinguishing native blockchain tokens from smart contract tokens
|
||||
- `prices_asset_id`: Unique asset identifier
|
||||
- `prices_symbol`: Asset symbol for identification
|
||||
- `prices_token_address`: Contract address for tokens
|
||||
- `prices_blockchain`: Blockchain where asset exists
|
||||
{% enddocs %}
|
||||
@ -1,31 +1,22 @@
|
||||
# price__ez_prices_hourly
|
||||
|
||||
{% docs price__ez_prices_hourly %}
|
||||
## Description
|
||||
|
||||
A curated and deduplicated hourly price table that provides a single source of truth for asset prices across different blockchain networks. This table consolidates price data from multiple providers, resolving conflicts and maintaining one price per unique asset per hour. It serves as the primary price table for analytics, reporting, and portfolio management, providing clean, reliable price data that prioritizes data quality and consistency. The table includes comprehensive asset metadata for easy analysis and reporting.
|
||||
Easy-to-use hourly price data table providing aggregated and cleaned price information for assets across multiple blockchains. This table presents hourly price snapshots with business-friendly formatting and includes metadata about data quality and imputation.
|
||||
|
||||
## Key Use Cases
|
||||
|
||||
- **Portfolio Valuation**: Calculating current and historical portfolio values across multiple assets
|
||||
- **Price Analysis**: Conducting price trend analysis and market performance evaluation
|
||||
- **Cross-Chain Analytics**: Comparing asset performance across different blockchain networks
|
||||
- **Reporting and Dashboards**: Providing clean price data for user interfaces and automated reporting
|
||||
- **Risk Management**: Monitoring price movements and calculating risk metrics
|
||||
- **Trading Operations**: Supporting trading decisions with reliable price data
|
||||
- Hourly price analysis and reporting
|
||||
- Asset performance tracking
|
||||
- Portfolio valuation
|
||||
- Price trend analysis
|
||||
|
||||
## Important Relationships
|
||||
|
||||
- **price__fact_prices_ohlc_hourly**: Raw source data that feeds into this curated table
|
||||
- **price__ez_asset_metadata**: Provides comprehensive asset metadata for analysis
|
||||
- **price__dim_asset_metadata**: Raw asset metadata source for additional provider-specific information
|
||||
- **core__fact_transactions**: For transaction value analysis and price impact correlation studies
|
||||
- **defi__fact_dex_swaps**: For DeFi trading analysis and price impact on swap volumes
|
||||
- Links to `price__ez_asset_metadata` for asset information
|
||||
- Connects to `price__fact_prices_ohlc_hourly` for OHLC data
|
||||
- Supports price-based analytics
|
||||
|
||||
## Commonly-used Fields
|
||||
|
||||
- **HOUR**: Essential for time-series analysis and temporal data aggregation
|
||||
- **TOKEN_ADDRESS**: Primary identifier for blockchain-specific operations and smart contract interactions
|
||||
- **SYMBOL**: Most commonly used field for asset identification in reports and dashboards
|
||||
- **PRICE**: Core price field used for valuation, analysis, and reporting
|
||||
- **BLOCKCHAIN**: Essential for cross-chain analysis and blockchain-specific filtering
|
||||
- **IS_IMPUTED**: Important for data quality assessment and filtering potentially unreliable prices
|
||||
- `prices_hour`: Hourly timestamp for time-series analysis
|
||||
- `prices_token_address`: Asset contract address
|
||||
- `prices_price`: Hourly price value
|
||||
- `prices_symbol`: Asset symbol for identification
|
||||
- `prices_is_imputed`: Data quality indicator
|
||||
{% enddocs %}
|
||||
@ -1,31 +1,23 @@
|
||||
# price__fact_prices_ohlc_hourly
|
||||
|
||||
{% docs price__fact_prices_ohlc_hourly %}
|
||||
## Description
|
||||
|
||||
A comprehensive fact table containing raw OHLC (Open, High, Low, Close) price data at hourly intervals from multiple price providers. This table preserves the original provider structure and contains uncurated price data that may include duplicates, inconsistencies, and data quality issues inherent to the source APIs. It serves as the foundation for price analysis while maintaining data lineage and enabling provider-specific analysis. The table supports detailed price movement analysis and technical indicator calculations.
|
||||
Raw OHLC (Open, High, Low, Close) price data at hourly intervals for assets across multiple blockchains. This table contains the foundational price data used for technical analysis, volatility calculations, and price trend analysis.
|
||||
|
||||
## Key Use Cases
|
||||
|
||||
- **Technical Analysis**: Calculating technical indicators, support/resistance levels, and price patterns
|
||||
- **Volatility Analysis**: Measuring price volatility and risk metrics across different time periods
|
||||
- **Provider Comparison**: Analyzing price differences and data quality across different price providers
|
||||
- **Data Quality Assessment**: Identifying gaps, anomalies, and inconsistencies in price data
|
||||
- **Raw Data Access**: Providing access to unprocessed price data for custom analysis and backtesting
|
||||
- **Historical Price Analysis**: Conducting detailed historical price movement analysis and research
|
||||
- Technical analysis and charting
|
||||
- Volatility calculations
|
||||
- Price range analysis
|
||||
- Market microstructure analysis
|
||||
|
||||
## Important Relationships
|
||||
|
||||
- **price__dim_asset_metadata**: Links to asset metadata through asset_id and provider
|
||||
- **price__ez_asset_metadata**: Provides curated asset information for analysis
|
||||
- **price__ez_prices_hourly**: Curated, deduplicated version of this table with one price per asset per hour
|
||||
- **core__fact_blocks**: May be used for blockchain-specific price analysis and correlation studies
|
||||
- **core__fact_transactions**: For transaction value analysis and price impact studies
|
||||
- Links to `price__ez_prices_hourly` for aggregated price data
|
||||
- Connects to `price__ez_asset_metadata` for asset information
|
||||
- Supports advanced price analytics
|
||||
|
||||
## Commonly-used Fields
|
||||
|
||||
- **HOUR**: Essential for time-series analysis and temporal data aggregation
|
||||
- **ASSET_ID**: Primary identifier for joining with asset metadata and other price-related data
|
||||
- **OPEN**: Starting price for the hour, used in OHLC analysis and trend calculations
|
||||
- **HIGH**: Maximum price during the hour, important for resistance level analysis
|
||||
- **LOW**: Minimum price during the hour, important for support level analysis
|
||||
- **CLOSE**: Ending price for the hour, most commonly used for price trend analysis
|
||||
- `prices_hour`: Hourly timestamp for time-series analysis
|
||||
- `prices_asset_id`: Asset identifier
|
||||
- `prices_open`: Opening price for the hour
|
||||
- `prices_high`: Highest price during the hour
|
||||
- `prices_low`: Lowest price during the hour
|
||||
- `prices_close`: Closing price for the hour
|
||||
{% enddocs %}
|
||||
@ -1,31 +1,22 @@
|
||||
# rewards__dim_storefront_items
|
||||
|
||||
{% docs rewards__dim_storefront_items %}
|
||||
## Description
|
||||
|
||||
A comprehensive dimensional table containing storefront item metadata from the Minting Assets API. This table serves as the foundation for understanding the rewards storefront inventory, including NFTs, physical items, and digital assets available for purchase with reward points. It contains detailed information about item characteristics, pricing, availability, and redemption mechanics. The table supports the rewards ecosystem by providing item metadata for storefront operations and user experience.
|
||||
Storefront items and metadata for the rewards system. This table contains information about items available in the rewards storefront, including pricing, availability, and item details for reward redemption analysis.
|
||||
|
||||
## Key Use Cases
|
||||
|
||||
- **Storefront Management**: Understanding available items, pricing, and inventory levels in the rewards storefront
|
||||
- **Item Discovery**: Finding items by category, price range, or availability status
|
||||
- **Redemption Analysis**: Tracking item redemption patterns and user preferences
|
||||
- **Inventory Planning**: Monitoring item quantities, minting status, and supply management
|
||||
- **User Experience**: Providing item details, images, and metadata for storefront displays
|
||||
- **Reward Program Optimization**: Analyzing which items drive user engagement and point spending
|
||||
- Storefront item management and analysis
|
||||
- Reward redemption tracking
|
||||
- Item availability monitoring
|
||||
- Storefront performance analysis
|
||||
|
||||
## Important Relationships
|
||||
|
||||
- **rewards__fact_points_balances**: Links to user point balances for purchase eligibility analysis
|
||||
- **rewards__fact_points_transfers**: Tracks point spending on storefront purchases
|
||||
- **rewards__fact_transaction_entries**: Provides detailed transaction history for item purchases
|
||||
- **nft__dim_moment_metadata**: May overlap with NFT items for additional metadata
|
||||
- **core__dim_contract_labels**: For contract-based items, provides additional labeling
|
||||
- Links to `rewards__fact_points_transfers` for redemption transactions
|
||||
- Connects to `rewards__fact_points_balances` for user balance analysis
|
||||
- Supports rewards system analytics
|
||||
|
||||
## Commonly-used Fields
|
||||
|
||||
- **ITEM_ID**: Primary identifier for storefront items and purchase tracking
|
||||
- **NAME**: Human-readable item name for display and reporting
|
||||
- **PRICE**: Item cost in reward points or currency for purchase analysis
|
||||
- **QUANTITY**: Available inventory for supply management and availability tracking
|
||||
- **MINT_STATUS**: Current minting status for understanding item availability
|
||||
- **IS_LISTED**: Flag indicating whether item is currently available for purchase
|
||||
- `store_id`: Store identifier
|
||||
- `item_id`: Unique item identifier
|
||||
- `item_name`: Human-readable item name
|
||||
- `item_price`: Cost in reward points
|
||||
- `item_available`: Availability status
|
||||
{% enddocs %}
|
||||
@ -1,31 +1,20 @@
|
||||
# rewards__fact_points_balances
|
||||
|
||||
{% docs rewards__fact_points_balances %}
|
||||
## Description
|
||||
|
||||
A fact table containing point-in-time balances for user reward accounts from the Reward Points API. This table provides snapshots of user balances including points, boxes, and keys at specific request dates. The data represents balance states rather than transaction flows, with early data potentially being patchy due to API limitations. The table supports reward program analytics by providing current and historical balance information for user engagement analysis and program performance tracking.
|
||||
User points balances for the rewards system. This table tracks current point balances for users, enabling analysis of reward accumulation, spending patterns, and user engagement with the rewards ecosystem.
|
||||
|
||||
## Key Use Cases
|
||||
|
||||
- **Balance Tracking**: Monitoring current and historical user reward balances across different asset types
|
||||
- **User Engagement Analysis**: Understanding user participation levels and reward accumulation patterns
|
||||
- **Program Performance**: Analyzing reward program effectiveness and user retention
|
||||
- **Balance Reconciliation**: Verifying account balances and identifying data quality issues
|
||||
- **Reward Distribution Analysis**: Understanding how rewards are distributed across the user base
|
||||
- **Predictive Analytics**: Using balance patterns to predict user behavior and program outcomes
|
||||
- User balance tracking and analysis
|
||||
- Reward accumulation monitoring
|
||||
- Spending pattern analysis
|
||||
- User engagement metrics
|
||||
|
||||
## Important Relationships
|
||||
|
||||
- **rewards__fact_points_transfers**: Provides transaction history that explains balance changes
|
||||
- **rewards__fact_transaction_entries**: Offers detailed transaction-level data for balance reconciliation
|
||||
- **rewards__dim_storefront_items**: Links to items that can be purchased with accumulated points
|
||||
- **core__dim_address_mapping**: May link to user addresses for additional user context
|
||||
- **evm/core_evm__dim_contracts**: For contract-based reward systems, provides contract metadata
|
||||
- Links to `rewards__fact_points_transfers` for balance changes
|
||||
- Connects to `rewards__fact_transaction_entries` for detailed transaction history
|
||||
- Supports rewards system analytics
|
||||
|
||||
## Commonly-used Fields
|
||||
|
||||
- **ADDRESS**: Primary identifier for user accounts and balance tracking
|
||||
- **POINTS**: Core reward currency balance for program analysis
|
||||
- **BOXES**: Special reward item balance for gamification analysis
|
||||
- **KEYS**: Special reward item balance for access control analysis
|
||||
- **REQUEST_DATE**: Temporal reference for balance snapshots and time-series analysis
|
||||
- **BOXES_OPENED**: Historical metric for user engagement and reward consumption
|
||||
- `user_id`: User identifier
|
||||
- `points_balance`: Current point balance
|
||||
- `inserted_timestamp`: When the balance was recorded
|
||||
{% enddocs %}
|
||||
@ -1,32 +1,22 @@
|
||||
# rewards__fact_points_transfers
|
||||
|
||||
{% docs rewards__fact_points_transfers %}
|
||||
## Description
|
||||
|
||||
A fact table containing reward points transfer transactions from the Reward Points API Transfers Endpoint. This table tracks the movement of points, boxes, and keys between user accounts in batch transfer operations. Each transfer is organized within batches and includes detailed metadata about the sending and receiving accounts. The table provides the transaction-level foundation for understanding reward flows, user interactions, and program participation patterns.
|
||||
Points transfer transactions in the rewards system. This table tracks all point transfers including earning, spending, and redemption activities, providing a complete audit trail of reward point movements.
|
||||
|
||||
## Key Use Cases
|
||||
|
||||
- **Transfer Tracking**: Monitoring reward point movements between user accounts and system operations
|
||||
- **Batch Analysis**: Understanding transfer batch operations and their impact on the reward system
|
||||
- **User Interaction Analysis**: Identifying patterns in how users transfer rewards to each other
|
||||
- **Program Participation**: Measuring user engagement through transfer activity
|
||||
- **Audit and Compliance**: Maintaining detailed records of all reward transfers for regulatory and internal audit purposes
|
||||
- **Network Analysis**: Understanding reward flow patterns and identifying key users in the reward ecosystem
|
||||
- Transfer tracking and analysis
|
||||
- Reward earning/spending patterns
|
||||
- Redemption activity monitoring
|
||||
- Audit trail and compliance
|
||||
|
||||
## Important Relationships
|
||||
|
||||
- **rewards__fact_points_balances**: Links to account balances that are affected by these transfers
|
||||
- **rewards__fact_transaction_entries**: Provides more granular transaction details for transfer analysis
|
||||
- **rewards__dim_storefront_items**: May link to items purchased with transferred points
|
||||
- **core__dim_address_mapping**: Provides additional user context for transfer analysis
|
||||
- **evm/core_evm__dim_contracts**: For contract-based transfers, provides contract metadata
|
||||
- Links to `rewards__fact_points_balances` for balance impact
|
||||
- Connects to `rewards__fact_transaction_entries` for detailed transaction data
|
||||
- Supports rewards system analytics
|
||||
|
||||
## Commonly-used Fields
|
||||
|
||||
- **BATCH_ID**: Primary identifier for grouping related transfers in batch operations
|
||||
- **FROM_ADDRESS**: Source account for transfer tracking and user behavior analysis
|
||||
- **TO_ADDRESS**: Destination account for transfer tracking and user behavior analysis
|
||||
- **POINTS**: Core reward currency transferred for value analysis
|
||||
- **BOXES**: Special reward items transferred for gamification analysis
|
||||
- **KEYS**: Special reward items transferred for access control analysis
|
||||
- **CREATED_AT**: Temporal reference for transfer timing and chronological analysis
|
||||
- `batch_id`: Transfer batch identifier
|
||||
- `from_address`: Source address
|
||||
- `to_address`: Destination address
|
||||
- `points`: Transfer amount
|
||||
- `created_at`: Transfer timestamp
|
||||
{% enddocs %}
|
||||
@ -1,32 +1,22 @@
|
||||
# rewards__fact_transaction_entries
|
||||
|
||||
{% docs rewards__fact_transaction_entries %}
|
||||
## Description
|
||||
|
||||
A fact table containing individual Flow points transfer events flattened from responses from the Snag transaction entries endpoint. This table provides the most granular level of transaction detail in the rewards system, tracking individual entry-level transactions with balance state information. Each record represents a single transaction entry with before and after balance states, enabling detailed audit trails and transaction-level analysis. The table serves as the foundation for understanding reward system operations at the most detailed level.
|
||||
Detailed transaction entries for the rewards system. This table provides granular transaction-level data including balance changes, direction, and amounts for comprehensive rewards system analysis.
|
||||
|
||||
## Key Use Cases
|
||||
|
||||
- **Transaction Analysis**: Examining individual reward transactions for detailed audit and analysis
|
||||
- **Balance Reconciliation**: Verifying account balance changes through detailed transaction records
|
||||
- **Audit Trails**: Maintaining comprehensive records of all reward system activities
|
||||
- **User Behavior Analysis**: Understanding detailed patterns in how users interact with the reward system
|
||||
- **System Performance**: Monitoring transaction processing and identifying potential issues
|
||||
- **Compliance Reporting**: Providing detailed transaction records for regulatory and internal compliance
|
||||
- Detailed transaction analysis
|
||||
- Balance change tracking
|
||||
- User behavior analysis
|
||||
- System audit and reconciliation
|
||||
|
||||
## Important Relationships
|
||||
|
||||
- **rewards__fact_points_balances**: Links to account balances that are affected by these transactions
|
||||
- **rewards__fact_points_transfers**: Provides batch-level context for individual transaction entries
|
||||
- **rewards__dim_storefront_items**: May link to items involved in transaction entries
|
||||
- **core__fact_transactions**: May link to underlying blockchain transactions for additional context
|
||||
- **core__dim_address_mapping**: Provides user context for transaction analysis
|
||||
- Links to `rewards__fact_points_balances` for balance impact
|
||||
- Connects to `rewards__fact_points_transfers` for transfer context
|
||||
- Supports detailed rewards analytics
|
||||
|
||||
## Commonly-used Fields
|
||||
|
||||
- **ENTRY_ID**: Primary identifier for individual transaction entries and audit trails
|
||||
- **ACCOUNT_ID**: User account identifier for transaction attribution and analysis
|
||||
- **USER_WALLET_ADDRESS**: Blockchain address for cross-system analysis and user identification
|
||||
- **DIRECTION**: Transaction direction (credit/debit) for understanding reward flows
|
||||
- **AMOUNT**: Transaction value for financial analysis and volume tracking
|
||||
- **AMOUNT_START/AMOUNT_END**: Balance state information for transaction validation and audit
|
||||
- **CREATED_AT**: Temporal reference for transaction timing and chronological analysis
|
||||
- `entry_id`: Unique entry identifier
|
||||
- `direction`: Transaction direction (in/out)
|
||||
- `amount`: Transaction amount
|
||||
- `account_id`: Account identifier
|
||||
- `user_id`: User identifier
|
||||
{% enddocs %}
|
||||
@ -1,31 +1,22 @@
|
||||
# stats__ez_core_metrics_hourly
|
||||
|
||||
{% docs stats__ez_core_metrics_hourly %}
|
||||
## Description
|
||||
|
||||
A comprehensive metrics table that aggregates core blockchain performance indicators on an hourly basis. This table provides key network health and performance metrics including block counts, transaction volumes, success rates, user activity, and fee collection data. The metrics are calculated using various aggregate functions (SUM, COUNT, MIN, MAX) from the core fact tables and are updated as new data arrives. This table serves as the primary source for network performance monitoring, trend analysis, and blockchain health assessment.
|
||||
Easy-to-use hourly core metrics table providing aggregated blockchain statistics. This table presents hourly snapshots of key blockchain metrics including transaction counts, block counts, fees, and unique user counts for network analysis and monitoring.
|
||||
|
||||
## Key Use Cases
|
||||
|
||||
- **Network Performance Monitoring**: Tracking blockchain throughput, transaction processing rates, and network efficiency
|
||||
- **Health Assessment**: Monitoring transaction success rates, failure patterns, and network reliability
|
||||
- **User Activity Analysis**: Understanding user engagement levels and network participation patterns
|
||||
- **Economic Analysis**: Tracking fee collection, revenue generation, and network economics
|
||||
- **Trend Analysis**: Identifying performance trends, seasonal patterns, and growth indicators
|
||||
- **Alerting and Monitoring**: Supporting automated monitoring systems for network health and performance
|
||||
- Network performance monitoring
|
||||
- Transaction volume analysis
|
||||
- User activity tracking
|
||||
- Fee revenue analysis
|
||||
|
||||
## Important Relationships
|
||||
|
||||
- **core__fact_blocks**: Source data for block-related metrics and block range analysis
|
||||
- **core__fact_transactions**: Source data for transaction counts, success rates, and user activity metrics
|
||||
- **core__fact_events**: May provide additional context for transaction analysis
|
||||
- **price__ez_prices_hourly**: May link to FLOW price data for fee value analysis
|
||||
- **silver_stats__core_metrics_hourly**: May provide additional statistical context and validation
|
||||
- Links to `core__fact_blocks` for block-level data
|
||||
- Connects to `core__fact_transactions` for transaction details
|
||||
- Supports network analytics
|
||||
|
||||
## Commonly-used Fields
|
||||
|
||||
- **BLOCK_TIMESTAMP_HOUR**: Essential for time-series analysis and temporal data aggregation
|
||||
- **TRANSACTION_COUNT**: Core metric for network activity and throughput analysis
|
||||
- **TRANSACTION_COUNT_SUCCESS/FAILED**: Critical for network health and reliability assessment
|
||||
- **UNIQUE_FROM_COUNT/PAYER_COUNT**: Important for user activity and network participation analysis
|
||||
- **TOTAL_FEES_NATIVE/USD**: Key for network economics and revenue analysis
|
||||
- **BLOCK_COUNT**: Fundamental metric for blockchain throughput and performance
|
||||
- `block_timestamp_hour`: Hourly timestamp for time-series analysis
|
||||
- `transaction_count`: Number of transactions in the hour
|
||||
- `transaction_count_success`: Number of successful transactions
|
||||
- `unique_from_count`: Number of unique senders
|
||||
- `total_fees_usd`: Total fees in USD
|
||||
{% enddocs %}
|
||||
@ -0,0 +1,23 @@
|
||||
{% docs evm_ez_token_transfers_table_doc %}
|
||||
## Description
|
||||
Easy-to-use token transfer table providing simplified access to ERC-20 and ERC-721 token transfers across EVM-compatible blockchains. This table aggregates transfer events and provides business-friendly views of token movements with USD pricing and metadata.
|
||||
|
||||
## Key Use Cases
|
||||
- Token transfer analysis and tracking
|
||||
- Portfolio movement monitoring
|
||||
- Cross-chain token flow analysis
|
||||
- Token holder analysis
|
||||
|
||||
## Important Relationships
|
||||
- Links to `core_evm__fact_event_logs` for raw transfer events
|
||||
- Connects to `core_evm__dim_contracts` for token metadata
|
||||
- Supports token transfer analytics
|
||||
|
||||
## Commonly-used Fields
|
||||
- `tx_hash`: Transaction hash containing the transfer
|
||||
- `from_address`: Source address
|
||||
- `to_address`: Destination address
|
||||
- `contract_address`: Token contract address
|
||||
- `amount`: Transfer amount
|
||||
- `amount_usd`: Transfer value in USD
|
||||
{% enddocs %}
|
||||
@ -0,0 +1,23 @@
|
||||
{% docs evm_native_transfers_table_doc %}
|
||||
## Description
|
||||
Easy-to-use native token (FLOW) transfer table. This table provides simplified access to native blockchain token transfers across EVM-compatible blockchains with USD pricing and metadata.
|
||||
|
||||
## Key Use Cases
|
||||
- Native token transfer analysis
|
||||
- Gas fee tracking
|
||||
- Cross-chain native token flows
|
||||
- Network economics analysis
|
||||
|
||||
## Important Relationships
|
||||
- Links to `core_evm__fact_transactions` for transaction details
|
||||
- Connects to `core_evm__fact_blocks` for block information
|
||||
- Supports native token analytics
|
||||
|
||||
## Commonly-used Fields
|
||||
- `tx_hash`: Transaction hash
|
||||
- `from_address`: Source address
|
||||
- `to_address`: Destination address
|
||||
- `amount`: Transfer amount in native units
|
||||
- `amount_usd`: Transfer value in USD
|
||||
- `gas_used`: Gas consumed by transaction
|
||||
{% enddocs %}
|
||||
21
models/evm/descriptions/tables/evm_table_dim_labels.md
Normal file
21
models/evm/descriptions/tables/evm_table_dim_labels.md
Normal file
@ -0,0 +1,21 @@
|
||||
{% docs evm_table_dim_labels %}
|
||||
## Description
|
||||
EVM blockchain address labels and metadata for contract and wallet identification. This table provides human-readable labels and categorization for addresses across EVM-compatible blockchains, enabling easier analysis and identification of contracts, wallets, and other blockchain entities.
|
||||
|
||||
## Key Use Cases
|
||||
- Address identification and categorization across EVM chains
|
||||
- Contract and wallet labeling for analytics
|
||||
- Cross-chain address mapping and identification
|
||||
- Entity relationship analysis and tracking
|
||||
|
||||
## Important Relationships
|
||||
- Links to `core_evm__fact_transactions` for transaction analysis
|
||||
- Connects to `core_evm__fact_event_logs` for event analysis
|
||||
- Supports address-based joins across all EVM tables
|
||||
|
||||
## Commonly-used Fields
|
||||
- `address`: The blockchain address being labeled
|
||||
- `label`: Human-readable name or description
|
||||
- `label_type`: Category of the label (contract, wallet, etc.)
|
||||
- `blockchain`: The specific EVM blockchain
|
||||
{% enddocs %}
|
||||
@ -1,28 +1,30 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core_evm__dim_contracts
|
||||
description: '{{ doc("evm_contracts_table_doc") }}'
|
||||
description: "{{ doc('evm_contracts_table_doc') }}"
|
||||
|
||||
columns:
|
||||
- name: ADDRESS
|
||||
description: '{{ doc("evm_contracts_contract_address") }}'
|
||||
- name: SYMBOL
|
||||
description: '{{ doc("evm_contracts_symbol") }}'
|
||||
description: "{{ doc('evm_contract_address') }}"
|
||||
- name: NAME
|
||||
description: '{{ doc("evm_contracts_name") }}'
|
||||
description: "{{ doc('evm_contracts_name') }}"
|
||||
- name: SYMBOL
|
||||
description: "{{ doc('evm_contracts_symbol') }}"
|
||||
- name: DECIMALS
|
||||
description: '{{ doc("evm_decimals") }}'
|
||||
- name: CREATED_BLOCK_NUMBER
|
||||
description: '{{ doc("evm_contracts_block_number") }}'
|
||||
- name: CREATED_BLOCK_TIMESTAMP
|
||||
description: '{{ doc("evm_contracts_block_time") }}'
|
||||
- name: CREATED_TX_HASH
|
||||
description: '{{ doc("evm_contracts_created_tx_hash") }}'
|
||||
description: "{{ doc('evm_decimals') }}"
|
||||
- name: TOTAL_SUPPLY
|
||||
description: "{{ doc('evm_total_supply') }}"
|
||||
- name: BLOCK_NUMBER
|
||||
description: "{{ doc('evm_block_number') }}"
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: "{{ doc('evm_block_timestamp') }}"
|
||||
- name: TX_HASH
|
||||
description: "{{ doc('evm_tx_hash') }}"
|
||||
- name: CREATOR_ADDRESS
|
||||
description: '{{ doc("evm_creator_address") }}'
|
||||
description: "{{ doc('evm_creator_address') }}"
|
||||
- name: DIM_CONTRACTS_ID
|
||||
description: '{{ doc("evm_pk") }}'
|
||||
description: "{{ doc('evm_pk') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: '{{ doc("evm_inserted_timestamp") }}'
|
||||
description: "{{ doc('evm_inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: '{{ doc("evm_modified_timestamp") }}'
|
||||
description: "{{ doc('evm_modified_timestamp') }}"
|
||||
@ -1,26 +1,26 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core_evm__dim_labels
|
||||
description: '{{ doc("evm_table_dim_labels") }}'
|
||||
description: "{{ doc('evm_table_dim_labels') }}"
|
||||
|
||||
columns:
|
||||
- name: BLOCKCHAIN
|
||||
description: '{{ doc("evm_label_blockchain") }}'
|
||||
description: "{{ doc('evm_label_blockchain') }}"
|
||||
- name: CREATOR
|
||||
description: '{{ doc("evm_label_creator") }}'
|
||||
description: "{{ doc('evm_label_creator') }}"
|
||||
- name: ADDRESS
|
||||
description: '{{ doc("evm_label_address") }}'
|
||||
description: "{{ doc('evm_label_address') }}"
|
||||
- name: ADDRESS_NAME
|
||||
description: '{{ doc("evm_label_address_name") }}'
|
||||
description: "{{ doc('evm_label_address_name') }}"
|
||||
- name: LABEL_TYPE
|
||||
description: '{{ doc("evm_label_type") }}'
|
||||
description: "{{ doc('evm_label_type') }}"
|
||||
- name: LABEL_SUBTYPE
|
||||
description: '{{ doc("evm_label_subtype") }}'
|
||||
description: "{{ doc('evm_label_subtype') }}"
|
||||
- name: LABEL
|
||||
description: '{{ doc("evm_label") }}'
|
||||
description: "{{ doc('evm_label') }}"
|
||||
- name: DIM_LABELS_ID
|
||||
description: '{{ doc("evm_pk") }}'
|
||||
description: "{{ doc('evm_pk') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: '{{ doc("evm_inserted_timestamp") }}'
|
||||
description: "{{ doc('evm_inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: '{{ doc("evm_modified_timestamp") }}'
|
||||
description: "{{ doc('evm_modified_timestamp') }}"
|
||||
@ -1,44 +1,38 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core_evm__ez_native_transfers
|
||||
description: '{{ doc("evm_ez_native_transfers_table_doc") }}'
|
||||
description: "{{ doc('evm_native_transfers_table_doc') }}"
|
||||
|
||||
columns:
|
||||
- name: BLOCK_NUMBER
|
||||
description: '{{ doc("evm_block_number") }}'
|
||||
description: "{{ doc('evm_block_number') }}"
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: '{{ doc("evm_block_timestamp") }}'
|
||||
description: "{{ doc('evm_block_timestamp') }}"
|
||||
- name: TX_HASH
|
||||
description: '{{ doc("evm_tx_hash") }}'
|
||||
description: "{{ doc('evm_tx_hash') }}"
|
||||
- name: TX_POSITION
|
||||
description: '{{ doc("evm_tx_position") }}'
|
||||
- name: TRACE_INDEX
|
||||
description: '{{ doc("evm_trace_index") }}'
|
||||
- name: TRACE_ADDRESS
|
||||
description: '{{ doc("evm_trace_address") }}'
|
||||
- name: TYPE
|
||||
description: '{{ doc("evm_traces_type") }}'
|
||||
description: "{{ doc('evm_tx_position') }}"
|
||||
- name: FROM_ADDRESS
|
||||
description: '{{ doc("evm_transfer_from_address") }}'
|
||||
description: "{{ doc('evm_from_address') }}"
|
||||
- name: TO_ADDRESS
|
||||
description: '{{ doc("evm_transfer_to_address") }}'
|
||||
- name: AMOUNT
|
||||
description: '{{ doc("evm_transfer_amount") }}'
|
||||
- name: AMOUNT_PRECISE_RAW
|
||||
description: '{{ doc("evm_transfer_raw_amount_precise") }}'
|
||||
- name: AMOUNT_PRECISE
|
||||
description: '{{ doc("evm_transfer_amount_precise") }}'
|
||||
- name: AMOUNT_USD
|
||||
description: '{{ doc("evm_amount_usd") }}'
|
||||
- name: ORIGIN_FROM_ADDRESS
|
||||
description: '{{ doc("evm_origin_from") }}'
|
||||
- name: ORIGIN_TO_ADDRESS
|
||||
description: '{{ doc("evm_origin_to") }}'
|
||||
- name: ORIGIN_FUNCTION_SIGNATURE
|
||||
description: '{{ doc("evm_tx_origin_sig") }}'
|
||||
description: "{{ doc('evm_to_address') }}"
|
||||
- name: VALUE
|
||||
description: "{{ doc('evm_value') }}"
|
||||
- name: VALUE_PRECISE_RAW
|
||||
description: "{{ doc('evm_precise_amount_unadjusted') }}"
|
||||
- name: VALUE_PRECISE
|
||||
description: "{{ doc('evm_precise_amount_adjusted') }}"
|
||||
- name: VALUE_HEX
|
||||
description: "{{ doc('evm_value_hex') }}"
|
||||
- name: GAS_USED
|
||||
description: "{{ doc('evm_gas_used') }}"
|
||||
- name: GAS_PRICE
|
||||
description: "{{ doc('evm_gas_price') }}"
|
||||
- name: TX_SUCCEEDED
|
||||
description: "{{ doc('evm_tx_succeeded') }}"
|
||||
- name: EZ_NATIVE_TRANSFERS_ID
|
||||
description: '{{ doc("evm_pk") }}'
|
||||
description: "{{ doc('evm_pk') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: '{{ doc("evm_inserted_timestamp") }}'
|
||||
description: "{{ doc('evm_inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: '{{ doc("evm_modified_timestamp") }}'
|
||||
description: "{{ doc('evm_modified_timestamp') }}"
|
||||
@ -1,52 +1,52 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core_evm__ez_token_transfers
|
||||
description: '{{ doc("evm_ez_token_transfers_table_doc") }}'
|
||||
description: "{{ doc('evm_ez_token_transfers_table_doc') }}"
|
||||
|
||||
columns:
|
||||
- name: BLOCK_NUMBER
|
||||
description: '{{ doc("evm_block_number") }}'
|
||||
description: "{{ doc('evm_block_number') }}"
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: '{{ doc("evm_block_timestamp") }}'
|
||||
description: "{{ doc('evm_block_timestamp') }}"
|
||||
- name: TX_HASH
|
||||
description: '{{ doc("evm_tx_hash") }}'
|
||||
description: "{{ doc('evm_tx_hash') }}"
|
||||
- name: TX_POSITION
|
||||
description: '{{ doc("evm_tx_position") }}'
|
||||
description: "{{ doc('evm_tx_position') }}"
|
||||
- name: EVENT_INDEX
|
||||
description: '{{ doc("evm_event_index") }}'
|
||||
description: "{{ doc('evm_event_index') }}"
|
||||
- name: FROM_ADDRESS
|
||||
description: '{{ doc("evm_transfer_from_address") }}'
|
||||
description: "{{ doc('evm_transfer_from_address') }}"
|
||||
- name: TO_ADDRESS
|
||||
description: '{{ doc("evm_transfer_to_address") }}'
|
||||
description: "{{ doc('evm_transfer_to_address') }}"
|
||||
- name: CONTRACT_ADDRESS
|
||||
description: '{{ doc("evm_contract_address") }}'
|
||||
description: "{{ doc('evm_contract_address') }}"
|
||||
- name: TOKEN_STANDARD
|
||||
description: '{{ doc("evm_token_standard") }}'
|
||||
description: "{{ doc('evm_token_standard') }}"
|
||||
- name: NAME
|
||||
description: '{{ doc("evm_contracts_name") }}'
|
||||
description: "{{ doc('evm_contracts_name') }}"
|
||||
- name: SYMBOL
|
||||
description: '{{ doc("evm_contracts_symbol") }}'
|
||||
description: "{{ doc('evm_contracts_symbol') }}"
|
||||
- name: DECIMALS
|
||||
description: '{{ doc("evm_decimals") }}'
|
||||
description: "{{ doc('evm_decimals') }}"
|
||||
- name: RAW_AMOUNT_PRECISE
|
||||
description: '{{ doc("evm_transfer_raw_amount_precise") }}'
|
||||
description: "{{ doc('evm_transfer_raw_amount_precise') }}"
|
||||
- name: RAW_AMOUNT
|
||||
description: '{{ doc("evm_transfer_raw_amount") }}'
|
||||
description: "{{ doc('evm_transfer_raw_amount') }}"
|
||||
- name: AMOUNT_PRECISE
|
||||
description: '{{ doc("evm_transfer_amount_precise") }}'
|
||||
description: "{{ doc('evm_transfer_amount_precise') }}"
|
||||
- name: AMOUNT
|
||||
description: '{{ doc("evm_transfer_amount") }}'
|
||||
description: "{{ doc('evm_transfer_amount') }}"
|
||||
- name: AMOUNT_USD
|
||||
description: '{{ doc("evm_transfer_amount_usd") }}'
|
||||
description: "{{ doc('evm_transfer_amount_usd') }}"
|
||||
- name: ORIGIN_FUNCTION_SIGNATURE
|
||||
description: '{{ doc("evm_tx_origin_sig") }}'
|
||||
description: "{{ doc('evm_tx_origin_sig') }}"
|
||||
- name: ORIGIN_FROM_ADDRESS
|
||||
description: '{{ doc("evm_origin_from") }}'
|
||||
description: "{{ doc('evm_origin_from') }}"
|
||||
- name: ORIGIN_TO_ADDRESS
|
||||
description: '{{ doc("evm_origin_to") }}'
|
||||
description: "{{ doc('evm_origin_to') }}"
|
||||
- name: EZ_TOKEN_TRANSFERS_ID
|
||||
description: '{{ doc("evm_pk") }}'
|
||||
description: "{{ doc('evm_pk') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: '{{ doc("evm_inserted_timestamp") }}'
|
||||
description: "{{ doc('evm_inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: '{{ doc("evm_modified_timestamp") }}'
|
||||
description: "{{ doc('evm_modified_timestamp') }}"
|
||||
@ -1,56 +1,56 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core_evm__fact_blocks
|
||||
description: '{{ doc("evm_blocks_table_doc") }}'
|
||||
description: "{{ doc('evm_blocks_table_doc') }}"
|
||||
|
||||
columns:
|
||||
- name: BLOCK_NUMBER
|
||||
description: '{{ doc("evm_block_number") }}'
|
||||
description: "{{ doc('evm_block_number') }}"
|
||||
- name: BLOCK_HASH
|
||||
description: '{{ doc("evm_blocks_hash") }}'
|
||||
description: "{{ doc('evm_blocks_hash') }}"
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: '{{ doc("evm_block_timestamp") }}'
|
||||
description: "{{ doc('evm_block_timestamp') }}"
|
||||
- name: NETWORK
|
||||
description: '{{ doc("evm_network") }}'
|
||||
description: "{{ doc('evm_network') }}"
|
||||
- name: TX_COUNT
|
||||
description: '{{ doc("evm_tx_count") }}'
|
||||
description: "{{ doc('evm_tx_count') }}"
|
||||
- name: SIZE
|
||||
description: '{{ doc("evm_size") }}'
|
||||
description: "{{ doc('evm_size') }}"
|
||||
- name: MINER
|
||||
description: '{{ doc("evm_miner") }}'
|
||||
description: "{{ doc('evm_miner') }}"
|
||||
- name: BASE_FEE_PER_GAS
|
||||
description: '{{ doc("evm_base_fee_per_gas") }}'
|
||||
description: "{{ doc('evm_base_fee_per_gas') }}"
|
||||
- name: MIX_HASH
|
||||
description: '{{ doc("evm_mix_hash") }}'
|
||||
description: "{{ doc('evm_mix_hash') }}"
|
||||
- name: EXTRA_DATA
|
||||
description: '{{ doc("evm_extra_data") }}'
|
||||
description: "{{ doc('evm_extra_data') }}"
|
||||
- name: PARENT_HASH
|
||||
description: '{{ doc("evm_parent_hash") }}'
|
||||
description: "{{ doc('evm_parent_hash') }}"
|
||||
- name: GAS_USED
|
||||
description: '{{ doc("evm_gas_used") }}'
|
||||
description: "{{ doc('evm_gas_used') }}"
|
||||
- name: GAS_LIMIT
|
||||
description: '{{ doc("evm_gas_limit") }}'
|
||||
description: "{{ doc('evm_gas_limit') }}"
|
||||
- name: DIFFICULTY
|
||||
description: '{{ doc("evm_difficulty") }}'
|
||||
description: "{{ doc('evm_difficulty') }}"
|
||||
- name: TOTAL_DIFFICULTY
|
||||
description: '{{ doc("evm_total_difficulty") }}'
|
||||
description: "{{ doc('evm_total_difficulty') }}"
|
||||
- name: SHA3_UNCLES
|
||||
description: '{{ doc("evm_sha3_uncles") }}'
|
||||
description: "{{ doc('evm_sha3_uncles') }}"
|
||||
- name: UNCLE_BLOCKS
|
||||
description: '{{ doc("evm_uncle_blocks") }}'
|
||||
description: "{{ doc('evm_uncle_blocks') }}"
|
||||
- name: NONCE
|
||||
description: '{{ doc("evm_blocks_nonce") }}'
|
||||
description: "{{ doc('evm_blocks_nonce') }}"
|
||||
- name: RECEIPTS_ROOT
|
||||
description: '{{ doc("evm_receipts_root") }}'
|
||||
description: "{{ doc('evm_receipts_root') }}"
|
||||
- name: STATE_ROOT
|
||||
description: '{{ doc("evm_state_root") }}'
|
||||
description: "{{ doc('evm_state_root') }}"
|
||||
- name: TRANSACTIONS_ROOT
|
||||
description: '{{ doc("evm_transactions_root") }}'
|
||||
description: "{{ doc('evm_transactions_root') }}"
|
||||
- name: LOGS_BLOOM
|
||||
description: '{{ doc("evm_logs_bloom") }}'
|
||||
description: "{{ doc('evm_logs_bloom') }}"
|
||||
- name: FACT_BLOCKS_ID
|
||||
description: '{{ doc("evm_pk") }}'
|
||||
description: "{{ doc('evm_pk') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: '{{ doc("evm_inserted_timestamp") }}'
|
||||
description: "{{ doc('evm_inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: '{{ doc("evm_modified_timestamp") }}'
|
||||
description: "{{ doc('evm_modified_timestamp') }}"
|
||||
@ -1,46 +1,46 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core_evm__fact_event_logs
|
||||
description: '{{ doc("evm_logs_table_doc") }}'
|
||||
description: "{{ doc('evm_event_logs_table_doc') }}"
|
||||
|
||||
columns:
|
||||
- name: BLOCK_NUMBER
|
||||
description: '{{ doc("evm_block_number") }}'
|
||||
description: "{{ doc('evm_block_number') }}"
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: '{{ doc("evm_block_timestamp") }}'
|
||||
description: "{{ doc('evm_block_timestamp') }}"
|
||||
- name: TX_HASH
|
||||
description: '{{ doc("evm_tx_hash") }}'
|
||||
description: "{{ doc('evm_tx_hash') }}"
|
||||
- name: TX_POSITION
|
||||
description: '{{ doc("evm_tx_position") }}'
|
||||
description: "{{ doc('evm_tx_position') }}"
|
||||
- name: EVENT_INDEX
|
||||
description: '{{ doc("evm_event_index") }}'
|
||||
description: "{{ doc('evm_event_index') }}"
|
||||
- name: CONTRACT_ADDRESS
|
||||
description: '{{ doc("evm_logs_contract_address") }}'
|
||||
description: "{{ doc('evm_logs_contract_address') }}"
|
||||
- name: TOPICS
|
||||
description: '{{ doc("evm_topics") }}'
|
||||
description: "{{ doc('evm_topics') }}"
|
||||
- name: TOPIC_0
|
||||
description: '{{ doc("evm_topic_0") }}'
|
||||
description: "{{ doc('evm_topic_0') }}"
|
||||
- name: TOPIC_1
|
||||
description: '{{ doc("evm_topic_1") }}'
|
||||
description: "{{ doc('evm_topic_1') }}"
|
||||
- name: TOPIC_2
|
||||
description: '{{ doc("evm_topic_2") }}'
|
||||
description: "{{ doc('evm_topic_2') }}"
|
||||
- name: TOPIC_3
|
||||
description: '{{ doc("evm_topic_3") }}'
|
||||
description: "{{ doc('evm_topic_3') }}"
|
||||
- name: DATA
|
||||
description: '{{ doc("evm_logs_data") }}'
|
||||
description: "{{ doc('evm_logs_data') }}"
|
||||
- name: EVENT_REMOVED
|
||||
description: '{{ doc("evm_event_removed") }}'
|
||||
description: "{{ doc('evm_event_removed') }}"
|
||||
- name: ORIGIN_FROM_ADDRESS
|
||||
description: '{{ doc("evm_from_address") }}'
|
||||
description: "{{ doc('evm_from_address') }}"
|
||||
- name: ORIGIN_TO_ADDRESS
|
||||
description: '{{ doc("evm_to_address") }}'
|
||||
description: "{{ doc('evm_to_address') }}"
|
||||
- name: ORIGIN_FUNCTION_SIGNATURE
|
||||
description: '{{ doc("evm_origin_sig") }}'
|
||||
description: "{{ doc('evm_origin_sig') }}"
|
||||
- name: TX_SUCCEEDED
|
||||
description: '{{ doc("evm_tx_succeeded") }}'
|
||||
description: "{{ doc('evm_tx_succeeded') }}"
|
||||
- name: FACT_EVENT_LOGS_ID
|
||||
description: '{{ doc("evm_pk") }}'
|
||||
description: "{{ doc('evm_pk') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: '{{ doc("evm_inserted_timestamp") }}'
|
||||
description: "{{ doc('evm_inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: '{{ doc("evm_modified_timestamp") }}'
|
||||
description: "{{ doc('evm_modified_timestamp') }}"
|
||||
@ -1,62 +1,62 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core_evm__fact_traces
|
||||
description: '{{ doc("evm_traces_table_doc") }}'
|
||||
description: "{{ doc('evm_traces_table_doc') }}"
|
||||
|
||||
columns:
|
||||
- name: BLOCK_NUMBER
|
||||
description: '{{ doc("evm_block_number") }}'
|
||||
description: "{{ doc('evm_block_number') }}"
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: '{{ doc("evm_block_timestamp") }}'
|
||||
description: "{{ doc('evm_block_timestamp') }}"
|
||||
- name: TX_HASH
|
||||
description: '{{ doc("evm_tx_hash") }}'
|
||||
description: "{{ doc('evm_tx_hash') }}"
|
||||
- name: TX_POSITION
|
||||
description: '{{ doc("evm_tx_position") }}'
|
||||
description: "{{ doc('evm_tx_position') }}"
|
||||
- name: TRACE_INDEX
|
||||
description: '{{ doc("evm_trace_index") }}'
|
||||
description: "{{ doc('evm_trace_index') }}"
|
||||
- name: FROM_ADDRESS
|
||||
description: '{{ doc("evm_from_address") }}'
|
||||
description: "{{ doc('evm_from_address') }}"
|
||||
- name: TO_ADDRESS
|
||||
description: '{{ doc("evm_to_address") }}'
|
||||
description: "{{ doc('evm_to_address') }}"
|
||||
- name: INPUT
|
||||
description: '{{ doc("evm_traces_input") }}'
|
||||
description: "{{ doc('evm_traces_input') }}"
|
||||
- name: OUTPUT
|
||||
description: '{{ doc("evm_traces_output") }}'
|
||||
description: "{{ doc('evm_traces_output') }}"
|
||||
- name: TYPE
|
||||
description: '{{ doc("evm_traces_type") }}'
|
||||
description: "{{ doc('evm_traces_type') }}"
|
||||
- name: TRACE_ADDRESS
|
||||
description: '{{ doc("evm_trace_address") }}'
|
||||
description: "{{ doc('evm_trace_address') }}"
|
||||
- name: SUB_TRACES
|
||||
description: '{{ doc("evm_sub_traces") }}'
|
||||
description: "{{ doc('evm_sub_traces') }}"
|
||||
- name: VALUE
|
||||
description: '{{ doc("evm_value") }}'
|
||||
description: "{{ doc('evm_value') }}"
|
||||
- name: VALUE_PRECISE_RAW
|
||||
description: '{{ doc("evm_precise_amount_unadjusted") }}'
|
||||
description: "{{ doc('evm_precise_amount_unadjusted') }}"
|
||||
- name: VALUE_PRECISE
|
||||
description: '{{ doc("evm_precise_amount_adjusted") }}'
|
||||
description: "{{ doc('evm_precise_amount_adjusted') }}"
|
||||
- name: VALUE_HEX
|
||||
description: '{{ doc("evm_value_hex") }}'
|
||||
description: "{{ doc('evm_value_hex') }}"
|
||||
- name: GAS
|
||||
description: '{{ doc("evm_traces_gas") }}'
|
||||
description: "{{ doc('evm_traces_gas') }}"
|
||||
- name: GAS_USED
|
||||
description: '{{ doc("evm_traces_gas_used") }}'
|
||||
description: "{{ doc('evm_traces_gas_used') }}"
|
||||
- name: ORIGIN_FROM_ADDRESS
|
||||
description: '{{ doc("evm_traces_from") }}'
|
||||
description: "{{ doc('evm_traces_from') }}"
|
||||
- name: ORIGIN_TO_ADDRESS
|
||||
description: '{{ doc("evm_traces_to") }}'
|
||||
description: "{{ doc('evm_traces_to') }}"
|
||||
- name: ORIGIN_FUNCTION_SIGNATURE
|
||||
description: '{{ doc("evm_origin_sig") }}'
|
||||
description: "{{ doc('evm_origin_sig') }}"
|
||||
- name: TRACE_SUCCEEDED
|
||||
description: '{{ doc("evm_trace_succeeded") }}'
|
||||
description: "{{ doc('evm_trace_succeeded') }}"
|
||||
- name: ERROR_REASON
|
||||
description: '{{ doc("evm_trace_error_reason") }}'
|
||||
description: "{{ doc('evm_trace_error_reason') }}"
|
||||
- name: REVERT_REASON
|
||||
description: '{{ doc("evm_revert_reason") }}'
|
||||
description: "{{ doc('evm_revert_reason') }}"
|
||||
- name: TX_SUCCEEDED
|
||||
description: '{{ doc("evm_tx_succeeded") }}'
|
||||
description: "{{ doc('evm_tx_succeeded') }}"
|
||||
- name: FACT_TRACES_ID
|
||||
description: '{{ doc("evm_pk") }}'
|
||||
description: "{{ doc('evm_pk') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: '{{ doc("evm_inserted_timestamp") }}'
|
||||
description: "{{ doc('evm_inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: '{{ doc("evm_modified_timestamp") }}'
|
||||
description: "{{ doc('evm_modified_timestamp') }}"
|
||||
@ -1,68 +1,44 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core_evm__fact_transactions
|
||||
description: '{{ doc("evm_tx_table_doc") }}'
|
||||
description: "{{ doc('evm_transactions_table_doc') }}"
|
||||
|
||||
columns:
|
||||
- name: BLOCK_NUMBER
|
||||
description: '{{ doc("evm_block_number") }}'
|
||||
description: "{{ doc('evm_block_number') }}"
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: '{{ doc("evm_block_timestamp") }}'
|
||||
description: "{{ doc('evm_block_timestamp') }}"
|
||||
- name: TX_HASH
|
||||
description: '{{ doc("evm_tx_hash") }}'
|
||||
- name: FROM_ADDRESS
|
||||
description: '{{ doc("evm_from_address") }}'
|
||||
- name: TO_ADDRESS
|
||||
description: '{{ doc("evm_to_address") }}'
|
||||
- name: ORIGIN_FUNCTION_SIGNATURE
|
||||
description: '{{ doc("evm_tx_origin_sig") }}'
|
||||
- name: VALUE
|
||||
description: '{{ doc("evm_value") }}'
|
||||
- name: VALUE_PRECISE_RAW
|
||||
description: '{{ doc("evm_precise_amount_unadjusted") }}'
|
||||
- name: VALUE_PRECISE
|
||||
description: '{{ doc("evm_precise_amount_adjusted") }}'
|
||||
- name: TX_FEE
|
||||
description: '{{ doc("evm_tx_fee") }}'
|
||||
- name: TX_FEE_PRECISE
|
||||
description: '{{ doc("evm_tx_fee_precise") }}'
|
||||
- name: TX_SUCCEEDED
|
||||
description: '{{ doc("evm_tx_succeeded") }}'
|
||||
- name: TX_TYPE
|
||||
description: '{{ doc("evm_tx_type") }}'
|
||||
- name: NONCE
|
||||
description: '{{ doc("evm_tx_nonce") }}'
|
||||
description: "{{ doc('evm_tx_hash') }}"
|
||||
- name: TX_POSITION
|
||||
description: '{{ doc("evm_tx_position") }}'
|
||||
- name: INPUT_DATA
|
||||
description: '{{ doc("evm_tx_input_data") }}'
|
||||
description: "{{ doc('evm_tx_position') }}"
|
||||
- name: FROM_ADDRESS
|
||||
description: "{{ doc('evm_from_address') }}"
|
||||
- name: TO_ADDRESS
|
||||
description: "{{ doc('evm_to_address') }}"
|
||||
- name: VALUE
|
||||
description: "{{ doc('evm_value') }}"
|
||||
- name: VALUE_PRECISE_RAW
|
||||
description: "{{ doc('evm_precise_amount_unadjusted') }}"
|
||||
- name: VALUE_PRECISE
|
||||
description: "{{ doc('evm_precise_amount_adjusted') }}"
|
||||
- name: VALUE_HEX
|
||||
description: "{{ doc('evm_value_hex') }}"
|
||||
- name: GAS
|
||||
description: "{{ doc('evm_gas') }}"
|
||||
- name: GAS_PRICE
|
||||
description: '{{ doc("evm_tx_gas_price") }}'
|
||||
description: "{{ doc('evm_gas_price') }}"
|
||||
- name: GAS_USED
|
||||
description: '{{ doc("evm_tx_gas_used") }}'
|
||||
- name: GAS_LIMIT
|
||||
description: '{{ doc("evm_tx_gas_limit") }}'
|
||||
- name: CUMULATIVE_GAS_USED
|
||||
description: '{{ doc("evm_cumulative_gas_used") }}'
|
||||
- name: EFFECTIVE_GAS_PRICE
|
||||
description: '{{ doc("evm_effective_gas_price") }}'
|
||||
- name: R
|
||||
description: '{{ doc("evm_r") }}'
|
||||
- name: S
|
||||
description: '{{ doc("evm_s") }}'
|
||||
- name: V
|
||||
description: '{{ doc("evm_v") }}'
|
||||
- name: MAX_FEE_PER_GAS
|
||||
description: '{{ doc("evm_max_fee_per_gas") }}'
|
||||
- name: MAX_PRIORITY_FEE_PER_GAS
|
||||
description: '{{ doc("evm_max_priority_fee_per_gas") }}'
|
||||
- name: Y_PARITY
|
||||
description: '{{ doc("evm_y_parity") }}'
|
||||
- name: ACCESS_LIST
|
||||
description: '{{ doc("evm_access_list") }}'
|
||||
description: "{{ doc('evm_gas_used') }}"
|
||||
- name: NONCE
|
||||
description: "{{ doc('evm_nonce') }}"
|
||||
- name: INPUT
|
||||
description: "{{ doc('evm_input') }}"
|
||||
- name: TX_SUCCEEDED
|
||||
description: "{{ doc('evm_tx_succeeded') }}"
|
||||
- name: FACT_TRANSACTIONS_ID
|
||||
description: '{{ doc("evm_pk") }}'
|
||||
description: "{{ doc('evm_pk') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: '{{ doc("evm_inserted_timestamp") }}'
|
||||
description: "{{ doc('evm_inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: '{{ doc("evm_modified_timestamp") }}'
|
||||
description: "{{ doc('evm_modified_timestamp') }}"
|
||||
@ -1,14 +1,20 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core_evm__dim_contract_abis
|
||||
description: '{{ doc("evm_abis_table_doc") }}'
|
||||
description: "{{ doc('evm_abis_table_doc') }}"
|
||||
|
||||
columns:
|
||||
- name: CONTRACT_ADDRESS
|
||||
description: '{{ doc("evm_contracts_contract_address") }}'
|
||||
description: "{{ doc('evm_contract_address') }}"
|
||||
- name: ABI
|
||||
description: '{{ doc("abi") }}'
|
||||
description: "{{ doc('evm_abi') }}"
|
||||
- name: ABI_SOURCE
|
||||
description: '{{ doc("abi_source") }}'
|
||||
description: "{{ doc('evm_abi_source') }}"
|
||||
- name: BYTECODE
|
||||
description: '{{ doc("bytecode") }}'
|
||||
description: "{{ doc('evm_bytecode') }}"
|
||||
- name: DIM_CONTRACT_ABIS_ID
|
||||
description: "{{ doc('evm_pk') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: "{{ doc('evm_inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: "{{ doc('evm_modified_timestamp') }}"
|
||||
@ -1,54 +1,54 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core_evm__ez_decoded_event_logs
|
||||
description: '{{ doc("core_decoded_event_logs_table_doc") }}'
|
||||
description: "{{ doc('core_decoded_event_logs_table_doc') }}"
|
||||
|
||||
columns:
|
||||
- name: BLOCK_NUMBER
|
||||
description: '{{ doc("evm_block_number") }}'
|
||||
description: "{{ doc('evm_block_number') }}"
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: '{{ doc("evm_block_timestamp") }}'
|
||||
description: "{{ doc('evm_block_timestamp') }}"
|
||||
- name: TX_HASH
|
||||
description: '{{ doc("evm_tx_hash") }}'
|
||||
description: "{{ doc('evm_tx_hash') }}"
|
||||
- name: TX_POSITION
|
||||
description: '{{ doc("evm_tx_position") }}'
|
||||
description: "{{ doc('evm_tx_position') }}"
|
||||
- name: EVENT_INDEX
|
||||
description: '{{ doc("evm_event_index") }}'
|
||||
description: "{{ doc('evm_event_index') }}"
|
||||
- name: CONTRACT_ADDRESS
|
||||
description: '{{ doc("evm_contract_address") }}'
|
||||
description: "{{ doc('evm_logs_contract_address') }}"
|
||||
- name: TOPICS
|
||||
description: '{{ doc("evm_topics") }}'
|
||||
description: "{{ doc('evm_topics') }}"
|
||||
- name: TOPIC_0
|
||||
description: '{{ doc("evm_topic_0") }}'
|
||||
description: "{{ doc('evm_topic_0') }}"
|
||||
- name: TOPIC_1
|
||||
description: '{{ doc("evm_topic_1") }}'
|
||||
description: "{{ doc('evm_topic_1') }}"
|
||||
- name: TOPIC_2
|
||||
description: '{{ doc("evm_topic_2") }}'
|
||||
description: "{{ doc('evm_topic_2') }}"
|
||||
- name: TOPIC_3
|
||||
description: '{{ doc("evm_topic_3") }}'
|
||||
description: "{{ doc('evm_topic_3') }}"
|
||||
- name: DATA
|
||||
description: '{{ doc("evm_logs_data") }}'
|
||||
description: "{{ doc('evm_logs_data') }}"
|
||||
- name: EVENT_REMOVED
|
||||
description: '{{ doc("evm_event_removed") }}'
|
||||
description: "{{ doc('evm_event_removed') }}"
|
||||
- name: ORIGIN_FROM_ADDRESS
|
||||
description: '{{ doc("evm_origin_from") }}'
|
||||
description: "{{ doc('evm_origin_from') }}"
|
||||
- name: ORIGIN_TO_ADDRESS
|
||||
description: '{{ doc("evm_origin_to") }}'
|
||||
description: "{{ doc('evm_origin_to') }}"
|
||||
- name: ORIGIN_FUNCTION_SIGNATURE
|
||||
description: '{{ doc("evm_origin_sig") }}'
|
||||
description: "{{ doc('evm_origin_sig') }}"
|
||||
- name: TX_SUCCEEDED
|
||||
description: '{{ doc("evm_tx_succeeded") }}'
|
||||
description: "{{ doc('evm_tx_succeeded') }}"
|
||||
- name: EVENT_NAME
|
||||
description: '{{ doc("evm_event_name") }}'
|
||||
description: "{{ doc('evm_event_name') }}"
|
||||
- name: FULL_DECODED_LOG
|
||||
description: '{{ doc("evm_full_decoded_log") }}'
|
||||
description: "{{ doc('evm_full_decoded_log') }}"
|
||||
- name: DECODED_LOG
|
||||
description: '{{ doc("evm_decoded_log") }}'
|
||||
description: "{{ doc('evm_decoded_log') }}"
|
||||
- name: CONTRACT_NAME
|
||||
description: '{{ doc("evm_contract_name") }}'
|
||||
description: "{{ doc('evm_contract_name') }}"
|
||||
- name: EZ_DECODED_EVENT_LOGS_ID
|
||||
description: '{{ doc("evm_pk") }}'
|
||||
description: "{{ doc('evm_pk') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: '{{ doc("evm_inserted_timestamp") }}'
|
||||
description: "{{ doc('evm_inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: '{{ doc("evm_modified_timestamp") }}'
|
||||
description: "{{ doc('evm_modified_timestamp') }}"
|
||||
@ -2,4 +2,4 @@ version: 2
|
||||
|
||||
models:
|
||||
- name: beta__dim_nfl_athletes
|
||||
description: '{{ doc("beta__dim_nfl_athletes") }}'
|
||||
description: "{{ doc('beta__dim_nfl_athletes') }}"
|
||||
|
||||
@ -2,5 +2,5 @@ version: 2
|
||||
|
||||
models:
|
||||
- name: beta__dim_nfl_teams
|
||||
description: '{{ doc("beta__dim_nfl_teams") }}'
|
||||
description: "{{ doc('beta__dim_nfl_teams') }}"
|
||||
|
||||
|
||||
@ -2,4 +2,4 @@ version: 2
|
||||
|
||||
models:
|
||||
- name: beta__dim_nflad_playoff_rosters
|
||||
description: '{{ doc("beta__dim_nflad_playoff_rosters") }}'
|
||||
description: "{{ doc('beta__dim_nflad_playoff_rosters') }}"
|
||||
|
||||
@ -1,34 +1,34 @@
|
||||
version: 2
|
||||
models:
|
||||
- name: core__dim_labels
|
||||
description: '{{ doc("core__dim_labels") }}'
|
||||
description: "{{ doc('core__dim_labels') }}"
|
||||
columns:
|
||||
- name: BLOCKCHAIN
|
||||
description: '{{ doc("blockchain") }}'
|
||||
description: "{{ doc('blockchain') }}"
|
||||
|
||||
- name: CREATOR
|
||||
description: '{{ doc("creator") }}'
|
||||
description: "{{ doc('creator') }}"
|
||||
|
||||
- name: ADDRESS
|
||||
description: '{{ doc("address") }}'
|
||||
description: "{{ doc('address') }}"
|
||||
|
||||
- name: ADDRESS_NAME
|
||||
description: '{{ doc("address_name") }}'
|
||||
description: "{{ doc('address_name') }}"
|
||||
|
||||
- name: LABEL_TYPE
|
||||
description: '{{ doc("label_type") }}'
|
||||
description: "{{ doc('label_type') }}"
|
||||
|
||||
- name: LABEL_SUBTYPE
|
||||
description: '{{ doc("label_subtype") }}'
|
||||
description: "{{ doc('label_subtype') }}"
|
||||
|
||||
- name: LABEL
|
||||
description: '{{ doc("label") }}'
|
||||
description: "{{ doc('label') }}"
|
||||
|
||||
- name: DIM_LABELS_ID
|
||||
description: "{{doc('id')}}"
|
||||
description: "{{ doc('id') }}"
|
||||
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: "{{doc('inserted_timestamp')}}"
|
||||
description: "{{ doc('inserted_timestamp') }}"
|
||||
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: "{{doc('modified_timestamp')}}"
|
||||
description: "{{ doc('modified_timestamp') }}"
|
||||
|
||||
@ -2,7 +2,7 @@ version: 2
|
||||
|
||||
models:
|
||||
- name: gov__dim_validator_labels
|
||||
description: '{{ doc("gov__dim_validator_labels") }}'
|
||||
description: "{{ doc('gov__dim_validator_labels') }}"
|
||||
|
||||
tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
|
||||
@ -2,7 +2,7 @@ version: 2
|
||||
|
||||
models:
|
||||
- name: gov__ez_staking_actions
|
||||
description: '{{ doc("gov__ez_staking_actions") }}'
|
||||
description: "{{ doc('gov__ez_staking_actions') }}"
|
||||
|
||||
tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
@ -11,12 +11,12 @@ models:
|
||||
- event_index
|
||||
|
||||
columns:
|
||||
- name: tx_id
|
||||
- name: TX_ID
|
||||
description: "{{ doc('tx_id') }}"
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: block_timestamp
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: "{{ doc('block_timestamp') }}"
|
||||
tests:
|
||||
- not_null
|
||||
@ -27,7 +27,7 @@ models:
|
||||
column_type_list:
|
||||
- TIMESTAMP_NTZ
|
||||
|
||||
- name: block_height
|
||||
- name: BLOCK_HEIGHT
|
||||
description: "{{ doc('block_height') }}"
|
||||
tests:
|
||||
- not_null
|
||||
@ -36,7 +36,7 @@ models:
|
||||
- NUMBER
|
||||
- FLOAT
|
||||
|
||||
- name: tx_succeeded
|
||||
- name: TX_SUCCEEDED
|
||||
description: "{{ doc('tx_succeeded') }}"
|
||||
tests:
|
||||
- not_null
|
||||
@ -44,7 +44,7 @@ models:
|
||||
column_type_list:
|
||||
- BOOLEAN
|
||||
|
||||
- name: delegator
|
||||
- name: DELEGATOR
|
||||
description: "{{ doc('delegator') }}"
|
||||
tests:
|
||||
- not_null:
|
||||
@ -54,10 +54,10 @@ models:
|
||||
- VARCHAR
|
||||
- STRING
|
||||
|
||||
- name: delegator_id
|
||||
- name: DELEGATOR_ADDRESS
|
||||
description: "{{ doc('delegator') }}"
|
||||
|
||||
- name: action
|
||||
- name: ACTION
|
||||
description: "{{ doc('action') }}"
|
||||
tests:
|
||||
- not_null
|
||||
@ -66,7 +66,7 @@ models:
|
||||
- VARCHAR
|
||||
- STRING
|
||||
|
||||
- name: amount
|
||||
- name: AMOUNT
|
||||
description: "{{ doc('amount') }}"
|
||||
tests:
|
||||
- not_null
|
||||
@ -76,7 +76,7 @@ models:
|
||||
- FLOAT
|
||||
- DOUBLE
|
||||
|
||||
- name: node_id
|
||||
- name: NODE_ID
|
||||
description: "{{ doc('node_id') }}"
|
||||
tests:
|
||||
- not_null
|
||||
@ -85,7 +85,7 @@ models:
|
||||
- VARCHAR
|
||||
- STRING
|
||||
|
||||
- name: EZ_STAKING_ACTIONS_ID
|
||||
- name: PK_ID
|
||||
description: "{{ doc('pk_id') }}"
|
||||
|
||||
- name: INSERTED_TIMESTAMP
|
||||
|
||||
@ -1,23 +1,22 @@
|
||||
version: 2
|
||||
|
||||
models:
|
||||
- name: price__dim_asset_metadata
|
||||
description: '{{ doc("price__dim_asset_metadata") }}'
|
||||
|
||||
description: "{{ doc('price__dim_asset_metadata') }}"
|
||||
columns:
|
||||
- name: PROVIDER
|
||||
description: '{{ doc("prices_provider")}}'
|
||||
- name: ASSET_ID
|
||||
description: '{{ doc("prices_asset_id") }}'
|
||||
- name: NAME
|
||||
description: '{{ doc("prices_name") }}'
|
||||
- name: SYMBOL
|
||||
description: '{{ doc("prices_symbol") }}'
|
||||
- name: TOKEN_ADDRESS
|
||||
description: '{{ doc("prices_token_address") }}'
|
||||
- name: BLOCKCHAIN
|
||||
description: '{{ doc("prices_blockchain") }}'
|
||||
- name: BLOCKCHAIN_ID
|
||||
description: '{{ doc("prices_blockchain_id") }}'
|
||||
- name: DIM_ASSET_METADATA_ID
|
||||
description: '{{ doc("pk_id") }}'
|
||||
- name: INSERTED_TIMESTAMP
|
||||
- name: PRICES_PROVIDER
|
||||
description: "{{ doc('prices_provider') }}"
|
||||
- name: PRICES_ASSET_ID
|
||||
description: "{{ doc('prices_asset_id') }}"
|
||||
- name: PRICES_NAME
|
||||
description: "{{ doc('prices_name') }}"
|
||||
- name: PRICES_SYMBOL
|
||||
description: "{{ doc('prices_symbol') }}"
|
||||
- name: PRICES_TOKEN_ADDRESS
|
||||
description: "{{ doc('prices_token_address') }}"
|
||||
- name: PRICES_BLOCKCHAIN
|
||||
description: "{{ doc('prices_blockchain') }}"
|
||||
- name: PRICES_BLOCKCHAIN_ID
|
||||
description: "{{ doc('prices_blockchain_id') }}"
|
||||
- name: PK_ID
|
||||
description: "{{ doc('pk_id') }}"
|
||||
|
||||
@ -1,28 +1,28 @@
|
||||
version: 2
|
||||
|
||||
models:
|
||||
- name: price__ez_asset_metadata
|
||||
description: '{{ doc("price__ez_asset_metadata") }}'
|
||||
|
||||
description: "{{ doc('price__ez_asset_metadata') }}"
|
||||
columns:
|
||||
- name: ASSET_ID
|
||||
description: '{{ doc("prices_asset_id") }}'
|
||||
- name: NAME
|
||||
description: '{{ doc("prices_name") }}'
|
||||
- name: SYMBOL
|
||||
description: '{{ doc("prices_symbol") }}'
|
||||
- name: TOKEN_ADDRESS
|
||||
description: '{{ doc("prices_token_address") }}'
|
||||
- name: IS_DEPRECATED
|
||||
description: '{{ doc("prices_is_deprecated") }}'
|
||||
- name: BLOCKCHAIN
|
||||
description: '{{ doc("prices_blockchain") }}'
|
||||
- name: DECIMALS
|
||||
description: '{{ doc("prices_decimals") }}'
|
||||
- name: IS_NATIVE
|
||||
description: '{{ doc("prices_is_native") }}'
|
||||
- name: EZ_ASSET_METADATA_ID
|
||||
description: '{{ doc("pk_id") }}'
|
||||
- name: PRICES_ASSET_ID
|
||||
description: "{{ doc('prices_asset_id') }}"
|
||||
- name: PRICES_NAME
|
||||
description: "{{ doc('prices_name') }}"
|
||||
- name: PRICES_SYMBOL
|
||||
description: "{{ doc('prices_symbol') }}"
|
||||
- name: PRICES_TOKEN_ADDRESS
|
||||
description: "{{ doc('prices_token_address') }}"
|
||||
- name: PRICES_IS_DEPRECATED
|
||||
description: "{{ doc('prices_is_deprecated') }}"
|
||||
- name: PRICES_BLOCKCHAIN
|
||||
description: "{{ doc('prices_blockchain') }}"
|
||||
- name: PRICES_DECIMALS
|
||||
description: "{{ doc('prices_decimals') }}"
|
||||
- name: PRICES_IS_NATIVE
|
||||
description: "{{ doc('prices_is_native') }}"
|
||||
- name: PK_ID
|
||||
description: "{{ doc('pk_id') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: '{{ doc("inserted_timestamp") }}'
|
||||
description: "{{ doc('inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: '{{ doc("modified_timestamp") }}'
|
||||
description: "{{ doc('modified_timestamp') }}"
|
||||
|
||||
@ -1,30 +1,30 @@
|
||||
version: 2
|
||||
|
||||
models:
|
||||
- name: price__ez_prices_hourly
|
||||
description: '{{ doc("price__ez_prices_hourly") }}'
|
||||
|
||||
description: "{{ doc('price__ez_prices_hourly') }}"
|
||||
columns:
|
||||
- name: HOUR
|
||||
description: '{{ doc("prices_hour")}}'
|
||||
- name: TOKEN_ADDRESS
|
||||
description: '{{ doc("prices_token_address") }}'
|
||||
- name: SYMBOL
|
||||
description: '{{ doc("prices_symbol") }}'
|
||||
- name: BLOCKCHAIN
|
||||
description: '{{ doc("prices_blockchain") }}'
|
||||
- name: DECIMALS
|
||||
description: '{{ doc("prices_decimals") }}'
|
||||
- name: PRICE
|
||||
description: '{{ doc("prices_price") }}'
|
||||
- name: IS_NATIVE
|
||||
description: '{{ doc("prices_is_native") }}'
|
||||
- name: IS_IMPUTED
|
||||
description: '{{ doc("prices_is_imputed") }}'
|
||||
- name: IS_DEPRECATED
|
||||
description: '{{ doc("prices_is_deprecated") }}'
|
||||
- name: EZ_PRICES_HOURLY_ID
|
||||
description: '{{ doc("pk_id") }}'
|
||||
- name: PRICES_HOUR
|
||||
description: "{{ doc('prices_hour') }}"
|
||||
- name: PRICES_TOKEN_ADDRESS
|
||||
description: "{{ doc('prices_token_address') }}"
|
||||
- name: PRICES_SYMBOL
|
||||
description: "{{ doc('prices_symbol') }}"
|
||||
- name: PRICES_BLOCKCHAIN
|
||||
description: "{{ doc('prices_blockchain') }}"
|
||||
- name: PRICES_DECIMALS
|
||||
description: "{{ doc('prices_decimals') }}"
|
||||
- name: PRICES_PRICE
|
||||
description: "{{ doc('prices_price') }}"
|
||||
- name: PRICES_IS_NATIVE
|
||||
description: "{{ doc('prices_is_native') }}"
|
||||
- name: PRICES_IS_IMPUTED
|
||||
description: "{{ doc('prices_is_imputed') }}"
|
||||
- name: PRICES_IS_DEPRECATED
|
||||
description: "{{ doc('prices_is_deprecated') }}"
|
||||
- name: PK_ID
|
||||
description: "{{ doc('pk_id') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: '{{ doc("inserted_timestamp") }}'
|
||||
description: "{{ doc('inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: '{{ doc("modified_timestamp") }}'
|
||||
description: "{{ doc('modified_timestamp') }}"
|
||||
|
||||
@ -1,24 +1,24 @@
|
||||
version: 2
|
||||
|
||||
models:
|
||||
- name: price__fact_prices_ohlc_hourly
|
||||
description: '{{ doc("price__fact_prices_ohlc_hourly") }}'
|
||||
|
||||
description: "{{ doc('price__fact_prices_ohlc_hourly') }}"
|
||||
columns:
|
||||
- name: HOUR
|
||||
description: '{{ doc("prices_hour")}}'
|
||||
- name: ASSET_ID
|
||||
description: '{{ doc("prices_asset_id") }}'
|
||||
- name: OPEN
|
||||
description: '{{ doc("prices_open") }}'
|
||||
- name: HIGH
|
||||
description: '{{ doc("prices_high") }}'
|
||||
- name: LOW
|
||||
description: '{{ doc("prices_low") }}'
|
||||
- name: CLOSE
|
||||
description: '{{ doc("prices_close") }}'
|
||||
- name: FACT_PRICES_OHLC_HOURLY_ID
|
||||
description: '{{ doc("pk_id") }}'
|
||||
- name: PRICES_HOUR
|
||||
description: "{{ doc('prices_hour') }}"
|
||||
- name: PRICES_ASSET_ID
|
||||
description: "{{ doc('prices_asset_id') }}"
|
||||
- name: PRICES_OPEN
|
||||
description: "{{ doc('prices_open') }}"
|
||||
- name: PRICES_HIGH
|
||||
description: "{{ doc('prices_high') }}"
|
||||
- name: PRICES_LOW
|
||||
description: "{{ doc('prices_low') }}"
|
||||
- name: PRICES_CLOSE
|
||||
description: "{{ doc('prices_close') }}"
|
||||
- name: PK_ID
|
||||
description: "{{ doc('pk_id') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: '{{ doc("inserted_timestamp") }}'
|
||||
description: "{{ doc('inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: '{{ doc("modified_timestamp") }}'
|
||||
description: "{{ doc('modified_timestamp') }}"
|
||||
|
||||
@ -2,136 +2,36 @@ version: 2
|
||||
|
||||
models:
|
||||
- name: rewards__dim_storefront_items
|
||||
description: '{{ doc("rewards__dim_storefront_items") }}'
|
||||
description: "{{ doc('rewards__dim_storefront_items') }}"
|
||||
tests:
|
||||
- dbt_utils.recency:
|
||||
datepart: day
|
||||
field: request_timestamp
|
||||
field: INSERTED_TIMESTAMP
|
||||
interval: 1
|
||||
severity: warn
|
||||
|
||||
columns:
|
||||
- name: STORE_ID
|
||||
description: "{{ doc('store_id') }}"
|
||||
- name: ITEM_ID
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: CREATED_AT
|
||||
|
||||
- name: ADDITIONAL_MEDIA
|
||||
|
||||
- name: ANIMATION_URL
|
||||
|
||||
- name: ARTIST_INFO
|
||||
|
||||
- name: ASSET_NR
|
||||
|
||||
- name: ATTRIBUTES
|
||||
|
||||
- name: AUCTION_ID
|
||||
|
||||
- name: AUCTION_ITEMS
|
||||
|
||||
- name: BURN_TO_REDEEM_DETAILS
|
||||
|
||||
- name: BURN_TO_REDEEM_TYPE
|
||||
|
||||
- name: BURNED_AT
|
||||
|
||||
- name: CONTRACT_ADDRESS
|
||||
|
||||
- name: CURRENCY_ADDRESS
|
||||
|
||||
- name: CURRENCY_DECIMALS
|
||||
|
||||
- name: DELETED_AT
|
||||
|
||||
- name: DESCRIPTION
|
||||
|
||||
- name: DOES_REQUIRE_W9
|
||||
|
||||
- name: ENABLE_BURN_TO_REDEEM
|
||||
|
||||
- name: IMAGE_URL
|
||||
|
||||
- name: IS_LISTED
|
||||
|
||||
- name: IS_PHYGTAL_ITEM
|
||||
|
||||
- name: IS_PRICE_IN_USD
|
||||
|
||||
- name: IS_REDEEMABLE_SEPARATE_FROM_PURCHASE
|
||||
|
||||
- name: LISTING_ENDS_AT
|
||||
|
||||
- name: listing_starts_at
|
||||
|
||||
- name: LISTING_TYPE
|
||||
|
||||
- name: LOYALTY_CURRENCY
|
||||
|
||||
- name: LOYALTY_CURRENCY_ID
|
||||
|
||||
- name: METADATA_URI
|
||||
|
||||
- name: MINT_STATUS
|
||||
|
||||
- name: MINTING_CONTRACT
|
||||
|
||||
- name: MINTING_CONTRACT_ASSET_MINT_STATUS
|
||||
|
||||
- name: MINTING_CONTRACT_ID
|
||||
|
||||
- name: NAME
|
||||
|
||||
- name: NETWORK
|
||||
|
||||
- name: ORGANIZATION_ID
|
||||
|
||||
- name: PER_USER_MINT_LIMIT
|
||||
|
||||
- name: PER_USER_MINT_MIN_LIMIT
|
||||
|
||||
- name: PRE_REVEAL_MEDIA
|
||||
|
||||
- name: PRICE
|
||||
|
||||
- name: QUANTITY
|
||||
|
||||
- name: QUANTITY_MINTED
|
||||
|
||||
- name: REDEEMABLE_UNTIL
|
||||
|
||||
- name: REVEALED_AT
|
||||
|
||||
- name: SHIPPING_PRICE
|
||||
|
||||
- name: SHIPPING_WITHIN
|
||||
|
||||
- name: STATUS_TRACKER
|
||||
|
||||
- name: TOKEN_ID
|
||||
|
||||
- name: TOKEN_TYPE
|
||||
|
||||
- name: UPDATED_AT
|
||||
|
||||
- name: WEBSITE_ID
|
||||
|
||||
- name: RESPONSE_JSON
|
||||
|
||||
- name: DIM_STOREFRONT_ITEMS_ID
|
||||
tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
description: "{{ doc('item_id') }}"
|
||||
- name: ITEM_TYPE
|
||||
description: "{{ doc('item_type') }}"
|
||||
- name: ITEM_NAME
|
||||
description: "{{ doc('item_name') }}"
|
||||
- name: ITEM_DESCRIPTION
|
||||
description: "{{ doc('item_description') }}"
|
||||
- name: ITEM_PRICE
|
||||
description: "{{ doc('item_price') }}"
|
||||
- name: ITEM_CURRENCY
|
||||
description: "{{ doc('item_currency') }}"
|
||||
- name: ITEM_IMAGE_URL
|
||||
description: "{{ doc('item_image_url') }}"
|
||||
- name: ITEM_AVAILABLE
|
||||
description: "{{ doc('item_available') }}"
|
||||
- name: DIM_STORE_ID
|
||||
description: "{{ doc('pk_id') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
description: "{{ doc('inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: REQUEST_TIMESTAMP
|
||||
tests:
|
||||
- not_null
|
||||
description: "{{ doc('modified_timestamp') }}"
|
||||
|
||||
@ -2,53 +2,21 @@ version: 2
|
||||
|
||||
models:
|
||||
- name: rewards__fact_points_balances
|
||||
description: '{{ doc("rewards__fact_points_balances") }}'
|
||||
description: "{{ doc('rewards__fact_points_balances') }}"
|
||||
tests:
|
||||
- dbt_utils.recency:
|
||||
datepart: day
|
||||
field: request_date
|
||||
field: INSERTED_TIMESTAMP
|
||||
interval: 1
|
||||
|
||||
columns:
|
||||
|
||||
- name: ADDRESS
|
||||
description: "The EVM address of the account"
|
||||
|
||||
- name: BOXES
|
||||
description: "The number of boxes owned by the account at the time of the request"
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
column_type_list:
|
||||
- NUMBER
|
||||
|
||||
- name: BOXES_OPENED
|
||||
description: "The number of boxes opened by the account at the time of the request"
|
||||
|
||||
- name: KEYS
|
||||
description: "The number of keys owned by the account at the time of the request"
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
column_type_list:
|
||||
- NUMBER
|
||||
|
||||
- name: POINTS
|
||||
description: "The number of points accrued by the account at the time of the request"
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
column_type_list:
|
||||
- NUMBER
|
||||
|
||||
- name: REQUEST_DATE
|
||||
description: "The date of the request"
|
||||
- name: USER_ID
|
||||
description: "{{ doc('user_id') }}"
|
||||
- name: POINTS_BALANCE
|
||||
description: "{{ doc('points_balance') }}"
|
||||
- name: FACT_POINTS_BALANCES_ID
|
||||
tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
description: "{{ doc('pk_id') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
description: "{{ doc('inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
tests:
|
||||
- not_null
|
||||
description: "{{ doc('modified_timestamp') }}"
|
||||
|
||||
@ -2,7 +2,7 @@ version: 2
|
||||
|
||||
models:
|
||||
- name: rewards__fact_points_transfers
|
||||
description: '{{ doc("rewards__fact_points_transfers") }}'
|
||||
description: "{{ doc('rewards__fact_points_transfers') }}"
|
||||
tests:
|
||||
- dbt_utils.recency:
|
||||
datepart: day
|
||||
|
||||
@ -2,7 +2,7 @@ version: 2
|
||||
|
||||
models:
|
||||
- name: rewards__fact_transaction_entries
|
||||
description: '{{ doc("rewards__fact_transaction_entries") }}'
|
||||
description: "{{ doc('rewards__fact_transaction_entries') }}"
|
||||
tests:
|
||||
- dbt_utils.recency:
|
||||
datepart: day
|
||||
@ -11,36 +11,36 @@ models:
|
||||
|
||||
columns:
|
||||
- name: ENTRY_ID
|
||||
description: '{{ doc("entry_id") }}'
|
||||
description: "{{ doc('entry_id') }}"
|
||||
- name: CREATED_AT
|
||||
description: '{{ doc("created_at") }}'
|
||||
description: "{{ doc('created_at') }}"
|
||||
- name: DIRECTION
|
||||
description: '{{ doc("direction") }}'
|
||||
description: "{{ doc('direction') }}"
|
||||
- name: AMOUNT
|
||||
description: '{{ doc("amount") }}'
|
||||
description: "{{ doc('amount') }}"
|
||||
- name: AMOUNT_START
|
||||
description: '{{ doc("amount_start") }}'
|
||||
description: "{{ doc('amount_start') }}"
|
||||
- name: AMOUNT_END
|
||||
description: '{{ doc("amount_end") }}'
|
||||
description: "{{ doc('amount_end') }}"
|
||||
- name: ACCOUNT_ID
|
||||
description: '{{ doc("account_id") }}'
|
||||
description: "{{ doc('account_id') }}"
|
||||
- name: USER_ID
|
||||
description: '{{ doc("user_id") }}'
|
||||
description: "{{ doc('user_id') }}"
|
||||
- name: USER_WALLET_ADDRESS
|
||||
description: '{{ doc("user_wallet_address") }}'
|
||||
description: "{{ doc('user_wallet_address') }}"
|
||||
- name: TRANSACTION_ID
|
||||
description: '{{ doc("transaction_id") }}'
|
||||
description: "{{ doc('transaction_id') }}"
|
||||
- name: DATA
|
||||
description: '{{ doc("DATA") }}'
|
||||
description: "{{ doc('DATA') }}"
|
||||
- name: PARTITION_KEY
|
||||
description: '{{ doc("partition_key") }}'
|
||||
description: "{{ doc('partition_key') }}"
|
||||
- name: INDEX
|
||||
description: '{{ doc("INDEX") }}'
|
||||
description: "{{ doc('INDEX') }}"
|
||||
- name: _INSERTED_TIMESTAMP
|
||||
description: '{{ doc("_inserted_timestamp") }}'
|
||||
description: "{{ doc('_inserted_timestamp') }}"
|
||||
- name: FACT_TRANSACTION_ENTRIES_ID
|
||||
description: '{{ doc("pk_id") }}'
|
||||
description: "{{ doc('pk_id') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: '{{ doc("inserted_timestamp") }}'
|
||||
description: "{{ doc('inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: '{{ doc("modified_timestamp") }}'
|
||||
description: "{{ doc('modified_timestamp') }}"
|
||||
|
||||
@ -1,34 +1,34 @@
|
||||
version: 2
|
||||
|
||||
models:
|
||||
- name: stats__ez_core_metrics_hourly
|
||||
description: '{{ doc("stats__ez_core_metrics_hourly") }}'
|
||||
|
||||
description: "{{ doc('stats__ez_core_metrics_hourly') }}"
|
||||
columns:
|
||||
- name: BLOCK_TIMESTAMP_HOUR
|
||||
description: '{{ doc("block_timestamp_hour") }}'
|
||||
description: "{{ doc('block_timestamp_hour') }}"
|
||||
- name: BLOCK_NUMBER_MIN
|
||||
description: '{{ doc("block_number_min") }}'
|
||||
description: "{{ doc('block_number_min') }}"
|
||||
- name: BLOCK_NUMBER_MAX
|
||||
description: '{{ doc("block_number_max") }}'
|
||||
description: "{{ doc('block_number_max') }}"
|
||||
- name: BLOCK_COUNT
|
||||
description: '{{ doc("block_count") }}'
|
||||
description: "{{ doc('block_count') }}"
|
||||
- name: TRANSACTION_COUNT
|
||||
description: '{{ doc("transaction_count") }}'
|
||||
description: "{{ doc('transaction_count') }}"
|
||||
- name: TRANSACTION_COUNT_SUCCESS
|
||||
description: '{{ doc("transaction_count_success") }}'
|
||||
description: "{{ doc('transaction_count_success') }}"
|
||||
- name: TRANSACTION_COUNT_FAILED
|
||||
description: '{{ doc("transaction_count_failed") }}'
|
||||
description: "{{ doc('transaction_count_failed') }}"
|
||||
- name: UNIQUE_FROM_COUNT
|
||||
description: '{{ doc("unique_from_count") }}'
|
||||
description: "{{ doc('unique_from_count') }}"
|
||||
- name: UNIQUE_PAYER_COUNT
|
||||
description: '{{ doc("unique_payer_count") }}'
|
||||
description: "{{ doc('unique_payer_count') }}"
|
||||
- name: TOTAL_FEES_NATIVE
|
||||
description: '{{ doc("total_fees_native") }}'
|
||||
description: "{{ doc('total_fees_native') }}"
|
||||
- name: TOTAL_FEES_USD
|
||||
description: '{{ doc("total_fees_usd") }}'
|
||||
- name: EZ_CORE_METRICS_HOURLY_ID
|
||||
description: '{{ doc("pk_id") }}'
|
||||
description: "{{ doc('total_fees_usd') }}"
|
||||
- name: PK_ID
|
||||
description: "{{ doc('pk_id') }}"
|
||||
- name: INSERTED_TIMESTAMP
|
||||
description: '{{ doc("inserted_timestamp") }}'
|
||||
description: "{{ doc('inserted_timestamp') }}"
|
||||
- name: MODIFIED_TIMESTAMP
|
||||
description: '{{ doc("modified_timestamp") }}'
|
||||
description: "{{ doc('modified_timestamp') }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user